1 2008-11-19 Dan Williams <dcbw@redhat.com>
3 * libnm-util/nm-connection.c
4 libnm-util/nm-connection.h
5 - (nm_connection_replace_settings): take a GError
7 * libnm-glib/nm-settings.c
8 libnm-glib/nm-dbus-connection.c
10 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
11 system-settings/plugins/keyfile/nm-keyfile-connection.c
12 system-settings/plugins/keyfile/plugin.c
13 - Handle, or don't handle, errors from nm_connection_replace_settings()
15 2008-11-19 Dan Williams <dcbw@redhat.com>
17 * libnm-util/libnm-util.ver
18 libnm-util/nm-connection.c
19 - (nm_setting_register, nm_setting_unregister): unexport; they are
20 private and don't have a use outside libnm-util
22 2008-11-17 Dan Williams <dcbw@redhat.com>
24 * src/nm-hso-gsm-device.c
25 - (real_connection_secrets_updated): handle PIN/PUK correctly for HSO
28 2008-11-17 Dan Williams <dcbw@redhat.com>
30 * system-settings/plugins/ifcfg-fedora/reader.c
31 - (read_mac_address): clean up
32 - (make_wireless_setting): pass NULL array to read_mac_address() like it
35 * system-settings/plugins/ifcfg-fedora/plugin.c
36 - (read_one_connection): don't segfault on NULL errors
38 2008-11-14 Dan Williams <dcbw@redhat.com>
42 2008-11-14 Dan Williams <dcbw@redhat.com>
44 Handle gateways on different subnets
46 * src/NetworkManagerSystem.c
47 - (add_ip4_route_to_gateway): gateway route should be link scope and
49 - (replace_default_ip4_route): use a destination address too; gateway
50 address should be /0; don't leak the gateway route object
52 2008-11-14 Dan Williams <dcbw@redhat.com>
54 * libnm-glib/libnm_glib.ver
55 libnm-glib/nm-dbus-settings-system.c
56 libnm-glib/nm-dbus-settings-system.h
57 - Add libnm-glib bits for CanModify
59 2008-11-14 Dan Williams <dcbw@redhat.com>
61 * introspection/nm-settings-system.xml
62 system-settings/src/dbus-settings.c
63 system-settings/src/dbus-settings.h
64 - Add a "CanModify" property to indicate if any plugins support
65 connection modification
67 2008-11-14 Dan Williams <dcbw@redhat.com>
69 Relicense libnm-glib to LGPLv2+ with agreement from contributors
71 2008-11-14 Dan Williams <dcbw@redhat.com>
73 * vpn-manager/nm-vpn-connection.c
74 - (plugin_state_changed): clear VPN secrets on error to ensure they
75 are always requested from the settings service (rh #429287)
77 2008-11-13 Dan Williams <dcbw@redhat.com>
80 - (crypto_get_private_key_data): fix bad initial arg type checking
83 2008-11-13 Dan Williams <dcbw@redhat.com>
85 Add support for PKCS#12 private keys (bgo #558982)
89 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
90 take a GByteArray instead of a filename
91 - (file_to_g_byte_array): handle private key files too
92 - (decrypt_key): take a GByteArray rather than data + len
93 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
94 one function that takes a filename, and one that takes raw data;
95 detect pkcs#12 files as well
96 - (crypto_load_and_verify_certificate): detect file type
97 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
100 * libnm-util/crypto_gnutls.c
101 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
102 whereby tail padding was incorrectly handled, leading to erroneous
103 successes when trying to decrypt the data
104 - (crypto_verify_cert): rework somewhat
105 - (crypto_verify_pkcs12): validate pkcs#12 keys
107 * libnm-util/crypto_nss.c
108 - (crypto_init): enable various pkcs#12 ciphers
109 - (crypto_decrypt): take a GByteArray rather than data + len
110 - (crypto_verify_cert): clean up
111 - (crypto_verify_pkcs12): validate pkcs#12 keys
113 * libnm-util/test-crypto.c
114 - Handle pkcs#12 keys
116 * libnm-util/nm-setting-8021x.c
117 libnm-util/nm-setting-8021x.h
118 libnm-util/libnm-util.ver
119 - Add two new properties, 'private-key-password' and
120 'phase2-private-key-password', to be used in conjunction with
122 - (nm_setting_802_1x_set_ca_cert_from_file,
123 nm_setting_802_1x_set_client_cert_from_file,
124 nm_setting_802_1x_set_phase2_ca_cert_from_file,
125 nm_setting_802_1x_set_phase2_client_from_file): return certificate
127 - (nm_setting_802_1x_get_private_key_password,
128 nm_setting_802_1x_get_phase2_private_key_password): return private
130 - (nm_setting_802_1x_set_private_key_from_file,
131 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
132 key from a file, and update the private key password at the same time
133 - (nm_setting_802_1x_get_private_key_type,
134 nm_setting_802_1x_get_phase2_private_key_type): return the private
137 * src/supplicant-manager/nm-supplicant-settings-verify.c
138 - Whitelist private key passwords
140 * src/supplicant-manager/nm-supplicant-config.c
141 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
142 add the private key password to the supplicant config, but do not
143 add the client certificate (as required by wpa_supplicant)
145 2008-11-12 Tambet Ingo <tambet@gmail.com>
147 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
148 (add_secrets): Don't add empty secrets to the secrets hash table.
150 2008-11-07 Dan Williams <dcbw@redhat.com>
152 * libnm-util/nm-setting-wireless.c
153 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
154 that cased this function to return garbage, breaking hidden AP
157 2008-11-07 Dan Williams <dcbw@redhat.com>
159 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
161 * src/NetworkManagerSystem.c
162 src/NetworkManagerSystem.h
163 - (nm_system_device_set_ip4_route): return the route that was added
164 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
165 public, clean up, and return the route that was added
166 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
167 since nm_system_add_ip4_vpn_gateway_route() is now available; add
168 flags to allow only certain attributes of the NMIP4Config to be
172 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
173 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
174 what's really changed between the old and new configs; don't export
175 the new IP4 config on failure; always send the DNS info to the
178 * src/vpn-manager/nm-vpn-connection.c
179 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
180 parent device's IP4Config and re-add the VPN gateway route when it
182 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
183 nm_system_apply_ip4_config() no longer does) and cache it for later
184 - (connection_state_changed): move cleanup code to its own function
185 - (vpn_cleanup): delete any previously added VPN gateway route; and
186 re-apply the parent device's addresses and routes using
187 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
189 2008-11-07 Dan Williams <dcbw@redhat.com>
191 * src/nm-ip4-config.c
193 - (nm_ip4_config_diff): new function; return the difference between two
195 - (nm_ip4_config_compare): change into nm_ip4_config_diff
197 2008-11-05 Dan Williams <dcbw@redhat.com>
201 - (nm_ip4_config_compare): compare two IP4 configs
203 2008-11-05 Dan Williams <dcbw@redhat.com>
205 * src/NetworkManagerPolicy.c
206 - (update_etc_hosts): only add newline if not the last line of the file
209 2008-11-05 Dan Williams <dcbw@redhat.com>
211 * src/dhcp-manager/nm-dhcp-dhclient.c
212 - (get_leasefile_for_iface): move lease files back to where dhclient
215 2008-11-05 Michael Biebl <mbiebl@gmail.com>
217 * initscripts/Debian/NetworkManager
218 - Update to what Debian is actually using
220 2008-11-05 Tambet Ingo <tambet@gmail.com>
222 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
224 2008-11-03 Dan Williams <dcbw@redhat.com>
226 * system-settings/src/main.c
227 - (add_default_dhcp_connection): make the fallback connection read-only
229 * libnm-glib/nm-settings.c
230 libnm-glib/nm-settings.h
231 - Add detailed errors
232 - (impl_exported_connection_update, impl_exported_connection_delete):
233 return an error if the connection is read-only
235 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
236 system-settings/plugins/keyfile/nm-keyfile-connection.c
237 system-settings/src/main.c
238 - Use more detailed errors
240 * system-settings/src/nm-system-config-error.c
241 system-settings/src/nm-system-config-error.h
242 system-settings/src/dbus-settings.c
243 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
244 NM_SETTINGS_ERROR_INVALID_CONNECTION
246 2008-11-02 Dan Williams <dcbw@redhat.com>
248 * Add license headers to everything in src/
250 2008-11-02 Dan Williams <dcbw@redhat.com>
254 2008-11-02 Dan Williams <dcbw@redhat.com>
256 * src/NetworkManagerAP.c
257 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
258 setting as unencrypted; fixes a bug where NM wouldn't ask for new
259 secrets when connecting to an encrypted network failed
261 2008-10-30 Dan Williams <dcbw@redhat.com>
263 * libnm-util/libnm-util.ver
264 libnm-util/nm-setting-ip6-config.c
265 libnm-util/nm-setting-ip6-config.h
266 libnm-util/Makefile.am
267 - Make properties private and add accessor functions
268 - Hide IPv6 stuff from public API, it's incomplete and completely unused
270 * libnm-util/nm-connection.c
271 libnm-util/nm-utils.c
272 libnm-util/nm-utils.h
273 - Ignore IPv6 stuff for now
275 2008-10-30 Dan Williams <dcbw@redhat.com>
277 * libnm-util/libnm-util.ver
278 libnm-util/nm-setting-8021x.c
279 libnm-util/nm-setting-8021x.h
280 - Make properties private and add accessor functions
282 * src/supplicant-manager/nm-supplicant-config.c
283 system-settings/plugins/ifcfg-suse/parser.c
284 - Use 802.1x setting accessors
286 2008-10-30 Dan Williams <dcbw@redhat.com>
288 * libnm-util/libnm-util.ver
289 libnm-util/nm-setting-wireless-security.c
290 libnm-util/nm-setting-wireless-security.h
291 - Make properties private and add accessor functions
293 * libnm-util/nm-setting-wireless.c
294 src/NetworkManagerAP.c
296 src/supplicant-manager/nm-supplicant-config.c
297 system-settings/plugins/ifcfg-fedora/reader.c
298 system-settings/plugins/ifcfg-suse/parser.c
299 - Use wireless security accessors
301 2008-10-30 Dan Williams <dcbw@redhat.com>
303 * src/nm-device-ethernet.c
306 src/ppp-manager/nm-ppp-manager.c
307 - Harmonize return checking of ioctl
309 * system-settings/plugins/ifcfg-fedora/reader.c
310 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
312 2008-10-30 Dan Williams <dcbw@redhat.com>
314 * src/ppp-manager/nm-ppp-manager.c
315 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
316 ppp_generic module to create it (bgo #533064)
318 2008-10-30 Dan Williams <dcbw@redhat.com>
320 Patch from Alexander Sack <asac@canonical.com>
322 Fix "ppp connections don't honour ip4 connection settings"
324 * src/nm-device-ethernet.c
325 - (real_act_stage4_get_ip4_config): merge ip4config settings
326 with results from ppp manager
328 * src/nm-serial-device.c
329 - (real_act_stage4_get_ip4_config): merge ip4config settings
330 with results from ppp manager
332 2008-10-29 Dan Williams <dcbw@redhat.com>
334 * libnm-util/libnm-util.ver
335 libnm-util/nm-setting-ip4-config.c
336 libnm-util/nm-setting-ip4-config.h
337 - Make properties private and add accessor functions
339 * callouts/nm-dispatcher-action.c
340 libnm-glib/libnm-glib-test.c
341 libnm-util/nm-utils.c
342 src/NetworkManagerPolicy.c
343 src/NetworkManagerSystem.c
344 src/NetworkManagerUtils.c
345 src/dhcp-manager/nm-dhcp-dhclient.c
346 src/dhcp-manager/nm-dhcp-manager.c
347 src/dnsmasq-manager/nm-dnsmasq-manager.c
350 src/nm-hso-gsm-device.c
353 src/ppp-manager/nm-ppp-manager.c
354 src/vpn-manager/nm-vpn-connection.c
355 system-settings/plugins/ifcfg-fedora/reader.c
356 system-settings/plugins/ifcfg-suse/parser.c
357 system-settings/plugins/ifcfg-suse/plugin.c
358 system-settings/plugins/ifupdown/parser.c
360 vpn-daemons/vpnc/properties/nm-vpnc.c
361 - Use IP4 accessor functions
363 2008-10-29 Tambet Ingo <tambet@gmail.com>
365 Half of it by Dan Williams <dcbw@redhat.com>
367 * libnm-util/libnm-util.ver
368 libnm-util/nm-setting-vpn.c
369 libnm-util/nm-setting-vpn.h
370 - Make properties private and add accessor functions.
372 * src/vpn-manager/nm-vpn-connection.c
373 src/vpn-manager/nm-vpn-manager.c
374 system-settings/plugins/keyfile/reader.c
375 vpn-daemons/openvpn/properties/auth-helpers.c
376 vpn-daemons/openvpn/properties/import-export.c
377 vpn-daemons/openvpn/properties/nm-openvpn.c
378 vpn-daemons/openvpn/src/nm-openvpn-service.c
379 vpn-daemons/pptp/auth-dialog/main.c
380 vpn-daemons/pptp/properties/advanced-dialog.c
381 vpn-daemons/pptp/properties/nm-pptp.c
382 vpn-daemons/pptp/src/nm-pptp-service.c
383 vpn-daemons/vpnc/properties/nm-vpnc.c
384 vpn-daemons/vpnc/src/nm-vpnc-service.c
385 - Use VPN setting accessors.
387 2008-10-28 Dan Williams <dcbw@redhat.com>
389 Patch from Tambet Ingo <tambet@gmail.com>
391 * libnm-util/libnm-util.ver
392 libnm-util/nm-setting-wireless.c
393 libnm-util/nm-setting-wireless.h
394 - Make properties private and add accessor functions
396 * src/NetworkManagerAP.c
399 src/supplicant-manager/nm-supplicant-config.c
400 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
401 system-settings/plugins/ifcfg-fedora/reader.c
402 system-settings/plugins/ifcfg-suse/parser.c
403 system-settings/plugins/ifupdown/parser.c
404 - Use wireless setting accessors
406 2008-10-27 Dan Williams <dcbw@redhat.com>
408 Patch from Tambet Ingo <tambet@gmail.com>
410 * libnm-util/libnm-util.ver
411 libnm-util/nm-setting-ppp.c
412 libnm-util/nm-setting-ppp.h
413 - Make properties private and add accessor functions
415 * src/ppp-manager/nm-ppp-manager.c
416 - Use ppp setting accessors
418 2008-10-27 Dan Williams <dcbw@redhat.com>
420 Patch from Tambet Ingo <tambet@gmail.com>
422 * libnm-util/nm-setting.h
423 libnm-util/nm-setting.c
424 - Make properties private and add accessor functions
426 * libnm-util/nm-connection.c
427 libnm-util/nm-setting-8021x.c
428 libnm-util/nm-setting-cdma.c
429 libnm-util/nm-setting-connection.c
430 libnm-util/nm-setting-gsm.c
431 libnm-util/nm-setting-ip4-config.c
432 libnm-util/nm-setting-ip6-config.c
433 libnm-util/nm-setting-ppp.c
434 libnm-util/nm-setting-pppoe.c
435 libnm-util/nm-setting-serial.c
436 libnm-util/nm-setting-template.c
437 libnm-util/nm-setting-vpn.c
438 libnm-util/nm-setting-wired.c
439 libnm-util/nm-setting-wireless-security.c
440 libnm-util/nm-setting-wireless.c
441 system-settings/plugins/keyfile/reader.c
442 system-settings/plugins/keyfile/writer.c
443 - Use setting accessors
445 2008-10-27 Dan Williams <dcbw@redhat.com>
447 * libnm-util/libnm-util.ver
448 libnm-util/nm-setting-connection.c
449 libnm-util/nm-setting-connection.h
450 - Add a 'read-only' property that indicates the connection cannot be
453 * system-settings/plugins/ifcfg-fedora/reader.c
454 system-settings/plugins/ifcfg-suse/parser.c
455 system-settings/plugins/ifupdown/parser.c
456 - These plugins are read-only at the moment
458 * system-settings/plugins/keyfile/reader.c
459 system-settings/plugins/keyfile/writer.c
460 - Read-only shouldn't get saved out to files or read in from them
462 2008-10-27 Tambet Ingo <tambet@gmail.com>
464 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
465 correct speed reporting for fast devices (kernel >= 2.6.27).
467 2008-10-26 Dan Williams <dcbw@redhat.com>
469 Attempt to compensate for modems that don't enable full AT parsing before
470 the PIN has been entered.
472 * src/nm-gsm-device.c
473 - (init_modem): accept different init strings
474 - (init_done): try different init strings on failure
475 - (check_pin_done): on PIN success, do full modem init
477 2008-10-26 Dan Williams <dcbw@redhat.com>
479 Patch from Tambet Ingo <tambet@gmail.com>
481 * libnm-util/libnm-util.ver
482 libnm-util/nm-setting-connection.c
483 libnm-util/nm-setting-connection.h
484 - Make properties private and add accessor functions
486 * src/NetworkManagerPolicy.c
488 src/nm-device-ethernet.c
489 src/nm-device-interface.c
493 src/ppp-manager/nm-ppp-manager.c
494 src/vpn-manager/nm-vpn-connection.c
495 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
496 system-settings/plugins/ifcfg-fedora/plugin.c
497 system-settings/plugins/ifcfg-fedora/reader.c
498 system-settings/plugins/ifcfg-suse/parser.c
499 system-settings/plugins/ifupdown/parser.c
500 system-settings/plugins/keyfile/nm-keyfile-connection.c
501 system-settings/plugins/keyfile/plugin.c
502 system-settings/plugins/keyfile/writer.c
503 system-settings/src/main.c
504 - Use those accessors
506 2008-10-26 Dan Williams <dcbw@redhat.com>
508 Patch from Tambet Ingo <tambet@gmail.com>
510 * libnm-util/libnm-util.ver
511 libnm-util/nm-setting-gsm.c
512 libnm-util/nm-setting-gsm.h
513 - Make properties private and add accessor functions
515 * src/nm-gsm-device.c
516 src/nm-hso-gsm-device.c
517 src/ppp-manager/nm-ppp-manager.c
518 - Use those accessors
520 2008-10-26 Dan Williams <dcbw@redhat.com>
522 Patch from Tambet Ingo <tambet@gmail.com>
524 * libnm-util/libnm-util.ver
525 libnm-util/nm-setting-cdma.c
526 libnm-util/nm-setting-cdma.h
527 - Make properties private and add accessor functions
529 * src/nm-cdma-device.c
530 src/ppp-manager/nm-ppp-manager.c
531 - Use those accessors
533 2008-10-26 Dan Williams <dcbw@redhat.com>
535 Patch from Tambet Ingo <tambet@gmail.com>
537 * libnm-util/libnm-util.ver
538 libnm-util/nm-setting-pppoe.c
539 libnm-util/nm-setting-pppoe.h
540 - Make properties private and add accessor functions
542 * src/nm-device-ethernet.c
543 src/ppp-manager/nm-ppp-manager.c
544 - Use those accessors
546 2008-10-26 Dan Williams <dcbw@redhat.com>
548 Patch from Tambet Ingo <tambet@gmail.com>
550 * libnm-util/libnm-util.ver
551 libnm-util/nm-setting-wired.c
552 libnm-util/nm-setting-wired.h
553 - Make properties private and add accessor functions
555 * src/nm-device-ethernet.c
556 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
557 system-settings/plugins/ifcfg-suse/parser.c
558 system-settings/src/main.c
559 - Use those accessors
561 2008-10-26 Dan Williams <dcbw@redhat.com>
563 Patch from Tambet Ingo <tambet@gmail.com>
565 * libnm-util/libnm-util.ver
566 libnm-util/nm-setting-serial.c
567 libnm-util/nm-setting-serial.h
568 src/nm-serial-device.c
569 - Make properties private and use accessors instead
571 2008-10-26 Dan Williams <dcbw@redhat.com>
573 * src/supplicant-manager/nm-supplicant-interface.c
574 src/supplicant-manager/nm-supplicant-interface.h
575 src/supplicant-manager/nm-supplicant-manager.c
576 src/supplicant-manager/nm-supplicant-manager.h
577 - Add state-to-string conversion functions
579 * src/nm-device-wifi.c
580 src/nm-device-ethernet.c
581 - Normalize state info logging and use strings instead of numbers
583 2008-10-26 Dan Williams <dcbw@redhat.com>
585 * src/NetworkManagerPolicy.c
586 - (update_routing_and_dns): ignore host routes when determining whether
587 a VPN connection should own the default route (bgo #552594)
589 2008-10-24 Dan Williams <dcbw@redhat.com>
591 * src/nm-gsm-device.c
592 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
594 2008-10-23 Dan Williams <dcbw@redhat.com>
596 * src/ppp-manager/nm-ppp-manager.c
597 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
598 add really important stuff to the command line to ensure that NM
599 overrides /etc/ppp/options (bgo #556781)
601 2008-10-22 Dan Williams <dcbw@redhat.com>
603 * src/NetworkManagerSystem.c
605 - Use the device's IP interface where appropriate (Per Hallsmark)
607 2008-10-22 Dan Williams <dcbw@redhat.com>
609 * src/nm-gsm-device.c
610 - (schedule_automatic_registration_again): use a short timeout here
611 instead of an idle handler to avoid using too much CPU polling for
612 something we should be waiting a bit for anyway
614 2008-10-22 Dan Williams <dcbw@redhat.com>
616 * include/NetworkManager.h
617 introspection/nm-device.xml
618 - Add device state change reason for carrier changes
620 * src/nm-device-ethernet.c
621 - (set_carrier): use the carrier change reason when changing device
622 state in response to carrier changes
624 2008-10-21 Dan Williams <dcbw@redhat.com>
626 * src/NetworkManagerPolicy.c
627 - (update_etc_hosts): don't leak errors, and ensure that
628 g_file_set_contents() gets a valid error placeholder (rh #461933)
630 2008-10-21 Dan Williams <dcbw@redhat.com>
633 - (free_get_settings_info): don't use the DBusGProxy which could be
634 disposed of by the time the function is called
635 - (internal_new_connection_cb): save connection scope
636 - (connection_get_settings_cb): don't replace a connection unless it's
637 actually different from the existing one; fixes an issue where
638 killing the settings service wouldn't deactivate an active connection
639 provided by that settings service, because it was using a connection
640 that had already been replaced in the system or user hash
642 2008-10-21 Dan Williams <dcbw@redhat.com>
644 * src/NetworkManager.c
645 - (main): keep the DHCP manager around since it's a singleton; fixes
646 a use-after-free exposed by r4196 since the DHCP manager singleton
647 variable isn't cleared when the DHCP manager object is finalized
649 2008-10-20 Dan Williams <dcbw@redhat.com>
651 * libnm-util/nm-setting-wireless-security.c
652 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
654 2008-10-20 Dan Williams <dcbw@redhat.com>
656 * src/supplicant-manager/nm-supplicant-config.c
657 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
659 2008-10-20 Dan Williams <dcbw@redhat.com>
661 * src/dhcp-manager/nm-dhcp-manager.c
662 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
663 manager object already refs it once
664 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
665 also get cleaned up by nm_dhcp_device_destroy() to prevent
668 2008-10-20 Dan Williams <dcbw@redhat.com>
671 - (initial_get_connections): use private dbus manager, don't keep
672 ref-ing the singleton. Fixes mismatched refcounts of the dbus
675 2008-10-18 Dan Williams <dcbw@redhat.com>
677 * libnm-glib/nm-settings.c
678 libnm-glib/nm-settings.h
679 - Rename the "get_secrets" virtual function "service_get_secrets" to
680 clarify when it's used; NMExportedConnetion is a base-class for both
681 the client and service side, which is sort of confusing, and
682 get_secrets only makes sense on the service side.
684 * libnm-glib/nm-dbus-connection.c
685 - (get_secrets): remove, unused, and clients need to do extra work to
686 get secrets anyway since the call can block on the remote side
688 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
689 system-settings/plugins/keyfile/nm-keyfile-connection.c
690 - Fix up for get_secrets -> service_get_secrets
692 2008-10-16 Dan Williams <dcbw@redhat.com>
694 * src/nm-device-wifi.c
695 - (constructor): correctly determine encryption capabilities
697 2008-10-15 Dan Williams <dcbw@redhat.com>
699 * src/nm-device-wifi.c
700 - (wireless_qual_to_percent): fix quality calculation in a fallback case
703 2008-10-15 Dan Williams <dcbw@redhat.com>
705 * src/NetworkManagerSystem.c
706 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
707 if the ip4_dest is in a smaller subnet contained within a subnet
708 the machine is currently on, the destination is in the same subnet
709 - (nm_system_device_set_ip4_route): move subnet checks to callers
710 - (add_vpn_gateway_route): check if the VPN gateway is in the same
711 subnet as the parent device, and if so, don't add the direct
712 host route via the parent device's gateway (bgo #481620)
713 - (nm_system_apply_ip4_config): check whether the route to be added
714 is contained within a subnet the device is already on
716 2008-10-11 Dan Williams <dcbw@redhat.com>
718 * include/NetworkManager.h
719 introspection/nm-device.xml
720 include/NetworkManagerVPN.h
721 - Add a few more state reasons for the device deactivated state
723 * src/nm-device-interface.c
724 src/nm-device-interface.h
725 - (nm_device_interface_deactivate): add a 'reason' argument
729 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
730 - (nm_device_state_changed): pass the state change reason to
731 nm_device_take_down()
732 - (nm_device_set_managed): take a 'reason' argument, and pass it along
733 to the state change function
737 - (remove_one_device, handle_unmanaged_devices, sync_devices,
738 impl_manager_sleep): pass a reason code to nm_device_set_managed()
739 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
740 something reasonable along to VPN deactivation
742 * src/vpn-manager/nm-vpn-manager.c
743 src/vpn-manager/nm-vpn-manager.h
744 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
745 pass that along to nm_vpn_connection_disconnect()
747 2008-10-11 Dan Williams <dcbw@redhat.com>
749 * src/nm-device-wifi.c
750 - (can_scan): remove old madwifi hack for not scanning while connected
752 2008-10-11 Dan Williams <dcbw@redhat.com>
754 Add support for VPN subnet gateways (bgo #549196)
756 * include/NetworkManager.h
757 - Add key for internal VPN subnet gateway
759 * src/vpn-manager/nm-vpn-connection.c
760 - (ip_address_to_string): return a const from a static buffer so we
761 don't leak a lot of strings
762 - (print_vpn_config): print internal VPN gateway as well
763 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
765 - (nm_vpn_connection_get_ip4_internal_gateway): new function
767 * src/NetworkManagerSystem.c
768 src/NetworkManagerSystem.h
769 - (nm_system_device_replace_default_ip4_route): split into two, one for
770 VPN connections and one for normal devices
771 - (replace_default_ip4_route): break out route stuff into its own function
772 - (nm_system_replace_default_ip4_route_vpn,
773 nm_system_replace_default_ip4_route): simplify by having two cases,
774 one for VPNs and one for normal devices
776 * src/NetworkManagerPolicy.c
777 - (update_routing_and_dns): simplify, use split default route replacement
780 2008-10-10 Dan Williams <dcbw@redhat.com>
782 Rework default route handling to consolidate decisions in the policy,
783 and to take active VPN connections into account when changing the default
786 * src/NetworkManager.c
787 - (main): pass the vpn_manager to the policy so it knows about active
788 VPN connections; clean up the named manager which wasn't done before
790 * src/NetworkManagerPolicy.c
791 src/NetworkManagerPolicy.h
792 - (nm_policy_new): get a clue about the vpn_manager
793 - (update_default_route): remove, fold into update_routing_and_dns()
794 - (update_routing_and_dns): handle active VPN connections too; an
795 active VPN connection becomes the default route if it does not have
796 server-specified or user-specified custom routes. Otherwise, the
797 best active device gets the default route
798 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
799 nm_policy_destroy): track VPN connection activation and deactivation
800 and update the default route when appropriate
802 * src/NetworkManagerSystem.c
803 src/NetworkManagerSystem.h
804 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
805 in the VPN connection itself
806 - (nm_system_vpn_device_set_from_ip4_config,
807 nm_system_device_set_from_ip4_config): merge together to make
808 nm_system_apply_ip4_config()
809 - (add_vpn_gateway_route): add a route to the VPN's external gateway
810 via the parent device
811 - (nm_system_apply_ip4_config): simplify
812 - (add_ip4_route_to_gateway): new function; add a direct route to the
814 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
815 route stuff out into add_ip4_route_to_gateway() for clarity
818 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
820 * src/vpn-manager/nm-vpn-connection.c
821 src/vpn-manager/nm-vpn-connection.h
822 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
823 nm_vpn_connection_get_parent_device): add
824 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
826 - (connection_state_changed): update the named manager now that
827 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
830 * src/vpn-manager/nm-vpn-manager.c
831 src/vpn-manager/nm-vpn-manager.h
832 - Add a 'connection-activated' signal
833 - (nm_vpn_manager_get_active_connections): new function; mainly for the
834 policy to find out about active VPN connections
836 2008-10-10 Tambet Ingo <tambet@gmail.com>
838 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
839 a daemon to prevent NM logging spew on console on startup and shutdown (due
840 to dependency loop between NM and syslog).
842 2008-10-10 Alexander Sack <asac@ubuntu.com>
844 Implement managed mode. We bind devices configured in /etc/network/interfaces
845 to their connections by updating wired/wireless setting with the
846 mac address of the device.
848 * system-settings/plugins/ifupdown/plugin.c
849 - (get_net_address_for_udi): implement function to retrieve MAC
850 address of udi from hal in GByteArray format
851 - (bind_device_to_connection): bind mac address of device to
852 wired/wireless system connection
853 - (hal_device_added_cb): call bind_device_to_connection for
854 system connections with a matching interface.name
855 - (hal_device_added_cb): ensure that all code paths
856 properly free the "iface" string.
858 2008-10-10 Alexander Sack <asac@ubuntu.com>
860 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
861 mode of the ifupdown system config plugin.
863 * system-settings/plugins/ifupdown/plugin.c
864 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
865 private unmanage_well_known state field accordingly
867 2008-10-10 Alexander Sack <asac@ubuntu.com>
869 Implement unmanaged mode that will prevent all devices in the
870 well_known_udis set from being touched by NetworkManager
872 * system-settings/plugins/ifupdown/plugin.c
873 - (typedef struct SCPluginIfupdownPrivate): add gboolean
874 unmanage_well_known field used to turn on/off unmanaged
876 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
877 signal when well_known_udis get added/removed
878 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
879 if we are in unmanaged mode
881 2008-10-10 Alexander Sack <asac@ubuntu.com>
883 Add support to track network devices that have a configuration
884 with a matching interface.name in /etc/network/interfaces
886 * system-settings/plugins/ifupdown/plugin.c
887 - (typedef struct SCPluginIfupdownPrivate): add hash table
888 to track |well_known_udis|
889 - (get_iface_for_udi): helper function to get interface.name
891 - (hal_device_added_cb, hal_device_removed_cb): callbacks
892 that add and remove devices to and from the well_known_udis
893 set depending on whether their |interface.name| matches
894 any interface definition in /etc/network/interfaces
895 - (SCPluginIfupdown_init): connect callbacks from above with
896 hal_mgr and setup well_known_udis hashtable
897 - (GObject__dispose): destroy well_known_udis hashtable
898 - (hal_device_added_cb2): implement wrapper callback with GFunc
899 signature. user_data is supposed to be a triple (hal_mgr,
901 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
902 startup and call hal_device_added_cb2
904 2008-10-10 Alexander Sack <asac@ubuntu.com>
906 Remove implementation for not used NMSystemConfigInterface callback functions
909 * system-settings/plugins/ifupdown/plugin.c
910 - (SCPluginIfupdown_unmanaged_devices_changed): removed
911 - (SCPluginIfupdown_connection_added): removed
913 2008-10-08 Dan Williams <dcbw@redhat.com>
915 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
917 * src/NetworkManagerUtils.c
918 - (nm_utils_call_dispatcher): add a 'hostname' action
920 * src/NetworkManagerPolicy.c
921 - (set_system_hostname): dispatch hostname changes
923 * callouts/nm-dispatcher-action.c
924 - (nm_dispatcher_action): handle 'hostname' actions
926 2008-10-08 Dan Williams <dcbw@redhat.com>
928 * src/NetworkManagerSystem.c
929 - (find_route): ref the route so it doesn't get destroyed when the cache
931 - (nm_system_device_set_priority): unref the route here after it's done
934 2008-10-08 Dan Williams <dcbw@redhat.com>
936 * src/nm-serial-device.c
937 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
939 2008-10-08 Tambet Ingo <tambet@gmail.com>
941 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
942 connection with new settings before saving it.
944 2008-10-06 Dan Williams <dcbw@redhat.com>
946 * src/nm-ip4-config.c
948 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
950 * src/nm-device-interface.c
951 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
952 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
953 by using '/' for the object path
956 - (src/nm-device.c): marshal missing/unexported ip4-config through
957 dbus as '/' since dbus-glib can't handle NULL objects nor can
958 dbus handle NULL object paths
960 2008-10-03 Alexander Sack <asac@ubuntu.com>
962 Implement system hostname support for debian/ubuntu
964 * system-settings/plugins/ifupdown/plugin.c
965 - (GObject__get_property): extend announced capabilities; add
966 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
967 - (GObject__set_property,write_system_hostname): implement
968 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
969 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
970 update_system_hostname, get_hostname):
971 implement hostname property that watches and
974 2008-10-03 Alexander Sack <asac@ubuntu.com>
976 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
977 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
978 system-settings/plugins/ifcfg-fedora/Makefile.am
979 system-settings/src/nm-inotify-helper.c
980 system-settings/src/nm-inotify-helper.h
982 - Move ifcfg-fedora inotify helpers to the system settings service so
983 they are available to all plugins
985 2008-10-03 Alexander Sack <asac@ubuntu.com>
987 Implement support for wep-tx-keyidx in ifupdown system
990 * system-settings/plugins/ifupdown/parser.c
991 - (update_wireless_security_setting_from_if_block): introduce
992 free_type_mapping func table; rename a few local
993 variables to improve readability; add wpa security mapping
994 for wep-tx-keyidx property
995 - (string_to_gpointerint): new function used for the auto_type_mapping
996 of new wep-tx-keyidx property
997 - (slist_free_all): free func used for mapped slist types
999 2008-10-03 Alexander Sack <asac@ubuntu.com>
1001 * system-settings/src/main.c:
1002 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
1003 always used as the hash key; fixes a crash when removing wired
1006 2008-10-02 Dan Williams <dcbw@redhat.com>
1008 * src/nm-gsm-device.c
1009 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
1010 pass the required GSM secret along via user_data rather than keeping
1011 it around in the private data where it sometimes didn't get cleared
1012 - (real_get_ppp_name): implement using the GSM username
1014 2008-10-02 Dan Williams <dcbw@redhat.com>
1016 * src/ppp-manager/nm-ppp-manager.c
1017 src/ppp-manager/nm-ppp-manager.h
1018 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
1019 the settings daemon for completely new ones
1020 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
1021 local PPP peer name; allow PPP debuging by launching NM with
1022 the environment variable NM_PPP_DEBUG defined
1023 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
1024 create_pppd_cmd_line()
1026 * src/nm-serial-device.c
1027 src/nm-serial-device.h
1028 - New 'get_ppp_name' function for subclasses to implement to return the
1030 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
1031 and pass that name to the PPP manager
1033 * src/nm-device-ethernet.c
1034 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
1037 * src/nm-cdma-device.c
1038 - (real_get_ppp_name): implement using the CDMA username
1040 2008-10-02 Dan Williams <dcbw@redhat.com>
1042 Patch from Alexander Sack <asac ubuntu com>
1044 * system-settings/plugins/ifupdown/parser.c
1045 - Implement more graceful ip4 config parsing for cases where
1046 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
1047 by using default values
1049 2008-10-02 Dan Williams <dcbw@redhat.com>
1051 * src/NetworkManagerPolicy.c
1052 - (device_state_changed): when marking a connection invalid, clear its
1053 secrets too so that fresh secrets get requested the next time
1055 2008-10-01 Dan Williams <dcbw@redhat.com>
1057 * system-settings/src/dbus-settings.c
1058 - (nm_sysconfig_settings_init): cache system hostname on startup as
1059 a fallback if no plugin provides a hostname
1060 - (get_property): fall back to cached hostname if no plugin provides
1063 2008-10-01 Dan Williams <dcbw@redhat.com>
1065 Fix setting value comparison issue that caused some settings to look the
1066 same when they were really different (rh #464417)
1068 * libnm-util/nm-param-spec-specialized.c
1069 - (type_is_fixed_size): return fundamental size of the fixed type too
1070 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1071 in the comparison so that the _entire_ fixed type collection gets
1072 compared rather than just the first 'len1' bytes
1074 2008-09-30 Dan Williams <dcbw@redhat.com>
1076 * src/NetworkManagerPolicy.c
1077 - (lookup_thread_worker): don't store the idle handler ID becuase the
1078 idle handler could have already run and freed the LookupThread
1081 2008-09-30 Tambet Ingo <tambet@gmail.com>
1083 * src/nm-device.c (nm_device_get_priority): Implement.
1084 (nm_device_set_ip4_config): Send the device priority to system ip4
1087 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1088 Add priority argument and if it's >= 0, set the priority of the network
1089 route added automatically by netlink (or kernel?).
1090 (nm_system_device_set_priority): Implement.
1092 * src/NetworkManagerPolicy.c (get_best_device): Use
1093 nm_device_get_priority() instead of home-grown version. Revert the
1094 meaning, best priority is the lowest one.
1096 2008-09-29 Dan Williams <dcbw@redhat.com>
1098 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1099 when it returns EAGAIN (rh #362421)
1101 * src/nm-device-wifi.c
1102 - (wireless_get_range): try GIWRANGE a few times until the card responds
1103 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1105 2008-09-28 Dan Williams <dcbw@redhat.com>
1107 * src/nm-serial-device.c
1108 src/nm-serial-device.h
1109 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1110 cleaned at the right times when subclasses close the serial port too
1111 - (nm_serial_device_send_command): use a default send delay; don't
1112 spin forever on EAGAIN
1113 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1114 remove, no longer used
1115 - (find_response): return the matched response if any
1116 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1118 - (wait_for_reply_done): pass the matched response to the callback
1119 - (wait_for_reply_got_data): save the matched response; simplify timeout
1121 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1122 const since they never get modified
1123 - (cleanup_device): split out common cleanup stuff to a new function
1124 - (real_deactivate_quickly, finalize): use cleanup_device()
1126 * src/nm-gsm-device.c
1127 - (modem_get_reply): remove, unused
1128 - (set_apn): give the card a bit more time to respond
1129 - (manual_registration_again, schedule_manual_registration_again,
1130 manual_registration_response, manual_registration): handle manual
1131 registration timeouts better by retrying registration a few times
1132 because cards are a bit slow after CFUN=1
1133 - (automatic_registration_get_network, get_network_response): use
1134 modem_wait_for_reply() because it interacts better with the serial
1135 buffer and does more intelligent matching; need to wait for 'OK'
1136 rather than just matching terminators
1137 - (schedule_automatic_registration_again,
1138 automatic_registration_response, automatic_registration): retry
1139 registration a few times on timeout or "searching" because cards
1140 take a bit to find a network after being powered up with CFUN=1
1141 - (power_up_response, power_up, init_full_done, enter_pin,
1142 check_pin_done): power up the card with CFUN=1 before trying to
1143 register with the network
1144 - (init_modem_full, init_modem): use more standard 3G init strings
1146 * src/nm-hso-gsm-device.c
1147 - (modem_get_reply): remove, unused
1148 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1149 modem_wait_for_reply() to match actual responses instead of single
1150 termination characters; it doesn't leave stuff in the serial buffer
1151 that might confuse later calls
1152 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1153 to ensure that the call is really disconnected and not leave extra
1154 stuff in the serial buffer
1156 * src/nm-cdma-device.c
1157 - (power_up_response, power_up, init_done): try Sierra-style modem
1158 power up before attempting to connect
1160 2008-09-27 Dan Williams <dcbw@redhat.com>
1162 * libnm-util/nm-setting-gsm.c
1163 - (verify): verify GSM network ID
1165 2008-09-25 Dan Williams <dcbw@redhat.com>
1167 * libnm-util/nm-setting-gsm.c
1168 libnm-util/nm-setting-gsm.h
1169 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1170 technology terms (bgo #551361)
1172 2008-09-25 Dan Williams <dcbw@redhat.com>
1174 Fix bgo #549401 (inspired by patch from Alexander Sack)
1176 * src/nm-device-ethernet.c
1177 - (finish_supplicant_task): clean up scheduled tasks and free memory
1178 - (remove_supplicant_interface_error_handler): remove the supplicant
1179 error idle callback too
1180 - (supplicant_interface_release): rename from supplicant_interface_clean
1181 to match nm-device-wifi.c; clean up supplicant interface-related
1182 state tasks when the supplicant interface is disposed of
1183 - (schedule_state_handler): add scheduled tasks to a list so they can
1185 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1186 supplicant_iface_connection_state_cb_handler): use
1187 finish_supplicant_task() to clean up each completed task
1188 - (supplicant_iface_connection_error_cb_handler,
1189 supplicant_connection_timeout_cb): clear source id when the task is
1191 - (supplicant_iface_connection_error_cb): save scheduled task id for
1193 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1196 * src/nm-device-wifi.c
1197 - (finish_supplicant_task): clean up scheduled tasks and free memory
1198 - (remove_supplicant_interface_error_handler): remove the supplicant
1199 error idle callback too
1200 - (supplicant_interface_release): clean up supplicant interface-related
1201 state tasks when the supplicant interface is disposed of
1202 - (schedule_state_handler): add scheduled tasks to a list so they can
1204 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1205 supplicant_iface_connection_state_cb_handler): use
1206 finish_supplicant_task() to clean up each completed task
1207 - (supplicant_iface_connection_error_cb_handler): clear source id when
1208 the task is complete
1209 - (supplicant_iface_connection_error_cb): save scheduled task id for
1211 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1213 2008-09-24 Tambet Ingo <tambet@gmail.com>
1215 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1216 method and get/set hostname property.
1218 2008-09-24 Tambet Ingo <tambet@gmail.com>
1220 * src/supplicant-manager/nm-supplicant-interface.c
1221 (nm_supplicant_interface_disconnect): Don't increment the reference
1222 count when disconnecting. The problem is on shutdown, when the replies
1223 to these commands do not arrive before NM exits, resulting on never
1224 calling supplicant interface's dispose(), which removes the interface
1227 2008-09-24 Tambet Ingo <tambet@gmail.com>
1229 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1230 all the public function arguments.
1232 2008-09-22 Tambet Ingo <tambet@gmail.com>
1234 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1235 "Failure" signal from VPN plugins, store the failure reason, and
1236 use it when the state is changed to failure.
1238 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1241 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1242 reason to the end of the list to not break the API.
1243 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1244 so it can be shared by plugins and daemon.
1246 2008-09-18 Dan Williams <dcbw@redhat.com>
1248 Patch from Alexander Sack <asac@ubuntu.com>
1251 system-settings/plugins/Makefile.am
1252 system-settings/plugins/ifupdown/Makefile.am
1253 system-settings/plugins/ifupdown/interface_parser.c
1254 system-settings/plugins/ifupdown/interface_parser.h
1255 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1256 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1257 system-settings/plugins/ifupdown/parser.c
1258 system-settings/plugins/ifupdown/parser.h
1259 system-settings/plugins/ifupdown/plugin.c
1260 system-settings/plugins/ifupdown/plugin.h
1261 - Implement a Debian/Ubuntu legacy network configuration plugin
1264 2008-09-18 Dan Williams <dcbw@redhat.com>
1266 Implement support for honoring configured and automatic hostnames, and for
1267 setting the configured hostname.
1269 * introspection/nm-ip4-config.xml
1272 src/dhcp-manager/nm-dhcp-manager.c
1273 - Remove useless hostname property; it's not really part of the IPv4
1276 * introspection/nm-settings-system.xml
1277 libnm-glib/nm-dbus-settings-system.c
1278 libnm-glib/nm-dbus-settings-system.h
1279 - Add SetHostname() call to system settings D-Bus interface
1280 - Add Hostname property to system settings D-Bus interface
1281 - (nm_dbus_settings_system_save_hostname,
1282 nm_dbus_settings_system_get_hostname): implement
1286 - (nm_device_get_dhcp4_config): implement
1290 - Fetch and track system settings service hostname changes, and proxy
1291 the changes via a GObject property of the manager
1293 * system-settings/src/nm-system-config-interface.c
1294 system-settings/src/nm-system-config-interface.h
1295 - Replace nm_system_config_interface_supports_add() with a capabilities
1298 * system-settings/src/nm-system-config-error.c
1299 system-settings/src/nm-system-config-error.h
1300 - Add additional errors
1302 * system-settings/src/dbus-settings.c
1303 system-settings/src/dbus-settings.h
1304 - (get_property, nm_sysconfig_settings_class_init): add hostname
1305 property; first plugin returning a hostname wins
1306 - (impl_settings_add_connection): use plugin capabilities instead of
1307 nm_system_config_interface_supports_add()
1308 - (impl_settings_save_hostname): implement hostname saving
1310 * src/NetworkManagerPolicy.c
1311 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1312 lookup_thread_die): implement an asynchronous hostname lookup thread
1313 which given an IPv4 address tries to look up the hostname for that
1314 address with reverse DNS
1315 - (get_best_device): split out best device code from
1316 update_routing_and_dns()
1317 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1318 to preserve the 127.0.0.1 reverse mapping that so many things require
1319 - (set_system_hostname): set a given hostname
1320 - (update_system_hostname): implement hostname policy; a configured
1321 hostname (from the system settings service) is used if available,
1322 otherwise an automatically determined hostname from DHCP, VPN, etc.
1323 If there was no automatically determined hostname, reverse DNS of
1324 the best device's IP address will be used, and as a last resort the
1325 hostname 'localhost.localdomain' is set.
1326 - (update_routing_and_dns): use get_best_device(); update the system
1327 hostname when the network config changes
1328 - (hostname_changed): update system hostname if the system settings
1329 service signals a hostname change
1330 - (nm_policy_new): list for system settings service hostname changes
1331 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1334 * system-settings/plugins/keyfile/plugin.c
1335 system-settings/plugins/ifcfg-suse/plugin.c
1336 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1337 capabilities properties
1339 * system-settings/plugins/ifcfg-fedora/shvar.c
1340 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1341 writes out /etc/sysconfig/network now
1343 * system-settings/plugins/ifcfg-fedora/plugin.c
1344 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1345 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1346 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1347 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1348 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1349 hostname get/set and capabilities get
1351 2008-09-18 Dan Williams <dcbw@redhat.com>
1353 * libnm-util/nm-setting-wireless.c
1354 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1355 group ciphers if the wireless-security setting explicitly specified
1356 them, effectively making the default be "all ciphers" (idea from
1359 2008-09-15 Dan Williams <dcbw@redhat.com>
1361 Patch from Alexander Sack <asac@ubuntu.com>
1363 * src/named-manager/nm-named-manager.c
1364 - (dispatch_resolvconf): respect resolvconf exit code
1366 2008-09-12 Tambet Ingo <tambet@gmail.com>
1368 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1369 again. Add some debugging.
1371 2008-09-11 Dan Williams <dcbw@redhat.com>
1373 * system-settings/plugins/keyfile/plugin.c
1374 - (update_connection_settings): update connection manually, since
1375 nm_exported_connection_update() does authentication
1376 - (dir_changed): update_connection_settings() doesn't need to return
1379 2008-09-09 Dan Williams <dcbw@redhat.com>
1381 * libnm-glib/nm-vpn-plugin-ui-interface.c
1382 libnm-glib/nm-vpn-plugin-ui-interface.h
1383 libnm-glib/libnm_glib_vpn.ver
1384 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1385 should clean up resources related to the connection (like keyring
1387 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1388 should save user-scope secrets (like to the keyring)
1390 2008-09-08 Dan Williams <dcbw@redhat.com>
1392 Patch from Alexander Sack <asac@ubuntu.com>
1394 * libnm-util/crypto_gnutls.c
1395 libnm-util/crypto_nss.c
1396 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1398 * libnm-util/nm-utils.c
1399 libnm-util/nm-utils.h
1400 libnm-util/libnm-util.ver
1401 - (nm_utils_init): initialize libnm-util
1402 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1404 * libnm-util/nm-setting-8021x.c
1405 - (nm_setting_802_1x_class_init): init libnm-util when needed
1407 2008-09-05 Dan Williams <dcbw@redhat.com>
1409 Patch from Roy Marples <roy@marples.name> and others
1412 src/named-manager/nm-named-manager.c
1413 - Add support for resolvconf; use --with-resolvconf at configure time
1416 2008-09-05 Dan Williams <dcbw@redhat.com>
1418 * libnm-util/crypto_nss.c
1419 libnm-util/crypto_gnutls.c
1421 - (crypto_init): return error when init fails
1423 2008-09-05 Dan Williams <dcbw@redhat.com>
1425 * libnm-glib/nm-device-wifi.c
1426 - (access_point_removed_proxy): clean up the active access point too
1427 just in case the active ap changed signal didn't come through yet
1428 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1430 2008-09-05 Dan Williams <dcbw@redhat.com>
1432 * libnm-glib/nm-client.c
1433 - (constructor): get initial state after we know whether NM is running
1436 2008-09-05 Dan Williams <dcbw@redhat.com>
1438 * libnm-glib/nm-ip4-config.c
1439 libnm-glib/nm-dhcp4-config.c
1440 - (finalize): clean up the DBusGProxy
1442 2008-09-04 Dan Williams <dcbw@redhat.com>
1444 * src/nm-ip4-config.c
1446 - (nm_ip4_config_new): don't export over D-Bus here
1447 - (nm_ip4_config_export): new function; export the config over D-Bus
1448 - (nm_ip4_config_is_exported): new function
1451 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1452 objects by balancing the IP4Config constructor; the device holds
1453 a reference to the IP4Config already
1454 - (nm_device_set_ip4_config): export the IP4Config when needed
1456 2008-09-04 Dan Williams <dcbw@redhat.com>
1458 * src/supplicant-manager/nm-supplicant-settings-verify.c
1459 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1461 2008-09-04 Dan Williams <dcbw@redhat.com>
1463 * libnm-util/nm-setting-vpn.c
1464 libnm-util/nm-setting-vpn.h
1465 - Split VPN secrets from VPN data so that settings services can actually
1466 figure out that they are secrets and store them accordingly
1468 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1469 system-settings/plugins/keyfile/reader.c
1470 system-settings/plugins/keyfile/reader.h
1471 system-settings/plugins/keyfile/writer.c
1472 - Store VPN secrets separately from VPN data so that they can be fetched
1474 - Implement the get_secrets() call so that (a) secrets don't leak out
1475 to unprivileged callers, and (b) secrets can be sent to privileged
1478 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1479 - Handle split VPN secrets
1481 2008-08-27 Dan Williams <dcbw@redhat.com>
1483 * system-settings/plugins/ifcfg-fedora/reader.c
1484 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1486 2008-08-27 Dan Williams <dcbw@redhat.com>
1488 Ensure zombie children get cleaned up. To get notifications when children
1489 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1490 that requires calling waitpid() yourself if you've removed the child watch
1491 handler before the process has actually died, which NM needs to do in a few
1492 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1493 cleans up after the child when required. Should fix problems trying to
1494 activate mobile broadband connections after a previous failure.
1496 * src/dhcp-manager/nm-dhcp-dhclient.c
1497 src/dhcp-manager/nm-dhcp-dhcpcd.c
1498 - Use G_SPAWN_DO_NOT_REAP_CHILD
1500 * src/dhcp-manager/nm-dhcp-manager.c
1501 - (nm_dhcp_device_destroy): ensure child is cleaned up
1502 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1503 block on child quitting, since the non-blocking functionality was
1506 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1507 - (dm_watch_cb): child is already reaped here
1508 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1511 - (aipd_cleanup): block until child is dead
1513 * src/named-manager/nm-named-manager.c
1514 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1515 event bothering to watch the child
1517 * src/ppp-manager/nm-ppp-manager.c
1518 - (ppp_watch_cb): child is already reaped here
1519 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1521 * src/vpn-manager/nm-vpn-service.c
1522 - (vpn_service_watch_cb): child is already reaped here
1523 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1524 status of the child is actually tracked
1525 - (ensure_killed, finalize): block until child is dead
1527 2008-08-26 Dan Williams <dcbw@redhat.com>
1529 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1530 - (update): Update filename of the connection if the connection id
1533 * system-settings/plugins/keyfile/plugin.c
1534 - (dir_changed): first pass at handling connection renames correctly
1536 * system-settings/plugins/keyfile/writer.c
1537 system-settings/plugins/keyfile/writer.h
1538 - (write_connection): replace '/' with '*' when writing out the filename
1539 from the connection id
1541 2008-08-26 Dan Williams <dcbw@redhat.com>
1543 Add connection UUIDs, since connection names can be changed, and since
1544 old-style connection IDs could change over the life of the connection. The
1545 UUID should be assigned at connection creation time, be stable for a given
1546 connection, and should be unique among all connections for a given settings
1550 libnm-util/Makefile.am
1553 * introspection/nm-exported-connection.xml
1554 - Remove "GetID" method
1556 * libnm-glib/nm-dbus-connection.c
1557 libnm-glib/nm-settings.c
1558 libnm-glib/nm-settings.h
1559 - Remove id-related stuff
1561 * libnm-util/nm-utils.c
1562 libnm-util/nm-utils.h
1563 libnm-util/libnm-util.ver
1564 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1565 utility functions to generate UUIDs
1567 * libnm-util/nm-setting-connection.c
1568 libnm-util/nm-setting-connection.h
1569 - Add 'uuid' member to the connection setting
1570 - (verify): require valid 'uuid' for a valid connection
1572 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1573 system-settings/plugins/ifcfg-fedora/reader.c
1574 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1575 system-settings/plugins/ifcfg-suse/parser.c
1576 system-settings/plugins/keyfile/nm-keyfile-connection.c
1577 system-settings/src/main.c
1578 - Remove id-related stuff
1579 - Give connections UUIDs where needed
1581 2008-08-25 Dan Williams <dcbw@redhat.com>
1583 * libnm-util/crypto_gnutls.c
1584 libnm-util/crypto_nss.c
1585 - (crypto_init, crypto_deinit): refcount init/deinit
1586 - (crypto_md5_hash): allow NULL salt
1588 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1590 * libnm-glib/Makefile.am
1591 libnm-util/Makefile.am
1592 libnm-glib/libnm_glib.ver
1593 libnm-glib/libnm_glib_vpn.ver
1594 libnm-util/libnm-util.ver
1595 - Use linker version scripts to control the list of exported
1596 symbols. List each exported symbol explicitely.
1597 * libnm-util/Makefile.am
1598 - Fix compilation of the test-crypto binary. The crypto
1599 functions are no longer part of the libnm-util API. Add
1600 crypto_*.c to test_crypto_SOURCES and link against the correct
1603 2008-08-19 Dan Williams <dcbw@redhat.com>
1607 - Don't build test/test-common
1608 - Remove unused stuff
1610 * test/nm-set-fallback
1611 test/nmtestdevices.c
1612 test/test-common/.cvsignore
1613 test/test-common/Makefile.am
1614 test/test-common/test-common.c
1615 test/test-common/test-common.h
1618 2008-08-18 Dan Williams <dcbw@redhat.com>
1620 * libnm-util/nm-utils.c
1621 libnm-util/nm-utils.h
1622 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1623 export anything that needs to be converted with this function
1625 * src/dhcp-manager/nm-dhcp-manager.c
1626 - (garray_to_string): convert a byte array to a UTF-8 string with
1627 minimal validation; the DHCP client sends it in ASCII anyway
1628 - (get_option, copy_option): use garray_to_string()
1630 2008-08-18 Dan Williams <dcbw@redhat.com>
1632 * include/NetworkManager.h
1633 introspection/nm-device.xml
1634 - Add a "missing firmware" device state reason
1636 * src/NetworkManagerSystem.c
1637 src/NetworkManagerSystem.h
1638 - (nm_system_device_set_up_down): add a no_firmware argument
1639 - (nm_system_device_set_up_down_with_iface): if the result of setting
1640 IFF_UP is ENOENT, that almost always means missing firmware
1642 * src/backends/NetworkManagerGeneric.c
1643 src/nm-device-ethernet.c
1644 src/nm-device-private.h
1645 src/nm-device-wifi.c
1648 src/nm-hso-gsm-device.c
1649 src/vpn-manager/nm-vpn-connection.c
1650 - Pass no_firmware along; check it where appropriate
1652 2008-08-18 Dan Williams <dcbw@redhat.com>
1654 Patch from Robert Buchholz <rbu@gentoo.org>
1658 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1659 1003.1-1988, allowing for file names longer than 99 characters
1661 2008-08-17 Dan Williams <dcbw@redhat.com>
1663 * include/NetworkManager.h
1664 introspection/nm-device.xml
1666 - Finer-grained GSM registration failure error codes
1668 2008-08-17 Dan Williams <dcbw@redhat.com>
1670 * callouts/Makefile.am
1672 - Move dispatcher directory creation to callouts/Makefile.am
1674 * system-settings/plugins/keyfile/Makefile.am
1675 - Create keyfile connections directory in DESTDIR (bgo #546833)
1677 2008-08-15 Dan Williams <dcbw@redhat.com>
1679 Do connection sharing in a cleaner manner; all required iptables rules
1680 are now stored in the activation request and pertain only to the device
1681 which is being shared to other computers. (rh #458625)
1683 * src/nm-activation-request.c
1684 src/nm-activation-request.h
1685 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1686 the activation request which will get torn down automatically when
1687 the activation request dies
1688 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1689 is started, and tear them down when sharing is stopped
1692 - (start_sharing): start up sharing by doing the required iptables magic
1693 - (share_init): poke the right bits of the kernel and load the right
1695 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1696 connection if it's a 'shared' connection
1698 * src/NetworkManagerPolicy.c
1699 - Remove all sharing stuff; done in the device code itself
1701 2008-08-15 Dan Williams <dcbw@redhat.com>
1703 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1704 - (create_dm_cmd_line): send the right router address
1706 2008-08-15 Dan Williams <dcbw@redhat.com>
1708 * src/ppp-manager/nm-ppp-manager.c
1709 - (pppd_timed_out): ensure timeouts fail the connection
1711 2008-08-14 Dan Williams <dcbw@redhat.com>
1713 * src/nm-properties-changed-signal.c
1714 src/nm-properties-changed-signal.h
1715 - Add a property spec flag for "don't export this property" in
1716 property changed signals
1718 * src/nm-hso-gsm-device.c
1720 src/nm-cdma-device.c
1721 - Don't export monitor interface or netdev interface properties
1723 2008-08-14 Dan Williams <dcbw@redhat.com>
1725 * src/NetworkManagerPolicy.c
1726 - (update_routing_and_dns): 'hso' devices can be default even if they
1727 don't have a gateway
1729 2008-08-14 Dan Williams <dcbw@redhat.com>
1732 - (nm_device_deactivate_quickly): tear down activation request after
1733 calling device-specific deactivation
1735 * src/nm-hso-gsm-device.c
1736 - (real_deactivate_quickly): terminate connection when deactivating
1738 2008-08-14 Dan Williams <dcbw@redhat.com>
1740 * src/nm-activation-request.h
1741 - Add HSO secrets caller
1743 * src/nm-gsm-device.c
1745 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1746 something to the callback function
1747 - (set_apn, set_apn_done): call class dial function, not a static one
1748 - (nm_gsm_device_class_init): add a class 'dial' function
1750 * src/nm-hal-manager.c
1751 - (get_hso_netdev): find the hso-driven hardware's net device
1752 - (modem_device_creator): recognize hso-driven hardware and create the
1753 right type of device object for it
1756 src/nm-hso-gsm-device.c
1757 src/nm-hso-gsm-device.h
1758 - Implement support for devices driven by the 'hso' driver as a subclass
1761 2008-08-14 Dan Williams <dcbw@redhat.com>
1763 * src/NetworkManagerSystem.c
1764 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1765 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1766 success if the operation really was successful
1768 2008-08-14 Dan Williams <dcbw@redhat.com>
1770 * src/nm-netlink-monitor.c
1771 src/nm-netlink-monitor.h
1772 src/nm-device-ethernet.c
1773 - (nm_netlink_monitor_request_status): return an error on failure
1774 - (constructor): don't segfault on missing error
1776 2008-08-13 Dan Williams <dcbw@redhat.com>
1778 * callouts/nm-dispatcher-action.c
1779 - Add IP4 config info to script environment
1781 2008-08-12 Dan Williams <dcbw@redhat.com>
1784 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1785 that want to use DHCP hostnames should use dispatcher scripts
1788 * src/NetworkManagerSystem.h
1789 src/backends/NetworkManagerArch.c
1790 src/backends/NetworkManagerDebian.c
1791 src/backends/NetworkManagerFrugalware.c
1792 src/backends/NetworkManagerGeneric.c
1793 src/backends/NetworkManagerGeneric.h
1794 src/backends/NetworkManagerGentoo.c
1795 src/backends/NetworkManagerMandriva.c
1796 src/backends/NetworkManagerPaldo.c
1797 src/backends/NetworkManagerRedHat.c
1798 src/backends/NetworkManagerSlackware.c
1799 src/backends/NetworkManagerSuSE.c
1800 - Remove nm_system_set_hostname(), no longer used
1802 * src/backends/Makefile.am
1803 src/backends/shvar.c
1804 src/backends/shvar.h
1805 - Remove shvar.*; no longer used
1807 2008-08-12 Dan Williams <dcbw@redhat.com>
1809 Revert most of the 'hostname' patch. Too much stuff still breaks when
1810 hostname is updated at runtime. Distros or users who want hostname updates
1811 can use dispatcher scripts to update the hostname if they need it.
1813 2008-08-12 Dan Williams <dcbw@redhat.com>
1815 * introspection/nm-settings-system.xml
1816 system-settings/src/dbus-settings.c
1817 system-settings/src/dbus-settings.h
1818 - Add a 'Hostname' property (rw) which represents the configured
1819 hostname and domain of the system, if any
1821 * system-settings/src/nm-system-config-error.c
1822 system-settings/src/nm-system-config-error.h
1823 system-settings/src/nm-system-config-interface.c
1824 system-settings/src/nm-system-config-interface.h
1825 - Add a 'hostname' property to the plugin interface
1826 - Add a method to send updated hostname to plugins to save in their
1827 backing configuration store
1829 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1830 system-settings/plugins/keyfile/plugin.c
1831 system-settings/plugins/keyfile/writer.c
1832 system-settings/plugins/keyfile/writer.h
1833 system-settings/plugins/ifcfg-suse/plugin.c
1834 - Add minimal hostname support
1836 * system-settings/plugins/ifcfg-fedora/plugin.c
1837 - Add support for updating system hostname in /etc/sysconfig/network
1839 2008-08-12 Dan Williams <dcbw@redhat.com>
1841 * system-settings/plugins/ifcfg-fedora/shvar.c
1842 system-settings/plugins/ifcfg-fedora/shvar.c
1843 - Fix double-free caused by svSetValue() followed by svCloseFile()
1845 2008-08-12 Tambet Ingo <tambet@gmail.com>
1847 * Makefile.am: Fix distcheck.
1849 2008-08-12 Tambet Ingo <tambet@gmail.com>
1851 * libnm-glib/*.c. Document some more.
1853 2008-08-12 Tambet Ingo <tambet@gmail.com>
1855 Start documenting libnm-glib public API using gtk-doc.
1857 * libnm-glib/nm-serial-device.c:
1858 * libnm-glib/nm-object.c:
1859 * libnm-glib/nm-gsm-device.c:
1860 * libnm-glib/nm-device.c:
1861 * libnm-glib/nm-device-wifi.c:
1862 * libnm-glib/nm-device-ethernet.c:
1863 * libnm-glib/nm-client.c:
1864 * libnm-glib/nm-cdma-device.c: Document the public API.
1866 * docs/libnm-glib/libnm-glib.types: Implement.
1868 * docs/libnm-glib/Makefile.am: Implement.
1872 * Makefile.am: Add gtk-doc support.
1874 2008-08-12 Tambet Ingo <tambet@gmail.com>
1876 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1878 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1879 the composite result of all the IP4 configurations and call a distro
1880 specific update_resolv_conf().
1881 (update_resolv_conf): Implement one for directly writing to
1882 /etc/resolv.conf and one for opensuse to call netconfig.
1884 2008-08-11 Dan Williams <dcbw@redhat.com>
1886 * src/ppp-manager/nm-ppp-manager.c
1887 - (impl_ppp_manager_need_secrets): pass interface as required
1889 2008-08-11 Dan Williams <dcbw@redhat.com>
1891 Merge the vpn-properties setting with the vpn setting since it was pointless
1892 to keep both of them around. Convert the vpn 'data' hash table to a hash
1893 of string:string (instead of string:variant) so that system settings plugins
1894 can have an easier time dealing with the arbitrary key/value pairs.
1896 2008-08-11 Dan Williams <dcbw@redhat.com>
1898 * libnm-util/nm-utils.c
1899 - (nm_utils_register_value_transformations): add value transform for
1900 a hash table of string:string
1902 2008-08-10 Dan Williams <dcbw@redhat.com>
1904 * libnm-glib/nm-vpn-plugin.c
1905 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1906 an idle handler so the Connect reply gets delivered before the
1907 stop StateChanged signal
1909 2008-08-10 Dan Williams <dcbw@redhat.com>
1911 * src/nm-ip4-config.c
1912 - (get_property): use common ip4 address/route conversion functions
1913 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1914 copy the new route here, not take ownership
1916 2008-08-08 Tambet Ingo <tambet@gmail.com>
1918 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1919 Update the IP4 setting's method name.
1921 2008-08-07 Dan Williams <dcbw@redhat.com>
1923 * introspection/nm-ip4-config.xml
1924 libnm-glib/libnm-glib-test.c
1925 libnm-glib/nm-ip4-config.c
1926 libnm-glib/nm-ip4-config.h
1927 src/NetworkManagerSystem.h
1928 src/backends/NetworkManagerArch.c
1929 src/backends/NetworkManagerDebian.c
1930 src/backends/NetworkManagerFrugalware.c
1931 src/backends/NetworkManagerGeneric.c
1932 src/backends/NetworkManagerGeneric.h
1933 src/backends/NetworkManagerGentoo.c
1934 src/backends/NetworkManagerMandriva.c
1935 src/backends/NetworkManagerPaldo.c
1936 src/backends/NetworkManagerRedHat.c
1937 src/backends/NetworkManagerSlackware.c
1938 src/backends/NetworkManagerSuSE.c
1939 src/dhcp-manager/nm-dhcp-manager.c
1943 - Remove NIS logic; should be done from dispatcher scripts instead
1945 2008-08-07 Dan Williams <dcbw@redhat.com>
1947 * src/dhcp-manager/nm-dhcp-manager.c
1948 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1949 mis-handling of DHCP responses that returned more than one router
1950 (found by Grant Williamson)
1952 2008-08-07 Dan Williams <dcbw@redhat.com>
1954 * callouts/nm-dispatcher-action.c
1955 - (nm_dispatcher_action): grab device path and create the device; pass
1956 the device's DHCP4 config to script caller
1957 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1960 * libnm-glib/nm-dhcp4-config.c
1961 libnm-glib/nm-dhcp4-config.h
1962 - (nm_dhcp4_config_get_options): expose
1963 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1965 2008-08-07 Dan Williams <dcbw@redhat.com>
1967 * include/NetworkManager.h
1968 - Add the DHCP4Config D-Bus interface
1970 * libnm-glib/Makefile.am
1971 libnm-glib/nm-dhcp4-config.c
1972 libnm-glib/nm-dhcp4-config.h
1973 - Handle DHCP4 config objects exported by NM over D-Bus
1975 * libnm-glib/nm-device.c
1976 libnm-glib/nm-device.h
1977 - Add a 'dhcp4-config' property
1979 * libnm-glib/libnm-glib-test.c
1980 - Print out DHCP4 config for devices
1981 - Fix some crashes when no connections are active
1983 * src/nm-device-interface.c
1985 src/nm-dhcp4-config.c
1986 src/nm-dhcp4-config.h
1987 - Treat dhcp4-config object as an object path at the D-Bus interface so
1988 that when it doesn't exist we can proxy it as "/" which dbus-glib
1989 doesn't let us do when the property type is G_TYPE_OBJECT
1991 2008-08-07 Dan Williams <dcbw@redhat.com>
1993 * src/NetworkManager.c
1994 src/NetworkManagerSystem.h
1995 src/backends/NetworkManagerArch.c
1996 src/backends/NetworkManagerDebian.c
1997 src/backends/NetworkManagerFrugalware.c
1998 src/backends/NetworkManagerGeneric.c
1999 src/backends/NetworkManagerGeneric.h
2000 src/backends/NetworkManagerGentoo.c
2001 src/backends/NetworkManagerMandriva.c
2002 src/backends/NetworkManagerPaldo.c
2003 src/backends/NetworkManagerRedHat.c
2004 src/backends/NetworkManagerSlackware.c
2005 src/backends/NetworkManagerSuSE.c
2006 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
2008 2008-08-06 Dan Williams <dcbw@redhat.com>
2010 * libnm-glib/nm-ip4-config.c
2011 libnm-glib/nm-ip4-config.h
2012 - Add 'routes' property
2014 * libnm-util/nm-setting-vpn.c
2015 libnm-util/nm-setting-vpn.h
2016 - Remove 'routes' property
2018 * libnm-util/nm-setting-ip4-config.c
2019 libnm-util/nm-setting-ip4-config.h
2020 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
2021 - Add 'ignore-auto-routes' property
2022 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
2023 accomodate route metrics
2024 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
2026 * libnm-util/nm-utils.c
2027 libnm-util/nm-utils.h
2028 - Add helpers for marshalling IP4 routes
2030 * src/NetworkManagerUtils.c
2031 - (nm_utils_merge_ip4_config): handle property renames and new route
2034 * src/NetworkManagerSystem.c
2035 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
2036 nm_system_vpn_device_set_from_ip4_config): respect route metrics
2038 * src/dhcp-manager/nm-dhcp-manager.c
2039 - (nm_dhcp_manager_get_ip4_config): handle new route structure
2041 * system-settings/plugins/ifcfg-fedora/reader.c
2042 system-settings/plugins/ifcfg-fedora/writer.c
2043 - Handle routes separately from addresses now that routes have a different
2046 * introspection/nm-ip4-config.xml
2049 - Rename internal routing functions
2050 - 'static-routes' renamed to 'routes'
2052 2008-08-04 Dan Williams <dcbw@redhat.com>
2054 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2056 * src/NetworkManager.c
2059 - More explicitly make the NMManager a singleton
2061 2008-08-04 Dan Williams <dcbw@redhat.com>
2063 * libnm-util/nm-connection.c
2064 libnm-util/nm-connection.h
2065 - (nm_connection_verify): return error on missing 'connection' setting
2066 (found by Sjoerd Simons)
2068 2008-08-04 Dan Williams <dcbw@redhat.com>
2070 Handle multiple concurrent PPP connections.
2072 * src/ppp-manager/nm-ppp-manager.c
2073 src/ppp-manager/nm-ppp-manager.h
2074 - (constructor): only PPP Manager request bus name once; each
2075 NMPPPManager object gets a unique object path
2076 - (nm_ppp_manager_class_init, get_property, set_property,
2077 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2079 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2080 remove timeout until PPP manager gets an IP4 config
2081 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2082 the plugin can call back to this specific PPP manager instance
2084 * src/nm-device-ethernet.c
2085 src/nm-serial-device.c
2086 - Pass parent device in nm_ppp_manager_new()
2088 * src/nm-gsm-device.c
2089 src/nm-cdma-device.c
2090 - (device_state_changed): don't close serial device on NEED_AUTH
2091 state changed, that's not a failure case like the rest are
2093 * src/ppp-manager/nm-pppd-plugin.c
2094 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2095 binds one interface to any pppd process, thus the correct index
2096 is always 0; send PHASE_DEAD on error to alert NM immediately of
2097 problems; try harder to get a peer address in spite of pppd
2098 - (plugin_init): use 'ipparam' as the object path back to our specific
2099 PPP manager instance
2101 2008-08-04 Dan Williams <dcbw@redhat.com>
2103 * src/ppp-manager/nm-ppp-manager.c
2104 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2105 since the GSM and CDMA settings now implement need_secrets, we can
2106 rely on them to do the right thing. Where secrets are not required,
2107 just pass empty strings back to the pppd plugin.
2108 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2109 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2110 on successful IP4 config receipt
2112 2008-08-04 Dan Williams <dcbw@redhat.com>
2114 * libnm-util/nm-setting-cdma.c
2115 libnm-util/nm-setting-gsm.c
2116 - (verify): validate username & password if they exist
2117 - (need_secrets): if username given, require a password too
2119 2008-08-04 Dan Williams <dcbw@redhat.com>
2121 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2122 - (create_dm_cmd_line): really don't listen on lo, despite what the
2123 manpage says about --listen-address without --interface
2126 2008-08-01 Dan Williams <dcbw@redhat.com>
2128 * libnm-glib/nm-device.c
2129 - (proxy_get_string): util function for querying a HAL property
2130 - (get_ancestor_device): split out from get_product_and_vendor()
2131 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2132 from PCI devices by querying subsys properties
2133 - (nm_device_update_description): simplify
2135 2008-08-01 Dan Williams <dcbw@redhat.com>
2137 * libnm-util/nm-setting-ip4-config.c
2138 libnm-util/nm-setting-ip4-config.h
2139 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2140 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2141 settings, and they don't necessarily use DHCP.
2143 * src/NetworkManagerPolicy.c
2145 system-settings/plugins/ifcfg-fedora/reader.c
2146 system-settings/plugins/ifcfg-suse/parser.c
2147 - Fixup for method changes
2149 2008-07-31 Dan Williams <dcbw@redhat.com>
2151 * src/nm-activation-request.c
2152 src/vpn-manager/nm-vpn-connection.c
2153 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2154 itself should be attached to the activation request or the VPN
2155 connection, not the NMConnection object, since the call is not
2156 expected to live as long as the NMConnection itself
2158 2008-07-31 Dan Williams <dcbw@redhat.com>
2160 * src/nm-device-wifi.c
2161 - (real_act_stage2_config): fix issue where association would continue
2162 even though secrets were needed; 'goto out' was in wrong scope and
2163 result of handle_auth_or_fail() should have been dumped directly to
2164 'ret' to ensure that the association was postponed until secrets
2167 2008-07-31 Dan Williams <dcbw@redhat.com>
2169 * system-settings/plugins/ifcfg-fedora/plugin.c
2170 system-settings/plugins/ifcfg-fedora/reader.c
2171 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2174 2008-07-29 Dan Williams <dcbw@redhat.com>
2176 * src/nm-gsm-device.c
2177 - (automatic_registration_response, automatic_registration): recognize
2178 denied registration and reorder responses
2180 2008-07-29 Dan Williams <dcbw@redhat.com>
2182 * src/nm-serial-device.c
2183 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2184 time(2) is used for current time, which returns seconds, we shouldn't
2185 be multiplying by 1000.
2187 2008-07-28 Dan Williams <dcbw@redhat.com>
2189 Patch from Fabrice Bellet <fabrice@bellet.info>
2191 * src/NetworkManagerSystem.c
2192 - (route_in_same_subnet): mask addresses and compare them so that the
2193 function actually does what it says it's going to do (rh #456685)
2195 2008-07-27 Dan Williams <dcbw@redhat.com>
2197 * libnm-util/nm-setting-ip6-config.c
2198 - (set_property): add missing break that caused routes to be overwritten
2201 * libnm-util/nm-setting-ip6-config.c
2202 - (verify): validate routes and return GError everywhere on invalid setting
2203 - (finalize): don't leak routes
2204 - (set_property): add missing break that caused routes to be overwritten
2207 2008-07-27 Dan Williams <dcbw@redhat.com>
2210 - Relicense to LGPLv2+
2212 2008-07-27 Dan Williams <dcbw@redhat.com>
2214 * system-settings/plugins/ifcfg-fedora/reader.c
2215 - (make_ip4_setting): fix parsing automatic configs
2217 2008-07-27 Dan Williams <dcbw@redhat.com>
2219 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2221 src/ppp-manager/nm-ppp-manager.c
2222 - Ensure child process gets reaped. The child watch function may be
2223 removed from the mainloop before the child gets killed, so we have
2224 to make sure the child is reaped when it's told to die intentionally
2226 2008-07-27 Dan Williams <dcbw@redhat.com>
2228 Patch from Roy Marples <roy@marples.name>
2230 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2231 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2233 2008-07-27 Dan Williams <dcbw@redhat.com>
2235 * src/nm-gsm-device.c
2236 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2237 Huawei devices turn echo back on after CPIN (rh #456770)
2239 2008-07-24 Tambet Ingo <tambet@gmail.com>
2241 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2242 format argument to g_set_error() call.
2244 * src/backends/interface_parser.[ch]: Remove.
2246 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2248 2008-07-21 Dan Williams <dcbw@redhat.com>
2250 * src/ppp-manager/nm-ppp-manager.c
2251 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2252 to prevent pppd from picking up some random local address from an
2253 interface that doesn't have anything to do with the one we're
2254 interested in (rh #455348)
2256 2008-07-17 Dan Williams <dcbw@redhat.com>
2258 * libnm-util/nm-utils.c
2259 - (string_to_utf8): general function for conversion to UTF-8 assisted
2261 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2262 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2264 2008-07-17 Dan Williams <dcbw@redhat.com>
2266 * introspection/Makefile.am
2267 introspection/nm-device.xml
2268 introspection/nm-dhcp4-config.xml
2269 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2271 * src/nm-device-interface.c
2272 src/nm-device-interface.h
2273 - Add the DHCP4Config property
2276 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2277 D-Bus clients when it changes
2279 * src/nm-dhcp4-config.c
2280 src/nm-dhcp4-config.h
2281 - Simple object to store DHCP4 options, export them over D-Bus, and
2282 notify when they change
2284 * src/dhcp-manager/nm-dhcp-manager.c
2285 src/dhcp-manager/nm-dhcp-manager.h
2286 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2287 filter server-returned DHCP options into an NMDHCP4Config object
2289 2008-07-16 Dan Williams <dcbw@redhat.com>
2291 * introspection/nm-device.xml
2292 - Add device state reasons
2294 2008-07-16 Dan Williams <dcbw@redhat.com>
2296 Patch from Roy Marples <roy@marples.name>
2299 - Add --with-dhcp-client option
2301 * src/dhcp-manager/Makefile.am
2302 - pass DHCP_CLIENT_PATH on compile line
2304 * src/dhcp-manager/nm-dhcp-manager.c
2305 src/dhcp-manager/nm-dhcp-manager.h
2306 - Genericize for both dhcpcd and dhclient
2308 * src/dhcp-manager/nm-dhcp-dhclient.c
2309 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2311 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2312 - Implement support for dhcpcd too
2314 2008-07-16 Tambet Ingo <tambet@gmail.com>
2316 * system-settings/src/nm-system-config-interface.c
2317 (nm_system_config_interface_supports_add): Implement.
2318 (nm_system_config_interface_add_connection): Return a boolean to notify
2321 * system-settings/src/nm-polkit-helpers.c:
2322 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2325 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2326 Return an error when none of the plugins support add or if addition
2327 failed for some reason.
2329 * system-settings/src/nm-system-config-error.h:
2330 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2331 here from nm-polkit-helpers.[ch].
2333 * system-settings/src/Makefile.am: Build new files.
2335 * system-settings/plugins/keyfile/reader.c
2336 (read_array_of_array_of_uint): Make it more general so that it would
2337 work for routes as well.
2339 * system-settings/plugins/keyfile/writer.c
2340 (write_array_of_array_of_uint): Ditto.
2341 Fix the netmask/prefix writing.
2343 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2344 boolean to notify errors.
2346 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2347 Return more specific error.
2350 2008-07-11 Dan Williams <dcbw@redhat.com>
2352 Modify the NMDevice::state-changed signal to include the previous state
2353 and reason. Enables the applet to provide more information why device
2356 2008-07-09 Dan Williams <dcbw@redhat.com>
2358 * callouts/Makefile.am
2359 callouts/nm-avahi-autoipd-action.c
2360 callouts/nm-avahi-autoipd.conf
2361 - avahi-autoipd callout to send options back to NM
2368 src/nm-device-private.h
2370 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2373 2008-07-07 Dan Williams <dcbw@redhat.com>
2375 * system-settings/plugins/ifcfg-fedora/reader.c
2376 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2377 handle PREFIX too; clean up
2379 2008-07-07 Dan Williams <dcbw@redhat.com>
2381 Convert to using IPv4 prefixes instead of netmasks.
2383 2008-07-03 Dan Williams <dcbw@redhat.com>
2385 * libnm-util/nm-setting-ip4-config.c
2386 libnm-util/nm-setting-ip4-config.h
2387 - Add properties for DHCP Client Identifier and DHCP Hostname
2389 * src/dhcp-manager/nm-dhcp-manager.c
2390 src/dhcp-manager/nm-dhcp-manager.h
2391 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2392 setting as an argument to pass on to the dhclient config file
2394 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2396 - (dhclient_run): punt config file handling to create_dhclient_config()
2397 - (create_dhclient_config): create an interface-specific dhclient
2398 config file since there may need to be interface-specific options
2400 - (merge_dhclient_config): merge normal distro dhclient config file and
2401 add options from the connection
2402 - (nm_dhcp_device_new): generate the interface specific dhclient
2403 config file path once
2404 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2405 dhclient config file path
2408 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2409 DHCP manager when starting DHCP
2411 2008-07-02 Dan Williams <dcbw@redhat.com>
2413 * libnm-util/nm-setting-8021x.c
2414 - (verify): allow forcing the PEAP label to 0
2416 2008-07-02 Dan Williams <dcbw@redhat.com>
2418 * introspection/nm-active-connection.xml
2419 introspection/nm-vpn-connection.xml
2420 libnm-glib/nm-active-connection.c
2421 src/nm-activation-request.c
2422 src/nm-active-connection.h
2423 src/vpn-manager/nm-vpn-connection.c
2424 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2425 and libnm-glib API since sharing didn't get implemented that way
2427 2008-07-02 Dan Williams <dcbw@redhat.com>
2429 * src/nm-device-wifi.c
2430 - (can_scan): don't scan when a shared connection is activated since
2431 that makes drivers mad (causing disconnects); also NM doesn't need
2432 to hedge against disconnects by keeping up-to-date network topology
2433 because the connection originates from the local machine, and thus
2434 there should be no disconnects
2436 2008-07-01 Dan Williams <dcbw@redhat.com>
2438 Fix mobile broadband username/password issues. NM was never requesting
2439 mobile broadband secrets, nor was it passing back the username and password
2442 * marshallers/nm-marshal.list
2443 - Add some new types for activation request objects
2445 * src/nm-activation-request.c
2446 src/nm-activation-request.h
2447 - (get_secrets_cb): pass the caller type in the signal
2448 - (nm_act_request_request_connection_secrets): take a caller type, so
2449 that GetSecrets() reply handlers know who asked for the secrets in
2450 the first place; use secret hints too so the settings service can
2451 figure out exactly what NM wants (ie, PIN or the PPP password)
2453 * src/ppp-manager/nm-ppp-manager.c
2454 src/ppp-manager/nm-ppp-manager.h
2455 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2456 detect needed secrets when the secret could be blank, like GSM/CDMA
2457 passwords. So always ask for secrets, and send a hint as to what
2458 secret we really want.
2459 - (nm_ppp_manager_update_secrets): make function more generic by making
2460 the device specific class figure out the username and password, and
2461 accept an error argument to return back over D-Bus
2463 * src/nm-device-wifi.c
2464 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2465 nm_act_request_request_connection_secrets()
2466 - (real_connection_secrets_updated): update for 'caller' changes
2470 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2471 for 'caller' changes
2473 * src/nm-device-ethernet.c
2474 - (real_connection_secrets_updated): update for 'caller' changes and
2475 move logic for getting PPPoE username and password here before
2476 calling nm_ppp_manager_update_secrets()
2477 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2478 nm_act_request_request_connection_secrets()
2480 * src/nm-cdma-device.c
2481 - (real_connection_secrets_updated): pass username and password back
2482 to the PPP manager when required
2484 * src/nm-gsm-device.c
2485 - (enter_pin): send the required secret name to the settings service
2486 - (real_connection_secrets_updated): pass username and password back
2487 to the PPP manager when required
2489 2008-06-30 Dan Williams <dcbw@redhat.com>
2491 * src/nm-device-wifi.c
2492 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2494 2008-06-30 Dan Williams <dcbw@redhat.com>
2496 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2497 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2498 priv->supplicant.iface. When either condition is false, the device should
2499 transition back to UNAVAILABLE because it cannot be used.
2501 * src/nm-device-wifi.c
2502 - (constructor): cleanup; connect to supplicant manager here since the
2503 supplicant manager is always around
2504 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2505 ensure the supplicant manager is in the IDLE state
2506 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2507 cancel any pending scans too
2508 - (real_bring_up): don't set up the supplicnat interface here, because
2509 we need the supplicant interface at times when the device may not
2511 - (real_take_down): just remove the periodic source
2512 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2513 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2514 do anything if there's no supplicant interface
2515 - (cleanup_association_attempt): cleanup
2516 - (supplicant_iface_state_cb_handler): request an immediate scan when
2517 the interface enters the READY state; transition to UNAVAILABLE
2518 state when the interface goes down because the device can't be used
2519 without a supplicant interface
2520 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2521 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2522 acquire the supplicant interface and transition to DISCONNECTED
2523 if the radio isn't killed
2524 - (nm_device_wifi_dispose): move most of device_cleanup() here
2525 - (state_changed_cb): release any existing supplicant interface; if the
2526 radio is enabled then try to acquire a new supplicant interface;
2527 if the radio is enabled and a supplicant interface has been acquired,
2528 we can transition to DISCONNECTED
2529 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2530 don't enable the radio, because HAL probably lied to us about the
2531 killswitch being off. If bringing the hardware up worked, then
2532 try to grab a supplicant interface, and if that was successful,
2533 transition to DISCONNECTED
2535 2008-06-30 Dan Williams <dcbw@redhat.com>
2537 * src/supplicant-manager/nm-supplicant-interface.c
2538 - (request_scan_results, nm_supplicant_interface_dispose,
2539 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2540 the id of the timeout, not a GSource
2542 2008-06-30 Tambet Ingo <tambet@gmail.com>
2544 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2545 bunch of typoes introduced by "Patch from David Cantrell
2546 <dcantrell@redhat.com> and me".
2548 2008-06-30 Tambet Ingo <tambet@gmail.com>
2550 * src/nm-serial-device.c:
2551 * src/nm-gsm-device.c:
2552 * src/nm-cdma-device.c: Move the pending call handling to a common location
2553 in serial device. Handle setting device state to failed in one place as well.
2555 2008-06-29 Dan Williams <dcbw@redhat.com>
2557 * src/nm-hal-manager.c
2558 - Rework killswitch handling to query killswitch status immediately
2559 when the first killswitch is added, so that rfkill state is
2560 known as early as possible
2561 - Also treat failure of GetPower() as rfkill when the dbus method
2562 call times out (but not when the HAL callout returns an error)
2564 2008-06-26 Dan Williams <dcbw@redhat.com>
2566 Patch from David Cantrell <dcantrell@redhat.com> and me
2568 * include/nm-dbus-glib-types.h
2569 - Add IP6 address types
2571 * libnm-util/Makefile.am
2572 libnm-util/nm-setting-ip6-config.c
2573 libnm-util/nm-setting-ip6-config.h
2574 - Add IP6 settings object
2576 * libnm-util/nm-connection.c
2577 - (register_default_settings): register ip6 settings object
2579 * libnm-util/nm-utils.c
2580 libnm-util/nm-utils.h
2581 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2582 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2583 ip6 address conversion functions
2585 2008-06-26 Dan Williams <dcbw@redhat.com>
2587 Patch from David Cantrell <dcantrell@redhat.com>
2589 * Use inet_ntop() and inet_pton() everwhere and check for errors
2591 2008-06-26 Dan Williams <dcbw@redhat.com>
2593 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2595 2008-06-26 Dan Williams <dcbw@redhat.com>
2597 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2599 * src/nm-device-wifi.c
2600 - (link_timeout_cb): don't ignore disconnects due to scanning
2601 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2602 a longer timeout when scanning; avoids case where supplicant can't
2603 find the AP and just keeps scanning forever but isn't connected
2605 2008-06-26 Dan Williams <dcbw@redhat.com>
2607 Patch from Michael Biebl <biebl@debian.org>
2609 * Clean up build system stuff
2611 2008-06-23 Christian Persch <chpe@gnome.org>
2613 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2614 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2615 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2617 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2619 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2620 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2621 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2623 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2624 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2625 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2626 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2627 * vpn-daemons/pptp/properties/vpnui_opt.c:
2628 (vpnui_opt_connect_signals):
2629 * vpn-daemons/pptp/properties/vpnui_opt.h:
2630 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2631 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2632 deprecated gtk type macros. Bug #539325.
2634 2008-06-20 Dan Williams <dcbw@redhat.com>
2636 * libnm-glib/nm-vpn-plugin-ui-interface.c
2637 libnm-glib/nm-vpn-plugin-ui-interface.h
2638 - 'validity-changed' -> 'changed' to work better with the connection
2639 editor. Plugin UI widgets should emit 'changed' whenever their
2640 UI values change in a meaningful way.
2641 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2642 update_connection member now returns validity of the UI widget
2644 2008-06-20 Tambet Ingo <tambet@gmail.com>
2646 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2648 2008-06-17 Dan Williams <dcbw@redhat.com>
2650 * libnm-glib/nm-vpn-plugin-ui-interface.c
2651 libnm-glib/nm-vpn-plugin-ui-interface.h
2652 - Add "desc" property for longer descriptions of the VPN plugin
2654 2008-06-16 Dan Williams <dcbw@redhat.com>
2657 libnm-glib/libnm_glib_vpn.pc.in
2658 - add a .pc file for libnm_glib_vpn
2660 * libnm-glib/nm-vpn-plugin-ui-interface.c
2661 libnm-glib/nm-vpn-plugin-ui-interface.h
2662 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2663 rework it substantially
2665 2008-06-12 Dan Williams <dcbw@redhat.com>
2667 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2668 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2669 returns a descriptive GError when verification fails.
2671 2008-06-11 Dan Williams <dcbw@redhat.com>
2673 Patch from Tambet Ingo <tambet@gmail.com>
2675 * libnm-util/nm-setting-gsm.c
2676 - (verify): validate APN
2678 * src/nm-gsm-device.c
2679 - (manual_registration_done): start setting APN if needed
2680 - (set_apn, set_apn_done): set the APN
2681 - (do_dial): use the APN when dialing
2683 2008-06-11 Dan Williams <dcbw@redhat.com>
2685 * src/NetworkManagerSystem.c
2686 - (nm_system_device_set_ip4_route,
2687 nm_system_device_replace_default_ip4_route): check for the right
2688 return value from rtnl_route_add() to know when to add a gateway
2691 2008-06-11 Dan Williams <dcbw@redhat.com>
2693 * src/NetworkManagerPolicy.c
2694 - do_ipt_cmd -> do_cmd
2695 - (sharing_init): use do_cmd() instead of system()
2697 2008-06-10 Dan Williams <dcbw@redhat.com>
2699 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2700 and use "wifi" everwhere instead.
2702 2008-06-10 Dan Williams <dcbw@redhat.com>
2704 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2706 2008-06-10 Dan Williams <dcbw@redhat.com>
2708 Patch from Tambet Ingo <tambet@gmail.com>
2710 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2713 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2714 a signal to emit these changes over dbus.
2716 * src/Makefile.am: Genereate nm-serial-device-glue.
2718 * libnm-glib/nm-serial-device.[ch]: Implement.
2720 * libnm-glib/nm-cdma-device.[ch]
2721 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2723 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2725 * introspection/nm-device-serial.xml: Implement.
2727 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2729 * introspection/Makefile.am: Add nm-device-serial.xml.
2731 * include/NetworkManager.h: Add a DBus interface for serial device.
2733 2008-06-10 Dan Williams <dcbw@redhat.com>
2736 - Add TARGET_* define to config.h to distinguish distros
2738 * src/dhcp-manager/nm-dhcp-manager.c
2739 - (dhclient_run): use distro-specific path for dhclient config file
2741 2008-06-09 Dan Williams <dcbw@redhat.com>
2743 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2744 src/dnsmasq-manager/nm-dnsmasq-manager.h
2745 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2746 calculate the addresses passed to dnsmasq instead of hard-coding
2750 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2751 IP addresses for shared connections to guard against shared
2752 connection address collisions
2753 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2755 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2758 2008-06-09 Dan Williams <dcbw@redhat.com>
2760 * src/NetworkManagerPolicy.c
2761 - (update_routing_and_dns): set the default connection _after_ unsetting
2762 default on all non-default connections so that two connections can
2763 never be default at the same time
2764 - (device_state_changed): start and stop connection sharing when
2766 - (active_connection_default_changed): restart or stop sharing when
2767 the default connection changes to keep shared connections always
2768 NAT-ed through the default connection
2769 - (check_sharing): handle activation/deactivation of shared connections
2770 - (sharing_restart): atom-bomb approach to connection sharing until we
2771 can use libnl; reinit all sharing when the default connection or
2772 shared connections change
2773 - (sharing_init, sharing_stop): evil functions that init and deinit
2776 2008-06-09 Dan Williams <dcbw@redhat.com>
2778 * src/nm-activation-request.c
2779 src/nm-activation-request.h
2780 - (nm_act_request_set_shared, nm_act_request_get_shared,
2781 nm_act_request_get_device): new functions to facilitate connection
2784 2008-06-09 Dan Williams <dcbw@redhat.com>
2787 - (clear_act_request): unset the 'default' property of the activation
2788 request when clearing it to ensure the property changed signal gets
2789 delivered and handled
2791 2008-06-09 Dan Williams <dcbw@redhat.com>
2793 * libnm-glib/nm-device-802-11-wireless.c
2794 - (access_point_removed_proxy): actually unref the AP after removing
2795 it from the device's AP list. Fixes refcounting bug for APs that
2796 caused them to get mixed up in the applet's menu.
2798 2008-06-09 Tambet Ingo <tambet@gmail.com>
2800 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2801 (nm_dhcp_device_destroy): Destroy the device options hash table.
2803 2008-06-06 Dan Williams <dcbw@redhat.com>
2805 * system-settings/src/nm-polkit-helpers.c
2806 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2807 unref the context if the initialization fails; also avoid spew when
2810 2008-06-06 Dan Williams <dcbw@redhat.com>
2812 Patch from Tambet Ingo <tambet@gmail.com>
2814 * src/NetworkManagerSystem.c
2815 src/NetworkManagerSystem.h
2816 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2817 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2818 - (nm_system_device_set_ip4_route): clean up
2819 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2822 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2824 * src/vpn-manager/nm-vpn-connection.c
2825 - (ip_address_to_string): new function
2826 - (print_vpn_config): use ip_address_to_string
2827 - (merge_vpn_routes): add user-defined routes to the ip4 config
2828 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2830 * include/NetworkManagerVPN.h
2833 2008-06-05 Dan Williams <dcbw@redhat.com>
2835 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2838 - Show which device is the default device
2840 2008-06-05 Tambet Ingo <tambet@gmail.com>
2844 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2845 Free data returned from dbus method call.
2847 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2848 dbus_g_method_get_sender() returns a duplicated string, free it
2850 (check_polkit_privileges): Looks like policykit sometimes returns
2851 error and non-null return value, don't leak errors in that case.
2853 * system-settings/src/main.c (find_plugin): Don't leak existing
2855 (load_stuff): Don't leak device list and list items.
2856 (have_connection_for_device): Don't leak connection list.
2858 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2859 Free the data received from g_keyfile_get_*.
2861 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2862 the key when the security object is updated.
2864 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2865 Free data returned from dbus method call.
2866 (iface_state_cb): Ditto.
2867 (add_network_cb): Ditto.
2868 (nm_supplicant_interface_add_cb): Don't make another copy of already
2869 duplicated object path.
2870 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2873 * src/supplicant-manager/nm-supplicant-config.c
2874 (ADD_STRING_LIST_VAL): Fix a memory leak.
2876 * src/nm-manager.c (free_get_settings_info): Free the allocated
2878 (list_connections_cb): Free data returned from dbus method call.
2879 (system_settings_get_unmanaged_devices_cb): Ditto.
2881 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2883 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2884 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2885 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2888 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2889 arguments after the object is created.
2891 2008-06-04 Dan Williams <dcbw@redhat.com>
2893 * libnm-util/Makefile.am
2894 - Don't distribute nm-param-spec-specialized.h
2896 2008-06-02 Tambet Ingo <tambet@gmail.com>
2898 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2900 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2901 NMIP4Address, update the getters and setters.
2903 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2904 Use the updated NMIP4Config routes api.
2906 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2907 static routes as well.
2909 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2910 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2913 2008-05-30 Dan Williams <dcbw@redhat.com>
2915 * src/named-manager/nm-named-manager.c
2916 src/named-manager/nm-named-manager.h
2917 - Remove stale/obsolete bits for controlling bind over DBus
2919 2008-05-29 Dan Williams <dcbw@redhat.com>
2921 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2922 src/dnsmasq-manager/nm-dnsmasq-manager.h
2923 - (nm_dnsmasq_manager_new): move iface argument here
2924 - (constructor): remove, not needed
2925 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2926 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2929 - (real_act_stage4_get_ip4_config,
2930 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2933 2008-05-29 Dan Williams <dcbw@redhat.com>
2936 - (dnsmasq_state_changed_cb): new function; fail the connection if
2937 something happens to dnsmasq
2938 - (nm_device_new_ip4_shared_config): new function; create a new
2939 ip4-config for shared connections. Shared connections always use a
2940 fixed static IP address.
2941 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2942 autoip connections by actually using the returned ip4-config and
2944 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2946 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2949 2008-05-29 Dan Williams <dcbw@redhat.com>
2951 * src/nm-device-802-11-wireless.c
2952 - (real_get_best_auto_connection): auto-activate 'shared' method
2955 2008-05-29 Dan Williams <dcbw@redhat.com>
2957 * libnm-util/nm-setting-ip4-config.c
2958 libnm-util/nm-setting-ip4-config.h
2959 - Add a 'shared' method to indicate that this connection should be
2960 brought up with a DHCP and proxy DNS server to facilitate
2962 - (verify): 'shared' method doesn't allow DNS or searches either
2964 2008-05-29 Dan Williams <dcbw@redhat.com>
2968 src/dnsmasq-manager/Makefile.am
2969 src/dnsmasq-manager/nm-dnsmasq-manager.c
2970 src/dnsmasq-manager/nm-dnsmasq-manager.h
2971 - Add a dnsmasq daemon manager to facilitate connection sharing
2973 2008-05-29 Dan Williams <dcbw@redhat.com>
2975 * src/nm-device-private.h
2976 - Remove unused prototypes and clean up
2979 - Remove anything related to system_config_data, which is no longer used
2980 - (nm_device_new_ip4_autoip_config): make static
2982 2008-05-29 Tambet Ingo <tambet@gmail.com>
2984 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2985 (file_changed): Fix a bug where suse system settings plugin didn't
2986 update the connections automatically when the files changed.
2988 2008-05-28 Dan Williams <dcbw@redhat.com>
2990 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2992 2008-05-28 Dan Williams <dcbw@redhat.com>
2994 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2996 * src/NetworkManagerSystem.c
2997 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2998 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2999 was causing -EINVAL errors since the libnl code actually does flush
3000 the routes on VPN interfaces now
3002 * src/backends/NetworkManagerArch.c
3003 src/backends/NetworkManagerDebian.c
3004 src/backends/NetworkManagerFrugalware.c
3005 src/backends/NetworkManagerGeneric.c
3006 src/backends/NetworkManagerGentoo.c
3007 src/backends/NetworkManagerMandriva.c
3008 src/backends/NetworkManagerPaldo.c
3009 src/backends/NetworkManagerRedHat.c
3010 src/backends/NetworkManagerSlackware.c
3011 src/backends/NetworkManagerSuSE.c
3012 - (nm_system_device_flush_ip4_routes,
3013 nm_system_device_flush_ip4_routes_with_iface): remove
3015 2008-05-28 Dan Williams <dcbw@redhat.com>
3017 * libnm-util/nm-setting-wireless.c
3018 libnm-util/nm-setting-wireless.h
3019 - (set_property, get_property, nm_setting_wireless_class_init): add the
3020 'adhoc-create' property, which when TRUE indicates that NM should
3021 create this connection as an adhoc wifi network if it's not found
3022 as an adhoc network during scanning. Can be used to auto-create
3023 adhoc networks when used in combination with autoconnect.
3025 2008-05-28 Tambet Ingo <tambet@gmail.com>
3027 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
3029 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
3030 checked, it doesn't work on some devices.
3032 2008-05-28 Tambet Ingo <tambet@gmail.com>
3034 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
3035 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
3037 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
3038 Use inet_aton() everywhere to improve error detection.
3039 Don't fall back to 'dhcp_server_identifier' if the gateway is not
3042 2008-05-26 Tambet Ingo <tambet@gmail.com>
3044 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
3047 2008-05-26 Tambet Ingo <tambet@gmail.com>
3049 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
3050 reference counting issue.
3052 2008-05-23 Dan Williams <dcbw@redhat.com>
3054 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3056 * src/backends/NetworkManagerGeneric.c
3057 - (nm_generic_enable_loopback): use libnl
3059 2008-05-23 Dan Williams <dcbw@redhat.com>
3061 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3063 * src/NetworkManagerSystem.h
3064 src/backends/NetworkManagerArch.c
3065 src/backends/NetworkManagerDebian.c
3066 src/backends/NetworkManagerFrugalware.c
3067 src/backends/NetworkManagerGentoo.c
3068 src/backends/NetworkManagerMandriva.c
3069 src/backends/NetworkManagerPaldo.c
3070 src/backends/NetworkManagerRedHat.c
3071 src/backends/NetworkManagerSlackware.c
3072 src/backends/NetworkManagerSuSE.c
3073 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3074 nm_system_flush_arp_cache): remove, unused
3076 * src/backends/NetworkManagerGeneric.c
3077 src/backends/NetworkManagerGeneric.h
3078 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3079 nm_generic_flush_arp_cache): remove, unused
3081 2008-05-23 Dan Williams <dcbw@redhat.com>
3083 * system-settings/plugins/ifcfg-fedora/reader.c
3084 - (make_ip4_setting): honor PEERDNS setting
3086 2008-05-23 Dan Williams <dcbw@redhat.com>
3088 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3090 * src/NetworkManagerSystem.c
3091 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3094 * src/backends/NetworkManagerArch.c
3095 src/backends/NetworkManagerDebian.c
3096 src/backends/NetworkManagerFrugalware.c
3097 src/backends/NetworkManagerGentoo.c
3098 src/backends/NetworkManagerMandriva.c
3099 src/backends/NetworkManagerPaldo.c
3100 src/backends/NetworkManagerRedHat.c
3101 src/backends/NetworkManagerSlackware.c
3102 src/backends/NetworkManagerSuSE.c
3103 - (nm_system_device_flush_ip4_addresses,
3104 nm_system_device_flush_ip4_addresses_with_iface): remove
3106 * src/backends/NetworkManagerGeneric.c
3107 - (nm_generic_device_flush_ip4_addresses,
3108 nm_generic_device_flush_ip4_addresses_with_iface): remove
3110 2008-05-23 Dan Williams <dcbw@redhat.com>
3112 * src/supplicant-manager/nm-supplicant-settings-verify.c
3113 - Switch 'bssid' from bytes to keyword type
3114 - (validate_type_keyword): allow NULL keyword lists
3116 * src/supplicant-manager/nm-supplicant-config.c
3117 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3118 a byte array to string form, which is what the supplicant expects
3120 2008-05-23 Tambet Ingo <tambet@gmail.com>
3122 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3123 information received from DHCP.
3125 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3126 to make it possible to ignore the DNS information (both servers and
3127 searches) returned by DHCP server.
3129 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3130 name servers and searches if "ignore_dhcp_dns" is set.
3132 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3133 (nm_ip4_config_reset_searches): Implement.
3135 2008-05-22 Dan Williams <dcbw@redhat.com>
3137 Remove anything mDNS related. This is better done from a distro-specific
3138 dispatcher script. Plus, any distro using avahi doesn't need to restart
3139 avahi, since avahi can handle interface changes just fine using netlink.
3142 - Remove --with-mdns-provider
3144 * src/NetworkManagerPolicy.c
3145 - (global_state_changed): don't restart the mdns provider
3147 * src/NetworkManagerSystem.h
3148 src/backends/NetworkManagerArch.c
3149 src/backends/NetworkManagerDebian.c
3150 src/backends/NetworkManagerFrugalware.c
3151 src/backends/NetworkManagerGentoo.c
3152 src/backends/NetworkManagerMandriva.c
3153 src/backends/NetworkManagerPaldo.c
3154 src/backends/NetworkManagerRedHat.c
3155 src/backends/NetworkManagerSlackware.c
3156 src/backends/NetworkManagerSuSE.c
3157 - (nm_system_restart_mdns_responder): remove
3159 * src/backends/NetworkManagerGeneric.c
3160 src/backends/NetworkManagerGeneric.h
3161 - (nm_generic_restart_mdns_responder): remove
3163 2008-05-22 Dan Williams <dcbw@redhat.com>
3166 - clean up crypto options; just use --with-crypto=nss or
3167 --with-crypto=gnutls
3169 2008-05-22 Tambet Ingo <tambet@gmail.com>
3171 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3172 anymore, do it right away.
3174 2008-05-22 Tambet Ingo <tambet@gmail.com>
3176 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3177 serial device open when we're not connecting or connected.
3179 * src/nm-cdma-device.c (device_state_changed): Ditto.
3181 2008-05-22 Tambet Ingo <tambet@gmail.com>
3183 Don't remove all devices on waking up, sync with HAL.
3185 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3186 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3187 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3189 2008-05-21 Tambet Ingo <tambet@gmail.com>
3191 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3192 If the default gateway is unreachable, add a route to gateway and try
3195 2008-05-20 Dan Williams <dcbw@redhat.com>
3197 * system-settings/plugins/ifcfg-fedora/reader.c
3198 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3200 2008-05-19 Dan Williams <dcbw@redhat.com>
3202 * system-settings/plugins/ifcfg-fedora/reader.c
3203 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3204 if the ifcfg doesn't specify one (rh #446527)
3206 2008-05-19 Dan Williams <dcbw@redhat.com>
3208 Make the system settings service exit when the bus goes away. Since it's
3209 a bus-activated service, it's lifetime is limited to the bus that activated
3212 * system-settings/src/Makefile.am
3213 system-settings/src/nm-system-config-hal-manager-private.h
3214 - Remove nm-system-config-hal-manager-private.h
3216 * system-settings/src/nm-system-config-hal-manager.c
3217 - (nm_system_config_hal_manager_reinit_dbus,
3218 nm_system_config_hal_manager_deinit_dbus): remove
3220 * system-settings/src/main.c
3221 - (dbus_reconnect): remove
3222 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3223 - (destroy_cb): just quit when the bus goes away
3224 - (start_dbus_service, dbus_init): simplify
3225 - (main): destroy the wired devices hash table after destroying
3226 the HAL manager so we don't have to disconnect signals from the
3229 2008-05-15 Tambet Ingo <tambet@gmail.com>
3231 Move crypto functions from nm-applet to libnm-util.
3233 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3234 (nm_setting_802_1x_set_client_cert)
3235 (nm_setting_802_1x_set_phase2_ca_cert)
3236 (nm_setting_802_1x_set_phase2_client_cert)
3237 (nm_setting_802_1x_set_private_key)
3238 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3239 file (or private key and it's password), read the certificate data.
3241 * libnm-util/crypto_nss.c:
3242 * libnm-util/crypto_gnutls.c:
3243 * libnm-util/crypto.[ch]: Move here from nm-applet.
3245 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3247 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3248 Imlement WPA-EAP configuration reading from sysconfig.
3250 2008-05-16 Dan Williams <dcbw@redhat.com>
3252 * src/nm-device-802-11-wireless.c
3253 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3256 2008-05-14 Dan Williams <dcbw@redhat.com>
3258 Fix Linus' bug in rh #134886
3260 * src/nm-device-802-3-ethernet.c
3261 - (constructor): request initial carrier state
3263 * src/nm-netlink-monitor.c
3264 - (nm_netlink_monitor_request_status): schedule emission of carrier
3265 signals after refilling the link cache. Because the refill is a
3266 synchronous operation, the normal message hander won't get called
3267 since libnl has already consumed the messages.
3268 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3270 2008-05-14 Dan Williams <dcbw@redhat.com>
3272 * src/NetworkManagerSystem.c
3273 - (nm_system_device_is_up_with_iface): clean up
3275 2008-05-13 Dan Williams <dcbw@redhat.com>
3277 Fix refcounting issues over sleep/wake when a VPN connection was active that
3278 caused NM to try registering an object path for a device upon wake that was
3279 the same as an already registered object path.
3282 - (nm_device_take_down): properly handle cases where the device is
3283 no longer active but was just active, and therefore must be
3284 deactivated. When a device moves to unmanaged mode, this function
3285 previously would not deactivate the device, because the state was
3286 already unmanaged by the time this function was called.
3288 * src/vpn-manager/nm-vpn-connection.c
3289 - (device_state_changed): properly handle multiple devices states in
3290 which the device is now deactivated. Code previously didn't handle
3291 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3294 2008-05-13 Dan Williams <dcbw@redhat.com>
3296 * src/nm-device-private.h
3298 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3300 * src/nm-device-802-11-wireless.c
3301 - (nm_device_802_11_wireless_set_enabled): take devices up
3302 and down as appropriate for the rfkill state
3304 2008-05-13 Dan Williams <dcbw@redhat.com>
3306 * marshallers/nm-marshal.list
3307 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3309 * system-settings/plugins/ifcfg-fedora/Makefile.am
3310 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3311 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3312 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3313 events. Solely for use watching ifcfg files to pick up changes
3314 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3316 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3317 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3318 file contents change
3319 - (finalize): clean up inotify watches
3320 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3321 and the connection ifcfg for changes on their hardlinks
3322 - (files_changed_cb): proxy the changed signal back out to listeners
3324 * system-settings/plugins/ifcfg-fedora/plugin.c
3326 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3328 - (read_one_connection): connect to change signals on the new connection
3329 - (dir_changed, connection_changed_handler,
3330 handle_connection_remove_or_new): break out connection change
3331 handling and connection new/remove handling so it can be used from
3332 both the GFileMonitor callback and the NMIfcfgConnection changed
3335 * system-settings/plugins/ifcfg-fedora/reader.c
3336 system-settings/plugins/ifcfg-fedora/reader.h
3337 - (connection_from_file): return the keyfile path the connection would use
3339 2008-05-13 Tambet Ingo <tambet@gmail.com>
3341 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3342 single PolKitContext which is shared by all. PolKitContext::unref leaks
3343 just about everything, including all open file descriptiors and results
3344 in 99% cpu usage when data arrives to any of the fds that don't belong
3345 to any context anymore.
3347 2008-05-12 Dan Williams <dcbw@redhat.com>
3349 * gfilemonitor/glocaldirectorymonitor.c
3350 gfilemonitor/glocaldirectorymonitor.h
3351 - (g_local_directory_monitor_constructor): actually subscribe to the
3353 - (_g_local_directory_monitor_new): ensure that inotify is started up
3355 * gfilemonitor/glocalfilemonitor.c
3356 gfilemonitor/glocalfilemonitor.h
3357 - (g_local_file_monitor_constructor): actually subscribe to the watch
3358 - (_g_local_file_monitor_new): ensure that inotify is started up
3360 2008-05-11 Dan Williams <dcbw@redhat.com>
3363 - record PolicyKit version
3365 * system-settings/src/nm-polkit-helpers.c
3366 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3367 with PolicyKit <= 0.6
3369 2008-05-11 Dan Williams <dcbw@redhat.com>
3371 Update Fedora system-settings plugin to support latest API and use
3372 GFileMonitor rather than home-rolled inotify code.
3374 * system-settings/plugins/ifcfg-fedora/Makefile.am
3375 system-settings/plugins/ifcfg-fedora/common.h
3376 system-settings/plugins/ifcfg-fedora/plugin.c
3377 - Update to latest system settings plugin API; use GIO instead of
3378 custom inotify code; use NMIfcfgConnection objects instead of
3379 ConnectionData structures tacked onto NMConnection objects
3381 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3382 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3383 - Implement an NMExportedConnection subclass mapping ifcfg files to
3386 * system-settings/plugins/ifcfg-fedora/reader.c
3387 system-settings/plugins/ifcfg-fedora/reader.h
3388 - Move ifcfg parsing bits here from parser.c
3390 * system-settings/plugins/ifcfg-fedora/parser.c
3391 system-settings/plugins/ifcfg-fedora/parser.h
3392 - Remove; most code moved to reader.c
3394 2008-05-11 Dan Williams <dcbw@redhat.com>
3399 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3400 implementation, so that the same change monitoring code can be used
3401 on systems without glib-2.14 (like Fedora 8)
3403 * system-settings/plugins/keyfile/Makefile.am
3404 system-settings/plugins/keyfile/plugin.c
3405 system-settings/plugins/ifcfg-suse/Makefile.am
3406 system-settings/plugins/ifcfg-suse/plugin.c
3407 - Use private gfilemonitor code if GIO is not present
3409 2008-05-09 Tambet Ingo <tambet@gmail.com>
3411 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3412 NMExportedConnection's 'update' and 'delete' and return error with
3413 descriptive message.
3415 2008-05-08 Dan Williams <dcbw@redhat.com>
3417 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3419 * src/nm-gsm-device.c
3420 src/nm-cdma-device.c
3421 - (real_get_best_auto_connection): implement; allow autoconnection
3422 to GSM & CDMA devices
3424 2008-05-08 Tambet Ingo <tambet@gmail.com>
3426 Use PolicyKit to authorize the system settings' AddConnection method
3427 and the system settings connections' Update and Delete methods.
3429 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3430 (impl_exported_connection_delete, nm_exported_connection_update)
3431 (nm_exported_connection_delete): Return boolean and fill GError
3432 to notify the callers of the reasons why it might have failed.
3434 * libnm-glib/nm-dbus-settings-system.c
3435 (nm_dbus_settings_system_add_connection): Return the error from dbus
3436 call so that the callers can see why it failed.
3438 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3441 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3443 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3444 abstract base class that checks PolicyKit permissions.
3446 * system-settings/src/dbus-settings.c:
3447 (impl_settings_add_connection): Check the policy before carring out
3450 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3451 Inherit from NMSysconfigConnection, check the policies before
3452 allowing updating or removing.
3454 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3455 Inherit from NMSysconfigConnection.
3457 * introspection/nm-exported-connection.xml: Annotate "Update" and
3458 "Delete" methods with async flag so that the implementations can get
3459 access to DBusGMethodInvocation.
3461 * system-settings/src/dbus-settings.c
3462 (settings_add_connection_check_privileges): Implement.
3463 (impl_settings_add_connection): Check the privileges before adding a new
3464 connection. Improve error reporting.
3466 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3467 async so that the implementation can access DBusGMethodInvocation.
3469 * configure.in: Check for PolicyKit.
3471 * policy/org.freedesktop.network-manager-settings.system.policy:
3474 * policy/Makefile.am: Install the policy file.
3476 * configure.in: Add 'policy' subdir.
3478 2008-05-08 Tambet Ingo <tambet@gmail.com>
3480 Rewrite the suse system settings plugin.
3482 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3484 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3486 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3488 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3490 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3492 * system-settings/src/main.c (load_plugins): Improve error reporting.
3494 * system-settings/src/sha1.[ch] Add.
3496 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3498 2008-05-07 Dan Williams <dcbw@redhat.com>
3500 * system-settings/plugins/keyfile/reader.c
3501 - (read_one_setting_value): handle IP address items separately
3502 - (read_array_of_uint): read IPv4 DNS option as a string array
3503 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3506 * system-settings/plugins/keyfile/writer.c
3507 - (write_setting_value): handle IP address items separately
3508 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3509 not an array of uint, so that it's user-editable
3510 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3511 arrays, so they are user-editable
3513 2008-05-07 Dan Williams <dcbw@redhat.com>
3515 * system-settings/plugins/keyfile/Makefile.am
3516 - Change location of the keyfile plugin settings to
3517 /etc/NetworkManager/system-connections
3519 2008-05-05 Tambet Ingo <tambet@gmail.com>
3521 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3523 * system-settings/plugins/keyfile/plugin.c: Work with
3524 NMKeyfileConnections.
3526 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3527 Plugins are supposed to return NMExportedConnections now and handle the
3528 updated(), removed(), and GetSecrets().
3529 Store the internal list of connections in hash table to make it easier
3532 2008-05-07 Tambet Ingo <tambet@gmail.com>
3534 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3535 for multiple IP addresses.
3537 2008-05-07 Tambet Ingo <tambet@gmail.com>
3539 Patch from André Lemos.
3541 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3544 2008-05-06 Dan Williams <dcbw@redhat.com>
3546 * src/dhcp-manager/nm-dhcp-manager.c
3547 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3548 NMIP4Config to support multiple IP addresses
3550 * src/NetworkManagerUtils.c
3551 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3553 * src/nm-ip4-config.c
3555 - Store a list of IPv4 address/netmask/gateway tuples
3556 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3557 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3558 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3559 nm_ip4_config_set_address): remove
3560 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3561 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3562 new functions; handle multiple IPv4 addresses
3565 src/ppp-manager/nm-ppp-manager.c
3566 src/vpn-manager/nm-vpn-connection.c
3567 src/NetworkManagerPolicy.c
3569 libnm-glib/libnm-glib-test.c
3570 - update for changes to NMIP4Config for multiple IPv4 addresses
3572 * src/NetworkManagerSystem.c
3573 - (nm_system_device_set_ip4_route): don't add the route if any address
3574 is on the same subnet as the destination
3575 - (check_one_address): ignore the exact match, just match family and
3577 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3579 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3580 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3582 * introspection/nm-ip4-config.xml
3583 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3584 - Add 'addresses' property which is an array of (uuu) tuples of
3585 address/netmask/gateway
3587 * libnm-util/nm-setting-ip4-config.c
3588 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3590 * libnm-glib/nm-ip4-config.c
3591 libnm-glib/nm-ip4-config.h
3592 - Handle D-Bus interface changes to support multiple IP addresses
3594 2008-05-06 Dan Williams <dcbw@redhat.com>
3596 * libnm-util/nm-utils.c
3597 libnm-util/nm-utils.h
3598 - (nm_utils_ip4_addresses_from_gvalue,
3599 nm_utils_ip4_addresses_to_gvalue): new functions
3601 2008-05-06 Tambet Ingo <tambet@gmail.com>
3603 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3604 the returned connection paths.
3606 2008-05-05 Tambet Ingo <tambet@gmail.com>
3608 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3609 "PropertiesChanged" signal signature.
3611 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3612 defined in nm-dbus-glib-types.h.
3613 Don't register the connection on dbus, we're a proxy class to
3614 communicate with an already registered connection over dbus.
3616 2008-04-30 Tambet Ingo <tambet@gmail.com>
3618 Implement new subclasses of NMSettings and NMExportedConnection to make
3619 it easier for the applet to access and modify system settings.
3621 * libnm-glib/nm-dbus-connection.[ch]:
3622 * libnm-glib/nm-dbus-settings.[ch]:
3623 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3625 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3628 * include/NetworkManager.h: Define the system settings DBus interface.
3630 2008-04-30 Tambet Ingo <tambet@gmail.com>
3632 Implement additional C API for exported connections to make them identical
3633 with the DBus API. Change the (list_connections) virtual function to be
3634 more usable from C - instead of requiring implementers to return a GPtrArray
3635 of dbus paths, return a list of connections.
3637 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3638 (nm_settings_list_connections):
3639 (nm_exported_connection_new):
3640 (nm_exported_connection_update):
3641 (nm_exported_connection_delete): Implement.
3643 (impl_settings_list_connections):
3644 (impl_exported_connection_update):
3645 (impl_exported_connection_delete): Use the new public functions to make
3646 sure the C and dbus interfaces stay in sync.
3648 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3651 2008-05-02 Dan Williams <dcbw@redhat.com>
3653 * system-settings/plugins/ifcfg-fedora/plugin.c
3654 - (dispose): use right unref call on the DBusGConnection
3656 2008-05-02 Dan Williams <dcbw@redhat.com>
3658 * src/nm-serial-device.c
3659 - (find_terminator): don't compare the whole line, just the size of the
3660 terminator, since some modems put stuff after the terminator, like
3663 2008-05-01 Dan Williams <dcbw@redhat.com>
3665 Patch from Michael Biebl <biebl@debian.org>
3667 * callouts/Makefile.am
3668 callouts/org.freedesktop.nm_dispatcher.service.in
3669 system-settings/src/Makefile.am
3670 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3671 - use the right install location for dbus-activated stuff
3673 2008-04-30 Dan Williams <dcbw@redhat.com>
3675 * src/nm-gsm-device.c
3676 - (enter_pin): fix setting name passed to applets when asking for a GSM
3679 2008-04-30 Dan Williams <dcbw@redhat.com>
3682 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3684 2008-04-30 Dan Williams <dcbw@redhat.com>
3686 * src/nm-device-802-3-ethernet.c
3687 src/nm-device-802-11-wireless.c
3688 - (real_is_up): return true instead of chaining up to unimplemented
3691 2008-04-30 Dan Williams <dcbw@redhat.com>
3693 * src/NetworkManagerSystem.c
3694 src/NetworkManagerSystem.h
3695 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3696 functions to check device flags for IFF_UP
3698 * src/nm-serial-device.c
3699 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3702 * src/nm-device-802-3-ethernet.c
3703 src/nm-device-802-11-wireless.c
3704 - (real_hw_is_up): call nm_system_device_is_up()
3707 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3708 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3711 2008-04-29 Dan Williams <dcbw@redhat.com>
3713 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3715 * marshallers/nm-marshal.list
3718 * src/NetworkManager.c
3719 - (main): let the NMManager handle the NMHalManager
3721 * src/nm-hal-manager.c
3722 src/nm-hal-manager.h
3723 - convert to a GObject, and emit singals when stuff changes. Let the
3724 NMManager handle the signals, instead of the NMHalManager calling
3729 - (remove_one_device): consolidate device removals here
3730 - (dispose): use remove_one_device()
3731 - (nm_manager_get_device_by_udi): make static
3732 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3733 manager for devices at startup or wakeup time
3734 - (nm_manager_new): create and monitor the HAL manager
3735 - (hal_manager_udi_added_cb): new function; do what
3736 nm_manager_add_device() used to do when signalled by the hal manager
3737 - (hal_manager_udi_removed_cb): new function; do what
3738 nm_manager_remove_device() used to do when signalled by the hal
3740 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3742 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3743 in our device list that aren't known to HAL
3744 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3745 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3747 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3748 nm_manager_activation_pending, nm_manager_wireless_enabled,
3749 nm_manager_wireless_hardware_enabled,
3750 nm_manager_set_wireless_hardware_enabled): remove, unused
3752 2008-04-28 Dan Williams <dcbw@redhat.com>
3754 Fix the device up/down ambiguities. Up/down state used to be a
3755 conglomeration of hardware state (IFF_UP) and any device-specific things
3756 (supplicant, periodic timers, etc) that the device used to indicate
3757 readiness. Unfortunately, if the hardware was already IFF_UP for some
3758 reason, then the device specific stuff wouldn't get run, and the device
3763 - Create hw_is_up, hw_bring_up, and hw_take_down
3764 - Rename bring_down -> take_down
3765 - (real_hw_is_up): check interface flags for IFF_UP
3766 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3767 - (nm_device_is_up): make static; only used locally
3768 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3769 if the device is already up; if the device isn't up, bring it up
3770 - (nm_device_hw_take_down): just take down hardware
3771 - (nm_device_bring_up): bring up HW first, then device specific stuff
3772 - (nm_device_take_down): always deactivate device when called; always
3773 try to take hardware down too
3774 - (nm_device_state_changed): take device down when entering unmanaged
3775 state from a higher state
3777 * src/nm-device-802-11-wireless.c
3778 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3780 - (real_take_down, supplicant_iface_state_cb_handler,
3781 supplicant_iface_connection_state_cb_handler,
3782 supplicant_mgr_state_cb_handler): fix some messages
3784 * src/nm-device-802-3-ethernet.c
3785 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3788 2008-04-28 Dan Williams <dcbw@redhat.com>
3792 - (nm_manager_error_get_type): add new error
3793 - (nm_manager_remove_device): don't bother taking down the device here,
3794 the state change from unmanaging the device will do it
3795 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3796 uses it; when going to sleep, just unmanage the device instead of
3797 taking it down, because stuff will cleaned up correctly when the
3798 device gets unmanaged
3800 2008-04-28 Dan Williams <dcbw@redhat.com>
3802 * src/nm-hal-manager.c
3803 - (add_initial_devices): convert to a GSourceFunc prototype
3804 - (nm_manager_state_changed): when coming out of sleep, punt the
3805 device re-addition to an idle handler to let D-Bus events go out
3806 first, fixing a potential dbus-glib assert if the old device was
3807 not yet disposed (due to references held while emitting the D-Bus
3808 signals) but the new device was found, because the mainloop didn't
3809 run between signal emission and add_initial_devices()
3811 2008-04-27 Dan Williams <dcbw@redhat.com>
3813 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3815 * initscript/paldo/NetworkManager.in
3816 initscript/SUSE/networkmanager.in
3817 - Remove last bits of dhcdbd
3819 2008-04-27 Dan Williams <dcbw@redhat.com>
3821 * src/nm-device-802-11-wireless.c
3822 - (link_timeout_cb): don't ask for secrets when disconnected during
3823 association/authentication phase, drivers are still just too crappy
3825 2008-04-27 Dan Williams <dcbw@redhat.com>
3829 dispatcher-daemon/Makefile.am
3830 dispatcher-daemon/NetworkManagerDispatcher.c
3831 initscript/Arch/Makefile.am
3832 initscript/Arch/networkmanager-dispatcher.in
3833 initscript/Gentoo/Makefile.am
3834 initscript/Gentoo/NetworkManagerDispatcher.in
3835 initscript/Mandriva/Makefile.am
3836 initscript/Mandriva/networkmanagerdispatcher.in
3837 initscript/RedHat/Makefile.am
3838 initscript/RedHat/NetworkManagerDispatcher.in
3839 initscript/SUSE/Makefile.am
3840 initscript/SUSE/networkmanager-dispatcher.in
3841 initscript/Slackware/Makefile.am
3842 initscript/Slackware/rc.networkmanager-dispatcher.in
3843 initscript/paldo/Makefile.am
3844 initscript/paldo/NetworkManagerDispatcher.in
3846 man/NetworkManagerDispatcher.8.in
3847 - Remove the dispatcher daemon
3849 2008-04-27 Dan Williams <dcbw@redhat.com>
3851 * callouts/Makefile.am
3852 callouts/nm-dispatcher-action.c
3853 callouts/nm-dispatcher-action.h
3854 callouts/nm-dispatcher.conf
3855 callouts/nm-dispatcher.xml
3856 callouts/org.freedesktop.nm_dispatcher.service
3857 - Re-implement the dispatcher as a system-bus activated service that
3858 NM calls on-demand, rather than an always running daemon
3861 - Add callouts dir to includes to pick up dispatcher defines
3864 - (nm_device_state_changed): call dispatcher on device activated/
3867 * src/vpn-manager/nm-vpn-connection.c
3868 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3871 * src/NetworkManagerUtils.c
3872 src/NetworkManagerUtils.h
3873 - (nm_utils_call_dispatcher): helper to call dispatcher
3875 2008-04-27 Dan Williams <dcbw@redhat.com>
3877 * src/NetworkManagerUtils.c
3878 src/NetworkManagerUtils.h
3879 - remove unneeded includes
3880 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3881 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3882 nm_timeval_cmp, nm_timeval_add): remove, unused
3883 - clean up formatting
3884 - (nm_spawn_process): de-uglify
3886 * src/nm-device-802-11-wireless.c
3887 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3889 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3891 * initscript/Gentoo/NetworkManager.in:
3892 Fix for starting the daemon.
3894 2008-04-25 Dan Williams <dcbw@redhat.com>
3896 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3898 * src/NetworkManagerSystem.c
3899 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3901 2008-04-25 Dan Williams <dcbw@redhat.com>
3903 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3905 * src/NetworkManagerSystem.c
3906 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3907 implementation of nm_system_device_replace_default_route()
3909 * src/NetworkManagerPolicy.c
3910 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3912 * src/backends/NetworkManagerArch.c
3913 src/backends/NetworkManagerDebian.c
3914 src/backends/NetworkManagerFrugalware.c
3915 src/backends/NetworkManagerGeneric.c
3916 src/backends/NetworkManagerGeneric.h
3917 src/backends/NetworkManagerGentoo.c
3918 src/backends/NetworkManagerMandriva.c
3919 src/backends/NetworkManagerPaldo.c
3920 src/backends/NetworkManagerRedHat.c
3921 src/backends/NetworkManagerSlackware.c
3922 src/backends/NetworkManagerSuSE.c
3923 - (nm_system_device_replace_default_route): remove
3925 2008-04-25 Dan Williams <dcbw@redhat.com>
3927 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3929 * src/NetworkManagerSystem.c
3930 - (validate_ip4_route): remove; use nl_addr_parse() instead
3931 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3932 replace nm_system_device_add_route_via_device_with_iface() in the
3935 * src/backends/NetworkManagerArch.c
3936 src/backends/NetworkManagerDebian.c
3937 src/backends/NetworkManagerFrugalware.c
3938 src/backends/NetworkManagerGeneric.c
3939 src/backends/NetworkManagerGeneric.h
3940 src/backends/NetworkManagerGentoo.c
3941 src/backends/NetworkManagerMandriva.c
3942 src/backends/NetworkManagerPaldo.c
3943 src/backends/NetworkManagerRedHat.c
3944 src/backends/NetworkManagerSlackware.c
3945 src/backends/NetworkManagerSuSE.c
3946 - Remove nm_system_device_add_route_via_device_with_iface()
3948 2008-04-25 Dan Williams <dcbw@redhat.com>
3950 * system-settings/plugins/ifcfg-fedora/parser.c
3951 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3953 2008-04-24 Dan Williams <dcbw@redhat.com>
3955 * dispatcher-daemon/NetworkManagerDispatcher.c
3956 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3958 2008-04-24 Dan Williams <dcbw@redhat.com>
3960 * initscript/RedHat/NetworkManager.in
3961 initscript/RedHat/NetworkManagerDispatcher.in
3962 - Be active at runlevel 2
3963 - Adjust priorities earlier
3965 2008-04-22 Dan Williams <dcbw@redhat.com>
3967 * src/NetworkManagerPolicy.c
3968 - (update_routing_and_dns): when checking for a gateway, look at the
3969 composite IP4 config, not the connection's ip4-config setting, which
3970 doesn't include DHCP-returned information
3972 2008-04-22 Tambet Ingo <tambet@gmail.com>
3974 Implement GKeyFile system settings plugin.
3975 Implement writing system settings (currently supported only by GKeyFile plugin).
3977 * system-settings/src/main.c:
3978 * system-settings/src/dbus-settings.c: Move the communication with plugins
3979 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3980 plugins for adding/updating/removing connections.
3982 * system-settings/src/nm-system-config-interface.c
3983 (nm_system_config_interface_add_connection): Implement
3984 (nm_system_config_interface_update_connection): Implement.
3985 (nm_system_config_interface_remove_connection): Implement.
3987 * system-settings/plugins/keyfile/Makefile.am:
3988 * system-settings/plugins/keyfile/plugin.[ch]:
3989 * system-settings/plugins/keyfile/writer.[ch]:
3990 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3992 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3994 * configure.in: Generate GKeyFile Makefile.
3996 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3997 corruption, need to duplicate the returned string.
3998 (impl_exported_connection_update): Implement.
3999 (impl_exported_connection_delete): Implement.
4001 * introspection/nm-settings-system.xml: Add "AddConnection" method.
4003 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
4005 2008-04-22 Dan Williams <dcbw@redhat.com>
4007 Patch from Charles R. Anderson (cra@wpi.edu)
4009 * src/NetworkManagerPolicy.c
4010 - (update_routing_and_dns): don't select devices without a gateway
4011 as having the default route (rh #437338)
4013 2008-04-21 Dan Williams <dcbw@redhat.com>
4015 * src/nm-activation-request.c
4016 src/nm-activation-request.h
4017 - (dispose): ensure to disconnect from the device's state-changed signal
4018 when appropriate so the signal doesn't get handled by an already
4019 disposed NMActRequest
4020 - (device_state_changed): update is_default here too just to make sure
4021 default is only True when the child device is activated
4022 - (nm_act_request_set_default): new function
4024 * src/NetworkManagerPolicy.c
4025 - (update_routing_and_dns): set 'default' on the active connection which
4026 has the default route and DNS
4028 2008-04-21 Dan Williams <dcbw@redhat.com>
4030 * src/NetworkManagerPolicy.c
4031 - (device_state_changed): update routing and DNS when a device goes
4032 into unmanaged or unavailable states too (like rfkill or carrier loss)
4034 2008-04-21 Dan Williams <dcbw@redhat.com>
4036 * include/NetworkManager.h
4037 - Add NMActiveConnectionState enum
4039 * introspection/nm-active-connection.xml
4040 introspection/nm-vpn-connection.xml
4041 - Add 'State' property for overall active connection state
4042 - Add 'Default' property, when True means this active connection
4043 has the default route
4044 - Add PropertyChanged signals so changes actually go out over the bus
4046 * src/nm-active-connection.h
4047 - Add defines for State & Default properties
4049 * src/nm-activation-request.c
4050 - Add 'state' and 'default' properties, hook up to device 'state-changed'
4051 signal to determine active connection state
4053 * src/vpn-manager/nm-vpn-connection.c
4054 src/vpn-manager/nm-vpn-connection.h
4055 src/vpn-manager/nm-vpn-manager.c
4056 src/vpn-manager/nm-vpn-service.c
4057 - Rename old 'state' to 'vpn-state'
4058 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4059 - Add 'state' and 'default' properties, hook up to the vpn connection's
4060 'vpn-state-changed' signal
4062 * libnm-glib/nm-active-connection.c
4063 libnm-glib/nm-active-connection.h
4064 - Add new 'state' and 'default' properties and accessors
4066 * libnm-glib/nm-vpn-connection.c
4067 libnm-glib/nm-vpn-connection.h
4068 - Rename old 'state' property to 'vpn-state'
4069 - Add new 'state' and 'default' properties and accessors
4071 2008-04-21 Dan Williams <dcbw@redhat.com>
4073 * src/nm-ip4-config.c
4074 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4075 not specified (rh #443474)
4077 2008-04-20 Dan Williams <dcbw@redhat.com>
4079 * src/NetworkManagerUtils.c
4080 src/NetworkManagerUtils.h
4081 - (nm_utils_merge_ip4_config): new function; merge settings from an
4082 NMSettingIP4Config to an NMIP4Config object
4085 - (merge_ip4_config): move to NetworkManagerUtils.c
4087 * src/vpn-manager/nm-vpn-connection.c
4088 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4091 2008-04-18 Dan Williams <dcbw@redhat.com>
4093 * libnm-util/nm-setting-ppp.c
4094 libnm-util/nm-setting-ppp.h
4095 - Add 'no-vj-comp' option for TCP header compression
4096 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4099 2008-04-18 Dan Williams <dcbw@redhat.com>
4101 * libnm-util/nm-setting-ppp.c
4102 libnm-util/nm-setting-ppp.h
4103 src/ppp-manager/nm-ppp-manager.c
4104 - Add 'refuse-pap' and 'refuse-mschapv2' options
4106 2008-04-18 Dan Williams <dcbw@redhat.com>
4108 * libnm-util/nm-setting-ppp.c
4109 libnm-util/nm-setting-ppp.h
4110 src/ppp-manager/nm-ppp-manager.c
4111 - Remove the 'usepeerdns' option and always request DNS servers from
4112 the PPP server; the connection chooses to use/override/ignore the
4113 DNS servers returned from the PPP server
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 'require-mppc' option, because pppd doesn't support it and
4121 it seems to have been an erroneous addition to the PPTP plugin in
4122 the first place (from which the ppp-manager is derived)
4124 2008-04-17 Dan Williams <dcbw@redhat.com>
4126 * libnm-util/nm-setting-pppoe.c
4127 - (verify): require a PPP setting too
4129 * src/ppp-manager/nm-ppp-manager.c
4130 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4133 2008-04-17 Dan Williams <dcbw@redhat.com>
4136 - (nm_device_state_changed): do deactivation and and promotion to
4137 unavailable here, so that the device gets cleaned up before the
4138 manager runs and starts emitting signals; do the
4139 FAILED->DISCONNECTED transition from an idle handler rather than
4140 immediately to guard against recursion
4141 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4142 FAILED->DISCONNECTED handler if it's scheduled
4144 2008-04-17 Dan Williams <dcbw@redhat.com>
4146 * src/nm-device-802-11-wireless.c
4147 - (state_changed_cb): clear AP list when device transitions to
4148 unavailable or unmanaged
4149 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4150 since this is already done in device_cleanup()
4151 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4152 isn't available or managed
4153 - (device_cleanup): use remove_all_aps()
4154 - (remove_all_aps): consolidate code removing all APs
4156 2008-04-17 Dan Williams <dcbw@redhat.com>
4158 * src/nm-serial-device.c
4159 src/nm-serial-device.h
4160 - (wait_for_reply_got_data): break input into lines, and search each
4161 line for responses _and_ terminator strings; also make sure that
4162 the read loop doesn't continue after the timeout is supposed to fire
4163 - (nm_serial_device_wait_for_reply): take an array of terminators too
4165 * src/nm-gsm-device.c
4166 src/nm-cdma-device.c
4167 - Send terminators to nm_serial_device_wait_for_reply()
4169 2008-04-16 Dan Williams <dcbw@redhat.com>
4171 Patch from 陈鑫 <znscnchen@gmail.com>
4173 * src/ppp-manager/nm-pppd-plugin.c
4174 - (get_credentials): return correct value for success; handle case where
4175 pppd just does some checking but doesn't want a password
4176 - (plugin_init): make CHAP work too
4178 2008-04-16 Dan Williams <dcbw@redhat.com>
4180 Patch from 陈鑫 <znscnchen@gmail.com>
4182 * src/ppp-manager/nm-ppp-manager.c
4183 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4185 2008-04-16 Dan Williams <dcbw@redhat.com>
4187 Patch from 陈鑫 <znscnchen@gmail.com>
4189 * src/nm-device-802-3-ethernet.c
4190 - (real_deactivate_quickly): clear the IP interface name on
4191 deactivation, otherwise the wrong interface might get used later
4192 for routing and IP management
4194 2008-04-15 Dan Williams <dcbw@redhat.com>
4196 * libnm-glib/nm-device.c
4197 - (get_product_and_vendor): handle serial devices correctly
4198 - (nm_device_update_description): pass device to get_product_and_vendor()
4200 2008-04-15 Dan Williams <dcbw@redhat.com>
4202 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4204 * src/NetworkManagerSystem.h
4205 src/backends/NetworkManagerArch.c
4206 src/backends/NetworkManagerDebian.c
4207 src/backends/NetworkManagerFrugalware.c
4208 src/backends/NetworkManagerGeneric.c
4209 src/backends/NetworkManagerGeneric.h
4210 src/backends/NetworkManagerGentoo.c
4211 src/backends/NetworkManagerMandriva.c
4212 src/backends/NetworkManagerPaldo.c
4213 src/backends/NetworkManagerRedHat.c
4214 src/backends/NetworkManagerSlackware.c
4215 src/backends/NetworkManagerSuSE.c
4217 - (nm_generic_device_add_ip6_link_address,
4218 nm_system_device_add_ip6_link_address): remove
4220 2008-04-15 Dan Williams <dcbw@redhat.com>
4222 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4224 * src/backends/NetworkManagerArch.c
4225 src/backends/NetworkManagerDebian.c
4226 src/backends/NetworkManagerFrugalware.c
4227 src/backends/NetworkManagerGeneric.c
4228 src/backends/NetworkManagerGeneric.h
4229 src/backends/NetworkManagerGentoo.c
4230 src/backends/NetworkManagerMandriva.c
4231 src/backends/NetworkManagerPaldo.c
4232 src/backends/NetworkManagerRedHat.c
4233 src/backends/NetworkManagerSlackware.c
4234 src/backends/NetworkManagerSuSE.c
4235 src/NetworkManagerSystem.h
4236 - flush_routes -> flush_ip4_routes
4237 - flush_addresses -> flush_ip4_addresses
4239 * src/NetworkManagerSystem.c
4241 src/vpn-manager/nm-vpn-connection.c
4242 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4244 2008-04-15 Dan Williams <dcbw@redhat.com>
4246 Remove exposure of wireless-tools mode types in the API.
4248 * include/NetworkManager.h
4249 - Define NM80211Mode enum
4251 * introspection/generic-types.xml
4252 - Describe NM_802_11_MODE enum
4253 - Remove IW_MODE_* enum
4255 * introspection/nm-access-point.xml
4256 libnm-glib/nm-access-point.c
4257 libnm-glib/nm-access-point.h
4258 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4260 * introspection/nm-device-802-11-wireless.xml
4261 libnm-glib/nm-device-802-11-wireless.c
4262 libnm-glib/nm-device-802-11-wireless.h
4263 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4265 * libnm-util/nm-setting-wireless.c
4266 src/NetworkManagerAP.c
4267 src/NetworkManagerAP.h
4268 src/nm-device-802-11-wireless.c
4269 src/nm-device-802-11-wireless.h
4271 - Use NM80211Mode not IW_MODE_*
4273 2008-04-15 Dan Williams <dcbw@redhat.com>
4275 Enhance nm-online based on a patch from Bill Nottingham.
4279 - Add help messages and option summary
4280 - Add long-format options
4281 - Add a '-x' option to exit if NM isn't running or isn't connecting
4283 2008-04-15 Tambet Ingo <tambet@gmail.com>
4285 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4287 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4289 2008-04-15 Dan Williams <dcbw@redhat.com>
4291 * nm-setting-ip4-config.c
4292 - (ip4_addresses_from_gvalue): handle NULL address array
4294 * nm-setting-8021x.c
4295 - (verify_tls, verify_ttls): warn on failed verification
4297 2008-04-10 Dan Williams <dcbw@redhat.com>
4299 * src/nm-gsm-device.c
4300 - (automatic_registration): accept "+CREG: 0,0"
4301 - (automatic_registration_response): fail on "+CREG: 0,0"
4303 2008-04-10 Tambet Ingo <tambet@gmail.com>
4305 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4307 2008-04-10 Tambet Ingo <tambet@gmail.com>
4309 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4310 Make it compile again by commenting out broken code that at first didn't work and
4311 now didn't compile either.
4313 2008-04-08 Dan Williams <dcbw@redhat.com>
4315 * libnm-glib/nm-object-cache.c
4316 libnm-glib/nm-settings.c
4317 src/dhcp-manager/nm-dhcp-manager.c
4318 system-settings/plugins/ifcfg-fedora/plugin.c
4319 system-settings/plugins/ifcfg-suse/plugin.c
4320 system-settings/src/nm-system-config-hal-manager.c
4321 libnm-util/nm-utils.c
4322 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4323 not threadsafe anyway
4325 2008-04-08 Dan Williams <dcbw@redhat.com>
4327 * system-settings/src/main.c
4328 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4329 callbacks take a device type too
4331 2008-04-08 Dan Williams <dcbw@redhat.com>
4333 The system settings service will now create a new default DHCP connection
4334 for wired devices that have no existing applicable connection.
4336 * system-settings/src/nm-system-config-hal-manager.c
4337 system-settings/src/nm-system-config-hal-manager.h
4338 - (nm_system_config_hal_manager_get_type_for_udi): new function
4340 * system-settings/src/dbus-settings.c
4341 system-settings/src/dbus-settings.h
4342 - (nm_sysconfig_settings_get_connections): new function
4343 - (nm_sysconfig_settings_is_device_managed): new function
4345 * system-settings/src/main.c
4346 - (load_stuff): check for wired devices that need a default connection
4347 - (get_details_for_udi): get interface and MAC address from HAL
4348 - (add_default_dhcp_connection): add a default connection for a wired
4350 - (device_added_cb, device_removed_cb): do the right thing with
4351 wired devices and their default connections on HAL device events
4353 2008-04-07 Dan Williams <dcbw@redhat.com>
4355 * libnm-glib/nm-device.c
4356 libnm-glib/nm-device.h
4357 - Proxy the 'managed' property
4359 2008-04-07 Dan Williams <dcbw@redhat.com>
4361 * src/nm-gsm-device.c
4362 src/nm-cdma-device.c
4363 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4364 handler to transition to DISCONNECTED
4366 2008-04-07 Dan Williams <dcbw@redhat.com>
4368 Patch from Bill Nottingham
4370 * dispatcher-daemon/NetworkManagerDispatcher.c
4371 - ignore backup/packaging crufy (rh #440143)
4373 2008-04-07 Dan Williams <dcbw@redhat.com>
4375 * include/NetworkManager.h
4376 - Remove the DOWN and CANCELLED device states
4377 - Add UNMANAGED and UNAVAILABLE device states
4378 - Document the device states
4380 * introspection/nm-device.xml
4381 src/nm-device-interface.c
4382 src/nm-device-interface.h
4383 - Add the 'managed' property
4386 - (detail_device): print out device state
4388 * src/NetworkManagerSystem.h
4389 src/backends/NetworkManagerArch.c
4390 src/backends/NetworkManagerDebian.c
4391 src/backends/NetworkManagerFrugalware.c
4392 src/backends/NetworkManagerGentoo.c
4393 src/backends/NetworkManagerMandriva.c
4394 src/backends/NetworkManagerPaldo.c
4395 src/backends/NetworkManagerRedHat.c
4396 src/backends/NetworkManagerSlackware.c
4397 src/backends/NetworkManagerSuSE.c
4398 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4399 nm_system_device_free_system_config): remove; they were unused and
4400 their functionality should be re-implemented in each distro's
4401 system settings service plugin
4403 * src/nm-gsm-device.c
4405 src/nm-cdma-device.c
4406 src/nm-cdma-device.h
4407 - (*_new): take the 'managed' argument
4410 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4411 - (nm_device_init): start in unmanaged state, not disconnected
4412 - (constructor): don't start device until the system settings service
4413 has had a chance to figure out if the device is managed or not
4414 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4415 don't set device state here, let callers handle that as appropriate
4416 - (nm_device_dispose): don't touch the device if it's not managed
4417 - (set_property, get_property, nm_device_class_init): implement the
4419 - (nm_device_state_changed): bring the device up if its now managed,
4420 and deactivate it if it used to be active
4421 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4422 with the managed state
4424 * src/nm-hal-manager.c
4425 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4426 take initial managed state and pass it along to device constructors
4427 - (create_device_and_add_to_list): get managed state and pass to
4430 * src/nm-device-802-11-wireless.c
4431 - (real_can_activate): fold in most of
4432 nm_device_802_11_wireless_can_activate()
4433 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4434 - (link_timeout_cb): instead of deactivating, change device state and
4435 let the device state handler to it
4436 - (real_update_hw_address): clean up
4437 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4438 handler to transition to DISCONNECTED if the device isn't rfkilled
4440 * src/nm-device-802-3-ethernet.c
4441 - (set_carrier): move above callers and get rid of prototype
4442 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4443 idle handler to transition to DISCONNECTED if the device has a
4445 - (real_update_hw_address): clean up
4446 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4447 deactivation directly as deactivation doesn't change state anymore
4449 * src/NetworkManagerPolicy.c
4450 - (schedule_activate_check): yay, remove wireless_enabled hack since
4451 the NMManager and wireless devices work that out themselves now
4452 - (device_state_changed): change to a switch and update for new device
4454 - (device_carrier_changed): remove; device handles this now through
4456 - (device_added): don't care about carrier any more; the initial
4457 activation check will happen when the device transitions to
4461 - (dispose): clear unmanaged devices
4462 - (handle_unmanaged_devices): update unmanaged device list and toggle
4463 the managed property on each device when needed
4464 - (system_settings_properties_changed_cb): handle signals from the
4465 system settings service
4466 - (system_settings_get_unmanaged_devices_cb): handle callback from
4467 getting the unmanaged device list method call
4468 - (query_unmanaged_devices): ask the system settings service for its
4469 list of unmanaged devices
4470 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4472 - (manager_set_wireless_enabled): push rfkill state down to wireless
4473 devices directly and let them handle the necessary state transitions
4474 - (manager_device_state_changed): update for new device states
4475 - (nm_manager_add_device): set initial rfkill state on wireless devices
4476 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4477 - (nm_manager_activate_connection): return error if the device is
4479 - (nm_manager_sleep): handle new device states correctly; don't change
4480 the state of unavailable/unmanaged devices
4482 * libnm-glib/nm-device-802-11-wireless.c
4483 - (state_changed_cb): update for new device states
4485 2008-04-07 Dan Williams <dcbw@redhat.com>
4487 * marshallers/nm-marshal.list
4488 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4490 2008-04-07 Dan Williams <dcbw@redhat.com>
4492 * system-settings/src/main.c
4493 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4494 plugins to the dbus settings object
4495 - (load_stuff): start the dbus service after grabbing unmanaged devices
4496 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4497 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4498 - (main): switch default logging to syslog with a 'debug' option to
4499 output to console; start up the HAL manager
4501 2008-04-07 Dan Williams <dcbw@redhat.com>
4503 * introspection/nm-settings-system.xml
4504 introspection/Makefile.am
4505 - Define the unmanaged devices interface for the system settings service
4507 * system-settings/src/nm-system-config-hal-manager.c
4508 system-settings/src/nm-system-config-hal-manager.h
4509 system-settings/src/nm-system-config-hal-manager-private.h
4510 system-settings/src/Makefile.am
4511 - Add a lightweight HAL manager object for tracking network devices for
4512 the purpose of determining unmanaged devices and which devices need
4513 the default DHCP connections
4515 * system-settings/src/nm-system-config-interface.c
4516 system-settings/src/nm-system-config-interface.h
4517 - (nm_system_config_interface_init): add the HAL manager as an argument
4518 - (nm_system_config_interface_get_unmanaged_devices): implement
4519 - Define 'unmanaged-devices-changed' signal
4521 * system-settings/src/dbus-settings.c
4522 system-settings/src/dbus-settings.h
4523 - Implement the unmanaged devices interface; some cleanups
4525 * system-settings/plugins/ifcfg-suse/plugin.c
4526 - Fixup for plugin interface changes
4528 * system-settings/plugins/ifcfg-fedora/plugin.c
4529 - (get_ether_device_udi): new function; find the device that has
4530 a specified MAC address and return its UDI
4531 - (get_udi_for_connection): new function; try to find the specific
4532 device a connection is locked to, if any
4533 - (device_added_cb, device_removed_cb): update unmanaged device list in
4534 response to HAL events
4535 - (get_unmanaged_devices): new function; return unmanaged device list
4536 - (build_one_connection): set the connection's locked device, if any
4537 - (write_auto_wired_connection): remove
4538 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4539 - (handle_connection_changed): alert listeners that the unmanaged device
4541 - (init): fixup for plugin interface changes, implement unmanaged devices
4543 * system-settings/plugins/ifcfg-fedora/parser.c
4544 system-settings/plugins/ifcfg-fedora/parser.h
4545 - (connection_data_free): clean up connection UDI
4547 2008-04-07 Dan Williams <dcbw@redhat.com>
4549 * system-settings/plugins/ifcfg-fedora/parser.c
4550 - (make_ip4_setting): fix parsing of DNS servers
4552 2008-04-05 Dan Williams <dcbw@redhat.com>
4556 marshallers/Makefile.am
4557 marshallers/nm-marshal-main.c
4558 marshallers/nm-marshal.list
4559 - Consolidate marshallers
4561 * libnm-glib/nm-marshal-main.c
4562 libnm-glib/nm-marshal.list
4563 src/marshallers/Makefile.am
4564 src/marshallers/nm-marshal-main.c
4565 src/marshallers/nm-marshal.list
4568 * libnm-glib/Makefile.am
4570 src/dhcp-manager/Makefile.am
4571 src/ppp-manager/Makefile.am
4572 src/supplicant-manager/Makefile.am
4573 src/vpn-manager/Makefile.am
4574 - Use consolidated marshallers
4576 2008-04-04 Dan Williams <dcbw@redhat.com>
4578 * src/nm-hal-manager.c
4579 src/nm-hal-manager.h
4580 - (hal_init): don't look for hardware here
4581 - (nm_hal_manager_start): new function; look for hardware here instead,
4582 which can be done at a later time than hal_init()
4584 * src/NetworkManager.c
4585 - (main): start HAL manager after entering the main loop
4587 2008-04-03 Dan Williams <dcbw@redhat.com>
4589 * libnm-glib/nm-settings.c
4590 libnm-glib/nm-settings.h
4591 - (nm_exported_connection_get_id): new function
4592 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4594 2008-04-02 Dan Williams <dcbw@redhat.com>
4596 * src/nm-device-interface.c
4597 src/nm-device-interface.h
4600 - Rename check_connection_conflicts() to check_connection_compatible()
4602 * src/nm-device-802-11-wireless.c
4603 - (real_check_connection_conflicts): remove
4604 - (real_check_connection_compatible): implement; match MAC address
4606 * src/nm-device-802-3-ethernet.c
4607 - (real_check_connection_conflicts): remove
4608 - (real_check_connection_compatible): implement; match MAC address
4609 - (real_get_best_auto_connection): correctly handle PPPoE cases
4612 - (check_connection_allowed): remove; unused until PolicyKit integration
4613 - (internal_activate_device): check whether the connection is compatible
4614 with the device before trying to activate it
4616 2008-04-02 Dan Williams <dcbw@redhat.com>
4618 * system-settings/plugins/ifcfg-fedora/parser.c
4619 - (read_mac_address): new function; read in MAC address and stuff it
4621 - (add_one_wep_key): remove debug spew
4622 - (make_wireless_security_setting): validate the default TX key; don't
4623 add the wireless-security setting if the connection doesn't need
4624 security; don't leak the keys shvarFile on error cases
4625 - (make_wireless_setting, make_wired_setting): populate device's MAC
4628 2008-04-02 Dan Williams <dcbw@redhat.com>
4630 * libnm-util/nm-setting-connection.c
4631 libnm-util/nm-setting-connection.h
4632 - (set_property, get_property, nm_setting_connection_class_init): remove
4633 the 'lockdown' property; it's functionality will be replaced by
4636 2008-04-01 Dan Williams <dcbw@redhat.com>
4638 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4641 initscript/Makefile.am
4642 initscript/Mandriva/Makefile.am
4643 initscript/Mandriva/networkmanager.in
4644 initscript/Mandriva/networkmanagerdispatcher.in
4645 src/backends/Makefile.am
4646 src/backends/NetworkManagerMandriva.c
4647 system-settings/plugins/Makefile.am
4648 - Add Mandriva support
4650 2008-03-31 Dan Williams <dcbw@redhat.com>
4652 * src/vpn-manager/nm-vpn-service.c
4653 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4654 errors can be passed back to the caller; also no longer scheduled
4655 as an idle handler, but called directly; and bump up VPN service
4656 spawn timeout, 2s is really short
4657 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4658 but call it directly so that errors are reported on return from
4659 ActivateConnection() and don't get lost. If scheduled as an idle
4660 handler, clients don't have the time to query NM for the new VPN
4661 connection's properties before the VPN connection is torn down again
4662 if the service couldn't be launched, and therefore launch errors
4665 2008-03-31 Dan Williams <dcbw@redhat.com>
4667 * src/vpn-manager/nm-vpn-connection.c
4668 - (device_state_changed): send correct state on device failure too
4669 - (plugin_state_changed): failed state means unexpected disconnection,
4670 thus if the service goes away while the VPN connection is activated
4671 that's a failure too
4673 2008-03-31 Dan Williams <dcbw@redhat.com>
4675 * src/vpn-manager/nm-vpn-manager.c
4676 src/vpn-manager/nm-vpn-manager.h
4677 - Make VPNManager errors more available; add a service-start-failed error
4679 2008-03-31 Dan Williams <dcbw@redhat.com>
4681 * libnm-glib/nm-client.c
4682 libnm-glib/nm-client.h
4683 - (activate_cb): pass the new active connection to callback; fix
4684 message when no callback is specified
4686 2008-03-30 Dan Williams <dcbw@redhat.com>
4688 * libnm-util/nm-setting-wireless-security.c
4689 - (need_secrets): only require key0 if the transmit key index is also
4691 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4693 2008-03-29 Dan Williams <dcbw@redhat.com>
4695 * libnm-util/nm-setting-8021x.c
4696 libnm-util/nm-setting-ip4-config.c
4697 libnm-util/nm-setting-vpn-properties.c
4698 libnm-util/nm-setting-vpn.c
4699 libnm-util/nm-setting-wireless-security.c
4700 libnm-util/nm-setting-wireless.c
4701 libnm-util/nm-utils.c
4702 src/dhcp-manager/nm-dhcp-manager.c
4703 src/nm-activation-request.c
4706 src/nm-properties-changed-signal.c
4707 src/ppp-manager/nm-pppd-plugin.c
4708 src/supplicant-manager/nm-supplicant-interface.c
4709 src/vpn-manager/nm-vpn-connection.c
4710 - consistently use nm-dbus-glib-types.h
4712 2008-03-29 Dan Williams <dcbw@redhat.com>
4714 * src/vpn-manager/nm-vpn-connection.c
4715 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4718 * src/nm-activation-request.c
4719 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4722 2008-03-29 Dan Williams <dcbw@redhat.com>
4724 * libnm-glib/nm-device-802-11-wireless.c
4725 - (access_point_added_proxy): create new APs if not found
4727 2008-03-29 Dan Williams <dcbw@redhat.com>
4729 * libnm-glib/nm-client.c
4730 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4733 2008-03-29 Dan Williams <dcbw@redhat.com>
4735 * system-settings/plugins/ifcfg-fedora/parser.c
4736 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4737 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4739 2008-03-29 Dan Williams <dcbw@redhat.com>
4741 * system-settings/plugins/ifcfg-fedora/parser.c
4742 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4744 2008-03-27 Dan Williams <dcbw@redhat.com>
4747 - (nm_object_queue_notify): don't notify multiple times for the same
4750 * nm-object-private.h
4751 - (handle_ptr_array_return): return NULL if the given array is NULL or
4752 if it has zero elements
4755 - (finalize): use g_ptr_array_foreach() when freeing domains
4756 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4758 * nm-active-connection.c
4759 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4761 * nm-device-802-11-wireless.c
4762 nm-device-802-11-wireless.h
4763 - (nm_device_802_11_wireless_get_access_points): return const; use
4764 handle_ptr_array_return()
4767 - (nm_object_array_demarshal): always create an array, even of length
4768 zero, to distinguish between "NM returned no items" and "haven't
4772 - (dispose): free active connections too
4773 - (proxy_name_owner_changed): free active connections too when NM goes
4775 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4776 - (nm_client_get_active_connections): use handle_ptr_array_return()
4778 2008-03-26 Dan Williams <dcbw@redhat.com>
4780 Rework VPN connection handling for a more consistent D-Bus API. The
4781 VPNManager object has been removed, and active VPN connections are now the
4782 same as any other active connection. The Manager object's ActivateConnection
4783 and DeactivateConnection methods are used to start and stop a VPN connection,
4784 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4785 When activating a VPN connection, pass the path of the active connection
4786 to which the VPN connection is tied in the 'specific_object' argument.
4788 Consequently, the libnm-glib API has been reworked to match this arrangement,
4789 with the VPNManager object removed, and the NMVPNConnection objects now
4790 being subclasses of NMActiveConnection.
4792 2008-03-25 Dan Williams <dcbw@redhat.com>
4794 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4796 * initscript/Arch/networkmanager.in
4797 initscript/Arch/networkmanager-dispatcher.in
4798 - Updates for Arch Linux (gnome.org #523701)
4800 2008-03-25 Dan Williams <dcbw@redhat.com>
4802 * libnm-glib/nm-ip4-config.c
4803 libnm-glib/nm-active-connection.c
4804 libnm-glib/nm-access-point.c
4805 - Use nm_object_queue_notify() instead of g_object_notify()
4807 * libnm-glib/nm-device.c
4808 - (demarshal_ip4_config): distinguish between successful but missing
4809 ip4-config request, and unsuccessful and missing ip4-config request
4810 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4812 - Use nm_object_queue_notify() instead of g_object_notify()
4814 * libnm-glib/nm-device-802-11-wireless.c
4815 - (demarshal_active_ap): distinguish between successfull but missing
4816 active-ap request, and unsuccessful and missing active-ap request
4817 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4819 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4820 for the NMClient to notify the device that wireless is disabled,
4821 and therefore to clear the AP list and active AP
4822 - Use nm_object_queue_notify() instead of g_object_notify()
4824 * libnm-glib/nm-client.c
4825 - (poke_wireless_devices_with_rf_status): new function
4826 - (update_wireless_status): notify wireless devices of the rfkill status
4827 so they can clean up if needed
4828 - Use nm_object_queue_notify() instead of g_object_notify()
4830 2008-03-25 Dan Williams <dcbw@redhat.com>
4832 * libnm-glib/nm-object.c
4833 libnm-glib/nm-object-private.h
4834 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4835 signals to an idle handler
4836 - (nm_object_get_property): add a timeout to the D-Bus method call
4838 2008-03-25 Dan Williams <dcbw@redhat.com>
4840 * introspection/nm-device-cdma.xml
4841 introspection/nm-device-gsm.xml
4842 introspection/Makefile.am
4843 introspection/all.xml
4844 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4846 * src/nm-gsm-device.h
4848 src/nm-cdma-device.h
4849 src/nm-cdma-device.c
4851 - Implement PropertiesChanged signals
4853 * libnm-glib/nm-cdma-device.c
4854 libnm-glib/nm-cdma-device.c
4855 - Attach to PropertiesChanged signals
4857 2008-03-24 Dan Williams <dcbw@redhat.com>
4859 * libnm-glib/nm-client.c
4860 - (client_device_added_proxy): add new devices to the internal device
4861 list so they appear to clients
4863 2008-03-24 Dan Williams <dcbw@redhat.com>
4865 Massive fixup of libnm-glib to:
4866 a) have all objects (with the exception of VPN) cache their properties and
4867 update them asynchronously on PropertiesChanged signals from NM
4868 b) return internal const data for most attributes/properties instead of
4869 allocated values that the caller must free
4870 c) cache wrapped objects such that a given D-Bus path will always map to the
4871 same GObject returned by libnm-glib
4872 d) remove a few signals and move them to GObject property notifications
4873 e) match recent NM D-Bus API changes for activation/deactivation
4874 f) remove some private functions from libnm-glib headers
4876 2008-03-20 Dan Williams <dcbw@redhat.com>
4879 - (nm_manager_update_state, manager_device_state_changed,
4880 nm_manager_activate_device, connection_added_default_handler,
4881 impl_manager_activate_connection, impl_manager_deactivate_connection):
4882 queue PropertyChanged singals when the active connections change
4884 2008-03-20 Dan Williams <dcbw@redhat.com>
4886 * introspection/nm-manager.xml
4887 introspection/nm-manager-client.xml
4888 - (ActivateConnection): return the object path of the active connection
4890 - (GetActiveConnections): remove
4891 - (DeactivateConnection): new function; deactivate a currently active
4893 - Add an ActiveConnections property which returns an array of
4894 active connection object paths
4896 * introspection/nm-device.xml
4897 - (Deactivate): remove
4899 * introspection/all.xml
4900 - Add ActiveConnection introspection
4902 * introspection/nm-active-connection.xml
4903 - Add the ActiveConnection object
4905 * include/NetworkManager.h
4906 - Add the Connection.Active D-Bus interface
4908 * src/nm-device-interface.c
4909 - (impl_device_deactivate): remove
4911 * src/nm-activation-request.c
4912 src/nm-activation-request.c
4914 - Implement the Connection.Active D-Bus interface
4917 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4918 - (nm_manager_activate_device): return the active connection path
4919 - (connection_added_default_handler, impl_manager_activate_connection):
4920 return the active connection to the caller
4921 - (add_one_connection_element, impl_manager_get_active_connections):
4923 - (impl_manager_deactivate_connection): new function; deactivate an
4926 * libnm-glib/nm-device.c
4927 libnm-glib/nm-device.h
4928 - Remove Deactivate() function
4930 2008-03-19 Dan Williams <dcbw@redhat.com>
4932 * introspection/nm-manager.xml
4933 introspection/nm-manager-client.xml
4934 - Rename the ActivateDevice method to ActivateConnection to better
4935 reflect it's usage; it's arguments get reordered a bit too
4936 - Convert GetActiveConnections method return from a struct to a dict
4938 * include/NetworkManager.h
4939 - Define the dict keys for return value of GetActiveConnections
4942 - impl_manager_activate_device -> impl_manager_activate_connection
4943 - (add_one_connection_element): return a populated hash table, not
4946 * libnm-glib/nm-client.c
4947 libnm-glib/nm-client.h
4948 - nm_client_activate_device -> nm_client_activate_connection
4949 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4950 - (nm_client_get_active_connections): return a GSList of GHashTables,
4951 instead of the custom structures. Each element of the returned list
4952 must be freed with nm_client_free_active_connections_element()
4954 2008-03-18 Dan Williams <dcbw@redhat.com>
4956 * system-settings/plugins/ifcfg-fedora/parser.c
4957 system-settings/plugins/ifcfg-fedora/parser.h
4958 system-settings/plugins/ifcfg-fedora/plugin.c
4959 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4960 profiles. DNS servers and searches must now be stored in the ifcfg
4963 2008-03-18 Tambet Ingo <tambet@gmail.com>
4965 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4966 print out username and password, it's supposed to be a secret.
4968 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4969 request and set the device state accordingly.
4971 2008-03-18 Tambet Ingo <tambet@gmail.com>
4973 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4975 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4977 2008-03-18 Dan Williams <dcbw@redhat.com>
4979 * src/vpn-manager/nm-vpn-connection.c
4980 - (get_secrets_cb): handle new GetSecrets return format
4982 2008-03-18 Dan Williams <dcbw@redhat.com>
4984 Adapt system settings service for split 802.1x.
4986 * system-settings/src/nm-system-config-interface.h
4987 - clarify return value of get_secrets()
4989 * system-settings/src/dbus-settings.c
4990 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4991 - (check_for_secrets): check if there actually secrets returned by a
4993 - (exported_connection_get_secrets): just return the plugin-returned
4994 hash of settings' secrets if it looks valid
4996 * system-settings/plugins/ifcfg-fedora/plugin.c
4997 - (get_secrets): add split secrets with correct format to reply hash
4999 * system-settings/plugins/ifcfg-fedora/parser.c
5000 system-settings/plugins/ifcfg-fedora/parser.h
5001 - (copy_one_cdata_secret, connection_data_copy_secrets,
5002 connection_data_free, connection_data_add): keep secrets for
5003 different settings in different hashes
5005 2008-03-17 Tambet Ingo <tambet@gmail.com>
5007 Clean up activating device deactivation.
5009 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
5010 should be done whether the device activation gets cancelled or the device
5011 is just getting deactivated.
5012 (nm_device_activation_cancel): Remove.
5013 (nm_device_deactivate_quickly): Handle the case where device is activating.
5015 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
5016 It does the exact same thing as real_deactivate_quickly().
5018 2008-03-17 Dan Williams <dcbw@redhat.com>
5020 Split the 802.1x bits out of the wireless-security setting so they are
5021 generalized enough for wired 802.1x to use too.
5023 * introspection/nm-exported-connection.xml
5024 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
5025 of just a hash of the secrets for one setting
5027 * libnm-util/nm-setting-wireless-security.c
5028 libnm-util/nm-setting-wireless-security.h
5029 - Remove 802.1x-specific stuff
5030 - Added leap-username and leap-password properties for old-school LEAP
5034 - (connection_secrets_updated_cb): take a list of updated settings names,
5037 * src/supplicant-manager/nm-supplicant-config.c
5038 src/supplicant-manager/nm-supplicant-config.h
5039 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
5040 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
5041 to nm_supplicant_config_add_setting_8021x()
5042 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
5043 the supplicant config
5045 * src/nm-device-802-11-wireless.c
5046 - (build_supplicant_config): pass in the 802.1x setting too, if any
5047 - (real_connection_secrets_updated): take a list of updated settings
5050 * src/nm-device-802-3-ethernet.c
5051 src/nm-cdma-device.c
5053 - (real_connection_secrets_updated_cb): take a list of updated settings
5056 * src/nm-activation-request.c
5057 src/nm-activation-request.h
5058 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5059 now passes a list of updated settings names, not just one
5060 - (update_one_setting): new function; handle one updated setting
5061 - (get_secrets_cb): handle multiple settings returned from the
5062 settings service; have to be careful of ordering here as there are
5063 some dependencies between settings (ex. wireless-security and 802.1x
5066 * src/marshallers/nm-marshal.list
5067 - new marshaller for connection-secrets-updated signal
5069 * libnm-util/nm-setting-8021x.c
5070 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5072 - (verify): a valid 'eap' property is now required
5074 * libnm-util/nm-connection.c
5075 - (register_default_settings): add priorities to settings; there are
5076 some dependencies between settings, and during the need_secrets
5077 calls this priority needs to be respected. For example, only the
5078 wireless-security setting knows whether or not the connection is
5079 going to use 802.1x or now, so it must be asked for secrets before
5080 any existing 802.1x setting is
5081 - (nm_connection_lookup_setting_type): expose
5083 * libnm-util/nm-setting-wireless.c
5084 - (verify): should verify even if all_settings is NULL; otherwise won't
5085 catch the case where there is missing security
5087 * libnm-util/nm-setting-wireless-security.c
5088 - Remove everything to do with 802.1x
5089 - Add old-school LEAP specific properties for username and password
5090 - (need_secrets): rework LEAP secrets checking
5091 - (verify): rework for LEAP and 802.1x verification
5093 2008-03-17 Dan Williams <dcbw@redhat.com>
5095 * src/NetworkManagerPolicy.c
5096 - (auto_activate_device): always remove the current activation check
5097 from the pending activation list, otherwise when the policy gets
5098 destroyed on NM exit it will attempt to free the already freed
5101 2008-03-14 Tambet Ingo <tambet@gmail.com>
5103 * src/backends/NetworkManagerSlackware.c
5104 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5106 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5108 2008-03-14 Dan Williams <dcbw@redhat.com>
5111 - (nm_device_interface_get_iface): g_object_get() will return an
5112 allocated value, so this function must not return const
5113 - (nm_device_interface_activate): free returned iface
5115 2008-03-14 Tambet Ingo <tambet@gmail.com>
5117 * libnm-util/Makefile.am: Add new files to build.
5119 * libnm-util/nm-connection.c: Register NMSetting8021x.
5121 * libnm-util/nm-setting-8021x.c
5122 * libnm-util/nm-setting-8021x.h: Implement.
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 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5138 2008-03-14 Dan Williams <dcbw@redhat.com>
5140 * include/wireless-helper.h
5142 - One place for all the junk needed for #including wireless.h
5145 src/NetworkManagerAP.c
5148 libnm-util/nm-utils.c
5149 libnm-util/nm-setting-wireless.c
5150 libnm-glib/nm-device-802-11-wireless.c
5151 libnm-glib/nm-access-point.c
5152 libnm-glib/libnm-glib-test.c
5153 - include wireless-helper.h, not iwlib.h
5156 - Don't need libiw really, just need to check for wireless.h
5158 * src/kernel-types.h
5159 - Remove; used types moved into wpa.c
5161 * src/nm-device-802-11-wireless.c
5162 - (nm_device_802_11_wireless_update_signal_strength,
5163 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5164 nm_device_802_11_wireless_set_mode,
5165 nm_device_802_11_wireless_get_frequency,
5166 nm_device_802_11_wireless_get_ssid,
5167 nm_device_802_11_wireless_set_ssid,
5168 nm_device_802_11_wireless_get_bitrate,
5169 nm_device_802_11_wireless_get_bssid,
5170 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5171 instead of iwlib functions
5173 2008-03-14 Dan Williams <dcbw@redhat.com>
5175 * src/ppp-manager/nm-ppp-manager.c
5176 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5177 should only take the DBusGMethodInvocation argument, not user/pass
5178 too. With dbus-glib, async functions only take 2 C arguments since
5179 the real dbus method arguments get passed back with
5180 dbus_g_method_return()
5182 2008-03-13 Tambet Ingo <tambet@gmail.com>
5184 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5185 Adapt the changes of NMSettingIP4Config.
5187 2008-03-13 Dan Williams <dcbw@redhat.com>
5189 * src/NetworkManagerUtils.c
5190 src/NetworkManagerUtils.h
5191 - (nm_ether_ntop): replacement for iw_ether_ntop()
5193 * src/NetworkManagerAP.c
5194 src/nm-device-802-11-wireless.c
5195 src/nm-device-802-3-ethernet.c
5196 - s/iw_ether_ntop/nm_ether_ntop/g
5198 2008-03-13 Dan Williams <dcbw@redhat.com>
5200 * src/NetworkManagerPolicy.c
5201 - (update_routing_and_dns): never set the default route through an
5202 IPv4LL addressed device
5204 2008-03-13 Dan Williams <dcbw@redhat.com>
5206 * NetworkManagerUtils.c
5207 NetworkManagerUtils.h
5208 - Remove NMSock stuff
5209 - Remove the completion stuff
5214 NetworkManagerSystem.c
5216 nm-device-802-11-wireless.c
5217 nm-device-802-3-ethernet.c
5218 - Remove NMSock and completion stuff
5219 - Remove nm_ioctl_info()
5221 2008-03-12 Dan Williams <dcbw@redhat.com>
5224 - (merge_ip4_config): avoid duplicates
5226 2008-03-12 Dan Williams <dcbw@redhat.com>
5228 * libnm-util/nm-setting-ip4-config.c
5229 libnm-util/nm-setting-ip4-config.h
5230 - Remove 'manual' and 'autoip' properties
5231 - Add 'method' property
5232 - (verify): fix verification with 'method'
5233 - (finalize): free 'method'
5234 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5238 - (real_act_stage3_ip_config_start): check IP4Config method
5239 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5241 - (merge_ip4_config): IP settings are valid with DHCP too
5242 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5243 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5245 * src/nm-device-802-11-wireless.c
5246 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5247 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5250 * system-settings/plugins/ifcfg-fedora/parser.c
5251 system-settings/plugins/ifcfg-suse/parser.c
5252 - (make_ip4_setting): fix up for 'method'
5254 2008-03-12 Dan Williams <dcbw@redhat.com>
5256 * system-settings/plugins/ifcfg-fedora/parser.c
5257 system-settings/plugins/ifcfg-fedora/parser.h
5258 - (get_ifcfg_name): ignore more file suffixes
5259 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5261 2008-03-12 Dan Williams <dcbw@redhat.com>
5264 - Bring in the bits of gnome-common we actually use (all 15 lines)
5266 2008-03-12 Dan Williams <dcbw@redhat.com>
5268 * system-settings/plugins/ifcfg-fedora/plugin.c
5269 - (write_auto_wired_connection): new function; write out an auto
5270 wired connection file since the applet isn't doing it any more
5271 - (reload_all_connections): write out the auto wired connection file
5272 if there aren't any wired connections already
5273 - (init): don't leak a GError
5275 2008-03-12 Dan Williams <dcbw@redhat.com>
5277 * src/nm-device-interface.c
5278 - (nm_device_interface_activate): print the ID of the connection
5279 that's about to be activated
5281 2008-03-12 Dan Williams <dcbw@redhat.com>
5283 Harmonize the 802.11 bitrate API
5285 * introspection/nm-access-point.xml
5286 - 'Rate' -> 'MaxBitrate'; clarify units
5288 * introspection/nm-device-802-11-wireless.xml
5289 - Clarify units of 'Bitrate'
5291 * src/NetworkManagerAP.c
5292 src/NetworkManagerAP.h
5293 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5294 property to 'max-bitrate'
5295 - (foreach_property_cb): convert rate to Kb/s
5297 * src/nm-device-802-11-wireless.c
5298 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5300 * libnm-glib/nm-access-point.c
5301 libnm-glib/nm-access-point.h
5302 - 'rate' -> 'max-bitrate'
5305 libnm-glib/libnm-glib-test.c
5306 - Fix up for these changes
5308 2008-03-12 Dan Williams <dcbw@redhat.com>
5311 - (nm_device_set_ip4_config): don't send property notifications when
5312 the ip4 config is set to NULL; it causes a PropertyChanged signal
5313 which dbus-glib can't parse because the value is NULL, which isn't
5314 a legal object path. Setting the IP4 config to NULL is only
5315 valid when deactivating a device anyway, so the device state change
5316 will alert listeners that the ip4 config is invalid.
5318 2008-03-12 Dan Williams <dcbw@redhat.com>
5320 * src/nm-properties-changed-signal.c
5321 - (add_to_string): better handling of NULL objects
5323 2008-03-12 Dan Williams <dcbw@redhat.com>
5325 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5326 convert the libnm-glib NMDevice8023Ethernet to cached properties
5328 * introspection/nm-device-802-3-ethernet.xml
5329 - New 'Carrier' property
5330 - New 'PropertiesChanged' signal
5332 * introspection/nm-device.xml
5333 - Remove 'Carrier' property
5334 - Remove 'CarrierChanged' signal
5336 * src/nm-device-interface.c
5337 src/nm-device-interface.h
5338 - (nm_device_interface_init): remove 'carrier' property and
5339 'carrier-changed' signal
5343 - (nm_device_get_carrier, nm_device_set_carrier): remove
5344 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5345 the link here; wired device will handle that
5346 - (handle_dhcp_lease_change): don't bother updating link here
5347 - (get_property, nm_device_class_init): remove carrier property
5349 * src/nm-device-802-11-wireless.c
5350 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5351 real_update_link(); wireless devices don't use carrier at all
5352 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5353 supplicant_iface_connection_state_cb_handler,
5354 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5356 * src/nm-device-802-3-ethernet.c
5357 src/nm-device-802-3-ethernet.h
5358 - (nm_device_802_3_ethernet_carrier_on,
5359 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5360 instead of nm_device_set_carrier()
5361 - (device_state_changed): update link from sysfs on activation;
5362 replaces real_update_link()
5363 - (real_update_link): remove, replaced by device_state_changed()
5364 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5365 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5366 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5367 new get_carrier function
5368 - (get_property): add 'carrier' property
5369 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5370 hook into property-changed signal helper
5372 * src/NetworkManagerPolicy.c
5373 - (device_carrier_changed): will only ever be called with a wired device
5374 - (device_added): only hook up to carrier-changed for wired devices
5376 * libnm-glib/nm-device.c
5377 libnm-glib/nm-device.h
5378 - (constructor, nm_device_class_init): remove carrier-changed signal
5379 - (device_carrier_changed_proxy): remove; unused
5380 - (nm_device_get_carrier): remove; carrier a property of wired devices
5382 * libnm-glib/nm-device-802-3-ethernet.c
5383 libnm-glib/nm-device-802-3-ethernet.h
5384 - Convert to cached properties like AP and Wireless objects
5385 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5386 instead of a 'char *', return value should not be freed
5387 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5388 - (constructor): hook into properties-changed helper
5389 - (set_property, get_property): new functions
5390 - (nm_device_802_3_ethernet_class_init): export GObject properties
5393 - (detail_device): strdup the wired hardware address too since it's
5396 * libnm-glib/libnm-glib-test.c
5397 - (dump_wired): strdup the wired hardware address too since it's
5400 2008-03-12 Dan Williams <dcbw@redhat.com>
5402 * libnm-util/nm-setting-ip4-config.c
5403 libnm-util/nm-setting-ip4-config.h
5404 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5405 the 'autoip' property from the spec
5407 2008-03-11 Dan Williams <dcbw@redhat.com>
5409 * src/backends/NetworkManagerGeneric.c
5410 src/backends/NetworkManagerGeneric.h
5411 - (nm_generic_device_get_use_dhcp): remove
5413 2008-03-11 Dan Williams <dcbw@redhat.com>
5416 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5417 already in nm_device_set_ip4_config()
5418 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5419 due to a DHCP rebind fails
5420 - (nm_device_set_ip4_config): send property notifications when the
5422 - (get_property): only report IP4Config property during valid states
5424 * src/NetworkManagerPolicy.c
5425 - (update_routing_and_dns): ignore devices that don't have an ip4
5426 config; add parameter 'force_update' to allow callers to specify
5427 that changes should be made even if the default device doesn't change
5428 - (device_ip4_config_changed): update DNS and routing when the device's
5429 IP4Config changes, like for DHCP updates
5430 - (device_added): listen for ip4-config property changes
5432 2008-03-11 Dan Williams <dcbw@redhat.com>
5434 Fix address handling as a result of DHCP rebind/renew/reboot.
5436 * src/NetworkManagerSystem.c
5437 - (check_one_address): delete an address if it doesn't match a given
5438 one for the same interface
5439 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5440 be smarter about flushing addresses (only flush ones that don't
5441 match the one we're about to apply)
5443 * src/backends/NetworkManagerDebian.c
5444 src/backends/NetworkManagerSuSE.c
5445 src/backends/NetworkManagerArch.c
5446 src/backends/NetworkManagerSlackware.c
5447 src/backends/NetworkManagerRedHat.c
5448 src/backends/NetworkManagerPaldo.c
5449 src/backends/NetworkManagerFrugalware.c
5450 src/backends/NetworkManagerGentoo.c
5451 - (nm_system_delete_default_route): remove
5453 * src/backends/NetworkManagerGeneric.c
5454 src/backends/NetworkManagerGeneric.h
5455 - (nm_generic_enable_loopback): fix the loopback device label
5456 - (nm_generic_delete_default_route): remove; no longer used
5458 2008-03-11 Dan Williams <dcbw@redhat.com>
5460 * src/nm-device-interface.h
5461 - Delimit property name words with '-', otherwise g_object_notify()
5462 doesn't work the way we expect
5464 2008-03-11 Tambet Ingo <tambet@gmail.com>
5466 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5468 2008-03-11 Dan Williams <dcbw@redhat.com>
5470 * src/NetworkManagerPolicy.c
5471 - (update_routing_and_dns): don't change anything if the default device
5472 hasn't changed; print something out when switching the default route
5475 2008-03-10 Tambet Ingo <tambet@gmail.com>
5479 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5480 setting. Use "nic-$eth".
5482 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5483 the device is activating here to fix a race condition.
5485 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5487 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5488 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5489 (nm_ppp_manager_start): Take activation request instead of connection, we might
5490 need it for asking secrets.
5491 (nm_ppp_manager_update_secrets): Implement.
5493 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5494 ppp manager start. It might be needed for asking secrets.
5496 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5497 (ppp_state_changed): Handle pppd daemon disappearing.
5498 (pppoe_stage2_config): Send activation request to ppp manager start.
5500 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5502 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5503 username and password.
5505 2008-03-10 Dan Williams <dcbw@redhat.com>
5508 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5509 response to a DHCP lease change
5510 - (dhcp_state_changed): handle DHCP lease changes while activated
5511 - (nm_device_set_ip4_config): remove a previously set named config
5512 when setting an ip4 config
5514 2008-03-10 Dan Williams <dcbw@redhat.com>
5516 * src/nm-serial-device.c
5517 - (nm_serial_device_send_command): report errno on error
5518 - (get_reply_got_data): limit the size of the overall buffer
5519 - (wait_for_reply_info_destroy): destroy result string
5520 - (wait_for_reply_got_data): append received data to an overall buffer
5521 until timeout, filled buffer, or error instead of keeping a per-call
5522 buffer. Some devices send data slowly enough that this function
5523 gets called multiple times for the same command stream.
5524 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5525 wait_for_reply_got_data() here
5527 2008-03-10 Dan Williams <dcbw@redhat.com>
5529 * src/nm-cdma-device.c
5530 - (do_dial, init_modem): handle errors from
5531 nm_serial_device_send_command_string()
5533 * src/nm-gsm-device.c
5534 - (do_dial, manual_registration, automatic_registration_get_network,
5535 automatic_registration, enter_pin, check_pin, init_modem): handle
5536 errors from nm_serial_device_send_command_string()
5538 2008-03-10 Dan Williams <dcbw@redhat.com>
5540 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5542 * src/named-manager/nm-named-manager.c
5543 - (compute_searches): prefer searches before domains
5544 - (compute_domain): new function
5545 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5546 - (merge_one_ip4_config): if there are no searches in the source config,
5547 merge domains of the source config into the target config
5548 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5550 2008-03-10 Dan Williams <dcbw@redhat.com>
5552 * src/nm-serial-device.c
5553 - (get_reply_got_data): clean up indentation, shrink serial buffer
5554 - (wait_for_reply_got_data): try to handle slower serial devices where
5555 the reply is broken up into multiple reads by concatenating replies
5556 together until either an error is received or the search string is
5559 2008-03-10 Dan Williams <dcbw@redhat.com>
5562 - (nm_device_bring_down): deactivate the device if it's activating too,
5563 not just if it's already activated. This makes sure that everything
5564 from an association attempt is cleaned up (like DHCP for example)
5566 2008-03-10 Dan Williams <dcbw@redhat.com>
5568 * src/nm-serial-device.c
5569 - (config_fd): report error from TCSETA
5570 - (nm_serial_device_open): fail when config_fd() fails
5572 2008-03-10 Dan Williams <dcbw@redhat.com>
5574 * src/nm-ip4-config.c
5575 - (nm_ip4_config_init): allocate searches list
5576 - (finalize): free searches list
5578 2008-03-09 Dan Williams <dcbw@redhat.com>
5580 Patch from Bas Zoetekouw <bas@debian.org>
5582 * src/dhcp-manager/nm-dhcp-manager.c
5583 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5585 2008-03-09 Dan Williams <dcbw@redhat.com>
5587 Patch from Bas Zoetekouw <bas@debian.org>
5589 * src/nm-ip4-config.c
5591 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5592 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5593 domains. 'searches' is the correct way to store multiple search
5594 domains, whereas 'domains' is really just supposed to store one
5595 domain. Some sites abuse the DHCP 'domain-name' option to push
5596 search domains to the client.
5597 - (nm_ip4_config_add_domain): group with related functions (my patch)
5599 2008-03-09 Dan Williams <dcbw@redhat.com>
5601 * src/dhcp-manager/nm-dhcp-manager.c
5602 - (dhclient_run): send interface-specific config files to dhclient
5604 2008-03-07 Dan Williams <dcbw@redhat.com>
5606 * system-settings/plugins/ifcfg-fedora/parser.c
5607 - (is_wireless_device): new function; test a device for wireless
5609 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5610 test the device for wireless extensions to determine the type
5612 2008-03-07 Dan Williams <dcbw@redhat.com>
5614 Change manager's StateChange signal to StateChanged for consistency.
5616 * introspection/nm-manager.xml
5617 - Add 'StateChanged' signal
5618 - Move 'StateChange' down to the deprecated section
5620 * src/nm-hal-manager.c
5621 - (nm_hal_manager_new): connect to 'state-changed' instead
5623 * src/NetworkManagerPolicy.c
5624 - (nm_policy_new): connect to 'state-changed' instead
5628 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5629 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5632 * libnm-glib/nm-client.c
5633 libnm-glib/nm-client.h
5634 - (constructor, nm_client_class_init, client_state_changed_proxy):
5635 track and proxy 'state-changed' instead of 'state-change'
5637 2008-03-07 Dan Williams <dcbw@redhat.com>
5639 First pass of multiple active device support. Expect bugs.
5641 * src/nm-ip4-config.c
5643 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5644 there are better ways to do this in the named manager
5648 - (nm_device_can_activate): return whether the device can activate a
5649 connection right now; taking into account things like carrier state
5651 - (nm_device_get_best_auto_connection): renamed from
5652 nm_device_get_best_connection
5653 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5654 device subclasses themselves, so that each device can override the
5655 MTU from it's NMSetting subclass if needed
5656 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5657 in NetworkManagerSystem.c, not here
5659 * src/named-manager/nm-named-manager.c
5660 src/named-manager/nm-named-manager.h
5661 - (nm_named_manager_name_owner_changed,
5662 nm_named_manager_dbus_connection_changed): fix for changes to
5663 rewrite_resolv_conf()
5664 - (compute_nameservers): don't need the NMNamedManager at all, remove
5666 - (merge_one_ip4_config): new function; merge ip4 configs together
5667 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5668 ip4 configs; the VPN config takes precedence, then the best
5669 device config, then the rest of the configs
5670 - (get_domain_for_config): take the NMNamedManager as an argument
5671 to check whether the config is the VPN config
5672 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5673 attribute from ip4 configs
5674 - (add_all_ip4_configs_to_named): add all the configs in priority order
5675 - (remove_ip4_config_from_named): fix for changes to
5676 get_domain_for_config()
5677 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5678 based on its type; callers must pass in the type now
5679 - (get_last_default_domain): remove, unused
5680 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5682 * src/nm-device-802-11-wireless.c
5683 - (real_can_activate): new function
5684 - (real_get_best_auto_connection): renamed from real_get_best_connection
5685 - (real_act_stage4_get_ip4_config): handle MTU override
5687 * src/nm-device-802-3-ethernet.c
5688 - (real_can_activate): new function
5689 - (real_get_best_auto_connection): renamed from real_get_best_connection
5690 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5692 * src/vpn-manager/nm-vpn-connection.c
5693 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5694 attribute on the ip4 config
5696 * src/NetworkManagerPolicy.c
5697 - (nm_policy_auto_get_best_device): remove
5698 - (nm_policy_device_change_check): remove
5699 - (update_default_route): new function; set the default route via
5700 the specified device
5701 - (get_device_priority): new function; return the priority number of
5702 a device type WRT which one should have the default route. Order is
5703 (highest to lowest) wired, wireless, GSM, CDMA.
5704 - (update_routing_and_dns): new function; determine which device should
5705 have the default route, then update the routing table and DNS
5706 - (maybe_auto_activate_device): new function; if a device is now
5707 available for activation, find out what connection it would like to
5709 - (schedule_activate_check): new function; if a device can be activated
5710 now, schedule the activation. Each device may have only one
5711 pending activation at a given time.
5712 - (device_state_changed): if activation was canceled, try again,
5713 possibly with another connection; if the device was activated,
5714 update routing and DNS; if the device was deactivated, try again
5715 with another connection
5716 - (device_carrier_changed): if there is no carrier, deactivate the
5717 device; otherwise schedule an activation check for the device
5718 - (wireless_networks_changed): schedule an activation check for the
5720 - (device_added): keep track of the signal handler IDs so they can
5721 be removed when the device goes away
5722 - (device_removed): remove any signal handlers that might be attached
5723 to the device; update routing and DNS
5724 - (schedule_activate_all): new function
5725 - (connections_added, connection_added, connection_updated): when
5726 connections change, schedule all devices for an activation check
5727 - (connection_removed): when a device is deactivated because its
5728 connection was removed, schedule another activation check for it
5729 - (nm_policy_destroy): destroy pending activations and disconnect
5730 all device signal handlers
5733 - (nm_manager_activate_device): if the device was already actived,
5735 - (deactivate_old_device): remove
5736 - (connection_added_default_handler, impl_manager_activate_device):
5737 don't deactivate other devices when activating this one
5739 * src/backends/NetworkManagerGentoo.c
5740 src/backends/NetworkManagerFrugalware.c
5741 src/backends/NetworkManagerPaldo.c
5742 src/backends/NetworkManagerRedHat.c
5743 src/backends/NetworkManagerSlackware.c
5744 src/backends/NetworkManagerArch.c
5745 src/backends/NetworkManagerSuSE.c
5746 src/backends/NetworkManagerDebian.c
5747 - (nm_system_get_mtu): remove; MTU should be provided through the
5748 distro's system settings service plugin instead
5749 - (nm_system_device_add_default_route_via_device): remove
5750 - (nm_system_device_add_default_route_via_device_with_iface): remove
5751 - (nm_system_device_replace_default_route): new function; call
5752 generic implementation
5754 * src/backends/NetworkManagerGeneric.c
5755 src/backends/NetworkManagerGeneric.h
5756 - (nm_generic_device_add_default_route_via_device,
5757 nm_generic_device_add_default_route_via_device_with_iface): remove
5758 - (nm_generic_device_replace_default_route): replace the default route
5759 with the given route via some gateway
5761 * src/NetworkManagerSystem.c
5762 src/NetworkManagerSystem.h
5763 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5764 to routing and DNS; but set the MTU here
5765 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5766 ip_iface of the active device; use the standard MTU setting function
5767 - (nm_system_set_mtu): remove
5768 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5770 2008-03-07 Tambet Ingo <tambet@gmail.com>
5772 Rework the interaction between ppp manager and pppd plugin. Register a well
5773 known DBUS service in manager and let the plugin call it's methods instead
5774 of listening plugin's signals.
5776 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5777 of emitting signals.
5779 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5781 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5783 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5784 nm_ppp_manager_start().
5786 * introspection/nm-ppp-manager.xml: New file.
5788 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5789 the case correctly where driver is trying to send -1 for the speed, which gets
5790 casted to u16 and thus is always > 0.
5792 2008-03-07 Dan Williams <dcbw@redhat.com>
5794 * src/nm-hal-manager.c
5795 - (nm_get_device_driver_name): use net.originating_device first, fall
5796 back to physical device. HAL has deprecated physical_device.
5798 * libnm-glib/nm-device.c
5799 - (get_product_and_vendor): use net.originating_device first, fall
5800 back to physical device. HAL has deprecated physical_device.
5801 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5803 2008-03-07 Dan Williams <dcbw@redhat.com>
5806 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5807 last commit; fix that
5808 - (get_link_cache): print error string
5810 2008-03-07 Dan Williams <dcbw@redhat.com>
5813 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5814 don't need this hack any more (Benoit Boissinot)
5816 2008-03-06 Dan Williams <dcbw@redhat.com>
5819 - Die gnome-common, die
5821 2008-03-04 Dan Williams <dcbw@redhat.com>
5823 Patch from Michael Biebl <biebl@debian.org>
5825 * NetworkManager.pc.in
5826 - doesn't actually depend on dbus-1
5828 * libnm-util/nm-utils.h
5829 - remove unused #include <dbus/dbus.h>
5831 * libnm-glib/libnm_glib.pc.in
5832 - depends on glib and dbus-glib
5834 2008-03-02 Dan Williams <dcbw@redhat.com>
5836 * src/NetworkManagerPolicy.c
5837 - s/device_state_changed_idle_id/update_state_id/
5839 2008-03-02 Dan Williams <dcbw@redhat.com>
5843 src/nm-device-802-11-wireless.c
5844 src/nm-device-802-3-ethernet.c
5845 src/NetworkManagerPolicy.c
5846 - s/link_active/carrier
5847 - nm_device_set_active_link() -> nm_device_set_carrier()
5848 - nm_device_has_active_link() -> nm_device_get_carrier()
5850 2008-03-02 Dan Williams <dcbw@redhat.com>
5852 * system-settings/plugins/ifcfg-fedora/parser.c
5853 - (make_wireless_setting): fail connection creation on missing SSID
5855 2008-02-29 Dan Williams <dcbw@redhat.com>
5857 * src/NetworkManagerPolicy.c
5858 - (nm_policy_device_change_check): ensure that a previously active
5859 device with a system connection has a link before denying a switch
5860 to a user connection
5862 2008-02-29 Dan Williams <dcbw@redhat.com>
5864 * src/nm-device-802-11-wireless.c
5865 - (link_timeout_cb): try again if scanning; deactivate the device when
5866 activated if the link dies
5867 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5870 2008-02-29 Dan Williams <dcbw@redhat.com>
5872 * src/nm-device-802-11-wireless.c
5873 src/nm-device-802-11-wireless.h
5874 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5875 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5876 - (device_cleanup): reset the scan interval lower when the device
5878 - (can_scan): base decision mostly off device state, not supplicant
5879 interface state since the supplicant interface state isn't a
5880 great indicator of whether the device is active or not
5881 - (request_wireless_scan): clean up; schedule the next scan here
5882 - (schedule_scan): only back the scan interval off if a new scan
5883 actually gets scheduled; and make scan intervals tighter when the
5884 device is disconnected
5885 - (supplicant_iface_state_cb_handler): fold in the bits of
5886 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5888 - (activation_success_handler): reset scan interval to something
5891 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5893 reviewed by: Steev <steev@steev.net>
5896 * src/backends/NetworkManagerGentoo.c:
5897 (nm_system_restart_mdns_responder):
5898 Howl is no longer a supported mDNS provider
5900 2008-02-28 Tambet Ingo <tambet@gmail.com>
5902 Get rid of a bunch of unused distro specific functions.
5904 2008-02-28 Tambet Ingo <tambet@gmail.com>
5906 Implement suse plugin for system settings daemon.
5908 * system-settings/plugins/ifcfg-suse/*: Implement.
5910 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5913 * configure.in: Check (without failing) for gio.
5914 Create ifcfg-suse plugin's Makefile.
5916 2008-02-20 Dan Williams <dcbw@redhat.com>
5918 * libnm-util/nm-connection.c
5919 libnm-util/nm-connection.h
5920 - (nm_connection_compare): accept compare flags and pass them to the
5921 setting compare function
5923 * libnm-util/nm-setting.c
5924 libnm-util/nm-setting.h
5925 - (nm_setting_compare): accept compare flags; ignore properties that are
5928 * libnm-util/nm-setting-connection.c
5929 libnm-util/nm-setting-wireless.c
5930 libnm-util/nm-setting-ppp.c
5931 libnm-util/nm-setting-wired.c
5932 - Mark some setting properties as ignorable when doing a fuzzy compare
5935 - (device_activation_precheck): use exact compare
5937 2008-02-20 Dan Williams <dcbw@redhat.com>
5939 * src/NetworkManagerPolicy.c
5940 - (nm_policy_device_change_check): get scope off the connection, not
5941 using the manager helper
5945 - (get_scope_for_proxy): rename from get_type_for_proxy()
5946 - (connection_get_settings_cb): set scope and path on connection, not
5947 using GObject data items
5948 - (get_connection_for_proxy): don't need to return path, since that
5949 can be gotten from the connection
5950 - (get_connection_for_proxy): get path off the connection, not from
5952 - (connection_removed_cb, connection_updated_cb): don't need to get
5953 path from get_connection_for_proxy(); get scope off the connection
5954 instead of using GObject data items
5955 - (connection_added_default_handler, add_one_connection_element): use
5956 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5957 - (nm_manager_get_connection_dbus_path): remove
5958 - (nm_manager_get_connection_scope): remove
5960 2008-02-20 Dan Williams <dcbw@redhat.com>
5962 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5965 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5966 applet were having to hack this in anyway. Remove the 'path' stuff from
5967 NMExportedConnection
5969 * Internally rename NMConnectionType -> NMConnectionScope
5971 * Provide default implementations of the 'get_id' and 'get_settings' methods
5972 of NMExportedConnection
5974 2008-02-15 Dan Williams <dcbw@redhat.com>
5976 * src/nm-device-802-11-wireless.c
5977 - (device_cleanup): release the AP list here too so that the AP list
5978 doesn't survive across suspend/resume and up/down. There is some
5979 room for optimization, for example blow the list away when the card
5980 brought back up, but only if the device has only been down for a
5983 2008-02-15 Dan Williams <dcbw@redhat.com>
5985 * src/nm-hal-manager.c
5986 - (modem_device_creator): recognize new HAL modem capabilities
5988 2008-02-12 Dan Williams <dcbw@redhat.com>
5990 * system-settings/plugins/ifcfg-fedora/plugin.c
5991 - (watch_path): handle IN_DELETE_SELF too
5992 - (handle_connection_changed): notify when removing a connection
5993 - (stuff_changed): don't warn on unknown inotify watches; handle the
5994 case of a file moving out of the profile directory
5996 2008-02-12 Dan Williams <dcbw@redhat.com>
5998 * system-settings/plugins/ifcfg-fedora/parser.c
5999 - (make_ip4_setting): bring IPv4 setting handling more up to spec
6001 2008-02-12 Dan Williams <dcbw@redhat.com>
6003 * libnm-util/nm-utils.c
6004 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
6005 just any empty array
6007 2008-02-12 Dan Williams <dcbw@redhat.com>
6009 * system-settings/src/nm-system-config-interface.c
6010 system-settings/src/nm-system-config-interface.h
6011 - (load_connections): get_connections() should now return an allocated
6012 GSList that the system settings service will free
6014 * system-settings/plugins/ifcfg-fedora/plugin.c
6015 system-settings/plugins/ifcfg-fedora/parser.h
6016 system-settings/plugins/ifcfg-fedora/parser.c
6017 - Fix up inotify issues; handle keys-* files, handle new files appearing
6018 in the profile directory, handle resolv.conf file changes
6020 2008-02-10 Dan Williams <dcbw@redhat.com>
6022 * src/nm-device-802-3-ethernet.c
6023 - (real_bring_up): save the supplicant interface state signal id
6024 - (real_bring_down): disconnect from the supplicant interface state
6027 2008-02-07 Dan Williams <dcbw@redhat.com>
6029 * initscript/RedHat/NetworkManager.in
6030 initscript/RedHat/NetworkManagerDispatcher.in
6031 - Add new-style LSB init headers
6033 2008-02-07 Dan Williams <dcbw@redhat.com>
6035 * system-settings/src/dbus-settings.c
6036 system-settings/src/dbus-settings.h
6037 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
6039 - (connection_settings_get_secrets): consolidate error returns into
6040 one place; use the new get_secrets() plugin interface function to
6041 get secrets from the plugin itself rather than using GObject data
6044 * system-settings/src/main.c
6045 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
6046 load_connections): keep a private list of the plugin-returned
6047 connections, don't use the plugin's GSList
6049 * system-settings/plugins/ifcfg-fedora/plugin.c
6050 - (watch_path): watch the path, not the filename (duh)
6051 - (reload_all_connections): use the direct hash/equal functions; the
6052 ones for int aren't appropriate here
6053 - (get_secrets, system_config_interface_init): implement the
6054 get_secrets() function
6055 - (build_one_connection, find_connection_by_path): ifcfg file path is
6056 now in the connection's ConnectionData instead of being a GObject
6058 - (handle_profile_item_changed): ifcfg file path is now in the
6059 connection's ConnectionData instead of being a GObject data property;
6060 be sure to copy secrets over from the new connection to the existing
6061 connection when updating the connection's settings
6062 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6065 * system-settings/plugins/ifcfg-fedora/parser.c
6066 system-settings/plugins/ifcfg-fedora/parser.h
6067 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6068 connection_data_copy_secrets, connection_data_free,
6069 connection_data_add): new functions; connection data manipulation
6070 - (make_wireless_security_setting): stuff secrets into the
6071 connection data, not as GObject data items; make sure to close
6073 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6074 connection data to the connection
6076 2008-02-07 Dan Williams <dcbw@redhat.com>
6078 * system-settings/src/nm-system-config-interface.c
6079 system-settings/src/nm-system-config-interface.h
6080 - Add a get_secrets() interface function to retrieve secrets for a
6081 specific setting of a specific connection. Document the interface
6084 2008-02-07 Dan Williams <dcbw@redhat.com>
6086 * src/nm-device-802-11-wireless.c
6087 - (handle_auth_or_fail): new function; consolidate device activation
6088 failure check after a certain number of failures getting secrets
6089 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6090 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6091 the connection if secrets were requested more than a few times
6092 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6093 tries here; otherwise they are cleared before the IP configure
6094 timeout, which happens with open system WEP when key is wrong
6095 - (activation_success_handler): clear wireless secrets tries here too
6097 2008-02-07 Dan Williams <dcbw@redhat.com>
6099 * src/NetworkManagerPolicy.c
6100 - (connection_updated): clear invalid tag when connection gets updated
6101 to allow that connection to be tried again
6102 - (nm_policy_new): save signal ids so they can be disconnected when
6103 the policy is destroyed
6104 - (nm_policy_destroy): stop any in-progress state change idle handler,
6105 and disconnect all signals from the manager object so that none
6106 of the policy functions gets called after the policy is destroyed
6108 2008-02-06 Dan Williams <dcbw@redhat.com>
6111 - (finalize): remove devices a bit earlier; clean up system settings
6113 - (nm_manager_name_owner_changed): clean up system settings poke when
6114 the service appears, and try to restart it if it fails
6115 - (poke_system_settings_daemon_cb): try to get the system settings
6116 service started through D-Bus service activation
6117 - (initial_get_connections): start the system settings daemon if it's
6120 2008-02-05 Dan Williams <dcbw@redhat.com>
6122 * src/supplicant-manager/nm-supplicant-config.c
6123 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6124 broadcast networks too
6126 2008-02-04 Dan Williams <dcbw@redhat.com>
6128 * system-settings/plugins/ifcfg-fedora/parser.c
6129 - (make_wireless_security_setting): fix spelling; unencrypted networks
6130 need key_mgmt set too
6131 - (parser_parse_file): validate ifcfg file name and don't try to parse
6132 .bak files; ensure that an error is set whenever NULL gets returned
6134 2008-02-04 Dan Williams <dcbw@redhat.com>
6136 * system-settings/src/Makefile.am
6137 - Install D-Bus service activation file for the system settings
6140 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6141 - D-Bus service activation file for system settings service
6143 2008-02-04 Dan Williams <dcbw@redhat.com>
6145 * system-settings/src/main.c
6146 - (parse_config_file): parse a config file
6147 - (main): accept --config option and read plugins from config file
6149 2008-02-04 Dan Williams <dcbw@redhat.com>
6151 * system-settings/plugins/ifcfg-fedora/plugin.c
6152 - Change reported name to 'ifcfg-fedora'
6153 - Use IFCFG_PLUGIN_NAME
6155 * system-settings/plugins/ifcfg-fedora/plugin.c
6156 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6158 2008-02-04 Dan Williams <dcbw@redhat.com>
6160 * system-settings/plugins/ifcfg-fedora/parser.c
6161 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6162 - (make_connection_setting): use get_ifcfg_name()
6163 - (make_wireless_security_setting): handle shadow key files
6164 - (get_one_wep_key): treat empty string as NULL
6166 2008-02-04 Dan Williams <dcbw@redhat.com>
6168 * src/supplicant-manager/nm-supplicant-manager.c
6169 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6170 glib automatically reschedule
6171 - (nm_supplicant_manager_init): immediately try to start the supplicant
6172 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6175 2008-02-01 Dan Williams <dcbw@redhat.com>
6177 * src/NetworkManagerPolicy.c
6178 - (device_state_changed): schedule a change check when a device gets
6179 deactivated so something happens if you disconnect GSM/CDMA
6181 2008-01-31 Dan Williams <dcbw@redhat.com>
6183 * src/nm-device-802-11-wireless.h
6184 src/nm-device-802-11-wireless.c
6185 - (ap_list_get_ap_by_ssid, is_associated,
6186 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6187 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6188 - (nm_device_802_11_wireless_get_activation_ap): collapse
6189 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6192 2008-01-30 Dan Williams <dcbw@redhat.com>
6194 * system-settings/plugins/ifcfg
6195 * system-settings/plugins/ifcfg-fedora
6196 - Move the ifcfg plugin to ifcfg-fedora
6198 2008-01-24 Dan Williams <dcbw@redhat.com>
6200 * libnm-glib/nm-device-802-11-wireless.c
6201 - (get_access_point): move the "/" check here; check for invalid path
6203 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6204 to get_access_point()
6205 - (access_point_added_proxy, access_point_removed_proxy): don't try
6206 to send signals for non-existent access points
6208 2008-01-24 Dan Williams <dcbw@redhat.com>
6210 * libnm-glib/nm-device-802-11-wireless.c
6211 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6213 2008-01-23 Dan Williams <dcbw@redhat.com>
6215 * libnm-glib/libnm_glib.c
6216 - (libnm_glib_init): make thread joinable
6217 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6219 2008-01-23 Dan Williams <dcbw@redhat.com>
6221 * test/libnm_glib_test.c
6222 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6223 - (main): set up signal handlers; call libnm_glib_shutdown
6225 2008-01-21 Dan Williams <dcbw@redhat.com>
6227 * include/NetworkManager.h
6228 - Add CDMA mobile broadband card device type
6230 * src/nm-hal-manager.c
6231 - (modem_device_creator): handle both CDMA and GSM modems; the device
6232 must now be tagged with 'cdma' or 'gsm' capability
6234 * src/nm-cdma-device.c
6235 src/nm-cdma-device.h
6237 - Add the CDMA mobile broadband card device class
6239 * libnm-util/nm-connection.c
6240 - (register_default_settings): add NMSettingCdma
6242 * libnm-util/nm-setting-cdma.c
6243 libnm-util/nm-setting-cdma.h
6244 libnm-util/Makefile.am
6245 - Add the CDMA mobile broadband card setting class
6247 * libnm-glib/nm-cdma-device.c
6248 libnm-glib/nm-cdma-device.h
6249 libnm-glib/Makefile.am
6250 - Add the CDMA mobile broadband card GLib proxy class
6252 * libnm-glib/nm-client.c
6253 - (get_device): handle CDMA devices too
6255 2008-01-21 Dan Williams <dcbw@redhat.com>
6257 * src/ppp-manager/nm-ppp-manager.c
6258 - (ip4_config_get): set peer address too
6260 * src/ppp-manager/nm-pppd-plugin.c
6261 - (nm_ip_up): try harder to get the peer's address
6263 * src/NetworkManagerSystem.c
6264 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6265 address, use that too. Otherwise, some PPP connections won't work.
6267 2008-01-19 Dan Williams <dcbw@redhat.com>
6269 * src/NetworkManagerPolicy.c
6270 - (nm_policy_device_change_check): system connections override user
6271 connections; don't activate a user connection if there's a currently
6272 active system connection, and new, better system connections always
6273 interrupt user connections
6275 2008-01-19 Dan Williams <dcbw@redhat.com>
6278 - (nm_manager_get_connection_type): new function
6280 2008-01-19 Dan Williams <dcbw@redhat.com>
6282 * src/nm-device-802-11-wireless.c
6283 - (real_get_best_connection): collapse find_best_connection() into this
6286 2008-01-19 Dan Williams <dcbw@redhat.com>
6288 * src/nm-device-802-3-ethernet.c
6289 - (real_get_best_connection): collapse find_best_connection() into this
6292 2008-01-18 Dan Williams <dcbw@redhat.com>
6294 * src/nm-device-802-3-ethernet.c
6295 - (find_best_connection): check MAC address too
6296 - (real_get_best_connection): let autoconnect=True connections activate
6297 for devices that don't have carrier detection
6299 * src/nm-device-802-11-wireless.c
6300 - (find_best_connection): check MAC address too
6302 2008-01-18 Dan Williams <dcbw@redhat.com>
6304 * system-settings/plugins/ifcfg/parser.c
6305 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6307 2008-01-17 Dan Williams <dcbw@redhat.com>
6309 * src/nm-device-802-3-ethernet.c
6310 - (nm_device_802_3_ethernet_carrier_on,
6311 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6312 carrier events that might come in for devices that don't support
6315 2008-01-17 Dan Williams <dcbw@redhat.com>
6317 * src/nm-device-interface.c
6318 - (nm_device_interface_check_connection_conflicts): need to actually
6319 get the interface, not cast to the object
6322 - (nm_device_check_connection_conflicts): need to get the device class,
6323 not cast the device to the device class
6325 2008-01-17 Dan Williams <dcbw@redhat.com>
6327 * src/nm-device-802-11-wireless.c
6328 - (real_check_connection_conflicts): ignore connections that aren't
6329 wireless connections
6331 2008-01-17 Dan Williams <dcbw@redhat.com>
6333 * src/NetworkManagerPolicy.c
6334 - (nm_policy_device_change_check): clear change check idle here
6335 - (device_change_check_done): remove
6336 - (schedule_change_check): simplify
6338 2008-01-17 Dan Williams <dcbw@redhat.com>
6341 - (check_connection_allowed): take an NMDeviceInterface instead of
6342 an NMDevice object as an argument
6343 - (nm_manager_activate_device): pass an NMDeviceInterface to
6344 check_connection_allowed()
6346 2008-01-13 Dan Williams <dcbw@redhat.com>
6348 * libnm-glib/nm-device-802-11-wireless.c
6349 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6351 2008-01-12 Dan Williams <dcbw@redhat.com>
6353 * src/nm-device-802-11-wireless.c
6354 - (activation_success_handler): if a match was found in the scan list
6355 and that match is a hidden AP, update that AP's SSID
6357 2008-01-11 Dan Williams <dcbw@redhat.com>
6359 * src/NetworkManagerAP.c
6360 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6362 * src/nm-device-802-11-wireless.c
6363 - (get_active_ap): do two passes over the scan list if the caller
6364 requests that hidden APs get matched too; during the second pass
6365 when matching hidden APs, ignore the SSID since hidden APs in the
6366 scan list don't have an SSID yet
6367 - (periodic_update): move some checks to
6368 nm_device_802_11_periodic_update() because not all callers need them
6369 - (nm_device_802_11_periodic_update): move some checks here from
6371 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6372 matching on incoming scan results, because the fake AP's flags
6373 might be slightly different (yet still compatible) with the incoming
6374 scan result's flags and they might actually be the same AP; update
6375 the rate on merged APs too
6376 - (activation_success_handler): update the frequency of the fake AP
6377 on successful connection; match hidden APs too since if the
6378 current AP is fake, there might already be a scan result in the
6379 scan list for the desired AP, just without it's SSID filled in yet
6381 2008-01-10 Dan Williams <dcbw@redhat.com>
6383 * src/NetworkManagerAP.c
6384 - (foreach_property_cb): catch more hidden SSID formats
6386 2008-01-10 Dan Williams <dcbw@redhat.com>
6388 Fix gnome.org #464215. Requires the kernel patch titled
6389 "Introduce WEXT scan capabilities" but will handle the patch not being
6390 present, you'll just continue to have problems with hidden SSIDs when
6391 using mac80211-based drivers.
6393 * src/supplicant-manager/nm-supplicant-config.h
6394 src/supplicant-manager/nm-supplicant-config.c
6395 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6396 whether the driver supports SSID scans or not. If it does, and if
6397 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6399 * src/nm-device-802-11-wireless.c
6400 - (constructor): check whether or not the driver supports SSID scans
6401 - (build_supplicant_config): pass driver SSID scan capability when
6402 building the wireless bits of the supplicant config
6404 2008-01-09 Dan Williams <dcbw@redhat.com>
6408 - (device_activation_precheck, check_connection_complete): remove this
6409 virtual function; incomplete connections should be invalid by
6410 definition, complete-ness should be checked in the setting's
6413 * src/nm-serial-device.c
6415 - (real_check_connection_complete): remove
6417 * libnm-util/nm-setting-serial.c
6418 - (verify): new function; ensure there is a PPP setting too
6420 * libnm-util/nm-setting-gsm.c
6421 - (verify): ensure there is a serial setting too
6423 2008-01-06 Dan Williams <dcbw@redhat.com>
6425 * src/dhcp-manager/nm-dhcp-manager.c
6426 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6429 2008-01-04 Dan Williams <dcbw@redhat.com>
6431 * src/named-manager/nm-named-manager.c
6432 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6433 nameservers if the secondary config doesn't have any
6436 2008-01-02 Tambet Ingo <tambet@gmail.com>
6438 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6439 with G_PARAM_CONSTRUCT so that they get the default values.
6441 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6442 the monitoring device and prints out the output for now. Or more precicely, doesn't
6443 do absolutely anything right now since the montoring device argument is never set.
6445 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6446 requires it's own knob to turn it on.
6447 (config_fd): Add NMSettingSerial to the arguments list.
6448 (nm_serial_device_open): Ditto.
6449 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6450 (nm_serial_device_get_io_channel): Implement.
6452 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6453 a new reference every time (and forgetting to release it sometimes) is a pain and
6454 it's not like NMManager could work without dbus.
6455 (nm_manager_add_device): Register the added device on dbus here.
6457 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6460 * src/nm-device.c (constructor): Don't export the device here, instead export
6461 it when it's added to the NMManager's device list.
6463 2007-12-31 Dan Williams <dcbw@redhat.com>
6465 * src/nm-device-interface.c
6466 src/nm-device-interface.h
6467 - (nm_device_interface_check_connection_conflicts): new function
6471 - (nm_device_check_connection_conflicts): new function
6472 - (device_activation_precheck): don't require subclasses to implement
6473 check_connection_complete()
6474 - check_connection() -> check_connection_complete()
6476 * src/nm-device-802-11-wireless.c
6477 - (real_check_connection): remove; unused
6478 - (real_check_connection_conflicts): implement, handle lockdown for
6481 * src/nm-device-802-3-ethernet.c
6482 - (real_check_connection): remove; unused
6485 - (check_connection_allowed): new function
6486 - (nm_manager_activate_device): ensure the connection being requested
6487 is allowed to be activated
6489 * src/nm-serial-device.c
6491 - real_check_connection() -> real_check_connection_complete()
6493 2007-12-27 Dan Williams <dcbw@redhat.com>
6495 * src/nm-device-interface.c
6496 src/nm-device-interface.h
6497 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6498 normalize and expand errors
6499 - (nm_device_interface_init): register errors so they can be marshalled
6501 - (nm_device_interface_activate): ensure that failure of activation
6506 - (device_activation_precheck): implementations of check_connection()
6507 now take a GError and must fill it in if the check fails. Return
6508 more descriptive error if the requested connection is already
6510 - (nm_device_activate): actually try to return descriptive errors on
6513 * src/nm-device-802-11-wireless.c
6514 src/nm-device-802-3-ethernet.c
6515 src/nm-serial-device.c
6517 - (real_check_connection): return more descriptive errors on failure
6519 * src/NetworkManagerPolicy.c
6520 - (nm_policy_device_change_check): print activation errors in the logs
6523 - (nm_manager_error_quark, nm_manager_error_get_type,
6524 nm_manager_class_init): new errors
6525 - (nm_manager_activate_device): handle errors
6526 - (nm_manager_error_new): removed
6527 - (wait_for_connection_expired, connection_added_default_handler,
6528 impl_manager_activate_device): better error handling
6530 2007-12-27 Dan Williams <dcbw@redhat.com>
6532 Fixes gnome.org #466954
6534 * src/supplicant-manager/nm-supplicant-settings-verify.c
6535 - Allow 'frequency' network property
6537 * src/supplicant-manager/nm-supplicant-config.c
6538 src/supplicant-manager/nm-supplicant-config.h
6539 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6540 for callers to specify the frequency an Ad-Hoc network should operate
6541 on. Some drivers require this to successfully create an Ad-Hoc
6544 * src/nm-device-802-11-wireless.c
6545 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6546 guint32 value in MHz
6547 - (constructor, nm_device_802_11_wireless_get_frequency): use
6549 - (find_supported_frequency): new function; find a free supported
6550 frequency for a user-created Ad-Hoc network
6551 - (build_supplicant_config): if no frequency was specified for a user-
6552 created Ad-Hoc network, find a free one to use
6553 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6554 a specific object as user-created
6556 2007-12-27 Dan Williams <dcbw@redhat.com>
6558 * libnm-util/nm-utils.c
6559 libnm-util/nm-utils.h
6560 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6563 2007-12-24 Dan Williams <dcbw@redhat.com>
6565 * libnm-util/nm-setting-wireless.c
6566 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6567 185, 187, 188, 192, and 196
6569 2007-12-24 Dan Williams <dcbw@redhat.com>
6571 * src/nm-device-802-11-wireless.c
6572 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6573 a channel # instead of a frequency
6575 2007-12-24 Dan Williams <dcbw@redhat.com>
6577 * src/NetworkManagerAP.c
6578 src/NetworkManagerAP.h
6579 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6580 - (freq_to_channel): handle split band tables
6581 - (channel_to_freq): handle split band tables, take a band argument
6583 2007-12-24 Dan Williams <dcbw@redhat.com>
6585 * libnm-util/nm-setting-connection.h
6586 libnm-util/nm-setting-connection.c
6587 - Add 'lockdown' member
6589 2007-12-22 Dan Williams <dcbw@redhat.com>
6591 * libnm-util/nm-setting-wireless.c
6592 - (nm_setting_wireless_class_init): add missing 'rate' property
6595 2007-12-18 Dan Williams <dcbw@redhat.com>
6597 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6599 * src/nm-netlink-monitor.c
6600 src/nm-netlink-monitor.h
6601 - Remove handrolled netlink, use libnl instead
6603 * src/nm-device-802-3-ethernet.c
6604 - (constructor, nm_device_802_3_ethernet_carrier_off,
6605 nm_device_802_3_ethernet_carrier_on): use new names
6607 2007-12-17 Dan Williams <dcbw@redhat.com>
6610 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6611 and fixes memory leaks)
6614 - (nm_netlink_get_default_handle): handle new versions of libnl that
6615 automatically handle the netlink PID
6617 2007-12-17 Dan Williams <dcbw@redhat.com>
6619 Patch from Michael Biebl <biebl@debian.org>
6622 src/ppp-manager/Makefile.am
6623 - fix up install dir of pppd plugin
6624 - clean up configure.in a bit
6626 2007-12-12 Dan Williams <dcbw@redhat.com>
6628 * system-settings/src/nm-system-settings.conf
6629 - Allow non-root clients (like the applet) to read settings
6631 2007-12-10 Tambet Ingo <tambet@gmail.com>
6633 * Replace all occurences of 'UMTS' with 'GSM'.
6635 2007-12-07 Dan Williams <dcbw@redhat.com>
6637 * src/nm-serial-device.c
6638 - (real_is_up): serial devices are always "up"
6640 2007-12-07 Dan Williams <dcbw@redhat.com>
6643 src/NetworkManagerSystem.c
6644 - (new_nl_handle): ensure that the same netlink pid is never chosen
6645 twice (gnome.org #491047)
6646 - Make more robust against allocation-related failures should they occur
6648 2007-12-07 Dan Williams <dcbw@redhat.com>
6650 Noticed by Christian Persch <chpe@gnome.org>
6652 Always chain up to parent object in dispose and finalize handlers.
6655 2007-12-07 Dan Williams <dcbw@redhat.com>
6657 * src/nm-device-802-11-wireless.c
6658 - Wrap #include of linux/mii.h to fix redefined structures due to
6659 incorrect kernel headers (gnome.org #350061)
6661 2007-12-06 Tambet Ingo <tambet@gmail.com>
6663 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6664 before doing anything else.
6665 (init_modem): Move modem initialization here.
6667 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6668 (nm_serial_device_flash): Implement.
6670 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6671 changes signal is "StateChanged" and not "Status".
6672 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6674 2007-12-06 Dan Williams <dcbw@redhat.com>
6676 * src/supplicant-manager/nm-supplicant-config.c
6677 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6678 to only send some options when they make sense; also send phase2
6679 option to the supplicant (possible fix for rh #399631)
6681 2007-12-06 Tambet Ingo <tambet@gmail.com>
6683 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6684 arguments: This whole file shouldn't really know anything about NMDevices, it
6685 should deal only with device interfaces. Devices might have different ifaces for
6686 different stuff and this place shouldn't know anything about it.
6688 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6689 (global_state_changed): Implement. In the current NM it's not really important,
6690 but will be required in the case of multiple active devices. (Or even better,
6691 if stuff like that gets moved out from NM).
6693 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6694 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6697 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6698 devices like serial devices (ttyS0 and ppp0 for example).
6699 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6701 (nm_device_set_ip_iface): Implement.
6702 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6703 after setting ip4_config from here ...
6704 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6705 than this function should call nm_system_device_set_from_ip4_config() because no
6706 other code has enough information on which arguments to use. So instead, other code
6707 could just set the new ip4 config using this function and everyone is happy.
6709 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6710 if we happen to get deactivated while something is pending.
6711 (automatic_registration): Handle the response that indicates pending network
6712 registration and wait until the pending registration is done.
6713 (real_deactivate_quickly): If there's a pending operation, cancel it.
6715 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6716 (real_deactivate_quickly): ... and remove it when it's down.
6717 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6719 (nm_serial_device_wait_for_reply): Ditto.
6721 2007-12-05 Tambet Ingo <tambet@gmail.com>
6723 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6724 (get_network_done): Remove newline, nm_info() does it already.
6725 (real_act_stage1_prepare): Turn the modem echo off.
6727 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6728 device, set the route to the device interface. This is a hack.
6730 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6731 return, no need for a new-line.
6732 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6733 Change the device iface here (ugh).
6734 (real_act_stage4_get_ip4_config): Implement.
6735 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6736 Restore the device iface.
6738 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6739 device is not wired or wireless (eg, automatically upped) device.
6741 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6743 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6745 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6746 before calling it's is_device_fn().
6748 2007-12-05 Dan Williams <dcbw@redhat.com>
6750 * libnm-util/nm-utils.c
6751 - (nm_utils_register_value_transformations,
6752 nm_utils_convert_gvalue_hash_to_string): better debug output of
6753 GHashTables of GValues too
6755 2007-12-04 Dan Williams <dcbw@redhat.com>
6757 * initscript/RedHat/NetworkManager.in
6758 - No longer start named; it's D-Bus interface is going away
6760 2007-12-04 Dan Williams <dcbw@redhat.com>
6762 Patch from Michael Biebl <biebl@debian.org>
6764 * system-settings/plugins/ifcfg/Makefile.am
6765 system-settings/src/main.c
6766 system-settings/src/Makefile.am
6767 - Put system settings plugins in NM plugins dir
6769 * src/ppp-manager/Makefile.am
6770 src/ppp-manager/nm-ppp-manager.c
6771 - Move pppd plugin to NM plugins dir
6773 2007-12-04 Dan Williams <dcbw@redhat.com>
6775 * libnm-util/nm-setting-vpn-properties.h
6776 - Clarify usage of the 'data' member of the setting
6778 * libnm-util/nm-setting-vpn-properties.c
6779 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6780 - (set_property): just remove all the settings; don't recreate the has
6781 - (update_one_secret): don't need to create the hash table here since
6782 it should always be present
6784 2007-12-03 Tambet Ingo <tambet@gmail.com>
6786 Implement PIN and PUK requesting.
6788 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6789 (enter_pin): Handle PIN and PUK requests.
6790 (real_act_stage1_prepare): Clear the secret type.
6791 (real_connection_secrets_updated): Implement this class method to get
6792 notified when new secrets arrive.
6793 (nm_umts_device_class_init): Add private data back to the umts device class
6794 to store the required secret type.
6796 2007-12-01 Dan Williams <dcbw@redhat.com>
6798 * system-settings/plugins/ifcfg/parser.c
6799 - (parser_parse_file): don't try to verify NULL connections
6801 2007-12-01 Dan Williams <dcbw@redhat.com>
6803 * system-settings/src/main.c
6804 - (load_connections, add_connection_to_settings): actually export
6805 plugin-provided connections over D-Bus so NM can get them
6807 2007-12-01 Dan Williams <dcbw@redhat.com>
6809 * system-settings/plugins/ifcfg/parser.c
6810 system-settings/plugins/ifcfg/parser.h
6811 system-settings/plugins/ifcfg/plugin.c
6812 - Hook up more inotify bits (untested)
6814 2007-11-29 Dan Williams <dcbw@redhat.com>
6816 * system-settings/src/nm-system-config-interface.h
6817 system-settings/src/nm-system-config-interface.c
6818 - (nm_system_config_interface_init,
6819 nm_system_config_interface_get_connections): add
6821 * system-settings/src/main.c
6822 - (load_plugins, load_connections, main): use a GSList for plugins
6823 to ensure priority ordering
6825 * system-settings/plugins/ifcfg/parser.c
6826 - (ifcfg_error_quark): move to plugin.c, and rename
6828 * system-settings/plugins/ifcfg/plugin.h
6829 system-settings/plugins/ifcfg/plugin.c
6830 - (ifcfg_plugin_error_quark): move here from parser.c
6831 - rework connection loading and initialization
6832 - Add preliminary inotify support for network profile config file
6834 2007-11-28 Tambet Ingo <tambet@gmail.com>
6836 Merge the beginnings of the new GSM card support.
6838 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6839 ppp watch source before killing pppd - If this happens from g_object_unref()
6840 then the ppp manager is already destroyed by the time the watch callback runs.
6842 * src/nm-hal-manager.c: Add a device_type_name string to the device
6843 creators, so that we can print a nice human readable string when a
6846 * src/nm-umts-device.c (automatic_registration_get_network): Query
6847 for the activated network, not much is done with the result thought.
6849 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6850 (ppp_ip4_config): Change the device state to activated here for now.
6851 (real_check_connection): Make sure the connection includes ppp setting.
6853 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6855 * libnm-glib/Makefile.am: Add the new files to build.
6857 * libnm-glib/nm-umts-device.c:
6858 * libnm-glib/nm-umts-device.h: Implement.
6860 2007-11-26 Tambet Ingo <tambet@gmail.com>
6862 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6863 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6865 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6866 the timeout source - this function is only called when the timeout source has
6868 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6869 to be big enough to contain the terminating zero element as well.
6870 The timeout argument is meant to be in seconds now.
6871 (real_deactivate_quickly): Implement.
6873 * src/NetworkManager.conf: Allow root to own
6874 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6876 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6877 (not unsigned ints).
6879 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6880 small issue with parity bounds - capital letters have lower ascii codes
6881 than lower case letters.
6883 * libnm-util/nm-connection.c (register_default_settings): Register serial
6886 2007-11-22 Tambet Ingo <tambet@gmail.com>
6888 Remove the "index" property from devices as not all device types have this.
6890 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6892 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6893 (wired_device_creator): Get the device interface from hal to create the device.
6894 (wireless_device_creator): Ditto.
6896 * src/nm-device.c (nm_device_init): Remove the index member.
6897 (constructor): Remove the checks for index property, make interface property
6898 a require constructor property.
6899 Use the HAL udi for DBus path for devices.
6900 (nm_device_get_index): Remove.
6901 (set_property): Remove index handling.
6902 (get_property): Ditto.
6903 (nm_device_get_dbus_path): Remove.
6905 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6908 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6909 Access the device index through it's interface.
6910 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6911 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6912 index argument. Add interface argument.
6914 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6915 the useless test_dev argument. Remove index argument. Add interface arugment.
6917 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6918 device index through interface.
6919 (nm_system_set_mtu): Ditto.
6921 * introspection/nm-device.xml: Remove the "Index" property.
6923 2007-11-21 Tambet Ingo <tambet@gmail.com>
6925 * src/nm-serial-device.c:
6926 * src/nm-serial-device.c:
6927 * src/nm-umts-device.c:
6928 * src/nm-umts-device.h: Implement.
6930 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6931 allocated by libhal.
6932 (modem_device_creator): Implement.
6933 (register_built_in_creators): Register the modem creator.
6935 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6936 Remove the unused test_dev argument.
6938 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6940 * src/Makefile.am: Add new files to build.
6941 Link in ppp-manager.
6943 * libnm-util/nm-setting-umts.c:
6944 * libnm-util/nm-setting-umts.h:
6945 * libnm-util/nm-setting-serial.c:
6946 * libnm-util/nm-setting-serial.h: Implement.
6948 * libnm-util/Makefile.am: Add new files to build.
6950 2007-11-28 Dan Williams <dcbw@redhat.com>
6952 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6954 Support DHCP-provided static routes.
6956 * src/nm-ip4-config.h
6958 - Add get/set functions for static routes
6960 * src/dhcp-manager/nm-dhcp-manager.c
6961 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6964 * src/NetworkManagerSystem.c
6965 - (nm_system_device_set_from_ip4_config): set any static routes on the
6966 interface when applying the IP4Config
6968 2007-11-28 Dan Williams <dcbw@redhat.com>
6970 * src/nm-device-802-11-wireless.c
6971 - (real_act_stage1_prepare): mark APs created for hidden networks
6974 2007-11-27 Dan Williams <dcbw@redhat.com>
6976 * system-settings/src/nm-system-config-interface.h
6977 - Note how to store secrets on NMSetting objects
6979 * system-settings/src/dbus-settings.c
6980 - (connection_settings_get_secrets): implement
6982 2007-11-27 Dan Williams <dcbw@redhat.com>
6984 * system-settings/plugins/ifcfg/Makefile.am
6985 system-settings/plugins/ifcfg/parser.c
6986 system-settings/plugins/ifcfg/parser.h
6987 system-settings/plugins/ifcfg/plugin.c
6988 - Parse wireless connections too
6990 * system-settings/src/dbus-settings.c
6991 system-settings/src/dbus-settings.h
6992 system-settings/src/main.c
6993 - Handle connection update/removal if the plugin supports it
6995 2007-11-27 Dan Williams <dcbw@redhat.com>
6997 * src/nm-dbus-manager.h
6998 src/nm-hal-manager.c
6999 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
7003 src/NetworkManagerDbusUtils.c
7004 src/NetworkManagerDbusUtils.h
7005 - Remove these two source files; they are unused
7007 2007-11-27 Dan Williams <dcbw@redhat.com>
7009 * src/vpn-manager/nm-vpn-manager.c
7010 - (impl_vpn_manager_connect): fix system settings check (found by
7013 2007-11-26 Dan Williams <dcbw@redhat.com>
7015 * Fix warnings so everything compiles with --enable-more-warnings
7017 2007-11-25 Dan Williams <dcbw@redhat.com>
7020 - Rework structure and code to use GModule-loaded plugins and a plugin
7021 interface that plugins export to the system settings service
7023 2007-11-21 Dan Williams <dcbw@redhat.com>
7026 - Add Soren's system settings service. Needs work for distros other
7027 than Fedora; the backends from NM should mostly migrate to here
7028 and be converted to GObjects
7030 2007-11-21 Dan Williams <dcbw@redhat.com>
7032 * libnm-util/nm-setting-vpn-properties.c
7033 - (set_property): must deep-copy the given settings hash, otherwise
7034 double-free errors occur when the setting is disposed of
7036 2007-11-21 Dan Williams <dcbw@redhat.com>
7038 * src/vpn-manager/nm-vpn-act-request.h
7039 src/vpn-manager/nm-vpn-act-request.c
7042 2007-11-20 Dan Williams <dcbw@redhat.com>
7044 * libnm-util/nm-utils.c
7045 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
7046 nm_utils_convert_ip4_addr_struct_array_to_string,
7047 nm_utils_register_value_transformations): print out the readable
7048 values of more types of properties of NMSettings subclasses
7050 2007-11-20 Dan Williams <dcbw@redhat.com>
7052 * libnm-util/nm-setting-ip4-config.c
7053 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
7054 nm_setting_ip4_config_class_init): apparently dbus-glib can't
7055 marshal GValueArrays inside collections, so switch to types that it
7056 can actually marshal/demarshal
7058 2007-11-16 Dan Williams <dcbw@redhat.com>
7060 * libnm-util/nm-setting-wireless-security.c
7061 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7062 minimal verification of EAP methods too
7063 - (verify): verify phase1 eap methods too
7065 2007-11-15 Dan Williams <dcbw@redhat.com>
7067 * libnm-glib/nm-device.h
7068 libnm-glib/nm-device.c
7069 - (nm_device_get_product, nm_device_get_vendor): should be returning
7072 2007-11-15 Dan Williams <dcbw@redhat.com>
7074 * libnm-glib/nm-device.c
7075 - (get_product_and_vendor): don't try to free things that should be
7078 2007-11-15 Dan Williams <dcbw@redhat.com>
7080 * src/NetworkManagerUtils.c
7081 - (nm_ethernet_address_is_valid): unbreak previous fix
7083 2007-11-15 Dan Williams <dcbw@redhat.com>
7085 * src/supplicant-manager/nm-supplicant-config.c
7086 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7089 2007-11-15 Dan Williams <dcbw@redhat.com>
7091 * src/NetworkManagerUtils.c
7092 - (nm_ethernet_address_is_valid): fix style, clarify
7093 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7095 * src/nm-device-802-11-wireless.c
7096 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7097 - (nm_device_802_11_wireless_get_ssid,
7098 nm_device_802_11_wireless_get_bssid,
7099 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7100 before calling the ioctl; fixes valgrind-reported jump depends on
7101 uninitialized value errors
7103 2007-11-15 Dan Williams <dcbw@redhat.com>
7105 * libnm-util/nm-setting.c
7106 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7107 unecessary to serialize 'name'
7109 * src/nm-activation-request.c
7110 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7113 2007-11-15 Dan Williams <dcbw@redhat.com>
7115 * libnm-util/nm-setting-connection.h
7116 libnm-util/nm-setting-connection.c
7117 - Rename the 'name' property to 'id', because it conflicted with the
7118 NMSetting superclass' 'name' property.
7120 * libnm-util/nm-setting.c
7121 - (nm_setting_to_hash): serialize the 'name' property
7122 - (one_property_cb): ignore 'name' on deserialization of a connection
7124 * src/nm-device-802-11-wireless.c
7125 src/vpn-manager/nm-vpn-connection.c
7126 src/NetworkManagerPolicy.c
7127 - Fix up for NMSettingConnection 'name'->'id' changes
7129 2007-11-13 Dan Williams <dcbw@redhat.com>
7131 * libnm-glib/nm-device-802-11-wireless.h
7132 libnm-glib/nm-device-802-11-wireless.c
7133 - (nm_device_802_11_wireless_get_hw_address): return should be const
7136 libnm-glib/libnm-glib-test.c
7137 - Fixes for above change
7139 2007-11-12 Dan Williams <dcbw@redhat.com>
7141 * src/supplicant-manager/nm-supplicant-settings-verify.c
7142 - Allow fragment_size option
7144 * src/supplicant-manager/nm-supplicant-settings-verify.c
7145 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7146 EAP fragment size than the default to help some TLS connections
7148 2007-11-12 Dan Williams <dcbw@redhat.com>
7150 Make certs actually work. The private key is now a secret, and should be
7151 decrypted when requested by NM. The private key and phase2 private key
7152 passwords are no longer interesting to NM because they should be used by
7153 the settings service to decrypt the private key itself before passing it
7154 to NM, and hence have been removed as fields.
7156 * libnm-util/nm-setting-wireless-security.h
7157 libnm-util/nm-setting-wireless-security.c
7158 - Remove private-key-passwd and phase2-private-key-passwd from
7160 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7161 need_secrets): use property #defines instead strings to keep things
7163 - (need_secrets_tls): if a client certificate is present but no
7164 private key, request the private key
7165 - (set_property, get_property, nm_setting_wireless_security_class_init):
7166 remove private key password stuff, mark private keys as secret
7168 * src/supplicant-manager/nm-supplicant-settings-verify.c
7169 - Remove private_key_passwd and private_key2_passwd from opt_table
7171 2007-11-09 Dan Williams <dcbw@redhat.com>
7173 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7174 Since the vpn-properties are managed and known by the VPN daemons themselves,
7175 libnm-util doesn't know what's secret and what's in the setting's 'data'
7178 * libnm-util/nm-setting.h
7179 libnm-util/nm-setting.c
7180 - Add the ability for subclasses to override update_one_secret
7182 * libnm-util/nm-setting-vpn-properties.c
7183 - Override update_one_secret and just copy the values into the
7186 2007-11-09 Dan Williams <dcbw@redhat.com>
7188 * libnm-glib/nm-settings.h
7189 libnm-glib/nm-settings.c
7190 - (nm_settings_new_error): remove
7191 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7192 clients should use g_set_error() with NM_SETTINGS_ERROR
7194 2007-11-09 Dan Williams <dcbw@redhat.com>
7196 * src/supplicant-manager/nm-supplicant-config.c
7197 - (nm_supplicant_config_add_setting_wireless_security): private key
7198 passwords are never sent to wpa_supplicant, because the supplicant
7199 should never be reading random files from the disk. Clients like
7200 the applet are required to decrypt the private keys and send NM
7201 the decrypted blobs.
7203 2007-11-08 Dan Williams <dcbw@redhat.com>
7205 * libnm-util/nm-setting-wireless-security.h
7206 libnm-util/nm-setting-wireless-security.c
7207 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7208 members to 802-11-wireless-security structure. This should be used
7209 to indicate that the values in private-key and phase2-private-key
7210 are already decrypted by the user agent, and that no
7211 private-key-passwd or phase2-private-key-passwd should be expected.
7212 It is not meant to be a stored configuration value, but meant to
7213 be set when the conneciton is sent to NM over dbus.
7215 2007-11-08 Dan Williams <dcbw@redhat.com>
7217 * libnm-util/nm-connection.h
7218 libnm-util/nm-connection.c
7219 - (nm_connection_need_secrets): add argument to return hints
7221 * src/nm-device-802-11-wireless.c
7222 - (link_timeout_cb, supplicant_connection_timeout_cb,
7223 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7224 nm_connection_need_secrets() change
7226 2007-11-07 Tambet Ingo <tambet@gmail.com>
7228 Rework NMSetting structures: Move each setting to it's own file.
7229 Convert to GObject. Remove home grown setting types and use GTypes.
7230 Use GObject property introspection for hash conversion, enumerating
7233 * libnm-util/nm-setting-connection.[ch]
7234 * libnm-util/nm-setting-ip4-config.[ch]
7235 * libnm-util/nm-setting-ppp.[ch]
7236 * libnm-util/nm-setting-vpn.[ch]
7237 * libnm-util/nm-setting-vpn-properties.[ch]
7238 * libnm-util/nm-setting-wired.[ch]
7239 * libnm-util/nm-setting-wireless.[ch]
7240 * libnm-util/nm-setting-wireless-security.[ch]
7242 New files, each containing a setting.
7244 * libnm-util/nm-setting-template.[ch]: A template for creating new
7245 settings. To use it, just replace 'template' with the new setting
7246 name, and you're half-way done.
7248 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7249 introspection instead of internal types and tables.
7251 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7253 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7254 GValue types defined by dbus-glib for composed types like collections,
7255 structures and maps.
7257 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7258 a setting from connection takes the setting type now. Also, since
7259 the settings are in multiple files, include relevant settings.
7261 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7264 * src/backends/NetworkManagerGentoo.c:
7265 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7266 providers in Gentoo.
7268 2007-10-31 Dan Williams <dcbw@redhat.com>
7270 * libnm-util/nm-connection.c
7271 - (gvalue_to_string): handle UINT32 arrays
7273 2007-10-31 Dan Williams <dcbw@redhat.com>
7275 * libnm-glib/nm-device.h
7276 libnm-glib/nm-device.c
7277 - (nm_device_get_description): remove
7278 - (nm_device_get_product, nm_device_get_vendor): add
7279 - (nm_device_update_description): new function (private); walk HAL
7280 devices to get product and vendor IDs for a specific device
7282 2007-10-31 Dan Williams <dcbw@redhat.com>
7284 * src/nm-device-802-11-wireless.c
7285 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7287 2007-10-29 Dan Williams <dcbw@redhat.com>
7289 * src/nm-hal-manager.c
7290 - (device_added, device_new_capability): ignore device additions while
7291 asleep. Fixes crash caused when NM goes to sleep, a network device
7292 kernel module is unloaded and reloaded and recognized by NM again.
7294 2007-10-26 Dan Williams <dcbw@redhat.com>
7296 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7298 * src/NetworkManagerAP.c
7299 src/NetworkManagerAP.h
7300 libnm-glib/nm-access-point.c
7301 libnm-glib/nm-access-point.h
7302 - Make 'rate' property a guint32 to better match with WEXT and
7303 wpa_supplicant and to allow representation of higher bitrates
7305 * src/nm-device-802-11-wireless.c
7306 introspection/nm-device-802-11-wireless.xml
7307 libnm-glib/nm-device-802-11-wireless.c
7308 libnm-glib/nm-device-802-11-wireless.h
7309 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7311 * src/nm-device-802-3-ethernet.c
7312 src/nm-device-802-3-ethernet.h
7313 introspection/nm-device-802-3-ethernet.xml
7314 libnm-glib/nm-device-802-3-ethernet.c
7315 libnm-glib/nm-device-802-3-ethernet.h
7316 - Make 'speed' property a guint32 to match other speed/rate types
7317 - Make nm_device_802_3_ethernet_get_speed() static
7320 - Update for the changes above
7322 2007-10-26 Dan Williams <dcbw@redhat.com>
7324 * src/named-manager/nm-named-manager.c
7325 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7326 not calling fclose() twice on some error conditions
7328 2007-10-26 Dan Williams <dcbw@redhat.com>
7330 * src/nm-activation-request.c
7331 - (dispose): clean up indentation; get the right DBusGProxy object to
7332 cancel the GetSecrets pending call on. Need to use the Secrets
7333 proxy, not the regular connection proxy. Otherwise the GetSecrets
7334 pending call doesn't get canceled, and pressing Cancel in the
7335 applet's password dialog could cause get_secrets_cb() to be called
7336 after the activation request has already been destroyed
7338 2007-10-24 Dan Williams <dcbw@redhat.com>
7340 * src/supplicant-manager/nm-supplicant-config.c
7341 - (nm_supplicant_config_add_blob): pass blob data and length for
7343 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7345 2007-10-24 Dan Williams <dcbw@redhat.com>
7347 * src/supplicant-manager/nm-supplicant-settings-verify.c
7348 - (opt_table): max length for certificates should be 65536
7350 2007-10-24 Dan Williams <dcbw@redhat.com>
7352 * src/supplicant-manager/nm-supplicant-interface.c
7353 - (blob_free): correctly free blob data after use
7354 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7356 2007-10-24 Dan Williams <dcbw@redhat.com>
7358 * libnm-util/nm-setting.c
7359 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7360 EAP method need secrets
7362 2007-10-24 Dan Williams <dcbw@redhat.com>
7364 * src/backends/NetworkManagerRedHat.c
7365 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7367 2007-10-23 Dan Williams <dcbw@redhat.com>
7369 * libnm-util/nm-setting.c
7370 libnm-util/nm-setting.c
7371 - (nm_setting_compare): implement
7372 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7373 compare_one_hash_gvalue): compare the contents of a setting
7375 * libnm-util/nm-connection.c
7376 - (nm_connection_compare): implement
7378 2007-10-23 Dan Williams <dcbw@redhat.com>
7380 * src/nm-activation-request.c
7381 - (get_secrets_cb): handle getting a setting back that is more than
7382 just secrets (ie, user changed auth or EAP method or something)
7384 2007-10-23 Dan Williams <dcbw@redhat.com>
7386 * libnm-util/nm-setting.c
7387 libnm-util/nm-setting.h
7388 - (nm_setting_verify): new function; verify one setting
7389 - (nm_settings_verify_all): rename from nm_settings_verify()
7390 - (setting_connection_verify, setting_wireless_verify): allow NULL
7393 * libnm-util/nm-connection.c
7394 - (nm_connection_replace_settings, nm_connection_verify,
7395 nm_connection_new_from_hash): handle nm_settings_verify() rename
7397 2007-10-23 Dan Williams <dcbw@redhat.com>
7399 * src/nm-device-802-11-wireless.c
7400 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7403 2007-10-23 Dan Williams <dcbw@redhat.com>
7405 * src/supplicant-manager/nm-supplicant-settings-verify.c
7406 - eap_allowed, phase2_allowed: harmonize with allowed values from
7409 2007-10-23 Dan Williams <dcbw@redhat.com>
7411 * src/nm-device-802-11-wireless.c
7412 - (real_act_stage2_config): after the first association failure,
7413 if the connection still needs secrets ask the user for them
7414 explicitly. After the fourth association failure due to bad
7415 secrets, fail the connection entirely. Handles the GetSecrets
7416 loop that NM gets into when the provided secrets don't match up
7417 with the connection details.
7419 2007-10-23 Dan Williams <dcbw@redhat.com>
7421 * src/supplicant-manager/nm-supplicant-config.c
7422 - (nm_supplicant_config_add_setting_wireless_security): only add
7423 WPA-specific options when WPA is in use
7425 2007-10-23 Dan Williams <dcbw@redhat.com>
7427 * src/supplicant-manager/nm-supplicant-config.c
7428 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7429 secret doesn't need to be unhexified
7431 2007-10-23 Dan Williams <dcbw@redhat.com>
7433 * libnm-util/nm-setting.c
7434 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7435 before trying to do something with it
7437 2007-10-23 Dan Williams <dcbw@redhat.com>
7439 * src/nm-device-802-11-wireless.c
7440 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7442 2007-10-23 Dan Williams <dcbw@redhat.com>
7444 * src/nm-device-802-11-wireless.c
7445 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7446 non-SSID-broadcasting APs
7448 2007-10-23 Dan Williams <dcbw@redhat.com>
7450 * src/NetworkManagerAP.c
7451 - (match_cipher, security_compatible): remove
7452 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7455 2007-10-23 Dan Williams <dcbw@redhat.com>
7457 * libnm-util/nm-utils.c
7458 libnm-util/nm-utils.h
7459 - (nm_utils_ap_security_compatible): common function for checking
7460 whether a specific AP is compatible with an NMConnection
7462 2007-10-23 Dan Williams <dcbw@redhat.com>
7464 * libnm-util/nm-setting.c
7465 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7466 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7467 need_secrets_password, setting_wireless_security_verify): fix
7468 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7469 secrets logic for each supported EAP method
7471 2007-10-23 Dan Williams <dcbw@redhat.com>
7473 * src/supplicant-manager/nm-supplicant-config.c
7474 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7475 config option name, should be "private_key2_passwd"
7477 2007-10-22 Tambet Ingo <tambet@gmail.com>
7479 Implement support for static IP addresses, additional/overridden DNS and
7480 DNS domain search lists.
7482 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7483 (ip4_addresses_to_gvalue): Implement.
7484 (convert_array_to_byte_array): Implement.
7485 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7486 NM_S_TYPE_IP4_ADDRESSES.
7487 (nm_setting_hash): Ditto.
7488 (default_setting_clear_secrets): Add a default case for the switch: IP address
7489 shouldn't be secret, ever.
7490 (setting_ip4_config_verify): Update, requires addresses in case of manual
7492 (setting_ip4_config_destroy): Free stuff.
7494 * src/nm-device.c (merge_ip4_config): Implement.
7495 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7497 2007-10-22 Dan Williams <dcbw@redhat.com>
7499 * libnm-util/nm-setting.c
7500 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7501 pairwise cipher options for Dynamic WEP
7503 2007-10-21 Dan Williams <dcbw@redhat.com>
7505 * src/NetworkManagerAP.c
7506 src/NetworkManagerAP.h
7507 - Rename 'articifical' -> 'fake' since that's what they are until
7509 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7510 from the attributes in an NMConnection object
7511 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7513 - (nm_ap_match_in_list): find a matching AP in a scan list
7515 * src/nm-device-802-11-wireless.c
7516 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7517 AP when searching the scan list; match on frequency and mode too
7518 - (nm_device_802_11_wireless_get_frequency): implement
7519 - (merge_scanned_ap): replace duplicate matching logic with
7520 nm_ap_match_in_list()
7521 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7522 the user is trying to connect to a hidden network that is not yet
7523 known from the scan list
7524 - (activation_success_handler): now that the card knows the AP's BSSID,
7525 there may already be a scanned AP in the scan list that is what
7526 we really wanted to connect to, but didn't know at the time. Use
7527 that instead of the 'fake' AP created at activation start and get
7528 rid of the 'fake' AP
7529 - (cull_scan_list): don't remove fake APs
7531 2007-10-21 Dan Williams <dcbw@redhat.com>
7533 * src/nm-activation-request.h
7534 src/nm-activation-request.c
7535 - (nm_act_request_set_specific_object): new function; allow setting the
7536 specific object if one isn't set yet
7538 2007-10-20 Dan Williams <dcbw@redhat.com>
7540 * src/supplicant-manager/nm-supplicant-config.h
7541 src/supplicant-manager/nm-supplicant-config.c
7542 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7543 table to store blobs
7544 - (nm_supplicant_config_add_blob): new function; add blob to internal
7546 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7547 - (nm_supplicant_config_add_setting_wireless_security): handle
7548 options that use certificates (ie, blobs)
7550 * src/nm-device-802-11-wireless.c
7551 - (build_supplicant_config): pass a UID (just use the connection path)
7552 to the supplicant config as now required
7554 * src/supplicant-manager/nm-supplicant-interface.c
7555 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7556 there are any blobs to send to wpa_supplicant, send those first
7557 before sending the network configuration
7559 2007-10-19 Dan Williams <dcbw@redhat.com>
7561 Split the GetSecrets() call off to a separate D-Bus interface so that it
7562 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7563 should be able to call GetSecrets().
7565 * include/NetworkManager.h
7566 - Define the connection secrets D-Bus interface
7568 * src/vpn-manager/nm-vpn-connection.c
7569 - (clear_need_auth): get the right proxy object for the connection
7571 - (get_connection_secrets): use the connection secrets proxy; send
7572 empty hints in get secrets request
7574 * src/nm-activation-request.c
7575 - (nm_act_request_request_connection_secrets): use the connection
7576 secrets proxy; send empty hints in get secrets request
7580 - (connection_get_settings_cb): set the connection secrets proxy on
7581 the connection object too
7582 - (internal_new_connection_cb): create the connection secrets proxy
7584 * introspection/nm-settings-connection.xml
7585 - Define Connection.Secrets interface and move GetSecrets there
7586 - Add a 'hints' argument to GetSecrets
7588 * libnm-glib/nm-settings.c
7589 libnm-glib/nm-settings.h
7590 - (impl_connection_settings_get_secrets): add 'hints' argument
7592 2007-10-19 Dan Williams <dcbw@redhat.com>
7595 - (constructor): add message about what path a device is exported as
7596 to help in debugging rh #339011
7598 2007-10-17 Dan Williams <dcbw@redhat.com>
7600 * libnm-util/nm-utils.h
7601 libnm-util/nm-utils.c
7602 - (nm_utils_security_valid): common function to help find the intersection
7603 of capabilities of devices and (optionally) access points
7605 2007-10-17 Dan Williams <dcbw@redhat.com>
7607 * src/nm-device-802-11-wireless.c
7608 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7609 don't get erroneously cleared
7611 2007-10-17 Dan Williams <dcbw@redhat.com>
7615 src/nm-hal-manager.c
7616 - (device_removed, finalize, nm_manager_remove_device,
7617 nm_manager_sleep): add a 'deactivate' argument to
7618 nm_manager_remove_device() to fully deactivate devices when necessary
7619 (ie, always except when waking up)
7621 2007-10-16 Dan Williams <dcbw@redhat.com>
7623 * libnm-util/nm-setting.c
7624 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7625 also isn't valid phase2 autheap method
7627 2007-10-16 Dan Williams <dcbw@redhat.com>
7629 * libnm-glib/nm-client.c
7630 - (update_wireless_status): consolidate updates of wireless status
7631 - (constructor): use update_wireless_status()
7632 - (manager_running): set wireless status off when NM goes away; requery
7633 the wireless status when NM comes back
7635 2007-10-16 Dan Williams <dcbw@redhat.com>
7637 * libnm-glib/nm-client.c
7638 - (nm_client_activate_device): actually use the fixed-up specific
7641 2007-10-16 Dan Williams <dcbw@redhat.com>
7643 * src/nm-hal-manager.c
7644 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7645 killswitch error messages once
7647 2007-10-16 Dan Williams <dcbw@redhat.com>
7650 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7651 if it's disabled in hardware; don't touch network devices while
7654 2007-10-16 Dan Williams <dcbw@redhat.com>
7656 * libnm-util/nm-client.c
7657 - (nm_client_activate_device): convert NULL specific_object to "/",
7658 which is used in place of NULL
7661 - (impl_manager_activate_device): convert "/" specific_object back into
7664 2007-10-16 Tambet Ingo <tambet@gmail.com>
7666 Implement a generic NMSetting creator from setting name.
7667 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7668 add a virtual function 'populate_fn'.
7670 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7671 (register_default_creators): Register setting creators instead of functions
7672 that create and then populate.
7673 (parse_one_setting): Use the common setting creator and then setting specific
7674 poplulation function.
7676 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7677 they all looked exactly the same.
7678 Add a 'populate_fn' virtual function to NMSetting.
7679 Use default virtual functions in case they are not overriden.
7680 (nm_setting_populate_from_hash): Implement.
7682 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7683 name, use a defined string.
7684 (real_act_stage4_get_ip4_config): Ditto.
7686 2007-10-16 Tambet Ingo <tambet@gmail.com>
7688 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7689 HAL is int, not uint.
7691 2007-10-15 Tambet Ingo <tambet@gmail.com>
7693 Implement killswitch polling through HAL.
7695 * src/nm-manager.c: Add wireless hardware status property. Add
7696 'properties-changed' signal for changes in wireless and wireless hardware
7699 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7700 and update NMManager's wireless hardware state when it has changed.
7701 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7704 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7705 values of wireless state and wireless hardware state. Listen for the
7706 'properties-changed' signals, update the cached values and emit notify.
7708 * include/NetworkManager.h: Fix a typo in a comment.
7710 2007-10-14 Dan Williams <dcbw@redhat.com>
7712 * libnm-util/nm-setting.c
7713 - (setting_wireless_security_need_secrets): handle LEAP secrets
7715 2007-10-13 Dan Williams <dcbw@redhat.com>
7717 * libnm-util/nm-setting.h
7718 libnm-util/nm-setting.c
7719 src/supplicant-manager/nm-supplicant-config.c
7720 - Make the 'proto' field of the 802-11-wireless-security field a
7723 2007-10-12 Tambet Ingo <tambet@gmail.com>
7725 Rework the "properties-changed" signal listening implementation.
7726 Add a generic implementation to NMObject class that listens for
7727 the signal and calls property setters of the target NMObject.
7729 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7731 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7732 code to the end of file so that all the static functions are available
7733 without extra declarations.
7734 Remove the "properties-changed" signal handling and use the framework from
7736 Implement property setters for properties that change with
7737 "properties-changed" signal.
7739 * libnm-glib/nm-access-point.c: Ditto.
7741 2007-10-12 Tambet Ingo <tambet@gmail.com>
7743 Rework the "properties-changed" signal implementation.
7744 In classes that need to use it, just emit "GObject::notify" and the new
7745 framework takes care of the rest to make the signal available on dbus.
7746 The framework queues the notifications and tries to send as many together
7747 in one signal as possible.
7749 * src/nm-properties-changed-signal.c:
7750 * src/nm-properties-changed-signal.h: Implement.
7752 * src/Makefile.am: Add new files to build.
7754 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7757 * src/nm-device-802-11-wireless.c: Ditto.
7759 2007-10-10 Dan Williams <dcbw@redhat.com>
7762 - (wait_for_connection_expired): ensure info is valid
7763 - (connection_added_default_handler): Should only remove pending
7764 connection info when the manager has the connection that it's
7765 waiting for. Fixes segfault in wait_for_connection_info().
7767 2007-10-10 Dan Williams <dcbw@redhat.com>
7769 * libnm-util/nm-setting.c
7770 libnm-util/nm-setting.h
7771 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7772 can use if they choose. Should be filled in by the settings service
7773 on-the-fly with the currently logged in user's username
7775 2007-10-10 Dan Williams <dcbw@redhat.com>
7777 * src/nm-device-802-11-wireless.c
7778 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7779 as such, because even if the manager fills in the SSID, NM still
7780 has to indicate to wpa_supplicant that the AP isn't broadcasting
7783 2007-10-10 Tambet Ingo <tambet@gmail.com>
7785 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7786 code that used NM's own version of dbus signal handling and custom dictionary
7787 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7788 and we get to maintain over 2000 lines less code.
7790 * libnm-util/dbus-dict-helpers.c:
7791 * libnm-util/dbus-dict-helpers.h: Remove.
7793 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7795 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7797 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7800 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7802 * configure.in: Remove test/libnm-util/Makefile creation.
7804 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7806 * test/libnm-util/: Remove the whole directory.
7808 2007-10-10 Tambet Ingo <tambet@gmail.com>
7810 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7811 device_state_changed_idle_id variable or it would contain some random value and the
7812 schedule_change_check calls would not do anything.
7814 2007-10-09 Dan Williams <dcbw@redhat.com>
7816 * src/nm-device-802-11-wireless.c
7817 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7818 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7819 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7820 merging of non-SSID-broadcasting APs
7822 2007-10-09 Tambet Ingo <tambet@gmail.com>
7824 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7825 "guint8 *" since it's usually used with GByteArray->data.
7826 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7828 2007-10-09 Tambet Ingo <tambet@gmail.com>
7830 * src/NetworkManagerUtils.c
7831 (nm_utils_is_empty_ssid):
7832 (nm_utils_escape_ssid):
7833 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7834 lot of places, so they belong to libnm-utils instead.
7836 Now with 100% less compiler warnings:
7838 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7839 (nm_dbus_unescape_object_path): Ditto.
7840 (nm_utils_ssid_to_utf8): Ditto.
7841 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7842 (nm_utils_escape_ssid): Ditto.
7843 (nm_utils_same_ssid): Ditto.
7845 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7846 (add_one_connection_element): Remove an unused variable.
7847 (impl_manager_get_active_connections): Ditto.
7849 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7852 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7853 from the previous commit.
7855 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7856 (real_act_stage1_prepare): Ditto.
7857 (activation_success_handler): Ditto.
7858 (get_property): Ditto.
7860 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7863 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7866 * src/supplicant-manager/nm-supplicant-config.c
7867 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7868 to expected "char *".
7869 (nm_supplicant_config_add_setting_wireless): Ditto.
7870 (nm_supplicant_config_remove_option): Remove, not used.
7872 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7874 (test_wireless_enabled): Ifdef out unused function.
7875 (device_deactivate): Ditto.
7876 (device_state_changed): Ditto.
7877 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7878 (nm_utils_escape_ssid): Ditto.
7880 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7881 (nm_utils_is_empty_ssid): Ditto.
7883 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7886 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7887 (setting_vpn_properties_update_secrets): Ditto.
7888 (int_to_gvalue): Ifdef out for now, not used.
7889 (byte_to_gvalue): Ditto.
7891 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7894 2007-10-08 Tambet Ingo <tambet@gmail.com>
7896 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7897 about dbus manager, not named manager.
7898 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7900 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7901 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7902 However, the same signal is emitted when we destroy it and there's
7903 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7905 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7906 releasing the DBusGConnection, since proxy needs a conneciton.
7907 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7909 2007-10-08 Dan Williams <dcbw@redhat.com>
7911 * src/NetworkManager.c
7912 - (main): error on unknown command-line options
7914 2007-10-08 Dan Williams <dcbw@redhat.com>
7916 Reimplement the invalid connection list. Don't try to re-activate a
7917 connection that just failed or was canceled.
7920 - (connection_secrets_failed_cb): fail device activation, don't just
7921 deactivate the device. Listeners have to know about the failure.
7923 * src/NetworkManagerPolicy.c
7924 - (nm_policy_auto_get_best_device): exclude invalid connections from
7925 the connection list given to a device's get_best_connection()
7927 - (device_state_changed): tag failed connections as invalid; clear the
7928 tag from successful connections
7930 2007-10-08 Dan Williams <dcbw@redhat.com>
7932 Fix problems with interrupted activation. Previously, choosing an AP
7933 from the menu, then choosing another one before the first connection was
7934 successful wouldn't deactivate the device before starting the new connection
7935 on that same device.
7937 * src/NetworkManagerPolicy.c
7938 - (deactivate_old_device, device_state_changed, state_changed,
7939 nm_policy_new): wrong place to deactivate old devices
7942 - (pending_connection_info_destroy, finalize,
7943 wait_for_connection_expired): decouple destruction of the pending
7944 connection info from the manager device
7945 - (connection_added_default_handler): deactivate any active or
7946 activating device before starting a new activation
7947 - (impl_manager_activate_device): deactivate any active or activating
7948 device before starting a new activation; be sure not to leak
7949 pending connection info if a new activation request arrives but
7950 there's already a pending one in-process
7952 2007-10-08 Dan Williams <dcbw@redhat.com>
7954 * src/NetworkManagerAP.h
7955 src/NetworkManagerAP.c
7956 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7957 should handle default SSIDs and whether or not to autoconnect
7960 2007-10-08 Dan Williams <dcbw@redhat.com>
7962 * src/NetworkManagerPolicy.c
7963 - (nm_policy_device_change_check): print out connection name where
7966 2007-10-08 Dan Williams <dcbw@redhat.com>
7968 * src/nm-device-802-11-wireless.c
7969 src/nm-device-802-11-wireless.h
7970 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7971 'hidden-ap-found' signal (for internal use only) that allows the
7972 NMManager to fill in the AP's SSID if a connection has that AP's
7973 BSSID in its seen-bssids list
7976 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7977 wireless device's hidden-ap-found signal and fill in the APs SSID
7980 2007-10-07 Dan Williams <dcbw@redhat.com>
7984 - Add a 'connections-added' signal to batch together updates of large
7985 numbers of connections, like when reading from a settings service
7986 the first time. Otherwise, the policy would just activate the first
7987 suitable connection it saw rather than waiting for the full list
7989 - (nm_manager_class_init): register new signal
7990 - (get_type_for_proxy, connection_get_settings_cb,
7991 get_connection_for_proxy): centralize places where a proxy's setting
7992 service is determined
7993 - (free_get_settings_info): if the call being freed is the last call
7994 in a pending call group, fire off the connections-added signal
7995 - (internal_new_connection_cb): add call to a pending call group if
7997 - (list_connections_cb): always create a call group here, because this
7998 call results in a batch of new connections
7999 - (initial_get_connections): start getting system connections first
8000 - (nm_manager_connections_destroy, emit_removed): actually emit the
8001 removed signal when destroying connections
8003 * src/NetworkManagerPolicy.c
8004 - (nm_policy_new, connections_added): handle connections-added signal
8007 2007-10-06 Dan Williams <dcbw@redhat.com>
8009 * src/nm-device-802-11-wireless.c
8010 - (constructor): fix leaked socket
8012 2007-10-06 Dan Williams <dcbw@redhat.com>
8014 * src/NetworkManagerPolicy.c
8015 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
8016 connection in the list returned by nm_manager_get_connections() is
8017 reffed, but they weren't getting unreffed before returning
8019 2007-10-06 Dan Williams <dcbw@redhat.com>
8022 - (connections_to_slist): sort connections first on autoconnect, then
8025 2007-10-06 Dan Williams <dcbw@redhat.com>
8027 * libnm-util/nm-connection.c
8028 - (gvalue_to_string): handle UINT64
8030 2007-10-06 Dan Williams <dcbw@redhat.com>
8032 * src/NetworkManagerPolicy.c
8033 - (connection_updated, nm_policy_new): recheck state when a connection
8036 2007-10-06 Dan Williams <dcbw@redhat.com>
8040 - (nm_manager_get_connection_dbus_path): make static
8041 - (nm_manager_update_connections): remove; unused
8042 - Add a connection-updated signal
8043 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
8044 handle connection object updates
8046 2007-10-06 Dan Williams <dcbw@redhat.com>
8048 * src/NetworkManagerPolicy.c
8049 - (connection_removed): deactivate removed connections
8051 2007-10-06 Dan Williams <dcbw@redhat.com>
8053 * libnm-util/nm-connection.c
8054 libnm-util/nm-connection.h
8055 - (nm_connection_replace_settings): new function
8057 2007-10-06 Dan Williams <dcbw@redhat.com>
8059 * libnm-glib/nm-device-802-11-wireless.c
8060 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8061 on error when getting the active access point over D-Bus from NM
8063 2007-10-05 Dan Williams <dcbw@redhat.com>
8065 * libnm-util/nm-setting.c
8066 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8067 to the NMSettingWireless table; it's now a string array not an array
8070 2007-10-05 Dan Williams <dcbw@redhat.com>
8072 * libnm-glib/nm-device-802-11-wireless.c
8073 - Cache properties and update cached properties on D-Bus signals from NM
8075 2007-10-05 Dan Williams <dcbw@redhat.com>
8077 * src/nm-device-802-11-wireless.c
8078 - (set_current_ap): consolidate current_ap handling code into one place
8079 to ensure that PropertiesChanged signals are emitted in all cases
8080 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8081 nm_device_802_11_wireless_dispose): use set_current_ap()
8083 2007-10-05 Dan Williams <dcbw@redhat.com>
8085 * libnm-glib/nm-access-point.c
8086 libnm-glib/nm-access-point.h
8087 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8088 because the value is cached internally now. Callers should not
8089 free the internal value.
8090 - Make signal name defines private
8093 libnm-glib/libnm-glib-test.c
8094 - Don't free value returned from nm_access_point_get_hw_address()
8096 2007-10-04 Dan Williams <dcbw@redhat.com>
8098 * introspection/nm-device-802-11-wireless.xml
8099 src/nm-device-802-11-wireless.h
8100 src/nm-device-802-11-wireless.c
8101 - Add a PropertiesChanged signal for wireless device
8102 - Store currently associated access point
8103 - (periodic_update): generalize; update rate here too and emit the
8104 correct PropertiesChanged signal when stuff changes
8105 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8106 real_activation_cancel_handler): clear current_ap when device is
8108 - (link_to_specific_ap, get_ap_blacklisted,
8109 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8111 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8113 - (real_set_hw_address): emit property changed signal if the card's
8115 - (real_act_stage1_prepare): set the initial current_ap to the AP
8116 the card is supposed to be connecting to
8117 - (activation_success_handler): send out property updates on successful
8119 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8120 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8121 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8122 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8123 is now boxed; add PropertiesChanged signal
8125 2007-10-04 Dan Williams <dcbw@redhat.com>
8127 * libnm-util/nm-connection.c
8128 libnm-util/nm-connection.h
8129 - (nm_connection_verify): new function
8131 2007-10-04 Dan Williams <dcbw@redhat.com>
8133 * libnm-util/nm-setting.c
8134 - (nm_settings_verify): use #defines when possible rather than strings
8135 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8136 - (setting_vpn_verify): tighter validity check on 'service_type'
8138 2007-10-04 Dan Williams <dcbw@redhat.com>
8140 * libnm-glib/nm-settings.c
8141 - (nm_connection_settings_class_init): provide correct type for argument
8142 to the Updated signal so that dbus-glib knows how to marshal it
8144 2007-10-03 Dan Williams <dcbw@redhat.com>
8146 * src/nm-device-802-3-ethernet.c
8147 - (real_get_best_connection): don't create automatic connections
8148 internally; clients should provide a setting that applies to
8149 the device with 'autoconnect: True'. Problem was that these
8150 internally auto-created connections don't have a proxy or service
8151 name becuase they weren't created by a settings daemon, and therefore
8152 clients have no idea what to do with them.
8154 2007-10-03 Dan Williams <dcbw@redhat.com>
8156 * src/nm-device-802-11-wireless.c
8157 src/nm-device-802-11-wireless.h
8158 introspection/nm-device-802-11-wireless.xml
8159 - GetActiveNetworks -> GetAccessPoints
8160 - ActiveNetwork -> ActiveAccessPoint
8161 - NetworkAdded -> AccessPointAdded
8162 - NetowrkRemoved -> AccessPointRemoved
8164 * libnm-glib/nm-device-802-11-wireless.c
8165 libnm-glib/nm-device-802-11-wireless.h
8166 - network-added signal -> access-point-added
8167 - network-removed signal -> access-point-removed
8168 - nm_device_802_11_wireless_get_active_network() ->
8169 nm_device_802_11_wireless_get_active_access_point()
8170 - nm_device_802_11_wireless_get_network_by_path() ->
8171 nm_device_802_11_wireless_get_access_point_by_path()
8172 - nm_device_802_11_wireless_get_networks() ->
8173 nm_device_802_11_wireless_get_access_points()
8175 * libnm-glib/libnm-glib-test.c
8177 src/NetworkManagerPolicy.c
8178 - Fixups for Network -> AccessPoint
8180 2007-10-03 Dan Williams <dcbw@redhat.com>
8182 Add a GetActiveConnections() method on the Manager object.
8186 introspection/nm-manager.xml
8187 - (connection_get_settings_cb): keep connection type around too
8188 - (impl_manager_get_active_connections, add_one_connection_element):
8189 implement; returns all active connections and what devices they
8192 * libnm-glib/nm-client.c
8193 libnm-glib/nm-client.h
8194 introspection/nm-manager-client.xml
8195 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8196 by the caller; free here to avoid memory leak
8197 - (nm_client_get_active_connections): implement; return the list of
8199 - (nm_client_free_active_connection_element): implement; free an element
8200 of the GSList returned by nm_client_get_active_connections()
8202 2007-10-03 Dan Williams <dcbw@redhat.com>
8204 * src/nm-device-802-11-wireless.c
8205 - (nm_device_802_11_wireless_update_bssid): remove
8206 - (get_active_ap): new function; find the AP in the scan list which
8207 matches the current BSSID and SSID of the wireless device
8208 - (nm_device_802_11_periodic_update): get current AP using
8209 get_active_ap() and print AP roam messages
8211 2007-10-01 Dan Williams <dcbw@redhat.com>
8213 * libnm-util/nm-setting.h
8214 - Add a 'timestamp' option to NMSettingConnection
8217 * libnm-util/nm-setting.c
8218 - (uint64_to_gvalue): new function
8219 - (nm_setting_populate_from_hash, nm_setting_hash,
8220 default_setting_clear_secrets): handle UINT64 type
8221 - con_table: add 'timestamp' member
8223 2007-10-01 Dan Williams <dcbw@redhat.com>
8226 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8227 value when the connection can be activated immediately
8229 2007-10-01 Dan Williams <dcbw@redhat.com>
8231 * libnm-glib/nm-device.c
8232 - (nm_device_class_init): actually tell glib about the carrier-changed
8235 2007-10-01 Dan Williams <dcbw@redhat.com>
8238 src/marshallers/Makefile.am
8239 src/marshallers/nm-marshal.list
8240 src/marshallers/nm-marshal-main.c
8241 - Consolidate glib marshallers into one place
8243 * src/dhcp-manager/Makefile.am
8244 src/dhcp-manager/nm-dhcp-manager.c
8245 src/supplicant-manager/Makefile.am
8246 src/supplicant-manager/nm-supplicant-manager.c
8247 src/supplicant-manager/nm-supplicant-interface.c
8248 src/ppp-manager/Makefile.am
8249 src/ppp-manager/nm-ppp-manager.c
8250 src/vpn-manager/Makefile.am
8251 src/vpn-manager/nm-vpn-connection.c
8253 - Use consolidated marshallers
8255 * src/dhcp-manager/nm-dhcp-marshal.list
8256 src/dhcp-manager/nm-dhcp-marshal-main.c
8257 src/supplicant-manager/nm-supplicant-marshal-main.c
8258 src/supplicant-manager/nm-supplicant-marshal.list
8259 src/nm-marshal-main.c
8261 src/ppp-manager/nm-ppp-marshal-main.c
8262 src/ppp-manager/nm-ppp-marshal.list
8263 src/vpn-manager/nm-vpn-marshal-main.c
8264 src/vpn-manager/nm-vpn-marshal.list
8267 2007-10-01 Dan Williams <dcbw@redhat.com>
8269 * include/NetworkManagerVPN.h
8270 - define VPN connection state change reason codes
8272 * src/vpn-manager/Makefile.am
8273 src/vpn-manager/nm-vpn-marshal.list
8274 src/vpn-manager/nm-vpn-marshal-main.c
8275 - Add marshallers for StateChanged signal
8277 * introspection/nm-vpn-connection.xml
8278 - New Banner property
8279 - StateChanged signal now includes a 'reason' argument
8281 * src/vpn-manager/nm-vpn-connection.c
8282 src/vpn-manager/nm-vpn-connection.h
8283 - Add a "Banner" property that contains the returned VPN server login
8284 banner (if any); valid only in the ACTIVATED state
8285 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8286 a 'reason' argument and emits that reason along with the
8287 state-changed signal
8288 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8289 - (nm_vpn_connection_ip4_config_get): save banner for later
8290 - (nm_vpn_connection_get_banner, get_property,
8291 nm_vpn_connection_class_init): implement Banner property
8293 * src/vpn-manager/nm-vpn-service.c
8294 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8295 connection list because elements may get added/removed from it
8296 while iterating over the list
8297 - (connection_state_changed): signal now includes the 'reason' argument
8299 * libnm-glib/nm-vpn-connection.c
8300 libnm-glib/nm-vpn-connection.h
8301 - (nm_vpn_connection_get_banner): new function
8302 - (state_changed_proxy): handle reason argument
8304 2007-09-28 Tambet Ingo <tambet@gmail.com>
8308 Implement device activation through NMManager.
8309 Implement "pending device activation" here - If the connection isn't found,
8310 we try to wait for up to 5 seconds for the connection to be provided.
8311 Add NMConnectionType argument to "connection-added" and "connection-removed"
8313 (nm_manager_get): Remove. Finally.
8315 * src/nm-activation-request.c:
8316 * src/nm-activation-request.h:
8317 Remove all the deferred activation code.
8319 * src/nm-device.c: Remove all the deferred activation code. Once the device
8320 activation is started, it's started. Update the activation virtual function
8323 * src/nm-device-interface.c:
8324 * src/nm-device-interface.h:
8325 Device activation now takes only NMActRequest argument.
8326 Don't expose device activation directly on dbus, it's supposed to go through
8329 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8331 Use the new device activation methods through NMManager.
8333 * introspection/nm-manager-client.xml:
8334 * introspection/nm-manager.xml:
8335 * libnm-glib/nm-client.c:
8336 * libnm-glib/nm-client.h:
8337 Add device activation method.
8339 * libnm-glib/nm-device.c:
8340 * libnm-glib/nm-device.h:
8341 * introspection/nm-device.xml:
8342 Remove device activation method. It's done through NMManager now.
8344 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8345 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8347 2007-09-28 Dan Williams <dcbw@redhat.com>
8349 * libnm-glib/nm-vpn-connection.c
8350 - (nm_vpn_connection_get_state): try to update state if the current
8353 2007-09-27 Dan Williams <dcbw@redhat.com>
8355 Patch from Bill Nottingham
8357 * src/supplicant-manager/nm-supplicant-config.c
8358 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8359 data to the supplicant
8361 2007-09-27 Dan Williams <dcbw@redhat.com>
8363 * src/NetworkManagerSystem.c
8364 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8365 and all address manipulation here should be happening on the
8366 _VPN_ device, not the active device
8368 2007-09-26 Dan Williams <dcbw@redhat.com>
8372 src/nm-activation-request.c
8373 src/nm-activation-request.h
8374 - Move the GetSecrets stuff out of the NMManager instance because it
8375 doesn't really need to be there and complicates things
8378 - (connection_secrets_failed_cb, device_activation_go): connect to the
8379 connection-secrets-failed signal and deactivate the device if
8380 the GetSecrets call fails
8382 * src/nm-device-802-11-wireless.c
8383 - (link_timeout_cb, supplicant_connection_timeout_cb,
8384 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8385 secrets and give correct hints about whether new secrets should be
8386 asked for by the client or not
8388 2007-09-26 Dan Williams <dcbw@redhat.com>
8390 * src/vpn-manager/nm-vpn-connection.c
8391 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8392 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8393 to the secrets-updated signal of the NMConnection since updating
8394 the secrets is done within the scope of the NMVPNConnection object
8396 - (get_connection_secrets): fix an uninialized variable usage error
8398 2007-09-26 Dan Williams <dcbw@redhat.com>
8400 * libnm-util/nm-setting.c
8401 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8402 actually get updated when the user enters them
8404 2007-09-26 Dan Williams <dcbw@redhat.com>
8406 * libnm-glib/nm-vpn-plugin.c
8407 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8409 2007-09-26 Dan Williams <dcbw@redhat.com>
8411 * include/NetworkManagerVPN.h
8412 - Add a NEED_AUTH state
8414 * src/vpn-manager/nm-vpn-connection.c
8415 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8416 the connection needs secrets, and if so, then ask the settings
8417 service to fill in the secrets. Then start the connection.
8419 2007-09-26 Dan Williams <dcbw@redhat.com>
8421 * src/vpn-manager/nm-vpn-manager.c
8422 - (new_vpn_error, impl_vpn_manager_connect): set errors
8424 2007-09-26 Dan Williams <dcbw@redhat.com>
8426 * introspection/nm-vpn-plugin.xml
8427 libnm-glib/nm-vpn-plugin.c
8428 libnm-glib/nm-vpn-plugin.h
8429 - (impl_vpn_plugin_need_secrets): implement a call that should return
8430 the name of the NMSetting in an NMConnection that may require
8431 secrets specific to that VPN plugin
8433 2007-09-26 Dan Williams <dcbw@redhat.com>
8437 - (nm_manager_get_connection_secrets): make static, unused outside
8439 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8441 2007-09-26 Tambet Ingo <tambet@gmail.com>
8443 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8445 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8446 unreference the connection.
8448 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8449 passing properties hash and routes string list, pass NMConnection (in hashed form).
8451 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8452 as GSList, no need to copy stuff around anymore.
8453 (nm_vpn_connection_activate): Update the plugin activation method.
8455 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8456 routes argument to GSList.
8458 2007-09-26 Tambet Ingo <tambet@gmail.com>
8460 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8461 state and try to get the secrets.
8463 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8464 connections from NMManager and let the device to choose the best from the list.
8465 Since the connection list is sorted by system ones first and user ones later,
8466 the devices still prefer system connections like they did before.
8467 (deactivate_old_device): Implement. When a device starts activation, we have a
8468 policy (for now at least) to deactivate any other device that might be either
8469 active or still activating.
8471 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8472 It's set on construction, there will be no other way to access it.
8474 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8475 device events and drive the device, not the other way around.
8477 * src/nm-device-802-3-ethernet.c: Ditto.
8479 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8480 sent along, pass it on to virtual functions.
8482 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8483 for now, but should really be public instead of nm_device_get_iface() since iface
8484 is a property of the DeviceInterface, not Device.
8485 (impl_device_activate): Don't touch NMManager!
8487 2007-09-26 Jürg Billeter <j@bitron.ch>
8489 * initscript/paldo/NetworkManager.in:
8490 * initscript/paldo/NetworkManagerDispatcher.in:
8491 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8492 (nm_system_flush_loopback_routes): update paldo backend
8494 2007-09-26 Tambet Ingo <tambet@gmail.com>
8496 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8497 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8498 which means none of the devices get brought down properly, which in turn leaves
8499 DHCP client running.
8501 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8502 (supplicant_connection_timeout_cb): Ditto.
8504 2007-09-25 Dan Williams <dcbw@redhat.com>
8507 - (device_activation_go): small hack to work around race when
8508 activating deferred connections; should solve this in a better way
8510 2007-09-25 Dan Williams <dcbw@redhat.com>
8512 * introspection/nm-device.xml
8513 libnm-glib/nm-device.c
8514 libnm-glib/nm-device.h
8515 - Add 'Carrier' property to exported NMDevice objects
8517 * src/nm-device-interface.h
8518 src/nm-device-interface.c
8520 - Add a 'carrier' property to internal NMDevice objects
8522 2007-09-25 Dan Williams <dcbw@redhat.com>
8524 * src/nm-device-802-11-wireless.c
8525 - (ap_auth_enforced): also return the encryption status of the AP so
8526 that callers can differentiate easily between unencrypted APs
8527 and encrypted ones, in addition to whether the AP has an
8529 - (link_timeout_cb, supplicant_connection_timeout_cb,
8530 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8531 previously would request secrets from unencrypted APs at times
8533 2007-09-25 Dan Williams <dcbw@redhat.com>
8536 - (nm_manager_update_state): new function; updates state and emits
8537 appropriate signals ensuring a state-change signal for the same state
8538 never gets emitted twice in a row.
8539 - (manager_device_state_changed): handle more device state to get a
8540 better picture of the overall NM state
8542 2007-09-25 Dan Williams <dcbw@redhat.com>
8544 * libnm-glib/nm-settings.c
8545 libnm-glib/nm-settings.h
8546 - (new_error -> nm_settings_new_error): make public so that subclasses
8547 can use the same error domain. Also pass a valid error code to
8548 g_error_new_literal() so that libdbus doesn't assert when converting
8549 the GError into a DBusError
8550 - (impl_settings_list_connections, impl_connection_settings_get_id,
8551 impl_connection_settings_get_settings,
8552 impl_connection_settings_get_secrets): use new error creator
8555 2007-09-25 Dan Williams <dcbw@redhat.com>
8557 * src/NetworkManager.c
8558 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8560 2007-09-25 Dan Williams <dcbw@redhat.com>
8562 * src/supplicant-manager/nm-supplicant-manager.c
8563 - (poke_supplicant_cb, nm_supplicant_manager_init,
8564 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8565 nm_supplicant_manager_startup): when the supplicant isn't running,
8566 try to start it periodically via system bus activation. Fixes
8567 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8568 for the supplicant to come back
8570 2007-09-25 Dan Williams <dcbw@redhat.com>
8572 Ensure that old activation requests are forgotten about; previously
8573 hitting Cancel in the password dialog would deactivate whatever device
8574 that password was requested for, even if that wasn't the currently
8575 activating connection.
8579 - (nm_manager_get_connection_secrets): track the pending call
8580 object so it can be canceled later if needed
8581 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8582 GetSecrets call for a particular connection
8584 * src/nm-activation-request.c
8585 - (dispose): cancel any outstanding GetSecrets calls on the
8588 2007-09-25 Dan Williams <dcbw@redhat.com>
8590 * src/NetworkManagerPolicy.c
8591 - (nm_policy_device_change_check): handle devices that have a
8592 deferred activation. These devices are not really active _yet_,
8593 but need to be treated as such here. Don't interrupt them
8596 * src/nm-device-interface.c
8597 - (impl_device_activate): handle devices that have a deferred activation
8598 like activating or active devices. When multiple active devices
8599 get committed, the device shouldn't be deactivated until the
8600 connection details are available to avoid DoS and such. Currently,
8601 any active, activating, or deferred activation device is deactivated
8602 here before starting the new activation request.
8604 2007-09-25 Dan Williams <dcbw@redhat.com>
8606 Properly re-query secrets from the settings daemon when stuff fails.
8608 * src/nm-device-802-11-wireless.c
8609 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8610 between Shared Key and Open System auth modes
8611 - (link_timeout_cb, supplicant_connection_timeout_cb,
8612 real_act_stage4_ip_config_timeout): clear existing secrets and
8613 request new ones when something fails due to a suspected wrong key
8614 - (real_act_stage2_config): fix for new request_new argument to
8615 nm_manager_get_connection_secrets()
8619 - (nm_manager_get_connection_secrets): return error status; pass
8620 new request_new argument on to the settings daemon
8622 * introspection/nm-settings-connection.xml
8623 - New 'request_new' argument to the GetSecrets call that hints to the
8624 settings daemon to ask the user for completely new secrets
8626 * libnm-glib/nm-settings.c
8627 libnm-glib/nm-settings.h
8628 - (impl_connection_settings_get_secrets): handle new 'request_new'
8631 2007-09-25 Dan Williams <dcbw@redhat.com>
8633 * libnm-util/nm-connection.c
8634 libnm-util/nm-connection.h
8635 - (nm_connection_clear_secrets): new function; clear secrets out of
8636 each NMSetting in an NMConnection
8638 * libnm-util/nm-setting.h
8639 libnm-util/nm-setting.c
8640 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8641 secrets out of an NMSetting
8642 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8643 nm_setting_wired_new, nm_setting_wireless_new,
8644 nm_setting_wireless_security_new, nm_setting_ppp_new,
8645 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8646 to default handler default_setting_clear_secrets()
8648 2007-09-25 Dan Williams <dcbw@redhat.com>
8650 * src/nm-activation-request.c
8651 src/nm-activation-request.h
8652 - (nm_act_request_is_deferred): new function
8654 2007-09-24 Dan Williams <dcbw@redhat.com>
8656 * src/nm-device-802-11-wireless.c
8657 - (activation_success_handler): update signal strength immediately
8660 2007-09-24 Dan Williams <dcbw@redhat.com>
8662 * libnm-util/nm-setting.c
8663 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8665 2007-09-24 Dan Williams <dcbw@redhat.com>
8667 * src/NetworkManagerPolicy.c
8668 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8669 device by deactivating it because it doesn't have a "best connection".
8670 Since autoconnect=False connections aren't automatically chosen,
8671 NM would interrupt activation of such a connection because it
8672 would never be "best" due to autoconnect=False.
8674 2007-09-24 Dan Williams <dcbw@redhat.com>
8677 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8678 actually has some time to enter a key before the GetSecrets call
8681 2007-09-24 Dan Williams <dcbw@redhat.com>
8683 * introspection/nm-manager.xml
8685 - (impl_manager_legacy_state): fix 'state' method call return value
8687 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8689 * test/Makefile.am: Install nm-tool
8691 2007-09-24 Dan Williams <dcbw@redhat.com>
8693 Patch from Ross Burton <ross@burtonini.com>
8696 callouts/nm-dhcp-client-action.c
8698 src/vpn-manager/nm-vpn-connection.c
8699 libnm-glib/libnm-glib-test.c
8702 2007-09-24 Dan Williams <dcbw@redhat.com>
8704 * libnm-util/nm-utils.h
8705 libnm-util/nm-utils.c
8706 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8709 2007-09-23 Dan Williams <dcbw@redhat.com>
8711 * vpn-daemons/vpnc/properties/nm-vpnc.c
8712 - Update for new VPN properties API bits; instead of passing around
8713 a lot of random things, everything goes into the NMConnection
8716 2007-09-23 Dan Williams <dcbw@redhat.com>
8718 * libnm-util/nm-setting.c
8719 - Correctly dispose of settings objects if creating them from a hash
8722 2007-09-23 Dan Williams <dcbw@redhat.com>
8724 * libnm-util/nm-setting.c
8725 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8726 the hash table in a standard manner. Clients of libnm-util should
8727 only call g_hash_table_remove_all(), never destroy the hash table
8730 2007-09-22 Dan Williams <dcbw@redhat.com>
8732 * src/nm-device-802-11-wireless.c
8733 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8734 real reason to do it so often, and reduces wakeups for clients.
8736 2007-09-21 Dan Williams <dcbw@redhat.com>
8738 * src/nm-device-802-11-wireless.c
8739 - (build_supplicant_config): wpa_supplicant requires the option
8740 key_mgmt=NONE for unencrypted networks
8741 - (real_act_stage2_config): clarify log message on activation
8743 2007-09-21 Dan Williams <dcbw@redhat.com>
8745 * test/nm-supplicant-test.c
8747 - Remove supplicant test binary; no longer applicable
8749 2007-09-21 Dan Williams <dcbw@redhat.com>
8751 * src/supplicant-manager/nm-supplicant-manager.c
8752 - (nm_supplicant_manager_init): poke the supplicant at startup to
8753 activate it on the system bus
8755 2007-09-20 Dan Williams <dcbw@redhat.com>
8757 * initscript/RedHat/NetworkManager.in
8758 - dhcdbd is no longer used, so don't try to start it from the initscripts
8760 2007-09-20 Dan Williams <dcbw@redhat.com>
8763 - (nm_device_is_activating): work around a race between auto-activation
8764 and the user activating the same device that is being auto-activated
8766 2007-09-20 Dan Williams <dcbw@redhat.com>
8768 * src/nm-device-interface.c
8769 - (impl_device_activate): until multiple active device support lands,
8770 ensure only one device can be active at a time
8772 2007-09-20 Dan Williams <dcbw@redhat.com>
8774 * src/supplicant-manager/nm-supplicant-config.c
8775 src/supplicant-manager/nm-supplicant-config.h
8776 - (nm_supplicant_config_add_option): hide secrets from system logs
8778 2007-09-20 Dan Williams <dcbw@redhat.com>
8780 * src/NetworkManagerPolicy.c
8781 - (nm_policy_device_change_check): re-enable the wireless device change
8782 checking code; insted of checking for SSIDs, check for the same
8785 2007-09-20 Dan Williams <dcbw@redhat.com>
8787 * src/nm-device-802-11-wireless.c
8788 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8789 composite link state when determining when to start the disconnection
8790 timer; that link state is already based on the supplicant interface's
8791 status which is exactly what's already being examined, plus the link
8792 state is a conglomeration of various things that we don't want here
8794 2007-09-20 Dan Williams <dcbw@redhat.com>
8796 * libnm-glib/nm-access-point.c
8797 - (handle_property_changed): strength is a UCHAR
8799 2007-09-20 Dan Williams <dcbw@redhat.com>
8801 * src/supplicant-manager/nm-supplicant-config.c
8802 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8803 string list keywords too since that's what wpa_supplicant wants
8805 2007-09-20 Dan Williams <dcbw@redhat.com>
8807 * libnm-util/nm-setting.c
8808 - (convert_strv_to_slist): dupe the values in the list because since
8809 the list is a boxed value, it'll get destroyed when it's container
8810 (like a hash table or whatever) gets destroyed
8812 2007-09-20 Tambet Ingo <tambet@gmail.com>
8814 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8817 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8819 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8820 just use (g_object_set_data_full).
8822 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8823 that NMSettingVPN->routes is a GSList, convert it to char **.
8824 (nm_vpn_connection_ip4_config_get): Free routes when done.
8825 (nm_vpn_connection_activate): Ditto.
8827 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8828 (real_act_stage2_config): Use defined setting names.
8830 2007-09-20 Dan Williams <dcbw@redhat.com>
8832 * src/nm-device-802-11-wireless.c
8835 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8836 so that the device can be deactivated if secrets are wrong
8838 2007-09-20 Dan Williams <dcbw@redhat.com>
8840 * introspection/nm-settings-connection.xml
8841 libnm-glib/nm-settings.c
8842 libnm-glib/nm-settings.h
8843 - Make GetSecrets asynchronous on the server side
8845 2007-09-20 Dan Williams <dcbw@redhat.com>
8849 - (nm_device_activate): actually check if a given connection
8850 exists before assuming it doesn't
8852 2007-09-20 Tambet Ingo <tambet@gmail.com>
8854 * libnm-util/nm-connection.c (register_default_creators): Use defined
8855 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8857 * libnm-util/nm-setting.c: Define property name strings, use them.
8858 Implement NMSettingVPN and NMSettingVPNProperties settings.
8859 Implement NM_S_TYPE_GVALUE_HASH.
8860 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8861 (setting_connection_verify): Rename 'devtype' property to 'type'.
8863 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8866 * src/vpn-manager/nm-vpn-service.c: Ditto.
8868 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8870 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8871 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8873 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8874 names. NMSettingConnection->devtype got renamed to 'type'.
8876 * src/nm-device-802-3-ethernet.c (find_best_connection):
8877 (real_get_best_connection): Ditto.
8879 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8881 * libnm-glib/nm-vpn-manager.[ch]: Update.
8883 2007-09-19 Dan Williams <dcbw@redhat.com>
8885 * src/NetworkManagerAP.c
8886 src/NetworkManagerAP.h
8887 introspection/nm-access-point.xml
8888 - Change strength-changed signal into a properties-changed signal
8889 for all properties, not just strength. Export that signal over dbus
8890 so listeners don't have to poll NM for changes.
8891 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8892 get exported over D-Bus, so break up the logic and let other bits
8893 decided when to export the AP
8894 - (nm_ap_new_from_ap): remove, unused
8896 * src/nm-device-802-11-wireless.c
8897 - (merge_scanned_ap): only export APs that are actually on the device
8898 list, not every AP created internally
8900 * libnm-glib/nm-access-point.c
8901 libnm-glib/nm-access-point.h
8902 - Cache properties internally and only hit DBus when needed. Get
8903 property updates from NM signals
8905 2007-09-16 Dan Williams <dcbw@redhat.com>
8907 * libnm-util/nm-connection.c
8908 libnm-util/nm-connection.h
8909 - (nm_connection_for_each_setting_value): new function; iterate over
8910 each setting's value and call a user-provided function with details
8913 * libnm-util/nm-setting.c
8914 libnm-util/nm-setting.h
8915 - (nm_setting_enumerate_values): new function; enumerate the values
8916 of a specific NMSetting subclass for a user-provided function with
8917 details about that value
8918 - Change wep_tx_keyidx to a uint32
8919 - Create settings value tables for each setting defining their type,
8920 key name, offset into the NMSetting subclass' structure, and whether
8921 they are required and/or a secret
8922 - (nm_setting_populate_from_hash): generic function to populate an
8923 NMSetting from a GHash table, make all settings use it
8924 - (nm_setting_hash): generic function to derive a GHashTable from
8925 an NMSetting object, make all settings use it
8927 2007-09-14 Dan Williams <dcbw@redhat.com>
8929 Remove unused stuff in libnm-util
8932 libnm-util/Makefile.am
8933 libnm-util/cipher-private.h
8934 libnm-util/cipher-wep-ascii.c
8935 libnm-util/cipher-wep-ascii.h
8936 libnm-util/cipher-wep-hex.c
8937 libnm-util/cipher-wep-hex.h
8938 libnm-util/cipher-wep-passphrase.c
8939 libnm-util/cipher-wep-passphrase.h
8940 libnm-util/cipher-wpa-psk-hex.c
8941 libnm-util/cipher-wpa-psk-hex.h
8942 libnm-util/cipher-wpa-psk-passphrase.c
8943 libnm-util/cipher-wpa-psk-passphrase.h
8946 libnm-util/dbus-helpers.c
8947 libnm-util/dbus-helpers.h
8948 libnm-util/gnome-keyring-md5.c
8949 libnm-util/gnome-keyring-md5.h
8952 src/nm-device-802-11-wireless.c
8953 test/libnm-util/Makefile.am
8954 test/libnm-util/test-ciphers.c
8955 test/libnm-util/test-dbus-helpers.c
8956 test/libnm-util/test-inputs.h
8959 2007-09-14 Dan Williams <dcbw@redhat.com>
8961 * libnm-util/dbus-method-dispatcher.c
8962 libnm-util/dbus-method-dispatcher.h
8965 2007-09-14 Dan Williams <dcbw@redhat.com>
8967 Implement deferred activation support in the device class.
8969 * src/nm-device-interface.c
8970 src/nm-device-interface.h
8971 - (nm_device_interface_activate): take more arguments to support
8972 deferred activation; callers must pass one of (connection) OR
8973 (service_name, connection_path)
8974 - (impl_device_activate): connection validation is punted to the device
8975 to be able to handle deferred activation. Yes, this means errors
8976 don't get returned from the Activate() dbus call, and yes, that
8977 should be fixed somehow later.
8981 - (clear_act_request): clear additional deferred activation stuff too
8982 - (deferred_activation_timeout_cb): new function; clean up when
8983 deferred activation times out.
8984 - (deferred_activation_start_cb): new function; when the connection
8985 finally becomes available, start device activation
8986 - (nm_device_activate): attach to the right signals of the activation
8987 request if we need to defer activation until the connection is valid
8989 * src/NetworkManagerPolicy.c
8990 - (nm_policy_device_change_check): update for additional arguments
8991 required for nm_device_interface_activate(). Pass NULL for these
8992 though because this function already knows exactly which
8995 2007-09-14 Dan Williams <dcbw@redhat.com>
8997 Implement deferred activation handling in the NMActRequest class. When a
8998 client wants to activate a device but must create the NMConnection details
8999 on the fly, there likely hasn't been enough time yet for NM to receive the
9000 new connection signal and grab all the connection details. So the
9001 activation is deferred (and bounded by a timer) for a while, and if the
9002 connection appears within the window, it is activated.
9004 * src/nm-activation-request.c
9005 src/nm-activation-request.h
9006 - (nm_act_request_class_init): two new signals to support deferred
9007 activation, to allow the listener to handle both timeout and success
9008 - (nm_act_request_new_deferred): new function, starts the deferred
9009 activation timeout handler and listens to the NMManager for
9010 new-connection signals to notice when the connection comes in
9012 2007-09-14 Dan Williams <dcbw@redhat.com>
9016 - (nm_manager_get_connection_service_name,
9017 nm_manager_get_connection_dbus_path): get details about a connection
9018 known internally by the NMManager
9019 - (nm_manager_class_init): fix connection add/remove signal marshalers
9020 because NMConnection is now a GObject subclass
9021 - Use constant for the gobject data tag used on NMConnection objects for
9022 storing the associated DBusGProxy
9024 2007-09-14 Dan Williams <dcbw@redhat.com>
9029 src/supplicant-manager/Makefile.am
9030 src/dhcp-manager/Makefile.am
9031 src/backends/Makefile.am
9032 src/named-manager/Makefile.am
9033 src/ppp-manager/Makefile.am
9034 src/vpn-manager/Makefile.am
9035 test/libnm-util/Makefile.am
9036 test/test-common/Makefile.am
9037 - Remove utils/; it was unused
9039 2007-09-13 Dan Williams <dcbw@redhat.com>
9041 * libnm-glib/nm-vpn-manager.h
9042 libnm-glib/nm-vpn-manager.c
9043 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
9045 2007-09-13 Dan Williams <dcbw@redhat.com>
9047 * src/nm-device-802-3-ethernet.c
9048 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
9049 netlink monitor carrier signals on dispose, not bring down. The
9050 carrier signals should be handled over the entire lifetime of the
9051 device anyway, not created/destroyed on up or down.
9053 2007-09-13 Dan Williams <dcbw@redhat.com>
9055 * libnm-glib/nm-device.c
9056 libnm-glib/nm-device.h
9057 - (nm_device_activate): take a connection object path rather than an
9058 NMConnection because NMConnection isn't exported over D-Bus and
9059 therefore it dbus-glib can't automatically get an object path from it
9061 2007-09-13 Dan Williams <dcbw@redhat.com>
9063 * libnm-util/nm-setting.c
9064 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9066 2007-09-13 Tambet Ingo <tambet@gmail.com>
9068 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9070 2007-09-12 Tambet Ingo <tambet@gmail.com>
9072 * src/vpn-manager/nm-vpn-connection.[ch]:
9073 * src/vpn-manager/nm-vpn-manager.[ch]:
9074 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9075 dbus-glib, GObjects, signals etc.
9077 * libnm-glib/nm-vpn-manager.[ch]:
9078 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9079 so much, rewrite these too.
9081 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9082 the new introspection files.
9084 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9086 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9087 the header with the same name from libnm-utils.
9089 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9091 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9093 * introspection/nm-vpn-plugin.xml: Implement.
9095 * introspection/nm-vpn-connection.xml: Implement.
9097 * introspection/nm-vpn-manager.xml: Implement.
9099 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9100 the named manager argument, it can just as easily get it as the caller.
9101 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9103 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9105 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9107 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9110 * libnm-util/nm-connection.c: Ditto.
9112 * src/NetworkManagerMain.h: Remove, it's finally empty.
9114 * configure.in: Remove utils/ from build.
9116 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9117 of hard-coded strings.
9119 * utils/: Move it over to libnm-util.
9121 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9123 * dispatcher-daemon/Makefile.am: Ditto.
9125 * src/Makefile.am: Ditto.
9127 2007-09-12 Dan Williams <dcbw@redhat.com>
9129 Wireless connections can be made with config data from the applet now.
9133 * src/supplicant-manager/nm-supplicant-config.h
9134 src/supplicant-manager/nm-supplicant-config.c
9135 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9136 - (nm_supplicant_config_add_setting_wireless,
9137 nm_supplicant_config_add_setting_wireless_security): new functions;
9138 add key/value pairs from the settings objects to the supplicant
9141 * src/nm-device-802-11-wireless.c
9142 - (cull_scan_list): fix check to not prune currently associated AP
9143 - (build_supplicant_config, real_act_stage2_config): call the functions
9144 of the NMSupplicantConfig that parse settings objects rather than
9145 doing it manually here
9147 2007-09-12 Dan Williams <dcbw@redhat.com>
9149 * src/supplicant-manager/nm-supplicant-interface.c
9150 src/supplicant-manager/nm-supplicant-marshal.list
9151 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9152 "connection-error" signal arguments should be STRING not CHAR
9154 2007-09-12 Dan Williams <dcbw@redhat.com>
9156 * src/NetworkManagerUtils.c
9157 src/NetworkManagerUtils.h
9158 - (nm_utils_hexstr2bin): new function
9160 2007-09-11 Dan Williams <dcbw@redhat.com>
9163 - (connection_get_settings_cb): emit connection-added signal
9164 - (connection_removed_cb): uncomment bits for system settings service,
9165 send connection-removed when appropriate
9166 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9167 the stack by trying to g_object_set_data() on something that's
9168 not a GObject; handle case where settings service returns
9169 empty settings hash table
9171 2007-09-11 Dan Williams <dcbw@redhat.com>
9173 * src/NetworkManagerPolicy.c
9174 - (connection_added, connection_removed): trigger device change checks
9175 on connection changes
9177 2007-09-11 Dan Williams <dcbw@redhat.com>
9179 * src/nm-activation-request.c
9180 - (connection_secrets_updated_cb): fix c&p error in signal emission
9182 2007-09-11 Dan Williams <dcbw@redhat.com>
9184 * src/nm-device-802-11-wireless.c
9185 - (real_connection_secrets_updated): fix erroneous check
9187 2007-09-11 Dan Williams <dcbw@redhat.com>
9189 * introspection/nm-device.xml
9190 libnm-glib/nm-device.c
9191 libnm-glib/nm-device.c
9192 - Fix Activate call argument borkage; Activate takes 3 arguments
9194 2007-09-11 Dan Williams <dcbw@redhat.com>
9196 * libnm-glib/nm-access-point.c
9197 libnm-glib/nm-access-point.c
9198 - (nm_access_point_get_frequency): now returns guint32 to match
9199 property change on 2007-09-10
9201 2007-09-11 Dan Williams <dcbw@redhat.com>
9203 * src/nm-device-802-11-wireless.c
9204 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9205 somewhere defines 'index' and I missed this one when I fixed the
9206 shadow declaration errors earlier
9208 2007-09-11 Dan Williams <dcbw@redhat.com>
9210 * libnm-util/nm-connection.c
9211 - (nm_connection_update_secrets, need_secrets_check): move
9212 802-11-wireless-security need_secrets checks to the setting object
9213 itself, where it belongs
9215 * libnm-util/nm-setting.c
9216 libnm-util/nm-setting.h
9217 - (nm_setting_need_secrets): new function
9218 - (setting_wireless_security_verify,
9219 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9220 - (setting_wireless_security_need_secrets): mostly copy code over
9221 from nm-connection.c
9223 2007-09-11 Dan Williams <dcbw@redhat.com>
9225 * libnm-util/nm-setting.c
9226 libnm-util/nm-setting.h
9227 - (nm_setting_update_secrets): new function; add a virtual function that
9228 subclasses can implement to update their secrets
9229 - (setting_wireless_security_update_secrets): implement that function
9230 for the 802-11-wireless-security subclass
9232 * libnm-util/nm-connection.c
9233 libnm-util/nm-connection.h
9234 - (nm_connection_update_secrets): update secrets for a Setting and
9235 emit a signal on success
9240 - (connection_get_settings_cb): enable system settings bits
9241 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9242 to request secrets from the settings dbus service and to
9243 push those secrets to the NMConnection itself
9245 * src/nm-activation-request.c
9246 src/nm-activation-request.h
9247 - Attach to the 'secrets-updated' signal of the NMConnection that's
9248 currently being activated, and proxy that signal to other listeners.
9249 Goes through the activation request because the activation request
9250 is the thing that manages the lifetime of the NMConnection that's
9253 * src/nm-device-802-11-wireless.c
9254 - (real_connection_secrets_updated): implement the connection secrets
9255 updated notification and restart activation when secrets are
9257 - (real_act_stage2_config): request secrets from the settings dbus
9258 service if secrets are needed
9262 - (clear_act_request, nm_device_activation_cancel,
9263 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9264 where the activation request is cleared
9265 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9266 updated secrets signal of activation request and add a function
9267 that subclasses can override to handle it easily
9269 2007-09-11 Tambet Ingo <tambet@gmail.com>
9271 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9272 removal of NetworkManagerAPList.
9274 2007-09-10 Dan Williams <dcbw@redhat.com>
9276 * src/NetworkManagerAP.c
9277 src/NetworkManagerAP.h
9278 introspection/nm-access-point.xml
9279 - Change 'freq' property to a guint32 instead of a double since we
9280 weren't using the floating point bits anyway
9282 2007-09-10 Dan Williams <dcbw@redhat.com>
9284 * NetworkManagerAP.c
9286 NetworkManagerPolicy.c
9287 NetworkManagerSystem.c
9288 NetworkManagerUtils.c
9289 NetworkManagerUtils.h
9290 nm-device-802-11-wireless.c
9291 nm-device-802-3-ethernet.c
9294 vpn-manager/nm-dbus-vpn.c
9295 - Warning fixes; casts and removal of unused variables
9297 2007-09-10 Dan Williams <dcbw@redhat.com>
9299 * include/NetworkManager.h
9300 - Kill NMNetworkType; AP types don't matter any more
9302 * src/NetworkManagerAPList.c
9303 src/NetworkManagerAPList.h
9305 - Kill; NMAccessPointList has outlived it's usefulness
9307 * src/NetworkManagerAP.c
9308 src/NetworkManagerAP.h
9309 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9310 functions; check if an NMConnection object is compatible with the
9312 - (freq_to_channel, channel_to_freq): utility functions for
9313 channel <-> frequency conversion
9317 - (nm_device_get_best_connection): pass the specific object around
9318 (which might be the object path of a specific AP to connect to).
9319 The get_best_connection() call should populate this on return
9320 if needed (wireless does).
9322 * src/nm-device-802-3-ethernet.c
9323 - (real_get_best_connection): handle specific_object argument
9325 * src/NetworkManager.c
9326 src/NetworkManagerMain.h
9327 - Remove unused includes
9329 * src/nm-device-802-11-wireless.c
9330 src/nm-device-802-11-wireless.h
9331 - Convert the ap_list into a GSList from an NMAccessPointList
9332 - No need for caching the 'activation_ap' since this is now determined
9333 from the specific_object of the activation request, which is
9334 populated from the get_best_connection() call or from a user request
9335 - (nm_device_802_11_wireless_update_bssid): fix warning
9336 - (get_wireless_capabilities): fix error message format arguments
9337 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9338 - (find_best_connection, real_get_best_connection): implement
9339 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9340 move here from NetworkManagerAPList
9341 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9342 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9343 already verified earlier
9344 - (real_act_stage2_config): use nm_connection_need_secrets()
9346 * src/NetworkManagerPolicy.c
9347 - (nm_policy_auto_get_best_device): handle specific objects
9348 - (create_connection): remove; automatic connection creation functionality
9349 is handled by the Connection objects
9350 - (nm_policy_device_change_check): handle specific_object
9352 * libnm-util/nm-connection.c
9353 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9355 2007-09-10 Dan Williams <dcbw@redhat.com>
9358 - (query_connections): fix uninitialized variable problem that caused
9360 - (nm_manager_add_device): take devices down on startup so that we can
9361 be assured that nm_device_is_up() won't short-circuit the init
9362 process. Hack until the is_up check gets split into two pieces
9363 that aren't behaviorally confusing.
9365 2007-09-09 Dan Williams <dcbw@redhat.com>
9367 * introspection/nm-device.xml
9368 - The 'Activate' method now takes 3 arguments, a service name for the
9369 settings service (user or system), the object path of the connection
9370 to activate, and the specific object to activate, if any
9372 * src/nm-device-interface.c
9373 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9375 - (impl_device_activate): adapt to new Activate arguments; validate
9376 the service name and get the Connection object from the NMManager
9377 before starting to activate the device with the specified connection
9379 * src/nm-device-802-3-ethernet.c
9380 - (real_get_best_connection): find the best connection, or create a
9381 default one if no existing connections can be used
9383 * src/NetworkManagerPolicy.c
9384 - (nm_policy_auto_get_best_device): Get the device's best connection
9385 and only pick the device if it has one
9386 - (nm_policy_device_change_check): disable wireless bits for now until
9387 wireless get_best_connection() can be implemented (replacing "best_ap");
9388 don't create a default connection here as the device subclass will do
9393 - (nm_manager_get): make NMManager a singleton and expose the getter
9395 - Rework internal NMManager connection handling to use the same
9396 routines for both the system and user settings services. Most calls
9397 take a new NMConnectionType argument specifying either system or user
9399 - (nm_manager_get_connection_by_object_path): new function; get a
9400 connection keyed on its object path
9402 * src/NetworkManager.c
9403 - (main): use nm_manager_get()
9405 2007-09-09 Dan Williams <dcbw@redhat.com>
9409 - (nm_device_get_best_connection): new function; get best connection
9410 for the device at that time
9412 2007-09-09 Dan Williams <dcbw@redhat.com>
9414 * src/nm-device-interface.h
9415 - Add NMDeviceInterfaceError with an UnknownConnection error
9417 2007-09-09 Dan Williams <dcbw@redhat.com>
9419 Stupid mistake on my part; object path and interface for settings service
9420 and connection objects can be the same, only the service name must be
9421 different for the system and user settings services.
9423 * include/NetworkManager.h
9425 introspection/nm-settings-connection.xml
9426 introspection/nm-settings.xml
9427 libnm-glib/nm-settings.c
9428 - (nm_connection_settings_init, query_user_connections,
9429 new_connection_cb): Unify NetworkManagerSettings and Connection
9430 interface name and object path
9432 2007-09-06 Dan Williams <dcbw@redhat.com>
9434 * libnm-glib/nm-object.c
9435 - (nm_object_get_string_property, nm_object_get_object_path_property,
9436 nm_object_get_int_property, nm_object_get_uint_property,
9437 nm_object_get_boolean_property, nm_object_get_byte_property,
9438 nm_object_get_double_property, nm_object_get_byte_array_property):
9439 clear GValues after copying their contents, fixes memory leaks
9440 after every property access because dbus-glib copies the values
9441 from the DBusMessage into the GValue already.
9443 2007-09-06 Dan Williams <dcbw@redhat.com>
9445 * introspection/nm-access-point.xml
9446 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9447 them to be. There's some magic property name parsing going on in
9448 dbus-glib that breaks up property names based on studly-caps and
9449 puts - between words.
9451 * libnm-glib/nm-access-point.c
9452 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9455 2007-09-06 Dan Williams <dcbw@redhat.com>
9458 - (nm_manager_user_connections_destroy): clear the user connections hash
9459 table, don't destroy it
9460 - (finalize): only destroy the hash table on NMManager finalization
9462 2007-09-02 Dan Williams <dcbw@redhat.com>
9464 * include/NetworkManager.h
9465 libnm-glib/nm-settings.c
9466 - defines for the user settings daemon D-Bus bits
9468 * src/NetworkManager.c
9469 - Remove stuff that referred to the old NetworkManagerInfo service
9471 * src/vpn-manager/nm-dbus-vpn.h
9472 - Move old NMI defines to the only place they are used still
9474 * libnm-util/nm-connection.c
9475 libnm-util/nm-connection.h
9476 src/nm-activation-request.c
9477 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9481 - Get connections and their settings from the user settings daemon
9482 at the appropriate times
9484 2007-09-02 Dan Williams <dcbw@redhat.com>
9486 * libnm-util/nm-setting.c
9487 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9488 - (setting_wireless_hash): set the right value on the item
9490 2007-09-02 Dan Williams <dcbw@redhat.com>
9494 - Remove, no longer useful
9496 2007-08-30 Dan Williams <dcbw@redhat.com>
9499 src/NetworkManagerDbus.c
9500 src/NetworkManagerDbus.h
9501 src/vpn-manager/nm-dbus-vpn.c
9502 - Remove, no longer necessary. Move last bits to the only place its
9503 used, in nm-dbus-vpn.c
9505 * src/NetworkManagerAPList.c
9507 src/NetworkManager.c
9508 src/nm-device-802-11-wireless.c
9509 src/vpn-manager/nm-vpn-manager.c
9510 src/vpn-manager/nm-vpn-service.c
9511 src/NetworkManagerPolicy.c
9513 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9514 that was message_is_error()
9516 2007-08-30 Dan Williams <dcbw@redhat.com>
9519 - Include config.h to get defines for endiannes (gnome.org #420216)
9521 2007-08-30 Dan Williams <dcbw@redhat.com>
9523 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9525 * src/ppp-manager/Makefile.am
9526 - use -fPIC (gnome.org #471825)
9528 2007-08-29 Dan Williams <dcbw@redhat.com>
9530 * include/NetworkManager.h
9531 - Keep NMConnection object path in sync
9533 * libnm-glib/nm-settings.c
9534 libnm-glib/nm-settings.h
9535 - Break D-Bus object registration out of the init function, because
9536 every object that's exported over D-Bus needs to use the _same_
9537 DBusConnection. Otherwise, each object would get a different object
9538 path tree and wouldn't be callable.
9540 2007-08-29 Dan Williams <dcbw@redhat.com>
9542 * libnm-util/nm-setting.h
9543 libnm-util/nm-setting.c
9544 libnm-util/nm-connection.c
9545 src/NetworkManagerPolicy.c
9546 - 'info' settings object should be 'connection' says the spec
9547 at NetworkManagerConfigurationSpecification
9549 2007-08-29 Dan Williams <dcbw@redhat.com>
9551 * libnm-glib/nm-settings.c
9552 libnm-glib/nm-settings.h
9553 - make the dbus path a property of the object, and autogenerate it.
9554 It can't be composed of the 'id' field becuase that's not available
9555 yet during the GObject creation in nm_connection_settings_init()
9557 2007-08-29 Dan Williams <dcbw@redhat.com>
9559 * introspection/nm-settings-connection.xml
9560 introspection/nm-settings.xml
9561 - Service name -> NetworkManagerUserSettings because two services
9562 can't share part of the same path. I'm not really sure how we'll use
9563 the same code with the system-settings daemon...
9565 2007-08-28 Dan Williams <dcbw@redhat.com>
9567 * src/nm-device-interface.c
9568 src/nm-device-interface.h
9569 - Kill one more bit of NMData
9571 2007-08-28 Dan Williams <dcbw@redhat.com>
9573 * src/NetworkManagerSystem.h
9576 src/nm-hal-manager.c
9577 src/NetworkManager.c
9578 src/nm-device-802-11-wireless.c
9579 src/nm-hal-manager.h
9580 src/nm-device-802-3-ethernet.c
9581 src/vpn-manager/nm-vpn-service.h
9582 src/vpn-manager/nm-vpn-manager.c
9583 src/vpn-manager/nm-vpn-manager.h
9584 src/vpn-manager/nm-vpn-service.c
9585 src/nm-device-802-11-wireless.h
9586 src/NetworkManagerMain.h
9587 src/nm-device-802-3-ethernet.h
9588 src/backends/NetworkManagerGentoo.c
9589 src/backends/NetworkManagerPaldo.c
9590 src/backends/NetworkManagerFrugalware.c
9591 src/backends/NetworkManagerRedHat.c
9592 src/backends/NetworkManagerSlackware.c
9593 src/backends/NetworkManagerGeneric.c
9594 src/backends/NetworkManagerArch.c
9595 src/backends/NetworkManagerSuSE.c
9596 src/backends/NetworkManagerGeneric.h
9597 src/backends/NetworkManagerDebian.c
9600 2007-08-28 Dan Williams <dcbw@redhat.com>
9602 * src/NetworkManagerMain.h
9603 src/nm-device-802-11-wireless.c
9604 src/NetworkManager.c
9605 - Remove invalid AP list from NMData; need to rework this somewhat, but
9606 for now we should set the 'invalid' property on individual APs, and when
9607 we need to invalidate a whole ESS, set the 'invalid' on every member of
9610 2007-08-28 Dan Williams <dcbw@redhat.com>
9612 * src/NetworkManagerAP.c
9613 src/NetworkManagerAP.h
9614 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9615 'autoconnect' property instead
9617 * src/NetworkManager.c
9618 src/NetworkManagerMain.h
9619 src/NetworkManagerPolicy.c
9620 src/NetworkManagerPolicy.h
9621 - Remove the 'allowed_ap_list', which should be replaced by
9622 NMConnection/NMSettings instead, since _those_ are the allowed
9623 things that NM can connect to
9625 * src/nm-device-802-11-wireless.c
9626 - Remove both allowed_ap_list usage and 'fallback' checking
9628 2007-08-28 Dan Williams <dcbw@redhat.com>
9631 src/named-manager/nm-named-manager.c
9632 src/named-manager/nm-named-manager.h
9633 src/NetworkManager.c
9634 src/vpn-manager/nm-vpn-manager.c
9635 src/NetworkManagerMain.h
9636 src/NetworkManagerSystem.c
9637 - Remove the named-manager object from NMData structure in preparation
9638 for NMData's timely death. Make the NMNamedManager the singleton that
9641 2007-08-28 Dan Williams <dcbw@redhat.com>
9643 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9644 each AP's capabilities, and by NMConnection/NMSettings objects for user
9645 defined connections.
9647 * include/NetworkManager.h
9648 - Redefine 802.11 security properties. There are now device capabilities
9649 and AP flags and AP security flags. It was way to unclear before.
9652 src/nm-ap-security-leap.h
9653 src/nm-ap-security-leap.c
9654 src/nm-ap-security-wpa-eap.c
9655 src/nm-ap-security-wpa-eap.h
9656 src/nm-ap-security-private.h
9657 src/nm-ap-security-wpa-psk.c
9658 src/nm-ap-security-wpa-psk.h
9659 src/nm-ap-security-wep.c
9660 src/nm-ap-security-wep.h
9661 src/nm-ap-security.c
9662 src/nm-ap-security.h
9663 - Removed, to be replaced with NMConnection/NMSettings objects
9667 - Removed, to be replaced by code that talks to the new info daemon
9668 interface and gets NMConnection/NMSettings objects
9670 * src/backends/NetworkManagerSuSE.c
9671 - Remove usage of NMAPSecurity; should be replaced by a system-level
9672 info-daemon that does the same thing but talks the new info-daemon
9675 * src/NetworkManagerAP.h
9676 src/NetworkManagerAP.c
9677 src/NetworkManagerAPList.c
9678 libnm-glib/libnm-glib-test.c
9679 - Remove usage of NMAPSecurity objects and adjust to new flags for
9682 * libnm-glib/nm-access-point.c
9683 libnm-glib/nm-access-point.h
9684 introspection/nm-access-point.xml
9686 - Adjust to new flags for AP security
9690 src/vpn-manager/nm-dbus-vpn.c
9691 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9692 stuff which is the only place it's used
9694 * src/nm-device-interface.c
9695 src/nm-device-interface.h
9696 introspection/nm-device.xml
9697 src/nm-activation-request.c
9698 src/nm-activation-request.h
9700 - Add a new 'specific_object' argument that hints to NM what actual
9701 AP or other device-specific thing the connection should apply to.
9702 NMConnection objects can apply to more than one actual device/AP.
9704 * libnm-util/nm-connection.c
9705 * libnm-util/nm-connection.h
9706 - Add 'have_secrets" call stubs
9708 * libnm-util/cipher.h
9709 - Move NM_AUTH_TYPE_* defines here for now
9711 * src/nm-device-802-11-wireless.c
9712 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9715 * src/NetworkManagerDbus.c
9716 * src/NetworkManagerPolicy.c
9717 - Remove usage of update_allowed_networks, should be pushing data in
9720 2007-08-27 Tambet Ingo <tambet@gmail.com>
9722 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9723 dbus-glib frees it when the call is done.
9725 2007-08-26 Dan Williams <dcbw@redhat.com>
9727 * introspection/nm-device.xml
9728 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9730 2007-08-26 Dan Williams <dcbw@redhat.com>
9732 * src/nm-device-802-3-ethernet.c
9733 - (constructor): move connection of interface-connected/disconnected
9734 signals here from real_bring_up(). Should be listening to netlink
9735 for carrier events no matter what the initial state of the device
9738 2007-08-26 Dan Williams <dcbw@redhat.com>
9740 * src/nm-netlink-monitor.c
9741 - (nm_netlink_monitor_class_init): fix marshalling types for
9742 interface-connected/interface-disconnected
9743 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9746 2007-08-26 Dan Williams <dcbw@redhat.com>
9748 Convert to using interface indexes as the primary method of identifying
9749 devices inside NetworkManager. Indexes are (?) stable, but devices can
9750 be renamed at any time. Device object paths now refer to the device
9751 index rather than the name, and you can map those two manually if you like
9752 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9753 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9754 to use interface indexes rather than names.
9756 2007-08-26 Dan Williams <dcbw@redhat.com>
9758 * src/nm-netlink-monitor.h
9759 - Remove one last bit of wireless-event signal
9761 2007-08-26 Dan Williams <dcbw@redhat.com>
9763 * src/nm-netlink-monitor.c
9764 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9765 don't need the 'wireless-event' signal anymore since that's all
9766 handled by wpa_supplicant
9768 2007-08-25 Dan Williams <dcbw@redhat.com>
9770 It's 2007. Remove support for drivers that don't support wireless scanning.
9773 include/NetworkManager.h
9774 src/NetworkManagerUtils.c
9775 src/NetworkManagerPolicy.c
9776 src/nm-device-802-11-wireless.c
9777 - Remove special handling for non-scanning devices and mark them
9778 as unsupported/unhandled
9780 2007-08-20 Dan Williams <dcbw@redhat.com>
9782 * src/nm-device-802-11-wireless.c
9783 src/nm-device-802-3-ethernet.c
9784 - (real_is_up): move device-specific tests before generic IFF_UP test,
9785 because when the card is pulled or the module removed, the device
9786 is already !IFF_UP and then device-specific cleanup (removing
9787 the supplicant interface, periodic checks, etc) never gets done
9789 2007-08-20 Dan Williams <dcbw@redhat.com>
9792 - (nm_manager_remove_device): bring device down before disconnecting
9793 signal handlers, so that the 'state' signal will get broadcast when
9794 the device enters the DOWN state
9795 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9796 of states that cause the NMManager to recheck its state
9798 2007-08-20 Dan Williams <dcbw@redhat.com>
9800 * src/supplicant-manager/nm-supplicant-interface.c
9801 - (interface_disconnect_done): don't try to dispose of the net proxy
9802 when it may already have been disposed of
9804 2007-08-20 Dan Williams <dcbw@redhat.com>
9806 * src/nm-device-802-11-wireless.c
9807 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9808 the SSID isn't available; this can happen when the card is pulled
9809 or the module unloaded, during the post-removal deactivation
9810 paths, when the ioctl returns ENODEV
9812 2007-08-20 Dan Williams <dcbw@redhat.com>
9814 * src/nm-device-802-11-wireless.c
9815 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9816 frequency, and mode match. Applets are now responsible for grouping
9819 2007-08-20 Dan Williams <dcbw@redhat.com>
9821 * src/NetworkManagerAP.c
9822 * src/NetworkManagerAP.h
9823 - (nm_ap_print_self): new function
9825 * src/NetworkManagerAPList.c
9826 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9829 2007-08-17 Dan Williams <dcbw@redhat.com>
9831 * src/nm-device-802-3-ethernet.c
9832 - (real_bring_down): don't try to dispose of stuff that might not
9835 2007-08-17 Dan Williams <dcbw@redhat.com>
9837 * src/NetworkManagerAP.c
9838 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9839 applet. This ensures that the case between the seen-bssids and
9840 the bssids reported by the driver match.
9842 2007-08-17 Dan Williams <dcbw@redhat.com>
9844 * src/nm-device-802-11-wireless.c
9845 - (device_cleanup): disconnect the interface in wpa_supplicant before
9846 we dispose of the interface proxy in NM
9848 2007-08-16 Dan Williams <dcbw@redhat.com>
9850 * libnm-glib/nm-client.c
9851 - (nm_client_init): create VPN connections hash table with key free
9853 - (proxy_vpn_connection_added): VPN connections hash table key should
9854 be a duplicated value, not the same memory address as the VPN
9855 connection name. This is because the VPN connection name could
9856 potentially be freed and set to something else during the lifetime
9857 of the NMVPNConnection object.
9859 2007-08-16 Tambet Ingo <tambet@gmail.com>
9861 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9862 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9863 with the file descriptors. Send a child setup function to change the pppd
9866 2007-08-15 Dan Williams <dcbw@redhat.com>
9868 * src/supplicant-manager/nm-supplicant-interface.c
9869 - (try_remove_iface): new function, ask wpa_supplicant to remove
9871 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9872 disposing of the NMSupplicantInterface. Otherwise weird stuff
9873 happens on hotplug if wpa_supplicant doesn't tear down and readd
9874 the interface internally
9876 2007-08-15 Dan Williams <dcbw@redhat.com>
9878 * src/nm-device-802-11-wireless.c
9879 - (real_bring_down): move most of this function into device_cleanup()
9880 so that it can be called from elsewhere
9881 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9882 and stuff on dispose. These would normally get cleaned up when
9883 the device is marked down and deactivated, but when the device is
9884 hot-unplugged, it's already down and real_down() never gets run
9886 2007-08-15 Dan Williams <dcbw@redhat.com>
9889 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9890 caused a reference leak on device for which NM requested a key
9892 2007-08-15 Dan Williams <dcbw@redhat.com>
9894 * libnm-glib/nm-client.c
9895 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9897 2007-08-15 Tambet Ingo <tambet@gmail.com>
9899 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9900 nothing is using it at the moment, but it'll be all useful and stuff later on.
9902 * libnm-util/nm-setting.h: Define NMSettingPPP.
9904 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9906 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9908 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9910 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9912 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9914 2007-08-14 Tambet Ingo <tambet@gmail.com>
9916 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9918 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9919 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9920 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9921 name and different arguments and it won't compile anymore. To fix this, we now have
9922 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9923 that is new API + compatibility API and used by the daemon. The other,
9924 nm-manager-client.xml is only the new API without compatibility bits and is used
9925 by libnm-glib to make it compile.
9927 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9929 * src/nm-manager.c (impl_manager_legacy_sleep)
9930 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9931 interface functions for 0.6 branch.
9933 2007-08-14 Dan Williams <dcbw@redhat.com>
9935 * src/NetworkManagerAP.c
9936 - (nm_ap_new_from_properties): fix mistaken check of return value
9937 from memcmp (should expect 0)
9939 2007-08-14 Dan Williams <dcbw@redhat.com>
9941 (force-commit to fix wrong comment and partial commit of r2685; this
9942 commit actually applies to r2685)
9944 * src/NetworkManagerUtils.c
9945 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9946 ignores trailing nulls in the SSID to work around mismatches in
9947 expectations between WEXT and what the info-daemon passes back. The
9948 info-daemon would pass back the correct length, but due to the
9949 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9950 the device would always have an SSID + 1 depending on what versions
9951 of wpa_supplicant, the kernel, and NM you have. This was most often
9952 visible by just quitting the applet and relaunching, which caused
9953 NM to reassociated to the same network over again when reloading
9956 * src/NetworkManagerPolicy.c
9957 src/NetworkManagerUtils.h
9958 src/nm-device-802-11-wireless.c
9959 - Update for new parameter to nm_utils_same_ssid()
9961 2007-08-14 Dan Williams <dcbw@redhat.com>
9963 * src/NetworkManagerAP.c
9964 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9965 I encountered a BSS that wasn't just hiding it's ESSID, it was
9966 setting the BSSID to all 0s. That confused the heck out of NM,
9967 plus it's useless and probably out-of-spec.
9969 2007-08-14 Dan Williams <dcbw@redhat.com>
9971 * callouts/Makefile.am
9972 src/dhcp-manager/nm-dhcp-manager.c
9973 src/dhcp-manager/nm-dhcp-manager.h
9974 src/dhcp-manager/Makefile.am
9975 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9977 2007-08-14 Dan Williams <dcbw@redhat.com>
9979 * src/dhcp-manager/nm-dhcp-manager.c
9980 - (dhclient_run): don't pass -x to dhclient until we figure out if
9981 it's really needed, get rid of unused xtra_args parameter
9983 2007-08-14 Dan Williams <dcbw@redhat.com>
9985 * include/NetworkManagerVPN.h
9986 src/vpn-manager/nm-dbus-vpn.c
9987 src/vpn-manager/nm-dbus-vpn.h
9988 src/vpn-manager/nm-vpn-act-request.c
9989 src/vpn-manager/nm-vpn-act-request.h
9990 src/vpn-manager/nm-vpn-service.c
9991 src/vpn-manager/nm-vpn-service.h
9992 libnm-glib/nm-vpn-connection.c
9993 libnm-glib/nm-vpn-connection.h
9994 libnm-glib/nm-client.h
9995 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9996 NMVPNServiceState to clarify what they apply to
9997 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9998 NMVPNActStage -> NMVPNConnectionState for the same reason
10000 * libnm-glib/nm-client.c
10001 - Constant + type renames from above
10002 - Properly handle NameOwnerChanged/manager_running signals
10003 for NM service; only emit when state really changes
10004 - Use hash tables correctly so that the key (which was previously owned
10005 by the D-Bus message) now has the same lifetime as the value, since
10006 the key is now taken from the the NMVPNConnection itself. This
10007 really fixes the double-VPN names in the applet
10009 2007-08-13 Dan Williams <dcbw@redhat.com>
10011 Patch from Michael Biebl <biebl@debian.org>
10015 - Update for vpn-properties move
10017 2007-08-13 Dan Williams <dcbw@redhat.com>
10019 * libnm-glib/nm-client.c
10020 - Convert internal VPN connection tracking from a list to a hash table
10021 to easily avoid duplicates
10022 - (nm_client_get_vpn_connections): now returns an allocated GSList that
10023 must be freed by the caller, like nm_client_get_devices()
10024 - (nm_client_remove_vpn_connection): don't let the removal signal
10025 leak through for NMVPNConnection objects that aren't actually
10027 - (manager_running): throw away VPN connection list when NM goes away,
10028 like with the device list
10030 2007-08-13 Dan Williams <dcbw@redhat.com>
10032 * src/dhcp-manager/nm-dhcp-manager.c
10033 - Stop any dhclient instance that might be already running for a
10034 particular interface before starting an NM spawned dhclient. Fixes
10035 dhclient processes left over if NM crashes, stuff like that.
10037 2007-08-13 Dan Williams <dcbw@redhat.com>
10039 * src/NetworkManagerAP.c
10040 - (finalize): don't try to g_array_free (NULL, ...), which happened
10041 when the AP wasn't broadcasting it's SSID
10043 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
10045 * include/NetworkManager.h: added DBus path for connection settings.
10047 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
10048 nm_connection_settings_signal_updated,
10049 nm_connection_settings_signal_removed): new functions to wrap the
10051 (nm_connection_settings_init): register GObject with DBus.
10052 (nm_connection_settings_get_dbus_object_path): new function.
10054 * libnm-glib/Makefile.am: added libnmutil to link flags.
10056 2007-08-13 Tambet Ingo <tambet@gmail.com>
10058 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10060 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10061 libnm_glib directory got merged with libnm-glib/.
10063 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10065 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10066 Rename the library from libnm-glib to libnm_glib to maintain the library API
10067 compatibility with 0.6 branch.
10069 * Makefile.am: Remove gnome/ SUBDIR.
10071 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10073 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10075 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10077 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10079 Remove checks for wpa_supplicant binary, it's used over dbus.
10080 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10082 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10083 Link the binaries with libnm_glib.la.
10085 2007-08-12 Dan Williams <dcbw@redhat.com>
10087 * src/NetworkManagerPolicy.c
10088 - (nm_policy_device_change_check): fix policy to deactivate old device
10089 before activating new one, at least until the multiple active
10090 device support lands
10092 2007-08-12 Dan Williams <dcbw@redhat.com>
10094 * src/NetworkManagerPolicy.c
10095 - (nm_policy_new): hook up to connection-added / connection-removed
10096 signals instead of connections-changed
10098 2007-08-12 Dan Williams <dcbw@redhat.com>
10100 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10101 Robert Frank <rfrank@redhat.com>
10103 * src/dhcp-manager/nm-dhcp-manager.c
10104 src/dhcp-manager/nm-dhcp-manager.c
10106 - Spawn and communicate with dhclient directly, through means of a
10107 custom dhclient callout script. Process callout D-Bus signals
10108 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10109 sent via gobject signals rather than being driven by the dhcp manager
10112 2007-08-12 Dan Williams <dcbw@redhat.com>
10114 * callouts/nm-dhcp-client-action.c
10115 - (build_message): ignore non-DHCP-related environment variables
10117 2007-08-12 Dan Williams <dcbw@redhat.com>
10121 callouts/Makefile.am
10122 callouts/nm-dhcp-client-action.c
10123 callouts/nm-dhcp-client.conf
10124 - Add dhclient-executed callout that takes the place of dhclient-script
10125 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10126 NM then listens for
10128 2007-08-09 Tambet Ingo <tambet@gmail.com>
10130 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10132 * libnm-glib/nm-client.h:
10133 * libnm-glib/nm-object.h:
10134 * libnm-glib/nm-vpn-connection.h:
10135 * libnm-glib/nm-settings.h:
10136 * libnm-glib/nm-device.h:
10137 * libnm-glib/nm-ip4-config.h:
10138 * libnm-glib/nm-access-point.h:
10139 * libnm-glib/nm-device-802-3-ethernet.h:
10140 * libnm-util/nm-setting.h:
10141 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10143 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10145 * libnm-glib/nm-access-point.c: Strength has type char.
10147 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10148 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10150 * introspection/nm-access-point.xml: Strength property is char, not int.
10152 * src/NetworkManagerAP.c (set_property): Set strength from char.
10153 (get_property): Handle hidden APs (with empty SSID).
10154 Get strength value from char.
10155 (nm_ap_class_init): Strength property has char type.
10157 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10159 * introspection/Makefile.am:
10160 * introspection/nm-settings.xml:
10161 * introspection/nm-settings-connection.xml: added Settings interfaces.
10163 * libnm-glib/nm-settings.[ch]:
10164 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10165 containing the DBus implementation.
10167 2007-07-26 Dan Williams <dcbw@redhat.com>
10169 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10171 * src/NetworkManagerSystem.c
10172 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10173 same subnet (#437396)
10175 2007-07-26 Dan Williams <dcbw@redhat.com>
10177 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10179 * gnome/vpn-properties/nm-vpn-properties.c
10180 - Fix translatable strings (#445865)
10182 2007-07-26 Dan Williams <dcbw@redhat.com>
10184 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10187 - Remove useless junk (#412530)
10189 2007-07-10 Christopher Aillon <caillon@redhat.com>
10191 Patch from Robert Buchholz <rbu@gentoo.org>:
10195 * introspection/Makefile.am:
10196 Make make distcheck work again.
10198 2007-06-27 Dan Williams <dcbw@redhat.com>
10200 * Make SSIDs GByteArrays everywhere
10201 * Rename "essid" -> "ssid" everywhere that's appropriate
10202 * Refcount activation_ap member of the 802.11 wireless device class
10204 2007-06-27 Tambet Ingo <tambet@ximian.com>
10206 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10208 2007-06-22 Tambet Ingo <tambet@ximian.com>
10210 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10211 that we got a new AP when we just update existing AP properties.
10213 2007-06-21 Tambet Ingo <tambet@ximian.com>
10215 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10217 * nm-utils.[ch]: Remove.
10219 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10220 objects for easy property access and dbus connection handling.
10222 * libnm-glib/nm-client.c: Derive from NMObject.
10224 * libnm-glib/nm-device.c: Ditto.
10226 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10228 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10230 * libnm-glib/nm-ip4-config.c: Ditto.
10232 * libnm-glib/nm-access-point.c: Ditto.
10234 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10235 comparision. Currently used by the device activation code to determine if the new
10236 activation is the same as the old one.
10238 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10239 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10240 able to ask password for the AP.
10242 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10243 up if the device is already connected, tear down it's connection (if it isn't the
10244 same as new one) and start the activation.
10246 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10248 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10249 the issue where all APs are always listed as encrypted.
10251 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10252 their own registered paths.
10254 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10255 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10257 2007-06-13 Tambet Ingo <tambet@ximian.com>
10259 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10262 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10263 because the handling code will cause the next state change and signal listeners
10264 get the signals in wrong order.
10266 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10267 correctly in case of pending activation.
10269 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10270 Convert the essid byte array to string correctly, including the terminating NULL.
10272 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10273 mode with correct types.
10275 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10276 constructed info to dbus call instead of the activation request.
10278 2007-06-11 Christopher Aillon <caillon@redhat.com>
10280 Patch from Christian Persch <chpe@gnome.org>
10282 * libnm-glib/Makefile.am:
10283 * dispatcher-daemon/Makefile.am:
10284 Use the correct variables, the correct paths, and correct ordering. (446315)
10286 2007-06-11 Tambet Ingo <tambet@ximian.com>
10288 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10289 argument. The activation request is easy to retrieve.
10291 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10292 just to be a convenient location for devices to store random stuff.
10294 2007-06-11 Christopher Aillon <caillon@redhat.com>
10296 Patch from Alex Smith <alex@alex-smith.me.uk>
10298 * src/backends/NetworkManagerFrugalware.c:
10299 Update the FrugalWare backend to fix a few segfaults. (#392642)
10301 2007-06-08 Tambet Ingo <tambet@ximian.com>
10303 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10305 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10307 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10309 2007-06-06 Tambet Ingo <tambet@ximian.com>
10311 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10313 Implement NMSettingIP4Config.
10314 Finish NMSettingWired by adding all known members.
10315 (setting_wired_verify): Implement.
10316 Finish NMSettingWireless by adding all known members.
10317 (setting_wireless_verify): Implement.
10319 * libnm-util/nm-connection.c: Register "ipv4" setting.
10320 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10321 dump function, we can introspect the GHashTable which is used for sending connections
10324 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10325 Take GByteArray for essid, it's really not a string.
10327 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10328 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10329 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10330 means overriding the values we got from DHCP.
10331 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10332 (nm_device_deactivate_quickly): Ditto.
10334 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10337 2007-05-07 Tambet Ingo <tambet@ximian.com>
10339 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10342 * libnm-glib/nm-device-802-11-wireless.c:
10343 (nm_device_802_3_ethernet_activate): Remove.
10345 * libnm-glib/nm-device-802-3-ethernet.c
10346 (nm_device_802_3_ethernet_activate): Remove.
10348 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10350 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10353 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10354 activation has started.
10355 Implement the new activation using NMConnection.
10357 * src/nm-activation-request.c: Store a generic connection object instead
10358 of a wireless-specific AP.
10360 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10361 on device type, create a device specific connection object suitable for
10364 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10365 specific check to validate the connection and on success start the
10368 * src/nm-device-interface.h: Add a activate virtual function to the
10369 interface definition.
10371 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10372 (impl_device_activate): Implement.
10374 * introspection/nm-device.xml: Add a generic device activation interface
10375 that accepts an abstract NMConnection structure that has device-specific
10378 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10379 activation interface.
10381 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10382 activation interface.
10384 * libnm-util/nm-connection.c:
10385 * libnm-util/nm-connection.h:
10386 * libnm-util/nm-setting.c:
10387 * libnm-util/nm-setting.h: Add.
10389 * libnm-util/Makefile.am: Build the added files.
10391 * src/nm-dbus-manager.c
10392 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10393 DbusConnection argument from 'name-owner-changed' signal. The manager
10394 is already passed as a first argument to the signal and the connection
10395 is easy enough to get from it.
10397 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10398 Update the signature of the function.
10400 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10403 * src/NetworkManager.c: Ditto.
10405 * src/named-manager/nm-named-manager.c
10406 (nm_named_manager_name_owner_changed): Ditto.
10408 * src/supplicant-manager/nm-supplicant-manager.c
10409 (nm_supplicant_manager_name_owner_changed): Ditto.
10411 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10413 * src/dhcp-manager/nm-dhcp-manager.c
10414 (nm_dhcp_manager_name_owner_changed): Ditto.
10416 * src/nm-hal-manager.c: Add a list of device detectors and creators
10417 to make it easier to add new devices. Each device type has it's own
10418 entry in the table so adding new device types is only a matter of
10419 implementing a couple of functions, one for device detection and the
10420 other for device creation.
10422 2007-04-25 Dan Williams <dcbw@redhat.com>
10424 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10425 (gnome.org #432401)
10427 2007-03-30 Dan Williams <dcbw@redhat.com>
10429 * src/NetworkManagerSystem.c
10430 - (nm_system_device_set_ip4_route): clean up and fix argument
10431 to nm_dev_sock_open()
10433 2007-03-28 Tambet Ingo <tambet@ximian.com>
10435 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10436 data to correct types instead of always using string.
10438 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10439 _not_ have NM_802_11_CAP_PROTO_NONE.
10440 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10443 2007-03-27 Tambet Ingo <tambet@ximian.com>
10445 * libnm-glib/Makefile.am: Fix the build issue.
10447 2007-03-26 Tambet Ingo <tambet@ximian.com>
10449 * libnm-glib/nm-vpn-connection.h:
10450 * libnm-glib/nm-vpn-connection.c: Implement.
10452 * libnm-glib/nm-client.c: Add VPN support.
10454 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10457 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10460 2007-03-26 Dan Williams <dcbw@redhat.com>
10462 * src/NetworkManagerAPList.c
10463 * src/nm-device-802-11-wireless.c
10464 * src/NetworkManagerAP.c:
10465 - Store last seen as glong instead of GTimeVal.
10466 - Fix the upper bound of capabilities, it's a bitfield.
10468 2007-03-16 Tambet Ingo <tambet@ximian.com>
10470 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10472 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10473 "manager-running" signal that notifies the appearance/disappearance of NM.
10474 (nm_client_sleep): Implement.
10476 * libnm-glib/nm-device.c:
10477 * libnm-glib/nm-device-802-11-wireless.c:
10478 * libnm-glib/nm-device-802-3-ethernet.c:
10480 Don't inherit from DBusGProxy, add a proxy to private
10481 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10482 for anything but their own dbus interface. DBusGProxy objects support only one
10483 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10484 interface. The nice side effect of this change is that we do not create a new
10485 DBusGProxy object for each property access.
10487 2007-03-15 Tambet Ingo <tambet@ximian.com>
10489 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10490 with zeroes before passing them to functions - the functions never do that and
10491 reading the values back may produce wrong values.
10492 (real_bring_up): Store the signal handler id ...
10493 (real_bring_down): ... So that it can be removed here.
10494 Disconnect the supplicant interface here as well.
10495 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10496 from the access point instead of old $device/Networks/$essid.
10498 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10499 device state is connected (instead of just having link/carrier).
10501 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10502 already easily accessible through the device.
10504 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10505 store it within the object.
10506 (nm_ap_get_dbus_path): Export it to public as well.
10508 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10511 2007-03-12 Dan Williams <dcbw@redhat.com>
10513 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10514 for non-carrier-detect capable devices, and useless for carrier-detect
10515 devices since we get notifications from netlink about carrier status anyway.
10517 * src/nm-device-802-3-ethernet.c
10518 - remove 'link_source_id' member from private data
10519 - (probe_link): remove and collapse into real_update_link()
10520 - (nm_device_802_3_periodic_update): remove
10521 - (real_is_up): check for sup_iface rather than link_source_id
10522 - (real_bring_up): return gboolean for success/fail; require that
10523 sup_iface be valid for device bringup to succeed
10524 - (real_bring_down): zero out link signal ids
10527 - (nm_device_activate_stage2_device_config): fail activation if device
10529 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10531 - (nm_device_bring_up): return success/fail
10534 - bring_up now returns success/fail
10536 * src/nm-device-802-11-wireless.c
10537 - (real_bring_up): return success from bringup
10539 2007-03-07 Dan Williams <dcbw@redhat.com>
10541 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10542 * src/nm-ap-security-wpa-psk.c
10543 - (real_write_supplicant_config): work with PSKs that may contain
10544 zeros in the binary format rather than treating it as a string
10546 2007-03-02 Tambet Ingo <tambet@ximian.com>
10548 * libnm-glib/nm-device-802-11-wireless.c
10549 (nm_device_802_11_wireless_get_capabilities): Implement.
10551 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10553 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10555 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10556 reply only if it's not NULL. Not sure why this started happening right now.
10558 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10559 code paths for when devices get removed on shutdown or when a device is just
10561 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10562 gets freed so any signal from a device (disconnected for instance) would invoke
10563 NMState update which would crash.
10564 (nm_manager_remove_device): Bring the device down when it gets removed.
10566 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10567 the unused dev_type.
10569 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10570 reference to the added device, NMManager will own it (if it wants).
10572 * test/nm-tool.c: Rewrite using libnm-glib.
10574 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10575 We get signalled when it changes.
10577 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10580 * libnm-glib/nm-device.c: Cache the device state property.
10582 * libnm-glib/nm-access-point.c: Cache the strength property.
10584 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10585 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10586 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10587 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10588 the device is down, activating, or activated (in case of A/B/G cards).
10589 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10590 it's all done through supplicant now.
10592 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10593 counting issues with pending calls which caused leaks and crashes when
10594 interface was removed (now that the interface actually gets removed).
10596 * src/nm-call-store.c: Make a copy of data before running a foreach
10597 with user callback on it - The most common usage pattern is to cancel
10598 (and thus remove) all pending calls with foreach which would modify
10599 the hash table we're iterating over.
10601 * src/nm-manager.c: When a device is added, make sure it is "up". When
10602 it's removed or disabled due to disabling wireless or networking, bring
10605 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10607 * src/nm-device-802-11-wireless.c:
10608 * src/nm-device-802-3-ethernet.c:
10610 - Remove "init" virtual function, all gobjects have a place for that
10611 already (constructor).
10612 - Replace "start" virtual function with "bring_up", devices can be
10613 brought up and down more than just on startup now.
10614 - Add "is_up" virtual function.
10615 - Implement one way to bring a device down instead of previous 4 different
10616 ways, each of witch did something different.
10618 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10619 all it needs is the device interface.
10621 Get rid of NMData.dev_list (3 members to go).
10622 Get rif of NMData in a lot of places.
10624 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10626 2007-02-23 Dan Williams <dcbw@redhat.com>
10628 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10630 * src/NetworkManagerAP.c
10631 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10632 OR-ing rather than AND-ing
10634 2007-02-20 Tambet Ingo <tambet@ximian.com>
10636 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10637 "network-removed" signals.
10639 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10641 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10642 when receiving the signal from dbus.
10644 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10647 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10648 deactivation of the previously activated device working again.
10650 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10653 * src/nm-device.c (nm_device_is_activated): Remove.
10654 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10656 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10657 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10658 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10659 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10660 Remove NMNetworkStatus and NMActStage enums.
10662 2007-02-19 Tambet Ingo <tambet@ximian.com>
10664 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10665 Handle device state changes and disconnect VPN if it's device deactivates.
10667 * src/nm-dbus-nm.c:
10668 * src/nm-dbus-nm.h:
10669 * src/nm-dbus-device.c:
10670 * src/nm-dbus-device.c:
10671 * src/nm-dbus-net.c:
10672 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10674 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10676 * src/nm-device.c (nm_device_get_by_udi):
10677 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10678 implemented in the correct location (NMManager).
10679 Rip out all the test_device stuff.
10681 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10682 failure handlers, it's all done by NMDevice already.
10684 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10685 Remove the iochannel hack to route the unix signals to the main thread since
10686 we're not threaded anymore.
10688 * src/NetworkManagerAP.c: Implement HWAddress property.
10690 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10691 automatically with dbus-glib.
10693 * src/nm-netlink-monitor.c:
10694 * src/nm-netlink-monitor.h:
10695 - Move it low in the class hierarchy, don't reference any NM types.
10696 - Remove private data from the header.
10697 - Use type safe checks in public API methods.
10698 - Make it a singleton so we don't have to pass the single reference around.
10700 2007-02-16 Tambet Ingo <tambet@ximian.com>
10702 * introspection/nm-ip4-config.xml: Implement.
10704 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10706 * libnm-glib/nm-ip4-config.c:
10707 * libnm-glib/nm-ip4-config.c: Implement.
10709 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10710 securities. APs reference security.
10712 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10713 be exported over DBUS.
10715 * src/nm-device-802-3-ethernet.c: Ditto.
10717 * src/NetworkManagerAP.c:
10718 * src/NetworkManagerAP.h:
10719 - Convert to GObject, export over DBUS.
10721 * src/nm-ip4-config.h:
10722 * src/nm-ip4-config.h:
10723 - Convert to GObject, export over DBUS.
10725 2007-02-12 Dan Williams <dcbw@redhat.com>
10727 Patch from Helmut Schaa <hschaa@suse.de>
10729 * vpn-daemons/pptp/configure.in
10730 vpn-daemons/pptp/Makefile.am
10731 vpn-daemons/openvpn/configure.in
10732 vpn-daemons/openvpn/Makefile.am
10733 vpn-daemons/vpnc/configure.in
10734 vpn-daemons/vpnc/Makefile.am
10735 - Add --without-gnome switch which disables building gnome bits
10737 2007-02-12 Tambet Ingo <tambet@ximian.com>
10739 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10741 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10743 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10746 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10748 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10750 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10753 - Remove old low-level dbus interface implementations and replace them
10754 with dbus-glib one.
10757 - Require dbus-glib >= 0.72.
10758 - Plug in new sources to build.
10761 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10762 to make it more convenient to use from GObject based programs.
10765 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10767 2007-02-09 Tambet Ingo <tambet@ximian.com>
10769 * src/nm-device-802-11-wireless.c:
10770 - Add "network-added" and "network-removed" signals.
10771 - Use gobject boilerplate macros to define the GObject.
10772 - Implement wireless device activation.
10773 - Remove activation_failure_handler and activation_success_handler
10774 and instead listen on state-changed signals and run the same code
10778 - Implment NMDeviceInterface::deactivate.
10779 - Remove activation_failure_handler and activation_success_handler
10780 virtual methods. Each device which is interested in these events
10781 can just listen on it's state changed signals.
10783 * src/NetworkManagerPolicy.c:
10784 - Move a bit more NMData usage to NMManager.
10785 - Remove activation scheduling bits.
10786 - Add listeners for wireless device's "network-added" and
10787 "network-removed" signals.
10788 - Listen device changed signals and deactivate currently activated
10789 device when another device start activating (for now).
10790 - Remove (nm_policy_schedule_device_change_check): There's never a need
10791 for calling this, the policy code knows exactly when this should happen,
10792 by listening on events from NMManager and NMDevices.
10794 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10797 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10798 method on the specific device instead of going to through policy code
10799 and determining the device type by passed in AP's existance.
10801 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10802 abstract NMDevice deactivation.
10804 2007-02-08 Tambet Ingo <tambet@ximian.com>
10806 * src/NetworkManager.c:
10807 - Set up all the shiny new managers.
10809 * src/NetworkManagerPolicy.c:
10810 - Add the beginnings of new NMPolicy code. Instead of requireing all
10811 classes to call into policy code, make the policy code kind of like
10812 a supervisor that monitors what's going on and drives the whole NM.
10814 * src/nm-hal-manager.c:
10815 * src/nm-hal-manager.h:
10816 - Collect all libhal code scattered around NM to this one class.
10817 - Listen libhal and NMManager events and add/remove devices to
10820 * src/nm-manager.c:
10821 * src/nm-manager.h:
10822 - Implment a replacement for NMData. NMData is now officially
10825 2007-02-05 Tambet Ingo <tambet@ximian.com>
10827 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10828 * src/supplicant-manager/nm-supplicant-interface.h
10829 * src/supplicant-manager/nm-supplicant-interface.c
10830 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10831 argument to boolean from enum.
10833 Make NMDevice abstract class, remove almost all references to it's
10834 subclasses (the last place gets removed with new policy manager). Add
10835 NMDeviceInterface (which NMDevice implements) so that when we have
10836 NMDevice exported over DBUS, there's a common NMDevice interface which
10837 all instances have, plus there's a device specific interface for each
10839 Remove functions (nm_device_is_802_3_ethernet) and
10840 (nm_device_is_802_11_wireless). There are already standard GObject macros
10841 for type safe checks.
10842 Use the updated supplican manager API.
10844 * src/nm-device-interface.h:
10845 * src/nm-device-interface.c:
10846 * src/nm-call-store.h:
10847 * src/nm-call-store.c: Implement.
10849 * src/supplicant-manager/nm-supplicant-interface.c:
10850 * src/supplicant-manager/nm-supplicant-interface.h:
10851 * src/supplicant-manager/nm-supplicant-manager.c:
10852 * src/supplicant-manager/nm-supplicant-manager.h:
10853 - Remove all private data type references from public header files.
10854 - Remove all references to other NM classes, this class is just a
10855 proxy between wpa_supplicant and NM so it doesn't have to know
10857 - Convert to dbus-glib bindings.
10858 - Type safe checks for public methods' arguments.
10859 - Store pending DBUS call ids to NMCallStore.
10861 * src/supplicant-manager/nm-supplicant-config.c:
10862 - Store config values in a GHashTable instead of GSList.
10864 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10866 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10869 * src/nm-device.c: Use the new DHCP manager API.
10871 * src/nm-activation-request.c:
10872 * src/nm-activation-request.h:
10873 - Remove all dhcp related properties and methods.
10875 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10877 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10879 * src/dhcp-manager/nm-dhcp-manager.c:
10880 * src/dhcp-manager/nm-dhcp-manager.h:
10881 - Convert it to GObject since we need to signal state changes.
10882 - Remove all references to other NM classes, this class is one
10883 of the lowest classes in our hierarchy.
10884 - One less class to use NMActRequest.
10885 - Make it singleton, one less user of NMData.
10886 - Remove a couple of sleep() calls.
10887 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10888 One less class to use the NM's custom tailored signal handlig.
10890 * Makefile.am: Generate marshallers, add them to build.
10892 2007-02-02 Dan Williams <dcbw@redhat.com>
10898 - Remove last bits referencing gnome applet
10900 2007-02-02 Dan Williams <dcbw@redhat.com>
10902 * src/vpn-manager/nm-vpn-service.c
10903 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10904 and NBNS server addresses
10906 2007-02-02 Tambet Ingo <tambet@ximian.com>
10908 * src/nm-dbus-manager.c:
10909 * src/nm-dbus-manager.h:
10910 - Convert all internal DBUS code to use dbus-glib bindings.
10911 - Remove GObject properties, we don't need them here.
10912 - Don't explicitly set things to NULL after freeing, glib is
10913 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10914 - Make public API argument checks type safe.
10915 - Remove unnecessary (and wrong) cast to GObject for the first
10916 argument to g_signal_* calls - The first argument is a gpointer.
10917 - Export DBusGConnection to other cool classes that (are going to)
10920 2007-01-26 Dan Williams <dcbw@redhat.com>
10922 * libnm-util/dbus-dict-helpers.c
10923 libnm-util/dbus-dict-helpers.h
10924 - Coordinate style with wpa_supplicant version to minimize diff
10925 - Add uint32 array support
10926 - (nmu_dbus_dict_append_uint32_array): new function
10927 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10928 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10929 version; allow adding string array elements individually
10931 * test/libnm-util/test-dbus-dict-helpers.c
10932 - Test uint32 arrays
10934 2007-01-27 Jürg Billeter <j@bitron.ch>
10936 * src/backends/NetworkManagerPaldo.c
10937 - (nm_system_update_dns): clear nscd hosts cache
10939 2007-01-04 Dan Williams <dcbw@redhat.com>
10941 Threading removal related cleanups:
10943 - Use the glib default main context. Remove the device main context
10944 member from NMDevice, and the main_context member from NMData. Change
10945 all the idle and timeout scheduler functions to use plain
10946 g_idle_add() and g_timeout_add().
10948 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10949 takes an argument; fix that up too.
10951 - Remove all locking, which is useless since we no longer use threads. For
10952 example, nm_get_device_by_iface_locked() has been removed. The global
10953 device list lock, the AP List lock, and all static locks in
10954 NetworkManagerPolicy.c have been removed. The locking utility functions
10955 in NetworkManagerUtils.c have also been removed.
10957 - Other cleanups in spacing and code style
10959 2007-01-01 Dan Williams <dcbw@redhat.com>
10961 Found by Bill Moss:
10963 * src/supplicant-manager/nm-supplicant-interface.c
10964 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10965 the supplicant interface wasn't already disconnected. Always
10966 call removeNetwork and disconnect unless the supplicant interface
10967 is in the DISCONNECTED or INACTIVE state.
10969 2006-12-28 Dan Williams <dcbw@redhat.com>
10971 Use a single thread for everything. With the move to wpa_supplicant
10972 and communication over D-Bus, there's no reason for multiple threads.
10973 Almost all of the blocking code has been removed, with one exception in
10974 the DHCP manager and a few in the VPN manager. This commit removes the
10975 per-device worker thread and fixes activation cancellation in the absence
10976 of threads. Further removal of thread-related code would be removing
10977 any locking code (like the device list lock) and simplification of logic
10978 around areas of code or data structures that are currently locked.
10981 dhcp-manager/nm-dhcp-manager.c
10982 nm-device-802-11-wireless.c
10983 nm-device-802-3-ethernet.c
10986 - Remove usage of multiple threads
10988 2006-12-19 Dan Williams <dcbw@redhat.com>
10990 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10991 plus a few other patches from wpa_supplicant bugzilla.
10994 src/NetworkManagerPolicy.c
10995 src/NetworkManagerUtils.c
10996 src/NetworkManagerUtils.h
10997 src/nm-ap-security-leap.c
10998 src/nm-ap-security-wep.c
10999 src/nm-ap-security-wpa-eap.c
11000 src/nm-ap-security-wpa-psk.c
11001 src/nm-ap-security.c
11002 src/nm-ap-security.h
11003 src/nm-device-802-11-wireless.c
11004 src/nm-device-802-11-wireless.h
11005 src/supplicant-manager/nm-supplicant-config.c
11006 src/supplicant-manager/nm-supplicant-config.h
11007 src/supplicant-manager/nm-supplicant-interface.c
11008 src/supplicant-manager/nm-supplicant-interface.h
11009 src/supplicant-manager/nm-supplicant-marshal.list
11010 src/supplicant-manager/nm-supplicant-settings-verify.c
11011 src/supplicant-manager/nm-supplicant-settings-verify.h
11012 - Move all connection management and association handling to
11013 wpa_supplicant over dbus, rather than spawning a private copy
11015 2006-12-19 Dan Williams <dcbw@redhat.com>
11017 * src/NetworkManagerPolicy.c
11018 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
11019 better locking of the device change check handler ID. Incorrect
11020 locking was causing lost device change requests
11022 2006-12-18 Dan Williams <dcbw@redhat.com>
11024 * libnm-util/dbus-dict-helpers.c
11025 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
11026 _nmu_dbus_dict_entry_get_byte_array): replace usage of
11027 dbus_message_iter_get_array_len() (Gnome.org #382898)
11029 2006-12-18 Dan Williams <dcbw@redhat.com>
11031 * gnome/libnm_glib/libnm_glib.c
11032 - Change dbus_connection_close() -> dbus_connection_unref()
11034 2006-12-11 Dan Williams <dcbw@redhat.com>
11036 * src/supplicant-manager/nm-supplicant-interface.c
11037 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
11038 wpa_supplicant interface state
11039 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
11040 state before transitioning to READY state
11042 2006-12-04 Dan Williams <dcbw@redhat.com>
11044 * src/nm-device-802-11-wireless.c
11045 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
11046 odd length of ESSID returned from ieee80211 stack-based drivers
11048 2006-12-04 Dan Williams <dcbw@redhat.com>
11050 * src/nm-device-802-11-wireless.c
11051 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
11052 IE handling blocks that cause mis-parsing of the IE
11054 2006-12-04 Dan Williams <dcbw@redhat.com>
11056 * src/nm-device-802-11-wireless.c
11057 - (init_supplicant_interface): new function; pull supplicant interface
11058 setup code out into standalone function since it must be called from
11059 two different places
11060 - (real_init): sup_mgr is now in private object data; get and track
11061 the supplicant manager object over the NMDevice subclass' lifetime
11062 and register a signal handler for its state signals; only try to
11063 initialize the supplicant interface if the supplicant manager is in
11064 the IDLE state (and therefore is ready for requests)
11065 - (request_wireless_scan): reschedule the scan request if (a) there is
11066 no supplicant interface yet (meaning wpa_supplicant isn't running
11067 or isn't ready yet), or (b) if the supplicant interface isn't ready
11069 - (supplicant_iface_connection_state_cb): new function; stub for
11070 handling supplicant interface connection state signals
11071 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11073 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11074 supplicant manager object that's being tracked starting with this
11077 2006-12-04 Dan Williams <dcbw@redhat.com>
11079 * src/supplicant-manager/nm-supplicant-interface.c
11080 - (nm_supplicant_interface_set_property): track signal handler ID
11081 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11083 2006-12-04 Dan Williams <dcbw@redhat.com>
11085 * src/supplicant-manager/nm-supplicant-interface.[ch]
11086 - (nm_supplicant_interface_get_state): new function
11088 2006-12-04 Dan Williams <dcbw@redhat.com>
11090 * src/supplicant-manager/nm-supplicant-interface.c
11091 - (bssid_properties_cb): don't treat DBus errors as valid
11092 scanned AP messages
11094 2006-12-04 Dan Williams <dcbw@redhat.com>
11096 * src/supplicant-manager/nm-supplicant-interface.[ch]
11097 - (nm_supplicant_interface_get_connection_state): new function
11098 - define new supplicant connection states
11099 - send a signal when the supplicant connection state changes
11101 2006-12-03 Dan Williams <dcbw@redhat.com>
11103 * src/supplicant-manager/Makefile.am
11104 src/supplicant-manager/nm-supplicant-connection.h
11105 src/supplicant-manager/nm-supplicant-connection.c
11106 src/supplicant-manager/nm-supplicant-config.h
11107 src/supplicant-manager/nm-supplicant-config.c
11108 src/supplicant-manager/nm-supplicant-types.h
11109 src/supplicant-manager/nm-supplicant-interface.h
11110 src/supplicant-manager/nm-supplicant-interface.c
11111 - Rename NMSupplicantConnection -> NMSupplicantConfig
11113 2006-12-03 Dan Williams <dcbw@redhat.com>
11115 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11119 - Move VPN-related translatables to .skip
11121 * vpn-daemons/pptp/po/POTFILES.in
11122 - Update with new translatables
11124 2006-12-02 Dan Williams <dcbw@redhat.com>
11126 Patch from Christian Persch <chpe@gnome.org>
11128 * gnome/applet/Makefile.am
11129 gnome/applet/applet-dbus-devices.c
11130 gnome/applet/applet-notifications.c
11131 gnome/applet/applet.c
11132 gnome/applet/applet.h
11133 gnome/applet/main.c
11134 - Be a GtkStatusIcon on GTK+ >= 2.10
11136 2006-12-02 Dan Williams <dcbw@redhat.com>
11138 * gnome/applet/applet.c
11139 - (nma_update_info): fix two unecessary allocations
11141 2006-12-02 Dan Williams <dcbw@redhat.com>
11143 Patch from Michael Biebl <biebl@teco.edu>
11145 man/NetworkManager.1.in
11146 man/NetworkManagerDispatcher.1.in
11147 man/NetworkManager.8.in
11148 man/NetworkManagerDispatcher.8.in
11149 - Add .SH NAME stanzas
11150 - Move NM & NM Dispatcher manpages to section 8 (admin)
11152 2006-12-02 Dan Williams <dcbw@redhat.com>
11154 Patch from Christian Persch <chpe@gnome.org>
11157 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11159 2006-11-29 Tambet Ingo <tambet@ximian.com>
11161 Patch by Timo Hoenig <thoenig@suse.de>:
11162 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11165 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11166 we can't use the one from the main source directory.
11168 2006-11-27 Dan Williams <dcbw@redhat.com>
11170 Patch from Christian Persch <chpe@gnome.org>
11172 * gnome/applet/applet-dbus-devices.c
11173 - (hal_info_product_cb): fix memleak; free duped string.
11176 2006-11-27 Dan Williams <dcbw@redhat.com>
11178 Patch from Christian Persch <chpe@gnome.org>
11180 * gnome/applet/menu-items.c
11181 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11182 as gtk_progress_set_percentage is deprecated. Should
11183 work as far back as GTK+ 2.4. Gnome.org #379780
11185 2006-11-26 Dan Williams <dcbw@redhat.com>
11187 Scan using wpa_supplicant over DBus.
11189 * src/nm-device-802-11-wireless.c
11190 - remove wireless extensions netlink event handler bits
11191 (wireless_event_helper, nm_device_802_11_wireless_event)
11192 - remove wireless extensions scan event handler bits
11193 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11194 hex2byte, hex2num, request_and_convert_scan_results,
11195 free_process_scan_cb_data, scan_results_timeout,
11196 schedule_scan_results_timeout, cancel_scan_results_timeout)
11197 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11198 and request scans from the supplicant interface rather than directly
11199 - Move functionality of convert_scan_results() to cull_scan_list() and
11200 supplicant_iface_scanned_ap_cb()
11201 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11202 at the scan interval when the current scan has finished
11203 - (supplicant_iface_state_cb): start scanning when the supplicant
11204 interface enters the READY state, and stop scanning when it
11205 enters the DOWN state
11206 - (cull_scan_list): weed out old access points from the scan list
11207 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11208 point into an NMAccessPoint and merge it into the device's scan list
11210 * src/supplicant-manager/nm-supplicant-interface.c
11211 src/supplicant-manager/nm-supplicant-interface.h
11212 - Add a new signal "scan-result" which is issued when the supplicant
11213 notifies NM that a scan has completed
11214 - Add a new signal "scanned-ap" that notifies listeners of a new access
11215 point found in the scan. Called once for each access point that
11216 the supplicant interface object receives from the supplicant as a
11217 result of the "scanResults" method call
11218 - (wpas_iface_query_scan_results): don't wait 4s before querying
11219 for the initial scan results
11220 - (scan_request_cb): new function; send listeners the result
11221 (success, error) of a wireless scan request
11222 - (nm_supplicant_interface_request_scan): new function; ask the
11223 supplicant to perform an immediate wireless scan
11225 2006-11-25 Dan Williams <dcbw@redhat.com>
11227 * src/supplicant-manager/Makefile.am
11228 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11229 add HAL cflags/includes and named-manager includes directory
11231 * src/supplicant-manager/nm-supplicant-interface.h
11232 - New state STARTING to handle transition from INIT to READY where
11233 the addInterface pending call is still outstanding
11235 * src/supplicant-manager/nm-supplicant-interface.c
11236 - track pending calls differently since we may have more than one
11237 going on at any given time
11238 - request scan results from wpa_supplicant; but don't do it more often
11239 than every 4 seconds. Drivers that do background scanning
11240 (like the 'ipw' drivers) send a continuous stream of scan completion
11241 notifications, so we don't want to hammer the supplicant or dbus
11242 with requests for all scan results every time we get a completion
11245 2006-11-25 Dan Williams <dcbw@redhat.com>
11247 * src/supplicant-manager/nm-supplicant-types.h
11248 - new file; move all supplicant manager object typedefs here for
11251 * src/supplicant-manager/nm-supplicant-interface.c
11252 src/supplicant-manager/nm-supplicant-interface.h
11253 - new file; an object that interfaces an NMDevice object to the
11254 supplicant and handles signals from the supplicant. This object
11255 does all necessary DBus communication with wpa_supplicant.
11257 * src/supplicant-manager/nm-supplicant-manager.c
11258 src/supplicant-manager/nm-supplicant-manager.h
11259 - Actually do something. Track the state of the wpa_supplicant service
11260 and deal with its comings & goings. Handle life events of
11261 supplicant interfaces too.
11262 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11264 * src/supplicant-manager/nm-supplicant-connection.h
11265 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11267 * src/supplicant-manager/Makefile.am
11268 - Add new files to build, and add libnm-util to includes
11270 * src/nm-marshal.list
11271 - New marshaler type: VOID:UINT,UINT
11273 * src/nm-device-802-3-ethernet.c
11274 - (real_init): grab a supplicant interface
11275 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11276 - (supplicant_iface_state_cb): new function, stub for handling
11277 supplicant interface state changes
11279 * src/nm-device-802-11-wireless.c
11280 - (real_init): grab a supplicant interface
11281 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11282 - (supplicant_iface_state_cb): new function, stub for handling
11283 supplicant interface state changes
11285 * src/NetworkManager.c
11286 - (main): create and keep the supplicant manager around for the lifetime
11290 - Link to the supplicant manager sub-library and use the supplicant
11293 2006-11-25 Dan Williams <dcbw@redhat.com>
11295 Rework DBus manager signal handling to be more flexible. Previously,
11296 only one signal handler could be registered for a particular interface.
11297 The DBus manager now reference counts DBus bus matches and allows multiple
11298 clients to register signal handlers for the same interface and sender.
11300 * src/NetworkManager.c
11301 - (main): track NMI signal handler ID and remove it when we quit
11303 * src/NetworkManagerMain.h
11304 - Keep track of NMI signal handler ID
11306 * src/nm-dbus-manager.c
11307 src/nm-dbus-manager.h
11308 - rework signal handling; each signal handler references one signal
11309 match, but a signal match may be referenced by one or more
11310 signal handlers. Matches are refcounted and are destroyed when the
11311 last signal handler that references the match is removed. This is
11312 necessary because two signal handlers may end up requiring the same
11313 dbus bus match, so the match must live until the last signal handler
11314 is destroyed (for example, with the wpa_supplicant network interface
11317 * src/dhcp-manager/nm-dhcp-manager.c
11318 - (nm_dhcp_manager_new): track DHCP signal handler id
11319 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11321 * src/vpn-manager/nm-vpn-service.c
11322 - (nm_vpn_service_add_watch): track VPN service signal handler id
11323 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11325 2006-11-25 Dan Williams <dcbw@redhat.com>
11327 Suggested by Helmut Schaa <hschaa@suse.de>
11329 * src/vpn-daemons/nm-vpn-service.c
11330 - (supplicant_child_setup): new function
11331 - (supplicant_exec): make child process use a new process group id
11333 * src/nm-device-802-11-wireless.c
11334 - (nm_vpn_service_child_setup): new function
11335 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11338 2006-11-19 Dan Williams <dcbw@redhat.com>
11340 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11341 * gnome/vpn-properties/nm-vpn-properties.c
11342 - clean up after renamed VPN connection
11344 2006-11-19 Dan Williams <dcbw@redhat.com>
11346 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11347 * gnome/applet/applet-dbus-vpn.c
11348 - (nma_dbus_vpn_properties_cb): sort VPN connections
11350 * gnome/vpn-properties/nm-vpn-properties.c
11351 - (init_app): sort VPN connections
11353 2006-11-09 Dan Williams <dcbw@redhat.com>
11355 * src/NetworkManagerAPList.c
11356 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11357 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11358 from the nm_ap_list_get_ap_by_address() call was incorrect and
11359 broke hidden SSID matching. Found by Bill Moss.
11361 2006-10-25 Dan Williams <dcbw@redhat.com>
11364 - (nm_dbus_nm_set_active_device): return an empty success message on
11365 success, rather than falling through to the error case.
11367 2006-10-25 Dan Williams <dcbw@redhat.com>
11369 * src/NetworkManagerUtils.c
11370 - (nm_utils_supplicant_request_with_check): suppress messages for the
11373 2006-10-24 Dan Williams <dcbw@redhat.com>
11375 Reduce the number of times the Gnome applet wakes up, especially when
11376 it's doing absolutely nothing and is hidden. Initial patch by
11379 * gnome/applet/applet-dbus.c
11380 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11381 kill the redraw timeout. When NM starts up, start the redraw
11382 timeout. Also, if we get kicked off the bus for some reason,
11383 start the reconnection timeout if one's not already running.
11384 - (nma_dbus_init): better handling of error conditions, don't leak
11385 a half-initialized dbus connection
11386 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11387 the applet's data, just call nm_dbus_init_helper()
11388 - (nma_start_dbus_connection_watch): new function, starts a periodic
11389 timeout that calls nma_dbus_connection_watcher()
11390 - (nma_dbus_init_helper): if we get a successful connection, kill the
11391 reconnection timeout, and don't start the reconnection timeout
11392 unconditionally anymore
11394 * gnome/applet/applet-dbus.h
11395 - Expose nma_start_dbus_connection_watch()
11397 * gnome/applet/applet.c
11398 - (nma_update_state): no longer static, called from applet-dbus.c for
11399 immediate UI updates on certain events
11400 - (nma_set_running): new function; take over setting applet->running,
11401 when not running (ie, NM is not active), don't activate the redraw
11402 timeout because we're not showing the applet anyway. When we are
11403 running (ie, NM is active), and only when we're running, start the
11405 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11406 kill any reconnection timeout
11407 - (nma_get_instance): move one-off dbus initialization code here since
11408 nm_dbus_init_helper() gets called more than once, possibly by the
11409 reconnection timeout function too. And, when we start up, if we
11410 can't get a connection to the bus, start the reconnection timeout.
11411 But don't start the redraw timeout yet, only do that when we get
11412 NM's state and find out if it's running or not.
11414 * gnome/applet/applet.h
11415 - Add the reconnection GSource ID
11416 - Add prototypes for nma_set_running() and the no-longer-static
11419 2006-10-24 Dan Williams <dcbw@redhat.com>
11421 * src/vpn-daemons/nm-dbus-vpnc.c
11422 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11423 pending call tracker
11424 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11425 pending call tracker; register one-vpn-connection update pending
11426 call in pending call tracker
11427 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11428 update pending call in pending call tracker
11429 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11430 update pending call in pending call tracker; don't block waiting
11433 2006-10-19 Robert Love <rml@novell.com>
11435 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11438 2006-10-14 Dan Williams <dcbw@redhat.com>
11440 * src/dhcp-manager/nm-dhcp-manager.c
11441 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11442 the dbus connection and the device object path rather than
11443 constructing it inside both functions. Saves a bit of memory
11444 and clarifies a failure path.
11445 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11446 and allocate device path here rather than each of the two
11449 2006-10-13 Dan Williams <dcbw@redhat.com>
11451 * src/NetworkManager.c
11452 - (nm_name_owner_changed_handler): handle NMI coming and going,
11453 this somehow droppout in the refactor
11455 2006-10-13 Dan Williams <dcbw@redhat.com>
11457 * Huge DBus refactor:
11458 - Create a "DBus Manager" object which manages the connection and
11459 sends signals on NameOwnerChanged and connection/disconnection events,
11460 handles reconnection to the bus if NM gets kicked off, and abstracts
11462 - Remove DBusConnection members from places where they are no
11463 longer needed due to the refactor, like the dbus-connection
11464 property of the named manager, and from NMData
11465 - Reformats a bunch of the code to gnome style
11466 (8-space tabs, braces on same line as statement, 80-col width).
11467 Consider it open season to reformat any bits to gnome style.
11468 style that aren't already.
11470 2006-10-13 Dan Williams <dcbw@redhat.com>
11472 * src/supplicant-manager/Makefile.am
11475 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11476 - Make it a minimal GObject
11478 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11479 - Verify settings destined for wpa_supplicant
11481 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11482 - Minimal GObject to track wpa_supplicant controlled device
11485 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11487 * gnome/applet/applet.c: (nma_update_info),
11488 (nma_act_stage_to_pixbuf), (nma_update_state):
11489 Mark missing strings for translation. Fixes bug #343306.
11491 2006-10-01 Dan Williams <dcbw@redhat.com>
11493 * src/vpn-manager/nm-vpn-manager.c
11494 - (nm_vpn_manager_load_services): split and clean up
11495 for readability and correctness. Restrict VPN service
11496 files to ending in ".name", as was meant from the
11497 beginning (but not coded in). Better error reporting.
11499 2006-10-01 Dan Williams <dcbw@redhat.com>
11502 - Clean up formatting of debug/info/warning log messages
11504 2006-09-27 Robert Love <rml@novell.com>
11506 Patch by Tambet Ingo <tambet@ximian.com>:
11507 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11510 2006-09-07 Dan Williams <dcbw@redhat.com>
11513 test/libnm-util/Makefile.am
11514 test/nm-supplicant-test.c
11515 - Add test program emulating the way NM drives wpa_supplicant
11516 to help debug supplicant issues
11518 2006-08-24 Dan Williams <dcbw@redhat.com>
11522 src/supplicant-manager/Makefile.am
11523 src/supplicant-manager/nm-supplicant-manager.c
11524 src/supplicant-manager/nm-supplicant-manager.h
11525 - Add skeleton bits of the wpa_supplicant manager
11527 2006-08-24 Dan Williams <dcbw@redhat.com>
11529 Patch from Ed Catmur:
11530 * src/NetworkManagerUtils.c
11531 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11532 if netmask is 0 (Gnome #352634)
11534 2006-08-17 Robert Love <rml@novell.com>
11536 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11537 package is now DBUS-enabled and listens for the NM signals.
11539 2006-08-14 Dan Williams <dcbw@redhat.com>
11541 * Patch from Christian Persch <chpe gnome org>
11544 vpn-daemons/openvpn/po/LINGUAS
11545 vpn-daemons/openvpn/configure.in
11546 vpn-daemons/pptp/po/LINGUAS
11547 vpn-daemons/pptp/configure.in
11548 vpn-daemons/vpnc/po/LINGUAS
11549 vpn-daemons/vpnc/configure.in
11550 - Convert to LINGUAS method so translators don't have to modify
11551 configure.in, just stuff in po/. Gnome #343132, requires intltool
11554 2006-08-14 Dan Williams <dcbw@redhat.com>
11556 Patch from Alex Smith <alex.extreme2@gmail.com>
11558 src/backends/Makefile.am
11559 src/backends/NetworkManagerFrugalware.c
11560 - Add support for Frugalware
11562 2006-08-13 Dan Williams <dcbw@redhat.com>
11564 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11565 * src/nm-device-802-11-wireless.c
11566 - (supplicant_exec): spawn wpa_supplicant without debug spew
11569 2006-08-13 Dan Williams <dcbw@redhat.com>
11571 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11572 * src/nm-ap-security.c
11573 src/nm-ap-security.h
11574 - Add authentication_required bits for subclasses to specify whether
11575 or not real authentication is required for connections, i.e. whether
11576 the AP rejects us when an encryption key is wrong or not.
11578 * src/nm-ap-security-wep.c
11579 src/nm-ap-security-wpa-eap.c
11580 src/nm-ap-security-wpa-psk.c
11581 src/nm-ap-security-leap.c
11582 - Implement authentication_required appropriately for each method
11584 * src/nm-device-802-11-wireless.c
11585 - Be smarter about when to request a key; for example, using a wrong key
11586 in WEP shared key mode previously just timed out and did not request
11589 2006-08-13 Dan Williams <dcbw@redhat.com>
11591 * gnome/libnm_glib/libnm_glib.c
11592 - dbus_connection_disconnect() -> dbus_connection_close() for
11595 2006-08-07 Dan Williams <dcbw@redhat.com>
11597 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11598 * src/NetworkManagerSystem.c
11599 - Respect specified MTU. Gnome #344967
11601 2006-08-07 Dan Williams <dcbw@redhat.com>
11603 * src/vpn-manager/nm-vpn-service.c
11604 - Simplify print_vpn_config() arguments
11606 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11607 * src/vpn-manager/Makefile.am
11608 src/vpn-manager/nm-vpn-service.c
11609 - Add new API for passing VPN config options as a dict. Gnome #344967
11611 2006-08-06 Dan Williams <dcbw@redhat.com>
11613 * gnome/applet/applet-dbus-devices.c
11614 gnome/applet/applet-dbus-vpn.c
11615 gnome/applet/applet-dbus.c
11616 gnome/applet/applet-dbus.h
11620 - Make pending call tracking code generic,
11621 so we can use it in NM as well as the applet
11623 2006-08-06 Dan Williams <dcbw@redhat.com>
11625 * src/nm-activation-request.c
11626 - Refcount pending call objects
11628 2006-08-06 Dan Williams <dcbw@redhat.com>
11630 Patch from Christan Chiesa <christanc@gmail.com>
11632 - Tell sha1.c to use bigendian mode on PPC
11634 2006-08-04 Robert Love <rml@novell.com>
11636 Glib Memory Slices!
11637 * configure.in: Require glib 2.10 or later.
11638 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11639 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11640 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11641 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11642 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11643 Memory Slices are the greatest thing since bread slices.
11644 * src/NetworkManagerAP.c: Also, fix memory leak.
11646 2006-08-01 Robert Love <rml@novell.com>
11648 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11650 2006-07-31 Robert Love <rml@novell.com>
11652 * src/backends/interface_parser.c: Declarations must begin the block.
11654 2006-07-24 Dan Williams <dcbw@redhat.com>
11656 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11657 * src/backends/Makefile.am
11658 src/backends/NetworkManagerArch.c
11659 src/backends/NetworkManagerDebian.c
11660 src/backends/NetworkManagerGeneric.c
11661 src/backends/NetworkManagerGeneric.h
11662 src/backends/NetworkManagerGentoo.c
11663 src/backends/NetworkManagerPaldo.c
11664 src/backends/NetworkManagerRedHat.c
11665 src/backends/NetworkManagerSlackware.c
11666 src/backends/NetworkManagerSuSE.c
11667 - Genericize common backend functions
11669 2006-07-18 Robert Love <rml@novell.com>
11671 * configure.in: Add "--with-notify" option to allow disabling of
11674 2006-07-13 Dan Williams <dcbw@redhat.com>
11676 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11677 * gnome/applet/applet.glade
11678 gnome/applet/Makefile.am
11679 gnome/applet/nm-gconf-wso.c
11680 gnome/applet/nm-gconf-wso-leap.c
11681 gnome/applet/nm-gconf-wso-leap.h
11682 gnome/applet/wireless-security-manager.c
11683 gnome/applet/wso-leap.c
11684 gnome/applet/wso-leap.h
11685 include/NetworkManager.h
11686 libnm-util/dbus-helpers.c
11687 libnm-util/dbus-helpers.h
11689 src/NetworkManagerAP.c
11690 src/nm-ap-security.c
11691 src/nm-ap-security-leap.c
11692 src/nm-ap-security-leap.h
11693 - Add LEAP authentication support
11695 2006-07-13 Dan Williams <dcbw@redhat.com>
11697 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11699 src/backends/NetworkManagerArch.c
11700 src/backends/NetworkManagerDebian.c
11701 src/backends/NetworkManagerGentoo.c
11702 src/backends/NetworkManagerPaldo.c
11703 src/backends/NetworkManagerRedHat.c
11704 src/backends/NetworkManagerSlackware.c
11705 src/backends/NetworkManagerSuSE.c
11706 - Convert hardcoding of 'ip' path to configure-time
11709 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11711 * configure.in: added ru to ALL_LINGUAS
11713 2006-07-10 Dan Williams <dcbw@redhat.com>
11715 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11717 - (real_act_stage3_ip_config_start): don't infinite loop when
11718 dhcdbd isn't running (Gnome #346845)
11720 2006-07-09 Dan Williams <dcbw@redhat.com>
11722 * gnome/applet/applet.c
11723 - (nma_destroy): don't pass NULL to notify_notification_close
11726 2006-07-09 Dan Williams <dcbw@redhat.com>
11728 * gnome/applet/applet.c
11729 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11731 2006-07-04 Tor Krill <tor@krill.nu>
11733 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11734 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11735 (nm_system_restart_mdns_responder), (ArchReadConfig),
11736 (nm_system_device_get_system_config):
11737 - Explicitly check for DHCP configuration
11738 - Check if daemons are running before starting them
11740 2006-06-25 Dan Williams <dcbw@redhat.com>
11742 * libnm-util/dbus-dict-helpers.[ch]
11743 test/libnm-util/test-dbus-dict-helpers.c
11744 - Add string array support
11746 2006-06-24 Dan Williams <dcbw@redhat.com>
11748 * src/dhcp-manager/nm-dhcp-manager.c
11749 - (nm_dhcp_manager_process_signal): clean up spacing
11751 2006-06-21 Dan Williams <dcbw@redhat.com>
11753 * src/nm-dbus-device.c
11754 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11757 2006-06-21 Raivis Dejus <orvils@gmail.com>
11759 * configure.in: Added 'lv' to ALL_LINGUAS
11761 2006-06-19 Dan Williams <dcbw@redhat.com>
11763 * src/NetworkManagerAP.c
11764 - Clarify usage of user_created
11766 * src/nm-ap-security-wep.c
11767 src/nm-ap-security-wpa-eap.c
11768 src/nm-ap-security-wpa-psk.c
11769 src/nm-ap-security.c
11770 src/nm-ap-security.h
11771 - s/user_created/adhoc, because we really do mean adhoc
11773 Patch from Bernard Blackham <bernard@blackham.com.au>
11774 * src/nm-device-802-11-wireless.c
11775 - (supplicant_send_network_config): instead of user_created,
11776 use adhoc, and do AP_SCAN 2 for adhoc networks
11778 2006-06-18 Robert Love <rml@novell.com>
11780 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11781 we have a value to set. Gconf generates a warning if `val' is NULL.
11782 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11783 unless we actually received a valid private key file passphrase or
11784 password. Otherwise, we don't know to later ask the applet to pull
11785 the key from the keyring.
11787 2006-06-17 Dan Williams <dcbw@redhat.com>
11789 * libnm-util/dbus-dict-helpers.[ch]
11790 test/libnm-util/test-dbus-dict-helpers.c
11791 - Fixes for zero-length byte arrays
11792 - Replace return values of 0 with FALSE for clarity
11793 - Test zero-length byte arrays
11795 2006-06-17 Dan Williams <dcbw@redhat.com>
11797 * libnm-util/dbus-dict-helpers.[ch]
11798 test/libnm-util/test-dbus-dict-helpers.c
11799 - Add helpers for byte arrays
11800 - Rework bits of the testcase
11802 2006-06-16 Dan Williams <dcbw@redhat.com>
11804 * libnm-util/Makefile.am
11805 * libnm-util/dbus-dict-helpers.[ch]
11806 - Add some helpers to take the pain out of using dict types in
11809 * test/libnm-util/Makefile.am
11810 * test/libnm-util/test-dbus-dict-helpers.c
11811 - Test cases for the dict helper functions
11813 2006-06-15 Robert Love <rml@novell.com>
11815 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11816 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11817 if there is no key to pass.
11818 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11819 receiving a non-NULL key.
11821 2006-06-14 Robert Love <rml@novell.com>
11823 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11827 2006-06-14 Dan Williams <dcbw@redhat.com>
11829 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11830 * src/nm-device-802-11-wireless.c
11831 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11832 or ones where the driver is unknown
11833 - (supplicant_exec): don't wait for supplicant startup here
11834 - (supplicant_interface_init): finer grained polling for supplicant
11837 2006-06-13 Robert Love <rml@novell.com>
11839 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11840 if it is currently set to TRUE. Otherwise, we will reset the value
11841 when we connect normally.
11842 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11843 the old BSSID is valid, too. The recently added ESSID check may not be
11844 sufficient (we can remove it?). What we really want to catch is the
11845 case of going from all-zeros to the BSSID of some other network, which
11846 happens on failure.
11848 2006-06-09 Dan Williams <dcbw@redhat.com>
11850 * src/NetworkManagerSystem.[ch]
11851 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11852 it was unused and pointless
11853 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11854 fix for set_up_down_with_iface change
11856 * src/vpn-manager/nm-vpn-connection.c
11857 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11859 * src/backends/NetworkManagerPaldo.c
11860 src/backends/NetworkManagerRedHat.c
11861 src/backends/NetworkManagerSuSE.c
11862 src/backends/NetworkManagerArch.c
11863 src/backends/NetworkManagerDebian.c
11864 src/backends/NetworkManagerGentoo.c
11865 - (nm_system_enable_loopback): use set_up_down_with_iface where
11867 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11870 2006-06-09 Dan Williams <dcbw@redhat.com>
11872 Patch from Peter Jones:
11873 * src/nm-device-802-11-wireless.c
11874 - (nm_device_802_11_wireless_update_bssid): make sure that the
11875 SSID hasn't changed from what we expect before automatically
11876 updating the saved BSSID from a new AP
11878 2006-06-08 Robert Love <rml@novell.com>
11880 Add 'fallback' support. NetworkManager will attempt to brute-force
11881 connect to networks marked as fallback if there are no better wireless
11882 connections available. This is useful as a method of last resort, to
11883 work around driver problems, and for use with hidden networks.
11884 * gnome/applet/applet-dbus-devices.c,
11885 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11886 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11887 pass it on via DBUS.
11888 * gnome/applet/applet.c: No fallback by default.
11889 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11890 Update other-network-dialog to add UI checkbox toggling fallback.
11891 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11892 propery from AP object. Add "fallback" property to AP object.
11893 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11894 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11895 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11896 separate function. Add get_best_fallback_ap() for returning an AP
11897 on which to attempt fallback.
11898 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11899 * test/nm-set-fallback: New file. Sets a given network as fallback.
11901 2006-06-07 Robert Love <rml@novell.com>
11903 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11904 checked that the return type was GCONF_VALUE_STRING, not the correct
11905 GCONF_VALUE_BOOL, and thus it never worked.
11906 * src/NetworkManagerAPList.c: Before concluding that two networks are
11907 identical based on their BSSID, make sure that the BSSID in question
11908 is actually valid. Specifically, an empty or all zero BSSID does not
11910 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11911 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11912 similar invariant clean up.
11914 2006-06-02 Robert Love <rml@novell.com>
11916 * gnome/applet/applet.c: Update copyright years. Add Novell.
11918 2006-05-28 Dan Williams <dcbw@redhat.com>
11920 * gnome/applet/applet.glade
11921 gnome/vpn-properties/nm-vpn-properties.glade
11922 - Set window icons on dialogs (Gnome.org #333420)
11924 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11926 * gnome/vpn-properties/nm-vpn-properties.glade:
11927 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11928 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11929 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11930 - Make the VPN properties pages prettier and more HIG
11931 compliant. Gnome Bug #336913.
11933 2006-05-28 Dan Williams <dcbw@redhat.com>
11935 Patch from Christian Persch <chpe@gnome.org>
11936 * gnome/vpn-properties/nm-vpn-properties.c
11937 * gnome/vpn-properties/nm-vpn-properties.glade
11938 - HIG-ification love (Gnome.org #336846)
11940 2006-05-28 Dan Williams <dcbw@redhat.com>
11942 Patch from Christian Persch <chpe@gnome.org>
11944 gnome/vpn-properties/nm-vpn-properties.c
11945 - (main): Fix option parsing. Gnome.org #336847
11947 2006-05-28 Dan Williams <dcbw@redhat.com>
11949 * gnome/vpn-properties/nm-vpn-properties.c
11950 - (find_vpn_ui_by_service_name): protect against NULL service names
11951 - (update_edit_del_sensitivity): protect against NULL service names
11954 2006-05-28 Dan Williams <dcbw@redhat.com>
11956 Patch from Chris Fuller <crf@grandecom.net>:
11957 * src/nm-device-802-11-wireless.c
11958 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11959 don't dispose of wireless-specific stuff unless it is actually
11960 initialized. Gnome.org #341263
11962 2006-05-28 Dan Williams <dcbw@redhat.com>
11964 * src/NetworkManagerPolicy.c
11965 - (nm_policy_device_change_check): don't switch devices if the "best"
11966 AP is essentially the same as the current activation request, but
11967 the current activation request isn't done activating yet. Fixes
11968 multiple requests for keyring password on startup for Gnome applet.
11971 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11973 * src/NetworkManager.c: use GOptions instead of getopt
11974 * configure.in: bump glib required version to >= 2.6 for GOption
11977 2006-05-25 Robert Love <rml@novell.com>
11979 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11980 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11981 instead of dumping ifdef's throughout the code.
11982 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11983 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11984 use nm_ioctl_info() in lieu.
11986 2006-05-25 Robert Love <rml@novell.com>
11988 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11989 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11990 not using gcrypt. Otherwise, we get a linker error.
11992 2006-05-25 Robert Love <rml@novell.com>
11994 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11995 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11996 configure flag to disable building of the GNOME-based applet.
11998 2006-05-25 Robert Love <rml@novell.com>
12000 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
12001 parameter from link, because it shadows a global variable with some
12002 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
12003 should never have exported to the entire system a common four letter
12004 word. But we here at NetworkManager are team players. Fixes
12007 2006-05-25 Arangel Angov <ufo@linux.net.mk>
12009 * configure.in: Added mk.po, Macedonian translation.
12011 2006-05-24 Robert Love <rml@novell.com>
12013 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
12014 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
12015 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
12017 2006-05-24 Robert Love <rml@novell.com>
12019 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
12020 libnm-util/Makefile.am, src/Makefile.am,
12021 vpn-daemons/openvpn/auth-dialog/Makefile.am,
12022 vpn-daemons/openvpn/properties/Makefile.am,
12023 vpn-daemons/pptp/auth-dialog/Makefile.am,
12024 vpn-daemons/pptp/properties/Makefile.am,
12025 vpn-daemons/vpnc/auth-dialog/Makefile.am,
12026 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
12027 user passed for --datadir, if anything, when setting the GNOME locale
12028 directory. It should be a function of the specified datadir and not
12031 2006-05-24 Robert Love <rml@novell.com>
12033 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
12034 src/NetworkManager.c: Take care to call bindtextdomain with the
12035 location of msgid files.
12036 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
12039 2006-05-22 Robert Love <rml@novell.com>
12041 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
12042 stage4_timeout on failure unless the wireless network is Ad-Hoc.
12043 99% of the time there is a real problem with wireless, and a
12044 seemingly successful connection via Zeroconf just confuses the user.
12045 And that 1% of the time the network is probably Ad-Hoc, anyhow.
12047 2006-05-22 Robert Love <rml@novell.com>
12049 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
12050 autofs on interface up if NIS is configured. On interface down, do
12053 2006-05-22 Robert Love <rml@novell.com>
12055 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
12056 to avoid calling g_object_unref() on stale pointers on error in
12057 nma_icons_free(). This happens because we short-circuit loaded the
12058 icons on the first failure but then free all icons. Normally we have
12059 no issue because the icons were zero'ed out malloc, but we have stale
12060 pointer data after nma_icon_theme_changed().
12061 * gnome/applet/main.c: Return error code if nma_new() failed.
12063 2060-05-21 Dan Williams <dcbw@redhat.com>
12065 * initscript/NetworkManager.in
12066 - Ensure both dhcdbd and named are started before NM
12068 2006-05-21 Dan Williams <dcbw@redhat.com>
12071 - Bump version to 0.7 to signify we are in 0.7 development
12073 2006-05-21 Dan Williams <dcbw@redhat.com>
12075 Patch from Adam Schreiber <sadam@clemson.edu>
12076 * gnome/vpn-properties/nm-vpn-properties.c
12077 - (main): correct Gnome program name (gnome.org #342498)
12079 2006-05-21 Dan Williams <dcbw@redhat.com>
12081 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12083 * src/NetworkManagerDbus.[ch]
12084 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12085 clarify that function's argument should be an escaped dbus object
12086 path, and look for path segment end before returning a match
12087 * src/nm-dbus-nm.c:
12088 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12090 2006-05-17 Robert Love <rml@novell.com>
12092 Functionality to differentiate Ad-Hoc networks from infrastructure
12093 networks in the applet, by displaying a special icon:
12094 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12095 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12096 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12097 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12098 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12099 networks, encrypted or not.
12100 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12101 accessor functions to get and set the mode of a given network,
12102 wireless_network_get_mode() and wireless_network_set_mode().
12104 2006-05-17 Robert Love <rml@novell.com>
12106 Functionality to automatically add BSSIDs to the allowed-MAC list as
12107 one roams from access point to access point on a given network:
12108 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12109 helper function to compare two ether_addr structures and return TRUE
12110 if they contain the same MAC address.
12111 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12113 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12114 stored with the current AP. If the BSSID has indeed changed, we
12115 send it out to the applet, allowing the allowed-MAC list to grow
12116 automatically in response to roaming.
12118 2006-05-16 Robert Love <rml@novell.com>
12120 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12121 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12123 2006-05-13 Dan Williams <dcbw@redhat.com>
12125 * src/nm-device-802-3-ethernet.c
12126 - (real_get_generic_capabilities): Don't ignore devices that can't do
12127 carrier detect (Debian bug #366373)
12129 2006-05-11 Dan Williams <dcbw@redhat.com>
12131 Patch from Michael Biebl <biebl@teco.edu>
12132 * src/backends/NetworkManagerDebian.c
12133 - Debian backend fixups
12135 2006-05-10 Robert Love <rml@novell.com>
12137 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12139 2006-05-09 Robert Love <rml@novell.com>
12141 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12142 private certificate passphrase, if any, in the GNOME Keyring.
12143 * libnm-utils/dbus-helpers.c: Update.
12145 2006-05-05 Dan Williams <dcbw@redhat.com>
12147 * src/nm-device-802-11-wireless.c
12148 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12149 nm_device_802_11_wireless_disable_encryption() since that's all
12150 we use it for anymore; we don't ever set WEP keys ourselves.
12151 - (real_deactivate_quickly): reset SSID and encryption keys
12152 - (real_deactivate): move SSID and encryption key reset to
12153 real_deactivate_quickly(), which gets run before us anyway
12155 2006-05-05 Robert Love <rml@novell.com>
12157 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12158 root has a wacky default of its own (or, more common, a user has a
12159 bad umask and uses su/sudo to restart NetworkManager). Anything
12160 other than 0022 does not do what we want with, for example,
12161 resolv.conf. This problem is amplified by our judicious use of
12162 fopen(), which uses mode 0666 -- implying that the only way to get
12163 the permissions we want is with a umask of 0022.
12165 2006-05-05 Dan Williams <dcbw@redhat.com>
12167 * gnome/libnm_glib/libnm_glib.c
12168 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12169 to reconnect; instead wait a bit more with each reconnect attempt
12170 up to a max of one minute.
12172 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12174 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12175 the WirelessNetwork structure using the proper function instead of
12176 just casting it directly to (const char *) (gnome.org #336991)
12178 2006-05-03 Robert Love <rml@novell.com>
12180 * src/backends/NetworkManagerSuSE.c: Respect the variable
12181 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12182 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12183 to dynamically update /etc/resolv.conf.
12185 2006-05-02 Peter Jones <pjones@redhat.com>
12187 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12189 2006-05-02 Robert Love <rml@novell.com>
12191 Patch by Timo Hoenig;
12192 * tests/nm-online.c: Print pretty status indicator as timeout winds
12193 down. Also fix possible race between DBUS startup and failure
12196 2006-05-01 Robert Love <rml@novell.com>
12198 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12201 2006-04-27 Jeremy Katz <katzj@redhat.com>
12203 * src/nm-device.c (discover_device_type): Actually use the hal
12204 device type instead of ioctl poking
12206 2006-04-26 Robert Love <rml@novell.com>
12208 * tests/nm-online.c: New file. Simple utility that returns exit status
12209 noting whether the connection is offline or online. If offline on
12210 start, it waits 30 seconds (or a command-line given value) for an
12211 online signal. If it times out, it again returns offline. This is
12212 useful for scripts that want to wait for network connections.
12214 2006-04-25 Robert Love <rml@novell.com>
12216 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12217 key mode (the authentication algorithm), e.g. open or shared, when we
12218 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12219 only shared was broken. If the user specified a shared key, set it
12220 explicitly, otherwise let wpa_supplicant go with the default.
12222 2006-04-24 Dan Williams <dcbw@redhat.com>
12224 * src/nm-device-802-11-wireless.c
12225 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12227 2006-04-24 Dan Williams <dcbw@redhat.com>
12229 Commit the async scanning patch
12231 * src/nm-device-802-11-wireless.c
12232 - get rid of scan_mutex
12233 - (wireless_event_helper): act on wireless scan events
12234 - (real_start): schedule a pending scan
12235 - (link_to_specific_ap): fake the link to the AP during a scan
12236 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12237 strength during scans
12238 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12239 nm_device_set_bitrate): unused with new scanning code, disable
12240 - (nm_device_wireless_schedule_scan): removed
12241 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12242 - (request_and_convert_scan_results): new function; retrieve scan
12243 results from the driver and schedule the processing function
12244 - (scan_results_timeout): timeout triggered when card doesn't send
12245 a scan results wireless event during a certain interval
12246 - (schedule_scan_results_timeout): new function; schedule the scan
12248 - (cancel_scan_results_timeout): new function; cancel the scan
12250 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12251 to do the scanning. Otherwise, just request a scan but don't
12252 grab results here; instead schedule a timeout for scan results and
12253 let netlink notify us of scan completion events
12254 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12255 - (cancel_pending_scan): new function; cancel a pending wireless scan
12256 - (supplicant_status_cb): ignore disconnect events while scanning
12257 - (supplicant_exec): wait a bit longer for the supplicant to start up
12258 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12260 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12262 2006-04-24 Dan Williams <dcbw@redhat.com>
12264 * gnome/applet/applet-dbus.c
12265 - Disable the pending call debug stuff, seems under control now
12267 2006-04-20 Robert Love <rml@novell.com>
12269 Fix bug where hidden ESSID's would not show up in the applet, even
12270 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12271 because nm_policy_device_list_update_from_allowed_list() would merge
12272 the data, putting a name to the hidden networks, but never notify NMI
12273 of the changes. Simple fix is to invoke the function
12274 nm_dbus_signal_wireless_network_change() if we make a mapping.
12275 * src/NetworkManagerAPList.c: Call the function
12276 nm_dbus_signal_wireless_network_change() if we made a successful
12277 BSSID to ESSID mapping, notifying the applet of the "new" network.
12278 * src/NetworkManagerAPList.h: Update the prototypes for both
12279 nm_ap_list_copy_essids_by_address() and
12280 nm_ap_list_copy_one_essid_by_address().
12282 2006-04-20 Robert Love <rml@novell.com>
12284 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12285 not set. Just return zero.
12287 2006-04-20 Robert Love <rml@novell.com>
12289 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12290 only one copy of nm-vpn-properties is running at a time via the 'ol
12291 X selection trick. This prevents the user from opening two "VPN
12292 Connections" windows from within the applet, which leads to mass
12294 * clipboard.c: New file, implementing simple X selection logic.
12295 * clipboard.h: New file.
12296 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12298 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12300 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12302 initscript/Gentoo/Makefile.am
12303 initscript/Gentoo/NetworkManagerDispatcher.in
12305 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12308 2006-04-16 Dan Williams <dcbw@redhat.com>
12310 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12312 initscript/Slackware/Makefile.am
12313 initscript/Slackware/rc.networkmanager-dispatcher.in
12314 initscript/Slackware/rc.networkmanager.in
12315 - Update slackware initscripts
12317 2006-04-10 Robert Love <rml@novell.com>
12319 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12320 the "delete_event" signal on the druid's parent window and handle it
12321 our way, lest using the WM to close the druid results in a series of
12322 bloody and ultimately lethal errors.
12324 2006-04-10 Robert Love <rml@novell.com>
12326 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12327 'Back' too or else the 'Forward' option is initially disabled despite
12330 2006-04-06 Robert Love <rml@novell.com>
12332 Fix bad but simple bug where an active modem connection did not update
12333 NM's connection state, breaking any app that did online/offline:
12334 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12335 represented whether a dial up connection is active, or not.
12336 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12337 to modem activation and deactivation.
12338 * src/NetworkManagerDbus.c: When asked our state, do not return
12339 disconnected if the modem is active.
12341 2006-04-04 Robert Love <rml@novell.com>
12343 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12344 applet. It just confuses the crap out of people and does not make a
12345 lot of sense, as the daemon still runs.
12347 2006-04-02 Tor Krill <tor@krill.nu>
12349 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12350 in start of service.
12351 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12352 get Archlinux backend up to date.
12354 2006-03-29 Robert Love <rml@novell.com>
12356 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12357 to add support for per-route MSS and improve support for per-interface
12359 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12360 optionally take an MSS parameter and set it for the given route.
12361 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12362 NMIP4Config's stored MSS, if any.
12363 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12364 the interface's MTU and the route's MSS, respectively. Add functions
12365 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12366 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12368 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12369 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12370 nm_ip4_config_set_mss.
12371 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12373 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12374 Change the retval of nm_system_get_mtu to guint32.
12375 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12376 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12377 servers can specify MTU's, we should set it here if the MTU was not
12380 2006-03-27 Jürg Billeter <j@bitron.ch>
12383 * initscript/Makefile.am:
12384 * initscript/paldo/Makefile.am:
12385 * initscript/paldo/NetworkManager.in:
12386 * initscript/paldo/NetworkManagerDispatcher.in:
12387 * src/backends/Makefile.am:
12388 * src/backends/NetworkManagerPaldo.c:
12389 - Add paldo support
12391 2006-03-27 Dan Williams <dcbw@redhat.com>
12393 Patch from Christian Persch <chpe@gnome.org>
12394 * gnome/applet/applet.glade
12395 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12397 2006-03-27 Dan Williams <dcbw@redhat.com>
12399 Patch from Diffe <diffie@blazebox.homeip.net>
12400 * src/backends/NetworkManagerSlackware.c
12401 - Don't restart howl, since it's been replaced by Avahi
12402 in most distributions
12404 2006-03-27 Dan Williams <dcbw@redhat.com>
12406 Patch from Tor Krill <bugzilla@krill.nu>
12408 initscript/Makefile.am
12409 src/backends/Makefile.am
12410 src/backends/NetworkManagerArch.c
12411 initscript/Arch/Makefile.am
12412 initscript/Arch/networkmanager-dispatcher.in
12413 initscript/Arch/networkmanager.in
12414 - Add Arch Linux support, fixes gnome.org #335147
12416 2006-03-27 Dan Williams <dcbw@redhat.com>
12418 Patch from Diffe <diffie@blazebox.homeip.net>
12419 * initscript/Slackware/rc.networkmanager
12420 - update, fixed gnome.org #333368
12422 2006-03-27 Robert Love <rml@novell.com>
12424 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12425 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12427 2006-03-27 Robert Love <rml@novell.com>
12429 Patch by Jürg Billeter <j@bitron.ch>:
12430 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12432 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12433 as we prefer glibc over kernel headers, if possible.
12435 2006-03-27 Robert Love <rml@novell.com>
12437 Patch by Jon Escombe <list@dresco.co.uk>:
12438 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12439 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12440 fail, don't bail out. We don't expect all of the various WPA-EAP
12441 values to be present.
12442 * src/nm-ap-security.c: We need to match all capabilities for each
12443 encryption type, not any one of them.
12445 2006-03-27 Robert Love <rml@novell.com>
12447 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12448 restart, not reload, ypbind. Unfortunately there is no superior
12451 2006-03-24 Christopher Aillon <caillon@redhat.com>
12453 * gnome/applet/applet-notifications.c:
12454 When displaying a notification, make sure to get rid of the
12455 previous notification so as to not have competing bubbles,
12456 and stop leaking the old one.
12458 * gnome/applet/applet.c:
12459 * gnome/applet/applet.h:
12460 Add a new 'notification' member to the applet, and zero it out
12461 and free it appropriately.
12463 2006-03-23 Robert Love <rml@novell.com>
12465 Patch by j <j@bootlab.org>:
12466 * gnome/applet/applet.glade: Don't set the invisible_char property,
12467 which simply overrides the GTK default. By and by, this behavior
12468 ought to be fixed in Glade.
12470 2006-03-22 Robert Love <rml@novell.com>
12472 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12474 2006-03-22 Robert Love <rml@novell.com>
12476 Bug fix by Timo Hoenig <thoenig@suse.de>:
12477 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12478 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12479 and the applet going AWOL.
12481 2006-03-22 Robert Love <rml@novell.com>
12483 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12484 preprocessor define and use it instead of open-coded the DHCP
12485 timeout, which is currently 25 seconds, everywhere.
12487 2006-03-22 Robert Love <rml@novell.com>
12489 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12490 key exchange via WPA, ostensibly providing good security without
12491 requiring hardware that supports full WPA. Also, add UI elements to
12492 allow the user to select the pairwise & group cipher for WPA Enterprise
12494 * gnome/applet/applet.glade: Update glade file.
12495 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12496 key type, too, to and from gconf.
12497 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12498 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12499 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12500 the capabilities match.
12501 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12503 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12504 serialize from UI to DBUS.
12505 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12507 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12508 nmu_security_serialize_wpa_eap_with_cipher(), and
12509 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12510 serialize/deserialize the key type via DBUS as the new third DBUS
12512 * libnm-util/dbus-helpers.h: Update prototypes.
12513 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12514 too. If the key type is WEP104, do Dynamic WEP, which means
12515 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12516 pairwise and group ciphers (fixes a FIXME).
12518 2006-03-21 Robert Love <rml@novell.com>
12520 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12521 nm_system_get_mtu(), which returns a user-provided or system-mandated
12522 MTU value for a given device, if any, or zero if no such value
12523 exists. Add nm_system_set_mtu() to set the MTU for a given device
12524 if we have a provided value.
12525 * src/nm-device.c: Set the MTU of devices.
12526 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12527 * src/backends/NetworkManagerDebian.c,
12528 src/backends/NetworkManagerGentoo.c,
12529 src/backends/NetworkManagerRedHat.c,
12530 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12532 2006-03-21 Robert Love <rml@novell.com>
12534 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12535 configuration file.
12537 2006-03-17 Robert Love <rml@novell.com>
12539 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12540 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12541 it, in case it is not running in the first place. We just want its
12542 configuration reloaded. Also, do not "rcypbind stop" on device down.
12544 2006-03-15 Robert Love <rml@novell.com>
12546 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12547 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12548 label "WEP 40/128-bit" is inconsistent because the physical key size
12549 is 40 or 104-bits, to which a 24-bit initialisation vector is
12550 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12551 to read "40/104" or "64/128". I do not care much which, but most
12552 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12553 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12554 WEP passphrase support only handles 128-bit keys, and any future
12555 64-bit passphrase support will require a new option (no way to auto-
12556 detect the target key size), explicitly label our passphrase support
12557 "WEP 128-bit Passphrase".
12559 2006-03-15 Robert Love <rml@novell.com>
12561 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12562 the system init scripts (or some other mechanism) starting it (or a
12563 compatible DBUS service) before NetworkManager runs. This means that
12564 distributions might need to update their init scripts. This fixes
12565 possible races and is quite a bit cleaner.
12566 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12567 starting the NetworkManager daemon.
12570 2006-03-14 Robert Love <rml@novell.com>
12572 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12573 before adding anything.
12575 2006-03-13 Robert Love <rml@novell.com>
12577 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12578 widgets, too, if they exist, in case the user hit the back button.
12579 Fixes a bug where the details page contains the widgets of multiple
12580 VPN modules (Novell bug #157048).
12582 2006-03-13 Robert Love <rml@novell.com>
12584 Patch by Timo Hoenig <thoenig@suse.de>:
12585 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12586 daemon survive DBUS restarts, too.
12588 2006-03-10 Robert Love <rml@novell.com>
12590 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12592 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12593 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12594 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12595 in response to "toggled" signal on new toggle.
12597 2006-03-10 Robert Love <rml@novell.com>
12599 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12600 serialization if strings are NULL, lest DBUS get angry.
12602 2006-03-10 Robert Love <rml@novell.com>
12604 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12606 2006-03-09 Robert Love <rml@novell.com>
12608 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12611 2006-03-09 Dan Williams <dcbw@redhat.com>
12613 Track pending call requests in the applet, and report how many are
12614 outstanding, and how long each completed one takes.
12616 * gnome/applet/applet-dbus-devices.c
12617 gnome/applet/applet-dbus-vpn.c
12618 - Track pending calls
12620 * gnome/applet/applet-dbus.[ch]
12621 - Remove some unused enums
12622 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12623 new functions to track dbus pending calls and spit out some
12624 statistics about them
12626 2006-03-09 Robert Love <rml@novell.com>
12628 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12629 nm_ap_set_timestamp() take the second and micro-second parameters as
12630 direct arguments, which avoids both a dynamic memory allocation and a
12631 structure-to-structure copy! Add a new interface, the aptly named
12632 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12633 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12634 the return from nm_ap_get_timestamp(). New users should use the new
12635 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12636 the extreme benefit to performance.
12637 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12638 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12640 2006-03-08 Robert Love <rml@novell.com>
12642 * gnome/applet/applet.glade: Hide the password entry text with
12645 2006-03-08 Robert Love <rml@novell.com>
12647 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12648 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12649 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12650 a second argument, NMData.
12651 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12652 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12653 config files as trusted.
12655 2006-03-06 Robert Love <rml@novell.com>
12657 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12658 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12659 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12660 Rivera, detect if the applet was auto-started. If so, ask the user
12661 if he or she would like to stop automatically running the applet on
12662 login. If so, disable autostart.
12664 2006-03-06 Robert Love <rml@novell.com>
12666 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12667 directory in CFLAGS so developers can actually use NetworkManager.h.
12669 2006-03-06 Robert Love <rml@novell.com>
12671 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12672 open-coded integer constants. Add state_to_string() to map a given
12673 state to a textual description, and provide that when notifying of
12675 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12676 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12677 this header directly, but it is currently not installed on most
12680 2006-03-05 Dan Williams <dcbw@redhat.com>
12682 Process netlink messages in device subclasses rather than in
12683 NetworkManager.c. Also add support for recognizing Wireless Events.
12686 - Find GLIB_GENMARSHAL
12689 - Since we're marshalling custom types for wireless event signals,
12690 we get to create our own marshallers using GLIB_GENMARSHAL
12692 * src/NetworkManager.c
12693 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12694 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12695 cut down somewhat. We no longer process signals here.
12696 - (nm_data_new): create the netlink monitor here, and remove a
12697 useless call to nm_policy_schedule_device_change_check()
12698 - (nm_data_free): get rid of the netlink monitor here
12699 - (nm_device_link_activated, nm_device_link_deactivated): removed
12700 - (main): don't create the netlink monitor here, let nm_data_new
12701 do that. Call nm_policy_schedule_device_change_check() right
12702 before we jump to the mainloop to figure out which device
12705 * src/NetworkManagerSystem.[ch]
12706 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12707 convert back and forth from interface names to interface
12710 * src/nm-device-802-11-wireless.c
12711 - (real_init): connect to wireless-event signals from the netlink
12713 - (nm_device_802_11_wireless_event): new function, schedule handler
12714 for wireless event signals from the netlink monitor object. We
12715 want the handler to run in the device's context
12716 - (wireless_event_helper): handle wireless-event signals from netlink
12717 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12720 * src/nm-device-802-11-wireless.h
12721 - remove unused prototype for nm_device_802_11_wireless_new
12723 * src/nm-device-802-3-ethernet.c
12724 - (real_init): new function; set up signal handlers for link events
12725 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12726 handler for netlink link activated events on device's main loop
12727 - (link_activated_helper): when we get a link activated event, set
12728 the device's link to be active
12729 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12730 handler for netlink link deactivated events on device's main loop
12731 - (link_deactivated_helper): when we get a link deactivated event, set
12732 the device's link to be inactive
12733 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12736 * src/nm-device-802-3-ethernet.h
12737 - remove unused prototype for nm_device_802_3_ethernet_new
12739 * src/nm-device.[ch]
12740 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12741 but locks the device list
12742 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12744 * src/nm-netlink-monitor.[ch]
12745 - (nm_netlink_monitor_class_install_signals): New signal
12747 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12749 - (nm_netlink_monitor_event_handler): expand for wireless events too
12751 * src/nm-marshal-main.c
12752 - Include generated nm-marshal.c and nm-marshal.h
12754 * src/nm-marshal.list
12755 - List of custom marshal functions
12757 2006-03-05 Dan Williams <dcbw@redhat.com>
12759 * gnome/applet/applet-notifications.h
12760 - Protect prototype of nma_send_event_notification() because it
12761 includes libnotify-specific types
12762 - Include libnotify/libnotify.h too, since we technically need it
12764 * gnome/applet/applet.c
12765 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12766 - (nma_show_vpn_login_banner_dialog): add some error checking
12768 2006-03-04 Dan Williams <dcbw@redhat.com>
12770 Clean up activation cancellation. Should be a lot faster now. Observed
12771 an issue with wireless devices between stage 2 and 3 of activation, where
12772 activation would be cancelled, but the device thread wouldn't notice until
12773 the supplicant association timed out. Reorganize activation such that
12774 a cancellation handler gets immediately scheduled in the device's thread,
12775 and devices have a chance to perform any custom cleanup too.
12777 * src/nm-device.[ch]
12778 - (activation_cancel_handler): new device-type-specific function
12779 for cleaning up device-type-specific stuff on cancellation
12780 - (cancel_activation): removed
12781 - (nm_device_activation_cancel): subsume functionality of
12782 real_cancel_activation, but instead of doing anything, punt
12783 operation to a handler that's run in device-thread context
12784 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12786 - (activation_handle_cancel_helper): cancellation handler run in
12787 device-thread context, calls device-type-specific cancelation,
12788 then tears down the activation request
12789 - (real_activation_cancel_handler): generic cancellation handler,
12790 deals with cancelling any in-process DHCP request
12791 - (nm_device_activate_stage1_device_prepare,
12792 nm_device_activate_stage2_device_config,
12793 nm_device_activate_stage3_ip_config_start,
12794 nm_device_activate_stage4_ip_config_get,
12795 nm_device_activate_stage4_ip_config_timeout,
12796 nm_device_activate_stage5_ip_commit): don't call
12797 nm_device_schedule_activation_handle_cancel() any more, since
12798 cancellation will have been already scheduled for us by
12799 nm_device_activation_cancel(). Just exit the function and
12800 assume that the cancel handler will be called next.
12802 * src/nm-device-802-3-ethernet.c
12803 - (real_act_stage2_config): remove; didn't do anything anyway
12805 * src/nm-device-802-11-wireless.c
12806 - (supplicant_status_cb): ensure we don't do anything if the activation
12808 - (real_activation_cancel_handler): implement; cancel user key request
12809 on activation cancellation
12811 2006-03-04 Dan Williams <dcbw@redhat.com>
12813 * src/nm-device-802-11-wireless.c
12814 - (supplicant_send_network_config): assume that drivers that don't
12815 support WPA pretty much suck, and can't handle NM scanning
12816 along with wpa_supplicant.
12818 2006-03-03 Robert Love <rml@novell.com>
12820 * configure.in: Bump version to 0.6.0.
12823 2006-03-03 Robert Love <rml@novell.com>
12825 * configure.in: Require DBUS 0.60 or later.
12827 2006-03-03 Dan Williams <dcbw@redhat.com>
12829 Fix a crash if an "Other wireless network" was chosen, failed, then
12830 chosen again from the applet's menu. If the other network wasn't
12831 noticed in a scan, it wouldn't have any capabilities, but would still
12832 be listed because the user forced the network. To fix this, we set
12833 sensible capabilities on the forced network, which will get overwritten
12834 with the correct ones if the network shows up later in a scan.
12836 * src/nm-ap-security.h
12837 - Add a new "get_default_capabilities_func" member to the
12840 * src/nm-ap-security.c
12841 - (nm_ap_security_get_default_capabilities): new function
12843 * src/nm-ap-security.c
12844 src/nm-ap-security-wep.c
12845 src/nm-ap-security-wpa-psk.c
12846 src/nm-ap-security-wpa-eap.c
12847 - Implement get_default_capabilities_func() for all, which
12848 uses the information contained in a specific NMAPSecurity
12849 object to determine default AP capabilites necessary
12850 to support that object
12852 As a secondary measure, we now prune artificial access points that fail
12853 to be activated right away. The thing failed, and we have no scan data for
12854 it, so it's pretty much useless since security information is only saved
12855 in the applets when a connection is successful.
12857 * src/NetworkManagerAPList.c
12858 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12859 not artificial. If we see it, it's no longer a figment of the
12860 user's imagination :)
12862 * src/NetworkManagerPolicy.c
12863 - (nm_policy_activation_failed): send along the failed AP if we
12866 * src/nm-device-802-11-wireless.c
12867 - (real_activation_failure_handler): remove artificial APs from
12868 the device list, because activation failed
12870 2006-03-02 Robert Love <rml@novell.com>
12872 Add support for retrieving both the per-device speed and the
12873 per-network maximum supported rate. Then change the getProperties
12874 DBUS API for both networks and devices to report this informaiton.
12875 Finally, display the information via both nm-applet and nm-tool:
12876 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12878 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12879 Information' dialog.
12880 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12881 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12882 network_device_get_speed() and network_device_set_speed() for
12883 retrieving and setting, respectively, a network device's current
12885 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12886 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12887 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12888 not matter (yet) what the units are, because we only feed it its own
12889 output. Implement SIOCGIRATE and set the per-network maximum
12890 supported rate during scanning.
12891 * src/nm-device-802-11-wireless.h: Export the function
12892 nm_device_802_11_wireless_get_bitrate().
12893 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12894 function nm_device_802_3_ethernet_get_speed() for returning an
12895 802.3's current speed, in Mb/s.
12896 * test/nm-tool.c: Display the per-device current speed, if available,
12897 and the per-network maximum rate.
12899 2006-03-02 Dan Williams <dcbw@redhat.com>
12901 * src/nm-device-802-11-wireless.c
12902 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12903 card when it gets initialized. Since devices don't get added to
12904 the scan list until they are initialized, this function wasn't
12905 setting the intitial scan interval correctly, and was leaving
12906 it at 0. This caused cards to get many scan requests in a short
12907 amount of time when they were initialized
12909 2006-03-02 Robert Love <rml@novell.com>
12911 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12912 active device. But do not do what we used to do and override the
12913 state, which caused the dreaded icon race of '05.
12915 2006-03-02 Robert Love <rml@novell.com>
12917 Commit Dan's update of my previous commit:
12918 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12919 set_mode() function itself does the check. But do only set the
12920 frequency if in Ad-Hoc mode.
12922 2006-03-02 Robert Love <rml@novell.com>
12924 Patch by Brian Magnuson <magnuson@rcn.com>:
12925 * src/nm-device-802-11-wireless.c: During scanning, only set the
12926 wireless mode to infrastructure if it is not currently in
12927 infrastructure mode. For some driver, setting the mode is a costly
12928 operation, apparently.
12930 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12932 * Makefile.am: use the correct dir for autostart mechanism.
12934 2006-02-28 Dan Williams <dcbw@redhat.com>
12936 Patch from Brian Magnuson <magnuson@rcn.com>
12937 * gnome/applet/applet.c
12938 - (nma_show_vpn_failure_dialog): fix errors left over from
12939 libnotify support changes
12941 2006-02-28 Dan Williams <dcbw@redhat.com>
12943 * src/vpn-manager/nm-vpn-act-request.[ch]
12944 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12946 - (nm_vpn_act_request_is_failed): new function; return whether or
12947 not the vpn activation request has failed
12949 * src/vpn-manager/nm-vpn-manager.c
12950 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12951 daemon to kill the connection when the activation request fails.
12952 Fixes issue where NM would get confused if the VPN activation
12953 request timed out, and would not allow further VPN connections
12956 2006-02-28 Dan Williams <dcbw@redhat.com>
12958 * gnome/applet/applet.c
12959 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12960 overlapping connection requests, disable all VPN menu items
12961 but the active VPN connection
12963 2006-02-28 Dan Williams <dcbw@redhat.com>
12965 * src/vpn-manager/nm-vpn-connection.c
12966 - (nm_vpn_connection_set_parent_device): fix C&P error which
12967 called g_object_unref() on the connection's parent device
12968 when it should have been ref-ed instead. Fixes crash with
12969 repeated vpn connect requests
12971 2006-02-28 Christopher Aillon <caillon@redhat.com>
12973 * gnome/applet/applet.glade:
12974 Mark a few strings non-translatable, since they shouldn't be.
12976 2006-02-28 Dan Williams <dcbw@redhat.com>
12978 * src/vpn-manager/nm-vpn-service.c
12979 - (nm_vpn_service_start_connection): if the vpn service daemon is
12980 already running, don't blindly ask it to connect, but wait until
12981 it's in the STOPPED state first. Fixes an assertion when user
12982 starts a second vpn connection without stopping the first.
12983 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12984 dbus service exists before continuing with the connection
12985 process, and reduce latency while waiting for it to become
12987 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12988 waiting for the vpn service daemon to become available
12989 - General log message cleanups; show progress via "Stage x of 4"
12990 rather than not telling anyone how many stages there are
12992 2006-02-28 Robert Love <rml@novell.com>
12994 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12995 * src/backends/NetworkManagerSuSE.c: Implement the interface
12996 nm_system_should_modify_resolv_conf() for SUSE.
12997 * src/backends/NetworkManagerDebian.c,
12998 src/backends/NetworkManagerGentoo.c,
12999 src/backends/NetworkManagerRedHat.c,
13000 src/backends/NetworkManagerSlackware.c: Add stub.
13001 * src/named-manager/Makefile.am: Grab includes from src.
13002 * src/named-manager/nm-named-manager.c: Allow backends to disable the
13003 automatic updating of resolv.conf. This is useful for testing,
13004 broken static configurations, and administrator lock-down.
13006 2006-02-28 Dan Williams <dcbw@redhat.com>
13008 * src/nm-device-802-11-wireless.c
13009 - Move all the wpa_supplicant-related management stuff into its
13010 own struct, just for oranization's sake
13011 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
13012 to a GIOChannel/GSource
13013 - (supplicant_log_stdout): new function; grab output from the
13014 wpa_supplicant stdout pipe and write it to our logs.
13016 2006-02-27 Christopher Aillon <caillon@redhat.com>
13018 * src/nm-device-802-11-wireless.c:
13019 Err, fix thinko in my previous commit.
13021 2006-02-28 Robert Love <rml@novell.com>
13023 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
13025 2006-02-28 Robert Love <rml@novell.com>
13027 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
13028 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
13029 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
13030 deserializers are responsible for freeing the returned DBUS strings.
13032 2006-02-27 Christopher Aillon <caillon@redhat.com>
13034 * src/nm-device-802-11-wireless.c:
13035 The scan list is being pruned prematurely. We should prune after
13036 the device has gone MIA for three scans, not one. Split out the
13037 interval to realtime seconds function to better serve this.
13039 2006-02-27 Robert Love <rml@novell.com>
13041 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
13042 Open the pid file O_TRUNC, so if it already exists we truncate it to
13043 zero length. Also, be more verbose about warnings generated during
13044 writing out the pid file. Finally, always write out the pid file if
13045 in daemon mode. Use "--pid-file" to override the default.
13047 2006-02-27 Robert Love <rml@novell.com>
13049 Patch by R. Vinay <rvinay@novell.com>:
13050 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
13051 'last_attempt_success' when removing a VPN connection, too. (Fixes
13052 Novell bug #153628).
13054 2006-02-27 Robert Love <rml@novell.com>
13056 * gnome/applet/applet.glade: Set "activates_default" on passphrase
13057 entry so user can hit <ENTER> after entering passphrase (Novell bug
13060 2006-02-27 Dan Williams <dcbw@redhat.com>
13063 - Mass search/replace of:
13065 NMWirelessApplet -> NMApplet
13066 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13067 (it ain't just for wireless anymore, ma!)
13068 - Fix duplicate function name printing when using nm_warning
13069 - wireless-applet.glade -> applet.glade
13071 2006-02-27 Dan Williams <dcbw@redhat.com>
13073 * dispatcher-daemon/NetworkManagerDispatcher.c
13074 - Accept --pid-file with a path to a pidfile, write it out on
13075 startup, and delete it on shutdown
13077 * src/NetworkManager.c
13078 - Accept --pid-file with a path to a pidfile, write it out on
13079 startup, and delete it on shutdown
13080 - Move nm_print_usage() lower
13082 * initscripts/RedHat/NetworkManager.in
13083 - Use new --pid-file option
13084 - Fix service stopping to wait a bit for NM to quit
13086 * initscripts/RedHat/NetworkManagerDispatcher.in
13087 - Use new --pid-file option
13089 2006-02-26 Dan Williams <dcbw@redhat.com>
13092 - make and install nm-crash-logger
13094 * src/nm-logging.[ch]
13095 - New files; consolidate logging and crash handling
13097 * src/nm-crash-logger.c
13099 - Standalong crashlogger for NM, grab a backtrace
13102 * src/NetworkManager.[ch]
13103 - Remove signal handling and put it into nm-logging.c
13105 2006-02-26 Dan Williams <dcbw@redhat.com>
13108 gnome/applet/Makefile.am
13109 - Conditionalize all the notify stuff
13111 Merge most of Chris Aillon's notification patch:
13113 * gnome/applet/applet-notifications.[ch]
13114 - New files; show a notification
13116 * gnome/applet/applet-dbus-devices.[ch]
13117 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13118 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13119 new functions, do the right thing when a device change occurs
13121 * gnome/applet/applet-dbus.c
13122 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13123 signals, so we can handle them specially
13125 * gnome/applet/applet.[ch]
13126 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13127 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13128 - (nmwa_notify_state): remove
13129 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13130 notification work is now done when the appropriate dbus signals
13132 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13133 defer execution of the notification/dialog stuff. That was an
13134 artifact of the previous multi-threaded nature of the applet
13135 and is now pointless.
13136 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13137 no longer needed. Function folded into applet-notifications.c
13139 * src/NetworkManagerPolicy.c
13140 - (nm_policy_activation_finish): send the AP along with the device
13141 status change signal, if the connection is wireless. Should
13142 fix the race where applet would show a connection to "unknown"
13144 2006-02-25 Robert Love <rml@novell.com>
13146 Add WPA Enterprise support:
13147 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13148 nm-gconf-wso-wpa-eap.h.
13149 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13150 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13151 serialization and deserialization.
13152 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13153 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13154 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13155 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13156 settings related to WPA Enterprise.
13157 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13158 instantiate WPA Enterprise wireless-security-option.
13159 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13160 Implement WPA Enterprise wireless-security-option object.
13161 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13163 * libnm-util/cipher-wpa-psk-hex.c,
13164 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13165 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13166 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13167 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13168 including the cipher to DBUS method, and
13169 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13171 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13172 nm-ap-security-wpa-eap.h
13173 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13174 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13175 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13176 files. Implement NMAPSecurityWPA_EAP object.
13177 * src/nm-ap-security-wpa-psk.c: Cleanup.
13178 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13179 an NMAPSecurityWPA_EAP object via the method
13180 nm_ap_security_wpa_eap_new_deserialize().
13181 * src/nm-dbus-nm.c: Cleanup.
13182 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13183 WPA Enterprise support.
13185 2006-02-24 Robert Love <rml@novell.com>
13187 Patch from Timo Hoenig <thoenig@suse.de>:
13188 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13190 2006-02-24 Robert Love <rml@novell.com>
13192 Patch from Dan Winship <danw@novell.com>:
13193 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13194 area to transparent.
13196 2006-02-21 Dan Williams <dcbw@redhat.com>
13198 * gnome/applet/applet.[ch]
13199 gnome/applet/applet-dbus.c
13200 - Implement notification support for VPN messages too
13202 2006-02-21 Dan Williams <dcbw@redhat.com>
13204 * gnome/applet/applet-dbus-info.c
13205 - Clean up warning messages to not double-print the function
13207 2006-02-21 Dan Williams <dcbw@redhat.com>
13209 * gnome/applet/applet-compat.c
13210 - (convert_one_entry): accept entries without a key_type and
13211 convert them to unencrypted networks
13213 2006-02-21 Dan Williams <dcbw@redhat.com>
13215 * gnome/libnm_glib/libnm_glib.c
13216 - Use __func__ everywhere we can
13218 - Use dbus pending calls rather than blocking
13219 - Reduce busywaits for our thread to start and stop
13220 (gnome.org #330562)
13221 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13222 stomp on others using the default shared dbus connection.
13223 Fixes #rh177546# and gnome.org #326572
13225 2006-02-21 Dan Williams <dcbw@redhat.com>
13227 Patch from Rodney Dawes <dobey@novell.com>
13229 gnome/applet/Makefile.am
13230 gnome/applet/applet.c
13231 - Add libnotify support if '--enable-notify=yes' is passed
13234 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13236 * configure.in (ALL_LINGUAS): ko added. (Korean)
13238 2006-02-15 Robert Love <rml@novell.com>
13240 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13241 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13242 and WPA_SUPPLICANT_CONTROL_SOCKET.
13244 2006-02-15 Robert Love <rml@novell.com>
13246 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13247 information about what connection stage we are at, provide the total
13248 number of stages, e.g. "Stage 2 of 5", so users know how far along
13249 they are if they experience problems.
13251 2006-02-15 Robert Love <rml@novell.com>
13253 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13254 define to $sysconfdir.
13255 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13256 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13257 type of VPN and then editing another results in a mangled dialog
13258 box containing the widgets from both VPNs (fixes Novell #150854).
13259 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13261 2006-02-14 Robert Love <rml@novell.com>
13263 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13264 syslog's file descriptor.
13266 2006-02-14 Robert Love <rml@novell.com>
13268 Fix bug around since the change to "deal with APs changing settings on
13269 us," checked in on the fifth of February in the year of the dog,
13270 wherein connecting to non-broadcast encrypted networks always fails
13271 because nm_ap_get_encrypted() always returns FALSE, even when the user
13272 provided a key, because the newly-created fake AP does not have any
13273 capabilities set, which is a sypmtom of security settings not matching
13274 capabilities (Novell bug #150784):
13275 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13276 nm_ap_add_capabilities_from_security(), which sets the given AP's
13277 capabilities off the given security settings. Also improve our
13278 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13279 NM_AUTH_CIPHER_AUTO.
13280 * src/nm-device-802-11-wireless.c: Call the function
13281 nm_ap_add_capabilities_from_security() to ensure that capabilities
13282 match newly updated security settings.
13284 2006-02-14 Robert Love <rml@novell.com>
13286 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13287 error as a string, not an integer, if possible; do not print the
13288 function name twice; always give the interface, if possible; misc.
13291 2006-02-12 Dan Williams <dcbw@redhat.com>
13293 Patch from Tom Parker <palfrey@tevp.net>
13294 * src/NetworkManagerSystem.h
13295 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13298 * src/backends/NetworkManagerDebian.c
13299 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13302 2006-02-12 Dan Williams <dcbw@redhat.com>
13304 * vpn-daemons/openvpn/intltool-extract.in
13305 vpn-daemons/openvpn/intltool-merge.in
13306 vpn-daemons/openvpn/intltool-update.in
13307 vpn-daemons/pptp/intltool-extract.in
13308 vpn-daemons/pptp/intltool-merge.in
13309 vpn-daemons/pptp/intltool-update.in
13310 - Remove from CVS, they should get created by intltoolize,
13313 2006-02-12 Dan Williams <dcbw@redhat.com>
13315 * vpn-daemons/pptp/src/pppd/patchlevel.h
13316 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13317 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13318 Makefile-defined VERSION
13320 2006-02-09 Dan Williams <dcbw@redhat.com>
13322 Patch from: Vinay A R <rvinay@novell.com>
13323 * src/vpn-manager/nm-vpn-act-request.[ch]
13324 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13325 IPSec VPNs require them for std gateway.
13326 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13327 and 'user_routes_count'
13328 - (nm_vpn_act_request_get_user_routes): new function; gets user
13329 defined routes from NMVPNActRequest object, returns the string
13332 * src/vpn-manager/nm-vpn-manager.[ch]
13333 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13334 for 'user_routes' and 'user_routes_count'
13336 * src/vpn-manager/nm-dbus-vpn.c
13337 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13338 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13340 * src/vpn-manager/nm-vpn-service.c
13341 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13344 Modifications by Dan:
13345 * src/vpn-manager/nm-vpn-service.c
13346 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13349 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13350 * vpn-daemons/pptp/src/nm-pptp-service.c
13351 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13352 - Grab user routes from dbus message
13353 - Free all string arrays we got from dbus
13355 2006-02-07 Robert Love <rml@novell.com>
13357 Patch by Stefan Seyfried <seife@suse.de>:
13358 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13360 2006-02-06 Robert Love <rml@novell.com>
13362 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13364 2006-02-06 Robert Love <rml@novell.com>
13366 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13367 test ">=" is never false. If no newline is found, we loop forever.
13368 We can just check for ">" because the following if() will see the
13369 zero-th argument if the while() gets that far.
13371 2006-02-05 Dan Williams <dcbw@redhat.com>
13373 Refine handling of non-broadcast networks.
13375 * src/NetworkManagerAPList.c
13376 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13377 property from scanned AP to the AP from the device list
13379 * src/nm-device-802-11-wireless.c
13380 - (supplicant_send_network_config): use ap_scan=1 for all networks
13381 except non-SSID-broadcasting and Ad-Hoc networks. Use
13382 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13383 networks since those don't have APs.
13384 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13385 AP as non-SSID-broadcasting
13386 - (process_scan_results): don't handle non-SSID-broadcasting here
13388 2006-02-05 Dan Williams <dcbw@redhat.com>
13390 * src/nm-device-802-11-wireless.c
13391 - (get_supplicant_timeout): new function; return
13392 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13393 14 channels. These are likely a/b/g cards, like Atheros, and
13394 slow as hell to scan.
13395 - (supplicant_timeout_cb, supplicant_monitor_start): use
13396 get_supplicant_timeout()
13398 2006-02-05 Dan Williams <dcbw@redhat.com>
13400 * src/dhcp-manager/nm-dhcp-manager.c
13401 - Loose a commit race with Robert; make sure size check
13402 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13404 2006-02-05 Robert Love <rml@novell.com>
13406 Patch by Christoph Brill <chrisbrill@gmx.net>:
13407 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13408 with DHCP_SERVICE_NAME.
13410 2006-02-05 Dan Williams <dcbw@redhat.com>
13412 Remove anything having to do with device_setup_func from the
13413 AP security objects, since it's no longer used.
13415 * src/nm-ap-security.h
13416 - Kill device_setup_func and nm_ap_security_device_setup()
13418 * src/nm-ap-security-wep.c
13419 src/nm-ap-security-wpa-psk.c
13420 - (real_device_setup): remove
13422 * src/nm-ap-security.c
13423 - (real_device_setup): remove
13424 - (nm_ap_security_device_setup): remove
13426 * src/nm-device-802-11-wireless.[ch]
13427 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13428 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13429 and done by wpa_supplicant now anyway
13431 2006-02-05 Dan Williams <dcbw@redhat.com>
13433 * src/nm-device-802-11-wireless.c
13434 - (ap_need_key, real_act_stage2_config): deal with APs changing
13435 settings on us. Previously NM would loop asking for the
13436 key but getting the same one back. Now, if the NMI-supplied
13437 cipher doesn't overlap with the scanned AP capabilities,
13438 we request a completely new key from the user.
13440 2006-02-05 Dan Williams <dcbw@redhat.com>
13442 * src/NetworkManagerUtils.c
13443 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13444 Handle newline killing better
13446 2006-02-05 Dan Williams <dcbw@redhat.com>
13448 * gnome/applet/nm-gconf-wso.c
13449 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13450 of unencrypted access point security info.
13452 2006-02-03 Robert Love <rml@novell.com>
13454 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13455 user's encryption key, so we print the err_msg_cmd not the command,
13456 if available. So long as SUPPLICANT_DEBUG is default, this makes
13459 2006-02-03 Christopher Aillon <caillon@redhat.com>
13461 * initscript/RedHat/NetworkManagerDispatcher.in:
13462 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13463 Patch from Dan Walsh <dwalsh@redhat.com>
13465 2006-02-03 Robert Love <rml@novell.com>
13467 * dispatcher-daemon/NetworkManagerDispatcher.c,
13468 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13469 but use the sysconfdir.
13471 2006-02-03 Robert Love <rml@novell.com>
13473 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13474 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13476 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13477 nm_ip4_config_get_hostname() and
13478 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13479 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13480 leak g_strdup() result.
13482 2006-02-03 Robert Love <rml@novell.com>
13484 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13485 broadcast == TRUE. Also, copy broadcast and artificial properties
13486 from source network to destination in nm_ap_copy().
13487 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13488 since we now default new networks to non-hidden.
13490 2006-02-03 Dan Williams <dcbw@redhat.com>
13492 * gnome/applet/main.c
13493 - (main): change the NEVER->ALWAYS so we start at the
13494 beginning of the session, if being session-managed
13496 2006-02-03 Dan Williams <dcbw@redhat.com>
13498 * gnome/applet/main.c
13499 - (main): in a variation on Robert's patch, change
13500 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13503 2006-02-02 Robert Love <rml@novell.com>
13505 * src/Makefile.am: If we aren't going to create the run directory at,
13506 uh, run-time, create it during install. Then users just doing
13507 'make install' are cool, too. While we are here, create the
13508 dispatcher.d directory, too.
13509 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13510 the exact run directory.
13511 * Makefile.am: Install nm-applet.desktop.
13513 2006-02-02 Robert Love <rml@novell.com>
13515 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13516 structure, which denotes whether or not the AP is hidden. This is a
13517 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13518 can show up in the scan list. Add nm_ap_get_broadcast() and
13519 nm_ap_set_broadcast() accessor interfaces.
13520 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13521 nm_ap_set_broadcast().
13522 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13523 "getProperties" method, which denotes whether or not the given
13525 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13526 an artificial network. Set broadcast to TRUE when scanning returns
13527 an ESSID and FALSE when not.
13528 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13529 from "getProperties" method on a network. Possible TODO is to
13530 somehow display this.
13531 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13533 2006-02-02 Dan Williams <dcbw@redhat.com>
13535 * src/nm-device-802-11-wireless.c
13536 - (supplicant_interface_init): don't try to create
13537 /var/run/NetworkManager, since that should be done by
13538 the distro package. Causes problems for stuff like SELinux
13540 2006-02-02 Robert Love <rml@novell.com>
13542 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13543 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13544 Check for and handle empty string for iface.
13546 2006-02-01 Robert Love <rml@novell.com>
13548 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13551 2006-01-31 Dan Williams <dcbw@redhat.com>
13553 * nm-applet.desktop
13554 - Add --sm-disable to Exec arguments, presuming that when
13555 using autostart, we don't want session management
13557 2006-01-31 Robert Love <rml@novell.com>
13559 * src/NetworkManagerAP.c: Add two new manufacturer default network
13560 names: linksys-a and linksys-g. These are found (at least) on the
13561 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13564 2006-01-31 Robert Love <rml@novell.com>
13566 * src/NetworkManagerAP.c: Optimize the function
13567 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13568 machine code. This is the first in a series of code tweaks aiming to
13569 generate better machine code and make NetworkManager all the better.
13570 Just kidding. Who has time to go through the assembly generated for
13571 every function? I certainly don't. I have a wife, a kid, a job,
13572 a mortgage, a mistress. But this function was so bad, I was called
13573 to arms. Like the book.
13575 2006-01-31 Robert Love <rml@novell.com>
13577 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13578 AP is not broadcasting, to scan with probe request frames. Required
13579 for non-broadcast networks.
13581 2006-01-31 Robert Love <rml@novell.com>
13583 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13584 preprocessor define (still 20s). Fix message text in nm_info()
13585 s/too too/took too/.
13587 2006-01-30 Dan Williams <dcbw@redhat.com>
13589 * src/nm-device-802-11-wireless.c
13590 - (supplicant_monitor_start): increase connect/auth timeout to
13591 20 seconds from 10 seconds
13593 2006-01-30 Dan Williams <dcbw@redhat.com>
13596 - Define LOCALSTATEDIR
13598 * src/nm-device-802-11-wireless.c
13599 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13600 socket where we want it to
13602 * src/wpa_ctrl.[ch]
13603 - (wpa_ctrl_open): accept location to put local control socket
13605 2006-01-30 Robert Love <rml@novell.com>
13607 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13608 get_ip4_string() for "domain_name".
13610 2006-01-30 Robert Love <rml@novell.com>
13612 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13613 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13614 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13615 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13616 support for "Automatic" pairwise and group cipher configuration by
13617 letting wpa_supplicant handle the details. Add UI elements, new
13618 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13619 charm. Note this does more than add a nice feature, it fixes a bug.
13620 Apparently, some people have AP's where the pairwise cipher does not
13621 match the group cipher. Insane, but true.
13623 2006-01-30 Dan Williams <dcbw@redhat.com>
13625 * gnome/applet/applet-dbus-devices.c
13626 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13627 functions, grab device driver name from NetworkManager
13628 - (nmwa_dbus_device_properties_cb): call functions to get driver
13630 * gnome/applet/applet.c
13631 - (nmwa_update_info): show driver name in Connection Information
13634 * gnome/applet/nm-device.[ch]
13635 - (network_device_get_driver, network_device_set_driver): add
13636 accessors for driver name
13638 * gnome/applet/wireless-applet.glade
13639 - Add line for driver name to Connection Information dialog
13641 * src/nm-dbus-device.c
13642 - (nm_dbus_device_get_driver): new function to return driver name
13643 - (nm_dbus_device_methods): hook up driver name function to dbus
13646 - (get_driver_name): new function
13647 - (detail_device): grab and show driver name
13649 2006-01-30 Robert Love <rml@novell.com>
13651 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13652 does not parse the markup if it is not part of the format.
13654 2006-01-30 Robert Love <rml@novell.com>
13656 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13657 FALSE, we have no security options for this dialog, so we throw up
13658 an error dialog instead of a broken passphrase dialog. Fixes
13660 * gnome/applet/wireless-security-manager.c,
13661 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13662 does not add any security options, not even NONE, print a warning
13663 and return FALSE. This let's functions constructing a dialog bail
13664 out if the device's capabilities and the network's requirements have
13667 2006-01-27 Robert Love <rml@novell.com>
13669 * configure.in: Require wpa_supplicant. Detect location of binary and
13670 use it. Override with "--with-wpa_supplicant=foo".
13671 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13672 path to wpa_supplicant but use the auto-detected or user-provided
13673 value from configure.
13675 2006-01-27 Robert Love <rml@novell.com>
13677 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13678 but the DHCP server did not return a hostname, try to look up our
13679 name via DNS and set the system hostname to that.
13681 2006-01-27 Dan Williams <dcbw@redhat.com>
13683 * src/backends/NetworkManagerRedHat.c
13684 - Add NM_CONTROLLED system network script support for RH/Fedora
13686 2006-01-27 Dan Williams <dcbw@redhat.com>
13688 * src/backends/NetworkManagerGentoo.c
13689 - (nm_system_device_get_disabled): add missing function.
13692 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13694 * configure.in: Added vi in ALL_LINGUAS line.
13696 2006-01-26 Robert Love <rml@novell.com>
13698 * src/Makefile.am, src/kernel-types.h: Now that two different source
13699 files are feeling the crack-addled leakage of kernel types such as
13700 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13701 types in user-space -- define a header and include it as needed.
13702 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13703 * src/nm-device-802-3-ethernet.h: Remove defines.
13704 * src/wpa.c: Remove defines and include kernel-types.h.
13706 2006-01-26 Robert Love <rml@novell.com>
13708 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13711 2006-01-26 Robert Love <rml@novell.com>
13713 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13714 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13715 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13716 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13717 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13718 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13719 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13720 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13721 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13722 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13723 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13724 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13725 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13726 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13727 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13728 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13729 Kill unused variables, labels, and static functions. Don't pass
13730 string literals as the format string for printf-like functions.
13732 2006-01-25 Dan Williams <dcbw@redhat.com>
13734 * gnome/applet/wireless-applet.glade
13735 - Remove WPA2 Checkbox
13737 * gnome/applet/wireless-security-manager.c
13738 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13739 This means the Wireless Security menu now has two WPA options,
13740 one for "WPA Personal" and one for "WPA2 Personal"
13742 * gnome/applet/wso-wpa-psk.[ch]
13743 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13744 'wpa2' argument to determine WPA version to use
13745 - (append_dbus_params_func): pass stored WPA version to cipher
13746 rather than using the (removed) checkbox
13748 2006-01-24 Robert Love <rml@novell.com>
13750 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13751 before we g_strdup(), not the ultimate string.
13753 2006-01-23 Dan Williams <dcbw@redhat.com>
13755 * src/NetworkManagerAP.[ch]
13756 - (nm_ap_new_from_ap): copy original essid too
13757 - (nm_ap_unref): free original essid
13758 - (nm_ap_get_orig_essid): new function
13759 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13760 but keep original essid around too
13762 * src/nm-device-802-11-wireless.c
13763 - (supplicant_send_network_config): send wpa_supplicant the
13764 _original_ essid, and not as a string, but in hex. Should
13765 allow us to connect to more APs that use wierd character
13766 encodings for their essids
13768 * utils/nm-utils.[ch]
13769 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13770 to UTF-8. If it's not already valid UTF-8, we check LANG and
13771 use the current locale as a hint for what encoding the essid
13772 might be in. Obviously not 100% accurate, but the idea here is
13773 that if a user's locale is ex. ja_JP, they are more likely than
13774 not to be in Japan, where access points will likely be in some
13777 2006-01-23 Dan Williams <dcbw@redhat.com>
13779 * libnm-util/cipher-private.h
13780 libnm-util/cipher.c
13781 libnm-util/cipher.h
13782 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13784 2006-01-23 Robert Love <rml@novell.com>
13786 Patch by Timo Hoenig <thoenig@suse.de>:
13787 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13788 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13789 by DHCP and pass it to the backends, allowing distribution-specific
13790 behavior with respect to the DHCP-supplied hostname (if nothing else,
13791 some distributions might not want to set the hostname).
13792 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13793 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13794 Also update our NIS behavior.
13795 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13796 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13797 Add stub functions.
13799 2006-01-23 Robert Love <rml@novell.com>
13801 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13802 gnome-session does autostart. TODO: We need to install this to
13803 $prefix/share/autostart/.
13805 2006-01-22 Dan Williams <dcbw@redhat.com>
13807 * src/NetworkManagerAP.[ch]
13809 src/nm-device-802-11-wireless.c
13810 - Make nm_ap_get_essid return "const char *"
13812 2006-01-22 Dan Williams <dcbw@redhat.com>
13814 * src/NetworkManagerAP.[ch]
13815 - (nm_ap_get_matched, nm_ap_set_matched): remove
13817 * src/NetworkManagerAPList.[ch]
13818 - (nm_ap_list_diff): removed
13819 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13820 deal with access points changing essids on us
13822 * src/nm-device-802-11-wireless.c
13823 - (add_new_ap_to_device_list): move AP dbus signal logic to
13824 src/NetworkManagerAPList.c
13825 - (real_can_interrupt_activation): new function; allow interruption
13826 of device activation if we are waiting for a network key
13828 * src/NetworkManagerPolicy.c
13829 - (nm_policy_device_change_check): allow interruption of currently
13830 activating devices if the device allows it. Previous behavior
13831 would refuse to activate a just-plugged wired device if a
13832 wireless device was waiting for a key.
13834 * src/nm-device.[ch]
13835 - (nm_device_can_interrupt_activation): new function; ask devices
13836 whether their activation can be interrupted
13838 2006-01-20 Robert Love <rml@novell.com>
13840 * Makefile.am, configure.in: Add new man subdirectory.
13841 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13842 man/Makefile.am: Add man pages for NetworkManager and its
13843 crime-solving bumbling buddy, NetworkManagerDispatcher.
13844 * man/.cvsignore: Add.
13845 * initscript/Debian/NetworkManager,
13846 initscript/Gentoo/NetworkManager.in,
13847 initscript/RedHat/NetworkManager.in,
13848 initscript/RedHat/NetworkManagerDispatcher.in,
13849 initscript/SUSE/networkmanager-dispatcher.in,
13850 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13852 2006-01-20 Robert Love <rml@novell.com>
13854 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13855 instead of queuing. This prevents the running of multiple NM
13856 daemons concurrently, which does not work whatsoever and results in
13857 neither daemon working correctly. Also, we don't handle queuing and
13858 name-owner-changes, anyhow.
13860 2006-01-20 Robert Love <rml@novell.com>
13862 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13863 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13866 2006-01-19 Robert Love <rml@novell.com>
13868 * configure.in: Require hal 0.5.0 or later.
13870 2006-01-18 Robert Love <rml@novell.com>
13872 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13873 Allow backends to flag a device (in whatever distro-dependent way
13874 they so desire) as disabled. NM will ignore any such device.
13875 * src/backends/NetworkManagerDebian.c,
13876 src/backends/NetworkManagerRedHat.c,
13877 src/backends/NetworkManagerSlackware.c: Add stub function
13878 nm_system_device_get_disabled() that always returns FALSE (enabled).
13879 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13880 SUSE-specific configuration structure. Fill it in from the
13881 NM_CONTROLLED variable in the system networking scripts. If this var
13882 exists and is "no", we ignore the device.
13884 2006-01-17 Robert Love <rml@novell.com>
13886 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13887 identical for NM. For a full discussion, see the thread at
13888 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13890 2006-01-17 Dan Williams <dcbw@redhat.com>
13893 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13894 function. Fixes crash when wired DHCP fails.
13896 2006-01-16 Robert Love <rml@novell.com>
13898 * src/Makefile.am: Don't install NMLoadModules
13899 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13900 from src/ to test/ as no one uses it anymore. Note that I would be
13901 fine with removing it altogether.
13903 2006-01-16 Robert Love <rml@novell.com>
13905 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13906 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13907 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13908 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13909 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13910 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13911 declarations, ever.
13912 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13913 NM_STATE_DISCONNECTED is zero).
13915 2006-01-16 Robert Love <rml@novell.com>
13917 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13918 uninitialized parameter and buffer overflow. Novell #143496.
13920 2006-01-16 Dan Williams <dcbw@redhat.com>
13922 Apply the PtP Address bits of a patch from Tim Niemueller
13924 * src/nm-ip4-config.[ch]
13925 - Add ip4_ptp_address member to object
13926 - (nm_ip4_config_copy): copy ptp address too
13927 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13929 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13930 rather than local tunnel ip address
13932 * src/vpn-manager/nm-vpn-service.c
13933 - (print_vpn_config): update for PtP address
13934 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13935 DBusMessageIters in preparation for getting routes from the VPN
13936 service daemons too
13938 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13939 - (send_config_info): update for PtP address, clean up code
13940 - (main): update for PtP address, clean up code, fix typo
13942 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13943 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13945 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13946 - (pptp_ip_up): update for PtP address
13948 * vpn-daemons/pptp/src/nm-pptp-service.c
13949 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13951 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13952 - (print_vpn_config): update for PtP address
13953 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13955 2006-01-16 Dan Williams <dcbw@redhat.com>
13957 * gnome/applet/applet.c
13958 - (nmwa_add_networks_helper): don't indicate an active network
13959 if NM is disconnected or asleep
13961 2006-01-16 Dan Williams <dcbw@redhat.com>
13963 * src/NetworkManagerPolicy.c
13964 - (nm_policy_device_change_check): switch devices if we lose the link
13965 on an ethernet device.
13967 2006-01-16 Dan Williams <dcbw@redhat.com>
13969 * gnome/applet/wso-wpa-psk-hex.[ch]
13970 - Renamed -> wso-wpa-psk.[ch]
13972 * gnome/applet/wso-wpa-psk.[ch]
13975 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13976 - Removed, rolled into wso-wpa-psk.[ch]
13978 * gnome/applet/Makefile.am
13979 - Updated for above changes
13981 * gnome/applet/wireless-applet.glade
13982 - Consolidate WPA-PSK options into one notebook
13983 widget, and make dialogs invisible by default
13984 to fix screen oddities
13986 * gnome/applet/wireless-security-manager.c
13987 - (wsm_set_capabilities): create the new wpa-psk widget rather
13988 than both the old hex & passphrase ones
13990 2006-01-16 Dan Williams <dcbw@redhat.com>
13992 * gnome/applet/other-network-dialog.c
13993 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13995 2006-01-16 Dan Williams <dcbw@redhat.com>
13997 * gnome/applet/applet.c
13998 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13999 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
14000 prevention to realize window before trying to get server
14003 * gnome/applet/other-network-dialog.c
14004 - (nmwa_other_network_dialog_run): fix up focus-stealing
14005 prevention to realize window before trying to get server
14008 * gnome/applet/passphrase-dialog.c
14009 - (nmi_passphrase_dialog_new): fix up focus-stealing
14010 prevention to realize window before trying to get server
14013 2006-01-16 Robert Love <rml@novell.com>
14015 Patch from Timo Hoenig <thoenig@suse.de:
14016 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
14017 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
14018 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
14019 libnm-util/dbus-helpers.h: add checks whether headers are used
14020 within a C++ build.
14022 2006-01-16 Dan Williams <dcbw@redhat.com>
14024 * gnome/applet/wireless-security-option.c
14025 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
14027 2006-01-16 Dan Williams <dcbw@redhat.com>
14029 * libnm-util/cipher-wpa-psk-passphrase.c
14030 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
14031 be 8 - 63 characters inclusive
14033 2006-01-16 Dan Williams <dcbw@redhat.com>
14036 - (nm_dbus_nm_sleep): bring device down after quick deactivation
14038 2006-01-13 Robert Love <rml@novell.com>
14040 Patch by T Sureshkumar <tsureshkuman@novell.com>:
14041 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
14042 modules that do not use an interface.
14044 2006-01-13 Dan Williams <dcbw@redhat.com>
14048 - Allow subclasses to implement deactivate_quickly()
14049 - (nm_device_deactivate_quickly): call subclass
14050 deactivate_quickly() methods
14051 - (nm_device_set_active_link): small cleanups, and don't
14052 deactivate the device right away because we risk a deadlock
14053 when called from device thread, waiting for the device
14054 thread to cancel activation
14056 * src/nm-device-802-11-wireless.c
14057 - (real_deactivate_quickly): new function
14058 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14059 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14060 so that we kill the supplicant when we sleep too
14061 - (supplicant_interface_init): work around naive naming attempts of
14062 wpa_ctrl when naming sockets
14064 2006-01-13 Dan Williams <dcbw@redhat.com>
14066 * src/nm-device-802-11-wireless.c
14067 - (supplicant_cleanup): delete old device control sockets too
14068 - (supplicant_get_device_socket_path): new function to consolidate
14069 locations that need a path to a device's control socket
14071 2006-01-12 Robert Love <rml@novell.com>
14073 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14074 description so that the description is unique for each
14075 pair (device,provider). Fixes Novell #142773.
14077 2006-01-12 Dan Williams <dcbw@redhat.com>
14079 * src/nm-device-802-11-wireless.c
14080 - (supplicant_exec): ensure GError is correctly initialized
14081 Reported by Diego González (gnome.org #326708)
14083 2006-01-11 Robert Love <rml@novell.com>
14085 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14086 define if_mii(), open code the same results, and do so without any
14089 2006-01-11 Robert Love <rml@novell.com>
14091 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14092 that wso_foo_new() returned non-NULL. Instead, only append the new
14093 wso to wsm->options if the wso is non-NULL. The crux is that we
14094 assume that the relevant key types are implied by WEP and WPA as
14095 appropriate. To be sure, they should be, but we should not expect
14096 drivers to not be oozing piles of wolf fecal matter.
14098 2006-01-11 Robert Love <rml@novell.com>
14100 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14101 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14102 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14103 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14104 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14105 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14106 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14107 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14108 comparing values within DBL_EPSILON. Also fix shadowed variable
14111 2006-01-11 Dan Williams <dcbw@redhat.com>
14113 Add options for WPA2 and WPA1+CCMP (AES).
14115 * gnome/applet/wireless-applet.glade
14116 - Add UI bits for WPA+CCMP
14118 * gnome/applet/other-network-dialog.c
14119 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14120 and don't allow creation of WPA2 Ad-Hoc networks since
14121 wpa_supplicant doesn't support them
14123 * gnome/applet/wireless-security-manager.c
14124 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14125 on to the specific wireless security option being created
14127 * gnome/applet/wireless-security-option.[ch]
14128 - (wso_wpa_create_key_type_model): new utility function to create
14129 the model required for WPA Key Type combo box
14131 * gnome/applet/wso-private.h
14132 gnome/applet/wireless-security-option.h
14133 - Move private function prototypes into wso-private.h
14135 * gnome/applet/wso-wpa-psk-hex.[ch]
14136 gnome/applet/wso-wpa-psk-passphrase.[ch]
14137 - (append_dbus_params_func): get WPA version from checkbox and pass
14138 it to the dbus serialization helper
14139 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14140 key type combo changes
14141 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14144 * libnm-util/cipher-wpa-psk-hex.c
14145 libnm-util/cipher-wpa-psk-passphrase.c
14146 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14147 new function; allow the cipher to be changed after object creation
14149 * src/nm-ap-security-wpa-psk.c
14150 - (set_description): Do WPA2 descriptions too
14152 * src/nm-ap-security.c
14153 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14155 2006-01-11 Robert Love <rml@novell.com>
14157 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14158 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14159 from the ifreq structure in lieu of an open coded solution. Removes
14160 a life-threatening type-punning.
14161 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14162 types, ever, whatsoever, baby.
14164 2006-01-11 Robert Love <rml@novell.com>
14166 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14167 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14168 assignments to applet->nm_state into a new nmwa_set_state() function
14169 for both cleanliness and to help debugging.
14171 2006-01-10 Robert Love <rml@novell.com>
14173 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14174 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14175 seconds, exclusive. That is, we want to sleep x seconds such that
14178 2006-01-10 Robert Love <rml@novell.com>
14180 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14181 the attr fields according to the example in the email available at
14182 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14183 Conversely, we do have to free 'name', so we do so, fixing a leak.
14185 2006-01-10 Robert Love <rml@novell.com>
14187 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14188 sure that we close the socket!
14190 2006-01-10 Robert Love <rml@novell.com>
14192 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14193 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14194 src/nm-device.c: Fix a FIXME! Reimplement the function
14195 nm_device_update_hw_address() in device subclass variants,
14196 nm_device_802_3_ethernet_set_address() and
14197 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14198 This fixes the existing bug where MAC addresses are all zeros.
14200 2006-01-10 Robert Love <rml@novell.com>
14202 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14203 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14204 option to give users ability to globally disconnect and put NM to
14205 sleep. This is useful as a 'lockdown mode' for flying, security, and
14208 2006-01-09 Robert Love <rml@novell.com>
14210 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14211 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14212 User-space does not supply these types, so we have to define them
14213 ourselves. The relevant kernel maintainer refused to accept a patch
14214 switching these headers to the proper C99 types.
14216 2006-01-09 Dan Williams <dcbw@redhat.com>
14218 Apply Robert's 'tray icon redo' patch with fixes
14219 * gnome/applet/applet.c
14220 gnome/applet/applet.h
14221 - Instead of using a menu bar + menu item, simulate menu
14222 behavior using a popup menu. Highlight the area around
14223 the icon more like a menu too, by playing with the
14224 applet's size requisition
14226 2006-01-09 Timo Hoenig <thoenig@suse.de>
14227 * libnm-util/dbus-helpers.c
14228 libnm-util/dbus-helpers.h
14229 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14230 to 'exception_namespace' (:namespace is a keyword in
14233 2006-01-09 Dan Williams <dcbw@redhat.com>
14235 * src/NetworkManagerPolicy.c
14236 - (nm_policy_device_change_check): don't autoswitch away from
14237 Ad-Hoc networks, since there's really no concept of
14241 - (nm_dbus_nm_create_wireless_network): mark created networks
14244 * src/nm-device-802-11-wireless.c
14245 - (real_activation_success_handler): add user-created Ad-Hoc
14246 networks to the device's scan list
14248 2006-01-08 Dan Williams <dcbw@redhat.com>
14250 We now require a patch for wpa_supplicant to support Ad-Hoc
14252 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14254 * src/nm-device-802-11-wireless.c
14255 - (supplicant_send_network_config): turn off wpa_supplicant's
14256 scanning. Fixes Ad-Hoc networks.
14258 2006-01-08 Dan Williams <dcbw@redhat.com>
14260 * src/nm-ap-security.c
14261 src/nm-ap-security.h
14262 - Add a user_created argument to the write_supplicant_config
14265 * src/nm-ap-security-wep.c
14266 src/nm-ap-security-wpa-psk.c
14267 src/nm-device-802-11-wireless.c
14268 - Make Ad-Hoc mode somewhat work, at least write the
14269 correct options to wpa_supplicant
14271 2006-01-08 Dan Williams <dcbw@redhat.com>
14273 * src/nm-device-802-11-wireless.c
14274 - Remove unused code from the old device activation path
14276 2006-01-08 Dan Williams <dcbw@redhat.com>
14278 * libnm-util/dbus-helpers.c
14279 - (nmu_security_serialize_wpa_psk): pass a blank key through
14280 dbus when key == NULL
14282 2006-01-08 Dan Williams <dcbw@redhat.com>
14284 * gnome/applet/nm-gconf-wso-wpa-psk.c
14285 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14286 correct arguments to nmu_security_deserialize_wpa_psk()
14288 * src/nm-ap-security-wpa-psk.c
14289 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14290 arguments to nmu_security_deserialize_wpa_psk()
14292 2006-01-08 Dan Williams <dcbw@redhat.com>
14294 * gnome/applet/wso-wpa-psk-hex.c
14295 gnome/applet/wso-wpa-psk-passphrase.c
14296 - Hook up the append_dbus_params_func() function
14298 2006-01-08 Dan Williams <dcbw@redhat.com>
14300 * src/nm-device-802-11-wireless.c
14301 - (get_wireless_capabilities): correctly detect driver WPA
14304 2006-01-08 Dan Williams <dcbw@redhat.com>
14306 * gnome/applet/Makefile.am
14307 gnome/applet/wso-wpa-psk-hex.c
14308 gnome/applet/wso-wpa-psk-hex.h
14309 - New files, implement WPA-PSK Hex key input
14311 * gnome/applet/wireless-applet.glade
14312 - Change existing wpa-psk stuff to wpa-psk-hex
14313 - Add new widgets for wpa-psk-passphrase
14315 * gnome/applet/wireless-security-manager.c
14316 - (wsm_set_capabilities): enable WPA options
14318 * gnome/applet/wso-wpa-psk-passphrase.c
14319 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14320 for WPA-PSK passphrase
14322 2006-01-08 Dan Williams <dcbw@redhat.com>
14324 * include/NetworkManager.h
14325 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14326 applet/info-daemons
14328 * gnome/applet/passphrase-dialog.c
14329 - Use the constant. Fixes a bug where the arguments to
14330 dbus_message_new_error() were incorrect
14332 * src/nm-dbus-nmi.c
14335 2006-01-07 Dan Williams <dcbw@redhat.com>
14337 * src/nm-device-802-11-wireless.c
14338 - Add a link timeout so we allow the supplicant time to
14339 reassociate if it can, before we deactivate the card
14340 - Fix up link status and link updating so things work better
14342 2006-01-07 Dan Williams <dcbw@redhat.com>
14344 * src/nm-device-802-11-wireless.c
14345 - Switch over to using wpa_supplicant
14346 - Add a timeout of 10s for association of the supplicant
14347 - Start the monitor callback of the supplicant
14349 2006-01-07 Dan Williams <dcbw@redhat.com>
14351 * src/NetworkManagerUtils.c
14352 - (nm_utils_supplicant_request,
14353 nm_utils_supplicant_request_with_check):
14354 pass correct buffer length to wpa_ctrl_request()
14356 2006-01-07 Dan Williams <dcbw@redhat.com>
14358 * src/nm-device-private.h
14360 - (nm_device_activate_schedule_stage3_ip_config_start): make
14361 this function available to subclasses
14363 2006-01-06 Robert Love <rml@novell.com>
14365 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14366 user plugging in a network cable signals their preference for to
14367 switch, unless the user explicitly selected a wireless network and
14368 therefore signaled their preference for said wireless network over
14369 wired. In other words, do exactly what makes sense.
14371 2006-01-06 Robert Love <rml@novell.com>
14373 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14374 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14375 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14376 showing up in my greps.
14378 2006-01-06 Robert Love <rml@novell.com>
14380 * gnome/applet/applet-dbus-devices.c,
14381 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14382 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14383 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14384 New Network' both failed in the non-encrypted case because we were
14385 not appending the security options to the DBUS message. And
14386 'Connect to Other' was also failing in the encrypted case because
14387 we were not incrementing to the next DBUS parameter. All fixed.
14388 Thanks to dcdw for some debugging help.
14390 2006-01-06 Robert Love <rml@novell.com>
14392 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14393 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14394 hangup code and add per-device hangup. Tie last commit into the
14395 GNOME applet. TODO: Save, understand, and respond to the state of
14396 each dialup device.
14398 2006-01-06 Robert Love <rml@novell.com>
14400 Patch by Timo Hoenig <thoenig@suse.de>:
14401 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14402 hangup specific dialup devices.
14403 * src/backends/NetworkManagerDebian.c,
14404 src/backends/NetworkManagerGentoo.c,
14405 src/backends/NetworkManagerRedHat.c,
14406 src/backends/NetworkManagerSlackware.c: Add stub backend.
14407 * src/backends/NetworkManagerRedHat.c,
14408 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14409 hangup specific dialup devices.
14411 2006-01-04 Robert Love <rml@novell.com>
14413 * gnome/applet/applet-dbus-devices.c,
14414 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14415 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14418 2006-01-04 Dan Williams <dcbw@redhat.com>
14420 First dump of wpa_supplicant-related code. It's not hooked up to
14421 anything yet though. Thanks to Kay Sievers for
14422 wpa_supplicant_wrapper.c, which formed the basis for this work,
14423 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14427 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14429 * src/NetworkManagerUtils.[ch]
14430 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14431 Add convenience functions for talking to wpa_supplicant
14433 * src/nm-ap-security.[ch]
14434 src/nm-ap-security-wep.c
14435 src/nm-ap-security-wpa-psk.[ch]
14436 - Update and implement real_write_supplicant_config functions
14437 in all security types
14438 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14439 nm-ap-security-wpa-psk.c
14441 * src/nm-device-802-11-wireless.c
14442 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14443 wpa_supplicant_start, wpa_supplicant_interface_init,
14444 wpa_supplicant_send_network_config): add functions to talk to
14445 wpa_supplicant and write network config to it
14447 2006-01-04 Robert Love <rml@novell.com>
14449 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14450 values so that distribution-backends can differentiate between the
14451 various types (modem, ISDN, et cetera) of dialup device that they
14453 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14456 2006-01-03 Dan Williams <dcbw@redhat.com>
14458 * src/NetworkManagerPolicy.c
14460 src/nm-device-802-11-wireless.c
14461 - Move wireless-specific activation failure and success code
14462 into wireless device class
14464 2006-01-03 Robert Love <rml@novell.com>
14466 Patch by Preggna S:
14467 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14468 IPsec does not require that a VPN client be bound to an interface,
14469 due to the use of the in-kernel IPSec bits. So make the tunnel
14472 2006-01-03 Dan Williams <dcbw@redhat.com>
14474 * src/NetworkManagerAP.c
14475 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14476 the WPA IE specifies that WEP is supported
14478 * src/nm-device-802-11-wireless.c
14479 - (process_scan_results): don't mark an AP as supporting WEP
14480 if there's already other encryption capability info
14482 2006-01-03 Dan Williams <dcbw@redhat.com>
14484 * src/dhcp-manager/nm-dhcp-manager.c
14485 - Recognize activation cancellation when waiting for DHCP
14486 configuration from dhcdbd
14487 - Ignore non-dhcdbd messages
14490 - (real_act_stage3_ip_config_start): return to correct behavior
14491 of letting the dhcp-manager notify us of failure or
14492 success rather than incorrectly doing that ourselves
14493 - (nm_device_activate_stage4_ip_config_get): deal with
14494 activation cancellation a bit earlier
14496 2006-01-03 Dan Williams <dcbw@redhat.com>
14498 * src/nm-device-802-11-wireless.c
14500 - Add hooks to subclasses for stage3_ip_config_start and
14501 stage4_ip_config_timeout
14503 * src/nm-device-802-3-ethernet.c
14504 - (real_get_generic_capabilities): make devices NM-supported
14507 2006-01-03 Robert Love <rml@novell.com>
14509 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14510 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14511 latter cannot differentiate between error and the address -1; misc.
14514 2006-01-03 Dan Williams <dcbw@redhat.com>
14516 * src/NetworkManager.c
14517 - Move link-checking/probing into the device subclasses
14520 * src/nm-device.[ch]
14521 src/nm-device-802-11-wireless.c
14522 src/nm-device-802-3-ethernet.c
14523 - Do periodic link checking in device subclasses rather
14524 than being triggered from NetworkManager.c
14525 - discover_wireless_capabilities -> get_wireless_capabilities
14526 - discover_generic_capabilities -> get_generic_capabilities
14527 - Device subclass activation routines now return a value of type
14528 NMActStageReturn to indicate what step to perform next
14529 - Devices now override stage4_get_ip4_config if they choose
14531 2006-01-01 Dan Williams <dcbw@redhat.com>
14533 * src/nm-device-802-11-wireless.c
14534 - (real_init): don't chain up to parent init because we don't
14535 need to do that anymore
14538 - (discover_device_type): fix arguments to ioctl() to correctly
14539 pass interface name
14540 - (nm_device_new): consolidate generic device initialization into
14542 - (real_init): remove, consolidated to nm_device_new()
14543 - (nm_device_deactivate, real_deactivate): consolidate
14545 2006-01-01 Dan Williams <dcbw@redhat.com>
14547 * src/nm-activation-request.c
14548 - Change dhcp_state member of the NMActRequest structure
14549 from guint8 to guint32
14551 * src/dhcp-manager/nm-dhcp-manager.[ch]
14552 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14553 than guint8 to match the dbus argument. Turns out we were
14554 overwriting memory since we were passing in only a guint8
14556 2005-12-31 Dan Williams <dcbw@redhat.com>
14558 * refactor NMDevice into a GObject-based framework with separate
14559 objects for wired and wireless. The following files are no
14560 longer used but should stick around for a bit so we don't
14561 loose code through the cracks:
14562 NetworkManagerDevice.c
14563 NetworkManagerDevice.h
14564 NetworkManagerWireless.c
14565 NetworkManagerWireless.h
14567 The intent here is to allow each device type to manage its own
14568 connection & activation life-cycle, ie to allow wireless devices
14569 to interface with wpa_supplicant, etc. There's a fair bit of
14570 encapsulation breakage right now that should gradually get pulled
14571 back into each device, along with things like periodic property
14572 updates and link probing.
14574 2005-12-29 Dan Williams <dcbw@redhat.com>
14576 * include/NetworkManager.h
14577 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14578 between networks that don't have any encryption at all
14580 2005-12-29 Dan Williams <dcbw@redhat.com>
14582 * test/test-common.c
14585 - Move to a test-common subdirectory
14587 * test/libnm-util/test-ciphers.c
14588 - Move test data to test-inputs.h
14589 - Test WPA ciphers too
14591 * test/libnm-util/test-dbus-helpers.c
14592 - Test serialization/deserialization of ciphers
14594 2005-12-29 Dan Williams <dcbw@redhat.com>
14596 * gnome/applet/applet-dbus-devices.c
14597 - Replace 'enc' parameter with 'capabilities' for wireless networks
14598 in dbus calls to NM
14599 - Set capabilities on WirelessNetwork objects
14600 - Receive and save type-specific device capabilities too
14602 * gnome/applet/applet-dbus-info.c
14603 gnome/applet/applet-dbus.c
14604 - Passphrase dialog no longer a singleton; new instance gets created
14605 on each request. Updates to deal with that.
14607 * gnome/applet/applet.c
14608 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14609 than single 'encrypted' flag
14610 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14612 - Passphrase dialog updates per above
14614 * gnome/applet/menu-items.c
14615 - (network_menu_item_update): use AP capabilities to determine
14618 * gnome/applet/nm-device.[ch]
14619 - Add accessors for type-specific device capabilities
14621 * gnome/applet/other-network-dialog.c
14622 - Rework to respect device capabilities. i.e., if the device doesn't
14623 support WPA, remove that option from the security dropdown
14625 * gnome/applet/passphrase-dialog.c
14626 - Massive rework so that a new instance is created each time
14627 it's used, to support wireless network capabilities
14629 * gnome/applet/wireless-network.[ch]
14630 - Add accessors and members for wireless network capabilities
14632 * gnome/applet/wireless-security-manager.[ch]
14633 - (wsm_set_capabilities): called after creation to set which
14634 security options get shown to the user
14636 2005-12-29 Dan Williams <dcbw@redhat.com>
14638 * libnm-util/cipher-wpa-psk-passphrase.c
14639 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14642 2005-12-23 Dan Williams <dcbw@redhat.com>
14644 * gnome/applet/applet-dbus-info.c
14645 - (nmi_dbus_get_key_for_network): if there's no entry in
14646 GConf for a network, assume we want a new key
14647 - (nmi_save_network_info): serialize wireless security info
14648 into GConf so its saved
14651 - Fix warning as we may not be passed security info when
14652 connecting to a wireless network
14654 2005-12-23 Dan Williams <dcbw@redhat.com>
14656 * gnome/applet/applet-compat.c
14657 - Fix bugs in GConf entry conversion
14659 * gnome/applet/applet-dbus-info.c
14660 - (nmi_dbus_get_network_properties): handle case of the BSSID
14661 list being zero-length
14663 * libnm-util/cipher-*
14664 libnm-util/dbus-helpers.c
14665 - All ciphers must now return hashed keys as UTF-8 valid
14666 hexadecimal strings, ie "8f3dae4023". They are pushed
14667 through dbus as strings too.
14668 - Consolidate various functions that do bin->hex and hex->bin
14669 conversion into cipher.c
14671 * src/nm-ap-security-wep.c
14672 src/nm-ap-security-wpa-psk.c
14673 - Handle NULL keys since we may not know keys right away
14675 * src/nm-dbus-nmi.c
14676 - (nm_dbus_get_network_data_cb): actually advance to the start
14677 of the wireless security info before we try to deserialize it
14679 * libnm-util/test-ciphers.c
14680 - Update cipher tests for the change to UTF-8 hexadecimal strings
14682 2005-12-22 Dan Williams <dcbw@redhat.com>
14684 * gnome/applet/applet-compat.[ch]
14685 - Convert old-format GConf and keyring entries
14686 when the applet starts up.
14688 * gnome/applet/applet.c
14689 - (nmwa_get_instance): Call the conversion function
14690 on startup before dbus is initialized
14692 2005-12-22 Dan Williams <dcbw@redhat.com>
14694 * gnome/applet/applet-dbus-info.c
14695 - Remove nmi_dbus_create_error_message() in favor of
14696 nmu_create_dbus_error_message()
14697 - (nmi_dbus_get_network_properties): Error message cleanups
14698 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14699 gconf key rather than 'addresses', since they really are BSSIDs
14700 - (nmi_dbus_get_network_properties): Dispose of the security
14701 object when we're done with it
14703 2005-12-21 Dan Williams <dcbw@redhat.com>
14705 * Consolidate the info-daemon's "updateNetworkInfo" and
14706 "addNetworkAddress" calls into just "updateNetworkInfo"
14708 2005-12-21 Dan Williams <dcbw@redhat.com>
14710 * Make connection after key retrieval work again
14712 2005-12-21 Dan Williams <dcbw@redhat.com>
14714 * gnome/applet/nm-gconf-wso*
14715 - Make the serialize functions return gboolean
14718 * gnome/applet/nm-gconf-wso.c
14719 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14720 parent class handling so we don't segfault
14722 * src/NetworkManagerAP.[ch]
14723 - (nm_ap_get_capabilities): new function, return capabilities
14724 now that something can use them
14725 - (nm_ap_set_encrypted): assume that an access point supports
14726 both WEP104 and WEP40 if its set encrypted. FIXME: can
14727 we even tell whether it just supports WEP40?
14729 * src/NetworkManagerDevice.c
14730 - (ap_need_key): resurrect and update for the New World Order
14731 - (nm_device_wireless_get_activation_ap): if we're not given
14732 security info to use, create some based on access point
14735 * src/nm-ap-security-wep.c
14736 - (nm_ap_security_wep_new_from_ap): create a new object
14737 based on a certain access point's capabilities
14739 * src/nm-ap-security.c
14740 - (nm_ap_security_new_from_ap): delegate creation of a new
14741 object based on access point capabilities to a subclass
14742 - (nm_ap_security_copy_properties): don't segfault if we
14743 don't have a key yet
14746 - (nm_dbus_nm_set_active_device): provide more informative
14747 output when errors occur. Also construct security info
14748 for a given access point if we weren't given any
14750 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14752 * configure.in: Added Lithuanian to ALL_LINGUAS.
14754 2005-12-21 Dan Williams <dcbw@redhat.com>
14757 - Add some testcases for WEP ciphers
14759 2005-12-17 Dan Williams <dcbw@redhat.com>
14763 2005-12-17 Dan Williams <dcbw@redhat.com>
14765 * include/NetworkManager.h
14766 - Finally kill NMEncKeyType
14768 * gnome/applet/applet-dbus-info.c
14769 - (nmi_save_network_info): convert to NMGConfWSO
14771 * gnome/applet/nm-gconf-wso-*.c
14772 - Implement gconf serialization functions
14774 * src/NetworkManagerPolicy.c
14775 - (nm_policy_activation_finish): fix up meaning of
14776 automatic/user_requested
14778 2005-12-17 Dan Williams <dcbw@redhat.com>
14781 - More applet cleanups
14782 - Use the dbus-method-dispatcher
14784 * libnm-util/dbus-method-dispatcher.[ch]
14785 - Generalize the implementation from NM in
14786 NetworkManagerUtils.c
14788 2005-12-16 Dan Williams <dcbw@redhat.com>
14791 - Fix up the passphrase dialog to use all the
14792 WirelessSecurityOption stuff (untested)
14794 2005-12-16 Dan Williams <dcbw@redhat.com>
14796 * Move nm_gconf_get_*_helper() functions to separate files,
14797 gconf-helpers.c & gconf-helpers.h
14799 * New NMGConfWSO objects for managing the gconf side of things.
14800 Eventually these should be merged with the
14801 WirelessSecurityOption objects and a common base (that can
14802 serialize/deserialize from dbus & gconf) should be
14803 refactored out, but for now they are separate.
14805 2005-12-16 Robert Love <rml@novell.com>
14807 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14808 binaries unless they exist (nm_spawn_process() emits a warning if
14809 asked to spawn a non-existant process).
14811 2005-12-16 Dan Williams <dcbw@redhat.com>
14813 * gnome/applet/applet-dbus-info.c
14814 - Clean up lots of gconf-related code
14816 2005-12-16 Robert Love <rml@novell.com>
14818 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14820 2005-12-16 Dan Williams <dcbw@redhat.com>
14822 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14824 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14825 bits still to be done)
14827 2005-12-16 Dan Williams <dcbw@redhat.com>
14829 * Finally move info-daemon related stuff out of
14830 NetworkManagerDbus.c to nm-dbus-nmi.c
14832 2005-12-16 Dan Williams <dcbw@redhat.com>
14834 * Kill auth_method for access points, since that's now done
14835 by NMAPSecurity objects
14837 * Add a copy-constructor of sorts to NMAPSecurity
14838 (how do you do this properly in glib???)
14840 2005-12-15 Dan Williams <dcbw@redhat.com>
14842 * Exorcise encryption key hashing on APs
14843 * Use libnm-util's serialization/deserialization in both the
14845 * Random other stuff
14847 2005-12-15 Robert Love <rml@novell.com>
14849 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14850 is being added to the icon naming spec, so let's use that (Tango CVS
14851 has the icon). Because it is new, however, we fall back to the
14852 current "gnome-lockscreen" if the new icon is not around, thus
14853 behavior is the same.
14854 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14857 2005-12-15 Robert Love <rml@novell.com>
14859 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14860 well, help to give. Couple other misc. bits.
14862 2005-12-15 Dan Williams <dcbw@redhat.com>
14864 * libnm-util/dbus-helpers.[ch]
14865 - Make this the one-stop-shop for serializing/deserializing
14866 AP & connection security settings over dbus. Both NM
14867 and applets should use this to ensure consistent dbus
14868 API going forwared.
14870 2005-12-15 Robert Love <rml@novell.com>
14872 Patch by Timo Hoenig <thoenig@suse.de>:
14873 * src/NetworkManagerDbus.c
14874 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14875 if HAL jumps off the system bus. Otherwise libdbus
14876 (dbus_connection_dispatch) will try to run the filter
14877 function of our libhal context which is already freed.
14879 2005-12-15 Alexander Shopov <ash@contact.bg>
14881 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14883 2005-12-14 Dan Williams <dcbw@redhat.com>
14885 * include/NetworkManager.h
14886 src/NetworkManagerWireless.c
14887 - Rearrange 802.11 wireless-specific capabilities again
14890 - Forgot to add wpa.c/wpa.h to the makefiles
14892 * src/NetworkManagerAP.[ch]
14893 - Implement access point capabilities and parse the
14894 WPA/RSN IEs into the capability bitfield
14895 - Switch the "encrypted" attribute to utilize the bitfield
14896 and capabilities rather than being independent
14898 * src/NetworkManagerDevice.c
14899 - (nm_device_wireless_get_activation_ap): break it horribly
14900 until we can push NMAPSecurity objects into access point
14901 objects and through the activation chain
14902 - Stuff WPA & RSN IEs into AP capabilities
14905 - Take a shot at actually making setActiveDevice work
14908 - Make the API a bit saner
14910 2005-12-14 Dan Williams <dcbw@redhat.com>
14912 * include/NetworkManager.h
14913 - Add 802.11-specific capability for 802.1x key
14917 - Pull in WPA IE and RSN IE parsing code from
14918 wpa_supplicant so we can determine access point
14920 - Move WPA-related constants here from NetworkManagerAP.h
14921 and NetworkManagerDevice.c
14923 * src/NetworkManagerDevice.c
14924 src/NetworkManagerAP.[ch]
14925 - Use WPA-related constants from wpa.h
14927 2005-12-14 Dan Williams <dcbw@redhat.com>
14929 * include/NetworkManager.h
14930 - Update and split 802.11 wireless-specific capabilities from
14931 generic device capabilities
14933 * src/NetworkManagerDevice.c
14934 src/NetworkManagerDevicePrivate.h
14935 - (nm_device_wireless_discover_capabilities): Move 802.11
14936 wireless-specific capability checks to
14937 NetworkManagerWireless.c
14938 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14939 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14941 * src/NetworkManagerWireless.[ch]
14942 - (nm_802_11_wireless_discover_capabilities): Check extended
14943 802.11 wireless-specific capabilities of the driver
14945 2005-12-14 Robert Love <rml@novell.com>
14947 Patch from Stefan Scheler <sscheler@suse.de>:
14948 * src/NetworkManagerDevice.c: call backend code to activate and
14950 * src/NetworkManagerSystem.h: add new NIS interfaces.
14951 * src/backends/NetworkManagerDebian.c,
14952 src/backends/NetworkManagerGentoo.c,
14953 src/backends/NetworkManagerRedHat.c,
14954 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14956 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14958 2005-12-14 Dan Williams <dcbw@redhat.com>
14960 * src/nm-ap-security*.[ch]
14961 - Add AP security abstractions to NetworkManager
14963 * src/nm-dbus-device.c
14964 - Begin to parse new format dbus messages from the applet
14965 and construct an AP security object from the message
14967 * libnm-util/dbus-helpers.c
14968 - Use message iters so we can append the key as a fixed
14969 array of bytes, which actually works rather than
14970 using dbus_message_append_args() as we were before
14972 2005-12-14 Dan Williams <dcbw@redhat.com>
14974 * src/NetworkManagerDbus.c
14975 gnome/applet/applet-dbus.c
14976 - Fix up dbus service replacement options. The applet
14977 should allow replacement, NM itself should not.
14979 2005-12-13 Robert Love <rml@novell.com>
14981 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14982 Instead, fail silently if config is NULL by not asserting and not
14983 returning FALSE. Also, make sure we always fclose() the file.
14985 2005-12-13 Robert Love <rml@novell.com>
14987 Patch by Stefan Scheler <sscheler@suse.de>:
14988 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14989 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14990 via DHCP. Still need the backends to commit the NIS domain name and
14991 and servers to yp.conf as needed.
14993 2005-12-13 Robert Love <rml@novell.com>
14995 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14996 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14998 2005-12-13 Robert Love <rml@novell.com>
15000 * src/named-manager/nm-named-manager.c: Don't unref the config until
15001 after we call rewrite_resolv_conf(), because get_last_default_domain()
15002 needs to access the config. Fixes "rewrite_resolv_conf: assertion
15003 `config != NULL' failed" assertion failures and "Could not commit DNS
15006 2005-12-12 Dan Williams <dcbw@redhat.com>
15008 * libnm-util/dbus-helpers.[ch]
15009 libnm-util/Makefile.am
15010 - new helper calls to consolidate locations where
15011 NM's setDevice method is called
15013 * gnome/applet/applet-dbus-devices.c
15014 gnome/applet/wireless-security-option.c
15016 - Implement dbus message param append function for
15017 all wireless security options
15019 2005-12-12 Robert Love <rml@novell.com>
15021 * libnm-util/cipher-wep-passphrase.c,
15022 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
15023 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
15024 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
15025 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
15026 When handling keys, we don't care what the sign is. The compiler
15027 guarantees us that we get our 8-bits, which is all we care about.
15028 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
15030 2005-12-12 Dan Williams <dcbw@redhat.com>
15032 * gnome/applet/applet-dbus-devices.[ch]
15033 gnome/applet/applet.c
15034 gnome/applet/other-network-dialog.c
15035 gnome/applet/wireless-security-manager.[ch]
15036 gnome/applet/wireless-security-option.[ch]
15038 - Push the wireless security options further into the applet
15040 2005-12-12 Robert Love <rml@novell.com>
15042 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
15043 return any name servers. That is perfectly valid. (Novell #134369).
15045 2005-12-11 Dan Williams <dcbw@redhat.com>
15047 * gnome/applet/wso-*
15048 gnome/applet/wireless-security-option.*
15049 gnome/applet/Makefile.am
15050 - split each security option out so we can eventually
15051 have each one build up their own dbus message
15052 arguments to send to NM
15054 2005-12-11 Dan Williams <dcbw@redhat.com>
15056 * Make validation of the key work correctly
15058 2005-12-11 Dan Williams <dcbw@redhat.com>
15060 * Hook more bits of the Other Network Dialog up to the
15061 wireless security manager stuff, and restructure
15062 bits of the dialog so there's less code.
15064 2005-12-10 Dan Williams <dcbw@redhat.com>
15066 * gnome/applet/Makefile.am
15067 - Add libnm-util to includes
15068 - Add libnm-util to link list
15069 - Add wireless-security-common.* to compile list
15071 * gnome/applet/other-network-dialog.c
15072 - Convert to using the WirelessSecurityManager code and
15075 * gnome/applet/passphrase-dialog.c
15076 - Comment out references to stuff in the glade file that
15077 cause runtime errors until it can be fixed up
15078 to use the WirelessSecurityManager code
15080 * gnome/applet/wireless-applet.glade
15081 - Rename some widgets
15082 - Add widgets for the WirelessSecurityManager code
15083 - Remove passphrase-related stuff since that's now
15084 handled by the WirelessSecurityManager code
15086 2005-12-10 Dan Williams <dcbw@redhat.com>
15088 * gnome/applet/applet-dbus-devices.c
15089 - Print out error message details for dbus pending call callbacks
15090 - Move nmwa_dbus_update_devices() up
15092 * gnome/applet/applet-dbus-vpn.c
15093 - Print out error message details for dbus pending call callbacks
15095 2005-12-10 Dan Williams <dcbw@redhat.com>
15099 - Remove cipher-manager.* because we don't need it
15100 - Forgot to add gnome-keyring-md5 files to compile list
15102 2005-12-09 Dan Williams <dcbw@redhat.com>
15107 - Add a utility library for clients of NetworkManager. It's
15108 only targetted at applets for the moment, and contains
15109 a generalized 802.11 cipher framework for different
15110 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15112 2005-12-09 Robert Love <rml@novell.com>
15114 * src/NetworkManagerDevice.c: handle error better in
15115 nm_device_set_mode().
15117 2005-12-08 Robert Love <rml@novell.com>
15119 * include/NetworkManager.h: add WPA capabilities constants
15120 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15121 or WPA2 and add the capabilities bits as appropriate.
15123 2005-12-08 Robert Love <rml@novell.com>
15125 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15126 NetworkManagerDispatcher.
15127 * configure.in, initscript/SUSE/.cvsignore,
15128 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15131 2005-12-08 Robert Love <rml@novell.com>
15133 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15135 2005-12-08 Robert Love <rml@novell.com>
15137 * src/NetworkManagerDevice.c: We want to fall back on and default to
15138 IW_MODE_AUTO, not -1, which is more in line with our previous
15139 behavior. Otherwise, we try to set the wireless mode to -1 in
15140 nm_device_set_mode().
15142 2005-12-07 Robert Love <rml@novell.com>
15144 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15145 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15146 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15147 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15148 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15149 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15152 2005-12-07 Robert Love <rml@novell.com>
15154 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15155 supplied IP is invalid, fall back to DHCP.
15157 2005-12-07 Dan Williams <dcbw@redhat.com>
15159 * Convert NETWORK_MODE_* constants to IW_MODE_*
15160 * Make all the get_mode/set_mode functions take and return 'int'
15161 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15163 2005-12-07 Robert Love <rml@novell.com>
15165 * src/NetworkManagerDevice.c: strncpy() buffer check.
15166 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15168 2005-12-06 Dan Williams <dcbw@redhat.com>
15170 * gnome/applet/applet-dbus.c
15171 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15173 * gnome/applet/applet-dbus-vpn.c
15174 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15175 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15176 to TRUE here if stage was ACTIVATED
15178 2005-12-06 Dan Williams <dcbw@redhat.com>
15180 * Change nm_device_is_* functions to better names:
15181 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15182 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15184 2005-12-06 Dan Williams <dcbw@redhat.com>
15186 * Change naming of NMDeviceType to something more sensible:
15187 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15188 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15189 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15191 2005-12-06 Dan Williams <dcbw@redhat.com>
15193 * Move NetworkManager.h -> include/NetworkManager.h
15194 * Split out VPN stuff into include/NetworkManagerVPN.h
15195 * Fix up makefiles to include new location
15196 * Fix up sources to include NetworkManagerVPN.h
15198 2005-12-06 Dan Williams <dcbw@redhat.com>
15200 Various changes in the applet to move VPN connection "state" -> "stage",
15201 which it actually is. I'd like to change the signal as well when we
15202 break compat in the near future.
15204 2005-12-06 Dan Williams <dcbw@redhat.com>
15206 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15207 * initscript/Slackware/rc.networkmanager
15210 * src/backends/NetworkManagerSlackware.c
15211 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15214 2005-12-05 Robert Love <rml@novell.com>
15216 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15217 to free, particularly here as it just barfs.
15219 2005-12-05 Dan Williams <dcbw@redhat.com>
15221 * gnome/applet/applet-dbus.c
15222 - Work with dbus 0.6 too
15224 2005-12-03 Dan Williams <dcbw@redhat.com>
15226 * src/NetworkManagerUtils.[ch]
15227 src/nm-ip4-config.c
15228 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15229 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15231 2005-12-01 Robert Love <rml@novell.com>
15233 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15234 need a NULL for the '...' parameter, too, to fill the so-called
15237 2005-12-01 Robert Love <rml@novell.com>
15239 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15240 interface is already gone, so don't call rtnl_link_change() to down
15241 it (which will segfault, anyhow).
15243 2005-11-22 Robert Love <rml@novell.com>
15245 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15246 gateway is not set, just print a little note. Configurations without
15247 gateways are valid.
15249 2005-11-22 Robert Love <rml@novell.com>
15253 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15255 * configure.in: Added Finnish translation to ALL_LINGUAS
15257 2005-11-14 Robert Love <rml@novell.com>
15259 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15260 Niemueller <tim@niemueller.de>.
15262 2005-11-08 Dan Williams <dcbw@redhat.com>
15264 Patch from Bill Moss <bmoss@clemson.edu>
15265 * src/NetworkManagerDevice.c
15266 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15267 of nm_policy_schedule_activation_finish() to prevent a
15268 race condition that causes the link to be dropped
15270 2005-11-08 Dan Williams <dcbw@redhat.com>
15272 Patch from Bill Moss <bmoss@clemson.edu>
15273 * src/NetworkManagerAPList.c
15274 src/NetworkManagerDevice.c
15275 src/NetworkManagerDbus.c
15276 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15277 we get more readable ether/mac addresses
15279 2005-11-02 Christopher Aillon <caillon@redhat.com>
15281 * gnome/applet/main.c: Don't set the restart command. This fixes
15282 the issue where the restart command was getting copies of all its
15283 arguments for each time the applet was restarted.
15285 2005-11-02 Robert Love <rml@novell.com>
15287 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15288 if the widget state differs from our saved state. This ensures we
15289 do not enter an endless loop of death and destruction. Also, this
15290 guarantees us that we enforce the widget state.
15292 2005-11-02 Robert Love <rml@novell.com>
15294 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15295 * gnome/applet/applet-dbus-devices.c: invoke the new function
15296 nmwa_enable_wireless_set_active() to ensure that the state of the
15297 'Enable Wireless' checkbox matches the daemon's state. This is a
15298 concern because the daemon remembers the state.
15300 2005-11-02 Robert Love <rml@novell.com>
15302 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15303 Enabled", as checkboxes should be actions/commands not positive
15304 statements, otherwise they are confusing in the unselected case. See
15305 examples in GNOME HIG, Chapter 6.
15307 2005-11-02 Robert Love <rml@novell.com>
15309 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15310 show a list of wireless networks or the wireless devices or the
15311 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15312 a bad bug: If wireless is disabled and the user picks a wireless
15313 network, NM will switch to the network, only to immediately switch
15314 back, as wireless is disabled. This also reassures people that NM
15315 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15317 2005-11-02 Christopher Aillon <caillon@redhat.com>
15319 * gnome/applet/applet.c:
15320 * gnome/applet/applet.h:
15321 Partial backout of Dan's timeout animation patch.
15322 Timeout IDs cannot legally be 0, so revert the code in place to handle
15323 a timeout ID of 0 to denote the timeout isn't running.
15325 2005-11-02 Christopher Aillon <caillon@redhat.com>
15327 * src/NetworkManagerPolicy.c:
15328 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15330 2005-10-28 Robert Love <rml@novell.com>
15332 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15333 "Import Saved Configuration..." to make it clear that importing is
15334 not the next step, but an option. As an aside, a nice TODO would be
15335 to move Importing out of the vpn-specific dialog and into the main
15336 property editor, as Importing goes with Adding, but that will require
15337 some rearchitecting of the VPN stuff I suspect.
15339 2005-10-27 Dan Williams <dcbw@redhat.com>
15341 Start using libnl. You need 1.0-pre3 or higher. Eventually
15342 we should replace most of the distro-specific backend code
15345 Get it here: http://people.suug.ch/~tgr/libnl/
15349 - Add checks for libnl pkgconfig file
15350 - Use LIBNL_LIBS & LIBNL_CFLAGS
15352 * src/NetworkManagerSystem.c
15353 src/nm-ip4-config.[ch]
15354 - Use libnl rather than ioctl() for most things
15355 - Remove unused functions
15357 2005-10-27 Robert Love <rml@novell.com>
15359 * src/backends/NetworkManagerSuSE.c: fix warning message text
15361 2005-10-27 Christopher Aillon <caillon@redhat.com>
15363 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15365 2005-10-27 Christopher Aillon <caillon@redhat.com>
15367 * gnome/applet/applet.c: The applet's about dialog can advertise our
15368 project page <http://www.gnome.org/projects/NetworkManager/>
15370 2005-10-26 Christopher Aillon <caillon@redhat.com>
15372 * gnome/applet.c: Also use translator credits if we don't have
15373 the new GtkAboutDialog (older versions of GTK+)
15375 2005-10-26 Robert Love <rml@novell.com>
15377 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15378 failure; correct usage text for "--no-daemon"
15380 2005-10-25 Dan Williams <dcbw@redhat.com>
15382 * src/NetworkManagerDevice.c
15383 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15385 - (free_process_scan_cb_data): unref the device when freeing results
15386 - (nm_device_wireless_process_scan_results): free scan results a bit later
15387 so we don't unref the device underneath ourselves
15389 2005-10-25 Dan Williams <dcbw@redhat.com>
15391 * Back out 2005-10-24 commit from Tor Krill. Patch
15392 causes nameservers never to be removed from named.
15394 2005-10-24 Dan Williams <dcbw@redhat.com>
15396 Clean up wireless scanning and wireless link probing.
15398 * src/NetworkManagerDevice.c
15399 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15400 just see if there's an activation request on the device, and check the
15401 current link against the activation request access point's ESSID.
15402 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15403 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15404 don't call process_scan_results() on zero-length data
15405 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15406 15 seconds (from 10)
15408 2005-10-24 Dan Williams <dcbw@redhat.com>
15410 Cleanup some applet stuff:
15412 - Animation timeouts. If NM died while the applet was animating,
15413 the applet would not hide itself. This is now fixed.
15415 - Remove some dead code
15417 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15418 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15420 - Track animation timeout using a gboolean rather than the timeout's
15421 ID, since timeout IDs can legally be 0.
15423 2005-10-24 Dan Williams <dcbw@redhat.com>
15425 * src/backends/interface_parser.c
15426 - Add void to function declarations that need it
15427 to match patch from Engin AYDOGAN
15429 * src/backends/interface_parser.h
15430 - Remove unused prototype for ifparser_interfaces()
15432 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15433 * src/backends/interface_parser.h:
15434 - Compile fixes for gcc 4.0.2 (add void)
15436 2005-10-24 Dan Williams <dcbw@redhat.com>
15438 Patch from Tor Krill <tor@krill.nu>
15439 * src/named-manager/nm-named-manager.c
15440 - Write more than just the first nameserver to /etc/resolv.conf
15441 - Write out valid /etc/resolv.conf on exit
15443 2005-10-21 Christopher Aillon <caillon@redhat.com>
15445 * gnome/applet/applet-dbus-vpn.c:
15446 Get rid of spurious newlines in debug console output
15448 2005-10-21 Christopher Aillon <caillon@redhat.com>
15450 * src/backends/NetworkManagerGentoo.c:
15451 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15453 2005-10-20 Robert Love <rml@novell.com>
15455 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15456 direct comparison of floating point values, which is never correct.
15457 Also some misc. cleanup.
15459 2005-10-19 Robert Love <rml@novell.com>
15461 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15463 2005-10-19 Robert Love <rml@novell.com>
15465 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15466 sensitivity of the buttons. Specificaly, do the right thing if
15467 there are no entries.
15469 2005-10-19 Christopher Aillon <caillon@redhat.com>
15471 * configure.in: Update check for adequate wireless-tools
15472 with an AC_TRY_COMPILE for the new symbols we use.
15474 2005-10-19 Dan Williams <dcbw@redhat.com>
15476 * src/NetworkManagerDevice.c
15477 - (process_scan_results): don't drop the last (or only)
15478 access point we see
15480 2005-10-19 Christopher Aillon <caillon@redhat.com>
15482 * src/backends/NetworkManagerSlackware.c:
15483 Patch from Nico <lordllucifer@gmail.com>
15484 - Update the Slackware backend.
15486 2005-10-18 Christopher Aillon <caillon@redhat.com>
15488 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15489 if we've got GLib 2.8.0
15491 2005-10-18 Robert Love <rml@novell.com>
15493 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15494 function nm_schedule_state_change_signal_broadcast() when we
15495 deactivate a device, too.
15497 2005-10-18 Robert Love <rml@novell.com>
15499 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15500 be used uninitialized.
15502 2005-10-18 Christopher Aillon <caillon@redhat.com>
15504 * test/libnm_glib_test.c: Test unregistering, too.
15506 2005-10-17 Christopher Aillon <caillon@redhat.com>
15508 * configure.in: Bump to 0.5.0
15510 2005-10-17 Dan Williams <dcbw@redhat.com>
15513 - Remove WPA-related constants so they aren't part of the
15516 2005-10-17 Christopher Aillon <caillon@redhat.com>
15518 * gnome/applet/applet.c:
15519 * gnome/applet/applet.h:
15520 Desensitize the 'Connection Information' menu item when there is
15521 no active connection.
15523 2005-10-17 Christopher Aillon <caillon@redhat.com>
15525 * gnome/libnm_glib/libnm_glib.c:
15526 Make libnm_glib_unregister_callback () actually unregister the callback
15528 2005-10-17 Robert Love <rml@novell.com>
15530 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15531 two seconds -- tries is updated every 1/10 of a second, not every
15534 2005-10-17 Christopher Aillon <caillon@redhat.com>
15536 * gnome/applet/applet-dbus-info.c:
15537 Let D-BUS know that we haven't handled a message when we haven't.
15539 2005-10-17 Robert Love <rml@novell.com>
15541 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15542 in order to remain 64-bit clean.
15544 2005-10-17 Christopher Aillon <caillon@redhat.com>
15546 * gnome/applet/applet-dbus-info.c:
15547 Find network encryption keys asynchronously
15549 2005-10-17 Robert Love <rml@novell.com>
15551 * src/backends/NetworkManagerDebian.c,
15552 src/backends/NetworkManagerRedHat,
15553 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15556 2005-10-17 Robert Love <rml@novell.com>
15558 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15561 2005-10-17 Christopher Aillon <caillon@redhat.com>
15563 * src/NetworkManagerDevice.c: (process_scan_results)
15564 Fix logic that checks to see whether we have an ESSID.
15566 2005-10-15 Dan Williams <dcbw@redhat.com>
15568 Move scanning code into NetworkManager rather than use iwlib's
15569 iw_scan() function, so that we can figure out AP capabilities.
15572 - Add AP capability bits
15574 * src/NetworkManagerAP.[ch]
15575 - Add capability field to NMAccessPoint structure
15576 - Add WPA & RSN Information Element fields and accessor
15577 functions to NMAccessPoint
15579 * src/NetworkManagerDevice.c
15580 - Remove usage of iw_scan
15581 - Add scanning code to NetworkManager rather than use
15582 iw_scan() from iwlib
15584 * src/NetworkManagerUtils.[ch]
15585 - (nm_dispose_scan_results): remove, unused
15587 2005-10-14 Christopher Aillon <caillon@redhat.com>
15589 * gnome/libnm_glib/libnm_glib.c:
15590 * gnome/libnm_glib/libnm_glib.h:
15591 Use guint instead of gint for callback IDs.
15593 2005-10-12 Christopher Aillon <caillon@redhat.com>
15595 * gnome/applet/applet.c:
15596 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15597 every 1000ms. It will unconditionally call nmwa_update_state which
15598 kills the existing animation timeout and registers a new one with a
15599 callback to draw a new frame every 100ms. There are 11 connecting
15600 icon frames, so the last 2 frames kept getting dropped. Only reset
15601 the animation timeout if we aren't animating.
15603 2005-10-11 Dan Williams <dcbw@redhat.com>
15605 * gnome/applet/applet-dbus-devices.c
15606 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15607 We want to grab the product & vendor from net.physical_dev
15608 rather than info.parent.
15610 2005-10-11 Dan Williams <dcbw@redhat.com>
15612 * src/NetworkManagerDevice.c
15613 - Use the driver's WE version for scanning rather than
15614 the WE version NM was compiled with. Fixes random
15615 crashes in iw_scan () in iwlib.
15617 2005-10-10 Dan Williams <dcbw@redhat.com>
15619 * Remove nm_system_load_device_modules() from backend files
15620 and from NetworkManager.c
15622 2005-10-10 Dan Williams <dcbw@redhat.com>
15624 * src/NetworkManagerPolicy.c
15625 - Fix some bugs introduced by the capabilities patch
15627 2005-10-10 Dan Williams <dcbw@redhat.com>
15629 * gnome/applet/applet-dbus-info.c
15630 - (nmi_dbus_get_network_key): hide the menu when putting up
15631 the keyring dialog. (not sure if the code is right...)
15633 2005-10-09 Dan Williams <dcbw@redhat.com>
15635 Patch from Bill Moss <bmoss@clemson.edu>
15636 * src/NetworkManagerDevice.c
15637 - (nm_device_set_user_key_for_network): don't try to set auth
15638 mode on the AP from the allowed list if it's NULL
15640 2005-10-09 Dan Williams <dcbw@redhat.com>
15642 * Replace the "driver support level" stuff with capabilities. The
15643 capability field is a bitfield that is more flexible than the
15644 old driver support level thing. It's mostly so we can easily
15645 figure out what supports WPA and what doesn't, but should be
15646 quite useful later.
15648 2005-10-09 Dan Williams <dcbw@redhat.com>
15655 - Added new "nm-tool" tool that gives quite a bit more
15658 2005-10-07 Robert Love <rml@novell.com>
15660 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15661 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15662 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15663 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15666 2005-10-07 Robert Love <rml@novell.com>
15668 * configure.in: Change our compile flags for the betterment of mankind.
15669 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15670 prototype is very bad on 64-bit platforms as types default to int but
15671 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15672 "-Wmissing-declarations" to warn if we define an exported function
15673 but fail to put it in a header.
15675 2005-10-07 Robert Love <rml@novell.com>
15677 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15678 by the name nm_update_device_wireless_timeouts() and once tried,
15679 without success, to steal my pet turtle.
15681 2005-10-07 Robert Love <rml@novell.com>
15683 * Cleanup prototypes: put some functions in header files and mark
15684 others as 'static' -- feel free to invert
15685 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15686 nm_vpn_manager_vpn_connection_list_copy()
15687 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15688 nm_vpn_service_get_dbus_connection()
15689 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15690 nm_vpn_manager_vpn_connection_list_copy()
15691 * src/vpn-manager/nm-vpn-service.c: make
15692 nm_vpn_service_act_request_failed() and
15693 nm_vpn_service_stage2_daemon_wait() static
15694 * src/vpn-manager/nm-vpn-service.h: add prototype for
15695 nm_vpn_service_get_dbus_connection()
15697 2005-10-06 Christopher Aillon <caillon@redhat.com>
15699 * gnome/applet/applet.c:
15700 * gnome/applet/applet.h:
15701 * gnome/applet/icons/Makefile.am:
15702 Convey information about the current connection stage in the
15703 icons themselves instead of creating a separate progress bar.
15705 2005-10-04 Robert Love <rml@novell.com>
15707 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15708 convert an ether_addr structure's MAC into a string, because the
15709 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15710 versus 07:3B:04, while the former will not.
15712 2005-10-04 Robert Love <rml@novell.com>
15714 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15715 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15716 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15717 default route in the 'Connection Information' dialog, send primary
15718 and secondary name servers in in "getProperties" DBUS method, add
15719 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15720 secondary domain name servers are crucial pieces of information
15721 that a user might need in debugging a network problem.
15723 2005-10-04 Robert Love <rml@novell.com>
15725 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15726 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15727 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15728 default route in the 'Connection Information' dialog, send default
15729 route in "getProperties" DBUS method, add network_device_set_route(),
15730 and network_device_get_route(). The Gateway is a crucial piece of
15731 connection-related information that a user might need in debugging a
15734 2005-10-03 Robert Love <rml@novell.com>
15736 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15739 2005-10-02 Dan Williams <dcbw@redhat.com>
15741 * Shorten time taken to sleep by fastpathing bits of device deactivation
15742 necessary for sleep.
15744 * Fix issue where deactivating a device might deactivate the active
15745 VPN connection, even if the VPN was not using the device.
15747 2005-10-02 Dan Williams <dcbw@redhat.com>
15749 * gnome/applet/applet.c
15750 - Adjust signal strength -> icon mapping values slightly
15751 (so that 51% signal doesn't show a 75% icon) by adding
15752 5% to the values. ex: > 5% now shows 25% icon, > 30%
15753 shows 50% icon, etc.
15755 2005-09-29 Robert Love <rml@novell.com>
15757 * src/NetworkManager.c: removed unused variable.
15759 2005-09-28 Dan Williams <dcbw@redhat.com>
15761 Support for named + DBus, using Red Hat DBus patches for named. You
15762 can find those patches here, with "dbus" in the patch's filename:
15764 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15766 Don't forget the named dbus service file either.
15768 Instead of writing a config file and spawing a named process, NM will
15769 use an already-running dbus-enabled named if it finds one. NM will
15770 update named's forwarder configuration on the fly using dbus.
15772 If there is no dbus-enabled named running, NM will automatically fall
15773 back to writing the most-recent DNS server information to /etc/resolv.conf
15774 and calling nm_system_update_dns() to kick the system's resolver.
15776 Accordingly, all named-related configure-time options have been removed.
15778 2005-09-26 Robert Love <rml@novell.com>
15780 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15782 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15783 bug in error path if "ASKPASSWORD" is "no".
15785 2005-09-26 Robert Love <rml@novell.com>
15787 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15788 comment in /etc/resolv.conf -- ';' is not.
15790 2005-09-19 Dan Williams <dcbw@redhat.com>
15792 * src/backends/NetworkManagerRedHat.c:
15793 * src/backends/NetworkManagerDebian.c:
15794 * src/backends/NetworkManagerSlackware.c:
15795 * src/backends/NetworkManagerGentoo.c:
15796 * src/backends/NetworkManagerSUSE.c:
15797 Fix invocations of "/sbin/ip address" to use short form instead
15799 2005-09-19 Christopher Aillon <caillon@redhat.com>
15801 * src/nm-dbus-device.c: Don't assert when getting
15802 addresses of a not yet connected interface.
15804 * gnome/applet/applet.c: Free icons if loading fails.
15805 Use translator-credits so translators can make themselves known.
15807 2005-09-15 Christopher Aillon <caillon@redhat.com>
15809 * src/NetworkManagerAP.c:
15810 * src/NetworkManagerAP.h:
15811 * src/NetworkManagerDevice.c:
15812 Set a blacklist for certain common manufacturer default ESSIDs:
15813 APs with these ESSIDs are extremely likely to be completely
15814 different networks: connecting to one should not make NM
15815 auto-connect to every other AP with the same default ESSID.
15817 2005-09-12 Christopher Aillon <caillon@redhat.com>
15819 * gnome/applet/wireless-applet.glade:
15820 The passphrase entry should also activate the default
15822 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15824 * gnome/applet/applet-dbus-devices.c:
15825 * gnome/applet/applet.c:
15826 * gnome/applet/nm-device.c:
15827 * gnome/applet/nm-device.h:
15828 * src/NetworkManagerUtils.c:
15829 * src/NetworkManagerUtils.h:
15830 * src/nm-dbus-device.c:
15831 I've got a fever, and the only cure for it is less ioctl.
15832 Make NM push IP data rather than make the applet open a socket
15835 2005-09-10 Christopher Aillon <caillon@redhat.com>
15837 * gnome/applet/applet.c:
15838 * gnome/applet/applet-dbus-devices.c:
15839 * gnome/applet/applet-dbus-info.c:
15840 * gnome/applet/passphrase-dialog.c:
15841 * gnome/libnm_glib/libnm_glib.c:
15842 * gnome/vpn-properties/nm-vpn-properties.c:
15844 * src/backends/NetworkManagerRedHat.c:
15845 * src/named-manager/nm-named-manager.c:
15846 * src/NetworkManagerAPList.c:
15847 * src/NetworkManager.c:
15848 * src/NetworkManagerDbus.c:
15849 * src/NetworkManagerDevice.c:
15850 * src/NetworkManagerPolicy.c:
15851 * src/NetworkManagerSystem.c:
15852 * src/nm-dbus-device.c:
15853 * src/nm-dbus-nm.c:
15854 * src/vpn-manager/nm-vpn-manager.c:
15855 * src/vpn-manager/nm-vpn-service.c:
15856 * test/libnm_glib_test.c:
15857 * test/nminfotest.c:
15858 * test/nmtestdevices.c:
15859 Fix a bunch of 'unused variable' compiler warnings
15861 * NetworkManager.h:
15862 * gnome/applet/applet-dbus-info.c:
15863 * gnome/applet/applet-dbus-info.h:
15864 * gnome/applet/applet.c:
15865 * gnome/applet/applet.h:
15866 * src/NetworkManager.c:
15867 * src/NetworkManagerDbus.c:
15868 * src/NetworkManagerDbus.h:
15869 * src/NetworkManagerDevice.c:
15870 * src/NetworkManagerDevice.h:
15871 * src/NetworkManagerMain.h:
15872 * src/NetworkManagerWireless.c:
15873 * src/NetworkManagerWireless.h:
15874 * src/nm-dbus-nm.c:
15875 Make NetworkManager be smart about how frequently to scan
15876 based on its current state. Remove the UI for choosing when
15877 to scan. Scanning still may disabled completely by the user
15878 via the "Wireless Enabled" menu item.
15880 2005-09-09 Christopher Aillon <caillon@redhat.com>
15882 * gnome/applet/applet.c:
15883 Also overlay the vpn connecting icons onto the wired icon,
15886 * gnome/vpn-properties/nm-vpn-properties.glade:
15887 Clean up a few strings to use better grammar and proper casing.
15889 2005-09-08 Christopher Aillon <caillon@redhat.com>
15891 * gnome/applet/vpn-connection.c:
15892 * gnome/applet/vpn-connection.h:
15893 Add nmwa_vpn_connection_is_activating ()
15895 * gnome/applet/applet.c:
15896 * gnome/applet/applet.h:
15897 * gnome/applet/icons/nm-vpn-connecting*.png:
15898 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15899 the user know something's happening between clicking the VPN item and it
15900 actually being connected.
15902 2005-09-07 Christopher Aillon <caillon@redhat.com>
15904 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15905 failure case as well.
15907 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15909 * gnome/panel/eggtrayicon.[ch]:
15910 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15912 2005-09-07 Dan Williams <dcbw@redhat.com>
15914 Patch from Bill Moss <bmoss@clemson.edu>
15915 * src/applet-dbus.c
15916 - (nmwa_dbus_filter): strip whitespace from beginning
15917 and end of VPN login banner
15919 2005-09-07 Dan Williams <dcbw@redhat.com>
15921 * The great VPN Manager rewrite of 2005
15923 2005-09-07 Christopher Aillon <caillon@redhat.com>
15925 * gnome/applet/menu-items.c:
15926 * gnome/applet/nm-device.c:
15927 * gnome/applet/wireless-network.c:
15928 * gnome/libnm_glib/libnm_glib.c:
15929 * src/NetworkManagerDbusUtils.c:
15930 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15931 g_malloc0 doesn't return NULL
15933 2005-09-06 Dan Williams <dcbw@redhat.com>
15935 Patch from Tomislav Vujec <tvujec@redhat.com>
15936 * src/NetworkManagerDevice.c
15937 - (nm_get_device_by_udi): don't return a device when we
15938 actually didn't find what we were looking for
15940 2005-09-06 Christopher Aillon <caillon@redhat.com>
15942 * gnome/applet/applet-dbus-devices.c:
15943 * gnome/applet/applet-dbus-devices.h:
15944 * gnome/applet/applet-dbus.c:
15945 * src/NetworkManagerDbus.c:
15946 * src/NetworkManagerDbus.h:
15947 * src/NetworkManagerDevice.c:
15948 * src/nm-dbus-device.c:
15949 Make NM push updates about active device strength when it changes,
15950 rather than having the applet poll every 2s.
15952 2005-09-05 Christopher Aillon <caillon@redhat.com>
15954 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15955 network_device_set_strength
15957 2005-09-04 Dan Williams <dcbw@redhat.com>
15959 Patch from Bill Nottingham <notting@redhat.com>
15960 * src/NetworkManagerDevice.c
15961 - (nm_device_activation_cancel): reset the quit_activation flag
15963 2005-09-04 Dan Williams <dcbw@redhat.com>
15965 * src/nm-activation-request.c
15966 - (nm_act_request_unref): actually free the structure,
15967 which we didn't seem to be doing before
15969 2005-09-04 Dan Williams <dcbw@redhat.com>
15971 Patch from John Palmieri <johnp@redhat.com>
15972 * gnome/applet/applet-dbus-devices.c
15973 - Fix up unreffing of DBusMessage objects
15975 2005-09-04 Dan Williams <dcbw@redhat.com>
15977 Patch from John Palmieri <johnp@redhat.com>
15978 * gnome/applet/nm-device.c
15979 - (nm_device_unref): clear network_device's memory _before_ freeing it
15981 2005-09-02 Christopher Aillon <caillon@redhat.com>
15983 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15985 2005-09-02 Bill Nottingham <notting@redhat.com>
15987 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15989 2005-09-01 Dan Williams <dcbw@redhat.com>
15991 * src/NetworkManager.c
15992 - (nm_remove_device_from_list): rename to nm_remove_device
15993 - (nm_hal_device_removed): call nm_remove_device()
15995 * src/NetworkManagerDevice.c
15996 - Change the NMWirelessScanCB member 'reschedule' which
15997 wasn't used to 'force' to indicate that we need to
15998 force a scan when adding a device
16001 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
16002 from the device list
16003 - (nm_dbus_nm_wake): Re-add all devices to the device list
16005 2005-09-01 Robert Love <rml@novell.com>
16007 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
16008 and the check "!iface" in the error case is probably never true.
16010 2005-09-01 Dan Williams <dcbw@redhat.com>
16012 Patch from Bill Nottingham <notting@redhat.com>
16013 * src/backends/NetworkManagerRedHat.c
16014 - Add initial dialup support to Red Hat/Fedora backend
16016 2005-09-01 Dan Williams <dcbw@redhat.com>
16018 * gnome/applet/applet-dbus-devices.c
16019 - Sort both wireless networks and devices again, which got
16020 broken when removing threading
16022 2005-09-01 Christopher Aillon <caillon@redhat.com>
16024 * gnome/applet/applet.c:
16025 Only show the "Stop/Start All Wireless Devices" menuitem
16026 if we actually have wireless devices.
16028 * gnome/applet/applet-dbus-info.c:
16029 * gnome/applet/applet.c:
16030 * gnome/applet/other-network-dialog.c:
16031 * gnome/applet/vpn-password-dialog.c:
16032 Drop the gtk_dialog_run () calls in favor of connecting to
16033 "response" signals, needed now that the applet is not threaded.
16035 2005-08-31 Dan Williams <dcbw@redhat.com>
16037 Patch from Bill Moss <bmoss@clemson.edu>
16038 * src/NetworkManagerDevice.c
16039 - (nm_device_wireless_scan): fix scan timeout values
16041 2005-08-30 Dan Williams <dcbw@redhat.com>
16043 * gnome/applet/wireless-applet.glade
16044 - HIG-ify the Other Wireless Networks dialog a bit more
16045 - Fix some potential segfaults in the info dialog
16047 2005-08-30 Dan Williams <dcbw@redhat.com>
16049 * gnome/applet/applet-dbus-devices.c
16050 - Remove nmwa_dbus_get_hal_device_string_property(); unused
16052 2005-08-30 Dan Williams <dcbw@redhat.com>
16054 * gnome/applet/applet-dbus.[ch]
16055 - Remove all the nmwa_dbus_call_method_xxxx functions since
16056 they weren't being used anyway
16058 2005-08-30 Bastien Nocera <hadess@hadess.net>
16060 * test/nmtestdevices.c: (print_usage), (main):
16061 Check the number of arguments, and fix a typo
16063 2005-08-29 Dan Williams <dcbw@redhat.com>
16065 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16066 * gnome/applet/applet.c
16067 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16069 2005-08-29 Dan Williams <dcbw@redhat.com>
16072 - Don't use threads any more. Anything that blocks
16073 (like gtk_dialog_run()) will have to get fixed up which
16074 should happen quickly. We really only had threads to make
16075 the animation smooth, and when everything got converted over
16076 to DBus Pending Calls, the need for threads kind of went away
16078 2005-08-29 Christopher Aillon <caillon@redhat.com>
16080 * gnome/applet/applet.c: Draw VPN connections as radio items
16081 since we don't yet support multiple VPNs.
16082 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16083 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16085 2005-08-29 Dan Williams <dcbw@redhat.com>
16087 Patch from j@bootlab.org
16088 - Make --without-named work
16089 - Make --with-dhcdbd work correctly
16091 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16093 * configure.in: Added "ca" to ALL_LINGUAS.
16095 2005-08-26 Christopher Aillon <caillon@redhat.com>
16097 * Fix up VPN state handling between the applet and NetworkManager,
16098 so that the applet doesn't show a VPN as connected when one
16100 - The applet no longer has a pointer to the active VPN's
16101 name, but tracks each VPNs state individually
16102 - NM no longer has a "getActiveVPNConnection" method
16103 - NM no longer broadcasts the "VPNConnectionChange" signal
16104 - NM now broadcasts a "VPNConnectionStateChange" signal
16105 whenever the state of a VPN changes
16107 2005-08-26 Dan Williams <dcbw@redhat.com>
16109 * gnome/applet/applet-dbus-devices.c
16110 gnome/applet/applet-dbus-vpn.c
16111 - Remove calls to dbus_pending_call_ref() because we already
16112 "own" the pending call
16113 - Remove calls to dbus_pending_call_get_completed() because
16114 when we are in the callback, the pending call is completed
16117 2005-08-22 Dan Williams <dcbw@redhat.com>
16119 Patch by Bill Moss <bmoss@clemson.edu>
16120 * src/dhcp-manager/nm-dhcp-manager.c
16121 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16122 some time to send out a RELEASE if they like
16124 2005-08-22 Dan Williams <dcbw@redhat.com>
16126 Noticed by Bill Moss <bmoss@clemson.edu>
16127 * src/NetworkManagerDbus.c
16128 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16129 instead of just cancelling its activation
16131 * src/NetworkManagerDevice.c
16132 - (nm_device_deactivate): some small cleanups
16133 - (nm_device_set_user_key_for_network): deactivate the device
16134 instead of just cancelling its activation
16136 2005-08-22 Dan Williams <dcbw@redhat.com>
16138 Noticed by Bill Moss <bmoss@clemson.edu>
16139 * src/NetworkManagerDevice.c
16140 - (nm_device_wireless_scan): fix scan timeout, we were
16141 waiting way too long for scans to complete
16143 2005-08-22 Dan Williams <dcbw@redhat.com>
16145 Patch from j@bootlab.org:
16146 * src/backends/NetworkManagerDebian.c
16147 - Make the Debian backend work for static IP again
16149 2005-08-20 Christopher Aillon <caillon@redhat.com>
16151 * gnome/applet/other-network-dialog.c:
16152 The "Create New Network" and "Connect to Other Network"
16153 dialogs share alot of code, but shouldn't share a window
16154 title. Give them different ones.
16156 * gnome/applet/wireless-applet.glade:
16157 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16158 Some more minor UI tweaks.
16160 2005-08-19 Christopher Aillon <caillon@redhat.com>
16162 * gnome/applet/other-network-dialog.c:
16163 * gnome/applet/wireless-applet.glade:
16164 Also need mnemonic widgets, and underline enabled.
16166 2005-08-19 Dan Williams <dcbw@redhat.com>
16168 * vpn-daemons/vpnc/nm-vpnc-service.c
16169 - (vpnc_watch_cb): remove no-longer-relevant comment
16170 - (write_config_option): new function, helper to write
16171 config options to vpnc's stdin
16172 - (nm_vpnc_config_write): use the new helper, make the
16175 2005-08-19 Christopher Aillon <caillon@redhat.com>
16177 * gnome/applet/passphrase-dialog.c:
16178 * gnome/applet/wireless-applet.glade:
16179 Make the passphrase dialog response based, and treat
16180 responses other than OK (such as Esc, [X]) as a cancel.
16182 2005-08-18 Christopher Aillon <caillon@redhat.com>
16184 * initscript/Gentoo/NetworkManager:
16185 * initscript/RedHat/NetworkManager:
16186 * initscript/RedHat/NetworkManagerDispatcher:
16187 * initscript/SUSE/networkmanager:
16188 CVS remove these in place of .in replacements
16191 * initscript/Gentoo/NetworkManager.in:
16192 * initscript/RedHat/NetworkManager.in:
16193 * initscript/RedHat/NetworkManagerDispatcher.in:
16194 * initscript/SUSE/networkmanager.in:
16195 These scripts now are generated so they work still when
16196 NM is built using a bindir other than /usr/bin
16198 2005-08-18 Dan Williams <dcbw@redhat.com>
16200 * gnome/applet/main.c
16201 - Revert previous change for --no-session since
16202 --sm-disable does the same thing
16204 2005-08-18 Dan Williams <dcbw@redhat.com>
16206 * gnome/applet/applet-dbus-info.c
16207 - (nmi_dbus_create_error_message): new function
16208 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16209 functions. Also don't check for both device _and_ network before
16210 asking for a user's key, because we may not have gotten all our
16211 networks back from NM quite yet (due to the dbus pending calls
16212 coming in later). Fixes a hang in NM/nm-applet.
16214 * src/NetworkManagerDbus.c
16215 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16216 slightly more sane manner, even though we are still broken for
16217 certain other error conditions.
16218 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16219 to the info-daemon too
16221 * src/NetworkManagerDevice.c
16222 - Fix some debug messages to be info messages instead
16224 2005-08-18 Dan Williams <dcbw@redhat.com>
16226 * gnome/applet/main.c
16227 - Add new "--no-session" parameter that disables applet
16228 session management, ie for testing
16230 2005-08-18 Christopher Aillon <caillon@redhat.com>
16232 * gnome/applet/other-network-dialog.c:
16233 * gnome/applet/wireless-applet.glade: More mnemonics
16235 2005-08-17 Robert Love <rml@novell.com>
16237 * initscript/SUSE/networkmanager: update
16239 2005-08-17 Dan Williams <dcbw@redhat.com>
16241 * Tag NM_0_4_1_RELEASE
16243 2005-08-17 Christopher Aillon <caillon@redhat.com>
16245 * gnome/applet/applet.c: More translatable string cleanup
16248 2005-08-17 Dan Williams <dcbw@redhat.com>
16250 * gnome/applet/applet-dbus-info.c
16251 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16252 from the dbus message, which tells us to unconditionally
16253 ask the user for a new key. Otherwise, we pull the key from
16254 the keyring and return it. If we fail to get the key from the
16255 keyring, we ask the user for a new key.
16256 - (nmi_dbus_get_network_key): new function to grab the key for
16257 an essid from the keyring.
16258 - (nmi_dbus_get_network_properties): don't access the keyring here.
16259 Also, don't return any key in the dbus message.
16261 * src/NetworkManagerDbus.[ch]
16262 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16263 indicate that we unconditionally want a new key. This function
16264 is now also used to get keys from the info-daemon which are
16265 pre-stored, not just for asking the user for a new key. The
16266 "new_key" parameter indicates whether or not we wish to ask the
16267 user for a new key.
16268 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16269 info-daemon in the return message, so use NULL instead. The
16270 key will be filled in at connect time by calling
16271 nm_dbus_get_user_key_for_network()
16273 * src/NetworkManagerDevice.c
16274 - (nm_device_wireless_configure): update for "new_key" param to
16275 nm_dbus_get_user_key_for_network(). We initially set new_key
16276 to FALSE to see if we have a stored key in the info-daemon, but
16277 if the connection is unsuccessful at this stage we request a
16280 2005-08-17 Dan Williams <dcbw@redhat.com>
16282 * gnome/applet/icons/nm-no-connection.png
16283 gnome/applet/icons/nm-device-wired.png
16284 - Use Diana's new RJ45 connector icons
16286 2005-08-17 Dan Williams <dcbw@redhat.com>
16288 * src/NetworkManagerPolicy.c
16289 - (nm_policy_device_change_check): clarify switching rules if
16290 both new and old devices are valid; mainly, don't switch
16291 away from user-requested wireless connection back to a wired
16294 2005-08-17 Dan Williams <dcbw@redhat.com>
16296 * gnome/applet/Makefile.am
16297 - Relocate the applet to /usr/bin since it is no longer
16298 executed by anything, but directly by the user
16300 2005-08-17 Dan Williams <dcbw@redhat.com>
16302 Patch from Bill Moss <bmoss@clemson.edu>
16304 * gnome/applet/applet-dbus-info.[ch]
16305 - (nmi_save_network_info): save timestamp for network if it
16306 was a change requested by the user
16307 - (nmi_dbus_update_network_info): get user_requested from dbus
16308 message and pass to nmi_save_network_info()
16310 * gnome/applet/applet.c
16311 - (nmwa_update_network_timestamp): remove
16312 - (nmwa_menu_item_activate): don't set timestamp on networks
16313 here, only after a successful connect in nmi_save_network_info()
16315 * src/NetworkManagerDbus.[ch]
16316 - (nm_dbus_update_network_info): pass user_requested into the
16319 * src/NetworkManagerPolicy.c
16320 - (nm_policy_activation_finish): pass user_requested to
16321 nm_dbus_update_network_info()
16323 2005-08-16 Robert Love <rml@novell.com>
16325 * gnome/applet/applet.c: Better "Dial Up" menu item.
16327 2005-08-16 Robert Love <rml@novell.com>
16329 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16330 "Connection Information" menu item.
16332 2005-08-16 Dan Williams <dcbw@redhat.com>
16334 Patch from j@bootlab.org
16335 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16337 * configure.in: allow specifying the path to dhcdbd
16339 2005-08-16 Robert Love <rml@novell.com>
16341 Patch from j@bootlab.org
16342 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16343 src/backends/interface_parser.h: Debian dialup support.
16345 2005-08-16 Christopher Aillon <caillon@redhat.com>
16347 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16348 * gnome/applet/applet.c: Add some mnemonics for VPNC
16350 * vpn-daemons/.cvsignore: fix this up a little bit
16352 2005-08-16 Robert Love <rml@novell.com>
16354 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16357 2005-08-16 Christopher Aillon <caillon@redhat.com>
16359 * gnome/applet/applet.c: Split markup out of translatable strings
16360 and clean up logic a little bit. (fixes #309012)
16362 2005-08-15 Christopher Aillon <caillon@redhat.com>
16364 * gnome/vpn-properties/nm-vpn-properties.c:
16365 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16366 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16367 Makeshift fix to remove newlines from translatable strings.
16368 Note that we now return an allocated string, so callers of
16369 get_confirmation_details () must now call g_free () on the
16370 result. (fixes #309033).
16372 2005-08-12 Robert Love <rml@novell.com>
16374 * gnome/applet/applet-dbus.c: remove newlines from translatable
16375 strings--not needed here anyway. (fix b.g.o #309011)
16376 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16378 2005-08-11 Robert Love <rml@novell.com>
16380 * gnome/applet/applet.c: mark string as translatable.
16382 2005-08-11 Robert Love <rml@novell.com>
16384 * initscript/SUSE/networkmanager: update.
16386 2005-08-11 Dan Williams <dcbw@redhat.com>
16388 * src/nm-dhcp-manager.c
16389 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16390 an gateway returned from DHCP, try to use the address of the DHCP
16391 server as the gateway instead. Found by Ralf Ertzinger.
16393 2005-08-10 Robert Love <rml@novell.com>
16395 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16396 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16398 2005-08-10 Dan Williams <dcbw@redhat.com>
16400 Patch from Bill Moss <bmoss@clemson.edu>
16401 * Consolidate writes of access point information updates to the info daemon
16402 so that we only do it when the connection to the access point was
16403 successful. Also consolidates updates to GConf in the Gnome applet.
16405 * src/nm-netlink-monitor.c
16406 - Silence compile warning when calling g_object_new()
16408 2005-08-08 Dan Williams <dcbw@redhat.com>
16410 Patch from Steev <steev@steev.net>:
16411 * src/backends/NetworkManagerGentoo.c
16412 - Stub new dialup backend functions
16414 2005-08-08 Dan Williams <dcbw@redhat.com>
16416 Patch from Colin Slater:
16417 * src/backends/NetworkManagerGentoo.c
16418 - (nm_system_update_dns): Fix exit status check for restarting
16421 2005-08-05 Robert Love <rml@novell.com>
16423 * NetworkManager.h,
16424 gnome/applet/applet-dbus-devices.c,
16425 gnome/applet/applet-dbus-devices.h,
16426 gnome/applet/applet-dbus.c,
16427 gnome/applet/applet.c,
16428 gnome/applet/applet.h,
16429 src/NetworkManager.c,
16430 src/NetworkManagerMain.h,
16431 src/NetworkManagerSystem.h,
16432 src/backends/NetworkManagerRedHat.c,
16433 src/backends/NetworkManagerSuSE.c,
16434 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16436 2005-08-05 Robert Love <rml@novell.com>
16438 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16439 machine's hostname to make adhoc creation idiot-proof.
16441 2005-08-04 Robert Love <rml@novell.com>
16443 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16446 2005-08-04 Dan Williams <dcbw@redhat.com>
16448 * gnome/applet/applet-dbus-info.c
16449 gnome/applet/applet-dbus-info.h
16450 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16451 to store key, key type, and auth method rather than just auth method
16452 - (nmi_dbus_update_network_info): new function
16453 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16455 * gnome/applet/passphrase-dialog.c
16456 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16457 of saving the info ourselves
16459 * gnome/libnm_glib/libnm_glib.c
16460 - Remove the stupid version check for dbus
16462 * src/NetworkManagerAP.c
16463 src/NetworkManagerAP.h
16464 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16466 * src/NetworkManagerDbus.c
16467 src/NetworkManagerDbus.h
16468 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16469 more than just the auth method
16471 * src/NetworkManagerDevice.c
16472 - Update network info at the appropriate times
16474 2005-07-29 Ray Strode <rstrode@redhat.com>
16476 * src/NetworkManager.c (nm_info_handler): don't use input as format
16477 string (Spotted by Ian Jackson).
16479 2005-07-27 Dan Williams <dcbw@redhat.com>
16483 - Random cleanups of spacing
16485 * gnome/applet/applet.h
16486 gnome/applet/other-network-dialog.c
16487 gnome/applet/passphrase-dialog.c
16488 - Conslidate usage of NMWAEncryptionKeyTypes enum
16490 Patch from Bill Moss:
16491 - Make Other Wireless Networks work again with encryption keys
16493 2005-07-26 Dan Williams <dcbw@redhat.com>
16495 Patch from Steev <steev@steev.net>:
16496 * src/backends/NetworkManagerGentoo.c
16497 src/backends/Makefile.am
16498 - Fix up Gentoo backend
16500 2005-07-26 Robert Love <rml@novell.com>
16502 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16504 2005-07-25 Robert Love <rml@novell.com>
16506 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16507 in the same group as the wireless networks, since they are all
16508 mutually exclusive.
16510 2005-07-24 Ray Strode <rstrode@redhat.com>
16512 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16513 remove unneeded NULL arg from g_object_new(). Any
16514 warnings caused by not having the extra NULL are just a
16515 result of a bug in glib 2.7.0 - 2.7.2.
16517 2005-07-22 Robert Love <rml@novell.com>
16519 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16521 2005-07-22 Robert Love <rml@novell.com>
16523 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16524 parameters (gcc 4.0.2 warning fix).
16526 2005-07-18 Robert Love <rml@novell.com>
16528 Suggested by Aaron Bockover (abockover@novell.com)
16529 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16531 * gnome/applet/passphrase-dialog.c: ditto
16532 * gnome/applet/wireless-applet.glade: ditto
16534 2005-07-13 Dan Williams <dcbw@redhat.com>
16536 Patch from Ray Strode <halfline@gmail.com>
16537 * vpn-daemons/vpnc/nm-vpnc-service.c
16538 - Don't let vpnc daemonize, fixes some races with PID file reading
16540 2005-07-13 Dan Williams <dcbw@redhat.com>
16542 Patch from Ray Strode <halfline@gmail.com>
16543 * Random cleanups for strict CFLAGS
16545 2005-07-07 Dan Williams <dcbw@redhat.com>
16547 Patch from Derek Atkins <warlord@MIT.EDU>
16548 * src/nm-dbus-net.c:
16549 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16551 2005-07-07 Dan Williams <dcbw@redhat.com>
16553 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16554 * src/backends/NetworkManagerGentoo.c
16555 - Gentoo backend Static IP nameserver fixes
16556 - General Gentoo backend goodness
16558 2005-07-07 Dan Williams <dcbw@redhat.com>
16560 Patch from Bastien Nocera:
16561 * gnome/applet/applet.c
16562 - Fix up error reporting when icons or glade files are missing
16564 2005-07-07 Robert Love <rml@novell.com>
16566 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16567 are not any VPN connections above it.
16569 2005-07-07 Robert Love <rml@novell.com>
16571 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16573 2005-07-05 Robert Love <rml@novell.com>
16575 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16578 2005-07-05 Robert Love <rml@novell.com>
16580 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16581 on wired or unencrypted wireless.
16583 2005-07-01 Robert Love <rml@novell.com>
16585 * src/NetworkManagerSystem.c: Print the error via strerror().
16587 2005-06-30 Robert Love <rml@novell.com>
16589 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16590 then exit if the glade file is not found. currently the application
16593 2005-06-30 Robert Love <rml@novell.com>
16595 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16596 explicitly up all interfaces on wake from sleep.
16598 2005-06-30 Robert Love <rml@novell.com>
16600 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16601 with information about the currently active connection.
16602 * gnome/applet/applet.h: (ditto)
16603 * gnome/applet/wireless-applet.glade: (ditto), new file
16605 2005-06-30 Robert Love <rml@novell.com>
16607 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16608 * src/nm-dbus-nm.c: print when we sleep and wake up.
16609 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16610 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16611 in /sbin unless D-BUS is, folks).
16612 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16614 2005-06-27 Robert Love <rml@novell.com>
16616 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16619 2005-06-27 Robert Love <rml@novell.com>
16621 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16624 2005-06-26 Robert Love <rml@novell.com>
16626 * src/NetworkManagerDevice.c: be specific about which device in
16629 2005-06-23 Adam Weinberger <adamw@gnome.org>
16631 * src/nm-netlink-monitor.c: correct spelling error.
16633 2005-06-23 Robert Love <rml@novell.com>
16635 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16636 * gnome/applet/passphrase-dialog.c: more of that keyring!
16638 2005-06-23 Robert Love <rml@novell.com>
16640 * configure.in: remove extraneous GNOMEKEYRING directives.
16641 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16642 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16643 * gnome/applet/passphrase-dialog.c: whitespace.
16645 2005-06-23 Robert Love <rml@novell.com>
16647 * src/NetworkManagerDevice.c: division in assignment was flipped.
16649 2005-06-23 David Zeuthen <david@fubar.dk>
16651 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16652 signal to the child to indicate that we got what we wanted when we
16653 see two new-lines right after each other.
16654 (nmwa_vpn_request_password): Pass a structure with several members
16655 instead of just the passwords
16657 2005-06-23 Dan Williams <dcbw@redhat.com>
16659 * src/NetworkManager.c
16660 src/NetworkManagerMain.h
16661 - (nm_get_hal_ctx): new function, move Hal initialization code here
16662 - (nm_hal_init): new function, init libhal context then add devices
16663 - (nm_hal_deinit): new function, clean up libhal context
16664 - (nm_data_free): Move Hal cleanup here
16665 - (main): check whether Hal is running, and if so, get a list of
16666 network devices from it
16668 * src/NetworkManagerDbus.c
16669 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16670 and when it appears, get a list of network devices from it. If
16671 Hal goes away, clean up the libhal context
16673 2005-06-22 Robert Love <rml@novell.com>
16675 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16676 permissions of scripts before executing.
16678 2005-06-21 Robert Love <rml@novell.com>
16680 * initscript/SUSE/networkmanager: update.
16681 * src/backends/NetworkManagerSuSE.c: cleanup.
16683 2005-06-21 Robert Love <rml@novell.com>
16685 * gnome/applet/applet.c: use menu mnemonics.
16686 * gnome/applet/menu-items.c: (ditto)
16688 2005-06-21 Robert Love <rml@novell.com>
16690 * applet/applet-dbus-devices.c: mark non-static functions static.
16691 * applet/applet-dbus-vpn.c: (ditto)
16692 * applet/applet.c: (ditto)
16693 * applet/nm-device.h: (ditto)
16694 * applet/other-network-dialog.c: (ditto)
16695 * applet/passphrase-dialog.c: (ditto)
16696 * NetworkManager.c: (ditto)
16697 * NetworkManagerDbus.c: (ditto)
16698 * NetworkManagerDevice.c: (ditto)
16699 * NetworkManagerPolicy.c: (ditto)
16700 * NetworkManagerUtils.c: (ditto)
16701 * NetworkManagerWireless.c: (ditto)
16702 * NetworkManagerWireless.h: (ditto)
16703 * nm-netlink-monitor.c: (ditto)
16704 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16705 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16706 * autoip.c: include autoip.h.
16707 * autoip.h: new file. define get_autoip().
16708 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16709 * NetworkManagerDbus.h: remove duplicate definitions.
16711 2005-06-20 Robert Love <rml@novell.com>
16713 * Makefile.am: Add missing intltool-foo.in generated files to
16714 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16715 with the start of stuff to cleanup on 'distclea'.
16716 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16717 stuff right and 'distcheck' works.
16718 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16719 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16720 Makefile.am for each. And systray/Makefile needs to be redone.
16722 2005-06-19 Dan Williams <dcbw@redhat.com>
16724 * src/NetworkManagerDevice.c
16725 - (nm_device_wireless_process_scan_results): scan every 20s when
16726 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16728 2005-06-19 Dan Williams <dcbw@redhat.com>
16730 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16732 2005-06-18 Ray Strode <rstrode@redhat.com>
16734 * src/nm-netlink-monitor.c
16735 (nm_netlink_monitor_event_handler): check for the presence
16736 of either error condition not both.
16738 (nm_netlink_monitor_error_handler): emit error signal if
16741 (nm_netlink_monitor_event_handler),
16742 (nm_netlink_monitor_error_handler),
16743 (nm_netlink_monitor_disconnect_handler): if an
16744 assertion fails disconnect the event handler to prevent
16747 * src/nm-netlink-monitor.h: add new error condition
16748 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16750 2005-06-18 Ray Strode <rstrode@redhat.com>
16752 * src/nm-netlink-monitor.c
16753 (nm_netlink_monitor_event_handler): remove bogus < 0
16754 check on unsigned value and return early if the kernel
16755 didn't send any bytes.
16757 2005-06-17 Robert Love <rml@novell.com>
16759 * initscript/SUSE/networkmanager: Change the Provides and default
16762 2005-06-16 Dan Williams <dcbw@redhat.com>
16764 Patch from Robert Love:
16765 * gnome/applet/applet.c
16766 - Beautify some applet menu item names
16768 2005-06-17 David Zeuthen <davidz@redhat.com>
16770 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16771 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16772 Also add new methods can_export, import_file and export.
16774 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16777 * gnome/vpn-properties/nm-vpn-properties.c:
16778 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16779 nm-vpn-ui-interface.h.
16780 (update_edit_del_sensitivity): Also update "Export" sensitivity
16781 (add_vpn_connection): Also add new SVC_NAME column
16782 (import_settings): New function
16783 (retrieve_data_from_selected_connection): New function
16784 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16786 (export_cb): New function
16787 (init_app): Also setup the "export" widget
16788 (main): Support the --import-service and --import-file commandline
16791 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16794 2005-06-16 Dan Williams <dcbw@redhat.com>
16796 Patch from Robert Love:
16797 * gnome/applet/menu-items.c
16798 - (network_menu_item_new): pass -1 as wireless network
16799 menu items height size request rather than ascent / 2
16801 2005-06-16 Dan Williams <dcbw@redhat.com>
16803 * Clean up wording in Wireless Scan Methods menu items and constants
16805 2005-06-16 Robert Love <rml@novell.com>
16808 - remove gtkcell* files
16810 2005-06-15 Dan Williams <dcbw@redhat.com>
16812 Patch from Robert Love: make the applet stetic
16814 * gnome/applet/Makefile.am
16815 - Don't compile the gtkcellview and gtkcellrendererprogress files
16817 * gnome/applet/gtkcellview.h
16818 gnome/applet/gtkcellview.c
16819 gnome/applet/gtkcellrendererprogress.h
16820 gnome/applet/gtkcellrendererprogress.c
16823 * gnome/applet/menu-items.c
16824 - Progress bars are 5:1 size ratio
16825 - Use GTK progress bars rather than internal ones
16827 2005-06-15 Dan Williams <dcbw@redhat.com>
16829 Patch from Robert Love:
16830 * initscript/SUSE/networkmanager
16833 2005-06-15 Dan Williams <dcbw@redhat.com>
16835 * src/backends/NetworkManagerSuSE.c
16836 src/backends/NetworkManagerRedHat.c
16837 src/backends/NetworkManagerDebian.c
16838 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16840 2005-06-15 Dan Williams <dcbw@redhat.com>
16842 * src/backends/NetworkManagerDebian.c
16843 - Add nm_system_device_get_use_dhcp() to debian backend
16845 Patch from Kay Sievers:
16846 * src/backends/NetworkManagerSuSE.c
16847 - Update debian backend for static IP nameservers
16849 * src/NetworkManagerDevice.c
16850 - Actually set the device to use static IP or DHCP rather
16853 2005-06-15 Dan Williams <dcbw@redhat.com>
16855 Patch from Thom May:
16856 * src/backends/NetworkManagerDebian.c
16857 - Update debian backend for static IP nameservers
16859 2005-06-15 Dan Williams <dcbw@redhat.com>
16861 Patches from Robert Love:
16862 * gnome/applet/wireless-applet.glade
16863 - Tighten up wording
16865 * src/NetworkManagerDevice.c
16866 - Remove misplaced ';'
16869 initscript/Makefile.am
16870 initscript/SUSE/Makefile.am
16871 initscript/SUSE/networkmanager
16872 - Add SUSE initscript
16874 2005-06-12 David Zeuthen <davidz@redhat.com>
16876 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16878 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16880 * gnome/vpn-properties/nm-vpn-properties.c: New file
16882 * gnome/vpn-properties/Makefile.am: New file
16884 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16887 * src/vpn-manager/nm-vpn-manager.c
16888 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16889 instead of just a single one
16891 * src/vpn-manager/nm-dbus-vpn.c:
16892 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16894 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16896 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16897 Change the interface here to give a list of passwords. Also, don't
16898 require username, but do require service
16900 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16901 the binary for the auth-dialog and use that instead of putting up a
16902 dialog asking for a single password
16904 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16905 however do remember the service
16907 * gnome/applet/main.c (main): Setup i18n
16909 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16910 connection to '%s'" to the tooltip if we are connected using VPN
16911 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16912 key to determine whether we the auth-dialog needs to
16913 reprompt. Also cope with the fact that the auth-dialog now returns
16914 an array of passwords.
16915 (nmwa_menu_configure_vpn_item_activate): New handler for
16916 "Configure VPN..." menu item
16917 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16918 (is_vpn_available): New function to determine if we got any
16919 NM-compatible VPN software installed
16920 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16921 items only if we have NM-compatible VPN software installed
16922 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16923 logic for detecting when VPN connections are removed
16925 * gnome/applet/applet-dbus.h: Removed the prototypes for
16926 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16927 since these are defined elsewhere
16929 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16930 function used to keep track of whether the last attempt succeded
16931 (nmwa_dbus_filter): Update last_attempt according to whether the
16932 VPN connection could be established or not
16934 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16935 Change prototype to take an array of passwords, not just a single
16938 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16939 update service, not user
16940 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16941 dbus_active_vpn_name is not NULL before using it
16942 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16943 string array instead of assuming a single password
16945 * gnome/applet/applet-dbus-info.c:
16946 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16947 user name; don't read from gconf
16949 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16952 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16954 * configure.in: Add checks for gmodule-2.0.
16955 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16956 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16957 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16960 * vpn-daemons/Makefile.am: Removed
16962 * vpn-daemons/README: New file to describe extensions points for VPN
16965 2005-06-10 Dan Williams <dcbw@redhat.com>
16967 * src/backends/NetworkManagerRedHat.c
16968 - (get_current_profile_name): new function, grab current network profile name from
16969 /etc/sysconfig/network
16970 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16971 update an IP4 Config structure's settings from it
16972 - (nm_system_device_get_system_config): if we're using static IP on this device,
16973 get DNS info from current network profile
16975 2005-06-09 Dan Williams <dcbw@redhat.com>
16977 Patch from Robert Love:
16978 * src/NetworkManagerDevice.c
16979 src/NetworkManagerUtils.c
16980 - 64-bit build fixes
16982 2005-06-09 Dan Williams <dcbw@redhat.com>
16984 Patch from Kay Sievers and Robert Love:
16986 src/backends/Makefile.am
16987 src/backends/NetworkManagerSuSE.c
16990 2005-06-09 Dan Williams <dcbw@redhat.com>
16993 - Add NMWirelessScanMethod enum for scan methods
16995 * gnome/applet/applet-dbus-devices.c
16996 - (nmwa_dbus_update_scanning_enabled_cb): remove
16997 - (nmwa_dbus_update_scanning_enabled): remove
16998 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16999 since it got removed
17000 - (nmwa_dbus_enable_scanning): remove
17002 * gnome/applet/applet-dbus-info.c
17003 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
17004 update the wireless scanning method from NMI
17005 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
17006 method value to NetworkManager
17007 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
17009 * gnome/applet/applet-dbus-info.h
17010 - Add prototype for nmi_dbus_signal_update_scan_method
17012 * gnome/applet/applet.c
17013 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
17014 Wireless Scanning menu based on current wireless scan method
17015 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
17016 signal for Wireless Scanning menu items, tell NetworkManager the new method
17017 and update our menu items to make sure the right one is checked
17018 - (nmwa_set_scanning_enabled_cb): remove
17019 - (nmwa_context_menu_update): remove references to pause_scanning_item
17020 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
17022 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
17024 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
17025 so we get notified of preference values too
17026 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
17028 * gnome/applet/applet.h
17029 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
17030 - Add wireless scan method member to applet data
17031 - Remove pause_scanning_item, add Wireless Scanning submenu
17033 * src/NetworkManager.c
17034 - (nm_data_new): default to NM_SCAN_METHOD_ON
17035 - (main): grab scanning method from NMI if we can
17037 * src/NetworkManagerDbus.c
17038 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
17039 nm_dbus_update_wireless_scan_method()
17040 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
17042 - (nm_dbus_nmi_is_running): redundant function, removed
17043 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
17044 when NMI comes back
17046 * src/NetworkManagerDevice.c
17047 - (nm_device_is_activated): return TRUE if the device is activated
17048 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
17049 and we are activated
17052 - (nm_dbus_nm_set_scanning_enabled): removed
17053 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
17054 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
17056 2005-06-09 Dan Williams <dcbw@redhat.com>
17059 src/vpn-manager/nm-vpn-service.c
17060 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17062 2005-05-27 Dan Williams <dcbw@redhat.com>
17064 * vpn-daemons/vpnc/nm-vpnc-service.c
17065 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17066 Should fix the bug where the VPN connection terminates the first time.
17068 2005-05-20 Dan Williams <dcbw@redhat.com>
17071 - Differentiate VPN config signals between bad VPN config options
17074 * gnome/applet/applet-dbus-info.h
17075 - Add prototypes for wireless network and vpn connection update functions
17077 * gnome/applet/applet-dbus.c
17078 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17080 * gnome/applet/applet.c
17081 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17083 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17084 propogation to NetworkManager
17085 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17086 notify propogation to NetworkManager
17088 * src/NetworkManagerDbus.c
17089 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17090 are updating so a network can be removed from it if necessary
17092 * src/vpn-manager/nm-vpn-manager.c
17093 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17095 * vpn-daemons/vpnc/nm-vpnc-service.c
17096 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17097 - (nm_vpnc_dbus_signal_launch_failed): remove
17098 - (nm_vpnc_dbus_signal_connect_failed): remove
17099 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17100 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17101 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17102 for new generalized error signal function, remove config file stuff
17103 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17104 we can write configuration options to it
17105 - (nm_vpnc_config_file_generate): removed
17106 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17107 - (nm_vpnc_config_options_validate): validate the config options we receive
17108 from NetworkManager to block potential exploits
17109 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17111 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17114 2005-05-16 Dan Williams <dcbw@redhat.com>
17116 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17117 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17120 2005-05-16 Dan Williams <dcbw@redhat.com>
17122 Patch from Tomislav Vujec <tvujec@redhat.com>
17123 * gnome/applet/applet-dbus-info.c
17124 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17125 GConf and pass them to NetworkManager. New key is 'routes' under
17126 the VPN connection, and should be a string list
17128 * src/NetworkManagerSystem.c
17129 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17130 set them on the device when we set the rest of the VPN config. Ensure
17131 they are in the correct format since they are passed directly to the
17134 * src/backends/NetworkManagerRedHat.c
17135 src/backends/NetworkManagerDebian.c
17136 - (nm_system_device_add_route_via_device_with_iface): new function
17138 * src/vpn-manager/nm-dbus-vpn.c
17139 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17141 * src/vpn-manager/nm-vpn-manager.c
17142 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17143 them into the IP4 config functions
17145 2005-05-15 Dan Williams <dcbw@redhat.com>
17147 From Filip Miletic:
17151 - Serbian translation added
17153 2005-05-15 Dan Williams <dcbw@redhat.com>
17155 * dispatcher-daemon/NetworkManagerDispatcher.c
17156 - (main): sync arguments with NetworkManager and the applet, now use
17157 "--no-daemon" rather than "daemon=no"
17158 - (nmd_print_usage): Fix script path in usage message
17160 2005-05-15 Dan Williams <dcbw@redhat.com>
17162 * src/NetworkManagerDevice.[ch]
17163 src/NetworkManagerPolicy.c
17164 src/NetworkManager.c
17166 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17167 longer send the DeviceNoLongerActive signal unconditionally, but only
17168 when the device is actually active.
17170 * dispatcher-daemon/NetworkManagerDispatcher.c
17171 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17172 and simplify the logic
17173 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17174 we free it later on
17176 * initscript/RedHat/Makefile.am
17177 initscript/RedHat/NetworkManagerDispatcher
17178 - Add initscript for NetworkManagerDispatcher
17181 Patch from Bill Moss:
17182 * dispatcher-daemon/NetworkManagerDispatcher.c
17183 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17185 * src/NetworkManagerDbus.c
17186 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17187 and DeviceNowActive gets signaled, then the device has a new IP address
17188 anyway. There's no need for a separate signal.
17190 * src/NetworkManagerDevice.c
17191 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17193 * src/NetworkManagerPolicy.c
17194 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17195 activates successfully. This kind of went missing when I reworked the
17198 2005-05-15 Dan Williams <dcbw@redhat.com>
17201 - Check for dhcdbd and error if its not found
17203 * src/dhcp-manager/Makefile.am
17204 src/dhcp-manager/nm-dhcp-manager.c
17205 - Use path to dhcdbd that configure found
17207 2005-05-14 Dan Williams <dcbw@redhat.com>
17209 * gnome/applet/nm-device.c
17210 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17211 sort wireless networks alphabetically
17213 * gnome/applet/applet-dbus-devices.c
17214 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17215 before copying them over to the GUI
17217 2005-05-14 Dan Williams <dcbw@redhat.com>
17219 * src/NetworkManager.c
17220 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17221 fixes a deadlock on shutdown with a VPN connection active. This function locks
17222 the device list, as does nm_get_active_device() which is called from
17223 nm_vpn_manager_deactivate_vpn_connection().
17225 2005-05-14 Dan Williams <dcbw@redhat.com>
17228 - Add signals for VPN Launch and Connect failures
17230 * gnome/applet/applet-dbus.c
17231 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17233 * gnome/applet/applet.c
17234 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17235 function to handle all VPN failure messages
17236 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17237 function to hanlde all VPN failure messages
17238 - (show_warning_dialog): work around focus-stealing prevention
17240 * gnome/applet/other-network-dialog.c
17241 gnome/applet/passphrase-dialog.c
17242 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17243 problem where it never enabled for ASCII Key and Hex Key types
17245 * gnome/applet/wireless-applet.glade
17246 - Add window title to Other Wireless Network Dialog
17248 * src/vpn-manager/nm-dbus-vpn.c
17249 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17250 function to handle all VPN failure messages
17252 * src/vpn-manager/nm-vpn-manager.c
17253 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17255 * vpn-daemons/vpnc/nm-vpnc-service.c
17256 - (nm_vpnc_dbus_signal_launch_failed): new function
17257 - (nm_vpnc_dbus_signal_connect_failed): new function
17258 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17259 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17260 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17261 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17263 2005-05-11 Dan Williams <dcbw@redhat.com>
17265 * vpn-daemons/vpnc/nm-vpnc-service.c
17266 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17267 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17268 file exists before trying to write it out.
17270 2005-05-10 Dan Williams <dcbw@redhat.com>
17272 * gnome/applet/applet-dbus-device.c
17273 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17274 prevented just entering ESSID and leaving key and key type up to
17275 NetworkManager (which should have them already cached)
17277 2005-05-08 Dan Williams <dcbw@redhat.com>
17279 * src/NetworkManagerPolicy.c
17280 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17281 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17282 fix a situation where NM is told to terminate and the device stops activation,
17283 but the main thread isn't aware of that because it would never have run
17284 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17287 * src/NetworkManagerDevice.c
17288 - (nm_device_probe_wired_link_state): cosmetic fixes
17289 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17290 we've failed to activate or been canceled.
17291 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17293 2005-05-08 Dan Williams <dcbw@redhat.com>
17295 * src/NetworkManagerWireless.c
17296 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17297 value of WEXT quality structures, and add a debug message when we cannot
17298 determine any quality % at all
17300 2005-05-08 Dan Williams <dcbw@redhat.com>
17302 * src/dhcp-manager/nm-dhcp-manager.c
17303 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17306 2005-05-06 Dan Williams <dcbw@redhat.com>
17308 * gnome/applet/applet-dbus-device.c
17309 gnome/applet/applet-dbus-info.c
17310 gnome/applet/applet-dbus.c
17311 gnome/applet/applet.c
17312 gnome/applet/applet.h
17313 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17315 * gnome/applet/applet-dbus.c
17316 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17317 so we notice when wired device's carriers come back on. Should
17318 fix issue with wired devices being grayed out even if the cable
17319 is in, for devices that support carrier detection.
17321 * gnome/applet/applet.c
17322 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17323 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17325 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17326 Fix situation where applet wouldn't respond to menu selections
17328 * src/NetworkManager.c
17329 src/NetworkManagerDevice.c
17330 src/NetworkManagerDbus.c
17331 src/NetworkManagerDbus.h
17332 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17334 * src/NetworkManagerDbus.c
17335 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17336 Remove, no longer used or relevant
17337 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17338 - (nm_dbus_schedule_device_status_change_signal): add
17340 * src/NetworkManagerDevice.c
17341 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17342 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17343 ie don't deactivate them unless explicitly told to by the user. Also send
17344 CARRIER_OFF / CARRIER_ON signals when link changes
17345 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17346 Don't print error message when device is no longer around
17347 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17348 not just during activation
17350 * src/NetworkManagerPolicy.c
17351 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17352 auto-device-selection.
17353 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17355 * src/NetworkManagerSystem.c
17356 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17357 is no longer present (Bill Moss)
17359 * src/backends/shvar.c
17360 - (svOpenFile): Open read-only to make SELinux happy
17362 * src/backends/NetworkManagerRedHat.c
17363 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17364 the path to the ifcfg-* files
17366 2005-05-05 Dan Williams <dcbw@redhat.com>
17368 * Expose activation stages to NetworkManager clients, like the applet
17369 * Add Diana's progress icons to the applet, cued off NM activation stage
17370 * Use more descriptive tooltips, cued off NM activation stage
17372 2005-05-05 Ray Strode <rstrode@redhat.com>
17374 * src/nm-netlink-monitor.c:
17375 - Use clear_event_source instead of g_nullify_pointer() again.
17377 2005-05-05 Dan Williams <dcbw@redhat.com>
17379 * gnome/applet/main.c
17380 - Fix session management so the applet is actually managed now
17382 * gnome/applet/passphrase-dialog.c
17383 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17385 2005-05-05 Dan Williams <dcbw@redhat.com>
17387 Patch from Bill Moss:
17388 * gnome/libnm_glib/libnm_glib.c
17389 - Fix for dbus-0.33
17391 2005-05-05 Dan Williams <dcbw@redhat.com>
17393 Suggestion from Bill Moss:
17394 * src/NetworkManagerSystem.c
17395 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17398 * src/NetworkManager.c
17399 - (nm_data_free): move destruction of the various managers after
17400 release of device list, because deactivating and freeing a device
17401 requires at least the named manager
17402 - (nm_poll_and_update_wireless_link_state):
17403 (nm_device_link_activated):
17404 (nm_device_link_deactivated):
17405 don't grab the device list lock when actually updating device
17406 link status or strength, since nm_device_set_link_active()
17407 needs to call nm_get_active_device(), which also locks the device list.
17409 * src/NetworkManagerDevice.c
17410 - (nm_device_set_link_active): if a device's link switches from off->on,
17411 and it's wired, and the active device is wireless (or there is no
17412 active device), activate the new device whose link just came on
17413 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17414 my only calling the link to the current ap "failed" when more than 2
17415 consecutive link checks have failed
17417 2005-05-04 Dan Williams <dcbw@redhat.com>
17419 * src/NetworkManagerDevice.c
17420 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17421 but let link_to_specific_ap() do the locking where it needs
17423 Patch from Bill Moss:
17424 * src/NetworkManagerSystem.c
17425 - Set MTU of VPN devices to 1412
17427 2005-05-04 Dan Williams <dcbw@redhat.com>
17429 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17431 * Fix some holes in device activation and retaining the currently connected
17434 2005-05-03 Dan Williams <dcbw@redhat.com>
17436 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17437 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17438 means you need dhcdbd, which you can get here (get the latest one):
17440 http://people.redhat.com/jvdias/dhcdbd/
17442 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17443 interface as dhcdbd.
17445 * Rewrite device activation to facilitate the new DHCP infrastructure and
17446 future improvements. Its now "activation request" based, ie there is a single
17447 activation request composed of the device, access point, and other info which
17448 follows the entire activation process. There are 5 stages of the activation
17449 process which correspond to:
17451 1) Device preparation
17452 2) Device configuration (bring it up, set ESSID/Key/etc)
17453 3) IP Config Start (fire off DHCP if we're using it)
17454 4) IP Config Get (grab config from DHCP or static config files)
17455 5) IP Config Commit (set device's IP address, DNS, etc)
17457 Note that there is no longer a "scanning" step, since the access point must
17458 be known _before_ activation starts. If the access point drops out or does
17459 not exist for some reason, the entire activation process fails and must be
17460 restarted for a different access point or device.
17462 Patch from Bill Moss:
17463 * gnome/applet/applet.c
17464 - Fix type of vpn_failure dialog -> vpn_banner dialog
17466 2005-04-27 Dan Williams <dcbw@redhat.com>
17468 * gnome/applet/applet-dbus-vpn.c
17469 gnome/applet/applet.c
17470 gnome/applet/applet.h
17471 - Fix up active VPN handling so that we reliably know when a VPN
17472 connection has been deactivated
17474 * src/vpn-manager/nm-vpn-manager.c
17475 - Remove duplicate VPNConnectionChange signal
17477 2005-04-27 Dan Williams <dcbw@redhat.com>
17479 Patch from Peter Jones:
17480 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17482 Patch from Bill Moss:
17483 * src/NetworkManagerSystem.c
17484 - Fix checking of return value from ioctl()
17486 2005-04-27 Dan Williams <dcbw@redhat.com>
17488 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17489 * Warn and exit if icons cannot be found
17491 2005-04-27 Dan Williams <dcbw@redhat.com>
17493 Patch from Tom Parker:
17494 * Update debian backend
17496 2005-04-27 Dan Williams <dcbw@redhat.com>
17498 * Merge the applet and the info-daemon, and move the converged
17499 applet under gnome/applet
17500 * Move libnm_glib to gnome/libnm_glib
17501 * Convert most dbus calls between the applet, info-daemon, and NM
17503 * Fix a few things valgrind noticed
17504 * Make NM broadcast state more reliably
17506 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17508 * configure.in: Added ne in ALL_LINGUAS
17510 2005-04-15 Dan Williams <dcbw@redhat.com>
17512 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17513 code for dbus 0.2x versions
17515 2005-04-15 Dan Williams <dcbw@redhat.com>
17517 Patches from Tom Parker:
17519 - Join with worker thread rather than polling for its exit
17521 Patch from Bill Moss:
17522 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17524 2005-04-15 Dan Williams <dcbw@redhat.com>
17526 - Fixes to pass 'make distcheck'
17528 2005-04-15 Dan Williams <dcbw@redhat.com>
17530 Initial VPN Support
17532 - reworks device IP configuration, backend files have changed and will need
17533 to be updated for all distributions. I will try to do what I can for
17534 them, but I cannot test them.
17536 - Move named directory to src/named-manager
17537 - Make backends directory self-contained
17539 2005-04-06 Dan Williams <dcbw@redhat.com>
17541 Add debug code for socket/file descriptor leaks. We register every socket
17542 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17543 list of sockets that we forgot to close on shutdown. This also consolidates
17544 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17546 2005-04-06 Dan Williams <dcbw@redhat.com>
17549 - (dhcp_interface_free): fix a file descriptor leak that may have
17550 caused network drivers to not unload due to refcounts > 0
17552 2005-04-04 Dan Williams <dcbw@redhat.com>
17554 * panel-applet/NMWirelessAppletDbus.c
17555 - (nmwa_dbus_call_nm_method): remove some commented code
17557 * src/NetworkManagerAPList.[ch]
17558 - (nm_ap_list_remove_ap_by_essid): new function
17560 * src/NetworkManagerDevice.c
17561 - (nm_device_wireless_force_use): remove access points from the ignore list
17562 when the user forces them
17564 * src/nm-dbus-device.c
17565 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17567 2005-04-04 Dan Williams <dcbw@redhat.com>
17569 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17571 2005-04-04 Dan Williams <dcbw@redhat.com>
17573 * src/NetworkManagerDevice.c:
17574 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17575 of only erroring after the second consecutive scan times out. Also
17576 don't exit when the card requires more time than we can give it, just
17577 log the event and continue.
17579 2005-04-01 Steve Murphy <murf@e-tools.com>
17581 * configure.in: Added "rw" to ALL_LINGUAS.
17583 2005-04-01 Dan Williams <dcbw@redhat.com>
17585 Perform scans during device activation, if needed. Both activation
17586 and scans run in the same GMainContext. Therefore, if an access point
17587 is not found by the time the device starts activation, it will not
17588 be available until after activation. We now try to scan during
17589 activation (in nm_wa_test) every 15s so that all available access
17590 points are more likely to be found and available for the activation
17593 Also change nm_wireless_link_state_handle() to only update the "best"
17594 AP if we are not forcing a device and if we are not about to change
17595 state. This attempts to work around a race when forcing a device,
17596 where the forced AP would get cleared out too soon by the link state
17597 checking timeout in the main thread, and the activation attempt with
17598 that AP would fail.
17600 2005-04-01 Dan Williams <dcbw@redhat.com>
17603 - Update with new translatables
17605 2005-03-31 Dan Williams <dcbw@redhat.com>
17607 * panel-applet/NMWirelessAppletDbus.c
17608 - Fix device names now that hal has changed device parenting for
17611 2005-03-31 Dan Williams <dcbw@redhat.com>
17613 Tighten up handling of wireless devices that don't support wireless
17614 scanning (ie, Orinoco). Due to restructuring of code, these devices
17615 hadn't been doing pseudo-scanning for a while either and would just
17616 spin waiting for an access point. They are now manual devices where
17617 the user must choose the access point from the menu every time. All
17618 "allowed" access points are listed in the applet's menu regardless
17619 of whether or not they can be seen by the card, since it can't scan
17622 * src/NetworkManager.c
17623 - (nm_wireless_link_state_handle): new function, but only update
17624 the "best" ap for non-scanning devices when its not activating,
17625 and when no device is being forced on the card
17626 - (nm_link_state_monitor): split wireless link state handling out
17627 into separate function
17629 * src/NetworkManagerDevice.c
17630 - (nm_device_copy_allowed_to_dev_list): new function
17631 - (nm_device_new): populate non-scanning cards' AP lists with
17632 access points from the "allowed" list
17633 - (nm_device_new): don't start a scanning timeout for devices that
17635 - (nm_device_activation_schedule_finish): new parameter, should be
17636 the AP that failed to be connected to, pass it on to the
17637 activation finish function in NetworkManagerPolicy.c
17638 - (nm_device_activate_wireless): don't ever try to get a new AP
17639 for non-scanning devices, just fail. The user must choose
17640 a new access point manually.
17641 - (nm_device_activate): grab the AP that failed connection and
17643 - (nm_device_update_best_ap): Clear the best AP if we don't have
17644 a link to it, user must manually choose a new one
17645 - (nm_device_do_pseudo_scan): remove function
17646 - (nm_device_wireless_process_scan_results): remove bits for non-
17647 scanning cards since they never get here
17648 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17649 and fake the scan list for test devices a bit earlier
17651 * src/NetworkManagerPolicy.c
17652 - (nm_policy_activation_finish): use the failed_ap that we get
17653 passed rather than getting the best_ap from the card, which
17654 may have changed since we were scheduled
17655 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17656 update their scan list directly from the allowed list when
17657 we get updates to the allowed list from NetworkManagerInfo
17659 * src/NetworkManagerPolicy.h
17660 - New member for failed access point in NMActivationResult
17662 -------------------------------------
17664 Driver Notification patch: notifies the user when their driver
17665 sucks. Gives them the option to ignore further insertions
17666 of the card that has the sucky driver.
17669 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17670 enum and replace it with NO_CARRIER_DETECT and
17673 * panel-applet/NMWirelessApplet.[ch]
17674 - Merge essid.glade -> wireless-applet.glade
17675 - Implement the "Your driver sucks" notification dialog
17677 * panel-applet/NMWirelessAppletDbus.c
17678 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17679 - Grab hardware address for each device from NM too
17680 - Check whether the driver for each device sucks or not whenever
17681 a new device is noticed
17683 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17684 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17686 * src/NetworkManager.c
17687 - Fix a double-unref on device removal
17689 * src/NetworkManagerUtils.c
17690 - Set appropriate driver support level on a device that doesn't
17691 support scanning or carrier detection
17693 * src/nm-dbus-device.c
17694 - New "getHWAddress" dbus method on devices
17695 - getSupportsCarrierDetect -> getDriverSupportLevel
17697 2005-03-31 Dan Williams <dcbw@redhat.com>
17699 * src/NetworkManagerDevice.c
17700 - (nm_device_wireless_scan): Fix leak of scan results in some
17703 2005-03-29 Dan Williams <dcbw@redhat.com>
17705 * src/NetworkManager.c
17706 - (nm_poll_and_update_wireless_link_state): make code less indented
17708 Patch from Bill Moss:
17709 * src/NetworkManager.c
17710 - (nm_device_update_link_state): Update signal strength on wireless
17711 devices every time we update link state too.
17713 2005-03-29 Dan Williams <dcbw@redhat.com>
17715 * src/NetworkManagerDevice.c
17716 - (nm_device_set_essid): Work around Orinoco cards which need
17717 extra time after setting the ESSID
17719 2005-03-29 Dan Williams <dcbw@redhat.com>
17721 * src/NetworkManagerDevice.c
17722 - Merge one more bit of Peter Jones' completion patch
17724 2005-03-29 Dan Williams <dcbw@redhat.com>
17726 * src/NetworkManagerDevice.c
17727 - (nm_device_force_use): Fix possible segfault
17729 2005-03-29 Dan Williams <dcbw@redhat.com>
17731 * src/NetworkManagerDevice.c
17732 - Use iw_get_ext() where we should rather than iw_set_ext()
17734 2005-03-29 Dan Williams <dcbw@redhat.com>
17736 * src/NetworkManagerDevice.c
17737 - (nm_device_set_up_down): remove check for unsupported devices
17738 that caused NM to not bring devices up when they were
17739 added to the device list.
17741 2005-03-28 Dan Williams <dcbw@redhat.com>
17743 * src/NetworkManagerDevice.c
17744 - (mdio_read): Fix two bugs that caused all devices to fail
17745 the MII carrier detection support checks
17747 2005-03-26 Dan Williams <dcbw@redhat.com>
17749 * src/NetworkManagerDevice.c
17750 - (nm_device_wireless_scan): Remove duplicated scanning code
17752 2005-03-25 Dan Williams <dcbw@redhat.com>
17754 * panel-applet/NMWirelessApplet.c
17755 - (nmwa_about_cb): Add some more contributors
17756 - (nmwa_update_state): show the applet when there's no connection
17757 - Enable the "Stop/Resume all wireless devices" option in the
17759 - New "no connection" icon
17761 * src/NetworkManager.c
17762 - (nm_poll_and_update_wireless_link_state): don't do anything if
17763 wireless is disabled or we're asleep
17765 * src/NetworkManagerDHCP.c
17766 - Remove trailing "\n" on debug messages
17768 * src/NetworkManagerDbus.c
17769 - (nm_dbus_network_status_from_data): new state "asleep"
17771 * src/NetworkManagerDevice.c
17772 - Merge most of Peter Jones' "completion" patch that greatly reduces
17773 latency and wait times for most operations
17774 - (nm_device_wireless_scan): Don't scan when asleep
17776 * src/NetworkManagerPolicy.c
17777 - (nm_policy_get_best_device): return no device when asleep
17778 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17779 for all wireless devices on update, not just active device
17781 * src/NetworkManagerUtils.c
17782 - Merge Peter Jones' "completion" patch
17785 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17786 we're told to disable them
17787 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17790 - New variants of the warn/info/error/debug print functions that can take
17791 variables rather than static strings
17793 2005-03-24 Dan Williams <dcbw@redhat.com>
17795 * src/NetworkManagerUtils.c
17796 - (nm_get_device_driver_name): driver names are now on the parents of
17797 "Network Interface" objects, so look for them there
17799 2005-03-24 Dan Williams <dcbw@redhat.com>
17802 - Escape some forgotten object paths before we shove them through dbus
17804 2005-03-24 Dan Williams <dcbw@redhat.com>
17806 * dhcpcd/dhcpcd.[ch]
17807 src/NetworkManagerDHCP.c
17808 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17809 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17811 * src/NetworkManagerDbus.c
17814 * src/nm-dbus-dhcp.c
17815 - Make the API suck less. There is now only 1 type of each function,
17816 ie only "getInteger" and no longer also "getIntegerv". All types
17817 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17818 that will never have more than 1 element. This should simplify
17821 * test/nm-dhcp-opt-test.c
17822 - Make the tool not segfault
17823 - adapt to new DHCP Options API
17825 2005-03-22 Dan Williams <dcbw@redhat.com>
17827 * src/NetworkManager.c
17828 - (nm_wired_link_deactivated): actually ignore netlink events from
17831 2005-03-22 Dan Williams <dcbw@redhat.com>
17833 * src/NetworkManager.c
17834 - (nm_wired_link_activated): actually ignore netlink events from
17837 2005-03-17 Dan Williams <dcbw@redhat.com>
17839 Patch from Tom Parker:
17840 * src/nm-netlink-monitor.c
17842 * info-daemon/NetworkManagerInfoDbus.c
17843 - (nmi_dbus_update_network_auth_method): free GConf values
17845 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17846 * src/NetworkManagerDevice.c
17847 - (nm_device_set_wireless_config): wait for successful
17848 association longer for some cards (Atheros a/b/g)
17850 2005-03-15 Ray Strode <rstrode@redhat.com>
17852 * src/NetworkManager.c:
17853 (sigterm_pipe_handler):
17856 2005-03-15 Ray Strode <rstrode@redhat.com>
17858 * src/NetworkManagerDbus.c:
17859 Fix some sign weirdness that gcc4 doesn't like,
17860 and add a header file so PPC can hopefully find
17863 2005-03-14 Ray Strode <rstrode@redhat.com>
17865 Fourth (probably working) cut at porting to
17866 dbus 0.30 api and new hal. This cut adds
17867 some new logging macros to make debugging
17870 * dispatcher-daemon/NetworkManagerDispatcher.c:
17871 * info-daemon/NetworkmanagerInfo.c:
17872 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17873 * info-daemon/NetworkManagerInfoVPN.c:
17874 * src/NetworkManager.c:
17875 * src/NetworkManagerAP.c:
17876 * src/NetworkManagerAPList.c:
17877 * src/NetworkManagerDHCP.c:
17878 * src/NetworkManagerDbus.c:
17879 * src/NetworkManagerDevice.c:
17880 * src/NetworkManagerPolicy.c:
17881 * src/NetworkManagerSystem.c:
17882 * src/NetworkManagerUtils.c:
17883 * src/NetworkManagerWireless.c:
17885 * src/nm-dbus-nm.c:
17886 * src/backends/NetworkManagerDebian.c:
17887 * src/backends/NetworkManagerGentoo.c:
17888 * src/backends/NetworkManagerRedHat.c:
17889 * src/backends/NetworkManagerSlackware.c:
17890 use new logging macros.
17892 * dispatcher-daemon/NetworkManagerDispatcher.c:
17893 (nmd_dbus_filter): s/dbus_free/g_free/
17895 * info-daemon/Makefile.am: link in utils library.
17896 * info-daemon/NetworkmanagerInfo.c: use new logging
17898 (nmi_dbus_get_network): don't assume enumerations
17900 (nmi_dbus_nmi_message_handler): don't free what
17901 doesn't belong to us.
17903 * libnm_glib/libnm_glib.c:
17904 (libnm_glib_get_nm_status):
17905 (libnm_glib_init): don't free what doesn't
17907 (libnm_glib_dbus): strdup result, so it doesn't get
17908 lost when message is unref'd.
17910 * panel-applet/NMWirelessAppletDbus.c:
17911 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17913 * src/NetworkManager.c:
17914 (nm_monitor_wired_link_state): request initial status
17915 dump of all cards when we start up, instead of relying
17916 on /sys/.../carrier.
17917 (nm_info_handler), (nm_set_up_log_handlers):
17918 log handlers to specify what syslog priorites
17919 the logging macros default to.
17921 * src/NetworkManagerAPList.c:
17922 (nm_ap_list_populate_from_nmi):
17923 s/dbus_free_string_array/g_strfreev/
17925 * src/NetworkManagerDbus.c:
17926 (nm_dbus_get_network_object):
17927 validate d-bus message argument types.
17928 Advance message iterator after reading argument,
17929 prepend instead of append to GSList.
17931 * src/NetworkManagerDevice.c:
17932 (nm_device_probe_wired_link_status):
17933 remove redundant /sys in /sys path. remove wrong
17934 contents == NULL means has carrier assumption.
17936 * src/nm-netlink-monitor.c
17937 (nm_netlink_monitor_request_status): implement
17938 function to ask kernel to dump interface link
17939 status over netlink socket.
17941 * test/*.c: s/dbus_free/g_free/
17943 * utils/nm-utils.h:
17944 (nm_print_backtrace): new macro to print backtrace.
17945 (nm_get_timestamp): new macro to get sub-second precise
17947 (nm_info), (nm_debug), (nm_warning), (nm_error):
17948 new logging functions. nm_info just prints,
17949 nm_debug includes timestamp and function,
17950 nm_warning includes function, nm_error includes
17951 backtrace and sigtrap.
17953 2005-03-11 Ray Strode <rstrode@redhat.com>
17955 Third (unfinished, partially working) cut at porting to
17956 dbus 0.30 api and new hal.
17958 * info-daemon/NetworkManagerInfoDbus.c:
17959 don't free null arrays.
17961 * panel-applet/NMWirelessAppletDbus.c:
17962 * src/nm-dbus-device.c:
17963 * src/nm-dbus-net.c:
17964 * src/NetworkManagerDbus.c: more
17965 STRING -> OBJECT_PATH fun
17966 * src/NetworkManagerDevice.c:
17967 * src/NetworkManagerDevice.h:
17968 (rename nm_device_get_link_active): rename to
17969 nm_device_has_active_link
17970 (nm_device_wireless_link_active): rename to
17971 nm_device_probe_wireless_link_state
17972 (nm_device_wired_link_active): rename to
17973 nm_device_probe_wired_link_state. Rewrite to
17974 use carrier file since hal doesn't maintain
17975 link state anymore.
17976 (nm_device_update_link_active): rename to
17977 nm_device_update_link_state
17978 * src/NetworkManagerPolicy.c
17979 (nm_policy_activation_finish): check for NULL
17983 * src/NetworkManagerMain.h:
17984 * src/NetworkManager.c:
17985 * src/nm-netlink-monitor.c:
17986 * src/nm-netlink-monitor.h: New class to support
17987 monitoring wired ethernet link status, since HAL
17988 doesn't export that information anymore.
17990 2005-03-09 Ray Strode <rstrode@redhat.com>
17992 Second (unfinished, unworking) cut at porting to
17995 * dispatcher-daemon/NetworkManagerDispatcher.c:
17996 * info-daemon/NetworkManagerInfoDbus.c:
17997 * panel-applet/NMWirelessAppletDbus.c:
17998 * src/NetworkManagerDbusUtils.c:
17999 * src/NetworkManagerDbusUtils.h:
18000 * src/nm-dbus-device.c:
18001 * src/nm-dbus-nm.c:
18002 * test/nmtest.c: support dbus "object path" type
18006 * info-daemon/Makefile.am:
18007 * libnm_glib/Makefile.am:
18008 * panel-applet/Makefile.am:
18009 * dispatcher-daemon/Makefile.am
18011 * test/Makefile.am:
18012 * utils/Makefile.am:
18013 * utils/nm-utils.c:
18014 * utils/nm-utils.h: new utils static lib
18016 2005-03-07 Ray Strode <rstrode@redhat.com>
18018 * info-daemon/NetworkManagerInfoDbus.c:
18019 * libnm_glib/libnm_glib.c:
18020 * panel-applet/NMWirelessAppletDbus.c:
18021 * src/NetworkManager.c:
18022 * src/NetworkManagerDbus.c:
18023 * src/NetworkManagerDevice.c:
18024 * src/NetworkManagerUtils.c:
18025 * src/nm-dbus-device.c:
18026 * src/nm-dbus-dhcp.c:
18027 * src/nm-dbus-net.c:
18028 * src/nm-dbus-nm.c:
18029 * test/nminfotest.c:
18030 First (unfinished, unworking) cut at porting to dbus 0.30 api.
18032 2005-03-04 Dan Williams <dcbw@redhat.com>
18037 2005-03-04 Dan Williams <dcbw@redhat.com>
18039 Patch from Peter Jones:
18040 - Make stuff work with gcc 4.0
18042 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
18044 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
18046 2005-02-27 Jim Huang <jserv@kaffe.org>
18048 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
18050 2005-02-27 Dan Williams <dcbw@redhat.com>
18052 Patch from Bill Moss:
18053 * panel-applet/NMWirelessAppletDbus.c
18054 - Make sure strength for current access point is up-to-date when we
18055 update the gui data model
18057 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18059 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18061 2005-02-27 Dan Williams <dcbw@redhat.com>
18063 * src/backends/NetworkManagerRedHat.c
18064 - (nm_system_init): Kill any dhclient processes lying around as well
18065 as stopping 'nifd' if its already been started. NetworkManager
18066 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18068 2005-02-27 Dan Williams <dcbw@redhat.com>
18070 * panel-applet/NMWirelessApplet.c
18071 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18072 dbus data model, not the GUI data model twice.
18074 2005-02-27 Dan Williams <dcbw@redhat.com>
18076 * panel-applet/NMWirelessApplet.[ch]
18077 panel-applet/NMWirelessAppletDbus.[ch]
18078 - Move to incremental network updates. Instead of blowing away our list
18079 of devices every time we get a signal from NetworkManager, we now
18080 incrementally add/remove networks when NetworkManager notifies us that
18081 a new network has appeared or disappered. Strength updates now happen
18082 on-the-fly for each access point as well. There are now two copies of
18083 data from NetworkManager: one for the dbus side, and one for the gui side.
18084 When the dbus side data is modified, it is copied over to the gui side
18085 so we don't have to hold the data_mutex for long periods of time (and
18086 therefore block animation of the applet's icon).
18087 - Clean up some memleaks too
18089 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18090 - Minor code beautification
18092 * src/NetworkManagerAPList.c
18093 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18094 completely new and whether or not an existing one's strength was updated.
18095 Try to fix multiple access points and signal strength by using the highest
18096 signal strength in each scan for any given ESSID.
18098 * src/NetworkManagerDbus.[ch]
18099 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18100 wireless networks; now we have only WirelessNetworkUpdate which includes
18101 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18102 - Kill usage of DbusMessageIter
18104 * src/NetworkManagerDevice.c
18105 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18106 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18107 AP rather than all-at-once. Also don't ever remove the AP a card is
18108 currently associated with from the network list.
18109 - Update for new signals during scan, send out Appeared, Disappeared, or
18110 StrengthChanged when necessary.
18112 2005-02-25 Dan Williams <dcbw@redhat.com>
18115 - Line break the README
18117 2005-02-25 Dan Williams <dcbw@redhat.com>
18119 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18120 - Remove usage of gtk_window_set_default_size()
18122 * panel-applet/essid.glade
18123 - Stick default size here
18124 - Add in random crap that current glade wants to add in now
18126 2005-02-25 Dan Williams <dcbw@redhat.com>
18128 * src/backends/NetworkManagerRedHat.c
18129 - For non-caching-nameserver/non-named case, ensure that nscd is running
18130 and that we actually tell nscd to reload the hosts cache when it changes
18132 2005-02-25 Dan Williams <dcbw@redhat.com>
18134 * info-daemon/NetworkManagerInfoDbus.c
18135 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18137 * test/nminfotest.c
18138 - Whack usage of DbusMessageIter
18139 - Clean up DbusError and DbusMessage handling and freeing
18140 - Remove unused unregister handler
18143 - Whack usage of DbusMessageIter
18145 * test/nmtestdevices.c
18146 - Whack usage of DbusMessageIter
18148 2005-02-25 Dan Williams <dcbw@redhat.com>
18151 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18154 2005-02-25 Dan Williams <dcbw@redhat.com>
18156 * named/nm-named-manager.c
18157 - Ensure that pid and watch variables for child named process get cleared out
18158 when the child goes away.
18160 2005-02-22 Dan Williams <dcbw@redhat.com>
18162 * src/NetworkManagerPolicy.c
18163 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18164 and NULL out data->active_device so that we have to choose another one.
18165 This may make NetworkManager keep attempting to connect to a wired network
18166 if it fails, but if it keeps failing the wired network has more problems than
18167 just NetworkManager.
18169 * src/backends/NetworkManagerRedHat.c
18170 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18173 * named/nm-named-manager.c
18174 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18175 named so that the distro can flush whatever name service caching
18178 2005-02-21 Dan Williams <dcbw@redhat.com>
18180 * src/NetworkManagerDHCP.[ch]
18181 - (nm_device_dhcp_remove_timeouts): new function
18183 * src/NetworkManagerDevice.c
18184 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18185 remove the DHCP timeouts.
18187 2005-02-21 Dan Williams <dcbw@redhat.com>
18189 * panel-applet/NMWirelessApplet.[ch]
18190 panel-applet/menu-info.[ch]
18191 - Give the panel applet some major love: menu items are no longer
18192 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18193 This allows the applet to actually reflect theme changes correctly,
18194 since themeing of subclassed items in GTK _sucks_.
18196 2005-02-18 Dan Williams <dcbw@redhat.com>
18198 * libnm_glib/libnm_glib.[ch]
18199 test/libnm_glib_test.c
18200 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18201 and its data, and doesn't have to free the callback data anymore
18203 2005-02-18 Dan Williams <dcbw@redhat.com>
18205 * panel-applet/NMWirelessApplet.c
18206 - Revert 2005-02-18 William Jon McCann fix for standard
18207 copyright string until it passes 'make distcheck'.
18208 With standard copyright string, xgettext complains
18209 about "Non-ASCII string at ...".
18211 2005-02-18 Dan Williams <dcbw@redhat.com>
18213 * panel-applet/essid.glade
18214 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18215 - Correct spelling of "adaptor"->"adapter"
18217 2005-02-18 William Jon McCann <mccann@jhu.edu>
18219 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18220 (nmwa_about_cb): Use standard copyright string. Update comment
18221 text to reflect that it is a notification area applet. Remove
18222 leading newline in authors list.
18223 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18224 instead of on parent menu item activation. Fixes #167550.
18226 2005-02-18 William Jon McCann <mccann@jhu.edu>
18228 * panel-applet/essid.glade: Capitalize items as per HIG.
18231 2005-02-16 William Jon McCann <mccann@jhu.edu>
18233 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18234 files for GTK 2.4 or lower, since now public in GTK 2.6.
18236 * panel-applet/essid.glade: Don't specify window size.
18238 2005-02-17 Dan Williams <dcbw@redhat.com>
18240 Caught by Bill Moss:
18242 - Time remaining for DHCP transaction calculation was incorrectly
18243 inside a #ifdef DEBUG
18245 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18247 * configure.in: Added fr (French) to ALL_LINGUAS.
18249 2005-02-14 Dan Williams <dcbw@redhat.com>
18251 * src/NetworkManagerDHCP.c
18252 - (set_domain_searches): Fix free of invalid pointer
18254 2005-02-14 Dan Williams <dcbw@redhat.com>
18256 Patch from Peter Jones:
18258 - Ensure we return RET_DHCP_CEASED everywhere we should
18259 * dhcpcd/udpipgen.c
18260 - Use faster TOS for IP packets
18261 - Don't set ip_id since we're UDP
18263 Patch from Tomislav Vujec:
18264 * src/nm-dbus-dhcp.c
18265 test/nm-dhcp-opt-test.c
18266 - Clean up warnings to enable cvs tree compilation.
18268 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18272 - Add the Croatian locale.
18274 2005-02-14 Colin Walters <walters@verbum.org>
18276 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18277 list of domains to search.
18279 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18281 2005-02-13 Dan Williams <dcbw@redhat.com>
18284 - Debug output cleanups of DHCP option printing and parsing.
18286 2005-02-13 Dan Williams <dcbw@redhat.com>
18288 Patch from Dan Reed: DHCP options D-BUS API
18289 Exposes the DHCP options that a device receives to clients over D-BUS.
18295 - Correct names, option length, and types for DHCP options
18297 * dhcpcd/dhcpcd.[ch]
18298 - Clarify function names that access DHCP options & data
18300 * src/NetworkManagerDHCP.c
18301 - Use new DHCP data access functions
18303 * src/NetworkManagerDbus.c
18304 - Message handler for DHCP functions
18306 * src/nm-dbus-dhcp.[ch] (new)
18307 - DHCP dbus methods
18309 * test/nm-dhcp-opt-test.c
18310 - Test DHCP D-BUS API and return all present DHCP options
18312 2005-02-12 Dan Williams <dcbw@redhat.com>
18315 test/nmclienttest.c
18317 - Move nmclienttest.c -> nmtest.c
18319 2005-02-12 Dan Williams <dcbw@redhat.com>
18321 * dhcpcd/buildmsg.c
18322 - Pad DHCP packets until they are at least 300 bytes in size.
18324 2005-02-11 Dan Williams <dcbw@redhat.com>
18327 - (dhcp_init): only print out client ID and class ID if they are specified
18329 * src/NetworkManagerDbus.[ch]
18330 src/nm-dbus-nm.[ch]
18331 src/nm-dbus-device.[ch]
18332 src/nm-dbus-net.[ch]
18333 - Move NM, Device, and Net functions to separate files and use the
18334 dbus method list stuff in NetworkManagerDbusUtils.c to do
18337 * src/NetworkManagerDbusUtils.c
18338 - Add new validate_method called before each dispatch (if present)
18339 that can validate the method call
18341 * src/NetworkManagerWireless.c
18342 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18343 levels never to be evaluated
18345 Patch from j@bootlab.org
18346 * src/NetworkManagerDevice.c
18347 - Add typedef for "u64"
18349 * src/backends/NetworkManagerDebian.c
18350 - Copy in Dave Woodhouse's fixes for IPv6
18352 2005-02-11 Dan Williams <dcbw@redhat.com>
18354 Patch from Dave Woodhouse for IPv6:
18355 * src/NetworkManagerUtils.c
18356 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18357 and multicast addresses
18359 * src/NetworkManagerDevice.c
18360 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18361 after bringing up a card.
18363 2005-02-10 Dan Williams <dcbw@redhat.com>
18365 Patch from Dave Woodhouse:
18366 * src/NetworkManagerSystem.h
18367 src/backends/NetworkManagerDebian.c
18368 src/backends/NetworkManagerGentoo.c
18369 src/backends/NetworkManagerSlackware.c
18370 - New nm_system_device_add_ip6_link_address() function to add link-local
18371 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18373 * src/backends/NetworkManagerRedHat.c
18374 - (nm_system_device_add_ip6_link_address): implement
18375 - (nm_system_device_flush_addresses): revert to previous behavior of
18376 flushing all addresses
18378 2005-02-10 Dan Williams <dcbw@redhat.com>
18380 Patch from Tom Parker:
18381 * src/NetworkManagerDevice.c
18382 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18383 mii.h headers are broken, and instead use our own typedefs
18385 2005-02-10 Dan Williams <dcbw@redhat.com>
18387 * dhcpcd/buildmsg.c
18388 - (fill_host_and_class_id): only fill in client and class IDs if
18389 they are set by callers.
18392 - (class_id_setup): don't autogenerate a class ID, only use one
18393 we're given, if any.
18394 - (client_id_setup): don't autogenerate a client ID, only use one
18395 we're given, if any.
18398 - (dhcp_interface_init): ensure that client options are correctly
18401 * src/NetworkManagerDHCP.c
18402 - (nm_device_dhcp_request): pass hostname to dhcp library
18404 2005-02-10 Dan Williams <dcbw@redhat.com>
18407 - #rh147661# Don't send kernel version in DHCP requests
18409 * src/NetworkManagerSystem.h
18410 src/backends/NetworkManagerDebian.c
18411 src/backends/NetworkManagerGentoo.c
18412 src/backends/NetworkManagerRedHat.c
18413 src/backends/NetworkManagerSlackware.c
18414 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18415 functions, they are no longer used anyway
18417 * src/backends/NetworkManagerRedHat.c
18418 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18419 addresses in an attempt to keep IPv6 local-scope addresses around
18421 2005-02-10 Dan Williams <dcbw@redhat.com>
18423 * src/NetworkManager.c
18424 - (nm_create_device_and_add_to_list): change the add message slightly
18426 * src/NetworkManagerUtils.c
18427 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18428 Return driver name to calling function
18429 - (nm_get_driver_support_level): print out the driver a device is using
18430 during the support check
18432 Patch from Dave Woodhouse:
18433 * dhcpcd/udpipgen.c
18434 - (in_cksum): copy last byte of odd-sized packets into a
18435 'u_short' rather than a 'u_char', should fix wrong checksums
18436 on big-endian platforms
18438 2005-02-09 Dan Williams <dcbw@redhat.com>
18440 * Clean up usage of GSList objects and looping through their members
18441 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18443 * Fix problem where even if scanning was turned off, card would still
18444 cycle through frequencies.
18446 2005-02-08 Dan Williams <dcbw@redhat.com>
18448 * panel-applet/NMWirelessApplet.c
18451 2005-02-08 Dan Williams <dcbw@redhat.com>
18453 Patch from Bill Moss
18454 * panel-applet/NMWirelessApplet.c
18455 - Restore correct ESSID in tooltips
18457 2005-02-07 Dan Williams <dcbw@redhat.com>
18459 * panel-applet/NMWirelessApplet.[ch]
18460 - Add a context menu that contains:
18461 Pause/Resume Wireless Scanning
18462 Stop/Start All Wireless Devices
18464 - Grab active device strength off active device,
18467 * panel-applet/NMWirelessAppletDbus.[ch]
18468 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18469 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18470 - Update active device strength every 2 seconds, not every 1 second
18472 * panel-applet/menu-info.c
18473 - Only disable wired devices in the menu when they support carrier detection,
18474 and don't currently have a link. Non-carrier-detect devices will always
18478 src/NetworkManagerDbusUtils.[ch]
18479 - Add new new dbus utils sources
18481 * src/NetworkManager.c
18482 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18483 with the boolean parameter
18484 - Set scanning_enabled & wireless_enabled to TRUE
18486 * src/NetworkManagerDbus.c
18487 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18488 - Implement scanning & wireless enable/disable calls
18489 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18491 * src/NetworkManagerDevice.c
18492 - New link detection stuff again...
18493 o Create device's mainloop earlier (but don't run it earlier)
18494 o Hook up new carrier-detect support stuff
18495 o Add in the ethtool & mii support detection code
18496 - Don't scan if scanning is disabled
18498 * src/NetworkManagerPolicy.c
18499 - Never automatically choose a device that doesn't support carrier detection
18500 - Don't automatically choose a wireless device if wireless is disabled
18502 2005-02-07 Dan Williams <dcbw@redhat.com>
18504 * libnm_glib/libnm_glib.c
18505 - Small cleanup in element list iteration
18507 2005-02-07 Dan Williams <dcbw@redhat.com>
18509 * src/NetworkManagerWireless.c
18510 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18511 to be in line with the WEXT quality specification
18513 2005-02-02 Dan Williams <dcbw@redhat.com>
18515 Patch from Nathan Fredrickson <nathan@silverorange.com>
18516 * Fix up compile for deprecation of libgnomeui
18517 - Switch to <glib/gi18n.h> from <libintl.h>
18518 - Remove <libgnomeui/libgnomeui.h> includes
18519 - Use gtk_window_set_default_icon_from_file() rather than
18520 gnome_window_set_default_icon_from_file()
18522 * named/nm-named-manager.c
18523 - (generate_named_conf): Fix return-nothing in non-void
18526 2005-02-02 Dan Williams <dcbw@redhat.com>
18528 * Clean up unused variables and the like
18530 2005-02-02 Dan Williams <dcbw@redhat.com>
18532 * src/NetworkManagerAPList.c
18533 - (nm_ap_list_merge_scanned_ap): merge strength too
18535 * src/NetworkManagerUtils.c
18536 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18537 of locking issues by printing out prettier information than g_mutex_lock
18538 - Print out names of mutexes registered with nm_register_mutex_desc()
18539 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18540 us to seemingly block here for too long
18542 * src/NetworkManager.c
18543 src/NetworkManagerAPList.c
18544 src/NetworkManagerDevice.c
18545 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18546 so we get better debug information printed
18548 * src/NetworkManagerDbus.c
18549 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18550 since it sometimes has locking side effects
18551 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18553 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18554 we don't need a switch. This gets called often enough that we can't block
18555 until the scan mutex is acquired, because we'll block on device activation
18556 and a few other things, which hangs main thread for too long.
18558 * src/NetworkManagerPolicy.c
18559 - (nm_policy_auto_get_best_device): reduce the possiblity that
18560 nm_device_need_ap_switch() will be called
18562 2005-02-02 Dan Williams <dcbw@redhat.com>
18564 * panel-applet/NMWirelessApplet.c
18565 - Display name of wireless network we are connecting to or connected to
18566 in the tooltip of the applet
18568 2005-02-02 Dan Williams <dcbw@redhat.com>
18570 * src/NetworkManagerDHCP.c
18571 - Hopefully fix double-default-route problem by cleaning up the default
18572 route added by DHCP code right before the DHCP transaction begins
18574 2005-02-02 Dan Williams <dcbw@redhat.com>
18576 * named/nm-named-manager.c
18577 - Write out valid resolv.conf when we exit
18579 2005-02-01 Dan Williams <dcbw@redhat.com>
18581 Patch from Colin Walters:
18582 * named/nm-named-manager.c
18583 - Make multi-domain search options work
18585 2005-01-31 Dan Williams <dcbw@redhat.com>
18587 * info-daemon/NetworkManagerInfoDbus.c
18588 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18590 * src/NetworkManagerDevice.c
18591 - (nm_device_new): Don't store the entire range struct, use only what we need
18592 (which is currently avg_quality, max_quality, and frequencies). Also
18593 zero device structure when we've free'd it to maybe expose errors down
18595 - (nm_device_update_signal_strength): grab the scan mutex before getting
18596 quality data from the card since quality will be useless during a scan.
18597 Call updated wireless qual-to-percent function with values stored in
18598 nm_device_new() earlier.
18599 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18600 nm_device_get_bad_crypt_packets())
18601 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18603 - (get_initial_auth_method): always use the Auth method that's in the allowed
18604 list if available. Problem was this: when the WEP key is wrong, NM will
18605 try OS then SK modes, and then get stuck in SK mode after that. This
18607 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18610 * src/NetworkManagerWireless.c
18611 - (nm_wireless_qual_to_percent): try to make this function actually work and
18612 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18613 if that's all present, otherwise fall back to signal-to-noise ratios.
18615 2005-01-29 Dan Williams <dcbw@redhat.com>
18617 * initscript/RedHat/NetworkManager
18618 - Don't spit out sysctl stuff to console
18620 * libnm_glib/libnm_glib.c
18621 - (libnm_glib_init): call dbus_g_thread_init()
18623 * panel-applet/NMWirelessAppletDbus.c
18624 - (nmwa_dbus_worker): call dbus_g_thread_init()
18626 * src/NetworkManager.c
18627 - (main): call dbus_g_thread_init()
18629 * src/NetworkManagerAPList.c
18630 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18631 so we can actually see what's there in a normal syslog
18633 * src/NetworkManagerDevice.c
18634 - (nm_device_activate_wireless): print out the "waiting for access point"
18635 message only once, then say what access point we actually got after
18637 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18638 function, wait until the scan is done. Scans may change the ESSID of
18639 the card, making this function think we need to switch access points
18640 - (nm_device_wireless_process_scan_results): for artificial access points
18641 don't check against the card's ESSID, but the best_ap's ESSID. This
18642 prevents collisions with the scanning code, which may change the card's
18643 ESSID and cause the access point to get dropped from the device's AP
18644 list. Also increase the keep-around time to 2m from 60s since the max
18645 scan interval could be 60s in some cases.
18647 * src/NetworkManagerPolicy.c
18648 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18649 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18650 the new properties and ESSIDs to the device's AP list. Fixes some races
18651 between NM and NMI.
18653 2005-01-27 Dan Williams <dcbw@redhat.com>
18655 * info-daemon/NetworkManagerInfoDbus.c
18656 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18657 GConf, make a minimal entry for it (essid & timestamp)
18659 * src/NetworkManagerAPList.c
18660 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18661 NetworkManagerInfo isn't running
18663 * src/NetworkManagerDbus.[ch]
18664 - (nm_dbus_nmi_is_running): new function
18666 * src/NetworkManagerDevice.c
18667 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18668 address to garbage.
18670 * src/NetworkManagerPolicy.c
18671 - (nm_policy_activation_finish): On successful activation, make sure
18672 the "best" AP has a MAC address, and don't tell NMI to add the
18673 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18674 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18675 access point after refreshing our allowed list if it doesn't already
18676 have a "best" access point.
18678 2005-01-25 Dan Williams <dcbw@redhat.com>
18680 * panel-applet/NMWirelessAppletDbus.c
18681 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18682 so we check for NM_DBUS_SERVICE rather than not for it
18684 * libnm_glib/libnm_glib.c
18685 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18686 ServiceOwnerChanged signal
18688 2005-01-25 Dan Williams <dcbw@redhat.com>
18691 - Check DBUS version in configure, and set the C macros
18692 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18694 * info-daemon/NetworkManagerInfoDbus.c
18695 - Remove #if 0-d section of code that quit NMI if NM went away.
18697 * panel-applet/NMWirelessAppletDbus.c
18698 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18700 * src/NetworkManager.c
18701 src/NetworkManagerMain.h
18702 src/NetworkManagerDbus.c
18703 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18704 - Make updating of our Allowed Wireless Network lists from NMI
18705 an idle function in the main thread now, with a high priority.
18707 2005-01-24 Dan Williams <dcbw@redhat.com>
18709 * panel-applet/gtkcellview.[ch]
18710 panel-applet/menu-info.c
18711 - Fix GTK version checks to be <= rather than <
18714 - Include the libtool archive of libnm_glib rather than
18715 trying to pull in the .so
18717 2005-01-24 Dan Williams <dcbw@redhat.com>
18719 * src/NetworkManagerDevice.c
18720 src/NetworkManagerDevicePrivate.h
18721 - Block nm_device_new() until our device's worker thread has had a
18722 chance to start up. Fixes a race between main thread and worker
18723 thread starting that caused activation requests to get lost.
18725 2005-01-24 Dan Williams <dcbw@redhat.com>
18727 * initscript/RedHat/NetworkManager
18728 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18729 to add the NM startup script at priority 50, which was
18732 2005-01-24 Colin Walters <walters@redhat.com>
18734 * named/named.conf: Use any port for query source instead of
18735 restricting to port 53.
18737 2005-01-24 Dan Williams <dcbw@redhat.com>
18739 * initscript/RedHat/NetworkManager
18740 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18741 to add the NM startup script at priority 50, which was
18744 2005-01-24 Dan Williams <dcbw@redhat.com>
18746 Patch from Tom Parker <palfrey@tevp.net>
18747 * Fix up compile warnings & errors in the wireless applet
18749 2005-01-24 Dan Williams <dcbw@redhat.com>
18751 * panel-applet/NMWirelessApplet.c
18752 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18754 2005-01-24 Dan Williams <dcbw@redhat.com>
18756 * panel-applet/gtkcellview.[ch]
18757 - Only compile these files for GTK 2.4 or lower, since
18758 GtkCellView is now public in GTK 2.6. Fixes crasher
18759 when choosing "Other Wireless Networks" from the panel
18762 2005-01-21 Dan Williams <dcbw@redhat.com>
18764 * src/NetworkManager.c
18765 - Daemonize earlier so that glib doesn't get confused (?)
18767 2005-01-21 Dan Williams <dcbw@redhat.com>
18769 * panel-applet/NMWirelessApplet.[ch]
18770 panel-applet/NMWirelessAppletDbus.c
18771 panel-applet/menu-info.c
18772 src/NetworkManagerDevice.c
18773 - Disable wired devices in the menu when they have no link.
18775 2005-01-21 Dan Williams <dcbw@redhat.com>
18777 * Cache last-known-good wireless authentication method in
18778 NetworkManagerInfo, and use that method first during
18779 wireless device activation. Should speed up devices that
18780 need Shared Key authentication method since Open System is
18783 * Remove the hack to not do full activation on wired connections
18784 that are active when we launch, it causes too many problems
18785 with name resolution and was a hack in the first place.
18787 * Re-work wireless device activation again somewhat to have a
18788 clearer chain of events and to use last-known-good
18789 authentication method of the access point. Also provide
18790 better status throughout activation to ensure the applet
18791 can tell the user exactly what's going on.
18793 * Remove the "find wireless network" code and now simply attempt
18794 to activate with that access point. This reduces the delay
18795 between selecting "Other wireless Network" and actually
18796 connecting to that network.
18798 * Correctly stop the device's worker thread when its removed.
18800 2005-01-21 Dan Williams <dcbw@redhat.com>
18803 - Clean up some of the debug messages
18805 2005-01-21 Dan Williams <dcbw@redhat.com>
18807 * Add new icons, more frames of animation
18808 * Remove some hacks to get the panel applet to display correct
18809 status, an NM update will soon follow that will fix the
18812 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18814 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18815 the first include for working i18n. Also, don't include it in .h files
18816 * panel-applet/NMWirelessApplet.h: Same
18817 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18818 * panel-applet/menu-info.c: Same
18820 2005-01-18 Dan Williams <dcbw@redhat.com>
18823 - Remove some debug messages
18824 - Wrap others in #ifdef DEBUG/#endif
18826 * src/NetworkManager.c
18827 - Remove some debug messages
18828 - Clarify some debug messages
18829 - Remove code related to old single-thread wireless scanning
18831 * src/NetworkManagerAP.[ch]
18832 - New AP property "last_seen" to track how recently an AP was
18834 - Start using 'const' more in function arguments
18836 * src/NetworkManagerAPList.[ch]
18837 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18838 of an AP found in an AP list from a source AP, or if not found
18839 in the list add the source AP
18840 - (nm_ap_list_combine): remove, no longer needed
18842 * src/NetworkManagerDevice.c
18843 - Each device now has a "worker" thread from start to end of its life.
18844 Scanning for wireless devices now happens in that thread,
18845 not in a single "wireless scanning thread" for all devices as
18846 previously. Activation consists of adding an idle handler to the
18847 thread's main loop/context, which gets run at the next available
18849 - Wireless scanning is also simplified, there is now only one list of
18850 access points per wireless device, and APs older than 60s are
18851 removed from the list. Previously, we kept results for the last
18852 3 scans and merged whole lists, which was complicated.
18853 - Cleaned up activation debug messages.
18854 - Wireless activation and access-point search routines now use Open System
18855 authentication before trying Shared Key.
18856 - Removed some code in nm_device_update_best_ap() that could cause cards
18857 to loose their link to the access point.
18858 - Scanning now uses a backoff algorithm, where the inverval becomes
18859 progressively longer between scans when the list of scanned access
18860 points doesn't change. A change will revert to the shortest scan
18863 * src/NetworkManagerWireless.[ch]
18864 - Remove code related to old single-thread wireless scanning
18866 2005-01-18 Colin Walters <walters@redhat.com>
18868 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18869 of older nameservers.
18871 2005-01-18 Colin Walters <walters@redhat.com>
18873 * named/nm-named-manager.c (generate_named_conf): Many fixes
18874 to config file generation.
18875 (safer_kill): Remove, was too much trouble for little gain.
18876 (nm_named_manager_start): Run named as NM_NAMED_USER.
18878 * configure.in: Add option --with-named-user.
18880 2005-01-14 Colin Walters <walters@redhat.com>
18882 Patch from ed@catmur.co.uk (Ed Catmur)
18884 * named/nm-named-manager.c: Add "context" property.
18885 Use it to add child watch source in specific GMainContext.
18887 * src/NetworkManager.c (nm_data_new): Initialize
18888 named with correct main context. Start named only
18891 2005-01-14 Colin Walters <walters@redhat.com>
18893 * named/nm-named-manager.c (generate_named_conf): Write config
18894 and pid files into NM_NAMED_DATA_DIR; this allows things to
18895 work better with FC3 named SELinux policy. Also fix up silly
18898 * configure.in: Add --with-named-dir option.
18900 2005-01-14 Colin Walters <walters@redhat.com>
18902 * configure.in: Make named support require passing --with-named.
18904 * named/nm-named-manager.c: Support writing resolv.conf directly
18905 without running named.
18907 2005-01-13 Dan Williams <dcbw@redhat.com>
18909 * named/nm-named-manager.c
18910 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18912 * src/NetworkManagerDevice.c
18913 - Rework wireless link detection code to be more reliable
18915 2005-01-12 Dan Williams <dcbw@redhat.com>
18917 * initscripts/RedHat/NetworkManager
18918 - Change initial level to "-" rather than "345" so that
18919 we don't activate ourselves by default on install
18921 2005-01-12 Dan Williams <dcbw@redhat.com>
18924 - Client library for applications using glib
18928 - Split NM_CFLAGS and NM_LIBS into separate variables
18929 like DBUS_*, HAL_* and GLIB_*
18931 * src/NetworkManager.c
18932 src/NetworkManagerMain.h
18933 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18934 broadcast a status changed signal over DBUS from the main thread.
18935 Still unused anywhere for the moment.
18937 Patch from j@bootlab.org
18938 * panel_applet/NMWirelessAppletDbus.c
18939 src/NetworkManagerDbus.c
18940 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18941 for the "getMode" method call
18943 2005-01-10 Dan Williams <dcbw@redhat.com>
18945 * src/NetworkManagerDevice.c
18946 - Minor fixups & corrections to "auto" frequency mode, make it
18947 less chatty with syslog
18949 2005-01-10 Dan Williams <dcbw@redhat.com>
18951 * src/NetworkManagerDevice.c
18952 - Implement "auto" frequency/channel support, since cards like Atheros
18953 can't use other frequencies at all when you've told it to use a
18954 specific one, even for scanning.
18955 - Grab the scan mutex around places where we can't tolerate wireless
18956 settings changing underneath us, like nm_device_wireless_network_exists()
18957 and nm_device_activate_wireless()
18959 * src/NetworkManagerWireless.c
18960 - Back scan interval off to 20s instead of 14s
18962 2005-01-09 Dan Williams <dcbw@redhat.com>
18964 * src/NetworkManagerDevice.c
18965 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18966 already set. Stops some drivers like Atmel from continually
18967 reloading the firmware, which they do upon every configuration
18970 2005-01-09 Dan Williams <dcbw@redhat.com>
18973 - Use correct timeout value
18975 * info-daemon/NetworkManagerInfoDbus.c
18976 src/NetworkManagerDbus.c
18977 - Consolidate communication between NM and NMI by doing only 1 dbus
18978 method call to get Wireless Network info from NMI instead of 6
18980 * src/NetworkManager.c
18981 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18982 when we didn't have an AP to use, we'd wait for one forever without
18985 * src/NetworkManagerDevice.c
18986 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18987 activation, dhcp might not have started yet but we don't quit activation
18988 before starting it, so the quit signal gets lost
18990 2005-01-07 Dan Williams <dcbw@redhat.com>
18993 - Rework the DHCP client code to be much less chatty when
18994 it receives non-DHCP UDP packets during the DHCP run
18995 (reported by and preliminary patches from Bill Moss)
18997 * Move wireless scanning to a separate thread. This thread forwards the
18998 results to the main thread when done where they are integrated into
18999 the device's access point lists. This keeps the main thread (which
19000 does all the DBUS communication) from being blocked for long periods
19001 of time by wireless scanning.
19003 * Make state modification an idle routine in the main loop, and trigger
19004 state changes rather than polling for them.
19006 * src/backends/NetworkManagerGentoo.c
19007 - Fix up invalid C90 code (reported by Christoph Ruessler)
19009 * src/NetworkManagerDevice.c
19010 - Revert IPv6 patch for wired devices from 2004-12-22 for
19011 router advertisements, causing problems and infinite loop
19012 during "best" device determination due to link going up/down
19013 (reported by Bill Moss)
19015 Apply patch from Peter Jones
19016 * src/NetworkManagerDevice.c
19017 - Shortcut for link-checking for ipw2x00 cards
19018 - Split out association check into separate routine
19020 2004-01-05 Colin Walters <walters@redhat.com>
19022 * named/named.conf: Add PID_FILE.
19024 * named/nm-named-manager.c: Always generate a pid
19025 file, since older BIND versions don't support
19028 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
19030 * configure.in (ALL_LINGUAS): Added ja (Japanese).
19032 2004-12-22 Dan Williams <dcbw@redhat.com>
19034 * src/NetworkManagerDevice.c
19035 - Silently fail when setting bitrate doesn't work
19038 Patches from j@bootlab.org:
19039 * src/backends/NetworkManagerDebian
19040 - Update backend to match functionality in RedHat backend
19041 * src/NetworkManagerDevice.c
19042 - Take down then bring up wired devices after connection so
19043 they send out ipv6 router advertisements
19045 2004-12-21 Colin Walters <walters@verbum.org>
19047 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
19048 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
19050 2004-12-21 Colin Walters <walters@redhat.com>
19052 * configure.in: Correct named detection.
19054 2004-12-21 Colin Walters <walters@redhat.com>
19056 * src/NetworkManager.c (nm_data_new): Initialize named.
19057 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19058 the mainloop when these signals are received.
19059 (nm_data_free): Unref named.
19060 (sigterm_handler, sigterm_pipe_handler): New functions for
19063 * src/NetworkManagerMain.h (NMData): Add signal handling and
19066 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19069 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19070 set nameservers from DHCP response data.
19071 (set_domain_search): Set domain search from DHCP response.
19072 (nm_device_dhcp_configure): Invoke them.
19074 * src/NetworkManagerSystem.c
19075 (nm_system_device_update_resolv_conf): Delete. Deleting
19076 code is totally sweet.
19078 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19080 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19081 implements an object which controls a nameserver. Currently
19084 * configure.in: Check for named.
19086 * Makefile.am (SUBDIRS): Add named dir.
19088 * named/named.conf: New template config file.
19090 2004-12-20 Colin Walters <walters@redhat.com>
19092 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19095 2004-12-17 Dan Williams <dcbw@redhat.com>
19097 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19098 link-local addresses instead of doing DHCP.
19100 * In the panel applet, there's a new "Create new Wireless Network..." item
19102 * The panel applet also sticks around now even if NetworkManager dies, but
19103 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19104 a bug, I'll fix that later.
19106 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19107 lookups after a switch rather than actually doing them.
19109 * Clean up some of those warnings in nm_ap_list_* functions
19111 * Delay between scans changed to 15s instead of 10s
19113 2004-12-15 Dan Williams <dcbw@redhat.com>
19115 Patch from Tom Parker
19116 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19119 * Longer pause after setting ESSID on cards that support a larger number
19120 of channels to give the card time to find the right channel
19122 * Add system hook to restart mDNSResponder (or whatever the local implementation
19123 of Multicast DNS is) when we activate interfaces
19125 2004-12-15 Dan Williams <dcbw@redhat.com>
19127 * Rework the DHCP code again to revert to sending full ethernet frames
19128 rather then relying on the kernel to do the right thing with our
19131 2004-12-06 Dan Williams <dcbw@redhat.com>
19134 - Fix some minor errors in dhcp_handle_transaction() that caused
19135 unexpected early timeouts of DHCP transactions
19138 - DHCP retransmit time from 4s -> 5s
19140 2004-12-05 Dan Williams <dcbw@redhat.com>
19142 * Major rework of the DHCP code, taking some cues from pump. We don't
19143 write raw Ethernet packets anymore, which simplifies the code quite
19144 a bit. The new code should be more robust, not hang in recvfrom()
19145 as much, and generally work better. This also means that we need
19146 to force HAL/dbus to use a created GMainContext rather than the
19147 default context, since having the DHCP renew/rebind thread using
19148 its own GMainContext seemed to give dbus a fit. There is also more
19149 debugging information printed from the DHCP loop to help with future
19152 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19153 assume that the default gateway should be the DHCP server.
19155 Patch from Matthew Schick <matt oss-institute org>
19156 * src/backends/NetworkManagerGentoo.c
19157 - Fix compilation error due to missing "ip4_broadcast"
19159 2004-12-03 Dan Williams <dcbw@redhat.com>
19161 * initscript/Makefile.am
19162 * initscript/Debian/NetworkManager
19163 * initscript/Gentoo/NetworkManager
19164 * initscript/RedHat/NetworkManager
19165 * initscript/NMLaunchHelper.c
19166 - Remove NMLaunchHelper, if you need to wait until the network
19167 comes up, use the dead code from CVS.
19169 2004-12-01 Colin Walters <walters@redhat.com>
19171 * configure.in: Suck in gcc warnings code from Rhythmbox,
19172 but use fewer default flags, and in particular add -Wno-unused,
19173 since the codebase has a lot of unused variables.
19175 * test/nmtestdevices.c (create_device):
19176 * test/nminfotest.c (get_network_string_property)
19177 (get_networks_of_type):
19178 * test/nmclienttest.c (main):
19179 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19180 * initscript/NMLaunchHelper.c (get_nm_status):
19181 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19182 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19183 Fix declarations after statements.
19185 2004-12-01 Colin Walters <walters@redhat.com>
19187 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19188 (nmi_dbus_get_vpn_userpass): New method.
19189 (nmi_dbus_nmi_message_handler): Invoke it.
19191 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19193 * info-daemon/NetworkManagerInfoVPN.h,
19194 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19195 to requests for VPN passwords.
19197 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19199 2004-12-01 Colin Walters <walters@redhat.com>
19201 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19204 2004-12-01 Colin Walters <walters@redhat.com>
19206 * panel-applet/NMWirelessAppletDbus.c
19207 (nmwa_dbus_update_active_device_strength): Fix missing
19210 2004-12-01 Colin Walters <walters@redhat.com>
19212 * panel-applet/NMWirelessApplet.c: Add missing include.
19214 2004-12-01 Colin Walters <walters@redhat.com>
19216 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19217 Remove useless CLAMP (); the value is unsigned, and the case tests
19218 qual->qual < 100, so the value must always be between 0 and 100.
19220 2004-12-01 Colin Walters <walters@redhat.com>
19222 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19224 2004-11-22 Colin Walters <walters@verbum.org>
19226 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19227 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19228 which is essentially a noop since nscd caches hosts on disk too.
19230 2004-11-22 Colin Walters <walters@redhat.com>
19232 * src/Makefile.am (NetworkManager_SOURCES): Add
19233 NetworkManagerDevicePrivate.h.
19235 2004-11-22 Dan Williams <dcbw@redhat.com>
19237 * src/NetworkManagerDevicePrivate.h
19238 - Split out the NMDevice struct to a different file so that stuff like
19239 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19243 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19244 need to cancel the dhcp request during the send and recv
19247 - Move the DHCP option enum to dhcpcd.h
19249 * src/NetworkManagerDHCP.c
19250 - Split out the actual IP/netmask/etc setting code
19251 - New Renew/Rebind functions
19252 - New timer setup function for renew/rebind operations
19254 * src/NetworkManagerDevice.c
19255 - For device activation, if we are using DHCP then keep the activation thread
19256 alive until device deactivation. We need to renew/rebind the DHCP address
19257 after the T1 (renew) and T2 (rebind) times have expired.
19258 - Increase some timeouts after bringing wireless cards up/down
19260 2004-11-17 Dan Williams <dcbw@redhat.com>
19262 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19263 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19264 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19265 show known access points that don't broadcast their ESSID in the menus without
19266 any user intervention whatsoever.
19268 * info-daemon/NetworkManagerInfoDbus.c
19269 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19270 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19272 * src/NetworkManagerAP.[ch]
19273 - Add a "user_addresses" data member to the NMAccessPoint structure
19274 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19275 the user_addresses data member
19277 * src/NetworkManagerAPList.c
19278 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19279 the AP's reported address
19280 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19282 * src/NetworkManagerDHCP.c
19283 - Increase DHCP timeout from 25s -> 30s
19285 * src/NetworkManagerDbus.[ch]
19286 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19289 * src/NetworkManagerDevice.c
19290 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19291 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19292 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19293 So, we take the card down to clear it out.
19294 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19295 too, since that's where the user_addresses are
19297 * src/NetworkManagerPolicy.c
19298 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19299 that wireless networks' user_addresses list upon successful activation
19301 2004-11-16 Dan Williams <dcbw@redhat.com>
19303 * src/NetworkManagerDevice.[ch]
19304 - (nm_device_clear_activation_fail): new function
19306 * src/NetworkManagerPolicy.c
19307 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19308 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19310 2004-11-16 Dan Williams <dcbw@redhat.com>
19312 * src/NetworkManagerDevice.c
19313 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19314 leak the structure, better updating of now_scanning status
19315 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19317 2004-11-15 Dan Williams <dcbw@redhat.com>
19319 Major rework of link detection code. We now use DHCP
19320 as part of the link detection which proves to be much more robust,
19321 and also supports Open System authentication for wireless networks.
19323 We no longer use external DHCP client programs. Instead, we use
19324 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19325 which was written by:
19326 Yoichi Hariguchi <yoichi@fore.com>
19327 Sergei Viznyuk <sv@phystech.com>
19328 http://www.phystech.com/download/
19329 It resides in the "dhcpcd" directory and was refactored into a general
19330 purpose DHCP client library by me.
19332 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19333 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19335 2004-11-15 Dan Williams <dcbw@redhat.com>
19337 Patch from Tom Parker <palfrey@tevp.net>:
19339 * src/NetworkManagerDevice.c
19340 - Less output to console when no access
19341 points are found during a scan
19343 2004-11-15 Dan Williams <dcbw@redhat.com>
19345 Patch from Tom Parker <palfrey@tevp.net>:
19347 * src/backends/interface_parser.c
19349 - Check for inp == NULL
19352 2004-11-13 Colin Walters <walters@redhat.com>
19354 Patch from Tom Parker <palfrey@tevp.net>:
19356 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19358 * src/backends/NetworkManagerRedHat.c: Switch to
19359 including shvar.h instead of shvar.c.
19361 * src/backends/NetworkManagerDebian.c: Don't include
19362 interface_parser.c in source file.
19364 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19365 and interface_parser.[ch].
19366 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19367 Include shvar.c and shvar.h here.
19368 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19369 interface_parser.c and interface_parser.h here.
19371 2004-11-12 Colin Walters <walters@redhat.com>
19373 * configure.in: Strip out TARGET_DISTRO and
19374 SYSTEM_BACKEND_FILE variables. Switch to Automake
19377 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19378 (libnmbackend_la_SOURCES): Use Automake conditionals
19379 to add distro-specific files.
19381 * initscript/Makefile.am (SUBDIRS): Update to
19384 2004-11-12 Colin Walters <walters@redhat.com>
19386 Patches from j bootlab org
19388 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19389 Add interface_parser.[ch].
19391 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19392 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19394 2004-11-12 Colin Walters <walters@redhat.com>
19396 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19397 call to nmi_dbus_is_running too, not necessary anymore.
19398 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19401 2004-11-11 Colin Walters <walters@verbum.org>
19403 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19405 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19406 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19407 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19408 This avoids a race condition that made it pretty easily
19409 possible to get two NetworkManagerInfo daemons running.
19411 2004-11-11 Colin Walters <walters@verbum.org>
19413 * src/NetworkManager.c (main): Use daemon(3).
19415 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19417 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19419 2004-11-10 Dan Williams <dcbw@redhat.com>
19421 Patches from j bootlab org
19422 * src/NetworkManagerDevice.c
19423 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19424 whether the card has a link or not, some cards are slow
19425 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19427 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19428 - Disable the "Login" button on the passphrase dialog until the user
19429 enters a valid passphrase or key
19431 Patches from Tom Parker <palfrey tevp net>
19432 * src/backends/NetworkManagerDebian.c
19433 - Add static IP support to the debian backend
19435 * src/backends/interface_parser.[ch]
19436 - Parse debian interface config files
19438 2004-11-08 Dan Williams <dcbw@redhat.com>
19440 * src/NetworkManagerDevice.c
19441 - Some random fprintf->syslog conversions
19442 - (nm_device_wireless_network_exists): double-check for network
19443 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19445 * src/NetworkManagerWireless.[ch]
19446 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19447 so that the binary->ascii conversion works (if unsigned, the bitshift
19448 will fill with zeros, which is what's required). Also mask bitshift
19449 result with 0xF for futher assurance.
19451 2004-11-06 Dan Williams <dcbw@redhat.com>
19453 * src/NetworkManagerUtils.c
19454 - (nm_get_wireless_driver_support_level): default to
19455 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19456 flip this when changing from whitelist->blacklist of
19459 2004-11-05 Dan Williams <dcbw@redhat.com>
19461 Patch from Robert Paskowitz:
19462 * src/backends/NetworkManagerGentoo.c
19463 - Update static IP config code
19465 2004-11-05 Dan Williams <dcbw@redhat.com>
19467 * info-daemon/NetworkManagerInfoDbus.c
19468 src/NetworkManagerDbus.[ch]
19469 src/NetworkManagerDevice.c
19470 - Keep track of the # of attempts to get the WEP key
19471 from the user and pass that along to the info daemon
19473 2004-11-05 Dan Williams <dcbw@redhat.com>
19475 * src/NetworkManagerUtils.c
19476 - Blacklist wireless cards rather than whitelisting them.
19477 - Grab driver name from HAL rather than trying to find it
19480 2004-11-03 Dan Williams <dcbw@redhat.com>
19482 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19483 - Disable OK button until valid data is entered
19484 for encryption stuff too
19486 * panel-applet/NMWirelessApplet.c
19487 - Report card strength for current AP if the card
19488 doesn't report strength data for scanned access
19491 * src/NetworkManagerDevice.c
19492 - Smooth out cards reported quality, Atmel card was
19493 intermittently reporting no quality data but soon
19496 * src/NetworkManagerWireless.c
19497 - Better quality data percentage calculation. Atmel
19498 cards (mine at least) seem to report the quality
19499 in percentage format already, so honor that
19501 Patch from <j@bootlab.org>
19503 info-daemon/NetworkManagerInfoPassphraseDialog.c
19504 info-daemon/passphrase.glade
19505 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19506 panel-applet/essid.glade
19507 src/NetworkManagerAP.c
19508 src/NetworkManagerDevice.c
19509 src/NetworkManagerWireless.[ch]
19510 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19512 2004-11-03 Dan Williams <dcbw@redhat.com>
19514 * src/NetworkManagerDevice.[ch]
19515 - (nm_device_set_enc_key): Add parameter to set Authentication
19516 Mode (Open System, Shared Key, or None). We're still using
19517 Shared Key for now though.
19519 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19521 * panel-applet/menu-info.c: change from bold text to light
19522 colored, may cause problems with some themes, i've tested a lot
19523 and they seem fine.
19525 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19527 2004-11-01 Colin Walters <walters@verbum.org>
19529 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19530 (nm_wireless_128bit_key_from_passphrase): Add const.
19532 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19533 (nm_ap_set_enc_key_source): Add const.
19535 2004-11-01 Colin Walters <walters@verbum.org>
19537 * .cvsignore: Update.
19539 2004-10-29 Dan Williams <dcbw@redhat.com>
19541 * src/NetworkManagerDevice.c
19542 - (nm_device_wireless_network_exists): Actually use the encryption
19543 key we got from the applet when attempting to find a wireless network
19544 - Don't bring devices down so much since on some cards it triggers
19545 firmware hotplugs each time
19547 * src/NetworkManagerDbus.c
19548 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19551 2004-10-29 Dan Williams <dcbw@redhat.com>
19553 * src/NetworkManager.c
19554 - (nm_hal_device_property_modified): unlock a locked active
19555 wireless device when a wired connection gets a link.
19556 (Means you'll switch to wired whenever you plug in no
19559 2004-10-29 Dan Williams <dcbw@redhat.com>
19561 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19562 - New files, implement the "Other wireless network" dialog
19564 * panel-applet/NMWirelessApplet.c
19565 - Move "other wireless network" dialog to separate file
19567 * panel-applet/NMWirelessAppletDbus.[ch]
19568 - Take key and key_type paramaters for the set_device function
19570 * panel-applet/essid.glade
19571 - Add UI bits for encryption settings
19573 * src/NetworkManagerDbus.c
19574 - Retrieve key and key_type params for "setActiveDevice" method call
19576 - unref AP returned from nm_device_get_best_ap() when needed
19578 * src/NetworkManagerDevice.c
19579 - (nm_device_get_best_ap): ref the ap before returning it
19580 - unref AP returned from nm_device_get_best_ap() when needed
19581 - (nm_device_activate_wireless): add "ap" parameter so we don't
19582 need to call nm_device_get_best_ap() here, it was pretty much
19584 - (AP_NEED_KEY): break second link check condition out into separate
19585 function, and fix segfault when ap->enc_key_source was NULL
19586 - (nm_device_find_and_use_essid): take key and key_type parameters and
19587 pass them along to nm_device_wireless_network_exists(). If the
19588 network does exist, set the passed-in key+key_type on the AP
19590 * src/NetworkManagerPolicy.c
19591 - unref AP returned from nm_device_get_best_ap() when needed
19593 2004-10-28 Dan Williams <dcbw@redhat.com>
19595 * src/NetworkManagerUtils.c
19596 - (nm_spawn_process): Fix a potential dereference of NULL
19598 Patches from Peter Jones:
19600 * src/NetworkManagerDevice.c
19601 - (nm_device_test_wireless_extensions): Better check for
19604 * src/NetworkManagerUtils.c
19605 - (nm_spawn_process): Pass in valid stdout and stderr so
19606 executed programs don't randomly SIGPIPE and fail
19607 - (nm_get_wired_driver_support_level): quash hal warning
19608 when checking for USB ethernet device
19610 2004-10-27 Dan Williams <dcbw@redhat.com>
19612 * info-daemon/NetworkManagerInfo.c
19613 info-daemon/NetworkManagerInfoDbus.c
19614 info-daemon/NetworkManagerInfoPassphraseDialog.c
19615 panel-applet/NMWirelessApplet.c
19616 - Properly escape gconf keys
19618 * src/NetworkManager.c
19619 - remove unused variables
19621 * src/NetworkManagerAP.c
19622 - (nm_ap_new_from_ap): Don't redundantly set new APs
19623 refcount since it got set in nm_ap_new()
19625 * src/NetworkManagerAPList.c
19626 - (nm_ap_list_combine): Give up ownership of newly created
19627 access points to the ap list, fixes memleak
19629 * src/NetworkManagerDevice.c
19630 - Remove cached_ap_list4 member since its not really needed
19631 - (nm_device_wireless_network_exists): Try to get correct
19632 encryption status of a found AP if its already in our
19634 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19635 memory allocs/deallocs a bit clearer and shorter-lived
19637 2004-10-26 Ray Strode <rstrode@redhat.com>
19639 * panel-applet/NMWirelessApplet.c:
19640 (custom_essid_item_selected): kill some compiler
19643 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19645 * info-daemon/NetworkManagerInfoDbus.c
19646 - (nmi_dbus_is_running): New function for determining if nmi is already running
19647 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19649 2004-10-23 Dan Williams <dcbw@redhat.com>
19651 * info-daemon/NetworkManagerInfoDbus.c
19652 - Trap the "DeviceActivationFailed" signal
19654 * docs/NetworkManager DBUS API.txt
19655 - Add "DeviceActivationFailed" signal
19657 * panel-applet/NMWirelessAppletDbus.c
19658 - Quash the "NetworkManager service not available" message
19660 * src/NetworkManagerDbus.[ch]
19661 - Add the "DeviceActivationFailed" signal
19663 * src/NetworkManagerDevice.c
19664 - Add support for activation_failed flag
19665 - Fix deadlock where activation thread didn't clean itself up, making
19666 main thread still believe it was alive forever (didn't reset activation
19667 flags like activating, just_activated, etc when IP configuration
19670 * src/NetworkManagerPolicy.c
19671 - Implement logic for DeviceActivationFailed signal, and when activation fails
19672 for wireless networks, try to fall back to some other access point
19674 2004-10-23 Dan Williams <dcbw@redhat.com>
19676 * panel-applet/NMWirelessApplet.[ch]
19677 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19678 to the applet object, so we can get tooltips
19679 - Add tooltips (RH #136866)
19681 * src/NetworkManagerDevice.c
19682 - When trying to find a wireless network, try to connect with encryption
19683 turned on first, so that we can more accurately detect whether or not
19684 we need to use encryption for the actual association later on
19686 2004-10-21 Dan Williams <dcbw@redhat.com>
19688 * Add some support for telling NetworkManagerInfo to tell the user
19689 that they are using a device that's not fully supported
19691 * Fix some assertions in debug messages due to null access point args
19693 2004-10-21 Dan Williams <dcbw@redhat.com>
19695 * src/NetworkManagerDevice.c
19696 - Don't try to activate/bring up/down unsupported
19699 * src/NetworkManagerUtils.c
19700 - Fix case of PCI ID checks for driver support levels
19702 2004-10-21 Dan Williams <dcbw@redhat.com>
19705 - New file, now contains commonly used structures and bits
19706 for the dbus API of NetworkManager
19709 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19711 * src/NetworkManager.h
19712 - Rename -> src/NetworkManagerMain.c
19714 * Various fixups all around to use NetworkManager.h and new
19715 src/NetworkManagerMain.h, remove redundant bits that got
19716 moved into NetworkManager.h
19718 * src/NetworkManagerDevice.[ch]
19719 src/NetworkManagerUtils.[ch]
19720 src/NetworkManagerPolicy.c
19721 src/NetworkManagerDbus.c
19722 - Whitelist wireless drivers, and blacklist some wired
19723 drivers. Also blacklist cipsec and ethernet-over-usb
19724 devices at this time (RH #135722, RH #135648)
19725 - Don't leak unsupported devices out over dbus, or allow
19726 them to be set as the active device. Skip over them
19727 during automatic device picking
19729 * test/nmclienttest.c
19730 - Clean up the dbus code a lot
19732 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19734 * configure.in: post release bump.
19736 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19739 * NEWS: Released NetworkManager-0.3.1
19741 2004-10-18 Dan Williams <dcbw@redhat.com>
19743 Patches from Thom May:
19744 * test/nmtestdevices.c
19745 - Include <string.h>
19746 * src/backends/NetworkManagerDebian.c:
19747 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19748 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19749 Move to using g_strdup_printf rather than arbitrary buffers
19750 - (nm_system_device_setup_static_ip4_config) Implement function.
19751 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19753 2004-10-17 Dan Williams <dcbw@redhat.com>
19755 * info-daemon/NetworkManagerInfoDbus.c
19756 - Display name of network in the "network not found" dialog
19758 * panel-applet/NMWirelessAppletDbus.c
19759 - (nmwa_dbus_call_nm_method): new function replaces all other
19760 nmwa_dbus_get_[string|string_array|int|boolean] methods
19761 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19762 consolidated into nmwa_dbus_get_object_name()
19764 2004-10-15 Dan Williams <dcbw@redhat.com>
19766 * src/NetworkManagerDbus.c
19767 info-daemon/NetworkManagerInfoDbus.c
19768 - Display an error dialog when the user tries to use an
19769 "Other wireless network" that's not found.
19771 2004-10-15 Dan Williams <dcbw@redhat.com>
19773 * panel-applet/NMWirelessApplet.[ch]
19774 - Fix up corner cases in applet state, making it
19775 look more responsive. Change state to "connecting" when
19776 the user is forcing a device too.
19778 2004-10-15 Dan Williams <dcbw@redhat.com>
19780 * src/NetworkManagerAPList.c
19781 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19783 * src/NetworkManagerDbus.c
19784 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19786 * src/NetworkManagerDevice.c
19787 - Disown APs after the device's AP list takes ownership
19789 2004-10-15 Dan Williams <dcbw@redhat.com>
19791 * panel-applet/NMWirelessApplet.c
19792 - Update our applet state from the GUI thread
19794 * panel-applet/NMWirelessAppletDbus.c
19795 - Greatly simplify the locking to make the GUI thread
19796 smoother. Update a private copy of the device list
19797 and active device and only when done talking to
19798 NetworkManager turn it over to the GUI thread.
19800 2004-10-15 Dan Williams <dcbw@redhat.com>
19802 * src/NetworkManagerAP.[ch]
19803 - Add "artificial" get/set functions, set for APs that
19804 aren't discovered as part of a scan but instead
19805 discovered by force-setting the ESSID
19807 * src/NetworkManagerDevice.[ch]
19808 - (nm_device_wireless_network_exists): pass back whether
19809 or not the discovered AP was encrypted. Also, try
19810 falling back to encrypted mode on the card if unencrypted
19811 association doesn't work
19812 - (nm_device_find_and_use_essid): If the network requested
19813 did in fact exists, but it wasn't in our scan list, add
19814 an "artificial" entry for it. Some Cisco cards don't
19815 see non-ESSID-broadcasting APs in their scan but can still
19816 associate with them if you know the ESSID, this works around
19818 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19819 to scan if the card is currently associated with that AP
19821 2004-10-15 Dan Williams <dcbw@redhat.com>
19823 ---- We have a website ----
19824 http://people.redhat.com/dcbw/NetworkManager
19826 Patch from Robert Paskowitz:
19827 * src/NetworkManager.c
19828 - (main): Make sure we are run as root
19829 * src/NetworkManagerDevice.c
19830 - Fix type in ad-hoc setting function
19832 Patch from Thom May:
19833 * src/backends/NetworkManagerDebian.c
19834 - Make Debian backend compile again
19836 2004-10-14 Dan Williams <dcbw@redhat.com>
19838 * Tagged NetworkManager-0_3
19840 2004-10-14 Dan Williams <dcbw@redhat.com>
19842 Patch from Robert Paskowitz:
19844 src/NetworkManagerDevice.[ch]
19845 src/backends/NetworkManagerDebian.c
19846 src/backends/NetworkManagerGentoo.c
19847 src/backends/NetworkManagerRedHat.c
19848 src/backends/NetworkManagerSlackware.c
19849 - Add support for grabbing and using a broadcast address
19850 from system config files
19851 - Some Gentoo backend fixes for grabbing network config
19852 - Fix LOG_WARN->LOG_WARNING
19854 2004-10-14 Dan Williams <dcbw@redhat.com>
19856 * NEWS: a few small fixes in the credits
19858 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19860 * NEWS: prep for release.
19862 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19864 * panel-applet/NMWirelessAppletDbus.c
19865 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19867 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19869 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19870 applet->state == APPLET_STATE_NO_NM animation.
19872 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19873 set the text correctly.
19875 2004-10-14 Dan Williams <dcbw@redhat.com>
19877 * src/NetworkManager.c
19878 - Only accept and manager 802.3 and 802.11 devices
19880 * src/NetworkManagerDbus.[ch]
19881 - (nm_dbus_nm_set_active_device): move most of the actual activation
19882 logic into NetworkManagerDevice.c
19883 - (nm_dbus_network_status_from_data): new function
19884 - (nm_dbus_signal_network_status_change): new function, unused for now
19885 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19887 * src/NetworkManagerDevice.[ch]
19888 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19891 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19893 * info-daemon/NetworkManagerInfo.c
19894 - (main): Added session management
19896 2004-10-14 Dan Williams <dcbw@redhat.com>
19898 * panel-applet/NMWirelessAppletDbus.[ch]
19899 - Expose network_device_[un]ref()
19900 - Expose wireless_network_[un]ref()
19901 - (wireless_network_new_with_essid): new function, create and return
19902 a wireless network with a particular essid
19904 * panel-applet/NMWirelessApplet.c
19905 - Hook up the "other network" dialog to do something
19907 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19909 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19910 doesn't work yet, but it looks okay.
19912 * panel-applet/icons/*png: Resize to 22x22 and install in the
19915 2004-10-13 Dan Williams <dcbw@redhat.com>
19917 * panel-applet/NMWirelessApplet.c
19918 - Add function to print out applet_state in a readable
19921 * src/NetworkManager.c
19922 - (main): Don't segfault when nm_dbus_init() fails, we had
19923 a left-over call to hal_shutdown() into which we passed NULL
19925 * src/NetworkManagerAP.c
19926 - (nm_ap_set_essid): Allow NULL essids
19928 * src/NetworkManagerAPList.[ch]
19929 - More use of nm_ap_list_[un]lock ()
19930 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19931 network/essid, just return nothing. Also skip over NULL
19932 essid access points in the list when searching
19933 - (nm_ap_list_get_ap_by_address): new function
19934 - (nm_ap_list_update_network): set the access point's key source to
19935 NULL when the key returned from NetworkManagerInfo is NULL or
19937 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19938 copy timestamp over too
19939 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19940 find the correct ESSID for a blank-essid access point by searching
19941 through another list and matching access point MAC addresses
19942 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19944 * src/NetworkManagerDbus.c
19945 - (nm_dbus_nm_set_active_device): deal with random networks the user
19946 may specify. This is mainly for access points that don't
19947 broadcast their essid. So if the user tells us to associate with
19948 some random ESSID that's not in our access point list, we find
19949 out if the access point does in fact exist (by attempting association
19950 and then matching that access point's MAC address with the essid the
19951 user gave us) and then we switch to it.
19952 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19953 to the returned list of networks for the "getNetworks" method
19955 * src/NetworkManagerDevice.[ch]
19956 - Extra debugging info for link detection
19957 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19958 based on MAC address
19959 - (nm_device_get_path_for_ap): ignore blank-essid access points
19960 - (nm_device_wireless_network_exists): new function, find out whether
19961 a random ESSID exists by attempting to associate with it
19962 - (nm_device_do_normal_scan): allow blank-essid access points in our
19963 device list as long as they have an AP MAC address we can use.
19964 Also send WirelessNetwork[Dis]Appeared signals for non-active
19965 devices too. Lets the applet update more frequently.
19967 * src/backends/NetworkManagerGentoo.c
19968 - Patch from: Robert Paskowitz
19969 - Update backend code for Gentoo
19970 - Implement nm_system_device_update_config_info ()
19972 * test/nmclienttest.c
19973 - (set_network_device): new function, takes a command-line argument
19974 and tells NetworkManager to use that wireless network
19976 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19978 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19979 if the notification icon crashes 5 times within 5 seconds of each respawn
19981 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19983 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19986 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19988 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19990 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19991 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19992 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19993 Change the name of the icons.
19995 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19996 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19997 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19998 (nm_menu_wireless_expose_event): Really bad hack to get the style
19999 to draw in the right color.
20001 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
20003 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
20004 Notification if it crashes
20006 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
20008 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
20009 (nmwa_dbus_get_string): remove unused functions
20011 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
20012 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
20013 remove unused functions
20015 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
20017 2004-10-12 Dan Williams <dcbw@redhat.com>
20019 * panel-applet/NMWirelessAppletDbus.c
20021 wireless_network_new
20022 wireless_network_copy
20024 network_device_copy
20026 * src/NetworkManagerDevice.[ch]
20028 nm_device_set_mode_managed
20029 nm_device_set_mode_adhoc
20030 - Use these functions where appropriate
20031 - When creating a new wireless device, force the card
20032 to managed/Infrastructure mode as soon as possible
20034 2004-10-12 Dan Williams <dcbw@redhat.com>
20036 * src/NetworkManagerDevice.c
20037 - Force wireless cards into Infrastructure mode before we use them
20039 2004-10-12 Dan Williams <dcbw@redhat.com>
20042 - Remove bit about static IP address support
20044 * src/NetworkManagerUtils.c
20045 - (nm_spawn_process): Add some error reporting
20047 * src/NetworkManagerDevice.c
20048 - (nm_device_activation_configure_ip): hook up to the static config
20049 routines in the backends
20051 * src/backends/NetworkManagerRedHat.c
20052 - (nm_system_device_update_config_info): use shvar.c routines to
20053 parse the config file iformation, not our own
20054 - (nm_system_device_setup_static_ip4_config): new function, based
20055 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
20056 with a static IP address and gateway
20058 * src/backends/shvar.[ch]
20059 - Parser (filched from initscripts package) for ifcfg-* files
20061 * src/backends/NetworkManagerSystem.h
20062 src/backends/NetworkManagerGentoo.c
20063 src/backends/NetworkManagerDebian.c
20064 src/backends/NetworkManagerSlackware.c
20065 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20067 2004-10-11 Dan Williams <dcbw@redhat.com>
20070 - Remove bit about more robust AP diffing since I just implemented it
20072 2004-10-11 Dan Williams <dcbw@redhat.com>
20074 * src/NetworkManagerAP.c
20075 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20076 enough RAM to allocate new AP structures, but return NULL instead
20078 * src/NetworkManagerAPList.[ch]
20079 - (nm_ap_list_is_empty): new function
20080 - (nm_ap_list_combine): new function, combine two access point lists
20081 - (nm_ap_list_copy_keys): new function, copy keys from one list
20084 * src/NetworkManagerDevice.[ch]
20085 - Rename some functions to be clearer:
20086 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20087 nm_device_just_activated -> nm_device_is_just_activated
20088 nm_device_activating -> nm_device_is_activating
20089 nm_device_now_scanning -> nm_device_is_scanning
20090 - Cache the last 4 scans so that the access point list is more stable.
20091 We combine the lastest two scans and use that as the AP list,
20092 and diff that combined list against the combination of the earliest
20093 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20095 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20097 * info-daemon/NWManagerInfo.h
20098 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20100 * info-daemon/NWManagerInfoDbus.c
20101 - (shutdown_callback): new function
20102 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20103 if NetworkManager goes away. Kill the timeout
20104 if NetworkManager restarts before the 30 seconds
20106 - (nmi_dbus_service_init):
20107 - call gtk_main_quit if NetworkManager is not running
20108 - add filters to monitor dbus service creations and
20111 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20113 * panel-applet/NMWirelessApplet.c
20114 - (nmwa_update_state): Hide notification icon if we are only
20115 showing one wired card and no wireless interfaces
20116 (Red Hat Bug #134895)
20118 * panel-applet/NMWirelessAppletDbus.c
20119 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20121 * info-daemon/NWManagerInfo.c
20122 - (main): Terminated the notification_icon_cmd array with a NULL
20124 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20126 * configure.in (ALL_LINGUAS): Added de (German).
20128 2004-10-08 Dan Williams <dcbw@redaht.com>
20130 * src/NetworkManagerDevice.c
20131 - Be a bit more robust about link checking, ie make sure that
20132 the WEP key we were given actually has some data in it
20134 2004-10-08 Dan Williams <dcbw@redhat.com>
20136 * info-daemon/NetworkManagerInfo.c (main):
20137 - Initialize GError object to NULL
20139 2004-10-08 Dan Williams <dcbw@redhat.com>
20141 * panel-applet/NMWirelessAppletDbus.c
20142 - Die if NetworkManagerInfo dies, since it manages our lifetime
20144 2004-10-08 Dan Williams <dcbw@redhat.com>
20146 * info-daemon/NetworkManagerInfo.[ch]
20147 info-dameon/NetworkManagerInfoDbus.[ch]
20148 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20149 - Preserve original label text in the passphrase dialog so that
20150 it actually gets updated with the new network name the next
20151 time around. Previously, we were overwriting it so you'd get
20152 the wrong network name to enter a key for
20153 - Add a "Key Type" combo to the passphrase dialog, user selects
20154 encryption key type now, type is stored in GConf too
20155 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20157 * src/NetworkManagerAP.[ch]
20158 - Remove all the encyption method magic. It's now set by the user
20159 and NetworkManager retrieves the type of encryption key from
20162 * src/NetworkManagerAPList.[ch]
20163 src/NetworkManagerDbus.[ch]
20164 - Adjust to new way of setting encryption key and method
20165 - Pull encryption method down from NMI along with key
20167 * src/NetworkManagerDevice.[ch]
20168 - Removed encryption method fallback magic as the method is now
20169 determined by the user. This greatly simplifies the connection
20171 - More robust connection/link logic. Besides removing the encryption
20172 method fallback magic, check whether or not the card is receiving
20173 invalidly encrypted packets, which usually indicates that we have
20175 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20177 * test/nminfotest.c
20178 - Test out new "Key Type" stuff in the NMI passphrase dialog
20180 2004-10-07 Dan Williams <dcbw@redhat.com>
20182 * info-daemon/NetworkManagerInfo.conf
20183 - Allow root user to run NMI too
20185 2004-10-06 Dan Williams <dcbw@redhat.com>
20187 * src/NetworkManagerDevice.[ch]
20188 src/NetworkManagerDbus.c
20189 doc/NetworkManager DBUS API.txt
20190 - Add a new status tag "scanning", which is set when there
20191 is no active network connection, but NetworkManager is
20192 looking for an access point to associate with
20194 * panel-applet/main.c
20195 - Cast the applet appropriately for gtk_widget_show_all ()
20197 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20199 * panel-applet/eggtrayicon.[ch]:
20200 * panel-applet/main.c: Add missing file
20202 2004-10-04 Dan Williams <dcbw@redhat.com>
20204 * src/NetworkManagerDevice.[ch]
20205 - Add a slightly more robust method of determining if the WEP key
20206 is correct or not, by checking the WEP-discarded packet count
20209 * info-daemon/NetworkManagerInfo.c
20210 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20211 un-escape values we pull out rather than escaping them
20213 2004-10-03 Marcel Telka <marcel@telka.sk>
20215 * configure.in (ALL_LINGUAS): Added sk.
20217 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20219 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20220 and feel. We should be back to working, and have a good, clean
20223 2004-09-30 Dan Williams <dcbw@redhat.com>
20225 * info-daemon/NetworkManagerInfo.c
20226 info-daemon/NetworkManagerInfoDbus.c
20228 - Escape ESSIDs in gconf
20230 * src/NetworkManagerDevice.c
20231 - Fix pseudo-scanning to use netowrk list from info daemon
20233 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20235 * configure.in: Add a temporary --enable-notification-icon. This
20236 will prolly go away.
20238 * info-daemon/Makefile.am:
20239 * info-daemon/NetworkManagerInfo.c:
20240 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20242 * panel-applet/Makefile.am:
20243 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20244 * panel-applet/NMWirelessApplet.h:
20246 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20248 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20249 before 'select custom ESSID'.
20251 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20252 fully complete, but syncing in prep for merge.
20254 * panel-applet/icons/*png: New images
20256 2004-09-28 Dan Williams <dcbw@redhat.com>
20258 * src/NetworkManager.c
20259 src/NetworkManagerDevice.c
20260 src/NetworkManagerPolicy.c
20261 - Don't blow away an active wired connection on startup
20263 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20267 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20269 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20272 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20274 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20275 have a wireless card.
20277 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20279 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20280 Also, get the right device strings.
20282 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20284 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20285 the logic to make this right.
20287 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20288 devices so that wired networks are always first.
20290 2004-09-22 <clarkbw@cvs.gnome.org>
20292 * initscript/Debian/.cvsignore:
20293 * initscript/Slackware/.cvsignore:
20294 Added new cvsignores for Makefile, Makefile.in
20297 Added nmtestdevices
20299 * src/NetworkManagerDevice.c:
20300 * src/NetworkManager.c:
20301 Updated the wireless/wired HAL device strings from net.ethernet to
20302 net.80203 or net.80211 depending on wired or wireless respectively
20304 * examples/python/NetworkManager.py:
20305 s/Quality/Strength/
20307 * examples/python/systray/network_tray.py:
20308 Lots of little changes and fixes. been rotting for a while so I
20309 figured I'd finally sync them all with CVS
20311 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20313 * configure.in: Add graphics
20315 * panel-applet/Makefile.am: Add graphics
20317 * panel-applet/icons/*: Add graphics
20319 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20320 the icons fully lined up.
20322 * panel-applet/menu-info.c:
20323 * panel-applet/menu-info.h: Add another menu type.
20325 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20327 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20329 * panel-applet/menu-item.[ch]: Wireless menu item.
20331 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20333 * info-daemon/NetworkManagerInfo.conf
20334 - Created a more robust security policy for the DBus service
20335 - everything is denied by default
20336 - root can own and send to the service
20337 - users logged in at the console can send to the service
20339 2004-09-13 Dan Williams <dcbw@redhat.com>
20341 * src/NetworkManagerDevice.c
20342 - (nm_device_get_essid): use iw_get_basic_config() rather than
20343 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20346 2004-09-13 Dan Williams <dcbw@redhat.com>
20350 * docs/NetworkManager DBUS API.txt
20351 - Update for new signal strength changes
20353 * panel-applet/NMWirelessApplet.c
20354 - Make panel icon show strength of the current connection
20355 - Cleanups and memleak fixes
20357 * panel-applet/NMWirelessApplet.h
20358 - Add data members for signal strength on devices and networks
20360 * panel-applet/NMWirelessAppletDbus.c
20361 - Free more DBusErrors
20362 - Update for new signal strength changes
20363 - Make devices and networks more like real objects, use ref/unref methods
20364 - Actually unlock the mutex when updating the active device
20366 * src/NetworkManagerAP.c
20367 - Change AP functions and data members from "quality"->"strength"
20369 * src/NetworkManagerDbus.c
20370 - Kill "getMaxQuality" and "getQuality" methods
20371 - Add "getStrength" methods for Networks and Devices
20373 * src/NetworkManagerDevice.[ch]
20374 - Add accessors for device strength
20375 - Add functions to update strength for a device. Note that not all drivers
20376 actually support signal strength for scanned access points (Atmel drivers
20378 - Calculate signal strength for each AP during scan
20380 * src/NetworkManagerWireless.[ch]
20381 - Add function to return signal strength % from a device and a raw quality struct
20383 * test/nmclienttest.c
20384 - Update for new signal strength changes
20386 2004-09-11 Dan Williams <dcbw@redhat.com>
20388 * src/NetworkManager.c
20389 - Fix race condition between initscripts and NM on card insertion
20390 which could cause a card to keep an IP address and routes around
20391 even when it was not the active device
20393 * src/NetworkManagerDbus.c
20394 - Fix compile errors, free more DBusErrors
20396 2004-09-11 Dan Williams <dcbw@redhat.com>
20398 * docs/NetworkManager DBUS API.txt
20399 - Add an explanation of NM's API
20401 * src/NetworkManagerDbus.c
20402 - Free some more DBusErrors if needed
20404 2004-09-11 Dan Williams <dcbw@redhat.com>
20406 * panel-applet/NMWirelessApplet.c
20407 panel-applet/NMWirelessAppletDbus.c
20408 - Start using NetworkDevice/WirelessNetwork structures in more places
20409 - Update for unified device/network forcing in NetworkManager
20411 * src/NetworkManager.c
20412 - some code consolidation
20414 * src/NetworkManagerDbus.c
20415 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20416 or two arguments: the first is the NM ID of the device to switch to,
20417 and the second (optional) argument is the ESSID of a wireless network
20419 - Get rid of "setNetwork" method due to above change
20421 * src/NetworkManagerDevice.c
20422 - (nm_device_new): perform scan and update best AP on device creation
20423 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20424 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20425 spin waiting for cancellation to finish before returning
20427 * src/NetworkManagerPolicy.c
20428 - Changes here clarify the situations in which a device switch occurs, and
20429 make sure to keep using a forced device and network if the user gives
20431 - Remove old unused code
20433 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20435 * configure.in: Added Danish (da) to ALL_LINGUAS.
20437 2004-09-09 Dan Williams <dcbw@redhat.com>
20439 * panel-applet/NMWirelessAppletDbus.c
20440 - Pull fresh devices and networks from NM when wireless networks
20441 change. Provides faster feedback of a forced wireless network
20443 * src/NetworkManagerDbus.c
20444 - Return error when "getMaxQuality" is called on a wired device
20445 - Make best_ap freezing actually work again, and signal cancellation
20446 of activation if there's already a device activation when the user
20447 freezes the best_ap
20449 * src/NetworkManagerDevice.c
20450 - Don't clear out the best_ap for wireless devices when the link goes
20451 down, that's done elsewhere
20452 - Kill any dhcp daemons when cancelling device activation since they
20453 may be stuck waiting for a DHCP address, and since we're cancelling
20454 activation we don't care about that anymore
20456 * src/NetworkManagerPolicy.c
20457 - Make sure to unref the device we ref earlier (we refed it to make sure
20458 it stuck around during device activation and such)
20459 - If we were going to change the best device, but its activating currently
20460 (and therefore the change didn't occur due to the check earlier)
20461 we mark the state changed to we come back to it later when device
20462 activation has canceled and its no longer activating
20464 * src/backends/NetworkManagerRedHat.c
20465 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20467 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20469 * info-daemon/passphrase.glade:
20470 set passphrase input to activates_default : True
20472 * examples/python/systray/network_tray.py
20473 (network_tray.sort_networks):
20475 Added support for having wireless always scanning
20477 2004-09-09 Dan Williams <dcbw@redhat.com>
20479 NOTE: this commit changes the behavior of wireless devices in
20480 NetworkManager. They are now up all the time, scanning all
20481 the time. Only the active device has an IP address and routing
20482 information set up however. Also, NetworkManager will no longer
20483 opportunistically switch wireless networks when a better one
20484 comes in range, it will remain associated with one wireless network
20485 until that one drops out.
20487 * panel-applet/NMWirelessApplet.c
20488 panel-applet/NMWirelessAppletDbus.c
20489 - List all wireless cards and their respective networks
20491 * src/NMLoadModules
20492 - Use full path to /sbin/ip
20494 * src/NetworkManager.c
20495 - Keep wireless devices up all the time so they can scan
20497 * src/NetworkManagerDbus.c
20498 - On a WirelessNetworkUpdate signal from NMI, don't update
20501 * src/NetworkManagerDevice.c
20502 - (nm_device_set_link_active): clear out the best ap for
20503 wireless devices when the link is set to FALSE
20504 - Scan on all wireless cards, all the time
20505 - (nm_device_activation_worker): split out the wireless card
20506 link-waiting code to a separate function
20507 - Keep wireless cards up even if device activation fails
20508 - Don't update the "best" ap as much
20510 * src/NetworkManagerPolicy.c
20511 - Don't update the best ap when checking if its frozen,
20512 let link checking clear out a frozen best ap for us
20514 * src/NetworkManagerWireless.c
20515 - Scan on all wireless cards, all the time
20517 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20519 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20521 2004-09-09 Ankit Patel <ankit@redhat.com>
20523 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20525 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20527 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20529 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20531 * examples/python/NetworkManager.py:
20532 added CONNECTED, CONNECTING, and DISCONNECTED states
20533 added methods to return number of devices of a single type
20535 * examples/python/systray/network_tray.py:
20536 did some tweaks to get the menu looking near what it is supposed
20537 to look like. Also did a Airo card hack to make it show the
20540 2004-09-08 Dan Williams <dcbw@redhat.com>
20542 * panel-applet/no-networkmanager.png
20543 panel-applet/Makefile.am
20544 panel-applet/NMWirelessApplet.c
20545 - Add a "NetworkManager not running" icon and use it
20546 - Use new consolidated GConf keys rather than Preferred/Trusted
20550 * info-daemon/NetworkManagerInfo.c
20551 info-daemon/NetworkManagerInfoDbus.[ch]
20552 info-daemon/NetworkManagerInfoPassphraseDialog.c
20553 - There are now no longer two separate lists of wireless networks,
20554 but one list where each network is "trusted" or not trusted
20555 - Add a "getNetworkTrusted" dbus method
20556 - "WirelessNetworkUpdate" signal now sent rather than
20557 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20558 - Start freeing some dbus errors (not completed yet)
20560 * info-daemon/passphrase.glade
20561 - Remove the "don't show" hints for pager and taskbar
20562 - Add a title since its going to be in the taskbar
20564 * src/NetworkManager.[ch]
20565 src/NetworkManagerAPList.[ch]
20566 - There are now no longer two separate lists of wireless networks,
20567 but one list where each network is "trusted" or not trusted
20569 * src/NetworkManagerAP.[ch]
20570 - Add get/set "trusted" accessors and data bit
20572 * src/NetworkManagerDbus.[ch]
20573 - Add function to get "trusted" status of a network from NetworkManagerInfo
20574 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20576 * src/NetworkManagerDevice.[ch]
20577 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20578 - (nm_device_new): Get device config from backend when initializing devices
20579 - (nm_device_activation_worker): Split out device configuration on
20580 activation to deal with static/dynamic IP differences, and try encryption
20581 fallbacks on a device if the encryption method for the best AP is not good
20582 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20583 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20585 * src/NetworkManagerWireless.c
20586 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20588 * src/backends/NetworkManagerRedHat.c
20589 src/backends/NetworkManagerSystem.h
20590 - (nm_system_device_update_config_info): Add function to get device configuration
20591 from system data in ifcfg-* files
20593 * src/backends/NetworkManagerDebian.c
20594 src/backends/NetworkManagerGentoo.c
20595 src/backends/NetworkManagerSlackware.c
20596 - Add stub functions for getting device configuration
20598 2004-09-07 Dan Williams <dcbw@redhat.com>
20600 * src/backends/NetworkManagerRedhat.c
20601 src/backends/NetworkManagerSlackware.c
20602 - Use full path to /sbin/ip everywhere
20604 2004-09-07 Dan Williams <dcbw@redhat.com>
20606 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20609 initscript/Makefile.am
20610 initscript/Slackware/Makfile.am
20611 initscript/Slackware/rc.networkmanager
20613 src/backends/NetworkManagerSlackware.c
20614 - Add Slackware support
20616 2004-09-07 Dan Williams <dcbw@redhat.com>
20618 Patches below from:
20620 Mark Roach <mrroach@okmaybe.com>
20621 Thom May <thom@debian.org>
20624 initscript/Debian/NetworkManager
20625 initscript/Debian/Makefile.am
20626 - Initscript for Debian
20628 * src/backends/NetworkManagerDebian.c
20629 - Add missing system init function to allow compilation
20632 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20634 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20636 2004-09-03 Akagic Amila <bono@linux.org.ba>
20638 * configure.in: Added 'bs' to ALL_LINGUAS.
20640 2004-09-02 Colin Walters <walters@verbum.org>
20642 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20643 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20644 g_strdup_printf instead of arbitrarily sized buffers.
20646 2004-09-01 Colin Walters <walters@verbum.org>
20648 * NetworkManager.pc.in: New file.
20650 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20652 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20654 * configure.in: Punjabi(pa) is added to po/.
20656 2004-08-31 Dan Williams <dcbw@redhat.com>
20658 * Remove 'debug' extern global from all files since we now
20661 * src/NetworkManager.[ch]
20662 - Break out routine that get the net.interface property from HAL,
20663 removing that logic from nm_create_device_and_add_to_list()
20664 - (nm_create_device_and_add_to_list): make this a bit more general so
20665 it doesn't do the talking to HAL. Also add arguments to facilitate
20666 the create of test devices.
20667 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20668 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20669 which makes NetworkManager listen for dbus commands to create test
20670 devices, which have no backing hardware. Use when you're on a plane
20671 for example, and/or forgot your wireless card at home. Test devices
20672 _cannot_ be created unless NM is started with --enable-test-devices.
20674 * src/NetworkManagerDbus.[ch]
20675 - New "getLinkActive" method for devices
20676 - New "setLinkActive" method for devices (only works on test devices)
20677 - New "createTestDevice" method on NetworkManager object to create a test
20678 device of a specified type (ie wired, wireless). UDI is created from
20679 scratch, as is the interface name. Only works when NM is started with
20680 --enable-test-devices switch.
20681 - New "removeTestDevice" method on NetworkManager object which removes a
20682 test device. Only works when NM is started with --enable-test-devices
20684 * src/NetworkManagerDevice.[ch]
20685 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20686 whether a device is a test device or not, and what its link status is.
20687 - Deal with test devices in most functions. For those that work directly on hardware
20688 special-case test devices.
20689 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20691 - (nm_device_update_link_active): split out logic for wired and wireless device link
20692 checking to separate functions to facilitate test device link checking.
20693 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20694 don't make a distinction between System Authentication and Encryption
20695 (namely Cisco aironet), we use Open System auth when setting a WEP key
20696 on the card. We don't deal with Shared Key auth yet.
20697 - (nm_device_activation_worker): split the activation cancel check logic out into
20698 a separate routine nm_device_activation_cancel_if_needed()
20699 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20700 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20701 a list of fake access points that they can "see"
20702 - (nm_device_is_test_device): return whether or not a device is a test device
20704 * src/NetworkManagerPolicy.c
20705 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20706 previously if you "locked"/forced NM to use a wireless device but then
20707 selected a wireless network for NM to use, it would switch to a wired device.
20708 So, if the active device is wireless and it has a "forced" best AP, use it
20709 if the "forced" best AP is still valid
20710 - (nm_state_modification_monitor): deal with NULL best devices, for example
20711 there were no usable network devices, or the last one was removed
20713 * src/backends/NetworkManager*.c
20714 - Deal with test devices, mostly just return success for operations like getting
20717 * test/nmtestdevices.c
20718 - Test tool to create/remove/link-switch test devices
20720 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20722 * examples/python/NetworkManager.py:
20723 added convience functions has_wired_device and has_wireless_device
20725 * examples/python/systray/network_tray.py:
20726 cleaned up a bunch of cruft, added support for listing wireless
20727 networks just like the real applet. This is probably all I'm
20728 going to work on this applet from now on.
20729 TODO: add support for actually changing networks and devices
20731 * examples/python/NetworkManager.py (NetworkManager.get_device):
20732 changed "nm.networks" into a dict from a list so I can store all
20733 the cool information about networks in there
20735 * examples/python/systray/network_tray.py:
20736 Added nice message when you try to run without running make first
20738 * examples/python/NetworkManager.py:
20739 Bug fixes to the code so we get all the device information
20740 that we need in get_device()
20742 * examples/python/NMTester.py:
20743 Fixed _print_device_list to print_device_list
20745 2004-08-29 Seth Nickell <seth@gnome.org>
20749 Actually properly setup the Debian backend in configure.
20751 2004-08-29 Colin Walters <walters@verbum.org>
20753 * test/nminfotest.c: Include string.h and stdlib.h.
20754 (get_network_string_property, get_networks_of_type): Return NULL.
20756 * test/nmclienttest.c (get_device_name, get_active_device): Return
20759 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20760 use strlen, fgets always NULL-terminates the string.
20762 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20763 dbus_message_get_member): Remove /* in comment.
20765 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20767 * src/NetworkManager.c (quit): Unused, delete.
20768 (nm_data_free): Cast arg to GFunc.
20770 * panel-applet/NMWirelessAppletDbus.c: Need to include
20771 string.h, and dbus-glib-lowlevel.h (the latter is needed
20772 for dbus_connection_setup_with_g_main at present).
20773 (nmwa_dbus_update_wireless_network_list): Parenthesize
20774 assignment in conditional.
20775 (nmwa_dbus_worker): Return NULL.
20777 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20778 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20779 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20780 (nmwa_populate_menu): Return NULL on failure, instead of just
20783 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20785 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20788 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20791 2004-08-29 Colin Walters <walters@verbum.org>
20793 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20794 a GTimeVal instead of time_t. This is easier to work with,
20795 since time_t may be a long or double, we don't know.
20797 * src/NetworkManagerDbus.h: Update prototype.
20799 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20801 (nm_ap_get_timestamp): Update to return GTimeVal.
20802 (nm_ap_set_timestamp): Update to take GTimeVal.
20804 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20805 to handle GTimeVal.
20807 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20809 (nm_ap_list_print_members): Fix warnings in printf format.
20811 2004-08-29 Colin Walters <walters@verbum.org>
20813 * panel-applet/NMWirelessApplet.c: Include config.h.
20815 2004-08-29 Colin Walters <walters@verbum.org>
20817 * configure.in: Generate config.h.
20819 * configure.in: Dump dependency on OpenSSL; we can't
20820 use it since this package is GPL:
20821 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20822 Instead, check for libgcrypt, use it if available,
20823 otherwise use included MD5 code.
20825 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20826 Suck in from gnome-keyring, munge a bit.
20828 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20829 gnome-keyring-md5.h gnome-keyring-md5.c.
20830 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20832 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20833 libgcrypt or included gnome-keyring md5 bits.
20834 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20836 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20838 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20840 2004-08-27 Bryan Clark <bclark@redhat.com>
20842 * examples/python/systray/Makefile:
20844 Updated the clean section
20846 * examples/python/systray/trayiconmodule.c:
20847 * examples/python/systray/trayicon.override:
20848 * examples/python/systray/network_tray.py:
20849 * examples/python/systray/eggtrayicon.h:
20850 * examples/python/systray/eggtrayicon.c:
20851 * examples/python/systray/Makefile:
20852 * examples/python/README:
20853 * examples/python/NetworkManager.py:
20854 * examples/python/NMTester.py:
20856 Initial commit of these python example files
20858 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20860 * panel-applet/NMWirelessApplet.c
20861 - Make current device bold
20862 - Show more user-friendly device name if we got one from hal
20864 * panel-applet/NMWirelessAppletDbus.c
20865 - Grab "info.product" key from hal for network devices
20866 - Cache the current active device
20868 2004-08-27 Adam Weinberger <adamw@gnome.org>
20870 * configure.in: Added en_CA to ALL_LINGUAS.
20872 2004-08-27 Christian Rose <menthos@menthos.com>
20874 * configure.in: Added "sv" to ALL_LINGUAS.
20876 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20878 * Tag NetworkManager-0.2
20880 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20882 * initscripts/Makefile.am
20883 * configure.in: Make pass distcheck
20885 * po/ChangeLog: added
20887 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20889 * panel-applet/NMWirelessApplet.c
20890 - Remove debugging code
20891 - Enable device switching from menus
20893 * panel-applet/NMWirelessAppletDbus.[ch]
20894 - Method for asking NM to switch devices
20896 * src/NetworkManagerDevice.c
20897 - Set dev->activating earlier, avoids race between
20898 the dbus signal of "DeviceActivating" and setting
20899 dev->activating (which is what NM's "status" method call
20902 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20904 * panel-applet/NMWirelessApplet.[ch]
20905 - Rework menu code to add devices to menu, and to show
20906 signal strength for each access point. Code cleanups
20909 * panel-applet/NMWirelessAppletDbus.c
20910 - Grab network devices from NetworkManager too
20911 - Grab quality information from NM for wireless networks
20913 * src/NetworkManagerDbus.[ch]
20914 - Add dbus methods for getting the HAL UDI from a device and
20915 for getting its base quality, if its wireless
20916 - Consolidate some functions (wireless network notifications,
20917 device notifications)
20918 - Add method for requesting NM to use a particular device
20920 * src/NetworkManager.c
20921 - Change for function consolidations from NetworkManagerDbus.c
20922 - Implement active device locking and user-requested devices
20923 (ie, tell NM to use a particular device instead of the one
20926 * src/NetworkManagerDevice.c
20927 - Add method for getting the base quality of a device, if its
20929 - Grab device base quailty info from iwlib during scans
20931 * src/NetworkManagerPolicy.c
20932 - Use a user-requested device rather than the auto-chosen device
20935 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20937 * Makefile.am: add po as a supdir
20939 * autogen.sh: use gnome-autogen.sh
20941 * initscript/Gentoo/.cvsignore:
20942 * initscript/RedHat/.cvsignore: Shut up cvs
20944 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20946 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20947 (nmwa_fill): Use gettext.
20949 * configure.in: add gettext support
20951 * po/NetworkManager.pot:
20954 2004-08-26 Seth Nickell <seth@gnome.org>
20956 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20957 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20958 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20959 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20960 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20961 * panel-applet/NMWirelessApplet.h:
20963 Use a menu bar instead of a button for the main clickable
20966 2004-08-25 Dan Williams <dcbw@redhat.com>
20968 * src/NetworkManagerDevice.c
20969 - (nm_device_set_enc_key): always set device to "open" mode instead of
20970 turning encryption off, because the Cisco driver doesn't associate
20971 with WEP-enabled access points unless we are in "open"
20973 2004-08-25 Dan Williams <dcbw@redhat.com>
20975 * src/NetworkManagerWireless.c
20976 - Don't try to defererence blank passphrases
20978 2004-08-25 Dan Williams <dcbw@redhat.com>
20980 * panel-applet/NMWirelessApplet.c
20981 - Rebuild the menu whenever a user clicks
20983 2004-08-25 Dan Williams <dcbw@redhat.com>
20985 * panel-applet/NMWirelessApplet.c
20986 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20987 when NM isn't around or when its not connected
20989 * src/NetworkManagerDevice.c
20990 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20993 2004-08-25 Dan Williams <dcbw@redhat.com>
20995 * panel-applet/NMWirelessAppletDbus.c
20996 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20997 for getting encryption, and don't stop on "val" once we've gotten it
20998 from NetworkManager. Short form: encryption should now show up.
21000 2004-08-25 Dan Williams <dcbw@redhat.com>
21002 * panel-applet/NMWirelessApplet.c
21003 - Set ESSID on a gconf trusted network too when force-setting the wireless
21004 network to associate with
21006 2004-08-25 Dan Williams <dcbw@redhat.com>
21009 - Rework the panel applet to do all DBUS communication in a separate
21012 2004-08-25 Dan Williams <dcbw@redhat.com>
21014 * info-daemon/NetworkManagerInfo.[ch]
21015 - Remove "get_next_priority" function
21017 * info-daemon/NetworkManagerInfoDbus.[ch]
21018 - Convert "priority" functions to "timestamp"
21020 2004-08-25 Dan Williams <dcbw@redhat.com>
21022 * src/NetworkManagerAP.[ch]
21023 - Add a "enc_method_good" member and accessors to an Access Point
21024 to signal when we've found the correct encryption method
21025 for an access point
21026 - Add a "timestamp" member and accessors, remove "priority" member
21027 and accessors (use timestamps instead)
21028 - Rename "wep_key"->"enc_key"
21029 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
21030 for a specified encryption method using the access points
21031 source encryption key/passphrase
21033 * src/NetworkManagerAPList.c
21034 - When updating a network with dbus, grab timestamp now instead of
21037 * src/NetworkManagerDBus.[ch]
21038 - Add signal for "DeviceActivating"
21039 - Switch priority->timestamp
21041 * src/NetworkManagerDevice.c
21042 - Change references of "wep_key" -> "enc_key" or "key"
21043 - Signal DeviceActivating when starting activation
21044 - When activating a wireless device, if the access point we are connecting
21045 to is encrypted, and we have a source key, try to generate a mangled
21046 key and use that (ie, generate real WEP key from a passphrase)
21047 - Rework device activation to fallback to other encryption methods if
21048 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
21049 first, then if that doesn't work fall back to direct hex key).
21050 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
21051 priority. We now prefer the latest access point used, rather than using
21053 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
21054 points we've just discovered, and merge in correct info from the global
21057 2004-08-25 Seth Nickell <seth@gnome.org>
21059 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21063 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21064 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21065 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21066 (nm_system_delete_default_route),
21067 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21068 (nm_system_load_device_modules):
21070 2004-08-24 Dan Willemsen <dan@willemsen.us>
21072 * src/NetworkManager.c
21073 src/backends/NetworkManagerGentoo.c
21074 src/backends/NetworkManagerRedHat.c
21075 src/backends/NetworkManagerSystem.h
21076 - Implement preliminary Gentoo support, adding a
21077 nm_system_init function to the backend specification
21080 - Distribution auto-detection, lowercase any user-fed
21083 * initscript/.cvsignore
21084 initscript/Makefile.am
21085 initscript/RedHat/Makefile.am
21086 initscript/RedHat/NetworkManager
21087 initscript/Gentoo/Makefile.am
21088 initscript/Gentoo/NetworkManager
21089 - Refactored initscript code separately for each
21092 2004-08-23 Dan Williams <dcbw@redhat.com>
21096 src/NetworkManagerDevice.c
21097 src/NetworkManager.c
21098 src/NetworkManagerUtils.[ch]
21099 src/backends/NetworkManagerSystem.h
21100 src/backends/NetworkManagerRedHat.c
21101 src/backends/NetworkManagerGentoo.c
21102 - Refactor system-specific code into separate backends for
21105 2004-08-23 Dan Willemsen <dan@willemsen.us>
21107 * dispatcher-daemon/NetworkManagerDispatcher.c
21108 info-daemon/NetworkManagerInfo.[ch]
21109 info-daemon/NetworkManagerInfoDbus.c
21110 info-daemon/NetworkManagerInfoPassphraseDialog.c
21111 src/NetworkManager.c
21112 src/NetworkManagerAP.c
21113 src/NetworkManagerAPList.c
21114 src/NetworkManagerDbus.c
21115 src/NetworkManagerDevice.c
21116 src/NetworkManagerPolicy.c
21117 src/NetworkManagerUtils.[ch]
21118 src/NetworkManagerWireless.c
21119 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21121 * src/NetworkManager.c
21122 - Fixed usage wording for --no-daemon
21124 2004-08-23 Dan Williams <dcbw@redhat.com>
21126 * panel-applet/NMWirelessApplet.c
21127 - Update our state every second to get more responsive panel icon
21128 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21129 was causing our marching ants status blips to never move when
21130 looking for a wireless network
21132 * src/NetworkManagerDevice.c
21133 - (nm_device_activation_begin): return if activation has already begun
21134 - (nm_device_do_normal_scan): merge WEP key and priority from the
21135 trusted/preferred network into the device's access point when the
21136 scan list is processed
21138 2004-08-23 Dan Williams <dcbw@redhat.com>
21140 * initscript/NetworkManager
21141 - Use NMLaunchHelper rather than sleeping
21143 * initscript/NMLaunchHelper.c
21145 - Add helper program that exits only when NM activates a device,
21146 or 10 seconds have passed, whichever happens first. This
21147 stops the boot processes until we have a network connection,
21148 which NM can't do because it daemonizes and brings the connection
21149 up in the background. Allows stuff like NFS to not die.
21151 2004-08-20 Dan Williams <dcbw@redhat.com>
21153 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21154 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21155 for a network, set the essid as well since it may not exist yet
21156 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21157 since WEP keys/passphrases are long and prone to entry-error
21159 * panel-applet/Makefile.am
21160 panel-applet/wired.png
21161 - Add (pulled from system-config-network temporarily)
21163 * panel-applet/NMWirelessApplet.[ch]
21164 - Show wired picture when a wired connection is used
21165 - Rename wireless icon enums, adding WIRELESS
21167 * src/NetworkManagerDevice.c
21168 - (nm_device_activate_wireless): unset encryption before bringing
21169 down the card and setting the essid
21170 - (nm_device_activatin_worker): request a key from the user if the
21171 AP we are connecting to is encrypted but we don't have a key
21173 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21174 strcmp() that prevented a user-entered key from actually getting
21177 2004-08-16 Dan Williams <dcbw@redhat.com>
21179 * initscript/NetworkManager
21180 - Check for /sbin/ip
21181 - Do sysctl magic that network service does
21182 - sleep 4s after start to allow network time to come up [hack]
21186 - Load all network device kernel modules (hal doesn't know devices
21187 are ethernet until the module is loaded, and therefore we don't know)
21189 * src/NetworkManager.c
21190 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21191 network devices, and bring up the loopback device explicitly
21193 * src/NetworkManagerUtils.[ch]
21194 - (nm_enable_loopback): new function
21196 2004-08-13 Dan Williams <dcbw@redhat.com>
21199 panel-applet/Makefile.am
21200 - Fix up cleanfiles and server_DATA/server_in_files
21203 - Update with some comments on theory of operation
21209 2004-08-12 Dan Williams <dcbw@redhat.com>
21211 * info-daemon/passphrase.glade
21212 - Set window title to " "
21214 * panel-applet/Makefile.am
21215 panel-applet/keyring.png
21216 - Deliver to correct place
21218 * panel-applet/NMWirelessApplet.[ch]
21220 - Remove applet->have_active_device as its no longer used
21221 - (nmwa_load_theme): load keyring.png too
21222 - (error_dialog): remove
21223 - (show_warning_dialog): subsume functionality of error dialog too
21224 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21225 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21227 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21228 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21229 and when we get broadcasts of changed wireless access points only, not when the
21230 user clicks on the button to display the menu (too long of a wait)
21231 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21232 networks that are encrypted
21233 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21234 menu item with g_object_set_data()
21236 * panel-applet/NMWirelessAppletDbus.[ch]
21237 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21238 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21239 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21240 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21241 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21242 activation/deactivation signals and rebuild the menu when they happen
21244 * src/NetworkManager.c
21245 - (main): use new nm_spawn_process() rather than system()
21247 * src/NetworkManagerDbus.c
21248 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21249 instead. Since we can now force best_aps to stick around, the AP structure to which
21250 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21251 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21252 to freeze the best_ap.
21254 * src/NetworkManagerDevice.[ch]
21255 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21256 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21257 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21260 * src/NetworkManagerUtils.[ch]
21261 - (nm_spawn_process): add replacement for system() usage
21263 2004-08-11 Dan Williams <dcbw@redhat.com>
21265 * panel-applet/NMWirelessApplet.[ch]
21266 - Fix up copyright and credits to include Bastien and Eskil,
21267 who created the gnome-applets wireless applet, from whose
21268 skeleton this one was created
21269 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21270 pixmap to draw is computed during nmwa_update_state()
21271 - Applet now shows itself all the time due to panel packing issues
21272 which caused the applet to previously never come back after hiding.
21273 When a wired device is the active device, the applet shows "not connected"
21275 * panel-applet/NMWirelessAppletDbus.[ch]
21276 - Clean up error messages and show what function they are from
21277 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21278 - Add new device type getters, and a status getter
21280 * src/NetworkManagerDbus.c
21281 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21282 network is actually in the device's ap list
21283 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21285 * src/NetworkManagerDevice.c
21286 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21289 * test/nmclienttest.c
21290 - Report status of NetworkManager too
21292 2004-08-11 Dan Williams <dcbw@redhat.com>
21294 * info-daemon/NetworkManagerInfo.c:
21295 - (main): clean up Seth's code style
21297 * info-daemon/NetworkManagerInfoDbus.c:
21298 - Use the more aptly-named path/service/interface constants from NetworkManager
21299 - Don't return empty strings ("") as object paths ever, instead return errors
21301 * panel-applet/NMWirelessApplet.c:
21302 - Clean up Seth's code style
21304 * src/NetworkManager.[ch]
21305 - (nm_remove_device_from_list): remove anything having to do with pending_device
21306 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21308 * src/NetworkManagerAPList.[ch]
21309 - Move Iter struct right above the iter functions to preserve opacity
21310 - (nm_ap_list_remove_ap): implement
21311 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21312 remove AP if NetworkManagerInfo doesn't know anything about it
21313 - (nm_ap_list_diff): user NMAPList iterators
21314 - (nm_ap_list_print_members): implement debugging function
21316 * src/NetworkManagerDbus.[ch]
21317 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21318 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21319 and move the actual key setting stuff into NetworkManagerDevice.c
21320 - (nm_dbus_get_network_priority): return -1 now on errors
21321 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21322 get lost, and force the active device to update its "best" ap when AP lists change
21323 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21324 method call due to pending_device member removal
21326 * src/NetworkManagerDevice.[ch]
21327 - Move NMDevice structure to the top
21328 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21329 - Remove Pending Action stuff from everywhere
21330 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21331 activation for us. This thread blocks until all conditions for activation have
21332 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21333 then setup up the interface and runs dhclient. We have to do this because there
21334 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21335 run our main loop and respond to dbus method calls or HAL device removals/inserts
21336 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21337 can tell nm_device_activation_worker() that we've got a key
21338 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21339 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21340 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21341 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21343 * src/NetworkManagerPolicy.c
21344 - Remove anything to do with pending_device
21345 - Adjust device activation to deal with activation-in-worker-thread
21347 * src/NetworkManagerUtils.c
21348 - Clean up locking debugging a bit
21350 * src/NetworkManagerWireless.[ch]
21351 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21352 was badly named and is better as a device function
21354 * panel-applet/.cvsignore: add
21356 2004-08-09 Seth Nickell <seth@gnome.org>
21358 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21359 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21361 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21363 Don't load the menus until clicked on (also removes a call outside
21364 normal code paths at first load).
21366 Hide applet when NM is not present.
21368 Improve printf debugging stuff.
21370 2004-08-09 Dan Williams <dcbw@redhat.com>
21372 * dispatcher-daemon/NetworkManagerDispatcher.c:
21373 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21374 - Use constants for NetworkManager interface, service, and path
21376 2004-08-09 Dan Williams <dcbw@redhat.com>
21378 * src/NetworkManagerDbus.c:
21379 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21380 instead return an error message
21381 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21382 on a wired device. Also never return an empty object path, instead return an error message
21384 2004-08-06 Seth Nickell <seth@gnome.org>
21386 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21388 Check the error code when getting a connection.
21390 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21392 Check if the NM service exists when initializing (rather than
21393 assuming it does not).
21395 * src/NetworkManagerDbus.c: (nm_dbus_init):
21397 Don't acquire the well-known service name until we have
21398 registered object/path handlers and can actually receive
21401 2004-08-06 Dan Williams <dcbw@redhat.com>
21406 * src/NetworkManagerPolicy.c
21407 src/NetworkManager.c
21408 - Get access point lists from NetworkManagerInfo on-demand,
21409 and look for ServiceCreate/ServiceDeleted signals to see when
21410 we should query NMI for lists
21411 * src/NetworkManagerAPList.c
21412 - Make sure to init the list's mutex
21413 - Convert traversals of the list over to the list iter functions
21415 * src/NetworkManagerDbus.[ch]
21416 - Use more aptly-named path/service/interface constants
21417 - Treat both active and pending devices the same for "getActiveDevice"
21418 - Add a "status" method returning "connected", "connecting", or "disconnected"
21420 * src/NetworkManagerDevice.c
21421 - Honor "ignored" network list when picking best ap to use
21423 2004-08-06 Seth Nickell <seth@gnome.org>
21427 Autogenerated, remove from CVS.
21431 Don't hardcode automake version.
21434 * info-daemon/Makefile.am:
21435 * info-daemon/NetworkManagerInfo.c: (main):
21437 Use GnomeProgram et al. for doing session management.
21438 Use popt stuff for argument parsing rather than doing
21441 2004-08-05 Dan Williams <dcbw@redhat.com>
21443 * test/nminfotest.c
21444 - Update to new NMI dbus API, check different network types
21446 * info-daemon/NetworkManagerInfoDbus.c
21447 - Update to new NM dbus API, ie network type sent in query message
21449 2004-08-05 Dan Williams <dcbw@redhat.com>
21451 * An assload of changes
21453 2004-08-02 Dan Williams <dcbw@redhat.com>
21456 - new task: proper logging support
21458 * info-daemon/NetworkManagerInfo.c
21459 - Correct spelling of "canceled"
21460 - Correct casting of objects for g_signal_connect()
21462 * info-daemon/NetworkManagerInfoDbus.c
21463 - Add defines for NetworkManager namespace and object path, and use them
21464 - Add filter function to trap new signals from NetworkManager:
21465 WirelessNetworkAppeared, WirelessNetworkDisappeared
21467 * info-daemon/passphrase.glade
21468 - Change name of "ok" button to "Login to Network..."
21471 * src/NetworkManager.c
21472 - Code and debug message cleanups
21473 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21474 - (nm_add_initial_devices) Check returned string array of devices
21475 and don't try to add devices if array is NULL
21476 - (main) Initialize libhal a bit later, make code a bit clearer
21478 * src/NetworkManagerAP.[ch]
21479 - New accessor and data member "matched": used to speed up AP list
21481 - New accessor and data member "enc_method": will be used during key
21482 fallback to cache which passphrase->key conversion actually works
21483 so we don't have to do it every time
21485 * src/NetworkManagerAPList.[ch]
21486 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21487 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21488 between them, and send WirelessNetworkAppeared/Disappeared signals over
21489 dbus in response to those differences
21491 * src/NetworkManagerDbus.[ch]
21492 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21493 make an object path for that access point (NOTE that we don't yet check to
21494 make sure that access point is actually in the device's AP list yet)
21495 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21496 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21497 New: signal appearance/disappearance of wireless networks
21498 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21501 * src/NetworkManagerDevice.[ch]
21502 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21503 - (nm_device_ap_list_get) New: return the AP list (static function)
21504 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21505 new one resulting from the scan with the old one
21507 * src/NetworkManagerWireless.c
21508 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21510 * test/nminfotest.c
21511 - #define object paths and namespaces and use the #defines rather than static strings
21512 - Test out user-key functionality of NetworkManagerInfo too
21514 2004-07-29 Dan Williams <dcbw@redhat.com>
21516 * info-daemon/NetworkManagerInfoDbus.c
21517 src/NetworkManagerDbus.c
21518 - Update to current DBus (ie don't use decomposed paths when registering
21519 object paths/fallbacks)
21521 2004-07-27 Dan Williams <dcbw@redhat.com>
21523 * Remove various Makefile.in files
21526 - Add some more items
21529 - Add checks for OpenSSL/md5 headers and libs
21532 - Use OpenSSL CFLAGS
21534 * src/NetworkManagerAP.[ch]
21535 - Remove 'stamp' functions, replace with 'invalid' functions
21536 to support user cancelling WEP key entry
21538 * src/NetworkManagerDbus.c
21539 - Remove 'stamp' return functions
21540 - Treat returned user key as a passphrase and convert to a WEP key,
21541 but don't actually use the WEP key yet. We use the returned user
21542 key as a hexadecimal WEP key until we can figure out a UI for
21543 passphrase-vs-hex key
21545 * src/NetworkManagerWireless.[ch]
21546 - Add passphrase-to-128bit-key function
21548 2004-07-27 Dan Williams <dcbw@redhat.com>
21551 - Add a couple of items
21553 2004-07-27 Dan Williams <dcbw@redhat.com>
21555 * info-daemon/NetworkManagerInfo.c
21556 - Update allowed network's GConf key when user enters a WEP key explicitly
21558 * info-daemon/NetworkManagerDbus.c
21559 - Fix some comments
21560 - nmi_dbus_get_allowed_networks(): kill warning
21562 2004-07-27 Dan Williams <dcbw@redhat.com>
21564 * initscript/Makefile.in
21567 * initscript/Makefile.am
21568 - Add correct rules to install the init.d initscript
21570 * info-daemon/NetworkManagerInfoDbus.c
21571 - Remove debug fprintf
21573 * src/NetworkManagerDbus.[ch]
21574 - Remove debug fprintfs
21575 - Add macros for NetworkManagerInfo object path/namespace
21576 - Use said macros instead of constant strings
21578 2004-07-27 Dan Williams <dcbw@redhat.com>
21580 * initscript/.cvsignore
21583 * info-daemon/Makefile.am
21584 - Install .glade files and keyring.png
21585 - Fix stupid omission of a \ that caused half the flags not to be
21588 * info-daemon/NetworkManagerInfo.c
21589 - gtk_signal_connect->g_signal_connect
21590 - Alert NetworkManagerInfo to new glade file location
21592 2004-07-27 Dan Williams <dcbw@redhat.com>
21594 * test/nmclienttest.c
21596 - Add missing <dbus/dbus.h> headers
21597 - Add GPL message at top
21599 2004-07-27 Dan Williams <dcbw@redhat.com>
21601 * src/NetworkManagerAPList.[ch]
21603 - Add. Deal with allowed network list additions, deletions, and updates
21605 * dispatcher-daemon/NetworkManagerDispatcher.c
21606 - Add missing <dbus/dbus.h> header
21608 * info-daemon/NetworkManagerInfo.[ch]
21609 - Add missing <dbus/dbus.h> header
21610 - Implement the GConf notify callback to signal NetworkManager of an allowed
21612 - Better error checking
21614 * info-daemon/NetworkManagerInfoDbus.[ch]
21615 - Add missing <dbus/dbus.h> header
21616 - Convert to using dbus_message_append_args/dbus_message_get_args
21617 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21618 that an allowed network changed. We don't want to signal on individual
21619 keys _inside_ an allowed network really, just want NM to query the info
21620 daemon for updated info on all keys.
21621 - Better error checking
21623 * src/NetworkManager.[ch]
21624 - Add missing <dbus/dbus.h> header
21625 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21626 - Zero out NMData structure on free
21627 - No longer use a thread for allowed_ap_list updating, instead its now done
21628 through dbus queries against NetworkManagerInfo
21629 - Populate allowed_ap_list initially before adding existing network devices
21630 to the device list, so wireless devices can get their "best" AP
21632 * src/NetworkManagerDbus.[ch]
21633 - Convert to using dbus_message_append_args/dbus_message_get_args
21634 - Better error checking
21635 - Implement Allowed Network info functions to request allowed network
21636 info from NetworkManagerInfo
21637 - Implement the filter function to process signals from NetworkManagerInfo
21638 about changing allowed networks
21640 * src/NetworkManagerDevice.c
21641 - Fix file descriptor leak in nm_device_update_ip4_address()
21643 2004-07-27 Dan Williams <dcbw@redhat.com>
21648 dispatcher-daemon/.cvsignore
21649 info-daemon/.cvsignore
21650 - Add .cvsignore files to reduce noise when diffing
21652 2004-07-24 Dan Williams <dcbw@redhat.com>
21654 * src/NetworkManager.[ch]
21655 src/NetworkManagerDbus.[ch]
21656 src/NetworkManagerDevice.[ch]
21657 src/NetworkManagerPolicy.c
21658 src/NetworkManagerWireless.[ch]
21659 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21660 - Pass the NMData application data structure through all calls
21661 that need it so we can get rid of nm_get_global_data()
21662 - Change deallocation of the allowed_ap_list GSList in preparation
21663 for not completely clearing it every time we get an update,
21664 but instead getting incremental updates via GConf/dbus
21666 2004-07-22 Dan Williams <dcbw@redhat.com>
21669 - Add checks for GConf libs & headers & flags
21671 * info-daemon/Makefile.am
21672 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21674 * info-daemon/NetworkManagerInfo.[ch]
21675 - Don't use gquarks for data storage, just use normal data storage
21676 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21678 * info-daemon/NetworkManagerDbus.[ch]
21679 - Add method call for getting allowed networks
21680 - Add method calls for getting an allowed network's essid, priority, and key
21681 - Hook the method calls up to GConf
21682 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21683 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21685 * src/NetworkManagerDbus.[ch]
21686 - Switch for enumeration of networks to using essid instead
21690 - Add test program for NetworkManagerInfo
21692 2004-07-19 Dan Williams <dcbw@redhat.com>
21694 * src/NetworkManagerDbus.c
21695 - Switch from indexed device paths to names. Less code, more efficient.
21696 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21698 2004-07-19 Dan Williams <dcbw@redhat.com>
21700 * dispatcher-daemon/NetworkManagerDispatcher.c
21701 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21703 2004-07-19 Dan Williams <dcbw@redhat.com>
21706 - Add info-daemon directory
21709 - Check for glade libs and headers
21710 - Add info-daemon directory
21712 * src/NetworkManagerAP.c
21713 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21714 copied over to the new AP.
21716 * src/NetworkManagerDbus.c
21717 src/NetworkManagerDbus.h
21718 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21719 - Remove nm_dbus_signal_need_key_for_network()
21720 - Add disabled code for asynchronous user wep key callbacks
21721 - Add functions for getting, setting, and cancelling user key operations
21722 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21723 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21725 * src/NetworkManagerDevice.c
21726 src/NetworkManagerDevice.h
21727 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21728 logic is in device activation now
21729 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21730 key is wrong) trigger get-user-key pending action
21731 - Implement get-user-key pending action stuff, tie to dbus messages
21732 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21733 - Add nm_device_ap_list_get_ap_by_essid()
21734 - Instead of copying "best" access points, ref them instead so that the key we set
21737 * src/NetworkManagerPolicy.c
21738 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21739 - Don't cancel pending actions on a device if its the same device as last iteration
21740 - Only promote pending_device->active_device if activation was successfull
21743 - Rename nmclienttest->nmtest
21745 * info-daemon/Makefile.am
21746 info-daemon/NetworkManagerInfo.c
21747 info-daemon/NetworkManagerInfo.h
21748 info-daemon/NetworkManagerInfoDbus.c
21749 info-daemon/NetworkManagerInfoDbus.h
21750 info-daemon/passphrase.glade
21751 info-daemon/NetworkManagerInfo.conf
21752 info-daemon/keyring.png
21753 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21754 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21755 lists to NetworkManager by proxying user's GConf
21758 2004-07-15 Dan Williams <dcbw@redhat.com>
21763 * src/NetworkManager.c
21764 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21765 that doing the deactivation ourselves
21766 - Cancel an pending actions on a device if its being removed
21767 - Break up link state checking a bit, make non-active wireless cards
21768 deactivated to save power
21769 - Remove unused variables
21771 * src/NetworkManager.h
21772 - Add support for "pending" device
21774 * src/NetworkManagerAP.h
21775 src/NetworkManagerAP.c
21776 - Add support for determining whether and AP has encryption enabled or not
21777 - AP address is now "struct ether_addr" rather than a string
21779 * src/NetworkManagerDbus.h
21780 src/NetworkManagerDbus.c
21781 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21782 - Changes for AP address from struct ether_addr->string
21784 * src/NetworkManagerDevice.h
21785 src/NetworkManagerDevice.c
21786 - Remove unused variables, fix warnings
21787 - Add support for Pending Actions (things that block a device from being "active"
21788 until they are completed).
21789 - First pending action: Get a WEP key from the user
21790 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21791 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21792 - Update wireless link checking to try to determine if the AP we are associated
21793 with is correct, but the WEP key we are using is just wrong. If its wrong,
21794 trigger the GetUserKey pending action on the device
21795 - If dhclient can't get an IP address, it brings the device down. Bring it back
21796 up in that case, otherwise we can't scan or link-check on it
21797 - Add IP address change notifications at appropriate points (still needs some work)
21798 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21800 * src/NetworkManagerPolicy.h
21801 src/NetworkManagerPolicy.c
21802 - Split out "best" access point determiniation into separate function
21803 - Make device activation 2-stage: first the device is pending, then
21804 in the next iteration through it becomes "active" unless it has
21807 * src/NetworkManagerUtils.h
21808 src/NetworkManagerUtils.c
21809 - Clean up unused variables and warnings
21810 - Wrap our debug macros in {} to prevent possible confusion
21812 * src/NetworkManagerWireless.c
21813 - Forgot to return current best priority, which lead to last available AP always
21814 being chosen no matter what its priority was. Corrected.
21816 2004-07-15 Dan Williams <dcbw@redhat.com>
21818 * dispatcher-daemon/Makefile.am
21821 * dispatcher-daemon/NetworkManagerDispatcher.c
21822 - Remove unused variables due to warnings
21823 - Fix some comments
21824 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21826 2004-07-06 Dan Williams <dcbw@redhat.com>
21828 * src/NetworkManager.c
21829 - Add IPv4 address update for active device during link state check
21830 - Don't allow wireless cards to be powered up when they are not the
21833 * src/NetworkManagerDbus.c
21834 src/NetworkManagerDbus.h
21835 - Add DBUS IPv4 address change signal
21836 - Add DBUS IPv4 address get method for devices
21838 * src/NetworkManagerDevice.c
21839 - Make setting the WEP key actually work
21840 - Move IP address get/set/update stuff here, per-device
21841 - Power down/bring down wireless device when deactivated
21842 - For scanning wireless devices, if first scan returned ENODATA, try again
21844 * src/NetworkManagerPolicy.c
21845 - Only set the WEP key for an allowed access point if there is one.
21846 We were setting it to be blank if one wasn't specified.
21848 * src/NetworkManagerUtils.h
21849 src/NetworkManagerUtils.c
21850 - Move the IP address stuff to NetworkManagerDevice.c
21852 * dispatcher-daemon/NetworkManagerDispatcher.c
21853 - Add device IPv4 address change notification stuff
21855 2004-07-05 Dan Williams <dcbw@redhat.com>
21857 * dispatcher-daemon/NetworkManagerDispatcher.c
21858 - A bit more descriptive state message
21859 - Don't segfault when reading directory
21861 * src/NetworkManager.h
21862 - Remove NMData desired_ap member, its now
21863 per-device rather than global
21865 * src/NetworkManager.c
21866 - Remove references to desired_ap
21867 - Move the allowed AP list refresh stuff into a thread
21869 * src/NetworkManagerDevice.c
21870 src/NetworkManagerDevice.h
21871 - Each wireless device now has a "best ap"
21872 - Make device activate/deactivate functions per-device
21873 - Make wireless scanning per-device
21874 - Add IPv4 address discover functions, stub IPv6 ones
21875 - Move ethernet address validation functions to NetworkManagerUtils.c
21876 - Add wireless access point accessor function
21877 - Get/Set functions for "best ap"
21879 * src/NetworkManagerPolicy.c
21880 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21881 - Deal with per-device "best ap" rather than data->desired_apa
21882 - Implement allowed access point worker thread
21883 - Add nm_policy_essid_is_allowed() function
21885 * src/NetworkManagerUtils.c
21886 src/NetworkManagerUtils.h
21887 - Add nm_ethernet_address_is_valid() function
21888 - Add IPv4/IPv6 address get functions
21890 * src/NetworkManagerWireless.c
21891 src/NetworkManagerWireless.h
21892 - Move scanning stuff into NetworkManagerDevice.c, per-device
21894 2004-06-29 Dan Williams <dcbw@redhat.com>
21896 * dispatcher-daemon/NetworkManagerDispatcher.c
21897 - Implement script callout functionality
21899 2004-06-24 Dan Williams <dcbw@redhat.com>
21903 - Flush device routes and ip addresses when added to the device list
21905 * NetworkManagerDbus.c
21907 - Add missing returns in the two signal functions
21909 * NetworkManagerPolicy.c
21910 - Spacing and variable cleanups
21912 2004-06-24 Dan Williams <dcbw@redhat.com>
21917 dispatcher-daemon/Makefile.am
21918 dispatcher-daemon/Makefile.in
21919 dispatcher-daemon/NetworkManagerDispatcher.c
21920 - Add a daemon that receives signals from NetworkManager
21921 and will (eventually) call scripts in /etc/somewhere
21922 when devices go up or down.
21926 - Flush device routes and ip addresses when added to the device list
21928 * NetworkManagerDbus.c
21930 - Add missing returns in the two signal functions
21932 * NetworkManagerPolicy.c
21933 - Spacing and variable cleanups
21934 - Rename nm_policy_switch_interface->nm_policy_switch_device
21935 - nm_policy_switch_device():
21936 Use kill (pid) instead of system ("kill <pid>")
21937 - nm_state_modification_monitor():
21938 Add wireless essid to output of debug statements
21939 Correct typo in device compare to switch or not (should be !=)
21940 Don't sleep after sending "no longer active" signal, was useless
21942 2004-06-24 Dan Williams <dcbw@redhat.com>