1 2008-11-19 Dan Williams <dcbw@redhat.com>
3 * libnm-util/nm-setting.h
4 libnm-util/nm-setting.c
7 system-settings/plugins/ifcfg-fedora/plugin.c
8 - Prefix compare flag defines with NM_SETTING_
10 2008-11-19 Dan Williams <dcbw@redhat.com>
12 * libnm-util/nm-connection.c
13 libnm-util/nm-connection.h
14 - (nm_connection_replace_settings): take a GError
16 * libnm-glib/nm-settings.c
17 libnm-glib/nm-dbus-connection.c
19 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
20 system-settings/plugins/keyfile/nm-keyfile-connection.c
21 system-settings/plugins/keyfile/plugin.c
22 - Handle, or don't handle, errors from nm_connection_replace_settings()
24 2008-11-19 Dan Williams <dcbw@redhat.com>
26 * libnm-util/libnm-util.ver
27 libnm-util/nm-connection.c
28 - (nm_setting_register, nm_setting_unregister): unexport; they are
29 private and don't have a use outside libnm-util
31 2008-11-17 Dan Williams <dcbw@redhat.com>
33 * src/nm-hso-gsm-device.c
34 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
37 2008-11-17 Dan Williams <dcbw@redhat.com>
39 * system-settings/plugins/ifcfg-fedora/reader.c
40 - (read_mac_address): clean up
41 - (make_wireless_setting): pass NULL array to read_mac_address() like it
44 * system-settings/plugins/ifcfg-fedora/plugin.c
45 - (read_one_connection): don't segfault on NULL errors
47 2008-11-14 Dan Williams <dcbw@redhat.com>
51 2008-11-14 Dan Williams <dcbw@redhat.com>
53 Handle gateways on different subnets
55 * src/NetworkManagerSystem.c
56 - (add_ip4_route_to_gateway): gateway route should be link scope and
58 - (replace_default_ip4_route): use a destination address too; gateway
59 address should be /0; don't leak the gateway route object
61 2008-11-14 Dan Williams <dcbw@redhat.com>
63 * libnm-glib/libnm_glib.ver
64 libnm-glib/nm-dbus-settings-system.c
65 libnm-glib/nm-dbus-settings-system.h
66 - Add libnm-glib bits for CanModify
68 2008-11-14 Dan Williams <dcbw@redhat.com>
70 * introspection/nm-settings-system.xml
71 system-settings/src/dbus-settings.c
72 system-settings/src/dbus-settings.h
73 - Add a "CanModify" property to indicate if any plugins support
74 connection modification
76 2008-11-14 Dan Williams <dcbw@redhat.com>
78 Relicense libnm-glib to LGPLv2+ with agreement from contributors
80 2008-11-14 Dan Williams <dcbw@redhat.com>
82 * vpn-manager/nm-vpn-connection.c
83 - (plugin_state_changed): clear VPN secrets on error to ensure they
84 are always requested from the settings service (rh #429287)
86 2008-11-13 Dan Williams <dcbw@redhat.com>
89 - (crypto_get_private_key_data): fix bad initial arg type checking
92 2008-11-13 Dan Williams <dcbw@redhat.com>
94 Add support for PKCS#12 private keys (bgo #558982)
98 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
99 take a GByteArray instead of a filename
100 - (file_to_g_byte_array): handle private key files too
101 - (decrypt_key): take a GByteArray rather than data + len
102 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
103 one function that takes a filename, and one that takes raw data;
104 detect pkcs#12 files as well
105 - (crypto_load_and_verify_certificate): detect file type
106 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
109 * libnm-util/crypto_gnutls.c
110 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
111 whereby tail padding was incorrectly handled, leading to erroneous
112 successes when trying to decrypt the data
113 - (crypto_verify_cert): rework somewhat
114 - (crypto_verify_pkcs12): validate pkcs#12 keys
116 * libnm-util/crypto_nss.c
117 - (crypto_init): enable various pkcs#12 ciphers
118 - (crypto_decrypt): take a GByteArray rather than data + len
119 - (crypto_verify_cert): clean up
120 - (crypto_verify_pkcs12): validate pkcs#12 keys
122 * libnm-util/test-crypto.c
123 - Handle pkcs#12 keys
125 * libnm-util/nm-setting-8021x.c
126 libnm-util/nm-setting-8021x.h
127 libnm-util/libnm-util.ver
128 - Add two new properties, 'private-key-password' and
129 'phase2-private-key-password', to be used in conjunction with
131 - (nm_setting_802_1x_set_ca_cert_from_file,
132 nm_setting_802_1x_set_client_cert_from_file,
133 nm_setting_802_1x_set_phase2_ca_cert_from_file,
134 nm_setting_802_1x_set_phase2_client_from_file): return certificate
136 - (nm_setting_802_1x_get_private_key_password,
137 nm_setting_802_1x_get_phase2_private_key_password): return private
139 - (nm_setting_802_1x_set_private_key_from_file,
140 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
141 key from a file, and update the private key password at the same time
142 - (nm_setting_802_1x_get_private_key_type,
143 nm_setting_802_1x_get_phase2_private_key_type): return the private
146 * src/supplicant-manager/nm-supplicant-settings-verify.c
147 - Whitelist private key passwords
149 * src/supplicant-manager/nm-supplicant-config.c
150 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
151 add the private key password to the supplicant config, but do not
152 add the client certificate (as required by wpa_supplicant)
154 2008-11-12 Tambet Ingo <tambet@gmail.com>
156 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
157 (add_secrets): Don't add empty secrets to the secrets hash table.
159 2008-11-07 Dan Williams <dcbw@redhat.com>
161 * libnm-util/nm-setting-wireless.c
162 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
163 that cased this function to return garbage, breaking hidden AP
166 2008-11-07 Dan Williams <dcbw@redhat.com>
168 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
170 * src/NetworkManagerSystem.c
171 src/NetworkManagerSystem.h
172 - (nm_system_device_set_ip4_route): return the route that was added
173 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
174 public, clean up, and return the route that was added
175 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
176 since nm_system_add_ip4_vpn_gateway_route() is now available; add
177 flags to allow only certain attributes of the NMIP4Config to be
181 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
182 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
183 what's really changed between the old and new configs; don't export
184 the new IP4 config on failure; always send the DNS info to the
187 * src/vpn-manager/nm-vpn-connection.c
188 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
189 parent device's IP4Config and re-add the VPN gateway route when it
191 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
192 nm_system_apply_ip4_config() no longer does) and cache it for later
193 - (connection_state_changed): move cleanup code to its own function
194 - (vpn_cleanup): delete any previously added VPN gateway route; and
195 re-apply the parent device's addresses and routes using
196 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
198 2008-11-07 Dan Williams <dcbw@redhat.com>
200 * src/nm-ip4-config.c
202 - (nm_ip4_config_diff): new function; return the difference between two
204 - (nm_ip4_config_compare): change into nm_ip4_config_diff
206 2008-11-05 Dan Williams <dcbw@redhat.com>
210 - (nm_ip4_config_compare): compare two IP4 configs
212 2008-11-05 Dan Williams <dcbw@redhat.com>
214 * src/NetworkManagerPolicy.c
215 - (update_etc_hosts): only add newline if not the last line of the file
218 2008-11-05 Dan Williams <dcbw@redhat.com>
220 * src/dhcp-manager/nm-dhcp-dhclient.c
221 - (get_leasefile_for_iface): move lease files back to where dhclient
224 2008-11-05 Michael Biebl <mbiebl@gmail.com>
226 * initscripts/Debian/NetworkManager
227 - Update to what Debian is actually using
229 2008-11-05 Tambet Ingo <tambet@gmail.com>
231 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
233 2008-11-03 Dan Williams <dcbw@redhat.com>
235 * system-settings/src/main.c
236 - (add_default_dhcp_connection): make the fallback connection read-only
238 * libnm-glib/nm-settings.c
239 libnm-glib/nm-settings.h
240 - Add detailed errors
241 - (impl_exported_connection_update, impl_exported_connection_delete):
242 return an error if the connection is read-only
244 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
245 system-settings/plugins/keyfile/nm-keyfile-connection.c
246 system-settings/src/main.c
247 - Use more detailed errors
249 * system-settings/src/nm-system-config-error.c
250 system-settings/src/nm-system-config-error.h
251 system-settings/src/dbus-settings.c
252 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
253 NM_SETTINGS_ERROR_INVALID_CONNECTION
255 2008-11-02 Dan Williams <dcbw@redhat.com>
257 * Add license headers to everything in src/
259 2008-11-02 Dan Williams <dcbw@redhat.com>
263 2008-11-02 Dan Williams <dcbw@redhat.com>
265 * src/NetworkManagerAP.c
266 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
267 setting as unencrypted; fixes a bug where NM wouldn't ask for new
268 secrets when connecting to an encrypted network failed
270 2008-10-30 Dan Williams <dcbw@redhat.com>
272 * libnm-util/libnm-util.ver
273 libnm-util/nm-setting-ip6-config.c
274 libnm-util/nm-setting-ip6-config.h
275 libnm-util/Makefile.am
276 - Make properties private and add accessor functions
277 - Hide IPv6 stuff from public API, it's incomplete and completely unused
279 * libnm-util/nm-connection.c
280 libnm-util/nm-utils.c
281 libnm-util/nm-utils.h
282 - Ignore IPv6 stuff for now
284 2008-10-30 Dan Williams <dcbw@redhat.com>
286 * libnm-util/libnm-util.ver
287 libnm-util/nm-setting-8021x.c
288 libnm-util/nm-setting-8021x.h
289 - Make properties private and add accessor functions
291 * src/supplicant-manager/nm-supplicant-config.c
292 system-settings/plugins/ifcfg-suse/parser.c
293 - Use 802.1x setting accessors
295 2008-10-30 Dan Williams <dcbw@redhat.com>
297 * libnm-util/libnm-util.ver
298 libnm-util/nm-setting-wireless-security.c
299 libnm-util/nm-setting-wireless-security.h
300 - Make properties private and add accessor functions
302 * libnm-util/nm-setting-wireless.c
303 src/NetworkManagerAP.c
305 src/supplicant-manager/nm-supplicant-config.c
306 system-settings/plugins/ifcfg-fedora/reader.c
307 system-settings/plugins/ifcfg-suse/parser.c
308 - Use wireless security accessors
310 2008-10-30 Dan Williams <dcbw@redhat.com>
312 * src/nm-device-ethernet.c
315 src/ppp-manager/nm-ppp-manager.c
316 - Harmonize return checking of ioctl
318 * system-settings/plugins/ifcfg-fedora/reader.c
319 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
321 2008-10-30 Dan Williams <dcbw@redhat.com>
323 * src/ppp-manager/nm-ppp-manager.c
324 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
325 ppp_generic module to create it (bgo #533064)
327 2008-10-30 Dan Williams <dcbw@redhat.com>
329 Patch from Alexander Sack <asac@canonical.com>
331 Fix "ppp connections don't honour ip4 connection settings"
333 * src/nm-device-ethernet.c
334 - (real_act_stage4_get_ip4_config): merge ip4config settings
335 with results from ppp manager
337 * src/nm-serial-device.c
338 - (real_act_stage4_get_ip4_config): merge ip4config settings
339 with results from ppp manager
341 2008-10-29 Dan Williams <dcbw@redhat.com>
343 * libnm-util/libnm-util.ver
344 libnm-util/nm-setting-ip4-config.c
345 libnm-util/nm-setting-ip4-config.h
346 - Make properties private and add accessor functions
348 * callouts/nm-dispatcher-action.c
349 libnm-glib/libnm-glib-test.c
350 libnm-util/nm-utils.c
351 src/NetworkManagerPolicy.c
352 src/NetworkManagerSystem.c
353 src/NetworkManagerUtils.c
354 src/dhcp-manager/nm-dhcp-dhclient.c
355 src/dhcp-manager/nm-dhcp-manager.c
356 src/dnsmasq-manager/nm-dnsmasq-manager.c
359 src/nm-hso-gsm-device.c
362 src/ppp-manager/nm-ppp-manager.c
363 src/vpn-manager/nm-vpn-connection.c
364 system-settings/plugins/ifcfg-fedora/reader.c
365 system-settings/plugins/ifcfg-suse/parser.c
366 system-settings/plugins/ifcfg-suse/plugin.c
367 system-settings/plugins/ifupdown/parser.c
369 vpn-daemons/vpnc/properties/nm-vpnc.c
370 - Use IP4 accessor functions
372 2008-10-29 Tambet Ingo <tambet@gmail.com>
374 Half of it by Dan Williams <dcbw@redhat.com>
376 * libnm-util/libnm-util.ver
377 libnm-util/nm-setting-vpn.c
378 libnm-util/nm-setting-vpn.h
379 - Make properties private and add accessor functions.
381 * src/vpn-manager/nm-vpn-connection.c
382 src/vpn-manager/nm-vpn-manager.c
383 system-settings/plugins/keyfile/reader.c
384 vpn-daemons/openvpn/properties/auth-helpers.c
385 vpn-daemons/openvpn/properties/import-export.c
386 vpn-daemons/openvpn/properties/nm-openvpn.c
387 vpn-daemons/openvpn/src/nm-openvpn-service.c
388 vpn-daemons/pptp/auth-dialog/main.c
389 vpn-daemons/pptp/properties/advanced-dialog.c
390 vpn-daemons/pptp/properties/nm-pptp.c
391 vpn-daemons/pptp/src/nm-pptp-service.c
392 vpn-daemons/vpnc/properties/nm-vpnc.c
393 vpn-daemons/vpnc/src/nm-vpnc-service.c
394 - Use VPN setting accessors.
396 2008-10-28 Dan Williams <dcbw@redhat.com>
398 Patch from Tambet Ingo <tambet@gmail.com>
400 * libnm-util/libnm-util.ver
401 libnm-util/nm-setting-wireless.c
402 libnm-util/nm-setting-wireless.h
403 - Make properties private and add accessor functions
405 * src/NetworkManagerAP.c
408 src/supplicant-manager/nm-supplicant-config.c
409 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
410 system-settings/plugins/ifcfg-fedora/reader.c
411 system-settings/plugins/ifcfg-suse/parser.c
412 system-settings/plugins/ifupdown/parser.c
413 - Use wireless setting accessors
415 2008-10-27 Dan Williams <dcbw@redhat.com>
417 Patch from Tambet Ingo <tambet@gmail.com>
419 * libnm-util/libnm-util.ver
420 libnm-util/nm-setting-ppp.c
421 libnm-util/nm-setting-ppp.h
422 - Make properties private and add accessor functions
424 * src/ppp-manager/nm-ppp-manager.c
425 - Use ppp setting accessors
427 2008-10-27 Dan Williams <dcbw@redhat.com>
429 Patch from Tambet Ingo <tambet@gmail.com>
431 * libnm-util/nm-setting.h
432 libnm-util/nm-setting.c
433 - Make properties private and add accessor functions
435 * libnm-util/nm-connection.c
436 libnm-util/nm-setting-8021x.c
437 libnm-util/nm-setting-cdma.c
438 libnm-util/nm-setting-connection.c
439 libnm-util/nm-setting-gsm.c
440 libnm-util/nm-setting-ip4-config.c
441 libnm-util/nm-setting-ip6-config.c
442 libnm-util/nm-setting-ppp.c
443 libnm-util/nm-setting-pppoe.c
444 libnm-util/nm-setting-serial.c
445 libnm-util/nm-setting-template.c
446 libnm-util/nm-setting-vpn.c
447 libnm-util/nm-setting-wired.c
448 libnm-util/nm-setting-wireless-security.c
449 libnm-util/nm-setting-wireless.c
450 system-settings/plugins/keyfile/reader.c
451 system-settings/plugins/keyfile/writer.c
452 - Use setting accessors
454 2008-10-27 Dan Williams <dcbw@redhat.com>
456 * libnm-util/libnm-util.ver
457 libnm-util/nm-setting-connection.c
458 libnm-util/nm-setting-connection.h
459 - Add a 'read-only' property that indicates the connection cannot be
462 * system-settings/plugins/ifcfg-fedora/reader.c
463 system-settings/plugins/ifcfg-suse/parser.c
464 system-settings/plugins/ifupdown/parser.c
465 - These plugins are read-only at the moment
467 * system-settings/plugins/keyfile/reader.c
468 system-settings/plugins/keyfile/writer.c
469 - Read-only shouldn't get saved out to files or read in from them
471 2008-10-27 Tambet Ingo <tambet@gmail.com>
473 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
474 correct speed reporting for fast devices (kernel >= 2.6.27).
476 2008-10-26 Dan Williams <dcbw@redhat.com>
478 Attempt to compensate for modems that don't enable full AT parsing before
479 the PIN has been entered.
481 * src/nm-gsm-device.c
482 - (init_modem): accept different init strings
483 - (init_done): try different init strings on failure
484 - (check_pin_done): on PIN success, do full modem init
486 2008-10-26 Dan Williams <dcbw@redhat.com>
488 Patch from Tambet Ingo <tambet@gmail.com>
490 * libnm-util/libnm-util.ver
491 libnm-util/nm-setting-connection.c
492 libnm-util/nm-setting-connection.h
493 - Make properties private and add accessor functions
495 * src/NetworkManagerPolicy.c
497 src/nm-device-ethernet.c
498 src/nm-device-interface.c
502 src/ppp-manager/nm-ppp-manager.c
503 src/vpn-manager/nm-vpn-connection.c
504 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
505 system-settings/plugins/ifcfg-fedora/plugin.c
506 system-settings/plugins/ifcfg-fedora/reader.c
507 system-settings/plugins/ifcfg-suse/parser.c
508 system-settings/plugins/ifupdown/parser.c
509 system-settings/plugins/keyfile/nm-keyfile-connection.c
510 system-settings/plugins/keyfile/plugin.c
511 system-settings/plugins/keyfile/writer.c
512 system-settings/src/main.c
513 - Use those accessors
515 2008-10-26 Dan Williams <dcbw@redhat.com>
517 Patch from Tambet Ingo <tambet@gmail.com>
519 * libnm-util/libnm-util.ver
520 libnm-util/nm-setting-gsm.c
521 libnm-util/nm-setting-gsm.h
522 - Make properties private and add accessor functions
524 * src/nm-gsm-device.c
525 src/nm-hso-gsm-device.c
526 src/ppp-manager/nm-ppp-manager.c
527 - Use those accessors
529 2008-10-26 Dan Williams <dcbw@redhat.com>
531 Patch from Tambet Ingo <tambet@gmail.com>
533 * libnm-util/libnm-util.ver
534 libnm-util/nm-setting-cdma.c
535 libnm-util/nm-setting-cdma.h
536 - Make properties private and add accessor functions
538 * src/nm-cdma-device.c
539 src/ppp-manager/nm-ppp-manager.c
540 - Use those accessors
542 2008-10-26 Dan Williams <dcbw@redhat.com>
544 Patch from Tambet Ingo <tambet@gmail.com>
546 * libnm-util/libnm-util.ver
547 libnm-util/nm-setting-pppoe.c
548 libnm-util/nm-setting-pppoe.h
549 - Make properties private and add accessor functions
551 * src/nm-device-ethernet.c
552 src/ppp-manager/nm-ppp-manager.c
553 - Use those accessors
555 2008-10-26 Dan Williams <dcbw@redhat.com>
557 Patch from Tambet Ingo <tambet@gmail.com>
559 * libnm-util/libnm-util.ver
560 libnm-util/nm-setting-wired.c
561 libnm-util/nm-setting-wired.h
562 - Make properties private and add accessor functions
564 * src/nm-device-ethernet.c
565 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
566 system-settings/plugins/ifcfg-suse/parser.c
567 system-settings/src/main.c
568 - Use those accessors
570 2008-10-26 Dan Williams <dcbw@redhat.com>
572 Patch from Tambet Ingo <tambet@gmail.com>
574 * libnm-util/libnm-util.ver
575 libnm-util/nm-setting-serial.c
576 libnm-util/nm-setting-serial.h
577 src/nm-serial-device.c
578 - Make properties private and use accessors instead
580 2008-10-26 Dan Williams <dcbw@redhat.com>
582 * src/supplicant-manager/nm-supplicant-interface.c
583 src/supplicant-manager/nm-supplicant-interface.h
584 src/supplicant-manager/nm-supplicant-manager.c
585 src/supplicant-manager/nm-supplicant-manager.h
586 - Add state-to-string conversion functions
588 * src/nm-device-wifi.c
589 src/nm-device-ethernet.c
590 - Normalize state info logging and use strings instead of numbers
592 2008-10-26 Dan Williams <dcbw@redhat.com>
594 * src/NetworkManagerPolicy.c
595 - (update_routing_and_dns): ignore host routes when determining whether
596 a VPN connection should own the default route (bgo #552594)
598 2008-10-24 Dan Williams <dcbw@redhat.com>
600 * src/nm-gsm-device.c
601 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
603 2008-10-23 Dan Williams <dcbw@redhat.com>
605 * src/ppp-manager/nm-ppp-manager.c
606 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
607 add really important stuff to the command line to ensure that NM
608 overrides /etc/ppp/options (bgo #556781)
610 2008-10-22 Dan Williams <dcbw@redhat.com>
612 * src/NetworkManagerSystem.c
614 - Use the device's IP interface where appropriate (Per Hallsmark)
616 2008-10-22 Dan Williams <dcbw@redhat.com>
618 * src/nm-gsm-device.c
619 - (schedule_automatic_registration_again): use a short timeout here
620 instead of an idle handler to avoid using too much CPU polling for
621 something we should be waiting a bit for anyway
623 2008-10-22 Dan Williams <dcbw@redhat.com>
625 * include/NetworkManager.h
626 introspection/nm-device.xml
627 - Add device state change reason for carrier changes
629 * src/nm-device-ethernet.c
630 - (set_carrier): use the carrier change reason when changing device
631 state in response to carrier changes
633 2008-10-21 Dan Williams <dcbw@redhat.com>
635 * src/NetworkManagerPolicy.c
636 - (update_etc_hosts): don't leak errors, and ensure that
637 g_file_set_contents() gets a valid error placeholder (rh #461933)
639 2008-10-21 Dan Williams <dcbw@redhat.com>
642 - (free_get_settings_info): don't use the DBusGProxy which could be
643 disposed of by the time the function is called
644 - (internal_new_connection_cb): save connection scope
645 - (connection_get_settings_cb): don't replace a connection unless it's
646 actually different from the existing one; fixes an issue where
647 killing the settings service wouldn't deactivate an active connection
648 provided by that settings service, because it was using a connection
649 that had already been replaced in the system or user hash
651 2008-10-21 Dan Williams <dcbw@redhat.com>
653 * src/NetworkManager.c
654 - (main): keep the DHCP manager around since it's a singleton; fixes
655 a use-after-free exposed by r4196 since the DHCP manager singleton
656 variable isn't cleared when the DHCP manager object is finalized
658 2008-10-20 Dan Williams <dcbw@redhat.com>
660 * libnm-util/nm-setting-wireless-security.c
661 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
663 2008-10-20 Dan Williams <dcbw@redhat.com>
665 * src/supplicant-manager/nm-supplicant-config.c
666 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
668 2008-10-20 Dan Williams <dcbw@redhat.com>
670 * src/dhcp-manager/nm-dhcp-manager.c
671 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
672 manager object already refs it once
673 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
674 also get cleaned up by nm_dhcp_device_destroy() to prevent
677 2008-10-20 Dan Williams <dcbw@redhat.com>
680 - (initial_get_connections): use private dbus manager, don't keep
681 ref-ing the singleton. Fixes mismatched refcounts of the dbus
684 2008-10-18 Dan Williams <dcbw@redhat.com>
686 * libnm-glib/nm-settings.c
687 libnm-glib/nm-settings.h
688 - Rename the "get_secrets" virtual function "service_get_secrets" to
689 clarify when it's used; NMExportedConnetion is a base-class for both
690 the client and service side, which is sort of confusing, and
691 get_secrets only makes sense on the service side.
693 * libnm-glib/nm-dbus-connection.c
694 - (get_secrets): remove, unused, and clients need to do extra work to
695 get secrets anyway since the call can block on the remote side
697 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
698 system-settings/plugins/keyfile/nm-keyfile-connection.c
699 - Fix up for get_secrets -> service_get_secrets
701 2008-10-16 Dan Williams <dcbw@redhat.com>
703 * src/nm-device-wifi.c
704 - (constructor): correctly determine encryption capabilities
706 2008-10-15 Dan Williams <dcbw@redhat.com>
708 * src/nm-device-wifi.c
709 - (wireless_qual_to_percent): fix quality calculation in a fallback case
712 2008-10-15 Dan Williams <dcbw@redhat.com>
714 * src/NetworkManagerSystem.c
715 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
716 if the ip4_dest is in a smaller subnet contained within a subnet
717 the machine is currently on, the destination is in the same subnet
718 - (nm_system_device_set_ip4_route): move subnet checks to callers
719 - (add_vpn_gateway_route): check if the VPN gateway is in the same
720 subnet as the parent device, and if so, don't add the direct
721 host route via the parent device's gateway (bgo #481620)
722 - (nm_system_apply_ip4_config): check whether the route to be added
723 is contained within a subnet the device is already on
725 2008-10-11 Dan Williams <dcbw@redhat.com>
727 * include/NetworkManager.h
728 introspection/nm-device.xml
729 include/NetworkManagerVPN.h
730 - Add a few more state reasons for the device deactivated state
732 * src/nm-device-interface.c
733 src/nm-device-interface.h
734 - (nm_device_interface_deactivate): add a 'reason' argument
738 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
739 - (nm_device_state_changed): pass the state change reason to
740 nm_device_take_down()
741 - (nm_device_set_managed): take a 'reason' argument, and pass it along
742 to the state change function
746 - (remove_one_device, handle_unmanaged_devices, sync_devices,
747 impl_manager_sleep): pass a reason code to nm_device_set_managed()
748 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
749 something reasonable along to VPN deactivation
751 * src/vpn-manager/nm-vpn-manager.c
752 src/vpn-manager/nm-vpn-manager.h
753 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
754 pass that along to nm_vpn_connection_disconnect()
756 2008-10-11 Dan Williams <dcbw@redhat.com>
758 * src/nm-device-wifi.c
759 - (can_scan): remove old madwifi hack for not scanning while connected
761 2008-10-11 Dan Williams <dcbw@redhat.com>
763 Add support for VPN subnet gateways (bgo #549196)
765 * include/NetworkManager.h
766 - Add key for internal VPN subnet gateway
768 * src/vpn-manager/nm-vpn-connection.c
769 - (ip_address_to_string): return a const from a static buffer so we
770 don't leak a lot of strings
771 - (print_vpn_config): print internal VPN gateway as well
772 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
774 - (nm_vpn_connection_get_ip4_internal_gateway): new function
776 * src/NetworkManagerSystem.c
777 src/NetworkManagerSystem.h
778 - (nm_system_device_replace_default_ip4_route): split into two, one for
779 VPN connections and one for normal devices
780 - (replace_default_ip4_route): break out route stuff into its own function
781 - (nm_system_replace_default_ip4_route_vpn,
782 nm_system_replace_default_ip4_route): simplify by having two cases,
783 one for VPNs and one for normal devices
785 * src/NetworkManagerPolicy.c
786 - (update_routing_and_dns): simplify, use split default route replacement
789 2008-10-10 Dan Williams <dcbw@redhat.com>
791 Rework default route handling to consolidate decisions in the policy,
792 and to take active VPN connections into account when changing the default
795 * src/NetworkManager.c
796 - (main): pass the vpn_manager to the policy so it knows about active
797 VPN connections; clean up the named manager which wasn't done before
799 * src/NetworkManagerPolicy.c
800 src/NetworkManagerPolicy.h
801 - (nm_policy_new): get a clue about the vpn_manager
802 - (update_default_route): remove, fold into update_routing_and_dns()
803 - (update_routing_and_dns): handle active VPN connections too; an
804 active VPN connection becomes the default route if it does not have
805 server-specified or user-specified custom routes. Otherwise, the
806 best active device gets the default route
807 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
808 nm_policy_destroy): track VPN connection activation and deactivation
809 and update the default route when appropriate
811 * src/NetworkManagerSystem.c
812 src/NetworkManagerSystem.h
813 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
814 in the VPN connection itself
815 - (nm_system_vpn_device_set_from_ip4_config,
816 nm_system_device_set_from_ip4_config): merge together to make
817 nm_system_apply_ip4_config()
818 - (add_vpn_gateway_route): add a route to the VPN's external gateway
819 via the parent device
820 - (nm_system_apply_ip4_config): simplify
821 - (add_ip4_route_to_gateway): new function; add a direct route to the
823 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
824 route stuff out into add_ip4_route_to_gateway() for clarity
827 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
829 * src/vpn-manager/nm-vpn-connection.c
830 src/vpn-manager/nm-vpn-connection.h
831 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
832 nm_vpn_connection_get_parent_device): add
833 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
835 - (connection_state_changed): update the named manager now that
836 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
839 * src/vpn-manager/nm-vpn-manager.c
840 src/vpn-manager/nm-vpn-manager.h
841 - Add a 'connection-activated' signal
842 - (nm_vpn_manager_get_active_connections): new function; mainly for the
843 policy to find out about active VPN connections
845 2008-10-10 Tambet Ingo <tambet@gmail.com>
847 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
848 a daemon to prevent NM logging spew on console on startup and shutdown (due
849 to dependency loop between NM and syslog).
851 2008-10-10 Alexander Sack <asac@ubuntu.com>
853 Implement managed mode. We bind devices configured in /etc/network/interfaces
854 to their connections by updating wired/wireless setting with the
855 mac address of the device.
857 * system-settings/plugins/ifupdown/plugin.c
858 - (get_net_address_for_udi): implement function to retrieve MAC
859 address of udi from hal in GByteArray format
860 - (bind_device_to_connection): bind mac address of device to
861 wired/wireless system connection
862 - (hal_device_added_cb): call bind_device_to_connection for
863 system connections with a matching interface.name
864 - (hal_device_added_cb): ensure that all code paths
865 properly free the "iface" string.
867 2008-10-10 Alexander Sack <asac@ubuntu.com>
869 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
870 mode of the ifupdown system config plugin.
872 * system-settings/plugins/ifupdown/plugin.c
873 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
874 private unmanage_well_known state field accordingly
876 2008-10-10 Alexander Sack <asac@ubuntu.com>
878 Implement unmanaged mode that will prevent all devices in the
879 well_known_udis set from being touched by NetworkManager
881 * system-settings/plugins/ifupdown/plugin.c
882 - (typedef struct SCPluginIfupdownPrivate): add gboolean
883 unmanage_well_known field used to turn on/off unmanaged
885 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
886 signal when well_known_udis get added/removed
887 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
888 if we are in unmanaged mode
890 2008-10-10 Alexander Sack <asac@ubuntu.com>
892 Add support to track network devices that have a configuration
893 with a matching interface.name in /etc/network/interfaces
895 * system-settings/plugins/ifupdown/plugin.c
896 - (typedef struct SCPluginIfupdownPrivate): add hash table
897 to track |well_known_udis|
898 - (get_iface_for_udi): helper function to get interface.name
900 - (hal_device_added_cb, hal_device_removed_cb): callbacks
901 that add and remove devices to and from the well_known_udis
902 set depending on whether their |interface.name| matches
903 any interface definition in /etc/network/interfaces
904 - (SCPluginIfupdown_init): connect callbacks from above with
905 hal_mgr and setup well_known_udis hashtable
906 - (GObject__dispose): destroy well_known_udis hashtable
907 - (hal_device_added_cb2): implement wrapper callback with GFunc
908 signature. user_data is supposed to be a triple (hal_mgr,
910 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
911 startup and call hal_device_added_cb2
913 2008-10-10 Alexander Sack <asac@ubuntu.com>
915 Remove implementation for not used NMSystemConfigInterface callback functions
918 * system-settings/plugins/ifupdown/plugin.c
919 - (SCPluginIfupdown_unmanaged_devices_changed): removed
920 - (SCPluginIfupdown_connection_added): removed
922 2008-10-08 Dan Williams <dcbw@redhat.com>
924 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
926 * src/NetworkManagerUtils.c
927 - (nm_utils_call_dispatcher): add a 'hostname' action
929 * src/NetworkManagerPolicy.c
930 - (set_system_hostname): dispatch hostname changes
932 * callouts/nm-dispatcher-action.c
933 - (nm_dispatcher_action): handle 'hostname' actions
935 2008-10-08 Dan Williams <dcbw@redhat.com>
937 * src/NetworkManagerSystem.c
938 - (find_route): ref the route so it doesn't get destroyed when the cache
940 - (nm_system_device_set_priority): unref the route here after it's done
943 2008-10-08 Dan Williams <dcbw@redhat.com>
945 * src/nm-serial-device.c
946 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
948 2008-10-08 Tambet Ingo <tambet@gmail.com>
950 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
951 connection with new settings before saving it.
953 2008-10-06 Dan Williams <dcbw@redhat.com>
955 * src/nm-ip4-config.c
957 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
959 * src/nm-device-interface.c
960 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
961 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
962 by using '/' for the object path
965 - (src/nm-device.c): marshal missing/unexported ip4-config through
966 dbus as '/' since dbus-glib can't handle NULL objects nor can
967 dbus handle NULL object paths
969 2008-10-03 Alexander Sack <asac@ubuntu.com>
971 Implement system hostname support for debian/ubuntu
973 * system-settings/plugins/ifupdown/plugin.c
974 - (GObject__get_property): extend announced capabilities; add
975 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
976 - (GObject__set_property,write_system_hostname): implement
977 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
978 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
979 update_system_hostname, get_hostname):
980 implement hostname property that watches and
983 2008-10-03 Alexander Sack <asac@ubuntu.com>
985 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
986 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
987 system-settings/plugins/ifcfg-fedora/Makefile.am
988 system-settings/src/nm-inotify-helper.c
989 system-settings/src/nm-inotify-helper.h
991 - Move ifcfg-fedora inotify helpers to the system settings service so
992 they are available to all plugins
994 2008-10-03 Alexander Sack <asac@ubuntu.com>
996 Implement support for wep-tx-keyidx in ifupdown system
999 * system-settings/plugins/ifupdown/parser.c
1000 - (update_wireless_security_setting_from_if_block): introduce
1001 free_type_mapping func table; rename a few local
1002 variables to improve readability; add wpa security mapping
1003 for wep-tx-keyidx property
1004 - (string_to_gpointerint): new function used for the auto_type_mapping
1005 of new wep-tx-keyidx property
1006 - (slist_free_all): free func used for mapped slist types
1008 2008-10-03 Alexander Sack <asac@ubuntu.com>
1010 * system-settings/src/main.c:
1011 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1012 always used as the hash key; fixes a crash when removing wired
1015 2008-10-02 Dan Williams <dcbw@redhat.com>
1017 * src/nm-gsm-device.c
1018 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1019 pass the required GSM secret along via user_data rather than keeping
1020 it around in the private data where it sometimes didn't get cleared
1021 - (real_get_ppp_name): implement using the GSM username
1023 2008-10-02 Dan Williams <dcbw@redhat.com>
1025 * src/ppp-manager/nm-ppp-manager.c
1026 src/ppp-manager/nm-ppp-manager.h
1027 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1028 the settings daemon for completely new ones
1029 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1030 local PPP peer name; allow PPP debuging by launching NM with
1031 the environment variable NM_PPP_DEBUG defined
1032 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1033 create_pppd_cmd_line()
1035 * src/nm-serial-device.c
1036 src/nm-serial-device.h
1037 - New 'get_ppp_name' function for subclasses to implement to return the
1039 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1040 and pass that name to the PPP manager
1042 * src/nm-device-ethernet.c
1043 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1046 * src/nm-cdma-device.c
1047 - (real_get_ppp_name): implement using the CDMA username
1049 2008-10-02 Dan Williams <dcbw@redhat.com>
1051 Patch from Alexander Sack <asac ubuntu com>
1053 * system-settings/plugins/ifupdown/parser.c
1054 - Implement more graceful ip4 config parsing for cases where
1055 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1056 by using default values
1058 2008-10-02 Dan Williams <dcbw@redhat.com>
1060 * src/NetworkManagerPolicy.c
1061 - (device_state_changed): when marking a connection invalid, clear its
1062 secrets too so that fresh secrets get requested the next time
1064 2008-10-01 Dan Williams <dcbw@redhat.com>
1066 * system-settings/src/dbus-settings.c
1067 - (nm_sysconfig_settings_init): cache system hostname on startup as
1068 a fallback if no plugin provides a hostname
1069 - (get_property): fall back to cached hostname if no plugin provides
1072 2008-10-01 Dan Williams <dcbw@redhat.com>
1074 Fix setting value comparison issue that caused some settings to look the
1075 same when they were really different (rh #464417)
1077 * libnm-util/nm-param-spec-specialized.c
1078 - (type_is_fixed_size): return fundamental size of the fixed type too
1079 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1080 in the comparison so that the _entire_ fixed type collection gets
1081 compared rather than just the first 'len1' bytes
1083 2008-09-30 Dan Williams <dcbw@redhat.com>
1085 * src/NetworkManagerPolicy.c
1086 - (lookup_thread_worker): don't store the idle handler ID becuase the
1087 idle handler could have already run and freed the LookupThread
1090 2008-09-30 Tambet Ingo <tambet@gmail.com>
1092 * src/nm-device.c (nm_device_get_priority): Implement.
1093 (nm_device_set_ip4_config): Send the device priority to system ip4
1096 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1097 Add priority argument and if it's >= 0, set the priority of the network
1098 route added automatically by netlink (or kernel?).
1099 (nm_system_device_set_priority): Implement.
1101 * src/NetworkManagerPolicy.c (get_best_device): Use
1102 nm_device_get_priority() instead of home-grown version. Revert the
1103 meaning, best priority is the lowest one.
1105 2008-09-29 Dan Williams <dcbw@redhat.com>
1107 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1108 when it returns EAGAIN (rh #362421)
1110 * src/nm-device-wifi.c
1111 - (wireless_get_range): try GIWRANGE a few times until the card responds
1112 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1114 2008-09-28 Dan Williams <dcbw@redhat.com>
1116 * src/nm-serial-device.c
1117 src/nm-serial-device.h
1118 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1119 cleaned at the right times when subclasses close the serial port too
1120 - (nm_serial_device_send_command): use a default send delay; don't
1121 spin forever on EAGAIN
1122 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1123 remove, no longer used
1124 - (find_response): return the matched response if any
1125 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1127 - (wait_for_reply_done): pass the matched response to the callback
1128 - (wait_for_reply_got_data): save the matched response; simplify timeout
1130 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1131 const since they never get modified
1132 - (cleanup_device): split out common cleanup stuff to a new function
1133 - (real_deactivate_quickly, finalize): use cleanup_device()
1135 * src/nm-gsm-device.c
1136 - (modem_get_reply): remove, unused
1137 - (set_apn): give the card a bit more time to respond
1138 - (manual_registration_again, schedule_manual_registration_again,
1139 manual_registration_response, manual_registration): handle manual
1140 registration timeouts better by retrying registration a few times
1141 because cards are a bit slow after CFUN=1
1142 - (automatic_registration_get_network, get_network_response): use
1143 modem_wait_for_reply() because it interacts better with the serial
1144 buffer and does more intelligent matching; need to wait for 'OK'
1145 rather than just matching terminators
1146 - (schedule_automatic_registration_again,
1147 automatic_registration_response, automatic_registration): retry
1148 registration a few times on timeout or "searching" because cards
1149 take a bit to find a network after being powered up with CFUN=1
1150 - (power_up_response, power_up, init_full_done, enter_pin,
1151 check_pin_done): power up the card with CFUN=1 before trying to
1152 register with the network
1153 - (init_modem_full, init_modem): use more standard 3G init strings
1155 * src/nm-hso-gsm-device.c
1156 - (modem_get_reply): remove, unused
1157 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1158 modem_wait_for_reply() to match actual responses instead of single
1159 termination characters; it doesn't leave stuff in the serial buffer
1160 that might confuse later calls
1161 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1162 to ensure that the call is really disconnected and not leave extra
1163 stuff in the serial buffer
1165 * src/nm-cdma-device.c
1166 - (power_up_response, power_up, init_done): try Sierra-style modem
1167 power up before attempting to connect
1169 2008-09-27 Dan Williams <dcbw@redhat.com>
1171 * libnm-util/nm-setting-gsm.c
1172 - (verify): verify GSM network ID
1174 2008-09-25 Dan Williams <dcbw@redhat.com>
1176 * libnm-util/nm-setting-gsm.c
1177 libnm-util/nm-setting-gsm.h
1178 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1179 technology terms (bgo #551361)
1181 2008-09-25 Dan Williams <dcbw@redhat.com>
1183 Fix bgo #549401 (inspired by patch from Alexander Sack)
1185 * src/nm-device-ethernet.c
1186 - (finish_supplicant_task): clean up scheduled tasks and free memory
1187 - (remove_supplicant_interface_error_handler): remove the supplicant
1188 error idle callback too
1189 - (supplicant_interface_release): rename from supplicant_interface_clean
1190 to match nm-device-wifi.c; clean up supplicant interface-related
1191 state tasks when the supplicant interface is disposed of
1192 - (schedule_state_handler): add scheduled tasks to a list so they can
1194 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1195 supplicant_iface_connection_state_cb_handler): use
1196 finish_supplicant_task() to clean up each completed task
1197 - (supplicant_iface_connection_error_cb_handler,
1198 supplicant_connection_timeout_cb): clear source id when the task is
1200 - (supplicant_iface_connection_error_cb): save scheduled task id for
1202 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1205 * src/nm-device-wifi.c
1206 - (finish_supplicant_task): clean up scheduled tasks and free memory
1207 - (remove_supplicant_interface_error_handler): remove the supplicant
1208 error idle callback too
1209 - (supplicant_interface_release): clean up supplicant interface-related
1210 state tasks when the supplicant interface is disposed of
1211 - (schedule_state_handler): add scheduled tasks to a list so they can
1213 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1214 supplicant_iface_connection_state_cb_handler): use
1215 finish_supplicant_task() to clean up each completed task
1216 - (supplicant_iface_connection_error_cb_handler): clear source id when
1217 the task is complete
1218 - (supplicant_iface_connection_error_cb): save scheduled task id for
1220 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1222 2008-09-24 Tambet Ingo <tambet@gmail.com>
1224 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1225 method and get/set hostname property.
1227 2008-09-24 Tambet Ingo <tambet@gmail.com>
1229 * src/supplicant-manager/nm-supplicant-interface.c
1230 (nm_supplicant_interface_disconnect): Don't increment the reference
1231 count when disconnecting. The problem is on shutdown, when the replies
1232 to these commands do not arrive before NM exits, resulting on never
1233 calling supplicant interface's dispose(), which removes the interface
1236 2008-09-24 Tambet Ingo <tambet@gmail.com>
1238 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1239 all the public function arguments.
1241 2008-09-22 Tambet Ingo <tambet@gmail.com>
1243 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1244 "Failure" signal from VPN plugins, store the failure reason, and
1245 use it when the state is changed to failure.
1247 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1250 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1251 reason to the end of the list to not break the API.
1252 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1253 so it can be shared by plugins and daemon.
1255 2008-09-18 Dan Williams <dcbw@redhat.com>
1257 Patch from Alexander Sack <asac@ubuntu.com>
1260 system-settings/plugins/Makefile.am
1261 system-settings/plugins/ifupdown/Makefile.am
1262 system-settings/plugins/ifupdown/interface_parser.c
1263 system-settings/plugins/ifupdown/interface_parser.h
1264 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1265 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1266 system-settings/plugins/ifupdown/parser.c
1267 system-settings/plugins/ifupdown/parser.h
1268 system-settings/plugins/ifupdown/plugin.c
1269 system-settings/plugins/ifupdown/plugin.h
1270 - Implement a Debian/Ubuntu legacy network configuration plugin
1273 2008-09-18 Dan Williams <dcbw@redhat.com>
1275 Implement support for honoring configured and automatic hostnames, and for
1276 setting the configured hostname.
1278 * introspection/nm-ip4-config.xml
1281 src/dhcp-manager/nm-dhcp-manager.c
1282 - Remove useless hostname property; it's not really part of the IPv4
1285 * introspection/nm-settings-system.xml
1286 libnm-glib/nm-dbus-settings-system.c
1287 libnm-glib/nm-dbus-settings-system.h
1288 - Add SetHostname() call to system settings D-Bus interface
1289 - Add Hostname property to system settings D-Bus interface
1290 - (nm_dbus_settings_system_save_hostname,
1291 nm_dbus_settings_system_get_hostname): implement
1295 - (nm_device_get_dhcp4_config): implement
1299 - Fetch and track system settings service hostname changes, and proxy
1300 the changes via a GObject property of the manager
1302 * system-settings/src/nm-system-config-interface.c
1303 system-settings/src/nm-system-config-interface.h
1304 - Replace nm_system_config_interface_supports_add() with a capabilities
1307 * system-settings/src/nm-system-config-error.c
1308 system-settings/src/nm-system-config-error.h
1309 - Add additional errors
1311 * system-settings/src/dbus-settings.c
1312 system-settings/src/dbus-settings.h
1313 - (get_property, nm_sysconfig_settings_class_init): add hostname
1314 property; first plugin returning a hostname wins
1315 - (impl_settings_add_connection): use plugin capabilities instead of
1316 nm_system_config_interface_supports_add()
1317 - (impl_settings_save_hostname): implement hostname saving
1319 * src/NetworkManagerPolicy.c
1320 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1321 lookup_thread_die): implement an asynchronous hostname lookup thread
1322 which given an IPv4 address tries to look up the hostname for that
1323 address with reverse DNS
1324 - (get_best_device): split out best device code from
1325 update_routing_and_dns()
1326 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1327 to preserve the 127.0.0.1 reverse mapping that so many things require
1328 - (set_system_hostname): set a given hostname
1329 - (update_system_hostname): implement hostname policy; a configured
1330 hostname (from the system settings service) is used if available,
1331 otherwise an automatically determined hostname from DHCP, VPN, etc.
1332 If there was no automatically determined hostname, reverse DNS of
1333 the best device's IP address will be used, and as a last resort the
1334 hostname 'localhost.localdomain' is set.
1335 - (update_routing_and_dns): use get_best_device(); update the system
1336 hostname when the network config changes
1337 - (hostname_changed): update system hostname if the system settings
1338 service signals a hostname change
1339 - (nm_policy_new): list for system settings service hostname changes
1340 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1343 * system-settings/plugins/keyfile/plugin.c
1344 system-settings/plugins/ifcfg-suse/plugin.c
1345 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1346 capabilities properties
1348 * system-settings/plugins/ifcfg-fedora/shvar.c
1349 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1350 writes out /etc/sysconfig/network now
1352 * system-settings/plugins/ifcfg-fedora/plugin.c
1353 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1354 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1355 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1356 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1357 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1358 hostname get/set and capabilities get
1360 2008-09-18 Dan Williams <dcbw@redhat.com>
1362 * libnm-util/nm-setting-wireless.c
1363 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1364 group ciphers if the wireless-security setting explicitly specified
1365 them, effectively making the default be "all ciphers" (idea from
1368 2008-09-15 Dan Williams <dcbw@redhat.com>
1370 Patch from Alexander Sack <asac@ubuntu.com>
1372 * src/named-manager/nm-named-manager.c
1373 - (dispatch_resolvconf): respect resolvconf exit code
1375 2008-09-12 Tambet Ingo <tambet@gmail.com>
1377 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1378 again. Add some debugging.
1380 2008-09-11 Dan Williams <dcbw@redhat.com>
1382 * system-settings/plugins/keyfile/plugin.c
1383 - (update_connection_settings): update connection manually, since
1384 nm_exported_connection_update() does authentication
1385 - (dir_changed): update_connection_settings() doesn't need to return
1388 2008-09-09 Dan Williams <dcbw@redhat.com>
1390 * libnm-glib/nm-vpn-plugin-ui-interface.c
1391 libnm-glib/nm-vpn-plugin-ui-interface.h
1392 libnm-glib/libnm_glib_vpn.ver
1393 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1394 should clean up resources related to the connection (like keyring
1396 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1397 should save user-scope secrets (like to the keyring)
1399 2008-09-08 Dan Williams <dcbw@redhat.com>
1401 Patch from Alexander Sack <asac@ubuntu.com>
1403 * libnm-util/crypto_gnutls.c
1404 libnm-util/crypto_nss.c
1405 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1407 * libnm-util/nm-utils.c
1408 libnm-util/nm-utils.h
1409 libnm-util/libnm-util.ver
1410 - (nm_utils_init): initialize libnm-util
1411 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1413 * libnm-util/nm-setting-8021x.c
1414 - (nm_setting_802_1x_class_init): init libnm-util when needed
1416 2008-09-05 Dan Williams <dcbw@redhat.com>
1418 Patch from Roy Marples <roy@marples.name> and others
1421 src/named-manager/nm-named-manager.c
1422 - Add support for resolvconf; use --with-resolvconf at configure time
1425 2008-09-05 Dan Williams <dcbw@redhat.com>
1427 * libnm-util/crypto_nss.c
1428 libnm-util/crypto_gnutls.c
1430 - (crypto_init): return error when init fails
1432 2008-09-05 Dan Williams <dcbw@redhat.com>
1434 * libnm-glib/nm-device-wifi.c
1435 - (access_point_removed_proxy): clean up the active access point too
1436 just in case the active ap changed signal didn't come through yet
1437 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1439 2008-09-05 Dan Williams <dcbw@redhat.com>
1441 * libnm-glib/nm-client.c
1442 - (constructor): get initial state after we know whether NM is running
1445 2008-09-05 Dan Williams <dcbw@redhat.com>
1447 * libnm-glib/nm-ip4-config.c
1448 libnm-glib/nm-dhcp4-config.c
1449 - (finalize): clean up the DBusGProxy
1451 2008-09-04 Dan Williams <dcbw@redhat.com>
1453 * src/nm-ip4-config.c
1455 - (nm_ip4_config_new): don't export over D-Bus here
1456 - (nm_ip4_config_export): new function; export the config over D-Bus
1457 - (nm_ip4_config_is_exported): new function
1460 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1461 objects by balancing the IP4Config constructor; the device holds
1462 a reference to the IP4Config already
1463 - (nm_device_set_ip4_config): export the IP4Config when needed
1465 2008-09-04 Dan Williams <dcbw@redhat.com>
1467 * src/supplicant-manager/nm-supplicant-settings-verify.c
1468 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1470 2008-09-04 Dan Williams <dcbw@redhat.com>
1472 * libnm-util/nm-setting-vpn.c
1473 libnm-util/nm-setting-vpn.h
1474 - Split VPN secrets from VPN data so that settings services can actually
1475 figure out that they are secrets and store them accordingly
1477 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1478 system-settings/plugins/keyfile/reader.c
1479 system-settings/plugins/keyfile/reader.h
1480 system-settings/plugins/keyfile/writer.c
1481 - Store VPN secrets separately from VPN data so that they can be fetched
1483 - Implement the get_secrets() call so that (a) secrets don't leak out
1484 to unprivileged callers, and (b) secrets can be sent to privileged
1487 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1488 - Handle split VPN secrets
1490 2008-08-27 Dan Williams <dcbw@redhat.com>
1492 * system-settings/plugins/ifcfg-fedora/reader.c
1493 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1495 2008-08-27 Dan Williams <dcbw@redhat.com>
1497 Ensure zombie children get cleaned up. To get notifications when children
1498 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1499 that requires calling waitpid() yourself if you've removed the child watch
1500 handler before the process has actually died, which NM needs to do in a few
1501 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1502 cleans up after the child when required. Should fix problems trying to
1503 activate mobile broadband connections after a previous failure.
1505 * src/dhcp-manager/nm-dhcp-dhclient.c
1506 src/dhcp-manager/nm-dhcp-dhcpcd.c
1507 - Use G_SPAWN_DO_NOT_REAP_CHILD
1509 * src/dhcp-manager/nm-dhcp-manager.c
1510 - (nm_dhcp_device_destroy): ensure child is cleaned up
1511 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1512 block on child quitting, since the non-blocking functionality was
1515 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1516 - (dm_watch_cb): child is already reaped here
1517 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1520 - (aipd_cleanup): block until child is dead
1522 * src/named-manager/nm-named-manager.c
1523 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1524 event bothering to watch the child
1526 * src/ppp-manager/nm-ppp-manager.c
1527 - (ppp_watch_cb): child is already reaped here
1528 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1530 * src/vpn-manager/nm-vpn-service.c
1531 - (vpn_service_watch_cb): child is already reaped here
1532 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1533 status of the child is actually tracked
1534 - (ensure_killed, finalize): block until child is dead
1536 2008-08-26 Dan Williams <dcbw@redhat.com>
1538 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1539 - (update): Update filename of the connection if the connection id
1542 * system-settings/plugins/keyfile/plugin.c
1543 - (dir_changed): first pass at handling connection renames correctly
1545 * system-settings/plugins/keyfile/writer.c
1546 system-settings/plugins/keyfile/writer.h
1547 - (write_connection): replace '/' with '*' when writing out the filename
1548 from the connection id
1550 2008-08-26 Dan Williams <dcbw@redhat.com>
1552 Add connection UUIDs, since connection names can be changed, and since
1553 old-style connection IDs could change over the life of the connection. The
1554 UUID should be assigned at connection creation time, be stable for a given
1555 connection, and should be unique among all connections for a given settings
1559 libnm-util/Makefile.am
1562 * introspection/nm-exported-connection.xml
1563 - Remove "GetID" method
1565 * libnm-glib/nm-dbus-connection.c
1566 libnm-glib/nm-settings.c
1567 libnm-glib/nm-settings.h
1568 - Remove id-related stuff
1570 * libnm-util/nm-utils.c
1571 libnm-util/nm-utils.h
1572 libnm-util/libnm-util.ver
1573 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1574 utility functions to generate UUIDs
1576 * libnm-util/nm-setting-connection.c
1577 libnm-util/nm-setting-connection.h
1578 - Add 'uuid' member to the connection setting
1579 - (verify): require valid 'uuid' for a valid connection
1581 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1582 system-settings/plugins/ifcfg-fedora/reader.c
1583 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1584 system-settings/plugins/ifcfg-suse/parser.c
1585 system-settings/plugins/keyfile/nm-keyfile-connection.c
1586 system-settings/src/main.c
1587 - Remove id-related stuff
1588 - Give connections UUIDs where needed
1590 2008-08-25 Dan Williams <dcbw@redhat.com>
1592 * libnm-util/crypto_gnutls.c
1593 libnm-util/crypto_nss.c
1594 - (crypto_init, crypto_deinit): refcount init/deinit
1595 - (crypto_md5_hash): allow NULL salt
1597 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1599 * libnm-glib/Makefile.am
1600 libnm-util/Makefile.am
1601 libnm-glib/libnm_glib.ver
1602 libnm-glib/libnm_glib_vpn.ver
1603 libnm-util/libnm-util.ver
1604 - Use linker version scripts to control the list of exported
1605 symbols. List each exported symbol explicitely.
1606 * libnm-util/Makefile.am
1607 - Fix compilation of the test-crypto binary. The crypto
1608 functions are no longer part of the libnm-util API. Add
1609 crypto_*.c to test_crypto_SOURCES and link against the correct
1612 2008-08-19 Dan Williams <dcbw@redhat.com>
1616 - Don't build test/test-common
1617 - Remove unused stuff
1619 * test/nm-set-fallback
1620 test/nmtestdevices.c
1621 test/test-common/.cvsignore
1622 test/test-common/Makefile.am
1623 test/test-common/test-common.c
1624 test/test-common/test-common.h
1627 2008-08-18 Dan Williams <dcbw@redhat.com>
1629 * libnm-util/nm-utils.c
1630 libnm-util/nm-utils.h
1631 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1632 export anything that needs to be converted with this function
1634 * src/dhcp-manager/nm-dhcp-manager.c
1635 - (garray_to_string): convert a byte array to a UTF-8 string with
1636 minimal validation; the DHCP client sends it in ASCII anyway
1637 - (get_option, copy_option): use garray_to_string()
1639 2008-08-18 Dan Williams <dcbw@redhat.com>
1641 * include/NetworkManager.h
1642 introspection/nm-device.xml
1643 - Add a "missing firmware" device state reason
1645 * src/NetworkManagerSystem.c
1646 src/NetworkManagerSystem.h
1647 - (nm_system_device_set_up_down): add a no_firmware argument
1648 - (nm_system_device_set_up_down_with_iface): if the result of setting
1649 IFF_UP is ENOENT, that almost always means missing firmware
1651 * src/backends/NetworkManagerGeneric.c
1652 src/nm-device-ethernet.c
1653 src/nm-device-private.h
1654 src/nm-device-wifi.c
1657 src/nm-hso-gsm-device.c
1658 src/vpn-manager/nm-vpn-connection.c
1659 - Pass no_firmware along; check it where appropriate
1661 2008-08-18 Dan Williams <dcbw@redhat.com>
1663 Patch from Robert Buchholz <rbu@gentoo.org>
1667 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1668 1003.1-1988, allowing for file names longer than 99 characters
1670 2008-08-17 Dan Williams <dcbw@redhat.com>
1672 * include/NetworkManager.h
1673 introspection/nm-device.xml
1675 - Finer-grained GSM registration failure error codes
1677 2008-08-17 Dan Williams <dcbw@redhat.com>
1679 * callouts/Makefile.am
1681 - Move dispatcher directory creation to callouts/Makefile.am
1683 * system-settings/plugins/keyfile/Makefile.am
1684 - Create keyfile connections directory in DESTDIR (bgo #546833)
1686 2008-08-15 Dan Williams <dcbw@redhat.com>
1688 Do connection sharing in a cleaner manner; all required iptables rules
1689 are now stored in the activation request and pertain only to the device
1690 which is being shared to other computers. (rh #458625)
1692 * src/nm-activation-request.c
1693 src/nm-activation-request.h
1694 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1695 the activation request which will get torn down automatically when
1696 the activation request dies
1697 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1698 is started, and tear them down when sharing is stopped
1701 - (start_sharing): start up sharing by doing the required iptables magic
1702 - (share_init): poke the right bits of the kernel and load the right
1704 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1705 connection if it's a 'shared' connection
1707 * src/NetworkManagerPolicy.c
1708 - Remove all sharing stuff; done in the device code itself
1710 2008-08-15 Dan Williams <dcbw@redhat.com>
1712 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1713 - (create_dm_cmd_line): send the right router address
1715 2008-08-15 Dan Williams <dcbw@redhat.com>
1717 * src/ppp-manager/nm-ppp-manager.c
1718 - (pppd_timed_out): ensure timeouts fail the connection
1720 2008-08-14 Dan Williams <dcbw@redhat.com>
1722 * src/nm-properties-changed-signal.c
1723 src/nm-properties-changed-signal.h
1724 - Add a property spec flag for "don't export this property" in
1725 property changed signals
1727 * src/nm-hso-gsm-device.c
1729 src/nm-cdma-device.c
1730 - Don't export monitor interface or netdev interface properties
1732 2008-08-14 Dan Williams <dcbw@redhat.com>
1734 * src/NetworkManagerPolicy.c
1735 - (update_routing_and_dns): 'hso' devices can be default even if they
1736 don't have a gateway
1738 2008-08-14 Dan Williams <dcbw@redhat.com>
1741 - (nm_device_deactivate_quickly): tear down activation request after
1742 calling device-specific deactivation
1744 * src/nm-hso-gsm-device.c
1745 - (real_deactivate_quickly): terminate connection when deactivating
1747 2008-08-14 Dan Williams <dcbw@redhat.com>
1749 * src/nm-activation-request.h
1750 - Add HSO secrets caller
1752 * src/nm-gsm-device.c
1754 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1755 something to the callback function
1756 - (set_apn, set_apn_done): call class dial function, not a static one
1757 - (nm_gsm_device_class_init): add a class 'dial' function
1759 * src/nm-hal-manager.c
1760 - (get_hso_netdev): find the hso-driven hardware's net device
1761 - (modem_device_creator): recognize hso-driven hardware and create the
1762 right type of device object for it
1765 src/nm-hso-gsm-device.c
1766 src/nm-hso-gsm-device.h
1767 - Implement support for devices driven by the 'hso' driver as a subclass
1770 2008-08-14 Dan Williams <dcbw@redhat.com>
1772 * src/NetworkManagerSystem.c
1773 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1774 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1775 success if the operation really was successful
1777 2008-08-14 Dan Williams <dcbw@redhat.com>
1779 * src/nm-netlink-monitor.c
1780 src/nm-netlink-monitor.h
1781 src/nm-device-ethernet.c
1782 - (nm_netlink_monitor_request_status): return an error on failure
1783 - (constructor): don't segfault on missing error
1785 2008-08-13 Dan Williams <dcbw@redhat.com>
1787 * callouts/nm-dispatcher-action.c
1788 - Add IP4 config info to script environment
1790 2008-08-12 Dan Williams <dcbw@redhat.com>
1793 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1794 that want to use DHCP hostnames should use dispatcher scripts
1797 * src/NetworkManagerSystem.h
1798 src/backends/NetworkManagerArch.c
1799 src/backends/NetworkManagerDebian.c
1800 src/backends/NetworkManagerFrugalware.c
1801 src/backends/NetworkManagerGeneric.c
1802 src/backends/NetworkManagerGeneric.h
1803 src/backends/NetworkManagerGentoo.c
1804 src/backends/NetworkManagerMandriva.c
1805 src/backends/NetworkManagerPaldo.c
1806 src/backends/NetworkManagerRedHat.c
1807 src/backends/NetworkManagerSlackware.c
1808 src/backends/NetworkManagerSuSE.c
1809 - Remove nm_system_set_hostname(), no longer used
1811 * src/backends/Makefile.am
1812 src/backends/shvar.c
1813 src/backends/shvar.h
1814 - Remove shvar.*; no longer used
1816 2008-08-12 Dan Williams <dcbw@redhat.com>
1818 Revert most of the 'hostname' patch. Too much stuff still breaks when
1819 hostname is updated at runtime. Distros or users who want hostname updates
1820 can use dispatcher scripts to update the hostname if they need it.
1822 2008-08-12 Dan Williams <dcbw@redhat.com>
1824 * introspection/nm-settings-system.xml
1825 system-settings/src/dbus-settings.c
1826 system-settings/src/dbus-settings.h
1827 - Add a 'Hostname' property (rw) which represents the configured
1828 hostname and domain of the system, if any
1830 * system-settings/src/nm-system-config-error.c
1831 system-settings/src/nm-system-config-error.h
1832 system-settings/src/nm-system-config-interface.c
1833 system-settings/src/nm-system-config-interface.h
1834 - Add a 'hostname' property to the plugin interface
1835 - Add a method to send updated hostname to plugins to save in their
1836 backing configuration store
1838 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1839 system-settings/plugins/keyfile/plugin.c
1840 system-settings/plugins/keyfile/writer.c
1841 system-settings/plugins/keyfile/writer.h
1842 system-settings/plugins/ifcfg-suse/plugin.c
1843 - Add minimal hostname support
1845 * system-settings/plugins/ifcfg-fedora/plugin.c
1846 - Add support for updating system hostname in /etc/sysconfig/network
1848 2008-08-12 Dan Williams <dcbw@redhat.com>
1850 * system-settings/plugins/ifcfg-fedora/shvar.c
1851 system-settings/plugins/ifcfg-fedora/shvar.c
1852 - Fix double-free caused by svSetValue() followed by svCloseFile()
1854 2008-08-12 Tambet Ingo <tambet@gmail.com>
1856 * Makefile.am: Fix distcheck.
1858 2008-08-12 Tambet Ingo <tambet@gmail.com>
1860 * libnm-glib/*.c. Document some more.
1862 2008-08-12 Tambet Ingo <tambet@gmail.com>
1864 Start documenting libnm-glib public API using gtk-doc.
1866 * libnm-glib/nm-serial-device.c:
1867 * libnm-glib/nm-object.c:
1868 * libnm-glib/nm-gsm-device.c:
1869 * libnm-glib/nm-device.c:
1870 * libnm-glib/nm-device-wifi.c:
1871 * libnm-glib/nm-device-ethernet.c:
1872 * libnm-glib/nm-client.c:
1873 * libnm-glib/nm-cdma-device.c: Document the public API.
1875 * docs/libnm-glib/libnm-glib.types: Implement.
1877 * docs/libnm-glib/Makefile.am: Implement.
1881 * Makefile.am: Add gtk-doc support.
1883 2008-08-12 Tambet Ingo <tambet@gmail.com>
1885 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1887 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1888 the composite result of all the IP4 configurations and call a distro
1889 specific update_resolv_conf().
1890 (update_resolv_conf): Implement one for directly writing to
1891 /etc/resolv.conf and one for opensuse to call netconfig.
1893 2008-08-11 Dan Williams <dcbw@redhat.com>
1895 * src/ppp-manager/nm-ppp-manager.c
1896 - (impl_ppp_manager_need_secrets): pass interface as required
1898 2008-08-11 Dan Williams <dcbw@redhat.com>
1900 Merge the vpn-properties setting with the vpn setting since it was pointless
1901 to keep both of them around. Convert the vpn 'data' hash table to a hash
1902 of string:string (instead of string:variant) so that system settings plugins
1903 can have an easier time dealing with the arbitrary key/value pairs.
1905 2008-08-11 Dan Williams <dcbw@redhat.com>
1907 * libnm-util/nm-utils.c
1908 - (nm_utils_register_value_transformations): add value transform for
1909 a hash table of string:string
1911 2008-08-10 Dan Williams <dcbw@redhat.com>
1913 * libnm-glib/nm-vpn-plugin.c
1914 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1915 an idle handler so the Connect reply gets delivered before the
1916 stop StateChanged signal
1918 2008-08-10 Dan Williams <dcbw@redhat.com>
1920 * src/nm-ip4-config.c
1921 - (get_property): use common ip4 address/route conversion functions
1922 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1923 copy the new route here, not take ownership
1925 2008-08-08 Tambet Ingo <tambet@gmail.com>
1927 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1928 Update the IP4 setting's method name.
1930 2008-08-07 Dan Williams <dcbw@redhat.com>
1932 * introspection/nm-ip4-config.xml
1933 libnm-glib/libnm-glib-test.c
1934 libnm-glib/nm-ip4-config.c
1935 libnm-glib/nm-ip4-config.h
1936 src/NetworkManagerSystem.h
1937 src/backends/NetworkManagerArch.c
1938 src/backends/NetworkManagerDebian.c
1939 src/backends/NetworkManagerFrugalware.c
1940 src/backends/NetworkManagerGeneric.c
1941 src/backends/NetworkManagerGeneric.h
1942 src/backends/NetworkManagerGentoo.c
1943 src/backends/NetworkManagerMandriva.c
1944 src/backends/NetworkManagerPaldo.c
1945 src/backends/NetworkManagerRedHat.c
1946 src/backends/NetworkManagerSlackware.c
1947 src/backends/NetworkManagerSuSE.c
1948 src/dhcp-manager/nm-dhcp-manager.c
1952 - Remove NIS logic; should be done from dispatcher scripts instead
1954 2008-08-07 Dan Williams <dcbw@redhat.com>
1956 * src/dhcp-manager/nm-dhcp-manager.c
1957 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1958 mis-handling of DHCP responses that returned more than one router
1959 (found by Grant Williamson)
1961 2008-08-07 Dan Williams <dcbw@redhat.com>
1963 * callouts/nm-dispatcher-action.c
1964 - (nm_dispatcher_action): grab device path and create the device; pass
1965 the device's DHCP4 config to script caller
1966 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1969 * libnm-glib/nm-dhcp4-config.c
1970 libnm-glib/nm-dhcp4-config.h
1971 - (nm_dhcp4_config_get_options): expose
1972 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1974 2008-08-07 Dan Williams <dcbw@redhat.com>
1976 * include/NetworkManager.h
1977 - Add the DHCP4Config D-Bus interface
1979 * libnm-glib/Makefile.am
1980 libnm-glib/nm-dhcp4-config.c
1981 libnm-glib/nm-dhcp4-config.h
1982 - Handle DHCP4 config objects exported by NM over D-Bus
1984 * libnm-glib/nm-device.c
1985 libnm-glib/nm-device.h
1986 - Add a 'dhcp4-config' property
1988 * libnm-glib/libnm-glib-test.c
1989 - Print out DHCP4 config for devices
1990 - Fix some crashes when no connections are active
1992 * src/nm-device-interface.c
1994 src/nm-dhcp4-config.c
1995 src/nm-dhcp4-config.h
1996 - Treat dhcp4-config object as an object path at the D-Bus interface so
1997 that when it doesn't exist we can proxy it as "/" which dbus-glib
1998 doesn't let us do when the property type is G_TYPE_OBJECT
2000 2008-08-07 Dan Williams <dcbw@redhat.com>
2002 * src/NetworkManager.c
2003 src/NetworkManagerSystem.h
2004 src/backends/NetworkManagerArch.c
2005 src/backends/NetworkManagerDebian.c
2006 src/backends/NetworkManagerFrugalware.c
2007 src/backends/NetworkManagerGeneric.c
2008 src/backends/NetworkManagerGeneric.h
2009 src/backends/NetworkManagerGentoo.c
2010 src/backends/NetworkManagerMandriva.c
2011 src/backends/NetworkManagerPaldo.c
2012 src/backends/NetworkManagerRedHat.c
2013 src/backends/NetworkManagerSlackware.c
2014 src/backends/NetworkManagerSuSE.c
2015 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2017 2008-08-06 Dan Williams <dcbw@redhat.com>
2019 * libnm-glib/nm-ip4-config.c
2020 libnm-glib/nm-ip4-config.h
2021 - Add 'routes' property
2023 * libnm-util/nm-setting-vpn.c
2024 libnm-util/nm-setting-vpn.h
2025 - Remove 'routes' property
2027 * libnm-util/nm-setting-ip4-config.c
2028 libnm-util/nm-setting-ip4-config.h
2029 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2030 - Add 'ignore-auto-routes' property
2031 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2032 accomodate route metrics
2033 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2035 * libnm-util/nm-utils.c
2036 libnm-util/nm-utils.h
2037 - Add helpers for marshalling IP4 routes
2039 * src/NetworkManagerUtils.c
2040 - (nm_utils_merge_ip4_config): handle property renames and new route
2043 * src/NetworkManagerSystem.c
2044 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2045 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2047 * src/dhcp-manager/nm-dhcp-manager.c
2048 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2050 * system-settings/plugins/ifcfg-fedora/reader.c
2051 system-settings/plugins/ifcfg-fedora/writer.c
2052 - Handle routes separately from addresses now that routes have a different
2055 * introspection/nm-ip4-config.xml
2058 - Rename internal routing functions
2059 - 'static-routes' renamed to 'routes'
2061 2008-08-04 Dan Williams <dcbw@redhat.com>
2063 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2065 * src/NetworkManager.c
2068 - More explicitly make the NMManager a singleton
2070 2008-08-04 Dan Williams <dcbw@redhat.com>
2072 * libnm-util/nm-connection.c
2073 libnm-util/nm-connection.h
2074 - (nm_connection_verify): return error on missing 'connection' setting
2075 (found by Sjoerd Simons)
2077 2008-08-04 Dan Williams <dcbw@redhat.com>
2079 Handle multiple concurrent PPP connections.
2081 * src/ppp-manager/nm-ppp-manager.c
2082 src/ppp-manager/nm-ppp-manager.h
2083 - (constructor): only PPP Manager request bus name once; each
2084 NMPPPManager object gets a unique object path
2085 - (nm_ppp_manager_class_init, get_property, set_property,
2086 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2088 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2089 remove timeout until PPP manager gets an IP4 config
2090 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2091 the plugin can call back to this specific PPP manager instance
2093 * src/nm-device-ethernet.c
2094 src/nm-serial-device.c
2095 - Pass parent device in nm_ppp_manager_new()
2097 * src/nm-gsm-device.c
2098 src/nm-cdma-device.c
2099 - (device_state_changed): don't close serial device on NEED_AUTH
2100 state changed, that's not a failure case like the rest are
2102 * src/ppp-manager/nm-pppd-plugin.c
2103 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2104 binds one interface to any pppd process, thus the correct index
2105 is always 0; send PHASE_DEAD on error to alert NM immediately of
2106 problems; try harder to get a peer address in spite of pppd
2107 - (plugin_init): use 'ipparam' as the object path back to our specific
2108 PPP manager instance
2110 2008-08-04 Dan Williams <dcbw@redhat.com>
2112 * src/ppp-manager/nm-ppp-manager.c
2113 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2114 since the GSM and CDMA settings now implement need_secrets, we can
2115 rely on them to do the right thing. Where secrets are not required,
2116 just pass empty strings back to the pppd plugin.
2117 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2118 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2119 on successful IP4 config receipt
2121 2008-08-04 Dan Williams <dcbw@redhat.com>
2123 * libnm-util/nm-setting-cdma.c
2124 libnm-util/nm-setting-gsm.c
2125 - (verify): validate username & password if they exist
2126 - (need_secrets): if username given, require a password too
2128 2008-08-04 Dan Williams <dcbw@redhat.com>
2130 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2131 - (create_dm_cmd_line): really don't listen on lo, despite what the
2132 manpage says about --listen-address without --interface
2135 2008-08-01 Dan Williams <dcbw@redhat.com>
2137 * libnm-glib/nm-device.c
2138 - (proxy_get_string): util function for querying a HAL property
2139 - (get_ancestor_device): split out from get_product_and_vendor()
2140 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2141 from PCI devices by querying subsys properties
2142 - (nm_device_update_description): simplify
2144 2008-08-01 Dan Williams <dcbw@redhat.com>
2146 * libnm-util/nm-setting-ip4-config.c
2147 libnm-util/nm-setting-ip4-config.h
2148 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2149 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2150 settings, and they don't necessarily use DHCP.
2152 * src/NetworkManagerPolicy.c
2154 system-settings/plugins/ifcfg-fedora/reader.c
2155 system-settings/plugins/ifcfg-suse/parser.c
2156 - Fixup for method changes
2158 2008-07-31 Dan Williams <dcbw@redhat.com>
2160 * src/nm-activation-request.c
2161 src/vpn-manager/nm-vpn-connection.c
2162 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2163 itself should be attached to the activation request or the VPN
2164 connection, not the NMConnection object, since the call is not
2165 expected to live as long as the NMConnection itself
2167 2008-07-31 Dan Williams <dcbw@redhat.com>
2169 * src/nm-device-wifi.c
2170 - (real_act_stage2_config): fix issue where association would continue
2171 even though secrets were needed; 'goto out' was in wrong scope and
2172 result of handle_auth_or_fail() should have been dumped directly to
2173 'ret' to ensure that the association was postponed until secrets
2176 2008-07-31 Dan Williams <dcbw@redhat.com>
2178 * system-settings/plugins/ifcfg-fedora/plugin.c
2179 system-settings/plugins/ifcfg-fedora/reader.c
2180 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2183 2008-07-29 Dan Williams <dcbw@redhat.com>
2185 * src/nm-gsm-device.c
2186 - (automatic_registration_response, automatic_registration): recognize
2187 denied registration and reorder responses
2189 2008-07-29 Dan Williams <dcbw@redhat.com>
2191 * src/nm-serial-device.c
2192 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2193 time(2) is used for current time, which returns seconds, we shouldn't
2194 be multiplying by 1000.
2196 2008-07-28 Dan Williams <dcbw@redhat.com>
2198 Patch from Fabrice Bellet <fabrice@bellet.info>
2200 * src/NetworkManagerSystem.c
2201 - (route_in_same_subnet): mask addresses and compare them so that the
2202 function actually does what it says it's going to do (rh #456685)
2204 2008-07-27 Dan Williams <dcbw@redhat.com>
2206 * libnm-util/nm-setting-ip6-config.c
2207 - (set_property): add missing break that caused routes to be overwritten
2210 * libnm-util/nm-setting-ip6-config.c
2211 - (verify): validate routes and return GError everywhere on invalid setting
2212 - (finalize): don't leak routes
2213 - (set_property): add missing break that caused routes to be overwritten
2216 2008-07-27 Dan Williams <dcbw@redhat.com>
2219 - Relicense to LGPLv2+
2221 2008-07-27 Dan Williams <dcbw@redhat.com>
2223 * system-settings/plugins/ifcfg-fedora/reader.c
2224 - (make_ip4_setting): fix parsing automatic configs
2226 2008-07-27 Dan Williams <dcbw@redhat.com>
2228 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2230 src/ppp-manager/nm-ppp-manager.c
2231 - Ensure child process gets reaped. The child watch function may be
2232 removed from the mainloop before the child gets killed, so we have
2233 to make sure the child is reaped when it's told to die intentionally
2235 2008-07-27 Dan Williams <dcbw@redhat.com>
2237 Patch from Roy Marples <roy@marples.name>
2239 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2240 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2242 2008-07-27 Dan Williams <dcbw@redhat.com>
2244 * src/nm-gsm-device.c
2245 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2246 Huawei devices turn echo back on after CPIN (rh #456770)
2248 2008-07-24 Tambet Ingo <tambet@gmail.com>
2250 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2251 format argument to g_set_error() call.
2253 * src/backends/interface_parser.[ch]: Remove.
2255 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2257 2008-07-21 Dan Williams <dcbw@redhat.com>
2259 * src/ppp-manager/nm-ppp-manager.c
2260 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2261 to prevent pppd from picking up some random local address from an
2262 interface that doesn't have anything to do with the one we're
2263 interested in (rh #455348)
2265 2008-07-17 Dan Williams <dcbw@redhat.com>
2267 * libnm-util/nm-utils.c
2268 - (string_to_utf8): general function for conversion to UTF-8 assisted
2270 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2271 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2273 2008-07-17 Dan Williams <dcbw@redhat.com>
2275 * introspection/Makefile.am
2276 introspection/nm-device.xml
2277 introspection/nm-dhcp4-config.xml
2278 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2280 * src/nm-device-interface.c
2281 src/nm-device-interface.h
2282 - Add the DHCP4Config property
2285 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2286 D-Bus clients when it changes
2288 * src/nm-dhcp4-config.c
2289 src/nm-dhcp4-config.h
2290 - Simple object to store DHCP4 options, export them over D-Bus, and
2291 notify when they change
2293 * src/dhcp-manager/nm-dhcp-manager.c
2294 src/dhcp-manager/nm-dhcp-manager.h
2295 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2296 filter server-returned DHCP options into an NMDHCP4Config object
2298 2008-07-16 Dan Williams <dcbw@redhat.com>
2300 * introspection/nm-device.xml
2301 - Add device state reasons
2303 2008-07-16 Dan Williams <dcbw@redhat.com>
2305 Patch from Roy Marples <roy@marples.name>
2308 - Add --with-dhcp-client option
2310 * src/dhcp-manager/Makefile.am
2311 - pass DHCP_CLIENT_PATH on compile line
2313 * src/dhcp-manager/nm-dhcp-manager.c
2314 src/dhcp-manager/nm-dhcp-manager.h
2315 - Genericize for both dhcpcd and dhclient
2317 * src/dhcp-manager/nm-dhcp-dhclient.c
2318 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2320 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2321 - Implement support for dhcpcd too
2323 2008-07-16 Tambet Ingo <tambet@gmail.com>
2325 * system-settings/src/nm-system-config-interface.c
2326 (nm_system_config_interface_supports_add): Implement.
2327 (nm_system_config_interface_add_connection): Return a boolean to notify
2330 * system-settings/src/nm-polkit-helpers.c:
2331 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2334 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2335 Return an error when none of the plugins support add or if addition
2336 failed for some reason.
2338 * system-settings/src/nm-system-config-error.h:
2339 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2340 here from nm-polkit-helpers.[ch].
2342 * system-settings/src/Makefile.am: Build new files.
2344 * system-settings/plugins/keyfile/reader.c
2345 (read_array_of_array_of_uint): Make it more general so that it would
2346 work for routes as well.
2348 * system-settings/plugins/keyfile/writer.c
2349 (write_array_of_array_of_uint): Ditto.
2350 Fix the netmask/prefix writing.
2352 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2353 boolean to notify errors.
2355 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2356 Return more specific error.
2359 2008-07-11 Dan Williams <dcbw@redhat.com>
2361 Modify the NMDevice::state-changed signal to include the previous state
2362 and reason. Enables the applet to provide more information why device
2365 2008-07-09 Dan Williams <dcbw@redhat.com>
2367 * callouts/Makefile.am
2368 callouts/nm-avahi-autoipd-action.c
2369 callouts/nm-avahi-autoipd.conf
2370 - avahi-autoipd callout to send options back to NM
2377 src/nm-device-private.h
2379 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2382 2008-07-07 Dan Williams <dcbw@redhat.com>
2384 * system-settings/plugins/ifcfg-fedora/reader.c
2385 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2386 handle PREFIX too; clean up
2388 2008-07-07 Dan Williams <dcbw@redhat.com>
2390 Convert to using IPv4 prefixes instead of netmasks.
2392 2008-07-03 Dan Williams <dcbw@redhat.com>
2394 * libnm-util/nm-setting-ip4-config.c
2395 libnm-util/nm-setting-ip4-config.h
2396 - Add properties for DHCP Client Identifier and DHCP Hostname
2398 * src/dhcp-manager/nm-dhcp-manager.c
2399 src/dhcp-manager/nm-dhcp-manager.h
2400 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2401 setting as an argument to pass on to the dhclient config file
2403 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2405 - (dhclient_run): punt config file handling to create_dhclient_config()
2406 - (create_dhclient_config): create an interface-specific dhclient
2407 config file since there may need to be interface-specific options
2409 - (merge_dhclient_config): merge normal distro dhclient config file and
2410 add options from the connection
2411 - (nm_dhcp_device_new): generate the interface specific dhclient
2412 config file path once
2413 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2414 dhclient config file path
2417 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2418 DHCP manager when starting DHCP
2420 2008-07-02 Dan Williams <dcbw@redhat.com>
2422 * libnm-util/nm-setting-8021x.c
2423 - (verify): allow forcing the PEAP label to 0
2425 2008-07-02 Dan Williams <dcbw@redhat.com>
2427 * introspection/nm-active-connection.xml
2428 introspection/nm-vpn-connection.xml
2429 libnm-glib/nm-active-connection.c
2430 src/nm-activation-request.c
2431 src/nm-active-connection.h
2432 src/vpn-manager/nm-vpn-connection.c
2433 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2434 and libnm-glib API since sharing didn't get implemented that way
2436 2008-07-02 Dan Williams <dcbw@redhat.com>
2438 * src/nm-device-wifi.c
2439 - (can_scan): don't scan when a shared connection is activated since
2440 that makes drivers mad (causing disconnects); also NM doesn't need
2441 to hedge against disconnects by keeping up-to-date network topology
2442 because the connection originates from the local machine, and thus
2443 there should be no disconnects
2445 2008-07-01 Dan Williams <dcbw@redhat.com>
2447 Fix mobile broadband username/password issues. NM was never requesting
2448 mobile broadband secrets, nor was it passing back the username and password
2451 * marshallers/nm-marshal.list
2452 - Add some new types for activation request objects
2454 * src/nm-activation-request.c
2455 src/nm-activation-request.h
2456 - (get_secrets_cb): pass the caller type in the signal
2457 - (nm_act_request_request_connection_secrets): take a caller type, so
2458 that GetSecrets() reply handlers know who asked for the secrets in
2459 the first place; use secret hints too so the settings service can
2460 figure out exactly what NM wants (ie, PIN or the PPP password)
2462 * src/ppp-manager/nm-ppp-manager.c
2463 src/ppp-manager/nm-ppp-manager.h
2464 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2465 detect needed secrets when the secret could be blank, like GSM/CDMA
2466 passwords. So always ask for secrets, and send a hint as to what
2467 secret we really want.
2468 - (nm_ppp_manager_update_secrets): make function more generic by making
2469 the device specific class figure out the username and password, and
2470 accept an error argument to return back over D-Bus
2472 * src/nm-device-wifi.c
2473 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2474 nm_act_request_request_connection_secrets()
2475 - (real_connection_secrets_updated): update for 'caller' changes
2479 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2480 for 'caller' changes
2482 * src/nm-device-ethernet.c
2483 - (real_connection_secrets_updated): update for 'caller' changes and
2484 move logic for getting PPPoE username and password here before
2485 calling nm_ppp_manager_update_secrets()
2486 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2487 nm_act_request_request_connection_secrets()
2489 * src/nm-cdma-device.c
2490 - (real_connection_secrets_updated): pass username and password back
2491 to the PPP manager when required
2493 * src/nm-gsm-device.c
2494 - (enter_pin): send the required secret name to the settings service
2495 - (real_connection_secrets_updated): pass username and password back
2496 to the PPP manager when required
2498 2008-06-30 Dan Williams <dcbw@redhat.com>
2500 * src/nm-device-wifi.c
2501 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2503 2008-06-30 Dan Williams <dcbw@redhat.com>
2505 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2506 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2507 priv->supplicant.iface. When either condition is false, the device should
2508 transition back to UNAVAILABLE because it cannot be used.
2510 * src/nm-device-wifi.c
2511 - (constructor): cleanup; connect to supplicant manager here since the
2512 supplicant manager is always around
2513 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2514 ensure the supplicant manager is in the IDLE state
2515 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2516 cancel any pending scans too
2517 - (real_bring_up): don't set up the supplicnat interface here, because
2518 we need the supplicant interface at times when the device may not
2520 - (real_take_down): just remove the periodic source
2521 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2522 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2523 do anything if there's no supplicant interface
2524 - (cleanup_association_attempt): cleanup
2525 - (supplicant_iface_state_cb_handler): request an immediate scan when
2526 the interface enters the READY state; transition to UNAVAILABLE
2527 state when the interface goes down because the device can't be used
2528 without a supplicant interface
2529 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2530 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2531 acquire the supplicant interface and transition to DISCONNECTED
2532 if the radio isn't killed
2533 - (nm_device_wifi_dispose): move most of device_cleanup() here
2534 - (state_changed_cb): release any existing supplicant interface; if the
2535 radio is enabled then try to acquire a new supplicant interface;
2536 if the radio is enabled and a supplicant interface has been acquired,
2537 we can transition to DISCONNECTED
2538 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2539 don't enable the radio, because HAL probably lied to us about the
2540 killswitch being off. If bringing the hardware up worked, then
2541 try to grab a supplicant interface, and if that was successful,
2542 transition to DISCONNECTED
2544 2008-06-30 Dan Williams <dcbw@redhat.com>
2546 * src/supplicant-manager/nm-supplicant-interface.c
2547 - (request_scan_results, nm_supplicant_interface_dispose,
2548 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2549 the id of the timeout, not a GSource
2551 2008-06-30 Tambet Ingo <tambet@gmail.com>
2553 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2554 bunch of typoes introduced by "Patch from David Cantrell
2555 <dcantrell@redhat.com> and me".
2557 2008-06-30 Tambet Ingo <tambet@gmail.com>
2559 * src/nm-serial-device.c:
2560 * src/nm-gsm-device.c:
2561 * src/nm-cdma-device.c: Move the pending call handling to a common location
2562 in serial device. Handle setting device state to failed in one place as well.
2564 2008-06-29 Dan Williams <dcbw@redhat.com>
2566 * src/nm-hal-manager.c
2567 - Rework killswitch handling to query killswitch status immediately
2568 when the first killswitch is added, so that rfkill state is
2569 known as early as possible
2570 - Also treat failure of GetPower() as rfkill when the dbus method
2571 call times out (but not when the HAL callout returns an error)
2573 2008-06-26 Dan Williams <dcbw@redhat.com>
2575 Patch from David Cantrell <dcantrell@redhat.com> and me
2577 * include/nm-dbus-glib-types.h
2578 - Add IP6 address types
2580 * libnm-util/Makefile.am
2581 libnm-util/nm-setting-ip6-config.c
2582 libnm-util/nm-setting-ip6-config.h
2583 - Add IP6 settings object
2585 * libnm-util/nm-connection.c
2586 - (register_default_settings): register ip6 settings object
2588 * libnm-util/nm-utils.c
2589 libnm-util/nm-utils.h
2590 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2591 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2592 ip6 address conversion functions
2594 2008-06-26 Dan Williams <dcbw@redhat.com>
2596 Patch from David Cantrell <dcantrell@redhat.com>
2598 * Use inet_ntop() and inet_pton() everwhere and check for errors
2600 2008-06-26 Dan Williams <dcbw@redhat.com>
2602 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2604 2008-06-26 Dan Williams <dcbw@redhat.com>
2606 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2608 * src/nm-device-wifi.c
2609 - (link_timeout_cb): don't ignore disconnects due to scanning
2610 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2611 a longer timeout when scanning; avoids case where supplicant can't
2612 find the AP and just keeps scanning forever but isn't connected
2614 2008-06-26 Dan Williams <dcbw@redhat.com>
2616 Patch from Michael Biebl <biebl@debian.org>
2618 * Clean up build system stuff
2620 2008-06-23 Christian Persch <chpe@gnome.org>
2622 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2623 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2624 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2626 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2628 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2629 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2630 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2632 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2633 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2634 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2635 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2636 * vpn-daemons/pptp/properties/vpnui_opt.c:
2637 (vpnui_opt_connect_signals):
2638 * vpn-daemons/pptp/properties/vpnui_opt.h:
2639 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2640 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2641 deprecated gtk type macros. Bug #539325.
2643 2008-06-20 Dan Williams <dcbw@redhat.com>
2645 * libnm-glib/nm-vpn-plugin-ui-interface.c
2646 libnm-glib/nm-vpn-plugin-ui-interface.h
2647 - 'validity-changed' -> 'changed' to work better with the connection
2648 editor. Plugin UI widgets should emit 'changed' whenever their
2649 UI values change in a meaningful way.
2650 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2651 update_connection member now returns validity of the UI widget
2653 2008-06-20 Tambet Ingo <tambet@gmail.com>
2655 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2657 2008-06-17 Dan Williams <dcbw@redhat.com>
2659 * libnm-glib/nm-vpn-plugin-ui-interface.c
2660 libnm-glib/nm-vpn-plugin-ui-interface.h
2661 - Add "desc" property for longer descriptions of the VPN plugin
2663 2008-06-16 Dan Williams <dcbw@redhat.com>
2666 libnm-glib/libnm_glib_vpn.pc.in
2667 - add a .pc file for libnm_glib_vpn
2669 * libnm-glib/nm-vpn-plugin-ui-interface.c
2670 libnm-glib/nm-vpn-plugin-ui-interface.h
2671 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2672 rework it substantially
2674 2008-06-12 Dan Williams <dcbw@redhat.com>
2676 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2677 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2678 returns a descriptive GError when verification fails.
2680 2008-06-11 Dan Williams <dcbw@redhat.com>
2682 Patch from Tambet Ingo <tambet@gmail.com>
2684 * libnm-util/nm-setting-gsm.c
2685 - (verify): validate APN
2687 * src/nm-gsm-device.c
2688 - (manual_registration_done): start setting APN if needed
2689 - (set_apn, set_apn_done): set the APN
2690 - (do_dial): use the APN when dialing
2692 2008-06-11 Dan Williams <dcbw@redhat.com>
2694 * src/NetworkManagerSystem.c
2695 - (nm_system_device_set_ip4_route,
2696 nm_system_device_replace_default_ip4_route): check for the right
2697 return value from rtnl_route_add() to know when to add a gateway
2700 2008-06-11 Dan Williams <dcbw@redhat.com>
2702 * src/NetworkManagerPolicy.c
2703 - do_ipt_cmd -> do_cmd
2704 - (sharing_init): use do_cmd() instead of system()
2706 2008-06-10 Dan Williams <dcbw@redhat.com>
2708 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2709 and use "wifi" everwhere instead.
2711 2008-06-10 Dan Williams <dcbw@redhat.com>
2713 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2715 2008-06-10 Dan Williams <dcbw@redhat.com>
2717 Patch from Tambet Ingo <tambet@gmail.com>
2719 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2722 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2723 a signal to emit these changes over dbus.
2725 * src/Makefile.am: Genereate nm-serial-device-glue.
2727 * libnm-glib/nm-serial-device.[ch]: Implement.
2729 * libnm-glib/nm-cdma-device.[ch]
2730 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2732 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2734 * introspection/nm-device-serial.xml: Implement.
2736 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2738 * introspection/Makefile.am: Add nm-device-serial.xml.
2740 * include/NetworkManager.h: Add a DBus interface for serial device.
2742 2008-06-10 Dan Williams <dcbw@redhat.com>
2745 - Add TARGET_* define to config.h to distinguish distros
2747 * src/dhcp-manager/nm-dhcp-manager.c
2748 - (dhclient_run): use distro-specific path for dhclient config file
2750 2008-06-09 Dan Williams <dcbw@redhat.com>
2752 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2753 src/dnsmasq-manager/nm-dnsmasq-manager.h
2754 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2755 calculate the addresses passed to dnsmasq instead of hard-coding
2759 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2760 IP addresses for shared connections to guard against shared
2761 connection address collisions
2762 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2764 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2767 2008-06-09 Dan Williams <dcbw@redhat.com>
2769 * src/NetworkManagerPolicy.c
2770 - (update_routing_and_dns): set the default connection _after_ unsetting
2771 default on all non-default connections so that two connections can
2772 never be default at the same time
2773 - (device_state_changed): start and stop connection sharing when
2775 - (active_connection_default_changed): restart or stop sharing when
2776 the default connection changes to keep shared connections always
2777 NAT-ed through the default connection
2778 - (check_sharing): handle activation/deactivation of shared connections
2779 - (sharing_restart): atom-bomb approach to connection sharing until we
2780 can use libnl; reinit all sharing when the default connection or
2781 shared connections change
2782 - (sharing_init, sharing_stop): evil functions that init and deinit
2785 2008-06-09 Dan Williams <dcbw@redhat.com>
2787 * src/nm-activation-request.c
2788 src/nm-activation-request.h
2789 - (nm_act_request_set_shared, nm_act_request_get_shared,
2790 nm_act_request_get_device): new functions to facilitate connection
2793 2008-06-09 Dan Williams <dcbw@redhat.com>
2796 - (clear_act_request): unset the 'default' property of the activation
2797 request when clearing it to ensure the property changed signal gets
2798 delivered and handled
2800 2008-06-09 Dan Williams <dcbw@redhat.com>
2802 * libnm-glib/nm-device-802-11-wireless.c
2803 - (access_point_removed_proxy): actually unref the AP after removing
2804 it from the device's AP list. Fixes refcounting bug for APs that
2805 caused them to get mixed up in the applet's menu.
2807 2008-06-09 Tambet Ingo <tambet@gmail.com>
2809 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2810 (nm_dhcp_device_destroy): Destroy the device options hash table.
2812 2008-06-06 Dan Williams <dcbw@redhat.com>
2814 * system-settings/src/nm-polkit-helpers.c
2815 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2816 unref the context if the initialization fails; also avoid spew when
2819 2008-06-06 Dan Williams <dcbw@redhat.com>
2821 Patch from Tambet Ingo <tambet@gmail.com>
2823 * src/NetworkManagerSystem.c
2824 src/NetworkManagerSystem.h
2825 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2826 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2827 - (nm_system_device_set_ip4_route): clean up
2828 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2831 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2833 * src/vpn-manager/nm-vpn-connection.c
2834 - (ip_address_to_string): new function
2835 - (print_vpn_config): use ip_address_to_string
2836 - (merge_vpn_routes): add user-defined routes to the ip4 config
2837 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2839 * include/NetworkManagerVPN.h
2842 2008-06-05 Dan Williams <dcbw@redhat.com>
2844 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2847 - Show which device is the default device
2849 2008-06-05 Tambet Ingo <tambet@gmail.com>
2853 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2854 Free data returned from dbus method call.
2856 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2857 dbus_g_method_get_sender() returns a duplicated string, free it
2859 (check_polkit_privileges): Looks like policykit sometimes returns
2860 error and non-null return value, don't leak errors in that case.
2862 * system-settings/src/main.c (find_plugin): Don't leak existing
2864 (load_stuff): Don't leak device list and list items.
2865 (have_connection_for_device): Don't leak connection list.
2867 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2868 Free the data received from g_keyfile_get_*.
2870 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2871 the key when the security object is updated.
2873 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2874 Free data returned from dbus method call.
2875 (iface_state_cb): Ditto.
2876 (add_network_cb): Ditto.
2877 (nm_supplicant_interface_add_cb): Don't make another copy of already
2878 duplicated object path.
2879 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2882 * src/supplicant-manager/nm-supplicant-config.c
2883 (ADD_STRING_LIST_VAL): Fix a memory leak.
2885 * src/nm-manager.c (free_get_settings_info): Free the allocated
2887 (list_connections_cb): Free data returned from dbus method call.
2888 (system_settings_get_unmanaged_devices_cb): Ditto.
2890 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2892 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2893 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2894 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2897 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2898 arguments after the object is created.
2900 2008-06-04 Dan Williams <dcbw@redhat.com>
2902 * libnm-util/Makefile.am
2903 - Don't distribute nm-param-spec-specialized.h
2905 2008-06-02 Tambet Ingo <tambet@gmail.com>
2907 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2909 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2910 NMIP4Address, update the getters and setters.
2912 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2913 Use the updated NMIP4Config routes api.
2915 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2916 static routes as well.
2918 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2919 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2922 2008-05-30 Dan Williams <dcbw@redhat.com>
2924 * src/named-manager/nm-named-manager.c
2925 src/named-manager/nm-named-manager.h
2926 - Remove stale/obsolete bits for controlling bind over DBus
2928 2008-05-29 Dan Williams <dcbw@redhat.com>
2930 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2931 src/dnsmasq-manager/nm-dnsmasq-manager.h
2932 - (nm_dnsmasq_manager_new): move iface argument here
2933 - (constructor): remove, not needed
2934 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2935 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2938 - (real_act_stage4_get_ip4_config,
2939 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2942 2008-05-29 Dan Williams <dcbw@redhat.com>
2945 - (dnsmasq_state_changed_cb): new function; fail the connection if
2946 something happens to dnsmasq
2947 - (nm_device_new_ip4_shared_config): new function; create a new
2948 ip4-config for shared connections. Shared connections always use a
2949 fixed static IP address.
2950 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2951 autoip connections by actually using the returned ip4-config and
2953 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2955 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2958 2008-05-29 Dan Williams <dcbw@redhat.com>
2960 * src/nm-device-802-11-wireless.c
2961 - (real_get_best_auto_connection): auto-activate 'shared' method
2964 2008-05-29 Dan Williams <dcbw@redhat.com>
2966 * libnm-util/nm-setting-ip4-config.c
2967 libnm-util/nm-setting-ip4-config.h
2968 - Add a 'shared' method to indicate that this connection should be
2969 brought up with a DHCP and proxy DNS server to facilitate
2971 - (verify): 'shared' method doesn't allow DNS or searches either
2973 2008-05-29 Dan Williams <dcbw@redhat.com>
2977 src/dnsmasq-manager/Makefile.am
2978 src/dnsmasq-manager/nm-dnsmasq-manager.c
2979 src/dnsmasq-manager/nm-dnsmasq-manager.h
2980 - Add a dnsmasq daemon manager to facilitate connection sharing
2982 2008-05-29 Dan Williams <dcbw@redhat.com>
2984 * src/nm-device-private.h
2985 - Remove unused prototypes and clean up
2988 - Remove anything related to system_config_data, which is no longer used
2989 - (nm_device_new_ip4_autoip_config): make static
2991 2008-05-29 Tambet Ingo <tambet@gmail.com>
2993 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2994 (file_changed): Fix a bug where suse system settings plugin didn't
2995 update the connections automatically when the files changed.
2997 2008-05-28 Dan Williams <dcbw@redhat.com>
2999 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
3001 2008-05-28 Dan Williams <dcbw@redhat.com>
3003 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3005 * src/NetworkManagerSystem.c
3006 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
3007 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
3008 was causing -EINVAL errors since the libnl code actually does flush
3009 the routes on VPN interfaces now
3011 * src/backends/NetworkManagerArch.c
3012 src/backends/NetworkManagerDebian.c
3013 src/backends/NetworkManagerFrugalware.c
3014 src/backends/NetworkManagerGeneric.c
3015 src/backends/NetworkManagerGentoo.c
3016 src/backends/NetworkManagerMandriva.c
3017 src/backends/NetworkManagerPaldo.c
3018 src/backends/NetworkManagerRedHat.c
3019 src/backends/NetworkManagerSlackware.c
3020 src/backends/NetworkManagerSuSE.c
3021 - (nm_system_device_flush_ip4_routes,
3022 nm_system_device_flush_ip4_routes_with_iface): remove
3024 2008-05-28 Dan Williams <dcbw@redhat.com>
3026 * libnm-util/nm-setting-wireless.c
3027 libnm-util/nm-setting-wireless.h
3028 - (set_property, get_property, nm_setting_wireless_class_init): add the
3029 'adhoc-create' property, which when TRUE indicates that NM should
3030 create this connection as an adhoc wifi network if it's not found
3031 as an adhoc network during scanning. Can be used to auto-create
3032 adhoc networks when used in combination with autoconnect.
3034 2008-05-28 Tambet Ingo <tambet@gmail.com>
3036 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3038 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3039 checked, it doesn't work on some devices.
3041 2008-05-28 Tambet Ingo <tambet@gmail.com>
3043 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3044 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3046 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3047 Use inet_aton() everywhere to improve error detection.
3048 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3051 2008-05-26 Tambet Ingo <tambet@gmail.com>
3053 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3056 2008-05-26 Tambet Ingo <tambet@gmail.com>
3058 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3059 reference counting issue.
3061 2008-05-23 Dan Williams <dcbw@redhat.com>
3063 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3065 * src/backends/NetworkManagerGeneric.c
3066 - (nm_generic_enable_loopback): use libnl
3068 2008-05-23 Dan Williams <dcbw@redhat.com>
3070 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3072 * src/NetworkManagerSystem.h
3073 src/backends/NetworkManagerArch.c
3074 src/backends/NetworkManagerDebian.c
3075 src/backends/NetworkManagerFrugalware.c
3076 src/backends/NetworkManagerGentoo.c
3077 src/backends/NetworkManagerMandriva.c
3078 src/backends/NetworkManagerPaldo.c
3079 src/backends/NetworkManagerRedHat.c
3080 src/backends/NetworkManagerSlackware.c
3081 src/backends/NetworkManagerSuSE.c
3082 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3083 nm_system_flush_arp_cache): remove, unused
3085 * src/backends/NetworkManagerGeneric.c
3086 src/backends/NetworkManagerGeneric.h
3087 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3088 nm_generic_flush_arp_cache): remove, unused
3090 2008-05-23 Dan Williams <dcbw@redhat.com>
3092 * system-settings/plugins/ifcfg-fedora/reader.c
3093 - (make_ip4_setting): honor PEERDNS setting
3095 2008-05-23 Dan Williams <dcbw@redhat.com>
3097 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3099 * src/NetworkManagerSystem.c
3100 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3103 * src/backends/NetworkManagerArch.c
3104 src/backends/NetworkManagerDebian.c
3105 src/backends/NetworkManagerFrugalware.c
3106 src/backends/NetworkManagerGentoo.c
3107 src/backends/NetworkManagerMandriva.c
3108 src/backends/NetworkManagerPaldo.c
3109 src/backends/NetworkManagerRedHat.c
3110 src/backends/NetworkManagerSlackware.c
3111 src/backends/NetworkManagerSuSE.c
3112 - (nm_system_device_flush_ip4_addresses,
3113 nm_system_device_flush_ip4_addresses_with_iface): remove
3115 * src/backends/NetworkManagerGeneric.c
3116 - (nm_generic_device_flush_ip4_addresses,
3117 nm_generic_device_flush_ip4_addresses_with_iface): remove
3119 2008-05-23 Dan Williams <dcbw@redhat.com>
3121 * src/supplicant-manager/nm-supplicant-settings-verify.c
3122 - Switch 'bssid' from bytes to keyword type
3123 - (validate_type_keyword): allow NULL keyword lists
3125 * src/supplicant-manager/nm-supplicant-config.c
3126 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3127 a byte array to string form, which is what the supplicant expects
3129 2008-05-23 Tambet Ingo <tambet@gmail.com>
3131 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3132 information received from DHCP.
3134 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3135 to make it possible to ignore the DNS information (both servers and
3136 searches) returned by DHCP server.
3138 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3139 name servers and searches if "ignore_dhcp_dns" is set.
3141 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3142 (nm_ip4_config_reset_searches): Implement.
3144 2008-05-22 Dan Williams <dcbw@redhat.com>
3146 Remove anything mDNS related. This is better done from a distro-specific
3147 dispatcher script. Plus, any distro using avahi doesn't need to restart
3148 avahi, since avahi can handle interface changes just fine using netlink.
3151 - Remove --with-mdns-provider
3153 * src/NetworkManagerPolicy.c
3154 - (global_state_changed): don't restart the mdns provider
3156 * src/NetworkManagerSystem.h
3157 src/backends/NetworkManagerArch.c
3158 src/backends/NetworkManagerDebian.c
3159 src/backends/NetworkManagerFrugalware.c
3160 src/backends/NetworkManagerGentoo.c
3161 src/backends/NetworkManagerMandriva.c
3162 src/backends/NetworkManagerPaldo.c
3163 src/backends/NetworkManagerRedHat.c
3164 src/backends/NetworkManagerSlackware.c
3165 src/backends/NetworkManagerSuSE.c
3166 - (nm_system_restart_mdns_responder): remove
3168 * src/backends/NetworkManagerGeneric.c
3169 src/backends/NetworkManagerGeneric.h
3170 - (nm_generic_restart_mdns_responder): remove
3172 2008-05-22 Dan Williams <dcbw@redhat.com>
3175 - clean up crypto options; just use --with-crypto=nss or
3176 --with-crypto=gnutls
3178 2008-05-22 Tambet Ingo <tambet@gmail.com>
3180 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3181 anymore, do it right away.
3183 2008-05-22 Tambet Ingo <tambet@gmail.com>
3185 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3186 serial device open when we're not connecting or connected.
3188 * src/nm-cdma-device.c (device_state_changed): Ditto.
3190 2008-05-22 Tambet Ingo <tambet@gmail.com>
3192 Don't remove all devices on waking up, sync with HAL.
3194 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3195 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3196 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3198 2008-05-21 Tambet Ingo <tambet@gmail.com>
3200 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3201 If the default gateway is unreachable, add a route to gateway and try
3204 2008-05-20 Dan Williams <dcbw@redhat.com>
3206 * system-settings/plugins/ifcfg-fedora/reader.c
3207 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3209 2008-05-19 Dan Williams <dcbw@redhat.com>
3211 * system-settings/plugins/ifcfg-fedora/reader.c
3212 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3213 if the ifcfg doesn't specify one (rh #446527)
3215 2008-05-19 Dan Williams <dcbw@redhat.com>
3217 Make the system settings service exit when the bus goes away. Since it's
3218 a bus-activated service, it's lifetime is limited to the bus that activated
3221 * system-settings/src/Makefile.am
3222 system-settings/src/nm-system-config-hal-manager-private.h
3223 - Remove nm-system-config-hal-manager-private.h
3225 * system-settings/src/nm-system-config-hal-manager.c
3226 - (nm_system_config_hal_manager_reinit_dbus,
3227 nm_system_config_hal_manager_deinit_dbus): remove
3229 * system-settings/src/main.c
3230 - (dbus_reconnect): remove
3231 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3232 - (destroy_cb): just quit when the bus goes away
3233 - (start_dbus_service, dbus_init): simplify
3234 - (main): destroy the wired devices hash table after destroying
3235 the HAL manager so we don't have to disconnect signals from the
3238 2008-05-15 Tambet Ingo <tambet@gmail.com>
3240 Move crypto functions from nm-applet to libnm-util.
3242 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3243 (nm_setting_802_1x_set_client_cert)
3244 (nm_setting_802_1x_set_phase2_ca_cert)
3245 (nm_setting_802_1x_set_phase2_client_cert)
3246 (nm_setting_802_1x_set_private_key)
3247 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3248 file (or private key and it's password), read the certificate data.
3250 * libnm-util/crypto_nss.c:
3251 * libnm-util/crypto_gnutls.c:
3252 * libnm-util/crypto.[ch]: Move here from nm-applet.
3254 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3256 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3257 Imlement WPA-EAP configuration reading from sysconfig.
3259 2008-05-16 Dan Williams <dcbw@redhat.com>
3261 * src/nm-device-802-11-wireless.c
3262 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3265 2008-05-14 Dan Williams <dcbw@redhat.com>
3267 Fix Linus' bug in rh #134886
3269 * src/nm-device-802-3-ethernet.c
3270 - (constructor): request initial carrier state
3272 * src/nm-netlink-monitor.c
3273 - (nm_netlink_monitor_request_status): schedule emission of carrier
3274 signals after refilling the link cache. Because the refill is a
3275 synchronous operation, the normal message hander won't get called
3276 since libnl has already consumed the messages.
3277 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3279 2008-05-14 Dan Williams <dcbw@redhat.com>
3281 * src/NetworkManagerSystem.c
3282 - (nm_system_device_is_up_with_iface): clean up
3284 2008-05-13 Dan Williams <dcbw@redhat.com>
3286 Fix refcounting issues over sleep/wake when a VPN connection was active that
3287 caused NM to try registering an object path for a device upon wake that was
3288 the same as an already registered object path.
3291 - (nm_device_take_down): properly handle cases where the device is
3292 no longer active but was just active, and therefore must be
3293 deactivated. When a device moves to unmanaged mode, this function
3294 previously would not deactivate the device, because the state was
3295 already unmanaged by the time this function was called.
3297 * src/vpn-manager/nm-vpn-connection.c
3298 - (device_state_changed): properly handle multiple devices states in
3299 which the device is now deactivated. Code previously didn't handle
3300 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3303 2008-05-13 Dan Williams <dcbw@redhat.com>
3305 * src/nm-device-private.h
3307 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3309 * src/nm-device-802-11-wireless.c
3310 - (nm_device_802_11_wireless_set_enabled): take devices up
3311 and down as appropriate for the rfkill state
3313 2008-05-13 Dan Williams <dcbw@redhat.com>
3315 * marshallers/nm-marshal.list
3316 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3318 * system-settings/plugins/ifcfg-fedora/Makefile.am
3319 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3320 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3321 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3322 events. Solely for use watching ifcfg files to pick up changes
3323 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3325 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3326 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3327 file contents change
3328 - (finalize): clean up inotify watches
3329 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3330 and the connection ifcfg for changes on their hardlinks
3331 - (files_changed_cb): proxy the changed signal back out to listeners
3333 * system-settings/plugins/ifcfg-fedora/plugin.c
3335 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3337 - (read_one_connection): connect to change signals on the new connection
3338 - (dir_changed, connection_changed_handler,
3339 handle_connection_remove_or_new): break out connection change
3340 handling and connection new/remove handling so it can be used from
3341 both the GFileMonitor callback and the NMIfcfgConnection changed
3344 * system-settings/plugins/ifcfg-fedora/reader.c
3345 system-settings/plugins/ifcfg-fedora/reader.h
3346 - (connection_from_file): return the keyfile path the connection would use
3348 2008-05-13 Tambet Ingo <tambet@gmail.com>
3350 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3351 single PolKitContext which is shared by all. PolKitContext::unref leaks
3352 just about everything, including all open file descriptiors and results
3353 in 99% cpu usage when data arrives to any of the fds that don't belong
3354 to any context anymore.
3356 2008-05-12 Dan Williams <dcbw@redhat.com>
3358 * gfilemonitor/glocaldirectorymonitor.c
3359 gfilemonitor/glocaldirectorymonitor.h
3360 - (g_local_directory_monitor_constructor): actually subscribe to the
3362 - (_g_local_directory_monitor_new): ensure that inotify is started up
3364 * gfilemonitor/glocalfilemonitor.c
3365 gfilemonitor/glocalfilemonitor.h
3366 - (g_local_file_monitor_constructor): actually subscribe to the watch
3367 - (_g_local_file_monitor_new): ensure that inotify is started up
3369 2008-05-11 Dan Williams <dcbw@redhat.com>
3372 - record PolicyKit version
3374 * system-settings/src/nm-polkit-helpers.c
3375 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3376 with PolicyKit <= 0.6
3378 2008-05-11 Dan Williams <dcbw@redhat.com>
3380 Update Fedora system-settings plugin to support latest API and use
3381 GFileMonitor rather than home-rolled inotify code.
3383 * system-settings/plugins/ifcfg-fedora/Makefile.am
3384 system-settings/plugins/ifcfg-fedora/common.h
3385 system-settings/plugins/ifcfg-fedora/plugin.c
3386 - Update to latest system settings plugin API; use GIO instead of
3387 custom inotify code; use NMIfcfgConnection objects instead of
3388 ConnectionData structures tacked onto NMConnection objects
3390 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3391 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3392 - Implement an NMExportedConnection subclass mapping ifcfg files to
3395 * system-settings/plugins/ifcfg-fedora/reader.c
3396 system-settings/plugins/ifcfg-fedora/reader.h
3397 - Move ifcfg parsing bits here from parser.c
3399 * system-settings/plugins/ifcfg-fedora/parser.c
3400 system-settings/plugins/ifcfg-fedora/parser.h
3401 - Remove; most code moved to reader.c
3403 2008-05-11 Dan Williams <dcbw@redhat.com>
3408 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3409 implementation, so that the same change monitoring code can be used
3410 on systems without glib-2.14 (like Fedora 8)
3412 * system-settings/plugins/keyfile/Makefile.am
3413 system-settings/plugins/keyfile/plugin.c
3414 system-settings/plugins/ifcfg-suse/Makefile.am
3415 system-settings/plugins/ifcfg-suse/plugin.c
3416 - Use private gfilemonitor code if GIO is not present
3418 2008-05-09 Tambet Ingo <tambet@gmail.com>
3420 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3421 NMExportedConnection's 'update' and 'delete' and return error with
3422 descriptive message.
3424 2008-05-08 Dan Williams <dcbw@redhat.com>
3426 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3428 * src/nm-gsm-device.c
3429 src/nm-cdma-device.c
3430 - (real_get_best_auto_connection): implement; allow autoconnection
3431 to GSM & CDMA devices
3433 2008-05-08 Tambet Ingo <tambet@gmail.com>
3435 Use PolicyKit to authorize the system settings' AddConnection method
3436 and the system settings connections' Update and Delete methods.
3438 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3439 (impl_exported_connection_delete, nm_exported_connection_update)
3440 (nm_exported_connection_delete): Return boolean and fill GError
3441 to notify the callers of the reasons why it might have failed.
3443 * libnm-glib/nm-dbus-settings-system.c
3444 (nm_dbus_settings_system_add_connection): Return the error from dbus
3445 call so that the callers can see why it failed.
3447 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3450 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3452 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3453 abstract base class that checks PolicyKit permissions.
3455 * system-settings/src/dbus-settings.c:
3456 (impl_settings_add_connection): Check the policy before carring out
3459 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3460 Inherit from NMSysconfigConnection, check the policies before
3461 allowing updating or removing.
3463 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3464 Inherit from NMSysconfigConnection.
3466 * introspection/nm-exported-connection.xml: Annotate "Update" and
3467 "Delete" methods with async flag so that the implementations can get
3468 access to DBusGMethodInvocation.
3470 * system-settings/src/dbus-settings.c
3471 (settings_add_connection_check_privileges): Implement.
3472 (impl_settings_add_connection): Check the privileges before adding a new
3473 connection. Improve error reporting.
3475 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3476 async so that the implementation can access DBusGMethodInvocation.
3478 * configure.in: Check for PolicyKit.
3480 * policy/org.freedesktop.network-manager-settings.system.policy:
3483 * policy/Makefile.am: Install the policy file.
3485 * configure.in: Add 'policy' subdir.
3487 2008-05-08 Tambet Ingo <tambet@gmail.com>
3489 Rewrite the suse system settings plugin.
3491 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3493 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3495 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3497 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3499 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3501 * system-settings/src/main.c (load_plugins): Improve error reporting.
3503 * system-settings/src/sha1.[ch] Add.
3505 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3507 2008-05-07 Dan Williams <dcbw@redhat.com>
3509 * system-settings/plugins/keyfile/reader.c
3510 - (read_one_setting_value): handle IP address items separately
3511 - (read_array_of_uint): read IPv4 DNS option as a string array
3512 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3515 * system-settings/plugins/keyfile/writer.c
3516 - (write_setting_value): handle IP address items separately
3517 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3518 not an array of uint, so that it's user-editable
3519 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3520 arrays, so they are user-editable
3522 2008-05-07 Dan Williams <dcbw@redhat.com>
3524 * system-settings/plugins/keyfile/Makefile.am
3525 - Change location of the keyfile plugin settings to
3526 /etc/NetworkManager/system-connections
3528 2008-05-05 Tambet Ingo <tambet@gmail.com>
3530 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3532 * system-settings/plugins/keyfile/plugin.c: Work with
3533 NMKeyfileConnections.
3535 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3536 Plugins are supposed to return NMExportedConnections now and handle the
3537 updated(), removed(), and GetSecrets().
3538 Store the internal list of connections in hash table to make it easier
3541 2008-05-07 Tambet Ingo <tambet@gmail.com>
3543 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3544 for multiple IP addresses.
3546 2008-05-07 Tambet Ingo <tambet@gmail.com>
3548 Patch from André Lemos.
3550 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3553 2008-05-06 Dan Williams <dcbw@redhat.com>
3555 * src/dhcp-manager/nm-dhcp-manager.c
3556 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3557 NMIP4Config to support multiple IP addresses
3559 * src/NetworkManagerUtils.c
3560 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3562 * src/nm-ip4-config.c
3564 - Store a list of IPv4 address/netmask/gateway tuples
3565 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3566 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3567 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3568 nm_ip4_config_set_address): remove
3569 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3570 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3571 new functions; handle multiple IPv4 addresses
3574 src/ppp-manager/nm-ppp-manager.c
3575 src/vpn-manager/nm-vpn-connection.c
3576 src/NetworkManagerPolicy.c
3578 libnm-glib/libnm-glib-test.c
3579 - update for changes to NMIP4Config for multiple IPv4 addresses
3581 * src/NetworkManagerSystem.c
3582 - (nm_system_device_set_ip4_route): don't add the route if any address
3583 is on the same subnet as the destination
3584 - (check_one_address): ignore the exact match, just match family and
3586 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3588 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3589 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3591 * introspection/nm-ip4-config.xml
3592 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3593 - Add 'addresses' property which is an array of (uuu) tuples of
3594 address/netmask/gateway
3596 * libnm-util/nm-setting-ip4-config.c
3597 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3599 * libnm-glib/nm-ip4-config.c
3600 libnm-glib/nm-ip4-config.h
3601 - Handle D-Bus interface changes to support multiple IP addresses
3603 2008-05-06 Dan Williams <dcbw@redhat.com>
3605 * libnm-util/nm-utils.c
3606 libnm-util/nm-utils.h
3607 - (nm_utils_ip4_addresses_from_gvalue,
3608 nm_utils_ip4_addresses_to_gvalue): new functions
3610 2008-05-06 Tambet Ingo <tambet@gmail.com>
3612 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3613 the returned connection paths.
3615 2008-05-05 Tambet Ingo <tambet@gmail.com>
3617 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3618 "PropertiesChanged" signal signature.
3620 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3621 defined in nm-dbus-glib-types.h.
3622 Don't register the connection on dbus, we're a proxy class to
3623 communicate with an already registered connection over dbus.
3625 2008-04-30 Tambet Ingo <tambet@gmail.com>
3627 Implement new subclasses of NMSettings and NMExportedConnection to make
3628 it easier for the applet to access and modify system settings.
3630 * libnm-glib/nm-dbus-connection.[ch]:
3631 * libnm-glib/nm-dbus-settings.[ch]:
3632 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3634 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3637 * include/NetworkManager.h: Define the system settings DBus interface.
3639 2008-04-30 Tambet Ingo <tambet@gmail.com>
3641 Implement additional C API for exported connections to make them identical
3642 with the DBus API. Change the (list_connections) virtual function to be
3643 more usable from C - instead of requiring implementers to return a GPtrArray
3644 of dbus paths, return a list of connections.
3646 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3647 (nm_settings_list_connections):
3648 (nm_exported_connection_new):
3649 (nm_exported_connection_update):
3650 (nm_exported_connection_delete): Implement.
3652 (impl_settings_list_connections):
3653 (impl_exported_connection_update):
3654 (impl_exported_connection_delete): Use the new public functions to make
3655 sure the C and dbus interfaces stay in sync.
3657 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3660 2008-05-02 Dan Williams <dcbw@redhat.com>
3662 * system-settings/plugins/ifcfg-fedora/plugin.c
3663 - (dispose): use right unref call on the DBusGConnection
3665 2008-05-02 Dan Williams <dcbw@redhat.com>
3667 * src/nm-serial-device.c
3668 - (find_terminator): don't compare the whole line, just the size of the
3669 terminator, since some modems put stuff after the terminator, like
3672 2008-05-01 Dan Williams <dcbw@redhat.com>
3674 Patch from Michael Biebl <biebl@debian.org>
3676 * callouts/Makefile.am
3677 callouts/org.freedesktop.nm_dispatcher.service.in
3678 system-settings/src/Makefile.am
3679 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3680 - use the right install location for dbus-activated stuff
3682 2008-04-30 Dan Williams <dcbw@redhat.com>
3684 * src/nm-gsm-device.c
3685 - (enter_pin): fix setting name passed to applets when asking for a GSM
3688 2008-04-30 Dan Williams <dcbw@redhat.com>
3691 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3693 2008-04-30 Dan Williams <dcbw@redhat.com>
3695 * src/nm-device-802-3-ethernet.c
3696 src/nm-device-802-11-wireless.c
3697 - (real_is_up): return true instead of chaining up to unimplemented
3700 2008-04-30 Dan Williams <dcbw@redhat.com>
3702 * src/NetworkManagerSystem.c
3703 src/NetworkManagerSystem.h
3704 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3705 functions to check device flags for IFF_UP
3707 * src/nm-serial-device.c
3708 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3711 * src/nm-device-802-3-ethernet.c
3712 src/nm-device-802-11-wireless.c
3713 - (real_hw_is_up): call nm_system_device_is_up()
3716 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3717 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3720 2008-04-29 Dan Williams <dcbw@redhat.com>
3722 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3724 * marshallers/nm-marshal.list
3727 * src/NetworkManager.c
3728 - (main): let the NMManager handle the NMHalManager
3730 * src/nm-hal-manager.c
3731 src/nm-hal-manager.h
3732 - convert to a GObject, and emit singals when stuff changes. Let the
3733 NMManager handle the signals, instead of the NMHalManager calling
3738 - (remove_one_device): consolidate device removals here
3739 - (dispose): use remove_one_device()
3740 - (nm_manager_get_device_by_udi): make static
3741 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3742 manager for devices at startup or wakeup time
3743 - (nm_manager_new): create and monitor the HAL manager
3744 - (hal_manager_udi_added_cb): new function; do what
3745 nm_manager_add_device() used to do when signalled by the hal manager
3746 - (hal_manager_udi_removed_cb): new function; do what
3747 nm_manager_remove_device() used to do when signalled by the hal
3749 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3751 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3752 in our device list that aren't known to HAL
3753 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3754 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3756 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3757 nm_manager_activation_pending, nm_manager_wireless_enabled,
3758 nm_manager_wireless_hardware_enabled,
3759 nm_manager_set_wireless_hardware_enabled): remove, unused
3761 2008-04-28 Dan Williams <dcbw@redhat.com>
3763 Fix the device up/down ambiguities. Up/down state used to be a
3764 conglomeration of hardware state (IFF_UP) and any device-specific things
3765 (supplicant, periodic timers, etc) that the device used to indicate
3766 readiness. Unfortunately, if the hardware was already IFF_UP for some
3767 reason, then the device specific stuff wouldn't get run, and the device
3772 - Create hw_is_up, hw_bring_up, and hw_take_down
3773 - Rename bring_down -> take_down
3774 - (real_hw_is_up): check interface flags for IFF_UP
3775 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3776 - (nm_device_is_up): make static; only used locally
3777 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3778 if the device is already up; if the device isn't up, bring it up
3779 - (nm_device_hw_take_down): just take down hardware
3780 - (nm_device_bring_up): bring up HW first, then device specific stuff
3781 - (nm_device_take_down): always deactivate device when called; always
3782 try to take hardware down too
3783 - (nm_device_state_changed): take device down when entering unmanaged
3784 state from a higher state
3786 * src/nm-device-802-11-wireless.c
3787 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3789 - (real_take_down, supplicant_iface_state_cb_handler,
3790 supplicant_iface_connection_state_cb_handler,
3791 supplicant_mgr_state_cb_handler): fix some messages
3793 * src/nm-device-802-3-ethernet.c
3794 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3797 2008-04-28 Dan Williams <dcbw@redhat.com>
3801 - (nm_manager_error_get_type): add new error
3802 - (nm_manager_remove_device): don't bother taking down the device here,
3803 the state change from unmanaging the device will do it
3804 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3805 uses it; when going to sleep, just unmanage the device instead of
3806 taking it down, because stuff will cleaned up correctly when the
3807 device gets unmanaged
3809 2008-04-28 Dan Williams <dcbw@redhat.com>
3811 * src/nm-hal-manager.c
3812 - (add_initial_devices): convert to a GSourceFunc prototype
3813 - (nm_manager_state_changed): when coming out of sleep, punt the
3814 device re-addition to an idle handler to let D-Bus events go out
3815 first, fixing a potential dbus-glib assert if the old device was
3816 not yet disposed (due to references held while emitting the D-Bus
3817 signals) but the new device was found, because the mainloop didn't
3818 run between signal emission and add_initial_devices()
3820 2008-04-27 Dan Williams <dcbw@redhat.com>
3822 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3824 * initscript/paldo/NetworkManager.in
3825 initscript/SUSE/networkmanager.in
3826 - Remove last bits of dhcdbd
3828 2008-04-27 Dan Williams <dcbw@redhat.com>
3830 * src/nm-device-802-11-wireless.c
3831 - (link_timeout_cb): don't ask for secrets when disconnected during
3832 association/authentication phase, drivers are still just too crappy
3834 2008-04-27 Dan Williams <dcbw@redhat.com>
3838 dispatcher-daemon/Makefile.am
3839 dispatcher-daemon/NetworkManagerDispatcher.c
3840 initscript/Arch/Makefile.am
3841 initscript/Arch/networkmanager-dispatcher.in
3842 initscript/Gentoo/Makefile.am
3843 initscript/Gentoo/NetworkManagerDispatcher.in
3844 initscript/Mandriva/Makefile.am
3845 initscript/Mandriva/networkmanagerdispatcher.in
3846 initscript/RedHat/Makefile.am
3847 initscript/RedHat/NetworkManagerDispatcher.in
3848 initscript/SUSE/Makefile.am
3849 initscript/SUSE/networkmanager-dispatcher.in
3850 initscript/Slackware/Makefile.am
3851 initscript/Slackware/rc.networkmanager-dispatcher.in
3852 initscript/paldo/Makefile.am
3853 initscript/paldo/NetworkManagerDispatcher.in
3855 man/NetworkManagerDispatcher.8.in
3856 - Remove the dispatcher daemon
3858 2008-04-27 Dan Williams <dcbw@redhat.com>
3860 * callouts/Makefile.am
3861 callouts/nm-dispatcher-action.c
3862 callouts/nm-dispatcher-action.h
3863 callouts/nm-dispatcher.conf
3864 callouts/nm-dispatcher.xml
3865 callouts/org.freedesktop.nm_dispatcher.service
3866 - Re-implement the dispatcher as a system-bus activated service that
3867 NM calls on-demand, rather than an always running daemon
3870 - Add callouts dir to includes to pick up dispatcher defines
3873 - (nm_device_state_changed): call dispatcher on device activated/
3876 * src/vpn-manager/nm-vpn-connection.c
3877 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3880 * src/NetworkManagerUtils.c
3881 src/NetworkManagerUtils.h
3882 - (nm_utils_call_dispatcher): helper to call dispatcher
3884 2008-04-27 Dan Williams <dcbw@redhat.com>
3886 * src/NetworkManagerUtils.c
3887 src/NetworkManagerUtils.h
3888 - remove unneeded includes
3889 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3890 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3891 nm_timeval_cmp, nm_timeval_add): remove, unused
3892 - clean up formatting
3893 - (nm_spawn_process): de-uglify
3895 * src/nm-device-802-11-wireless.c
3896 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3898 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3900 * initscript/Gentoo/NetworkManager.in:
3901 Fix for starting the daemon.
3903 2008-04-25 Dan Williams <dcbw@redhat.com>
3905 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3907 * src/NetworkManagerSystem.c
3908 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3910 2008-04-25 Dan Williams <dcbw@redhat.com>
3912 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3914 * src/NetworkManagerSystem.c
3915 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3916 implementation of nm_system_device_replace_default_route()
3918 * src/NetworkManagerPolicy.c
3919 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3921 * src/backends/NetworkManagerArch.c
3922 src/backends/NetworkManagerDebian.c
3923 src/backends/NetworkManagerFrugalware.c
3924 src/backends/NetworkManagerGeneric.c
3925 src/backends/NetworkManagerGeneric.h
3926 src/backends/NetworkManagerGentoo.c
3927 src/backends/NetworkManagerMandriva.c
3928 src/backends/NetworkManagerPaldo.c
3929 src/backends/NetworkManagerRedHat.c
3930 src/backends/NetworkManagerSlackware.c
3931 src/backends/NetworkManagerSuSE.c
3932 - (nm_system_device_replace_default_route): remove
3934 2008-04-25 Dan Williams <dcbw@redhat.com>
3936 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3938 * src/NetworkManagerSystem.c
3939 - (validate_ip4_route): remove; use nl_addr_parse() instead
3940 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3941 replace nm_system_device_add_route_via_device_with_iface() in the
3944 * src/backends/NetworkManagerArch.c
3945 src/backends/NetworkManagerDebian.c
3946 src/backends/NetworkManagerFrugalware.c
3947 src/backends/NetworkManagerGeneric.c
3948 src/backends/NetworkManagerGeneric.h
3949 src/backends/NetworkManagerGentoo.c
3950 src/backends/NetworkManagerMandriva.c
3951 src/backends/NetworkManagerPaldo.c
3952 src/backends/NetworkManagerRedHat.c
3953 src/backends/NetworkManagerSlackware.c
3954 src/backends/NetworkManagerSuSE.c
3955 - Remove nm_system_device_add_route_via_device_with_iface()
3957 2008-04-25 Dan Williams <dcbw@redhat.com>
3959 * system-settings/plugins/ifcfg-fedora/parser.c
3960 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3962 2008-04-24 Dan Williams <dcbw@redhat.com>
3964 * dispatcher-daemon/NetworkManagerDispatcher.c
3965 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3967 2008-04-24 Dan Williams <dcbw@redhat.com>
3969 * initscript/RedHat/NetworkManager.in
3970 initscript/RedHat/NetworkManagerDispatcher.in
3971 - Be active at runlevel 2
3972 - Adjust priorities earlier
3974 2008-04-22 Dan Williams <dcbw@redhat.com>
3976 * src/NetworkManagerPolicy.c
3977 - (update_routing_and_dns): when checking for a gateway, look at the
3978 composite IP4 config, not the connection's ip4-config setting, which
3979 doesn't include DHCP-returned information
3981 2008-04-22 Tambet Ingo <tambet@gmail.com>
3983 Implement GKeyFile system settings plugin.
3984 Implement writing system settings (currently supported only by GKeyFile plugin).
3986 * system-settings/src/main.c:
3987 * system-settings/src/dbus-settings.c: Move the communication with plugins
3988 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3989 plugins for adding/updating/removing connections.
3991 * system-settings/src/nm-system-config-interface.c
3992 (nm_system_config_interface_add_connection): Implement
3993 (nm_system_config_interface_update_connection): Implement.
3994 (nm_system_config_interface_remove_connection): Implement.
3996 * system-settings/plugins/keyfile/Makefile.am:
3997 * system-settings/plugins/keyfile/plugin.[ch]:
3998 * system-settings/plugins/keyfile/writer.[ch]:
3999 * system-settings/plugins/keyfile/reader.[ch]: Implement.
4001 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
4003 * configure.in: Generate GKeyFile Makefile.
4005 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
4006 corruption, need to duplicate the returned string.
4007 (impl_exported_connection_update): Implement.
4008 (impl_exported_connection_delete): Implement.
4010 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4012 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4014 2008-04-22 Dan Williams <dcbw@redhat.com>
4016 Patch from Charles R. Anderson (cra@wpi.edu)
4018 * src/NetworkManagerPolicy.c
4019 - (update_routing_and_dns): don't select devices without a gateway
4020 as having the default route (rh #437338)
4022 2008-04-21 Dan Williams <dcbw@redhat.com>
4024 * src/nm-activation-request.c
4025 src/nm-activation-request.h
4026 - (dispose): ensure to disconnect from the device's state-changed signal
4027 when appropriate so the signal doesn't get handled by an already
4028 disposed NMActRequest
4029 - (device_state_changed): update is_default here too just to make sure
4030 default is only True when the child device is activated
4031 - (nm_act_request_set_default): new function
4033 * src/NetworkManagerPolicy.c
4034 - (update_routing_and_dns): set 'default' on the active connection which
4035 has the default route and DNS
4037 2008-04-21 Dan Williams <dcbw@redhat.com>
4039 * src/NetworkManagerPolicy.c
4040 - (device_state_changed): update routing and DNS when a device goes
4041 into unmanaged or unavailable states too (like rfkill or carrier loss)
4043 2008-04-21 Dan Williams <dcbw@redhat.com>
4045 * include/NetworkManager.h
4046 - Add NMActiveConnectionState enum
4048 * introspection/nm-active-connection.xml
4049 introspection/nm-vpn-connection.xml
4050 - Add 'State' property for overall active connection state
4051 - Add 'Default' property, when True means this active connection
4052 has the default route
4053 - Add PropertyChanged signals so changes actually go out over the bus
4055 * src/nm-active-connection.h
4056 - Add defines for State & Default properties
4058 * src/nm-activation-request.c
4059 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4060 signal to determine active connection state
4062 * src/vpn-manager/nm-vpn-connection.c
4063 src/vpn-manager/nm-vpn-connection.h
4064 src/vpn-manager/nm-vpn-manager.c
4065 src/vpn-manager/nm-vpn-service.c
4066 - Rename old 'state' to 'vpn-state'
4067 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4068 - Add 'state' and 'default' properties, hook up to the vpn connection's
4069 'vpn-state-changed' signal
4071 * libnm-glib/nm-active-connection.c
4072 libnm-glib/nm-active-connection.h
4073 - Add new 'state' and 'default' properties and accessors
4075 * libnm-glib/nm-vpn-connection.c
4076 libnm-glib/nm-vpn-connection.h
4077 - Rename old 'state' property to 'vpn-state'
4078 - Add new 'state' and 'default' properties and accessors
4080 2008-04-21 Dan Williams <dcbw@redhat.com>
4082 * src/nm-ip4-config.c
4083 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4084 not specified (rh #443474)
4086 2008-04-20 Dan Williams <dcbw@redhat.com>
4088 * src/NetworkManagerUtils.c
4089 src/NetworkManagerUtils.h
4090 - (nm_utils_merge_ip4_config): new function; merge settings from an
4091 NMSettingIP4Config to an NMIP4Config object
4094 - (merge_ip4_config): move to NetworkManagerUtils.c
4096 * src/vpn-manager/nm-vpn-connection.c
4097 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4100 2008-04-18 Dan Williams <dcbw@redhat.com>
4102 * libnm-util/nm-setting-ppp.c
4103 libnm-util/nm-setting-ppp.h
4104 - Add 'no-vj-comp' option for TCP header compression
4105 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4108 2008-04-18 Dan Williams <dcbw@redhat.com>
4110 * libnm-util/nm-setting-ppp.c
4111 libnm-util/nm-setting-ppp.h
4112 src/ppp-manager/nm-ppp-manager.c
4113 - Add 'refuse-pap' and 'refuse-mschapv2' options
4115 2008-04-18 Dan Williams <dcbw@redhat.com>
4117 * libnm-util/nm-setting-ppp.c
4118 libnm-util/nm-setting-ppp.h
4119 src/ppp-manager/nm-ppp-manager.c
4120 - Remove the 'usepeerdns' option and always request DNS servers from
4121 the PPP server; the connection chooses to use/override/ignore the
4122 DNS servers returned from the PPP server
4124 2008-04-18 Dan Williams <dcbw@redhat.com>
4126 * libnm-util/nm-setting-ppp.c
4127 libnm-util/nm-setting-ppp.h
4128 src/ppp-manager/nm-ppp-manager.c
4129 - Remove the 'require-mppc' option, because pppd doesn't support it and
4130 it seems to have been an erroneous addition to the PPTP plugin in
4131 the first place (from which the ppp-manager is derived)
4133 2008-04-17 Dan Williams <dcbw@redhat.com>
4135 * libnm-util/nm-setting-pppoe.c
4136 - (verify): require a PPP setting too
4138 * src/ppp-manager/nm-ppp-manager.c
4139 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4142 2008-04-17 Dan Williams <dcbw@redhat.com>
4145 - (nm_device_state_changed): do deactivation and and promotion to
4146 unavailable here, so that the device gets cleaned up before the
4147 manager runs and starts emitting signals; do the
4148 FAILED->DISCONNECTED transition from an idle handler rather than
4149 immediately to guard against recursion
4150 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4151 FAILED->DISCONNECTED handler if it's scheduled
4153 2008-04-17 Dan Williams <dcbw@redhat.com>
4155 * src/nm-device-802-11-wireless.c
4156 - (state_changed_cb): clear AP list when device transitions to
4157 unavailable or unmanaged
4158 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4159 since this is already done in device_cleanup()
4160 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4161 isn't available or managed
4162 - (device_cleanup): use remove_all_aps()
4163 - (remove_all_aps): consolidate code removing all APs
4165 2008-04-17 Dan Williams <dcbw@redhat.com>
4167 * src/nm-serial-device.c
4168 src/nm-serial-device.h
4169 - (wait_for_reply_got_data): break input into lines, and search each
4170 line for responses _and_ terminator strings; also make sure that
4171 the read loop doesn't continue after the timeout is supposed to fire
4172 - (nm_serial_device_wait_for_reply): take an array of terminators too
4174 * src/nm-gsm-device.c
4175 src/nm-cdma-device.c
4176 - Send terminators to nm_serial_device_wait_for_reply()
4178 2008-04-16 Dan Williams <dcbw@redhat.com>
4180 Patch from 陈鑫 <znscnchen@gmail.com>
4182 * src/ppp-manager/nm-pppd-plugin.c
4183 - (get_credentials): return correct value for success; handle case where
4184 pppd just does some checking but doesn't want a password
4185 - (plugin_init): make CHAP work too
4187 2008-04-16 Dan Williams <dcbw@redhat.com>
4189 Patch from 陈鑫 <znscnchen@gmail.com>
4191 * src/ppp-manager/nm-ppp-manager.c
4192 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4194 2008-04-16 Dan Williams <dcbw@redhat.com>
4196 Patch from 陈鑫 <znscnchen@gmail.com>
4198 * src/nm-device-802-3-ethernet.c
4199 - (real_deactivate_quickly): clear the IP interface name on
4200 deactivation, otherwise the wrong interface might get used later
4201 for routing and IP management
4203 2008-04-15 Dan Williams <dcbw@redhat.com>
4205 * libnm-glib/nm-device.c
4206 - (get_product_and_vendor): handle serial devices correctly
4207 - (nm_device_update_description): pass device to get_product_and_vendor()
4209 2008-04-15 Dan Williams <dcbw@redhat.com>
4211 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4213 * src/NetworkManagerSystem.h
4214 src/backends/NetworkManagerArch.c
4215 src/backends/NetworkManagerDebian.c
4216 src/backends/NetworkManagerFrugalware.c
4217 src/backends/NetworkManagerGeneric.c
4218 src/backends/NetworkManagerGeneric.h
4219 src/backends/NetworkManagerGentoo.c
4220 src/backends/NetworkManagerMandriva.c
4221 src/backends/NetworkManagerPaldo.c
4222 src/backends/NetworkManagerRedHat.c
4223 src/backends/NetworkManagerSlackware.c
4224 src/backends/NetworkManagerSuSE.c
4226 - (nm_generic_device_add_ip6_link_address,
4227 nm_system_device_add_ip6_link_address): remove
4229 2008-04-15 Dan Williams <dcbw@redhat.com>
4231 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4233 * src/backends/NetworkManagerArch.c
4234 src/backends/NetworkManagerDebian.c
4235 src/backends/NetworkManagerFrugalware.c
4236 src/backends/NetworkManagerGeneric.c
4237 src/backends/NetworkManagerGeneric.h
4238 src/backends/NetworkManagerGentoo.c
4239 src/backends/NetworkManagerMandriva.c
4240 src/backends/NetworkManagerPaldo.c
4241 src/backends/NetworkManagerRedHat.c
4242 src/backends/NetworkManagerSlackware.c
4243 src/backends/NetworkManagerSuSE.c
4244 src/NetworkManagerSystem.h
4245 - flush_routes -> flush_ip4_routes
4246 - flush_addresses -> flush_ip4_addresses
4248 * src/NetworkManagerSystem.c
4250 src/vpn-manager/nm-vpn-connection.c
4251 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4253 2008-04-15 Dan Williams <dcbw@redhat.com>
4255 Remove exposure of wireless-tools mode types in the API.
4257 * include/NetworkManager.h
4258 - Define NM80211Mode enum
4260 * introspection/generic-types.xml
4261 - Describe NM_802_11_MODE enum
4262 - Remove IW_MODE_* enum
4264 * introspection/nm-access-point.xml
4265 libnm-glib/nm-access-point.c
4266 libnm-glib/nm-access-point.h
4267 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4269 * introspection/nm-device-802-11-wireless.xml
4270 libnm-glib/nm-device-802-11-wireless.c
4271 libnm-glib/nm-device-802-11-wireless.h
4272 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4274 * libnm-util/nm-setting-wireless.c
4275 src/NetworkManagerAP.c
4276 src/NetworkManagerAP.h
4277 src/nm-device-802-11-wireless.c
4278 src/nm-device-802-11-wireless.h
4280 - Use NM80211Mode not IW_MODE_*
4282 2008-04-15 Dan Williams <dcbw@redhat.com>
4284 Enhance nm-online based on a patch from Bill Nottingham.
4288 - Add help messages and option summary
4289 - Add long-format options
4290 - Add a '-x' option to exit if NM isn't running or isn't connecting
4292 2008-04-15 Tambet Ingo <tambet@gmail.com>
4294 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4296 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4298 2008-04-15 Dan Williams <dcbw@redhat.com>
4300 * nm-setting-ip4-config.c
4301 - (ip4_addresses_from_gvalue): handle NULL address array
4303 * nm-setting-8021x.c
4304 - (verify_tls, verify_ttls): warn on failed verification
4306 2008-04-10 Dan Williams <dcbw@redhat.com>
4308 * src/nm-gsm-device.c
4309 - (automatic_registration): accept "+CREG: 0,0"
4310 - (automatic_registration_response): fail on "+CREG: 0,0"
4312 2008-04-10 Tambet Ingo <tambet@gmail.com>
4314 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4316 2008-04-10 Tambet Ingo <tambet@gmail.com>
4318 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4319 Make it compile again by commenting out broken code that at first didn't work and
4320 now didn't compile either.
4322 2008-04-08 Dan Williams <dcbw@redhat.com>
4324 * libnm-glib/nm-object-cache.c
4325 libnm-glib/nm-settings.c
4326 src/dhcp-manager/nm-dhcp-manager.c
4327 system-settings/plugins/ifcfg-fedora/plugin.c
4328 system-settings/plugins/ifcfg-suse/plugin.c
4329 system-settings/src/nm-system-config-hal-manager.c
4330 libnm-util/nm-utils.c
4331 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4332 not threadsafe anyway
4334 2008-04-08 Dan Williams <dcbw@redhat.com>
4336 * system-settings/src/main.c
4337 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4338 callbacks take a device type too
4340 2008-04-08 Dan Williams <dcbw@redhat.com>
4342 The system settings service will now create a new default DHCP connection
4343 for wired devices that have no existing applicable connection.
4345 * system-settings/src/nm-system-config-hal-manager.c
4346 system-settings/src/nm-system-config-hal-manager.h
4347 - (nm_system_config_hal_manager_get_type_for_udi): new function
4349 * system-settings/src/dbus-settings.c
4350 system-settings/src/dbus-settings.h
4351 - (nm_sysconfig_settings_get_connections): new function
4352 - (nm_sysconfig_settings_is_device_managed): new function
4354 * system-settings/src/main.c
4355 - (load_stuff): check for wired devices that need a default connection
4356 - (get_details_for_udi): get interface and MAC address from HAL
4357 - (add_default_dhcp_connection): add a default connection for a wired
4359 - (device_added_cb, device_removed_cb): do the right thing with
4360 wired devices and their default connections on HAL device events
4362 2008-04-07 Dan Williams <dcbw@redhat.com>
4364 * libnm-glib/nm-device.c
4365 libnm-glib/nm-device.h
4366 - Proxy the 'managed' property
4368 2008-04-07 Dan Williams <dcbw@redhat.com>
4370 * src/nm-gsm-device.c
4371 src/nm-cdma-device.c
4372 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4373 handler to transition to DISCONNECTED
4375 2008-04-07 Dan Williams <dcbw@redhat.com>
4377 Patch from Bill Nottingham
4379 * dispatcher-daemon/NetworkManagerDispatcher.c
4380 - ignore backup/packaging crufy (rh #440143)
4382 2008-04-07 Dan Williams <dcbw@redhat.com>
4384 * include/NetworkManager.h
4385 - Remove the DOWN and CANCELLED device states
4386 - Add UNMANAGED and UNAVAILABLE device states
4387 - Document the device states
4389 * introspection/nm-device.xml
4390 src/nm-device-interface.c
4391 src/nm-device-interface.h
4392 - Add the 'managed' property
4395 - (detail_device): print out device state
4397 * src/NetworkManagerSystem.h
4398 src/backends/NetworkManagerArch.c
4399 src/backends/NetworkManagerDebian.c
4400 src/backends/NetworkManagerFrugalware.c
4401 src/backends/NetworkManagerGentoo.c
4402 src/backends/NetworkManagerMandriva.c
4403 src/backends/NetworkManagerPaldo.c
4404 src/backends/NetworkManagerRedHat.c
4405 src/backends/NetworkManagerSlackware.c
4406 src/backends/NetworkManagerSuSE.c
4407 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4408 nm_system_device_free_system_config): remove; they were unused and
4409 their functionality should be re-implemented in each distro's
4410 system settings service plugin
4412 * src/nm-gsm-device.c
4414 src/nm-cdma-device.c
4415 src/nm-cdma-device.h
4416 - (*_new): take the 'managed' argument
4419 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4420 - (nm_device_init): start in unmanaged state, not disconnected
4421 - (constructor): don't start device until the system settings service
4422 has had a chance to figure out if the device is managed or not
4423 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4424 don't set device state here, let callers handle that as appropriate
4425 - (nm_device_dispose): don't touch the device if it's not managed
4426 - (set_property, get_property, nm_device_class_init): implement the
4428 - (nm_device_state_changed): bring the device up if its now managed,
4429 and deactivate it if it used to be active
4430 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4431 with the managed state
4433 * src/nm-hal-manager.c
4434 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4435 take initial managed state and pass it along to device constructors
4436 - (create_device_and_add_to_list): get managed state and pass to
4439 * src/nm-device-802-11-wireless.c
4440 - (real_can_activate): fold in most of
4441 nm_device_802_11_wireless_can_activate()
4442 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4443 - (link_timeout_cb): instead of deactivating, change device state and
4444 let the device state handler to it
4445 - (real_update_hw_address): clean up
4446 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4447 handler to transition to DISCONNECTED if the device isn't rfkilled
4449 * src/nm-device-802-3-ethernet.c
4450 - (set_carrier): move above callers and get rid of prototype
4451 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4452 idle handler to transition to DISCONNECTED if the device has a
4454 - (real_update_hw_address): clean up
4455 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4456 deactivation directly as deactivation doesn't change state anymore
4458 * src/NetworkManagerPolicy.c
4459 - (schedule_activate_check): yay, remove wireless_enabled hack since
4460 the NMManager and wireless devices work that out themselves now
4461 - (device_state_changed): change to a switch and update for new device
4463 - (device_carrier_changed): remove; device handles this now through
4465 - (device_added): don't care about carrier any more; the initial
4466 activation check will happen when the device transitions to
4470 - (dispose): clear unmanaged devices
4471 - (handle_unmanaged_devices): update unmanaged device list and toggle
4472 the managed property on each device when needed
4473 - (system_settings_properties_changed_cb): handle signals from the
4474 system settings service
4475 - (system_settings_get_unmanaged_devices_cb): handle callback from
4476 getting the unmanaged device list method call
4477 - (query_unmanaged_devices): ask the system settings service for its
4478 list of unmanaged devices
4479 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4481 - (manager_set_wireless_enabled): push rfkill state down to wireless
4482 devices directly and let them handle the necessary state transitions
4483 - (manager_device_state_changed): update for new device states
4484 - (nm_manager_add_device): set initial rfkill state on wireless devices
4485 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4486 - (nm_manager_activate_connection): return error if the device is
4488 - (nm_manager_sleep): handle new device states correctly; don't change
4489 the state of unavailable/unmanaged devices
4491 * libnm-glib/nm-device-802-11-wireless.c
4492 - (state_changed_cb): update for new device states
4494 2008-04-07 Dan Williams <dcbw@redhat.com>
4496 * marshallers/nm-marshal.list
4497 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4499 2008-04-07 Dan Williams <dcbw@redhat.com>
4501 * system-settings/src/main.c
4502 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4503 plugins to the dbus settings object
4504 - (load_stuff): start the dbus service after grabbing unmanaged devices
4505 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4506 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4507 - (main): switch default logging to syslog with a 'debug' option to
4508 output to console; start up the HAL manager
4510 2008-04-07 Dan Williams <dcbw@redhat.com>
4512 * introspection/nm-settings-system.xml
4513 introspection/Makefile.am
4514 - Define the unmanaged devices interface for the system settings service
4516 * system-settings/src/nm-system-config-hal-manager.c
4517 system-settings/src/nm-system-config-hal-manager.h
4518 system-settings/src/nm-system-config-hal-manager-private.h
4519 system-settings/src/Makefile.am
4520 - Add a lightweight HAL manager object for tracking network devices for
4521 the purpose of determining unmanaged devices and which devices need
4522 the default DHCP connections
4524 * system-settings/src/nm-system-config-interface.c
4525 system-settings/src/nm-system-config-interface.h
4526 - (nm_system_config_interface_init): add the HAL manager as an argument
4527 - (nm_system_config_interface_get_unmanaged_devices): implement
4528 - Define 'unmanaged-devices-changed' signal
4530 * system-settings/src/dbus-settings.c
4531 system-settings/src/dbus-settings.h
4532 - Implement the unmanaged devices interface; some cleanups
4534 * system-settings/plugins/ifcfg-suse/plugin.c
4535 - Fixup for plugin interface changes
4537 * system-settings/plugins/ifcfg-fedora/plugin.c
4538 - (get_ether_device_udi): new function; find the device that has
4539 a specified MAC address and return its UDI
4540 - (get_udi_for_connection): new function; try to find the specific
4541 device a connection is locked to, if any
4542 - (device_added_cb, device_removed_cb): update unmanaged device list in
4543 response to HAL events
4544 - (get_unmanaged_devices): new function; return unmanaged device list
4545 - (build_one_connection): set the connection's locked device, if any
4546 - (write_auto_wired_connection): remove
4547 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4548 - (handle_connection_changed): alert listeners that the unmanaged device
4550 - (init): fixup for plugin interface changes, implement unmanaged devices
4552 * system-settings/plugins/ifcfg-fedora/parser.c
4553 system-settings/plugins/ifcfg-fedora/parser.h
4554 - (connection_data_free): clean up connection UDI
4556 2008-04-07 Dan Williams <dcbw@redhat.com>
4558 * system-settings/plugins/ifcfg-fedora/parser.c
4559 - (make_ip4_setting): fix parsing of DNS servers
4561 2008-04-05 Dan Williams <dcbw@redhat.com>
4565 marshallers/Makefile.am
4566 marshallers/nm-marshal-main.c
4567 marshallers/nm-marshal.list
4568 - Consolidate marshallers
4570 * libnm-glib/nm-marshal-main.c
4571 libnm-glib/nm-marshal.list
4572 src/marshallers/Makefile.am
4573 src/marshallers/nm-marshal-main.c
4574 src/marshallers/nm-marshal.list
4577 * libnm-glib/Makefile.am
4579 src/dhcp-manager/Makefile.am
4580 src/ppp-manager/Makefile.am
4581 src/supplicant-manager/Makefile.am
4582 src/vpn-manager/Makefile.am
4583 - Use consolidated marshallers
4585 2008-04-04 Dan Williams <dcbw@redhat.com>
4587 * src/nm-hal-manager.c
4588 src/nm-hal-manager.h
4589 - (hal_init): don't look for hardware here
4590 - (nm_hal_manager_start): new function; look for hardware here instead,
4591 which can be done at a later time than hal_init()
4593 * src/NetworkManager.c
4594 - (main): start HAL manager after entering the main loop
4596 2008-04-03 Dan Williams <dcbw@redhat.com>
4598 * libnm-glib/nm-settings.c
4599 libnm-glib/nm-settings.h
4600 - (nm_exported_connection_get_id): new function
4601 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4603 2008-04-02 Dan Williams <dcbw@redhat.com>
4605 * src/nm-device-interface.c
4606 src/nm-device-interface.h
4609 - Rename check_connection_conflicts() to check_connection_compatible()
4611 * src/nm-device-802-11-wireless.c
4612 - (real_check_connection_conflicts): remove
4613 - (real_check_connection_compatible): implement; match MAC address
4615 * src/nm-device-802-3-ethernet.c
4616 - (real_check_connection_conflicts): remove
4617 - (real_check_connection_compatible): implement; match MAC address
4618 - (real_get_best_auto_connection): correctly handle PPPoE cases
4621 - (check_connection_allowed): remove; unused until PolicyKit integration
4622 - (internal_activate_device): check whether the connection is compatible
4623 with the device before trying to activate it
4625 2008-04-02 Dan Williams <dcbw@redhat.com>
4627 * system-settings/plugins/ifcfg-fedora/parser.c
4628 - (read_mac_address): new function; read in MAC address and stuff it
4630 - (add_one_wep_key): remove debug spew
4631 - (make_wireless_security_setting): validate the default TX key; don't
4632 add the wireless-security setting if the connection doesn't need
4633 security; don't leak the keys shvarFile on error cases
4634 - (make_wireless_setting, make_wired_setting): populate device's MAC
4637 2008-04-02 Dan Williams <dcbw@redhat.com>
4639 * libnm-util/nm-setting-connection.c
4640 libnm-util/nm-setting-connection.h
4641 - (set_property, get_property, nm_setting_connection_class_init): remove
4642 the 'lockdown' property; it's functionality will be replaced by
4645 2008-04-01 Dan Williams <dcbw@redhat.com>
4647 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4650 initscript/Makefile.am
4651 initscript/Mandriva/Makefile.am
4652 initscript/Mandriva/networkmanager.in
4653 initscript/Mandriva/networkmanagerdispatcher.in
4654 src/backends/Makefile.am
4655 src/backends/NetworkManagerMandriva.c
4656 system-settings/plugins/Makefile.am
4657 - Add Mandriva support
4659 2008-03-31 Dan Williams <dcbw@redhat.com>
4661 * src/vpn-manager/nm-vpn-service.c
4662 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4663 errors can be passed back to the caller; also no longer scheduled
4664 as an idle handler, but called directly; and bump up VPN service
4665 spawn timeout, 2s is really short
4666 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4667 but call it directly so that errors are reported on return from
4668 ActivateConnection() and don't get lost. If scheduled as an idle
4669 handler, clients don't have the time to query NM for the new VPN
4670 connection's properties before the VPN connection is torn down again
4671 if the service couldn't be launched, and therefore launch errors
4674 2008-03-31 Dan Williams <dcbw@redhat.com>
4676 * src/vpn-manager/nm-vpn-connection.c
4677 - (device_state_changed): send correct state on device failure too
4678 - (plugin_state_changed): failed state means unexpected disconnection,
4679 thus if the service goes away while the VPN connection is activated
4680 that's a failure too
4682 2008-03-31 Dan Williams <dcbw@redhat.com>
4684 * src/vpn-manager/nm-vpn-manager.c
4685 src/vpn-manager/nm-vpn-manager.h
4686 - Make VPNManager errors more available; add a service-start-failed error
4688 2008-03-31 Dan Williams <dcbw@redhat.com>
4690 * libnm-glib/nm-client.c
4691 libnm-glib/nm-client.h
4692 - (activate_cb): pass the new active connection to callback; fix
4693 message when no callback is specified
4695 2008-03-30 Dan Williams <dcbw@redhat.com>
4697 * libnm-util/nm-setting-wireless-security.c
4698 - (need_secrets): only require key0 if the transmit key index is also
4700 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4702 2008-03-29 Dan Williams <dcbw@redhat.com>
4704 * libnm-util/nm-setting-8021x.c
4705 libnm-util/nm-setting-ip4-config.c
4706 libnm-util/nm-setting-vpn-properties.c
4707 libnm-util/nm-setting-vpn.c
4708 libnm-util/nm-setting-wireless-security.c
4709 libnm-util/nm-setting-wireless.c
4710 libnm-util/nm-utils.c
4711 src/dhcp-manager/nm-dhcp-manager.c
4712 src/nm-activation-request.c
4715 src/nm-properties-changed-signal.c
4716 src/ppp-manager/nm-pppd-plugin.c
4717 src/supplicant-manager/nm-supplicant-interface.c
4718 src/vpn-manager/nm-vpn-connection.c
4719 - consistently use nm-dbus-glib-types.h
4721 2008-03-29 Dan Williams <dcbw@redhat.com>
4723 * src/vpn-manager/nm-vpn-connection.c
4724 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4727 * src/nm-activation-request.c
4728 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4731 2008-03-29 Dan Williams <dcbw@redhat.com>
4733 * libnm-glib/nm-device-802-11-wireless.c
4734 - (access_point_added_proxy): create new APs if not found
4736 2008-03-29 Dan Williams <dcbw@redhat.com>
4738 * libnm-glib/nm-client.c
4739 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4742 2008-03-29 Dan Williams <dcbw@redhat.com>
4744 * system-settings/plugins/ifcfg-fedora/parser.c
4745 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4746 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4748 2008-03-29 Dan Williams <dcbw@redhat.com>
4750 * system-settings/plugins/ifcfg-fedora/parser.c
4751 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4753 2008-03-27 Dan Williams <dcbw@redhat.com>
4756 - (nm_object_queue_notify): don't notify multiple times for the same
4759 * nm-object-private.h
4760 - (handle_ptr_array_return): return NULL if the given array is NULL or
4761 if it has zero elements
4764 - (finalize): use g_ptr_array_foreach() when freeing domains
4765 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4767 * nm-active-connection.c
4768 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4770 * nm-device-802-11-wireless.c
4771 nm-device-802-11-wireless.h
4772 - (nm_device_802_11_wireless_get_access_points): return const; use
4773 handle_ptr_array_return()
4776 - (nm_object_array_demarshal): always create an array, even of length
4777 zero, to distinguish between "NM returned no items" and "haven't
4781 - (dispose): free active connections too
4782 - (proxy_name_owner_changed): free active connections too when NM goes
4784 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4785 - (nm_client_get_active_connections): use handle_ptr_array_return()
4787 2008-03-26 Dan Williams <dcbw@redhat.com>
4789 Rework VPN connection handling for a more consistent D-Bus API. The
4790 VPNManager object has been removed, and active VPN connections are now the
4791 same as any other active connection. The Manager object's ActivateConnection
4792 and DeactivateConnection methods are used to start and stop a VPN connection,
4793 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4794 When activating a VPN connection, pass the path of the active connection
4795 to which the VPN connection is tied in the 'specific_object' argument.
4797 Consequently, the libnm-glib API has been reworked to match this arrangement,
4798 with the VPNManager object removed, and the NMVPNConnection objects now
4799 being subclasses of NMActiveConnection.
4801 2008-03-25 Dan Williams <dcbw@redhat.com>
4803 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4805 * initscript/Arch/networkmanager.in
4806 initscript/Arch/networkmanager-dispatcher.in
4807 - Updates for Arch Linux (gnome.org #523701)
4809 2008-03-25 Dan Williams <dcbw@redhat.com>
4811 * libnm-glib/nm-ip4-config.c
4812 libnm-glib/nm-active-connection.c
4813 libnm-glib/nm-access-point.c
4814 - Use nm_object_queue_notify() instead of g_object_notify()
4816 * libnm-glib/nm-device.c
4817 - (demarshal_ip4_config): distinguish between successful but missing
4818 ip4-config request, and unsuccessful and missing ip4-config request
4819 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4821 - Use nm_object_queue_notify() instead of g_object_notify()
4823 * libnm-glib/nm-device-802-11-wireless.c
4824 - (demarshal_active_ap): distinguish between successfull but missing
4825 active-ap request, and unsuccessful and missing active-ap request
4826 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4828 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4829 for the NMClient to notify the device that wireless is disabled,
4830 and therefore to clear the AP list and active AP
4831 - Use nm_object_queue_notify() instead of g_object_notify()
4833 * libnm-glib/nm-client.c
4834 - (poke_wireless_devices_with_rf_status): new function
4835 - (update_wireless_status): notify wireless devices of the rfkill status
4836 so they can clean up if needed
4837 - Use nm_object_queue_notify() instead of g_object_notify()
4839 2008-03-25 Dan Williams <dcbw@redhat.com>
4841 * libnm-glib/nm-object.c
4842 libnm-glib/nm-object-private.h
4843 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4844 signals to an idle handler
4845 - (nm_object_get_property): add a timeout to the D-Bus method call
4847 2008-03-25 Dan Williams <dcbw@redhat.com>
4849 * introspection/nm-device-cdma.xml
4850 introspection/nm-device-gsm.xml
4851 introspection/Makefile.am
4852 introspection/all.xml
4853 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4855 * src/nm-gsm-device.h
4857 src/nm-cdma-device.h
4858 src/nm-cdma-device.c
4860 - Implement PropertiesChanged signals
4862 * libnm-glib/nm-cdma-device.c
4863 libnm-glib/nm-cdma-device.c
4864 - Attach to PropertiesChanged signals
4866 2008-03-24 Dan Williams <dcbw@redhat.com>
4868 * libnm-glib/nm-client.c
4869 - (client_device_added_proxy): add new devices to the internal device
4870 list so they appear to clients
4872 2008-03-24 Dan Williams <dcbw@redhat.com>
4874 Massive fixup of libnm-glib to:
4875 a) have all objects (with the exception of VPN) cache their properties and
4876 update them asynchronously on PropertiesChanged signals from NM
4877 b) return internal const data for most attributes/properties instead of
4878 allocated values that the caller must free
4879 c) cache wrapped objects such that a given D-Bus path will always map to the
4880 same GObject returned by libnm-glib
4881 d) remove a few signals and move them to GObject property notifications
4882 e) match recent NM D-Bus API changes for activation/deactivation
4883 f) remove some private functions from libnm-glib headers
4885 2008-03-20 Dan Williams <dcbw@redhat.com>
4888 - (nm_manager_update_state, manager_device_state_changed,
4889 nm_manager_activate_device, connection_added_default_handler,
4890 impl_manager_activate_connection, impl_manager_deactivate_connection):
4891 queue PropertyChanged singals when the active connections change
4893 2008-03-20 Dan Williams <dcbw@redhat.com>
4895 * introspection/nm-manager.xml
4896 introspection/nm-manager-client.xml
4897 - (ActivateConnection): return the object path of the active connection
4899 - (GetActiveConnections): remove
4900 - (DeactivateConnection): new function; deactivate a currently active
4902 - Add an ActiveConnections property which returns an array of
4903 active connection object paths
4905 * introspection/nm-device.xml
4906 - (Deactivate): remove
4908 * introspection/all.xml
4909 - Add ActiveConnection introspection
4911 * introspection/nm-active-connection.xml
4912 - Add the ActiveConnection object
4914 * include/NetworkManager.h
4915 - Add the Connection.Active D-Bus interface
4917 * src/nm-device-interface.c
4918 - (impl_device_deactivate): remove
4920 * src/nm-activation-request.c
4921 src/nm-activation-request.c
4923 - Implement the Connection.Active D-Bus interface
4926 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4927 - (nm_manager_activate_device): return the active connection path
4928 - (connection_added_default_handler, impl_manager_activate_connection):
4929 return the active connection to the caller
4930 - (add_one_connection_element, impl_manager_get_active_connections):
4932 - (impl_manager_deactivate_connection): new function; deactivate an
4935 * libnm-glib/nm-device.c
4936 libnm-glib/nm-device.h
4937 - Remove Deactivate() function
4939 2008-03-19 Dan Williams <dcbw@redhat.com>
4941 * introspection/nm-manager.xml
4942 introspection/nm-manager-client.xml
4943 - Rename the ActivateDevice method to ActivateConnection to better
4944 reflect it's usage; it's arguments get reordered a bit too
4945 - Convert GetActiveConnections method return from a struct to a dict
4947 * include/NetworkManager.h
4948 - Define the dict keys for return value of GetActiveConnections
4951 - impl_manager_activate_device -> impl_manager_activate_connection
4952 - (add_one_connection_element): return a populated hash table, not
4955 * libnm-glib/nm-client.c
4956 libnm-glib/nm-client.h
4957 - nm_client_activate_device -> nm_client_activate_connection
4958 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4959 - (nm_client_get_active_connections): return a GSList of GHashTables,
4960 instead of the custom structures. Each element of the returned list
4961 must be freed with nm_client_free_active_connections_element()
4963 2008-03-18 Dan Williams <dcbw@redhat.com>
4965 * system-settings/plugins/ifcfg-fedora/parser.c
4966 system-settings/plugins/ifcfg-fedora/parser.h
4967 system-settings/plugins/ifcfg-fedora/plugin.c
4968 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4969 profiles. DNS servers and searches must now be stored in the ifcfg
4972 2008-03-18 Tambet Ingo <tambet@gmail.com>
4974 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4975 print out username and password, it's supposed to be a secret.
4977 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4978 request and set the device state accordingly.
4980 2008-03-18 Tambet Ingo <tambet@gmail.com>
4982 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4984 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4986 2008-03-18 Dan Williams <dcbw@redhat.com>
4988 * src/vpn-manager/nm-vpn-connection.c
4989 - (get_secrets_cb): handle new GetSecrets return format
4991 2008-03-18 Dan Williams <dcbw@redhat.com>
4993 Adapt system settings service for split 802.1x.
4995 * system-settings/src/nm-system-config-interface.h
4996 - clarify return value of get_secrets()
4998 * system-settings/src/dbus-settings.c
4999 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
5000 - (check_for_secrets): check if there actually secrets returned by a
5002 - (exported_connection_get_secrets): just return the plugin-returned
5003 hash of settings' secrets if it looks valid
5005 * system-settings/plugins/ifcfg-fedora/plugin.c
5006 - (get_secrets): add split secrets with correct format to reply hash
5008 * system-settings/plugins/ifcfg-fedora/parser.c
5009 system-settings/plugins/ifcfg-fedora/parser.h
5010 - (copy_one_cdata_secret, connection_data_copy_secrets,
5011 connection_data_free, connection_data_add): keep secrets for
5012 different settings in different hashes
5014 2008-03-17 Tambet Ingo <tambet@gmail.com>
5016 Clean up activating device deactivation.
5018 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5019 should be done whether the device activation gets cancelled or the device
5020 is just getting deactivated.
5021 (nm_device_activation_cancel): Remove.
5022 (nm_device_deactivate_quickly): Handle the case where device is activating.
5024 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5025 It does the exact same thing as real_deactivate_quickly().
5027 2008-03-17 Dan Williams <dcbw@redhat.com>
5029 Split the 802.1x bits out of the wireless-security setting so they are
5030 generalized enough for wired 802.1x to use too.
5032 * introspection/nm-exported-connection.xml
5033 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5034 of just a hash of the secrets for one setting
5036 * libnm-util/nm-setting-wireless-security.c
5037 libnm-util/nm-setting-wireless-security.h
5038 - Remove 802.1x-specific stuff
5039 - Added leap-username and leap-password properties for old-school LEAP
5043 - (connection_secrets_updated_cb): take a list of updated settings names,
5046 * src/supplicant-manager/nm-supplicant-config.c
5047 src/supplicant-manager/nm-supplicant-config.h
5048 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5049 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5050 to nm_supplicant_config_add_setting_8021x()
5051 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5052 the supplicant config
5054 * src/nm-device-802-11-wireless.c
5055 - (build_supplicant_config): pass in the 802.1x setting too, if any
5056 - (real_connection_secrets_updated): take a list of updated settings
5059 * src/nm-device-802-3-ethernet.c
5060 src/nm-cdma-device.c
5062 - (real_connection_secrets_updated_cb): take a list of updated settings
5065 * src/nm-activation-request.c
5066 src/nm-activation-request.h
5067 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5068 now passes a list of updated settings names, not just one
5069 - (update_one_setting): new function; handle one updated setting
5070 - (get_secrets_cb): handle multiple settings returned from the
5071 settings service; have to be careful of ordering here as there are
5072 some dependencies between settings (ex. wireless-security and 802.1x
5075 * src/marshallers/nm-marshal.list
5076 - new marshaller for connection-secrets-updated signal
5078 * libnm-util/nm-setting-8021x.c
5079 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5081 - (verify): a valid 'eap' property is now required
5083 * libnm-util/nm-connection.c
5084 - (register_default_settings): add priorities to settings; there are
5085 some dependencies between settings, and during the need_secrets
5086 calls this priority needs to be respected. For example, only the
5087 wireless-security setting knows whether or not the connection is
5088 going to use 802.1x or now, so it must be asked for secrets before
5089 any existing 802.1x setting is
5090 - (nm_connection_lookup_setting_type): expose
5092 * libnm-util/nm-setting-wireless.c
5093 - (verify): should verify even if all_settings is NULL; otherwise won't
5094 catch the case where there is missing security
5096 * libnm-util/nm-setting-wireless-security.c
5097 - Remove everything to do with 802.1x
5098 - Add old-school LEAP specific properties for username and password
5099 - (need_secrets): rework LEAP secrets checking
5100 - (verify): rework for LEAP and 802.1x verification
5102 2008-03-17 Dan Williams <dcbw@redhat.com>
5104 * src/NetworkManagerPolicy.c
5105 - (auto_activate_device): always remove the current activation check
5106 from the pending activation list, otherwise when the policy gets
5107 destroyed on NM exit it will attempt to free the already freed
5110 2008-03-14 Tambet Ingo <tambet@gmail.com>
5112 * src/backends/NetworkManagerSlackware.c
5113 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5115 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5117 2008-03-14 Dan Williams <dcbw@redhat.com>
5120 - (nm_device_interface_get_iface): g_object_get() will return an
5121 allocated value, so this function must not return const
5122 - (nm_device_interface_activate): free returned iface
5124 2008-03-14 Tambet Ingo <tambet@gmail.com>
5126 * libnm-util/Makefile.am: Add new files to build.
5128 * libnm-util/nm-connection.c: Register NMSetting8021x.
5130 * libnm-util/nm-setting-8021x.c
5131 * libnm-util/nm-setting-8021x.h: Implement.
5133 2008-03-14 Tambet Ingo <tambet@gmail.com>
5135 * libnm-util/Makefile.am: Add new files to build.
5137 * libnm-util/nm-connection.c: Register NMSetting8021x.
5139 * libnm-util/nm-setting-8021x.c
5140 * libnm-util/nm-setting-8021x.h: Implement.
5142 2008-03-14 Tambet Ingo <tambet@gmail.com>
5144 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5147 2008-03-14 Dan Williams <dcbw@redhat.com>
5149 * include/wireless-helper.h
5151 - One place for all the junk needed for #including wireless.h
5154 src/NetworkManagerAP.c
5157 libnm-util/nm-utils.c
5158 libnm-util/nm-setting-wireless.c
5159 libnm-glib/nm-device-802-11-wireless.c
5160 libnm-glib/nm-access-point.c
5161 libnm-glib/libnm-glib-test.c
5162 - include wireless-helper.h, not iwlib.h
5165 - Don't need libiw really, just need to check for wireless.h
5167 * src/kernel-types.h
5168 - Remove; used types moved into wpa.c
5170 * src/nm-device-802-11-wireless.c
5171 - (nm_device_802_11_wireless_update_signal_strength,
5172 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5173 nm_device_802_11_wireless_set_mode,
5174 nm_device_802_11_wireless_get_frequency,
5175 nm_device_802_11_wireless_get_ssid,
5176 nm_device_802_11_wireless_set_ssid,
5177 nm_device_802_11_wireless_get_bitrate,
5178 nm_device_802_11_wireless_get_bssid,
5179 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5180 instead of iwlib functions
5182 2008-03-14 Dan Williams <dcbw@redhat.com>
5184 * src/ppp-manager/nm-ppp-manager.c
5185 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5186 should only take the DBusGMethodInvocation argument, not user/pass
5187 too. With dbus-glib, async functions only take 2 C arguments since
5188 the real dbus method arguments get passed back with
5189 dbus_g_method_return()
5191 2008-03-13 Tambet Ingo <tambet@gmail.com>
5193 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5194 Adapt the changes of NMSettingIP4Config.
5196 2008-03-13 Dan Williams <dcbw@redhat.com>
5198 * src/NetworkManagerUtils.c
5199 src/NetworkManagerUtils.h
5200 - (nm_ether_ntop): replacement for iw_ether_ntop()
5202 * src/NetworkManagerAP.c
5203 src/nm-device-802-11-wireless.c
5204 src/nm-device-802-3-ethernet.c
5205 - s/iw_ether_ntop/nm_ether_ntop/g
5207 2008-03-13 Dan Williams <dcbw@redhat.com>
5209 * src/NetworkManagerPolicy.c
5210 - (update_routing_and_dns): never set the default route through an
5211 IPv4LL addressed device
5213 2008-03-13 Dan Williams <dcbw@redhat.com>
5215 * NetworkManagerUtils.c
5216 NetworkManagerUtils.h
5217 - Remove NMSock stuff
5218 - Remove the completion stuff
5223 NetworkManagerSystem.c
5225 nm-device-802-11-wireless.c
5226 nm-device-802-3-ethernet.c
5227 - Remove NMSock and completion stuff
5228 - Remove nm_ioctl_info()
5230 2008-03-12 Dan Williams <dcbw@redhat.com>
5233 - (merge_ip4_config): avoid duplicates
5235 2008-03-12 Dan Williams <dcbw@redhat.com>
5237 * libnm-util/nm-setting-ip4-config.c
5238 libnm-util/nm-setting-ip4-config.h
5239 - Remove 'manual' and 'autoip' properties
5240 - Add 'method' property
5241 - (verify): fix verification with 'method'
5242 - (finalize): free 'method'
5243 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5247 - (real_act_stage3_ip_config_start): check IP4Config method
5248 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5250 - (merge_ip4_config): IP settings are valid with DHCP too
5251 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5252 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5254 * src/nm-device-802-11-wireless.c
5255 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5256 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5259 * system-settings/plugins/ifcfg-fedora/parser.c
5260 system-settings/plugins/ifcfg-suse/parser.c
5261 - (make_ip4_setting): fix up for 'method'
5263 2008-03-12 Dan Williams <dcbw@redhat.com>
5265 * system-settings/plugins/ifcfg-fedora/parser.c
5266 system-settings/plugins/ifcfg-fedora/parser.h
5267 - (get_ifcfg_name): ignore more file suffixes
5268 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5270 2008-03-12 Dan Williams <dcbw@redhat.com>
5273 - Bring in the bits of gnome-common we actually use (all 15 lines)
5275 2008-03-12 Dan Williams <dcbw@redhat.com>
5277 * system-settings/plugins/ifcfg-fedora/plugin.c
5278 - (write_auto_wired_connection): new function; write out an auto
5279 wired connection file since the applet isn't doing it any more
5280 - (reload_all_connections): write out the auto wired connection file
5281 if there aren't any wired connections already
5282 - (init): don't leak a GError
5284 2008-03-12 Dan Williams <dcbw@redhat.com>
5286 * src/nm-device-interface.c
5287 - (nm_device_interface_activate): print the ID of the connection
5288 that's about to be activated
5290 2008-03-12 Dan Williams <dcbw@redhat.com>
5292 Harmonize the 802.11 bitrate API
5294 * introspection/nm-access-point.xml
5295 - 'Rate' -> 'MaxBitrate'; clarify units
5297 * introspection/nm-device-802-11-wireless.xml
5298 - Clarify units of 'Bitrate'
5300 * src/NetworkManagerAP.c
5301 src/NetworkManagerAP.h
5302 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5303 property to 'max-bitrate'
5304 - (foreach_property_cb): convert rate to Kb/s
5306 * src/nm-device-802-11-wireless.c
5307 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5309 * libnm-glib/nm-access-point.c
5310 libnm-glib/nm-access-point.h
5311 - 'rate' -> 'max-bitrate'
5314 libnm-glib/libnm-glib-test.c
5315 - Fix up for these changes
5317 2008-03-12 Dan Williams <dcbw@redhat.com>
5320 - (nm_device_set_ip4_config): don't send property notifications when
5321 the ip4 config is set to NULL; it causes a PropertyChanged signal
5322 which dbus-glib can't parse because the value is NULL, which isn't
5323 a legal object path. Setting the IP4 config to NULL is only
5324 valid when deactivating a device anyway, so the device state change
5325 will alert listeners that the ip4 config is invalid.
5327 2008-03-12 Dan Williams <dcbw@redhat.com>
5329 * src/nm-properties-changed-signal.c
5330 - (add_to_string): better handling of NULL objects
5332 2008-03-12 Dan Williams <dcbw@redhat.com>
5334 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5335 convert the libnm-glib NMDevice8023Ethernet to cached properties
5337 * introspection/nm-device-802-3-ethernet.xml
5338 - New 'Carrier' property
5339 - New 'PropertiesChanged' signal
5341 * introspection/nm-device.xml
5342 - Remove 'Carrier' property
5343 - Remove 'CarrierChanged' signal
5345 * src/nm-device-interface.c
5346 src/nm-device-interface.h
5347 - (nm_device_interface_init): remove 'carrier' property and
5348 'carrier-changed' signal
5352 - (nm_device_get_carrier, nm_device_set_carrier): remove
5353 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5354 the link here; wired device will handle that
5355 - (handle_dhcp_lease_change): don't bother updating link here
5356 - (get_property, nm_device_class_init): remove carrier property
5358 * src/nm-device-802-11-wireless.c
5359 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5360 real_update_link(); wireless devices don't use carrier at all
5361 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5362 supplicant_iface_connection_state_cb_handler,
5363 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5365 * src/nm-device-802-3-ethernet.c
5366 src/nm-device-802-3-ethernet.h
5367 - (nm_device_802_3_ethernet_carrier_on,
5368 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5369 instead of nm_device_set_carrier()
5370 - (device_state_changed): update link from sysfs on activation;
5371 replaces real_update_link()
5372 - (real_update_link): remove, replaced by device_state_changed()
5373 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5374 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5375 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5376 new get_carrier function
5377 - (get_property): add 'carrier' property
5378 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5379 hook into property-changed signal helper
5381 * src/NetworkManagerPolicy.c
5382 - (device_carrier_changed): will only ever be called with a wired device
5383 - (device_added): only hook up to carrier-changed for wired devices
5385 * libnm-glib/nm-device.c
5386 libnm-glib/nm-device.h
5387 - (constructor, nm_device_class_init): remove carrier-changed signal
5388 - (device_carrier_changed_proxy): remove; unused
5389 - (nm_device_get_carrier): remove; carrier a property of wired devices
5391 * libnm-glib/nm-device-802-3-ethernet.c
5392 libnm-glib/nm-device-802-3-ethernet.h
5393 - Convert to cached properties like AP and Wireless objects
5394 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5395 instead of a 'char *', return value should not be freed
5396 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5397 - (constructor): hook into properties-changed helper
5398 - (set_property, get_property): new functions
5399 - (nm_device_802_3_ethernet_class_init): export GObject properties
5402 - (detail_device): strdup the wired hardware address too since it's
5405 * libnm-glib/libnm-glib-test.c
5406 - (dump_wired): strdup the wired hardware address too since it's
5409 2008-03-12 Dan Williams <dcbw@redhat.com>
5411 * libnm-util/nm-setting-ip4-config.c
5412 libnm-util/nm-setting-ip4-config.h
5413 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5414 the 'autoip' property from the spec
5416 2008-03-11 Dan Williams <dcbw@redhat.com>
5418 * src/backends/NetworkManagerGeneric.c
5419 src/backends/NetworkManagerGeneric.h
5420 - (nm_generic_device_get_use_dhcp): remove
5422 2008-03-11 Dan Williams <dcbw@redhat.com>
5425 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5426 already in nm_device_set_ip4_config()
5427 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5428 due to a DHCP rebind fails
5429 - (nm_device_set_ip4_config): send property notifications when the
5431 - (get_property): only report IP4Config property during valid states
5433 * src/NetworkManagerPolicy.c
5434 - (update_routing_and_dns): ignore devices that don't have an ip4
5435 config; add parameter 'force_update' to allow callers to specify
5436 that changes should be made even if the default device doesn't change
5437 - (device_ip4_config_changed): update DNS and routing when the device's
5438 IP4Config changes, like for DHCP updates
5439 - (device_added): listen for ip4-config property changes
5441 2008-03-11 Dan Williams <dcbw@redhat.com>
5443 Fix address handling as a result of DHCP rebind/renew/reboot.
5445 * src/NetworkManagerSystem.c
5446 - (check_one_address): delete an address if it doesn't match a given
5447 one for the same interface
5448 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5449 be smarter about flushing addresses (only flush ones that don't
5450 match the one we're about to apply)
5452 * src/backends/NetworkManagerDebian.c
5453 src/backends/NetworkManagerSuSE.c
5454 src/backends/NetworkManagerArch.c
5455 src/backends/NetworkManagerSlackware.c
5456 src/backends/NetworkManagerRedHat.c
5457 src/backends/NetworkManagerPaldo.c
5458 src/backends/NetworkManagerFrugalware.c
5459 src/backends/NetworkManagerGentoo.c
5460 - (nm_system_delete_default_route): remove
5462 * src/backends/NetworkManagerGeneric.c
5463 src/backends/NetworkManagerGeneric.h
5464 - (nm_generic_enable_loopback): fix the loopback device label
5465 - (nm_generic_delete_default_route): remove; no longer used
5467 2008-03-11 Dan Williams <dcbw@redhat.com>
5469 * src/nm-device-interface.h
5470 - Delimit property name words with '-', otherwise g_object_notify()
5471 doesn't work the way we expect
5473 2008-03-11 Tambet Ingo <tambet@gmail.com>
5475 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5477 2008-03-11 Dan Williams <dcbw@redhat.com>
5479 * src/NetworkManagerPolicy.c
5480 - (update_routing_and_dns): don't change anything if the default device
5481 hasn't changed; print something out when switching the default route
5484 2008-03-10 Tambet Ingo <tambet@gmail.com>
5488 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5489 setting. Use "nic-$eth".
5491 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5492 the device is activating here to fix a race condition.
5494 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5496 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5497 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5498 (nm_ppp_manager_start): Take activation request instead of connection, we might
5499 need it for asking secrets.
5500 (nm_ppp_manager_update_secrets): Implement.
5502 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5503 ppp manager start. It might be needed for asking secrets.
5505 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5506 (ppp_state_changed): Handle pppd daemon disappearing.
5507 (pppoe_stage2_config): Send activation request to ppp manager start.
5509 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5511 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5512 username and password.
5514 2008-03-10 Dan Williams <dcbw@redhat.com>
5517 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5518 response to a DHCP lease change
5519 - (dhcp_state_changed): handle DHCP lease changes while activated
5520 - (nm_device_set_ip4_config): remove a previously set named config
5521 when setting an ip4 config
5523 2008-03-10 Dan Williams <dcbw@redhat.com>
5525 * src/nm-serial-device.c
5526 - (nm_serial_device_send_command): report errno on error
5527 - (get_reply_got_data): limit the size of the overall buffer
5528 - (wait_for_reply_info_destroy): destroy result string
5529 - (wait_for_reply_got_data): append received data to an overall buffer
5530 until timeout, filled buffer, or error instead of keeping a per-call
5531 buffer. Some devices send data slowly enough that this function
5532 gets called multiple times for the same command stream.
5533 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5534 wait_for_reply_got_data() here
5536 2008-03-10 Dan Williams <dcbw@redhat.com>
5538 * src/nm-cdma-device.c
5539 - (do_dial, init_modem): handle errors from
5540 nm_serial_device_send_command_string()
5542 * src/nm-gsm-device.c
5543 - (do_dial, manual_registration, automatic_registration_get_network,
5544 automatic_registration, enter_pin, check_pin, init_modem): handle
5545 errors from nm_serial_device_send_command_string()
5547 2008-03-10 Dan Williams <dcbw@redhat.com>
5549 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5551 * src/named-manager/nm-named-manager.c
5552 - (compute_searches): prefer searches before domains
5553 - (compute_domain): new function
5554 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5555 - (merge_one_ip4_config): if there are no searches in the source config,
5556 merge domains of the source config into the target config
5557 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5559 2008-03-10 Dan Williams <dcbw@redhat.com>
5561 * src/nm-serial-device.c
5562 - (get_reply_got_data): clean up indentation, shrink serial buffer
5563 - (wait_for_reply_got_data): try to handle slower serial devices where
5564 the reply is broken up into multiple reads by concatenating replies
5565 together until either an error is received or the search string is
5568 2008-03-10 Dan Williams <dcbw@redhat.com>
5571 - (nm_device_bring_down): deactivate the device if it's activating too,
5572 not just if it's already activated. This makes sure that everything
5573 from an association attempt is cleaned up (like DHCP for example)
5575 2008-03-10 Dan Williams <dcbw@redhat.com>
5577 * src/nm-serial-device.c
5578 - (config_fd): report error from TCSETA
5579 - (nm_serial_device_open): fail when config_fd() fails
5581 2008-03-10 Dan Williams <dcbw@redhat.com>
5583 * src/nm-ip4-config.c
5584 - (nm_ip4_config_init): allocate searches list
5585 - (finalize): free searches list
5587 2008-03-09 Dan Williams <dcbw@redhat.com>
5589 Patch from Bas Zoetekouw <bas@debian.org>
5591 * src/dhcp-manager/nm-dhcp-manager.c
5592 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5594 2008-03-09 Dan Williams <dcbw@redhat.com>
5596 Patch from Bas Zoetekouw <bas@debian.org>
5598 * src/nm-ip4-config.c
5600 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5601 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5602 domains. 'searches' is the correct way to store multiple search
5603 domains, whereas 'domains' is really just supposed to store one
5604 domain. Some sites abuse the DHCP 'domain-name' option to push
5605 search domains to the client.
5606 - (nm_ip4_config_add_domain): group with related functions (my patch)
5608 2008-03-09 Dan Williams <dcbw@redhat.com>
5610 * src/dhcp-manager/nm-dhcp-manager.c
5611 - (dhclient_run): send interface-specific config files to dhclient
5613 2008-03-07 Dan Williams <dcbw@redhat.com>
5615 * system-settings/plugins/ifcfg-fedora/parser.c
5616 - (is_wireless_device): new function; test a device for wireless
5618 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5619 test the device for wireless extensions to determine the type
5621 2008-03-07 Dan Williams <dcbw@redhat.com>
5623 Change manager's StateChange signal to StateChanged for consistency.
5625 * introspection/nm-manager.xml
5626 - Add 'StateChanged' signal
5627 - Move 'StateChange' down to the deprecated section
5629 * src/nm-hal-manager.c
5630 - (nm_hal_manager_new): connect to 'state-changed' instead
5632 * src/NetworkManagerPolicy.c
5633 - (nm_policy_new): connect to 'state-changed' instead
5637 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5638 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5641 * libnm-glib/nm-client.c
5642 libnm-glib/nm-client.h
5643 - (constructor, nm_client_class_init, client_state_changed_proxy):
5644 track and proxy 'state-changed' instead of 'state-change'
5646 2008-03-07 Dan Williams <dcbw@redhat.com>
5648 First pass of multiple active device support. Expect bugs.
5650 * src/nm-ip4-config.c
5652 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5653 there are better ways to do this in the named manager
5657 - (nm_device_can_activate): return whether the device can activate a
5658 connection right now; taking into account things like carrier state
5660 - (nm_device_get_best_auto_connection): renamed from
5661 nm_device_get_best_connection
5662 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5663 device subclasses themselves, so that each device can override the
5664 MTU from it's NMSetting subclass if needed
5665 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5666 in NetworkManagerSystem.c, not here
5668 * src/named-manager/nm-named-manager.c
5669 src/named-manager/nm-named-manager.h
5670 - (nm_named_manager_name_owner_changed,
5671 nm_named_manager_dbus_connection_changed): fix for changes to
5672 rewrite_resolv_conf()
5673 - (compute_nameservers): don't need the NMNamedManager at all, remove
5675 - (merge_one_ip4_config): new function; merge ip4 configs together
5676 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5677 ip4 configs; the VPN config takes precedence, then the best
5678 device config, then the rest of the configs
5679 - (get_domain_for_config): take the NMNamedManager as an argument
5680 to check whether the config is the VPN config
5681 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5682 attribute from ip4 configs
5683 - (add_all_ip4_configs_to_named): add all the configs in priority order
5684 - (remove_ip4_config_from_named): fix for changes to
5685 get_domain_for_config()
5686 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5687 based on its type; callers must pass in the type now
5688 - (get_last_default_domain): remove, unused
5689 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5691 * src/nm-device-802-11-wireless.c
5692 - (real_can_activate): new function
5693 - (real_get_best_auto_connection): renamed from real_get_best_connection
5694 - (real_act_stage4_get_ip4_config): handle MTU override
5696 * src/nm-device-802-3-ethernet.c
5697 - (real_can_activate): new function
5698 - (real_get_best_auto_connection): renamed from real_get_best_connection
5699 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5701 * src/vpn-manager/nm-vpn-connection.c
5702 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5703 attribute on the ip4 config
5705 * src/NetworkManagerPolicy.c
5706 - (nm_policy_auto_get_best_device): remove
5707 - (nm_policy_device_change_check): remove
5708 - (update_default_route): new function; set the default route via
5709 the specified device
5710 - (get_device_priority): new function; return the priority number of
5711 a device type WRT which one should have the default route. Order is
5712 (highest to lowest) wired, wireless, GSM, CDMA.
5713 - (update_routing_and_dns): new function; determine which device should
5714 have the default route, then update the routing table and DNS
5715 - (maybe_auto_activate_device): new function; if a device is now
5716 available for activation, find out what connection it would like to
5718 - (schedule_activate_check): new function; if a device can be activated
5719 now, schedule the activation. Each device may have only one
5720 pending activation at a given time.
5721 - (device_state_changed): if activation was canceled, try again,
5722 possibly with another connection; if the device was activated,
5723 update routing and DNS; if the device was deactivated, try again
5724 with another connection
5725 - (device_carrier_changed): if there is no carrier, deactivate the
5726 device; otherwise schedule an activation check for the device
5727 - (wireless_networks_changed): schedule an activation check for the
5729 - (device_added): keep track of the signal handler IDs so they can
5730 be removed when the device goes away
5731 - (device_removed): remove any signal handlers that might be attached
5732 to the device; update routing and DNS
5733 - (schedule_activate_all): new function
5734 - (connections_added, connection_added, connection_updated): when
5735 connections change, schedule all devices for an activation check
5736 - (connection_removed): when a device is deactivated because its
5737 connection was removed, schedule another activation check for it
5738 - (nm_policy_destroy): destroy pending activations and disconnect
5739 all device signal handlers
5742 - (nm_manager_activate_device): if the device was already actived,
5744 - (deactivate_old_device): remove
5745 - (connection_added_default_handler, impl_manager_activate_device):
5746 don't deactivate other devices when activating this one
5748 * src/backends/NetworkManagerGentoo.c
5749 src/backends/NetworkManagerFrugalware.c
5750 src/backends/NetworkManagerPaldo.c
5751 src/backends/NetworkManagerRedHat.c
5752 src/backends/NetworkManagerSlackware.c
5753 src/backends/NetworkManagerArch.c
5754 src/backends/NetworkManagerSuSE.c
5755 src/backends/NetworkManagerDebian.c
5756 - (nm_system_get_mtu): remove; MTU should be provided through the
5757 distro's system settings service plugin instead
5758 - (nm_system_device_add_default_route_via_device): remove
5759 - (nm_system_device_add_default_route_via_device_with_iface): remove
5760 - (nm_system_device_replace_default_route): new function; call
5761 generic implementation
5763 * src/backends/NetworkManagerGeneric.c
5764 src/backends/NetworkManagerGeneric.h
5765 - (nm_generic_device_add_default_route_via_device,
5766 nm_generic_device_add_default_route_via_device_with_iface): remove
5767 - (nm_generic_device_replace_default_route): replace the default route
5768 with the given route via some gateway
5770 * src/NetworkManagerSystem.c
5771 src/NetworkManagerSystem.h
5772 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5773 to routing and DNS; but set the MTU here
5774 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5775 ip_iface of the active device; use the standard MTU setting function
5776 - (nm_system_set_mtu): remove
5777 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5779 2008-03-07 Tambet Ingo <tambet@gmail.com>
5781 Rework the interaction between ppp manager and pppd plugin. Register a well
5782 known DBUS service in manager and let the plugin call it's methods instead
5783 of listening plugin's signals.
5785 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5786 of emitting signals.
5788 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5790 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5792 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5793 nm_ppp_manager_start().
5795 * introspection/nm-ppp-manager.xml: New file.
5797 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5798 the case correctly where driver is trying to send -1 for the speed, which gets
5799 casted to u16 and thus is always > 0.
5801 2008-03-07 Dan Williams <dcbw@redhat.com>
5803 * src/nm-hal-manager.c
5804 - (nm_get_device_driver_name): use net.originating_device first, fall
5805 back to physical device. HAL has deprecated physical_device.
5807 * libnm-glib/nm-device.c
5808 - (get_product_and_vendor): use net.originating_device first, fall
5809 back to physical device. HAL has deprecated physical_device.
5810 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5812 2008-03-07 Dan Williams <dcbw@redhat.com>
5815 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5816 last commit; fix that
5817 - (get_link_cache): print error string
5819 2008-03-07 Dan Williams <dcbw@redhat.com>
5822 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5823 don't need this hack any more (Benoit Boissinot)
5825 2008-03-06 Dan Williams <dcbw@redhat.com>
5828 - Die gnome-common, die
5830 2008-03-04 Dan Williams <dcbw@redhat.com>
5832 Patch from Michael Biebl <biebl@debian.org>
5834 * NetworkManager.pc.in
5835 - doesn't actually depend on dbus-1
5837 * libnm-util/nm-utils.h
5838 - remove unused #include <dbus/dbus.h>
5840 * libnm-glib/libnm_glib.pc.in
5841 - depends on glib and dbus-glib
5843 2008-03-02 Dan Williams <dcbw@redhat.com>
5845 * src/NetworkManagerPolicy.c
5846 - s/device_state_changed_idle_id/update_state_id/
5848 2008-03-02 Dan Williams <dcbw@redhat.com>
5852 src/nm-device-802-11-wireless.c
5853 src/nm-device-802-3-ethernet.c
5854 src/NetworkManagerPolicy.c
5855 - s/link_active/carrier
5856 - nm_device_set_active_link() -> nm_device_set_carrier()
5857 - nm_device_has_active_link() -> nm_device_get_carrier()
5859 2008-03-02 Dan Williams <dcbw@redhat.com>
5861 * system-settings/plugins/ifcfg-fedora/parser.c
5862 - (make_wireless_setting): fail connection creation on missing SSID
5864 2008-02-29 Dan Williams <dcbw@redhat.com>
5866 * src/NetworkManagerPolicy.c
5867 - (nm_policy_device_change_check): ensure that a previously active
5868 device with a system connection has a link before denying a switch
5869 to a user connection
5871 2008-02-29 Dan Williams <dcbw@redhat.com>
5873 * src/nm-device-802-11-wireless.c
5874 - (link_timeout_cb): try again if scanning; deactivate the device when
5875 activated if the link dies
5876 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5879 2008-02-29 Dan Williams <dcbw@redhat.com>
5881 * src/nm-device-802-11-wireless.c
5882 src/nm-device-802-11-wireless.h
5883 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5884 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5885 - (device_cleanup): reset the scan interval lower when the device
5887 - (can_scan): base decision mostly off device state, not supplicant
5888 interface state since the supplicant interface state isn't a
5889 great indicator of whether the device is active or not
5890 - (request_wireless_scan): clean up; schedule the next scan here
5891 - (schedule_scan): only back the scan interval off if a new scan
5892 actually gets scheduled; and make scan intervals tighter when the
5893 device is disconnected
5894 - (supplicant_iface_state_cb_handler): fold in the bits of
5895 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5897 - (activation_success_handler): reset scan interval to something
5900 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5902 reviewed by: Steev <steev@steev.net>
5905 * src/backends/NetworkManagerGentoo.c:
5906 (nm_system_restart_mdns_responder):
5907 Howl is no longer a supported mDNS provider
5909 2008-02-28 Tambet Ingo <tambet@gmail.com>
5911 Get rid of a bunch of unused distro specific functions.
5913 2008-02-28 Tambet Ingo <tambet@gmail.com>
5915 Implement suse plugin for system settings daemon.
5917 * system-settings/plugins/ifcfg-suse/*: Implement.
5919 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5922 * configure.in: Check (without failing) for gio.
5923 Create ifcfg-suse plugin's Makefile.
5925 2008-02-20 Dan Williams <dcbw@redhat.com>
5927 * libnm-util/nm-connection.c
5928 libnm-util/nm-connection.h
5929 - (nm_connection_compare): accept compare flags and pass them to the
5930 setting compare function
5932 * libnm-util/nm-setting.c
5933 libnm-util/nm-setting.h
5934 - (nm_setting_compare): accept compare flags; ignore properties that are
5937 * libnm-util/nm-setting-connection.c
5938 libnm-util/nm-setting-wireless.c
5939 libnm-util/nm-setting-ppp.c
5940 libnm-util/nm-setting-wired.c
5941 - Mark some setting properties as ignorable when doing a fuzzy compare
5944 - (device_activation_precheck): use exact compare
5946 2008-02-20 Dan Williams <dcbw@redhat.com>
5948 * src/NetworkManagerPolicy.c
5949 - (nm_policy_device_change_check): get scope off the connection, not
5950 using the manager helper
5954 - (get_scope_for_proxy): rename from get_type_for_proxy()
5955 - (connection_get_settings_cb): set scope and path on connection, not
5956 using GObject data items
5957 - (get_connection_for_proxy): don't need to return path, since that
5958 can be gotten from the connection
5959 - (get_connection_for_proxy): get path off the connection, not from
5961 - (connection_removed_cb, connection_updated_cb): don't need to get
5962 path from get_connection_for_proxy(); get scope off the connection
5963 instead of using GObject data items
5964 - (connection_added_default_handler, add_one_connection_element): use
5965 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5966 - (nm_manager_get_connection_dbus_path): remove
5967 - (nm_manager_get_connection_scope): remove
5969 2008-02-20 Dan Williams <dcbw@redhat.com>
5971 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5974 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5975 applet were having to hack this in anyway. Remove the 'path' stuff from
5976 NMExportedConnection
5978 * Internally rename NMConnectionType -> NMConnectionScope
5980 * Provide default implementations of the 'get_id' and 'get_settings' methods
5981 of NMExportedConnection
5983 2008-02-15 Dan Williams <dcbw@redhat.com>
5985 * src/nm-device-802-11-wireless.c
5986 - (device_cleanup): release the AP list here too so that the AP list
5987 doesn't survive across suspend/resume and up/down. There is some
5988 room for optimization, for example blow the list away when the card
5989 brought back up, but only if the device has only been down for a
5992 2008-02-15 Dan Williams <dcbw@redhat.com>
5994 * src/nm-hal-manager.c
5995 - (modem_device_creator): recognize new HAL modem capabilities
5997 2008-02-12 Dan Williams <dcbw@redhat.com>
5999 * system-settings/plugins/ifcfg-fedora/plugin.c
6000 - (watch_path): handle IN_DELETE_SELF too
6001 - (handle_connection_changed): notify when removing a connection
6002 - (stuff_changed): don't warn on unknown inotify watches; handle the
6003 case of a file moving out of the profile directory
6005 2008-02-12 Dan Williams <dcbw@redhat.com>
6007 * system-settings/plugins/ifcfg-fedora/parser.c
6008 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6010 2008-02-12 Dan Williams <dcbw@redhat.com>
6012 * libnm-util/nm-utils.c
6013 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6014 just any empty array
6016 2008-02-12 Dan Williams <dcbw@redhat.com>
6018 * system-settings/src/nm-system-config-interface.c
6019 system-settings/src/nm-system-config-interface.h
6020 - (load_connections): get_connections() should now return an allocated
6021 GSList that the system settings service will free
6023 * system-settings/plugins/ifcfg-fedora/plugin.c
6024 system-settings/plugins/ifcfg-fedora/parser.h
6025 system-settings/plugins/ifcfg-fedora/parser.c
6026 - Fix up inotify issues; handle keys-* files, handle new files appearing
6027 in the profile directory, handle resolv.conf file changes
6029 2008-02-10 Dan Williams <dcbw@redhat.com>
6031 * src/nm-device-802-3-ethernet.c
6032 - (real_bring_up): save the supplicant interface state signal id
6033 - (real_bring_down): disconnect from the supplicant interface state
6036 2008-02-07 Dan Williams <dcbw@redhat.com>
6038 * initscript/RedHat/NetworkManager.in
6039 initscript/RedHat/NetworkManagerDispatcher.in
6040 - Add new-style LSB init headers
6042 2008-02-07 Dan Williams <dcbw@redhat.com>
6044 * system-settings/src/dbus-settings.c
6045 system-settings/src/dbus-settings.h
6046 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6048 - (connection_settings_get_secrets): consolidate error returns into
6049 one place; use the new get_secrets() plugin interface function to
6050 get secrets from the plugin itself rather than using GObject data
6053 * system-settings/src/main.c
6054 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6055 load_connections): keep a private list of the plugin-returned
6056 connections, don't use the plugin's GSList
6058 * system-settings/plugins/ifcfg-fedora/plugin.c
6059 - (watch_path): watch the path, not the filename (duh)
6060 - (reload_all_connections): use the direct hash/equal functions; the
6061 ones for int aren't appropriate here
6062 - (get_secrets, system_config_interface_init): implement the
6063 get_secrets() function
6064 - (build_one_connection, find_connection_by_path): ifcfg file path is
6065 now in the connection's ConnectionData instead of being a GObject
6067 - (handle_profile_item_changed): ifcfg file path is now in the
6068 connection's ConnectionData instead of being a GObject data property;
6069 be sure to copy secrets over from the new connection to the existing
6070 connection when updating the connection's settings
6071 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6074 * system-settings/plugins/ifcfg-fedora/parser.c
6075 system-settings/plugins/ifcfg-fedora/parser.h
6076 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6077 connection_data_copy_secrets, connection_data_free,
6078 connection_data_add): new functions; connection data manipulation
6079 - (make_wireless_security_setting): stuff secrets into the
6080 connection data, not as GObject data items; make sure to close
6082 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6083 connection data to the connection
6085 2008-02-07 Dan Williams <dcbw@redhat.com>
6087 * system-settings/src/nm-system-config-interface.c
6088 system-settings/src/nm-system-config-interface.h
6089 - Add a get_secrets() interface function to retrieve secrets for a
6090 specific setting of a specific connection. Document the interface
6093 2008-02-07 Dan Williams <dcbw@redhat.com>
6095 * src/nm-device-802-11-wireless.c
6096 - (handle_auth_or_fail): new function; consolidate device activation
6097 failure check after a certain number of failures getting secrets
6098 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6099 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6100 the connection if secrets were requested more than a few times
6101 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6102 tries here; otherwise they are cleared before the IP configure
6103 timeout, which happens with open system WEP when key is wrong
6104 - (activation_success_handler): clear wireless secrets tries here too
6106 2008-02-07 Dan Williams <dcbw@redhat.com>
6108 * src/NetworkManagerPolicy.c
6109 - (connection_updated): clear invalid tag when connection gets updated
6110 to allow that connection to be tried again
6111 - (nm_policy_new): save signal ids so they can be disconnected when
6112 the policy is destroyed
6113 - (nm_policy_destroy): stop any in-progress state change idle handler,
6114 and disconnect all signals from the manager object so that none
6115 of the policy functions gets called after the policy is destroyed
6117 2008-02-06 Dan Williams <dcbw@redhat.com>
6120 - (finalize): remove devices a bit earlier; clean up system settings
6122 - (nm_manager_name_owner_changed): clean up system settings poke when
6123 the service appears, and try to restart it if it fails
6124 - (poke_system_settings_daemon_cb): try to get the system settings
6125 service started through D-Bus service activation
6126 - (initial_get_connections): start the system settings daemon if it's
6129 2008-02-05 Dan Williams <dcbw@redhat.com>
6131 * src/supplicant-manager/nm-supplicant-config.c
6132 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6133 broadcast networks too
6135 2008-02-04 Dan Williams <dcbw@redhat.com>
6137 * system-settings/plugins/ifcfg-fedora/parser.c
6138 - (make_wireless_security_setting): fix spelling; unencrypted networks
6139 need key_mgmt set too
6140 - (parser_parse_file): validate ifcfg file name and don't try to parse
6141 .bak files; ensure that an error is set whenever NULL gets returned
6143 2008-02-04 Dan Williams <dcbw@redhat.com>
6145 * system-settings/src/Makefile.am
6146 - Install D-Bus service activation file for the system settings
6149 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6150 - D-Bus service activation file for system settings service
6152 2008-02-04 Dan Williams <dcbw@redhat.com>
6154 * system-settings/src/main.c
6155 - (parse_config_file): parse a config file
6156 - (main): accept --config option and read plugins from config file
6158 2008-02-04 Dan Williams <dcbw@redhat.com>
6160 * system-settings/plugins/ifcfg-fedora/plugin.c
6161 - Change reported name to 'ifcfg-fedora'
6162 - Use IFCFG_PLUGIN_NAME
6164 * system-settings/plugins/ifcfg-fedora/plugin.c
6165 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6167 2008-02-04 Dan Williams <dcbw@redhat.com>
6169 * system-settings/plugins/ifcfg-fedora/parser.c
6170 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6171 - (make_connection_setting): use get_ifcfg_name()
6172 - (make_wireless_security_setting): handle shadow key files
6173 - (get_one_wep_key): treat empty string as NULL
6175 2008-02-04 Dan Williams <dcbw@redhat.com>
6177 * src/supplicant-manager/nm-supplicant-manager.c
6178 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6179 glib automatically reschedule
6180 - (nm_supplicant_manager_init): immediately try to start the supplicant
6181 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6184 2008-02-01 Dan Williams <dcbw@redhat.com>
6186 * src/NetworkManagerPolicy.c
6187 - (device_state_changed): schedule a change check when a device gets
6188 deactivated so something happens if you disconnect GSM/CDMA
6190 2008-01-31 Dan Williams <dcbw@redhat.com>
6192 * src/nm-device-802-11-wireless.h
6193 src/nm-device-802-11-wireless.c
6194 - (ap_list_get_ap_by_ssid, is_associated,
6195 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6196 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6197 - (nm_device_802_11_wireless_get_activation_ap): collapse
6198 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6201 2008-01-30 Dan Williams <dcbw@redhat.com>
6203 * system-settings/plugins/ifcfg
6204 * system-settings/plugins/ifcfg-fedora
6205 - Move the ifcfg plugin to ifcfg-fedora
6207 2008-01-24 Dan Williams <dcbw@redhat.com>
6209 * libnm-glib/nm-device-802-11-wireless.c
6210 - (get_access_point): move the "/" check here; check for invalid path
6212 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6213 to get_access_point()
6214 - (access_point_added_proxy, access_point_removed_proxy): don't try
6215 to send signals for non-existent access points
6217 2008-01-24 Dan Williams <dcbw@redhat.com>
6219 * libnm-glib/nm-device-802-11-wireless.c
6220 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6222 2008-01-23 Dan Williams <dcbw@redhat.com>
6224 * libnm-glib/libnm_glib.c
6225 - (libnm_glib_init): make thread joinable
6226 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6228 2008-01-23 Dan Williams <dcbw@redhat.com>
6230 * test/libnm_glib_test.c
6231 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6232 - (main): set up signal handlers; call libnm_glib_shutdown
6234 2008-01-21 Dan Williams <dcbw@redhat.com>
6236 * include/NetworkManager.h
6237 - Add CDMA mobile broadband card device type
6239 * src/nm-hal-manager.c
6240 - (modem_device_creator): handle both CDMA and GSM modems; the device
6241 must now be tagged with 'cdma' or 'gsm' capability
6243 * src/nm-cdma-device.c
6244 src/nm-cdma-device.h
6246 - Add the CDMA mobile broadband card device class
6248 * libnm-util/nm-connection.c
6249 - (register_default_settings): add NMSettingCdma
6251 * libnm-util/nm-setting-cdma.c
6252 libnm-util/nm-setting-cdma.h
6253 libnm-util/Makefile.am
6254 - Add the CDMA mobile broadband card setting class
6256 * libnm-glib/nm-cdma-device.c
6257 libnm-glib/nm-cdma-device.h
6258 libnm-glib/Makefile.am
6259 - Add the CDMA mobile broadband card GLib proxy class
6261 * libnm-glib/nm-client.c
6262 - (get_device): handle CDMA devices too
6264 2008-01-21 Dan Williams <dcbw@redhat.com>
6266 * src/ppp-manager/nm-ppp-manager.c
6267 - (ip4_config_get): set peer address too
6269 * src/ppp-manager/nm-pppd-plugin.c
6270 - (nm_ip_up): try harder to get the peer's address
6272 * src/NetworkManagerSystem.c
6273 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6274 address, use that too. Otherwise, some PPP connections won't work.
6276 2008-01-19 Dan Williams <dcbw@redhat.com>
6278 * src/NetworkManagerPolicy.c
6279 - (nm_policy_device_change_check): system connections override user
6280 connections; don't activate a user connection if there's a currently
6281 active system connection, and new, better system connections always
6282 interrupt user connections
6284 2008-01-19 Dan Williams <dcbw@redhat.com>
6287 - (nm_manager_get_connection_type): new function
6289 2008-01-19 Dan Williams <dcbw@redhat.com>
6291 * src/nm-device-802-11-wireless.c
6292 - (real_get_best_connection): collapse find_best_connection() into this
6295 2008-01-19 Dan Williams <dcbw@redhat.com>
6297 * src/nm-device-802-3-ethernet.c
6298 - (real_get_best_connection): collapse find_best_connection() into this
6301 2008-01-18 Dan Williams <dcbw@redhat.com>
6303 * src/nm-device-802-3-ethernet.c
6304 - (find_best_connection): check MAC address too
6305 - (real_get_best_connection): let autoconnect=True connections activate
6306 for devices that don't have carrier detection
6308 * src/nm-device-802-11-wireless.c
6309 - (find_best_connection): check MAC address too
6311 2008-01-18 Dan Williams <dcbw@redhat.com>
6313 * system-settings/plugins/ifcfg/parser.c
6314 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6316 2008-01-17 Dan Williams <dcbw@redhat.com>
6318 * src/nm-device-802-3-ethernet.c
6319 - (nm_device_802_3_ethernet_carrier_on,
6320 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6321 carrier events that might come in for devices that don't support
6324 2008-01-17 Dan Williams <dcbw@redhat.com>
6326 * src/nm-device-interface.c
6327 - (nm_device_interface_check_connection_conflicts): need to actually
6328 get the interface, not cast to the object
6331 - (nm_device_check_connection_conflicts): need to get the device class,
6332 not cast the device to the device class
6334 2008-01-17 Dan Williams <dcbw@redhat.com>
6336 * src/nm-device-802-11-wireless.c
6337 - (real_check_connection_conflicts): ignore connections that aren't
6338 wireless connections
6340 2008-01-17 Dan Williams <dcbw@redhat.com>
6342 * src/NetworkManagerPolicy.c
6343 - (nm_policy_device_change_check): clear change check idle here
6344 - (device_change_check_done): remove
6345 - (schedule_change_check): simplify
6347 2008-01-17 Dan Williams <dcbw@redhat.com>
6350 - (check_connection_allowed): take an NMDeviceInterface instead of
6351 an NMDevice object as an argument
6352 - (nm_manager_activate_device): pass an NMDeviceInterface to
6353 check_connection_allowed()
6355 2008-01-13 Dan Williams <dcbw@redhat.com>
6357 * libnm-glib/nm-device-802-11-wireless.c
6358 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6360 2008-01-12 Dan Williams <dcbw@redhat.com>
6362 * src/nm-device-802-11-wireless.c
6363 - (activation_success_handler): if a match was found in the scan list
6364 and that match is a hidden AP, update that AP's SSID
6366 2008-01-11 Dan Williams <dcbw@redhat.com>
6368 * src/NetworkManagerAP.c
6369 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6371 * src/nm-device-802-11-wireless.c
6372 - (get_active_ap): do two passes over the scan list if the caller
6373 requests that hidden APs get matched too; during the second pass
6374 when matching hidden APs, ignore the SSID since hidden APs in the
6375 scan list don't have an SSID yet
6376 - (periodic_update): move some checks to
6377 nm_device_802_11_periodic_update() because not all callers need them
6378 - (nm_device_802_11_periodic_update): move some checks here from
6380 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6381 matching on incoming scan results, because the fake AP's flags
6382 might be slightly different (yet still compatible) with the incoming
6383 scan result's flags and they might actually be the same AP; update
6384 the rate on merged APs too
6385 - (activation_success_handler): update the frequency of the fake AP
6386 on successful connection; match hidden APs too since if the
6387 current AP is fake, there might already be a scan result in the
6388 scan list for the desired AP, just without it's SSID filled in yet
6390 2008-01-10 Dan Williams <dcbw@redhat.com>
6392 * src/NetworkManagerAP.c
6393 - (foreach_property_cb): catch more hidden SSID formats
6395 2008-01-10 Dan Williams <dcbw@redhat.com>
6397 Fix gnome.org #464215. Requires the kernel patch titled
6398 "Introduce WEXT scan capabilities" but will handle the patch not being
6399 present, you'll just continue to have problems with hidden SSIDs when
6400 using mac80211-based drivers.
6402 * src/supplicant-manager/nm-supplicant-config.h
6403 src/supplicant-manager/nm-supplicant-config.c
6404 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6405 whether the driver supports SSID scans or not. If it does, and if
6406 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6408 * src/nm-device-802-11-wireless.c
6409 - (constructor): check whether or not the driver supports SSID scans
6410 - (build_supplicant_config): pass driver SSID scan capability when
6411 building the wireless bits of the supplicant config
6413 2008-01-09 Dan Williams <dcbw@redhat.com>
6417 - (device_activation_precheck, check_connection_complete): remove this
6418 virtual function; incomplete connections should be invalid by
6419 definition, complete-ness should be checked in the setting's
6422 * src/nm-serial-device.c
6424 - (real_check_connection_complete): remove
6426 * libnm-util/nm-setting-serial.c
6427 - (verify): new function; ensure there is a PPP setting too
6429 * libnm-util/nm-setting-gsm.c
6430 - (verify): ensure there is a serial setting too
6432 2008-01-06 Dan Williams <dcbw@redhat.com>
6434 * src/dhcp-manager/nm-dhcp-manager.c
6435 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6438 2008-01-04 Dan Williams <dcbw@redhat.com>
6440 * src/named-manager/nm-named-manager.c
6441 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6442 nameservers if the secondary config doesn't have any
6445 2008-01-02 Tambet Ingo <tambet@gmail.com>
6447 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6448 with G_PARAM_CONSTRUCT so that they get the default values.
6450 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6451 the monitoring device and prints out the output for now. Or more precicely, doesn't
6452 do absolutely anything right now since the montoring device argument is never set.
6454 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6455 requires it's own knob to turn it on.
6456 (config_fd): Add NMSettingSerial to the arguments list.
6457 (nm_serial_device_open): Ditto.
6458 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6459 (nm_serial_device_get_io_channel): Implement.
6461 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6462 a new reference every time (and forgetting to release it sometimes) is a pain and
6463 it's not like NMManager could work without dbus.
6464 (nm_manager_add_device): Register the added device on dbus here.
6466 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6469 * src/nm-device.c (constructor): Don't export the device here, instead export
6470 it when it's added to the NMManager's device list.
6472 2007-12-31 Dan Williams <dcbw@redhat.com>
6474 * src/nm-device-interface.c
6475 src/nm-device-interface.h
6476 - (nm_device_interface_check_connection_conflicts): new function
6480 - (nm_device_check_connection_conflicts): new function
6481 - (device_activation_precheck): don't require subclasses to implement
6482 check_connection_complete()
6483 - check_connection() -> check_connection_complete()
6485 * src/nm-device-802-11-wireless.c
6486 - (real_check_connection): remove; unused
6487 - (real_check_connection_conflicts): implement, handle lockdown for
6490 * src/nm-device-802-3-ethernet.c
6491 - (real_check_connection): remove; unused
6494 - (check_connection_allowed): new function
6495 - (nm_manager_activate_device): ensure the connection being requested
6496 is allowed to be activated
6498 * src/nm-serial-device.c
6500 - real_check_connection() -> real_check_connection_complete()
6502 2007-12-27 Dan Williams <dcbw@redhat.com>
6504 * src/nm-device-interface.c
6505 src/nm-device-interface.h
6506 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6507 normalize and expand errors
6508 - (nm_device_interface_init): register errors so they can be marshalled
6510 - (nm_device_interface_activate): ensure that failure of activation
6515 - (device_activation_precheck): implementations of check_connection()
6516 now take a GError and must fill it in if the check fails. Return
6517 more descriptive error if the requested connection is already
6519 - (nm_device_activate): actually try to return descriptive errors on
6522 * src/nm-device-802-11-wireless.c
6523 src/nm-device-802-3-ethernet.c
6524 src/nm-serial-device.c
6526 - (real_check_connection): return more descriptive errors on failure
6528 * src/NetworkManagerPolicy.c
6529 - (nm_policy_device_change_check): print activation errors in the logs
6532 - (nm_manager_error_quark, nm_manager_error_get_type,
6533 nm_manager_class_init): new errors
6534 - (nm_manager_activate_device): handle errors
6535 - (nm_manager_error_new): removed
6536 - (wait_for_connection_expired, connection_added_default_handler,
6537 impl_manager_activate_device): better error handling
6539 2007-12-27 Dan Williams <dcbw@redhat.com>
6541 Fixes gnome.org #466954
6543 * src/supplicant-manager/nm-supplicant-settings-verify.c
6544 - Allow 'frequency' network property
6546 * src/supplicant-manager/nm-supplicant-config.c
6547 src/supplicant-manager/nm-supplicant-config.h
6548 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6549 for callers to specify the frequency an Ad-Hoc network should operate
6550 on. Some drivers require this to successfully create an Ad-Hoc
6553 * src/nm-device-802-11-wireless.c
6554 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6555 guint32 value in MHz
6556 - (constructor, nm_device_802_11_wireless_get_frequency): use
6558 - (find_supported_frequency): new function; find a free supported
6559 frequency for a user-created Ad-Hoc network
6560 - (build_supplicant_config): if no frequency was specified for a user-
6561 created Ad-Hoc network, find a free one to use
6562 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6563 a specific object as user-created
6565 2007-12-27 Dan Williams <dcbw@redhat.com>
6567 * libnm-util/nm-utils.c
6568 libnm-util/nm-utils.h
6569 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6572 2007-12-24 Dan Williams <dcbw@redhat.com>
6574 * libnm-util/nm-setting-wireless.c
6575 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6576 185, 187, 188, 192, and 196
6578 2007-12-24 Dan Williams <dcbw@redhat.com>
6580 * src/nm-device-802-11-wireless.c
6581 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6582 a channel # instead of a frequency
6584 2007-12-24 Dan Williams <dcbw@redhat.com>
6586 * src/NetworkManagerAP.c
6587 src/NetworkManagerAP.h
6588 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6589 - (freq_to_channel): handle split band tables
6590 - (channel_to_freq): handle split band tables, take a band argument
6592 2007-12-24 Dan Williams <dcbw@redhat.com>
6594 * libnm-util/nm-setting-connection.h
6595 libnm-util/nm-setting-connection.c
6596 - Add 'lockdown' member
6598 2007-12-22 Dan Williams <dcbw@redhat.com>
6600 * libnm-util/nm-setting-wireless.c
6601 - (nm_setting_wireless_class_init): add missing 'rate' property
6604 2007-12-18 Dan Williams <dcbw@redhat.com>
6606 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6608 * src/nm-netlink-monitor.c
6609 src/nm-netlink-monitor.h
6610 - Remove handrolled netlink, use libnl instead
6612 * src/nm-device-802-3-ethernet.c
6613 - (constructor, nm_device_802_3_ethernet_carrier_off,
6614 nm_device_802_3_ethernet_carrier_on): use new names
6616 2007-12-17 Dan Williams <dcbw@redhat.com>
6619 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6620 and fixes memory leaks)
6623 - (nm_netlink_get_default_handle): handle new versions of libnl that
6624 automatically handle the netlink PID
6626 2007-12-17 Dan Williams <dcbw@redhat.com>
6628 Patch from Michael Biebl <biebl@debian.org>
6631 src/ppp-manager/Makefile.am
6632 - fix up install dir of pppd plugin
6633 - clean up configure.in a bit
6635 2007-12-12 Dan Williams <dcbw@redhat.com>
6637 * system-settings/src/nm-system-settings.conf
6638 - Allow non-root clients (like the applet) to read settings
6640 2007-12-10 Tambet Ingo <tambet@gmail.com>
6642 * Replace all occurences of 'UMTS' with 'GSM'.
6644 2007-12-07 Dan Williams <dcbw@redhat.com>
6646 * src/nm-serial-device.c
6647 - (real_is_up): serial devices are always "up"
6649 2007-12-07 Dan Williams <dcbw@redhat.com>
6652 src/NetworkManagerSystem.c
6653 - (new_nl_handle): ensure that the same netlink pid is never chosen
6654 twice (gnome.org #491047)
6655 - Make more robust against allocation-related failures should they occur
6657 2007-12-07 Dan Williams <dcbw@redhat.com>
6659 Noticed by Christian Persch <chpe@gnome.org>
6661 Always chain up to parent object in dispose and finalize handlers.
6664 2007-12-07 Dan Williams <dcbw@redhat.com>
6666 * src/nm-device-802-11-wireless.c
6667 - Wrap #include of linux/mii.h to fix redefined structures due to
6668 incorrect kernel headers (gnome.org #350061)
6670 2007-12-06 Tambet Ingo <tambet@gmail.com>
6672 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6673 before doing anything else.
6674 (init_modem): Move modem initialization here.
6676 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6677 (nm_serial_device_flash): Implement.
6679 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6680 changes signal is "StateChanged" and not "Status".
6681 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6683 2007-12-06 Dan Williams <dcbw@redhat.com>
6685 * src/supplicant-manager/nm-supplicant-config.c
6686 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6687 to only send some options when they make sense; also send phase2
6688 option to the supplicant (possible fix for rh #399631)
6690 2007-12-06 Tambet Ingo <tambet@gmail.com>
6692 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6693 arguments: This whole file shouldn't really know anything about NMDevices, it
6694 should deal only with device interfaces. Devices might have different ifaces for
6695 different stuff and this place shouldn't know anything about it.
6697 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6698 (global_state_changed): Implement. In the current NM it's not really important,
6699 but will be required in the case of multiple active devices. (Or even better,
6700 if stuff like that gets moved out from NM).
6702 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6703 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6706 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6707 devices like serial devices (ttyS0 and ppp0 for example).
6708 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6710 (nm_device_set_ip_iface): Implement.
6711 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6712 after setting ip4_config from here ...
6713 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6714 than this function should call nm_system_device_set_from_ip4_config() because no
6715 other code has enough information on which arguments to use. So instead, other code
6716 could just set the new ip4 config using this function and everyone is happy.
6718 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6719 if we happen to get deactivated while something is pending.
6720 (automatic_registration): Handle the response that indicates pending network
6721 registration and wait until the pending registration is done.
6722 (real_deactivate_quickly): If there's a pending operation, cancel it.
6724 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6725 (real_deactivate_quickly): ... and remove it when it's down.
6726 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6728 (nm_serial_device_wait_for_reply): Ditto.
6730 2007-12-05 Tambet Ingo <tambet@gmail.com>
6732 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6733 (get_network_done): Remove newline, nm_info() does it already.
6734 (real_act_stage1_prepare): Turn the modem echo off.
6736 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6737 device, set the route to the device interface. This is a hack.
6739 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6740 return, no need for a new-line.
6741 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6742 Change the device iface here (ugh).
6743 (real_act_stage4_get_ip4_config): Implement.
6744 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6745 Restore the device iface.
6747 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6748 device is not wired or wireless (eg, automatically upped) device.
6750 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6752 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6754 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6755 before calling it's is_device_fn().
6757 2007-12-05 Dan Williams <dcbw@redhat.com>
6759 * libnm-util/nm-utils.c
6760 - (nm_utils_register_value_transformations,
6761 nm_utils_convert_gvalue_hash_to_string): better debug output of
6762 GHashTables of GValues too
6764 2007-12-04 Dan Williams <dcbw@redhat.com>
6766 * initscript/RedHat/NetworkManager.in
6767 - No longer start named; it's D-Bus interface is going away
6769 2007-12-04 Dan Williams <dcbw@redhat.com>
6771 Patch from Michael Biebl <biebl@debian.org>
6773 * system-settings/plugins/ifcfg/Makefile.am
6774 system-settings/src/main.c
6775 system-settings/src/Makefile.am
6776 - Put system settings plugins in NM plugins dir
6778 * src/ppp-manager/Makefile.am
6779 src/ppp-manager/nm-ppp-manager.c
6780 - Move pppd plugin to NM plugins dir
6782 2007-12-04 Dan Williams <dcbw@redhat.com>
6784 * libnm-util/nm-setting-vpn-properties.h
6785 - Clarify usage of the 'data' member of the setting
6787 * libnm-util/nm-setting-vpn-properties.c
6788 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6789 - (set_property): just remove all the settings; don't recreate the has
6790 - (update_one_secret): don't need to create the hash table here since
6791 it should always be present
6793 2007-12-03 Tambet Ingo <tambet@gmail.com>
6795 Implement PIN and PUK requesting.
6797 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6798 (enter_pin): Handle PIN and PUK requests.
6799 (real_act_stage1_prepare): Clear the secret type.
6800 (real_connection_secrets_updated): Implement this class method to get
6801 notified when new secrets arrive.
6802 (nm_umts_device_class_init): Add private data back to the umts device class
6803 to store the required secret type.
6805 2007-12-01 Dan Williams <dcbw@redhat.com>
6807 * system-settings/plugins/ifcfg/parser.c
6808 - (parser_parse_file): don't try to verify NULL connections
6810 2007-12-01 Dan Williams <dcbw@redhat.com>
6812 * system-settings/src/main.c
6813 - (load_connections, add_connection_to_settings): actually export
6814 plugin-provided connections over D-Bus so NM can get them
6816 2007-12-01 Dan Williams <dcbw@redhat.com>
6818 * system-settings/plugins/ifcfg/parser.c
6819 system-settings/plugins/ifcfg/parser.h
6820 system-settings/plugins/ifcfg/plugin.c
6821 - Hook up more inotify bits (untested)
6823 2007-11-29 Dan Williams <dcbw@redhat.com>
6825 * system-settings/src/nm-system-config-interface.h
6826 system-settings/src/nm-system-config-interface.c
6827 - (nm_system_config_interface_init,
6828 nm_system_config_interface_get_connections): add
6830 * system-settings/src/main.c
6831 - (load_plugins, load_connections, main): use a GSList for plugins
6832 to ensure priority ordering
6834 * system-settings/plugins/ifcfg/parser.c
6835 - (ifcfg_error_quark): move to plugin.c, and rename
6837 * system-settings/plugins/ifcfg/plugin.h
6838 system-settings/plugins/ifcfg/plugin.c
6839 - (ifcfg_plugin_error_quark): move here from parser.c
6840 - rework connection loading and initialization
6841 - Add preliminary inotify support for network profile config file
6843 2007-11-28 Tambet Ingo <tambet@gmail.com>
6845 Merge the beginnings of the new GSM card support.
6847 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6848 ppp watch source before killing pppd - If this happens from g_object_unref()
6849 then the ppp manager is already destroyed by the time the watch callback runs.
6851 * src/nm-hal-manager.c: Add a device_type_name string to the device
6852 creators, so that we can print a nice human readable string when a
6855 * src/nm-umts-device.c (automatic_registration_get_network): Query
6856 for the activated network, not much is done with the result thought.
6858 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6859 (ppp_ip4_config): Change the device state to activated here for now.
6860 (real_check_connection): Make sure the connection includes ppp setting.
6862 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6864 * libnm-glib/Makefile.am: Add the new files to build.
6866 * libnm-glib/nm-umts-device.c:
6867 * libnm-glib/nm-umts-device.h: Implement.
6869 2007-11-26 Tambet Ingo <tambet@gmail.com>
6871 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6872 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6874 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6875 the timeout source - this function is only called when the timeout source has
6877 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6878 to be big enough to contain the terminating zero element as well.
6879 The timeout argument is meant to be in seconds now.
6880 (real_deactivate_quickly): Implement.
6882 * src/NetworkManager.conf: Allow root to own
6883 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6885 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6886 (not unsigned ints).
6888 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6889 small issue with parity bounds - capital letters have lower ascii codes
6890 than lower case letters.
6892 * libnm-util/nm-connection.c (register_default_settings): Register serial
6895 2007-11-22 Tambet Ingo <tambet@gmail.com>
6897 Remove the "index" property from devices as not all device types have this.
6899 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6901 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6902 (wired_device_creator): Get the device interface from hal to create the device.
6903 (wireless_device_creator): Ditto.
6905 * src/nm-device.c (nm_device_init): Remove the index member.
6906 (constructor): Remove the checks for index property, make interface property
6907 a require constructor property.
6908 Use the HAL udi for DBus path for devices.
6909 (nm_device_get_index): Remove.
6910 (set_property): Remove index handling.
6911 (get_property): Ditto.
6912 (nm_device_get_dbus_path): Remove.
6914 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6917 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6918 Access the device index through it's interface.
6919 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6920 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6921 index argument. Add interface argument.
6923 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6924 the useless test_dev argument. Remove index argument. Add interface arugment.
6926 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6927 device index through interface.
6928 (nm_system_set_mtu): Ditto.
6930 * introspection/nm-device.xml: Remove the "Index" property.
6932 2007-11-21 Tambet Ingo <tambet@gmail.com>
6934 * src/nm-serial-device.c:
6935 * src/nm-serial-device.c:
6936 * src/nm-umts-device.c:
6937 * src/nm-umts-device.h: Implement.
6939 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6940 allocated by libhal.
6941 (modem_device_creator): Implement.
6942 (register_built_in_creators): Register the modem creator.
6944 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6945 Remove the unused test_dev argument.
6947 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6949 * src/Makefile.am: Add new files to build.
6950 Link in ppp-manager.
6952 * libnm-util/nm-setting-umts.c:
6953 * libnm-util/nm-setting-umts.h:
6954 * libnm-util/nm-setting-serial.c:
6955 * libnm-util/nm-setting-serial.h: Implement.
6957 * libnm-util/Makefile.am: Add new files to build.
6959 2007-11-28 Dan Williams <dcbw@redhat.com>
6961 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6963 Support DHCP-provided static routes.
6965 * src/nm-ip4-config.h
6967 - Add get/set functions for static routes
6969 * src/dhcp-manager/nm-dhcp-manager.c
6970 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6973 * src/NetworkManagerSystem.c
6974 - (nm_system_device_set_from_ip4_config): set any static routes on the
6975 interface when applying the IP4Config
6977 2007-11-28 Dan Williams <dcbw@redhat.com>
6979 * src/nm-device-802-11-wireless.c
6980 - (real_act_stage1_prepare): mark APs created for hidden networks
6983 2007-11-27 Dan Williams <dcbw@redhat.com>
6985 * system-settings/src/nm-system-config-interface.h
6986 - Note how to store secrets on NMSetting objects
6988 * system-settings/src/dbus-settings.c
6989 - (connection_settings_get_secrets): implement
6991 2007-11-27 Dan Williams <dcbw@redhat.com>
6993 * system-settings/plugins/ifcfg/Makefile.am
6994 system-settings/plugins/ifcfg/parser.c
6995 system-settings/plugins/ifcfg/parser.h
6996 system-settings/plugins/ifcfg/plugin.c
6997 - Parse wireless connections too
6999 * system-settings/src/dbus-settings.c
7000 system-settings/src/dbus-settings.h
7001 system-settings/src/main.c
7002 - Handle connection update/removal if the plugin supports it
7004 2007-11-27 Dan Williams <dcbw@redhat.com>
7006 * src/nm-dbus-manager.h
7007 src/nm-hal-manager.c
7008 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7012 src/NetworkManagerDbusUtils.c
7013 src/NetworkManagerDbusUtils.h
7014 - Remove these two source files; they are unused
7016 2007-11-27 Dan Williams <dcbw@redhat.com>
7018 * src/vpn-manager/nm-vpn-manager.c
7019 - (impl_vpn_manager_connect): fix system settings check (found by
7022 2007-11-26 Dan Williams <dcbw@redhat.com>
7024 * Fix warnings so everything compiles with --enable-more-warnings
7026 2007-11-25 Dan Williams <dcbw@redhat.com>
7029 - Rework structure and code to use GModule-loaded plugins and a plugin
7030 interface that plugins export to the system settings service
7032 2007-11-21 Dan Williams <dcbw@redhat.com>
7035 - Add Soren's system settings service. Needs work for distros other
7036 than Fedora; the backends from NM should mostly migrate to here
7037 and be converted to GObjects
7039 2007-11-21 Dan Williams <dcbw@redhat.com>
7041 * libnm-util/nm-setting-vpn-properties.c
7042 - (set_property): must deep-copy the given settings hash, otherwise
7043 double-free errors occur when the setting is disposed of
7045 2007-11-21 Dan Williams <dcbw@redhat.com>
7047 * src/vpn-manager/nm-vpn-act-request.h
7048 src/vpn-manager/nm-vpn-act-request.c
7051 2007-11-20 Dan Williams <dcbw@redhat.com>
7053 * libnm-util/nm-utils.c
7054 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7055 nm_utils_convert_ip4_addr_struct_array_to_string,
7056 nm_utils_register_value_transformations): print out the readable
7057 values of more types of properties of NMSettings subclasses
7059 2007-11-20 Dan Williams <dcbw@redhat.com>
7061 * libnm-util/nm-setting-ip4-config.c
7062 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7063 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7064 marshal GValueArrays inside collections, so switch to types that it
7065 can actually marshal/demarshal
7067 2007-11-16 Dan Williams <dcbw@redhat.com>
7069 * libnm-util/nm-setting-wireless-security.c
7070 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7071 minimal verification of EAP methods too
7072 - (verify): verify phase1 eap methods too
7074 2007-11-15 Dan Williams <dcbw@redhat.com>
7076 * libnm-glib/nm-device.h
7077 libnm-glib/nm-device.c
7078 - (nm_device_get_product, nm_device_get_vendor): should be returning
7081 2007-11-15 Dan Williams <dcbw@redhat.com>
7083 * libnm-glib/nm-device.c
7084 - (get_product_and_vendor): don't try to free things that should be
7087 2007-11-15 Dan Williams <dcbw@redhat.com>
7089 * src/NetworkManagerUtils.c
7090 - (nm_ethernet_address_is_valid): unbreak previous fix
7092 2007-11-15 Dan Williams <dcbw@redhat.com>
7094 * src/supplicant-manager/nm-supplicant-config.c
7095 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7098 2007-11-15 Dan Williams <dcbw@redhat.com>
7100 * src/NetworkManagerUtils.c
7101 - (nm_ethernet_address_is_valid): fix style, clarify
7102 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7104 * src/nm-device-802-11-wireless.c
7105 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7106 - (nm_device_802_11_wireless_get_ssid,
7107 nm_device_802_11_wireless_get_bssid,
7108 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7109 before calling the ioctl; fixes valgrind-reported jump depends on
7110 uninitialized value errors
7112 2007-11-15 Dan Williams <dcbw@redhat.com>
7114 * libnm-util/nm-setting.c
7115 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7116 unecessary to serialize 'name'
7118 * src/nm-activation-request.c
7119 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7122 2007-11-15 Dan Williams <dcbw@redhat.com>
7124 * libnm-util/nm-setting-connection.h
7125 libnm-util/nm-setting-connection.c
7126 - Rename the 'name' property to 'id', because it conflicted with the
7127 NMSetting superclass' 'name' property.
7129 * libnm-util/nm-setting.c
7130 - (nm_setting_to_hash): serialize the 'name' property
7131 - (one_property_cb): ignore 'name' on deserialization of a connection
7133 * src/nm-device-802-11-wireless.c
7134 src/vpn-manager/nm-vpn-connection.c
7135 src/NetworkManagerPolicy.c
7136 - Fix up for NMSettingConnection 'name'->'id' changes
7138 2007-11-13 Dan Williams <dcbw@redhat.com>
7140 * libnm-glib/nm-device-802-11-wireless.h
7141 libnm-glib/nm-device-802-11-wireless.c
7142 - (nm_device_802_11_wireless_get_hw_address): return should be const
7145 libnm-glib/libnm-glib-test.c
7146 - Fixes for above change
7148 2007-11-12 Dan Williams <dcbw@redhat.com>
7150 * src/supplicant-manager/nm-supplicant-settings-verify.c
7151 - Allow fragment_size option
7153 * src/supplicant-manager/nm-supplicant-settings-verify.c
7154 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7155 EAP fragment size than the default to help some TLS connections
7157 2007-11-12 Dan Williams <dcbw@redhat.com>
7159 Make certs actually work. The private key is now a secret, and should be
7160 decrypted when requested by NM. The private key and phase2 private key
7161 passwords are no longer interesting to NM because they should be used by
7162 the settings service to decrypt the private key itself before passing it
7163 to NM, and hence have been removed as fields.
7165 * libnm-util/nm-setting-wireless-security.h
7166 libnm-util/nm-setting-wireless-security.c
7167 - Remove private-key-passwd and phase2-private-key-passwd from
7169 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7170 need_secrets): use property #defines instead strings to keep things
7172 - (need_secrets_tls): if a client certificate is present but no
7173 private key, request the private key
7174 - (set_property, get_property, nm_setting_wireless_security_class_init):
7175 remove private key password stuff, mark private keys as secret
7177 * src/supplicant-manager/nm-supplicant-settings-verify.c
7178 - Remove private_key_passwd and private_key2_passwd from opt_table
7180 2007-11-09 Dan Williams <dcbw@redhat.com>
7182 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7183 Since the vpn-properties are managed and known by the VPN daemons themselves,
7184 libnm-util doesn't know what's secret and what's in the setting's 'data'
7187 * libnm-util/nm-setting.h
7188 libnm-util/nm-setting.c
7189 - Add the ability for subclasses to override update_one_secret
7191 * libnm-util/nm-setting-vpn-properties.c
7192 - Override update_one_secret and just copy the values into the
7195 2007-11-09 Dan Williams <dcbw@redhat.com>
7197 * libnm-glib/nm-settings.h
7198 libnm-glib/nm-settings.c
7199 - (nm_settings_new_error): remove
7200 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7201 clients should use g_set_error() with NM_SETTINGS_ERROR
7203 2007-11-09 Dan Williams <dcbw@redhat.com>
7205 * src/supplicant-manager/nm-supplicant-config.c
7206 - (nm_supplicant_config_add_setting_wireless_security): private key
7207 passwords are never sent to wpa_supplicant, because the supplicant
7208 should never be reading random files from the disk. Clients like
7209 the applet are required to decrypt the private keys and send NM
7210 the decrypted blobs.
7212 2007-11-08 Dan Williams <dcbw@redhat.com>
7214 * libnm-util/nm-setting-wireless-security.h
7215 libnm-util/nm-setting-wireless-security.c
7216 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7217 members to 802-11-wireless-security structure. This should be used
7218 to indicate that the values in private-key and phase2-private-key
7219 are already decrypted by the user agent, and that no
7220 private-key-passwd or phase2-private-key-passwd should be expected.
7221 It is not meant to be a stored configuration value, but meant to
7222 be set when the conneciton is sent to NM over dbus.
7224 2007-11-08 Dan Williams <dcbw@redhat.com>
7226 * libnm-util/nm-connection.h
7227 libnm-util/nm-connection.c
7228 - (nm_connection_need_secrets): add argument to return hints
7230 * src/nm-device-802-11-wireless.c
7231 - (link_timeout_cb, supplicant_connection_timeout_cb,
7232 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7233 nm_connection_need_secrets() change
7235 2007-11-07 Tambet Ingo <tambet@gmail.com>
7237 Rework NMSetting structures: Move each setting to it's own file.
7238 Convert to GObject. Remove home grown setting types and use GTypes.
7239 Use GObject property introspection for hash conversion, enumerating
7242 * libnm-util/nm-setting-connection.[ch]
7243 * libnm-util/nm-setting-ip4-config.[ch]
7244 * libnm-util/nm-setting-ppp.[ch]
7245 * libnm-util/nm-setting-vpn.[ch]
7246 * libnm-util/nm-setting-vpn-properties.[ch]
7247 * libnm-util/nm-setting-wired.[ch]
7248 * libnm-util/nm-setting-wireless.[ch]
7249 * libnm-util/nm-setting-wireless-security.[ch]
7251 New files, each containing a setting.
7253 * libnm-util/nm-setting-template.[ch]: A template for creating new
7254 settings. To use it, just replace 'template' with the new setting
7255 name, and you're half-way done.
7257 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7258 introspection instead of internal types and tables.
7260 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7262 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7263 GValue types defined by dbus-glib for composed types like collections,
7264 structures and maps.
7266 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7267 a setting from connection takes the setting type now. Also, since
7268 the settings are in multiple files, include relevant settings.
7270 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7273 * src/backends/NetworkManagerGentoo.c:
7274 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7275 providers in Gentoo.
7277 2007-10-31 Dan Williams <dcbw@redhat.com>
7279 * libnm-util/nm-connection.c
7280 - (gvalue_to_string): handle UINT32 arrays
7282 2007-10-31 Dan Williams <dcbw@redhat.com>
7284 * libnm-glib/nm-device.h
7285 libnm-glib/nm-device.c
7286 - (nm_device_get_description): remove
7287 - (nm_device_get_product, nm_device_get_vendor): add
7288 - (nm_device_update_description): new function (private); walk HAL
7289 devices to get product and vendor IDs for a specific device
7291 2007-10-31 Dan Williams <dcbw@redhat.com>
7293 * src/nm-device-802-11-wireless.c
7294 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7296 2007-10-29 Dan Williams <dcbw@redhat.com>
7298 * src/nm-hal-manager.c
7299 - (device_added, device_new_capability): ignore device additions while
7300 asleep. Fixes crash caused when NM goes to sleep, a network device
7301 kernel module is unloaded and reloaded and recognized by NM again.
7303 2007-10-26 Dan Williams <dcbw@redhat.com>
7305 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7307 * src/NetworkManagerAP.c
7308 src/NetworkManagerAP.h
7309 libnm-glib/nm-access-point.c
7310 libnm-glib/nm-access-point.h
7311 - Make 'rate' property a guint32 to better match with WEXT and
7312 wpa_supplicant and to allow representation of higher bitrates
7314 * src/nm-device-802-11-wireless.c
7315 introspection/nm-device-802-11-wireless.xml
7316 libnm-glib/nm-device-802-11-wireless.c
7317 libnm-glib/nm-device-802-11-wireless.h
7318 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7320 * src/nm-device-802-3-ethernet.c
7321 src/nm-device-802-3-ethernet.h
7322 introspection/nm-device-802-3-ethernet.xml
7323 libnm-glib/nm-device-802-3-ethernet.c
7324 libnm-glib/nm-device-802-3-ethernet.h
7325 - Make 'speed' property a guint32 to match other speed/rate types
7326 - Make nm_device_802_3_ethernet_get_speed() static
7329 - Update for the changes above
7331 2007-10-26 Dan Williams <dcbw@redhat.com>
7333 * src/named-manager/nm-named-manager.c
7334 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7335 not calling fclose() twice on some error conditions
7337 2007-10-26 Dan Williams <dcbw@redhat.com>
7339 * src/nm-activation-request.c
7340 - (dispose): clean up indentation; get the right DBusGProxy object to
7341 cancel the GetSecrets pending call on. Need to use the Secrets
7342 proxy, not the regular connection proxy. Otherwise the GetSecrets
7343 pending call doesn't get canceled, and pressing Cancel in the
7344 applet's password dialog could cause get_secrets_cb() to be called
7345 after the activation request has already been destroyed
7347 2007-10-24 Dan Williams <dcbw@redhat.com>
7349 * src/supplicant-manager/nm-supplicant-config.c
7350 - (nm_supplicant_config_add_blob): pass blob data and length for
7352 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7354 2007-10-24 Dan Williams <dcbw@redhat.com>
7356 * src/supplicant-manager/nm-supplicant-settings-verify.c
7357 - (opt_table): max length for certificates should be 65536
7359 2007-10-24 Dan Williams <dcbw@redhat.com>
7361 * src/supplicant-manager/nm-supplicant-interface.c
7362 - (blob_free): correctly free blob data after use
7363 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7365 2007-10-24 Dan Williams <dcbw@redhat.com>
7367 * libnm-util/nm-setting.c
7368 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7369 EAP method need secrets
7371 2007-10-24 Dan Williams <dcbw@redhat.com>
7373 * src/backends/NetworkManagerRedHat.c
7374 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7376 2007-10-23 Dan Williams <dcbw@redhat.com>
7378 * libnm-util/nm-setting.c
7379 libnm-util/nm-setting.c
7380 - (nm_setting_compare): implement
7381 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7382 compare_one_hash_gvalue): compare the contents of a setting
7384 * libnm-util/nm-connection.c
7385 - (nm_connection_compare): implement
7387 2007-10-23 Dan Williams <dcbw@redhat.com>
7389 * src/nm-activation-request.c
7390 - (get_secrets_cb): handle getting a setting back that is more than
7391 just secrets (ie, user changed auth or EAP method or something)
7393 2007-10-23 Dan Williams <dcbw@redhat.com>
7395 * libnm-util/nm-setting.c
7396 libnm-util/nm-setting.h
7397 - (nm_setting_verify): new function; verify one setting
7398 - (nm_settings_verify_all): rename from nm_settings_verify()
7399 - (setting_connection_verify, setting_wireless_verify): allow NULL
7402 * libnm-util/nm-connection.c
7403 - (nm_connection_replace_settings, nm_connection_verify,
7404 nm_connection_new_from_hash): handle nm_settings_verify() rename
7406 2007-10-23 Dan Williams <dcbw@redhat.com>
7408 * src/nm-device-802-11-wireless.c
7409 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7412 2007-10-23 Dan Williams <dcbw@redhat.com>
7414 * src/supplicant-manager/nm-supplicant-settings-verify.c
7415 - eap_allowed, phase2_allowed: harmonize with allowed values from
7418 2007-10-23 Dan Williams <dcbw@redhat.com>
7420 * src/nm-device-802-11-wireless.c
7421 - (real_act_stage2_config): after the first association failure,
7422 if the connection still needs secrets ask the user for them
7423 explicitly. After the fourth association failure due to bad
7424 secrets, fail the connection entirely. Handles the GetSecrets
7425 loop that NM gets into when the provided secrets don't match up
7426 with the connection details.
7428 2007-10-23 Dan Williams <dcbw@redhat.com>
7430 * src/supplicant-manager/nm-supplicant-config.c
7431 - (nm_supplicant_config_add_setting_wireless_security): only add
7432 WPA-specific options when WPA is in use
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): 'password'
7438 secret doesn't need to be unhexified
7440 2007-10-23 Dan Williams <dcbw@redhat.com>
7442 * libnm-util/nm-setting.c
7443 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7444 before trying to do something with it
7446 2007-10-23 Dan Williams <dcbw@redhat.com>
7448 * src/nm-device-802-11-wireless.c
7449 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7451 2007-10-23 Dan Williams <dcbw@redhat.com>
7453 * src/nm-device-802-11-wireless.c
7454 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7455 non-SSID-broadcasting APs
7457 2007-10-23 Dan Williams <dcbw@redhat.com>
7459 * src/NetworkManagerAP.c
7460 - (match_cipher, security_compatible): remove
7461 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7464 2007-10-23 Dan Williams <dcbw@redhat.com>
7466 * libnm-util/nm-utils.c
7467 libnm-util/nm-utils.h
7468 - (nm_utils_ap_security_compatible): common function for checking
7469 whether a specific AP is compatible with an NMConnection
7471 2007-10-23 Dan Williams <dcbw@redhat.com>
7473 * libnm-util/nm-setting.c
7474 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7475 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7476 need_secrets_password, setting_wireless_security_verify): fix
7477 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7478 secrets logic for each supported EAP method
7480 2007-10-23 Dan Williams <dcbw@redhat.com>
7482 * src/supplicant-manager/nm-supplicant-config.c
7483 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7484 config option name, should be "private_key2_passwd"
7486 2007-10-22 Tambet Ingo <tambet@gmail.com>
7488 Implement support for static IP addresses, additional/overridden DNS and
7489 DNS domain search lists.
7491 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7492 (ip4_addresses_to_gvalue): Implement.
7493 (convert_array_to_byte_array): Implement.
7494 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7495 NM_S_TYPE_IP4_ADDRESSES.
7496 (nm_setting_hash): Ditto.
7497 (default_setting_clear_secrets): Add a default case for the switch: IP address
7498 shouldn't be secret, ever.
7499 (setting_ip4_config_verify): Update, requires addresses in case of manual
7501 (setting_ip4_config_destroy): Free stuff.
7503 * src/nm-device.c (merge_ip4_config): Implement.
7504 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7506 2007-10-22 Dan Williams <dcbw@redhat.com>
7508 * libnm-util/nm-setting.c
7509 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7510 pairwise cipher options for Dynamic WEP
7512 2007-10-21 Dan Williams <dcbw@redhat.com>
7514 * src/NetworkManagerAP.c
7515 src/NetworkManagerAP.h
7516 - Rename 'articifical' -> 'fake' since that's what they are until
7518 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7519 from the attributes in an NMConnection object
7520 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7522 - (nm_ap_match_in_list): find a matching AP in a scan list
7524 * src/nm-device-802-11-wireless.c
7525 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7526 AP when searching the scan list; match on frequency and mode too
7527 - (nm_device_802_11_wireless_get_frequency): implement
7528 - (merge_scanned_ap): replace duplicate matching logic with
7529 nm_ap_match_in_list()
7530 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7531 the user is trying to connect to a hidden network that is not yet
7532 known from the scan list
7533 - (activation_success_handler): now that the card knows the AP's BSSID,
7534 there may already be a scanned AP in the scan list that is what
7535 we really wanted to connect to, but didn't know at the time. Use
7536 that instead of the 'fake' AP created at activation start and get
7537 rid of the 'fake' AP
7538 - (cull_scan_list): don't remove fake APs
7540 2007-10-21 Dan Williams <dcbw@redhat.com>
7542 * src/nm-activation-request.h
7543 src/nm-activation-request.c
7544 - (nm_act_request_set_specific_object): new function; allow setting the
7545 specific object if one isn't set yet
7547 2007-10-20 Dan Williams <dcbw@redhat.com>
7549 * src/supplicant-manager/nm-supplicant-config.h
7550 src/supplicant-manager/nm-supplicant-config.c
7551 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7552 table to store blobs
7553 - (nm_supplicant_config_add_blob): new function; add blob to internal
7555 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7556 - (nm_supplicant_config_add_setting_wireless_security): handle
7557 options that use certificates (ie, blobs)
7559 * src/nm-device-802-11-wireless.c
7560 - (build_supplicant_config): pass a UID (just use the connection path)
7561 to the supplicant config as now required
7563 * src/supplicant-manager/nm-supplicant-interface.c
7564 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7565 there are any blobs to send to wpa_supplicant, send those first
7566 before sending the network configuration
7568 2007-10-19 Dan Williams <dcbw@redhat.com>
7570 Split the GetSecrets() call off to a separate D-Bus interface so that it
7571 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7572 should be able to call GetSecrets().
7574 * include/NetworkManager.h
7575 - Define the connection secrets D-Bus interface
7577 * src/vpn-manager/nm-vpn-connection.c
7578 - (clear_need_auth): get the right proxy object for the connection
7580 - (get_connection_secrets): use the connection secrets proxy; send
7581 empty hints in get secrets request
7583 * src/nm-activation-request.c
7584 - (nm_act_request_request_connection_secrets): use the connection
7585 secrets proxy; send empty hints in get secrets request
7589 - (connection_get_settings_cb): set the connection secrets proxy on
7590 the connection object too
7591 - (internal_new_connection_cb): create the connection secrets proxy
7593 * introspection/nm-settings-connection.xml
7594 - Define Connection.Secrets interface and move GetSecrets there
7595 - Add a 'hints' argument to GetSecrets
7597 * libnm-glib/nm-settings.c
7598 libnm-glib/nm-settings.h
7599 - (impl_connection_settings_get_secrets): add 'hints' argument
7601 2007-10-19 Dan Williams <dcbw@redhat.com>
7604 - (constructor): add message about what path a device is exported as
7605 to help in debugging rh #339011
7607 2007-10-17 Dan Williams <dcbw@redhat.com>
7609 * libnm-util/nm-utils.h
7610 libnm-util/nm-utils.c
7611 - (nm_utils_security_valid): common function to help find the intersection
7612 of capabilities of devices and (optionally) access points
7614 2007-10-17 Dan Williams <dcbw@redhat.com>
7616 * src/nm-device-802-11-wireless.c
7617 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7618 don't get erroneously cleared
7620 2007-10-17 Dan Williams <dcbw@redhat.com>
7624 src/nm-hal-manager.c
7625 - (device_removed, finalize, nm_manager_remove_device,
7626 nm_manager_sleep): add a 'deactivate' argument to
7627 nm_manager_remove_device() to fully deactivate devices when necessary
7628 (ie, always except when waking up)
7630 2007-10-16 Dan Williams <dcbw@redhat.com>
7632 * libnm-util/nm-setting.c
7633 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7634 also isn't valid phase2 autheap method
7636 2007-10-16 Dan Williams <dcbw@redhat.com>
7638 * libnm-glib/nm-client.c
7639 - (update_wireless_status): consolidate updates of wireless status
7640 - (constructor): use update_wireless_status()
7641 - (manager_running): set wireless status off when NM goes away; requery
7642 the wireless status when NM comes back
7644 2007-10-16 Dan Williams <dcbw@redhat.com>
7646 * libnm-glib/nm-client.c
7647 - (nm_client_activate_device): actually use the fixed-up specific
7650 2007-10-16 Dan Williams <dcbw@redhat.com>
7652 * src/nm-hal-manager.c
7653 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7654 killswitch error messages once
7656 2007-10-16 Dan Williams <dcbw@redhat.com>
7659 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7660 if it's disabled in hardware; don't touch network devices while
7663 2007-10-16 Dan Williams <dcbw@redhat.com>
7665 * libnm-util/nm-client.c
7666 - (nm_client_activate_device): convert NULL specific_object to "/",
7667 which is used in place of NULL
7670 - (impl_manager_activate_device): convert "/" specific_object back into
7673 2007-10-16 Tambet Ingo <tambet@gmail.com>
7675 Implement a generic NMSetting creator from setting name.
7676 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7677 add a virtual function 'populate_fn'.
7679 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7680 (register_default_creators): Register setting creators instead of functions
7681 that create and then populate.
7682 (parse_one_setting): Use the common setting creator and then setting specific
7683 poplulation function.
7685 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7686 they all looked exactly the same.
7687 Add a 'populate_fn' virtual function to NMSetting.
7688 Use default virtual functions in case they are not overriden.
7689 (nm_setting_populate_from_hash): Implement.
7691 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7692 name, use a defined string.
7693 (real_act_stage4_get_ip4_config): Ditto.
7695 2007-10-16 Tambet Ingo <tambet@gmail.com>
7697 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7698 HAL is int, not uint.
7700 2007-10-15 Tambet Ingo <tambet@gmail.com>
7702 Implement killswitch polling through HAL.
7704 * src/nm-manager.c: Add wireless hardware status property. Add
7705 'properties-changed' signal for changes in wireless and wireless hardware
7708 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7709 and update NMManager's wireless hardware state when it has changed.
7710 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7713 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7714 values of wireless state and wireless hardware state. Listen for the
7715 'properties-changed' signals, update the cached values and emit notify.
7717 * include/NetworkManager.h: Fix a typo in a comment.
7719 2007-10-14 Dan Williams <dcbw@redhat.com>
7721 * libnm-util/nm-setting.c
7722 - (setting_wireless_security_need_secrets): handle LEAP secrets
7724 2007-10-13 Dan Williams <dcbw@redhat.com>
7726 * libnm-util/nm-setting.h
7727 libnm-util/nm-setting.c
7728 src/supplicant-manager/nm-supplicant-config.c
7729 - Make the 'proto' field of the 802-11-wireless-security field a
7732 2007-10-12 Tambet Ingo <tambet@gmail.com>
7734 Rework the "properties-changed" signal listening implementation.
7735 Add a generic implementation to NMObject class that listens for
7736 the signal and calls property setters of the target NMObject.
7738 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7740 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7741 code to the end of file so that all the static functions are available
7742 without extra declarations.
7743 Remove the "properties-changed" signal handling and use the framework from
7745 Implement property setters for properties that change with
7746 "properties-changed" signal.
7748 * libnm-glib/nm-access-point.c: Ditto.
7750 2007-10-12 Tambet Ingo <tambet@gmail.com>
7752 Rework the "properties-changed" signal implementation.
7753 In classes that need to use it, just emit "GObject::notify" and the new
7754 framework takes care of the rest to make the signal available on dbus.
7755 The framework queues the notifications and tries to send as many together
7756 in one signal as possible.
7758 * src/nm-properties-changed-signal.c:
7759 * src/nm-properties-changed-signal.h: Implement.
7761 * src/Makefile.am: Add new files to build.
7763 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7766 * src/nm-device-802-11-wireless.c: Ditto.
7768 2007-10-10 Dan Williams <dcbw@redhat.com>
7771 - (wait_for_connection_expired): ensure info is valid
7772 - (connection_added_default_handler): Should only remove pending
7773 connection info when the manager has the connection that it's
7774 waiting for. Fixes segfault in wait_for_connection_info().
7776 2007-10-10 Dan Williams <dcbw@redhat.com>
7778 * libnm-util/nm-setting.c
7779 libnm-util/nm-setting.h
7780 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7781 can use if they choose. Should be filled in by the settings service
7782 on-the-fly with the currently logged in user's username
7784 2007-10-10 Dan Williams <dcbw@redhat.com>
7786 * src/nm-device-802-11-wireless.c
7787 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7788 as such, because even if the manager fills in the SSID, NM still
7789 has to indicate to wpa_supplicant that the AP isn't broadcasting
7792 2007-10-10 Tambet Ingo <tambet@gmail.com>
7794 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7795 code that used NM's own version of dbus signal handling and custom dictionary
7796 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7797 and we get to maintain over 2000 lines less code.
7799 * libnm-util/dbus-dict-helpers.c:
7800 * libnm-util/dbus-dict-helpers.h: Remove.
7802 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7804 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7806 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7809 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7811 * configure.in: Remove test/libnm-util/Makefile creation.
7813 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7815 * test/libnm-util/: Remove the whole directory.
7817 2007-10-10 Tambet Ingo <tambet@gmail.com>
7819 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7820 device_state_changed_idle_id variable or it would contain some random value and the
7821 schedule_change_check calls would not do anything.
7823 2007-10-09 Dan Williams <dcbw@redhat.com>
7825 * src/nm-device-802-11-wireless.c
7826 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7827 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7828 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7829 merging of non-SSID-broadcasting APs
7831 2007-10-09 Tambet Ingo <tambet@gmail.com>
7833 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7834 "guint8 *" since it's usually used with GByteArray->data.
7835 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7837 2007-10-09 Tambet Ingo <tambet@gmail.com>
7839 * src/NetworkManagerUtils.c
7840 (nm_utils_is_empty_ssid):
7841 (nm_utils_escape_ssid):
7842 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7843 lot of places, so they belong to libnm-utils instead.
7845 Now with 100% less compiler warnings:
7847 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7848 (nm_dbus_unescape_object_path): Ditto.
7849 (nm_utils_ssid_to_utf8): Ditto.
7850 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7851 (nm_utils_escape_ssid): Ditto.
7852 (nm_utils_same_ssid): Ditto.
7854 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7855 (add_one_connection_element): Remove an unused variable.
7856 (impl_manager_get_active_connections): Ditto.
7858 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7861 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7862 from the previous commit.
7864 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7865 (real_act_stage1_prepare): Ditto.
7866 (activation_success_handler): Ditto.
7867 (get_property): Ditto.
7869 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7872 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7875 * src/supplicant-manager/nm-supplicant-config.c
7876 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7877 to expected "char *".
7878 (nm_supplicant_config_add_setting_wireless): Ditto.
7879 (nm_supplicant_config_remove_option): Remove, not used.
7881 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7883 (test_wireless_enabled): Ifdef out unused function.
7884 (device_deactivate): Ditto.
7885 (device_state_changed): Ditto.
7886 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7887 (nm_utils_escape_ssid): Ditto.
7889 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7890 (nm_utils_is_empty_ssid): Ditto.
7892 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7895 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7896 (setting_vpn_properties_update_secrets): Ditto.
7897 (int_to_gvalue): Ifdef out for now, not used.
7898 (byte_to_gvalue): Ditto.
7900 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7903 2007-10-08 Tambet Ingo <tambet@gmail.com>
7905 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7906 about dbus manager, not named manager.
7907 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7909 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7910 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7911 However, the same signal is emitted when we destroy it and there's
7912 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7914 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7915 releasing the DBusGConnection, since proxy needs a conneciton.
7916 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7918 2007-10-08 Dan Williams <dcbw@redhat.com>
7920 * src/NetworkManager.c
7921 - (main): error on unknown command-line options
7923 2007-10-08 Dan Williams <dcbw@redhat.com>
7925 Reimplement the invalid connection list. Don't try to re-activate a
7926 connection that just failed or was canceled.
7929 - (connection_secrets_failed_cb): fail device activation, don't just
7930 deactivate the device. Listeners have to know about the failure.
7932 * src/NetworkManagerPolicy.c
7933 - (nm_policy_auto_get_best_device): exclude invalid connections from
7934 the connection list given to a device's get_best_connection()
7936 - (device_state_changed): tag failed connections as invalid; clear the
7937 tag from successful connections
7939 2007-10-08 Dan Williams <dcbw@redhat.com>
7941 Fix problems with interrupted activation. Previously, choosing an AP
7942 from the menu, then choosing another one before the first connection was
7943 successful wouldn't deactivate the device before starting the new connection
7944 on that same device.
7946 * src/NetworkManagerPolicy.c
7947 - (deactivate_old_device, device_state_changed, state_changed,
7948 nm_policy_new): wrong place to deactivate old devices
7951 - (pending_connection_info_destroy, finalize,
7952 wait_for_connection_expired): decouple destruction of the pending
7953 connection info from the manager device
7954 - (connection_added_default_handler): deactivate any active or
7955 activating device before starting a new activation
7956 - (impl_manager_activate_device): deactivate any active or activating
7957 device before starting a new activation; be sure not to leak
7958 pending connection info if a new activation request arrives but
7959 there's already a pending one in-process
7961 2007-10-08 Dan Williams <dcbw@redhat.com>
7963 * src/NetworkManagerAP.h
7964 src/NetworkManagerAP.c
7965 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7966 should handle default SSIDs and whether or not to autoconnect
7969 2007-10-08 Dan Williams <dcbw@redhat.com>
7971 * src/NetworkManagerPolicy.c
7972 - (nm_policy_device_change_check): print out connection name where
7975 2007-10-08 Dan Williams <dcbw@redhat.com>
7977 * src/nm-device-802-11-wireless.c
7978 src/nm-device-802-11-wireless.h
7979 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7980 'hidden-ap-found' signal (for internal use only) that allows the
7981 NMManager to fill in the AP's SSID if a connection has that AP's
7982 BSSID in its seen-bssids list
7985 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7986 wireless device's hidden-ap-found signal and fill in the APs SSID
7989 2007-10-07 Dan Williams <dcbw@redhat.com>
7993 - Add a 'connections-added' signal to batch together updates of large
7994 numbers of connections, like when reading from a settings service
7995 the first time. Otherwise, the policy would just activate the first
7996 suitable connection it saw rather than waiting for the full list
7998 - (nm_manager_class_init): register new signal
7999 - (get_type_for_proxy, connection_get_settings_cb,
8000 get_connection_for_proxy): centralize places where a proxy's setting
8001 service is determined
8002 - (free_get_settings_info): if the call being freed is the last call
8003 in a pending call group, fire off the connections-added signal
8004 - (internal_new_connection_cb): add call to a pending call group if
8006 - (list_connections_cb): always create a call group here, because this
8007 call results in a batch of new connections
8008 - (initial_get_connections): start getting system connections first
8009 - (nm_manager_connections_destroy, emit_removed): actually emit the
8010 removed signal when destroying connections
8012 * src/NetworkManagerPolicy.c
8013 - (nm_policy_new, connections_added): handle connections-added signal
8016 2007-10-06 Dan Williams <dcbw@redhat.com>
8018 * src/nm-device-802-11-wireless.c
8019 - (constructor): fix leaked socket
8021 2007-10-06 Dan Williams <dcbw@redhat.com>
8023 * src/NetworkManagerPolicy.c
8024 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8025 connection in the list returned by nm_manager_get_connections() is
8026 reffed, but they weren't getting unreffed before returning
8028 2007-10-06 Dan Williams <dcbw@redhat.com>
8031 - (connections_to_slist): sort connections first on autoconnect, then
8034 2007-10-06 Dan Williams <dcbw@redhat.com>
8036 * libnm-util/nm-connection.c
8037 - (gvalue_to_string): handle UINT64
8039 2007-10-06 Dan Williams <dcbw@redhat.com>
8041 * src/NetworkManagerPolicy.c
8042 - (connection_updated, nm_policy_new): recheck state when a connection
8045 2007-10-06 Dan Williams <dcbw@redhat.com>
8049 - (nm_manager_get_connection_dbus_path): make static
8050 - (nm_manager_update_connections): remove; unused
8051 - Add a connection-updated signal
8052 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8053 handle connection object updates
8055 2007-10-06 Dan Williams <dcbw@redhat.com>
8057 * src/NetworkManagerPolicy.c
8058 - (connection_removed): deactivate removed connections
8060 2007-10-06 Dan Williams <dcbw@redhat.com>
8062 * libnm-util/nm-connection.c
8063 libnm-util/nm-connection.h
8064 - (nm_connection_replace_settings): new function
8066 2007-10-06 Dan Williams <dcbw@redhat.com>
8068 * libnm-glib/nm-device-802-11-wireless.c
8069 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8070 on error when getting the active access point over D-Bus from NM
8072 2007-10-05 Dan Williams <dcbw@redhat.com>
8074 * libnm-util/nm-setting.c
8075 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8076 to the NMSettingWireless table; it's now a string array not an array
8079 2007-10-05 Dan Williams <dcbw@redhat.com>
8081 * libnm-glib/nm-device-802-11-wireless.c
8082 - Cache properties and update cached properties on D-Bus signals from NM
8084 2007-10-05 Dan Williams <dcbw@redhat.com>
8086 * src/nm-device-802-11-wireless.c
8087 - (set_current_ap): consolidate current_ap handling code into one place
8088 to ensure that PropertiesChanged signals are emitted in all cases
8089 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8090 nm_device_802_11_wireless_dispose): use set_current_ap()
8092 2007-10-05 Dan Williams <dcbw@redhat.com>
8094 * libnm-glib/nm-access-point.c
8095 libnm-glib/nm-access-point.h
8096 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8097 because the value is cached internally now. Callers should not
8098 free the internal value.
8099 - Make signal name defines private
8102 libnm-glib/libnm-glib-test.c
8103 - Don't free value returned from nm_access_point_get_hw_address()
8105 2007-10-04 Dan Williams <dcbw@redhat.com>
8107 * introspection/nm-device-802-11-wireless.xml
8108 src/nm-device-802-11-wireless.h
8109 src/nm-device-802-11-wireless.c
8110 - Add a PropertiesChanged signal for wireless device
8111 - Store currently associated access point
8112 - (periodic_update): generalize; update rate here too and emit the
8113 correct PropertiesChanged signal when stuff changes
8114 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8115 real_activation_cancel_handler): clear current_ap when device is
8117 - (link_to_specific_ap, get_ap_blacklisted,
8118 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8120 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8122 - (real_set_hw_address): emit property changed signal if the card's
8124 - (real_act_stage1_prepare): set the initial current_ap to the AP
8125 the card is supposed to be connecting to
8126 - (activation_success_handler): send out property updates on successful
8128 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8129 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8130 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8131 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8132 is now boxed; add PropertiesChanged signal
8134 2007-10-04 Dan Williams <dcbw@redhat.com>
8136 * libnm-util/nm-connection.c
8137 libnm-util/nm-connection.h
8138 - (nm_connection_verify): new function
8140 2007-10-04 Dan Williams <dcbw@redhat.com>
8142 * libnm-util/nm-setting.c
8143 - (nm_settings_verify): use #defines when possible rather than strings
8144 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8145 - (setting_vpn_verify): tighter validity check on 'service_type'
8147 2007-10-04 Dan Williams <dcbw@redhat.com>
8149 * libnm-glib/nm-settings.c
8150 - (nm_connection_settings_class_init): provide correct type for argument
8151 to the Updated signal so that dbus-glib knows how to marshal it
8153 2007-10-03 Dan Williams <dcbw@redhat.com>
8155 * src/nm-device-802-3-ethernet.c
8156 - (real_get_best_connection): don't create automatic connections
8157 internally; clients should provide a setting that applies to
8158 the device with 'autoconnect: True'. Problem was that these
8159 internally auto-created connections don't have a proxy or service
8160 name becuase they weren't created by a settings daemon, and therefore
8161 clients have no idea what to do with them.
8163 2007-10-03 Dan Williams <dcbw@redhat.com>
8165 * src/nm-device-802-11-wireless.c
8166 src/nm-device-802-11-wireless.h
8167 introspection/nm-device-802-11-wireless.xml
8168 - GetActiveNetworks -> GetAccessPoints
8169 - ActiveNetwork -> ActiveAccessPoint
8170 - NetworkAdded -> AccessPointAdded
8171 - NetowrkRemoved -> AccessPointRemoved
8173 * libnm-glib/nm-device-802-11-wireless.c
8174 libnm-glib/nm-device-802-11-wireless.h
8175 - network-added signal -> access-point-added
8176 - network-removed signal -> access-point-removed
8177 - nm_device_802_11_wireless_get_active_network() ->
8178 nm_device_802_11_wireless_get_active_access_point()
8179 - nm_device_802_11_wireless_get_network_by_path() ->
8180 nm_device_802_11_wireless_get_access_point_by_path()
8181 - nm_device_802_11_wireless_get_networks() ->
8182 nm_device_802_11_wireless_get_access_points()
8184 * libnm-glib/libnm-glib-test.c
8186 src/NetworkManagerPolicy.c
8187 - Fixups for Network -> AccessPoint
8189 2007-10-03 Dan Williams <dcbw@redhat.com>
8191 Add a GetActiveConnections() method on the Manager object.
8195 introspection/nm-manager.xml
8196 - (connection_get_settings_cb): keep connection type around too
8197 - (impl_manager_get_active_connections, add_one_connection_element):
8198 implement; returns all active connections and what devices they
8201 * libnm-glib/nm-client.c
8202 libnm-glib/nm-client.h
8203 introspection/nm-manager-client.xml
8204 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8205 by the caller; free here to avoid memory leak
8206 - (nm_client_get_active_connections): implement; return the list of
8208 - (nm_client_free_active_connection_element): implement; free an element
8209 of the GSList returned by nm_client_get_active_connections()
8211 2007-10-03 Dan Williams <dcbw@redhat.com>
8213 * src/nm-device-802-11-wireless.c
8214 - (nm_device_802_11_wireless_update_bssid): remove
8215 - (get_active_ap): new function; find the AP in the scan list which
8216 matches the current BSSID and SSID of the wireless device
8217 - (nm_device_802_11_periodic_update): get current AP using
8218 get_active_ap() and print AP roam messages
8220 2007-10-01 Dan Williams <dcbw@redhat.com>
8222 * libnm-util/nm-setting.h
8223 - Add a 'timestamp' option to NMSettingConnection
8226 * libnm-util/nm-setting.c
8227 - (uint64_to_gvalue): new function
8228 - (nm_setting_populate_from_hash, nm_setting_hash,
8229 default_setting_clear_secrets): handle UINT64 type
8230 - con_table: add 'timestamp' member
8232 2007-10-01 Dan Williams <dcbw@redhat.com>
8235 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8236 value when the connection can be activated immediately
8238 2007-10-01 Dan Williams <dcbw@redhat.com>
8240 * libnm-glib/nm-device.c
8241 - (nm_device_class_init): actually tell glib about the carrier-changed
8244 2007-10-01 Dan Williams <dcbw@redhat.com>
8247 src/marshallers/Makefile.am
8248 src/marshallers/nm-marshal.list
8249 src/marshallers/nm-marshal-main.c
8250 - Consolidate glib marshallers into one place
8252 * src/dhcp-manager/Makefile.am
8253 src/dhcp-manager/nm-dhcp-manager.c
8254 src/supplicant-manager/Makefile.am
8255 src/supplicant-manager/nm-supplicant-manager.c
8256 src/supplicant-manager/nm-supplicant-interface.c
8257 src/ppp-manager/Makefile.am
8258 src/ppp-manager/nm-ppp-manager.c
8259 src/vpn-manager/Makefile.am
8260 src/vpn-manager/nm-vpn-connection.c
8262 - Use consolidated marshallers
8264 * src/dhcp-manager/nm-dhcp-marshal.list
8265 src/dhcp-manager/nm-dhcp-marshal-main.c
8266 src/supplicant-manager/nm-supplicant-marshal-main.c
8267 src/supplicant-manager/nm-supplicant-marshal.list
8268 src/nm-marshal-main.c
8270 src/ppp-manager/nm-ppp-marshal-main.c
8271 src/ppp-manager/nm-ppp-marshal.list
8272 src/vpn-manager/nm-vpn-marshal-main.c
8273 src/vpn-manager/nm-vpn-marshal.list
8276 2007-10-01 Dan Williams <dcbw@redhat.com>
8278 * include/NetworkManagerVPN.h
8279 - define VPN connection state change reason codes
8281 * src/vpn-manager/Makefile.am
8282 src/vpn-manager/nm-vpn-marshal.list
8283 src/vpn-manager/nm-vpn-marshal-main.c
8284 - Add marshallers for StateChanged signal
8286 * introspection/nm-vpn-connection.xml
8287 - New Banner property
8288 - StateChanged signal now includes a 'reason' argument
8290 * src/vpn-manager/nm-vpn-connection.c
8291 src/vpn-manager/nm-vpn-connection.h
8292 - Add a "Banner" property that contains the returned VPN server login
8293 banner (if any); valid only in the ACTIVATED state
8294 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8295 a 'reason' argument and emits that reason along with the
8296 state-changed signal
8297 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8298 - (nm_vpn_connection_ip4_config_get): save banner for later
8299 - (nm_vpn_connection_get_banner, get_property,
8300 nm_vpn_connection_class_init): implement Banner property
8302 * src/vpn-manager/nm-vpn-service.c
8303 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8304 connection list because elements may get added/removed from it
8305 while iterating over the list
8306 - (connection_state_changed): signal now includes the 'reason' argument
8308 * libnm-glib/nm-vpn-connection.c
8309 libnm-glib/nm-vpn-connection.h
8310 - (nm_vpn_connection_get_banner): new function
8311 - (state_changed_proxy): handle reason argument
8313 2007-09-28 Tambet Ingo <tambet@gmail.com>
8317 Implement device activation through NMManager.
8318 Implement "pending device activation" here - If the connection isn't found,
8319 we try to wait for up to 5 seconds for the connection to be provided.
8320 Add NMConnectionType argument to "connection-added" and "connection-removed"
8322 (nm_manager_get): Remove. Finally.
8324 * src/nm-activation-request.c:
8325 * src/nm-activation-request.h:
8326 Remove all the deferred activation code.
8328 * src/nm-device.c: Remove all the deferred activation code. Once the device
8329 activation is started, it's started. Update the activation virtual function
8332 * src/nm-device-interface.c:
8333 * src/nm-device-interface.h:
8334 Device activation now takes only NMActRequest argument.
8335 Don't expose device activation directly on dbus, it's supposed to go through
8338 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8340 Use the new device activation methods through NMManager.
8342 * introspection/nm-manager-client.xml:
8343 * introspection/nm-manager.xml:
8344 * libnm-glib/nm-client.c:
8345 * libnm-glib/nm-client.h:
8346 Add device activation method.
8348 * libnm-glib/nm-device.c:
8349 * libnm-glib/nm-device.h:
8350 * introspection/nm-device.xml:
8351 Remove device activation method. It's done through NMManager now.
8353 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8354 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8356 2007-09-28 Dan Williams <dcbw@redhat.com>
8358 * libnm-glib/nm-vpn-connection.c
8359 - (nm_vpn_connection_get_state): try to update state if the current
8362 2007-09-27 Dan Williams <dcbw@redhat.com>
8364 Patch from Bill Nottingham
8366 * src/supplicant-manager/nm-supplicant-config.c
8367 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8368 data to the supplicant
8370 2007-09-27 Dan Williams <dcbw@redhat.com>
8372 * src/NetworkManagerSystem.c
8373 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8374 and all address manipulation here should be happening on the
8375 _VPN_ device, not the active device
8377 2007-09-26 Dan Williams <dcbw@redhat.com>
8381 src/nm-activation-request.c
8382 src/nm-activation-request.h
8383 - Move the GetSecrets stuff out of the NMManager instance because it
8384 doesn't really need to be there and complicates things
8387 - (connection_secrets_failed_cb, device_activation_go): connect to the
8388 connection-secrets-failed signal and deactivate the device if
8389 the GetSecrets call fails
8391 * src/nm-device-802-11-wireless.c
8392 - (link_timeout_cb, supplicant_connection_timeout_cb,
8393 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8394 secrets and give correct hints about whether new secrets should be
8395 asked for by the client or not
8397 2007-09-26 Dan Williams <dcbw@redhat.com>
8399 * src/vpn-manager/nm-vpn-connection.c
8400 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8401 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8402 to the secrets-updated signal of the NMConnection since updating
8403 the secrets is done within the scope of the NMVPNConnection object
8405 - (get_connection_secrets): fix an uninialized variable usage error
8407 2007-09-26 Dan Williams <dcbw@redhat.com>
8409 * libnm-util/nm-setting.c
8410 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8411 actually get updated when the user enters them
8413 2007-09-26 Dan Williams <dcbw@redhat.com>
8415 * libnm-glib/nm-vpn-plugin.c
8416 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8418 2007-09-26 Dan Williams <dcbw@redhat.com>
8420 * include/NetworkManagerVPN.h
8421 - Add a NEED_AUTH state
8423 * src/vpn-manager/nm-vpn-connection.c
8424 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8425 the connection needs secrets, and if so, then ask the settings
8426 service to fill in the secrets. Then start the connection.
8428 2007-09-26 Dan Williams <dcbw@redhat.com>
8430 * src/vpn-manager/nm-vpn-manager.c
8431 - (new_vpn_error, impl_vpn_manager_connect): set errors
8433 2007-09-26 Dan Williams <dcbw@redhat.com>
8435 * introspection/nm-vpn-plugin.xml
8436 libnm-glib/nm-vpn-plugin.c
8437 libnm-glib/nm-vpn-plugin.h
8438 - (impl_vpn_plugin_need_secrets): implement a call that should return
8439 the name of the NMSetting in an NMConnection that may require
8440 secrets specific to that VPN plugin
8442 2007-09-26 Dan Williams <dcbw@redhat.com>
8446 - (nm_manager_get_connection_secrets): make static, unused outside
8448 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8450 2007-09-26 Tambet Ingo <tambet@gmail.com>
8452 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8454 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8455 unreference the connection.
8457 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8458 passing properties hash and routes string list, pass NMConnection (in hashed form).
8460 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8461 as GSList, no need to copy stuff around anymore.
8462 (nm_vpn_connection_activate): Update the plugin activation method.
8464 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8465 routes argument to GSList.
8467 2007-09-26 Tambet Ingo <tambet@gmail.com>
8469 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8470 state and try to get the secrets.
8472 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8473 connections from NMManager and let the device to choose the best from the list.
8474 Since the connection list is sorted by system ones first and user ones later,
8475 the devices still prefer system connections like they did before.
8476 (deactivate_old_device): Implement. When a device starts activation, we have a
8477 policy (for now at least) to deactivate any other device that might be either
8478 active or still activating.
8480 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8481 It's set on construction, there will be no other way to access it.
8483 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8484 device events and drive the device, not the other way around.
8486 * src/nm-device-802-3-ethernet.c: Ditto.
8488 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8489 sent along, pass it on to virtual functions.
8491 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8492 for now, but should really be public instead of nm_device_get_iface() since iface
8493 is a property of the DeviceInterface, not Device.
8494 (impl_device_activate): Don't touch NMManager!
8496 2007-09-26 Jürg Billeter <j@bitron.ch>
8498 * initscript/paldo/NetworkManager.in:
8499 * initscript/paldo/NetworkManagerDispatcher.in:
8500 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8501 (nm_system_flush_loopback_routes): update paldo backend
8503 2007-09-26 Tambet Ingo <tambet@gmail.com>
8505 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8506 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8507 which means none of the devices get brought down properly, which in turn leaves
8508 DHCP client running.
8510 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8511 (supplicant_connection_timeout_cb): Ditto.
8513 2007-09-25 Dan Williams <dcbw@redhat.com>
8516 - (device_activation_go): small hack to work around race when
8517 activating deferred connections; should solve this in a better way
8519 2007-09-25 Dan Williams <dcbw@redhat.com>
8521 * introspection/nm-device.xml
8522 libnm-glib/nm-device.c
8523 libnm-glib/nm-device.h
8524 - Add 'Carrier' property to exported NMDevice objects
8526 * src/nm-device-interface.h
8527 src/nm-device-interface.c
8529 - Add a 'carrier' property to internal NMDevice objects
8531 2007-09-25 Dan Williams <dcbw@redhat.com>
8533 * src/nm-device-802-11-wireless.c
8534 - (ap_auth_enforced): also return the encryption status of the AP so
8535 that callers can differentiate easily between unencrypted APs
8536 and encrypted ones, in addition to whether the AP has an
8538 - (link_timeout_cb, supplicant_connection_timeout_cb,
8539 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8540 previously would request secrets from unencrypted APs at times
8542 2007-09-25 Dan Williams <dcbw@redhat.com>
8545 - (nm_manager_update_state): new function; updates state and emits
8546 appropriate signals ensuring a state-change signal for the same state
8547 never gets emitted twice in a row.
8548 - (manager_device_state_changed): handle more device state to get a
8549 better picture of the overall NM state
8551 2007-09-25 Dan Williams <dcbw@redhat.com>
8553 * libnm-glib/nm-settings.c
8554 libnm-glib/nm-settings.h
8555 - (new_error -> nm_settings_new_error): make public so that subclasses
8556 can use the same error domain. Also pass a valid error code to
8557 g_error_new_literal() so that libdbus doesn't assert when converting
8558 the GError into a DBusError
8559 - (impl_settings_list_connections, impl_connection_settings_get_id,
8560 impl_connection_settings_get_settings,
8561 impl_connection_settings_get_secrets): use new error creator
8564 2007-09-25 Dan Williams <dcbw@redhat.com>
8566 * src/NetworkManager.c
8567 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8569 2007-09-25 Dan Williams <dcbw@redhat.com>
8571 * src/supplicant-manager/nm-supplicant-manager.c
8572 - (poke_supplicant_cb, nm_supplicant_manager_init,
8573 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8574 nm_supplicant_manager_startup): when the supplicant isn't running,
8575 try to start it periodically via system bus activation. Fixes
8576 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8577 for the supplicant to come back
8579 2007-09-25 Dan Williams <dcbw@redhat.com>
8581 Ensure that old activation requests are forgotten about; previously
8582 hitting Cancel in the password dialog would deactivate whatever device
8583 that password was requested for, even if that wasn't the currently
8584 activating connection.
8588 - (nm_manager_get_connection_secrets): track the pending call
8589 object so it can be canceled later if needed
8590 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8591 GetSecrets call for a particular connection
8593 * src/nm-activation-request.c
8594 - (dispose): cancel any outstanding GetSecrets calls on the
8597 2007-09-25 Dan Williams <dcbw@redhat.com>
8599 * src/NetworkManagerPolicy.c
8600 - (nm_policy_device_change_check): handle devices that have a
8601 deferred activation. These devices are not really active _yet_,
8602 but need to be treated as such here. Don't interrupt them
8605 * src/nm-device-interface.c
8606 - (impl_device_activate): handle devices that have a deferred activation
8607 like activating or active devices. When multiple active devices
8608 get committed, the device shouldn't be deactivated until the
8609 connection details are available to avoid DoS and such. Currently,
8610 any active, activating, or deferred activation device is deactivated
8611 here before starting the new activation request.
8613 2007-09-25 Dan Williams <dcbw@redhat.com>
8615 Properly re-query secrets from the settings daemon when stuff fails.
8617 * src/nm-device-802-11-wireless.c
8618 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8619 between Shared Key and Open System auth modes
8620 - (link_timeout_cb, supplicant_connection_timeout_cb,
8621 real_act_stage4_ip_config_timeout): clear existing secrets and
8622 request new ones when something fails due to a suspected wrong key
8623 - (real_act_stage2_config): fix for new request_new argument to
8624 nm_manager_get_connection_secrets()
8628 - (nm_manager_get_connection_secrets): return error status; pass
8629 new request_new argument on to the settings daemon
8631 * introspection/nm-settings-connection.xml
8632 - New 'request_new' argument to the GetSecrets call that hints to the
8633 settings daemon to ask the user for completely new secrets
8635 * libnm-glib/nm-settings.c
8636 libnm-glib/nm-settings.h
8637 - (impl_connection_settings_get_secrets): handle new 'request_new'
8640 2007-09-25 Dan Williams <dcbw@redhat.com>
8642 * libnm-util/nm-connection.c
8643 libnm-util/nm-connection.h
8644 - (nm_connection_clear_secrets): new function; clear secrets out of
8645 each NMSetting in an NMConnection
8647 * libnm-util/nm-setting.h
8648 libnm-util/nm-setting.c
8649 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8650 secrets out of an NMSetting
8651 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8652 nm_setting_wired_new, nm_setting_wireless_new,
8653 nm_setting_wireless_security_new, nm_setting_ppp_new,
8654 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8655 to default handler default_setting_clear_secrets()
8657 2007-09-25 Dan Williams <dcbw@redhat.com>
8659 * src/nm-activation-request.c
8660 src/nm-activation-request.h
8661 - (nm_act_request_is_deferred): new function
8663 2007-09-24 Dan Williams <dcbw@redhat.com>
8665 * src/nm-device-802-11-wireless.c
8666 - (activation_success_handler): update signal strength immediately
8669 2007-09-24 Dan Williams <dcbw@redhat.com>
8671 * libnm-util/nm-setting.c
8672 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8674 2007-09-24 Dan Williams <dcbw@redhat.com>
8676 * src/NetworkManagerPolicy.c
8677 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8678 device by deactivating it because it doesn't have a "best connection".
8679 Since autoconnect=False connections aren't automatically chosen,
8680 NM would interrupt activation of such a connection because it
8681 would never be "best" due to autoconnect=False.
8683 2007-09-24 Dan Williams <dcbw@redhat.com>
8686 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8687 actually has some time to enter a key before the GetSecrets call
8690 2007-09-24 Dan Williams <dcbw@redhat.com>
8692 * introspection/nm-manager.xml
8694 - (impl_manager_legacy_state): fix 'state' method call return value
8696 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8698 * test/Makefile.am: Install nm-tool
8700 2007-09-24 Dan Williams <dcbw@redhat.com>
8702 Patch from Ross Burton <ross@burtonini.com>
8705 callouts/nm-dhcp-client-action.c
8707 src/vpn-manager/nm-vpn-connection.c
8708 libnm-glib/libnm-glib-test.c
8711 2007-09-24 Dan Williams <dcbw@redhat.com>
8713 * libnm-util/nm-utils.h
8714 libnm-util/nm-utils.c
8715 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8718 2007-09-23 Dan Williams <dcbw@redhat.com>
8720 * vpn-daemons/vpnc/properties/nm-vpnc.c
8721 - Update for new VPN properties API bits; instead of passing around
8722 a lot of random things, everything goes into the NMConnection
8725 2007-09-23 Dan Williams <dcbw@redhat.com>
8727 * libnm-util/nm-setting.c
8728 - Correctly dispose of settings objects if creating them from a hash
8731 2007-09-23 Dan Williams <dcbw@redhat.com>
8733 * libnm-util/nm-setting.c
8734 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8735 the hash table in a standard manner. Clients of libnm-util should
8736 only call g_hash_table_remove_all(), never destroy the hash table
8739 2007-09-22 Dan Williams <dcbw@redhat.com>
8741 * src/nm-device-802-11-wireless.c
8742 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8743 real reason to do it so often, and reduces wakeups for clients.
8745 2007-09-21 Dan Williams <dcbw@redhat.com>
8747 * src/nm-device-802-11-wireless.c
8748 - (build_supplicant_config): wpa_supplicant requires the option
8749 key_mgmt=NONE for unencrypted networks
8750 - (real_act_stage2_config): clarify log message on activation
8752 2007-09-21 Dan Williams <dcbw@redhat.com>
8754 * test/nm-supplicant-test.c
8756 - Remove supplicant test binary; no longer applicable
8758 2007-09-21 Dan Williams <dcbw@redhat.com>
8760 * src/supplicant-manager/nm-supplicant-manager.c
8761 - (nm_supplicant_manager_init): poke the supplicant at startup to
8762 activate it on the system bus
8764 2007-09-20 Dan Williams <dcbw@redhat.com>
8766 * initscript/RedHat/NetworkManager.in
8767 - dhcdbd is no longer used, so don't try to start it from the initscripts
8769 2007-09-20 Dan Williams <dcbw@redhat.com>
8772 - (nm_device_is_activating): work around a race between auto-activation
8773 and the user activating the same device that is being auto-activated
8775 2007-09-20 Dan Williams <dcbw@redhat.com>
8777 * src/nm-device-interface.c
8778 - (impl_device_activate): until multiple active device support lands,
8779 ensure only one device can be active at a time
8781 2007-09-20 Dan Williams <dcbw@redhat.com>
8783 * src/supplicant-manager/nm-supplicant-config.c
8784 src/supplicant-manager/nm-supplicant-config.h
8785 - (nm_supplicant_config_add_option): hide secrets from system logs
8787 2007-09-20 Dan Williams <dcbw@redhat.com>
8789 * src/NetworkManagerPolicy.c
8790 - (nm_policy_device_change_check): re-enable the wireless device change
8791 checking code; insted of checking for SSIDs, check for the same
8794 2007-09-20 Dan Williams <dcbw@redhat.com>
8796 * src/nm-device-802-11-wireless.c
8797 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8798 composite link state when determining when to start the disconnection
8799 timer; that link state is already based on the supplicant interface's
8800 status which is exactly what's already being examined, plus the link
8801 state is a conglomeration of various things that we don't want here
8803 2007-09-20 Dan Williams <dcbw@redhat.com>
8805 * libnm-glib/nm-access-point.c
8806 - (handle_property_changed): strength is a UCHAR
8808 2007-09-20 Dan Williams <dcbw@redhat.com>
8810 * src/supplicant-manager/nm-supplicant-config.c
8811 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8812 string list keywords too since that's what wpa_supplicant wants
8814 2007-09-20 Dan Williams <dcbw@redhat.com>
8816 * libnm-util/nm-setting.c
8817 - (convert_strv_to_slist): dupe the values in the list because since
8818 the list is a boxed value, it'll get destroyed when it's container
8819 (like a hash table or whatever) gets destroyed
8821 2007-09-20 Tambet Ingo <tambet@gmail.com>
8823 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8826 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8828 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8829 just use (g_object_set_data_full).
8831 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8832 that NMSettingVPN->routes is a GSList, convert it to char **.
8833 (nm_vpn_connection_ip4_config_get): Free routes when done.
8834 (nm_vpn_connection_activate): Ditto.
8836 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8837 (real_act_stage2_config): Use defined setting names.
8839 2007-09-20 Dan Williams <dcbw@redhat.com>
8841 * src/nm-device-802-11-wireless.c
8844 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8845 so that the device can be deactivated if secrets are wrong
8847 2007-09-20 Dan Williams <dcbw@redhat.com>
8849 * introspection/nm-settings-connection.xml
8850 libnm-glib/nm-settings.c
8851 libnm-glib/nm-settings.h
8852 - Make GetSecrets asynchronous on the server side
8854 2007-09-20 Dan Williams <dcbw@redhat.com>
8858 - (nm_device_activate): actually check if a given connection
8859 exists before assuming it doesn't
8861 2007-09-20 Tambet Ingo <tambet@gmail.com>
8863 * libnm-util/nm-connection.c (register_default_creators): Use defined
8864 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8866 * libnm-util/nm-setting.c: Define property name strings, use them.
8867 Implement NMSettingVPN and NMSettingVPNProperties settings.
8868 Implement NM_S_TYPE_GVALUE_HASH.
8869 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8870 (setting_connection_verify): Rename 'devtype' property to 'type'.
8872 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8875 * src/vpn-manager/nm-vpn-service.c: Ditto.
8877 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8879 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8880 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8882 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8883 names. NMSettingConnection->devtype got renamed to 'type'.
8885 * src/nm-device-802-3-ethernet.c (find_best_connection):
8886 (real_get_best_connection): Ditto.
8888 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8890 * libnm-glib/nm-vpn-manager.[ch]: Update.
8892 2007-09-19 Dan Williams <dcbw@redhat.com>
8894 * src/NetworkManagerAP.c
8895 src/NetworkManagerAP.h
8896 introspection/nm-access-point.xml
8897 - Change strength-changed signal into a properties-changed signal
8898 for all properties, not just strength. Export that signal over dbus
8899 so listeners don't have to poll NM for changes.
8900 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8901 get exported over D-Bus, so break up the logic and let other bits
8902 decided when to export the AP
8903 - (nm_ap_new_from_ap): remove, unused
8905 * src/nm-device-802-11-wireless.c
8906 - (merge_scanned_ap): only export APs that are actually on the device
8907 list, not every AP created internally
8909 * libnm-glib/nm-access-point.c
8910 libnm-glib/nm-access-point.h
8911 - Cache properties internally and only hit DBus when needed. Get
8912 property updates from NM signals
8914 2007-09-16 Dan Williams <dcbw@redhat.com>
8916 * libnm-util/nm-connection.c
8917 libnm-util/nm-connection.h
8918 - (nm_connection_for_each_setting_value): new function; iterate over
8919 each setting's value and call a user-provided function with details
8922 * libnm-util/nm-setting.c
8923 libnm-util/nm-setting.h
8924 - (nm_setting_enumerate_values): new function; enumerate the values
8925 of a specific NMSetting subclass for a user-provided function with
8926 details about that value
8927 - Change wep_tx_keyidx to a uint32
8928 - Create settings value tables for each setting defining their type,
8929 key name, offset into the NMSetting subclass' structure, and whether
8930 they are required and/or a secret
8931 - (nm_setting_populate_from_hash): generic function to populate an
8932 NMSetting from a GHash table, make all settings use it
8933 - (nm_setting_hash): generic function to derive a GHashTable from
8934 an NMSetting object, make all settings use it
8936 2007-09-14 Dan Williams <dcbw@redhat.com>
8938 Remove unused stuff in libnm-util
8941 libnm-util/Makefile.am
8942 libnm-util/cipher-private.h
8943 libnm-util/cipher-wep-ascii.c
8944 libnm-util/cipher-wep-ascii.h
8945 libnm-util/cipher-wep-hex.c
8946 libnm-util/cipher-wep-hex.h
8947 libnm-util/cipher-wep-passphrase.c
8948 libnm-util/cipher-wep-passphrase.h
8949 libnm-util/cipher-wpa-psk-hex.c
8950 libnm-util/cipher-wpa-psk-hex.h
8951 libnm-util/cipher-wpa-psk-passphrase.c
8952 libnm-util/cipher-wpa-psk-passphrase.h
8955 libnm-util/dbus-helpers.c
8956 libnm-util/dbus-helpers.h
8957 libnm-util/gnome-keyring-md5.c
8958 libnm-util/gnome-keyring-md5.h
8961 src/nm-device-802-11-wireless.c
8962 test/libnm-util/Makefile.am
8963 test/libnm-util/test-ciphers.c
8964 test/libnm-util/test-dbus-helpers.c
8965 test/libnm-util/test-inputs.h
8968 2007-09-14 Dan Williams <dcbw@redhat.com>
8970 * libnm-util/dbus-method-dispatcher.c
8971 libnm-util/dbus-method-dispatcher.h
8974 2007-09-14 Dan Williams <dcbw@redhat.com>
8976 Implement deferred activation support in the device class.
8978 * src/nm-device-interface.c
8979 src/nm-device-interface.h
8980 - (nm_device_interface_activate): take more arguments to support
8981 deferred activation; callers must pass one of (connection) OR
8982 (service_name, connection_path)
8983 - (impl_device_activate): connection validation is punted to the device
8984 to be able to handle deferred activation. Yes, this means errors
8985 don't get returned from the Activate() dbus call, and yes, that
8986 should be fixed somehow later.
8990 - (clear_act_request): clear additional deferred activation stuff too
8991 - (deferred_activation_timeout_cb): new function; clean up when
8992 deferred activation times out.
8993 - (deferred_activation_start_cb): new function; when the connection
8994 finally becomes available, start device activation
8995 - (nm_device_activate): attach to the right signals of the activation
8996 request if we need to defer activation until the connection is valid
8998 * src/NetworkManagerPolicy.c
8999 - (nm_policy_device_change_check): update for additional arguments
9000 required for nm_device_interface_activate(). Pass NULL for these
9001 though because this function already knows exactly which
9004 2007-09-14 Dan Williams <dcbw@redhat.com>
9006 Implement deferred activation handling in the NMActRequest class. When a
9007 client wants to activate a device but must create the NMConnection details
9008 on the fly, there likely hasn't been enough time yet for NM to receive the
9009 new connection signal and grab all the connection details. So the
9010 activation is deferred (and bounded by a timer) for a while, and if the
9011 connection appears within the window, it is activated.
9013 * src/nm-activation-request.c
9014 src/nm-activation-request.h
9015 - (nm_act_request_class_init): two new signals to support deferred
9016 activation, to allow the listener to handle both timeout and success
9017 - (nm_act_request_new_deferred): new function, starts the deferred
9018 activation timeout handler and listens to the NMManager for
9019 new-connection signals to notice when the connection comes in
9021 2007-09-14 Dan Williams <dcbw@redhat.com>
9025 - (nm_manager_get_connection_service_name,
9026 nm_manager_get_connection_dbus_path): get details about a connection
9027 known internally by the NMManager
9028 - (nm_manager_class_init): fix connection add/remove signal marshalers
9029 because NMConnection is now a GObject subclass
9030 - Use constant for the gobject data tag used on NMConnection objects for
9031 storing the associated DBusGProxy
9033 2007-09-14 Dan Williams <dcbw@redhat.com>
9038 src/supplicant-manager/Makefile.am
9039 src/dhcp-manager/Makefile.am
9040 src/backends/Makefile.am
9041 src/named-manager/Makefile.am
9042 src/ppp-manager/Makefile.am
9043 src/vpn-manager/Makefile.am
9044 test/libnm-util/Makefile.am
9045 test/test-common/Makefile.am
9046 - Remove utils/; it was unused
9048 2007-09-13 Dan Williams <dcbw@redhat.com>
9050 * libnm-glib/nm-vpn-manager.h
9051 libnm-glib/nm-vpn-manager.c
9052 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9054 2007-09-13 Dan Williams <dcbw@redhat.com>
9056 * src/nm-device-802-3-ethernet.c
9057 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9058 netlink monitor carrier signals on dispose, not bring down. The
9059 carrier signals should be handled over the entire lifetime of the
9060 device anyway, not created/destroyed on up or down.
9062 2007-09-13 Dan Williams <dcbw@redhat.com>
9064 * libnm-glib/nm-device.c
9065 libnm-glib/nm-device.h
9066 - (nm_device_activate): take a connection object path rather than an
9067 NMConnection because NMConnection isn't exported over D-Bus and
9068 therefore it dbus-glib can't automatically get an object path from it
9070 2007-09-13 Dan Williams <dcbw@redhat.com>
9072 * libnm-util/nm-setting.c
9073 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9075 2007-09-13 Tambet Ingo <tambet@gmail.com>
9077 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9079 2007-09-12 Tambet Ingo <tambet@gmail.com>
9081 * src/vpn-manager/nm-vpn-connection.[ch]:
9082 * src/vpn-manager/nm-vpn-manager.[ch]:
9083 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9084 dbus-glib, GObjects, signals etc.
9086 * libnm-glib/nm-vpn-manager.[ch]:
9087 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9088 so much, rewrite these too.
9090 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9091 the new introspection files.
9093 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9095 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9096 the header with the same name from libnm-utils.
9098 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9100 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9102 * introspection/nm-vpn-plugin.xml: Implement.
9104 * introspection/nm-vpn-connection.xml: Implement.
9106 * introspection/nm-vpn-manager.xml: Implement.
9108 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9109 the named manager argument, it can just as easily get it as the caller.
9110 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9112 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9114 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9116 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9119 * libnm-util/nm-connection.c: Ditto.
9121 * src/NetworkManagerMain.h: Remove, it's finally empty.
9123 * configure.in: Remove utils/ from build.
9125 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9126 of hard-coded strings.
9128 * utils/: Move it over to libnm-util.
9130 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9132 * dispatcher-daemon/Makefile.am: Ditto.
9134 * src/Makefile.am: Ditto.
9136 2007-09-12 Dan Williams <dcbw@redhat.com>
9138 Wireless connections can be made with config data from the applet now.
9142 * src/supplicant-manager/nm-supplicant-config.h
9143 src/supplicant-manager/nm-supplicant-config.c
9144 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9145 - (nm_supplicant_config_add_setting_wireless,
9146 nm_supplicant_config_add_setting_wireless_security): new functions;
9147 add key/value pairs from the settings objects to the supplicant
9150 * src/nm-device-802-11-wireless.c
9151 - (cull_scan_list): fix check to not prune currently associated AP
9152 - (build_supplicant_config, real_act_stage2_config): call the functions
9153 of the NMSupplicantConfig that parse settings objects rather than
9154 doing it manually here
9156 2007-09-12 Dan Williams <dcbw@redhat.com>
9158 * src/supplicant-manager/nm-supplicant-interface.c
9159 src/supplicant-manager/nm-supplicant-marshal.list
9160 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9161 "connection-error" signal arguments should be STRING not CHAR
9163 2007-09-12 Dan Williams <dcbw@redhat.com>
9165 * src/NetworkManagerUtils.c
9166 src/NetworkManagerUtils.h
9167 - (nm_utils_hexstr2bin): new function
9169 2007-09-11 Dan Williams <dcbw@redhat.com>
9172 - (connection_get_settings_cb): emit connection-added signal
9173 - (connection_removed_cb): uncomment bits for system settings service,
9174 send connection-removed when appropriate
9175 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9176 the stack by trying to g_object_set_data() on something that's
9177 not a GObject; handle case where settings service returns
9178 empty settings hash table
9180 2007-09-11 Dan Williams <dcbw@redhat.com>
9182 * src/NetworkManagerPolicy.c
9183 - (connection_added, connection_removed): trigger device change checks
9184 on connection changes
9186 2007-09-11 Dan Williams <dcbw@redhat.com>
9188 * src/nm-activation-request.c
9189 - (connection_secrets_updated_cb): fix c&p error in signal emission
9191 2007-09-11 Dan Williams <dcbw@redhat.com>
9193 * src/nm-device-802-11-wireless.c
9194 - (real_connection_secrets_updated): fix erroneous check
9196 2007-09-11 Dan Williams <dcbw@redhat.com>
9198 * introspection/nm-device.xml
9199 libnm-glib/nm-device.c
9200 libnm-glib/nm-device.c
9201 - Fix Activate call argument borkage; Activate takes 3 arguments
9203 2007-09-11 Dan Williams <dcbw@redhat.com>
9205 * libnm-glib/nm-access-point.c
9206 libnm-glib/nm-access-point.c
9207 - (nm_access_point_get_frequency): now returns guint32 to match
9208 property change on 2007-09-10
9210 2007-09-11 Dan Williams <dcbw@redhat.com>
9212 * src/nm-device-802-11-wireless.c
9213 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9214 somewhere defines 'index' and I missed this one when I fixed the
9215 shadow declaration errors earlier
9217 2007-09-11 Dan Williams <dcbw@redhat.com>
9219 * libnm-util/nm-connection.c
9220 - (nm_connection_update_secrets, need_secrets_check): move
9221 802-11-wireless-security need_secrets checks to the setting object
9222 itself, where it belongs
9224 * libnm-util/nm-setting.c
9225 libnm-util/nm-setting.h
9226 - (nm_setting_need_secrets): new function
9227 - (setting_wireless_security_verify,
9228 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9229 - (setting_wireless_security_need_secrets): mostly copy code over
9230 from nm-connection.c
9232 2007-09-11 Dan Williams <dcbw@redhat.com>
9234 * libnm-util/nm-setting.c
9235 libnm-util/nm-setting.h
9236 - (nm_setting_update_secrets): new function; add a virtual function that
9237 subclasses can implement to update their secrets
9238 - (setting_wireless_security_update_secrets): implement that function
9239 for the 802-11-wireless-security subclass
9241 * libnm-util/nm-connection.c
9242 libnm-util/nm-connection.h
9243 - (nm_connection_update_secrets): update secrets for a Setting and
9244 emit a signal on success
9249 - (connection_get_settings_cb): enable system settings bits
9250 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9251 to request secrets from the settings dbus service and to
9252 push those secrets to the NMConnection itself
9254 * src/nm-activation-request.c
9255 src/nm-activation-request.h
9256 - Attach to the 'secrets-updated' signal of the NMConnection that's
9257 currently being activated, and proxy that signal to other listeners.
9258 Goes through the activation request because the activation request
9259 is the thing that manages the lifetime of the NMConnection that's
9262 * src/nm-device-802-11-wireless.c
9263 - (real_connection_secrets_updated): implement the connection secrets
9264 updated notification and restart activation when secrets are
9266 - (real_act_stage2_config): request secrets from the settings dbus
9267 service if secrets are needed
9271 - (clear_act_request, nm_device_activation_cancel,
9272 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9273 where the activation request is cleared
9274 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9275 updated secrets signal of activation request and add a function
9276 that subclasses can override to handle it easily
9278 2007-09-11 Tambet Ingo <tambet@gmail.com>
9280 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9281 removal of NetworkManagerAPList.
9283 2007-09-10 Dan Williams <dcbw@redhat.com>
9285 * src/NetworkManagerAP.c
9286 src/NetworkManagerAP.h
9287 introspection/nm-access-point.xml
9288 - Change 'freq' property to a guint32 instead of a double since we
9289 weren't using the floating point bits anyway
9291 2007-09-10 Dan Williams <dcbw@redhat.com>
9293 * NetworkManagerAP.c
9295 NetworkManagerPolicy.c
9296 NetworkManagerSystem.c
9297 NetworkManagerUtils.c
9298 NetworkManagerUtils.h
9299 nm-device-802-11-wireless.c
9300 nm-device-802-3-ethernet.c
9303 vpn-manager/nm-dbus-vpn.c
9304 - Warning fixes; casts and removal of unused variables
9306 2007-09-10 Dan Williams <dcbw@redhat.com>
9308 * include/NetworkManager.h
9309 - Kill NMNetworkType; AP types don't matter any more
9311 * src/NetworkManagerAPList.c
9312 src/NetworkManagerAPList.h
9314 - Kill; NMAccessPointList has outlived it's usefulness
9316 * src/NetworkManagerAP.c
9317 src/NetworkManagerAP.h
9318 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9319 functions; check if an NMConnection object is compatible with the
9321 - (freq_to_channel, channel_to_freq): utility functions for
9322 channel <-> frequency conversion
9326 - (nm_device_get_best_connection): pass the specific object around
9327 (which might be the object path of a specific AP to connect to).
9328 The get_best_connection() call should populate this on return
9329 if needed (wireless does).
9331 * src/nm-device-802-3-ethernet.c
9332 - (real_get_best_connection): handle specific_object argument
9334 * src/NetworkManager.c
9335 src/NetworkManagerMain.h
9336 - Remove unused includes
9338 * src/nm-device-802-11-wireless.c
9339 src/nm-device-802-11-wireless.h
9340 - Convert the ap_list into a GSList from an NMAccessPointList
9341 - No need for caching the 'activation_ap' since this is now determined
9342 from the specific_object of the activation request, which is
9343 populated from the get_best_connection() call or from a user request
9344 - (nm_device_802_11_wireless_update_bssid): fix warning
9345 - (get_wireless_capabilities): fix error message format arguments
9346 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9347 - (find_best_connection, real_get_best_connection): implement
9348 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9349 move here from NetworkManagerAPList
9350 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9351 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9352 already verified earlier
9353 - (real_act_stage2_config): use nm_connection_need_secrets()
9355 * src/NetworkManagerPolicy.c
9356 - (nm_policy_auto_get_best_device): handle specific objects
9357 - (create_connection): remove; automatic connection creation functionality
9358 is handled by the Connection objects
9359 - (nm_policy_device_change_check): handle specific_object
9361 * libnm-util/nm-connection.c
9362 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9364 2007-09-10 Dan Williams <dcbw@redhat.com>
9367 - (query_connections): fix uninitialized variable problem that caused
9369 - (nm_manager_add_device): take devices down on startup so that we can
9370 be assured that nm_device_is_up() won't short-circuit the init
9371 process. Hack until the is_up check gets split into two pieces
9372 that aren't behaviorally confusing.
9374 2007-09-09 Dan Williams <dcbw@redhat.com>
9376 * introspection/nm-device.xml
9377 - The 'Activate' method now takes 3 arguments, a service name for the
9378 settings service (user or system), the object path of the connection
9379 to activate, and the specific object to activate, if any
9381 * src/nm-device-interface.c
9382 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9384 - (impl_device_activate): adapt to new Activate arguments; validate
9385 the service name and get the Connection object from the NMManager
9386 before starting to activate the device with the specified connection
9388 * src/nm-device-802-3-ethernet.c
9389 - (real_get_best_connection): find the best connection, or create a
9390 default one if no existing connections can be used
9392 * src/NetworkManagerPolicy.c
9393 - (nm_policy_auto_get_best_device): Get the device's best connection
9394 and only pick the device if it has one
9395 - (nm_policy_device_change_check): disable wireless bits for now until
9396 wireless get_best_connection() can be implemented (replacing "best_ap");
9397 don't create a default connection here as the device subclass will do
9402 - (nm_manager_get): make NMManager a singleton and expose the getter
9404 - Rework internal NMManager connection handling to use the same
9405 routines for both the system and user settings services. Most calls
9406 take a new NMConnectionType argument specifying either system or user
9408 - (nm_manager_get_connection_by_object_path): new function; get a
9409 connection keyed on its object path
9411 * src/NetworkManager.c
9412 - (main): use nm_manager_get()
9414 2007-09-09 Dan Williams <dcbw@redhat.com>
9418 - (nm_device_get_best_connection): new function; get best connection
9419 for the device at that time
9421 2007-09-09 Dan Williams <dcbw@redhat.com>
9423 * src/nm-device-interface.h
9424 - Add NMDeviceInterfaceError with an UnknownConnection error
9426 2007-09-09 Dan Williams <dcbw@redhat.com>
9428 Stupid mistake on my part; object path and interface for settings service
9429 and connection objects can be the same, only the service name must be
9430 different for the system and user settings services.
9432 * include/NetworkManager.h
9434 introspection/nm-settings-connection.xml
9435 introspection/nm-settings.xml
9436 libnm-glib/nm-settings.c
9437 - (nm_connection_settings_init, query_user_connections,
9438 new_connection_cb): Unify NetworkManagerSettings and Connection
9439 interface name and object path
9441 2007-09-06 Dan Williams <dcbw@redhat.com>
9443 * libnm-glib/nm-object.c
9444 - (nm_object_get_string_property, nm_object_get_object_path_property,
9445 nm_object_get_int_property, nm_object_get_uint_property,
9446 nm_object_get_boolean_property, nm_object_get_byte_property,
9447 nm_object_get_double_property, nm_object_get_byte_array_property):
9448 clear GValues after copying their contents, fixes memory leaks
9449 after every property access because dbus-glib copies the values
9450 from the DBusMessage into the GValue already.
9452 2007-09-06 Dan Williams <dcbw@redhat.com>
9454 * introspection/nm-access-point.xml
9455 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9456 them to be. There's some magic property name parsing going on in
9457 dbus-glib that breaks up property names based on studly-caps and
9458 puts - between words.
9460 * libnm-glib/nm-access-point.c
9461 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9464 2007-09-06 Dan Williams <dcbw@redhat.com>
9467 - (nm_manager_user_connections_destroy): clear the user connections hash
9468 table, don't destroy it
9469 - (finalize): only destroy the hash table on NMManager finalization
9471 2007-09-02 Dan Williams <dcbw@redhat.com>
9473 * include/NetworkManager.h
9474 libnm-glib/nm-settings.c
9475 - defines for the user settings daemon D-Bus bits
9477 * src/NetworkManager.c
9478 - Remove stuff that referred to the old NetworkManagerInfo service
9480 * src/vpn-manager/nm-dbus-vpn.h
9481 - Move old NMI defines to the only place they are used still
9483 * libnm-util/nm-connection.c
9484 libnm-util/nm-connection.h
9485 src/nm-activation-request.c
9486 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9490 - Get connections and their settings from the user settings daemon
9491 at the appropriate times
9493 2007-09-02 Dan Williams <dcbw@redhat.com>
9495 * libnm-util/nm-setting.c
9496 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9497 - (setting_wireless_hash): set the right value on the item
9499 2007-09-02 Dan Williams <dcbw@redhat.com>
9503 - Remove, no longer useful
9505 2007-08-30 Dan Williams <dcbw@redhat.com>
9508 src/NetworkManagerDbus.c
9509 src/NetworkManagerDbus.h
9510 src/vpn-manager/nm-dbus-vpn.c
9511 - Remove, no longer necessary. Move last bits to the only place its
9512 used, in nm-dbus-vpn.c
9514 * src/NetworkManagerAPList.c
9516 src/NetworkManager.c
9517 src/nm-device-802-11-wireless.c
9518 src/vpn-manager/nm-vpn-manager.c
9519 src/vpn-manager/nm-vpn-service.c
9520 src/NetworkManagerPolicy.c
9522 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9523 that was message_is_error()
9525 2007-08-30 Dan Williams <dcbw@redhat.com>
9528 - Include config.h to get defines for endiannes (gnome.org #420216)
9530 2007-08-30 Dan Williams <dcbw@redhat.com>
9532 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9534 * src/ppp-manager/Makefile.am
9535 - use -fPIC (gnome.org #471825)
9537 2007-08-29 Dan Williams <dcbw@redhat.com>
9539 * include/NetworkManager.h
9540 - Keep NMConnection object path in sync
9542 * libnm-glib/nm-settings.c
9543 libnm-glib/nm-settings.h
9544 - Break D-Bus object registration out of the init function, because
9545 every object that's exported over D-Bus needs to use the _same_
9546 DBusConnection. Otherwise, each object would get a different object
9547 path tree and wouldn't be callable.
9549 2007-08-29 Dan Williams <dcbw@redhat.com>
9551 * libnm-util/nm-setting.h
9552 libnm-util/nm-setting.c
9553 libnm-util/nm-connection.c
9554 src/NetworkManagerPolicy.c
9555 - 'info' settings object should be 'connection' says the spec
9556 at NetworkManagerConfigurationSpecification
9558 2007-08-29 Dan Williams <dcbw@redhat.com>
9560 * libnm-glib/nm-settings.c
9561 libnm-glib/nm-settings.h
9562 - make the dbus path a property of the object, and autogenerate it.
9563 It can't be composed of the 'id' field becuase that's not available
9564 yet during the GObject creation in nm_connection_settings_init()
9566 2007-08-29 Dan Williams <dcbw@redhat.com>
9568 * introspection/nm-settings-connection.xml
9569 introspection/nm-settings.xml
9570 - Service name -> NetworkManagerUserSettings because two services
9571 can't share part of the same path. I'm not really sure how we'll use
9572 the same code with the system-settings daemon...
9574 2007-08-28 Dan Williams <dcbw@redhat.com>
9576 * src/nm-device-interface.c
9577 src/nm-device-interface.h
9578 - Kill one more bit of NMData
9580 2007-08-28 Dan Williams <dcbw@redhat.com>
9582 * src/NetworkManagerSystem.h
9585 src/nm-hal-manager.c
9586 src/NetworkManager.c
9587 src/nm-device-802-11-wireless.c
9588 src/nm-hal-manager.h
9589 src/nm-device-802-3-ethernet.c
9590 src/vpn-manager/nm-vpn-service.h
9591 src/vpn-manager/nm-vpn-manager.c
9592 src/vpn-manager/nm-vpn-manager.h
9593 src/vpn-manager/nm-vpn-service.c
9594 src/nm-device-802-11-wireless.h
9595 src/NetworkManagerMain.h
9596 src/nm-device-802-3-ethernet.h
9597 src/backends/NetworkManagerGentoo.c
9598 src/backends/NetworkManagerPaldo.c
9599 src/backends/NetworkManagerFrugalware.c
9600 src/backends/NetworkManagerRedHat.c
9601 src/backends/NetworkManagerSlackware.c
9602 src/backends/NetworkManagerGeneric.c
9603 src/backends/NetworkManagerArch.c
9604 src/backends/NetworkManagerSuSE.c
9605 src/backends/NetworkManagerGeneric.h
9606 src/backends/NetworkManagerDebian.c
9609 2007-08-28 Dan Williams <dcbw@redhat.com>
9611 * src/NetworkManagerMain.h
9612 src/nm-device-802-11-wireless.c
9613 src/NetworkManager.c
9614 - Remove invalid AP list from NMData; need to rework this somewhat, but
9615 for now we should set the 'invalid' property on individual APs, and when
9616 we need to invalidate a whole ESS, set the 'invalid' on every member of
9619 2007-08-28 Dan Williams <dcbw@redhat.com>
9621 * src/NetworkManagerAP.c
9622 src/NetworkManagerAP.h
9623 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9624 'autoconnect' property instead
9626 * src/NetworkManager.c
9627 src/NetworkManagerMain.h
9628 src/NetworkManagerPolicy.c
9629 src/NetworkManagerPolicy.h
9630 - Remove the 'allowed_ap_list', which should be replaced by
9631 NMConnection/NMSettings instead, since _those_ are the allowed
9632 things that NM can connect to
9634 * src/nm-device-802-11-wireless.c
9635 - Remove both allowed_ap_list usage and 'fallback' checking
9637 2007-08-28 Dan Williams <dcbw@redhat.com>
9640 src/named-manager/nm-named-manager.c
9641 src/named-manager/nm-named-manager.h
9642 src/NetworkManager.c
9643 src/vpn-manager/nm-vpn-manager.c
9644 src/NetworkManagerMain.h
9645 src/NetworkManagerSystem.c
9646 - Remove the named-manager object from NMData structure in preparation
9647 for NMData's timely death. Make the NMNamedManager the singleton that
9650 2007-08-28 Dan Williams <dcbw@redhat.com>
9652 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9653 each AP's capabilities, and by NMConnection/NMSettings objects for user
9654 defined connections.
9656 * include/NetworkManager.h
9657 - Redefine 802.11 security properties. There are now device capabilities
9658 and AP flags and AP security flags. It was way to unclear before.
9661 src/nm-ap-security-leap.h
9662 src/nm-ap-security-leap.c
9663 src/nm-ap-security-wpa-eap.c
9664 src/nm-ap-security-wpa-eap.h
9665 src/nm-ap-security-private.h
9666 src/nm-ap-security-wpa-psk.c
9667 src/nm-ap-security-wpa-psk.h
9668 src/nm-ap-security-wep.c
9669 src/nm-ap-security-wep.h
9670 src/nm-ap-security.c
9671 src/nm-ap-security.h
9672 - Removed, to be replaced with NMConnection/NMSettings objects
9676 - Removed, to be replaced by code that talks to the new info daemon
9677 interface and gets NMConnection/NMSettings objects
9679 * src/backends/NetworkManagerSuSE.c
9680 - Remove usage of NMAPSecurity; should be replaced by a system-level
9681 info-daemon that does the same thing but talks the new info-daemon
9684 * src/NetworkManagerAP.h
9685 src/NetworkManagerAP.c
9686 src/NetworkManagerAPList.c
9687 libnm-glib/libnm-glib-test.c
9688 - Remove usage of NMAPSecurity objects and adjust to new flags for
9691 * libnm-glib/nm-access-point.c
9692 libnm-glib/nm-access-point.h
9693 introspection/nm-access-point.xml
9695 - Adjust to new flags for AP security
9699 src/vpn-manager/nm-dbus-vpn.c
9700 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9701 stuff which is the only place it's used
9703 * src/nm-device-interface.c
9704 src/nm-device-interface.h
9705 introspection/nm-device.xml
9706 src/nm-activation-request.c
9707 src/nm-activation-request.h
9709 - Add a new 'specific_object' argument that hints to NM what actual
9710 AP or other device-specific thing the connection should apply to.
9711 NMConnection objects can apply to more than one actual device/AP.
9713 * libnm-util/nm-connection.c
9714 * libnm-util/nm-connection.h
9715 - Add 'have_secrets" call stubs
9717 * libnm-util/cipher.h
9718 - Move NM_AUTH_TYPE_* defines here for now
9720 * src/nm-device-802-11-wireless.c
9721 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9724 * src/NetworkManagerDbus.c
9725 * src/NetworkManagerPolicy.c
9726 - Remove usage of update_allowed_networks, should be pushing data in
9729 2007-08-27 Tambet Ingo <tambet@gmail.com>
9731 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9732 dbus-glib frees it when the call is done.
9734 2007-08-26 Dan Williams <dcbw@redhat.com>
9736 * introspection/nm-device.xml
9737 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9739 2007-08-26 Dan Williams <dcbw@redhat.com>
9741 * src/nm-device-802-3-ethernet.c
9742 - (constructor): move connection of interface-connected/disconnected
9743 signals here from real_bring_up(). Should be listening to netlink
9744 for carrier events no matter what the initial state of the device
9747 2007-08-26 Dan Williams <dcbw@redhat.com>
9749 * src/nm-netlink-monitor.c
9750 - (nm_netlink_monitor_class_init): fix marshalling types for
9751 interface-connected/interface-disconnected
9752 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9755 2007-08-26 Dan Williams <dcbw@redhat.com>
9757 Convert to using interface indexes as the primary method of identifying
9758 devices inside NetworkManager. Indexes are (?) stable, but devices can
9759 be renamed at any time. Device object paths now refer to the device
9760 index rather than the name, and you can map those two manually if you like
9761 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9762 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9763 to use interface indexes rather than names.
9765 2007-08-26 Dan Williams <dcbw@redhat.com>
9767 * src/nm-netlink-monitor.h
9768 - Remove one last bit of wireless-event signal
9770 2007-08-26 Dan Williams <dcbw@redhat.com>
9772 * src/nm-netlink-monitor.c
9773 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9774 don't need the 'wireless-event' signal anymore since that's all
9775 handled by wpa_supplicant
9777 2007-08-25 Dan Williams <dcbw@redhat.com>
9779 It's 2007. Remove support for drivers that don't support wireless scanning.
9782 include/NetworkManager.h
9783 src/NetworkManagerUtils.c
9784 src/NetworkManagerPolicy.c
9785 src/nm-device-802-11-wireless.c
9786 - Remove special handling for non-scanning devices and mark them
9787 as unsupported/unhandled
9789 2007-08-20 Dan Williams <dcbw@redhat.com>
9791 * src/nm-device-802-11-wireless.c
9792 src/nm-device-802-3-ethernet.c
9793 - (real_is_up): move device-specific tests before generic IFF_UP test,
9794 because when the card is pulled or the module removed, the device
9795 is already !IFF_UP and then device-specific cleanup (removing
9796 the supplicant interface, periodic checks, etc) never gets done
9798 2007-08-20 Dan Williams <dcbw@redhat.com>
9801 - (nm_manager_remove_device): bring device down before disconnecting
9802 signal handlers, so that the 'state' signal will get broadcast when
9803 the device enters the DOWN state
9804 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9805 of states that cause the NMManager to recheck its state
9807 2007-08-20 Dan Williams <dcbw@redhat.com>
9809 * src/supplicant-manager/nm-supplicant-interface.c
9810 - (interface_disconnect_done): don't try to dispose of the net proxy
9811 when it may already have been disposed of
9813 2007-08-20 Dan Williams <dcbw@redhat.com>
9815 * src/nm-device-802-11-wireless.c
9816 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9817 the SSID isn't available; this can happen when the card is pulled
9818 or the module unloaded, during the post-removal deactivation
9819 paths, when the ioctl returns ENODEV
9821 2007-08-20 Dan Williams <dcbw@redhat.com>
9823 * src/nm-device-802-11-wireless.c
9824 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9825 frequency, and mode match. Applets are now responsible for grouping
9828 2007-08-20 Dan Williams <dcbw@redhat.com>
9830 * src/NetworkManagerAP.c
9831 * src/NetworkManagerAP.h
9832 - (nm_ap_print_self): new function
9834 * src/NetworkManagerAPList.c
9835 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9838 2007-08-17 Dan Williams <dcbw@redhat.com>
9840 * src/nm-device-802-3-ethernet.c
9841 - (real_bring_down): don't try to dispose of stuff that might not
9844 2007-08-17 Dan Williams <dcbw@redhat.com>
9846 * src/NetworkManagerAP.c
9847 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9848 applet. This ensures that the case between the seen-bssids and
9849 the bssids reported by the driver match.
9851 2007-08-17 Dan Williams <dcbw@redhat.com>
9853 * src/nm-device-802-11-wireless.c
9854 - (device_cleanup): disconnect the interface in wpa_supplicant before
9855 we dispose of the interface proxy in NM
9857 2007-08-16 Dan Williams <dcbw@redhat.com>
9859 * libnm-glib/nm-client.c
9860 - (nm_client_init): create VPN connections hash table with key free
9862 - (proxy_vpn_connection_added): VPN connections hash table key should
9863 be a duplicated value, not the same memory address as the VPN
9864 connection name. This is because the VPN connection name could
9865 potentially be freed and set to something else during the lifetime
9866 of the NMVPNConnection object.
9868 2007-08-16 Tambet Ingo <tambet@gmail.com>
9870 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9871 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9872 with the file descriptors. Send a child setup function to change the pppd
9875 2007-08-15 Dan Williams <dcbw@redhat.com>
9877 * src/supplicant-manager/nm-supplicant-interface.c
9878 - (try_remove_iface): new function, ask wpa_supplicant to remove
9880 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9881 disposing of the NMSupplicantInterface. Otherwise weird stuff
9882 happens on hotplug if wpa_supplicant doesn't tear down and readd
9883 the interface internally
9885 2007-08-15 Dan Williams <dcbw@redhat.com>
9887 * src/nm-device-802-11-wireless.c
9888 - (real_bring_down): move most of this function into device_cleanup()
9889 so that it can be called from elsewhere
9890 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9891 and stuff on dispose. These would normally get cleaned up when
9892 the device is marked down and deactivated, but when the device is
9893 hot-unplugged, it's already down and real_down() never gets run
9895 2007-08-15 Dan Williams <dcbw@redhat.com>
9898 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9899 caused a reference leak on device for which NM requested a key
9901 2007-08-15 Dan Williams <dcbw@redhat.com>
9903 * libnm-glib/nm-client.c
9904 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9906 2007-08-15 Tambet Ingo <tambet@gmail.com>
9908 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9909 nothing is using it at the moment, but it'll be all useful and stuff later on.
9911 * libnm-util/nm-setting.h: Define NMSettingPPP.
9913 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9915 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9917 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9919 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9921 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9923 2007-08-14 Tambet Ingo <tambet@gmail.com>
9925 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9927 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9928 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9929 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9930 name and different arguments and it won't compile anymore. To fix this, we now have
9931 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9932 that is new API + compatibility API and used by the daemon. The other,
9933 nm-manager-client.xml is only the new API without compatibility bits and is used
9934 by libnm-glib to make it compile.
9936 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9938 * src/nm-manager.c (impl_manager_legacy_sleep)
9939 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9940 interface functions for 0.6 branch.
9942 2007-08-14 Dan Williams <dcbw@redhat.com>
9944 * src/NetworkManagerAP.c
9945 - (nm_ap_new_from_properties): fix mistaken check of return value
9946 from memcmp (should expect 0)
9948 2007-08-14 Dan Williams <dcbw@redhat.com>
9950 (force-commit to fix wrong comment and partial commit of r2685; this
9951 commit actually applies to r2685)
9953 * src/NetworkManagerUtils.c
9954 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9955 ignores trailing nulls in the SSID to work around mismatches in
9956 expectations between WEXT and what the info-daemon passes back. The
9957 info-daemon would pass back the correct length, but due to the
9958 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9959 the device would always have an SSID + 1 depending on what versions
9960 of wpa_supplicant, the kernel, and NM you have. This was most often
9961 visible by just quitting the applet and relaunching, which caused
9962 NM to reassociated to the same network over again when reloading
9965 * src/NetworkManagerPolicy.c
9966 src/NetworkManagerUtils.h
9967 src/nm-device-802-11-wireless.c
9968 - Update for new parameter to nm_utils_same_ssid()
9970 2007-08-14 Dan Williams <dcbw@redhat.com>
9972 * src/NetworkManagerAP.c
9973 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9974 I encountered a BSS that wasn't just hiding it's ESSID, it was
9975 setting the BSSID to all 0s. That confused the heck out of NM,
9976 plus it's useless and probably out-of-spec.
9978 2007-08-14 Dan Williams <dcbw@redhat.com>
9980 * callouts/Makefile.am
9981 src/dhcp-manager/nm-dhcp-manager.c
9982 src/dhcp-manager/nm-dhcp-manager.h
9983 src/dhcp-manager/Makefile.am
9984 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9986 2007-08-14 Dan Williams <dcbw@redhat.com>
9988 * src/dhcp-manager/nm-dhcp-manager.c
9989 - (dhclient_run): don't pass -x to dhclient until we figure out if
9990 it's really needed, get rid of unused xtra_args parameter
9992 2007-08-14 Dan Williams <dcbw@redhat.com>
9994 * include/NetworkManagerVPN.h
9995 src/vpn-manager/nm-dbus-vpn.c
9996 src/vpn-manager/nm-dbus-vpn.h
9997 src/vpn-manager/nm-vpn-act-request.c
9998 src/vpn-manager/nm-vpn-act-request.h
9999 src/vpn-manager/nm-vpn-service.c
10000 src/vpn-manager/nm-vpn-service.h
10001 libnm-glib/nm-vpn-connection.c
10002 libnm-glib/nm-vpn-connection.h
10003 libnm-glib/nm-client.h
10004 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
10005 NMVPNServiceState to clarify what they apply to
10006 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
10007 NMVPNActStage -> NMVPNConnectionState for the same reason
10009 * libnm-glib/nm-client.c
10010 - Constant + type renames from above
10011 - Properly handle NameOwnerChanged/manager_running signals
10012 for NM service; only emit when state really changes
10013 - Use hash tables correctly so that the key (which was previously owned
10014 by the D-Bus message) now has the same lifetime as the value, since
10015 the key is now taken from the the NMVPNConnection itself. This
10016 really fixes the double-VPN names in the applet
10018 2007-08-13 Dan Williams <dcbw@redhat.com>
10020 Patch from Michael Biebl <biebl@debian.org>
10024 - Update for vpn-properties move
10026 2007-08-13 Dan Williams <dcbw@redhat.com>
10028 * libnm-glib/nm-client.c
10029 - Convert internal VPN connection tracking from a list to a hash table
10030 to easily avoid duplicates
10031 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10032 must be freed by the caller, like nm_client_get_devices()
10033 - (nm_client_remove_vpn_connection): don't let the removal signal
10034 leak through for NMVPNConnection objects that aren't actually
10036 - (manager_running): throw away VPN connection list when NM goes away,
10037 like with the device list
10039 2007-08-13 Dan Williams <dcbw@redhat.com>
10041 * src/dhcp-manager/nm-dhcp-manager.c
10042 - Stop any dhclient instance that might be already running for a
10043 particular interface before starting an NM spawned dhclient. Fixes
10044 dhclient processes left over if NM crashes, stuff like that.
10046 2007-08-13 Dan Williams <dcbw@redhat.com>
10048 * src/NetworkManagerAP.c
10049 - (finalize): don't try to g_array_free (NULL, ...), which happened
10050 when the AP wasn't broadcasting it's SSID
10052 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10054 * include/NetworkManager.h: added DBus path for connection settings.
10056 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10057 nm_connection_settings_signal_updated,
10058 nm_connection_settings_signal_removed): new functions to wrap the
10060 (nm_connection_settings_init): register GObject with DBus.
10061 (nm_connection_settings_get_dbus_object_path): new function.
10063 * libnm-glib/Makefile.am: added libnmutil to link flags.
10065 2007-08-13 Tambet Ingo <tambet@gmail.com>
10067 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10069 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10070 libnm_glib directory got merged with libnm-glib/.
10072 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10074 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10075 Rename the library from libnm-glib to libnm_glib to maintain the library API
10076 compatibility with 0.6 branch.
10078 * Makefile.am: Remove gnome/ SUBDIR.
10080 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10082 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10084 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10086 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10088 Remove checks for wpa_supplicant binary, it's used over dbus.
10089 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10091 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10092 Link the binaries with libnm_glib.la.
10094 2007-08-12 Dan Williams <dcbw@redhat.com>
10096 * src/NetworkManagerPolicy.c
10097 - (nm_policy_device_change_check): fix policy to deactivate old device
10098 before activating new one, at least until the multiple active
10099 device support lands
10101 2007-08-12 Dan Williams <dcbw@redhat.com>
10103 * src/NetworkManagerPolicy.c
10104 - (nm_policy_new): hook up to connection-added / connection-removed
10105 signals instead of connections-changed
10107 2007-08-12 Dan Williams <dcbw@redhat.com>
10109 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10110 Robert Frank <rfrank@redhat.com>
10112 * src/dhcp-manager/nm-dhcp-manager.c
10113 src/dhcp-manager/nm-dhcp-manager.c
10115 - Spawn and communicate with dhclient directly, through means of a
10116 custom dhclient callout script. Process callout D-Bus signals
10117 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10118 sent via gobject signals rather than being driven by the dhcp manager
10121 2007-08-12 Dan Williams <dcbw@redhat.com>
10123 * callouts/nm-dhcp-client-action.c
10124 - (build_message): ignore non-DHCP-related environment variables
10126 2007-08-12 Dan Williams <dcbw@redhat.com>
10130 callouts/Makefile.am
10131 callouts/nm-dhcp-client-action.c
10132 callouts/nm-dhcp-client.conf
10133 - Add dhclient-executed callout that takes the place of dhclient-script
10134 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10135 NM then listens for
10137 2007-08-09 Tambet Ingo <tambet@gmail.com>
10139 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10141 * libnm-glib/nm-client.h:
10142 * libnm-glib/nm-object.h:
10143 * libnm-glib/nm-vpn-connection.h:
10144 * libnm-glib/nm-settings.h:
10145 * libnm-glib/nm-device.h:
10146 * libnm-glib/nm-ip4-config.h:
10147 * libnm-glib/nm-access-point.h:
10148 * libnm-glib/nm-device-802-3-ethernet.h:
10149 * libnm-util/nm-setting.h:
10150 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10152 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10154 * libnm-glib/nm-access-point.c: Strength has type char.
10156 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10157 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10159 * introspection/nm-access-point.xml: Strength property is char, not int.
10161 * src/NetworkManagerAP.c (set_property): Set strength from char.
10162 (get_property): Handle hidden APs (with empty SSID).
10163 Get strength value from char.
10164 (nm_ap_class_init): Strength property has char type.
10166 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10168 * introspection/Makefile.am:
10169 * introspection/nm-settings.xml:
10170 * introspection/nm-settings-connection.xml: added Settings interfaces.
10172 * libnm-glib/nm-settings.[ch]:
10173 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10174 containing the DBus implementation.
10176 2007-07-26 Dan Williams <dcbw@redhat.com>
10178 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10180 * src/NetworkManagerSystem.c
10181 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10182 same subnet (#437396)
10184 2007-07-26 Dan Williams <dcbw@redhat.com>
10186 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10188 * gnome/vpn-properties/nm-vpn-properties.c
10189 - Fix translatable strings (#445865)
10191 2007-07-26 Dan Williams <dcbw@redhat.com>
10193 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10196 - Remove useless junk (#412530)
10198 2007-07-10 Christopher Aillon <caillon@redhat.com>
10200 Patch from Robert Buchholz <rbu@gentoo.org>:
10204 * introspection/Makefile.am:
10205 Make make distcheck work again.
10207 2007-06-27 Dan Williams <dcbw@redhat.com>
10209 * Make SSIDs GByteArrays everywhere
10210 * Rename "essid" -> "ssid" everywhere that's appropriate
10211 * Refcount activation_ap member of the 802.11 wireless device class
10213 2007-06-27 Tambet Ingo <tambet@ximian.com>
10215 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10217 2007-06-22 Tambet Ingo <tambet@ximian.com>
10219 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10220 that we got a new AP when we just update existing AP properties.
10222 2007-06-21 Tambet Ingo <tambet@ximian.com>
10224 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10226 * nm-utils.[ch]: Remove.
10228 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10229 objects for easy property access and dbus connection handling.
10231 * libnm-glib/nm-client.c: Derive from NMObject.
10233 * libnm-glib/nm-device.c: Ditto.
10235 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10237 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10239 * libnm-glib/nm-ip4-config.c: Ditto.
10241 * libnm-glib/nm-access-point.c: Ditto.
10243 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10244 comparision. Currently used by the device activation code to determine if the new
10245 activation is the same as the old one.
10247 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10248 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10249 able to ask password for the AP.
10251 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10252 up if the device is already connected, tear down it's connection (if it isn't the
10253 same as new one) and start the activation.
10255 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10257 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10258 the issue where all APs are always listed as encrypted.
10260 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10261 their own registered paths.
10263 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10264 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10266 2007-06-13 Tambet Ingo <tambet@ximian.com>
10268 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10271 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10272 because the handling code will cause the next state change and signal listeners
10273 get the signals in wrong order.
10275 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10276 correctly in case of pending activation.
10278 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10279 Convert the essid byte array to string correctly, including the terminating NULL.
10281 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10282 mode with correct types.
10284 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10285 constructed info to dbus call instead of the activation request.
10287 2007-06-11 Christopher Aillon <caillon@redhat.com>
10289 Patch from Christian Persch <chpe@gnome.org>
10291 * libnm-glib/Makefile.am:
10292 * dispatcher-daemon/Makefile.am:
10293 Use the correct variables, the correct paths, and correct ordering. (446315)
10295 2007-06-11 Tambet Ingo <tambet@ximian.com>
10297 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10298 argument. The activation request is easy to retrieve.
10300 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10301 just to be a convenient location for devices to store random stuff.
10303 2007-06-11 Christopher Aillon <caillon@redhat.com>
10305 Patch from Alex Smith <alex@alex-smith.me.uk>
10307 * src/backends/NetworkManagerFrugalware.c:
10308 Update the FrugalWare backend to fix a few segfaults. (#392642)
10310 2007-06-08 Tambet Ingo <tambet@ximian.com>
10312 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10314 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10316 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10318 2007-06-06 Tambet Ingo <tambet@ximian.com>
10320 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10322 Implement NMSettingIP4Config.
10323 Finish NMSettingWired by adding all known members.
10324 (setting_wired_verify): Implement.
10325 Finish NMSettingWireless by adding all known members.
10326 (setting_wireless_verify): Implement.
10328 * libnm-util/nm-connection.c: Register "ipv4" setting.
10329 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10330 dump function, we can introspect the GHashTable which is used for sending connections
10333 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10334 Take GByteArray for essid, it's really not a string.
10336 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10337 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10338 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10339 means overriding the values we got from DHCP.
10340 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10341 (nm_device_deactivate_quickly): Ditto.
10343 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10346 2007-05-07 Tambet Ingo <tambet@ximian.com>
10348 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10351 * libnm-glib/nm-device-802-11-wireless.c:
10352 (nm_device_802_3_ethernet_activate): Remove.
10354 * libnm-glib/nm-device-802-3-ethernet.c
10355 (nm_device_802_3_ethernet_activate): Remove.
10357 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10359 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10362 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10363 activation has started.
10364 Implement the new activation using NMConnection.
10366 * src/nm-activation-request.c: Store a generic connection object instead
10367 of a wireless-specific AP.
10369 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10370 on device type, create a device specific connection object suitable for
10373 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10374 specific check to validate the connection and on success start the
10377 * src/nm-device-interface.h: Add a activate virtual function to the
10378 interface definition.
10380 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10381 (impl_device_activate): Implement.
10383 * introspection/nm-device.xml: Add a generic device activation interface
10384 that accepts an abstract NMConnection structure that has device-specific
10387 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10388 activation interface.
10390 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10391 activation interface.
10393 * libnm-util/nm-connection.c:
10394 * libnm-util/nm-connection.h:
10395 * libnm-util/nm-setting.c:
10396 * libnm-util/nm-setting.h: Add.
10398 * libnm-util/Makefile.am: Build the added files.
10400 * src/nm-dbus-manager.c
10401 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10402 DbusConnection argument from 'name-owner-changed' signal. The manager
10403 is already passed as a first argument to the signal and the connection
10404 is easy enough to get from it.
10406 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10407 Update the signature of the function.
10409 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10412 * src/NetworkManager.c: Ditto.
10414 * src/named-manager/nm-named-manager.c
10415 (nm_named_manager_name_owner_changed): Ditto.
10417 * src/supplicant-manager/nm-supplicant-manager.c
10418 (nm_supplicant_manager_name_owner_changed): Ditto.
10420 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10422 * src/dhcp-manager/nm-dhcp-manager.c
10423 (nm_dhcp_manager_name_owner_changed): Ditto.
10425 * src/nm-hal-manager.c: Add a list of device detectors and creators
10426 to make it easier to add new devices. Each device type has it's own
10427 entry in the table so adding new device types is only a matter of
10428 implementing a couple of functions, one for device detection and the
10429 other for device creation.
10431 2007-04-25 Dan Williams <dcbw@redhat.com>
10433 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10434 (gnome.org #432401)
10436 2007-03-30 Dan Williams <dcbw@redhat.com>
10438 * src/NetworkManagerSystem.c
10439 - (nm_system_device_set_ip4_route): clean up and fix argument
10440 to nm_dev_sock_open()
10442 2007-03-28 Tambet Ingo <tambet@ximian.com>
10444 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10445 data to correct types instead of always using string.
10447 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10448 _not_ have NM_802_11_CAP_PROTO_NONE.
10449 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10452 2007-03-27 Tambet Ingo <tambet@ximian.com>
10454 * libnm-glib/Makefile.am: Fix the build issue.
10456 2007-03-26 Tambet Ingo <tambet@ximian.com>
10458 * libnm-glib/nm-vpn-connection.h:
10459 * libnm-glib/nm-vpn-connection.c: Implement.
10461 * libnm-glib/nm-client.c: Add VPN support.
10463 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10466 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10469 2007-03-26 Dan Williams <dcbw@redhat.com>
10471 * src/NetworkManagerAPList.c
10472 * src/nm-device-802-11-wireless.c
10473 * src/NetworkManagerAP.c:
10474 - Store last seen as glong instead of GTimeVal.
10475 - Fix the upper bound of capabilities, it's a bitfield.
10477 2007-03-16 Tambet Ingo <tambet@ximian.com>
10479 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10481 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10482 "manager-running" signal that notifies the appearance/disappearance of NM.
10483 (nm_client_sleep): Implement.
10485 * libnm-glib/nm-device.c:
10486 * libnm-glib/nm-device-802-11-wireless.c:
10487 * libnm-glib/nm-device-802-3-ethernet.c:
10489 Don't inherit from DBusGProxy, add a proxy to private
10490 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10491 for anything but their own dbus interface. DBusGProxy objects support only one
10492 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10493 interface. The nice side effect of this change is that we do not create a new
10494 DBusGProxy object for each property access.
10496 2007-03-15 Tambet Ingo <tambet@ximian.com>
10498 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10499 with zeroes before passing them to functions - the functions never do that and
10500 reading the values back may produce wrong values.
10501 (real_bring_up): Store the signal handler id ...
10502 (real_bring_down): ... So that it can be removed here.
10503 Disconnect the supplicant interface here as well.
10504 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10505 from the access point instead of old $device/Networks/$essid.
10507 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10508 device state is connected (instead of just having link/carrier).
10510 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10511 already easily accessible through the device.
10513 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10514 store it within the object.
10515 (nm_ap_get_dbus_path): Export it to public as well.
10517 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10520 2007-03-12 Dan Williams <dcbw@redhat.com>
10522 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10523 for non-carrier-detect capable devices, and useless for carrier-detect
10524 devices since we get notifications from netlink about carrier status anyway.
10526 * src/nm-device-802-3-ethernet.c
10527 - remove 'link_source_id' member from private data
10528 - (probe_link): remove and collapse into real_update_link()
10529 - (nm_device_802_3_periodic_update): remove
10530 - (real_is_up): check for sup_iface rather than link_source_id
10531 - (real_bring_up): return gboolean for success/fail; require that
10532 sup_iface be valid for device bringup to succeed
10533 - (real_bring_down): zero out link signal ids
10536 - (nm_device_activate_stage2_device_config): fail activation if device
10538 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10540 - (nm_device_bring_up): return success/fail
10543 - bring_up now returns success/fail
10545 * src/nm-device-802-11-wireless.c
10546 - (real_bring_up): return success from bringup
10548 2007-03-07 Dan Williams <dcbw@redhat.com>
10550 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10551 * src/nm-ap-security-wpa-psk.c
10552 - (real_write_supplicant_config): work with PSKs that may contain
10553 zeros in the binary format rather than treating it as a string
10555 2007-03-02 Tambet Ingo <tambet@ximian.com>
10557 * libnm-glib/nm-device-802-11-wireless.c
10558 (nm_device_802_11_wireless_get_capabilities): Implement.
10560 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10562 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10564 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10565 reply only if it's not NULL. Not sure why this started happening right now.
10567 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10568 code paths for when devices get removed on shutdown or when a device is just
10570 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10571 gets freed so any signal from a device (disconnected for instance) would invoke
10572 NMState update which would crash.
10573 (nm_manager_remove_device): Bring the device down when it gets removed.
10575 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10576 the unused dev_type.
10578 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10579 reference to the added device, NMManager will own it (if it wants).
10581 * test/nm-tool.c: Rewrite using libnm-glib.
10583 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10584 We get signalled when it changes.
10586 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10589 * libnm-glib/nm-device.c: Cache the device state property.
10591 * libnm-glib/nm-access-point.c: Cache the strength property.
10593 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10594 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10595 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10596 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10597 the device is down, activating, or activated (in case of A/B/G cards).
10598 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10599 it's all done through supplicant now.
10601 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10602 counting issues with pending calls which caused leaks and crashes when
10603 interface was removed (now that the interface actually gets removed).
10605 * src/nm-call-store.c: Make a copy of data before running a foreach
10606 with user callback on it - The most common usage pattern is to cancel
10607 (and thus remove) all pending calls with foreach which would modify
10608 the hash table we're iterating over.
10610 * src/nm-manager.c: When a device is added, make sure it is "up". When
10611 it's removed or disabled due to disabling wireless or networking, bring
10614 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10616 * src/nm-device-802-11-wireless.c:
10617 * src/nm-device-802-3-ethernet.c:
10619 - Remove "init" virtual function, all gobjects have a place for that
10620 already (constructor).
10621 - Replace "start" virtual function with "bring_up", devices can be
10622 brought up and down more than just on startup now.
10623 - Add "is_up" virtual function.
10624 - Implement one way to bring a device down instead of previous 4 different
10625 ways, each of witch did something different.
10627 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10628 all it needs is the device interface.
10630 Get rid of NMData.dev_list (3 members to go).
10631 Get rif of NMData in a lot of places.
10633 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10635 2007-02-23 Dan Williams <dcbw@redhat.com>
10637 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10639 * src/NetworkManagerAP.c
10640 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10641 OR-ing rather than AND-ing
10643 2007-02-20 Tambet Ingo <tambet@ximian.com>
10645 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10646 "network-removed" signals.
10648 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10650 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10651 when receiving the signal from dbus.
10653 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10656 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10657 deactivation of the previously activated device working again.
10659 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10662 * src/nm-device.c (nm_device_is_activated): Remove.
10663 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10665 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10666 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10667 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10668 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10669 Remove NMNetworkStatus and NMActStage enums.
10671 2007-02-19 Tambet Ingo <tambet@ximian.com>
10673 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10674 Handle device state changes and disconnect VPN if it's device deactivates.
10676 * src/nm-dbus-nm.c:
10677 * src/nm-dbus-nm.h:
10678 * src/nm-dbus-device.c:
10679 * src/nm-dbus-device.c:
10680 * src/nm-dbus-net.c:
10681 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10683 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10685 * src/nm-device.c (nm_device_get_by_udi):
10686 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10687 implemented in the correct location (NMManager).
10688 Rip out all the test_device stuff.
10690 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10691 failure handlers, it's all done by NMDevice already.
10693 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10694 Remove the iochannel hack to route the unix signals to the main thread since
10695 we're not threaded anymore.
10697 * src/NetworkManagerAP.c: Implement HWAddress property.
10699 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10700 automatically with dbus-glib.
10702 * src/nm-netlink-monitor.c:
10703 * src/nm-netlink-monitor.h:
10704 - Move it low in the class hierarchy, don't reference any NM types.
10705 - Remove private data from the header.
10706 - Use type safe checks in public API methods.
10707 - Make it a singleton so we don't have to pass the single reference around.
10709 2007-02-16 Tambet Ingo <tambet@ximian.com>
10711 * introspection/nm-ip4-config.xml: Implement.
10713 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10715 * libnm-glib/nm-ip4-config.c:
10716 * libnm-glib/nm-ip4-config.c: Implement.
10718 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10719 securities. APs reference security.
10721 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10722 be exported over DBUS.
10724 * src/nm-device-802-3-ethernet.c: Ditto.
10726 * src/NetworkManagerAP.c:
10727 * src/NetworkManagerAP.h:
10728 - Convert to GObject, export over DBUS.
10730 * src/nm-ip4-config.h:
10731 * src/nm-ip4-config.h:
10732 - Convert to GObject, export over DBUS.
10734 2007-02-12 Dan Williams <dcbw@redhat.com>
10736 Patch from Helmut Schaa <hschaa@suse.de>
10738 * vpn-daemons/pptp/configure.in
10739 vpn-daemons/pptp/Makefile.am
10740 vpn-daemons/openvpn/configure.in
10741 vpn-daemons/openvpn/Makefile.am
10742 vpn-daemons/vpnc/configure.in
10743 vpn-daemons/vpnc/Makefile.am
10744 - Add --without-gnome switch which disables building gnome bits
10746 2007-02-12 Tambet Ingo <tambet@ximian.com>
10748 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10750 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10752 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10755 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10757 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10759 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10762 - Remove old low-level dbus interface implementations and replace them
10763 with dbus-glib one.
10766 - Require dbus-glib >= 0.72.
10767 - Plug in new sources to build.
10770 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10771 to make it more convenient to use from GObject based programs.
10774 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10776 2007-02-09 Tambet Ingo <tambet@ximian.com>
10778 * src/nm-device-802-11-wireless.c:
10779 - Add "network-added" and "network-removed" signals.
10780 - Use gobject boilerplate macros to define the GObject.
10781 - Implement wireless device activation.
10782 - Remove activation_failure_handler and activation_success_handler
10783 and instead listen on state-changed signals and run the same code
10787 - Implment NMDeviceInterface::deactivate.
10788 - Remove activation_failure_handler and activation_success_handler
10789 virtual methods. Each device which is interested in these events
10790 can just listen on it's state changed signals.
10792 * src/NetworkManagerPolicy.c:
10793 - Move a bit more NMData usage to NMManager.
10794 - Remove activation scheduling bits.
10795 - Add listeners for wireless device's "network-added" and
10796 "network-removed" signals.
10797 - Listen device changed signals and deactivate currently activated
10798 device when another device start activating (for now).
10799 - Remove (nm_policy_schedule_device_change_check): There's never a need
10800 for calling this, the policy code knows exactly when this should happen,
10801 by listening on events from NMManager and NMDevices.
10803 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10806 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10807 method on the specific device instead of going to through policy code
10808 and determining the device type by passed in AP's existance.
10810 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10811 abstract NMDevice deactivation.
10813 2007-02-08 Tambet Ingo <tambet@ximian.com>
10815 * src/NetworkManager.c:
10816 - Set up all the shiny new managers.
10818 * src/NetworkManagerPolicy.c:
10819 - Add the beginnings of new NMPolicy code. Instead of requireing all
10820 classes to call into policy code, make the policy code kind of like
10821 a supervisor that monitors what's going on and drives the whole NM.
10823 * src/nm-hal-manager.c:
10824 * src/nm-hal-manager.h:
10825 - Collect all libhal code scattered around NM to this one class.
10826 - Listen libhal and NMManager events and add/remove devices to
10829 * src/nm-manager.c:
10830 * src/nm-manager.h:
10831 - Implment a replacement for NMData. NMData is now officially
10834 2007-02-05 Tambet Ingo <tambet@ximian.com>
10836 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10837 * src/supplicant-manager/nm-supplicant-interface.h
10838 * src/supplicant-manager/nm-supplicant-interface.c
10839 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10840 argument to boolean from enum.
10842 Make NMDevice abstract class, remove almost all references to it's
10843 subclasses (the last place gets removed with new policy manager). Add
10844 NMDeviceInterface (which NMDevice implements) so that when we have
10845 NMDevice exported over DBUS, there's a common NMDevice interface which
10846 all instances have, plus there's a device specific interface for each
10848 Remove functions (nm_device_is_802_3_ethernet) and
10849 (nm_device_is_802_11_wireless). There are already standard GObject macros
10850 for type safe checks.
10851 Use the updated supplican manager API.
10853 * src/nm-device-interface.h:
10854 * src/nm-device-interface.c:
10855 * src/nm-call-store.h:
10856 * src/nm-call-store.c: Implement.
10858 * src/supplicant-manager/nm-supplicant-interface.c:
10859 * src/supplicant-manager/nm-supplicant-interface.h:
10860 * src/supplicant-manager/nm-supplicant-manager.c:
10861 * src/supplicant-manager/nm-supplicant-manager.h:
10862 - Remove all private data type references from public header files.
10863 - Remove all references to other NM classes, this class is just a
10864 proxy between wpa_supplicant and NM so it doesn't have to know
10866 - Convert to dbus-glib bindings.
10867 - Type safe checks for public methods' arguments.
10868 - Store pending DBUS call ids to NMCallStore.
10870 * src/supplicant-manager/nm-supplicant-config.c:
10871 - Store config values in a GHashTable instead of GSList.
10873 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10875 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10878 * src/nm-device.c: Use the new DHCP manager API.
10880 * src/nm-activation-request.c:
10881 * src/nm-activation-request.h:
10882 - Remove all dhcp related properties and methods.
10884 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10886 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10888 * src/dhcp-manager/nm-dhcp-manager.c:
10889 * src/dhcp-manager/nm-dhcp-manager.h:
10890 - Convert it to GObject since we need to signal state changes.
10891 - Remove all references to other NM classes, this class is one
10892 of the lowest classes in our hierarchy.
10893 - One less class to use NMActRequest.
10894 - Make it singleton, one less user of NMData.
10895 - Remove a couple of sleep() calls.
10896 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10897 One less class to use the NM's custom tailored signal handlig.
10899 * Makefile.am: Generate marshallers, add them to build.
10901 2007-02-02 Dan Williams <dcbw@redhat.com>
10907 - Remove last bits referencing gnome applet
10909 2007-02-02 Dan Williams <dcbw@redhat.com>
10911 * src/vpn-manager/nm-vpn-service.c
10912 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10913 and NBNS server addresses
10915 2007-02-02 Tambet Ingo <tambet@ximian.com>
10917 * src/nm-dbus-manager.c:
10918 * src/nm-dbus-manager.h:
10919 - Convert all internal DBUS code to use dbus-glib bindings.
10920 - Remove GObject properties, we don't need them here.
10921 - Don't explicitly set things to NULL after freeing, glib is
10922 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10923 - Make public API argument checks type safe.
10924 - Remove unnecessary (and wrong) cast to GObject for the first
10925 argument to g_signal_* calls - The first argument is a gpointer.
10926 - Export DBusGConnection to other cool classes that (are going to)
10929 2007-01-26 Dan Williams <dcbw@redhat.com>
10931 * libnm-util/dbus-dict-helpers.c
10932 libnm-util/dbus-dict-helpers.h
10933 - Coordinate style with wpa_supplicant version to minimize diff
10934 - Add uint32 array support
10935 - (nmu_dbus_dict_append_uint32_array): new function
10936 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10937 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10938 version; allow adding string array elements individually
10940 * test/libnm-util/test-dbus-dict-helpers.c
10941 - Test uint32 arrays
10943 2007-01-27 Jürg Billeter <j@bitron.ch>
10945 * src/backends/NetworkManagerPaldo.c
10946 - (nm_system_update_dns): clear nscd hosts cache
10948 2007-01-04 Dan Williams <dcbw@redhat.com>
10950 Threading removal related cleanups:
10952 - Use the glib default main context. Remove the device main context
10953 member from NMDevice, and the main_context member from NMData. Change
10954 all the idle and timeout scheduler functions to use plain
10955 g_idle_add() and g_timeout_add().
10957 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10958 takes an argument; fix that up too.
10960 - Remove all locking, which is useless since we no longer use threads. For
10961 example, nm_get_device_by_iface_locked() has been removed. The global
10962 device list lock, the AP List lock, and all static locks in
10963 NetworkManagerPolicy.c have been removed. The locking utility functions
10964 in NetworkManagerUtils.c have also been removed.
10966 - Other cleanups in spacing and code style
10968 2007-01-01 Dan Williams <dcbw@redhat.com>
10970 Found by Bill Moss:
10972 * src/supplicant-manager/nm-supplicant-interface.c
10973 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10974 the supplicant interface wasn't already disconnected. Always
10975 call removeNetwork and disconnect unless the supplicant interface
10976 is in the DISCONNECTED or INACTIVE state.
10978 2006-12-28 Dan Williams <dcbw@redhat.com>
10980 Use a single thread for everything. With the move to wpa_supplicant
10981 and communication over D-Bus, there's no reason for multiple threads.
10982 Almost all of the blocking code has been removed, with one exception in
10983 the DHCP manager and a few in the VPN manager. This commit removes the
10984 per-device worker thread and fixes activation cancellation in the absence
10985 of threads. Further removal of thread-related code would be removing
10986 any locking code (like the device list lock) and simplification of logic
10987 around areas of code or data structures that are currently locked.
10990 dhcp-manager/nm-dhcp-manager.c
10991 nm-device-802-11-wireless.c
10992 nm-device-802-3-ethernet.c
10995 - Remove usage of multiple threads
10997 2006-12-19 Dan Williams <dcbw@redhat.com>
10999 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
11000 plus a few other patches from wpa_supplicant bugzilla.
11003 src/NetworkManagerPolicy.c
11004 src/NetworkManagerUtils.c
11005 src/NetworkManagerUtils.h
11006 src/nm-ap-security-leap.c
11007 src/nm-ap-security-wep.c
11008 src/nm-ap-security-wpa-eap.c
11009 src/nm-ap-security-wpa-psk.c
11010 src/nm-ap-security.c
11011 src/nm-ap-security.h
11012 src/nm-device-802-11-wireless.c
11013 src/nm-device-802-11-wireless.h
11014 src/supplicant-manager/nm-supplicant-config.c
11015 src/supplicant-manager/nm-supplicant-config.h
11016 src/supplicant-manager/nm-supplicant-interface.c
11017 src/supplicant-manager/nm-supplicant-interface.h
11018 src/supplicant-manager/nm-supplicant-marshal.list
11019 src/supplicant-manager/nm-supplicant-settings-verify.c
11020 src/supplicant-manager/nm-supplicant-settings-verify.h
11021 - Move all connection management and association handling to
11022 wpa_supplicant over dbus, rather than spawning a private copy
11024 2006-12-19 Dan Williams <dcbw@redhat.com>
11026 * src/NetworkManagerPolicy.c
11027 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11028 better locking of the device change check handler ID. Incorrect
11029 locking was causing lost device change requests
11031 2006-12-18 Dan Williams <dcbw@redhat.com>
11033 * libnm-util/dbus-dict-helpers.c
11034 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11035 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11036 dbus_message_iter_get_array_len() (Gnome.org #382898)
11038 2006-12-18 Dan Williams <dcbw@redhat.com>
11040 * gnome/libnm_glib/libnm_glib.c
11041 - Change dbus_connection_close() -> dbus_connection_unref()
11043 2006-12-11 Dan Williams <dcbw@redhat.com>
11045 * src/supplicant-manager/nm-supplicant-interface.c
11046 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11047 wpa_supplicant interface state
11048 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11049 state before transitioning to READY state
11051 2006-12-04 Dan Williams <dcbw@redhat.com>
11053 * src/nm-device-802-11-wireless.c
11054 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11055 odd length of ESSID returned from ieee80211 stack-based drivers
11057 2006-12-04 Dan Williams <dcbw@redhat.com>
11059 * src/nm-device-802-11-wireless.c
11060 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11061 IE handling blocks that cause mis-parsing of the IE
11063 2006-12-04 Dan Williams <dcbw@redhat.com>
11065 * src/nm-device-802-11-wireless.c
11066 - (init_supplicant_interface): new function; pull supplicant interface
11067 setup code out into standalone function since it must be called from
11068 two different places
11069 - (real_init): sup_mgr is now in private object data; get and track
11070 the supplicant manager object over the NMDevice subclass' lifetime
11071 and register a signal handler for its state signals; only try to
11072 initialize the supplicant interface if the supplicant manager is in
11073 the IDLE state (and therefore is ready for requests)
11074 - (request_wireless_scan): reschedule the scan request if (a) there is
11075 no supplicant interface yet (meaning wpa_supplicant isn't running
11076 or isn't ready yet), or (b) if the supplicant interface isn't ready
11078 - (supplicant_iface_connection_state_cb): new function; stub for
11079 handling supplicant interface connection state signals
11080 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11082 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11083 supplicant manager object that's being tracked starting with this
11086 2006-12-04 Dan Williams <dcbw@redhat.com>
11088 * src/supplicant-manager/nm-supplicant-interface.c
11089 - (nm_supplicant_interface_set_property): track signal handler ID
11090 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11092 2006-12-04 Dan Williams <dcbw@redhat.com>
11094 * src/supplicant-manager/nm-supplicant-interface.[ch]
11095 - (nm_supplicant_interface_get_state): new function
11097 2006-12-04 Dan Williams <dcbw@redhat.com>
11099 * src/supplicant-manager/nm-supplicant-interface.c
11100 - (bssid_properties_cb): don't treat DBus errors as valid
11101 scanned AP messages
11103 2006-12-04 Dan Williams <dcbw@redhat.com>
11105 * src/supplicant-manager/nm-supplicant-interface.[ch]
11106 - (nm_supplicant_interface_get_connection_state): new function
11107 - define new supplicant connection states
11108 - send a signal when the supplicant connection state changes
11110 2006-12-03 Dan Williams <dcbw@redhat.com>
11112 * src/supplicant-manager/Makefile.am
11113 src/supplicant-manager/nm-supplicant-connection.h
11114 src/supplicant-manager/nm-supplicant-connection.c
11115 src/supplicant-manager/nm-supplicant-config.h
11116 src/supplicant-manager/nm-supplicant-config.c
11117 src/supplicant-manager/nm-supplicant-types.h
11118 src/supplicant-manager/nm-supplicant-interface.h
11119 src/supplicant-manager/nm-supplicant-interface.c
11120 - Rename NMSupplicantConnection -> NMSupplicantConfig
11122 2006-12-03 Dan Williams <dcbw@redhat.com>
11124 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11128 - Move VPN-related translatables to .skip
11130 * vpn-daemons/pptp/po/POTFILES.in
11131 - Update with new translatables
11133 2006-12-02 Dan Williams <dcbw@redhat.com>
11135 Patch from Christian Persch <chpe@gnome.org>
11137 * gnome/applet/Makefile.am
11138 gnome/applet/applet-dbus-devices.c
11139 gnome/applet/applet-notifications.c
11140 gnome/applet/applet.c
11141 gnome/applet/applet.h
11142 gnome/applet/main.c
11143 - Be a GtkStatusIcon on GTK+ >= 2.10
11145 2006-12-02 Dan Williams <dcbw@redhat.com>
11147 * gnome/applet/applet.c
11148 - (nma_update_info): fix two unecessary allocations
11150 2006-12-02 Dan Williams <dcbw@redhat.com>
11152 Patch from Michael Biebl <biebl@teco.edu>
11154 man/NetworkManager.1.in
11155 man/NetworkManagerDispatcher.1.in
11156 man/NetworkManager.8.in
11157 man/NetworkManagerDispatcher.8.in
11158 - Add .SH NAME stanzas
11159 - Move NM & NM Dispatcher manpages to section 8 (admin)
11161 2006-12-02 Dan Williams <dcbw@redhat.com>
11163 Patch from Christian Persch <chpe@gnome.org>
11166 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11168 2006-11-29 Tambet Ingo <tambet@ximian.com>
11170 Patch by Timo Hoenig <thoenig@suse.de>:
11171 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11174 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11175 we can't use the one from the main source directory.
11177 2006-11-27 Dan Williams <dcbw@redhat.com>
11179 Patch from Christian Persch <chpe@gnome.org>
11181 * gnome/applet/applet-dbus-devices.c
11182 - (hal_info_product_cb): fix memleak; free duped string.
11185 2006-11-27 Dan Williams <dcbw@redhat.com>
11187 Patch from Christian Persch <chpe@gnome.org>
11189 * gnome/applet/menu-items.c
11190 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11191 as gtk_progress_set_percentage is deprecated. Should
11192 work as far back as GTK+ 2.4. Gnome.org #379780
11194 2006-11-26 Dan Williams <dcbw@redhat.com>
11196 Scan using wpa_supplicant over DBus.
11198 * src/nm-device-802-11-wireless.c
11199 - remove wireless extensions netlink event handler bits
11200 (wireless_event_helper, nm_device_802_11_wireless_event)
11201 - remove wireless extensions scan event handler bits
11202 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11203 hex2byte, hex2num, request_and_convert_scan_results,
11204 free_process_scan_cb_data, scan_results_timeout,
11205 schedule_scan_results_timeout, cancel_scan_results_timeout)
11206 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11207 and request scans from the supplicant interface rather than directly
11208 - Move functionality of convert_scan_results() to cull_scan_list() and
11209 supplicant_iface_scanned_ap_cb()
11210 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11211 at the scan interval when the current scan has finished
11212 - (supplicant_iface_state_cb): start scanning when the supplicant
11213 interface enters the READY state, and stop scanning when it
11214 enters the DOWN state
11215 - (cull_scan_list): weed out old access points from the scan list
11216 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11217 point into an NMAccessPoint and merge it into the device's scan list
11219 * src/supplicant-manager/nm-supplicant-interface.c
11220 src/supplicant-manager/nm-supplicant-interface.h
11221 - Add a new signal "scan-result" which is issued when the supplicant
11222 notifies NM that a scan has completed
11223 - Add a new signal "scanned-ap" that notifies listeners of a new access
11224 point found in the scan. Called once for each access point that
11225 the supplicant interface object receives from the supplicant as a
11226 result of the "scanResults" method call
11227 - (wpas_iface_query_scan_results): don't wait 4s before querying
11228 for the initial scan results
11229 - (scan_request_cb): new function; send listeners the result
11230 (success, error) of a wireless scan request
11231 - (nm_supplicant_interface_request_scan): new function; ask the
11232 supplicant to perform an immediate wireless scan
11234 2006-11-25 Dan Williams <dcbw@redhat.com>
11236 * src/supplicant-manager/Makefile.am
11237 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11238 add HAL cflags/includes and named-manager includes directory
11240 * src/supplicant-manager/nm-supplicant-interface.h
11241 - New state STARTING to handle transition from INIT to READY where
11242 the addInterface pending call is still outstanding
11244 * src/supplicant-manager/nm-supplicant-interface.c
11245 - track pending calls differently since we may have more than one
11246 going on at any given time
11247 - request scan results from wpa_supplicant; but don't do it more often
11248 than every 4 seconds. Drivers that do background scanning
11249 (like the 'ipw' drivers) send a continuous stream of scan completion
11250 notifications, so we don't want to hammer the supplicant or dbus
11251 with requests for all scan results every time we get a completion
11254 2006-11-25 Dan Williams <dcbw@redhat.com>
11256 * src/supplicant-manager/nm-supplicant-types.h
11257 - new file; move all supplicant manager object typedefs here for
11260 * src/supplicant-manager/nm-supplicant-interface.c
11261 src/supplicant-manager/nm-supplicant-interface.h
11262 - new file; an object that interfaces an NMDevice object to the
11263 supplicant and handles signals from the supplicant. This object
11264 does all necessary DBus communication with wpa_supplicant.
11266 * src/supplicant-manager/nm-supplicant-manager.c
11267 src/supplicant-manager/nm-supplicant-manager.h
11268 - Actually do something. Track the state of the wpa_supplicant service
11269 and deal with its comings & goings. Handle life events of
11270 supplicant interfaces too.
11271 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11273 * src/supplicant-manager/nm-supplicant-connection.h
11274 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11276 * src/supplicant-manager/Makefile.am
11277 - Add new files to build, and add libnm-util to includes
11279 * src/nm-marshal.list
11280 - New marshaler type: VOID:UINT,UINT
11282 * src/nm-device-802-3-ethernet.c
11283 - (real_init): grab a supplicant interface
11284 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11285 - (supplicant_iface_state_cb): new function, stub for handling
11286 supplicant interface state changes
11288 * src/nm-device-802-11-wireless.c
11289 - (real_init): grab a supplicant interface
11290 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11291 - (supplicant_iface_state_cb): new function, stub for handling
11292 supplicant interface state changes
11294 * src/NetworkManager.c
11295 - (main): create and keep the supplicant manager around for the lifetime
11299 - Link to the supplicant manager sub-library and use the supplicant
11302 2006-11-25 Dan Williams <dcbw@redhat.com>
11304 Rework DBus manager signal handling to be more flexible. Previously,
11305 only one signal handler could be registered for a particular interface.
11306 The DBus manager now reference counts DBus bus matches and allows multiple
11307 clients to register signal handlers for the same interface and sender.
11309 * src/NetworkManager.c
11310 - (main): track NMI signal handler ID and remove it when we quit
11312 * src/NetworkManagerMain.h
11313 - Keep track of NMI signal handler ID
11315 * src/nm-dbus-manager.c
11316 src/nm-dbus-manager.h
11317 - rework signal handling; each signal handler references one signal
11318 match, but a signal match may be referenced by one or more
11319 signal handlers. Matches are refcounted and are destroyed when the
11320 last signal handler that references the match is removed. This is
11321 necessary because two signal handlers may end up requiring the same
11322 dbus bus match, so the match must live until the last signal handler
11323 is destroyed (for example, with the wpa_supplicant network interface
11326 * src/dhcp-manager/nm-dhcp-manager.c
11327 - (nm_dhcp_manager_new): track DHCP signal handler id
11328 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11330 * src/vpn-manager/nm-vpn-service.c
11331 - (nm_vpn_service_add_watch): track VPN service signal handler id
11332 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11334 2006-11-25 Dan Williams <dcbw@redhat.com>
11336 Suggested by Helmut Schaa <hschaa@suse.de>
11338 * src/vpn-daemons/nm-vpn-service.c
11339 - (supplicant_child_setup): new function
11340 - (supplicant_exec): make child process use a new process group id
11342 * src/nm-device-802-11-wireless.c
11343 - (nm_vpn_service_child_setup): new function
11344 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11347 2006-11-19 Dan Williams <dcbw@redhat.com>
11349 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11350 * gnome/vpn-properties/nm-vpn-properties.c
11351 - clean up after renamed VPN connection
11353 2006-11-19 Dan Williams <dcbw@redhat.com>
11355 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11356 * gnome/applet/applet-dbus-vpn.c
11357 - (nma_dbus_vpn_properties_cb): sort VPN connections
11359 * gnome/vpn-properties/nm-vpn-properties.c
11360 - (init_app): sort VPN connections
11362 2006-11-09 Dan Williams <dcbw@redhat.com>
11364 * src/NetworkManagerAPList.c
11365 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11366 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11367 from the nm_ap_list_get_ap_by_address() call was incorrect and
11368 broke hidden SSID matching. Found by Bill Moss.
11370 2006-10-25 Dan Williams <dcbw@redhat.com>
11373 - (nm_dbus_nm_set_active_device): return an empty success message on
11374 success, rather than falling through to the error case.
11376 2006-10-25 Dan Williams <dcbw@redhat.com>
11378 * src/NetworkManagerUtils.c
11379 - (nm_utils_supplicant_request_with_check): suppress messages for the
11382 2006-10-24 Dan Williams <dcbw@redhat.com>
11384 Reduce the number of times the Gnome applet wakes up, especially when
11385 it's doing absolutely nothing and is hidden. Initial patch by
11388 * gnome/applet/applet-dbus.c
11389 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11390 kill the redraw timeout. When NM starts up, start the redraw
11391 timeout. Also, if we get kicked off the bus for some reason,
11392 start the reconnection timeout if one's not already running.
11393 - (nma_dbus_init): better handling of error conditions, don't leak
11394 a half-initialized dbus connection
11395 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11396 the applet's data, just call nm_dbus_init_helper()
11397 - (nma_start_dbus_connection_watch): new function, starts a periodic
11398 timeout that calls nma_dbus_connection_watcher()
11399 - (nma_dbus_init_helper): if we get a successful connection, kill the
11400 reconnection timeout, and don't start the reconnection timeout
11401 unconditionally anymore
11403 * gnome/applet/applet-dbus.h
11404 - Expose nma_start_dbus_connection_watch()
11406 * gnome/applet/applet.c
11407 - (nma_update_state): no longer static, called from applet-dbus.c for
11408 immediate UI updates on certain events
11409 - (nma_set_running): new function; take over setting applet->running,
11410 when not running (ie, NM is not active), don't activate the redraw
11411 timeout because we're not showing the applet anyway. When we are
11412 running (ie, NM is active), and only when we're running, start the
11414 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11415 kill any reconnection timeout
11416 - (nma_get_instance): move one-off dbus initialization code here since
11417 nm_dbus_init_helper() gets called more than once, possibly by the
11418 reconnection timeout function too. And, when we start up, if we
11419 can't get a connection to the bus, start the reconnection timeout.
11420 But don't start the redraw timeout yet, only do that when we get
11421 NM's state and find out if it's running or not.
11423 * gnome/applet/applet.h
11424 - Add the reconnection GSource ID
11425 - Add prototypes for nma_set_running() and the no-longer-static
11428 2006-10-24 Dan Williams <dcbw@redhat.com>
11430 * src/vpn-daemons/nm-dbus-vpnc.c
11431 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11432 pending call tracker
11433 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11434 pending call tracker; register one-vpn-connection update pending
11435 call in pending call tracker
11436 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11437 update pending call in pending call tracker
11438 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11439 update pending call in pending call tracker; don't block waiting
11442 2006-10-19 Robert Love <rml@novell.com>
11444 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11447 2006-10-14 Dan Williams <dcbw@redhat.com>
11449 * src/dhcp-manager/nm-dhcp-manager.c
11450 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11451 the dbus connection and the device object path rather than
11452 constructing it inside both functions. Saves a bit of memory
11453 and clarifies a failure path.
11454 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11455 and allocate device path here rather than each of the two
11458 2006-10-13 Dan Williams <dcbw@redhat.com>
11460 * src/NetworkManager.c
11461 - (nm_name_owner_changed_handler): handle NMI coming and going,
11462 this somehow droppout in the refactor
11464 2006-10-13 Dan Williams <dcbw@redhat.com>
11466 * Huge DBus refactor:
11467 - Create a "DBus Manager" object which manages the connection and
11468 sends signals on NameOwnerChanged and connection/disconnection events,
11469 handles reconnection to the bus if NM gets kicked off, and abstracts
11471 - Remove DBusConnection members from places where they are no
11472 longer needed due to the refactor, like the dbus-connection
11473 property of the named manager, and from NMData
11474 - Reformats a bunch of the code to gnome style
11475 (8-space tabs, braces on same line as statement, 80-col width).
11476 Consider it open season to reformat any bits to gnome style.
11477 style that aren't already.
11479 2006-10-13 Dan Williams <dcbw@redhat.com>
11481 * src/supplicant-manager/Makefile.am
11484 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11485 - Make it a minimal GObject
11487 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11488 - Verify settings destined for wpa_supplicant
11490 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11491 - Minimal GObject to track wpa_supplicant controlled device
11494 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11496 * gnome/applet/applet.c: (nma_update_info),
11497 (nma_act_stage_to_pixbuf), (nma_update_state):
11498 Mark missing strings for translation. Fixes bug #343306.
11500 2006-10-01 Dan Williams <dcbw@redhat.com>
11502 * src/vpn-manager/nm-vpn-manager.c
11503 - (nm_vpn_manager_load_services): split and clean up
11504 for readability and correctness. Restrict VPN service
11505 files to ending in ".name", as was meant from the
11506 beginning (but not coded in). Better error reporting.
11508 2006-10-01 Dan Williams <dcbw@redhat.com>
11511 - Clean up formatting of debug/info/warning log messages
11513 2006-09-27 Robert Love <rml@novell.com>
11515 Patch by Tambet Ingo <tambet@ximian.com>:
11516 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11519 2006-09-07 Dan Williams <dcbw@redhat.com>
11522 test/libnm-util/Makefile.am
11523 test/nm-supplicant-test.c
11524 - Add test program emulating the way NM drives wpa_supplicant
11525 to help debug supplicant issues
11527 2006-08-24 Dan Williams <dcbw@redhat.com>
11531 src/supplicant-manager/Makefile.am
11532 src/supplicant-manager/nm-supplicant-manager.c
11533 src/supplicant-manager/nm-supplicant-manager.h
11534 - Add skeleton bits of the wpa_supplicant manager
11536 2006-08-24 Dan Williams <dcbw@redhat.com>
11538 Patch from Ed Catmur:
11539 * src/NetworkManagerUtils.c
11540 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11541 if netmask is 0 (Gnome #352634)
11543 2006-08-17 Robert Love <rml@novell.com>
11545 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11546 package is now DBUS-enabled and listens for the NM signals.
11548 2006-08-14 Dan Williams <dcbw@redhat.com>
11550 * Patch from Christian Persch <chpe gnome org>
11553 vpn-daemons/openvpn/po/LINGUAS
11554 vpn-daemons/openvpn/configure.in
11555 vpn-daemons/pptp/po/LINGUAS
11556 vpn-daemons/pptp/configure.in
11557 vpn-daemons/vpnc/po/LINGUAS
11558 vpn-daemons/vpnc/configure.in
11559 - Convert to LINGUAS method so translators don't have to modify
11560 configure.in, just stuff in po/. Gnome #343132, requires intltool
11563 2006-08-14 Dan Williams <dcbw@redhat.com>
11565 Patch from Alex Smith <alex.extreme2@gmail.com>
11567 src/backends/Makefile.am
11568 src/backends/NetworkManagerFrugalware.c
11569 - Add support for Frugalware
11571 2006-08-13 Dan Williams <dcbw@redhat.com>
11573 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11574 * src/nm-device-802-11-wireless.c
11575 - (supplicant_exec): spawn wpa_supplicant without debug spew
11578 2006-08-13 Dan Williams <dcbw@redhat.com>
11580 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11581 * src/nm-ap-security.c
11582 src/nm-ap-security.h
11583 - Add authentication_required bits for subclasses to specify whether
11584 or not real authentication is required for connections, i.e. whether
11585 the AP rejects us when an encryption key is wrong or not.
11587 * src/nm-ap-security-wep.c
11588 src/nm-ap-security-wpa-eap.c
11589 src/nm-ap-security-wpa-psk.c
11590 src/nm-ap-security-leap.c
11591 - Implement authentication_required appropriately for each method
11593 * src/nm-device-802-11-wireless.c
11594 - Be smarter about when to request a key; for example, using a wrong key
11595 in WEP shared key mode previously just timed out and did not request
11598 2006-08-13 Dan Williams <dcbw@redhat.com>
11600 * gnome/libnm_glib/libnm_glib.c
11601 - dbus_connection_disconnect() -> dbus_connection_close() for
11604 2006-08-07 Dan Williams <dcbw@redhat.com>
11606 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11607 * src/NetworkManagerSystem.c
11608 - Respect specified MTU. Gnome #344967
11610 2006-08-07 Dan Williams <dcbw@redhat.com>
11612 * src/vpn-manager/nm-vpn-service.c
11613 - Simplify print_vpn_config() arguments
11615 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11616 * src/vpn-manager/Makefile.am
11617 src/vpn-manager/nm-vpn-service.c
11618 - Add new API for passing VPN config options as a dict. Gnome #344967
11620 2006-08-06 Dan Williams <dcbw@redhat.com>
11622 * gnome/applet/applet-dbus-devices.c
11623 gnome/applet/applet-dbus-vpn.c
11624 gnome/applet/applet-dbus.c
11625 gnome/applet/applet-dbus.h
11629 - Make pending call tracking code generic,
11630 so we can use it in NM as well as the applet
11632 2006-08-06 Dan Williams <dcbw@redhat.com>
11634 * src/nm-activation-request.c
11635 - Refcount pending call objects
11637 2006-08-06 Dan Williams <dcbw@redhat.com>
11639 Patch from Christan Chiesa <christanc@gmail.com>
11641 - Tell sha1.c to use bigendian mode on PPC
11643 2006-08-04 Robert Love <rml@novell.com>
11645 Glib Memory Slices!
11646 * configure.in: Require glib 2.10 or later.
11647 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11648 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11649 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11650 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11651 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11652 Memory Slices are the greatest thing since bread slices.
11653 * src/NetworkManagerAP.c: Also, fix memory leak.
11655 2006-08-01 Robert Love <rml@novell.com>
11657 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11659 2006-07-31 Robert Love <rml@novell.com>
11661 * src/backends/interface_parser.c: Declarations must begin the block.
11663 2006-07-24 Dan Williams <dcbw@redhat.com>
11665 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11666 * src/backends/Makefile.am
11667 src/backends/NetworkManagerArch.c
11668 src/backends/NetworkManagerDebian.c
11669 src/backends/NetworkManagerGeneric.c
11670 src/backends/NetworkManagerGeneric.h
11671 src/backends/NetworkManagerGentoo.c
11672 src/backends/NetworkManagerPaldo.c
11673 src/backends/NetworkManagerRedHat.c
11674 src/backends/NetworkManagerSlackware.c
11675 src/backends/NetworkManagerSuSE.c
11676 - Genericize common backend functions
11678 2006-07-18 Robert Love <rml@novell.com>
11680 * configure.in: Add "--with-notify" option to allow disabling of
11683 2006-07-13 Dan Williams <dcbw@redhat.com>
11685 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11686 * gnome/applet/applet.glade
11687 gnome/applet/Makefile.am
11688 gnome/applet/nm-gconf-wso.c
11689 gnome/applet/nm-gconf-wso-leap.c
11690 gnome/applet/nm-gconf-wso-leap.h
11691 gnome/applet/wireless-security-manager.c
11692 gnome/applet/wso-leap.c
11693 gnome/applet/wso-leap.h
11694 include/NetworkManager.h
11695 libnm-util/dbus-helpers.c
11696 libnm-util/dbus-helpers.h
11698 src/NetworkManagerAP.c
11699 src/nm-ap-security.c
11700 src/nm-ap-security-leap.c
11701 src/nm-ap-security-leap.h
11702 - Add LEAP authentication support
11704 2006-07-13 Dan Williams <dcbw@redhat.com>
11706 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11708 src/backends/NetworkManagerArch.c
11709 src/backends/NetworkManagerDebian.c
11710 src/backends/NetworkManagerGentoo.c
11711 src/backends/NetworkManagerPaldo.c
11712 src/backends/NetworkManagerRedHat.c
11713 src/backends/NetworkManagerSlackware.c
11714 src/backends/NetworkManagerSuSE.c
11715 - Convert hardcoding of 'ip' path to configure-time
11718 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11720 * configure.in: added ru to ALL_LINGUAS
11722 2006-07-10 Dan Williams <dcbw@redhat.com>
11724 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11726 - (real_act_stage3_ip_config_start): don't infinite loop when
11727 dhcdbd isn't running (Gnome #346845)
11729 2006-07-09 Dan Williams <dcbw@redhat.com>
11731 * gnome/applet/applet.c
11732 - (nma_destroy): don't pass NULL to notify_notification_close
11735 2006-07-09 Dan Williams <dcbw@redhat.com>
11737 * gnome/applet/applet.c
11738 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11740 2006-07-04 Tor Krill <tor@krill.nu>
11742 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11743 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11744 (nm_system_restart_mdns_responder), (ArchReadConfig),
11745 (nm_system_device_get_system_config):
11746 - Explicitly check for DHCP configuration
11747 - Check if daemons are running before starting them
11749 2006-06-25 Dan Williams <dcbw@redhat.com>
11751 * libnm-util/dbus-dict-helpers.[ch]
11752 test/libnm-util/test-dbus-dict-helpers.c
11753 - Add string array support
11755 2006-06-24 Dan Williams <dcbw@redhat.com>
11757 * src/dhcp-manager/nm-dhcp-manager.c
11758 - (nm_dhcp_manager_process_signal): clean up spacing
11760 2006-06-21 Dan Williams <dcbw@redhat.com>
11762 * src/nm-dbus-device.c
11763 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11766 2006-06-21 Raivis Dejus <orvils@gmail.com>
11768 * configure.in: Added 'lv' to ALL_LINGUAS
11770 2006-06-19 Dan Williams <dcbw@redhat.com>
11772 * src/NetworkManagerAP.c
11773 - Clarify usage of user_created
11775 * src/nm-ap-security-wep.c
11776 src/nm-ap-security-wpa-eap.c
11777 src/nm-ap-security-wpa-psk.c
11778 src/nm-ap-security.c
11779 src/nm-ap-security.h
11780 - s/user_created/adhoc, because we really do mean adhoc
11782 Patch from Bernard Blackham <bernard@blackham.com.au>
11783 * src/nm-device-802-11-wireless.c
11784 - (supplicant_send_network_config): instead of user_created,
11785 use adhoc, and do AP_SCAN 2 for adhoc networks
11787 2006-06-18 Robert Love <rml@novell.com>
11789 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11790 we have a value to set. Gconf generates a warning if `val' is NULL.
11791 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11792 unless we actually received a valid private key file passphrase or
11793 password. Otherwise, we don't know to later ask the applet to pull
11794 the key from the keyring.
11796 2006-06-17 Dan Williams <dcbw@redhat.com>
11798 * libnm-util/dbus-dict-helpers.[ch]
11799 test/libnm-util/test-dbus-dict-helpers.c
11800 - Fixes for zero-length byte arrays
11801 - Replace return values of 0 with FALSE for clarity
11802 - Test zero-length byte arrays
11804 2006-06-17 Dan Williams <dcbw@redhat.com>
11806 * libnm-util/dbus-dict-helpers.[ch]
11807 test/libnm-util/test-dbus-dict-helpers.c
11808 - Add helpers for byte arrays
11809 - Rework bits of the testcase
11811 2006-06-16 Dan Williams <dcbw@redhat.com>
11813 * libnm-util/Makefile.am
11814 * libnm-util/dbus-dict-helpers.[ch]
11815 - Add some helpers to take the pain out of using dict types in
11818 * test/libnm-util/Makefile.am
11819 * test/libnm-util/test-dbus-dict-helpers.c
11820 - Test cases for the dict helper functions
11822 2006-06-15 Robert Love <rml@novell.com>
11824 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11825 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11826 if there is no key to pass.
11827 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11828 receiving a non-NULL key.
11830 2006-06-14 Robert Love <rml@novell.com>
11832 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11836 2006-06-14 Dan Williams <dcbw@redhat.com>
11838 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11839 * src/nm-device-802-11-wireless.c
11840 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11841 or ones where the driver is unknown
11842 - (supplicant_exec): don't wait for supplicant startup here
11843 - (supplicant_interface_init): finer grained polling for supplicant
11846 2006-06-13 Robert Love <rml@novell.com>
11848 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11849 if it is currently set to TRUE. Otherwise, we will reset the value
11850 when we connect normally.
11851 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11852 the old BSSID is valid, too. The recently added ESSID check may not be
11853 sufficient (we can remove it?). What we really want to catch is the
11854 case of going from all-zeros to the BSSID of some other network, which
11855 happens on failure.
11857 2006-06-09 Dan Williams <dcbw@redhat.com>
11859 * src/NetworkManagerSystem.[ch]
11860 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11861 it was unused and pointless
11862 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11863 fix for set_up_down_with_iface change
11865 * src/vpn-manager/nm-vpn-connection.c
11866 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11868 * src/backends/NetworkManagerPaldo.c
11869 src/backends/NetworkManagerRedHat.c
11870 src/backends/NetworkManagerSuSE.c
11871 src/backends/NetworkManagerArch.c
11872 src/backends/NetworkManagerDebian.c
11873 src/backends/NetworkManagerGentoo.c
11874 - (nm_system_enable_loopback): use set_up_down_with_iface where
11876 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11879 2006-06-09 Dan Williams <dcbw@redhat.com>
11881 Patch from Peter Jones:
11882 * src/nm-device-802-11-wireless.c
11883 - (nm_device_802_11_wireless_update_bssid): make sure that the
11884 SSID hasn't changed from what we expect before automatically
11885 updating the saved BSSID from a new AP
11887 2006-06-08 Robert Love <rml@novell.com>
11889 Add 'fallback' support. NetworkManager will attempt to brute-force
11890 connect to networks marked as fallback if there are no better wireless
11891 connections available. This is useful as a method of last resort, to
11892 work around driver problems, and for use with hidden networks.
11893 * gnome/applet/applet-dbus-devices.c,
11894 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11895 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11896 pass it on via DBUS.
11897 * gnome/applet/applet.c: No fallback by default.
11898 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11899 Update other-network-dialog to add UI checkbox toggling fallback.
11900 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11901 propery from AP object. Add "fallback" property to AP object.
11902 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11903 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11904 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11905 separate function. Add get_best_fallback_ap() for returning an AP
11906 on which to attempt fallback.
11907 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11908 * test/nm-set-fallback: New file. Sets a given network as fallback.
11910 2006-06-07 Robert Love <rml@novell.com>
11912 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11913 checked that the return type was GCONF_VALUE_STRING, not the correct
11914 GCONF_VALUE_BOOL, and thus it never worked.
11915 * src/NetworkManagerAPList.c: Before concluding that two networks are
11916 identical based on their BSSID, make sure that the BSSID in question
11917 is actually valid. Specifically, an empty or all zero BSSID does not
11919 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11920 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11921 similar invariant clean up.
11923 2006-06-02 Robert Love <rml@novell.com>
11925 * gnome/applet/applet.c: Update copyright years. Add Novell.
11927 2006-05-28 Dan Williams <dcbw@redhat.com>
11929 * gnome/applet/applet.glade
11930 gnome/vpn-properties/nm-vpn-properties.glade
11931 - Set window icons on dialogs (Gnome.org #333420)
11933 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11935 * gnome/vpn-properties/nm-vpn-properties.glade:
11936 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11937 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11938 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11939 - Make the VPN properties pages prettier and more HIG
11940 compliant. Gnome Bug #336913.
11942 2006-05-28 Dan Williams <dcbw@redhat.com>
11944 Patch from Christian Persch <chpe@gnome.org>
11945 * gnome/vpn-properties/nm-vpn-properties.c
11946 * gnome/vpn-properties/nm-vpn-properties.glade
11947 - HIG-ification love (Gnome.org #336846)
11949 2006-05-28 Dan Williams <dcbw@redhat.com>
11951 Patch from Christian Persch <chpe@gnome.org>
11953 gnome/vpn-properties/nm-vpn-properties.c
11954 - (main): Fix option parsing. Gnome.org #336847
11956 2006-05-28 Dan Williams <dcbw@redhat.com>
11958 * gnome/vpn-properties/nm-vpn-properties.c
11959 - (find_vpn_ui_by_service_name): protect against NULL service names
11960 - (update_edit_del_sensitivity): protect against NULL service names
11963 2006-05-28 Dan Williams <dcbw@redhat.com>
11965 Patch from Chris Fuller <crf@grandecom.net>:
11966 * src/nm-device-802-11-wireless.c
11967 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11968 don't dispose of wireless-specific stuff unless it is actually
11969 initialized. Gnome.org #341263
11971 2006-05-28 Dan Williams <dcbw@redhat.com>
11973 * src/NetworkManagerPolicy.c
11974 - (nm_policy_device_change_check): don't switch devices if the "best"
11975 AP is essentially the same as the current activation request, but
11976 the current activation request isn't done activating yet. Fixes
11977 multiple requests for keyring password on startup for Gnome applet.
11980 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11982 * src/NetworkManager.c: use GOptions instead of getopt
11983 * configure.in: bump glib required version to >= 2.6 for GOption
11986 2006-05-25 Robert Love <rml@novell.com>
11988 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11989 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11990 instead of dumping ifdef's throughout the code.
11991 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11992 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11993 use nm_ioctl_info() in lieu.
11995 2006-05-25 Robert Love <rml@novell.com>
11997 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11998 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11999 not using gcrypt. Otherwise, we get a linker error.
12001 2006-05-25 Robert Love <rml@novell.com>
12003 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
12004 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
12005 configure flag to disable building of the GNOME-based applet.
12007 2006-05-25 Robert Love <rml@novell.com>
12009 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12010 parameter from link, because it shadows a global variable with some
12011 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12012 should never have exported to the entire system a common four letter
12013 word. But we here at NetworkManager are team players. Fixes
12016 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12018 * configure.in: Added mk.po, Macedonian translation.
12020 2006-05-24 Robert Love <rml@novell.com>
12022 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12023 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12024 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12026 2006-05-24 Robert Love <rml@novell.com>
12028 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12029 libnm-util/Makefile.am, src/Makefile.am,
12030 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12031 vpn-daemons/openvpn/properties/Makefile.am,
12032 vpn-daemons/pptp/auth-dialog/Makefile.am,
12033 vpn-daemons/pptp/properties/Makefile.am,
12034 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12035 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12036 user passed for --datadir, if anything, when setting the GNOME locale
12037 directory. It should be a function of the specified datadir and not
12040 2006-05-24 Robert Love <rml@novell.com>
12042 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12043 src/NetworkManager.c: Take care to call bindtextdomain with the
12044 location of msgid files.
12045 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12048 2006-05-22 Robert Love <rml@novell.com>
12050 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12051 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12052 99% of the time there is a real problem with wireless, and a
12053 seemingly successful connection via Zeroconf just confuses the user.
12054 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12056 2006-05-22 Robert Love <rml@novell.com>
12058 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12059 autofs on interface up if NIS is configured. On interface down, do
12062 2006-05-22 Robert Love <rml@novell.com>
12064 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12065 to avoid calling g_object_unref() on stale pointers on error in
12066 nma_icons_free(). This happens because we short-circuit loaded the
12067 icons on the first failure but then free all icons. Normally we have
12068 no issue because the icons were zero'ed out malloc, but we have stale
12069 pointer data after nma_icon_theme_changed().
12070 * gnome/applet/main.c: Return error code if nma_new() failed.
12072 2060-05-21 Dan Williams <dcbw@redhat.com>
12074 * initscript/NetworkManager.in
12075 - Ensure both dhcdbd and named are started before NM
12077 2006-05-21 Dan Williams <dcbw@redhat.com>
12080 - Bump version to 0.7 to signify we are in 0.7 development
12082 2006-05-21 Dan Williams <dcbw@redhat.com>
12084 Patch from Adam Schreiber <sadam@clemson.edu>
12085 * gnome/vpn-properties/nm-vpn-properties.c
12086 - (main): correct Gnome program name (gnome.org #342498)
12088 2006-05-21 Dan Williams <dcbw@redhat.com>
12090 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12092 * src/NetworkManagerDbus.[ch]
12093 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12094 clarify that function's argument should be an escaped dbus object
12095 path, and look for path segment end before returning a match
12096 * src/nm-dbus-nm.c:
12097 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12099 2006-05-17 Robert Love <rml@novell.com>
12101 Functionality to differentiate Ad-Hoc networks from infrastructure
12102 networks in the applet, by displaying a special icon:
12103 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12104 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12105 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12106 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12107 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12108 networks, encrypted or not.
12109 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12110 accessor functions to get and set the mode of a given network,
12111 wireless_network_get_mode() and wireless_network_set_mode().
12113 2006-05-17 Robert Love <rml@novell.com>
12115 Functionality to automatically add BSSIDs to the allowed-MAC list as
12116 one roams from access point to access point on a given network:
12117 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12118 helper function to compare two ether_addr structures and return TRUE
12119 if they contain the same MAC address.
12120 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12122 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12123 stored with the current AP. If the BSSID has indeed changed, we
12124 send it out to the applet, allowing the allowed-MAC list to grow
12125 automatically in response to roaming.
12127 2006-05-16 Robert Love <rml@novell.com>
12129 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12130 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12132 2006-05-13 Dan Williams <dcbw@redhat.com>
12134 * src/nm-device-802-3-ethernet.c
12135 - (real_get_generic_capabilities): Don't ignore devices that can't do
12136 carrier detect (Debian bug #366373)
12138 2006-05-11 Dan Williams <dcbw@redhat.com>
12140 Patch from Michael Biebl <biebl@teco.edu>
12141 * src/backends/NetworkManagerDebian.c
12142 - Debian backend fixups
12144 2006-05-10 Robert Love <rml@novell.com>
12146 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12148 2006-05-09 Robert Love <rml@novell.com>
12150 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12151 private certificate passphrase, if any, in the GNOME Keyring.
12152 * libnm-utils/dbus-helpers.c: Update.
12154 2006-05-05 Dan Williams <dcbw@redhat.com>
12156 * src/nm-device-802-11-wireless.c
12157 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12158 nm_device_802_11_wireless_disable_encryption() since that's all
12159 we use it for anymore; we don't ever set WEP keys ourselves.
12160 - (real_deactivate_quickly): reset SSID and encryption keys
12161 - (real_deactivate): move SSID and encryption key reset to
12162 real_deactivate_quickly(), which gets run before us anyway
12164 2006-05-05 Robert Love <rml@novell.com>
12166 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12167 root has a wacky default of its own (or, more common, a user has a
12168 bad umask and uses su/sudo to restart NetworkManager). Anything
12169 other than 0022 does not do what we want with, for example,
12170 resolv.conf. This problem is amplified by our judicious use of
12171 fopen(), which uses mode 0666 -- implying that the only way to get
12172 the permissions we want is with a umask of 0022.
12174 2006-05-05 Dan Williams <dcbw@redhat.com>
12176 * gnome/libnm_glib/libnm_glib.c
12177 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12178 to reconnect; instead wait a bit more with each reconnect attempt
12179 up to a max of one minute.
12181 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12183 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12184 the WirelessNetwork structure using the proper function instead of
12185 just casting it directly to (const char *) (gnome.org #336991)
12187 2006-05-03 Robert Love <rml@novell.com>
12189 * src/backends/NetworkManagerSuSE.c: Respect the variable
12190 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12191 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12192 to dynamically update /etc/resolv.conf.
12194 2006-05-02 Peter Jones <pjones@redhat.com>
12196 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12198 2006-05-02 Robert Love <rml@novell.com>
12200 Patch by Timo Hoenig;
12201 * tests/nm-online.c: Print pretty status indicator as timeout winds
12202 down. Also fix possible race between DBUS startup and failure
12205 2006-05-01 Robert Love <rml@novell.com>
12207 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12210 2006-04-27 Jeremy Katz <katzj@redhat.com>
12212 * src/nm-device.c (discover_device_type): Actually use the hal
12213 device type instead of ioctl poking
12215 2006-04-26 Robert Love <rml@novell.com>
12217 * tests/nm-online.c: New file. Simple utility that returns exit status
12218 noting whether the connection is offline or online. If offline on
12219 start, it waits 30 seconds (or a command-line given value) for an
12220 online signal. If it times out, it again returns offline. This is
12221 useful for scripts that want to wait for network connections.
12223 2006-04-25 Robert Love <rml@novell.com>
12225 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12226 key mode (the authentication algorithm), e.g. open or shared, when we
12227 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12228 only shared was broken. If the user specified a shared key, set it
12229 explicitly, otherwise let wpa_supplicant go with the default.
12231 2006-04-24 Dan Williams <dcbw@redhat.com>
12233 * src/nm-device-802-11-wireless.c
12234 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12236 2006-04-24 Dan Williams <dcbw@redhat.com>
12238 Commit the async scanning patch
12240 * src/nm-device-802-11-wireless.c
12241 - get rid of scan_mutex
12242 - (wireless_event_helper): act on wireless scan events
12243 - (real_start): schedule a pending scan
12244 - (link_to_specific_ap): fake the link to the AP during a scan
12245 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12246 strength during scans
12247 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12248 nm_device_set_bitrate): unused with new scanning code, disable
12249 - (nm_device_wireless_schedule_scan): removed
12250 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12251 - (request_and_convert_scan_results): new function; retrieve scan
12252 results from the driver and schedule the processing function
12253 - (scan_results_timeout): timeout triggered when card doesn't send
12254 a scan results wireless event during a certain interval
12255 - (schedule_scan_results_timeout): new function; schedule the scan
12257 - (cancel_scan_results_timeout): new function; cancel the scan
12259 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12260 to do the scanning. Otherwise, just request a scan but don't
12261 grab results here; instead schedule a timeout for scan results and
12262 let netlink notify us of scan completion events
12263 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12264 - (cancel_pending_scan): new function; cancel a pending wireless scan
12265 - (supplicant_status_cb): ignore disconnect events while scanning
12266 - (supplicant_exec): wait a bit longer for the supplicant to start up
12267 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12269 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12271 2006-04-24 Dan Williams <dcbw@redhat.com>
12273 * gnome/applet/applet-dbus.c
12274 - Disable the pending call debug stuff, seems under control now
12276 2006-04-20 Robert Love <rml@novell.com>
12278 Fix bug where hidden ESSID's would not show up in the applet, even
12279 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12280 because nm_policy_device_list_update_from_allowed_list() would merge
12281 the data, putting a name to the hidden networks, but never notify NMI
12282 of the changes. Simple fix is to invoke the function
12283 nm_dbus_signal_wireless_network_change() if we make a mapping.
12284 * src/NetworkManagerAPList.c: Call the function
12285 nm_dbus_signal_wireless_network_change() if we made a successful
12286 BSSID to ESSID mapping, notifying the applet of the "new" network.
12287 * src/NetworkManagerAPList.h: Update the prototypes for both
12288 nm_ap_list_copy_essids_by_address() and
12289 nm_ap_list_copy_one_essid_by_address().
12291 2006-04-20 Robert Love <rml@novell.com>
12293 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12294 not set. Just return zero.
12296 2006-04-20 Robert Love <rml@novell.com>
12298 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12299 only one copy of nm-vpn-properties is running at a time via the 'ol
12300 X selection trick. This prevents the user from opening two "VPN
12301 Connections" windows from within the applet, which leads to mass
12303 * clipboard.c: New file, implementing simple X selection logic.
12304 * clipboard.h: New file.
12305 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12307 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12309 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12311 initscript/Gentoo/Makefile.am
12312 initscript/Gentoo/NetworkManagerDispatcher.in
12314 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12317 2006-04-16 Dan Williams <dcbw@redhat.com>
12319 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12321 initscript/Slackware/Makefile.am
12322 initscript/Slackware/rc.networkmanager-dispatcher.in
12323 initscript/Slackware/rc.networkmanager.in
12324 - Update slackware initscripts
12326 2006-04-10 Robert Love <rml@novell.com>
12328 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12329 the "delete_event" signal on the druid's parent window and handle it
12330 our way, lest using the WM to close the druid results in a series of
12331 bloody and ultimately lethal errors.
12333 2006-04-10 Robert Love <rml@novell.com>
12335 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12336 'Back' too or else the 'Forward' option is initially disabled despite
12339 2006-04-06 Robert Love <rml@novell.com>
12341 Fix bad but simple bug where an active modem connection did not update
12342 NM's connection state, breaking any app that did online/offline:
12343 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12344 represented whether a dial up connection is active, or not.
12345 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12346 to modem activation and deactivation.
12347 * src/NetworkManagerDbus.c: When asked our state, do not return
12348 disconnected if the modem is active.
12350 2006-04-04 Robert Love <rml@novell.com>
12352 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12353 applet. It just confuses the crap out of people and does not make a
12354 lot of sense, as the daemon still runs.
12356 2006-04-02 Tor Krill <tor@krill.nu>
12358 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12359 in start of service.
12360 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12361 get Archlinux backend up to date.
12363 2006-03-29 Robert Love <rml@novell.com>
12365 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12366 to add support for per-route MSS and improve support for per-interface
12368 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12369 optionally take an MSS parameter and set it for the given route.
12370 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12371 NMIP4Config's stored MSS, if any.
12372 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12373 the interface's MTU and the route's MSS, respectively. Add functions
12374 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12375 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12377 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12378 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12379 nm_ip4_config_set_mss.
12380 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12382 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12383 Change the retval of nm_system_get_mtu to guint32.
12384 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12385 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12386 servers can specify MTU's, we should set it here if the MTU was not
12389 2006-03-27 Jürg Billeter <j@bitron.ch>
12392 * initscript/Makefile.am:
12393 * initscript/paldo/Makefile.am:
12394 * initscript/paldo/NetworkManager.in:
12395 * initscript/paldo/NetworkManagerDispatcher.in:
12396 * src/backends/Makefile.am:
12397 * src/backends/NetworkManagerPaldo.c:
12398 - Add paldo support
12400 2006-03-27 Dan Williams <dcbw@redhat.com>
12402 Patch from Christian Persch <chpe@gnome.org>
12403 * gnome/applet/applet.glade
12404 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12406 2006-03-27 Dan Williams <dcbw@redhat.com>
12408 Patch from Diffe <diffie@blazebox.homeip.net>
12409 * src/backends/NetworkManagerSlackware.c
12410 - Don't restart howl, since it's been replaced by Avahi
12411 in most distributions
12413 2006-03-27 Dan Williams <dcbw@redhat.com>
12415 Patch from Tor Krill <bugzilla@krill.nu>
12417 initscript/Makefile.am
12418 src/backends/Makefile.am
12419 src/backends/NetworkManagerArch.c
12420 initscript/Arch/Makefile.am
12421 initscript/Arch/networkmanager-dispatcher.in
12422 initscript/Arch/networkmanager.in
12423 - Add Arch Linux support, fixes gnome.org #335147
12425 2006-03-27 Dan Williams <dcbw@redhat.com>
12427 Patch from Diffe <diffie@blazebox.homeip.net>
12428 * initscript/Slackware/rc.networkmanager
12429 - update, fixed gnome.org #333368
12431 2006-03-27 Robert Love <rml@novell.com>
12433 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12434 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12436 2006-03-27 Robert Love <rml@novell.com>
12438 Patch by Jürg Billeter <j@bitron.ch>:
12439 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12441 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12442 as we prefer glibc over kernel headers, if possible.
12444 2006-03-27 Robert Love <rml@novell.com>
12446 Patch by Jon Escombe <list@dresco.co.uk>:
12447 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12448 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12449 fail, don't bail out. We don't expect all of the various WPA-EAP
12450 values to be present.
12451 * src/nm-ap-security.c: We need to match all capabilities for each
12452 encryption type, not any one of them.
12454 2006-03-27 Robert Love <rml@novell.com>
12456 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12457 restart, not reload, ypbind. Unfortunately there is no superior
12460 2006-03-24 Christopher Aillon <caillon@redhat.com>
12462 * gnome/applet/applet-notifications.c:
12463 When displaying a notification, make sure to get rid of the
12464 previous notification so as to not have competing bubbles,
12465 and stop leaking the old one.
12467 * gnome/applet/applet.c:
12468 * gnome/applet/applet.h:
12469 Add a new 'notification' member to the applet, and zero it out
12470 and free it appropriately.
12472 2006-03-23 Robert Love <rml@novell.com>
12474 Patch by j <j@bootlab.org>:
12475 * gnome/applet/applet.glade: Don't set the invisible_char property,
12476 which simply overrides the GTK default. By and by, this behavior
12477 ought to be fixed in Glade.
12479 2006-03-22 Robert Love <rml@novell.com>
12481 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12483 2006-03-22 Robert Love <rml@novell.com>
12485 Bug fix by Timo Hoenig <thoenig@suse.de>:
12486 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12487 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12488 and the applet going AWOL.
12490 2006-03-22 Robert Love <rml@novell.com>
12492 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12493 preprocessor define and use it instead of open-coded the DHCP
12494 timeout, which is currently 25 seconds, everywhere.
12496 2006-03-22 Robert Love <rml@novell.com>
12498 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12499 key exchange via WPA, ostensibly providing good security without
12500 requiring hardware that supports full WPA. Also, add UI elements to
12501 allow the user to select the pairwise & group cipher for WPA Enterprise
12503 * gnome/applet/applet.glade: Update glade file.
12504 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12505 key type, too, to and from gconf.
12506 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12507 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12508 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12509 the capabilities match.
12510 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12512 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12513 serialize from UI to DBUS.
12514 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12516 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12517 nmu_security_serialize_wpa_eap_with_cipher(), and
12518 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12519 serialize/deserialize the key type via DBUS as the new third DBUS
12521 * libnm-util/dbus-helpers.h: Update prototypes.
12522 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12523 too. If the key type is WEP104, do Dynamic WEP, which means
12524 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12525 pairwise and group ciphers (fixes a FIXME).
12527 2006-03-21 Robert Love <rml@novell.com>
12529 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12530 nm_system_get_mtu(), which returns a user-provided or system-mandated
12531 MTU value for a given device, if any, or zero if no such value
12532 exists. Add nm_system_set_mtu() to set the MTU for a given device
12533 if we have a provided value.
12534 * src/nm-device.c: Set the MTU of devices.
12535 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12536 * src/backends/NetworkManagerDebian.c,
12537 src/backends/NetworkManagerGentoo.c,
12538 src/backends/NetworkManagerRedHat.c,
12539 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12541 2006-03-21 Robert Love <rml@novell.com>
12543 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12544 configuration file.
12546 2006-03-17 Robert Love <rml@novell.com>
12548 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12549 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12550 it, in case it is not running in the first place. We just want its
12551 configuration reloaded. Also, do not "rcypbind stop" on device down.
12553 2006-03-15 Robert Love <rml@novell.com>
12555 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12556 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12557 label "WEP 40/128-bit" is inconsistent because the physical key size
12558 is 40 or 104-bits, to which a 24-bit initialisation vector is
12559 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12560 to read "40/104" or "64/128". I do not care much which, but most
12561 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12562 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12563 WEP passphrase support only handles 128-bit keys, and any future
12564 64-bit passphrase support will require a new option (no way to auto-
12565 detect the target key size), explicitly label our passphrase support
12566 "WEP 128-bit Passphrase".
12568 2006-03-15 Robert Love <rml@novell.com>
12570 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12571 the system init scripts (or some other mechanism) starting it (or a
12572 compatible DBUS service) before NetworkManager runs. This means that
12573 distributions might need to update their init scripts. This fixes
12574 possible races and is quite a bit cleaner.
12575 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12576 starting the NetworkManager daemon.
12579 2006-03-14 Robert Love <rml@novell.com>
12581 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12582 before adding anything.
12584 2006-03-13 Robert Love <rml@novell.com>
12586 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12587 widgets, too, if they exist, in case the user hit the back button.
12588 Fixes a bug where the details page contains the widgets of multiple
12589 VPN modules (Novell bug #157048).
12591 2006-03-13 Robert Love <rml@novell.com>
12593 Patch by Timo Hoenig <thoenig@suse.de>:
12594 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12595 daemon survive DBUS restarts, too.
12597 2006-03-10 Robert Love <rml@novell.com>
12599 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12601 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12602 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12603 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12604 in response to "toggled" signal on new toggle.
12606 2006-03-10 Robert Love <rml@novell.com>
12608 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12609 serialization if strings are NULL, lest DBUS get angry.
12611 2006-03-10 Robert Love <rml@novell.com>
12613 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12615 2006-03-09 Robert Love <rml@novell.com>
12617 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12620 2006-03-09 Dan Williams <dcbw@redhat.com>
12622 Track pending call requests in the applet, and report how many are
12623 outstanding, and how long each completed one takes.
12625 * gnome/applet/applet-dbus-devices.c
12626 gnome/applet/applet-dbus-vpn.c
12627 - Track pending calls
12629 * gnome/applet/applet-dbus.[ch]
12630 - Remove some unused enums
12631 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12632 new functions to track dbus pending calls and spit out some
12633 statistics about them
12635 2006-03-09 Robert Love <rml@novell.com>
12637 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12638 nm_ap_set_timestamp() take the second and micro-second parameters as
12639 direct arguments, which avoids both a dynamic memory allocation and a
12640 structure-to-structure copy! Add a new interface, the aptly named
12641 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12642 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12643 the return from nm_ap_get_timestamp(). New users should use the new
12644 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12645 the extreme benefit to performance.
12646 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12647 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12649 2006-03-08 Robert Love <rml@novell.com>
12651 * gnome/applet/applet.glade: Hide the password entry text with
12654 2006-03-08 Robert Love <rml@novell.com>
12656 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12657 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12658 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12659 a second argument, NMData.
12660 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12661 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12662 config files as trusted.
12664 2006-03-06 Robert Love <rml@novell.com>
12666 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12667 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12668 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12669 Rivera, detect if the applet was auto-started. If so, ask the user
12670 if he or she would like to stop automatically running the applet on
12671 login. If so, disable autostart.
12673 2006-03-06 Robert Love <rml@novell.com>
12675 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12676 directory in CFLAGS so developers can actually use NetworkManager.h.
12678 2006-03-06 Robert Love <rml@novell.com>
12680 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12681 open-coded integer constants. Add state_to_string() to map a given
12682 state to a textual description, and provide that when notifying of
12684 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12685 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12686 this header directly, but it is currently not installed on most
12689 2006-03-05 Dan Williams <dcbw@redhat.com>
12691 Process netlink messages in device subclasses rather than in
12692 NetworkManager.c. Also add support for recognizing Wireless Events.
12695 - Find GLIB_GENMARSHAL
12698 - Since we're marshalling custom types for wireless event signals,
12699 we get to create our own marshallers using GLIB_GENMARSHAL
12701 * src/NetworkManager.c
12702 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12703 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12704 cut down somewhat. We no longer process signals here.
12705 - (nm_data_new): create the netlink monitor here, and remove a
12706 useless call to nm_policy_schedule_device_change_check()
12707 - (nm_data_free): get rid of the netlink monitor here
12708 - (nm_device_link_activated, nm_device_link_deactivated): removed
12709 - (main): don't create the netlink monitor here, let nm_data_new
12710 do that. Call nm_policy_schedule_device_change_check() right
12711 before we jump to the mainloop to figure out which device
12714 * src/NetworkManagerSystem.[ch]
12715 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12716 convert back and forth from interface names to interface
12719 * src/nm-device-802-11-wireless.c
12720 - (real_init): connect to wireless-event signals from the netlink
12722 - (nm_device_802_11_wireless_event): new function, schedule handler
12723 for wireless event signals from the netlink monitor object. We
12724 want the handler to run in the device's context
12725 - (wireless_event_helper): handle wireless-event signals from netlink
12726 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12729 * src/nm-device-802-11-wireless.h
12730 - remove unused prototype for nm_device_802_11_wireless_new
12732 * src/nm-device-802-3-ethernet.c
12733 - (real_init): new function; set up signal handlers for link events
12734 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12735 handler for netlink link activated events on device's main loop
12736 - (link_activated_helper): when we get a link activated event, set
12737 the device's link to be active
12738 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12739 handler for netlink link deactivated events on device's main loop
12740 - (link_deactivated_helper): when we get a link deactivated event, set
12741 the device's link to be inactive
12742 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12745 * src/nm-device-802-3-ethernet.h
12746 - remove unused prototype for nm_device_802_3_ethernet_new
12748 * src/nm-device.[ch]
12749 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12750 but locks the device list
12751 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12753 * src/nm-netlink-monitor.[ch]
12754 - (nm_netlink_monitor_class_install_signals): New signal
12756 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12758 - (nm_netlink_monitor_event_handler): expand for wireless events too
12760 * src/nm-marshal-main.c
12761 - Include generated nm-marshal.c and nm-marshal.h
12763 * src/nm-marshal.list
12764 - List of custom marshal functions
12766 2006-03-05 Dan Williams <dcbw@redhat.com>
12768 * gnome/applet/applet-notifications.h
12769 - Protect prototype of nma_send_event_notification() because it
12770 includes libnotify-specific types
12771 - Include libnotify/libnotify.h too, since we technically need it
12773 * gnome/applet/applet.c
12774 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12775 - (nma_show_vpn_login_banner_dialog): add some error checking
12777 2006-03-04 Dan Williams <dcbw@redhat.com>
12779 Clean up activation cancellation. Should be a lot faster now. Observed
12780 an issue with wireless devices between stage 2 and 3 of activation, where
12781 activation would be cancelled, but the device thread wouldn't notice until
12782 the supplicant association timed out. Reorganize activation such that
12783 a cancellation handler gets immediately scheduled in the device's thread,
12784 and devices have a chance to perform any custom cleanup too.
12786 * src/nm-device.[ch]
12787 - (activation_cancel_handler): new device-type-specific function
12788 for cleaning up device-type-specific stuff on cancellation
12789 - (cancel_activation): removed
12790 - (nm_device_activation_cancel): subsume functionality of
12791 real_cancel_activation, but instead of doing anything, punt
12792 operation to a handler that's run in device-thread context
12793 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12795 - (activation_handle_cancel_helper): cancellation handler run in
12796 device-thread context, calls device-type-specific cancelation,
12797 then tears down the activation request
12798 - (real_activation_cancel_handler): generic cancellation handler,
12799 deals with cancelling any in-process DHCP request
12800 - (nm_device_activate_stage1_device_prepare,
12801 nm_device_activate_stage2_device_config,
12802 nm_device_activate_stage3_ip_config_start,
12803 nm_device_activate_stage4_ip_config_get,
12804 nm_device_activate_stage4_ip_config_timeout,
12805 nm_device_activate_stage5_ip_commit): don't call
12806 nm_device_schedule_activation_handle_cancel() any more, since
12807 cancellation will have been already scheduled for us by
12808 nm_device_activation_cancel(). Just exit the function and
12809 assume that the cancel handler will be called next.
12811 * src/nm-device-802-3-ethernet.c
12812 - (real_act_stage2_config): remove; didn't do anything anyway
12814 * src/nm-device-802-11-wireless.c
12815 - (supplicant_status_cb): ensure we don't do anything if the activation
12817 - (real_activation_cancel_handler): implement; cancel user key request
12818 on activation cancellation
12820 2006-03-04 Dan Williams <dcbw@redhat.com>
12822 * src/nm-device-802-11-wireless.c
12823 - (supplicant_send_network_config): assume that drivers that don't
12824 support WPA pretty much suck, and can't handle NM scanning
12825 along with wpa_supplicant.
12827 2006-03-03 Robert Love <rml@novell.com>
12829 * configure.in: Bump version to 0.6.0.
12832 2006-03-03 Robert Love <rml@novell.com>
12834 * configure.in: Require DBUS 0.60 or later.
12836 2006-03-03 Dan Williams <dcbw@redhat.com>
12838 Fix a crash if an "Other wireless network" was chosen, failed, then
12839 chosen again from the applet's menu. If the other network wasn't
12840 noticed in a scan, it wouldn't have any capabilities, but would still
12841 be listed because the user forced the network. To fix this, we set
12842 sensible capabilities on the forced network, which will get overwritten
12843 with the correct ones if the network shows up later in a scan.
12845 * src/nm-ap-security.h
12846 - Add a new "get_default_capabilities_func" member to the
12849 * src/nm-ap-security.c
12850 - (nm_ap_security_get_default_capabilities): new function
12852 * src/nm-ap-security.c
12853 src/nm-ap-security-wep.c
12854 src/nm-ap-security-wpa-psk.c
12855 src/nm-ap-security-wpa-eap.c
12856 - Implement get_default_capabilities_func() for all, which
12857 uses the information contained in a specific NMAPSecurity
12858 object to determine default AP capabilites necessary
12859 to support that object
12861 As a secondary measure, we now prune artificial access points that fail
12862 to be activated right away. The thing failed, and we have no scan data for
12863 it, so it's pretty much useless since security information is only saved
12864 in the applets when a connection is successful.
12866 * src/NetworkManagerAPList.c
12867 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12868 not artificial. If we see it, it's no longer a figment of the
12869 user's imagination :)
12871 * src/NetworkManagerPolicy.c
12872 - (nm_policy_activation_failed): send along the failed AP if we
12875 * src/nm-device-802-11-wireless.c
12876 - (real_activation_failure_handler): remove artificial APs from
12877 the device list, because activation failed
12879 2006-03-02 Robert Love <rml@novell.com>
12881 Add support for retrieving both the per-device speed and the
12882 per-network maximum supported rate. Then change the getProperties
12883 DBUS API for both networks and devices to report this informaiton.
12884 Finally, display the information via both nm-applet and nm-tool:
12885 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12887 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12888 Information' dialog.
12889 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12890 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12891 network_device_get_speed() and network_device_set_speed() for
12892 retrieving and setting, respectively, a network device's current
12894 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12895 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12896 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12897 not matter (yet) what the units are, because we only feed it its own
12898 output. Implement SIOCGIRATE and set the per-network maximum
12899 supported rate during scanning.
12900 * src/nm-device-802-11-wireless.h: Export the function
12901 nm_device_802_11_wireless_get_bitrate().
12902 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12903 function nm_device_802_3_ethernet_get_speed() for returning an
12904 802.3's current speed, in Mb/s.
12905 * test/nm-tool.c: Display the per-device current speed, if available,
12906 and the per-network maximum rate.
12908 2006-03-02 Dan Williams <dcbw@redhat.com>
12910 * src/nm-device-802-11-wireless.c
12911 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12912 card when it gets initialized. Since devices don't get added to
12913 the scan list until they are initialized, this function wasn't
12914 setting the intitial scan interval correctly, and was leaving
12915 it at 0. This caused cards to get many scan requests in a short
12916 amount of time when they were initialized
12918 2006-03-02 Robert Love <rml@novell.com>
12920 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12921 active device. But do not do what we used to do and override the
12922 state, which caused the dreaded icon race of '05.
12924 2006-03-02 Robert Love <rml@novell.com>
12926 Commit Dan's update of my previous commit:
12927 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12928 set_mode() function itself does the check. But do only set the
12929 frequency if in Ad-Hoc mode.
12931 2006-03-02 Robert Love <rml@novell.com>
12933 Patch by Brian Magnuson <magnuson@rcn.com>:
12934 * src/nm-device-802-11-wireless.c: During scanning, only set the
12935 wireless mode to infrastructure if it is not currently in
12936 infrastructure mode. For some driver, setting the mode is a costly
12937 operation, apparently.
12939 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12941 * Makefile.am: use the correct dir for autostart mechanism.
12943 2006-02-28 Dan Williams <dcbw@redhat.com>
12945 Patch from Brian Magnuson <magnuson@rcn.com>
12946 * gnome/applet/applet.c
12947 - (nma_show_vpn_failure_dialog): fix errors left over from
12948 libnotify support changes
12950 2006-02-28 Dan Williams <dcbw@redhat.com>
12952 * src/vpn-manager/nm-vpn-act-request.[ch]
12953 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12955 - (nm_vpn_act_request_is_failed): new function; return whether or
12956 not the vpn activation request has failed
12958 * src/vpn-manager/nm-vpn-manager.c
12959 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12960 daemon to kill the connection when the activation request fails.
12961 Fixes issue where NM would get confused if the VPN activation
12962 request timed out, and would not allow further VPN connections
12965 2006-02-28 Dan Williams <dcbw@redhat.com>
12967 * gnome/applet/applet.c
12968 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12969 overlapping connection requests, disable all VPN menu items
12970 but the active VPN connection
12972 2006-02-28 Dan Williams <dcbw@redhat.com>
12974 * src/vpn-manager/nm-vpn-connection.c
12975 - (nm_vpn_connection_set_parent_device): fix C&P error which
12976 called g_object_unref() on the connection's parent device
12977 when it should have been ref-ed instead. Fixes crash with
12978 repeated vpn connect requests
12980 2006-02-28 Christopher Aillon <caillon@redhat.com>
12982 * gnome/applet/applet.glade:
12983 Mark a few strings non-translatable, since they shouldn't be.
12985 2006-02-28 Dan Williams <dcbw@redhat.com>
12987 * src/vpn-manager/nm-vpn-service.c
12988 - (nm_vpn_service_start_connection): if the vpn service daemon is
12989 already running, don't blindly ask it to connect, but wait until
12990 it's in the STOPPED state first. Fixes an assertion when user
12991 starts a second vpn connection without stopping the first.
12992 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12993 dbus service exists before continuing with the connection
12994 process, and reduce latency while waiting for it to become
12996 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12997 waiting for the vpn service daemon to become available
12998 - General log message cleanups; show progress via "Stage x of 4"
12999 rather than not telling anyone how many stages there are
13001 2006-02-28 Robert Love <rml@novell.com>
13003 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
13004 * src/backends/NetworkManagerSuSE.c: Implement the interface
13005 nm_system_should_modify_resolv_conf() for SUSE.
13006 * src/backends/NetworkManagerDebian.c,
13007 src/backends/NetworkManagerGentoo.c,
13008 src/backends/NetworkManagerRedHat.c,
13009 src/backends/NetworkManagerSlackware.c: Add stub.
13010 * src/named-manager/Makefile.am: Grab includes from src.
13011 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13012 automatic updating of resolv.conf. This is useful for testing,
13013 broken static configurations, and administrator lock-down.
13015 2006-02-28 Dan Williams <dcbw@redhat.com>
13017 * src/nm-device-802-11-wireless.c
13018 - Move all the wpa_supplicant-related management stuff into its
13019 own struct, just for oranization's sake
13020 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13021 to a GIOChannel/GSource
13022 - (supplicant_log_stdout): new function; grab output from the
13023 wpa_supplicant stdout pipe and write it to our logs.
13025 2006-02-27 Christopher Aillon <caillon@redhat.com>
13027 * src/nm-device-802-11-wireless.c:
13028 Err, fix thinko in my previous commit.
13030 2006-02-28 Robert Love <rml@novell.com>
13032 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13034 2006-02-28 Robert Love <rml@novell.com>
13036 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13037 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13038 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13039 deserializers are responsible for freeing the returned DBUS strings.
13041 2006-02-27 Christopher Aillon <caillon@redhat.com>
13043 * src/nm-device-802-11-wireless.c:
13044 The scan list is being pruned prematurely. We should prune after
13045 the device has gone MIA for three scans, not one. Split out the
13046 interval to realtime seconds function to better serve this.
13048 2006-02-27 Robert Love <rml@novell.com>
13050 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13051 Open the pid file O_TRUNC, so if it already exists we truncate it to
13052 zero length. Also, be more verbose about warnings generated during
13053 writing out the pid file. Finally, always write out the pid file if
13054 in daemon mode. Use "--pid-file" to override the default.
13056 2006-02-27 Robert Love <rml@novell.com>
13058 Patch by R. Vinay <rvinay@novell.com>:
13059 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13060 'last_attempt_success' when removing a VPN connection, too. (Fixes
13061 Novell bug #153628).
13063 2006-02-27 Robert Love <rml@novell.com>
13065 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13066 entry so user can hit <ENTER> after entering passphrase (Novell bug
13069 2006-02-27 Dan Williams <dcbw@redhat.com>
13072 - Mass search/replace of:
13074 NMWirelessApplet -> NMApplet
13075 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13076 (it ain't just for wireless anymore, ma!)
13077 - Fix duplicate function name printing when using nm_warning
13078 - wireless-applet.glade -> applet.glade
13080 2006-02-27 Dan Williams <dcbw@redhat.com>
13082 * dispatcher-daemon/NetworkManagerDispatcher.c
13083 - Accept --pid-file with a path to a pidfile, write it out on
13084 startup, and delete it on shutdown
13086 * src/NetworkManager.c
13087 - Accept --pid-file with a path to a pidfile, write it out on
13088 startup, and delete it on shutdown
13089 - Move nm_print_usage() lower
13091 * initscripts/RedHat/NetworkManager.in
13092 - Use new --pid-file option
13093 - Fix service stopping to wait a bit for NM to quit
13095 * initscripts/RedHat/NetworkManagerDispatcher.in
13096 - Use new --pid-file option
13098 2006-02-26 Dan Williams <dcbw@redhat.com>
13101 - make and install nm-crash-logger
13103 * src/nm-logging.[ch]
13104 - New files; consolidate logging and crash handling
13106 * src/nm-crash-logger.c
13108 - Standalong crashlogger for NM, grab a backtrace
13111 * src/NetworkManager.[ch]
13112 - Remove signal handling and put it into nm-logging.c
13114 2006-02-26 Dan Williams <dcbw@redhat.com>
13117 gnome/applet/Makefile.am
13118 - Conditionalize all the notify stuff
13120 Merge most of Chris Aillon's notification patch:
13122 * gnome/applet/applet-notifications.[ch]
13123 - New files; show a notification
13125 * gnome/applet/applet-dbus-devices.[ch]
13126 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13127 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13128 new functions, do the right thing when a device change occurs
13130 * gnome/applet/applet-dbus.c
13131 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13132 signals, so we can handle them specially
13134 * gnome/applet/applet.[ch]
13135 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13136 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13137 - (nmwa_notify_state): remove
13138 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13139 notification work is now done when the appropriate dbus signals
13141 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13142 defer execution of the notification/dialog stuff. That was an
13143 artifact of the previous multi-threaded nature of the applet
13144 and is now pointless.
13145 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13146 no longer needed. Function folded into applet-notifications.c
13148 * src/NetworkManagerPolicy.c
13149 - (nm_policy_activation_finish): send the AP along with the device
13150 status change signal, if the connection is wireless. Should
13151 fix the race where applet would show a connection to "unknown"
13153 2006-02-25 Robert Love <rml@novell.com>
13155 Add WPA Enterprise support:
13156 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13157 nm-gconf-wso-wpa-eap.h.
13158 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13159 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13160 serialization and deserialization.
13161 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13162 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13163 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13164 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13165 settings related to WPA Enterprise.
13166 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13167 instantiate WPA Enterprise wireless-security-option.
13168 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13169 Implement WPA Enterprise wireless-security-option object.
13170 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13172 * libnm-util/cipher-wpa-psk-hex.c,
13173 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13174 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13175 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13176 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13177 including the cipher to DBUS method, and
13178 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13180 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13181 nm-ap-security-wpa-eap.h
13182 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13183 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13184 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13185 files. Implement NMAPSecurityWPA_EAP object.
13186 * src/nm-ap-security-wpa-psk.c: Cleanup.
13187 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13188 an NMAPSecurityWPA_EAP object via the method
13189 nm_ap_security_wpa_eap_new_deserialize().
13190 * src/nm-dbus-nm.c: Cleanup.
13191 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13192 WPA Enterprise support.
13194 2006-02-24 Robert Love <rml@novell.com>
13196 Patch from Timo Hoenig <thoenig@suse.de>:
13197 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13199 2006-02-24 Robert Love <rml@novell.com>
13201 Patch from Dan Winship <danw@novell.com>:
13202 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13203 area to transparent.
13205 2006-02-21 Dan Williams <dcbw@redhat.com>
13207 * gnome/applet/applet.[ch]
13208 gnome/applet/applet-dbus.c
13209 - Implement notification support for VPN messages too
13211 2006-02-21 Dan Williams <dcbw@redhat.com>
13213 * gnome/applet/applet-dbus-info.c
13214 - Clean up warning messages to not double-print the function
13216 2006-02-21 Dan Williams <dcbw@redhat.com>
13218 * gnome/applet/applet-compat.c
13219 - (convert_one_entry): accept entries without a key_type and
13220 convert them to unencrypted networks
13222 2006-02-21 Dan Williams <dcbw@redhat.com>
13224 * gnome/libnm_glib/libnm_glib.c
13225 - Use __func__ everywhere we can
13227 - Use dbus pending calls rather than blocking
13228 - Reduce busywaits for our thread to start and stop
13229 (gnome.org #330562)
13230 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13231 stomp on others using the default shared dbus connection.
13232 Fixes #rh177546# and gnome.org #326572
13234 2006-02-21 Dan Williams <dcbw@redhat.com>
13236 Patch from Rodney Dawes <dobey@novell.com>
13238 gnome/applet/Makefile.am
13239 gnome/applet/applet.c
13240 - Add libnotify support if '--enable-notify=yes' is passed
13243 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13245 * configure.in (ALL_LINGUAS): ko added. (Korean)
13247 2006-02-15 Robert Love <rml@novell.com>
13249 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13250 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13251 and WPA_SUPPLICANT_CONTROL_SOCKET.
13253 2006-02-15 Robert Love <rml@novell.com>
13255 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13256 information about what connection stage we are at, provide the total
13257 number of stages, e.g. "Stage 2 of 5", so users know how far along
13258 they are if they experience problems.
13260 2006-02-15 Robert Love <rml@novell.com>
13262 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13263 define to $sysconfdir.
13264 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13265 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13266 type of VPN and then editing another results in a mangled dialog
13267 box containing the widgets from both VPNs (fixes Novell #150854).
13268 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13270 2006-02-14 Robert Love <rml@novell.com>
13272 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13273 syslog's file descriptor.
13275 2006-02-14 Robert Love <rml@novell.com>
13277 Fix bug around since the change to "deal with APs changing settings on
13278 us," checked in on the fifth of February in the year of the dog,
13279 wherein connecting to non-broadcast encrypted networks always fails
13280 because nm_ap_get_encrypted() always returns FALSE, even when the user
13281 provided a key, because the newly-created fake AP does not have any
13282 capabilities set, which is a sypmtom of security settings not matching
13283 capabilities (Novell bug #150784):
13284 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13285 nm_ap_add_capabilities_from_security(), which sets the given AP's
13286 capabilities off the given security settings. Also improve our
13287 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13288 NM_AUTH_CIPHER_AUTO.
13289 * src/nm-device-802-11-wireless.c: Call the function
13290 nm_ap_add_capabilities_from_security() to ensure that capabilities
13291 match newly updated security settings.
13293 2006-02-14 Robert Love <rml@novell.com>
13295 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13296 error as a string, not an integer, if possible; do not print the
13297 function name twice; always give the interface, if possible; misc.
13300 2006-02-12 Dan Williams <dcbw@redhat.com>
13302 Patch from Tom Parker <palfrey@tevp.net>
13303 * src/NetworkManagerSystem.h
13304 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13307 * src/backends/NetworkManagerDebian.c
13308 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13311 2006-02-12 Dan Williams <dcbw@redhat.com>
13313 * vpn-daemons/openvpn/intltool-extract.in
13314 vpn-daemons/openvpn/intltool-merge.in
13315 vpn-daemons/openvpn/intltool-update.in
13316 vpn-daemons/pptp/intltool-extract.in
13317 vpn-daemons/pptp/intltool-merge.in
13318 vpn-daemons/pptp/intltool-update.in
13319 - Remove from CVS, they should get created by intltoolize,
13322 2006-02-12 Dan Williams <dcbw@redhat.com>
13324 * vpn-daemons/pptp/src/pppd/patchlevel.h
13325 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13326 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13327 Makefile-defined VERSION
13329 2006-02-09 Dan Williams <dcbw@redhat.com>
13331 Patch from: Vinay A R <rvinay@novell.com>
13332 * src/vpn-manager/nm-vpn-act-request.[ch]
13333 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13334 IPSec VPNs require them for std gateway.
13335 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13336 and 'user_routes_count'
13337 - (nm_vpn_act_request_get_user_routes): new function; gets user
13338 defined routes from NMVPNActRequest object, returns the string
13341 * src/vpn-manager/nm-vpn-manager.[ch]
13342 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13343 for 'user_routes' and 'user_routes_count'
13345 * src/vpn-manager/nm-dbus-vpn.c
13346 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13347 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13349 * src/vpn-manager/nm-vpn-service.c
13350 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13353 Modifications by Dan:
13354 * src/vpn-manager/nm-vpn-service.c
13355 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13358 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13359 * vpn-daemons/pptp/src/nm-pptp-service.c
13360 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13361 - Grab user routes from dbus message
13362 - Free all string arrays we got from dbus
13364 2006-02-07 Robert Love <rml@novell.com>
13366 Patch by Stefan Seyfried <seife@suse.de>:
13367 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13369 2006-02-06 Robert Love <rml@novell.com>
13371 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13373 2006-02-06 Robert Love <rml@novell.com>
13375 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13376 test ">=" is never false. If no newline is found, we loop forever.
13377 We can just check for ">" because the following if() will see the
13378 zero-th argument if the while() gets that far.
13380 2006-02-05 Dan Williams <dcbw@redhat.com>
13382 Refine handling of non-broadcast networks.
13384 * src/NetworkManagerAPList.c
13385 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13386 property from scanned AP to the AP from the device list
13388 * src/nm-device-802-11-wireless.c
13389 - (supplicant_send_network_config): use ap_scan=1 for all networks
13390 except non-SSID-broadcasting and Ad-Hoc networks. Use
13391 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13392 networks since those don't have APs.
13393 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13394 AP as non-SSID-broadcasting
13395 - (process_scan_results): don't handle non-SSID-broadcasting here
13397 2006-02-05 Dan Williams <dcbw@redhat.com>
13399 * src/nm-device-802-11-wireless.c
13400 - (get_supplicant_timeout): new function; return
13401 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13402 14 channels. These are likely a/b/g cards, like Atheros, and
13403 slow as hell to scan.
13404 - (supplicant_timeout_cb, supplicant_monitor_start): use
13405 get_supplicant_timeout()
13407 2006-02-05 Dan Williams <dcbw@redhat.com>
13409 * src/dhcp-manager/nm-dhcp-manager.c
13410 - Loose a commit race with Robert; make sure size check
13411 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13413 2006-02-05 Robert Love <rml@novell.com>
13415 Patch by Christoph Brill <chrisbrill@gmx.net>:
13416 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13417 with DHCP_SERVICE_NAME.
13419 2006-02-05 Dan Williams <dcbw@redhat.com>
13421 Remove anything having to do with device_setup_func from the
13422 AP security objects, since it's no longer used.
13424 * src/nm-ap-security.h
13425 - Kill device_setup_func and nm_ap_security_device_setup()
13427 * src/nm-ap-security-wep.c
13428 src/nm-ap-security-wpa-psk.c
13429 - (real_device_setup): remove
13431 * src/nm-ap-security.c
13432 - (real_device_setup): remove
13433 - (nm_ap_security_device_setup): remove
13435 * src/nm-device-802-11-wireless.[ch]
13436 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13437 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13438 and done by wpa_supplicant now anyway
13440 2006-02-05 Dan Williams <dcbw@redhat.com>
13442 * src/nm-device-802-11-wireless.c
13443 - (ap_need_key, real_act_stage2_config): deal with APs changing
13444 settings on us. Previously NM would loop asking for the
13445 key but getting the same one back. Now, if the NMI-supplied
13446 cipher doesn't overlap with the scanned AP capabilities,
13447 we request a completely new key from the user.
13449 2006-02-05 Dan Williams <dcbw@redhat.com>
13451 * src/NetworkManagerUtils.c
13452 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13453 Handle newline killing better
13455 2006-02-05 Dan Williams <dcbw@redhat.com>
13457 * gnome/applet/nm-gconf-wso.c
13458 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13459 of unencrypted access point security info.
13461 2006-02-03 Robert Love <rml@novell.com>
13463 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13464 user's encryption key, so we print the err_msg_cmd not the command,
13465 if available. So long as SUPPLICANT_DEBUG is default, this makes
13468 2006-02-03 Christopher Aillon <caillon@redhat.com>
13470 * initscript/RedHat/NetworkManagerDispatcher.in:
13471 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13472 Patch from Dan Walsh <dwalsh@redhat.com>
13474 2006-02-03 Robert Love <rml@novell.com>
13476 * dispatcher-daemon/NetworkManagerDispatcher.c,
13477 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13478 but use the sysconfdir.
13480 2006-02-03 Robert Love <rml@novell.com>
13482 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13483 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13485 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13486 nm_ip4_config_get_hostname() and
13487 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13488 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13489 leak g_strdup() result.
13491 2006-02-03 Robert Love <rml@novell.com>
13493 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13494 broadcast == TRUE. Also, copy broadcast and artificial properties
13495 from source network to destination in nm_ap_copy().
13496 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13497 since we now default new networks to non-hidden.
13499 2006-02-03 Dan Williams <dcbw@redhat.com>
13501 * gnome/applet/main.c
13502 - (main): change the NEVER->ALWAYS so we start at the
13503 beginning of the session, if being session-managed
13505 2006-02-03 Dan Williams <dcbw@redhat.com>
13507 * gnome/applet/main.c
13508 - (main): in a variation on Robert's patch, change
13509 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13512 2006-02-02 Robert Love <rml@novell.com>
13514 * src/Makefile.am: If we aren't going to create the run directory at,
13515 uh, run-time, create it during install. Then users just doing
13516 'make install' are cool, too. While we are here, create the
13517 dispatcher.d directory, too.
13518 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13519 the exact run directory.
13520 * Makefile.am: Install nm-applet.desktop.
13522 2006-02-02 Robert Love <rml@novell.com>
13524 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13525 structure, which denotes whether or not the AP is hidden. This is a
13526 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13527 can show up in the scan list. Add nm_ap_get_broadcast() and
13528 nm_ap_set_broadcast() accessor interfaces.
13529 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13530 nm_ap_set_broadcast().
13531 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13532 "getProperties" method, which denotes whether or not the given
13534 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13535 an artificial network. Set broadcast to TRUE when scanning returns
13536 an ESSID and FALSE when not.
13537 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13538 from "getProperties" method on a network. Possible TODO is to
13539 somehow display this.
13540 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13542 2006-02-02 Dan Williams <dcbw@redhat.com>
13544 * src/nm-device-802-11-wireless.c
13545 - (supplicant_interface_init): don't try to create
13546 /var/run/NetworkManager, since that should be done by
13547 the distro package. Causes problems for stuff like SELinux
13549 2006-02-02 Robert Love <rml@novell.com>
13551 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13552 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13553 Check for and handle empty string for iface.
13555 2006-02-01 Robert Love <rml@novell.com>
13557 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13560 2006-01-31 Dan Williams <dcbw@redhat.com>
13562 * nm-applet.desktop
13563 - Add --sm-disable to Exec arguments, presuming that when
13564 using autostart, we don't want session management
13566 2006-01-31 Robert Love <rml@novell.com>
13568 * src/NetworkManagerAP.c: Add two new manufacturer default network
13569 names: linksys-a and linksys-g. These are found (at least) on the
13570 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13573 2006-01-31 Robert Love <rml@novell.com>
13575 * src/NetworkManagerAP.c: Optimize the function
13576 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13577 machine code. This is the first in a series of code tweaks aiming to
13578 generate better machine code and make NetworkManager all the better.
13579 Just kidding. Who has time to go through the assembly generated for
13580 every function? I certainly don't. I have a wife, a kid, a job,
13581 a mortgage, a mistress. But this function was so bad, I was called
13582 to arms. Like the book.
13584 2006-01-31 Robert Love <rml@novell.com>
13586 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13587 AP is not broadcasting, to scan with probe request frames. Required
13588 for non-broadcast networks.
13590 2006-01-31 Robert Love <rml@novell.com>
13592 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13593 preprocessor define (still 20s). Fix message text in nm_info()
13594 s/too too/took too/.
13596 2006-01-30 Dan Williams <dcbw@redhat.com>
13598 * src/nm-device-802-11-wireless.c
13599 - (supplicant_monitor_start): increase connect/auth timeout to
13600 20 seconds from 10 seconds
13602 2006-01-30 Dan Williams <dcbw@redhat.com>
13605 - Define LOCALSTATEDIR
13607 * src/nm-device-802-11-wireless.c
13608 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13609 socket where we want it to
13611 * src/wpa_ctrl.[ch]
13612 - (wpa_ctrl_open): accept location to put local control socket
13614 2006-01-30 Robert Love <rml@novell.com>
13616 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13617 get_ip4_string() for "domain_name".
13619 2006-01-30 Robert Love <rml@novell.com>
13621 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13622 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13623 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13624 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13625 support for "Automatic" pairwise and group cipher configuration by
13626 letting wpa_supplicant handle the details. Add UI elements, new
13627 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13628 charm. Note this does more than add a nice feature, it fixes a bug.
13629 Apparently, some people have AP's where the pairwise cipher does not
13630 match the group cipher. Insane, but true.
13632 2006-01-30 Dan Williams <dcbw@redhat.com>
13634 * gnome/applet/applet-dbus-devices.c
13635 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13636 functions, grab device driver name from NetworkManager
13637 - (nmwa_dbus_device_properties_cb): call functions to get driver
13639 * gnome/applet/applet.c
13640 - (nmwa_update_info): show driver name in Connection Information
13643 * gnome/applet/nm-device.[ch]
13644 - (network_device_get_driver, network_device_set_driver): add
13645 accessors for driver name
13647 * gnome/applet/wireless-applet.glade
13648 - Add line for driver name to Connection Information dialog
13650 * src/nm-dbus-device.c
13651 - (nm_dbus_device_get_driver): new function to return driver name
13652 - (nm_dbus_device_methods): hook up driver name function to dbus
13655 - (get_driver_name): new function
13656 - (detail_device): grab and show driver name
13658 2006-01-30 Robert Love <rml@novell.com>
13660 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13661 does not parse the markup if it is not part of the format.
13663 2006-01-30 Robert Love <rml@novell.com>
13665 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13666 FALSE, we have no security options for this dialog, so we throw up
13667 an error dialog instead of a broken passphrase dialog. Fixes
13669 * gnome/applet/wireless-security-manager.c,
13670 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13671 does not add any security options, not even NONE, print a warning
13672 and return FALSE. This let's functions constructing a dialog bail
13673 out if the device's capabilities and the network's requirements have
13676 2006-01-27 Robert Love <rml@novell.com>
13678 * configure.in: Require wpa_supplicant. Detect location of binary and
13679 use it. Override with "--with-wpa_supplicant=foo".
13680 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13681 path to wpa_supplicant but use the auto-detected or user-provided
13682 value from configure.
13684 2006-01-27 Robert Love <rml@novell.com>
13686 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13687 but the DHCP server did not return a hostname, try to look up our
13688 name via DNS and set the system hostname to that.
13690 2006-01-27 Dan Williams <dcbw@redhat.com>
13692 * src/backends/NetworkManagerRedHat.c
13693 - Add NM_CONTROLLED system network script support for RH/Fedora
13695 2006-01-27 Dan Williams <dcbw@redhat.com>
13697 * src/backends/NetworkManagerGentoo.c
13698 - (nm_system_device_get_disabled): add missing function.
13701 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13703 * configure.in: Added vi in ALL_LINGUAS line.
13705 2006-01-26 Robert Love <rml@novell.com>
13707 * src/Makefile.am, src/kernel-types.h: Now that two different source
13708 files are feeling the crack-addled leakage of kernel types such as
13709 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13710 types in user-space -- define a header and include it as needed.
13711 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13712 * src/nm-device-802-3-ethernet.h: Remove defines.
13713 * src/wpa.c: Remove defines and include kernel-types.h.
13715 2006-01-26 Robert Love <rml@novell.com>
13717 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13720 2006-01-26 Robert Love <rml@novell.com>
13722 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13723 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13724 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13725 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13726 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13727 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13728 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13729 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13730 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13731 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13732 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13733 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13734 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13735 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13736 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13737 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13738 Kill unused variables, labels, and static functions. Don't pass
13739 string literals as the format string for printf-like functions.
13741 2006-01-25 Dan Williams <dcbw@redhat.com>
13743 * gnome/applet/wireless-applet.glade
13744 - Remove WPA2 Checkbox
13746 * gnome/applet/wireless-security-manager.c
13747 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13748 This means the Wireless Security menu now has two WPA options,
13749 one for "WPA Personal" and one for "WPA2 Personal"
13751 * gnome/applet/wso-wpa-psk.[ch]
13752 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13753 'wpa2' argument to determine WPA version to use
13754 - (append_dbus_params_func): pass stored WPA version to cipher
13755 rather than using the (removed) checkbox
13757 2006-01-24 Robert Love <rml@novell.com>
13759 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13760 before we g_strdup(), not the ultimate string.
13762 2006-01-23 Dan Williams <dcbw@redhat.com>
13764 * src/NetworkManagerAP.[ch]
13765 - (nm_ap_new_from_ap): copy original essid too
13766 - (nm_ap_unref): free original essid
13767 - (nm_ap_get_orig_essid): new function
13768 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13769 but keep original essid around too
13771 * src/nm-device-802-11-wireless.c
13772 - (supplicant_send_network_config): send wpa_supplicant the
13773 _original_ essid, and not as a string, but in hex. Should
13774 allow us to connect to more APs that use wierd character
13775 encodings for their essids
13777 * utils/nm-utils.[ch]
13778 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13779 to UTF-8. If it's not already valid UTF-8, we check LANG and
13780 use the current locale as a hint for what encoding the essid
13781 might be in. Obviously not 100% accurate, but the idea here is
13782 that if a user's locale is ex. ja_JP, they are more likely than
13783 not to be in Japan, where access points will likely be in some
13786 2006-01-23 Dan Williams <dcbw@redhat.com>
13788 * libnm-util/cipher-private.h
13789 libnm-util/cipher.c
13790 libnm-util/cipher.h
13791 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13793 2006-01-23 Robert Love <rml@novell.com>
13795 Patch by Timo Hoenig <thoenig@suse.de>:
13796 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13797 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13798 by DHCP and pass it to the backends, allowing distribution-specific
13799 behavior with respect to the DHCP-supplied hostname (if nothing else,
13800 some distributions might not want to set the hostname).
13801 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13802 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13803 Also update our NIS behavior.
13804 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13805 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13806 Add stub functions.
13808 2006-01-23 Robert Love <rml@novell.com>
13810 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13811 gnome-session does autostart. TODO: We need to install this to
13812 $prefix/share/autostart/.
13814 2006-01-22 Dan Williams <dcbw@redhat.com>
13816 * src/NetworkManagerAP.[ch]
13818 src/nm-device-802-11-wireless.c
13819 - Make nm_ap_get_essid return "const char *"
13821 2006-01-22 Dan Williams <dcbw@redhat.com>
13823 * src/NetworkManagerAP.[ch]
13824 - (nm_ap_get_matched, nm_ap_set_matched): remove
13826 * src/NetworkManagerAPList.[ch]
13827 - (nm_ap_list_diff): removed
13828 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13829 deal with access points changing essids on us
13831 * src/nm-device-802-11-wireless.c
13832 - (add_new_ap_to_device_list): move AP dbus signal logic to
13833 src/NetworkManagerAPList.c
13834 - (real_can_interrupt_activation): new function; allow interruption
13835 of device activation if we are waiting for a network key
13837 * src/NetworkManagerPolicy.c
13838 - (nm_policy_device_change_check): allow interruption of currently
13839 activating devices if the device allows it. Previous behavior
13840 would refuse to activate a just-plugged wired device if a
13841 wireless device was waiting for a key.
13843 * src/nm-device.[ch]
13844 - (nm_device_can_interrupt_activation): new function; ask devices
13845 whether their activation can be interrupted
13847 2006-01-20 Robert Love <rml@novell.com>
13849 * Makefile.am, configure.in: Add new man subdirectory.
13850 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13851 man/Makefile.am: Add man pages for NetworkManager and its
13852 crime-solving bumbling buddy, NetworkManagerDispatcher.
13853 * man/.cvsignore: Add.
13854 * initscript/Debian/NetworkManager,
13855 initscript/Gentoo/NetworkManager.in,
13856 initscript/RedHat/NetworkManager.in,
13857 initscript/RedHat/NetworkManagerDispatcher.in,
13858 initscript/SUSE/networkmanager-dispatcher.in,
13859 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13861 2006-01-20 Robert Love <rml@novell.com>
13863 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13864 instead of queuing. This prevents the running of multiple NM
13865 daemons concurrently, which does not work whatsoever and results in
13866 neither daemon working correctly. Also, we don't handle queuing and
13867 name-owner-changes, anyhow.
13869 2006-01-20 Robert Love <rml@novell.com>
13871 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13872 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13875 2006-01-19 Robert Love <rml@novell.com>
13877 * configure.in: Require hal 0.5.0 or later.
13879 2006-01-18 Robert Love <rml@novell.com>
13881 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13882 Allow backends to flag a device (in whatever distro-dependent way
13883 they so desire) as disabled. NM will ignore any such device.
13884 * src/backends/NetworkManagerDebian.c,
13885 src/backends/NetworkManagerRedHat.c,
13886 src/backends/NetworkManagerSlackware.c: Add stub function
13887 nm_system_device_get_disabled() that always returns FALSE (enabled).
13888 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13889 SUSE-specific configuration structure. Fill it in from the
13890 NM_CONTROLLED variable in the system networking scripts. If this var
13891 exists and is "no", we ignore the device.
13893 2006-01-17 Robert Love <rml@novell.com>
13895 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13896 identical for NM. For a full discussion, see the thread at
13897 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13899 2006-01-17 Dan Williams <dcbw@redhat.com>
13902 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13903 function. Fixes crash when wired DHCP fails.
13905 2006-01-16 Robert Love <rml@novell.com>
13907 * src/Makefile.am: Don't install NMLoadModules
13908 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13909 from src/ to test/ as no one uses it anymore. Note that I would be
13910 fine with removing it altogether.
13912 2006-01-16 Robert Love <rml@novell.com>
13914 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13915 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13916 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13917 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13918 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13919 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13920 declarations, ever.
13921 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13922 NM_STATE_DISCONNECTED is zero).
13924 2006-01-16 Robert Love <rml@novell.com>
13926 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13927 uninitialized parameter and buffer overflow. Novell #143496.
13929 2006-01-16 Dan Williams <dcbw@redhat.com>
13931 Apply the PtP Address bits of a patch from Tim Niemueller
13933 * src/nm-ip4-config.[ch]
13934 - Add ip4_ptp_address member to object
13935 - (nm_ip4_config_copy): copy ptp address too
13936 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13938 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13939 rather than local tunnel ip address
13941 * src/vpn-manager/nm-vpn-service.c
13942 - (print_vpn_config): update for PtP address
13943 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13944 DBusMessageIters in preparation for getting routes from the VPN
13945 service daemons too
13947 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13948 - (send_config_info): update for PtP address, clean up code
13949 - (main): update for PtP address, clean up code, fix typo
13951 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13952 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13954 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13955 - (pptp_ip_up): update for PtP address
13957 * vpn-daemons/pptp/src/nm-pptp-service.c
13958 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13960 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13961 - (print_vpn_config): update for PtP address
13962 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13964 2006-01-16 Dan Williams <dcbw@redhat.com>
13966 * gnome/applet/applet.c
13967 - (nmwa_add_networks_helper): don't indicate an active network
13968 if NM is disconnected or asleep
13970 2006-01-16 Dan Williams <dcbw@redhat.com>
13972 * src/NetworkManagerPolicy.c
13973 - (nm_policy_device_change_check): switch devices if we lose the link
13974 on an ethernet device.
13976 2006-01-16 Dan Williams <dcbw@redhat.com>
13978 * gnome/applet/wso-wpa-psk-hex.[ch]
13979 - Renamed -> wso-wpa-psk.[ch]
13981 * gnome/applet/wso-wpa-psk.[ch]
13984 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13985 - Removed, rolled into wso-wpa-psk.[ch]
13987 * gnome/applet/Makefile.am
13988 - Updated for above changes
13990 * gnome/applet/wireless-applet.glade
13991 - Consolidate WPA-PSK options into one notebook
13992 widget, and make dialogs invisible by default
13993 to fix screen oddities
13995 * gnome/applet/wireless-security-manager.c
13996 - (wsm_set_capabilities): create the new wpa-psk widget rather
13997 than both the old hex & passphrase ones
13999 2006-01-16 Dan Williams <dcbw@redhat.com>
14001 * gnome/applet/other-network-dialog.c
14002 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
14004 2006-01-16 Dan Williams <dcbw@redhat.com>
14006 * gnome/applet/applet.c
14007 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
14008 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14009 prevention to realize window before trying to get server
14012 * gnome/applet/other-network-dialog.c
14013 - (nmwa_other_network_dialog_run): fix up focus-stealing
14014 prevention to realize window before trying to get server
14017 * gnome/applet/passphrase-dialog.c
14018 - (nmi_passphrase_dialog_new): fix up focus-stealing
14019 prevention to realize window before trying to get server
14022 2006-01-16 Robert Love <rml@novell.com>
14024 Patch from Timo Hoenig <thoenig@suse.de:
14025 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14026 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14027 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14028 libnm-util/dbus-helpers.h: add checks whether headers are used
14029 within a C++ build.
14031 2006-01-16 Dan Williams <dcbw@redhat.com>
14033 * gnome/applet/wireless-security-option.c
14034 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14036 2006-01-16 Dan Williams <dcbw@redhat.com>
14038 * libnm-util/cipher-wpa-psk-passphrase.c
14039 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14040 be 8 - 63 characters inclusive
14042 2006-01-16 Dan Williams <dcbw@redhat.com>
14045 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14047 2006-01-13 Robert Love <rml@novell.com>
14049 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14050 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14051 modules that do not use an interface.
14053 2006-01-13 Dan Williams <dcbw@redhat.com>
14057 - Allow subclasses to implement deactivate_quickly()
14058 - (nm_device_deactivate_quickly): call subclass
14059 deactivate_quickly() methods
14060 - (nm_device_set_active_link): small cleanups, and don't
14061 deactivate the device right away because we risk a deadlock
14062 when called from device thread, waiting for the device
14063 thread to cancel activation
14065 * src/nm-device-802-11-wireless.c
14066 - (real_deactivate_quickly): new function
14067 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14068 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14069 so that we kill the supplicant when we sleep too
14070 - (supplicant_interface_init): work around naive naming attempts of
14071 wpa_ctrl when naming sockets
14073 2006-01-13 Dan Williams <dcbw@redhat.com>
14075 * src/nm-device-802-11-wireless.c
14076 - (supplicant_cleanup): delete old device control sockets too
14077 - (supplicant_get_device_socket_path): new function to consolidate
14078 locations that need a path to a device's control socket
14080 2006-01-12 Robert Love <rml@novell.com>
14082 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14083 description so that the description is unique for each
14084 pair (device,provider). Fixes Novell #142773.
14086 2006-01-12 Dan Williams <dcbw@redhat.com>
14088 * src/nm-device-802-11-wireless.c
14089 - (supplicant_exec): ensure GError is correctly initialized
14090 Reported by Diego González (gnome.org #326708)
14092 2006-01-11 Robert Love <rml@novell.com>
14094 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14095 define if_mii(), open code the same results, and do so without any
14098 2006-01-11 Robert Love <rml@novell.com>
14100 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14101 that wso_foo_new() returned non-NULL. Instead, only append the new
14102 wso to wsm->options if the wso is non-NULL. The crux is that we
14103 assume that the relevant key types are implied by WEP and WPA as
14104 appropriate. To be sure, they should be, but we should not expect
14105 drivers to not be oozing piles of wolf fecal matter.
14107 2006-01-11 Robert Love <rml@novell.com>
14109 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14110 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14111 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14112 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14113 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14114 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14115 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14116 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14117 comparing values within DBL_EPSILON. Also fix shadowed variable
14120 2006-01-11 Dan Williams <dcbw@redhat.com>
14122 Add options for WPA2 and WPA1+CCMP (AES).
14124 * gnome/applet/wireless-applet.glade
14125 - Add UI bits for WPA+CCMP
14127 * gnome/applet/other-network-dialog.c
14128 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14129 and don't allow creation of WPA2 Ad-Hoc networks since
14130 wpa_supplicant doesn't support them
14132 * gnome/applet/wireless-security-manager.c
14133 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14134 on to the specific wireless security option being created
14136 * gnome/applet/wireless-security-option.[ch]
14137 - (wso_wpa_create_key_type_model): new utility function to create
14138 the model required for WPA Key Type combo box
14140 * gnome/applet/wso-private.h
14141 gnome/applet/wireless-security-option.h
14142 - Move private function prototypes into wso-private.h
14144 * gnome/applet/wso-wpa-psk-hex.[ch]
14145 gnome/applet/wso-wpa-psk-passphrase.[ch]
14146 - (append_dbus_params_func): get WPA version from checkbox and pass
14147 it to the dbus serialization helper
14148 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14149 key type combo changes
14150 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14153 * libnm-util/cipher-wpa-psk-hex.c
14154 libnm-util/cipher-wpa-psk-passphrase.c
14155 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14156 new function; allow the cipher to be changed after object creation
14158 * src/nm-ap-security-wpa-psk.c
14159 - (set_description): Do WPA2 descriptions too
14161 * src/nm-ap-security.c
14162 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14164 2006-01-11 Robert Love <rml@novell.com>
14166 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14167 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14168 from the ifreq structure in lieu of an open coded solution. Removes
14169 a life-threatening type-punning.
14170 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14171 types, ever, whatsoever, baby.
14173 2006-01-11 Robert Love <rml@novell.com>
14175 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14176 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14177 assignments to applet->nm_state into a new nmwa_set_state() function
14178 for both cleanliness and to help debugging.
14180 2006-01-10 Robert Love <rml@novell.com>
14182 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14183 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14184 seconds, exclusive. That is, we want to sleep x seconds such that
14187 2006-01-10 Robert Love <rml@novell.com>
14189 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14190 the attr fields according to the example in the email available at
14191 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14192 Conversely, we do have to free 'name', so we do so, fixing a leak.
14194 2006-01-10 Robert Love <rml@novell.com>
14196 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14197 sure that we close the socket!
14199 2006-01-10 Robert Love <rml@novell.com>
14201 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14202 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14203 src/nm-device.c: Fix a FIXME! Reimplement the function
14204 nm_device_update_hw_address() in device subclass variants,
14205 nm_device_802_3_ethernet_set_address() and
14206 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14207 This fixes the existing bug where MAC addresses are all zeros.
14209 2006-01-10 Robert Love <rml@novell.com>
14211 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14212 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14213 option to give users ability to globally disconnect and put NM to
14214 sleep. This is useful as a 'lockdown mode' for flying, security, and
14217 2006-01-09 Robert Love <rml@novell.com>
14219 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14220 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14221 User-space does not supply these types, so we have to define them
14222 ourselves. The relevant kernel maintainer refused to accept a patch
14223 switching these headers to the proper C99 types.
14225 2006-01-09 Dan Williams <dcbw@redhat.com>
14227 Apply Robert's 'tray icon redo' patch with fixes
14228 * gnome/applet/applet.c
14229 gnome/applet/applet.h
14230 - Instead of using a menu bar + menu item, simulate menu
14231 behavior using a popup menu. Highlight the area around
14232 the icon more like a menu too, by playing with the
14233 applet's size requisition
14235 2006-01-09 Timo Hoenig <thoenig@suse.de>
14236 * libnm-util/dbus-helpers.c
14237 libnm-util/dbus-helpers.h
14238 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14239 to 'exception_namespace' (:namespace is a keyword in
14242 2006-01-09 Dan Williams <dcbw@redhat.com>
14244 * src/NetworkManagerPolicy.c
14245 - (nm_policy_device_change_check): don't autoswitch away from
14246 Ad-Hoc networks, since there's really no concept of
14250 - (nm_dbus_nm_create_wireless_network): mark created networks
14253 * src/nm-device-802-11-wireless.c
14254 - (real_activation_success_handler): add user-created Ad-Hoc
14255 networks to the device's scan list
14257 2006-01-08 Dan Williams <dcbw@redhat.com>
14259 We now require a patch for wpa_supplicant to support Ad-Hoc
14261 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14263 * src/nm-device-802-11-wireless.c
14264 - (supplicant_send_network_config): turn off wpa_supplicant's
14265 scanning. Fixes Ad-Hoc networks.
14267 2006-01-08 Dan Williams <dcbw@redhat.com>
14269 * src/nm-ap-security.c
14270 src/nm-ap-security.h
14271 - Add a user_created argument to the write_supplicant_config
14274 * src/nm-ap-security-wep.c
14275 src/nm-ap-security-wpa-psk.c
14276 src/nm-device-802-11-wireless.c
14277 - Make Ad-Hoc mode somewhat work, at least write the
14278 correct options to wpa_supplicant
14280 2006-01-08 Dan Williams <dcbw@redhat.com>
14282 * src/nm-device-802-11-wireless.c
14283 - Remove unused code from the old device activation path
14285 2006-01-08 Dan Williams <dcbw@redhat.com>
14287 * libnm-util/dbus-helpers.c
14288 - (nmu_security_serialize_wpa_psk): pass a blank key through
14289 dbus when key == NULL
14291 2006-01-08 Dan Williams <dcbw@redhat.com>
14293 * gnome/applet/nm-gconf-wso-wpa-psk.c
14294 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14295 correct arguments to nmu_security_deserialize_wpa_psk()
14297 * src/nm-ap-security-wpa-psk.c
14298 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14299 arguments to nmu_security_deserialize_wpa_psk()
14301 2006-01-08 Dan Williams <dcbw@redhat.com>
14303 * gnome/applet/wso-wpa-psk-hex.c
14304 gnome/applet/wso-wpa-psk-passphrase.c
14305 - Hook up the append_dbus_params_func() function
14307 2006-01-08 Dan Williams <dcbw@redhat.com>
14309 * src/nm-device-802-11-wireless.c
14310 - (get_wireless_capabilities): correctly detect driver WPA
14313 2006-01-08 Dan Williams <dcbw@redhat.com>
14315 * gnome/applet/Makefile.am
14316 gnome/applet/wso-wpa-psk-hex.c
14317 gnome/applet/wso-wpa-psk-hex.h
14318 - New files, implement WPA-PSK Hex key input
14320 * gnome/applet/wireless-applet.glade
14321 - Change existing wpa-psk stuff to wpa-psk-hex
14322 - Add new widgets for wpa-psk-passphrase
14324 * gnome/applet/wireless-security-manager.c
14325 - (wsm_set_capabilities): enable WPA options
14327 * gnome/applet/wso-wpa-psk-passphrase.c
14328 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14329 for WPA-PSK passphrase
14331 2006-01-08 Dan Williams <dcbw@redhat.com>
14333 * include/NetworkManager.h
14334 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14335 applet/info-daemons
14337 * gnome/applet/passphrase-dialog.c
14338 - Use the constant. Fixes a bug where the arguments to
14339 dbus_message_new_error() were incorrect
14341 * src/nm-dbus-nmi.c
14344 2006-01-07 Dan Williams <dcbw@redhat.com>
14346 * src/nm-device-802-11-wireless.c
14347 - Add a link timeout so we allow the supplicant time to
14348 reassociate if it can, before we deactivate the card
14349 - Fix up link status and link updating so things work better
14351 2006-01-07 Dan Williams <dcbw@redhat.com>
14353 * src/nm-device-802-11-wireless.c
14354 - Switch over to using wpa_supplicant
14355 - Add a timeout of 10s for association of the supplicant
14356 - Start the monitor callback of the supplicant
14358 2006-01-07 Dan Williams <dcbw@redhat.com>
14360 * src/NetworkManagerUtils.c
14361 - (nm_utils_supplicant_request,
14362 nm_utils_supplicant_request_with_check):
14363 pass correct buffer length to wpa_ctrl_request()
14365 2006-01-07 Dan Williams <dcbw@redhat.com>
14367 * src/nm-device-private.h
14369 - (nm_device_activate_schedule_stage3_ip_config_start): make
14370 this function available to subclasses
14372 2006-01-06 Robert Love <rml@novell.com>
14374 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14375 user plugging in a network cable signals their preference for to
14376 switch, unless the user explicitly selected a wireless network and
14377 therefore signaled their preference for said wireless network over
14378 wired. In other words, do exactly what makes sense.
14380 2006-01-06 Robert Love <rml@novell.com>
14382 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14383 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14384 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14385 showing up in my greps.
14387 2006-01-06 Robert Love <rml@novell.com>
14389 * gnome/applet/applet-dbus-devices.c,
14390 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14391 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14392 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14393 New Network' both failed in the non-encrypted case because we were
14394 not appending the security options to the DBUS message. And
14395 'Connect to Other' was also failing in the encrypted case because
14396 we were not incrementing to the next DBUS parameter. All fixed.
14397 Thanks to dcdw for some debugging help.
14399 2006-01-06 Robert Love <rml@novell.com>
14401 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14402 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14403 hangup code and add per-device hangup. Tie last commit into the
14404 GNOME applet. TODO: Save, understand, and respond to the state of
14405 each dialup device.
14407 2006-01-06 Robert Love <rml@novell.com>
14409 Patch by Timo Hoenig <thoenig@suse.de>:
14410 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14411 hangup specific dialup devices.
14412 * src/backends/NetworkManagerDebian.c,
14413 src/backends/NetworkManagerGentoo.c,
14414 src/backends/NetworkManagerRedHat.c,
14415 src/backends/NetworkManagerSlackware.c: Add stub backend.
14416 * src/backends/NetworkManagerRedHat.c,
14417 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14418 hangup specific dialup devices.
14420 2006-01-04 Robert Love <rml@novell.com>
14422 * gnome/applet/applet-dbus-devices.c,
14423 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14424 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14427 2006-01-04 Dan Williams <dcbw@redhat.com>
14429 First dump of wpa_supplicant-related code. It's not hooked up to
14430 anything yet though. Thanks to Kay Sievers for
14431 wpa_supplicant_wrapper.c, which formed the basis for this work,
14432 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14436 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14438 * src/NetworkManagerUtils.[ch]
14439 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14440 Add convenience functions for talking to wpa_supplicant
14442 * src/nm-ap-security.[ch]
14443 src/nm-ap-security-wep.c
14444 src/nm-ap-security-wpa-psk.[ch]
14445 - Update and implement real_write_supplicant_config functions
14446 in all security types
14447 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14448 nm-ap-security-wpa-psk.c
14450 * src/nm-device-802-11-wireless.c
14451 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14452 wpa_supplicant_start, wpa_supplicant_interface_init,
14453 wpa_supplicant_send_network_config): add functions to talk to
14454 wpa_supplicant and write network config to it
14456 2006-01-04 Robert Love <rml@novell.com>
14458 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14459 values so that distribution-backends can differentiate between the
14460 various types (modem, ISDN, et cetera) of dialup device that they
14462 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14465 2006-01-03 Dan Williams <dcbw@redhat.com>
14467 * src/NetworkManagerPolicy.c
14469 src/nm-device-802-11-wireless.c
14470 - Move wireless-specific activation failure and success code
14471 into wireless device class
14473 2006-01-03 Robert Love <rml@novell.com>
14475 Patch by Preggna S:
14476 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14477 IPsec does not require that a VPN client be bound to an interface,
14478 due to the use of the in-kernel IPSec bits. So make the tunnel
14481 2006-01-03 Dan Williams <dcbw@redhat.com>
14483 * src/NetworkManagerAP.c
14484 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14485 the WPA IE specifies that WEP is supported
14487 * src/nm-device-802-11-wireless.c
14488 - (process_scan_results): don't mark an AP as supporting WEP
14489 if there's already other encryption capability info
14491 2006-01-03 Dan Williams <dcbw@redhat.com>
14493 * src/dhcp-manager/nm-dhcp-manager.c
14494 - Recognize activation cancellation when waiting for DHCP
14495 configuration from dhcdbd
14496 - Ignore non-dhcdbd messages
14499 - (real_act_stage3_ip_config_start): return to correct behavior
14500 of letting the dhcp-manager notify us of failure or
14501 success rather than incorrectly doing that ourselves
14502 - (nm_device_activate_stage4_ip_config_get): deal with
14503 activation cancellation a bit earlier
14505 2006-01-03 Dan Williams <dcbw@redhat.com>
14507 * src/nm-device-802-11-wireless.c
14509 - Add hooks to subclasses for stage3_ip_config_start and
14510 stage4_ip_config_timeout
14512 * src/nm-device-802-3-ethernet.c
14513 - (real_get_generic_capabilities): make devices NM-supported
14516 2006-01-03 Robert Love <rml@novell.com>
14518 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14519 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14520 latter cannot differentiate between error and the address -1; misc.
14523 2006-01-03 Dan Williams <dcbw@redhat.com>
14525 * src/NetworkManager.c
14526 - Move link-checking/probing into the device subclasses
14529 * src/nm-device.[ch]
14530 src/nm-device-802-11-wireless.c
14531 src/nm-device-802-3-ethernet.c
14532 - Do periodic link checking in device subclasses rather
14533 than being triggered from NetworkManager.c
14534 - discover_wireless_capabilities -> get_wireless_capabilities
14535 - discover_generic_capabilities -> get_generic_capabilities
14536 - Device subclass activation routines now return a value of type
14537 NMActStageReturn to indicate what step to perform next
14538 - Devices now override stage4_get_ip4_config if they choose
14540 2006-01-01 Dan Williams <dcbw@redhat.com>
14542 * src/nm-device-802-11-wireless.c
14543 - (real_init): don't chain up to parent init because we don't
14544 need to do that anymore
14547 - (discover_device_type): fix arguments to ioctl() to correctly
14548 pass interface name
14549 - (nm_device_new): consolidate generic device initialization into
14551 - (real_init): remove, consolidated to nm_device_new()
14552 - (nm_device_deactivate, real_deactivate): consolidate
14554 2006-01-01 Dan Williams <dcbw@redhat.com>
14556 * src/nm-activation-request.c
14557 - Change dhcp_state member of the NMActRequest structure
14558 from guint8 to guint32
14560 * src/dhcp-manager/nm-dhcp-manager.[ch]
14561 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14562 than guint8 to match the dbus argument. Turns out we were
14563 overwriting memory since we were passing in only a guint8
14565 2005-12-31 Dan Williams <dcbw@redhat.com>
14567 * refactor NMDevice into a GObject-based framework with separate
14568 objects for wired and wireless. The following files are no
14569 longer used but should stick around for a bit so we don't
14570 loose code through the cracks:
14571 NetworkManagerDevice.c
14572 NetworkManagerDevice.h
14573 NetworkManagerWireless.c
14574 NetworkManagerWireless.h
14576 The intent here is to allow each device type to manage its own
14577 connection & activation life-cycle, ie to allow wireless devices
14578 to interface with wpa_supplicant, etc. There's a fair bit of
14579 encapsulation breakage right now that should gradually get pulled
14580 back into each device, along with things like periodic property
14581 updates and link probing.
14583 2005-12-29 Dan Williams <dcbw@redhat.com>
14585 * include/NetworkManager.h
14586 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14587 between networks that don't have any encryption at all
14589 2005-12-29 Dan Williams <dcbw@redhat.com>
14591 * test/test-common.c
14594 - Move to a test-common subdirectory
14596 * test/libnm-util/test-ciphers.c
14597 - Move test data to test-inputs.h
14598 - Test WPA ciphers too
14600 * test/libnm-util/test-dbus-helpers.c
14601 - Test serialization/deserialization of ciphers
14603 2005-12-29 Dan Williams <dcbw@redhat.com>
14605 * gnome/applet/applet-dbus-devices.c
14606 - Replace 'enc' parameter with 'capabilities' for wireless networks
14607 in dbus calls to NM
14608 - Set capabilities on WirelessNetwork objects
14609 - Receive and save type-specific device capabilities too
14611 * gnome/applet/applet-dbus-info.c
14612 gnome/applet/applet-dbus.c
14613 - Passphrase dialog no longer a singleton; new instance gets created
14614 on each request. Updates to deal with that.
14616 * gnome/applet/applet.c
14617 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14618 than single 'encrypted' flag
14619 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14621 - Passphrase dialog updates per above
14623 * gnome/applet/menu-items.c
14624 - (network_menu_item_update): use AP capabilities to determine
14627 * gnome/applet/nm-device.[ch]
14628 - Add accessors for type-specific device capabilities
14630 * gnome/applet/other-network-dialog.c
14631 - Rework to respect device capabilities. i.e., if the device doesn't
14632 support WPA, remove that option from the security dropdown
14634 * gnome/applet/passphrase-dialog.c
14635 - Massive rework so that a new instance is created each time
14636 it's used, to support wireless network capabilities
14638 * gnome/applet/wireless-network.[ch]
14639 - Add accessors and members for wireless network capabilities
14641 * gnome/applet/wireless-security-manager.[ch]
14642 - (wsm_set_capabilities): called after creation to set which
14643 security options get shown to the user
14645 2005-12-29 Dan Williams <dcbw@redhat.com>
14647 * libnm-util/cipher-wpa-psk-passphrase.c
14648 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14651 2005-12-23 Dan Williams <dcbw@redhat.com>
14653 * gnome/applet/applet-dbus-info.c
14654 - (nmi_dbus_get_key_for_network): if there's no entry in
14655 GConf for a network, assume we want a new key
14656 - (nmi_save_network_info): serialize wireless security info
14657 into GConf so its saved
14660 - Fix warning as we may not be passed security info when
14661 connecting to a wireless network
14663 2005-12-23 Dan Williams <dcbw@redhat.com>
14665 * gnome/applet/applet-compat.c
14666 - Fix bugs in GConf entry conversion
14668 * gnome/applet/applet-dbus-info.c
14669 - (nmi_dbus_get_network_properties): handle case of the BSSID
14670 list being zero-length
14672 * libnm-util/cipher-*
14673 libnm-util/dbus-helpers.c
14674 - All ciphers must now return hashed keys as UTF-8 valid
14675 hexadecimal strings, ie "8f3dae4023". They are pushed
14676 through dbus as strings too.
14677 - Consolidate various functions that do bin->hex and hex->bin
14678 conversion into cipher.c
14680 * src/nm-ap-security-wep.c
14681 src/nm-ap-security-wpa-psk.c
14682 - Handle NULL keys since we may not know keys right away
14684 * src/nm-dbus-nmi.c
14685 - (nm_dbus_get_network_data_cb): actually advance to the start
14686 of the wireless security info before we try to deserialize it
14688 * libnm-util/test-ciphers.c
14689 - Update cipher tests for the change to UTF-8 hexadecimal strings
14691 2005-12-22 Dan Williams <dcbw@redhat.com>
14693 * gnome/applet/applet-compat.[ch]
14694 - Convert old-format GConf and keyring entries
14695 when the applet starts up.
14697 * gnome/applet/applet.c
14698 - (nmwa_get_instance): Call the conversion function
14699 on startup before dbus is initialized
14701 2005-12-22 Dan Williams <dcbw@redhat.com>
14703 * gnome/applet/applet-dbus-info.c
14704 - Remove nmi_dbus_create_error_message() in favor of
14705 nmu_create_dbus_error_message()
14706 - (nmi_dbus_get_network_properties): Error message cleanups
14707 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14708 gconf key rather than 'addresses', since they really are BSSIDs
14709 - (nmi_dbus_get_network_properties): Dispose of the security
14710 object when we're done with it
14712 2005-12-21 Dan Williams <dcbw@redhat.com>
14714 * Consolidate the info-daemon's "updateNetworkInfo" and
14715 "addNetworkAddress" calls into just "updateNetworkInfo"
14717 2005-12-21 Dan Williams <dcbw@redhat.com>
14719 * Make connection after key retrieval work again
14721 2005-12-21 Dan Williams <dcbw@redhat.com>
14723 * gnome/applet/nm-gconf-wso*
14724 - Make the serialize functions return gboolean
14727 * gnome/applet/nm-gconf-wso.c
14728 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14729 parent class handling so we don't segfault
14731 * src/NetworkManagerAP.[ch]
14732 - (nm_ap_get_capabilities): new function, return capabilities
14733 now that something can use them
14734 - (nm_ap_set_encrypted): assume that an access point supports
14735 both WEP104 and WEP40 if its set encrypted. FIXME: can
14736 we even tell whether it just supports WEP40?
14738 * src/NetworkManagerDevice.c
14739 - (ap_need_key): resurrect and update for the New World Order
14740 - (nm_device_wireless_get_activation_ap): if we're not given
14741 security info to use, create some based on access point
14744 * src/nm-ap-security-wep.c
14745 - (nm_ap_security_wep_new_from_ap): create a new object
14746 based on a certain access point's capabilities
14748 * src/nm-ap-security.c
14749 - (nm_ap_security_new_from_ap): delegate creation of a new
14750 object based on access point capabilities to a subclass
14751 - (nm_ap_security_copy_properties): don't segfault if we
14752 don't have a key yet
14755 - (nm_dbus_nm_set_active_device): provide more informative
14756 output when errors occur. Also construct security info
14757 for a given access point if we weren't given any
14759 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14761 * configure.in: Added Lithuanian to ALL_LINGUAS.
14763 2005-12-21 Dan Williams <dcbw@redhat.com>
14766 - Add some testcases for WEP ciphers
14768 2005-12-17 Dan Williams <dcbw@redhat.com>
14772 2005-12-17 Dan Williams <dcbw@redhat.com>
14774 * include/NetworkManager.h
14775 - Finally kill NMEncKeyType
14777 * gnome/applet/applet-dbus-info.c
14778 - (nmi_save_network_info): convert to NMGConfWSO
14780 * gnome/applet/nm-gconf-wso-*.c
14781 - Implement gconf serialization functions
14783 * src/NetworkManagerPolicy.c
14784 - (nm_policy_activation_finish): fix up meaning of
14785 automatic/user_requested
14787 2005-12-17 Dan Williams <dcbw@redhat.com>
14790 - More applet cleanups
14791 - Use the dbus-method-dispatcher
14793 * libnm-util/dbus-method-dispatcher.[ch]
14794 - Generalize the implementation from NM in
14795 NetworkManagerUtils.c
14797 2005-12-16 Dan Williams <dcbw@redhat.com>
14800 - Fix up the passphrase dialog to use all the
14801 WirelessSecurityOption stuff (untested)
14803 2005-12-16 Dan Williams <dcbw@redhat.com>
14805 * Move nm_gconf_get_*_helper() functions to separate files,
14806 gconf-helpers.c & gconf-helpers.h
14808 * New NMGConfWSO objects for managing the gconf side of things.
14809 Eventually these should be merged with the
14810 WirelessSecurityOption objects and a common base (that can
14811 serialize/deserialize from dbus & gconf) should be
14812 refactored out, but for now they are separate.
14814 2005-12-16 Robert Love <rml@novell.com>
14816 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14817 binaries unless they exist (nm_spawn_process() emits a warning if
14818 asked to spawn a non-existant process).
14820 2005-12-16 Dan Williams <dcbw@redhat.com>
14822 * gnome/applet/applet-dbus-info.c
14823 - Clean up lots of gconf-related code
14825 2005-12-16 Robert Love <rml@novell.com>
14827 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14829 2005-12-16 Dan Williams <dcbw@redhat.com>
14831 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14833 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14834 bits still to be done)
14836 2005-12-16 Dan Williams <dcbw@redhat.com>
14838 * Finally move info-daemon related stuff out of
14839 NetworkManagerDbus.c to nm-dbus-nmi.c
14841 2005-12-16 Dan Williams <dcbw@redhat.com>
14843 * Kill auth_method for access points, since that's now done
14844 by NMAPSecurity objects
14846 * Add a copy-constructor of sorts to NMAPSecurity
14847 (how do you do this properly in glib???)
14849 2005-12-15 Dan Williams <dcbw@redhat.com>
14851 * Exorcise encryption key hashing on APs
14852 * Use libnm-util's serialization/deserialization in both the
14854 * Random other stuff
14856 2005-12-15 Robert Love <rml@novell.com>
14858 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14859 is being added to the icon naming spec, so let's use that (Tango CVS
14860 has the icon). Because it is new, however, we fall back to the
14861 current "gnome-lockscreen" if the new icon is not around, thus
14862 behavior is the same.
14863 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14866 2005-12-15 Robert Love <rml@novell.com>
14868 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14869 well, help to give. Couple other misc. bits.
14871 2005-12-15 Dan Williams <dcbw@redhat.com>
14873 * libnm-util/dbus-helpers.[ch]
14874 - Make this the one-stop-shop for serializing/deserializing
14875 AP & connection security settings over dbus. Both NM
14876 and applets should use this to ensure consistent dbus
14877 API going forwared.
14879 2005-12-15 Robert Love <rml@novell.com>
14881 Patch by Timo Hoenig <thoenig@suse.de>:
14882 * src/NetworkManagerDbus.c
14883 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14884 if HAL jumps off the system bus. Otherwise libdbus
14885 (dbus_connection_dispatch) will try to run the filter
14886 function of our libhal context which is already freed.
14888 2005-12-15 Alexander Shopov <ash@contact.bg>
14890 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14892 2005-12-14 Dan Williams <dcbw@redhat.com>
14894 * include/NetworkManager.h
14895 src/NetworkManagerWireless.c
14896 - Rearrange 802.11 wireless-specific capabilities again
14899 - Forgot to add wpa.c/wpa.h to the makefiles
14901 * src/NetworkManagerAP.[ch]
14902 - Implement access point capabilities and parse the
14903 WPA/RSN IEs into the capability bitfield
14904 - Switch the "encrypted" attribute to utilize the bitfield
14905 and capabilities rather than being independent
14907 * src/NetworkManagerDevice.c
14908 - (nm_device_wireless_get_activation_ap): break it horribly
14909 until we can push NMAPSecurity objects into access point
14910 objects and through the activation chain
14911 - Stuff WPA & RSN IEs into AP capabilities
14914 - Take a shot at actually making setActiveDevice work
14917 - Make the API a bit saner
14919 2005-12-14 Dan Williams <dcbw@redhat.com>
14921 * include/NetworkManager.h
14922 - Add 802.11-specific capability for 802.1x key
14926 - Pull in WPA IE and RSN IE parsing code from
14927 wpa_supplicant so we can determine access point
14929 - Move WPA-related constants here from NetworkManagerAP.h
14930 and NetworkManagerDevice.c
14932 * src/NetworkManagerDevice.c
14933 src/NetworkManagerAP.[ch]
14934 - Use WPA-related constants from wpa.h
14936 2005-12-14 Dan Williams <dcbw@redhat.com>
14938 * include/NetworkManager.h
14939 - Update and split 802.11 wireless-specific capabilities from
14940 generic device capabilities
14942 * src/NetworkManagerDevice.c
14943 src/NetworkManagerDevicePrivate.h
14944 - (nm_device_wireless_discover_capabilities): Move 802.11
14945 wireless-specific capability checks to
14946 NetworkManagerWireless.c
14947 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14948 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14950 * src/NetworkManagerWireless.[ch]
14951 - (nm_802_11_wireless_discover_capabilities): Check extended
14952 802.11 wireless-specific capabilities of the driver
14954 2005-12-14 Robert Love <rml@novell.com>
14956 Patch from Stefan Scheler <sscheler@suse.de>:
14957 * src/NetworkManagerDevice.c: call backend code to activate and
14959 * src/NetworkManagerSystem.h: add new NIS interfaces.
14960 * src/backends/NetworkManagerDebian.c,
14961 src/backends/NetworkManagerGentoo.c,
14962 src/backends/NetworkManagerRedHat.c,
14963 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14965 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14967 2005-12-14 Dan Williams <dcbw@redhat.com>
14969 * src/nm-ap-security*.[ch]
14970 - Add AP security abstractions to NetworkManager
14972 * src/nm-dbus-device.c
14973 - Begin to parse new format dbus messages from the applet
14974 and construct an AP security object from the message
14976 * libnm-util/dbus-helpers.c
14977 - Use message iters so we can append the key as a fixed
14978 array of bytes, which actually works rather than
14979 using dbus_message_append_args() as we were before
14981 2005-12-14 Dan Williams <dcbw@redhat.com>
14983 * src/NetworkManagerDbus.c
14984 gnome/applet/applet-dbus.c
14985 - Fix up dbus service replacement options. The applet
14986 should allow replacement, NM itself should not.
14988 2005-12-13 Robert Love <rml@novell.com>
14990 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14991 Instead, fail silently if config is NULL by not asserting and not
14992 returning FALSE. Also, make sure we always fclose() the file.
14994 2005-12-13 Robert Love <rml@novell.com>
14996 Patch by Stefan Scheler <sscheler@suse.de>:
14997 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14998 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14999 via DHCP. Still need the backends to commit the NIS domain name and
15000 and servers to yp.conf as needed.
15002 2005-12-13 Robert Love <rml@novell.com>
15004 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
15005 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
15007 2005-12-13 Robert Love <rml@novell.com>
15009 * src/named-manager/nm-named-manager.c: Don't unref the config until
15010 after we call rewrite_resolv_conf(), because get_last_default_domain()
15011 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15012 `config != NULL' failed" assertion failures and "Could not commit DNS
15015 2005-12-12 Dan Williams <dcbw@redhat.com>
15017 * libnm-util/dbus-helpers.[ch]
15018 libnm-util/Makefile.am
15019 - new helper calls to consolidate locations where
15020 NM's setDevice method is called
15022 * gnome/applet/applet-dbus-devices.c
15023 gnome/applet/wireless-security-option.c
15025 - Implement dbus message param append function for
15026 all wireless security options
15028 2005-12-12 Robert Love <rml@novell.com>
15030 * libnm-util/cipher-wep-passphrase.c,
15031 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15032 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15033 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15034 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15035 When handling keys, we don't care what the sign is. The compiler
15036 guarantees us that we get our 8-bits, which is all we care about.
15037 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15039 2005-12-12 Dan Williams <dcbw@redhat.com>
15041 * gnome/applet/applet-dbus-devices.[ch]
15042 gnome/applet/applet.c
15043 gnome/applet/other-network-dialog.c
15044 gnome/applet/wireless-security-manager.[ch]
15045 gnome/applet/wireless-security-option.[ch]
15047 - Push the wireless security options further into the applet
15049 2005-12-12 Robert Love <rml@novell.com>
15051 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15052 return any name servers. That is perfectly valid. (Novell #134369).
15054 2005-12-11 Dan Williams <dcbw@redhat.com>
15056 * gnome/applet/wso-*
15057 gnome/applet/wireless-security-option.*
15058 gnome/applet/Makefile.am
15059 - split each security option out so we can eventually
15060 have each one build up their own dbus message
15061 arguments to send to NM
15063 2005-12-11 Dan Williams <dcbw@redhat.com>
15065 * Make validation of the key work correctly
15067 2005-12-11 Dan Williams <dcbw@redhat.com>
15069 * Hook more bits of the Other Network Dialog up to the
15070 wireless security manager stuff, and restructure
15071 bits of the dialog so there's less code.
15073 2005-12-10 Dan Williams <dcbw@redhat.com>
15075 * gnome/applet/Makefile.am
15076 - Add libnm-util to includes
15077 - Add libnm-util to link list
15078 - Add wireless-security-common.* to compile list
15080 * gnome/applet/other-network-dialog.c
15081 - Convert to using the WirelessSecurityManager code and
15084 * gnome/applet/passphrase-dialog.c
15085 - Comment out references to stuff in the glade file that
15086 cause runtime errors until it can be fixed up
15087 to use the WirelessSecurityManager code
15089 * gnome/applet/wireless-applet.glade
15090 - Rename some widgets
15091 - Add widgets for the WirelessSecurityManager code
15092 - Remove passphrase-related stuff since that's now
15093 handled by the WirelessSecurityManager code
15095 2005-12-10 Dan Williams <dcbw@redhat.com>
15097 * gnome/applet/applet-dbus-devices.c
15098 - Print out error message details for dbus pending call callbacks
15099 - Move nmwa_dbus_update_devices() up
15101 * gnome/applet/applet-dbus-vpn.c
15102 - Print out error message details for dbus pending call callbacks
15104 2005-12-10 Dan Williams <dcbw@redhat.com>
15108 - Remove cipher-manager.* because we don't need it
15109 - Forgot to add gnome-keyring-md5 files to compile list
15111 2005-12-09 Dan Williams <dcbw@redhat.com>
15116 - Add a utility library for clients of NetworkManager. It's
15117 only targetted at applets for the moment, and contains
15118 a generalized 802.11 cipher framework for different
15119 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15121 2005-12-09 Robert Love <rml@novell.com>
15123 * src/NetworkManagerDevice.c: handle error better in
15124 nm_device_set_mode().
15126 2005-12-08 Robert Love <rml@novell.com>
15128 * include/NetworkManager.h: add WPA capabilities constants
15129 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15130 or WPA2 and add the capabilities bits as appropriate.
15132 2005-12-08 Robert Love <rml@novell.com>
15134 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15135 NetworkManagerDispatcher.
15136 * configure.in, initscript/SUSE/.cvsignore,
15137 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15140 2005-12-08 Robert Love <rml@novell.com>
15142 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15144 2005-12-08 Robert Love <rml@novell.com>
15146 * src/NetworkManagerDevice.c: We want to fall back on and default to
15147 IW_MODE_AUTO, not -1, which is more in line with our previous
15148 behavior. Otherwise, we try to set the wireless mode to -1 in
15149 nm_device_set_mode().
15151 2005-12-07 Robert Love <rml@novell.com>
15153 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15154 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15155 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15156 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15157 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15158 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15161 2005-12-07 Robert Love <rml@novell.com>
15163 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15164 supplied IP is invalid, fall back to DHCP.
15166 2005-12-07 Dan Williams <dcbw@redhat.com>
15168 * Convert NETWORK_MODE_* constants to IW_MODE_*
15169 * Make all the get_mode/set_mode functions take and return 'int'
15170 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15172 2005-12-07 Robert Love <rml@novell.com>
15174 * src/NetworkManagerDevice.c: strncpy() buffer check.
15175 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15177 2005-12-06 Dan Williams <dcbw@redhat.com>
15179 * gnome/applet/applet-dbus.c
15180 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15182 * gnome/applet/applet-dbus-vpn.c
15183 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15184 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15185 to TRUE here if stage was ACTIVATED
15187 2005-12-06 Dan Williams <dcbw@redhat.com>
15189 * Change nm_device_is_* functions to better names:
15190 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15191 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15193 2005-12-06 Dan Williams <dcbw@redhat.com>
15195 * Change naming of NMDeviceType to something more sensible:
15196 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15197 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15198 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15200 2005-12-06 Dan Williams <dcbw@redhat.com>
15202 * Move NetworkManager.h -> include/NetworkManager.h
15203 * Split out VPN stuff into include/NetworkManagerVPN.h
15204 * Fix up makefiles to include new location
15205 * Fix up sources to include NetworkManagerVPN.h
15207 2005-12-06 Dan Williams <dcbw@redhat.com>
15209 Various changes in the applet to move VPN connection "state" -> "stage",
15210 which it actually is. I'd like to change the signal as well when we
15211 break compat in the near future.
15213 2005-12-06 Dan Williams <dcbw@redhat.com>
15215 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15216 * initscript/Slackware/rc.networkmanager
15219 * src/backends/NetworkManagerSlackware.c
15220 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15223 2005-12-05 Robert Love <rml@novell.com>
15225 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15226 to free, particularly here as it just barfs.
15228 2005-12-05 Dan Williams <dcbw@redhat.com>
15230 * gnome/applet/applet-dbus.c
15231 - Work with dbus 0.6 too
15233 2005-12-03 Dan Williams <dcbw@redhat.com>
15235 * src/NetworkManagerUtils.[ch]
15236 src/nm-ip4-config.c
15237 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15238 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15240 2005-12-01 Robert Love <rml@novell.com>
15242 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15243 need a NULL for the '...' parameter, too, to fill the so-called
15246 2005-12-01 Robert Love <rml@novell.com>
15248 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15249 interface is already gone, so don't call rtnl_link_change() to down
15250 it (which will segfault, anyhow).
15252 2005-11-22 Robert Love <rml@novell.com>
15254 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15255 gateway is not set, just print a little note. Configurations without
15256 gateways are valid.
15258 2005-11-22 Robert Love <rml@novell.com>
15262 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15264 * configure.in: Added Finnish translation to ALL_LINGUAS
15266 2005-11-14 Robert Love <rml@novell.com>
15268 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15269 Niemueller <tim@niemueller.de>.
15271 2005-11-08 Dan Williams <dcbw@redhat.com>
15273 Patch from Bill Moss <bmoss@clemson.edu>
15274 * src/NetworkManagerDevice.c
15275 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15276 of nm_policy_schedule_activation_finish() to prevent a
15277 race condition that causes the link to be dropped
15279 2005-11-08 Dan Williams <dcbw@redhat.com>
15281 Patch from Bill Moss <bmoss@clemson.edu>
15282 * src/NetworkManagerAPList.c
15283 src/NetworkManagerDevice.c
15284 src/NetworkManagerDbus.c
15285 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15286 we get more readable ether/mac addresses
15288 2005-11-02 Christopher Aillon <caillon@redhat.com>
15290 * gnome/applet/main.c: Don't set the restart command. This fixes
15291 the issue where the restart command was getting copies of all its
15292 arguments for each time the applet was restarted.
15294 2005-11-02 Robert Love <rml@novell.com>
15296 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15297 if the widget state differs from our saved state. This ensures we
15298 do not enter an endless loop of death and destruction. Also, this
15299 guarantees us that we enforce the widget state.
15301 2005-11-02 Robert Love <rml@novell.com>
15303 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15304 * gnome/applet/applet-dbus-devices.c: invoke the new function
15305 nmwa_enable_wireless_set_active() to ensure that the state of the
15306 'Enable Wireless' checkbox matches the daemon's state. This is a
15307 concern because the daemon remembers the state.
15309 2005-11-02 Robert Love <rml@novell.com>
15311 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15312 Enabled", as checkboxes should be actions/commands not positive
15313 statements, otherwise they are confusing in the unselected case. See
15314 examples in GNOME HIG, Chapter 6.
15316 2005-11-02 Robert Love <rml@novell.com>
15318 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15319 show a list of wireless networks or the wireless devices or the
15320 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15321 a bad bug: If wireless is disabled and the user picks a wireless
15322 network, NM will switch to the network, only to immediately switch
15323 back, as wireless is disabled. This also reassures people that NM
15324 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15326 2005-11-02 Christopher Aillon <caillon@redhat.com>
15328 * gnome/applet/applet.c:
15329 * gnome/applet/applet.h:
15330 Partial backout of Dan's timeout animation patch.
15331 Timeout IDs cannot legally be 0, so revert the code in place to handle
15332 a timeout ID of 0 to denote the timeout isn't running.
15334 2005-11-02 Christopher Aillon <caillon@redhat.com>
15336 * src/NetworkManagerPolicy.c:
15337 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15339 2005-10-28 Robert Love <rml@novell.com>
15341 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15342 "Import Saved Configuration..." to make it clear that importing is
15343 not the next step, but an option. As an aside, a nice TODO would be
15344 to move Importing out of the vpn-specific dialog and into the main
15345 property editor, as Importing goes with Adding, but that will require
15346 some rearchitecting of the VPN stuff I suspect.
15348 2005-10-27 Dan Williams <dcbw@redhat.com>
15350 Start using libnl. You need 1.0-pre3 or higher. Eventually
15351 we should replace most of the distro-specific backend code
15354 Get it here: http://people.suug.ch/~tgr/libnl/
15358 - Add checks for libnl pkgconfig file
15359 - Use LIBNL_LIBS & LIBNL_CFLAGS
15361 * src/NetworkManagerSystem.c
15362 src/nm-ip4-config.[ch]
15363 - Use libnl rather than ioctl() for most things
15364 - Remove unused functions
15366 2005-10-27 Robert Love <rml@novell.com>
15368 * src/backends/NetworkManagerSuSE.c: fix warning message text
15370 2005-10-27 Christopher Aillon <caillon@redhat.com>
15372 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15374 2005-10-27 Christopher Aillon <caillon@redhat.com>
15376 * gnome/applet/applet.c: The applet's about dialog can advertise our
15377 project page <http://www.gnome.org/projects/NetworkManager/>
15379 2005-10-26 Christopher Aillon <caillon@redhat.com>
15381 * gnome/applet.c: Also use translator credits if we don't have
15382 the new GtkAboutDialog (older versions of GTK+)
15384 2005-10-26 Robert Love <rml@novell.com>
15386 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15387 failure; correct usage text for "--no-daemon"
15389 2005-10-25 Dan Williams <dcbw@redhat.com>
15391 * src/NetworkManagerDevice.c
15392 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15394 - (free_process_scan_cb_data): unref the device when freeing results
15395 - (nm_device_wireless_process_scan_results): free scan results a bit later
15396 so we don't unref the device underneath ourselves
15398 2005-10-25 Dan Williams <dcbw@redhat.com>
15400 * Back out 2005-10-24 commit from Tor Krill. Patch
15401 causes nameservers never to be removed from named.
15403 2005-10-24 Dan Williams <dcbw@redhat.com>
15405 Clean up wireless scanning and wireless link probing.
15407 * src/NetworkManagerDevice.c
15408 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15409 just see if there's an activation request on the device, and check the
15410 current link against the activation request access point's ESSID.
15411 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15412 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15413 don't call process_scan_results() on zero-length data
15414 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15415 15 seconds (from 10)
15417 2005-10-24 Dan Williams <dcbw@redhat.com>
15419 Cleanup some applet stuff:
15421 - Animation timeouts. If NM died while the applet was animating,
15422 the applet would not hide itself. This is now fixed.
15424 - Remove some dead code
15426 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15427 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15429 - Track animation timeout using a gboolean rather than the timeout's
15430 ID, since timeout IDs can legally be 0.
15432 2005-10-24 Dan Williams <dcbw@redhat.com>
15434 * src/backends/interface_parser.c
15435 - Add void to function declarations that need it
15436 to match patch from Engin AYDOGAN
15438 * src/backends/interface_parser.h
15439 - Remove unused prototype for ifparser_interfaces()
15441 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15442 * src/backends/interface_parser.h:
15443 - Compile fixes for gcc 4.0.2 (add void)
15445 2005-10-24 Dan Williams <dcbw@redhat.com>
15447 Patch from Tor Krill <tor@krill.nu>
15448 * src/named-manager/nm-named-manager.c
15449 - Write more than just the first nameserver to /etc/resolv.conf
15450 - Write out valid /etc/resolv.conf on exit
15452 2005-10-21 Christopher Aillon <caillon@redhat.com>
15454 * gnome/applet/applet-dbus-vpn.c:
15455 Get rid of spurious newlines in debug console output
15457 2005-10-21 Christopher Aillon <caillon@redhat.com>
15459 * src/backends/NetworkManagerGentoo.c:
15460 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15462 2005-10-20 Robert Love <rml@novell.com>
15464 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15465 direct comparison of floating point values, which is never correct.
15466 Also some misc. cleanup.
15468 2005-10-19 Robert Love <rml@novell.com>
15470 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15472 2005-10-19 Robert Love <rml@novell.com>
15474 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15475 sensitivity of the buttons. Specificaly, do the right thing if
15476 there are no entries.
15478 2005-10-19 Christopher Aillon <caillon@redhat.com>
15480 * configure.in: Update check for adequate wireless-tools
15481 with an AC_TRY_COMPILE for the new symbols we use.
15483 2005-10-19 Dan Williams <dcbw@redhat.com>
15485 * src/NetworkManagerDevice.c
15486 - (process_scan_results): don't drop the last (or only)
15487 access point we see
15489 2005-10-19 Christopher Aillon <caillon@redhat.com>
15491 * src/backends/NetworkManagerSlackware.c:
15492 Patch from Nico <lordllucifer@gmail.com>
15493 - Update the Slackware backend.
15495 2005-10-18 Christopher Aillon <caillon@redhat.com>
15497 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15498 if we've got GLib 2.8.0
15500 2005-10-18 Robert Love <rml@novell.com>
15502 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15503 function nm_schedule_state_change_signal_broadcast() when we
15504 deactivate a device, too.
15506 2005-10-18 Robert Love <rml@novell.com>
15508 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15509 be used uninitialized.
15511 2005-10-18 Christopher Aillon <caillon@redhat.com>
15513 * test/libnm_glib_test.c: Test unregistering, too.
15515 2005-10-17 Christopher Aillon <caillon@redhat.com>
15517 * configure.in: Bump to 0.5.0
15519 2005-10-17 Dan Williams <dcbw@redhat.com>
15522 - Remove WPA-related constants so they aren't part of the
15525 2005-10-17 Christopher Aillon <caillon@redhat.com>
15527 * gnome/applet/applet.c:
15528 * gnome/applet/applet.h:
15529 Desensitize the 'Connection Information' menu item when there is
15530 no active connection.
15532 2005-10-17 Christopher Aillon <caillon@redhat.com>
15534 * gnome/libnm_glib/libnm_glib.c:
15535 Make libnm_glib_unregister_callback () actually unregister the callback
15537 2005-10-17 Robert Love <rml@novell.com>
15539 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15540 two seconds -- tries is updated every 1/10 of a second, not every
15543 2005-10-17 Christopher Aillon <caillon@redhat.com>
15545 * gnome/applet/applet-dbus-info.c:
15546 Let D-BUS know that we haven't handled a message when we haven't.
15548 2005-10-17 Robert Love <rml@novell.com>
15550 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15551 in order to remain 64-bit clean.
15553 2005-10-17 Christopher Aillon <caillon@redhat.com>
15555 * gnome/applet/applet-dbus-info.c:
15556 Find network encryption keys asynchronously
15558 2005-10-17 Robert Love <rml@novell.com>
15560 * src/backends/NetworkManagerDebian.c,
15561 src/backends/NetworkManagerRedHat,
15562 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15565 2005-10-17 Robert Love <rml@novell.com>
15567 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15570 2005-10-17 Christopher Aillon <caillon@redhat.com>
15572 * src/NetworkManagerDevice.c: (process_scan_results)
15573 Fix logic that checks to see whether we have an ESSID.
15575 2005-10-15 Dan Williams <dcbw@redhat.com>
15577 Move scanning code into NetworkManager rather than use iwlib's
15578 iw_scan() function, so that we can figure out AP capabilities.
15581 - Add AP capability bits
15583 * src/NetworkManagerAP.[ch]
15584 - Add capability field to NMAccessPoint structure
15585 - Add WPA & RSN Information Element fields and accessor
15586 functions to NMAccessPoint
15588 * src/NetworkManagerDevice.c
15589 - Remove usage of iw_scan
15590 - Add scanning code to NetworkManager rather than use
15591 iw_scan() from iwlib
15593 * src/NetworkManagerUtils.[ch]
15594 - (nm_dispose_scan_results): remove, unused
15596 2005-10-14 Christopher Aillon <caillon@redhat.com>
15598 * gnome/libnm_glib/libnm_glib.c:
15599 * gnome/libnm_glib/libnm_glib.h:
15600 Use guint instead of gint for callback IDs.
15602 2005-10-12 Christopher Aillon <caillon@redhat.com>
15604 * gnome/applet/applet.c:
15605 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15606 every 1000ms. It will unconditionally call nmwa_update_state which
15607 kills the existing animation timeout and registers a new one with a
15608 callback to draw a new frame every 100ms. There are 11 connecting
15609 icon frames, so the last 2 frames kept getting dropped. Only reset
15610 the animation timeout if we aren't animating.
15612 2005-10-11 Dan Williams <dcbw@redhat.com>
15614 * gnome/applet/applet-dbus-devices.c
15615 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15616 We want to grab the product & vendor from net.physical_dev
15617 rather than info.parent.
15619 2005-10-11 Dan Williams <dcbw@redhat.com>
15621 * src/NetworkManagerDevice.c
15622 - Use the driver's WE version for scanning rather than
15623 the WE version NM was compiled with. Fixes random
15624 crashes in iw_scan () in iwlib.
15626 2005-10-10 Dan Williams <dcbw@redhat.com>
15628 * Remove nm_system_load_device_modules() from backend files
15629 and from NetworkManager.c
15631 2005-10-10 Dan Williams <dcbw@redhat.com>
15633 * src/NetworkManagerPolicy.c
15634 - Fix some bugs introduced by the capabilities patch
15636 2005-10-10 Dan Williams <dcbw@redhat.com>
15638 * gnome/applet/applet-dbus-info.c
15639 - (nmi_dbus_get_network_key): hide the menu when putting up
15640 the keyring dialog. (not sure if the code is right...)
15642 2005-10-09 Dan Williams <dcbw@redhat.com>
15644 Patch from Bill Moss <bmoss@clemson.edu>
15645 * src/NetworkManagerDevice.c
15646 - (nm_device_set_user_key_for_network): don't try to set auth
15647 mode on the AP from the allowed list if it's NULL
15649 2005-10-09 Dan Williams <dcbw@redhat.com>
15651 * Replace the "driver support level" stuff with capabilities. The
15652 capability field is a bitfield that is more flexible than the
15653 old driver support level thing. It's mostly so we can easily
15654 figure out what supports WPA and what doesn't, but should be
15655 quite useful later.
15657 2005-10-09 Dan Williams <dcbw@redhat.com>
15664 - Added new "nm-tool" tool that gives quite a bit more
15667 2005-10-07 Robert Love <rml@novell.com>
15669 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15670 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15671 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15672 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15675 2005-10-07 Robert Love <rml@novell.com>
15677 * configure.in: Change our compile flags for the betterment of mankind.
15678 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15679 prototype is very bad on 64-bit platforms as types default to int but
15680 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15681 "-Wmissing-declarations" to warn if we define an exported function
15682 but fail to put it in a header.
15684 2005-10-07 Robert Love <rml@novell.com>
15686 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15687 by the name nm_update_device_wireless_timeouts() and once tried,
15688 without success, to steal my pet turtle.
15690 2005-10-07 Robert Love <rml@novell.com>
15692 * Cleanup prototypes: put some functions in header files and mark
15693 others as 'static' -- feel free to invert
15694 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15695 nm_vpn_manager_vpn_connection_list_copy()
15696 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15697 nm_vpn_service_get_dbus_connection()
15698 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15699 nm_vpn_manager_vpn_connection_list_copy()
15700 * src/vpn-manager/nm-vpn-service.c: make
15701 nm_vpn_service_act_request_failed() and
15702 nm_vpn_service_stage2_daemon_wait() static
15703 * src/vpn-manager/nm-vpn-service.h: add prototype for
15704 nm_vpn_service_get_dbus_connection()
15706 2005-10-06 Christopher Aillon <caillon@redhat.com>
15708 * gnome/applet/applet.c:
15709 * gnome/applet/applet.h:
15710 * gnome/applet/icons/Makefile.am:
15711 Convey information about the current connection stage in the
15712 icons themselves instead of creating a separate progress bar.
15714 2005-10-04 Robert Love <rml@novell.com>
15716 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15717 convert an ether_addr structure's MAC into a string, because the
15718 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15719 versus 07:3B:04, while the former will not.
15721 2005-10-04 Robert Love <rml@novell.com>
15723 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15724 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15725 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15726 default route in the 'Connection Information' dialog, send primary
15727 and secondary name servers in in "getProperties" DBUS method, add
15728 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15729 secondary domain name servers are crucial pieces of information
15730 that a user might need in debugging a network problem.
15732 2005-10-04 Robert Love <rml@novell.com>
15734 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15735 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15736 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15737 default route in the 'Connection Information' dialog, send default
15738 route in "getProperties" DBUS method, add network_device_set_route(),
15739 and network_device_get_route(). The Gateway is a crucial piece of
15740 connection-related information that a user might need in debugging a
15743 2005-10-03 Robert Love <rml@novell.com>
15745 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15748 2005-10-02 Dan Williams <dcbw@redhat.com>
15750 * Shorten time taken to sleep by fastpathing bits of device deactivation
15751 necessary for sleep.
15753 * Fix issue where deactivating a device might deactivate the active
15754 VPN connection, even if the VPN was not using the device.
15756 2005-10-02 Dan Williams <dcbw@redhat.com>
15758 * gnome/applet/applet.c
15759 - Adjust signal strength -> icon mapping values slightly
15760 (so that 51% signal doesn't show a 75% icon) by adding
15761 5% to the values. ex: > 5% now shows 25% icon, > 30%
15762 shows 50% icon, etc.
15764 2005-09-29 Robert Love <rml@novell.com>
15766 * src/NetworkManager.c: removed unused variable.
15768 2005-09-28 Dan Williams <dcbw@redhat.com>
15770 Support for named + DBus, using Red Hat DBus patches for named. You
15771 can find those patches here, with "dbus" in the patch's filename:
15773 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15775 Don't forget the named dbus service file either.
15777 Instead of writing a config file and spawing a named process, NM will
15778 use an already-running dbus-enabled named if it finds one. NM will
15779 update named's forwarder configuration on the fly using dbus.
15781 If there is no dbus-enabled named running, NM will automatically fall
15782 back to writing the most-recent DNS server information to /etc/resolv.conf
15783 and calling nm_system_update_dns() to kick the system's resolver.
15785 Accordingly, all named-related configure-time options have been removed.
15787 2005-09-26 Robert Love <rml@novell.com>
15789 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15791 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15792 bug in error path if "ASKPASSWORD" is "no".
15794 2005-09-26 Robert Love <rml@novell.com>
15796 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15797 comment in /etc/resolv.conf -- ';' is not.
15799 2005-09-19 Dan Williams <dcbw@redhat.com>
15801 * src/backends/NetworkManagerRedHat.c:
15802 * src/backends/NetworkManagerDebian.c:
15803 * src/backends/NetworkManagerSlackware.c:
15804 * src/backends/NetworkManagerGentoo.c:
15805 * src/backends/NetworkManagerSUSE.c:
15806 Fix invocations of "/sbin/ip address" to use short form instead
15808 2005-09-19 Christopher Aillon <caillon@redhat.com>
15810 * src/nm-dbus-device.c: Don't assert when getting
15811 addresses of a not yet connected interface.
15813 * gnome/applet/applet.c: Free icons if loading fails.
15814 Use translator-credits so translators can make themselves known.
15816 2005-09-15 Christopher Aillon <caillon@redhat.com>
15818 * src/NetworkManagerAP.c:
15819 * src/NetworkManagerAP.h:
15820 * src/NetworkManagerDevice.c:
15821 Set a blacklist for certain common manufacturer default ESSIDs:
15822 APs with these ESSIDs are extremely likely to be completely
15823 different networks: connecting to one should not make NM
15824 auto-connect to every other AP with the same default ESSID.
15826 2005-09-12 Christopher Aillon <caillon@redhat.com>
15828 * gnome/applet/wireless-applet.glade:
15829 The passphrase entry should also activate the default
15831 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15833 * gnome/applet/applet-dbus-devices.c:
15834 * gnome/applet/applet.c:
15835 * gnome/applet/nm-device.c:
15836 * gnome/applet/nm-device.h:
15837 * src/NetworkManagerUtils.c:
15838 * src/NetworkManagerUtils.h:
15839 * src/nm-dbus-device.c:
15840 I've got a fever, and the only cure for it is less ioctl.
15841 Make NM push IP data rather than make the applet open a socket
15844 2005-09-10 Christopher Aillon <caillon@redhat.com>
15846 * gnome/applet/applet.c:
15847 * gnome/applet/applet-dbus-devices.c:
15848 * gnome/applet/applet-dbus-info.c:
15849 * gnome/applet/passphrase-dialog.c:
15850 * gnome/libnm_glib/libnm_glib.c:
15851 * gnome/vpn-properties/nm-vpn-properties.c:
15853 * src/backends/NetworkManagerRedHat.c:
15854 * src/named-manager/nm-named-manager.c:
15855 * src/NetworkManagerAPList.c:
15856 * src/NetworkManager.c:
15857 * src/NetworkManagerDbus.c:
15858 * src/NetworkManagerDevice.c:
15859 * src/NetworkManagerPolicy.c:
15860 * src/NetworkManagerSystem.c:
15861 * src/nm-dbus-device.c:
15862 * src/nm-dbus-nm.c:
15863 * src/vpn-manager/nm-vpn-manager.c:
15864 * src/vpn-manager/nm-vpn-service.c:
15865 * test/libnm_glib_test.c:
15866 * test/nminfotest.c:
15867 * test/nmtestdevices.c:
15868 Fix a bunch of 'unused variable' compiler warnings
15870 * NetworkManager.h:
15871 * gnome/applet/applet-dbus-info.c:
15872 * gnome/applet/applet-dbus-info.h:
15873 * gnome/applet/applet.c:
15874 * gnome/applet/applet.h:
15875 * src/NetworkManager.c:
15876 * src/NetworkManagerDbus.c:
15877 * src/NetworkManagerDbus.h:
15878 * src/NetworkManagerDevice.c:
15879 * src/NetworkManagerDevice.h:
15880 * src/NetworkManagerMain.h:
15881 * src/NetworkManagerWireless.c:
15882 * src/NetworkManagerWireless.h:
15883 * src/nm-dbus-nm.c:
15884 Make NetworkManager be smart about how frequently to scan
15885 based on its current state. Remove the UI for choosing when
15886 to scan. Scanning still may disabled completely by the user
15887 via the "Wireless Enabled" menu item.
15889 2005-09-09 Christopher Aillon <caillon@redhat.com>
15891 * gnome/applet/applet.c:
15892 Also overlay the vpn connecting icons onto the wired icon,
15895 * gnome/vpn-properties/nm-vpn-properties.glade:
15896 Clean up a few strings to use better grammar and proper casing.
15898 2005-09-08 Christopher Aillon <caillon@redhat.com>
15900 * gnome/applet/vpn-connection.c:
15901 * gnome/applet/vpn-connection.h:
15902 Add nmwa_vpn_connection_is_activating ()
15904 * gnome/applet/applet.c:
15905 * gnome/applet/applet.h:
15906 * gnome/applet/icons/nm-vpn-connecting*.png:
15907 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15908 the user know something's happening between clicking the VPN item and it
15909 actually being connected.
15911 2005-09-07 Christopher Aillon <caillon@redhat.com>
15913 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15914 failure case as well.
15916 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15918 * gnome/panel/eggtrayicon.[ch]:
15919 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15921 2005-09-07 Dan Williams <dcbw@redhat.com>
15923 Patch from Bill Moss <bmoss@clemson.edu>
15924 * src/applet-dbus.c
15925 - (nmwa_dbus_filter): strip whitespace from beginning
15926 and end of VPN login banner
15928 2005-09-07 Dan Williams <dcbw@redhat.com>
15930 * The great VPN Manager rewrite of 2005
15932 2005-09-07 Christopher Aillon <caillon@redhat.com>
15934 * gnome/applet/menu-items.c:
15935 * gnome/applet/nm-device.c:
15936 * gnome/applet/wireless-network.c:
15937 * gnome/libnm_glib/libnm_glib.c:
15938 * src/NetworkManagerDbusUtils.c:
15939 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15940 g_malloc0 doesn't return NULL
15942 2005-09-06 Dan Williams <dcbw@redhat.com>
15944 Patch from Tomislav Vujec <tvujec@redhat.com>
15945 * src/NetworkManagerDevice.c
15946 - (nm_get_device_by_udi): don't return a device when we
15947 actually didn't find what we were looking for
15949 2005-09-06 Christopher Aillon <caillon@redhat.com>
15951 * gnome/applet/applet-dbus-devices.c:
15952 * gnome/applet/applet-dbus-devices.h:
15953 * gnome/applet/applet-dbus.c:
15954 * src/NetworkManagerDbus.c:
15955 * src/NetworkManagerDbus.h:
15956 * src/NetworkManagerDevice.c:
15957 * src/nm-dbus-device.c:
15958 Make NM push updates about active device strength when it changes,
15959 rather than having the applet poll every 2s.
15961 2005-09-05 Christopher Aillon <caillon@redhat.com>
15963 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15964 network_device_set_strength
15966 2005-09-04 Dan Williams <dcbw@redhat.com>
15968 Patch from Bill Nottingham <notting@redhat.com>
15969 * src/NetworkManagerDevice.c
15970 - (nm_device_activation_cancel): reset the quit_activation flag
15972 2005-09-04 Dan Williams <dcbw@redhat.com>
15974 * src/nm-activation-request.c
15975 - (nm_act_request_unref): actually free the structure,
15976 which we didn't seem to be doing before
15978 2005-09-04 Dan Williams <dcbw@redhat.com>
15980 Patch from John Palmieri <johnp@redhat.com>
15981 * gnome/applet/applet-dbus-devices.c
15982 - Fix up unreffing of DBusMessage objects
15984 2005-09-04 Dan Williams <dcbw@redhat.com>
15986 Patch from John Palmieri <johnp@redhat.com>
15987 * gnome/applet/nm-device.c
15988 - (nm_device_unref): clear network_device's memory _before_ freeing it
15990 2005-09-02 Christopher Aillon <caillon@redhat.com>
15992 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15994 2005-09-02 Bill Nottingham <notting@redhat.com>
15996 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15998 2005-09-01 Dan Williams <dcbw@redhat.com>
16000 * src/NetworkManager.c
16001 - (nm_remove_device_from_list): rename to nm_remove_device
16002 - (nm_hal_device_removed): call nm_remove_device()
16004 * src/NetworkManagerDevice.c
16005 - Change the NMWirelessScanCB member 'reschedule' which
16006 wasn't used to 'force' to indicate that we need to
16007 force a scan when adding a device
16010 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16011 from the device list
16012 - (nm_dbus_nm_wake): Re-add all devices to the device list
16014 2005-09-01 Robert Love <rml@novell.com>
16016 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16017 and the check "!iface" in the error case is probably never true.
16019 2005-09-01 Dan Williams <dcbw@redhat.com>
16021 Patch from Bill Nottingham <notting@redhat.com>
16022 * src/backends/NetworkManagerRedHat.c
16023 - Add initial dialup support to Red Hat/Fedora backend
16025 2005-09-01 Dan Williams <dcbw@redhat.com>
16027 * gnome/applet/applet-dbus-devices.c
16028 - Sort both wireless networks and devices again, which got
16029 broken when removing threading
16031 2005-09-01 Christopher Aillon <caillon@redhat.com>
16033 * gnome/applet/applet.c:
16034 Only show the "Stop/Start All Wireless Devices" menuitem
16035 if we actually have wireless devices.
16037 * gnome/applet/applet-dbus-info.c:
16038 * gnome/applet/applet.c:
16039 * gnome/applet/other-network-dialog.c:
16040 * gnome/applet/vpn-password-dialog.c:
16041 Drop the gtk_dialog_run () calls in favor of connecting to
16042 "response" signals, needed now that the applet is not threaded.
16044 2005-08-31 Dan Williams <dcbw@redhat.com>
16046 Patch from Bill Moss <bmoss@clemson.edu>
16047 * src/NetworkManagerDevice.c
16048 - (nm_device_wireless_scan): fix scan timeout values
16050 2005-08-30 Dan Williams <dcbw@redhat.com>
16052 * gnome/applet/wireless-applet.glade
16053 - HIG-ify the Other Wireless Networks dialog a bit more
16054 - Fix some potential segfaults in the info dialog
16056 2005-08-30 Dan Williams <dcbw@redhat.com>
16058 * gnome/applet/applet-dbus-devices.c
16059 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16061 2005-08-30 Dan Williams <dcbw@redhat.com>
16063 * gnome/applet/applet-dbus.[ch]
16064 - Remove all the nmwa_dbus_call_method_xxxx functions since
16065 they weren't being used anyway
16067 2005-08-30 Bastien Nocera <hadess@hadess.net>
16069 * test/nmtestdevices.c: (print_usage), (main):
16070 Check the number of arguments, and fix a typo
16072 2005-08-29 Dan Williams <dcbw@redhat.com>
16074 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16075 * gnome/applet/applet.c
16076 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16078 2005-08-29 Dan Williams <dcbw@redhat.com>
16081 - Don't use threads any more. Anything that blocks
16082 (like gtk_dialog_run()) will have to get fixed up which
16083 should happen quickly. We really only had threads to make
16084 the animation smooth, and when everything got converted over
16085 to DBus Pending Calls, the need for threads kind of went away
16087 2005-08-29 Christopher Aillon <caillon@redhat.com>
16089 * gnome/applet/applet.c: Draw VPN connections as radio items
16090 since we don't yet support multiple VPNs.
16091 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16092 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16094 2005-08-29 Dan Williams <dcbw@redhat.com>
16096 Patch from j@bootlab.org
16097 - Make --without-named work
16098 - Make --with-dhcdbd work correctly
16100 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16102 * configure.in: Added "ca" to ALL_LINGUAS.
16104 2005-08-26 Christopher Aillon <caillon@redhat.com>
16106 * Fix up VPN state handling between the applet and NetworkManager,
16107 so that the applet doesn't show a VPN as connected when one
16109 - The applet no longer has a pointer to the active VPN's
16110 name, but tracks each VPNs state individually
16111 - NM no longer has a "getActiveVPNConnection" method
16112 - NM no longer broadcasts the "VPNConnectionChange" signal
16113 - NM now broadcasts a "VPNConnectionStateChange" signal
16114 whenever the state of a VPN changes
16116 2005-08-26 Dan Williams <dcbw@redhat.com>
16118 * gnome/applet/applet-dbus-devices.c
16119 gnome/applet/applet-dbus-vpn.c
16120 - Remove calls to dbus_pending_call_ref() because we already
16121 "own" the pending call
16122 - Remove calls to dbus_pending_call_get_completed() because
16123 when we are in the callback, the pending call is completed
16126 2005-08-22 Dan Williams <dcbw@redhat.com>
16128 Patch by Bill Moss <bmoss@clemson.edu>
16129 * src/dhcp-manager/nm-dhcp-manager.c
16130 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16131 some time to send out a RELEASE if they like
16133 2005-08-22 Dan Williams <dcbw@redhat.com>
16135 Noticed by Bill Moss <bmoss@clemson.edu>
16136 * src/NetworkManagerDbus.c
16137 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16138 instead of just cancelling its activation
16140 * src/NetworkManagerDevice.c
16141 - (nm_device_deactivate): some small cleanups
16142 - (nm_device_set_user_key_for_network): deactivate the device
16143 instead of just cancelling its activation
16145 2005-08-22 Dan Williams <dcbw@redhat.com>
16147 Noticed by Bill Moss <bmoss@clemson.edu>
16148 * src/NetworkManagerDevice.c
16149 - (nm_device_wireless_scan): fix scan timeout, we were
16150 waiting way too long for scans to complete
16152 2005-08-22 Dan Williams <dcbw@redhat.com>
16154 Patch from j@bootlab.org:
16155 * src/backends/NetworkManagerDebian.c
16156 - Make the Debian backend work for static IP again
16158 2005-08-20 Christopher Aillon <caillon@redhat.com>
16160 * gnome/applet/other-network-dialog.c:
16161 The "Create New Network" and "Connect to Other Network"
16162 dialogs share alot of code, but shouldn't share a window
16163 title. Give them different ones.
16165 * gnome/applet/wireless-applet.glade:
16166 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16167 Some more minor UI tweaks.
16169 2005-08-19 Christopher Aillon <caillon@redhat.com>
16171 * gnome/applet/other-network-dialog.c:
16172 * gnome/applet/wireless-applet.glade:
16173 Also need mnemonic widgets, and underline enabled.
16175 2005-08-19 Dan Williams <dcbw@redhat.com>
16177 * vpn-daemons/vpnc/nm-vpnc-service.c
16178 - (vpnc_watch_cb): remove no-longer-relevant comment
16179 - (write_config_option): new function, helper to write
16180 config options to vpnc's stdin
16181 - (nm_vpnc_config_write): use the new helper, make the
16184 2005-08-19 Christopher Aillon <caillon@redhat.com>
16186 * gnome/applet/passphrase-dialog.c:
16187 * gnome/applet/wireless-applet.glade:
16188 Make the passphrase dialog response based, and treat
16189 responses other than OK (such as Esc, [X]) as a cancel.
16191 2005-08-18 Christopher Aillon <caillon@redhat.com>
16193 * initscript/Gentoo/NetworkManager:
16194 * initscript/RedHat/NetworkManager:
16195 * initscript/RedHat/NetworkManagerDispatcher:
16196 * initscript/SUSE/networkmanager:
16197 CVS remove these in place of .in replacements
16200 * initscript/Gentoo/NetworkManager.in:
16201 * initscript/RedHat/NetworkManager.in:
16202 * initscript/RedHat/NetworkManagerDispatcher.in:
16203 * initscript/SUSE/networkmanager.in:
16204 These scripts now are generated so they work still when
16205 NM is built using a bindir other than /usr/bin
16207 2005-08-18 Dan Williams <dcbw@redhat.com>
16209 * gnome/applet/main.c
16210 - Revert previous change for --no-session since
16211 --sm-disable does the same thing
16213 2005-08-18 Dan Williams <dcbw@redhat.com>
16215 * gnome/applet/applet-dbus-info.c
16216 - (nmi_dbus_create_error_message): new function
16217 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16218 functions. Also don't check for both device _and_ network before
16219 asking for a user's key, because we may not have gotten all our
16220 networks back from NM quite yet (due to the dbus pending calls
16221 coming in later). Fixes a hang in NM/nm-applet.
16223 * src/NetworkManagerDbus.c
16224 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16225 slightly more sane manner, even though we are still broken for
16226 certain other error conditions.
16227 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16228 to the info-daemon too
16230 * src/NetworkManagerDevice.c
16231 - Fix some debug messages to be info messages instead
16233 2005-08-18 Dan Williams <dcbw@redhat.com>
16235 * gnome/applet/main.c
16236 - Add new "--no-session" parameter that disables applet
16237 session management, ie for testing
16239 2005-08-18 Christopher Aillon <caillon@redhat.com>
16241 * gnome/applet/other-network-dialog.c:
16242 * gnome/applet/wireless-applet.glade: More mnemonics
16244 2005-08-17 Robert Love <rml@novell.com>
16246 * initscript/SUSE/networkmanager: update
16248 2005-08-17 Dan Williams <dcbw@redhat.com>
16250 * Tag NM_0_4_1_RELEASE
16252 2005-08-17 Christopher Aillon <caillon@redhat.com>
16254 * gnome/applet/applet.c: More translatable string cleanup
16257 2005-08-17 Dan Williams <dcbw@redhat.com>
16259 * gnome/applet/applet-dbus-info.c
16260 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16261 from the dbus message, which tells us to unconditionally
16262 ask the user for a new key. Otherwise, we pull the key from
16263 the keyring and return it. If we fail to get the key from the
16264 keyring, we ask the user for a new key.
16265 - (nmi_dbus_get_network_key): new function to grab the key for
16266 an essid from the keyring.
16267 - (nmi_dbus_get_network_properties): don't access the keyring here.
16268 Also, don't return any key in the dbus message.
16270 * src/NetworkManagerDbus.[ch]
16271 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16272 indicate that we unconditionally want a new key. This function
16273 is now also used to get keys from the info-daemon which are
16274 pre-stored, not just for asking the user for a new key. The
16275 "new_key" parameter indicates whether or not we wish to ask the
16276 user for a new key.
16277 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16278 info-daemon in the return message, so use NULL instead. The
16279 key will be filled in at connect time by calling
16280 nm_dbus_get_user_key_for_network()
16282 * src/NetworkManagerDevice.c
16283 - (nm_device_wireless_configure): update for "new_key" param to
16284 nm_dbus_get_user_key_for_network(). We initially set new_key
16285 to FALSE to see if we have a stored key in the info-daemon, but
16286 if the connection is unsuccessful at this stage we request a
16289 2005-08-17 Dan Williams <dcbw@redhat.com>
16291 * gnome/applet/icons/nm-no-connection.png
16292 gnome/applet/icons/nm-device-wired.png
16293 - Use Diana's new RJ45 connector icons
16295 2005-08-17 Dan Williams <dcbw@redhat.com>
16297 * src/NetworkManagerPolicy.c
16298 - (nm_policy_device_change_check): clarify switching rules if
16299 both new and old devices are valid; mainly, don't switch
16300 away from user-requested wireless connection back to a wired
16303 2005-08-17 Dan Williams <dcbw@redhat.com>
16305 * gnome/applet/Makefile.am
16306 - Relocate the applet to /usr/bin since it is no longer
16307 executed by anything, but directly by the user
16309 2005-08-17 Dan Williams <dcbw@redhat.com>
16311 Patch from Bill Moss <bmoss@clemson.edu>
16313 * gnome/applet/applet-dbus-info.[ch]
16314 - (nmi_save_network_info): save timestamp for network if it
16315 was a change requested by the user
16316 - (nmi_dbus_update_network_info): get user_requested from dbus
16317 message and pass to nmi_save_network_info()
16319 * gnome/applet/applet.c
16320 - (nmwa_update_network_timestamp): remove
16321 - (nmwa_menu_item_activate): don't set timestamp on networks
16322 here, only after a successful connect in nmi_save_network_info()
16324 * src/NetworkManagerDbus.[ch]
16325 - (nm_dbus_update_network_info): pass user_requested into the
16328 * src/NetworkManagerPolicy.c
16329 - (nm_policy_activation_finish): pass user_requested to
16330 nm_dbus_update_network_info()
16332 2005-08-16 Robert Love <rml@novell.com>
16334 * gnome/applet/applet.c: Better "Dial Up" menu item.
16336 2005-08-16 Robert Love <rml@novell.com>
16338 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16339 "Connection Information" menu item.
16341 2005-08-16 Dan Williams <dcbw@redhat.com>
16343 Patch from j@bootlab.org
16344 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16346 * configure.in: allow specifying the path to dhcdbd
16348 2005-08-16 Robert Love <rml@novell.com>
16350 Patch from j@bootlab.org
16351 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16352 src/backends/interface_parser.h: Debian dialup support.
16354 2005-08-16 Christopher Aillon <caillon@redhat.com>
16356 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16357 * gnome/applet/applet.c: Add some mnemonics for VPNC
16359 * vpn-daemons/.cvsignore: fix this up a little bit
16361 2005-08-16 Robert Love <rml@novell.com>
16363 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16366 2005-08-16 Christopher Aillon <caillon@redhat.com>
16368 * gnome/applet/applet.c: Split markup out of translatable strings
16369 and clean up logic a little bit. (fixes #309012)
16371 2005-08-15 Christopher Aillon <caillon@redhat.com>
16373 * gnome/vpn-properties/nm-vpn-properties.c:
16374 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16375 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16376 Makeshift fix to remove newlines from translatable strings.
16377 Note that we now return an allocated string, so callers of
16378 get_confirmation_details () must now call g_free () on the
16379 result. (fixes #309033).
16381 2005-08-12 Robert Love <rml@novell.com>
16383 * gnome/applet/applet-dbus.c: remove newlines from translatable
16384 strings--not needed here anyway. (fix b.g.o #309011)
16385 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16387 2005-08-11 Robert Love <rml@novell.com>
16389 * gnome/applet/applet.c: mark string as translatable.
16391 2005-08-11 Robert Love <rml@novell.com>
16393 * initscript/SUSE/networkmanager: update.
16395 2005-08-11 Dan Williams <dcbw@redhat.com>
16397 * src/nm-dhcp-manager.c
16398 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16399 an gateway returned from DHCP, try to use the address of the DHCP
16400 server as the gateway instead. Found by Ralf Ertzinger.
16402 2005-08-10 Robert Love <rml@novell.com>
16404 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16405 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16407 2005-08-10 Dan Williams <dcbw@redhat.com>
16409 Patch from Bill Moss <bmoss@clemson.edu>
16410 * Consolidate writes of access point information updates to the info daemon
16411 so that we only do it when the connection to the access point was
16412 successful. Also consolidates updates to GConf in the Gnome applet.
16414 * src/nm-netlink-monitor.c
16415 - Silence compile warning when calling g_object_new()
16417 2005-08-08 Dan Williams <dcbw@redhat.com>
16419 Patch from Steev <steev@steev.net>:
16420 * src/backends/NetworkManagerGentoo.c
16421 - Stub new dialup backend functions
16423 2005-08-08 Dan Williams <dcbw@redhat.com>
16425 Patch from Colin Slater:
16426 * src/backends/NetworkManagerGentoo.c
16427 - (nm_system_update_dns): Fix exit status check for restarting
16430 2005-08-05 Robert Love <rml@novell.com>
16432 * NetworkManager.h,
16433 gnome/applet/applet-dbus-devices.c,
16434 gnome/applet/applet-dbus-devices.h,
16435 gnome/applet/applet-dbus.c,
16436 gnome/applet/applet.c,
16437 gnome/applet/applet.h,
16438 src/NetworkManager.c,
16439 src/NetworkManagerMain.h,
16440 src/NetworkManagerSystem.h,
16441 src/backends/NetworkManagerRedHat.c,
16442 src/backends/NetworkManagerSuSE.c,
16443 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16445 2005-08-05 Robert Love <rml@novell.com>
16447 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16448 machine's hostname to make adhoc creation idiot-proof.
16450 2005-08-04 Robert Love <rml@novell.com>
16452 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16455 2005-08-04 Dan Williams <dcbw@redhat.com>
16457 * gnome/applet/applet-dbus-info.c
16458 gnome/applet/applet-dbus-info.h
16459 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16460 to store key, key type, and auth method rather than just auth method
16461 - (nmi_dbus_update_network_info): new function
16462 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16464 * gnome/applet/passphrase-dialog.c
16465 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16466 of saving the info ourselves
16468 * gnome/libnm_glib/libnm_glib.c
16469 - Remove the stupid version check for dbus
16471 * src/NetworkManagerAP.c
16472 src/NetworkManagerAP.h
16473 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16475 * src/NetworkManagerDbus.c
16476 src/NetworkManagerDbus.h
16477 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16478 more than just the auth method
16480 * src/NetworkManagerDevice.c
16481 - Update network info at the appropriate times
16483 2005-07-29 Ray Strode <rstrode@redhat.com>
16485 * src/NetworkManager.c (nm_info_handler): don't use input as format
16486 string (Spotted by Ian Jackson).
16488 2005-07-27 Dan Williams <dcbw@redhat.com>
16492 - Random cleanups of spacing
16494 * gnome/applet/applet.h
16495 gnome/applet/other-network-dialog.c
16496 gnome/applet/passphrase-dialog.c
16497 - Conslidate usage of NMWAEncryptionKeyTypes enum
16499 Patch from Bill Moss:
16500 - Make Other Wireless Networks work again with encryption keys
16502 2005-07-26 Dan Williams <dcbw@redhat.com>
16504 Patch from Steev <steev@steev.net>:
16505 * src/backends/NetworkManagerGentoo.c
16506 src/backends/Makefile.am
16507 - Fix up Gentoo backend
16509 2005-07-26 Robert Love <rml@novell.com>
16511 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16513 2005-07-25 Robert Love <rml@novell.com>
16515 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16516 in the same group as the wireless networks, since they are all
16517 mutually exclusive.
16519 2005-07-24 Ray Strode <rstrode@redhat.com>
16521 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16522 remove unneeded NULL arg from g_object_new(). Any
16523 warnings caused by not having the extra NULL are just a
16524 result of a bug in glib 2.7.0 - 2.7.2.
16526 2005-07-22 Robert Love <rml@novell.com>
16528 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16530 2005-07-22 Robert Love <rml@novell.com>
16532 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16533 parameters (gcc 4.0.2 warning fix).
16535 2005-07-18 Robert Love <rml@novell.com>
16537 Suggested by Aaron Bockover (abockover@novell.com)
16538 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16540 * gnome/applet/passphrase-dialog.c: ditto
16541 * gnome/applet/wireless-applet.glade: ditto
16543 2005-07-13 Dan Williams <dcbw@redhat.com>
16545 Patch from Ray Strode <halfline@gmail.com>
16546 * vpn-daemons/vpnc/nm-vpnc-service.c
16547 - Don't let vpnc daemonize, fixes some races with PID file reading
16549 2005-07-13 Dan Williams <dcbw@redhat.com>
16551 Patch from Ray Strode <halfline@gmail.com>
16552 * Random cleanups for strict CFLAGS
16554 2005-07-07 Dan Williams <dcbw@redhat.com>
16556 Patch from Derek Atkins <warlord@MIT.EDU>
16557 * src/nm-dbus-net.c:
16558 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16560 2005-07-07 Dan Williams <dcbw@redhat.com>
16562 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16563 * src/backends/NetworkManagerGentoo.c
16564 - Gentoo backend Static IP nameserver fixes
16565 - General Gentoo backend goodness
16567 2005-07-07 Dan Williams <dcbw@redhat.com>
16569 Patch from Bastien Nocera:
16570 * gnome/applet/applet.c
16571 - Fix up error reporting when icons or glade files are missing
16573 2005-07-07 Robert Love <rml@novell.com>
16575 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16576 are not any VPN connections above it.
16578 2005-07-07 Robert Love <rml@novell.com>
16580 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16582 2005-07-05 Robert Love <rml@novell.com>
16584 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16587 2005-07-05 Robert Love <rml@novell.com>
16589 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16590 on wired or unencrypted wireless.
16592 2005-07-01 Robert Love <rml@novell.com>
16594 * src/NetworkManagerSystem.c: Print the error via strerror().
16596 2005-06-30 Robert Love <rml@novell.com>
16598 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16599 then exit if the glade file is not found. currently the application
16602 2005-06-30 Robert Love <rml@novell.com>
16604 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16605 explicitly up all interfaces on wake from sleep.
16607 2005-06-30 Robert Love <rml@novell.com>
16609 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16610 with information about the currently active connection.
16611 * gnome/applet/applet.h: (ditto)
16612 * gnome/applet/wireless-applet.glade: (ditto), new file
16614 2005-06-30 Robert Love <rml@novell.com>
16616 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16617 * src/nm-dbus-nm.c: print when we sleep and wake up.
16618 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16619 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16620 in /sbin unless D-BUS is, folks).
16621 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16623 2005-06-27 Robert Love <rml@novell.com>
16625 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16628 2005-06-27 Robert Love <rml@novell.com>
16630 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16633 2005-06-26 Robert Love <rml@novell.com>
16635 * src/NetworkManagerDevice.c: be specific about which device in
16638 2005-06-23 Adam Weinberger <adamw@gnome.org>
16640 * src/nm-netlink-monitor.c: correct spelling error.
16642 2005-06-23 Robert Love <rml@novell.com>
16644 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16645 * gnome/applet/passphrase-dialog.c: more of that keyring!
16647 2005-06-23 Robert Love <rml@novell.com>
16649 * configure.in: remove extraneous GNOMEKEYRING directives.
16650 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16651 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16652 * gnome/applet/passphrase-dialog.c: whitespace.
16654 2005-06-23 Robert Love <rml@novell.com>
16656 * src/NetworkManagerDevice.c: division in assignment was flipped.
16658 2005-06-23 David Zeuthen <david@fubar.dk>
16660 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16661 signal to the child to indicate that we got what we wanted when we
16662 see two new-lines right after each other.
16663 (nmwa_vpn_request_password): Pass a structure with several members
16664 instead of just the passwords
16666 2005-06-23 Dan Williams <dcbw@redhat.com>
16668 * src/NetworkManager.c
16669 src/NetworkManagerMain.h
16670 - (nm_get_hal_ctx): new function, move Hal initialization code here
16671 - (nm_hal_init): new function, init libhal context then add devices
16672 - (nm_hal_deinit): new function, clean up libhal context
16673 - (nm_data_free): Move Hal cleanup here
16674 - (main): check whether Hal is running, and if so, get a list of
16675 network devices from it
16677 * src/NetworkManagerDbus.c
16678 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16679 and when it appears, get a list of network devices from it. If
16680 Hal goes away, clean up the libhal context
16682 2005-06-22 Robert Love <rml@novell.com>
16684 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16685 permissions of scripts before executing.
16687 2005-06-21 Robert Love <rml@novell.com>
16689 * initscript/SUSE/networkmanager: update.
16690 * src/backends/NetworkManagerSuSE.c: cleanup.
16692 2005-06-21 Robert Love <rml@novell.com>
16694 * gnome/applet/applet.c: use menu mnemonics.
16695 * gnome/applet/menu-items.c: (ditto)
16697 2005-06-21 Robert Love <rml@novell.com>
16699 * applet/applet-dbus-devices.c: mark non-static functions static.
16700 * applet/applet-dbus-vpn.c: (ditto)
16701 * applet/applet.c: (ditto)
16702 * applet/nm-device.h: (ditto)
16703 * applet/other-network-dialog.c: (ditto)
16704 * applet/passphrase-dialog.c: (ditto)
16705 * NetworkManager.c: (ditto)
16706 * NetworkManagerDbus.c: (ditto)
16707 * NetworkManagerDevice.c: (ditto)
16708 * NetworkManagerPolicy.c: (ditto)
16709 * NetworkManagerUtils.c: (ditto)
16710 * NetworkManagerWireless.c: (ditto)
16711 * NetworkManagerWireless.h: (ditto)
16712 * nm-netlink-monitor.c: (ditto)
16713 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16714 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16715 * autoip.c: include autoip.h.
16716 * autoip.h: new file. define get_autoip().
16717 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16718 * NetworkManagerDbus.h: remove duplicate definitions.
16720 2005-06-20 Robert Love <rml@novell.com>
16722 * Makefile.am: Add missing intltool-foo.in generated files to
16723 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16724 with the start of stuff to cleanup on 'distclea'.
16725 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16726 stuff right and 'distcheck' works.
16727 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16728 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16729 Makefile.am for each. And systray/Makefile needs to be redone.
16731 2005-06-19 Dan Williams <dcbw@redhat.com>
16733 * src/NetworkManagerDevice.c
16734 - (nm_device_wireless_process_scan_results): scan every 20s when
16735 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16737 2005-06-19 Dan Williams <dcbw@redhat.com>
16739 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16741 2005-06-18 Ray Strode <rstrode@redhat.com>
16743 * src/nm-netlink-monitor.c
16744 (nm_netlink_monitor_event_handler): check for the presence
16745 of either error condition not both.
16747 (nm_netlink_monitor_error_handler): emit error signal if
16750 (nm_netlink_monitor_event_handler),
16751 (nm_netlink_monitor_error_handler),
16752 (nm_netlink_monitor_disconnect_handler): if an
16753 assertion fails disconnect the event handler to prevent
16756 * src/nm-netlink-monitor.h: add new error condition
16757 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16759 2005-06-18 Ray Strode <rstrode@redhat.com>
16761 * src/nm-netlink-monitor.c
16762 (nm_netlink_monitor_event_handler): remove bogus < 0
16763 check on unsigned value and return early if the kernel
16764 didn't send any bytes.
16766 2005-06-17 Robert Love <rml@novell.com>
16768 * initscript/SUSE/networkmanager: Change the Provides and default
16771 2005-06-16 Dan Williams <dcbw@redhat.com>
16773 Patch from Robert Love:
16774 * gnome/applet/applet.c
16775 - Beautify some applet menu item names
16777 2005-06-17 David Zeuthen <davidz@redhat.com>
16779 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16780 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16781 Also add new methods can_export, import_file and export.
16783 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16786 * gnome/vpn-properties/nm-vpn-properties.c:
16787 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16788 nm-vpn-ui-interface.h.
16789 (update_edit_del_sensitivity): Also update "Export" sensitivity
16790 (add_vpn_connection): Also add new SVC_NAME column
16791 (import_settings): New function
16792 (retrieve_data_from_selected_connection): New function
16793 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16795 (export_cb): New function
16796 (init_app): Also setup the "export" widget
16797 (main): Support the --import-service and --import-file commandline
16800 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16803 2005-06-16 Dan Williams <dcbw@redhat.com>
16805 Patch from Robert Love:
16806 * gnome/applet/menu-items.c
16807 - (network_menu_item_new): pass -1 as wireless network
16808 menu items height size request rather than ascent / 2
16810 2005-06-16 Dan Williams <dcbw@redhat.com>
16812 * Clean up wording in Wireless Scan Methods menu items and constants
16814 2005-06-16 Robert Love <rml@novell.com>
16817 - remove gtkcell* files
16819 2005-06-15 Dan Williams <dcbw@redhat.com>
16821 Patch from Robert Love: make the applet stetic
16823 * gnome/applet/Makefile.am
16824 - Don't compile the gtkcellview and gtkcellrendererprogress files
16826 * gnome/applet/gtkcellview.h
16827 gnome/applet/gtkcellview.c
16828 gnome/applet/gtkcellrendererprogress.h
16829 gnome/applet/gtkcellrendererprogress.c
16832 * gnome/applet/menu-items.c
16833 - Progress bars are 5:1 size ratio
16834 - Use GTK progress bars rather than internal ones
16836 2005-06-15 Dan Williams <dcbw@redhat.com>
16838 Patch from Robert Love:
16839 * initscript/SUSE/networkmanager
16842 2005-06-15 Dan Williams <dcbw@redhat.com>
16844 * src/backends/NetworkManagerSuSE.c
16845 src/backends/NetworkManagerRedHat.c
16846 src/backends/NetworkManagerDebian.c
16847 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16849 2005-06-15 Dan Williams <dcbw@redhat.com>
16851 * src/backends/NetworkManagerDebian.c
16852 - Add nm_system_device_get_use_dhcp() to debian backend
16854 Patch from Kay Sievers:
16855 * src/backends/NetworkManagerSuSE.c
16856 - Update debian backend for static IP nameservers
16858 * src/NetworkManagerDevice.c
16859 - Actually set the device to use static IP or DHCP rather
16862 2005-06-15 Dan Williams <dcbw@redhat.com>
16864 Patch from Thom May:
16865 * src/backends/NetworkManagerDebian.c
16866 - Update debian backend for static IP nameservers
16868 2005-06-15 Dan Williams <dcbw@redhat.com>
16870 Patches from Robert Love:
16871 * gnome/applet/wireless-applet.glade
16872 - Tighten up wording
16874 * src/NetworkManagerDevice.c
16875 - Remove misplaced ';'
16878 initscript/Makefile.am
16879 initscript/SUSE/Makefile.am
16880 initscript/SUSE/networkmanager
16881 - Add SUSE initscript
16883 2005-06-12 David Zeuthen <davidz@redhat.com>
16885 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16887 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16889 * gnome/vpn-properties/nm-vpn-properties.c: New file
16891 * gnome/vpn-properties/Makefile.am: New file
16893 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16896 * src/vpn-manager/nm-vpn-manager.c
16897 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16898 instead of just a single one
16900 * src/vpn-manager/nm-dbus-vpn.c:
16901 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16903 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16905 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16906 Change the interface here to give a list of passwords. Also, don't
16907 require username, but do require service
16909 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16910 the binary for the auth-dialog and use that instead of putting up a
16911 dialog asking for a single password
16913 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16914 however do remember the service
16916 * gnome/applet/main.c (main): Setup i18n
16918 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16919 connection to '%s'" to the tooltip if we are connected using VPN
16920 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16921 key to determine whether we the auth-dialog needs to
16922 reprompt. Also cope with the fact that the auth-dialog now returns
16923 an array of passwords.
16924 (nmwa_menu_configure_vpn_item_activate): New handler for
16925 "Configure VPN..." menu item
16926 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16927 (is_vpn_available): New function to determine if we got any
16928 NM-compatible VPN software installed
16929 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16930 items only if we have NM-compatible VPN software installed
16931 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16932 logic for detecting when VPN connections are removed
16934 * gnome/applet/applet-dbus.h: Removed the prototypes for
16935 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16936 since these are defined elsewhere
16938 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16939 function used to keep track of whether the last attempt succeded
16940 (nmwa_dbus_filter): Update last_attempt according to whether the
16941 VPN connection could be established or not
16943 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16944 Change prototype to take an array of passwords, not just a single
16947 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16948 update service, not user
16949 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16950 dbus_active_vpn_name is not NULL before using it
16951 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16952 string array instead of assuming a single password
16954 * gnome/applet/applet-dbus-info.c:
16955 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16956 user name; don't read from gconf
16958 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16961 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16963 * configure.in: Add checks for gmodule-2.0.
16964 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16965 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16966 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16969 * vpn-daemons/Makefile.am: Removed
16971 * vpn-daemons/README: New file to describe extensions points for VPN
16974 2005-06-10 Dan Williams <dcbw@redhat.com>
16976 * src/backends/NetworkManagerRedHat.c
16977 - (get_current_profile_name): new function, grab current network profile name from
16978 /etc/sysconfig/network
16979 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16980 update an IP4 Config structure's settings from it
16981 - (nm_system_device_get_system_config): if we're using static IP on this device,
16982 get DNS info from current network profile
16984 2005-06-09 Dan Williams <dcbw@redhat.com>
16986 Patch from Robert Love:
16987 * src/NetworkManagerDevice.c
16988 src/NetworkManagerUtils.c
16989 - 64-bit build fixes
16991 2005-06-09 Dan Williams <dcbw@redhat.com>
16993 Patch from Kay Sievers and Robert Love:
16995 src/backends/Makefile.am
16996 src/backends/NetworkManagerSuSE.c
16999 2005-06-09 Dan Williams <dcbw@redhat.com>
17002 - Add NMWirelessScanMethod enum for scan methods
17004 * gnome/applet/applet-dbus-devices.c
17005 - (nmwa_dbus_update_scanning_enabled_cb): remove
17006 - (nmwa_dbus_update_scanning_enabled): remove
17007 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
17008 since it got removed
17009 - (nmwa_dbus_enable_scanning): remove
17011 * gnome/applet/applet-dbus-info.c
17012 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17013 update the wireless scanning method from NMI
17014 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17015 method value to NetworkManager
17016 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17018 * gnome/applet/applet-dbus-info.h
17019 - Add prototype for nmi_dbus_signal_update_scan_method
17021 * gnome/applet/applet.c
17022 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17023 Wireless Scanning menu based on current wireless scan method
17024 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17025 signal for Wireless Scanning menu items, tell NetworkManager the new method
17026 and update our menu items to make sure the right one is checked
17027 - (nmwa_set_scanning_enabled_cb): remove
17028 - (nmwa_context_menu_update): remove references to pause_scanning_item
17029 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17031 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17033 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17034 so we get notified of preference values too
17035 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17037 * gnome/applet/applet.h
17038 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17039 - Add wireless scan method member to applet data
17040 - Remove pause_scanning_item, add Wireless Scanning submenu
17042 * src/NetworkManager.c
17043 - (nm_data_new): default to NM_SCAN_METHOD_ON
17044 - (main): grab scanning method from NMI if we can
17046 * src/NetworkManagerDbus.c
17047 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17048 nm_dbus_update_wireless_scan_method()
17049 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17051 - (nm_dbus_nmi_is_running): redundant function, removed
17052 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17053 when NMI comes back
17055 * src/NetworkManagerDevice.c
17056 - (nm_device_is_activated): return TRUE if the device is activated
17057 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17058 and we are activated
17061 - (nm_dbus_nm_set_scanning_enabled): removed
17062 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17063 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17065 2005-06-09 Dan Williams <dcbw@redhat.com>
17068 src/vpn-manager/nm-vpn-service.c
17069 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17071 2005-05-27 Dan Williams <dcbw@redhat.com>
17073 * vpn-daemons/vpnc/nm-vpnc-service.c
17074 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17075 Should fix the bug where the VPN connection terminates the first time.
17077 2005-05-20 Dan Williams <dcbw@redhat.com>
17080 - Differentiate VPN config signals between bad VPN config options
17083 * gnome/applet/applet-dbus-info.h
17084 - Add prototypes for wireless network and vpn connection update functions
17086 * gnome/applet/applet-dbus.c
17087 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17089 * gnome/applet/applet.c
17090 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17092 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17093 propogation to NetworkManager
17094 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17095 notify propogation to NetworkManager
17097 * src/NetworkManagerDbus.c
17098 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17099 are updating so a network can be removed from it if necessary
17101 * src/vpn-manager/nm-vpn-manager.c
17102 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17104 * vpn-daemons/vpnc/nm-vpnc-service.c
17105 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17106 - (nm_vpnc_dbus_signal_launch_failed): remove
17107 - (nm_vpnc_dbus_signal_connect_failed): remove
17108 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17109 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17110 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17111 for new generalized error signal function, remove config file stuff
17112 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17113 we can write configuration options to it
17114 - (nm_vpnc_config_file_generate): removed
17115 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17116 - (nm_vpnc_config_options_validate): validate the config options we receive
17117 from NetworkManager to block potential exploits
17118 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17120 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17123 2005-05-16 Dan Williams <dcbw@redhat.com>
17125 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17126 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17129 2005-05-16 Dan Williams <dcbw@redhat.com>
17131 Patch from Tomislav Vujec <tvujec@redhat.com>
17132 * gnome/applet/applet-dbus-info.c
17133 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17134 GConf and pass them to NetworkManager. New key is 'routes' under
17135 the VPN connection, and should be a string list
17137 * src/NetworkManagerSystem.c
17138 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17139 set them on the device when we set the rest of the VPN config. Ensure
17140 they are in the correct format since they are passed directly to the
17143 * src/backends/NetworkManagerRedHat.c
17144 src/backends/NetworkManagerDebian.c
17145 - (nm_system_device_add_route_via_device_with_iface): new function
17147 * src/vpn-manager/nm-dbus-vpn.c
17148 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17150 * src/vpn-manager/nm-vpn-manager.c
17151 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17152 them into the IP4 config functions
17154 2005-05-15 Dan Williams <dcbw@redhat.com>
17156 From Filip Miletic:
17160 - Serbian translation added
17162 2005-05-15 Dan Williams <dcbw@redhat.com>
17164 * dispatcher-daemon/NetworkManagerDispatcher.c
17165 - (main): sync arguments with NetworkManager and the applet, now use
17166 "--no-daemon" rather than "daemon=no"
17167 - (nmd_print_usage): Fix script path in usage message
17169 2005-05-15 Dan Williams <dcbw@redhat.com>
17171 * src/NetworkManagerDevice.[ch]
17172 src/NetworkManagerPolicy.c
17173 src/NetworkManager.c
17175 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17176 longer send the DeviceNoLongerActive signal unconditionally, but only
17177 when the device is actually active.
17179 * dispatcher-daemon/NetworkManagerDispatcher.c
17180 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17181 and simplify the logic
17182 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17183 we free it later on
17185 * initscript/RedHat/Makefile.am
17186 initscript/RedHat/NetworkManagerDispatcher
17187 - Add initscript for NetworkManagerDispatcher
17190 Patch from Bill Moss:
17191 * dispatcher-daemon/NetworkManagerDispatcher.c
17192 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17194 * src/NetworkManagerDbus.c
17195 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17196 and DeviceNowActive gets signaled, then the device has a new IP address
17197 anyway. There's no need for a separate signal.
17199 * src/NetworkManagerDevice.c
17200 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17202 * src/NetworkManagerPolicy.c
17203 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17204 activates successfully. This kind of went missing when I reworked the
17207 2005-05-15 Dan Williams <dcbw@redhat.com>
17210 - Check for dhcdbd and error if its not found
17212 * src/dhcp-manager/Makefile.am
17213 src/dhcp-manager/nm-dhcp-manager.c
17214 - Use path to dhcdbd that configure found
17216 2005-05-14 Dan Williams <dcbw@redhat.com>
17218 * gnome/applet/nm-device.c
17219 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17220 sort wireless networks alphabetically
17222 * gnome/applet/applet-dbus-devices.c
17223 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17224 before copying them over to the GUI
17226 2005-05-14 Dan Williams <dcbw@redhat.com>
17228 * src/NetworkManager.c
17229 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17230 fixes a deadlock on shutdown with a VPN connection active. This function locks
17231 the device list, as does nm_get_active_device() which is called from
17232 nm_vpn_manager_deactivate_vpn_connection().
17234 2005-05-14 Dan Williams <dcbw@redhat.com>
17237 - Add signals for VPN Launch and Connect failures
17239 * gnome/applet/applet-dbus.c
17240 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17242 * gnome/applet/applet.c
17243 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17244 function to handle all VPN failure messages
17245 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17246 function to hanlde all VPN failure messages
17247 - (show_warning_dialog): work around focus-stealing prevention
17249 * gnome/applet/other-network-dialog.c
17250 gnome/applet/passphrase-dialog.c
17251 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17252 problem where it never enabled for ASCII Key and Hex Key types
17254 * gnome/applet/wireless-applet.glade
17255 - Add window title to Other Wireless Network Dialog
17257 * src/vpn-manager/nm-dbus-vpn.c
17258 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17259 function to handle all VPN failure messages
17261 * src/vpn-manager/nm-vpn-manager.c
17262 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17264 * vpn-daemons/vpnc/nm-vpnc-service.c
17265 - (nm_vpnc_dbus_signal_launch_failed): new function
17266 - (nm_vpnc_dbus_signal_connect_failed): new function
17267 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17268 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17269 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17270 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17272 2005-05-11 Dan Williams <dcbw@redhat.com>
17274 * vpn-daemons/vpnc/nm-vpnc-service.c
17275 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17276 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17277 file exists before trying to write it out.
17279 2005-05-10 Dan Williams <dcbw@redhat.com>
17281 * gnome/applet/applet-dbus-device.c
17282 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17283 prevented just entering ESSID and leaving key and key type up to
17284 NetworkManager (which should have them already cached)
17286 2005-05-08 Dan Williams <dcbw@redhat.com>
17288 * src/NetworkManagerPolicy.c
17289 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17290 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17291 fix a situation where NM is told to terminate and the device stops activation,
17292 but the main thread isn't aware of that because it would never have run
17293 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17296 * src/NetworkManagerDevice.c
17297 - (nm_device_probe_wired_link_state): cosmetic fixes
17298 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17299 we've failed to activate or been canceled.
17300 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17302 2005-05-08 Dan Williams <dcbw@redhat.com>
17304 * src/NetworkManagerWireless.c
17305 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17306 value of WEXT quality structures, and add a debug message when we cannot
17307 determine any quality % at all
17309 2005-05-08 Dan Williams <dcbw@redhat.com>
17311 * src/dhcp-manager/nm-dhcp-manager.c
17312 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17315 2005-05-06 Dan Williams <dcbw@redhat.com>
17317 * gnome/applet/applet-dbus-device.c
17318 gnome/applet/applet-dbus-info.c
17319 gnome/applet/applet-dbus.c
17320 gnome/applet/applet.c
17321 gnome/applet/applet.h
17322 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17324 * gnome/applet/applet-dbus.c
17325 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17326 so we notice when wired device's carriers come back on. Should
17327 fix issue with wired devices being grayed out even if the cable
17328 is in, for devices that support carrier detection.
17330 * gnome/applet/applet.c
17331 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17332 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17334 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17335 Fix situation where applet wouldn't respond to menu selections
17337 * src/NetworkManager.c
17338 src/NetworkManagerDevice.c
17339 src/NetworkManagerDbus.c
17340 src/NetworkManagerDbus.h
17341 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17343 * src/NetworkManagerDbus.c
17344 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17345 Remove, no longer used or relevant
17346 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17347 - (nm_dbus_schedule_device_status_change_signal): add
17349 * src/NetworkManagerDevice.c
17350 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17351 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17352 ie don't deactivate them unless explicitly told to by the user. Also send
17353 CARRIER_OFF / CARRIER_ON signals when link changes
17354 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17355 Don't print error message when device is no longer around
17356 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17357 not just during activation
17359 * src/NetworkManagerPolicy.c
17360 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17361 auto-device-selection.
17362 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17364 * src/NetworkManagerSystem.c
17365 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17366 is no longer present (Bill Moss)
17368 * src/backends/shvar.c
17369 - (svOpenFile): Open read-only to make SELinux happy
17371 * src/backends/NetworkManagerRedHat.c
17372 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17373 the path to the ifcfg-* files
17375 2005-05-05 Dan Williams <dcbw@redhat.com>
17377 * Expose activation stages to NetworkManager clients, like the applet
17378 * Add Diana's progress icons to the applet, cued off NM activation stage
17379 * Use more descriptive tooltips, cued off NM activation stage
17381 2005-05-05 Ray Strode <rstrode@redhat.com>
17383 * src/nm-netlink-monitor.c:
17384 - Use clear_event_source instead of g_nullify_pointer() again.
17386 2005-05-05 Dan Williams <dcbw@redhat.com>
17388 * gnome/applet/main.c
17389 - Fix session management so the applet is actually managed now
17391 * gnome/applet/passphrase-dialog.c
17392 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17394 2005-05-05 Dan Williams <dcbw@redhat.com>
17396 Patch from Bill Moss:
17397 * gnome/libnm_glib/libnm_glib.c
17398 - Fix for dbus-0.33
17400 2005-05-05 Dan Williams <dcbw@redhat.com>
17402 Suggestion from Bill Moss:
17403 * src/NetworkManagerSystem.c
17404 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17407 * src/NetworkManager.c
17408 - (nm_data_free): move destruction of the various managers after
17409 release of device list, because deactivating and freeing a device
17410 requires at least the named manager
17411 - (nm_poll_and_update_wireless_link_state):
17412 (nm_device_link_activated):
17413 (nm_device_link_deactivated):
17414 don't grab the device list lock when actually updating device
17415 link status or strength, since nm_device_set_link_active()
17416 needs to call nm_get_active_device(), which also locks the device list.
17418 * src/NetworkManagerDevice.c
17419 - (nm_device_set_link_active): if a device's link switches from off->on,
17420 and it's wired, and the active device is wireless (or there is no
17421 active device), activate the new device whose link just came on
17422 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17423 my only calling the link to the current ap "failed" when more than 2
17424 consecutive link checks have failed
17426 2005-05-04 Dan Williams <dcbw@redhat.com>
17428 * src/NetworkManagerDevice.c
17429 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17430 but let link_to_specific_ap() do the locking where it needs
17432 Patch from Bill Moss:
17433 * src/NetworkManagerSystem.c
17434 - Set MTU of VPN devices to 1412
17436 2005-05-04 Dan Williams <dcbw@redhat.com>
17438 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17440 * Fix some holes in device activation and retaining the currently connected
17443 2005-05-03 Dan Williams <dcbw@redhat.com>
17445 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17446 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17447 means you need dhcdbd, which you can get here (get the latest one):
17449 http://people.redhat.com/jvdias/dhcdbd/
17451 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17452 interface as dhcdbd.
17454 * Rewrite device activation to facilitate the new DHCP infrastructure and
17455 future improvements. Its now "activation request" based, ie there is a single
17456 activation request composed of the device, access point, and other info which
17457 follows the entire activation process. There are 5 stages of the activation
17458 process which correspond to:
17460 1) Device preparation
17461 2) Device configuration (bring it up, set ESSID/Key/etc)
17462 3) IP Config Start (fire off DHCP if we're using it)
17463 4) IP Config Get (grab config from DHCP or static config files)
17464 5) IP Config Commit (set device's IP address, DNS, etc)
17466 Note that there is no longer a "scanning" step, since the access point must
17467 be known _before_ activation starts. If the access point drops out or does
17468 not exist for some reason, the entire activation process fails and must be
17469 restarted for a different access point or device.
17471 Patch from Bill Moss:
17472 * gnome/applet/applet.c
17473 - Fix type of vpn_failure dialog -> vpn_banner dialog
17475 2005-04-27 Dan Williams <dcbw@redhat.com>
17477 * gnome/applet/applet-dbus-vpn.c
17478 gnome/applet/applet.c
17479 gnome/applet/applet.h
17480 - Fix up active VPN handling so that we reliably know when a VPN
17481 connection has been deactivated
17483 * src/vpn-manager/nm-vpn-manager.c
17484 - Remove duplicate VPNConnectionChange signal
17486 2005-04-27 Dan Williams <dcbw@redhat.com>
17488 Patch from Peter Jones:
17489 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17491 Patch from Bill Moss:
17492 * src/NetworkManagerSystem.c
17493 - Fix checking of return value from ioctl()
17495 2005-04-27 Dan Williams <dcbw@redhat.com>
17497 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17498 * Warn and exit if icons cannot be found
17500 2005-04-27 Dan Williams <dcbw@redhat.com>
17502 Patch from Tom Parker:
17503 * Update debian backend
17505 2005-04-27 Dan Williams <dcbw@redhat.com>
17507 * Merge the applet and the info-daemon, and move the converged
17508 applet under gnome/applet
17509 * Move libnm_glib to gnome/libnm_glib
17510 * Convert most dbus calls between the applet, info-daemon, and NM
17512 * Fix a few things valgrind noticed
17513 * Make NM broadcast state more reliably
17515 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17517 * configure.in: Added ne in ALL_LINGUAS
17519 2005-04-15 Dan Williams <dcbw@redhat.com>
17521 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17522 code for dbus 0.2x versions
17524 2005-04-15 Dan Williams <dcbw@redhat.com>
17526 Patches from Tom Parker:
17528 - Join with worker thread rather than polling for its exit
17530 Patch from Bill Moss:
17531 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17533 2005-04-15 Dan Williams <dcbw@redhat.com>
17535 - Fixes to pass 'make distcheck'
17537 2005-04-15 Dan Williams <dcbw@redhat.com>
17539 Initial VPN Support
17541 - reworks device IP configuration, backend files have changed and will need
17542 to be updated for all distributions. I will try to do what I can for
17543 them, but I cannot test them.
17545 - Move named directory to src/named-manager
17546 - Make backends directory self-contained
17548 2005-04-06 Dan Williams <dcbw@redhat.com>
17550 Add debug code for socket/file descriptor leaks. We register every socket
17551 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17552 list of sockets that we forgot to close on shutdown. This also consolidates
17553 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17555 2005-04-06 Dan Williams <dcbw@redhat.com>
17558 - (dhcp_interface_free): fix a file descriptor leak that may have
17559 caused network drivers to not unload due to refcounts > 0
17561 2005-04-04 Dan Williams <dcbw@redhat.com>
17563 * panel-applet/NMWirelessAppletDbus.c
17564 - (nmwa_dbus_call_nm_method): remove some commented code
17566 * src/NetworkManagerAPList.[ch]
17567 - (nm_ap_list_remove_ap_by_essid): new function
17569 * src/NetworkManagerDevice.c
17570 - (nm_device_wireless_force_use): remove access points from the ignore list
17571 when the user forces them
17573 * src/nm-dbus-device.c
17574 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17576 2005-04-04 Dan Williams <dcbw@redhat.com>
17578 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17580 2005-04-04 Dan Williams <dcbw@redhat.com>
17582 * src/NetworkManagerDevice.c:
17583 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17584 of only erroring after the second consecutive scan times out. Also
17585 don't exit when the card requires more time than we can give it, just
17586 log the event and continue.
17588 2005-04-01 Steve Murphy <murf@e-tools.com>
17590 * configure.in: Added "rw" to ALL_LINGUAS.
17592 2005-04-01 Dan Williams <dcbw@redhat.com>
17594 Perform scans during device activation, if needed. Both activation
17595 and scans run in the same GMainContext. Therefore, if an access point
17596 is not found by the time the device starts activation, it will not
17597 be available until after activation. We now try to scan during
17598 activation (in nm_wa_test) every 15s so that all available access
17599 points are more likely to be found and available for the activation
17602 Also change nm_wireless_link_state_handle() to only update the "best"
17603 AP if we are not forcing a device and if we are not about to change
17604 state. This attempts to work around a race when forcing a device,
17605 where the forced AP would get cleared out too soon by the link state
17606 checking timeout in the main thread, and the activation attempt with
17607 that AP would fail.
17609 2005-04-01 Dan Williams <dcbw@redhat.com>
17612 - Update with new translatables
17614 2005-03-31 Dan Williams <dcbw@redhat.com>
17616 * panel-applet/NMWirelessAppletDbus.c
17617 - Fix device names now that hal has changed device parenting for
17620 2005-03-31 Dan Williams <dcbw@redhat.com>
17622 Tighten up handling of wireless devices that don't support wireless
17623 scanning (ie, Orinoco). Due to restructuring of code, these devices
17624 hadn't been doing pseudo-scanning for a while either and would just
17625 spin waiting for an access point. They are now manual devices where
17626 the user must choose the access point from the menu every time. All
17627 "allowed" access points are listed in the applet's menu regardless
17628 of whether or not they can be seen by the card, since it can't scan
17631 * src/NetworkManager.c
17632 - (nm_wireless_link_state_handle): new function, but only update
17633 the "best" ap for non-scanning devices when its not activating,
17634 and when no device is being forced on the card
17635 - (nm_link_state_monitor): split wireless link state handling out
17636 into separate function
17638 * src/NetworkManagerDevice.c
17639 - (nm_device_copy_allowed_to_dev_list): new function
17640 - (nm_device_new): populate non-scanning cards' AP lists with
17641 access points from the "allowed" list
17642 - (nm_device_new): don't start a scanning timeout for devices that
17644 - (nm_device_activation_schedule_finish): new parameter, should be
17645 the AP that failed to be connected to, pass it on to the
17646 activation finish function in NetworkManagerPolicy.c
17647 - (nm_device_activate_wireless): don't ever try to get a new AP
17648 for non-scanning devices, just fail. The user must choose
17649 a new access point manually.
17650 - (nm_device_activate): grab the AP that failed connection and
17652 - (nm_device_update_best_ap): Clear the best AP if we don't have
17653 a link to it, user must manually choose a new one
17654 - (nm_device_do_pseudo_scan): remove function
17655 - (nm_device_wireless_process_scan_results): remove bits for non-
17656 scanning cards since they never get here
17657 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17658 and fake the scan list for test devices a bit earlier
17660 * src/NetworkManagerPolicy.c
17661 - (nm_policy_activation_finish): use the failed_ap that we get
17662 passed rather than getting the best_ap from the card, which
17663 may have changed since we were scheduled
17664 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17665 update their scan list directly from the allowed list when
17666 we get updates to the allowed list from NetworkManagerInfo
17668 * src/NetworkManagerPolicy.h
17669 - New member for failed access point in NMActivationResult
17671 -------------------------------------
17673 Driver Notification patch: notifies the user when their driver
17674 sucks. Gives them the option to ignore further insertions
17675 of the card that has the sucky driver.
17678 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17679 enum and replace it with NO_CARRIER_DETECT and
17682 * panel-applet/NMWirelessApplet.[ch]
17683 - Merge essid.glade -> wireless-applet.glade
17684 - Implement the "Your driver sucks" notification dialog
17686 * panel-applet/NMWirelessAppletDbus.c
17687 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17688 - Grab hardware address for each device from NM too
17689 - Check whether the driver for each device sucks or not whenever
17690 a new device is noticed
17692 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17693 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17695 * src/NetworkManager.c
17696 - Fix a double-unref on device removal
17698 * src/NetworkManagerUtils.c
17699 - Set appropriate driver support level on a device that doesn't
17700 support scanning or carrier detection
17702 * src/nm-dbus-device.c
17703 - New "getHWAddress" dbus method on devices
17704 - getSupportsCarrierDetect -> getDriverSupportLevel
17706 2005-03-31 Dan Williams <dcbw@redhat.com>
17708 * src/NetworkManagerDevice.c
17709 - (nm_device_wireless_scan): Fix leak of scan results in some
17712 2005-03-29 Dan Williams <dcbw@redhat.com>
17714 * src/NetworkManager.c
17715 - (nm_poll_and_update_wireless_link_state): make code less indented
17717 Patch from Bill Moss:
17718 * src/NetworkManager.c
17719 - (nm_device_update_link_state): Update signal strength on wireless
17720 devices every time we update link state too.
17722 2005-03-29 Dan Williams <dcbw@redhat.com>
17724 * src/NetworkManagerDevice.c
17725 - (nm_device_set_essid): Work around Orinoco cards which need
17726 extra time after setting the ESSID
17728 2005-03-29 Dan Williams <dcbw@redhat.com>
17730 * src/NetworkManagerDevice.c
17731 - Merge one more bit of Peter Jones' completion patch
17733 2005-03-29 Dan Williams <dcbw@redhat.com>
17735 * src/NetworkManagerDevice.c
17736 - (nm_device_force_use): Fix possible segfault
17738 2005-03-29 Dan Williams <dcbw@redhat.com>
17740 * src/NetworkManagerDevice.c
17741 - Use iw_get_ext() where we should rather than iw_set_ext()
17743 2005-03-29 Dan Williams <dcbw@redhat.com>
17745 * src/NetworkManagerDevice.c
17746 - (nm_device_set_up_down): remove check for unsupported devices
17747 that caused NM to not bring devices up when they were
17748 added to the device list.
17750 2005-03-28 Dan Williams <dcbw@redhat.com>
17752 * src/NetworkManagerDevice.c
17753 - (mdio_read): Fix two bugs that caused all devices to fail
17754 the MII carrier detection support checks
17756 2005-03-26 Dan Williams <dcbw@redhat.com>
17758 * src/NetworkManagerDevice.c
17759 - (nm_device_wireless_scan): Remove duplicated scanning code
17761 2005-03-25 Dan Williams <dcbw@redhat.com>
17763 * panel-applet/NMWirelessApplet.c
17764 - (nmwa_about_cb): Add some more contributors
17765 - (nmwa_update_state): show the applet when there's no connection
17766 - Enable the "Stop/Resume all wireless devices" option in the
17768 - New "no connection" icon
17770 * src/NetworkManager.c
17771 - (nm_poll_and_update_wireless_link_state): don't do anything if
17772 wireless is disabled or we're asleep
17774 * src/NetworkManagerDHCP.c
17775 - Remove trailing "\n" on debug messages
17777 * src/NetworkManagerDbus.c
17778 - (nm_dbus_network_status_from_data): new state "asleep"
17780 * src/NetworkManagerDevice.c
17781 - Merge most of Peter Jones' "completion" patch that greatly reduces
17782 latency and wait times for most operations
17783 - (nm_device_wireless_scan): Don't scan when asleep
17785 * src/NetworkManagerPolicy.c
17786 - (nm_policy_get_best_device): return no device when asleep
17787 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17788 for all wireless devices on update, not just active device
17790 * src/NetworkManagerUtils.c
17791 - Merge Peter Jones' "completion" patch
17794 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17795 we're told to disable them
17796 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17799 - New variants of the warn/info/error/debug print functions that can take
17800 variables rather than static strings
17802 2005-03-24 Dan Williams <dcbw@redhat.com>
17804 * src/NetworkManagerUtils.c
17805 - (nm_get_device_driver_name): driver names are now on the parents of
17806 "Network Interface" objects, so look for them there
17808 2005-03-24 Dan Williams <dcbw@redhat.com>
17811 - Escape some forgotten object paths before we shove them through dbus
17813 2005-03-24 Dan Williams <dcbw@redhat.com>
17815 * dhcpcd/dhcpcd.[ch]
17816 src/NetworkManagerDHCP.c
17817 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17818 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17820 * src/NetworkManagerDbus.c
17823 * src/nm-dbus-dhcp.c
17824 - Make the API suck less. There is now only 1 type of each function,
17825 ie only "getInteger" and no longer also "getIntegerv". All types
17826 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17827 that will never have more than 1 element. This should simplify
17830 * test/nm-dhcp-opt-test.c
17831 - Make the tool not segfault
17832 - adapt to new DHCP Options API
17834 2005-03-22 Dan Williams <dcbw@redhat.com>
17836 * src/NetworkManager.c
17837 - (nm_wired_link_deactivated): actually ignore netlink events from
17840 2005-03-22 Dan Williams <dcbw@redhat.com>
17842 * src/NetworkManager.c
17843 - (nm_wired_link_activated): actually ignore netlink events from
17846 2005-03-17 Dan Williams <dcbw@redhat.com>
17848 Patch from Tom Parker:
17849 * src/nm-netlink-monitor.c
17851 * info-daemon/NetworkManagerInfoDbus.c
17852 - (nmi_dbus_update_network_auth_method): free GConf values
17854 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17855 * src/NetworkManagerDevice.c
17856 - (nm_device_set_wireless_config): wait for successful
17857 association longer for some cards (Atheros a/b/g)
17859 2005-03-15 Ray Strode <rstrode@redhat.com>
17861 * src/NetworkManager.c:
17862 (sigterm_pipe_handler):
17865 2005-03-15 Ray Strode <rstrode@redhat.com>
17867 * src/NetworkManagerDbus.c:
17868 Fix some sign weirdness that gcc4 doesn't like,
17869 and add a header file so PPC can hopefully find
17872 2005-03-14 Ray Strode <rstrode@redhat.com>
17874 Fourth (probably working) cut at porting to
17875 dbus 0.30 api and new hal. This cut adds
17876 some new logging macros to make debugging
17879 * dispatcher-daemon/NetworkManagerDispatcher.c:
17880 * info-daemon/NetworkmanagerInfo.c:
17881 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17882 * info-daemon/NetworkManagerInfoVPN.c:
17883 * src/NetworkManager.c:
17884 * src/NetworkManagerAP.c:
17885 * src/NetworkManagerAPList.c:
17886 * src/NetworkManagerDHCP.c:
17887 * src/NetworkManagerDbus.c:
17888 * src/NetworkManagerDevice.c:
17889 * src/NetworkManagerPolicy.c:
17890 * src/NetworkManagerSystem.c:
17891 * src/NetworkManagerUtils.c:
17892 * src/NetworkManagerWireless.c:
17894 * src/nm-dbus-nm.c:
17895 * src/backends/NetworkManagerDebian.c:
17896 * src/backends/NetworkManagerGentoo.c:
17897 * src/backends/NetworkManagerRedHat.c:
17898 * src/backends/NetworkManagerSlackware.c:
17899 use new logging macros.
17901 * dispatcher-daemon/NetworkManagerDispatcher.c:
17902 (nmd_dbus_filter): s/dbus_free/g_free/
17904 * info-daemon/Makefile.am: link in utils library.
17905 * info-daemon/NetworkmanagerInfo.c: use new logging
17907 (nmi_dbus_get_network): don't assume enumerations
17909 (nmi_dbus_nmi_message_handler): don't free what
17910 doesn't belong to us.
17912 * libnm_glib/libnm_glib.c:
17913 (libnm_glib_get_nm_status):
17914 (libnm_glib_init): don't free what doesn't
17916 (libnm_glib_dbus): strdup result, so it doesn't get
17917 lost when message is unref'd.
17919 * panel-applet/NMWirelessAppletDbus.c:
17920 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17922 * src/NetworkManager.c:
17923 (nm_monitor_wired_link_state): request initial status
17924 dump of all cards when we start up, instead of relying
17925 on /sys/.../carrier.
17926 (nm_info_handler), (nm_set_up_log_handlers):
17927 log handlers to specify what syslog priorites
17928 the logging macros default to.
17930 * src/NetworkManagerAPList.c:
17931 (nm_ap_list_populate_from_nmi):
17932 s/dbus_free_string_array/g_strfreev/
17934 * src/NetworkManagerDbus.c:
17935 (nm_dbus_get_network_object):
17936 validate d-bus message argument types.
17937 Advance message iterator after reading argument,
17938 prepend instead of append to GSList.
17940 * src/NetworkManagerDevice.c:
17941 (nm_device_probe_wired_link_status):
17942 remove redundant /sys in /sys path. remove wrong
17943 contents == NULL means has carrier assumption.
17945 * src/nm-netlink-monitor.c
17946 (nm_netlink_monitor_request_status): implement
17947 function to ask kernel to dump interface link
17948 status over netlink socket.
17950 * test/*.c: s/dbus_free/g_free/
17952 * utils/nm-utils.h:
17953 (nm_print_backtrace): new macro to print backtrace.
17954 (nm_get_timestamp): new macro to get sub-second precise
17956 (nm_info), (nm_debug), (nm_warning), (nm_error):
17957 new logging functions. nm_info just prints,
17958 nm_debug includes timestamp and function,
17959 nm_warning includes function, nm_error includes
17960 backtrace and sigtrap.
17962 2005-03-11 Ray Strode <rstrode@redhat.com>
17964 Third (unfinished, partially working) cut at porting to
17965 dbus 0.30 api and new hal.
17967 * info-daemon/NetworkManagerInfoDbus.c:
17968 don't free null arrays.
17970 * panel-applet/NMWirelessAppletDbus.c:
17971 * src/nm-dbus-device.c:
17972 * src/nm-dbus-net.c:
17973 * src/NetworkManagerDbus.c: more
17974 STRING -> OBJECT_PATH fun
17975 * src/NetworkManagerDevice.c:
17976 * src/NetworkManagerDevice.h:
17977 (rename nm_device_get_link_active): rename to
17978 nm_device_has_active_link
17979 (nm_device_wireless_link_active): rename to
17980 nm_device_probe_wireless_link_state
17981 (nm_device_wired_link_active): rename to
17982 nm_device_probe_wired_link_state. Rewrite to
17983 use carrier file since hal doesn't maintain
17984 link state anymore.
17985 (nm_device_update_link_active): rename to
17986 nm_device_update_link_state
17987 * src/NetworkManagerPolicy.c
17988 (nm_policy_activation_finish): check for NULL
17992 * src/NetworkManagerMain.h:
17993 * src/NetworkManager.c:
17994 * src/nm-netlink-monitor.c:
17995 * src/nm-netlink-monitor.h: New class to support
17996 monitoring wired ethernet link status, since HAL
17997 doesn't export that information anymore.
17999 2005-03-09 Ray Strode <rstrode@redhat.com>
18001 Second (unfinished, unworking) cut at porting to
18004 * dispatcher-daemon/NetworkManagerDispatcher.c:
18005 * info-daemon/NetworkManagerInfoDbus.c:
18006 * panel-applet/NMWirelessAppletDbus.c:
18007 * src/NetworkManagerDbusUtils.c:
18008 * src/NetworkManagerDbusUtils.h:
18009 * src/nm-dbus-device.c:
18010 * src/nm-dbus-nm.c:
18011 * test/nmtest.c: support dbus "object path" type
18015 * info-daemon/Makefile.am:
18016 * libnm_glib/Makefile.am:
18017 * panel-applet/Makefile.am:
18018 * dispatcher-daemon/Makefile.am
18020 * test/Makefile.am:
18021 * utils/Makefile.am:
18022 * utils/nm-utils.c:
18023 * utils/nm-utils.h: new utils static lib
18025 2005-03-07 Ray Strode <rstrode@redhat.com>
18027 * info-daemon/NetworkManagerInfoDbus.c:
18028 * libnm_glib/libnm_glib.c:
18029 * panel-applet/NMWirelessAppletDbus.c:
18030 * src/NetworkManager.c:
18031 * src/NetworkManagerDbus.c:
18032 * src/NetworkManagerDevice.c:
18033 * src/NetworkManagerUtils.c:
18034 * src/nm-dbus-device.c:
18035 * src/nm-dbus-dhcp.c:
18036 * src/nm-dbus-net.c:
18037 * src/nm-dbus-nm.c:
18038 * test/nminfotest.c:
18039 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18041 2005-03-04 Dan Williams <dcbw@redhat.com>
18046 2005-03-04 Dan Williams <dcbw@redhat.com>
18048 Patch from Peter Jones:
18049 - Make stuff work with gcc 4.0
18051 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18053 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18055 2005-02-27 Jim Huang <jserv@kaffe.org>
18057 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18059 2005-02-27 Dan Williams <dcbw@redhat.com>
18061 Patch from Bill Moss:
18062 * panel-applet/NMWirelessAppletDbus.c
18063 - Make sure strength for current access point is up-to-date when we
18064 update the gui data model
18066 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18068 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18070 2005-02-27 Dan Williams <dcbw@redhat.com>
18072 * src/backends/NetworkManagerRedHat.c
18073 - (nm_system_init): Kill any dhclient processes lying around as well
18074 as stopping 'nifd' if its already been started. NetworkManager
18075 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18077 2005-02-27 Dan Williams <dcbw@redhat.com>
18079 * panel-applet/NMWirelessApplet.c
18080 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18081 dbus data model, not the GUI data model twice.
18083 2005-02-27 Dan Williams <dcbw@redhat.com>
18085 * panel-applet/NMWirelessApplet.[ch]
18086 panel-applet/NMWirelessAppletDbus.[ch]
18087 - Move to incremental network updates. Instead of blowing away our list
18088 of devices every time we get a signal from NetworkManager, we now
18089 incrementally add/remove networks when NetworkManager notifies us that
18090 a new network has appeared or disappered. Strength updates now happen
18091 on-the-fly for each access point as well. There are now two copies of
18092 data from NetworkManager: one for the dbus side, and one for the gui side.
18093 When the dbus side data is modified, it is copied over to the gui side
18094 so we don't have to hold the data_mutex for long periods of time (and
18095 therefore block animation of the applet's icon).
18096 - Clean up some memleaks too
18098 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18099 - Minor code beautification
18101 * src/NetworkManagerAPList.c
18102 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18103 completely new and whether or not an existing one's strength was updated.
18104 Try to fix multiple access points and signal strength by using the highest
18105 signal strength in each scan for any given ESSID.
18107 * src/NetworkManagerDbus.[ch]
18108 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18109 wireless networks; now we have only WirelessNetworkUpdate which includes
18110 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18111 - Kill usage of DbusMessageIter
18113 * src/NetworkManagerDevice.c
18114 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18115 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18116 AP rather than all-at-once. Also don't ever remove the AP a card is
18117 currently associated with from the network list.
18118 - Update for new signals during scan, send out Appeared, Disappeared, or
18119 StrengthChanged when necessary.
18121 2005-02-25 Dan Williams <dcbw@redhat.com>
18124 - Line break the README
18126 2005-02-25 Dan Williams <dcbw@redhat.com>
18128 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18129 - Remove usage of gtk_window_set_default_size()
18131 * panel-applet/essid.glade
18132 - Stick default size here
18133 - Add in random crap that current glade wants to add in now
18135 2005-02-25 Dan Williams <dcbw@redhat.com>
18137 * src/backends/NetworkManagerRedHat.c
18138 - For non-caching-nameserver/non-named case, ensure that nscd is running
18139 and that we actually tell nscd to reload the hosts cache when it changes
18141 2005-02-25 Dan Williams <dcbw@redhat.com>
18143 * info-daemon/NetworkManagerInfoDbus.c
18144 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18146 * test/nminfotest.c
18147 - Whack usage of DbusMessageIter
18148 - Clean up DbusError and DbusMessage handling and freeing
18149 - Remove unused unregister handler
18152 - Whack usage of DbusMessageIter
18154 * test/nmtestdevices.c
18155 - Whack usage of DbusMessageIter
18157 2005-02-25 Dan Williams <dcbw@redhat.com>
18160 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18163 2005-02-25 Dan Williams <dcbw@redhat.com>
18165 * named/nm-named-manager.c
18166 - Ensure that pid and watch variables for child named process get cleared out
18167 when the child goes away.
18169 2005-02-22 Dan Williams <dcbw@redhat.com>
18171 * src/NetworkManagerPolicy.c
18172 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18173 and NULL out data->active_device so that we have to choose another one.
18174 This may make NetworkManager keep attempting to connect to a wired network
18175 if it fails, but if it keeps failing the wired network has more problems than
18176 just NetworkManager.
18178 * src/backends/NetworkManagerRedHat.c
18179 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18182 * named/nm-named-manager.c
18183 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18184 named so that the distro can flush whatever name service caching
18187 2005-02-21 Dan Williams <dcbw@redhat.com>
18189 * src/NetworkManagerDHCP.[ch]
18190 - (nm_device_dhcp_remove_timeouts): new function
18192 * src/NetworkManagerDevice.c
18193 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18194 remove the DHCP timeouts.
18196 2005-02-21 Dan Williams <dcbw@redhat.com>
18198 * panel-applet/NMWirelessApplet.[ch]
18199 panel-applet/menu-info.[ch]
18200 - Give the panel applet some major love: menu items are no longer
18201 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18202 This allows the applet to actually reflect theme changes correctly,
18203 since themeing of subclassed items in GTK _sucks_.
18205 2005-02-18 Dan Williams <dcbw@redhat.com>
18207 * libnm_glib/libnm_glib.[ch]
18208 test/libnm_glib_test.c
18209 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18210 and its data, and doesn't have to free the callback data anymore
18212 2005-02-18 Dan Williams <dcbw@redhat.com>
18214 * panel-applet/NMWirelessApplet.c
18215 - Revert 2005-02-18 William Jon McCann fix for standard
18216 copyright string until it passes 'make distcheck'.
18217 With standard copyright string, xgettext complains
18218 about "Non-ASCII string at ...".
18220 2005-02-18 Dan Williams <dcbw@redhat.com>
18222 * panel-applet/essid.glade
18223 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18224 - Correct spelling of "adaptor"->"adapter"
18226 2005-02-18 William Jon McCann <mccann@jhu.edu>
18228 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18229 (nmwa_about_cb): Use standard copyright string. Update comment
18230 text to reflect that it is a notification area applet. Remove
18231 leading newline in authors list.
18232 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18233 instead of on parent menu item activation. Fixes #167550.
18235 2005-02-18 William Jon McCann <mccann@jhu.edu>
18237 * panel-applet/essid.glade: Capitalize items as per HIG.
18240 2005-02-16 William Jon McCann <mccann@jhu.edu>
18242 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18243 files for GTK 2.4 or lower, since now public in GTK 2.6.
18245 * panel-applet/essid.glade: Don't specify window size.
18247 2005-02-17 Dan Williams <dcbw@redhat.com>
18249 Caught by Bill Moss:
18251 - Time remaining for DHCP transaction calculation was incorrectly
18252 inside a #ifdef DEBUG
18254 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18256 * configure.in: Added fr (French) to ALL_LINGUAS.
18258 2005-02-14 Dan Williams <dcbw@redhat.com>
18260 * src/NetworkManagerDHCP.c
18261 - (set_domain_searches): Fix free of invalid pointer
18263 2005-02-14 Dan Williams <dcbw@redhat.com>
18265 Patch from Peter Jones:
18267 - Ensure we return RET_DHCP_CEASED everywhere we should
18268 * dhcpcd/udpipgen.c
18269 - Use faster TOS for IP packets
18270 - Don't set ip_id since we're UDP
18272 Patch from Tomislav Vujec:
18273 * src/nm-dbus-dhcp.c
18274 test/nm-dhcp-opt-test.c
18275 - Clean up warnings to enable cvs tree compilation.
18277 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18281 - Add the Croatian locale.
18283 2005-02-14 Colin Walters <walters@verbum.org>
18285 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18286 list of domains to search.
18288 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18290 2005-02-13 Dan Williams <dcbw@redhat.com>
18293 - Debug output cleanups of DHCP option printing and parsing.
18295 2005-02-13 Dan Williams <dcbw@redhat.com>
18297 Patch from Dan Reed: DHCP options D-BUS API
18298 Exposes the DHCP options that a device receives to clients over D-BUS.
18304 - Correct names, option length, and types for DHCP options
18306 * dhcpcd/dhcpcd.[ch]
18307 - Clarify function names that access DHCP options & data
18309 * src/NetworkManagerDHCP.c
18310 - Use new DHCP data access functions
18312 * src/NetworkManagerDbus.c
18313 - Message handler for DHCP functions
18315 * src/nm-dbus-dhcp.[ch] (new)
18316 - DHCP dbus methods
18318 * test/nm-dhcp-opt-test.c
18319 - Test DHCP D-BUS API and return all present DHCP options
18321 2005-02-12 Dan Williams <dcbw@redhat.com>
18324 test/nmclienttest.c
18326 - Move nmclienttest.c -> nmtest.c
18328 2005-02-12 Dan Williams <dcbw@redhat.com>
18330 * dhcpcd/buildmsg.c
18331 - Pad DHCP packets until they are at least 300 bytes in size.
18333 2005-02-11 Dan Williams <dcbw@redhat.com>
18336 - (dhcp_init): only print out client ID and class ID if they are specified
18338 * src/NetworkManagerDbus.[ch]
18339 src/nm-dbus-nm.[ch]
18340 src/nm-dbus-device.[ch]
18341 src/nm-dbus-net.[ch]
18342 - Move NM, Device, and Net functions to separate files and use the
18343 dbus method list stuff in NetworkManagerDbusUtils.c to do
18346 * src/NetworkManagerDbusUtils.c
18347 - Add new validate_method called before each dispatch (if present)
18348 that can validate the method call
18350 * src/NetworkManagerWireless.c
18351 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18352 levels never to be evaluated
18354 Patch from j@bootlab.org
18355 * src/NetworkManagerDevice.c
18356 - Add typedef for "u64"
18358 * src/backends/NetworkManagerDebian.c
18359 - Copy in Dave Woodhouse's fixes for IPv6
18361 2005-02-11 Dan Williams <dcbw@redhat.com>
18363 Patch from Dave Woodhouse for IPv6:
18364 * src/NetworkManagerUtils.c
18365 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18366 and multicast addresses
18368 * src/NetworkManagerDevice.c
18369 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18370 after bringing up a card.
18372 2005-02-10 Dan Williams <dcbw@redhat.com>
18374 Patch from Dave Woodhouse:
18375 * src/NetworkManagerSystem.h
18376 src/backends/NetworkManagerDebian.c
18377 src/backends/NetworkManagerGentoo.c
18378 src/backends/NetworkManagerSlackware.c
18379 - New nm_system_device_add_ip6_link_address() function to add link-local
18380 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18382 * src/backends/NetworkManagerRedHat.c
18383 - (nm_system_device_add_ip6_link_address): implement
18384 - (nm_system_device_flush_addresses): revert to previous behavior of
18385 flushing all addresses
18387 2005-02-10 Dan Williams <dcbw@redhat.com>
18389 Patch from Tom Parker:
18390 * src/NetworkManagerDevice.c
18391 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18392 mii.h headers are broken, and instead use our own typedefs
18394 2005-02-10 Dan Williams <dcbw@redhat.com>
18396 * dhcpcd/buildmsg.c
18397 - (fill_host_and_class_id): only fill in client and class IDs if
18398 they are set by callers.
18401 - (class_id_setup): don't autogenerate a class ID, only use one
18402 we're given, if any.
18403 - (client_id_setup): don't autogenerate a client ID, only use one
18404 we're given, if any.
18407 - (dhcp_interface_init): ensure that client options are correctly
18410 * src/NetworkManagerDHCP.c
18411 - (nm_device_dhcp_request): pass hostname to dhcp library
18413 2005-02-10 Dan Williams <dcbw@redhat.com>
18416 - #rh147661# Don't send kernel version in DHCP requests
18418 * src/NetworkManagerSystem.h
18419 src/backends/NetworkManagerDebian.c
18420 src/backends/NetworkManagerGentoo.c
18421 src/backends/NetworkManagerRedHat.c
18422 src/backends/NetworkManagerSlackware.c
18423 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18424 functions, they are no longer used anyway
18426 * src/backends/NetworkManagerRedHat.c
18427 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18428 addresses in an attempt to keep IPv6 local-scope addresses around
18430 2005-02-10 Dan Williams <dcbw@redhat.com>
18432 * src/NetworkManager.c
18433 - (nm_create_device_and_add_to_list): change the add message slightly
18435 * src/NetworkManagerUtils.c
18436 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18437 Return driver name to calling function
18438 - (nm_get_driver_support_level): print out the driver a device is using
18439 during the support check
18441 Patch from Dave Woodhouse:
18442 * dhcpcd/udpipgen.c
18443 - (in_cksum): copy last byte of odd-sized packets into a
18444 'u_short' rather than a 'u_char', should fix wrong checksums
18445 on big-endian platforms
18447 2005-02-09 Dan Williams <dcbw@redhat.com>
18449 * Clean up usage of GSList objects and looping through their members
18450 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18452 * Fix problem where even if scanning was turned off, card would still
18453 cycle through frequencies.
18455 2005-02-08 Dan Williams <dcbw@redhat.com>
18457 * panel-applet/NMWirelessApplet.c
18460 2005-02-08 Dan Williams <dcbw@redhat.com>
18462 Patch from Bill Moss
18463 * panel-applet/NMWirelessApplet.c
18464 - Restore correct ESSID in tooltips
18466 2005-02-07 Dan Williams <dcbw@redhat.com>
18468 * panel-applet/NMWirelessApplet.[ch]
18469 - Add a context menu that contains:
18470 Pause/Resume Wireless Scanning
18471 Stop/Start All Wireless Devices
18473 - Grab active device strength off active device,
18476 * panel-applet/NMWirelessAppletDbus.[ch]
18477 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18478 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18479 - Update active device strength every 2 seconds, not every 1 second
18481 * panel-applet/menu-info.c
18482 - Only disable wired devices in the menu when they support carrier detection,
18483 and don't currently have a link. Non-carrier-detect devices will always
18487 src/NetworkManagerDbusUtils.[ch]
18488 - Add new new dbus utils sources
18490 * src/NetworkManager.c
18491 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18492 with the boolean parameter
18493 - Set scanning_enabled & wireless_enabled to TRUE
18495 * src/NetworkManagerDbus.c
18496 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18497 - Implement scanning & wireless enable/disable calls
18498 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18500 * src/NetworkManagerDevice.c
18501 - New link detection stuff again...
18502 o Create device's mainloop earlier (but don't run it earlier)
18503 o Hook up new carrier-detect support stuff
18504 o Add in the ethtool & mii support detection code
18505 - Don't scan if scanning is disabled
18507 * src/NetworkManagerPolicy.c
18508 - Never automatically choose a device that doesn't support carrier detection
18509 - Don't automatically choose a wireless device if wireless is disabled
18511 2005-02-07 Dan Williams <dcbw@redhat.com>
18513 * libnm_glib/libnm_glib.c
18514 - Small cleanup in element list iteration
18516 2005-02-07 Dan Williams <dcbw@redhat.com>
18518 * src/NetworkManagerWireless.c
18519 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18520 to be in line with the WEXT quality specification
18522 2005-02-02 Dan Williams <dcbw@redhat.com>
18524 Patch from Nathan Fredrickson <nathan@silverorange.com>
18525 * Fix up compile for deprecation of libgnomeui
18526 - Switch to <glib/gi18n.h> from <libintl.h>
18527 - Remove <libgnomeui/libgnomeui.h> includes
18528 - Use gtk_window_set_default_icon_from_file() rather than
18529 gnome_window_set_default_icon_from_file()
18531 * named/nm-named-manager.c
18532 - (generate_named_conf): Fix return-nothing in non-void
18535 2005-02-02 Dan Williams <dcbw@redhat.com>
18537 * Clean up unused variables and the like
18539 2005-02-02 Dan Williams <dcbw@redhat.com>
18541 * src/NetworkManagerAPList.c
18542 - (nm_ap_list_merge_scanned_ap): merge strength too
18544 * src/NetworkManagerUtils.c
18545 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18546 of locking issues by printing out prettier information than g_mutex_lock
18547 - Print out names of mutexes registered with nm_register_mutex_desc()
18548 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18549 us to seemingly block here for too long
18551 * src/NetworkManager.c
18552 src/NetworkManagerAPList.c
18553 src/NetworkManagerDevice.c
18554 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18555 so we get better debug information printed
18557 * src/NetworkManagerDbus.c
18558 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18559 since it sometimes has locking side effects
18560 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18562 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18563 we don't need a switch. This gets called often enough that we can't block
18564 until the scan mutex is acquired, because we'll block on device activation
18565 and a few other things, which hangs main thread for too long.
18567 * src/NetworkManagerPolicy.c
18568 - (nm_policy_auto_get_best_device): reduce the possiblity that
18569 nm_device_need_ap_switch() will be called
18571 2005-02-02 Dan Williams <dcbw@redhat.com>
18573 * panel-applet/NMWirelessApplet.c
18574 - Display name of wireless network we are connecting to or connected to
18575 in the tooltip of the applet
18577 2005-02-02 Dan Williams <dcbw@redhat.com>
18579 * src/NetworkManagerDHCP.c
18580 - Hopefully fix double-default-route problem by cleaning up the default
18581 route added by DHCP code right before the DHCP transaction begins
18583 2005-02-02 Dan Williams <dcbw@redhat.com>
18585 * named/nm-named-manager.c
18586 - Write out valid resolv.conf when we exit
18588 2005-02-01 Dan Williams <dcbw@redhat.com>
18590 Patch from Colin Walters:
18591 * named/nm-named-manager.c
18592 - Make multi-domain search options work
18594 2005-01-31 Dan Williams <dcbw@redhat.com>
18596 * info-daemon/NetworkManagerInfoDbus.c
18597 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18599 * src/NetworkManagerDevice.c
18600 - (nm_device_new): Don't store the entire range struct, use only what we need
18601 (which is currently avg_quality, max_quality, and frequencies). Also
18602 zero device structure when we've free'd it to maybe expose errors down
18604 - (nm_device_update_signal_strength): grab the scan mutex before getting
18605 quality data from the card since quality will be useless during a scan.
18606 Call updated wireless qual-to-percent function with values stored in
18607 nm_device_new() earlier.
18608 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18609 nm_device_get_bad_crypt_packets())
18610 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18612 - (get_initial_auth_method): always use the Auth method that's in the allowed
18613 list if available. Problem was this: when the WEP key is wrong, NM will
18614 try OS then SK modes, and then get stuck in SK mode after that. This
18616 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18619 * src/NetworkManagerWireless.c
18620 - (nm_wireless_qual_to_percent): try to make this function actually work and
18621 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18622 if that's all present, otherwise fall back to signal-to-noise ratios.
18624 2005-01-29 Dan Williams <dcbw@redhat.com>
18626 * initscript/RedHat/NetworkManager
18627 - Don't spit out sysctl stuff to console
18629 * libnm_glib/libnm_glib.c
18630 - (libnm_glib_init): call dbus_g_thread_init()
18632 * panel-applet/NMWirelessAppletDbus.c
18633 - (nmwa_dbus_worker): call dbus_g_thread_init()
18635 * src/NetworkManager.c
18636 - (main): call dbus_g_thread_init()
18638 * src/NetworkManagerAPList.c
18639 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18640 so we can actually see what's there in a normal syslog
18642 * src/NetworkManagerDevice.c
18643 - (nm_device_activate_wireless): print out the "waiting for access point"
18644 message only once, then say what access point we actually got after
18646 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18647 function, wait until the scan is done. Scans may change the ESSID of
18648 the card, making this function think we need to switch access points
18649 - (nm_device_wireless_process_scan_results): for artificial access points
18650 don't check against the card's ESSID, but the best_ap's ESSID. This
18651 prevents collisions with the scanning code, which may change the card's
18652 ESSID and cause the access point to get dropped from the device's AP
18653 list. Also increase the keep-around time to 2m from 60s since the max
18654 scan interval could be 60s in some cases.
18656 * src/NetworkManagerPolicy.c
18657 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18658 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18659 the new properties and ESSIDs to the device's AP list. Fixes some races
18660 between NM and NMI.
18662 2005-01-27 Dan Williams <dcbw@redhat.com>
18664 * info-daemon/NetworkManagerInfoDbus.c
18665 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18666 GConf, make a minimal entry for it (essid & timestamp)
18668 * src/NetworkManagerAPList.c
18669 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18670 NetworkManagerInfo isn't running
18672 * src/NetworkManagerDbus.[ch]
18673 - (nm_dbus_nmi_is_running): new function
18675 * src/NetworkManagerDevice.c
18676 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18677 address to garbage.
18679 * src/NetworkManagerPolicy.c
18680 - (nm_policy_activation_finish): On successful activation, make sure
18681 the "best" AP has a MAC address, and don't tell NMI to add the
18682 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18683 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18684 access point after refreshing our allowed list if it doesn't already
18685 have a "best" access point.
18687 2005-01-25 Dan Williams <dcbw@redhat.com>
18689 * panel-applet/NMWirelessAppletDbus.c
18690 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18691 so we check for NM_DBUS_SERVICE rather than not for it
18693 * libnm_glib/libnm_glib.c
18694 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18695 ServiceOwnerChanged signal
18697 2005-01-25 Dan Williams <dcbw@redhat.com>
18700 - Check DBUS version in configure, and set the C macros
18701 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18703 * info-daemon/NetworkManagerInfoDbus.c
18704 - Remove #if 0-d section of code that quit NMI if NM went away.
18706 * panel-applet/NMWirelessAppletDbus.c
18707 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18709 * src/NetworkManager.c
18710 src/NetworkManagerMain.h
18711 src/NetworkManagerDbus.c
18712 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18713 - Make updating of our Allowed Wireless Network lists from NMI
18714 an idle function in the main thread now, with a high priority.
18716 2005-01-24 Dan Williams <dcbw@redhat.com>
18718 * panel-applet/gtkcellview.[ch]
18719 panel-applet/menu-info.c
18720 - Fix GTK version checks to be <= rather than <
18723 - Include the libtool archive of libnm_glib rather than
18724 trying to pull in the .so
18726 2005-01-24 Dan Williams <dcbw@redhat.com>
18728 * src/NetworkManagerDevice.c
18729 src/NetworkManagerDevicePrivate.h
18730 - Block nm_device_new() until our device's worker thread has had a
18731 chance to start up. Fixes a race between main thread and worker
18732 thread starting that caused activation requests to get lost.
18734 2005-01-24 Dan Williams <dcbw@redhat.com>
18736 * initscript/RedHat/NetworkManager
18737 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18738 to add the NM startup script at priority 50, which was
18741 2005-01-24 Colin Walters <walters@redhat.com>
18743 * named/named.conf: Use any port for query source instead of
18744 restricting to port 53.
18746 2005-01-24 Dan Williams <dcbw@redhat.com>
18748 * initscript/RedHat/NetworkManager
18749 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18750 to add the NM startup script at priority 50, which was
18753 2005-01-24 Dan Williams <dcbw@redhat.com>
18755 Patch from Tom Parker <palfrey@tevp.net>
18756 * Fix up compile warnings & errors in the wireless applet
18758 2005-01-24 Dan Williams <dcbw@redhat.com>
18760 * panel-applet/NMWirelessApplet.c
18761 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18763 2005-01-24 Dan Williams <dcbw@redhat.com>
18765 * panel-applet/gtkcellview.[ch]
18766 - Only compile these files for GTK 2.4 or lower, since
18767 GtkCellView is now public in GTK 2.6. Fixes crasher
18768 when choosing "Other Wireless Networks" from the panel
18771 2005-01-21 Dan Williams <dcbw@redhat.com>
18773 * src/NetworkManager.c
18774 - Daemonize earlier so that glib doesn't get confused (?)
18776 2005-01-21 Dan Williams <dcbw@redhat.com>
18778 * panel-applet/NMWirelessApplet.[ch]
18779 panel-applet/NMWirelessAppletDbus.c
18780 panel-applet/menu-info.c
18781 src/NetworkManagerDevice.c
18782 - Disable wired devices in the menu when they have no link.
18784 2005-01-21 Dan Williams <dcbw@redhat.com>
18786 * Cache last-known-good wireless authentication method in
18787 NetworkManagerInfo, and use that method first during
18788 wireless device activation. Should speed up devices that
18789 need Shared Key authentication method since Open System is
18792 * Remove the hack to not do full activation on wired connections
18793 that are active when we launch, it causes too many problems
18794 with name resolution and was a hack in the first place.
18796 * Re-work wireless device activation again somewhat to have a
18797 clearer chain of events and to use last-known-good
18798 authentication method of the access point. Also provide
18799 better status throughout activation to ensure the applet
18800 can tell the user exactly what's going on.
18802 * Remove the "find wireless network" code and now simply attempt
18803 to activate with that access point. This reduces the delay
18804 between selecting "Other wireless Network" and actually
18805 connecting to that network.
18807 * Correctly stop the device's worker thread when its removed.
18809 2005-01-21 Dan Williams <dcbw@redhat.com>
18812 - Clean up some of the debug messages
18814 2005-01-21 Dan Williams <dcbw@redhat.com>
18816 * Add new icons, more frames of animation
18817 * Remove some hacks to get the panel applet to display correct
18818 status, an NM update will soon follow that will fix the
18821 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18823 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18824 the first include for working i18n. Also, don't include it in .h files
18825 * panel-applet/NMWirelessApplet.h: Same
18826 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18827 * panel-applet/menu-info.c: Same
18829 2005-01-18 Dan Williams <dcbw@redhat.com>
18832 - Remove some debug messages
18833 - Wrap others in #ifdef DEBUG/#endif
18835 * src/NetworkManager.c
18836 - Remove some debug messages
18837 - Clarify some debug messages
18838 - Remove code related to old single-thread wireless scanning
18840 * src/NetworkManagerAP.[ch]
18841 - New AP property "last_seen" to track how recently an AP was
18843 - Start using 'const' more in function arguments
18845 * src/NetworkManagerAPList.[ch]
18846 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18847 of an AP found in an AP list from a source AP, or if not found
18848 in the list add the source AP
18849 - (nm_ap_list_combine): remove, no longer needed
18851 * src/NetworkManagerDevice.c
18852 - Each device now has a "worker" thread from start to end of its life.
18853 Scanning for wireless devices now happens in that thread,
18854 not in a single "wireless scanning thread" for all devices as
18855 previously. Activation consists of adding an idle handler to the
18856 thread's main loop/context, which gets run at the next available
18858 - Wireless scanning is also simplified, there is now only one list of
18859 access points per wireless device, and APs older than 60s are
18860 removed from the list. Previously, we kept results for the last
18861 3 scans and merged whole lists, which was complicated.
18862 - Cleaned up activation debug messages.
18863 - Wireless activation and access-point search routines now use Open System
18864 authentication before trying Shared Key.
18865 - Removed some code in nm_device_update_best_ap() that could cause cards
18866 to loose their link to the access point.
18867 - Scanning now uses a backoff algorithm, where the inverval becomes
18868 progressively longer between scans when the list of scanned access
18869 points doesn't change. A change will revert to the shortest scan
18872 * src/NetworkManagerWireless.[ch]
18873 - Remove code related to old single-thread wireless scanning
18875 2005-01-18 Colin Walters <walters@redhat.com>
18877 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18878 of older nameservers.
18880 2005-01-18 Colin Walters <walters@redhat.com>
18882 * named/nm-named-manager.c (generate_named_conf): Many fixes
18883 to config file generation.
18884 (safer_kill): Remove, was too much trouble for little gain.
18885 (nm_named_manager_start): Run named as NM_NAMED_USER.
18887 * configure.in: Add option --with-named-user.
18889 2005-01-14 Colin Walters <walters@redhat.com>
18891 Patch from ed@catmur.co.uk (Ed Catmur)
18893 * named/nm-named-manager.c: Add "context" property.
18894 Use it to add child watch source in specific GMainContext.
18896 * src/NetworkManager.c (nm_data_new): Initialize
18897 named with correct main context. Start named only
18900 2005-01-14 Colin Walters <walters@redhat.com>
18902 * named/nm-named-manager.c (generate_named_conf): Write config
18903 and pid files into NM_NAMED_DATA_DIR; this allows things to
18904 work better with FC3 named SELinux policy. Also fix up silly
18907 * configure.in: Add --with-named-dir option.
18909 2005-01-14 Colin Walters <walters@redhat.com>
18911 * configure.in: Make named support require passing --with-named.
18913 * named/nm-named-manager.c: Support writing resolv.conf directly
18914 without running named.
18916 2005-01-13 Dan Williams <dcbw@redhat.com>
18918 * named/nm-named-manager.c
18919 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18921 * src/NetworkManagerDevice.c
18922 - Rework wireless link detection code to be more reliable
18924 2005-01-12 Dan Williams <dcbw@redhat.com>
18926 * initscripts/RedHat/NetworkManager
18927 - Change initial level to "-" rather than "345" so that
18928 we don't activate ourselves by default on install
18930 2005-01-12 Dan Williams <dcbw@redhat.com>
18933 - Client library for applications using glib
18937 - Split NM_CFLAGS and NM_LIBS into separate variables
18938 like DBUS_*, HAL_* and GLIB_*
18940 * src/NetworkManager.c
18941 src/NetworkManagerMain.h
18942 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18943 broadcast a status changed signal over DBUS from the main thread.
18944 Still unused anywhere for the moment.
18946 Patch from j@bootlab.org
18947 * panel_applet/NMWirelessAppletDbus.c
18948 src/NetworkManagerDbus.c
18949 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18950 for the "getMode" method call
18952 2005-01-10 Dan Williams <dcbw@redhat.com>
18954 * src/NetworkManagerDevice.c
18955 - Minor fixups & corrections to "auto" frequency mode, make it
18956 less chatty with syslog
18958 2005-01-10 Dan Williams <dcbw@redhat.com>
18960 * src/NetworkManagerDevice.c
18961 - Implement "auto" frequency/channel support, since cards like Atheros
18962 can't use other frequencies at all when you've told it to use a
18963 specific one, even for scanning.
18964 - Grab the scan mutex around places where we can't tolerate wireless
18965 settings changing underneath us, like nm_device_wireless_network_exists()
18966 and nm_device_activate_wireless()
18968 * src/NetworkManagerWireless.c
18969 - Back scan interval off to 20s instead of 14s
18971 2005-01-09 Dan Williams <dcbw@redhat.com>
18973 * src/NetworkManagerDevice.c
18974 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18975 already set. Stops some drivers like Atmel from continually
18976 reloading the firmware, which they do upon every configuration
18979 2005-01-09 Dan Williams <dcbw@redhat.com>
18982 - Use correct timeout value
18984 * info-daemon/NetworkManagerInfoDbus.c
18985 src/NetworkManagerDbus.c
18986 - Consolidate communication between NM and NMI by doing only 1 dbus
18987 method call to get Wireless Network info from NMI instead of 6
18989 * src/NetworkManager.c
18990 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18991 when we didn't have an AP to use, we'd wait for one forever without
18994 * src/NetworkManagerDevice.c
18995 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18996 activation, dhcp might not have started yet but we don't quit activation
18997 before starting it, so the quit signal gets lost
18999 2005-01-07 Dan Williams <dcbw@redhat.com>
19002 - Rework the DHCP client code to be much less chatty when
19003 it receives non-DHCP UDP packets during the DHCP run
19004 (reported by and preliminary patches from Bill Moss)
19006 * Move wireless scanning to a separate thread. This thread forwards the
19007 results to the main thread when done where they are integrated into
19008 the device's access point lists. This keeps the main thread (which
19009 does all the DBUS communication) from being blocked for long periods
19010 of time by wireless scanning.
19012 * Make state modification an idle routine in the main loop, and trigger
19013 state changes rather than polling for them.
19015 * src/backends/NetworkManagerGentoo.c
19016 - Fix up invalid C90 code (reported by Christoph Ruessler)
19018 * src/NetworkManagerDevice.c
19019 - Revert IPv6 patch for wired devices from 2004-12-22 for
19020 router advertisements, causing problems and infinite loop
19021 during "best" device determination due to link going up/down
19022 (reported by Bill Moss)
19024 Apply patch from Peter Jones
19025 * src/NetworkManagerDevice.c
19026 - Shortcut for link-checking for ipw2x00 cards
19027 - Split out association check into separate routine
19029 2004-01-05 Colin Walters <walters@redhat.com>
19031 * named/named.conf: Add PID_FILE.
19033 * named/nm-named-manager.c: Always generate a pid
19034 file, since older BIND versions don't support
19037 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19039 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19041 2004-12-22 Dan Williams <dcbw@redhat.com>
19043 * src/NetworkManagerDevice.c
19044 - Silently fail when setting bitrate doesn't work
19047 Patches from j@bootlab.org:
19048 * src/backends/NetworkManagerDebian
19049 - Update backend to match functionality in RedHat backend
19050 * src/NetworkManagerDevice.c
19051 - Take down then bring up wired devices after connection so
19052 they send out ipv6 router advertisements
19054 2004-12-21 Colin Walters <walters@verbum.org>
19056 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19057 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19059 2004-12-21 Colin Walters <walters@redhat.com>
19061 * configure.in: Correct named detection.
19063 2004-12-21 Colin Walters <walters@redhat.com>
19065 * src/NetworkManager.c (nm_data_new): Initialize named.
19066 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19067 the mainloop when these signals are received.
19068 (nm_data_free): Unref named.
19069 (sigterm_handler, sigterm_pipe_handler): New functions for
19072 * src/NetworkManagerMain.h (NMData): Add signal handling and
19075 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19078 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19079 set nameservers from DHCP response data.
19080 (set_domain_search): Set domain search from DHCP response.
19081 (nm_device_dhcp_configure): Invoke them.
19083 * src/NetworkManagerSystem.c
19084 (nm_system_device_update_resolv_conf): Delete. Deleting
19085 code is totally sweet.
19087 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19089 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19090 implements an object which controls a nameserver. Currently
19093 * configure.in: Check for named.
19095 * Makefile.am (SUBDIRS): Add named dir.
19097 * named/named.conf: New template config file.
19099 2004-12-20 Colin Walters <walters@redhat.com>
19101 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19104 2004-12-17 Dan Williams <dcbw@redhat.com>
19106 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19107 link-local addresses instead of doing DHCP.
19109 * In the panel applet, there's a new "Create new Wireless Network..." item
19111 * The panel applet also sticks around now even if NetworkManager dies, but
19112 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19113 a bug, I'll fix that later.
19115 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19116 lookups after a switch rather than actually doing them.
19118 * Clean up some of those warnings in nm_ap_list_* functions
19120 * Delay between scans changed to 15s instead of 10s
19122 2004-12-15 Dan Williams <dcbw@redhat.com>
19124 Patch from Tom Parker
19125 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19128 * Longer pause after setting ESSID on cards that support a larger number
19129 of channels to give the card time to find the right channel
19131 * Add system hook to restart mDNSResponder (or whatever the local implementation
19132 of Multicast DNS is) when we activate interfaces
19134 2004-12-15 Dan Williams <dcbw@redhat.com>
19136 * Rework the DHCP code again to revert to sending full ethernet frames
19137 rather then relying on the kernel to do the right thing with our
19140 2004-12-06 Dan Williams <dcbw@redhat.com>
19143 - Fix some minor errors in dhcp_handle_transaction() that caused
19144 unexpected early timeouts of DHCP transactions
19147 - DHCP retransmit time from 4s -> 5s
19149 2004-12-05 Dan Williams <dcbw@redhat.com>
19151 * Major rework of the DHCP code, taking some cues from pump. We don't
19152 write raw Ethernet packets anymore, which simplifies the code quite
19153 a bit. The new code should be more robust, not hang in recvfrom()
19154 as much, and generally work better. This also means that we need
19155 to force HAL/dbus to use a created GMainContext rather than the
19156 default context, since having the DHCP renew/rebind thread using
19157 its own GMainContext seemed to give dbus a fit. There is also more
19158 debugging information printed from the DHCP loop to help with future
19161 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19162 assume that the default gateway should be the DHCP server.
19164 Patch from Matthew Schick <matt oss-institute org>
19165 * src/backends/NetworkManagerGentoo.c
19166 - Fix compilation error due to missing "ip4_broadcast"
19168 2004-12-03 Dan Williams <dcbw@redhat.com>
19170 * initscript/Makefile.am
19171 * initscript/Debian/NetworkManager
19172 * initscript/Gentoo/NetworkManager
19173 * initscript/RedHat/NetworkManager
19174 * initscript/NMLaunchHelper.c
19175 - Remove NMLaunchHelper, if you need to wait until the network
19176 comes up, use the dead code from CVS.
19178 2004-12-01 Colin Walters <walters@redhat.com>
19180 * configure.in: Suck in gcc warnings code from Rhythmbox,
19181 but use fewer default flags, and in particular add -Wno-unused,
19182 since the codebase has a lot of unused variables.
19184 * test/nmtestdevices.c (create_device):
19185 * test/nminfotest.c (get_network_string_property)
19186 (get_networks_of_type):
19187 * test/nmclienttest.c (main):
19188 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19189 * initscript/NMLaunchHelper.c (get_nm_status):
19190 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19191 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19192 Fix declarations after statements.
19194 2004-12-01 Colin Walters <walters@redhat.com>
19196 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19197 (nmi_dbus_get_vpn_userpass): New method.
19198 (nmi_dbus_nmi_message_handler): Invoke it.
19200 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19202 * info-daemon/NetworkManagerInfoVPN.h,
19203 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19204 to requests for VPN passwords.
19206 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19208 2004-12-01 Colin Walters <walters@redhat.com>
19210 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19213 2004-12-01 Colin Walters <walters@redhat.com>
19215 * panel-applet/NMWirelessAppletDbus.c
19216 (nmwa_dbus_update_active_device_strength): Fix missing
19219 2004-12-01 Colin Walters <walters@redhat.com>
19221 * panel-applet/NMWirelessApplet.c: Add missing include.
19223 2004-12-01 Colin Walters <walters@redhat.com>
19225 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19226 Remove useless CLAMP (); the value is unsigned, and the case tests
19227 qual->qual < 100, so the value must always be between 0 and 100.
19229 2004-12-01 Colin Walters <walters@redhat.com>
19231 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19233 2004-11-22 Colin Walters <walters@verbum.org>
19235 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19236 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19237 which is essentially a noop since nscd caches hosts on disk too.
19239 2004-11-22 Colin Walters <walters@redhat.com>
19241 * src/Makefile.am (NetworkManager_SOURCES): Add
19242 NetworkManagerDevicePrivate.h.
19244 2004-11-22 Dan Williams <dcbw@redhat.com>
19246 * src/NetworkManagerDevicePrivate.h
19247 - Split out the NMDevice struct to a different file so that stuff like
19248 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19252 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19253 need to cancel the dhcp request during the send and recv
19256 - Move the DHCP option enum to dhcpcd.h
19258 * src/NetworkManagerDHCP.c
19259 - Split out the actual IP/netmask/etc setting code
19260 - New Renew/Rebind functions
19261 - New timer setup function for renew/rebind operations
19263 * src/NetworkManagerDevice.c
19264 - For device activation, if we are using DHCP then keep the activation thread
19265 alive until device deactivation. We need to renew/rebind the DHCP address
19266 after the T1 (renew) and T2 (rebind) times have expired.
19267 - Increase some timeouts after bringing wireless cards up/down
19269 2004-11-17 Dan Williams <dcbw@redhat.com>
19271 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19272 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19273 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19274 show known access points that don't broadcast their ESSID in the menus without
19275 any user intervention whatsoever.
19277 * info-daemon/NetworkManagerInfoDbus.c
19278 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19279 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19281 * src/NetworkManagerAP.[ch]
19282 - Add a "user_addresses" data member to the NMAccessPoint structure
19283 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19284 the user_addresses data member
19286 * src/NetworkManagerAPList.c
19287 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19288 the AP's reported address
19289 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19291 * src/NetworkManagerDHCP.c
19292 - Increase DHCP timeout from 25s -> 30s
19294 * src/NetworkManagerDbus.[ch]
19295 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19298 * src/NetworkManagerDevice.c
19299 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19300 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19301 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19302 So, we take the card down to clear it out.
19303 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19304 too, since that's where the user_addresses are
19306 * src/NetworkManagerPolicy.c
19307 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19308 that wireless networks' user_addresses list upon successful activation
19310 2004-11-16 Dan Williams <dcbw@redhat.com>
19312 * src/NetworkManagerDevice.[ch]
19313 - (nm_device_clear_activation_fail): new function
19315 * src/NetworkManagerPolicy.c
19316 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19317 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19319 2004-11-16 Dan Williams <dcbw@redhat.com>
19321 * src/NetworkManagerDevice.c
19322 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19323 leak the structure, better updating of now_scanning status
19324 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19326 2004-11-15 Dan Williams <dcbw@redhat.com>
19328 Major rework of link detection code. We now use DHCP
19329 as part of the link detection which proves to be much more robust,
19330 and also supports Open System authentication for wireless networks.
19332 We no longer use external DHCP client programs. Instead, we use
19333 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19334 which was written by:
19335 Yoichi Hariguchi <yoichi@fore.com>
19336 Sergei Viznyuk <sv@phystech.com>
19337 http://www.phystech.com/download/
19338 It resides in the "dhcpcd" directory and was refactored into a general
19339 purpose DHCP client library by me.
19341 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19342 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19344 2004-11-15 Dan Williams <dcbw@redhat.com>
19346 Patch from Tom Parker <palfrey@tevp.net>:
19348 * src/NetworkManagerDevice.c
19349 - Less output to console when no access
19350 points are found during a scan
19352 2004-11-15 Dan Williams <dcbw@redhat.com>
19354 Patch from Tom Parker <palfrey@tevp.net>:
19356 * src/backends/interface_parser.c
19358 - Check for inp == NULL
19361 2004-11-13 Colin Walters <walters@redhat.com>
19363 Patch from Tom Parker <palfrey@tevp.net>:
19365 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19367 * src/backends/NetworkManagerRedHat.c: Switch to
19368 including shvar.h instead of shvar.c.
19370 * src/backends/NetworkManagerDebian.c: Don't include
19371 interface_parser.c in source file.
19373 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19374 and interface_parser.[ch].
19375 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19376 Include shvar.c and shvar.h here.
19377 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19378 interface_parser.c and interface_parser.h here.
19380 2004-11-12 Colin Walters <walters@redhat.com>
19382 * configure.in: Strip out TARGET_DISTRO and
19383 SYSTEM_BACKEND_FILE variables. Switch to Automake
19386 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19387 (libnmbackend_la_SOURCES): Use Automake conditionals
19388 to add distro-specific files.
19390 * initscript/Makefile.am (SUBDIRS): Update to
19393 2004-11-12 Colin Walters <walters@redhat.com>
19395 Patches from j bootlab org
19397 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19398 Add interface_parser.[ch].
19400 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19401 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19403 2004-11-12 Colin Walters <walters@redhat.com>
19405 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19406 call to nmi_dbus_is_running too, not necessary anymore.
19407 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19410 2004-11-11 Colin Walters <walters@verbum.org>
19412 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19414 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19415 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19416 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19417 This avoids a race condition that made it pretty easily
19418 possible to get two NetworkManagerInfo daemons running.
19420 2004-11-11 Colin Walters <walters@verbum.org>
19422 * src/NetworkManager.c (main): Use daemon(3).
19424 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19426 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19428 2004-11-10 Dan Williams <dcbw@redhat.com>
19430 Patches from j bootlab org
19431 * src/NetworkManagerDevice.c
19432 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19433 whether the card has a link or not, some cards are slow
19434 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19436 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19437 - Disable the "Login" button on the passphrase dialog until the user
19438 enters a valid passphrase or key
19440 Patches from Tom Parker <palfrey tevp net>
19441 * src/backends/NetworkManagerDebian.c
19442 - Add static IP support to the debian backend
19444 * src/backends/interface_parser.[ch]
19445 - Parse debian interface config files
19447 2004-11-08 Dan Williams <dcbw@redhat.com>
19449 * src/NetworkManagerDevice.c
19450 - Some random fprintf->syslog conversions
19451 - (nm_device_wireless_network_exists): double-check for network
19452 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19454 * src/NetworkManagerWireless.[ch]
19455 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19456 so that the binary->ascii conversion works (if unsigned, the bitshift
19457 will fill with zeros, which is what's required). Also mask bitshift
19458 result with 0xF for futher assurance.
19460 2004-11-06 Dan Williams <dcbw@redhat.com>
19462 * src/NetworkManagerUtils.c
19463 - (nm_get_wireless_driver_support_level): default to
19464 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19465 flip this when changing from whitelist->blacklist of
19468 2004-11-05 Dan Williams <dcbw@redhat.com>
19470 Patch from Robert Paskowitz:
19471 * src/backends/NetworkManagerGentoo.c
19472 - Update static IP config code
19474 2004-11-05 Dan Williams <dcbw@redhat.com>
19476 * info-daemon/NetworkManagerInfoDbus.c
19477 src/NetworkManagerDbus.[ch]
19478 src/NetworkManagerDevice.c
19479 - Keep track of the # of attempts to get the WEP key
19480 from the user and pass that along to the info daemon
19482 2004-11-05 Dan Williams <dcbw@redhat.com>
19484 * src/NetworkManagerUtils.c
19485 - Blacklist wireless cards rather than whitelisting them.
19486 - Grab driver name from HAL rather than trying to find it
19489 2004-11-03 Dan Williams <dcbw@redhat.com>
19491 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19492 - Disable OK button until valid data is entered
19493 for encryption stuff too
19495 * panel-applet/NMWirelessApplet.c
19496 - Report card strength for current AP if the card
19497 doesn't report strength data for scanned access
19500 * src/NetworkManagerDevice.c
19501 - Smooth out cards reported quality, Atmel card was
19502 intermittently reporting no quality data but soon
19505 * src/NetworkManagerWireless.c
19506 - Better quality data percentage calculation. Atmel
19507 cards (mine at least) seem to report the quality
19508 in percentage format already, so honor that
19510 Patch from <j@bootlab.org>
19512 info-daemon/NetworkManagerInfoPassphraseDialog.c
19513 info-daemon/passphrase.glade
19514 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19515 panel-applet/essid.glade
19516 src/NetworkManagerAP.c
19517 src/NetworkManagerDevice.c
19518 src/NetworkManagerWireless.[ch]
19519 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19521 2004-11-03 Dan Williams <dcbw@redhat.com>
19523 * src/NetworkManagerDevice.[ch]
19524 - (nm_device_set_enc_key): Add parameter to set Authentication
19525 Mode (Open System, Shared Key, or None). We're still using
19526 Shared Key for now though.
19528 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19530 * panel-applet/menu-info.c: change from bold text to light
19531 colored, may cause problems with some themes, i've tested a lot
19532 and they seem fine.
19534 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19536 2004-11-01 Colin Walters <walters@verbum.org>
19538 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19539 (nm_wireless_128bit_key_from_passphrase): Add const.
19541 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19542 (nm_ap_set_enc_key_source): Add const.
19544 2004-11-01 Colin Walters <walters@verbum.org>
19546 * .cvsignore: Update.
19548 2004-10-29 Dan Williams <dcbw@redhat.com>
19550 * src/NetworkManagerDevice.c
19551 - (nm_device_wireless_network_exists): Actually use the encryption
19552 key we got from the applet when attempting to find a wireless network
19553 - Don't bring devices down so much since on some cards it triggers
19554 firmware hotplugs each time
19556 * src/NetworkManagerDbus.c
19557 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19560 2004-10-29 Dan Williams <dcbw@redhat.com>
19562 * src/NetworkManager.c
19563 - (nm_hal_device_property_modified): unlock a locked active
19564 wireless device when a wired connection gets a link.
19565 (Means you'll switch to wired whenever you plug in no
19568 2004-10-29 Dan Williams <dcbw@redhat.com>
19570 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19571 - New files, implement the "Other wireless network" dialog
19573 * panel-applet/NMWirelessApplet.c
19574 - Move "other wireless network" dialog to separate file
19576 * panel-applet/NMWirelessAppletDbus.[ch]
19577 - Take key and key_type paramaters for the set_device function
19579 * panel-applet/essid.glade
19580 - Add UI bits for encryption settings
19582 * src/NetworkManagerDbus.c
19583 - Retrieve key and key_type params for "setActiveDevice" method call
19585 - unref AP returned from nm_device_get_best_ap() when needed
19587 * src/NetworkManagerDevice.c
19588 - (nm_device_get_best_ap): ref the ap before returning it
19589 - unref AP returned from nm_device_get_best_ap() when needed
19590 - (nm_device_activate_wireless): add "ap" parameter so we don't
19591 need to call nm_device_get_best_ap() here, it was pretty much
19593 - (AP_NEED_KEY): break second link check condition out into separate
19594 function, and fix segfault when ap->enc_key_source was NULL
19595 - (nm_device_find_and_use_essid): take key and key_type parameters and
19596 pass them along to nm_device_wireless_network_exists(). If the
19597 network does exist, set the passed-in key+key_type on the AP
19599 * src/NetworkManagerPolicy.c
19600 - unref AP returned from nm_device_get_best_ap() when needed
19602 2004-10-28 Dan Williams <dcbw@redhat.com>
19604 * src/NetworkManagerUtils.c
19605 - (nm_spawn_process): Fix a potential dereference of NULL
19607 Patches from Peter Jones:
19609 * src/NetworkManagerDevice.c
19610 - (nm_device_test_wireless_extensions): Better check for
19613 * src/NetworkManagerUtils.c
19614 - (nm_spawn_process): Pass in valid stdout and stderr so
19615 executed programs don't randomly SIGPIPE and fail
19616 - (nm_get_wired_driver_support_level): quash hal warning
19617 when checking for USB ethernet device
19619 2004-10-27 Dan Williams <dcbw@redhat.com>
19621 * info-daemon/NetworkManagerInfo.c
19622 info-daemon/NetworkManagerInfoDbus.c
19623 info-daemon/NetworkManagerInfoPassphraseDialog.c
19624 panel-applet/NMWirelessApplet.c
19625 - Properly escape gconf keys
19627 * src/NetworkManager.c
19628 - remove unused variables
19630 * src/NetworkManagerAP.c
19631 - (nm_ap_new_from_ap): Don't redundantly set new APs
19632 refcount since it got set in nm_ap_new()
19634 * src/NetworkManagerAPList.c
19635 - (nm_ap_list_combine): Give up ownership of newly created
19636 access points to the ap list, fixes memleak
19638 * src/NetworkManagerDevice.c
19639 - Remove cached_ap_list4 member since its not really needed
19640 - (nm_device_wireless_network_exists): Try to get correct
19641 encryption status of a found AP if its already in our
19643 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19644 memory allocs/deallocs a bit clearer and shorter-lived
19646 2004-10-26 Ray Strode <rstrode@redhat.com>
19648 * panel-applet/NMWirelessApplet.c:
19649 (custom_essid_item_selected): kill some compiler
19652 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19654 * info-daemon/NetworkManagerInfoDbus.c
19655 - (nmi_dbus_is_running): New function for determining if nmi is already running
19656 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19658 2004-10-23 Dan Williams <dcbw@redhat.com>
19660 * info-daemon/NetworkManagerInfoDbus.c
19661 - Trap the "DeviceActivationFailed" signal
19663 * docs/NetworkManager DBUS API.txt
19664 - Add "DeviceActivationFailed" signal
19666 * panel-applet/NMWirelessAppletDbus.c
19667 - Quash the "NetworkManager service not available" message
19669 * src/NetworkManagerDbus.[ch]
19670 - Add the "DeviceActivationFailed" signal
19672 * src/NetworkManagerDevice.c
19673 - Add support for activation_failed flag
19674 - Fix deadlock where activation thread didn't clean itself up, making
19675 main thread still believe it was alive forever (didn't reset activation
19676 flags like activating, just_activated, etc when IP configuration
19679 * src/NetworkManagerPolicy.c
19680 - Implement logic for DeviceActivationFailed signal, and when activation fails
19681 for wireless networks, try to fall back to some other access point
19683 2004-10-23 Dan Williams <dcbw@redhat.com>
19685 * panel-applet/NMWirelessApplet.[ch]
19686 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19687 to the applet object, so we can get tooltips
19688 - Add tooltips (RH #136866)
19690 * src/NetworkManagerDevice.c
19691 - When trying to find a wireless network, try to connect with encryption
19692 turned on first, so that we can more accurately detect whether or not
19693 we need to use encryption for the actual association later on
19695 2004-10-21 Dan Williams <dcbw@redhat.com>
19697 * Add some support for telling NetworkManagerInfo to tell the user
19698 that they are using a device that's not fully supported
19700 * Fix some assertions in debug messages due to null access point args
19702 2004-10-21 Dan Williams <dcbw@redhat.com>
19704 * src/NetworkManagerDevice.c
19705 - Don't try to activate/bring up/down unsupported
19708 * src/NetworkManagerUtils.c
19709 - Fix case of PCI ID checks for driver support levels
19711 2004-10-21 Dan Williams <dcbw@redhat.com>
19714 - New file, now contains commonly used structures and bits
19715 for the dbus API of NetworkManager
19718 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19720 * src/NetworkManager.h
19721 - Rename -> src/NetworkManagerMain.c
19723 * Various fixups all around to use NetworkManager.h and new
19724 src/NetworkManagerMain.h, remove redundant bits that got
19725 moved into NetworkManager.h
19727 * src/NetworkManagerDevice.[ch]
19728 src/NetworkManagerUtils.[ch]
19729 src/NetworkManagerPolicy.c
19730 src/NetworkManagerDbus.c
19731 - Whitelist wireless drivers, and blacklist some wired
19732 drivers. Also blacklist cipsec and ethernet-over-usb
19733 devices at this time (RH #135722, RH #135648)
19734 - Don't leak unsupported devices out over dbus, or allow
19735 them to be set as the active device. Skip over them
19736 during automatic device picking
19738 * test/nmclienttest.c
19739 - Clean up the dbus code a lot
19741 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19743 * configure.in: post release bump.
19745 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19748 * NEWS: Released NetworkManager-0.3.1
19750 2004-10-18 Dan Williams <dcbw@redhat.com>
19752 Patches from Thom May:
19753 * test/nmtestdevices.c
19754 - Include <string.h>
19755 * src/backends/NetworkManagerDebian.c:
19756 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19757 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19758 Move to using g_strdup_printf rather than arbitrary buffers
19759 - (nm_system_device_setup_static_ip4_config) Implement function.
19760 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19762 2004-10-17 Dan Williams <dcbw@redhat.com>
19764 * info-daemon/NetworkManagerInfoDbus.c
19765 - Display name of network in the "network not found" dialog
19767 * panel-applet/NMWirelessAppletDbus.c
19768 - (nmwa_dbus_call_nm_method): new function replaces all other
19769 nmwa_dbus_get_[string|string_array|int|boolean] methods
19770 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19771 consolidated into nmwa_dbus_get_object_name()
19773 2004-10-15 Dan Williams <dcbw@redhat.com>
19775 * src/NetworkManagerDbus.c
19776 info-daemon/NetworkManagerInfoDbus.c
19777 - Display an error dialog when the user tries to use an
19778 "Other wireless network" that's not found.
19780 2004-10-15 Dan Williams <dcbw@redhat.com>
19782 * panel-applet/NMWirelessApplet.[ch]
19783 - Fix up corner cases in applet state, making it
19784 look more responsive. Change state to "connecting" when
19785 the user is forcing a device too.
19787 2004-10-15 Dan Williams <dcbw@redhat.com>
19789 * src/NetworkManagerAPList.c
19790 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19792 * src/NetworkManagerDbus.c
19793 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19795 * src/NetworkManagerDevice.c
19796 - Disown APs after the device's AP list takes ownership
19798 2004-10-15 Dan Williams <dcbw@redhat.com>
19800 * panel-applet/NMWirelessApplet.c
19801 - Update our applet state from the GUI thread
19803 * panel-applet/NMWirelessAppletDbus.c
19804 - Greatly simplify the locking to make the GUI thread
19805 smoother. Update a private copy of the device list
19806 and active device and only when done talking to
19807 NetworkManager turn it over to the GUI thread.
19809 2004-10-15 Dan Williams <dcbw@redhat.com>
19811 * src/NetworkManagerAP.[ch]
19812 - Add "artificial" get/set functions, set for APs that
19813 aren't discovered as part of a scan but instead
19814 discovered by force-setting the ESSID
19816 * src/NetworkManagerDevice.[ch]
19817 - (nm_device_wireless_network_exists): pass back whether
19818 or not the discovered AP was encrypted. Also, try
19819 falling back to encrypted mode on the card if unencrypted
19820 association doesn't work
19821 - (nm_device_find_and_use_essid): If the network requested
19822 did in fact exists, but it wasn't in our scan list, add
19823 an "artificial" entry for it. Some Cisco cards don't
19824 see non-ESSID-broadcasting APs in their scan but can still
19825 associate with them if you know the ESSID, this works around
19827 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19828 to scan if the card is currently associated with that AP
19830 2004-10-15 Dan Williams <dcbw@redhat.com>
19832 ---- We have a website ----
19833 http://people.redhat.com/dcbw/NetworkManager
19835 Patch from Robert Paskowitz:
19836 * src/NetworkManager.c
19837 - (main): Make sure we are run as root
19838 * src/NetworkManagerDevice.c
19839 - Fix type in ad-hoc setting function
19841 Patch from Thom May:
19842 * src/backends/NetworkManagerDebian.c
19843 - Make Debian backend compile again
19845 2004-10-14 Dan Williams <dcbw@redhat.com>
19847 * Tagged NetworkManager-0_3
19849 2004-10-14 Dan Williams <dcbw@redhat.com>
19851 Patch from Robert Paskowitz:
19853 src/NetworkManagerDevice.[ch]
19854 src/backends/NetworkManagerDebian.c
19855 src/backends/NetworkManagerGentoo.c
19856 src/backends/NetworkManagerRedHat.c
19857 src/backends/NetworkManagerSlackware.c
19858 - Add support for grabbing and using a broadcast address
19859 from system config files
19860 - Some Gentoo backend fixes for grabbing network config
19861 - Fix LOG_WARN->LOG_WARNING
19863 2004-10-14 Dan Williams <dcbw@redhat.com>
19865 * NEWS: a few small fixes in the credits
19867 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19869 * NEWS: prep for release.
19871 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19873 * panel-applet/NMWirelessAppletDbus.c
19874 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19876 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19878 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19879 applet->state == APPLET_STATE_NO_NM animation.
19881 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19882 set the text correctly.
19884 2004-10-14 Dan Williams <dcbw@redhat.com>
19886 * src/NetworkManager.c
19887 - Only accept and manager 802.3 and 802.11 devices
19889 * src/NetworkManagerDbus.[ch]
19890 - (nm_dbus_nm_set_active_device): move most of the actual activation
19891 logic into NetworkManagerDevice.c
19892 - (nm_dbus_network_status_from_data): new function
19893 - (nm_dbus_signal_network_status_change): new function, unused for now
19894 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19896 * src/NetworkManagerDevice.[ch]
19897 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19900 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19902 * info-daemon/NetworkManagerInfo.c
19903 - (main): Added session management
19905 2004-10-14 Dan Williams <dcbw@redhat.com>
19907 * panel-applet/NMWirelessAppletDbus.[ch]
19908 - Expose network_device_[un]ref()
19909 - Expose wireless_network_[un]ref()
19910 - (wireless_network_new_with_essid): new function, create and return
19911 a wireless network with a particular essid
19913 * panel-applet/NMWirelessApplet.c
19914 - Hook up the "other network" dialog to do something
19916 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19918 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19919 doesn't work yet, but it looks okay.
19921 * panel-applet/icons/*png: Resize to 22x22 and install in the
19924 2004-10-13 Dan Williams <dcbw@redhat.com>
19926 * panel-applet/NMWirelessApplet.c
19927 - Add function to print out applet_state in a readable
19930 * src/NetworkManager.c
19931 - (main): Don't segfault when nm_dbus_init() fails, we had
19932 a left-over call to hal_shutdown() into which we passed NULL
19934 * src/NetworkManagerAP.c
19935 - (nm_ap_set_essid): Allow NULL essids
19937 * src/NetworkManagerAPList.[ch]
19938 - More use of nm_ap_list_[un]lock ()
19939 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19940 network/essid, just return nothing. Also skip over NULL
19941 essid access points in the list when searching
19942 - (nm_ap_list_get_ap_by_address): new function
19943 - (nm_ap_list_update_network): set the access point's key source to
19944 NULL when the key returned from NetworkManagerInfo is NULL or
19946 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19947 copy timestamp over too
19948 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19949 find the correct ESSID for a blank-essid access point by searching
19950 through another list and matching access point MAC addresses
19951 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19953 * src/NetworkManagerDbus.c
19954 - (nm_dbus_nm_set_active_device): deal with random networks the user
19955 may specify. This is mainly for access points that don't
19956 broadcast their essid. So if the user tells us to associate with
19957 some random ESSID that's not in our access point list, we find
19958 out if the access point does in fact exist (by attempting association
19959 and then matching that access point's MAC address with the essid the
19960 user gave us) and then we switch to it.
19961 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19962 to the returned list of networks for the "getNetworks" method
19964 * src/NetworkManagerDevice.[ch]
19965 - Extra debugging info for link detection
19966 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19967 based on MAC address
19968 - (nm_device_get_path_for_ap): ignore blank-essid access points
19969 - (nm_device_wireless_network_exists): new function, find out whether
19970 a random ESSID exists by attempting to associate with it
19971 - (nm_device_do_normal_scan): allow blank-essid access points in our
19972 device list as long as they have an AP MAC address we can use.
19973 Also send WirelessNetwork[Dis]Appeared signals for non-active
19974 devices too. Lets the applet update more frequently.
19976 * src/backends/NetworkManagerGentoo.c
19977 - Patch from: Robert Paskowitz
19978 - Update backend code for Gentoo
19979 - Implement nm_system_device_update_config_info ()
19981 * test/nmclienttest.c
19982 - (set_network_device): new function, takes a command-line argument
19983 and tells NetworkManager to use that wireless network
19985 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19987 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19988 if the notification icon crashes 5 times within 5 seconds of each respawn
19990 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19992 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19995 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19997 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19999 * panel-applet/NMWirelessApplet.c: (animation_timeout),
20000 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
20001 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
20002 Change the name of the icons.
20004 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
20005 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
20006 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
20007 (nm_menu_wireless_expose_event): Really bad hack to get the style
20008 to draw in the right color.
20010 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20012 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20013 Notification if it crashes
20015 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20017 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20018 (nmwa_dbus_get_string): remove unused functions
20020 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20021 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20022 remove unused functions
20024 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20026 2004-10-12 Dan Williams <dcbw@redhat.com>
20028 * panel-applet/NMWirelessAppletDbus.c
20030 wireless_network_new
20031 wireless_network_copy
20033 network_device_copy
20035 * src/NetworkManagerDevice.[ch]
20037 nm_device_set_mode_managed
20038 nm_device_set_mode_adhoc
20039 - Use these functions where appropriate
20040 - When creating a new wireless device, force the card
20041 to managed/Infrastructure mode as soon as possible
20043 2004-10-12 Dan Williams <dcbw@redhat.com>
20045 * src/NetworkManagerDevice.c
20046 - Force wireless cards into Infrastructure mode before we use them
20048 2004-10-12 Dan Williams <dcbw@redhat.com>
20051 - Remove bit about static IP address support
20053 * src/NetworkManagerUtils.c
20054 - (nm_spawn_process): Add some error reporting
20056 * src/NetworkManagerDevice.c
20057 - (nm_device_activation_configure_ip): hook up to the static config
20058 routines in the backends
20060 * src/backends/NetworkManagerRedHat.c
20061 - (nm_system_device_update_config_info): use shvar.c routines to
20062 parse the config file iformation, not our own
20063 - (nm_system_device_setup_static_ip4_config): new function, based
20064 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20065 with a static IP address and gateway
20067 * src/backends/shvar.[ch]
20068 - Parser (filched from initscripts package) for ifcfg-* files
20070 * src/backends/NetworkManagerSystem.h
20071 src/backends/NetworkManagerGentoo.c
20072 src/backends/NetworkManagerDebian.c
20073 src/backends/NetworkManagerSlackware.c
20074 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20076 2004-10-11 Dan Williams <dcbw@redhat.com>
20079 - Remove bit about more robust AP diffing since I just implemented it
20081 2004-10-11 Dan Williams <dcbw@redhat.com>
20083 * src/NetworkManagerAP.c
20084 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20085 enough RAM to allocate new AP structures, but return NULL instead
20087 * src/NetworkManagerAPList.[ch]
20088 - (nm_ap_list_is_empty): new function
20089 - (nm_ap_list_combine): new function, combine two access point lists
20090 - (nm_ap_list_copy_keys): new function, copy keys from one list
20093 * src/NetworkManagerDevice.[ch]
20094 - Rename some functions to be clearer:
20095 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20096 nm_device_just_activated -> nm_device_is_just_activated
20097 nm_device_activating -> nm_device_is_activating
20098 nm_device_now_scanning -> nm_device_is_scanning
20099 - Cache the last 4 scans so that the access point list is more stable.
20100 We combine the lastest two scans and use that as the AP list,
20101 and diff that combined list against the combination of the earliest
20102 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20104 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20106 * info-daemon/NWManagerInfo.h
20107 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20109 * info-daemon/NWManagerInfoDbus.c
20110 - (shutdown_callback): new function
20111 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20112 if NetworkManager goes away. Kill the timeout
20113 if NetworkManager restarts before the 30 seconds
20115 - (nmi_dbus_service_init):
20116 - call gtk_main_quit if NetworkManager is not running
20117 - add filters to monitor dbus service creations and
20120 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20122 * panel-applet/NMWirelessApplet.c
20123 - (nmwa_update_state): Hide notification icon if we are only
20124 showing one wired card and no wireless interfaces
20125 (Red Hat Bug #134895)
20127 * panel-applet/NMWirelessAppletDbus.c
20128 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20130 * info-daemon/NWManagerInfo.c
20131 - (main): Terminated the notification_icon_cmd array with a NULL
20133 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20135 * configure.in (ALL_LINGUAS): Added de (German).
20137 2004-10-08 Dan Williams <dcbw@redaht.com>
20139 * src/NetworkManagerDevice.c
20140 - Be a bit more robust about link checking, ie make sure that
20141 the WEP key we were given actually has some data in it
20143 2004-10-08 Dan Williams <dcbw@redhat.com>
20145 * info-daemon/NetworkManagerInfo.c (main):
20146 - Initialize GError object to NULL
20148 2004-10-08 Dan Williams <dcbw@redhat.com>
20150 * panel-applet/NMWirelessAppletDbus.c
20151 - Die if NetworkManagerInfo dies, since it manages our lifetime
20153 2004-10-08 Dan Williams <dcbw@redhat.com>
20155 * info-daemon/NetworkManagerInfo.[ch]
20156 info-dameon/NetworkManagerInfoDbus.[ch]
20157 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20158 - Preserve original label text in the passphrase dialog so that
20159 it actually gets updated with the new network name the next
20160 time around. Previously, we were overwriting it so you'd get
20161 the wrong network name to enter a key for
20162 - Add a "Key Type" combo to the passphrase dialog, user selects
20163 encryption key type now, type is stored in GConf too
20164 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20166 * src/NetworkManagerAP.[ch]
20167 - Remove all the encyption method magic. It's now set by the user
20168 and NetworkManager retrieves the type of encryption key from
20171 * src/NetworkManagerAPList.[ch]
20172 src/NetworkManagerDbus.[ch]
20173 - Adjust to new way of setting encryption key and method
20174 - Pull encryption method down from NMI along with key
20176 * src/NetworkManagerDevice.[ch]
20177 - Removed encryption method fallback magic as the method is now
20178 determined by the user. This greatly simplifies the connection
20180 - More robust connection/link logic. Besides removing the encryption
20181 method fallback magic, check whether or not the card is receiving
20182 invalidly encrypted packets, which usually indicates that we have
20184 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20186 * test/nminfotest.c
20187 - Test out new "Key Type" stuff in the NMI passphrase dialog
20189 2004-10-07 Dan Williams <dcbw@redhat.com>
20191 * info-daemon/NetworkManagerInfo.conf
20192 - Allow root user to run NMI too
20194 2004-10-06 Dan Williams <dcbw@redhat.com>
20196 * src/NetworkManagerDevice.[ch]
20197 src/NetworkManagerDbus.c
20198 doc/NetworkManager DBUS API.txt
20199 - Add a new status tag "scanning", which is set when there
20200 is no active network connection, but NetworkManager is
20201 looking for an access point to associate with
20203 * panel-applet/main.c
20204 - Cast the applet appropriately for gtk_widget_show_all ()
20206 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20208 * panel-applet/eggtrayicon.[ch]:
20209 * panel-applet/main.c: Add missing file
20211 2004-10-04 Dan Williams <dcbw@redhat.com>
20213 * src/NetworkManagerDevice.[ch]
20214 - Add a slightly more robust method of determining if the WEP key
20215 is correct or not, by checking the WEP-discarded packet count
20218 * info-daemon/NetworkManagerInfo.c
20219 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20220 un-escape values we pull out rather than escaping them
20222 2004-10-03 Marcel Telka <marcel@telka.sk>
20224 * configure.in (ALL_LINGUAS): Added sk.
20226 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20228 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20229 and feel. We should be back to working, and have a good, clean
20232 2004-09-30 Dan Williams <dcbw@redhat.com>
20234 * info-daemon/NetworkManagerInfo.c
20235 info-daemon/NetworkManagerInfoDbus.c
20237 - Escape ESSIDs in gconf
20239 * src/NetworkManagerDevice.c
20240 - Fix pseudo-scanning to use netowrk list from info daemon
20242 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20244 * configure.in: Add a temporary --enable-notification-icon. This
20245 will prolly go away.
20247 * info-daemon/Makefile.am:
20248 * info-daemon/NetworkManagerInfo.c:
20249 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20251 * panel-applet/Makefile.am:
20252 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20253 * panel-applet/NMWirelessApplet.h:
20255 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20257 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20258 before 'select custom ESSID'.
20260 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20261 fully complete, but syncing in prep for merge.
20263 * panel-applet/icons/*png: New images
20265 2004-09-28 Dan Williams <dcbw@redhat.com>
20267 * src/NetworkManager.c
20268 src/NetworkManagerDevice.c
20269 src/NetworkManagerPolicy.c
20270 - Don't blow away an active wired connection on startup
20272 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20276 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20278 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20281 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20283 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20284 have a wireless card.
20286 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20288 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20289 Also, get the right device strings.
20291 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20293 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20294 the logic to make this right.
20296 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20297 devices so that wired networks are always first.
20299 2004-09-22 <clarkbw@cvs.gnome.org>
20301 * initscript/Debian/.cvsignore:
20302 * initscript/Slackware/.cvsignore:
20303 Added new cvsignores for Makefile, Makefile.in
20306 Added nmtestdevices
20308 * src/NetworkManagerDevice.c:
20309 * src/NetworkManager.c:
20310 Updated the wireless/wired HAL device strings from net.ethernet to
20311 net.80203 or net.80211 depending on wired or wireless respectively
20313 * examples/python/NetworkManager.py:
20314 s/Quality/Strength/
20316 * examples/python/systray/network_tray.py:
20317 Lots of little changes and fixes. been rotting for a while so I
20318 figured I'd finally sync them all with CVS
20320 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20322 * configure.in: Add graphics
20324 * panel-applet/Makefile.am: Add graphics
20326 * panel-applet/icons/*: Add graphics
20328 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20329 the icons fully lined up.
20331 * panel-applet/menu-info.c:
20332 * panel-applet/menu-info.h: Add another menu type.
20334 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20336 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20338 * panel-applet/menu-item.[ch]: Wireless menu item.
20340 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20342 * info-daemon/NetworkManagerInfo.conf
20343 - Created a more robust security policy for the DBus service
20344 - everything is denied by default
20345 - root can own and send to the service
20346 - users logged in at the console can send to the service
20348 2004-09-13 Dan Williams <dcbw@redhat.com>
20350 * src/NetworkManagerDevice.c
20351 - (nm_device_get_essid): use iw_get_basic_config() rather than
20352 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20355 2004-09-13 Dan Williams <dcbw@redhat.com>
20359 * docs/NetworkManager DBUS API.txt
20360 - Update for new signal strength changes
20362 * panel-applet/NMWirelessApplet.c
20363 - Make panel icon show strength of the current connection
20364 - Cleanups and memleak fixes
20366 * panel-applet/NMWirelessApplet.h
20367 - Add data members for signal strength on devices and networks
20369 * panel-applet/NMWirelessAppletDbus.c
20370 - Free more DBusErrors
20371 - Update for new signal strength changes
20372 - Make devices and networks more like real objects, use ref/unref methods
20373 - Actually unlock the mutex when updating the active device
20375 * src/NetworkManagerAP.c
20376 - Change AP functions and data members from "quality"->"strength"
20378 * src/NetworkManagerDbus.c
20379 - Kill "getMaxQuality" and "getQuality" methods
20380 - Add "getStrength" methods for Networks and Devices
20382 * src/NetworkManagerDevice.[ch]
20383 - Add accessors for device strength
20384 - Add functions to update strength for a device. Note that not all drivers
20385 actually support signal strength for scanned access points (Atmel drivers
20387 - Calculate signal strength for each AP during scan
20389 * src/NetworkManagerWireless.[ch]
20390 - Add function to return signal strength % from a device and a raw quality struct
20392 * test/nmclienttest.c
20393 - Update for new signal strength changes
20395 2004-09-11 Dan Williams <dcbw@redhat.com>
20397 * src/NetworkManager.c
20398 - Fix race condition between initscripts and NM on card insertion
20399 which could cause a card to keep an IP address and routes around
20400 even when it was not the active device
20402 * src/NetworkManagerDbus.c
20403 - Fix compile errors, free more DBusErrors
20405 2004-09-11 Dan Williams <dcbw@redhat.com>
20407 * docs/NetworkManager DBUS API.txt
20408 - Add an explanation of NM's API
20410 * src/NetworkManagerDbus.c
20411 - Free some more DBusErrors if needed
20413 2004-09-11 Dan Williams <dcbw@redhat.com>
20415 * panel-applet/NMWirelessApplet.c
20416 panel-applet/NMWirelessAppletDbus.c
20417 - Start using NetworkDevice/WirelessNetwork structures in more places
20418 - Update for unified device/network forcing in NetworkManager
20420 * src/NetworkManager.c
20421 - some code consolidation
20423 * src/NetworkManagerDbus.c
20424 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20425 or two arguments: the first is the NM ID of the device to switch to,
20426 and the second (optional) argument is the ESSID of a wireless network
20428 - Get rid of "setNetwork" method due to above change
20430 * src/NetworkManagerDevice.c
20431 - (nm_device_new): perform scan and update best AP on device creation
20432 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20433 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20434 spin waiting for cancellation to finish before returning
20436 * src/NetworkManagerPolicy.c
20437 - Changes here clarify the situations in which a device switch occurs, and
20438 make sure to keep using a forced device and network if the user gives
20440 - Remove old unused code
20442 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20444 * configure.in: Added Danish (da) to ALL_LINGUAS.
20446 2004-09-09 Dan Williams <dcbw@redhat.com>
20448 * panel-applet/NMWirelessAppletDbus.c
20449 - Pull fresh devices and networks from NM when wireless networks
20450 change. Provides faster feedback of a forced wireless network
20452 * src/NetworkManagerDbus.c
20453 - Return error when "getMaxQuality" is called on a wired device
20454 - Make best_ap freezing actually work again, and signal cancellation
20455 of activation if there's already a device activation when the user
20456 freezes the best_ap
20458 * src/NetworkManagerDevice.c
20459 - Don't clear out the best_ap for wireless devices when the link goes
20460 down, that's done elsewhere
20461 - Kill any dhcp daemons when cancelling device activation since they
20462 may be stuck waiting for a DHCP address, and since we're cancelling
20463 activation we don't care about that anymore
20465 * src/NetworkManagerPolicy.c
20466 - Make sure to unref the device we ref earlier (we refed it to make sure
20467 it stuck around during device activation and such)
20468 - If we were going to change the best device, but its activating currently
20469 (and therefore the change didn't occur due to the check earlier)
20470 we mark the state changed to we come back to it later when device
20471 activation has canceled and its no longer activating
20473 * src/backends/NetworkManagerRedHat.c
20474 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20476 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20478 * info-daemon/passphrase.glade:
20479 set passphrase input to activates_default : True
20481 * examples/python/systray/network_tray.py
20482 (network_tray.sort_networks):
20484 Added support for having wireless always scanning
20486 2004-09-09 Dan Williams <dcbw@redhat.com>
20488 NOTE: this commit changes the behavior of wireless devices in
20489 NetworkManager. They are now up all the time, scanning all
20490 the time. Only the active device has an IP address and routing
20491 information set up however. Also, NetworkManager will no longer
20492 opportunistically switch wireless networks when a better one
20493 comes in range, it will remain associated with one wireless network
20494 until that one drops out.
20496 * panel-applet/NMWirelessApplet.c
20497 panel-applet/NMWirelessAppletDbus.c
20498 - List all wireless cards and their respective networks
20500 * src/NMLoadModules
20501 - Use full path to /sbin/ip
20503 * src/NetworkManager.c
20504 - Keep wireless devices up all the time so they can scan
20506 * src/NetworkManagerDbus.c
20507 - On a WirelessNetworkUpdate signal from NMI, don't update
20510 * src/NetworkManagerDevice.c
20511 - (nm_device_set_link_active): clear out the best ap for
20512 wireless devices when the link is set to FALSE
20513 - Scan on all wireless cards, all the time
20514 - (nm_device_activation_worker): split out the wireless card
20515 link-waiting code to a separate function
20516 - Keep wireless cards up even if device activation fails
20517 - Don't update the "best" ap as much
20519 * src/NetworkManagerPolicy.c
20520 - Don't update the best ap when checking if its frozen,
20521 let link checking clear out a frozen best ap for us
20523 * src/NetworkManagerWireless.c
20524 - Scan on all wireless cards, all the time
20526 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20528 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20530 2004-09-09 Ankit Patel <ankit@redhat.com>
20532 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20534 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20536 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20538 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20540 * examples/python/NetworkManager.py:
20541 added CONNECTED, CONNECTING, and DISCONNECTED states
20542 added methods to return number of devices of a single type
20544 * examples/python/systray/network_tray.py:
20545 did some tweaks to get the menu looking near what it is supposed
20546 to look like. Also did a Airo card hack to make it show the
20549 2004-09-08 Dan Williams <dcbw@redhat.com>
20551 * panel-applet/no-networkmanager.png
20552 panel-applet/Makefile.am
20553 panel-applet/NMWirelessApplet.c
20554 - Add a "NetworkManager not running" icon and use it
20555 - Use new consolidated GConf keys rather than Preferred/Trusted
20559 * info-daemon/NetworkManagerInfo.c
20560 info-daemon/NetworkManagerInfoDbus.[ch]
20561 info-daemon/NetworkManagerInfoPassphraseDialog.c
20562 - There are now no longer two separate lists of wireless networks,
20563 but one list where each network is "trusted" or not trusted
20564 - Add a "getNetworkTrusted" dbus method
20565 - "WirelessNetworkUpdate" signal now sent rather than
20566 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20567 - Start freeing some dbus errors (not completed yet)
20569 * info-daemon/passphrase.glade
20570 - Remove the "don't show" hints for pager and taskbar
20571 - Add a title since its going to be in the taskbar
20573 * src/NetworkManager.[ch]
20574 src/NetworkManagerAPList.[ch]
20575 - There are now no longer two separate lists of wireless networks,
20576 but one list where each network is "trusted" or not trusted
20578 * src/NetworkManagerAP.[ch]
20579 - Add get/set "trusted" accessors and data bit
20581 * src/NetworkManagerDbus.[ch]
20582 - Add function to get "trusted" status of a network from NetworkManagerInfo
20583 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20585 * src/NetworkManagerDevice.[ch]
20586 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20587 - (nm_device_new): Get device config from backend when initializing devices
20588 - (nm_device_activation_worker): Split out device configuration on
20589 activation to deal with static/dynamic IP differences, and try encryption
20590 fallbacks on a device if the encryption method for the best AP is not good
20591 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20592 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20594 * src/NetworkManagerWireless.c
20595 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20597 * src/backends/NetworkManagerRedHat.c
20598 src/backends/NetworkManagerSystem.h
20599 - (nm_system_device_update_config_info): Add function to get device configuration
20600 from system data in ifcfg-* files
20602 * src/backends/NetworkManagerDebian.c
20603 src/backends/NetworkManagerGentoo.c
20604 src/backends/NetworkManagerSlackware.c
20605 - Add stub functions for getting device configuration
20607 2004-09-07 Dan Williams <dcbw@redhat.com>
20609 * src/backends/NetworkManagerRedhat.c
20610 src/backends/NetworkManagerSlackware.c
20611 - Use full path to /sbin/ip everywhere
20613 2004-09-07 Dan Williams <dcbw@redhat.com>
20615 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20618 initscript/Makefile.am
20619 initscript/Slackware/Makfile.am
20620 initscript/Slackware/rc.networkmanager
20622 src/backends/NetworkManagerSlackware.c
20623 - Add Slackware support
20625 2004-09-07 Dan Williams <dcbw@redhat.com>
20627 Patches below from:
20629 Mark Roach <mrroach@okmaybe.com>
20630 Thom May <thom@debian.org>
20633 initscript/Debian/NetworkManager
20634 initscript/Debian/Makefile.am
20635 - Initscript for Debian
20637 * src/backends/NetworkManagerDebian.c
20638 - Add missing system init function to allow compilation
20641 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20643 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20645 2004-09-03 Akagic Amila <bono@linux.org.ba>
20647 * configure.in: Added 'bs' to ALL_LINGUAS.
20649 2004-09-02 Colin Walters <walters@verbum.org>
20651 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20652 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20653 g_strdup_printf instead of arbitrarily sized buffers.
20655 2004-09-01 Colin Walters <walters@verbum.org>
20657 * NetworkManager.pc.in: New file.
20659 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20661 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20663 * configure.in: Punjabi(pa) is added to po/.
20665 2004-08-31 Dan Williams <dcbw@redhat.com>
20667 * Remove 'debug' extern global from all files since we now
20670 * src/NetworkManager.[ch]
20671 - Break out routine that get the net.interface property from HAL,
20672 removing that logic from nm_create_device_and_add_to_list()
20673 - (nm_create_device_and_add_to_list): make this a bit more general so
20674 it doesn't do the talking to HAL. Also add arguments to facilitate
20675 the create of test devices.
20676 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20677 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20678 which makes NetworkManager listen for dbus commands to create test
20679 devices, which have no backing hardware. Use when you're on a plane
20680 for example, and/or forgot your wireless card at home. Test devices
20681 _cannot_ be created unless NM is started with --enable-test-devices.
20683 * src/NetworkManagerDbus.[ch]
20684 - New "getLinkActive" method for devices
20685 - New "setLinkActive" method for devices (only works on test devices)
20686 - New "createTestDevice" method on NetworkManager object to create a test
20687 device of a specified type (ie wired, wireless). UDI is created from
20688 scratch, as is the interface name. Only works when NM is started with
20689 --enable-test-devices switch.
20690 - New "removeTestDevice" method on NetworkManager object which removes a
20691 test device. Only works when NM is started with --enable-test-devices
20693 * src/NetworkManagerDevice.[ch]
20694 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20695 whether a device is a test device or not, and what its link status is.
20696 - Deal with test devices in most functions. For those that work directly on hardware
20697 special-case test devices.
20698 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20700 - (nm_device_update_link_active): split out logic for wired and wireless device link
20701 checking to separate functions to facilitate test device link checking.
20702 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20703 don't make a distinction between System Authentication and Encryption
20704 (namely Cisco aironet), we use Open System auth when setting a WEP key
20705 on the card. We don't deal with Shared Key auth yet.
20706 - (nm_device_activation_worker): split the activation cancel check logic out into
20707 a separate routine nm_device_activation_cancel_if_needed()
20708 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20709 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20710 a list of fake access points that they can "see"
20711 - (nm_device_is_test_device): return whether or not a device is a test device
20713 * src/NetworkManagerPolicy.c
20714 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20715 previously if you "locked"/forced NM to use a wireless device but then
20716 selected a wireless network for NM to use, it would switch to a wired device.
20717 So, if the active device is wireless and it has a "forced" best AP, use it
20718 if the "forced" best AP is still valid
20719 - (nm_state_modification_monitor): deal with NULL best devices, for example
20720 there were no usable network devices, or the last one was removed
20722 * src/backends/NetworkManager*.c
20723 - Deal with test devices, mostly just return success for operations like getting
20726 * test/nmtestdevices.c
20727 - Test tool to create/remove/link-switch test devices
20729 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20731 * examples/python/NetworkManager.py:
20732 added convience functions has_wired_device and has_wireless_device
20734 * examples/python/systray/network_tray.py:
20735 cleaned up a bunch of cruft, added support for listing wireless
20736 networks just like the real applet. This is probably all I'm
20737 going to work on this applet from now on.
20738 TODO: add support for actually changing networks and devices
20740 * examples/python/NetworkManager.py (NetworkManager.get_device):
20741 changed "nm.networks" into a dict from a list so I can store all
20742 the cool information about networks in there
20744 * examples/python/systray/network_tray.py:
20745 Added nice message when you try to run without running make first
20747 * examples/python/NetworkManager.py:
20748 Bug fixes to the code so we get all the device information
20749 that we need in get_device()
20751 * examples/python/NMTester.py:
20752 Fixed _print_device_list to print_device_list
20754 2004-08-29 Seth Nickell <seth@gnome.org>
20758 Actually properly setup the Debian backend in configure.
20760 2004-08-29 Colin Walters <walters@verbum.org>
20762 * test/nminfotest.c: Include string.h and stdlib.h.
20763 (get_network_string_property, get_networks_of_type): Return NULL.
20765 * test/nmclienttest.c (get_device_name, get_active_device): Return
20768 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20769 use strlen, fgets always NULL-terminates the string.
20771 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20772 dbus_message_get_member): Remove /* in comment.
20774 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20776 * src/NetworkManager.c (quit): Unused, delete.
20777 (nm_data_free): Cast arg to GFunc.
20779 * panel-applet/NMWirelessAppletDbus.c: Need to include
20780 string.h, and dbus-glib-lowlevel.h (the latter is needed
20781 for dbus_connection_setup_with_g_main at present).
20782 (nmwa_dbus_update_wireless_network_list): Parenthesize
20783 assignment in conditional.
20784 (nmwa_dbus_worker): Return NULL.
20786 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20787 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20788 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20789 (nmwa_populate_menu): Return NULL on failure, instead of just
20792 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20794 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20797 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20800 2004-08-29 Colin Walters <walters@verbum.org>
20802 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20803 a GTimeVal instead of time_t. This is easier to work with,
20804 since time_t may be a long or double, we don't know.
20806 * src/NetworkManagerDbus.h: Update prototype.
20808 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20810 (nm_ap_get_timestamp): Update to return GTimeVal.
20811 (nm_ap_set_timestamp): Update to take GTimeVal.
20813 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20814 to handle GTimeVal.
20816 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20818 (nm_ap_list_print_members): Fix warnings in printf format.
20820 2004-08-29 Colin Walters <walters@verbum.org>
20822 * panel-applet/NMWirelessApplet.c: Include config.h.
20824 2004-08-29 Colin Walters <walters@verbum.org>
20826 * configure.in: Generate config.h.
20828 * configure.in: Dump dependency on OpenSSL; we can't
20829 use it since this package is GPL:
20830 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20831 Instead, check for libgcrypt, use it if available,
20832 otherwise use included MD5 code.
20834 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20835 Suck in from gnome-keyring, munge a bit.
20837 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20838 gnome-keyring-md5.h gnome-keyring-md5.c.
20839 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20841 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20842 libgcrypt or included gnome-keyring md5 bits.
20843 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20845 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20847 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20849 2004-08-27 Bryan Clark <bclark@redhat.com>
20851 * examples/python/systray/Makefile:
20853 Updated the clean section
20855 * examples/python/systray/trayiconmodule.c:
20856 * examples/python/systray/trayicon.override:
20857 * examples/python/systray/network_tray.py:
20858 * examples/python/systray/eggtrayicon.h:
20859 * examples/python/systray/eggtrayicon.c:
20860 * examples/python/systray/Makefile:
20861 * examples/python/README:
20862 * examples/python/NetworkManager.py:
20863 * examples/python/NMTester.py:
20865 Initial commit of these python example files
20867 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20869 * panel-applet/NMWirelessApplet.c
20870 - Make current device bold
20871 - Show more user-friendly device name if we got one from hal
20873 * panel-applet/NMWirelessAppletDbus.c
20874 - Grab "info.product" key from hal for network devices
20875 - Cache the current active device
20877 2004-08-27 Adam Weinberger <adamw@gnome.org>
20879 * configure.in: Added en_CA to ALL_LINGUAS.
20881 2004-08-27 Christian Rose <menthos@menthos.com>
20883 * configure.in: Added "sv" to ALL_LINGUAS.
20885 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20887 * Tag NetworkManager-0.2
20889 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20891 * initscripts/Makefile.am
20892 * configure.in: Make pass distcheck
20894 * po/ChangeLog: added
20896 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20898 * panel-applet/NMWirelessApplet.c
20899 - Remove debugging code
20900 - Enable device switching from menus
20902 * panel-applet/NMWirelessAppletDbus.[ch]
20903 - Method for asking NM to switch devices
20905 * src/NetworkManagerDevice.c
20906 - Set dev->activating earlier, avoids race between
20907 the dbus signal of "DeviceActivating" and setting
20908 dev->activating (which is what NM's "status" method call
20911 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20913 * panel-applet/NMWirelessApplet.[ch]
20914 - Rework menu code to add devices to menu, and to show
20915 signal strength for each access point. Code cleanups
20918 * panel-applet/NMWirelessAppletDbus.c
20919 - Grab network devices from NetworkManager too
20920 - Grab quality information from NM for wireless networks
20922 * src/NetworkManagerDbus.[ch]
20923 - Add dbus methods for getting the HAL UDI from a device and
20924 for getting its base quality, if its wireless
20925 - Consolidate some functions (wireless network notifications,
20926 device notifications)
20927 - Add method for requesting NM to use a particular device
20929 * src/NetworkManager.c
20930 - Change for function consolidations from NetworkManagerDbus.c
20931 - Implement active device locking and user-requested devices
20932 (ie, tell NM to use a particular device instead of the one
20935 * src/NetworkManagerDevice.c
20936 - Add method for getting the base quality of a device, if its
20938 - Grab device base quailty info from iwlib during scans
20940 * src/NetworkManagerPolicy.c
20941 - Use a user-requested device rather than the auto-chosen device
20944 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20946 * Makefile.am: add po as a supdir
20948 * autogen.sh: use gnome-autogen.sh
20950 * initscript/Gentoo/.cvsignore:
20951 * initscript/RedHat/.cvsignore: Shut up cvs
20953 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20955 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20956 (nmwa_fill): Use gettext.
20958 * configure.in: add gettext support
20960 * po/NetworkManager.pot:
20963 2004-08-26 Seth Nickell <seth@gnome.org>
20965 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20966 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20967 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20968 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20969 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20970 * panel-applet/NMWirelessApplet.h:
20972 Use a menu bar instead of a button for the main clickable
20975 2004-08-25 Dan Williams <dcbw@redhat.com>
20977 * src/NetworkManagerDevice.c
20978 - (nm_device_set_enc_key): always set device to "open" mode instead of
20979 turning encryption off, because the Cisco driver doesn't associate
20980 with WEP-enabled access points unless we are in "open"
20982 2004-08-25 Dan Williams <dcbw@redhat.com>
20984 * src/NetworkManagerWireless.c
20985 - Don't try to defererence blank passphrases
20987 2004-08-25 Dan Williams <dcbw@redhat.com>
20989 * panel-applet/NMWirelessApplet.c
20990 - Rebuild the menu whenever a user clicks
20992 2004-08-25 Dan Williams <dcbw@redhat.com>
20994 * panel-applet/NMWirelessApplet.c
20995 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20996 when NM isn't around or when its not connected
20998 * src/NetworkManagerDevice.c
20999 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
21002 2004-08-25 Dan Williams <dcbw@redhat.com>
21004 * panel-applet/NMWirelessAppletDbus.c
21005 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
21006 for getting encryption, and don't stop on "val" once we've gotten it
21007 from NetworkManager. Short form: encryption should now show up.
21009 2004-08-25 Dan Williams <dcbw@redhat.com>
21011 * panel-applet/NMWirelessApplet.c
21012 - Set ESSID on a gconf trusted network too when force-setting the wireless
21013 network to associate with
21015 2004-08-25 Dan Williams <dcbw@redhat.com>
21018 - Rework the panel applet to do all DBUS communication in a separate
21021 2004-08-25 Dan Williams <dcbw@redhat.com>
21023 * info-daemon/NetworkManagerInfo.[ch]
21024 - Remove "get_next_priority" function
21026 * info-daemon/NetworkManagerInfoDbus.[ch]
21027 - Convert "priority" functions to "timestamp"
21029 2004-08-25 Dan Williams <dcbw@redhat.com>
21031 * src/NetworkManagerAP.[ch]
21032 - Add a "enc_method_good" member and accessors to an Access Point
21033 to signal when we've found the correct encryption method
21034 for an access point
21035 - Add a "timestamp" member and accessors, remove "priority" member
21036 and accessors (use timestamps instead)
21037 - Rename "wep_key"->"enc_key"
21038 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21039 for a specified encryption method using the access points
21040 source encryption key/passphrase
21042 * src/NetworkManagerAPList.c
21043 - When updating a network with dbus, grab timestamp now instead of
21046 * src/NetworkManagerDBus.[ch]
21047 - Add signal for "DeviceActivating"
21048 - Switch priority->timestamp
21050 * src/NetworkManagerDevice.c
21051 - Change references of "wep_key" -> "enc_key" or "key"
21052 - Signal DeviceActivating when starting activation
21053 - When activating a wireless device, if the access point we are connecting
21054 to is encrypted, and we have a source key, try to generate a mangled
21055 key and use that (ie, generate real WEP key from a passphrase)
21056 - Rework device activation to fallback to other encryption methods if
21057 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21058 first, then if that doesn't work fall back to direct hex key).
21059 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21060 priority. We now prefer the latest access point used, rather than using
21062 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21063 points we've just discovered, and merge in correct info from the global
21066 2004-08-25 Seth Nickell <seth@gnome.org>
21068 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21072 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21073 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21074 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21075 (nm_system_delete_default_route),
21076 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21077 (nm_system_load_device_modules):
21079 2004-08-24 Dan Willemsen <dan@willemsen.us>
21081 * src/NetworkManager.c
21082 src/backends/NetworkManagerGentoo.c
21083 src/backends/NetworkManagerRedHat.c
21084 src/backends/NetworkManagerSystem.h
21085 - Implement preliminary Gentoo support, adding a
21086 nm_system_init function to the backend specification
21089 - Distribution auto-detection, lowercase any user-fed
21092 * initscript/.cvsignore
21093 initscript/Makefile.am
21094 initscript/RedHat/Makefile.am
21095 initscript/RedHat/NetworkManager
21096 initscript/Gentoo/Makefile.am
21097 initscript/Gentoo/NetworkManager
21098 - Refactored initscript code separately for each
21101 2004-08-23 Dan Williams <dcbw@redhat.com>
21105 src/NetworkManagerDevice.c
21106 src/NetworkManager.c
21107 src/NetworkManagerUtils.[ch]
21108 src/backends/NetworkManagerSystem.h
21109 src/backends/NetworkManagerRedHat.c
21110 src/backends/NetworkManagerGentoo.c
21111 - Refactor system-specific code into separate backends for
21114 2004-08-23 Dan Willemsen <dan@willemsen.us>
21116 * dispatcher-daemon/NetworkManagerDispatcher.c
21117 info-daemon/NetworkManagerInfo.[ch]
21118 info-daemon/NetworkManagerInfoDbus.c
21119 info-daemon/NetworkManagerInfoPassphraseDialog.c
21120 src/NetworkManager.c
21121 src/NetworkManagerAP.c
21122 src/NetworkManagerAPList.c
21123 src/NetworkManagerDbus.c
21124 src/NetworkManagerDevice.c
21125 src/NetworkManagerPolicy.c
21126 src/NetworkManagerUtils.[ch]
21127 src/NetworkManagerWireless.c
21128 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21130 * src/NetworkManager.c
21131 - Fixed usage wording for --no-daemon
21133 2004-08-23 Dan Williams <dcbw@redhat.com>
21135 * panel-applet/NMWirelessApplet.c
21136 - Update our state every second to get more responsive panel icon
21137 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21138 was causing our marching ants status blips to never move when
21139 looking for a wireless network
21141 * src/NetworkManagerDevice.c
21142 - (nm_device_activation_begin): return if activation has already begun
21143 - (nm_device_do_normal_scan): merge WEP key and priority from the
21144 trusted/preferred network into the device's access point when the
21145 scan list is processed
21147 2004-08-23 Dan Williams <dcbw@redhat.com>
21149 * initscript/NetworkManager
21150 - Use NMLaunchHelper rather than sleeping
21152 * initscript/NMLaunchHelper.c
21154 - Add helper program that exits only when NM activates a device,
21155 or 10 seconds have passed, whichever happens first. This
21156 stops the boot processes until we have a network connection,
21157 which NM can't do because it daemonizes and brings the connection
21158 up in the background. Allows stuff like NFS to not die.
21160 2004-08-20 Dan Williams <dcbw@redhat.com>
21162 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21163 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21164 for a network, set the essid as well since it may not exist yet
21165 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21166 since WEP keys/passphrases are long and prone to entry-error
21168 * panel-applet/Makefile.am
21169 panel-applet/wired.png
21170 - Add (pulled from system-config-network temporarily)
21172 * panel-applet/NMWirelessApplet.[ch]
21173 - Show wired picture when a wired connection is used
21174 - Rename wireless icon enums, adding WIRELESS
21176 * src/NetworkManagerDevice.c
21177 - (nm_device_activate_wireless): unset encryption before bringing
21178 down the card and setting the essid
21179 - (nm_device_activatin_worker): request a key from the user if the
21180 AP we are connecting to is encrypted but we don't have a key
21182 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21183 strcmp() that prevented a user-entered key from actually getting
21186 2004-08-16 Dan Williams <dcbw@redhat.com>
21188 * initscript/NetworkManager
21189 - Check for /sbin/ip
21190 - Do sysctl magic that network service does
21191 - sleep 4s after start to allow network time to come up [hack]
21195 - Load all network device kernel modules (hal doesn't know devices
21196 are ethernet until the module is loaded, and therefore we don't know)
21198 * src/NetworkManager.c
21199 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21200 network devices, and bring up the loopback device explicitly
21202 * src/NetworkManagerUtils.[ch]
21203 - (nm_enable_loopback): new function
21205 2004-08-13 Dan Williams <dcbw@redhat.com>
21208 panel-applet/Makefile.am
21209 - Fix up cleanfiles and server_DATA/server_in_files
21212 - Update with some comments on theory of operation
21218 2004-08-12 Dan Williams <dcbw@redhat.com>
21220 * info-daemon/passphrase.glade
21221 - Set window title to " "
21223 * panel-applet/Makefile.am
21224 panel-applet/keyring.png
21225 - Deliver to correct place
21227 * panel-applet/NMWirelessApplet.[ch]
21229 - Remove applet->have_active_device as its no longer used
21230 - (nmwa_load_theme): load keyring.png too
21231 - (error_dialog): remove
21232 - (show_warning_dialog): subsume functionality of error dialog too
21233 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21234 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21236 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21237 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21238 and when we get broadcasts of changed wireless access points only, not when the
21239 user clicks on the button to display the menu (too long of a wait)
21240 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21241 networks that are encrypted
21242 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21243 menu item with g_object_set_data()
21245 * panel-applet/NMWirelessAppletDbus.[ch]
21246 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21247 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21248 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21249 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21250 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21251 activation/deactivation signals and rebuild the menu when they happen
21253 * src/NetworkManager.c
21254 - (main): use new nm_spawn_process() rather than system()
21256 * src/NetworkManagerDbus.c
21257 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21258 instead. Since we can now force best_aps to stick around, the AP structure to which
21259 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21260 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21261 to freeze the best_ap.
21263 * src/NetworkManagerDevice.[ch]
21264 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21265 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21266 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21269 * src/NetworkManagerUtils.[ch]
21270 - (nm_spawn_process): add replacement for system() usage
21272 2004-08-11 Dan Williams <dcbw@redhat.com>
21274 * panel-applet/NMWirelessApplet.[ch]
21275 - Fix up copyright and credits to include Bastien and Eskil,
21276 who created the gnome-applets wireless applet, from whose
21277 skeleton this one was created
21278 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21279 pixmap to draw is computed during nmwa_update_state()
21280 - Applet now shows itself all the time due to panel packing issues
21281 which caused the applet to previously never come back after hiding.
21282 When a wired device is the active device, the applet shows "not connected"
21284 * panel-applet/NMWirelessAppletDbus.[ch]
21285 - Clean up error messages and show what function they are from
21286 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21287 - Add new device type getters, and a status getter
21289 * src/NetworkManagerDbus.c
21290 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21291 network is actually in the device's ap list
21292 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21294 * src/NetworkManagerDevice.c
21295 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21298 * test/nmclienttest.c
21299 - Report status of NetworkManager too
21301 2004-08-11 Dan Williams <dcbw@redhat.com>
21303 * info-daemon/NetworkManagerInfo.c:
21304 - (main): clean up Seth's code style
21306 * info-daemon/NetworkManagerInfoDbus.c:
21307 - Use the more aptly-named path/service/interface constants from NetworkManager
21308 - Don't return empty strings ("") as object paths ever, instead return errors
21310 * panel-applet/NMWirelessApplet.c:
21311 - Clean up Seth's code style
21313 * src/NetworkManager.[ch]
21314 - (nm_remove_device_from_list): remove anything having to do with pending_device
21315 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21317 * src/NetworkManagerAPList.[ch]
21318 - Move Iter struct right above the iter functions to preserve opacity
21319 - (nm_ap_list_remove_ap): implement
21320 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21321 remove AP if NetworkManagerInfo doesn't know anything about it
21322 - (nm_ap_list_diff): user NMAPList iterators
21323 - (nm_ap_list_print_members): implement debugging function
21325 * src/NetworkManagerDbus.[ch]
21326 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21327 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21328 and move the actual key setting stuff into NetworkManagerDevice.c
21329 - (nm_dbus_get_network_priority): return -1 now on errors
21330 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21331 get lost, and force the active device to update its "best" ap when AP lists change
21332 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21333 method call due to pending_device member removal
21335 * src/NetworkManagerDevice.[ch]
21336 - Move NMDevice structure to the top
21337 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21338 - Remove Pending Action stuff from everywhere
21339 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21340 activation for us. This thread blocks until all conditions for activation have
21341 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21342 then setup up the interface and runs dhclient. We have to do this because there
21343 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21344 run our main loop and respond to dbus method calls or HAL device removals/inserts
21345 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21346 can tell nm_device_activation_worker() that we've got a key
21347 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21348 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21349 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21350 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21352 * src/NetworkManagerPolicy.c
21353 - Remove anything to do with pending_device
21354 - Adjust device activation to deal with activation-in-worker-thread
21356 * src/NetworkManagerUtils.c
21357 - Clean up locking debugging a bit
21359 * src/NetworkManagerWireless.[ch]
21360 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21361 was badly named and is better as a device function
21363 * panel-applet/.cvsignore: add
21365 2004-08-09 Seth Nickell <seth@gnome.org>
21367 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21368 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21370 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21372 Don't load the menus until clicked on (also removes a call outside
21373 normal code paths at first load).
21375 Hide applet when NM is not present.
21377 Improve printf debugging stuff.
21379 2004-08-09 Dan Williams <dcbw@redhat.com>
21381 * dispatcher-daemon/NetworkManagerDispatcher.c:
21382 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21383 - Use constants for NetworkManager interface, service, and path
21385 2004-08-09 Dan Williams <dcbw@redhat.com>
21387 * src/NetworkManagerDbus.c:
21388 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21389 instead return an error message
21390 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21391 on a wired device. Also never return an empty object path, instead return an error message
21393 2004-08-06 Seth Nickell <seth@gnome.org>
21395 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21397 Check the error code when getting a connection.
21399 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21401 Check if the NM service exists when initializing (rather than
21402 assuming it does not).
21404 * src/NetworkManagerDbus.c: (nm_dbus_init):
21406 Don't acquire the well-known service name until we have
21407 registered object/path handlers and can actually receive
21410 2004-08-06 Dan Williams <dcbw@redhat.com>
21415 * src/NetworkManagerPolicy.c
21416 src/NetworkManager.c
21417 - Get access point lists from NetworkManagerInfo on-demand,
21418 and look for ServiceCreate/ServiceDeleted signals to see when
21419 we should query NMI for lists
21420 * src/NetworkManagerAPList.c
21421 - Make sure to init the list's mutex
21422 - Convert traversals of the list over to the list iter functions
21424 * src/NetworkManagerDbus.[ch]
21425 - Use more aptly-named path/service/interface constants
21426 - Treat both active and pending devices the same for "getActiveDevice"
21427 - Add a "status" method returning "connected", "connecting", or "disconnected"
21429 * src/NetworkManagerDevice.c
21430 - Honor "ignored" network list when picking best ap to use
21432 2004-08-06 Seth Nickell <seth@gnome.org>
21436 Autogenerated, remove from CVS.
21440 Don't hardcode automake version.
21443 * info-daemon/Makefile.am:
21444 * info-daemon/NetworkManagerInfo.c: (main):
21446 Use GnomeProgram et al. for doing session management.
21447 Use popt stuff for argument parsing rather than doing
21450 2004-08-05 Dan Williams <dcbw@redhat.com>
21452 * test/nminfotest.c
21453 - Update to new NMI dbus API, check different network types
21455 * info-daemon/NetworkManagerInfoDbus.c
21456 - Update to new NM dbus API, ie network type sent in query message
21458 2004-08-05 Dan Williams <dcbw@redhat.com>
21460 * An assload of changes
21462 2004-08-02 Dan Williams <dcbw@redhat.com>
21465 - new task: proper logging support
21467 * info-daemon/NetworkManagerInfo.c
21468 - Correct spelling of "canceled"
21469 - Correct casting of objects for g_signal_connect()
21471 * info-daemon/NetworkManagerInfoDbus.c
21472 - Add defines for NetworkManager namespace and object path, and use them
21473 - Add filter function to trap new signals from NetworkManager:
21474 WirelessNetworkAppeared, WirelessNetworkDisappeared
21476 * info-daemon/passphrase.glade
21477 - Change name of "ok" button to "Login to Network..."
21480 * src/NetworkManager.c
21481 - Code and debug message cleanups
21482 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21483 - (nm_add_initial_devices) Check returned string array of devices
21484 and don't try to add devices if array is NULL
21485 - (main) Initialize libhal a bit later, make code a bit clearer
21487 * src/NetworkManagerAP.[ch]
21488 - New accessor and data member "matched": used to speed up AP list
21490 - New accessor and data member "enc_method": will be used during key
21491 fallback to cache which passphrase->key conversion actually works
21492 so we don't have to do it every time
21494 * src/NetworkManagerAPList.[ch]
21495 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21496 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21497 between them, and send WirelessNetworkAppeared/Disappeared signals over
21498 dbus in response to those differences
21500 * src/NetworkManagerDbus.[ch]
21501 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21502 make an object path for that access point (NOTE that we don't yet check to
21503 make sure that access point is actually in the device's AP list yet)
21504 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21505 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21506 New: signal appearance/disappearance of wireless networks
21507 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21510 * src/NetworkManagerDevice.[ch]
21511 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21512 - (nm_device_ap_list_get) New: return the AP list (static function)
21513 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21514 new one resulting from the scan with the old one
21516 * src/NetworkManagerWireless.c
21517 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21519 * test/nminfotest.c
21520 - #define object paths and namespaces and use the #defines rather than static strings
21521 - Test out user-key functionality of NetworkManagerInfo too
21523 2004-07-29 Dan Williams <dcbw@redhat.com>
21525 * info-daemon/NetworkManagerInfoDbus.c
21526 src/NetworkManagerDbus.c
21527 - Update to current DBus (ie don't use decomposed paths when registering
21528 object paths/fallbacks)
21530 2004-07-27 Dan Williams <dcbw@redhat.com>
21532 * Remove various Makefile.in files
21535 - Add some more items
21538 - Add checks for OpenSSL/md5 headers and libs
21541 - Use OpenSSL CFLAGS
21543 * src/NetworkManagerAP.[ch]
21544 - Remove 'stamp' functions, replace with 'invalid' functions
21545 to support user cancelling WEP key entry
21547 * src/NetworkManagerDbus.c
21548 - Remove 'stamp' return functions
21549 - Treat returned user key as a passphrase and convert to a WEP key,
21550 but don't actually use the WEP key yet. We use the returned user
21551 key as a hexadecimal WEP key until we can figure out a UI for
21552 passphrase-vs-hex key
21554 * src/NetworkManagerWireless.[ch]
21555 - Add passphrase-to-128bit-key function
21557 2004-07-27 Dan Williams <dcbw@redhat.com>
21560 - Add a couple of items
21562 2004-07-27 Dan Williams <dcbw@redhat.com>
21564 * info-daemon/NetworkManagerInfo.c
21565 - Update allowed network's GConf key when user enters a WEP key explicitly
21567 * info-daemon/NetworkManagerDbus.c
21568 - Fix some comments
21569 - nmi_dbus_get_allowed_networks(): kill warning
21571 2004-07-27 Dan Williams <dcbw@redhat.com>
21573 * initscript/Makefile.in
21576 * initscript/Makefile.am
21577 - Add correct rules to install the init.d initscript
21579 * info-daemon/NetworkManagerInfoDbus.c
21580 - Remove debug fprintf
21582 * src/NetworkManagerDbus.[ch]
21583 - Remove debug fprintfs
21584 - Add macros for NetworkManagerInfo object path/namespace
21585 - Use said macros instead of constant strings
21587 2004-07-27 Dan Williams <dcbw@redhat.com>
21589 * initscript/.cvsignore
21592 * info-daemon/Makefile.am
21593 - Install .glade files and keyring.png
21594 - Fix stupid omission of a \ that caused half the flags not to be
21597 * info-daemon/NetworkManagerInfo.c
21598 - gtk_signal_connect->g_signal_connect
21599 - Alert NetworkManagerInfo to new glade file location
21601 2004-07-27 Dan Williams <dcbw@redhat.com>
21603 * test/nmclienttest.c
21605 - Add missing <dbus/dbus.h> headers
21606 - Add GPL message at top
21608 2004-07-27 Dan Williams <dcbw@redhat.com>
21610 * src/NetworkManagerAPList.[ch]
21612 - Add. Deal with allowed network list additions, deletions, and updates
21614 * dispatcher-daemon/NetworkManagerDispatcher.c
21615 - Add missing <dbus/dbus.h> header
21617 * info-daemon/NetworkManagerInfo.[ch]
21618 - Add missing <dbus/dbus.h> header
21619 - Implement the GConf notify callback to signal NetworkManager of an allowed
21621 - Better error checking
21623 * info-daemon/NetworkManagerInfoDbus.[ch]
21624 - Add missing <dbus/dbus.h> header
21625 - Convert to using dbus_message_append_args/dbus_message_get_args
21626 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21627 that an allowed network changed. We don't want to signal on individual
21628 keys _inside_ an allowed network really, just want NM to query the info
21629 daemon for updated info on all keys.
21630 - Better error checking
21632 * src/NetworkManager.[ch]
21633 - Add missing <dbus/dbus.h> header
21634 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21635 - Zero out NMData structure on free
21636 - No longer use a thread for allowed_ap_list updating, instead its now done
21637 through dbus queries against NetworkManagerInfo
21638 - Populate allowed_ap_list initially before adding existing network devices
21639 to the device list, so wireless devices can get their "best" AP
21641 * src/NetworkManagerDbus.[ch]
21642 - Convert to using dbus_message_append_args/dbus_message_get_args
21643 - Better error checking
21644 - Implement Allowed Network info functions to request allowed network
21645 info from NetworkManagerInfo
21646 - Implement the filter function to process signals from NetworkManagerInfo
21647 about changing allowed networks
21649 * src/NetworkManagerDevice.c
21650 - Fix file descriptor leak in nm_device_update_ip4_address()
21652 2004-07-27 Dan Williams <dcbw@redhat.com>
21657 dispatcher-daemon/.cvsignore
21658 info-daemon/.cvsignore
21659 - Add .cvsignore files to reduce noise when diffing
21661 2004-07-24 Dan Williams <dcbw@redhat.com>
21663 * src/NetworkManager.[ch]
21664 src/NetworkManagerDbus.[ch]
21665 src/NetworkManagerDevice.[ch]
21666 src/NetworkManagerPolicy.c
21667 src/NetworkManagerWireless.[ch]
21668 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21669 - Pass the NMData application data structure through all calls
21670 that need it so we can get rid of nm_get_global_data()
21671 - Change deallocation of the allowed_ap_list GSList in preparation
21672 for not completely clearing it every time we get an update,
21673 but instead getting incremental updates via GConf/dbus
21675 2004-07-22 Dan Williams <dcbw@redhat.com>
21678 - Add checks for GConf libs & headers & flags
21680 * info-daemon/Makefile.am
21681 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21683 * info-daemon/NetworkManagerInfo.[ch]
21684 - Don't use gquarks for data storage, just use normal data storage
21685 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21687 * info-daemon/NetworkManagerDbus.[ch]
21688 - Add method call for getting allowed networks
21689 - Add method calls for getting an allowed network's essid, priority, and key
21690 - Hook the method calls up to GConf
21691 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21692 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21694 * src/NetworkManagerDbus.[ch]
21695 - Switch for enumeration of networks to using essid instead
21699 - Add test program for NetworkManagerInfo
21701 2004-07-19 Dan Williams <dcbw@redhat.com>
21703 * src/NetworkManagerDbus.c
21704 - Switch from indexed device paths to names. Less code, more efficient.
21705 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21707 2004-07-19 Dan Williams <dcbw@redhat.com>
21709 * dispatcher-daemon/NetworkManagerDispatcher.c
21710 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21712 2004-07-19 Dan Williams <dcbw@redhat.com>
21715 - Add info-daemon directory
21718 - Check for glade libs and headers
21719 - Add info-daemon directory
21721 * src/NetworkManagerAP.c
21722 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21723 copied over to the new AP.
21725 * src/NetworkManagerDbus.c
21726 src/NetworkManagerDbus.h
21727 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21728 - Remove nm_dbus_signal_need_key_for_network()
21729 - Add disabled code for asynchronous user wep key callbacks
21730 - Add functions for getting, setting, and cancelling user key operations
21731 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21732 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21734 * src/NetworkManagerDevice.c
21735 src/NetworkManagerDevice.h
21736 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21737 logic is in device activation now
21738 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21739 key is wrong) trigger get-user-key pending action
21740 - Implement get-user-key pending action stuff, tie to dbus messages
21741 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21742 - Add nm_device_ap_list_get_ap_by_essid()
21743 - Instead of copying "best" access points, ref them instead so that the key we set
21746 * src/NetworkManagerPolicy.c
21747 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21748 - Don't cancel pending actions on a device if its the same device as last iteration
21749 - Only promote pending_device->active_device if activation was successfull
21752 - Rename nmclienttest->nmtest
21754 * info-daemon/Makefile.am
21755 info-daemon/NetworkManagerInfo.c
21756 info-daemon/NetworkManagerInfo.h
21757 info-daemon/NetworkManagerInfoDbus.c
21758 info-daemon/NetworkManagerInfoDbus.h
21759 info-daemon/passphrase.glade
21760 info-daemon/NetworkManagerInfo.conf
21761 info-daemon/keyring.png
21762 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21763 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21764 lists to NetworkManager by proxying user's GConf
21767 2004-07-15 Dan Williams <dcbw@redhat.com>
21772 * src/NetworkManager.c
21773 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21774 that doing the deactivation ourselves
21775 - Cancel an pending actions on a device if its being removed
21776 - Break up link state checking a bit, make non-active wireless cards
21777 deactivated to save power
21778 - Remove unused variables
21780 * src/NetworkManager.h
21781 - Add support for "pending" device
21783 * src/NetworkManagerAP.h
21784 src/NetworkManagerAP.c
21785 - Add support for determining whether and AP has encryption enabled or not
21786 - AP address is now "struct ether_addr" rather than a string
21788 * src/NetworkManagerDbus.h
21789 src/NetworkManagerDbus.c
21790 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21791 - Changes for AP address from struct ether_addr->string
21793 * src/NetworkManagerDevice.h
21794 src/NetworkManagerDevice.c
21795 - Remove unused variables, fix warnings
21796 - Add support for Pending Actions (things that block a device from being "active"
21797 until they are completed).
21798 - First pending action: Get a WEP key from the user
21799 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21800 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21801 - Update wireless link checking to try to determine if the AP we are associated
21802 with is correct, but the WEP key we are using is just wrong. If its wrong,
21803 trigger the GetUserKey pending action on the device
21804 - If dhclient can't get an IP address, it brings the device down. Bring it back
21805 up in that case, otherwise we can't scan or link-check on it
21806 - Add IP address change notifications at appropriate points (still needs some work)
21807 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21809 * src/NetworkManagerPolicy.h
21810 src/NetworkManagerPolicy.c
21811 - Split out "best" access point determiniation into separate function
21812 - Make device activation 2-stage: first the device is pending, then
21813 in the next iteration through it becomes "active" unless it has
21816 * src/NetworkManagerUtils.h
21817 src/NetworkManagerUtils.c
21818 - Clean up unused variables and warnings
21819 - Wrap our debug macros in {} to prevent possible confusion
21821 * src/NetworkManagerWireless.c
21822 - Forgot to return current best priority, which lead to last available AP always
21823 being chosen no matter what its priority was. Corrected.
21825 2004-07-15 Dan Williams <dcbw@redhat.com>
21827 * dispatcher-daemon/Makefile.am
21830 * dispatcher-daemon/NetworkManagerDispatcher.c
21831 - Remove unused variables due to warnings
21832 - Fix some comments
21833 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21835 2004-07-06 Dan Williams <dcbw@redhat.com>
21837 * src/NetworkManager.c
21838 - Add IPv4 address update for active device during link state check
21839 - Don't allow wireless cards to be powered up when they are not the
21842 * src/NetworkManagerDbus.c
21843 src/NetworkManagerDbus.h
21844 - Add DBUS IPv4 address change signal
21845 - Add DBUS IPv4 address get method for devices
21847 * src/NetworkManagerDevice.c
21848 - Make setting the WEP key actually work
21849 - Move IP address get/set/update stuff here, per-device
21850 - Power down/bring down wireless device when deactivated
21851 - For scanning wireless devices, if first scan returned ENODATA, try again
21853 * src/NetworkManagerPolicy.c
21854 - Only set the WEP key for an allowed access point if there is one.
21855 We were setting it to be blank if one wasn't specified.
21857 * src/NetworkManagerUtils.h
21858 src/NetworkManagerUtils.c
21859 - Move the IP address stuff to NetworkManagerDevice.c
21861 * dispatcher-daemon/NetworkManagerDispatcher.c
21862 - Add device IPv4 address change notification stuff
21864 2004-07-05 Dan Williams <dcbw@redhat.com>
21866 * dispatcher-daemon/NetworkManagerDispatcher.c
21867 - A bit more descriptive state message
21868 - Don't segfault when reading directory
21870 * src/NetworkManager.h
21871 - Remove NMData desired_ap member, its now
21872 per-device rather than global
21874 * src/NetworkManager.c
21875 - Remove references to desired_ap
21876 - Move the allowed AP list refresh stuff into a thread
21878 * src/NetworkManagerDevice.c
21879 src/NetworkManagerDevice.h
21880 - Each wireless device now has a "best ap"
21881 - Make device activate/deactivate functions per-device
21882 - Make wireless scanning per-device
21883 - Add IPv4 address discover functions, stub IPv6 ones
21884 - Move ethernet address validation functions to NetworkManagerUtils.c
21885 - Add wireless access point accessor function
21886 - Get/Set functions for "best ap"
21888 * src/NetworkManagerPolicy.c
21889 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21890 - Deal with per-device "best ap" rather than data->desired_apa
21891 - Implement allowed access point worker thread
21892 - Add nm_policy_essid_is_allowed() function
21894 * src/NetworkManagerUtils.c
21895 src/NetworkManagerUtils.h
21896 - Add nm_ethernet_address_is_valid() function
21897 - Add IPv4/IPv6 address get functions
21899 * src/NetworkManagerWireless.c
21900 src/NetworkManagerWireless.h
21901 - Move scanning stuff into NetworkManagerDevice.c, per-device
21903 2004-06-29 Dan Williams <dcbw@redhat.com>
21905 * dispatcher-daemon/NetworkManagerDispatcher.c
21906 - Implement script callout functionality
21908 2004-06-24 Dan Williams <dcbw@redhat.com>
21912 - Flush device routes and ip addresses when added to the device list
21914 * NetworkManagerDbus.c
21916 - Add missing returns in the two signal functions
21918 * NetworkManagerPolicy.c
21919 - Spacing and variable cleanups
21921 2004-06-24 Dan Williams <dcbw@redhat.com>
21926 dispatcher-daemon/Makefile.am
21927 dispatcher-daemon/Makefile.in
21928 dispatcher-daemon/NetworkManagerDispatcher.c
21929 - Add a daemon that receives signals from NetworkManager
21930 and will (eventually) call scripts in /etc/somewhere
21931 when devices go up or down.
21935 - Flush device routes and ip addresses when added to the device list
21937 * NetworkManagerDbus.c
21939 - Add missing returns in the two signal functions
21941 * NetworkManagerPolicy.c
21942 - Spacing and variable cleanups
21943 - Rename nm_policy_switch_interface->nm_policy_switch_device
21944 - nm_policy_switch_device():
21945 Use kill (pid) instead of system ("kill <pid>")
21946 - nm_state_modification_monitor():
21947 Add wireless essid to output of debug statements
21948 Correct typo in device compare to switch or not (should be !=)
21949 Don't sleep after sending "no longer active" signal, was useless
21951 2004-06-24 Dan Williams <dcbw@redhat.com>