1 2008-11-14 Dan Williams <dcbw@redhat.com>
3 * introspection/nm-settings-system.xml
4 system-settings/src/dbus-settings.c
5 system-settings/src/dbus-settings.h
6 - Add a "CanModify" property to indicate if any plugins support
7 connection modification
9 2008-11-14 Dan Williams <dcbw@redhat.com>
11 Relicense libnm-glib to LGPLv2+ with agreement from contributors
13 2008-11-14 Dan Williams <dcbw@redhat.com>
15 * vpn-manager/nm-vpn-connection.c
16 - (plugin_state_changed): clear VPN secrets on error to ensure they
17 are always requested from the settings service (rh #429287)
19 2008-11-13 Dan Williams <dcbw@redhat.com>
22 - (crypto_get_private_key_data): fix bad initial arg type checking
25 2008-11-13 Dan Williams <dcbw@redhat.com>
27 Add support for PKCS#12 private keys (bgo #558982)
31 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
32 take a GByteArray instead of a filename
33 - (file_to_g_byte_array): handle private key files too
34 - (decrypt_key): take a GByteArray rather than data + len
35 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
36 one function that takes a filename, and one that takes raw data;
37 detect pkcs#12 files as well
38 - (crypto_load_and_verify_certificate): detect file type
39 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
42 * libnm-util/crypto_gnutls.c
43 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
44 whereby tail padding was incorrectly handled, leading to erroneous
45 successes when trying to decrypt the data
46 - (crypto_verify_cert): rework somewhat
47 - (crypto_verify_pkcs12): validate pkcs#12 keys
49 * libnm-util/crypto_nss.c
50 - (crypto_init): enable various pkcs#12 ciphers
51 - (crypto_decrypt): take a GByteArray rather than data + len
52 - (crypto_verify_cert): clean up
53 - (crypto_verify_pkcs12): validate pkcs#12 keys
55 * libnm-util/test-crypto.c
58 * libnm-util/nm-setting-8021x.c
59 libnm-util/nm-setting-8021x.h
60 libnm-util/libnm-util.ver
61 - Add two new properties, 'private-key-password' and
62 'phase2-private-key-password', to be used in conjunction with
64 - (nm_setting_802_1x_set_ca_cert_from_file,
65 nm_setting_802_1x_set_client_cert_from_file,
66 nm_setting_802_1x_set_phase2_ca_cert_from_file,
67 nm_setting_802_1x_set_phase2_client_from_file): return certificate
69 - (nm_setting_802_1x_get_private_key_password,
70 nm_setting_802_1x_get_phase2_private_key_password): return private
72 - (nm_setting_802_1x_set_private_key_from_file,
73 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
74 key from a file, and update the private key password at the same time
75 - (nm_setting_802_1x_get_private_key_type,
76 nm_setting_802_1x_get_phase2_private_key_type): return the private
79 * src/supplicant-manager/nm-supplicant-settings-verify.c
80 - Whitelist private key passwords
82 * src/supplicant-manager/nm-supplicant-config.c
83 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
84 add the private key password to the supplicant config, but do not
85 add the client certificate (as required by wpa_supplicant)
87 2008-11-12 Tambet Ingo <tambet@gmail.com>
89 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
90 (add_secrets): Don't add empty secrets to the secrets hash table.
92 2008-11-07 Dan Williams <dcbw@redhat.com>
94 * libnm-util/nm-setting-wireless.c
95 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
96 that cased this function to return garbage, breaking hidden AP
99 2008-11-07 Dan Williams <dcbw@redhat.com>
101 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
103 * src/NetworkManagerSystem.c
104 src/NetworkManagerSystem.h
105 - (nm_system_device_set_ip4_route): return the route that was added
106 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
107 public, clean up, and return the route that was added
108 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
109 since nm_system_add_ip4_vpn_gateway_route() is now available; add
110 flags to allow only certain attributes of the NMIP4Config to be
114 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
115 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
116 what's really changed between the old and new configs; don't export
117 the new IP4 config on failure; always send the DNS info to the
120 * src/vpn-manager/nm-vpn-connection.c
121 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
122 parent device's IP4Config and re-add the VPN gateway route when it
124 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
125 nm_system_apply_ip4_config() no longer does) and cache it for later
126 - (connection_state_changed): move cleanup code to its own function
127 - (vpn_cleanup): delete any previously added VPN gateway route; and
128 re-apply the parent device's addresses and routes using
129 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
131 2008-11-07 Dan Williams <dcbw@redhat.com>
133 * src/nm-ip4-config.c
135 - (nm_ip4_config_diff): new function; return the difference between two
137 - (nm_ip4_config_compare): change into nm_ip4_config_diff
139 2008-11-05 Dan Williams <dcbw@redhat.com>
143 - (nm_ip4_config_compare): compare two IP4 configs
145 2008-11-05 Dan Williams <dcbw@redhat.com>
147 * src/NetworkManagerPolicy.c
148 - (update_etc_hosts): only add newline if not the last line of the file
151 2008-11-05 Dan Williams <dcbw@redhat.com>
153 * src/dhcp-manager/nm-dhcp-dhclient.c
154 - (get_leasefile_for_iface): move lease files back to where dhclient
157 2008-11-05 Michael Biebl <mbiebl@gmail.com>
159 * initscripts/Debian/NetworkManager
160 - Update to what Debian is actually using
162 2008-11-05 Tambet Ingo <tambet@gmail.com>
164 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
166 2008-11-03 Dan Williams <dcbw@redhat.com>
168 * system-settings/src/main.c
169 - (add_default_dhcp_connection): make the fallback connection read-only
171 * libnm-glib/nm-settings.c
172 libnm-glib/nm-settings.h
173 - Add detailed errors
174 - (impl_exported_connection_update, impl_exported_connection_delete):
175 return an error if the connection is read-only
177 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
178 system-settings/plugins/keyfile/nm-keyfile-connection.c
179 system-settings/src/main.c
180 - Use more detailed errors
182 * system-settings/src/nm-system-config-error.c
183 system-settings/src/nm-system-config-error.h
184 system-settings/src/dbus-settings.c
185 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
186 NM_SETTINGS_ERROR_INVALID_CONNECTION
188 2008-11-02 Dan Williams <dcbw@redhat.com>
190 * Add license headers to everything in src/
192 2008-11-02 Dan Williams <dcbw@redhat.com>
196 2008-11-02 Dan Williams <dcbw@redhat.com>
198 * src/NetworkManagerAP.c
199 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
200 setting as unencrypted; fixes a bug where NM wouldn't ask for new
201 secrets when connecting to an encrypted network failed
203 2008-10-30 Dan Williams <dcbw@redhat.com>
205 * libnm-util/libnm-util.ver
206 libnm-util/nm-setting-ip6-config.c
207 libnm-util/nm-setting-ip6-config.h
208 libnm-util/Makefile.am
209 - Make properties private and add accessor functions
210 - Hide IPv6 stuff from public API, it's incomplete and completely unused
212 * libnm-util/nm-connection.c
213 libnm-util/nm-utils.c
214 libnm-util/nm-utils.h
215 - Ignore IPv6 stuff for now
217 2008-10-30 Dan Williams <dcbw@redhat.com>
219 * libnm-util/libnm-util.ver
220 libnm-util/nm-setting-8021x.c
221 libnm-util/nm-setting-8021x.h
222 - Make properties private and add accessor functions
224 * src/supplicant-manager/nm-supplicant-config.c
225 system-settings/plugins/ifcfg-suse/parser.c
226 - Use 802.1x setting accessors
228 2008-10-30 Dan Williams <dcbw@redhat.com>
230 * libnm-util/libnm-util.ver
231 libnm-util/nm-setting-wireless-security.c
232 libnm-util/nm-setting-wireless-security.h
233 - Make properties private and add accessor functions
235 * libnm-util/nm-setting-wireless.c
236 src/NetworkManagerAP.c
238 src/supplicant-manager/nm-supplicant-config.c
239 system-settings/plugins/ifcfg-fedora/reader.c
240 system-settings/plugins/ifcfg-suse/parser.c
241 - Use wireless security accessors
243 2008-10-30 Dan Williams <dcbw@redhat.com>
245 * src/nm-device-ethernet.c
248 src/ppp-manager/nm-ppp-manager.c
249 - Harmonize return checking of ioctl
251 * system-settings/plugins/ifcfg-fedora/reader.c
252 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
254 2008-10-30 Dan Williams <dcbw@redhat.com>
256 * src/ppp-manager/nm-ppp-manager.c
257 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
258 ppp_generic module to create it (bgo #533064)
260 2008-10-30 Dan Williams <dcbw@redhat.com>
262 Patch from Alexander Sack <asac@canonical.com>
264 Fix "ppp connections don't honour ip4 connection settings"
266 * src/nm-device-ethernet.c
267 - (real_act_stage4_get_ip4_config): merge ip4config settings
268 with results from ppp manager
270 * src/nm-serial-device.c
271 - (real_act_stage4_get_ip4_config): merge ip4config settings
272 with results from ppp manager
274 2008-10-29 Dan Williams <dcbw@redhat.com>
276 * libnm-util/libnm-util.ver
277 libnm-util/nm-setting-ip4-config.c
278 libnm-util/nm-setting-ip4-config.h
279 - Make properties private and add accessor functions
281 * callouts/nm-dispatcher-action.c
282 libnm-glib/libnm-glib-test.c
283 libnm-util/nm-utils.c
284 src/NetworkManagerPolicy.c
285 src/NetworkManagerSystem.c
286 src/NetworkManagerUtils.c
287 src/dhcp-manager/nm-dhcp-dhclient.c
288 src/dhcp-manager/nm-dhcp-manager.c
289 src/dnsmasq-manager/nm-dnsmasq-manager.c
292 src/nm-hso-gsm-device.c
295 src/ppp-manager/nm-ppp-manager.c
296 src/vpn-manager/nm-vpn-connection.c
297 system-settings/plugins/ifcfg-fedora/reader.c
298 system-settings/plugins/ifcfg-suse/parser.c
299 system-settings/plugins/ifcfg-suse/plugin.c
300 system-settings/plugins/ifupdown/parser.c
302 vpn-daemons/vpnc/properties/nm-vpnc.c
303 - Use IP4 accessor functions
305 2008-10-29 Tambet Ingo <tambet@gmail.com>
307 Half of it by Dan Williams <dcbw@redhat.com>
309 * libnm-util/libnm-util.ver
310 libnm-util/nm-setting-vpn.c
311 libnm-util/nm-setting-vpn.h
312 - Make properties private and add accessor functions.
314 * src/vpn-manager/nm-vpn-connection.c
315 src/vpn-manager/nm-vpn-manager.c
316 system-settings/plugins/keyfile/reader.c
317 vpn-daemons/openvpn/properties/auth-helpers.c
318 vpn-daemons/openvpn/properties/import-export.c
319 vpn-daemons/openvpn/properties/nm-openvpn.c
320 vpn-daemons/openvpn/src/nm-openvpn-service.c
321 vpn-daemons/pptp/auth-dialog/main.c
322 vpn-daemons/pptp/properties/advanced-dialog.c
323 vpn-daemons/pptp/properties/nm-pptp.c
324 vpn-daemons/pptp/src/nm-pptp-service.c
325 vpn-daemons/vpnc/properties/nm-vpnc.c
326 vpn-daemons/vpnc/src/nm-vpnc-service.c
327 - Use VPN setting accessors.
329 2008-10-28 Dan Williams <dcbw@redhat.com>
331 Patch from Tambet Ingo <tambet@gmail.com>
333 * libnm-util/libnm-util.ver
334 libnm-util/nm-setting-wireless.c
335 libnm-util/nm-setting-wireless.h
336 - Make properties private and add accessor functions
338 * src/NetworkManagerAP.c
341 src/supplicant-manager/nm-supplicant-config.c
342 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
343 system-settings/plugins/ifcfg-fedora/reader.c
344 system-settings/plugins/ifcfg-suse/parser.c
345 system-settings/plugins/ifupdown/parser.c
346 - Use wireless setting accessors
348 2008-10-27 Dan Williams <dcbw@redhat.com>
350 Patch from Tambet Ingo <tambet@gmail.com>
352 * libnm-util/libnm-util.ver
353 libnm-util/nm-setting-ppp.c
354 libnm-util/nm-setting-ppp.h
355 - Make properties private and add accessor functions
357 * src/ppp-manager/nm-ppp-manager.c
358 - Use ppp setting accessors
360 2008-10-27 Dan Williams <dcbw@redhat.com>
362 Patch from Tambet Ingo <tambet@gmail.com>
364 * libnm-util/nm-setting.h
365 libnm-util/nm-setting.c
366 - Make properties private and add accessor functions
368 * libnm-util/nm-connection.c
369 libnm-util/nm-setting-8021x.c
370 libnm-util/nm-setting-cdma.c
371 libnm-util/nm-setting-connection.c
372 libnm-util/nm-setting-gsm.c
373 libnm-util/nm-setting-ip4-config.c
374 libnm-util/nm-setting-ip6-config.c
375 libnm-util/nm-setting-ppp.c
376 libnm-util/nm-setting-pppoe.c
377 libnm-util/nm-setting-serial.c
378 libnm-util/nm-setting-template.c
379 libnm-util/nm-setting-vpn.c
380 libnm-util/nm-setting-wired.c
381 libnm-util/nm-setting-wireless-security.c
382 libnm-util/nm-setting-wireless.c
383 system-settings/plugins/keyfile/reader.c
384 system-settings/plugins/keyfile/writer.c
385 - Use setting accessors
387 2008-10-27 Dan Williams <dcbw@redhat.com>
389 * libnm-util/libnm-util.ver
390 libnm-util/nm-setting-connection.c
391 libnm-util/nm-setting-connection.h
392 - Add a 'read-only' property that indicates the connection cannot be
395 * system-settings/plugins/ifcfg-fedora/reader.c
396 system-settings/plugins/ifcfg-suse/parser.c
397 system-settings/plugins/ifupdown/parser.c
398 - These plugins are read-only at the moment
400 * system-settings/plugins/keyfile/reader.c
401 system-settings/plugins/keyfile/writer.c
402 - Read-only shouldn't get saved out to files or read in from them
404 2008-10-27 Tambet Ingo <tambet@gmail.com>
406 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
407 correct speed reporting for fast devices (kernel >= 2.6.27).
409 2008-10-26 Dan Williams <dcbw@redhat.com>
411 Attempt to compensate for modems that don't enable full AT parsing before
412 the PIN has been entered.
414 * src/nm-gsm-device.c
415 - (init_modem): accept different init strings
416 - (init_done): try different init strings on failure
417 - (check_pin_done): on PIN success, do full modem init
419 2008-10-26 Dan Williams <dcbw@redhat.com>
421 Patch from Tambet Ingo <tambet@gmail.com>
423 * libnm-util/libnm-util.ver
424 libnm-util/nm-setting-connection.c
425 libnm-util/nm-setting-connection.h
426 - Make properties private and add accessor functions
428 * src/NetworkManagerPolicy.c
430 src/nm-device-ethernet.c
431 src/nm-device-interface.c
435 src/ppp-manager/nm-ppp-manager.c
436 src/vpn-manager/nm-vpn-connection.c
437 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
438 system-settings/plugins/ifcfg-fedora/plugin.c
439 system-settings/plugins/ifcfg-fedora/reader.c
440 system-settings/plugins/ifcfg-suse/parser.c
441 system-settings/plugins/ifupdown/parser.c
442 system-settings/plugins/keyfile/nm-keyfile-connection.c
443 system-settings/plugins/keyfile/plugin.c
444 system-settings/plugins/keyfile/writer.c
445 system-settings/src/main.c
446 - Use those accessors
448 2008-10-26 Dan Williams <dcbw@redhat.com>
450 Patch from Tambet Ingo <tambet@gmail.com>
452 * libnm-util/libnm-util.ver
453 libnm-util/nm-setting-gsm.c
454 libnm-util/nm-setting-gsm.h
455 - Make properties private and add accessor functions
457 * src/nm-gsm-device.c
458 src/nm-hso-gsm-device.c
459 src/ppp-manager/nm-ppp-manager.c
460 - Use those accessors
462 2008-10-26 Dan Williams <dcbw@redhat.com>
464 Patch from Tambet Ingo <tambet@gmail.com>
466 * libnm-util/libnm-util.ver
467 libnm-util/nm-setting-cdma.c
468 libnm-util/nm-setting-cdma.h
469 - Make properties private and add accessor functions
471 * src/nm-cdma-device.c
472 src/ppp-manager/nm-ppp-manager.c
473 - Use those accessors
475 2008-10-26 Dan Williams <dcbw@redhat.com>
477 Patch from Tambet Ingo <tambet@gmail.com>
479 * libnm-util/libnm-util.ver
480 libnm-util/nm-setting-pppoe.c
481 libnm-util/nm-setting-pppoe.h
482 - Make properties private and add accessor functions
484 * src/nm-device-ethernet.c
485 src/ppp-manager/nm-ppp-manager.c
486 - Use those accessors
488 2008-10-26 Dan Williams <dcbw@redhat.com>
490 Patch from Tambet Ingo <tambet@gmail.com>
492 * libnm-util/libnm-util.ver
493 libnm-util/nm-setting-wired.c
494 libnm-util/nm-setting-wired.h
495 - Make properties private and add accessor functions
497 * src/nm-device-ethernet.c
498 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
499 system-settings/plugins/ifcfg-suse/parser.c
500 system-settings/src/main.c
501 - Use those accessors
503 2008-10-26 Dan Williams <dcbw@redhat.com>
505 Patch from Tambet Ingo <tambet@gmail.com>
507 * libnm-util/libnm-util.ver
508 libnm-util/nm-setting-serial.c
509 libnm-util/nm-setting-serial.h
510 src/nm-serial-device.c
511 - Make properties private and use accessors instead
513 2008-10-26 Dan Williams <dcbw@redhat.com>
515 * src/supplicant-manager/nm-supplicant-interface.c
516 src/supplicant-manager/nm-supplicant-interface.h
517 src/supplicant-manager/nm-supplicant-manager.c
518 src/supplicant-manager/nm-supplicant-manager.h
519 - Add state-to-string conversion functions
521 * src/nm-device-wifi.c
522 src/nm-device-ethernet.c
523 - Normalize state info logging and use strings instead of numbers
525 2008-10-26 Dan Williams <dcbw@redhat.com>
527 * src/NetworkManagerPolicy.c
528 - (update_routing_and_dns): ignore host routes when determining whether
529 a VPN connection should own the default route (bgo #552594)
531 2008-10-24 Dan Williams <dcbw@redhat.com>
533 * src/nm-gsm-device.c
534 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
536 2008-10-23 Dan Williams <dcbw@redhat.com>
538 * src/ppp-manager/nm-ppp-manager.c
539 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
540 add really important stuff to the command line to ensure that NM
541 overrides /etc/ppp/options (bgo #556781)
543 2008-10-22 Dan Williams <dcbw@redhat.com>
545 * src/NetworkManagerSystem.c
547 - Use the device's IP interface where appropriate (Per Hallsmark)
549 2008-10-22 Dan Williams <dcbw@redhat.com>
551 * src/nm-gsm-device.c
552 - (schedule_automatic_registration_again): use a short timeout here
553 instead of an idle handler to avoid using too much CPU polling for
554 something we should be waiting a bit for anyway
556 2008-10-22 Dan Williams <dcbw@redhat.com>
558 * include/NetworkManager.h
559 introspection/nm-device.xml
560 - Add device state change reason for carrier changes
562 * src/nm-device-ethernet.c
563 - (set_carrier): use the carrier change reason when changing device
564 state in response to carrier changes
566 2008-10-21 Dan Williams <dcbw@redhat.com>
568 * src/NetworkManagerPolicy.c
569 - (update_etc_hosts): don't leak errors, and ensure that
570 g_file_set_contents() gets a valid error placeholder (rh #461933)
572 2008-10-21 Dan Williams <dcbw@redhat.com>
575 - (free_get_settings_info): don't use the DBusGProxy which could be
576 disposed of by the time the function is called
577 - (internal_new_connection_cb): save connection scope
578 - (connection_get_settings_cb): don't replace a connection unless it's
579 actually different from the existing one; fixes an issue where
580 killing the settings service wouldn't deactivate an active connection
581 provided by that settings service, because it was using a connection
582 that had already been replaced in the system or user hash
584 2008-10-21 Dan Williams <dcbw@redhat.com>
586 * src/NetworkManager.c
587 - (main): keep the DHCP manager around since it's a singleton; fixes
588 a use-after-free exposed by r4196 since the DHCP manager singleton
589 variable isn't cleared when the DHCP manager object is finalized
591 2008-10-20 Dan Williams <dcbw@redhat.com>
593 * libnm-util/nm-setting-wireless-security.c
594 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
596 2008-10-20 Dan Williams <dcbw@redhat.com>
598 * src/supplicant-manager/nm-supplicant-config.c
599 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
601 2008-10-20 Dan Williams <dcbw@redhat.com>
603 * src/dhcp-manager/nm-dhcp-manager.c
604 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
605 manager object already refs it once
606 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
607 also get cleaned up by nm_dhcp_device_destroy() to prevent
610 2008-10-20 Dan Williams <dcbw@redhat.com>
613 - (initial_get_connections): use private dbus manager, don't keep
614 ref-ing the singleton. Fixes mismatched refcounts of the dbus
617 2008-10-18 Dan Williams <dcbw@redhat.com>
619 * libnm-glib/nm-settings.c
620 libnm-glib/nm-settings.h
621 - Rename the "get_secrets" virtual function "service_get_secrets" to
622 clarify when it's used; NMExportedConnetion is a base-class for both
623 the client and service side, which is sort of confusing, and
624 get_secrets only makes sense on the service side.
626 * libnm-glib/nm-dbus-connection.c
627 - (get_secrets): remove, unused, and clients need to do extra work to
628 get secrets anyway since the call can block on the remote side
630 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
631 system-settings/plugins/keyfile/nm-keyfile-connection.c
632 - Fix up for get_secrets -> service_get_secrets
634 2008-10-16 Dan Williams <dcbw@redhat.com>
636 * src/nm-device-wifi.c
637 - (constructor): correctly determine encryption capabilities
639 2008-10-15 Dan Williams <dcbw@redhat.com>
641 * src/nm-device-wifi.c
642 - (wireless_qual_to_percent): fix quality calculation in a fallback case
645 2008-10-15 Dan Williams <dcbw@redhat.com>
647 * src/NetworkManagerSystem.c
648 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
649 if the ip4_dest is in a smaller subnet contained within a subnet
650 the machine is currently on, the destination is in the same subnet
651 - (nm_system_device_set_ip4_route): move subnet checks to callers
652 - (add_vpn_gateway_route): check if the VPN gateway is in the same
653 subnet as the parent device, and if so, don't add the direct
654 host route via the parent device's gateway (bgo #481620)
655 - (nm_system_apply_ip4_config): check whether the route to be added
656 is contained within a subnet the device is already on
658 2008-10-11 Dan Williams <dcbw@redhat.com>
660 * include/NetworkManager.h
661 introspection/nm-device.xml
662 include/NetworkManagerVPN.h
663 - Add a few more state reasons for the device deactivated state
665 * src/nm-device-interface.c
666 src/nm-device-interface.h
667 - (nm_device_interface_deactivate): add a 'reason' argument
671 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
672 - (nm_device_state_changed): pass the state change reason to
673 nm_device_take_down()
674 - (nm_device_set_managed): take a 'reason' argument, and pass it along
675 to the state change function
679 - (remove_one_device, handle_unmanaged_devices, sync_devices,
680 impl_manager_sleep): pass a reason code to nm_device_set_managed()
681 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
682 something reasonable along to VPN deactivation
684 * src/vpn-manager/nm-vpn-manager.c
685 src/vpn-manager/nm-vpn-manager.h
686 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
687 pass that along to nm_vpn_connection_disconnect()
689 2008-10-11 Dan Williams <dcbw@redhat.com>
691 * src/nm-device-wifi.c
692 - (can_scan): remove old madwifi hack for not scanning while connected
694 2008-10-11 Dan Williams <dcbw@redhat.com>
696 Add support for VPN subnet gateways (bgo #549196)
698 * include/NetworkManager.h
699 - Add key for internal VPN subnet gateway
701 * src/vpn-manager/nm-vpn-connection.c
702 - (ip_address_to_string): return a const from a static buffer so we
703 don't leak a lot of strings
704 - (print_vpn_config): print internal VPN gateway as well
705 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
707 - (nm_vpn_connection_get_ip4_internal_gateway): new function
709 * src/NetworkManagerSystem.c
710 src/NetworkManagerSystem.h
711 - (nm_system_device_replace_default_ip4_route): split into two, one for
712 VPN connections and one for normal devices
713 - (replace_default_ip4_route): break out route stuff into its own function
714 - (nm_system_replace_default_ip4_route_vpn,
715 nm_system_replace_default_ip4_route): simplify by having two cases,
716 one for VPNs and one for normal devices
718 * src/NetworkManagerPolicy.c
719 - (update_routing_and_dns): simplify, use split default route replacement
722 2008-10-10 Dan Williams <dcbw@redhat.com>
724 Rework default route handling to consolidate decisions in the policy,
725 and to take active VPN connections into account when changing the default
728 * src/NetworkManager.c
729 - (main): pass the vpn_manager to the policy so it knows about active
730 VPN connections; clean up the named manager which wasn't done before
732 * src/NetworkManagerPolicy.c
733 src/NetworkManagerPolicy.h
734 - (nm_policy_new): get a clue about the vpn_manager
735 - (update_default_route): remove, fold into update_routing_and_dns()
736 - (update_routing_and_dns): handle active VPN connections too; an
737 active VPN connection becomes the default route if it does not have
738 server-specified or user-specified custom routes. Otherwise, the
739 best active device gets the default route
740 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
741 nm_policy_destroy): track VPN connection activation and deactivation
742 and update the default route when appropriate
744 * src/NetworkManagerSystem.c
745 src/NetworkManagerSystem.h
746 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
747 in the VPN connection itself
748 - (nm_system_vpn_device_set_from_ip4_config,
749 nm_system_device_set_from_ip4_config): merge together to make
750 nm_system_apply_ip4_config()
751 - (add_vpn_gateway_route): add a route to the VPN's external gateway
752 via the parent device
753 - (nm_system_apply_ip4_config): simplify
754 - (add_ip4_route_to_gateway): new function; add a direct route to the
756 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
757 route stuff out into add_ip4_route_to_gateway() for clarity
760 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
762 * src/vpn-manager/nm-vpn-connection.c
763 src/vpn-manager/nm-vpn-connection.h
764 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
765 nm_vpn_connection_get_parent_device): add
766 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
768 - (connection_state_changed): update the named manager now that
769 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
772 * src/vpn-manager/nm-vpn-manager.c
773 src/vpn-manager/nm-vpn-manager.h
774 - Add a 'connection-activated' signal
775 - (nm_vpn_manager_get_active_connections): new function; mainly for the
776 policy to find out about active VPN connections
778 2008-10-10 Tambet Ingo <tambet@gmail.com>
780 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
781 a daemon to prevent NM logging spew on console on startup and shutdown (due
782 to dependency loop between NM and syslog).
784 2008-10-10 Alexander Sack <asac@ubuntu.com>
786 Implement managed mode. We bind devices configured in /etc/network/interfaces
787 to their connections by updating wired/wireless setting with the
788 mac address of the device.
790 * system-settings/plugins/ifupdown/plugin.c
791 - (get_net_address_for_udi): implement function to retrieve MAC
792 address of udi from hal in GByteArray format
793 - (bind_device_to_connection): bind mac address of device to
794 wired/wireless system connection
795 - (hal_device_added_cb): call bind_device_to_connection for
796 system connections with a matching interface.name
797 - (hal_device_added_cb): ensure that all code paths
798 properly free the "iface" string.
800 2008-10-10 Alexander Sack <asac@ubuntu.com>
802 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
803 mode of the ifupdown system config plugin.
805 * system-settings/plugins/ifupdown/plugin.c
806 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
807 private unmanage_well_known state field accordingly
809 2008-10-10 Alexander Sack <asac@ubuntu.com>
811 Implement unmanaged mode that will prevent all devices in the
812 well_known_udis set from being touched by NetworkManager
814 * system-settings/plugins/ifupdown/plugin.c
815 - (typedef struct SCPluginIfupdownPrivate): add gboolean
816 unmanage_well_known field used to turn on/off unmanaged
818 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
819 signal when well_known_udis get added/removed
820 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
821 if we are in unmanaged mode
823 2008-10-10 Alexander Sack <asac@ubuntu.com>
825 Add support to track network devices that have a configuration
826 with a matching interface.name in /etc/network/interfaces
828 * system-settings/plugins/ifupdown/plugin.c
829 - (typedef struct SCPluginIfupdownPrivate): add hash table
830 to track |well_known_udis|
831 - (get_iface_for_udi): helper function to get interface.name
833 - (hal_device_added_cb, hal_device_removed_cb): callbacks
834 that add and remove devices to and from the well_known_udis
835 set depending on whether their |interface.name| matches
836 any interface definition in /etc/network/interfaces
837 - (SCPluginIfupdown_init): connect callbacks from above with
838 hal_mgr and setup well_known_udis hashtable
839 - (GObject__dispose): destroy well_known_udis hashtable
840 - (hal_device_added_cb2): implement wrapper callback with GFunc
841 signature. user_data is supposed to be a triple (hal_mgr,
843 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
844 startup and call hal_device_added_cb2
846 2008-10-10 Alexander Sack <asac@ubuntu.com>
848 Remove implementation for not used NMSystemConfigInterface callback functions
851 * system-settings/plugins/ifupdown/plugin.c
852 - (SCPluginIfupdown_unmanaged_devices_changed): removed
853 - (SCPluginIfupdown_connection_added): removed
855 2008-10-08 Dan Williams <dcbw@redhat.com>
857 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
859 * src/NetworkManagerUtils.c
860 - (nm_utils_call_dispatcher): add a 'hostname' action
862 * src/NetworkManagerPolicy.c
863 - (set_system_hostname): dispatch hostname changes
865 * callouts/nm-dispatcher-action.c
866 - (nm_dispatcher_action): handle 'hostname' actions
868 2008-10-08 Dan Williams <dcbw@redhat.com>
870 * src/NetworkManagerSystem.c
871 - (find_route): ref the route so it doesn't get destroyed when the cache
873 - (nm_system_device_set_priority): unref the route here after it's done
876 2008-10-08 Dan Williams <dcbw@redhat.com>
878 * src/nm-serial-device.c
879 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
881 2008-10-08 Tambet Ingo <tambet@gmail.com>
883 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
884 connection with new settings before saving it.
886 2008-10-06 Dan Williams <dcbw@redhat.com>
888 * src/nm-ip4-config.c
890 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
892 * src/nm-device-interface.c
893 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
894 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
895 by using '/' for the object path
898 - (src/nm-device.c): marshal missing/unexported ip4-config through
899 dbus as '/' since dbus-glib can't handle NULL objects nor can
900 dbus handle NULL object paths
902 2008-10-03 Alexander Sack <asac@ubuntu.com>
904 Implement system hostname support for debian/ubuntu
906 * system-settings/plugins/ifupdown/plugin.c
907 - (GObject__get_property): extend announced capabilities; add
908 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
909 - (GObject__set_property,write_system_hostname): implement
910 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
911 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
912 update_system_hostname, get_hostname):
913 implement hostname property that watches and
916 2008-10-03 Alexander Sack <asac@ubuntu.com>
918 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
919 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
920 system-settings/plugins/ifcfg-fedora/Makefile.am
921 system-settings/src/nm-inotify-helper.c
922 system-settings/src/nm-inotify-helper.h
924 - Move ifcfg-fedora inotify helpers to the system settings service so
925 they are available to all plugins
927 2008-10-03 Alexander Sack <asac@ubuntu.com>
929 Implement support for wep-tx-keyidx in ifupdown system
932 * system-settings/plugins/ifupdown/parser.c
933 - (update_wireless_security_setting_from_if_block): introduce
934 free_type_mapping func table; rename a few local
935 variables to improve readability; add wpa security mapping
936 for wep-tx-keyidx property
937 - (string_to_gpointerint): new function used for the auto_type_mapping
938 of new wep-tx-keyidx property
939 - (slist_free_all): free func used for mapped slist types
941 2008-10-03 Alexander Sack <asac@ubuntu.com>
943 * system-settings/src/main.c:
944 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
945 always used as the hash key; fixes a crash when removing wired
948 2008-10-02 Dan Williams <dcbw@redhat.com>
950 * src/nm-gsm-device.c
951 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
952 pass the required GSM secret along via user_data rather than keeping
953 it around in the private data where it sometimes didn't get cleared
954 - (real_get_ppp_name): implement using the GSM username
956 2008-10-02 Dan Williams <dcbw@redhat.com>
958 * src/ppp-manager/nm-ppp-manager.c
959 src/ppp-manager/nm-ppp-manager.h
960 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
961 the settings daemon for completely new ones
962 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
963 local PPP peer name; allow PPP debuging by launching NM with
964 the environment variable NM_PPP_DEBUG defined
965 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
966 create_pppd_cmd_line()
968 * src/nm-serial-device.c
969 src/nm-serial-device.h
970 - New 'get_ppp_name' function for subclasses to implement to return the
972 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
973 and pass that name to the PPP manager
975 * src/nm-device-ethernet.c
976 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
979 * src/nm-cdma-device.c
980 - (real_get_ppp_name): implement using the CDMA username
982 2008-10-02 Dan Williams <dcbw@redhat.com>
984 Patch from Alexander Sack <asac ubuntu com>
986 * system-settings/plugins/ifupdown/parser.c
987 - Implement more graceful ip4 config parsing for cases where
988 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
989 by using default values
991 2008-10-02 Dan Williams <dcbw@redhat.com>
993 * src/NetworkManagerPolicy.c
994 - (device_state_changed): when marking a connection invalid, clear its
995 secrets too so that fresh secrets get requested the next time
997 2008-10-01 Dan Williams <dcbw@redhat.com>
999 * system-settings/src/dbus-settings.c
1000 - (nm_sysconfig_settings_init): cache system hostname on startup as
1001 a fallback if no plugin provides a hostname
1002 - (get_property): fall back to cached hostname if no plugin provides
1005 2008-10-01 Dan Williams <dcbw@redhat.com>
1007 Fix setting value comparison issue that caused some settings to look the
1008 same when they were really different (rh #464417)
1010 * libnm-util/nm-param-spec-specialized.c
1011 - (type_is_fixed_size): return fundamental size of the fixed type too
1012 - (nm_gvalues_compare_collection): use the fundamental fixed type size
1013 in the comparison so that the _entire_ fixed type collection gets
1014 compared rather than just the first 'len1' bytes
1016 2008-09-30 Dan Williams <dcbw@redhat.com>
1018 * src/NetworkManagerPolicy.c
1019 - (lookup_thread_worker): don't store the idle handler ID becuase the
1020 idle handler could have already run and freed the LookupThread
1023 2008-09-30 Tambet Ingo <tambet@gmail.com>
1025 * src/nm-device.c (nm_device_get_priority): Implement.
1026 (nm_device_set_ip4_config): Send the device priority to system ip4
1029 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1030 Add priority argument and if it's >= 0, set the priority of the network
1031 route added automatically by netlink (or kernel?).
1032 (nm_system_device_set_priority): Implement.
1034 * src/NetworkManagerPolicy.c (get_best_device): Use
1035 nm_device_get_priority() instead of home-grown version. Revert the
1036 meaning, best priority is the lowest one.
1038 2008-09-29 Dan Williams <dcbw@redhat.com>
1040 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1041 when it returns EAGAIN (rh #362421)
1043 * src/nm-device-wifi.c
1044 - (wireless_get_range): try GIWRANGE a few times until the card responds
1045 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1047 2008-09-28 Dan Williams <dcbw@redhat.com>
1049 * src/nm-serial-device.c
1050 src/nm-serial-device.h
1051 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1052 cleaned at the right times when subclasses close the serial port too
1053 - (nm_serial_device_send_command): use a default send delay; don't
1054 spin forever on EAGAIN
1055 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1056 remove, no longer used
1057 - (find_response): return the matched response if any
1058 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1060 - (wait_for_reply_done): pass the matched response to the callback
1061 - (wait_for_reply_got_data): save the matched response; simplify timeout
1063 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1064 const since they never get modified
1065 - (cleanup_device): split out common cleanup stuff to a new function
1066 - (real_deactivate_quickly, finalize): use cleanup_device()
1068 * src/nm-gsm-device.c
1069 - (modem_get_reply): remove, unused
1070 - (set_apn): give the card a bit more time to respond
1071 - (manual_registration_again, schedule_manual_registration_again,
1072 manual_registration_response, manual_registration): handle manual
1073 registration timeouts better by retrying registration a few times
1074 because cards are a bit slow after CFUN=1
1075 - (automatic_registration_get_network, get_network_response): use
1076 modem_wait_for_reply() because it interacts better with the serial
1077 buffer and does more intelligent matching; need to wait for 'OK'
1078 rather than just matching terminators
1079 - (schedule_automatic_registration_again,
1080 automatic_registration_response, automatic_registration): retry
1081 registration a few times on timeout or "searching" because cards
1082 take a bit to find a network after being powered up with CFUN=1
1083 - (power_up_response, power_up, init_full_done, enter_pin,
1084 check_pin_done): power up the card with CFUN=1 before trying to
1085 register with the network
1086 - (init_modem_full, init_modem): use more standard 3G init strings
1088 * src/nm-hso-gsm-device.c
1089 - (modem_get_reply): remove, unused
1090 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1091 modem_wait_for_reply() to match actual responses instead of single
1092 termination characters; it doesn't leave stuff in the serial buffer
1093 that might confuse later calls
1094 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1095 to ensure that the call is really disconnected and not leave extra
1096 stuff in the serial buffer
1098 * src/nm-cdma-device.c
1099 - (power_up_response, power_up, init_done): try Sierra-style modem
1100 power up before attempting to connect
1102 2008-09-27 Dan Williams <dcbw@redhat.com>
1104 * libnm-util/nm-setting-gsm.c
1105 - (verify): verify GSM network ID
1107 2008-09-25 Dan Williams <dcbw@redhat.com>
1109 * libnm-util/nm-setting-gsm.c
1110 libnm-util/nm-setting-gsm.h
1111 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1112 technology terms (bgo #551361)
1114 2008-09-25 Dan Williams <dcbw@redhat.com>
1116 Fix bgo #549401 (inspired by patch from Alexander Sack)
1118 * src/nm-device-ethernet.c
1119 - (finish_supplicant_task): clean up scheduled tasks and free memory
1120 - (remove_supplicant_interface_error_handler): remove the supplicant
1121 error idle callback too
1122 - (supplicant_interface_release): rename from supplicant_interface_clean
1123 to match nm-device-wifi.c; clean up supplicant interface-related
1124 state tasks when the supplicant interface is disposed of
1125 - (schedule_state_handler): add scheduled tasks to a list so they can
1127 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1128 supplicant_iface_connection_state_cb_handler): use
1129 finish_supplicant_task() to clean up each completed task
1130 - (supplicant_iface_connection_error_cb_handler,
1131 supplicant_connection_timeout_cb): clear source id when the task is
1133 - (supplicant_iface_connection_error_cb): save scheduled task id for
1135 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1138 * src/nm-device-wifi.c
1139 - (finish_supplicant_task): clean up scheduled tasks and free memory
1140 - (remove_supplicant_interface_error_handler): remove the supplicant
1141 error idle callback too
1142 - (supplicant_interface_release): clean up supplicant interface-related
1143 state tasks when the supplicant interface is disposed of
1144 - (schedule_state_handler): add scheduled tasks to a list so they can
1146 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1147 supplicant_iface_connection_state_cb_handler): use
1148 finish_supplicant_task() to clean up each completed task
1149 - (supplicant_iface_connection_error_cb_handler): clear source id when
1150 the task is complete
1151 - (supplicant_iface_connection_error_cb): save scheduled task id for
1153 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1155 2008-09-24 Tambet Ingo <tambet@gmail.com>
1157 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1158 method and get/set hostname property.
1160 2008-09-24 Tambet Ingo <tambet@gmail.com>
1162 * src/supplicant-manager/nm-supplicant-interface.c
1163 (nm_supplicant_interface_disconnect): Don't increment the reference
1164 count when disconnecting. The problem is on shutdown, when the replies
1165 to these commands do not arrive before NM exits, resulting on never
1166 calling supplicant interface's dispose(), which removes the interface
1169 2008-09-24 Tambet Ingo <tambet@gmail.com>
1171 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1172 all the public function arguments.
1174 2008-09-22 Tambet Ingo <tambet@gmail.com>
1176 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1177 "Failure" signal from VPN plugins, store the failure reason, and
1178 use it when the state is changed to failure.
1180 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1183 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1184 reason to the end of the list to not break the API.
1185 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1186 so it can be shared by plugins and daemon.
1188 2008-09-18 Dan Williams <dcbw@redhat.com>
1190 Patch from Alexander Sack <asac@ubuntu.com>
1193 system-settings/plugins/Makefile.am
1194 system-settings/plugins/ifupdown/Makefile.am
1195 system-settings/plugins/ifupdown/interface_parser.c
1196 system-settings/plugins/ifupdown/interface_parser.h
1197 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1198 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1199 system-settings/plugins/ifupdown/parser.c
1200 system-settings/plugins/ifupdown/parser.h
1201 system-settings/plugins/ifupdown/plugin.c
1202 system-settings/plugins/ifupdown/plugin.h
1203 - Implement a Debian/Ubuntu legacy network configuration plugin
1206 2008-09-18 Dan Williams <dcbw@redhat.com>
1208 Implement support for honoring configured and automatic hostnames, and for
1209 setting the configured hostname.
1211 * introspection/nm-ip4-config.xml
1214 src/dhcp-manager/nm-dhcp-manager.c
1215 - Remove useless hostname property; it's not really part of the IPv4
1218 * introspection/nm-settings-system.xml
1219 libnm-glib/nm-dbus-settings-system.c
1220 libnm-glib/nm-dbus-settings-system.h
1221 - Add SetHostname() call to system settings D-Bus interface
1222 - Add Hostname property to system settings D-Bus interface
1223 - (nm_dbus_settings_system_save_hostname,
1224 nm_dbus_settings_system_get_hostname): implement
1228 - (nm_device_get_dhcp4_config): implement
1232 - Fetch and track system settings service hostname changes, and proxy
1233 the changes via a GObject property of the manager
1235 * system-settings/src/nm-system-config-interface.c
1236 system-settings/src/nm-system-config-interface.h
1237 - Replace nm_system_config_interface_supports_add() with a capabilities
1240 * system-settings/src/nm-system-config-error.c
1241 system-settings/src/nm-system-config-error.h
1242 - Add additional errors
1244 * system-settings/src/dbus-settings.c
1245 system-settings/src/dbus-settings.h
1246 - (get_property, nm_sysconfig_settings_class_init): add hostname
1247 property; first plugin returning a hostname wins
1248 - (impl_settings_add_connection): use plugin capabilities instead of
1249 nm_system_config_interface_supports_add()
1250 - (impl_settings_save_hostname): implement hostname saving
1252 * src/NetworkManagerPolicy.c
1253 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1254 lookup_thread_die): implement an asynchronous hostname lookup thread
1255 which given an IPv4 address tries to look up the hostname for that
1256 address with reverse DNS
1257 - (get_best_device): split out best device code from
1258 update_routing_and_dns()
1259 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1260 to preserve the 127.0.0.1 reverse mapping that so many things require
1261 - (set_system_hostname): set a given hostname
1262 - (update_system_hostname): implement hostname policy; a configured
1263 hostname (from the system settings service) is used if available,
1264 otherwise an automatically determined hostname from DHCP, VPN, etc.
1265 If there was no automatically determined hostname, reverse DNS of
1266 the best device's IP address will be used, and as a last resort the
1267 hostname 'localhost.localdomain' is set.
1268 - (update_routing_and_dns): use get_best_device(); update the system
1269 hostname when the network config changes
1270 - (hostname_changed): update system hostname if the system settings
1271 service signals a hostname change
1272 - (nm_policy_new): list for system settings service hostname changes
1273 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1276 * system-settings/plugins/keyfile/plugin.c
1277 system-settings/plugins/ifcfg-suse/plugin.c
1278 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1279 capabilities properties
1281 * system-settings/plugins/ifcfg-fedora/shvar.c
1282 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1283 writes out /etc/sysconfig/network now
1285 * system-settings/plugins/ifcfg-fedora/plugin.c
1286 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1287 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1288 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1289 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1290 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1291 hostname get/set and capabilities get
1293 2008-09-18 Dan Williams <dcbw@redhat.com>
1295 * libnm-util/nm-setting-wireless.c
1296 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1297 group ciphers if the wireless-security setting explicitly specified
1298 them, effectively making the default be "all ciphers" (idea from
1301 2008-09-15 Dan Williams <dcbw@redhat.com>
1303 Patch from Alexander Sack <asac@ubuntu.com>
1305 * src/named-manager/nm-named-manager.c
1306 - (dispatch_resolvconf): respect resolvconf exit code
1308 2008-09-12 Tambet Ingo <tambet@gmail.com>
1310 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1311 again. Add some debugging.
1313 2008-09-11 Dan Williams <dcbw@redhat.com>
1315 * system-settings/plugins/keyfile/plugin.c
1316 - (update_connection_settings): update connection manually, since
1317 nm_exported_connection_update() does authentication
1318 - (dir_changed): update_connection_settings() doesn't need to return
1321 2008-09-09 Dan Williams <dcbw@redhat.com>
1323 * libnm-glib/nm-vpn-plugin-ui-interface.c
1324 libnm-glib/nm-vpn-plugin-ui-interface.h
1325 libnm-glib/libnm_glib_vpn.ver
1326 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1327 should clean up resources related to the connection (like keyring
1329 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1330 should save user-scope secrets (like to the keyring)
1332 2008-09-08 Dan Williams <dcbw@redhat.com>
1334 Patch from Alexander Sack <asac@ubuntu.com>
1336 * libnm-util/crypto_gnutls.c
1337 libnm-util/crypto_nss.c
1338 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1340 * libnm-util/nm-utils.c
1341 libnm-util/nm-utils.h
1342 libnm-util/libnm-util.ver
1343 - (nm_utils_init): initialize libnm-util
1344 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1346 * libnm-util/nm-setting-8021x.c
1347 - (nm_setting_802_1x_class_init): init libnm-util when needed
1349 2008-09-05 Dan Williams <dcbw@redhat.com>
1351 Patch from Roy Marples <roy@marples.name> and others
1354 src/named-manager/nm-named-manager.c
1355 - Add support for resolvconf; use --with-resolvconf at configure time
1358 2008-09-05 Dan Williams <dcbw@redhat.com>
1360 * libnm-util/crypto_nss.c
1361 libnm-util/crypto_gnutls.c
1363 - (crypto_init): return error when init fails
1365 2008-09-05 Dan Williams <dcbw@redhat.com>
1367 * libnm-glib/nm-device-wifi.c
1368 - (access_point_removed_proxy): clean up the active access point too
1369 just in case the active ap changed signal didn't come through yet
1370 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1372 2008-09-05 Dan Williams <dcbw@redhat.com>
1374 * libnm-glib/nm-client.c
1375 - (constructor): get initial state after we know whether NM is running
1378 2008-09-05 Dan Williams <dcbw@redhat.com>
1380 * libnm-glib/nm-ip4-config.c
1381 libnm-glib/nm-dhcp4-config.c
1382 - (finalize): clean up the DBusGProxy
1384 2008-09-04 Dan Williams <dcbw@redhat.com>
1386 * src/nm-ip4-config.c
1388 - (nm_ip4_config_new): don't export over D-Bus here
1389 - (nm_ip4_config_export): new function; export the config over D-Bus
1390 - (nm_ip4_config_is_exported): new function
1393 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1394 objects by balancing the IP4Config constructor; the device holds
1395 a reference to the IP4Config already
1396 - (nm_device_set_ip4_config): export the IP4Config when needed
1398 2008-09-04 Dan Williams <dcbw@redhat.com>
1400 * src/supplicant-manager/nm-supplicant-settings-verify.c
1401 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1403 2008-09-04 Dan Williams <dcbw@redhat.com>
1405 * libnm-util/nm-setting-vpn.c
1406 libnm-util/nm-setting-vpn.h
1407 - Split VPN secrets from VPN data so that settings services can actually
1408 figure out that they are secrets and store them accordingly
1410 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1411 system-settings/plugins/keyfile/reader.c
1412 system-settings/plugins/keyfile/reader.h
1413 system-settings/plugins/keyfile/writer.c
1414 - Store VPN secrets separately from VPN data so that they can be fetched
1416 - Implement the get_secrets() call so that (a) secrets don't leak out
1417 to unprivileged callers, and (b) secrets can be sent to privileged
1420 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1421 - Handle split VPN secrets
1423 2008-08-27 Dan Williams <dcbw@redhat.com>
1425 * system-settings/plugins/ifcfg-fedora/reader.c
1426 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1428 2008-08-27 Dan Williams <dcbw@redhat.com>
1430 Ensure zombie children get cleaned up. To get notifications when children
1431 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1432 that requires calling waitpid() yourself if you've removed the child watch
1433 handler before the process has actually died, which NM needs to do in a few
1434 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1435 cleans up after the child when required. Should fix problems trying to
1436 activate mobile broadband connections after a previous failure.
1438 * src/dhcp-manager/nm-dhcp-dhclient.c
1439 src/dhcp-manager/nm-dhcp-dhcpcd.c
1440 - Use G_SPAWN_DO_NOT_REAP_CHILD
1442 * src/dhcp-manager/nm-dhcp-manager.c
1443 - (nm_dhcp_device_destroy): ensure child is cleaned up
1444 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1445 block on child quitting, since the non-blocking functionality was
1448 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1449 - (dm_watch_cb): child is already reaped here
1450 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1453 - (aipd_cleanup): block until child is dead
1455 * src/named-manager/nm-named-manager.c
1456 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1457 event bothering to watch the child
1459 * src/ppp-manager/nm-ppp-manager.c
1460 - (ppp_watch_cb): child is already reaped here
1461 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1463 * src/vpn-manager/nm-vpn-service.c
1464 - (vpn_service_watch_cb): child is already reaped here
1465 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1466 status of the child is actually tracked
1467 - (ensure_killed, finalize): block until child is dead
1469 2008-08-26 Dan Williams <dcbw@redhat.com>
1471 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1472 - (update): Update filename of the connection if the connection id
1475 * system-settings/plugins/keyfile/plugin.c
1476 - (dir_changed): first pass at handling connection renames correctly
1478 * system-settings/plugins/keyfile/writer.c
1479 system-settings/plugins/keyfile/writer.h
1480 - (write_connection): replace '/' with '*' when writing out the filename
1481 from the connection id
1483 2008-08-26 Dan Williams <dcbw@redhat.com>
1485 Add connection UUIDs, since connection names can be changed, and since
1486 old-style connection IDs could change over the life of the connection. The
1487 UUID should be assigned at connection creation time, be stable for a given
1488 connection, and should be unique among all connections for a given settings
1492 libnm-util/Makefile.am
1495 * introspection/nm-exported-connection.xml
1496 - Remove "GetID" method
1498 * libnm-glib/nm-dbus-connection.c
1499 libnm-glib/nm-settings.c
1500 libnm-glib/nm-settings.h
1501 - Remove id-related stuff
1503 * libnm-util/nm-utils.c
1504 libnm-util/nm-utils.h
1505 libnm-util/libnm-util.ver
1506 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1507 utility functions to generate UUIDs
1509 * libnm-util/nm-setting-connection.c
1510 libnm-util/nm-setting-connection.h
1511 - Add 'uuid' member to the connection setting
1512 - (verify): require valid 'uuid' for a valid connection
1514 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1515 system-settings/plugins/ifcfg-fedora/reader.c
1516 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1517 system-settings/plugins/ifcfg-suse/parser.c
1518 system-settings/plugins/keyfile/nm-keyfile-connection.c
1519 system-settings/src/main.c
1520 - Remove id-related stuff
1521 - Give connections UUIDs where needed
1523 2008-08-25 Dan Williams <dcbw@redhat.com>
1525 * libnm-util/crypto_gnutls.c
1526 libnm-util/crypto_nss.c
1527 - (crypto_init, crypto_deinit): refcount init/deinit
1528 - (crypto_md5_hash): allow NULL salt
1530 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1532 * libnm-glib/Makefile.am
1533 libnm-util/Makefile.am
1534 libnm-glib/libnm_glib.ver
1535 libnm-glib/libnm_glib_vpn.ver
1536 libnm-util/libnm-util.ver
1537 - Use linker version scripts to control the list of exported
1538 symbols. List each exported symbol explicitely.
1539 * libnm-util/Makefile.am
1540 - Fix compilation of the test-crypto binary. The crypto
1541 functions are no longer part of the libnm-util API. Add
1542 crypto_*.c to test_crypto_SOURCES and link against the correct
1545 2008-08-19 Dan Williams <dcbw@redhat.com>
1549 - Don't build test/test-common
1550 - Remove unused stuff
1552 * test/nm-set-fallback
1553 test/nmtestdevices.c
1554 test/test-common/.cvsignore
1555 test/test-common/Makefile.am
1556 test/test-common/test-common.c
1557 test/test-common/test-common.h
1560 2008-08-18 Dan Williams <dcbw@redhat.com>
1562 * libnm-util/nm-utils.c
1563 libnm-util/nm-utils.h
1564 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1565 export anything that needs to be converted with this function
1567 * src/dhcp-manager/nm-dhcp-manager.c
1568 - (garray_to_string): convert a byte array to a UTF-8 string with
1569 minimal validation; the DHCP client sends it in ASCII anyway
1570 - (get_option, copy_option): use garray_to_string()
1572 2008-08-18 Dan Williams <dcbw@redhat.com>
1574 * include/NetworkManager.h
1575 introspection/nm-device.xml
1576 - Add a "missing firmware" device state reason
1578 * src/NetworkManagerSystem.c
1579 src/NetworkManagerSystem.h
1580 - (nm_system_device_set_up_down): add a no_firmware argument
1581 - (nm_system_device_set_up_down_with_iface): if the result of setting
1582 IFF_UP is ENOENT, that almost always means missing firmware
1584 * src/backends/NetworkManagerGeneric.c
1585 src/nm-device-ethernet.c
1586 src/nm-device-private.h
1587 src/nm-device-wifi.c
1590 src/nm-hso-gsm-device.c
1591 src/vpn-manager/nm-vpn-connection.c
1592 - Pass no_firmware along; check it where appropriate
1594 2008-08-18 Dan Williams <dcbw@redhat.com>
1596 Patch from Robert Buchholz <rbu@gentoo.org>
1600 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1601 1003.1-1988, allowing for file names longer than 99 characters
1603 2008-08-17 Dan Williams <dcbw@redhat.com>
1605 * include/NetworkManager.h
1606 introspection/nm-device.xml
1608 - Finer-grained GSM registration failure error codes
1610 2008-08-17 Dan Williams <dcbw@redhat.com>
1612 * callouts/Makefile.am
1614 - Move dispatcher directory creation to callouts/Makefile.am
1616 * system-settings/plugins/keyfile/Makefile.am
1617 - Create keyfile connections directory in DESTDIR (bgo #546833)
1619 2008-08-15 Dan Williams <dcbw@redhat.com>
1621 Do connection sharing in a cleaner manner; all required iptables rules
1622 are now stored in the activation request and pertain only to the device
1623 which is being shared to other computers. (rh #458625)
1625 * src/nm-activation-request.c
1626 src/nm-activation-request.h
1627 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1628 the activation request which will get torn down automatically when
1629 the activation request dies
1630 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1631 is started, and tear them down when sharing is stopped
1634 - (start_sharing): start up sharing by doing the required iptables magic
1635 - (share_init): poke the right bits of the kernel and load the right
1637 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1638 connection if it's a 'shared' connection
1640 * src/NetworkManagerPolicy.c
1641 - Remove all sharing stuff; done in the device code itself
1643 2008-08-15 Dan Williams <dcbw@redhat.com>
1645 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1646 - (create_dm_cmd_line): send the right router address
1648 2008-08-15 Dan Williams <dcbw@redhat.com>
1650 * src/ppp-manager/nm-ppp-manager.c
1651 - (pppd_timed_out): ensure timeouts fail the connection
1653 2008-08-14 Dan Williams <dcbw@redhat.com>
1655 * src/nm-properties-changed-signal.c
1656 src/nm-properties-changed-signal.h
1657 - Add a property spec flag for "don't export this property" in
1658 property changed signals
1660 * src/nm-hso-gsm-device.c
1662 src/nm-cdma-device.c
1663 - Don't export monitor interface or netdev interface properties
1665 2008-08-14 Dan Williams <dcbw@redhat.com>
1667 * src/NetworkManagerPolicy.c
1668 - (update_routing_and_dns): 'hso' devices can be default even if they
1669 don't have a gateway
1671 2008-08-14 Dan Williams <dcbw@redhat.com>
1674 - (nm_device_deactivate_quickly): tear down activation request after
1675 calling device-specific deactivation
1677 * src/nm-hso-gsm-device.c
1678 - (real_deactivate_quickly): terminate connection when deactivating
1680 2008-08-14 Dan Williams <dcbw@redhat.com>
1682 * src/nm-activation-request.h
1683 - Add HSO secrets caller
1685 * src/nm-gsm-device.c
1687 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1688 something to the callback function
1689 - (set_apn, set_apn_done): call class dial function, not a static one
1690 - (nm_gsm_device_class_init): add a class 'dial' function
1692 * src/nm-hal-manager.c
1693 - (get_hso_netdev): find the hso-driven hardware's net device
1694 - (modem_device_creator): recognize hso-driven hardware and create the
1695 right type of device object for it
1698 src/nm-hso-gsm-device.c
1699 src/nm-hso-gsm-device.h
1700 - Implement support for devices driven by the 'hso' driver as a subclass
1703 2008-08-14 Dan Williams <dcbw@redhat.com>
1705 * src/NetworkManagerSystem.c
1706 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1707 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1708 success if the operation really was successful
1710 2008-08-14 Dan Williams <dcbw@redhat.com>
1712 * src/nm-netlink-monitor.c
1713 src/nm-netlink-monitor.h
1714 src/nm-device-ethernet.c
1715 - (nm_netlink_monitor_request_status): return an error on failure
1716 - (constructor): don't segfault on missing error
1718 2008-08-13 Dan Williams <dcbw@redhat.com>
1720 * callouts/nm-dispatcher-action.c
1721 - Add IP4 config info to script environment
1723 2008-08-12 Dan Williams <dcbw@redhat.com>
1726 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1727 that want to use DHCP hostnames should use dispatcher scripts
1730 * src/NetworkManagerSystem.h
1731 src/backends/NetworkManagerArch.c
1732 src/backends/NetworkManagerDebian.c
1733 src/backends/NetworkManagerFrugalware.c
1734 src/backends/NetworkManagerGeneric.c
1735 src/backends/NetworkManagerGeneric.h
1736 src/backends/NetworkManagerGentoo.c
1737 src/backends/NetworkManagerMandriva.c
1738 src/backends/NetworkManagerPaldo.c
1739 src/backends/NetworkManagerRedHat.c
1740 src/backends/NetworkManagerSlackware.c
1741 src/backends/NetworkManagerSuSE.c
1742 - Remove nm_system_set_hostname(), no longer used
1744 * src/backends/Makefile.am
1745 src/backends/shvar.c
1746 src/backends/shvar.h
1747 - Remove shvar.*; no longer used
1749 2008-08-12 Dan Williams <dcbw@redhat.com>
1751 Revert most of the 'hostname' patch. Too much stuff still breaks when
1752 hostname is updated at runtime. Distros or users who want hostname updates
1753 can use dispatcher scripts to update the hostname if they need it.
1755 2008-08-12 Dan Williams <dcbw@redhat.com>
1757 * introspection/nm-settings-system.xml
1758 system-settings/src/dbus-settings.c
1759 system-settings/src/dbus-settings.h
1760 - Add a 'Hostname' property (rw) which represents the configured
1761 hostname and domain of the system, if any
1763 * system-settings/src/nm-system-config-error.c
1764 system-settings/src/nm-system-config-error.h
1765 system-settings/src/nm-system-config-interface.c
1766 system-settings/src/nm-system-config-interface.h
1767 - Add a 'hostname' property to the plugin interface
1768 - Add a method to send updated hostname to plugins to save in their
1769 backing configuration store
1771 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1772 system-settings/plugins/keyfile/plugin.c
1773 system-settings/plugins/keyfile/writer.c
1774 system-settings/plugins/keyfile/writer.h
1775 system-settings/plugins/ifcfg-suse/plugin.c
1776 - Add minimal hostname support
1778 * system-settings/plugins/ifcfg-fedora/plugin.c
1779 - Add support for updating system hostname in /etc/sysconfig/network
1781 2008-08-12 Dan Williams <dcbw@redhat.com>
1783 * system-settings/plugins/ifcfg-fedora/shvar.c
1784 system-settings/plugins/ifcfg-fedora/shvar.c
1785 - Fix double-free caused by svSetValue() followed by svCloseFile()
1787 2008-08-12 Tambet Ingo <tambet@gmail.com>
1789 * Makefile.am: Fix distcheck.
1791 2008-08-12 Tambet Ingo <tambet@gmail.com>
1793 * libnm-glib/*.c. Document some more.
1795 2008-08-12 Tambet Ingo <tambet@gmail.com>
1797 Start documenting libnm-glib public API using gtk-doc.
1799 * libnm-glib/nm-serial-device.c:
1800 * libnm-glib/nm-object.c:
1801 * libnm-glib/nm-gsm-device.c:
1802 * libnm-glib/nm-device.c:
1803 * libnm-glib/nm-device-wifi.c:
1804 * libnm-glib/nm-device-ethernet.c:
1805 * libnm-glib/nm-client.c:
1806 * libnm-glib/nm-cdma-device.c: Document the public API.
1808 * docs/libnm-glib/libnm-glib.types: Implement.
1810 * docs/libnm-glib/Makefile.am: Implement.
1814 * Makefile.am: Add gtk-doc support.
1816 2008-08-12 Tambet Ingo <tambet@gmail.com>
1818 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1820 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1821 the composite result of all the IP4 configurations and call a distro
1822 specific update_resolv_conf().
1823 (update_resolv_conf): Implement one for directly writing to
1824 /etc/resolv.conf and one for opensuse to call netconfig.
1826 2008-08-11 Dan Williams <dcbw@redhat.com>
1828 * src/ppp-manager/nm-ppp-manager.c
1829 - (impl_ppp_manager_need_secrets): pass interface as required
1831 2008-08-11 Dan Williams <dcbw@redhat.com>
1833 Merge the vpn-properties setting with the vpn setting since it was pointless
1834 to keep both of them around. Convert the vpn 'data' hash table to a hash
1835 of string:string (instead of string:variant) so that system settings plugins
1836 can have an easier time dealing with the arbitrary key/value pairs.
1838 2008-08-11 Dan Williams <dcbw@redhat.com>
1840 * libnm-util/nm-utils.c
1841 - (nm_utils_register_value_transformations): add value transform for
1842 a hash table of string:string
1844 2008-08-10 Dan Williams <dcbw@redhat.com>
1846 * libnm-glib/nm-vpn-plugin.c
1847 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1848 an idle handler so the Connect reply gets delivered before the
1849 stop StateChanged signal
1851 2008-08-10 Dan Williams <dcbw@redhat.com>
1853 * src/nm-ip4-config.c
1854 - (get_property): use common ip4 address/route conversion functions
1855 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1856 copy the new route here, not take ownership
1858 2008-08-08 Tambet Ingo <tambet@gmail.com>
1860 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1861 Update the IP4 setting's method name.
1863 2008-08-07 Dan Williams <dcbw@redhat.com>
1865 * introspection/nm-ip4-config.xml
1866 libnm-glib/libnm-glib-test.c
1867 libnm-glib/nm-ip4-config.c
1868 libnm-glib/nm-ip4-config.h
1869 src/NetworkManagerSystem.h
1870 src/backends/NetworkManagerArch.c
1871 src/backends/NetworkManagerDebian.c
1872 src/backends/NetworkManagerFrugalware.c
1873 src/backends/NetworkManagerGeneric.c
1874 src/backends/NetworkManagerGeneric.h
1875 src/backends/NetworkManagerGentoo.c
1876 src/backends/NetworkManagerMandriva.c
1877 src/backends/NetworkManagerPaldo.c
1878 src/backends/NetworkManagerRedHat.c
1879 src/backends/NetworkManagerSlackware.c
1880 src/backends/NetworkManagerSuSE.c
1881 src/dhcp-manager/nm-dhcp-manager.c
1885 - Remove NIS logic; should be done from dispatcher scripts instead
1887 2008-08-07 Dan Williams <dcbw@redhat.com>
1889 * src/dhcp-manager/nm-dhcp-manager.c
1890 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1891 mis-handling of DHCP responses that returned more than one router
1892 (found by Grant Williamson)
1894 2008-08-07 Dan Williams <dcbw@redhat.com>
1896 * callouts/nm-dispatcher-action.c
1897 - (nm_dispatcher_action): grab device path and create the device; pass
1898 the device's DHCP4 config to script caller
1899 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1902 * libnm-glib/nm-dhcp4-config.c
1903 libnm-glib/nm-dhcp4-config.h
1904 - (nm_dhcp4_config_get_options): expose
1905 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1907 2008-08-07 Dan Williams <dcbw@redhat.com>
1909 * include/NetworkManager.h
1910 - Add the DHCP4Config D-Bus interface
1912 * libnm-glib/Makefile.am
1913 libnm-glib/nm-dhcp4-config.c
1914 libnm-glib/nm-dhcp4-config.h
1915 - Handle DHCP4 config objects exported by NM over D-Bus
1917 * libnm-glib/nm-device.c
1918 libnm-glib/nm-device.h
1919 - Add a 'dhcp4-config' property
1921 * libnm-glib/libnm-glib-test.c
1922 - Print out DHCP4 config for devices
1923 - Fix some crashes when no connections are active
1925 * src/nm-device-interface.c
1927 src/nm-dhcp4-config.c
1928 src/nm-dhcp4-config.h
1929 - Treat dhcp4-config object as an object path at the D-Bus interface so
1930 that when it doesn't exist we can proxy it as "/" which dbus-glib
1931 doesn't let us do when the property type is G_TYPE_OBJECT
1933 2008-08-07 Dan Williams <dcbw@redhat.com>
1935 * src/NetworkManager.c
1936 src/NetworkManagerSystem.h
1937 src/backends/NetworkManagerArch.c
1938 src/backends/NetworkManagerDebian.c
1939 src/backends/NetworkManagerFrugalware.c
1940 src/backends/NetworkManagerGeneric.c
1941 src/backends/NetworkManagerGeneric.h
1942 src/backends/NetworkManagerGentoo.c
1943 src/backends/NetworkManagerMandriva.c
1944 src/backends/NetworkManagerPaldo.c
1945 src/backends/NetworkManagerRedHat.c
1946 src/backends/NetworkManagerSlackware.c
1947 src/backends/NetworkManagerSuSE.c
1948 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1950 2008-08-06 Dan Williams <dcbw@redhat.com>
1952 * libnm-glib/nm-ip4-config.c
1953 libnm-glib/nm-ip4-config.h
1954 - Add 'routes' property
1956 * libnm-util/nm-setting-vpn.c
1957 libnm-util/nm-setting-vpn.h
1958 - Remove 'routes' property
1960 * libnm-util/nm-setting-ip4-config.c
1961 libnm-util/nm-setting-ip4-config.h
1962 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1963 - Add 'ignore-auto-routes' property
1964 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1965 accomodate route metrics
1966 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1968 * libnm-util/nm-utils.c
1969 libnm-util/nm-utils.h
1970 - Add helpers for marshalling IP4 routes
1972 * src/NetworkManagerUtils.c
1973 - (nm_utils_merge_ip4_config): handle property renames and new route
1976 * src/NetworkManagerSystem.c
1977 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1978 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1980 * src/dhcp-manager/nm-dhcp-manager.c
1981 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1983 * system-settings/plugins/ifcfg-fedora/reader.c
1984 system-settings/plugins/ifcfg-fedora/writer.c
1985 - Handle routes separately from addresses now that routes have a different
1988 * introspection/nm-ip4-config.xml
1991 - Rename internal routing functions
1992 - 'static-routes' renamed to 'routes'
1994 2008-08-04 Dan Williams <dcbw@redhat.com>
1996 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1998 * src/NetworkManager.c
2001 - More explicitly make the NMManager a singleton
2003 2008-08-04 Dan Williams <dcbw@redhat.com>
2005 * libnm-util/nm-connection.c
2006 libnm-util/nm-connection.h
2007 - (nm_connection_verify): return error on missing 'connection' setting
2008 (found by Sjoerd Simons)
2010 2008-08-04 Dan Williams <dcbw@redhat.com>
2012 Handle multiple concurrent PPP connections.
2014 * src/ppp-manager/nm-ppp-manager.c
2015 src/ppp-manager/nm-ppp-manager.h
2016 - (constructor): only PPP Manager request bus name once; each
2017 NMPPPManager object gets a unique object path
2018 - (nm_ppp_manager_class_init, get_property, set_property,
2019 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2021 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2022 remove timeout until PPP manager gets an IP4 config
2023 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2024 the plugin can call back to this specific PPP manager instance
2026 * src/nm-device-ethernet.c
2027 src/nm-serial-device.c
2028 - Pass parent device in nm_ppp_manager_new()
2030 * src/nm-gsm-device.c
2031 src/nm-cdma-device.c
2032 - (device_state_changed): don't close serial device on NEED_AUTH
2033 state changed, that's not a failure case like the rest are
2035 * src/ppp-manager/nm-pppd-plugin.c
2036 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2037 binds one interface to any pppd process, thus the correct index
2038 is always 0; send PHASE_DEAD on error to alert NM immediately of
2039 problems; try harder to get a peer address in spite of pppd
2040 - (plugin_init): use 'ipparam' as the object path back to our specific
2041 PPP manager instance
2043 2008-08-04 Dan Williams <dcbw@redhat.com>
2045 * src/ppp-manager/nm-ppp-manager.c
2046 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2047 since the GSM and CDMA settings now implement need_secrets, we can
2048 rely on them to do the right thing. Where secrets are not required,
2049 just pass empty strings back to the pppd plugin.
2050 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2051 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2052 on successful IP4 config receipt
2054 2008-08-04 Dan Williams <dcbw@redhat.com>
2056 * libnm-util/nm-setting-cdma.c
2057 libnm-util/nm-setting-gsm.c
2058 - (verify): validate username & password if they exist
2059 - (need_secrets): if username given, require a password too
2061 2008-08-04 Dan Williams <dcbw@redhat.com>
2063 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2064 - (create_dm_cmd_line): really don't listen on lo, despite what the
2065 manpage says about --listen-address without --interface
2068 2008-08-01 Dan Williams <dcbw@redhat.com>
2070 * libnm-glib/nm-device.c
2071 - (proxy_get_string): util function for querying a HAL property
2072 - (get_ancestor_device): split out from get_product_and_vendor()
2073 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2074 from PCI devices by querying subsys properties
2075 - (nm_device_update_description): simplify
2077 2008-08-01 Dan Williams <dcbw@redhat.com>
2079 * libnm-util/nm-setting-ip4-config.c
2080 libnm-util/nm-setting-ip4-config.h
2081 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2082 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2083 settings, and they don't necessarily use DHCP.
2085 * src/NetworkManagerPolicy.c
2087 system-settings/plugins/ifcfg-fedora/reader.c
2088 system-settings/plugins/ifcfg-suse/parser.c
2089 - Fixup for method changes
2091 2008-07-31 Dan Williams <dcbw@redhat.com>
2093 * src/nm-activation-request.c
2094 src/vpn-manager/nm-vpn-connection.c
2095 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2096 itself should be attached to the activation request or the VPN
2097 connection, not the NMConnection object, since the call is not
2098 expected to live as long as the NMConnection itself
2100 2008-07-31 Dan Williams <dcbw@redhat.com>
2102 * src/nm-device-wifi.c
2103 - (real_act_stage2_config): fix issue where association would continue
2104 even though secrets were needed; 'goto out' was in wrong scope and
2105 result of handle_auth_or_fail() should have been dumped directly to
2106 'ret' to ensure that the association was postponed until secrets
2109 2008-07-31 Dan Williams <dcbw@redhat.com>
2111 * system-settings/plugins/ifcfg-fedora/plugin.c
2112 system-settings/plugins/ifcfg-fedora/reader.c
2113 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2116 2008-07-29 Dan Williams <dcbw@redhat.com>
2118 * src/nm-gsm-device.c
2119 - (automatic_registration_response, automatic_registration): recognize
2120 denied registration and reorder responses
2122 2008-07-29 Dan Williams <dcbw@redhat.com>
2124 * src/nm-serial-device.c
2125 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2126 time(2) is used for current time, which returns seconds, we shouldn't
2127 be multiplying by 1000.
2129 2008-07-28 Dan Williams <dcbw@redhat.com>
2131 Patch from Fabrice Bellet <fabrice@bellet.info>
2133 * src/NetworkManagerSystem.c
2134 - (route_in_same_subnet): mask addresses and compare them so that the
2135 function actually does what it says it's going to do (rh #456685)
2137 2008-07-27 Dan Williams <dcbw@redhat.com>
2139 * libnm-util/nm-setting-ip6-config.c
2140 - (set_property): add missing break that caused routes to be overwritten
2143 * libnm-util/nm-setting-ip6-config.c
2144 - (verify): validate routes and return GError everywhere on invalid setting
2145 - (finalize): don't leak routes
2146 - (set_property): add missing break that caused routes to be overwritten
2149 2008-07-27 Dan Williams <dcbw@redhat.com>
2152 - Relicense to LGPLv2+
2154 2008-07-27 Dan Williams <dcbw@redhat.com>
2156 * system-settings/plugins/ifcfg-fedora/reader.c
2157 - (make_ip4_setting): fix parsing automatic configs
2159 2008-07-27 Dan Williams <dcbw@redhat.com>
2161 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2163 src/ppp-manager/nm-ppp-manager.c
2164 - Ensure child process gets reaped. The child watch function may be
2165 removed from the mainloop before the child gets killed, so we have
2166 to make sure the child is reaped when it's told to die intentionally
2168 2008-07-27 Dan Williams <dcbw@redhat.com>
2170 Patch from Roy Marples <roy@marples.name>
2172 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2173 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2175 2008-07-27 Dan Williams <dcbw@redhat.com>
2177 * src/nm-gsm-device.c
2178 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2179 Huawei devices turn echo back on after CPIN (rh #456770)
2181 2008-07-24 Tambet Ingo <tambet@gmail.com>
2183 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2184 format argument to g_set_error() call.
2186 * src/backends/interface_parser.[ch]: Remove.
2188 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2190 2008-07-21 Dan Williams <dcbw@redhat.com>
2192 * src/ppp-manager/nm-ppp-manager.c
2193 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2194 to prevent pppd from picking up some random local address from an
2195 interface that doesn't have anything to do with the one we're
2196 interested in (rh #455348)
2198 2008-07-17 Dan Williams <dcbw@redhat.com>
2200 * libnm-util/nm-utils.c
2201 - (string_to_utf8): general function for conversion to UTF-8 assisted
2203 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2204 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2206 2008-07-17 Dan Williams <dcbw@redhat.com>
2208 * introspection/Makefile.am
2209 introspection/nm-device.xml
2210 introspection/nm-dhcp4-config.xml
2211 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2213 * src/nm-device-interface.c
2214 src/nm-device-interface.h
2215 - Add the DHCP4Config property
2218 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2219 D-Bus clients when it changes
2221 * src/nm-dhcp4-config.c
2222 src/nm-dhcp4-config.h
2223 - Simple object to store DHCP4 options, export them over D-Bus, and
2224 notify when they change
2226 * src/dhcp-manager/nm-dhcp-manager.c
2227 src/dhcp-manager/nm-dhcp-manager.h
2228 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2229 filter server-returned DHCP options into an NMDHCP4Config object
2231 2008-07-16 Dan Williams <dcbw@redhat.com>
2233 * introspection/nm-device.xml
2234 - Add device state reasons
2236 2008-07-16 Dan Williams <dcbw@redhat.com>
2238 Patch from Roy Marples <roy@marples.name>
2241 - Add --with-dhcp-client option
2243 * src/dhcp-manager/Makefile.am
2244 - pass DHCP_CLIENT_PATH on compile line
2246 * src/dhcp-manager/nm-dhcp-manager.c
2247 src/dhcp-manager/nm-dhcp-manager.h
2248 - Genericize for both dhcpcd and dhclient
2250 * src/dhcp-manager/nm-dhcp-dhclient.c
2251 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2253 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2254 - Implement support for dhcpcd too
2256 2008-07-16 Tambet Ingo <tambet@gmail.com>
2258 * system-settings/src/nm-system-config-interface.c
2259 (nm_system_config_interface_supports_add): Implement.
2260 (nm_system_config_interface_add_connection): Return a boolean to notify
2263 * system-settings/src/nm-polkit-helpers.c:
2264 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2267 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2268 Return an error when none of the plugins support add or if addition
2269 failed for some reason.
2271 * system-settings/src/nm-system-config-error.h:
2272 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2273 here from nm-polkit-helpers.[ch].
2275 * system-settings/src/Makefile.am: Build new files.
2277 * system-settings/plugins/keyfile/reader.c
2278 (read_array_of_array_of_uint): Make it more general so that it would
2279 work for routes as well.
2281 * system-settings/plugins/keyfile/writer.c
2282 (write_array_of_array_of_uint): Ditto.
2283 Fix the netmask/prefix writing.
2285 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2286 boolean to notify errors.
2288 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2289 Return more specific error.
2292 2008-07-11 Dan Williams <dcbw@redhat.com>
2294 Modify the NMDevice::state-changed signal to include the previous state
2295 and reason. Enables the applet to provide more information why device
2298 2008-07-09 Dan Williams <dcbw@redhat.com>
2300 * callouts/Makefile.am
2301 callouts/nm-avahi-autoipd-action.c
2302 callouts/nm-avahi-autoipd.conf
2303 - avahi-autoipd callout to send options back to NM
2310 src/nm-device-private.h
2312 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2315 2008-07-07 Dan Williams <dcbw@redhat.com>
2317 * system-settings/plugins/ifcfg-fedora/reader.c
2318 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2319 handle PREFIX too; clean up
2321 2008-07-07 Dan Williams <dcbw@redhat.com>
2323 Convert to using IPv4 prefixes instead of netmasks.
2325 2008-07-03 Dan Williams <dcbw@redhat.com>
2327 * libnm-util/nm-setting-ip4-config.c
2328 libnm-util/nm-setting-ip4-config.h
2329 - Add properties for DHCP Client Identifier and DHCP Hostname
2331 * src/dhcp-manager/nm-dhcp-manager.c
2332 src/dhcp-manager/nm-dhcp-manager.h
2333 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2334 setting as an argument to pass on to the dhclient config file
2336 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2338 - (dhclient_run): punt config file handling to create_dhclient_config()
2339 - (create_dhclient_config): create an interface-specific dhclient
2340 config file since there may need to be interface-specific options
2342 - (merge_dhclient_config): merge normal distro dhclient config file and
2343 add options from the connection
2344 - (nm_dhcp_device_new): generate the interface specific dhclient
2345 config file path once
2346 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2347 dhclient config file path
2350 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2351 DHCP manager when starting DHCP
2353 2008-07-02 Dan Williams <dcbw@redhat.com>
2355 * libnm-util/nm-setting-8021x.c
2356 - (verify): allow forcing the PEAP label to 0
2358 2008-07-02 Dan Williams <dcbw@redhat.com>
2360 * introspection/nm-active-connection.xml
2361 introspection/nm-vpn-connection.xml
2362 libnm-glib/nm-active-connection.c
2363 src/nm-activation-request.c
2364 src/nm-active-connection.h
2365 src/vpn-manager/nm-vpn-connection.c
2366 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2367 and libnm-glib API since sharing didn't get implemented that way
2369 2008-07-02 Dan Williams <dcbw@redhat.com>
2371 * src/nm-device-wifi.c
2372 - (can_scan): don't scan when a shared connection is activated since
2373 that makes drivers mad (causing disconnects); also NM doesn't need
2374 to hedge against disconnects by keeping up-to-date network topology
2375 because the connection originates from the local machine, and thus
2376 there should be no disconnects
2378 2008-07-01 Dan Williams <dcbw@redhat.com>
2380 Fix mobile broadband username/password issues. NM was never requesting
2381 mobile broadband secrets, nor was it passing back the username and password
2384 * marshallers/nm-marshal.list
2385 - Add some new types for activation request objects
2387 * src/nm-activation-request.c
2388 src/nm-activation-request.h
2389 - (get_secrets_cb): pass the caller type in the signal
2390 - (nm_act_request_request_connection_secrets): take a caller type, so
2391 that GetSecrets() reply handlers know who asked for the secrets in
2392 the first place; use secret hints too so the settings service can
2393 figure out exactly what NM wants (ie, PIN or the PPP password)
2395 * src/ppp-manager/nm-ppp-manager.c
2396 src/ppp-manager/nm-ppp-manager.h
2397 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2398 detect needed secrets when the secret could be blank, like GSM/CDMA
2399 passwords. So always ask for secrets, and send a hint as to what
2400 secret we really want.
2401 - (nm_ppp_manager_update_secrets): make function more generic by making
2402 the device specific class figure out the username and password, and
2403 accept an error argument to return back over D-Bus
2405 * src/nm-device-wifi.c
2406 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2407 nm_act_request_request_connection_secrets()
2408 - (real_connection_secrets_updated): update for 'caller' changes
2412 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2413 for 'caller' changes
2415 * src/nm-device-ethernet.c
2416 - (real_connection_secrets_updated): update for 'caller' changes and
2417 move logic for getting PPPoE username and password here before
2418 calling nm_ppp_manager_update_secrets()
2419 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2420 nm_act_request_request_connection_secrets()
2422 * src/nm-cdma-device.c
2423 - (real_connection_secrets_updated): pass username and password back
2424 to the PPP manager when required
2426 * src/nm-gsm-device.c
2427 - (enter_pin): send the required secret name to the settings service
2428 - (real_connection_secrets_updated): pass username and password back
2429 to the PPP manager when required
2431 2008-06-30 Dan Williams <dcbw@redhat.com>
2433 * src/nm-device-wifi.c
2434 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2436 2008-06-30 Dan Williams <dcbw@redhat.com>
2438 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2439 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2440 priv->supplicant.iface. When either condition is false, the device should
2441 transition back to UNAVAILABLE because it cannot be used.
2443 * src/nm-device-wifi.c
2444 - (constructor): cleanup; connect to supplicant manager here since the
2445 supplicant manager is always around
2446 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2447 ensure the supplicant manager is in the IDLE state
2448 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2449 cancel any pending scans too
2450 - (real_bring_up): don't set up the supplicnat interface here, because
2451 we need the supplicant interface at times when the device may not
2453 - (real_take_down): just remove the periodic source
2454 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2455 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2456 do anything if there's no supplicant interface
2457 - (cleanup_association_attempt): cleanup
2458 - (supplicant_iface_state_cb_handler): request an immediate scan when
2459 the interface enters the READY state; transition to UNAVAILABLE
2460 state when the interface goes down because the device can't be used
2461 without a supplicant interface
2462 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2463 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2464 acquire the supplicant interface and transition to DISCONNECTED
2465 if the radio isn't killed
2466 - (nm_device_wifi_dispose): move most of device_cleanup() here
2467 - (state_changed_cb): release any existing supplicant interface; if the
2468 radio is enabled then try to acquire a new supplicant interface;
2469 if the radio is enabled and a supplicant interface has been acquired,
2470 we can transition to DISCONNECTED
2471 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2472 don't enable the radio, because HAL probably lied to us about the
2473 killswitch being off. If bringing the hardware up worked, then
2474 try to grab a supplicant interface, and if that was successful,
2475 transition to DISCONNECTED
2477 2008-06-30 Dan Williams <dcbw@redhat.com>
2479 * src/supplicant-manager/nm-supplicant-interface.c
2480 - (request_scan_results, nm_supplicant_interface_dispose,
2481 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2482 the id of the timeout, not a GSource
2484 2008-06-30 Tambet Ingo <tambet@gmail.com>
2486 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2487 bunch of typoes introduced by "Patch from David Cantrell
2488 <dcantrell@redhat.com> and me".
2490 2008-06-30 Tambet Ingo <tambet@gmail.com>
2492 * src/nm-serial-device.c:
2493 * src/nm-gsm-device.c:
2494 * src/nm-cdma-device.c: Move the pending call handling to a common location
2495 in serial device. Handle setting device state to failed in one place as well.
2497 2008-06-29 Dan Williams <dcbw@redhat.com>
2499 * src/nm-hal-manager.c
2500 - Rework killswitch handling to query killswitch status immediately
2501 when the first killswitch is added, so that rfkill state is
2502 known as early as possible
2503 - Also treat failure of GetPower() as rfkill when the dbus method
2504 call times out (but not when the HAL callout returns an error)
2506 2008-06-26 Dan Williams <dcbw@redhat.com>
2508 Patch from David Cantrell <dcantrell@redhat.com> and me
2510 * include/nm-dbus-glib-types.h
2511 - Add IP6 address types
2513 * libnm-util/Makefile.am
2514 libnm-util/nm-setting-ip6-config.c
2515 libnm-util/nm-setting-ip6-config.h
2516 - Add IP6 settings object
2518 * libnm-util/nm-connection.c
2519 - (register_default_settings): register ip6 settings object
2521 * libnm-util/nm-utils.c
2522 libnm-util/nm-utils.h
2523 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2524 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2525 ip6 address conversion functions
2527 2008-06-26 Dan Williams <dcbw@redhat.com>
2529 Patch from David Cantrell <dcantrell@redhat.com>
2531 * Use inet_ntop() and inet_pton() everwhere and check for errors
2533 2008-06-26 Dan Williams <dcbw@redhat.com>
2535 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2537 2008-06-26 Dan Williams <dcbw@redhat.com>
2539 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2541 * src/nm-device-wifi.c
2542 - (link_timeout_cb): don't ignore disconnects due to scanning
2543 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2544 a longer timeout when scanning; avoids case where supplicant can't
2545 find the AP and just keeps scanning forever but isn't connected
2547 2008-06-26 Dan Williams <dcbw@redhat.com>
2549 Patch from Michael Biebl <biebl@debian.org>
2551 * Clean up build system stuff
2553 2008-06-23 Christian Persch <chpe@gnome.org>
2555 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2556 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2557 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2559 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2561 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2562 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2563 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2565 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2566 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2567 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2568 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2569 * vpn-daemons/pptp/properties/vpnui_opt.c:
2570 (vpnui_opt_connect_signals):
2571 * vpn-daemons/pptp/properties/vpnui_opt.h:
2572 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2573 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2574 deprecated gtk type macros. Bug #539325.
2576 2008-06-20 Dan Williams <dcbw@redhat.com>
2578 * libnm-glib/nm-vpn-plugin-ui-interface.c
2579 libnm-glib/nm-vpn-plugin-ui-interface.h
2580 - 'validity-changed' -> 'changed' to work better with the connection
2581 editor. Plugin UI widgets should emit 'changed' whenever their
2582 UI values change in a meaningful way.
2583 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2584 update_connection member now returns validity of the UI widget
2586 2008-06-20 Tambet Ingo <tambet@gmail.com>
2588 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2590 2008-06-17 Dan Williams <dcbw@redhat.com>
2592 * libnm-glib/nm-vpn-plugin-ui-interface.c
2593 libnm-glib/nm-vpn-plugin-ui-interface.h
2594 - Add "desc" property for longer descriptions of the VPN plugin
2596 2008-06-16 Dan Williams <dcbw@redhat.com>
2599 libnm-glib/libnm_glib_vpn.pc.in
2600 - add a .pc file for libnm_glib_vpn
2602 * libnm-glib/nm-vpn-plugin-ui-interface.c
2603 libnm-glib/nm-vpn-plugin-ui-interface.h
2604 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2605 rework it substantially
2607 2008-06-12 Dan Williams <dcbw@redhat.com>
2609 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2610 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2611 returns a descriptive GError when verification fails.
2613 2008-06-11 Dan Williams <dcbw@redhat.com>
2615 Patch from Tambet Ingo <tambet@gmail.com>
2617 * libnm-util/nm-setting-gsm.c
2618 - (verify): validate APN
2620 * src/nm-gsm-device.c
2621 - (manual_registration_done): start setting APN if needed
2622 - (set_apn, set_apn_done): set the APN
2623 - (do_dial): use the APN when dialing
2625 2008-06-11 Dan Williams <dcbw@redhat.com>
2627 * src/NetworkManagerSystem.c
2628 - (nm_system_device_set_ip4_route,
2629 nm_system_device_replace_default_ip4_route): check for the right
2630 return value from rtnl_route_add() to know when to add a gateway
2633 2008-06-11 Dan Williams <dcbw@redhat.com>
2635 * src/NetworkManagerPolicy.c
2636 - do_ipt_cmd -> do_cmd
2637 - (sharing_init): use do_cmd() instead of system()
2639 2008-06-10 Dan Williams <dcbw@redhat.com>
2641 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2642 and use "wifi" everwhere instead.
2644 2008-06-10 Dan Williams <dcbw@redhat.com>
2646 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2648 2008-06-10 Dan Williams <dcbw@redhat.com>
2650 Patch from Tambet Ingo <tambet@gmail.com>
2652 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2655 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2656 a signal to emit these changes over dbus.
2658 * src/Makefile.am: Genereate nm-serial-device-glue.
2660 * libnm-glib/nm-serial-device.[ch]: Implement.
2662 * libnm-glib/nm-cdma-device.[ch]
2663 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2665 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2667 * introspection/nm-device-serial.xml: Implement.
2669 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2671 * introspection/Makefile.am: Add nm-device-serial.xml.
2673 * include/NetworkManager.h: Add a DBus interface for serial device.
2675 2008-06-10 Dan Williams <dcbw@redhat.com>
2678 - Add TARGET_* define to config.h to distinguish distros
2680 * src/dhcp-manager/nm-dhcp-manager.c
2681 - (dhclient_run): use distro-specific path for dhclient config file
2683 2008-06-09 Dan Williams <dcbw@redhat.com>
2685 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2686 src/dnsmasq-manager/nm-dnsmasq-manager.h
2687 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2688 calculate the addresses passed to dnsmasq instead of hard-coding
2692 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2693 IP addresses for shared connections to guard against shared
2694 connection address collisions
2695 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2697 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2700 2008-06-09 Dan Williams <dcbw@redhat.com>
2702 * src/NetworkManagerPolicy.c
2703 - (update_routing_and_dns): set the default connection _after_ unsetting
2704 default on all non-default connections so that two connections can
2705 never be default at the same time
2706 - (device_state_changed): start and stop connection sharing when
2708 - (active_connection_default_changed): restart or stop sharing when
2709 the default connection changes to keep shared connections always
2710 NAT-ed through the default connection
2711 - (check_sharing): handle activation/deactivation of shared connections
2712 - (sharing_restart): atom-bomb approach to connection sharing until we
2713 can use libnl; reinit all sharing when the default connection or
2714 shared connections change
2715 - (sharing_init, sharing_stop): evil functions that init and deinit
2718 2008-06-09 Dan Williams <dcbw@redhat.com>
2720 * src/nm-activation-request.c
2721 src/nm-activation-request.h
2722 - (nm_act_request_set_shared, nm_act_request_get_shared,
2723 nm_act_request_get_device): new functions to facilitate connection
2726 2008-06-09 Dan Williams <dcbw@redhat.com>
2729 - (clear_act_request): unset the 'default' property of the activation
2730 request when clearing it to ensure the property changed signal gets
2731 delivered and handled
2733 2008-06-09 Dan Williams <dcbw@redhat.com>
2735 * libnm-glib/nm-device-802-11-wireless.c
2736 - (access_point_removed_proxy): actually unref the AP after removing
2737 it from the device's AP list. Fixes refcounting bug for APs that
2738 caused them to get mixed up in the applet's menu.
2740 2008-06-09 Tambet Ingo <tambet@gmail.com>
2742 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2743 (nm_dhcp_device_destroy): Destroy the device options hash table.
2745 2008-06-06 Dan Williams <dcbw@redhat.com>
2747 * system-settings/src/nm-polkit-helpers.c
2748 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2749 unref the context if the initialization fails; also avoid spew when
2752 2008-06-06 Dan Williams <dcbw@redhat.com>
2754 Patch from Tambet Ingo <tambet@gmail.com>
2756 * src/NetworkManagerSystem.c
2757 src/NetworkManagerSystem.h
2758 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2759 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2760 - (nm_system_device_set_ip4_route): clean up
2761 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2764 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2766 * src/vpn-manager/nm-vpn-connection.c
2767 - (ip_address_to_string): new function
2768 - (print_vpn_config): use ip_address_to_string
2769 - (merge_vpn_routes): add user-defined routes to the ip4 config
2770 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2772 * include/NetworkManagerVPN.h
2775 2008-06-05 Dan Williams <dcbw@redhat.com>
2777 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2780 - Show which device is the default device
2782 2008-06-05 Tambet Ingo <tambet@gmail.com>
2786 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2787 Free data returned from dbus method call.
2789 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2790 dbus_g_method_get_sender() returns a duplicated string, free it
2792 (check_polkit_privileges): Looks like policykit sometimes returns
2793 error and non-null return value, don't leak errors in that case.
2795 * system-settings/src/main.c (find_plugin): Don't leak existing
2797 (load_stuff): Don't leak device list and list items.
2798 (have_connection_for_device): Don't leak connection list.
2800 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2801 Free the data received from g_keyfile_get_*.
2803 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2804 the key when the security object is updated.
2806 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2807 Free data returned from dbus method call.
2808 (iface_state_cb): Ditto.
2809 (add_network_cb): Ditto.
2810 (nm_supplicant_interface_add_cb): Don't make another copy of already
2811 duplicated object path.
2812 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2815 * src/supplicant-manager/nm-supplicant-config.c
2816 (ADD_STRING_LIST_VAL): Fix a memory leak.
2818 * src/nm-manager.c (free_get_settings_info): Free the allocated
2820 (list_connections_cb): Free data returned from dbus method call.
2821 (system_settings_get_unmanaged_devices_cb): Ditto.
2823 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2825 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2826 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2827 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2830 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2831 arguments after the object is created.
2833 2008-06-04 Dan Williams <dcbw@redhat.com>
2835 * libnm-util/Makefile.am
2836 - Don't distribute nm-param-spec-specialized.h
2838 2008-06-02 Tambet Ingo <tambet@gmail.com>
2840 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2842 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2843 NMIP4Address, update the getters and setters.
2845 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2846 Use the updated NMIP4Config routes api.
2848 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2849 static routes as well.
2851 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2852 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2855 2008-05-30 Dan Williams <dcbw@redhat.com>
2857 * src/named-manager/nm-named-manager.c
2858 src/named-manager/nm-named-manager.h
2859 - Remove stale/obsolete bits for controlling bind over DBus
2861 2008-05-29 Dan Williams <dcbw@redhat.com>
2863 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2864 src/dnsmasq-manager/nm-dnsmasq-manager.h
2865 - (nm_dnsmasq_manager_new): move iface argument here
2866 - (constructor): remove, not needed
2867 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2868 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2871 - (real_act_stage4_get_ip4_config,
2872 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2875 2008-05-29 Dan Williams <dcbw@redhat.com>
2878 - (dnsmasq_state_changed_cb): new function; fail the connection if
2879 something happens to dnsmasq
2880 - (nm_device_new_ip4_shared_config): new function; create a new
2881 ip4-config for shared connections. Shared connections always use a
2882 fixed static IP address.
2883 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2884 autoip connections by actually using the returned ip4-config and
2886 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2888 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2891 2008-05-29 Dan Williams <dcbw@redhat.com>
2893 * src/nm-device-802-11-wireless.c
2894 - (real_get_best_auto_connection): auto-activate 'shared' method
2897 2008-05-29 Dan Williams <dcbw@redhat.com>
2899 * libnm-util/nm-setting-ip4-config.c
2900 libnm-util/nm-setting-ip4-config.h
2901 - Add a 'shared' method to indicate that this connection should be
2902 brought up with a DHCP and proxy DNS server to facilitate
2904 - (verify): 'shared' method doesn't allow DNS or searches either
2906 2008-05-29 Dan Williams <dcbw@redhat.com>
2910 src/dnsmasq-manager/Makefile.am
2911 src/dnsmasq-manager/nm-dnsmasq-manager.c
2912 src/dnsmasq-manager/nm-dnsmasq-manager.h
2913 - Add a dnsmasq daemon manager to facilitate connection sharing
2915 2008-05-29 Dan Williams <dcbw@redhat.com>
2917 * src/nm-device-private.h
2918 - Remove unused prototypes and clean up
2921 - Remove anything related to system_config_data, which is no longer used
2922 - (nm_device_new_ip4_autoip_config): make static
2924 2008-05-29 Tambet Ingo <tambet@gmail.com>
2926 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2927 (file_changed): Fix a bug where suse system settings plugin didn't
2928 update the connections automatically when the files changed.
2930 2008-05-28 Dan Williams <dcbw@redhat.com>
2932 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2934 2008-05-28 Dan Williams <dcbw@redhat.com>
2936 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2938 * src/NetworkManagerSystem.c
2939 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2940 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2941 was causing -EINVAL errors since the libnl code actually does flush
2942 the routes on VPN interfaces now
2944 * src/backends/NetworkManagerArch.c
2945 src/backends/NetworkManagerDebian.c
2946 src/backends/NetworkManagerFrugalware.c
2947 src/backends/NetworkManagerGeneric.c
2948 src/backends/NetworkManagerGentoo.c
2949 src/backends/NetworkManagerMandriva.c
2950 src/backends/NetworkManagerPaldo.c
2951 src/backends/NetworkManagerRedHat.c
2952 src/backends/NetworkManagerSlackware.c
2953 src/backends/NetworkManagerSuSE.c
2954 - (nm_system_device_flush_ip4_routes,
2955 nm_system_device_flush_ip4_routes_with_iface): remove
2957 2008-05-28 Dan Williams <dcbw@redhat.com>
2959 * libnm-util/nm-setting-wireless.c
2960 libnm-util/nm-setting-wireless.h
2961 - (set_property, get_property, nm_setting_wireless_class_init): add the
2962 'adhoc-create' property, which when TRUE indicates that NM should
2963 create this connection as an adhoc wifi network if it's not found
2964 as an adhoc network during scanning. Can be used to auto-create
2965 adhoc networks when used in combination with autoconnect.
2967 2008-05-28 Tambet Ingo <tambet@gmail.com>
2969 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2971 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2972 checked, it doesn't work on some devices.
2974 2008-05-28 Tambet Ingo <tambet@gmail.com>
2976 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2977 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2979 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2980 Use inet_aton() everywhere to improve error detection.
2981 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2984 2008-05-26 Tambet Ingo <tambet@gmail.com>
2986 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2989 2008-05-26 Tambet Ingo <tambet@gmail.com>
2991 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2992 reference counting issue.
2994 2008-05-23 Dan Williams <dcbw@redhat.com>
2996 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2998 * src/backends/NetworkManagerGeneric.c
2999 - (nm_generic_enable_loopback): use libnl
3001 2008-05-23 Dan Williams <dcbw@redhat.com>
3003 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3005 * src/NetworkManagerSystem.h
3006 src/backends/NetworkManagerArch.c
3007 src/backends/NetworkManagerDebian.c
3008 src/backends/NetworkManagerFrugalware.c
3009 src/backends/NetworkManagerGentoo.c
3010 src/backends/NetworkManagerMandriva.c
3011 src/backends/NetworkManagerPaldo.c
3012 src/backends/NetworkManagerRedHat.c
3013 src/backends/NetworkManagerSlackware.c
3014 src/backends/NetworkManagerSuSE.c
3015 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
3016 nm_system_flush_arp_cache): remove, unused
3018 * src/backends/NetworkManagerGeneric.c
3019 src/backends/NetworkManagerGeneric.h
3020 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3021 nm_generic_flush_arp_cache): remove, unused
3023 2008-05-23 Dan Williams <dcbw@redhat.com>
3025 * system-settings/plugins/ifcfg-fedora/reader.c
3026 - (make_ip4_setting): honor PEERDNS setting
3028 2008-05-23 Dan Williams <dcbw@redhat.com>
3030 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3032 * src/NetworkManagerSystem.c
3033 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3036 * src/backends/NetworkManagerArch.c
3037 src/backends/NetworkManagerDebian.c
3038 src/backends/NetworkManagerFrugalware.c
3039 src/backends/NetworkManagerGentoo.c
3040 src/backends/NetworkManagerMandriva.c
3041 src/backends/NetworkManagerPaldo.c
3042 src/backends/NetworkManagerRedHat.c
3043 src/backends/NetworkManagerSlackware.c
3044 src/backends/NetworkManagerSuSE.c
3045 - (nm_system_device_flush_ip4_addresses,
3046 nm_system_device_flush_ip4_addresses_with_iface): remove
3048 * src/backends/NetworkManagerGeneric.c
3049 - (nm_generic_device_flush_ip4_addresses,
3050 nm_generic_device_flush_ip4_addresses_with_iface): remove
3052 2008-05-23 Dan Williams <dcbw@redhat.com>
3054 * src/supplicant-manager/nm-supplicant-settings-verify.c
3055 - Switch 'bssid' from bytes to keyword type
3056 - (validate_type_keyword): allow NULL keyword lists
3058 * src/supplicant-manager/nm-supplicant-config.c
3059 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3060 a byte array to string form, which is what the supplicant expects
3062 2008-05-23 Tambet Ingo <tambet@gmail.com>
3064 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3065 information received from DHCP.
3067 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3068 to make it possible to ignore the DNS information (both servers and
3069 searches) returned by DHCP server.
3071 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3072 name servers and searches if "ignore_dhcp_dns" is set.
3074 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3075 (nm_ip4_config_reset_searches): Implement.
3077 2008-05-22 Dan Williams <dcbw@redhat.com>
3079 Remove anything mDNS related. This is better done from a distro-specific
3080 dispatcher script. Plus, any distro using avahi doesn't need to restart
3081 avahi, since avahi can handle interface changes just fine using netlink.
3084 - Remove --with-mdns-provider
3086 * src/NetworkManagerPolicy.c
3087 - (global_state_changed): don't restart the mdns provider
3089 * src/NetworkManagerSystem.h
3090 src/backends/NetworkManagerArch.c
3091 src/backends/NetworkManagerDebian.c
3092 src/backends/NetworkManagerFrugalware.c
3093 src/backends/NetworkManagerGentoo.c
3094 src/backends/NetworkManagerMandriva.c
3095 src/backends/NetworkManagerPaldo.c
3096 src/backends/NetworkManagerRedHat.c
3097 src/backends/NetworkManagerSlackware.c
3098 src/backends/NetworkManagerSuSE.c
3099 - (nm_system_restart_mdns_responder): remove
3101 * src/backends/NetworkManagerGeneric.c
3102 src/backends/NetworkManagerGeneric.h
3103 - (nm_generic_restart_mdns_responder): remove
3105 2008-05-22 Dan Williams <dcbw@redhat.com>
3108 - clean up crypto options; just use --with-crypto=nss or
3109 --with-crypto=gnutls
3111 2008-05-22 Tambet Ingo <tambet@gmail.com>
3113 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3114 anymore, do it right away.
3116 2008-05-22 Tambet Ingo <tambet@gmail.com>
3118 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3119 serial device open when we're not connecting or connected.
3121 * src/nm-cdma-device.c (device_state_changed): Ditto.
3123 2008-05-22 Tambet Ingo <tambet@gmail.com>
3125 Don't remove all devices on waking up, sync with HAL.
3127 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3128 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3129 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3131 2008-05-21 Tambet Ingo <tambet@gmail.com>
3133 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3134 If the default gateway is unreachable, add a route to gateway and try
3137 2008-05-20 Dan Williams <dcbw@redhat.com>
3139 * system-settings/plugins/ifcfg-fedora/reader.c
3140 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3142 2008-05-19 Dan Williams <dcbw@redhat.com>
3144 * system-settings/plugins/ifcfg-fedora/reader.c
3145 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3146 if the ifcfg doesn't specify one (rh #446527)
3148 2008-05-19 Dan Williams <dcbw@redhat.com>
3150 Make the system settings service exit when the bus goes away. Since it's
3151 a bus-activated service, it's lifetime is limited to the bus that activated
3154 * system-settings/src/Makefile.am
3155 system-settings/src/nm-system-config-hal-manager-private.h
3156 - Remove nm-system-config-hal-manager-private.h
3158 * system-settings/src/nm-system-config-hal-manager.c
3159 - (nm_system_config_hal_manager_reinit_dbus,
3160 nm_system_config_hal_manager_deinit_dbus): remove
3162 * system-settings/src/main.c
3163 - (dbus_reconnect): remove
3164 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3165 - (destroy_cb): just quit when the bus goes away
3166 - (start_dbus_service, dbus_init): simplify
3167 - (main): destroy the wired devices hash table after destroying
3168 the HAL manager so we don't have to disconnect signals from the
3171 2008-05-15 Tambet Ingo <tambet@gmail.com>
3173 Move crypto functions from nm-applet to libnm-util.
3175 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3176 (nm_setting_802_1x_set_client_cert)
3177 (nm_setting_802_1x_set_phase2_ca_cert)
3178 (nm_setting_802_1x_set_phase2_client_cert)
3179 (nm_setting_802_1x_set_private_key)
3180 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3181 file (or private key and it's password), read the certificate data.
3183 * libnm-util/crypto_nss.c:
3184 * libnm-util/crypto_gnutls.c:
3185 * libnm-util/crypto.[ch]: Move here from nm-applet.
3187 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3189 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3190 Imlement WPA-EAP configuration reading from sysconfig.
3192 2008-05-16 Dan Williams <dcbw@redhat.com>
3194 * src/nm-device-802-11-wireless.c
3195 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3198 2008-05-14 Dan Williams <dcbw@redhat.com>
3200 Fix Linus' bug in rh #134886
3202 * src/nm-device-802-3-ethernet.c
3203 - (constructor): request initial carrier state
3205 * src/nm-netlink-monitor.c
3206 - (nm_netlink_monitor_request_status): schedule emission of carrier
3207 signals after refilling the link cache. Because the refill is a
3208 synchronous operation, the normal message hander won't get called
3209 since libnl has already consumed the messages.
3210 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3212 2008-05-14 Dan Williams <dcbw@redhat.com>
3214 * src/NetworkManagerSystem.c
3215 - (nm_system_device_is_up_with_iface): clean up
3217 2008-05-13 Dan Williams <dcbw@redhat.com>
3219 Fix refcounting issues over sleep/wake when a VPN connection was active that
3220 caused NM to try registering an object path for a device upon wake that was
3221 the same as an already registered object path.
3224 - (nm_device_take_down): properly handle cases where the device is
3225 no longer active but was just active, and therefore must be
3226 deactivated. When a device moves to unmanaged mode, this function
3227 previously would not deactivate the device, because the state was
3228 already unmanaged by the time this function was called.
3230 * src/vpn-manager/nm-vpn-connection.c
3231 - (device_state_changed): properly handle multiple devices states in
3232 which the device is now deactivated. Code previously didn't handle
3233 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3236 2008-05-13 Dan Williams <dcbw@redhat.com>
3238 * src/nm-device-private.h
3240 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3242 * src/nm-device-802-11-wireless.c
3243 - (nm_device_802_11_wireless_set_enabled): take devices up
3244 and down as appropriate for the rfkill state
3246 2008-05-13 Dan Williams <dcbw@redhat.com>
3248 * marshallers/nm-marshal.list
3249 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3251 * system-settings/plugins/ifcfg-fedora/Makefile.am
3252 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3253 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3254 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3255 events. Solely for use watching ifcfg files to pick up changes
3256 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3258 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3259 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3260 file contents change
3261 - (finalize): clean up inotify watches
3262 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3263 and the connection ifcfg for changes on their hardlinks
3264 - (files_changed_cb): proxy the changed signal back out to listeners
3266 * system-settings/plugins/ifcfg-fedora/plugin.c
3268 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3270 - (read_one_connection): connect to change signals on the new connection
3271 - (dir_changed, connection_changed_handler,
3272 handle_connection_remove_or_new): break out connection change
3273 handling and connection new/remove handling so it can be used from
3274 both the GFileMonitor callback and the NMIfcfgConnection changed
3277 * system-settings/plugins/ifcfg-fedora/reader.c
3278 system-settings/plugins/ifcfg-fedora/reader.h
3279 - (connection_from_file): return the keyfile path the connection would use
3281 2008-05-13 Tambet Ingo <tambet@gmail.com>
3283 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3284 single PolKitContext which is shared by all. PolKitContext::unref leaks
3285 just about everything, including all open file descriptiors and results
3286 in 99% cpu usage when data arrives to any of the fds that don't belong
3287 to any context anymore.
3289 2008-05-12 Dan Williams <dcbw@redhat.com>
3291 * gfilemonitor/glocaldirectorymonitor.c
3292 gfilemonitor/glocaldirectorymonitor.h
3293 - (g_local_directory_monitor_constructor): actually subscribe to the
3295 - (_g_local_directory_monitor_new): ensure that inotify is started up
3297 * gfilemonitor/glocalfilemonitor.c
3298 gfilemonitor/glocalfilemonitor.h
3299 - (g_local_file_monitor_constructor): actually subscribe to the watch
3300 - (_g_local_file_monitor_new): ensure that inotify is started up
3302 2008-05-11 Dan Williams <dcbw@redhat.com>
3305 - record PolicyKit version
3307 * system-settings/src/nm-polkit-helpers.c
3308 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3309 with PolicyKit <= 0.6
3311 2008-05-11 Dan Williams <dcbw@redhat.com>
3313 Update Fedora system-settings plugin to support latest API and use
3314 GFileMonitor rather than home-rolled inotify code.
3316 * system-settings/plugins/ifcfg-fedora/Makefile.am
3317 system-settings/plugins/ifcfg-fedora/common.h
3318 system-settings/plugins/ifcfg-fedora/plugin.c
3319 - Update to latest system settings plugin API; use GIO instead of
3320 custom inotify code; use NMIfcfgConnection objects instead of
3321 ConnectionData structures tacked onto NMConnection objects
3323 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3324 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3325 - Implement an NMExportedConnection subclass mapping ifcfg files to
3328 * system-settings/plugins/ifcfg-fedora/reader.c
3329 system-settings/plugins/ifcfg-fedora/reader.h
3330 - Move ifcfg parsing bits here from parser.c
3332 * system-settings/plugins/ifcfg-fedora/parser.c
3333 system-settings/plugins/ifcfg-fedora/parser.h
3334 - Remove; most code moved to reader.c
3336 2008-05-11 Dan Williams <dcbw@redhat.com>
3341 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3342 implementation, so that the same change monitoring code can be used
3343 on systems without glib-2.14 (like Fedora 8)
3345 * system-settings/plugins/keyfile/Makefile.am
3346 system-settings/plugins/keyfile/plugin.c
3347 system-settings/plugins/ifcfg-suse/Makefile.am
3348 system-settings/plugins/ifcfg-suse/plugin.c
3349 - Use private gfilemonitor code if GIO is not present
3351 2008-05-09 Tambet Ingo <tambet@gmail.com>
3353 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3354 NMExportedConnection's 'update' and 'delete' and return error with
3355 descriptive message.
3357 2008-05-08 Dan Williams <dcbw@redhat.com>
3359 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3361 * src/nm-gsm-device.c
3362 src/nm-cdma-device.c
3363 - (real_get_best_auto_connection): implement; allow autoconnection
3364 to GSM & CDMA devices
3366 2008-05-08 Tambet Ingo <tambet@gmail.com>
3368 Use PolicyKit to authorize the system settings' AddConnection method
3369 and the system settings connections' Update and Delete methods.
3371 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3372 (impl_exported_connection_delete, nm_exported_connection_update)
3373 (nm_exported_connection_delete): Return boolean and fill GError
3374 to notify the callers of the reasons why it might have failed.
3376 * libnm-glib/nm-dbus-settings-system.c
3377 (nm_dbus_settings_system_add_connection): Return the error from dbus
3378 call so that the callers can see why it failed.
3380 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3383 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3385 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3386 abstract base class that checks PolicyKit permissions.
3388 * system-settings/src/dbus-settings.c:
3389 (impl_settings_add_connection): Check the policy before carring out
3392 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3393 Inherit from NMSysconfigConnection, check the policies before
3394 allowing updating or removing.
3396 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3397 Inherit from NMSysconfigConnection.
3399 * introspection/nm-exported-connection.xml: Annotate "Update" and
3400 "Delete" methods with async flag so that the implementations can get
3401 access to DBusGMethodInvocation.
3403 * system-settings/src/dbus-settings.c
3404 (settings_add_connection_check_privileges): Implement.
3405 (impl_settings_add_connection): Check the privileges before adding a new
3406 connection. Improve error reporting.
3408 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3409 async so that the implementation can access DBusGMethodInvocation.
3411 * configure.in: Check for PolicyKit.
3413 * policy/org.freedesktop.network-manager-settings.system.policy:
3416 * policy/Makefile.am: Install the policy file.
3418 * configure.in: Add 'policy' subdir.
3420 2008-05-08 Tambet Ingo <tambet@gmail.com>
3422 Rewrite the suse system settings plugin.
3424 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3426 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3428 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3430 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3432 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3434 * system-settings/src/main.c (load_plugins): Improve error reporting.
3436 * system-settings/src/sha1.[ch] Add.
3438 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3440 2008-05-07 Dan Williams <dcbw@redhat.com>
3442 * system-settings/plugins/keyfile/reader.c
3443 - (read_one_setting_value): handle IP address items separately
3444 - (read_array_of_uint): read IPv4 DNS option as a string array
3445 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3448 * system-settings/plugins/keyfile/writer.c
3449 - (write_setting_value): handle IP address items separately
3450 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3451 not an array of uint, so that it's user-editable
3452 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3453 arrays, so they are user-editable
3455 2008-05-07 Dan Williams <dcbw@redhat.com>
3457 * system-settings/plugins/keyfile/Makefile.am
3458 - Change location of the keyfile plugin settings to
3459 /etc/NetworkManager/system-connections
3461 2008-05-05 Tambet Ingo <tambet@gmail.com>
3463 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3465 * system-settings/plugins/keyfile/plugin.c: Work with
3466 NMKeyfileConnections.
3468 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3469 Plugins are supposed to return NMExportedConnections now and handle the
3470 updated(), removed(), and GetSecrets().
3471 Store the internal list of connections in hash table to make it easier
3474 2008-05-07 Tambet Ingo <tambet@gmail.com>
3476 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3477 for multiple IP addresses.
3479 2008-05-07 Tambet Ingo <tambet@gmail.com>
3481 Patch from André Lemos.
3483 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3486 2008-05-06 Dan Williams <dcbw@redhat.com>
3488 * src/dhcp-manager/nm-dhcp-manager.c
3489 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3490 NMIP4Config to support multiple IP addresses
3492 * src/NetworkManagerUtils.c
3493 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3495 * src/nm-ip4-config.c
3497 - Store a list of IPv4 address/netmask/gateway tuples
3498 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3499 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3500 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3501 nm_ip4_config_set_address): remove
3502 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3503 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3504 new functions; handle multiple IPv4 addresses
3507 src/ppp-manager/nm-ppp-manager.c
3508 src/vpn-manager/nm-vpn-connection.c
3509 src/NetworkManagerPolicy.c
3511 libnm-glib/libnm-glib-test.c
3512 - update for changes to NMIP4Config for multiple IPv4 addresses
3514 * src/NetworkManagerSystem.c
3515 - (nm_system_device_set_ip4_route): don't add the route if any address
3516 is on the same subnet as the destination
3517 - (check_one_address): ignore the exact match, just match family and
3519 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3521 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3522 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3524 * introspection/nm-ip4-config.xml
3525 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3526 - Add 'addresses' property which is an array of (uuu) tuples of
3527 address/netmask/gateway
3529 * libnm-util/nm-setting-ip4-config.c
3530 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3532 * libnm-glib/nm-ip4-config.c
3533 libnm-glib/nm-ip4-config.h
3534 - Handle D-Bus interface changes to support multiple IP addresses
3536 2008-05-06 Dan Williams <dcbw@redhat.com>
3538 * libnm-util/nm-utils.c
3539 libnm-util/nm-utils.h
3540 - (nm_utils_ip4_addresses_from_gvalue,
3541 nm_utils_ip4_addresses_to_gvalue): new functions
3543 2008-05-06 Tambet Ingo <tambet@gmail.com>
3545 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3546 the returned connection paths.
3548 2008-05-05 Tambet Ingo <tambet@gmail.com>
3550 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3551 "PropertiesChanged" signal signature.
3553 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3554 defined in nm-dbus-glib-types.h.
3555 Don't register the connection on dbus, we're a proxy class to
3556 communicate with an already registered connection over dbus.
3558 2008-04-30 Tambet Ingo <tambet@gmail.com>
3560 Implement new subclasses of NMSettings and NMExportedConnection to make
3561 it easier for the applet to access and modify system settings.
3563 * libnm-glib/nm-dbus-connection.[ch]:
3564 * libnm-glib/nm-dbus-settings.[ch]:
3565 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3567 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3570 * include/NetworkManager.h: Define the system settings DBus interface.
3572 2008-04-30 Tambet Ingo <tambet@gmail.com>
3574 Implement additional C API for exported connections to make them identical
3575 with the DBus API. Change the (list_connections) virtual function to be
3576 more usable from C - instead of requiring implementers to return a GPtrArray
3577 of dbus paths, return a list of connections.
3579 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3580 (nm_settings_list_connections):
3581 (nm_exported_connection_new):
3582 (nm_exported_connection_update):
3583 (nm_exported_connection_delete): Implement.
3585 (impl_settings_list_connections):
3586 (impl_exported_connection_update):
3587 (impl_exported_connection_delete): Use the new public functions to make
3588 sure the C and dbus interfaces stay in sync.
3590 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3593 2008-05-02 Dan Williams <dcbw@redhat.com>
3595 * system-settings/plugins/ifcfg-fedora/plugin.c
3596 - (dispose): use right unref call on the DBusGConnection
3598 2008-05-02 Dan Williams <dcbw@redhat.com>
3600 * src/nm-serial-device.c
3601 - (find_terminator): don't compare the whole line, just the size of the
3602 terminator, since some modems put stuff after the terminator, like
3605 2008-05-01 Dan Williams <dcbw@redhat.com>
3607 Patch from Michael Biebl <biebl@debian.org>
3609 * callouts/Makefile.am
3610 callouts/org.freedesktop.nm_dispatcher.service.in
3611 system-settings/src/Makefile.am
3612 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3613 - use the right install location for dbus-activated stuff
3615 2008-04-30 Dan Williams <dcbw@redhat.com>
3617 * src/nm-gsm-device.c
3618 - (enter_pin): fix setting name passed to applets when asking for a GSM
3621 2008-04-30 Dan Williams <dcbw@redhat.com>
3624 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3626 2008-04-30 Dan Williams <dcbw@redhat.com>
3628 * src/nm-device-802-3-ethernet.c
3629 src/nm-device-802-11-wireless.c
3630 - (real_is_up): return true instead of chaining up to unimplemented
3633 2008-04-30 Dan Williams <dcbw@redhat.com>
3635 * src/NetworkManagerSystem.c
3636 src/NetworkManagerSystem.h
3637 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3638 functions to check device flags for IFF_UP
3640 * src/nm-serial-device.c
3641 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3644 * src/nm-device-802-3-ethernet.c
3645 src/nm-device-802-11-wireless.c
3646 - (real_hw_is_up): call nm_system_device_is_up()
3649 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3650 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3653 2008-04-29 Dan Williams <dcbw@redhat.com>
3655 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3657 * marshallers/nm-marshal.list
3660 * src/NetworkManager.c
3661 - (main): let the NMManager handle the NMHalManager
3663 * src/nm-hal-manager.c
3664 src/nm-hal-manager.h
3665 - convert to a GObject, and emit singals when stuff changes. Let the
3666 NMManager handle the signals, instead of the NMHalManager calling
3671 - (remove_one_device): consolidate device removals here
3672 - (dispose): use remove_one_device()
3673 - (nm_manager_get_device_by_udi): make static
3674 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3675 manager for devices at startup or wakeup time
3676 - (nm_manager_new): create and monitor the HAL manager
3677 - (hal_manager_udi_added_cb): new function; do what
3678 nm_manager_add_device() used to do when signalled by the hal manager
3679 - (hal_manager_udi_removed_cb): new function; do what
3680 nm_manager_remove_device() used to do when signalled by the hal
3682 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3684 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3685 in our device list that aren't known to HAL
3686 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3687 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3689 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3690 nm_manager_activation_pending, nm_manager_wireless_enabled,
3691 nm_manager_wireless_hardware_enabled,
3692 nm_manager_set_wireless_hardware_enabled): remove, unused
3694 2008-04-28 Dan Williams <dcbw@redhat.com>
3696 Fix the device up/down ambiguities. Up/down state used to be a
3697 conglomeration of hardware state (IFF_UP) and any device-specific things
3698 (supplicant, periodic timers, etc) that the device used to indicate
3699 readiness. Unfortunately, if the hardware was already IFF_UP for some
3700 reason, then the device specific stuff wouldn't get run, and the device
3705 - Create hw_is_up, hw_bring_up, and hw_take_down
3706 - Rename bring_down -> take_down
3707 - (real_hw_is_up): check interface flags for IFF_UP
3708 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3709 - (nm_device_is_up): make static; only used locally
3710 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3711 if the device is already up; if the device isn't up, bring it up
3712 - (nm_device_hw_take_down): just take down hardware
3713 - (nm_device_bring_up): bring up HW first, then device specific stuff
3714 - (nm_device_take_down): always deactivate device when called; always
3715 try to take hardware down too
3716 - (nm_device_state_changed): take device down when entering unmanaged
3717 state from a higher state
3719 * src/nm-device-802-11-wireless.c
3720 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3722 - (real_take_down, supplicant_iface_state_cb_handler,
3723 supplicant_iface_connection_state_cb_handler,
3724 supplicant_mgr_state_cb_handler): fix some messages
3726 * src/nm-device-802-3-ethernet.c
3727 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3730 2008-04-28 Dan Williams <dcbw@redhat.com>
3734 - (nm_manager_error_get_type): add new error
3735 - (nm_manager_remove_device): don't bother taking down the device here,
3736 the state change from unmanaging the device will do it
3737 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3738 uses it; when going to sleep, just unmanage the device instead of
3739 taking it down, because stuff will cleaned up correctly when the
3740 device gets unmanaged
3742 2008-04-28 Dan Williams <dcbw@redhat.com>
3744 * src/nm-hal-manager.c
3745 - (add_initial_devices): convert to a GSourceFunc prototype
3746 - (nm_manager_state_changed): when coming out of sleep, punt the
3747 device re-addition to an idle handler to let D-Bus events go out
3748 first, fixing a potential dbus-glib assert if the old device was
3749 not yet disposed (due to references held while emitting the D-Bus
3750 signals) but the new device was found, because the mainloop didn't
3751 run between signal emission and add_initial_devices()
3753 2008-04-27 Dan Williams <dcbw@redhat.com>
3755 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3757 * initscript/paldo/NetworkManager.in
3758 initscript/SUSE/networkmanager.in
3759 - Remove last bits of dhcdbd
3761 2008-04-27 Dan Williams <dcbw@redhat.com>
3763 * src/nm-device-802-11-wireless.c
3764 - (link_timeout_cb): don't ask for secrets when disconnected during
3765 association/authentication phase, drivers are still just too crappy
3767 2008-04-27 Dan Williams <dcbw@redhat.com>
3771 dispatcher-daemon/Makefile.am
3772 dispatcher-daemon/NetworkManagerDispatcher.c
3773 initscript/Arch/Makefile.am
3774 initscript/Arch/networkmanager-dispatcher.in
3775 initscript/Gentoo/Makefile.am
3776 initscript/Gentoo/NetworkManagerDispatcher.in
3777 initscript/Mandriva/Makefile.am
3778 initscript/Mandriva/networkmanagerdispatcher.in
3779 initscript/RedHat/Makefile.am
3780 initscript/RedHat/NetworkManagerDispatcher.in
3781 initscript/SUSE/Makefile.am
3782 initscript/SUSE/networkmanager-dispatcher.in
3783 initscript/Slackware/Makefile.am
3784 initscript/Slackware/rc.networkmanager-dispatcher.in
3785 initscript/paldo/Makefile.am
3786 initscript/paldo/NetworkManagerDispatcher.in
3788 man/NetworkManagerDispatcher.8.in
3789 - Remove the dispatcher daemon
3791 2008-04-27 Dan Williams <dcbw@redhat.com>
3793 * callouts/Makefile.am
3794 callouts/nm-dispatcher-action.c
3795 callouts/nm-dispatcher-action.h
3796 callouts/nm-dispatcher.conf
3797 callouts/nm-dispatcher.xml
3798 callouts/org.freedesktop.nm_dispatcher.service
3799 - Re-implement the dispatcher as a system-bus activated service that
3800 NM calls on-demand, rather than an always running daemon
3803 - Add callouts dir to includes to pick up dispatcher defines
3806 - (nm_device_state_changed): call dispatcher on device activated/
3809 * src/vpn-manager/nm-vpn-connection.c
3810 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3813 * src/NetworkManagerUtils.c
3814 src/NetworkManagerUtils.h
3815 - (nm_utils_call_dispatcher): helper to call dispatcher
3817 2008-04-27 Dan Williams <dcbw@redhat.com>
3819 * src/NetworkManagerUtils.c
3820 src/NetworkManagerUtils.h
3821 - remove unneeded includes
3822 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3823 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3824 nm_timeval_cmp, nm_timeval_add): remove, unused
3825 - clean up formatting
3826 - (nm_spawn_process): de-uglify
3828 * src/nm-device-802-11-wireless.c
3829 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3831 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3833 * initscript/Gentoo/NetworkManager.in:
3834 Fix for starting the daemon.
3836 2008-04-25 Dan Williams <dcbw@redhat.com>
3838 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3840 * src/NetworkManagerSystem.c
3841 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3843 2008-04-25 Dan Williams <dcbw@redhat.com>
3845 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3847 * src/NetworkManagerSystem.c
3848 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3849 implementation of nm_system_device_replace_default_route()
3851 * src/NetworkManagerPolicy.c
3852 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3854 * src/backends/NetworkManagerArch.c
3855 src/backends/NetworkManagerDebian.c
3856 src/backends/NetworkManagerFrugalware.c
3857 src/backends/NetworkManagerGeneric.c
3858 src/backends/NetworkManagerGeneric.h
3859 src/backends/NetworkManagerGentoo.c
3860 src/backends/NetworkManagerMandriva.c
3861 src/backends/NetworkManagerPaldo.c
3862 src/backends/NetworkManagerRedHat.c
3863 src/backends/NetworkManagerSlackware.c
3864 src/backends/NetworkManagerSuSE.c
3865 - (nm_system_device_replace_default_route): remove
3867 2008-04-25 Dan Williams <dcbw@redhat.com>
3869 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3871 * src/NetworkManagerSystem.c
3872 - (validate_ip4_route): remove; use nl_addr_parse() instead
3873 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3874 replace nm_system_device_add_route_via_device_with_iface() in the
3877 * src/backends/NetworkManagerArch.c
3878 src/backends/NetworkManagerDebian.c
3879 src/backends/NetworkManagerFrugalware.c
3880 src/backends/NetworkManagerGeneric.c
3881 src/backends/NetworkManagerGeneric.h
3882 src/backends/NetworkManagerGentoo.c
3883 src/backends/NetworkManagerMandriva.c
3884 src/backends/NetworkManagerPaldo.c
3885 src/backends/NetworkManagerRedHat.c
3886 src/backends/NetworkManagerSlackware.c
3887 src/backends/NetworkManagerSuSE.c
3888 - Remove nm_system_device_add_route_via_device_with_iface()
3890 2008-04-25 Dan Williams <dcbw@redhat.com>
3892 * system-settings/plugins/ifcfg-fedora/parser.c
3893 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3895 2008-04-24 Dan Williams <dcbw@redhat.com>
3897 * dispatcher-daemon/NetworkManagerDispatcher.c
3898 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3900 2008-04-24 Dan Williams <dcbw@redhat.com>
3902 * initscript/RedHat/NetworkManager.in
3903 initscript/RedHat/NetworkManagerDispatcher.in
3904 - Be active at runlevel 2
3905 - Adjust priorities earlier
3907 2008-04-22 Dan Williams <dcbw@redhat.com>
3909 * src/NetworkManagerPolicy.c
3910 - (update_routing_and_dns): when checking for a gateway, look at the
3911 composite IP4 config, not the connection's ip4-config setting, which
3912 doesn't include DHCP-returned information
3914 2008-04-22 Tambet Ingo <tambet@gmail.com>
3916 Implement GKeyFile system settings plugin.
3917 Implement writing system settings (currently supported only by GKeyFile plugin).
3919 * system-settings/src/main.c:
3920 * system-settings/src/dbus-settings.c: Move the communication with plugins
3921 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3922 plugins for adding/updating/removing connections.
3924 * system-settings/src/nm-system-config-interface.c
3925 (nm_system_config_interface_add_connection): Implement
3926 (nm_system_config_interface_update_connection): Implement.
3927 (nm_system_config_interface_remove_connection): Implement.
3929 * system-settings/plugins/keyfile/Makefile.am:
3930 * system-settings/plugins/keyfile/plugin.[ch]:
3931 * system-settings/plugins/keyfile/writer.[ch]:
3932 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3934 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3936 * configure.in: Generate GKeyFile Makefile.
3938 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3939 corruption, need to duplicate the returned string.
3940 (impl_exported_connection_update): Implement.
3941 (impl_exported_connection_delete): Implement.
3943 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3945 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3947 2008-04-22 Dan Williams <dcbw@redhat.com>
3949 Patch from Charles R. Anderson (cra@wpi.edu)
3951 * src/NetworkManagerPolicy.c
3952 - (update_routing_and_dns): don't select devices without a gateway
3953 as having the default route (rh #437338)
3955 2008-04-21 Dan Williams <dcbw@redhat.com>
3957 * src/nm-activation-request.c
3958 src/nm-activation-request.h
3959 - (dispose): ensure to disconnect from the device's state-changed signal
3960 when appropriate so the signal doesn't get handled by an already
3961 disposed NMActRequest
3962 - (device_state_changed): update is_default here too just to make sure
3963 default is only True when the child device is activated
3964 - (nm_act_request_set_default): new function
3966 * src/NetworkManagerPolicy.c
3967 - (update_routing_and_dns): set 'default' on the active connection which
3968 has the default route and DNS
3970 2008-04-21 Dan Williams <dcbw@redhat.com>
3972 * src/NetworkManagerPolicy.c
3973 - (device_state_changed): update routing and DNS when a device goes
3974 into unmanaged or unavailable states too (like rfkill or carrier loss)
3976 2008-04-21 Dan Williams <dcbw@redhat.com>
3978 * include/NetworkManager.h
3979 - Add NMActiveConnectionState enum
3981 * introspection/nm-active-connection.xml
3982 introspection/nm-vpn-connection.xml
3983 - Add 'State' property for overall active connection state
3984 - Add 'Default' property, when True means this active connection
3985 has the default route
3986 - Add PropertyChanged signals so changes actually go out over the bus
3988 * src/nm-active-connection.h
3989 - Add defines for State & Default properties
3991 * src/nm-activation-request.c
3992 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3993 signal to determine active connection state
3995 * src/vpn-manager/nm-vpn-connection.c
3996 src/vpn-manager/nm-vpn-connection.h
3997 src/vpn-manager/nm-vpn-manager.c
3998 src/vpn-manager/nm-vpn-service.c
3999 - Rename old 'state' to 'vpn-state'
4000 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
4001 - Add 'state' and 'default' properties, hook up to the vpn connection's
4002 'vpn-state-changed' signal
4004 * libnm-glib/nm-active-connection.c
4005 libnm-glib/nm-active-connection.h
4006 - Add new 'state' and 'default' properties and accessors
4008 * libnm-glib/nm-vpn-connection.c
4009 libnm-glib/nm-vpn-connection.h
4010 - Rename old 'state' property to 'vpn-state'
4011 - Add new 'state' and 'default' properties and accessors
4013 2008-04-21 Dan Williams <dcbw@redhat.com>
4015 * src/nm-ip4-config.c
4016 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
4017 not specified (rh #443474)
4019 2008-04-20 Dan Williams <dcbw@redhat.com>
4021 * src/NetworkManagerUtils.c
4022 src/NetworkManagerUtils.h
4023 - (nm_utils_merge_ip4_config): new function; merge settings from an
4024 NMSettingIP4Config to an NMIP4Config object
4027 - (merge_ip4_config): move to NetworkManagerUtils.c
4029 * src/vpn-manager/nm-vpn-connection.c
4030 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4033 2008-04-18 Dan Williams <dcbw@redhat.com>
4035 * libnm-util/nm-setting-ppp.c
4036 libnm-util/nm-setting-ppp.h
4037 - Add 'no-vj-comp' option for TCP header compression
4038 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4041 2008-04-18 Dan Williams <dcbw@redhat.com>
4043 * libnm-util/nm-setting-ppp.c
4044 libnm-util/nm-setting-ppp.h
4045 src/ppp-manager/nm-ppp-manager.c
4046 - Add 'refuse-pap' and 'refuse-mschapv2' options
4048 2008-04-18 Dan Williams <dcbw@redhat.com>
4050 * libnm-util/nm-setting-ppp.c
4051 libnm-util/nm-setting-ppp.h
4052 src/ppp-manager/nm-ppp-manager.c
4053 - Remove the 'usepeerdns' option and always request DNS servers from
4054 the PPP server; the connection chooses to use/override/ignore the
4055 DNS servers returned from the PPP server
4057 2008-04-18 Dan Williams <dcbw@redhat.com>
4059 * libnm-util/nm-setting-ppp.c
4060 libnm-util/nm-setting-ppp.h
4061 src/ppp-manager/nm-ppp-manager.c
4062 - Remove the 'require-mppc' option, because pppd doesn't support it and
4063 it seems to have been an erroneous addition to the PPTP plugin in
4064 the first place (from which the ppp-manager is derived)
4066 2008-04-17 Dan Williams <dcbw@redhat.com>
4068 * libnm-util/nm-setting-pppoe.c
4069 - (verify): require a PPP setting too
4071 * src/ppp-manager/nm-ppp-manager.c
4072 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4075 2008-04-17 Dan Williams <dcbw@redhat.com>
4078 - (nm_device_state_changed): do deactivation and and promotion to
4079 unavailable here, so that the device gets cleaned up before the
4080 manager runs and starts emitting signals; do the
4081 FAILED->DISCONNECTED transition from an idle handler rather than
4082 immediately to guard against recursion
4083 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4084 FAILED->DISCONNECTED handler if it's scheduled
4086 2008-04-17 Dan Williams <dcbw@redhat.com>
4088 * src/nm-device-802-11-wireless.c
4089 - (state_changed_cb): clear AP list when device transitions to
4090 unavailable or unmanaged
4091 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4092 since this is already done in device_cleanup()
4093 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4094 isn't available or managed
4095 - (device_cleanup): use remove_all_aps()
4096 - (remove_all_aps): consolidate code removing all APs
4098 2008-04-17 Dan Williams <dcbw@redhat.com>
4100 * src/nm-serial-device.c
4101 src/nm-serial-device.h
4102 - (wait_for_reply_got_data): break input into lines, and search each
4103 line for responses _and_ terminator strings; also make sure that
4104 the read loop doesn't continue after the timeout is supposed to fire
4105 - (nm_serial_device_wait_for_reply): take an array of terminators too
4107 * src/nm-gsm-device.c
4108 src/nm-cdma-device.c
4109 - Send terminators to nm_serial_device_wait_for_reply()
4111 2008-04-16 Dan Williams <dcbw@redhat.com>
4113 Patch from 陈鑫 <znscnchen@gmail.com>
4115 * src/ppp-manager/nm-pppd-plugin.c
4116 - (get_credentials): return correct value for success; handle case where
4117 pppd just does some checking but doesn't want a password
4118 - (plugin_init): make CHAP work too
4120 2008-04-16 Dan Williams <dcbw@redhat.com>
4122 Patch from 陈鑫 <znscnchen@gmail.com>
4124 * src/ppp-manager/nm-ppp-manager.c
4125 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4127 2008-04-16 Dan Williams <dcbw@redhat.com>
4129 Patch from 陈鑫 <znscnchen@gmail.com>
4131 * src/nm-device-802-3-ethernet.c
4132 - (real_deactivate_quickly): clear the IP interface name on
4133 deactivation, otherwise the wrong interface might get used later
4134 for routing and IP management
4136 2008-04-15 Dan Williams <dcbw@redhat.com>
4138 * libnm-glib/nm-device.c
4139 - (get_product_and_vendor): handle serial devices correctly
4140 - (nm_device_update_description): pass device to get_product_and_vendor()
4142 2008-04-15 Dan Williams <dcbw@redhat.com>
4144 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4146 * src/NetworkManagerSystem.h
4147 src/backends/NetworkManagerArch.c
4148 src/backends/NetworkManagerDebian.c
4149 src/backends/NetworkManagerFrugalware.c
4150 src/backends/NetworkManagerGeneric.c
4151 src/backends/NetworkManagerGeneric.h
4152 src/backends/NetworkManagerGentoo.c
4153 src/backends/NetworkManagerMandriva.c
4154 src/backends/NetworkManagerPaldo.c
4155 src/backends/NetworkManagerRedHat.c
4156 src/backends/NetworkManagerSlackware.c
4157 src/backends/NetworkManagerSuSE.c
4159 - (nm_generic_device_add_ip6_link_address,
4160 nm_system_device_add_ip6_link_address): remove
4162 2008-04-15 Dan Williams <dcbw@redhat.com>
4164 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4166 * src/backends/NetworkManagerArch.c
4167 src/backends/NetworkManagerDebian.c
4168 src/backends/NetworkManagerFrugalware.c
4169 src/backends/NetworkManagerGeneric.c
4170 src/backends/NetworkManagerGeneric.h
4171 src/backends/NetworkManagerGentoo.c
4172 src/backends/NetworkManagerMandriva.c
4173 src/backends/NetworkManagerPaldo.c
4174 src/backends/NetworkManagerRedHat.c
4175 src/backends/NetworkManagerSlackware.c
4176 src/backends/NetworkManagerSuSE.c
4177 src/NetworkManagerSystem.h
4178 - flush_routes -> flush_ip4_routes
4179 - flush_addresses -> flush_ip4_addresses
4181 * src/NetworkManagerSystem.c
4183 src/vpn-manager/nm-vpn-connection.c
4184 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4186 2008-04-15 Dan Williams <dcbw@redhat.com>
4188 Remove exposure of wireless-tools mode types in the API.
4190 * include/NetworkManager.h
4191 - Define NM80211Mode enum
4193 * introspection/generic-types.xml
4194 - Describe NM_802_11_MODE enum
4195 - Remove IW_MODE_* enum
4197 * introspection/nm-access-point.xml
4198 libnm-glib/nm-access-point.c
4199 libnm-glib/nm-access-point.h
4200 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4202 * introspection/nm-device-802-11-wireless.xml
4203 libnm-glib/nm-device-802-11-wireless.c
4204 libnm-glib/nm-device-802-11-wireless.h
4205 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4207 * libnm-util/nm-setting-wireless.c
4208 src/NetworkManagerAP.c
4209 src/NetworkManagerAP.h
4210 src/nm-device-802-11-wireless.c
4211 src/nm-device-802-11-wireless.h
4213 - Use NM80211Mode not IW_MODE_*
4215 2008-04-15 Dan Williams <dcbw@redhat.com>
4217 Enhance nm-online based on a patch from Bill Nottingham.
4221 - Add help messages and option summary
4222 - Add long-format options
4223 - Add a '-x' option to exit if NM isn't running or isn't connecting
4225 2008-04-15 Tambet Ingo <tambet@gmail.com>
4227 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4229 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4231 2008-04-15 Dan Williams <dcbw@redhat.com>
4233 * nm-setting-ip4-config.c
4234 - (ip4_addresses_from_gvalue): handle NULL address array
4236 * nm-setting-8021x.c
4237 - (verify_tls, verify_ttls): warn on failed verification
4239 2008-04-10 Dan Williams <dcbw@redhat.com>
4241 * src/nm-gsm-device.c
4242 - (automatic_registration): accept "+CREG: 0,0"
4243 - (automatic_registration_response): fail on "+CREG: 0,0"
4245 2008-04-10 Tambet Ingo <tambet@gmail.com>
4247 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4249 2008-04-10 Tambet Ingo <tambet@gmail.com>
4251 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4252 Make it compile again by commenting out broken code that at first didn't work and
4253 now didn't compile either.
4255 2008-04-08 Dan Williams <dcbw@redhat.com>
4257 * libnm-glib/nm-object-cache.c
4258 libnm-glib/nm-settings.c
4259 src/dhcp-manager/nm-dhcp-manager.c
4260 system-settings/plugins/ifcfg-fedora/plugin.c
4261 system-settings/plugins/ifcfg-suse/plugin.c
4262 system-settings/src/nm-system-config-hal-manager.c
4263 libnm-util/nm-utils.c
4264 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4265 not threadsafe anyway
4267 2008-04-08 Dan Williams <dcbw@redhat.com>
4269 * system-settings/src/main.c
4270 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4271 callbacks take a device type too
4273 2008-04-08 Dan Williams <dcbw@redhat.com>
4275 The system settings service will now create a new default DHCP connection
4276 for wired devices that have no existing applicable connection.
4278 * system-settings/src/nm-system-config-hal-manager.c
4279 system-settings/src/nm-system-config-hal-manager.h
4280 - (nm_system_config_hal_manager_get_type_for_udi): new function
4282 * system-settings/src/dbus-settings.c
4283 system-settings/src/dbus-settings.h
4284 - (nm_sysconfig_settings_get_connections): new function
4285 - (nm_sysconfig_settings_is_device_managed): new function
4287 * system-settings/src/main.c
4288 - (load_stuff): check for wired devices that need a default connection
4289 - (get_details_for_udi): get interface and MAC address from HAL
4290 - (add_default_dhcp_connection): add a default connection for a wired
4292 - (device_added_cb, device_removed_cb): do the right thing with
4293 wired devices and their default connections on HAL device events
4295 2008-04-07 Dan Williams <dcbw@redhat.com>
4297 * libnm-glib/nm-device.c
4298 libnm-glib/nm-device.h
4299 - Proxy the 'managed' property
4301 2008-04-07 Dan Williams <dcbw@redhat.com>
4303 * src/nm-gsm-device.c
4304 src/nm-cdma-device.c
4305 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4306 handler to transition to DISCONNECTED
4308 2008-04-07 Dan Williams <dcbw@redhat.com>
4310 Patch from Bill Nottingham
4312 * dispatcher-daemon/NetworkManagerDispatcher.c
4313 - ignore backup/packaging crufy (rh #440143)
4315 2008-04-07 Dan Williams <dcbw@redhat.com>
4317 * include/NetworkManager.h
4318 - Remove the DOWN and CANCELLED device states
4319 - Add UNMANAGED and UNAVAILABLE device states
4320 - Document the device states
4322 * introspection/nm-device.xml
4323 src/nm-device-interface.c
4324 src/nm-device-interface.h
4325 - Add the 'managed' property
4328 - (detail_device): print out device state
4330 * src/NetworkManagerSystem.h
4331 src/backends/NetworkManagerArch.c
4332 src/backends/NetworkManagerDebian.c
4333 src/backends/NetworkManagerFrugalware.c
4334 src/backends/NetworkManagerGentoo.c
4335 src/backends/NetworkManagerMandriva.c
4336 src/backends/NetworkManagerPaldo.c
4337 src/backends/NetworkManagerRedHat.c
4338 src/backends/NetworkManagerSlackware.c
4339 src/backends/NetworkManagerSuSE.c
4340 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4341 nm_system_device_free_system_config): remove; they were unused and
4342 their functionality should be re-implemented in each distro's
4343 system settings service plugin
4345 * src/nm-gsm-device.c
4347 src/nm-cdma-device.c
4348 src/nm-cdma-device.h
4349 - (*_new): take the 'managed' argument
4352 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4353 - (nm_device_init): start in unmanaged state, not disconnected
4354 - (constructor): don't start device until the system settings service
4355 has had a chance to figure out if the device is managed or not
4356 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4357 don't set device state here, let callers handle that as appropriate
4358 - (nm_device_dispose): don't touch the device if it's not managed
4359 - (set_property, get_property, nm_device_class_init): implement the
4361 - (nm_device_state_changed): bring the device up if its now managed,
4362 and deactivate it if it used to be active
4363 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4364 with the managed state
4366 * src/nm-hal-manager.c
4367 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4368 take initial managed state and pass it along to device constructors
4369 - (create_device_and_add_to_list): get managed state and pass to
4372 * src/nm-device-802-11-wireless.c
4373 - (real_can_activate): fold in most of
4374 nm_device_802_11_wireless_can_activate()
4375 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4376 - (link_timeout_cb): instead of deactivating, change device state and
4377 let the device state handler to it
4378 - (real_update_hw_address): clean up
4379 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4380 handler to transition to DISCONNECTED if the device isn't rfkilled
4382 * src/nm-device-802-3-ethernet.c
4383 - (set_carrier): move above callers and get rid of prototype
4384 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4385 idle handler to transition to DISCONNECTED if the device has a
4387 - (real_update_hw_address): clean up
4388 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4389 deactivation directly as deactivation doesn't change state anymore
4391 * src/NetworkManagerPolicy.c
4392 - (schedule_activate_check): yay, remove wireless_enabled hack since
4393 the NMManager and wireless devices work that out themselves now
4394 - (device_state_changed): change to a switch and update for new device
4396 - (device_carrier_changed): remove; device handles this now through
4398 - (device_added): don't care about carrier any more; the initial
4399 activation check will happen when the device transitions to
4403 - (dispose): clear unmanaged devices
4404 - (handle_unmanaged_devices): update unmanaged device list and toggle
4405 the managed property on each device when needed
4406 - (system_settings_properties_changed_cb): handle signals from the
4407 system settings service
4408 - (system_settings_get_unmanaged_devices_cb): handle callback from
4409 getting the unmanaged device list method call
4410 - (query_unmanaged_devices): ask the system settings service for its
4411 list of unmanaged devices
4412 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4414 - (manager_set_wireless_enabled): push rfkill state down to wireless
4415 devices directly and let them handle the necessary state transitions
4416 - (manager_device_state_changed): update for new device states
4417 - (nm_manager_add_device): set initial rfkill state on wireless devices
4418 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4419 - (nm_manager_activate_connection): return error if the device is
4421 - (nm_manager_sleep): handle new device states correctly; don't change
4422 the state of unavailable/unmanaged devices
4424 * libnm-glib/nm-device-802-11-wireless.c
4425 - (state_changed_cb): update for new device states
4427 2008-04-07 Dan Williams <dcbw@redhat.com>
4429 * marshallers/nm-marshal.list
4430 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4432 2008-04-07 Dan Williams <dcbw@redhat.com>
4434 * system-settings/src/main.c
4435 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4436 plugins to the dbus settings object
4437 - (load_stuff): start the dbus service after grabbing unmanaged devices
4438 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4439 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4440 - (main): switch default logging to syslog with a 'debug' option to
4441 output to console; start up the HAL manager
4443 2008-04-07 Dan Williams <dcbw@redhat.com>
4445 * introspection/nm-settings-system.xml
4446 introspection/Makefile.am
4447 - Define the unmanaged devices interface for the system settings service
4449 * system-settings/src/nm-system-config-hal-manager.c
4450 system-settings/src/nm-system-config-hal-manager.h
4451 system-settings/src/nm-system-config-hal-manager-private.h
4452 system-settings/src/Makefile.am
4453 - Add a lightweight HAL manager object for tracking network devices for
4454 the purpose of determining unmanaged devices and which devices need
4455 the default DHCP connections
4457 * system-settings/src/nm-system-config-interface.c
4458 system-settings/src/nm-system-config-interface.h
4459 - (nm_system_config_interface_init): add the HAL manager as an argument
4460 - (nm_system_config_interface_get_unmanaged_devices): implement
4461 - Define 'unmanaged-devices-changed' signal
4463 * system-settings/src/dbus-settings.c
4464 system-settings/src/dbus-settings.h
4465 - Implement the unmanaged devices interface; some cleanups
4467 * system-settings/plugins/ifcfg-suse/plugin.c
4468 - Fixup for plugin interface changes
4470 * system-settings/plugins/ifcfg-fedora/plugin.c
4471 - (get_ether_device_udi): new function; find the device that has
4472 a specified MAC address and return its UDI
4473 - (get_udi_for_connection): new function; try to find the specific
4474 device a connection is locked to, if any
4475 - (device_added_cb, device_removed_cb): update unmanaged device list in
4476 response to HAL events
4477 - (get_unmanaged_devices): new function; return unmanaged device list
4478 - (build_one_connection): set the connection's locked device, if any
4479 - (write_auto_wired_connection): remove
4480 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4481 - (handle_connection_changed): alert listeners that the unmanaged device
4483 - (init): fixup for plugin interface changes, implement unmanaged devices
4485 * system-settings/plugins/ifcfg-fedora/parser.c
4486 system-settings/plugins/ifcfg-fedora/parser.h
4487 - (connection_data_free): clean up connection UDI
4489 2008-04-07 Dan Williams <dcbw@redhat.com>
4491 * system-settings/plugins/ifcfg-fedora/parser.c
4492 - (make_ip4_setting): fix parsing of DNS servers
4494 2008-04-05 Dan Williams <dcbw@redhat.com>
4498 marshallers/Makefile.am
4499 marshallers/nm-marshal-main.c
4500 marshallers/nm-marshal.list
4501 - Consolidate marshallers
4503 * libnm-glib/nm-marshal-main.c
4504 libnm-glib/nm-marshal.list
4505 src/marshallers/Makefile.am
4506 src/marshallers/nm-marshal-main.c
4507 src/marshallers/nm-marshal.list
4510 * libnm-glib/Makefile.am
4512 src/dhcp-manager/Makefile.am
4513 src/ppp-manager/Makefile.am
4514 src/supplicant-manager/Makefile.am
4515 src/vpn-manager/Makefile.am
4516 - Use consolidated marshallers
4518 2008-04-04 Dan Williams <dcbw@redhat.com>
4520 * src/nm-hal-manager.c
4521 src/nm-hal-manager.h
4522 - (hal_init): don't look for hardware here
4523 - (nm_hal_manager_start): new function; look for hardware here instead,
4524 which can be done at a later time than hal_init()
4526 * src/NetworkManager.c
4527 - (main): start HAL manager after entering the main loop
4529 2008-04-03 Dan Williams <dcbw@redhat.com>
4531 * libnm-glib/nm-settings.c
4532 libnm-glib/nm-settings.h
4533 - (nm_exported_connection_get_id): new function
4534 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4536 2008-04-02 Dan Williams <dcbw@redhat.com>
4538 * src/nm-device-interface.c
4539 src/nm-device-interface.h
4542 - Rename check_connection_conflicts() to check_connection_compatible()
4544 * src/nm-device-802-11-wireless.c
4545 - (real_check_connection_conflicts): remove
4546 - (real_check_connection_compatible): implement; match MAC address
4548 * src/nm-device-802-3-ethernet.c
4549 - (real_check_connection_conflicts): remove
4550 - (real_check_connection_compatible): implement; match MAC address
4551 - (real_get_best_auto_connection): correctly handle PPPoE cases
4554 - (check_connection_allowed): remove; unused until PolicyKit integration
4555 - (internal_activate_device): check whether the connection is compatible
4556 with the device before trying to activate it
4558 2008-04-02 Dan Williams <dcbw@redhat.com>
4560 * system-settings/plugins/ifcfg-fedora/parser.c
4561 - (read_mac_address): new function; read in MAC address and stuff it
4563 - (add_one_wep_key): remove debug spew
4564 - (make_wireless_security_setting): validate the default TX key; don't
4565 add the wireless-security setting if the connection doesn't need
4566 security; don't leak the keys shvarFile on error cases
4567 - (make_wireless_setting, make_wired_setting): populate device's MAC
4570 2008-04-02 Dan Williams <dcbw@redhat.com>
4572 * libnm-util/nm-setting-connection.c
4573 libnm-util/nm-setting-connection.h
4574 - (set_property, get_property, nm_setting_connection_class_init): remove
4575 the 'lockdown' property; it's functionality will be replaced by
4578 2008-04-01 Dan Williams <dcbw@redhat.com>
4580 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4583 initscript/Makefile.am
4584 initscript/Mandriva/Makefile.am
4585 initscript/Mandriva/networkmanager.in
4586 initscript/Mandriva/networkmanagerdispatcher.in
4587 src/backends/Makefile.am
4588 src/backends/NetworkManagerMandriva.c
4589 system-settings/plugins/Makefile.am
4590 - Add Mandriva support
4592 2008-03-31 Dan Williams <dcbw@redhat.com>
4594 * src/vpn-manager/nm-vpn-service.c
4595 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4596 errors can be passed back to the caller; also no longer scheduled
4597 as an idle handler, but called directly; and bump up VPN service
4598 spawn timeout, 2s is really short
4599 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4600 but call it directly so that errors are reported on return from
4601 ActivateConnection() and don't get lost. If scheduled as an idle
4602 handler, clients don't have the time to query NM for the new VPN
4603 connection's properties before the VPN connection is torn down again
4604 if the service couldn't be launched, and therefore launch errors
4607 2008-03-31 Dan Williams <dcbw@redhat.com>
4609 * src/vpn-manager/nm-vpn-connection.c
4610 - (device_state_changed): send correct state on device failure too
4611 - (plugin_state_changed): failed state means unexpected disconnection,
4612 thus if the service goes away while the VPN connection is activated
4613 that's a failure too
4615 2008-03-31 Dan Williams <dcbw@redhat.com>
4617 * src/vpn-manager/nm-vpn-manager.c
4618 src/vpn-manager/nm-vpn-manager.h
4619 - Make VPNManager errors more available; add a service-start-failed error
4621 2008-03-31 Dan Williams <dcbw@redhat.com>
4623 * libnm-glib/nm-client.c
4624 libnm-glib/nm-client.h
4625 - (activate_cb): pass the new active connection to callback; fix
4626 message when no callback is specified
4628 2008-03-30 Dan Williams <dcbw@redhat.com>
4630 * libnm-util/nm-setting-wireless-security.c
4631 - (need_secrets): only require key0 if the transmit key index is also
4633 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4635 2008-03-29 Dan Williams <dcbw@redhat.com>
4637 * libnm-util/nm-setting-8021x.c
4638 libnm-util/nm-setting-ip4-config.c
4639 libnm-util/nm-setting-vpn-properties.c
4640 libnm-util/nm-setting-vpn.c
4641 libnm-util/nm-setting-wireless-security.c
4642 libnm-util/nm-setting-wireless.c
4643 libnm-util/nm-utils.c
4644 src/dhcp-manager/nm-dhcp-manager.c
4645 src/nm-activation-request.c
4648 src/nm-properties-changed-signal.c
4649 src/ppp-manager/nm-pppd-plugin.c
4650 src/supplicant-manager/nm-supplicant-interface.c
4651 src/vpn-manager/nm-vpn-connection.c
4652 - consistently use nm-dbus-glib-types.h
4654 2008-03-29 Dan Williams <dcbw@redhat.com>
4656 * src/vpn-manager/nm-vpn-connection.c
4657 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4660 * src/nm-activation-request.c
4661 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4664 2008-03-29 Dan Williams <dcbw@redhat.com>
4666 * libnm-glib/nm-device-802-11-wireless.c
4667 - (access_point_added_proxy): create new APs if not found
4669 2008-03-29 Dan Williams <dcbw@redhat.com>
4671 * libnm-glib/nm-client.c
4672 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4675 2008-03-29 Dan Williams <dcbw@redhat.com>
4677 * system-settings/plugins/ifcfg-fedora/parser.c
4678 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4679 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4681 2008-03-29 Dan Williams <dcbw@redhat.com>
4683 * system-settings/plugins/ifcfg-fedora/parser.c
4684 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4686 2008-03-27 Dan Williams <dcbw@redhat.com>
4689 - (nm_object_queue_notify): don't notify multiple times for the same
4692 * nm-object-private.h
4693 - (handle_ptr_array_return): return NULL if the given array is NULL or
4694 if it has zero elements
4697 - (finalize): use g_ptr_array_foreach() when freeing domains
4698 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4700 * nm-active-connection.c
4701 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4703 * nm-device-802-11-wireless.c
4704 nm-device-802-11-wireless.h
4705 - (nm_device_802_11_wireless_get_access_points): return const; use
4706 handle_ptr_array_return()
4709 - (nm_object_array_demarshal): always create an array, even of length
4710 zero, to distinguish between "NM returned no items" and "haven't
4714 - (dispose): free active connections too
4715 - (proxy_name_owner_changed): free active connections too when NM goes
4717 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4718 - (nm_client_get_active_connections): use handle_ptr_array_return()
4720 2008-03-26 Dan Williams <dcbw@redhat.com>
4722 Rework VPN connection handling for a more consistent D-Bus API. The
4723 VPNManager object has been removed, and active VPN connections are now the
4724 same as any other active connection. The Manager object's ActivateConnection
4725 and DeactivateConnection methods are used to start and stop a VPN connection,
4726 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4727 When activating a VPN connection, pass the path of the active connection
4728 to which the VPN connection is tied in the 'specific_object' argument.
4730 Consequently, the libnm-glib API has been reworked to match this arrangement,
4731 with the VPNManager object removed, and the NMVPNConnection objects now
4732 being subclasses of NMActiveConnection.
4734 2008-03-25 Dan Williams <dcbw@redhat.com>
4736 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4738 * initscript/Arch/networkmanager.in
4739 initscript/Arch/networkmanager-dispatcher.in
4740 - Updates for Arch Linux (gnome.org #523701)
4742 2008-03-25 Dan Williams <dcbw@redhat.com>
4744 * libnm-glib/nm-ip4-config.c
4745 libnm-glib/nm-active-connection.c
4746 libnm-glib/nm-access-point.c
4747 - Use nm_object_queue_notify() instead of g_object_notify()
4749 * libnm-glib/nm-device.c
4750 - (demarshal_ip4_config): distinguish between successful but missing
4751 ip4-config request, and unsuccessful and missing ip4-config request
4752 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4754 - Use nm_object_queue_notify() instead of g_object_notify()
4756 * libnm-glib/nm-device-802-11-wireless.c
4757 - (demarshal_active_ap): distinguish between successfull but missing
4758 active-ap request, and unsuccessful and missing active-ap request
4759 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4761 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4762 for the NMClient to notify the device that wireless is disabled,
4763 and therefore to clear the AP list and active AP
4764 - Use nm_object_queue_notify() instead of g_object_notify()
4766 * libnm-glib/nm-client.c
4767 - (poke_wireless_devices_with_rf_status): new function
4768 - (update_wireless_status): notify wireless devices of the rfkill status
4769 so they can clean up if needed
4770 - Use nm_object_queue_notify() instead of g_object_notify()
4772 2008-03-25 Dan Williams <dcbw@redhat.com>
4774 * libnm-glib/nm-object.c
4775 libnm-glib/nm-object-private.h
4776 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4777 signals to an idle handler
4778 - (nm_object_get_property): add a timeout to the D-Bus method call
4780 2008-03-25 Dan Williams <dcbw@redhat.com>
4782 * introspection/nm-device-cdma.xml
4783 introspection/nm-device-gsm.xml
4784 introspection/Makefile.am
4785 introspection/all.xml
4786 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4788 * src/nm-gsm-device.h
4790 src/nm-cdma-device.h
4791 src/nm-cdma-device.c
4793 - Implement PropertiesChanged signals
4795 * libnm-glib/nm-cdma-device.c
4796 libnm-glib/nm-cdma-device.c
4797 - Attach to PropertiesChanged signals
4799 2008-03-24 Dan Williams <dcbw@redhat.com>
4801 * libnm-glib/nm-client.c
4802 - (client_device_added_proxy): add new devices to the internal device
4803 list so they appear to clients
4805 2008-03-24 Dan Williams <dcbw@redhat.com>
4807 Massive fixup of libnm-glib to:
4808 a) have all objects (with the exception of VPN) cache their properties and
4809 update them asynchronously on PropertiesChanged signals from NM
4810 b) return internal const data for most attributes/properties instead of
4811 allocated values that the caller must free
4812 c) cache wrapped objects such that a given D-Bus path will always map to the
4813 same GObject returned by libnm-glib
4814 d) remove a few signals and move them to GObject property notifications
4815 e) match recent NM D-Bus API changes for activation/deactivation
4816 f) remove some private functions from libnm-glib headers
4818 2008-03-20 Dan Williams <dcbw@redhat.com>
4821 - (nm_manager_update_state, manager_device_state_changed,
4822 nm_manager_activate_device, connection_added_default_handler,
4823 impl_manager_activate_connection, impl_manager_deactivate_connection):
4824 queue PropertyChanged singals when the active connections change
4826 2008-03-20 Dan Williams <dcbw@redhat.com>
4828 * introspection/nm-manager.xml
4829 introspection/nm-manager-client.xml
4830 - (ActivateConnection): return the object path of the active connection
4832 - (GetActiveConnections): remove
4833 - (DeactivateConnection): new function; deactivate a currently active
4835 - Add an ActiveConnections property which returns an array of
4836 active connection object paths
4838 * introspection/nm-device.xml
4839 - (Deactivate): remove
4841 * introspection/all.xml
4842 - Add ActiveConnection introspection
4844 * introspection/nm-active-connection.xml
4845 - Add the ActiveConnection object
4847 * include/NetworkManager.h
4848 - Add the Connection.Active D-Bus interface
4850 * src/nm-device-interface.c
4851 - (impl_device_deactivate): remove
4853 * src/nm-activation-request.c
4854 src/nm-activation-request.c
4856 - Implement the Connection.Active D-Bus interface
4859 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4860 - (nm_manager_activate_device): return the active connection path
4861 - (connection_added_default_handler, impl_manager_activate_connection):
4862 return the active connection to the caller
4863 - (add_one_connection_element, impl_manager_get_active_connections):
4865 - (impl_manager_deactivate_connection): new function; deactivate an
4868 * libnm-glib/nm-device.c
4869 libnm-glib/nm-device.h
4870 - Remove Deactivate() function
4872 2008-03-19 Dan Williams <dcbw@redhat.com>
4874 * introspection/nm-manager.xml
4875 introspection/nm-manager-client.xml
4876 - Rename the ActivateDevice method to ActivateConnection to better
4877 reflect it's usage; it's arguments get reordered a bit too
4878 - Convert GetActiveConnections method return from a struct to a dict
4880 * include/NetworkManager.h
4881 - Define the dict keys for return value of GetActiveConnections
4884 - impl_manager_activate_device -> impl_manager_activate_connection
4885 - (add_one_connection_element): return a populated hash table, not
4888 * libnm-glib/nm-client.c
4889 libnm-glib/nm-client.h
4890 - nm_client_activate_device -> nm_client_activate_connection
4891 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4892 - (nm_client_get_active_connections): return a GSList of GHashTables,
4893 instead of the custom structures. Each element of the returned list
4894 must be freed with nm_client_free_active_connections_element()
4896 2008-03-18 Dan Williams <dcbw@redhat.com>
4898 * system-settings/plugins/ifcfg-fedora/parser.c
4899 system-settings/plugins/ifcfg-fedora/parser.h
4900 system-settings/plugins/ifcfg-fedora/plugin.c
4901 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4902 profiles. DNS servers and searches must now be stored in the ifcfg
4905 2008-03-18 Tambet Ingo <tambet@gmail.com>
4907 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4908 print out username and password, it's supposed to be a secret.
4910 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4911 request and set the device state accordingly.
4913 2008-03-18 Tambet Ingo <tambet@gmail.com>
4915 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4917 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4919 2008-03-18 Dan Williams <dcbw@redhat.com>
4921 * src/vpn-manager/nm-vpn-connection.c
4922 - (get_secrets_cb): handle new GetSecrets return format
4924 2008-03-18 Dan Williams <dcbw@redhat.com>
4926 Adapt system settings service for split 802.1x.
4928 * system-settings/src/nm-system-config-interface.h
4929 - clarify return value of get_secrets()
4931 * system-settings/src/dbus-settings.c
4932 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4933 - (check_for_secrets): check if there actually secrets returned by a
4935 - (exported_connection_get_secrets): just return the plugin-returned
4936 hash of settings' secrets if it looks valid
4938 * system-settings/plugins/ifcfg-fedora/plugin.c
4939 - (get_secrets): add split secrets with correct format to reply hash
4941 * system-settings/plugins/ifcfg-fedora/parser.c
4942 system-settings/plugins/ifcfg-fedora/parser.h
4943 - (copy_one_cdata_secret, connection_data_copy_secrets,
4944 connection_data_free, connection_data_add): keep secrets for
4945 different settings in different hashes
4947 2008-03-17 Tambet Ingo <tambet@gmail.com>
4949 Clean up activating device deactivation.
4951 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4952 should be done whether the device activation gets cancelled or the device
4953 is just getting deactivated.
4954 (nm_device_activation_cancel): Remove.
4955 (nm_device_deactivate_quickly): Handle the case where device is activating.
4957 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4958 It does the exact same thing as real_deactivate_quickly().
4960 2008-03-17 Dan Williams <dcbw@redhat.com>
4962 Split the 802.1x bits out of the wireless-security setting so they are
4963 generalized enough for wired 802.1x to use too.
4965 * introspection/nm-exported-connection.xml
4966 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4967 of just a hash of the secrets for one setting
4969 * libnm-util/nm-setting-wireless-security.c
4970 libnm-util/nm-setting-wireless-security.h
4971 - Remove 802.1x-specific stuff
4972 - Added leap-username and leap-password properties for old-school LEAP
4976 - (connection_secrets_updated_cb): take a list of updated settings names,
4979 * src/supplicant-manager/nm-supplicant-config.c
4980 src/supplicant-manager/nm-supplicant-config.h
4981 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4982 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4983 to nm_supplicant_config_add_setting_8021x()
4984 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4985 the supplicant config
4987 * src/nm-device-802-11-wireless.c
4988 - (build_supplicant_config): pass in the 802.1x setting too, if any
4989 - (real_connection_secrets_updated): take a list of updated settings
4992 * src/nm-device-802-3-ethernet.c
4993 src/nm-cdma-device.c
4995 - (real_connection_secrets_updated_cb): take a list of updated settings
4998 * src/nm-activation-request.c
4999 src/nm-activation-request.h
5000 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
5001 now passes a list of updated settings names, not just one
5002 - (update_one_setting): new function; handle one updated setting
5003 - (get_secrets_cb): handle multiple settings returned from the
5004 settings service; have to be careful of ordering here as there are
5005 some dependencies between settings (ex. wireless-security and 802.1x
5008 * src/marshallers/nm-marshal.list
5009 - new marshaller for connection-secrets-updated signal
5011 * libnm-util/nm-setting-8021x.c
5012 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
5014 - (verify): a valid 'eap' property is now required
5016 * libnm-util/nm-connection.c
5017 - (register_default_settings): add priorities to settings; there are
5018 some dependencies between settings, and during the need_secrets
5019 calls this priority needs to be respected. For example, only the
5020 wireless-security setting knows whether or not the connection is
5021 going to use 802.1x or now, so it must be asked for secrets before
5022 any existing 802.1x setting is
5023 - (nm_connection_lookup_setting_type): expose
5025 * libnm-util/nm-setting-wireless.c
5026 - (verify): should verify even if all_settings is NULL; otherwise won't
5027 catch the case where there is missing security
5029 * libnm-util/nm-setting-wireless-security.c
5030 - Remove everything to do with 802.1x
5031 - Add old-school LEAP specific properties for username and password
5032 - (need_secrets): rework LEAP secrets checking
5033 - (verify): rework for LEAP and 802.1x verification
5035 2008-03-17 Dan Williams <dcbw@redhat.com>
5037 * src/NetworkManagerPolicy.c
5038 - (auto_activate_device): always remove the current activation check
5039 from the pending activation list, otherwise when the policy gets
5040 destroyed on NM exit it will attempt to free the already freed
5043 2008-03-14 Tambet Ingo <tambet@gmail.com>
5045 * src/backends/NetworkManagerSlackware.c
5046 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5048 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5050 2008-03-14 Dan Williams <dcbw@redhat.com>
5053 - (nm_device_interface_get_iface): g_object_get() will return an
5054 allocated value, so this function must not return const
5055 - (nm_device_interface_activate): free returned iface
5057 2008-03-14 Tambet Ingo <tambet@gmail.com>
5059 * libnm-util/Makefile.am: Add new files to build.
5061 * libnm-util/nm-connection.c: Register NMSetting8021x.
5063 * libnm-util/nm-setting-8021x.c
5064 * libnm-util/nm-setting-8021x.h: Implement.
5066 2008-03-14 Tambet Ingo <tambet@gmail.com>
5068 * libnm-util/Makefile.am: Add new files to build.
5070 * libnm-util/nm-connection.c: Register NMSetting8021x.
5072 * libnm-util/nm-setting-8021x.c
5073 * libnm-util/nm-setting-8021x.h: Implement.
5075 2008-03-14 Tambet Ingo <tambet@gmail.com>
5077 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5080 2008-03-14 Dan Williams <dcbw@redhat.com>
5082 * include/wireless-helper.h
5084 - One place for all the junk needed for #including wireless.h
5087 src/NetworkManagerAP.c
5090 libnm-util/nm-utils.c
5091 libnm-util/nm-setting-wireless.c
5092 libnm-glib/nm-device-802-11-wireless.c
5093 libnm-glib/nm-access-point.c
5094 libnm-glib/libnm-glib-test.c
5095 - include wireless-helper.h, not iwlib.h
5098 - Don't need libiw really, just need to check for wireless.h
5100 * src/kernel-types.h
5101 - Remove; used types moved into wpa.c
5103 * src/nm-device-802-11-wireless.c
5104 - (nm_device_802_11_wireless_update_signal_strength,
5105 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5106 nm_device_802_11_wireless_set_mode,
5107 nm_device_802_11_wireless_get_frequency,
5108 nm_device_802_11_wireless_get_ssid,
5109 nm_device_802_11_wireless_set_ssid,
5110 nm_device_802_11_wireless_get_bitrate,
5111 nm_device_802_11_wireless_get_bssid,
5112 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5113 instead of iwlib functions
5115 2008-03-14 Dan Williams <dcbw@redhat.com>
5117 * src/ppp-manager/nm-ppp-manager.c
5118 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5119 should only take the DBusGMethodInvocation argument, not user/pass
5120 too. With dbus-glib, async functions only take 2 C arguments since
5121 the real dbus method arguments get passed back with
5122 dbus_g_method_return()
5124 2008-03-13 Tambet Ingo <tambet@gmail.com>
5126 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5127 Adapt the changes of NMSettingIP4Config.
5129 2008-03-13 Dan Williams <dcbw@redhat.com>
5131 * src/NetworkManagerUtils.c
5132 src/NetworkManagerUtils.h
5133 - (nm_ether_ntop): replacement for iw_ether_ntop()
5135 * src/NetworkManagerAP.c
5136 src/nm-device-802-11-wireless.c
5137 src/nm-device-802-3-ethernet.c
5138 - s/iw_ether_ntop/nm_ether_ntop/g
5140 2008-03-13 Dan Williams <dcbw@redhat.com>
5142 * src/NetworkManagerPolicy.c
5143 - (update_routing_and_dns): never set the default route through an
5144 IPv4LL addressed device
5146 2008-03-13 Dan Williams <dcbw@redhat.com>
5148 * NetworkManagerUtils.c
5149 NetworkManagerUtils.h
5150 - Remove NMSock stuff
5151 - Remove the completion stuff
5156 NetworkManagerSystem.c
5158 nm-device-802-11-wireless.c
5159 nm-device-802-3-ethernet.c
5160 - Remove NMSock and completion stuff
5161 - Remove nm_ioctl_info()
5163 2008-03-12 Dan Williams <dcbw@redhat.com>
5166 - (merge_ip4_config): avoid duplicates
5168 2008-03-12 Dan Williams <dcbw@redhat.com>
5170 * libnm-util/nm-setting-ip4-config.c
5171 libnm-util/nm-setting-ip4-config.h
5172 - Remove 'manual' and 'autoip' properties
5173 - Add 'method' property
5174 - (verify): fix verification with 'method'
5175 - (finalize): free 'method'
5176 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5180 - (real_act_stage3_ip_config_start): check IP4Config method
5181 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5183 - (merge_ip4_config): IP settings are valid with DHCP too
5184 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5185 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5187 * src/nm-device-802-11-wireless.c
5188 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5189 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5192 * system-settings/plugins/ifcfg-fedora/parser.c
5193 system-settings/plugins/ifcfg-suse/parser.c
5194 - (make_ip4_setting): fix up for 'method'
5196 2008-03-12 Dan Williams <dcbw@redhat.com>
5198 * system-settings/plugins/ifcfg-fedora/parser.c
5199 system-settings/plugins/ifcfg-fedora/parser.h
5200 - (get_ifcfg_name): ignore more file suffixes
5201 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5203 2008-03-12 Dan Williams <dcbw@redhat.com>
5206 - Bring in the bits of gnome-common we actually use (all 15 lines)
5208 2008-03-12 Dan Williams <dcbw@redhat.com>
5210 * system-settings/plugins/ifcfg-fedora/plugin.c
5211 - (write_auto_wired_connection): new function; write out an auto
5212 wired connection file since the applet isn't doing it any more
5213 - (reload_all_connections): write out the auto wired connection file
5214 if there aren't any wired connections already
5215 - (init): don't leak a GError
5217 2008-03-12 Dan Williams <dcbw@redhat.com>
5219 * src/nm-device-interface.c
5220 - (nm_device_interface_activate): print the ID of the connection
5221 that's about to be activated
5223 2008-03-12 Dan Williams <dcbw@redhat.com>
5225 Harmonize the 802.11 bitrate API
5227 * introspection/nm-access-point.xml
5228 - 'Rate' -> 'MaxBitrate'; clarify units
5230 * introspection/nm-device-802-11-wireless.xml
5231 - Clarify units of 'Bitrate'
5233 * src/NetworkManagerAP.c
5234 src/NetworkManagerAP.h
5235 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5236 property to 'max-bitrate'
5237 - (foreach_property_cb): convert rate to Kb/s
5239 * src/nm-device-802-11-wireless.c
5240 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5242 * libnm-glib/nm-access-point.c
5243 libnm-glib/nm-access-point.h
5244 - 'rate' -> 'max-bitrate'
5247 libnm-glib/libnm-glib-test.c
5248 - Fix up for these changes
5250 2008-03-12 Dan Williams <dcbw@redhat.com>
5253 - (nm_device_set_ip4_config): don't send property notifications when
5254 the ip4 config is set to NULL; it causes a PropertyChanged signal
5255 which dbus-glib can't parse because the value is NULL, which isn't
5256 a legal object path. Setting the IP4 config to NULL is only
5257 valid when deactivating a device anyway, so the device state change
5258 will alert listeners that the ip4 config is invalid.
5260 2008-03-12 Dan Williams <dcbw@redhat.com>
5262 * src/nm-properties-changed-signal.c
5263 - (add_to_string): better handling of NULL objects
5265 2008-03-12 Dan Williams <dcbw@redhat.com>
5267 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5268 convert the libnm-glib NMDevice8023Ethernet to cached properties
5270 * introspection/nm-device-802-3-ethernet.xml
5271 - New 'Carrier' property
5272 - New 'PropertiesChanged' signal
5274 * introspection/nm-device.xml
5275 - Remove 'Carrier' property
5276 - Remove 'CarrierChanged' signal
5278 * src/nm-device-interface.c
5279 src/nm-device-interface.h
5280 - (nm_device_interface_init): remove 'carrier' property and
5281 'carrier-changed' signal
5285 - (nm_device_get_carrier, nm_device_set_carrier): remove
5286 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5287 the link here; wired device will handle that
5288 - (handle_dhcp_lease_change): don't bother updating link here
5289 - (get_property, nm_device_class_init): remove carrier property
5291 * src/nm-device-802-11-wireless.c
5292 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5293 real_update_link(); wireless devices don't use carrier at all
5294 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5295 supplicant_iface_connection_state_cb_handler,
5296 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5298 * src/nm-device-802-3-ethernet.c
5299 src/nm-device-802-3-ethernet.h
5300 - (nm_device_802_3_ethernet_carrier_on,
5301 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5302 instead of nm_device_set_carrier()
5303 - (device_state_changed): update link from sysfs on activation;
5304 replaces real_update_link()
5305 - (real_update_link): remove, replaced by device_state_changed()
5306 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5307 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5308 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5309 new get_carrier function
5310 - (get_property): add 'carrier' property
5311 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5312 hook into property-changed signal helper
5314 * src/NetworkManagerPolicy.c
5315 - (device_carrier_changed): will only ever be called with a wired device
5316 - (device_added): only hook up to carrier-changed for wired devices
5318 * libnm-glib/nm-device.c
5319 libnm-glib/nm-device.h
5320 - (constructor, nm_device_class_init): remove carrier-changed signal
5321 - (device_carrier_changed_proxy): remove; unused
5322 - (nm_device_get_carrier): remove; carrier a property of wired devices
5324 * libnm-glib/nm-device-802-3-ethernet.c
5325 libnm-glib/nm-device-802-3-ethernet.h
5326 - Convert to cached properties like AP and Wireless objects
5327 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5328 instead of a 'char *', return value should not be freed
5329 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5330 - (constructor): hook into properties-changed helper
5331 - (set_property, get_property): new functions
5332 - (nm_device_802_3_ethernet_class_init): export GObject properties
5335 - (detail_device): strdup the wired hardware address too since it's
5338 * libnm-glib/libnm-glib-test.c
5339 - (dump_wired): strdup the wired hardware address too since it's
5342 2008-03-12 Dan Williams <dcbw@redhat.com>
5344 * libnm-util/nm-setting-ip4-config.c
5345 libnm-util/nm-setting-ip4-config.h
5346 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5347 the 'autoip' property from the spec
5349 2008-03-11 Dan Williams <dcbw@redhat.com>
5351 * src/backends/NetworkManagerGeneric.c
5352 src/backends/NetworkManagerGeneric.h
5353 - (nm_generic_device_get_use_dhcp): remove
5355 2008-03-11 Dan Williams <dcbw@redhat.com>
5358 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5359 already in nm_device_set_ip4_config()
5360 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5361 due to a DHCP rebind fails
5362 - (nm_device_set_ip4_config): send property notifications when the
5364 - (get_property): only report IP4Config property during valid states
5366 * src/NetworkManagerPolicy.c
5367 - (update_routing_and_dns): ignore devices that don't have an ip4
5368 config; add parameter 'force_update' to allow callers to specify
5369 that changes should be made even if the default device doesn't change
5370 - (device_ip4_config_changed): update DNS and routing when the device's
5371 IP4Config changes, like for DHCP updates
5372 - (device_added): listen for ip4-config property changes
5374 2008-03-11 Dan Williams <dcbw@redhat.com>
5376 Fix address handling as a result of DHCP rebind/renew/reboot.
5378 * src/NetworkManagerSystem.c
5379 - (check_one_address): delete an address if it doesn't match a given
5380 one for the same interface
5381 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5382 be smarter about flushing addresses (only flush ones that don't
5383 match the one we're about to apply)
5385 * src/backends/NetworkManagerDebian.c
5386 src/backends/NetworkManagerSuSE.c
5387 src/backends/NetworkManagerArch.c
5388 src/backends/NetworkManagerSlackware.c
5389 src/backends/NetworkManagerRedHat.c
5390 src/backends/NetworkManagerPaldo.c
5391 src/backends/NetworkManagerFrugalware.c
5392 src/backends/NetworkManagerGentoo.c
5393 - (nm_system_delete_default_route): remove
5395 * src/backends/NetworkManagerGeneric.c
5396 src/backends/NetworkManagerGeneric.h
5397 - (nm_generic_enable_loopback): fix the loopback device label
5398 - (nm_generic_delete_default_route): remove; no longer used
5400 2008-03-11 Dan Williams <dcbw@redhat.com>
5402 * src/nm-device-interface.h
5403 - Delimit property name words with '-', otherwise g_object_notify()
5404 doesn't work the way we expect
5406 2008-03-11 Tambet Ingo <tambet@gmail.com>
5408 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5410 2008-03-11 Dan Williams <dcbw@redhat.com>
5412 * src/NetworkManagerPolicy.c
5413 - (update_routing_and_dns): don't change anything if the default device
5414 hasn't changed; print something out when switching the default route
5417 2008-03-10 Tambet Ingo <tambet@gmail.com>
5421 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5422 setting. Use "nic-$eth".
5424 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5425 the device is activating here to fix a race condition.
5427 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5429 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5430 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5431 (nm_ppp_manager_start): Take activation request instead of connection, we might
5432 need it for asking secrets.
5433 (nm_ppp_manager_update_secrets): Implement.
5435 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5436 ppp manager start. It might be needed for asking secrets.
5438 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5439 (ppp_state_changed): Handle pppd daemon disappearing.
5440 (pppoe_stage2_config): Send activation request to ppp manager start.
5442 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5444 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5445 username and password.
5447 2008-03-10 Dan Williams <dcbw@redhat.com>
5450 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5451 response to a DHCP lease change
5452 - (dhcp_state_changed): handle DHCP lease changes while activated
5453 - (nm_device_set_ip4_config): remove a previously set named config
5454 when setting an ip4 config
5456 2008-03-10 Dan Williams <dcbw@redhat.com>
5458 * src/nm-serial-device.c
5459 - (nm_serial_device_send_command): report errno on error
5460 - (get_reply_got_data): limit the size of the overall buffer
5461 - (wait_for_reply_info_destroy): destroy result string
5462 - (wait_for_reply_got_data): append received data to an overall buffer
5463 until timeout, filled buffer, or error instead of keeping a per-call
5464 buffer. Some devices send data slowly enough that this function
5465 gets called multiple times for the same command stream.
5466 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5467 wait_for_reply_got_data() here
5469 2008-03-10 Dan Williams <dcbw@redhat.com>
5471 * src/nm-cdma-device.c
5472 - (do_dial, init_modem): handle errors from
5473 nm_serial_device_send_command_string()
5475 * src/nm-gsm-device.c
5476 - (do_dial, manual_registration, automatic_registration_get_network,
5477 automatic_registration, enter_pin, check_pin, init_modem): handle
5478 errors from nm_serial_device_send_command_string()
5480 2008-03-10 Dan Williams <dcbw@redhat.com>
5482 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5484 * src/named-manager/nm-named-manager.c
5485 - (compute_searches): prefer searches before domains
5486 - (compute_domain): new function
5487 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5488 - (merge_one_ip4_config): if there are no searches in the source config,
5489 merge domains of the source config into the target config
5490 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5492 2008-03-10 Dan Williams <dcbw@redhat.com>
5494 * src/nm-serial-device.c
5495 - (get_reply_got_data): clean up indentation, shrink serial buffer
5496 - (wait_for_reply_got_data): try to handle slower serial devices where
5497 the reply is broken up into multiple reads by concatenating replies
5498 together until either an error is received or the search string is
5501 2008-03-10 Dan Williams <dcbw@redhat.com>
5504 - (nm_device_bring_down): deactivate the device if it's activating too,
5505 not just if it's already activated. This makes sure that everything
5506 from an association attempt is cleaned up (like DHCP for example)
5508 2008-03-10 Dan Williams <dcbw@redhat.com>
5510 * src/nm-serial-device.c
5511 - (config_fd): report error from TCSETA
5512 - (nm_serial_device_open): fail when config_fd() fails
5514 2008-03-10 Dan Williams <dcbw@redhat.com>
5516 * src/nm-ip4-config.c
5517 - (nm_ip4_config_init): allocate searches list
5518 - (finalize): free searches list
5520 2008-03-09 Dan Williams <dcbw@redhat.com>
5522 Patch from Bas Zoetekouw <bas@debian.org>
5524 * src/dhcp-manager/nm-dhcp-manager.c
5525 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5527 2008-03-09 Dan Williams <dcbw@redhat.com>
5529 Patch from Bas Zoetekouw <bas@debian.org>
5531 * src/nm-ip4-config.c
5533 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5534 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5535 domains. 'searches' is the correct way to store multiple search
5536 domains, whereas 'domains' is really just supposed to store one
5537 domain. Some sites abuse the DHCP 'domain-name' option to push
5538 search domains to the client.
5539 - (nm_ip4_config_add_domain): group with related functions (my patch)
5541 2008-03-09 Dan Williams <dcbw@redhat.com>
5543 * src/dhcp-manager/nm-dhcp-manager.c
5544 - (dhclient_run): send interface-specific config files to dhclient
5546 2008-03-07 Dan Williams <dcbw@redhat.com>
5548 * system-settings/plugins/ifcfg-fedora/parser.c
5549 - (is_wireless_device): new function; test a device for wireless
5551 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5552 test the device for wireless extensions to determine the type
5554 2008-03-07 Dan Williams <dcbw@redhat.com>
5556 Change manager's StateChange signal to StateChanged for consistency.
5558 * introspection/nm-manager.xml
5559 - Add 'StateChanged' signal
5560 - Move 'StateChange' down to the deprecated section
5562 * src/nm-hal-manager.c
5563 - (nm_hal_manager_new): connect to 'state-changed' instead
5565 * src/NetworkManagerPolicy.c
5566 - (nm_policy_new): connect to 'state-changed' instead
5570 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5571 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5574 * libnm-glib/nm-client.c
5575 libnm-glib/nm-client.h
5576 - (constructor, nm_client_class_init, client_state_changed_proxy):
5577 track and proxy 'state-changed' instead of 'state-change'
5579 2008-03-07 Dan Williams <dcbw@redhat.com>
5581 First pass of multiple active device support. Expect bugs.
5583 * src/nm-ip4-config.c
5585 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5586 there are better ways to do this in the named manager
5590 - (nm_device_can_activate): return whether the device can activate a
5591 connection right now; taking into account things like carrier state
5593 - (nm_device_get_best_auto_connection): renamed from
5594 nm_device_get_best_connection
5595 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5596 device subclasses themselves, so that each device can override the
5597 MTU from it's NMSetting subclass if needed
5598 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5599 in NetworkManagerSystem.c, not here
5601 * src/named-manager/nm-named-manager.c
5602 src/named-manager/nm-named-manager.h
5603 - (nm_named_manager_name_owner_changed,
5604 nm_named_manager_dbus_connection_changed): fix for changes to
5605 rewrite_resolv_conf()
5606 - (compute_nameservers): don't need the NMNamedManager at all, remove
5608 - (merge_one_ip4_config): new function; merge ip4 configs together
5609 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5610 ip4 configs; the VPN config takes precedence, then the best
5611 device config, then the rest of the configs
5612 - (get_domain_for_config): take the NMNamedManager as an argument
5613 to check whether the config is the VPN config
5614 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5615 attribute from ip4 configs
5616 - (add_all_ip4_configs_to_named): add all the configs in priority order
5617 - (remove_ip4_config_from_named): fix for changes to
5618 get_domain_for_config()
5619 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5620 based on its type; callers must pass in the type now
5621 - (get_last_default_domain): remove, unused
5622 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5624 * src/nm-device-802-11-wireless.c
5625 - (real_can_activate): new function
5626 - (real_get_best_auto_connection): renamed from real_get_best_connection
5627 - (real_act_stage4_get_ip4_config): handle MTU override
5629 * src/nm-device-802-3-ethernet.c
5630 - (real_can_activate): new function
5631 - (real_get_best_auto_connection): renamed from real_get_best_connection
5632 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5634 * src/vpn-manager/nm-vpn-connection.c
5635 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5636 attribute on the ip4 config
5638 * src/NetworkManagerPolicy.c
5639 - (nm_policy_auto_get_best_device): remove
5640 - (nm_policy_device_change_check): remove
5641 - (update_default_route): new function; set the default route via
5642 the specified device
5643 - (get_device_priority): new function; return the priority number of
5644 a device type WRT which one should have the default route. Order is
5645 (highest to lowest) wired, wireless, GSM, CDMA.
5646 - (update_routing_and_dns): new function; determine which device should
5647 have the default route, then update the routing table and DNS
5648 - (maybe_auto_activate_device): new function; if a device is now
5649 available for activation, find out what connection it would like to
5651 - (schedule_activate_check): new function; if a device can be activated
5652 now, schedule the activation. Each device may have only one
5653 pending activation at a given time.
5654 - (device_state_changed): if activation was canceled, try again,
5655 possibly with another connection; if the device was activated,
5656 update routing and DNS; if the device was deactivated, try again
5657 with another connection
5658 - (device_carrier_changed): if there is no carrier, deactivate the
5659 device; otherwise schedule an activation check for the device
5660 - (wireless_networks_changed): schedule an activation check for the
5662 - (device_added): keep track of the signal handler IDs so they can
5663 be removed when the device goes away
5664 - (device_removed): remove any signal handlers that might be attached
5665 to the device; update routing and DNS
5666 - (schedule_activate_all): new function
5667 - (connections_added, connection_added, connection_updated): when
5668 connections change, schedule all devices for an activation check
5669 - (connection_removed): when a device is deactivated because its
5670 connection was removed, schedule another activation check for it
5671 - (nm_policy_destroy): destroy pending activations and disconnect
5672 all device signal handlers
5675 - (nm_manager_activate_device): if the device was already actived,
5677 - (deactivate_old_device): remove
5678 - (connection_added_default_handler, impl_manager_activate_device):
5679 don't deactivate other devices when activating this one
5681 * src/backends/NetworkManagerGentoo.c
5682 src/backends/NetworkManagerFrugalware.c
5683 src/backends/NetworkManagerPaldo.c
5684 src/backends/NetworkManagerRedHat.c
5685 src/backends/NetworkManagerSlackware.c
5686 src/backends/NetworkManagerArch.c
5687 src/backends/NetworkManagerSuSE.c
5688 src/backends/NetworkManagerDebian.c
5689 - (nm_system_get_mtu): remove; MTU should be provided through the
5690 distro's system settings service plugin instead
5691 - (nm_system_device_add_default_route_via_device): remove
5692 - (nm_system_device_add_default_route_via_device_with_iface): remove
5693 - (nm_system_device_replace_default_route): new function; call
5694 generic implementation
5696 * src/backends/NetworkManagerGeneric.c
5697 src/backends/NetworkManagerGeneric.h
5698 - (nm_generic_device_add_default_route_via_device,
5699 nm_generic_device_add_default_route_via_device_with_iface): remove
5700 - (nm_generic_device_replace_default_route): replace the default route
5701 with the given route via some gateway
5703 * src/NetworkManagerSystem.c
5704 src/NetworkManagerSystem.h
5705 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5706 to routing and DNS; but set the MTU here
5707 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5708 ip_iface of the active device; use the standard MTU setting function
5709 - (nm_system_set_mtu): remove
5710 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5712 2008-03-07 Tambet Ingo <tambet@gmail.com>
5714 Rework the interaction between ppp manager and pppd plugin. Register a well
5715 known DBUS service in manager and let the plugin call it's methods instead
5716 of listening plugin's signals.
5718 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5719 of emitting signals.
5721 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5723 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5725 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5726 nm_ppp_manager_start().
5728 * introspection/nm-ppp-manager.xml: New file.
5730 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5731 the case correctly where driver is trying to send -1 for the speed, which gets
5732 casted to u16 and thus is always > 0.
5734 2008-03-07 Dan Williams <dcbw@redhat.com>
5736 * src/nm-hal-manager.c
5737 - (nm_get_device_driver_name): use net.originating_device first, fall
5738 back to physical device. HAL has deprecated physical_device.
5740 * libnm-glib/nm-device.c
5741 - (get_product_and_vendor): use net.originating_device first, fall
5742 back to physical device. HAL has deprecated physical_device.
5743 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5745 2008-03-07 Dan Williams <dcbw@redhat.com>
5748 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5749 last commit; fix that
5750 - (get_link_cache): print error string
5752 2008-03-07 Dan Williams <dcbw@redhat.com>
5755 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5756 don't need this hack any more (Benoit Boissinot)
5758 2008-03-06 Dan Williams <dcbw@redhat.com>
5761 - Die gnome-common, die
5763 2008-03-04 Dan Williams <dcbw@redhat.com>
5765 Patch from Michael Biebl <biebl@debian.org>
5767 * NetworkManager.pc.in
5768 - doesn't actually depend on dbus-1
5770 * libnm-util/nm-utils.h
5771 - remove unused #include <dbus/dbus.h>
5773 * libnm-glib/libnm_glib.pc.in
5774 - depends on glib and dbus-glib
5776 2008-03-02 Dan Williams <dcbw@redhat.com>
5778 * src/NetworkManagerPolicy.c
5779 - s/device_state_changed_idle_id/update_state_id/
5781 2008-03-02 Dan Williams <dcbw@redhat.com>
5785 src/nm-device-802-11-wireless.c
5786 src/nm-device-802-3-ethernet.c
5787 src/NetworkManagerPolicy.c
5788 - s/link_active/carrier
5789 - nm_device_set_active_link() -> nm_device_set_carrier()
5790 - nm_device_has_active_link() -> nm_device_get_carrier()
5792 2008-03-02 Dan Williams <dcbw@redhat.com>
5794 * system-settings/plugins/ifcfg-fedora/parser.c
5795 - (make_wireless_setting): fail connection creation on missing SSID
5797 2008-02-29 Dan Williams <dcbw@redhat.com>
5799 * src/NetworkManagerPolicy.c
5800 - (nm_policy_device_change_check): ensure that a previously active
5801 device with a system connection has a link before denying a switch
5802 to a user connection
5804 2008-02-29 Dan Williams <dcbw@redhat.com>
5806 * src/nm-device-802-11-wireless.c
5807 - (link_timeout_cb): try again if scanning; deactivate the device when
5808 activated if the link dies
5809 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5812 2008-02-29 Dan Williams <dcbw@redhat.com>
5814 * src/nm-device-802-11-wireless.c
5815 src/nm-device-802-11-wireless.h
5816 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5817 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5818 - (device_cleanup): reset the scan interval lower when the device
5820 - (can_scan): base decision mostly off device state, not supplicant
5821 interface state since the supplicant interface state isn't a
5822 great indicator of whether the device is active or not
5823 - (request_wireless_scan): clean up; schedule the next scan here
5824 - (schedule_scan): only back the scan interval off if a new scan
5825 actually gets scheduled; and make scan intervals tighter when the
5826 device is disconnected
5827 - (supplicant_iface_state_cb_handler): fold in the bits of
5828 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5830 - (activation_success_handler): reset scan interval to something
5833 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5835 reviewed by: Steev <steev@steev.net>
5838 * src/backends/NetworkManagerGentoo.c:
5839 (nm_system_restart_mdns_responder):
5840 Howl is no longer a supported mDNS provider
5842 2008-02-28 Tambet Ingo <tambet@gmail.com>
5844 Get rid of a bunch of unused distro specific functions.
5846 2008-02-28 Tambet Ingo <tambet@gmail.com>
5848 Implement suse plugin for system settings daemon.
5850 * system-settings/plugins/ifcfg-suse/*: Implement.
5852 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5855 * configure.in: Check (without failing) for gio.
5856 Create ifcfg-suse plugin's Makefile.
5858 2008-02-20 Dan Williams <dcbw@redhat.com>
5860 * libnm-util/nm-connection.c
5861 libnm-util/nm-connection.h
5862 - (nm_connection_compare): accept compare flags and pass them to the
5863 setting compare function
5865 * libnm-util/nm-setting.c
5866 libnm-util/nm-setting.h
5867 - (nm_setting_compare): accept compare flags; ignore properties that are
5870 * libnm-util/nm-setting-connection.c
5871 libnm-util/nm-setting-wireless.c
5872 libnm-util/nm-setting-ppp.c
5873 libnm-util/nm-setting-wired.c
5874 - Mark some setting properties as ignorable when doing a fuzzy compare
5877 - (device_activation_precheck): use exact compare
5879 2008-02-20 Dan Williams <dcbw@redhat.com>
5881 * src/NetworkManagerPolicy.c
5882 - (nm_policy_device_change_check): get scope off the connection, not
5883 using the manager helper
5887 - (get_scope_for_proxy): rename from get_type_for_proxy()
5888 - (connection_get_settings_cb): set scope and path on connection, not
5889 using GObject data items
5890 - (get_connection_for_proxy): don't need to return path, since that
5891 can be gotten from the connection
5892 - (get_connection_for_proxy): get path off the connection, not from
5894 - (connection_removed_cb, connection_updated_cb): don't need to get
5895 path from get_connection_for_proxy(); get scope off the connection
5896 instead of using GObject data items
5897 - (connection_added_default_handler, add_one_connection_element): use
5898 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5899 - (nm_manager_get_connection_dbus_path): remove
5900 - (nm_manager_get_connection_scope): remove
5902 2008-02-20 Dan Williams <dcbw@redhat.com>
5904 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5907 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5908 applet were having to hack this in anyway. Remove the 'path' stuff from
5909 NMExportedConnection
5911 * Internally rename NMConnectionType -> NMConnectionScope
5913 * Provide default implementations of the 'get_id' and 'get_settings' methods
5914 of NMExportedConnection
5916 2008-02-15 Dan Williams <dcbw@redhat.com>
5918 * src/nm-device-802-11-wireless.c
5919 - (device_cleanup): release the AP list here too so that the AP list
5920 doesn't survive across suspend/resume and up/down. There is some
5921 room for optimization, for example blow the list away when the card
5922 brought back up, but only if the device has only been down for a
5925 2008-02-15 Dan Williams <dcbw@redhat.com>
5927 * src/nm-hal-manager.c
5928 - (modem_device_creator): recognize new HAL modem capabilities
5930 2008-02-12 Dan Williams <dcbw@redhat.com>
5932 * system-settings/plugins/ifcfg-fedora/plugin.c
5933 - (watch_path): handle IN_DELETE_SELF too
5934 - (handle_connection_changed): notify when removing a connection
5935 - (stuff_changed): don't warn on unknown inotify watches; handle the
5936 case of a file moving out of the profile directory
5938 2008-02-12 Dan Williams <dcbw@redhat.com>
5940 * system-settings/plugins/ifcfg-fedora/parser.c
5941 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5943 2008-02-12 Dan Williams <dcbw@redhat.com>
5945 * libnm-util/nm-utils.c
5946 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5947 just any empty array
5949 2008-02-12 Dan Williams <dcbw@redhat.com>
5951 * system-settings/src/nm-system-config-interface.c
5952 system-settings/src/nm-system-config-interface.h
5953 - (load_connections): get_connections() should now return an allocated
5954 GSList that the system settings service will free
5956 * system-settings/plugins/ifcfg-fedora/plugin.c
5957 system-settings/plugins/ifcfg-fedora/parser.h
5958 system-settings/plugins/ifcfg-fedora/parser.c
5959 - Fix up inotify issues; handle keys-* files, handle new files appearing
5960 in the profile directory, handle resolv.conf file changes
5962 2008-02-10 Dan Williams <dcbw@redhat.com>
5964 * src/nm-device-802-3-ethernet.c
5965 - (real_bring_up): save the supplicant interface state signal id
5966 - (real_bring_down): disconnect from the supplicant interface state
5969 2008-02-07 Dan Williams <dcbw@redhat.com>
5971 * initscript/RedHat/NetworkManager.in
5972 initscript/RedHat/NetworkManagerDispatcher.in
5973 - Add new-style LSB init headers
5975 2008-02-07 Dan Williams <dcbw@redhat.com>
5977 * system-settings/src/dbus-settings.c
5978 system-settings/src/dbus-settings.h
5979 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5981 - (connection_settings_get_secrets): consolidate error returns into
5982 one place; use the new get_secrets() plugin interface function to
5983 get secrets from the plugin itself rather than using GObject data
5986 * system-settings/src/main.c
5987 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5988 load_connections): keep a private list of the plugin-returned
5989 connections, don't use the plugin's GSList
5991 * system-settings/plugins/ifcfg-fedora/plugin.c
5992 - (watch_path): watch the path, not the filename (duh)
5993 - (reload_all_connections): use the direct hash/equal functions; the
5994 ones for int aren't appropriate here
5995 - (get_secrets, system_config_interface_init): implement the
5996 get_secrets() function
5997 - (build_one_connection, find_connection_by_path): ifcfg file path is
5998 now in the connection's ConnectionData instead of being a GObject
6000 - (handle_profile_item_changed): ifcfg file path is now in the
6001 connection's ConnectionData instead of being a GObject data property;
6002 be sure to copy secrets over from the new connection to the existing
6003 connection when updating the connection's settings
6004 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
6007 * system-settings/plugins/ifcfg-fedora/parser.c
6008 system-settings/plugins/ifcfg-fedora/parser.h
6009 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
6010 connection_data_copy_secrets, connection_data_free,
6011 connection_data_add): new functions; connection data manipulation
6012 - (make_wireless_security_setting): stuff secrets into the
6013 connection data, not as GObject data items; make sure to close
6015 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
6016 connection data to the connection
6018 2008-02-07 Dan Williams <dcbw@redhat.com>
6020 * system-settings/src/nm-system-config-interface.c
6021 system-settings/src/nm-system-config-interface.h
6022 - Add a get_secrets() interface function to retrieve secrets for a
6023 specific setting of a specific connection. Document the interface
6026 2008-02-07 Dan Williams <dcbw@redhat.com>
6028 * src/nm-device-802-11-wireless.c
6029 - (handle_auth_or_fail): new function; consolidate device activation
6030 failure check after a certain number of failures getting secrets
6031 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6032 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6033 the connection if secrets were requested more than a few times
6034 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6035 tries here; otherwise they are cleared before the IP configure
6036 timeout, which happens with open system WEP when key is wrong
6037 - (activation_success_handler): clear wireless secrets tries here too
6039 2008-02-07 Dan Williams <dcbw@redhat.com>
6041 * src/NetworkManagerPolicy.c
6042 - (connection_updated): clear invalid tag when connection gets updated
6043 to allow that connection to be tried again
6044 - (nm_policy_new): save signal ids so they can be disconnected when
6045 the policy is destroyed
6046 - (nm_policy_destroy): stop any in-progress state change idle handler,
6047 and disconnect all signals from the manager object so that none
6048 of the policy functions gets called after the policy is destroyed
6050 2008-02-06 Dan Williams <dcbw@redhat.com>
6053 - (finalize): remove devices a bit earlier; clean up system settings
6055 - (nm_manager_name_owner_changed): clean up system settings poke when
6056 the service appears, and try to restart it if it fails
6057 - (poke_system_settings_daemon_cb): try to get the system settings
6058 service started through D-Bus service activation
6059 - (initial_get_connections): start the system settings daemon if it's
6062 2008-02-05 Dan Williams <dcbw@redhat.com>
6064 * src/supplicant-manager/nm-supplicant-config.c
6065 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6066 broadcast networks too
6068 2008-02-04 Dan Williams <dcbw@redhat.com>
6070 * system-settings/plugins/ifcfg-fedora/parser.c
6071 - (make_wireless_security_setting): fix spelling; unencrypted networks
6072 need key_mgmt set too
6073 - (parser_parse_file): validate ifcfg file name and don't try to parse
6074 .bak files; ensure that an error is set whenever NULL gets returned
6076 2008-02-04 Dan Williams <dcbw@redhat.com>
6078 * system-settings/src/Makefile.am
6079 - Install D-Bus service activation file for the system settings
6082 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6083 - D-Bus service activation file for system settings service
6085 2008-02-04 Dan Williams <dcbw@redhat.com>
6087 * system-settings/src/main.c
6088 - (parse_config_file): parse a config file
6089 - (main): accept --config option and read plugins from config file
6091 2008-02-04 Dan Williams <dcbw@redhat.com>
6093 * system-settings/plugins/ifcfg-fedora/plugin.c
6094 - Change reported name to 'ifcfg-fedora'
6095 - Use IFCFG_PLUGIN_NAME
6097 * system-settings/plugins/ifcfg-fedora/plugin.c
6098 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6100 2008-02-04 Dan Williams <dcbw@redhat.com>
6102 * system-settings/plugins/ifcfg-fedora/parser.c
6103 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6104 - (make_connection_setting): use get_ifcfg_name()
6105 - (make_wireless_security_setting): handle shadow key files
6106 - (get_one_wep_key): treat empty string as NULL
6108 2008-02-04 Dan Williams <dcbw@redhat.com>
6110 * src/supplicant-manager/nm-supplicant-manager.c
6111 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6112 glib automatically reschedule
6113 - (nm_supplicant_manager_init): immediately try to start the supplicant
6114 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6117 2008-02-01 Dan Williams <dcbw@redhat.com>
6119 * src/NetworkManagerPolicy.c
6120 - (device_state_changed): schedule a change check when a device gets
6121 deactivated so something happens if you disconnect GSM/CDMA
6123 2008-01-31 Dan Williams <dcbw@redhat.com>
6125 * src/nm-device-802-11-wireless.h
6126 src/nm-device-802-11-wireless.c
6127 - (ap_list_get_ap_by_ssid, is_associated,
6128 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6129 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6130 - (nm_device_802_11_wireless_get_activation_ap): collapse
6131 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6134 2008-01-30 Dan Williams <dcbw@redhat.com>
6136 * system-settings/plugins/ifcfg
6137 * system-settings/plugins/ifcfg-fedora
6138 - Move the ifcfg plugin to ifcfg-fedora
6140 2008-01-24 Dan Williams <dcbw@redhat.com>
6142 * libnm-glib/nm-device-802-11-wireless.c
6143 - (get_access_point): move the "/" check here; check for invalid path
6145 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6146 to get_access_point()
6147 - (access_point_added_proxy, access_point_removed_proxy): don't try
6148 to send signals for non-existent access points
6150 2008-01-24 Dan Williams <dcbw@redhat.com>
6152 * libnm-glib/nm-device-802-11-wireless.c
6153 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6155 2008-01-23 Dan Williams <dcbw@redhat.com>
6157 * libnm-glib/libnm_glib.c
6158 - (libnm_glib_init): make thread joinable
6159 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6161 2008-01-23 Dan Williams <dcbw@redhat.com>
6163 * test/libnm_glib_test.c
6164 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6165 - (main): set up signal handlers; call libnm_glib_shutdown
6167 2008-01-21 Dan Williams <dcbw@redhat.com>
6169 * include/NetworkManager.h
6170 - Add CDMA mobile broadband card device type
6172 * src/nm-hal-manager.c
6173 - (modem_device_creator): handle both CDMA and GSM modems; the device
6174 must now be tagged with 'cdma' or 'gsm' capability
6176 * src/nm-cdma-device.c
6177 src/nm-cdma-device.h
6179 - Add the CDMA mobile broadband card device class
6181 * libnm-util/nm-connection.c
6182 - (register_default_settings): add NMSettingCdma
6184 * libnm-util/nm-setting-cdma.c
6185 libnm-util/nm-setting-cdma.h
6186 libnm-util/Makefile.am
6187 - Add the CDMA mobile broadband card setting class
6189 * libnm-glib/nm-cdma-device.c
6190 libnm-glib/nm-cdma-device.h
6191 libnm-glib/Makefile.am
6192 - Add the CDMA mobile broadband card GLib proxy class
6194 * libnm-glib/nm-client.c
6195 - (get_device): handle CDMA devices too
6197 2008-01-21 Dan Williams <dcbw@redhat.com>
6199 * src/ppp-manager/nm-ppp-manager.c
6200 - (ip4_config_get): set peer address too
6202 * src/ppp-manager/nm-pppd-plugin.c
6203 - (nm_ip_up): try harder to get the peer's address
6205 * src/NetworkManagerSystem.c
6206 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6207 address, use that too. Otherwise, some PPP connections won't work.
6209 2008-01-19 Dan Williams <dcbw@redhat.com>
6211 * src/NetworkManagerPolicy.c
6212 - (nm_policy_device_change_check): system connections override user
6213 connections; don't activate a user connection if there's a currently
6214 active system connection, and new, better system connections always
6215 interrupt user connections
6217 2008-01-19 Dan Williams <dcbw@redhat.com>
6220 - (nm_manager_get_connection_type): new function
6222 2008-01-19 Dan Williams <dcbw@redhat.com>
6224 * src/nm-device-802-11-wireless.c
6225 - (real_get_best_connection): collapse find_best_connection() into this
6228 2008-01-19 Dan Williams <dcbw@redhat.com>
6230 * src/nm-device-802-3-ethernet.c
6231 - (real_get_best_connection): collapse find_best_connection() into this
6234 2008-01-18 Dan Williams <dcbw@redhat.com>
6236 * src/nm-device-802-3-ethernet.c
6237 - (find_best_connection): check MAC address too
6238 - (real_get_best_connection): let autoconnect=True connections activate
6239 for devices that don't have carrier detection
6241 * src/nm-device-802-11-wireless.c
6242 - (find_best_connection): check MAC address too
6244 2008-01-18 Dan Williams <dcbw@redhat.com>
6246 * system-settings/plugins/ifcfg/parser.c
6247 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6249 2008-01-17 Dan Williams <dcbw@redhat.com>
6251 * src/nm-device-802-3-ethernet.c
6252 - (nm_device_802_3_ethernet_carrier_on,
6253 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6254 carrier events that might come in for devices that don't support
6257 2008-01-17 Dan Williams <dcbw@redhat.com>
6259 * src/nm-device-interface.c
6260 - (nm_device_interface_check_connection_conflicts): need to actually
6261 get the interface, not cast to the object
6264 - (nm_device_check_connection_conflicts): need to get the device class,
6265 not cast the device to the device class
6267 2008-01-17 Dan Williams <dcbw@redhat.com>
6269 * src/nm-device-802-11-wireless.c
6270 - (real_check_connection_conflicts): ignore connections that aren't
6271 wireless connections
6273 2008-01-17 Dan Williams <dcbw@redhat.com>
6275 * src/NetworkManagerPolicy.c
6276 - (nm_policy_device_change_check): clear change check idle here
6277 - (device_change_check_done): remove
6278 - (schedule_change_check): simplify
6280 2008-01-17 Dan Williams <dcbw@redhat.com>
6283 - (check_connection_allowed): take an NMDeviceInterface instead of
6284 an NMDevice object as an argument
6285 - (nm_manager_activate_device): pass an NMDeviceInterface to
6286 check_connection_allowed()
6288 2008-01-13 Dan Williams <dcbw@redhat.com>
6290 * libnm-glib/nm-device-802-11-wireless.c
6291 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6293 2008-01-12 Dan Williams <dcbw@redhat.com>
6295 * src/nm-device-802-11-wireless.c
6296 - (activation_success_handler): if a match was found in the scan list
6297 and that match is a hidden AP, update that AP's SSID
6299 2008-01-11 Dan Williams <dcbw@redhat.com>
6301 * src/NetworkManagerAP.c
6302 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6304 * src/nm-device-802-11-wireless.c
6305 - (get_active_ap): do two passes over the scan list if the caller
6306 requests that hidden APs get matched too; during the second pass
6307 when matching hidden APs, ignore the SSID since hidden APs in the
6308 scan list don't have an SSID yet
6309 - (periodic_update): move some checks to
6310 nm_device_802_11_periodic_update() because not all callers need them
6311 - (nm_device_802_11_periodic_update): move some checks here from
6313 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6314 matching on incoming scan results, because the fake AP's flags
6315 might be slightly different (yet still compatible) with the incoming
6316 scan result's flags and they might actually be the same AP; update
6317 the rate on merged APs too
6318 - (activation_success_handler): update the frequency of the fake AP
6319 on successful connection; match hidden APs too since if the
6320 current AP is fake, there might already be a scan result in the
6321 scan list for the desired AP, just without it's SSID filled in yet
6323 2008-01-10 Dan Williams <dcbw@redhat.com>
6325 * src/NetworkManagerAP.c
6326 - (foreach_property_cb): catch more hidden SSID formats
6328 2008-01-10 Dan Williams <dcbw@redhat.com>
6330 Fix gnome.org #464215. Requires the kernel patch titled
6331 "Introduce WEXT scan capabilities" but will handle the patch not being
6332 present, you'll just continue to have problems with hidden SSIDs when
6333 using mac80211-based drivers.
6335 * src/supplicant-manager/nm-supplicant-config.h
6336 src/supplicant-manager/nm-supplicant-config.c
6337 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6338 whether the driver supports SSID scans or not. If it does, and if
6339 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6341 * src/nm-device-802-11-wireless.c
6342 - (constructor): check whether or not the driver supports SSID scans
6343 - (build_supplicant_config): pass driver SSID scan capability when
6344 building the wireless bits of the supplicant config
6346 2008-01-09 Dan Williams <dcbw@redhat.com>
6350 - (device_activation_precheck, check_connection_complete): remove this
6351 virtual function; incomplete connections should be invalid by
6352 definition, complete-ness should be checked in the setting's
6355 * src/nm-serial-device.c
6357 - (real_check_connection_complete): remove
6359 * libnm-util/nm-setting-serial.c
6360 - (verify): new function; ensure there is a PPP setting too
6362 * libnm-util/nm-setting-gsm.c
6363 - (verify): ensure there is a serial setting too
6365 2008-01-06 Dan Williams <dcbw@redhat.com>
6367 * src/dhcp-manager/nm-dhcp-manager.c
6368 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6371 2008-01-04 Dan Williams <dcbw@redhat.com>
6373 * src/named-manager/nm-named-manager.c
6374 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6375 nameservers if the secondary config doesn't have any
6378 2008-01-02 Tambet Ingo <tambet@gmail.com>
6380 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6381 with G_PARAM_CONSTRUCT so that they get the default values.
6383 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6384 the monitoring device and prints out the output for now. Or more precicely, doesn't
6385 do absolutely anything right now since the montoring device argument is never set.
6387 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6388 requires it's own knob to turn it on.
6389 (config_fd): Add NMSettingSerial to the arguments list.
6390 (nm_serial_device_open): Ditto.
6391 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6392 (nm_serial_device_get_io_channel): Implement.
6394 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6395 a new reference every time (and forgetting to release it sometimes) is a pain and
6396 it's not like NMManager could work without dbus.
6397 (nm_manager_add_device): Register the added device on dbus here.
6399 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6402 * src/nm-device.c (constructor): Don't export the device here, instead export
6403 it when it's added to the NMManager's device list.
6405 2007-12-31 Dan Williams <dcbw@redhat.com>
6407 * src/nm-device-interface.c
6408 src/nm-device-interface.h
6409 - (nm_device_interface_check_connection_conflicts): new function
6413 - (nm_device_check_connection_conflicts): new function
6414 - (device_activation_precheck): don't require subclasses to implement
6415 check_connection_complete()
6416 - check_connection() -> check_connection_complete()
6418 * src/nm-device-802-11-wireless.c
6419 - (real_check_connection): remove; unused
6420 - (real_check_connection_conflicts): implement, handle lockdown for
6423 * src/nm-device-802-3-ethernet.c
6424 - (real_check_connection): remove; unused
6427 - (check_connection_allowed): new function
6428 - (nm_manager_activate_device): ensure the connection being requested
6429 is allowed to be activated
6431 * src/nm-serial-device.c
6433 - real_check_connection() -> real_check_connection_complete()
6435 2007-12-27 Dan Williams <dcbw@redhat.com>
6437 * src/nm-device-interface.c
6438 src/nm-device-interface.h
6439 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6440 normalize and expand errors
6441 - (nm_device_interface_init): register errors so they can be marshalled
6443 - (nm_device_interface_activate): ensure that failure of activation
6448 - (device_activation_precheck): implementations of check_connection()
6449 now take a GError and must fill it in if the check fails. Return
6450 more descriptive error if the requested connection is already
6452 - (nm_device_activate): actually try to return descriptive errors on
6455 * src/nm-device-802-11-wireless.c
6456 src/nm-device-802-3-ethernet.c
6457 src/nm-serial-device.c
6459 - (real_check_connection): return more descriptive errors on failure
6461 * src/NetworkManagerPolicy.c
6462 - (nm_policy_device_change_check): print activation errors in the logs
6465 - (nm_manager_error_quark, nm_manager_error_get_type,
6466 nm_manager_class_init): new errors
6467 - (nm_manager_activate_device): handle errors
6468 - (nm_manager_error_new): removed
6469 - (wait_for_connection_expired, connection_added_default_handler,
6470 impl_manager_activate_device): better error handling
6472 2007-12-27 Dan Williams <dcbw@redhat.com>
6474 Fixes gnome.org #466954
6476 * src/supplicant-manager/nm-supplicant-settings-verify.c
6477 - Allow 'frequency' network property
6479 * src/supplicant-manager/nm-supplicant-config.c
6480 src/supplicant-manager/nm-supplicant-config.h
6481 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6482 for callers to specify the frequency an Ad-Hoc network should operate
6483 on. Some drivers require this to successfully create an Ad-Hoc
6486 * src/nm-device-802-11-wireless.c
6487 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6488 guint32 value in MHz
6489 - (constructor, nm_device_802_11_wireless_get_frequency): use
6491 - (find_supported_frequency): new function; find a free supported
6492 frequency for a user-created Ad-Hoc network
6493 - (build_supplicant_config): if no frequency was specified for a user-
6494 created Ad-Hoc network, find a free one to use
6495 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6496 a specific object as user-created
6498 2007-12-27 Dan Williams <dcbw@redhat.com>
6500 * libnm-util/nm-utils.c
6501 libnm-util/nm-utils.h
6502 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6505 2007-12-24 Dan Williams <dcbw@redhat.com>
6507 * libnm-util/nm-setting-wireless.c
6508 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6509 185, 187, 188, 192, and 196
6511 2007-12-24 Dan Williams <dcbw@redhat.com>
6513 * src/nm-device-802-11-wireless.c
6514 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6515 a channel # instead of a frequency
6517 2007-12-24 Dan Williams <dcbw@redhat.com>
6519 * src/NetworkManagerAP.c
6520 src/NetworkManagerAP.h
6521 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6522 - (freq_to_channel): handle split band tables
6523 - (channel_to_freq): handle split band tables, take a band argument
6525 2007-12-24 Dan Williams <dcbw@redhat.com>
6527 * libnm-util/nm-setting-connection.h
6528 libnm-util/nm-setting-connection.c
6529 - Add 'lockdown' member
6531 2007-12-22 Dan Williams <dcbw@redhat.com>
6533 * libnm-util/nm-setting-wireless.c
6534 - (nm_setting_wireless_class_init): add missing 'rate' property
6537 2007-12-18 Dan Williams <dcbw@redhat.com>
6539 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6541 * src/nm-netlink-monitor.c
6542 src/nm-netlink-monitor.h
6543 - Remove handrolled netlink, use libnl instead
6545 * src/nm-device-802-3-ethernet.c
6546 - (constructor, nm_device_802_3_ethernet_carrier_off,
6547 nm_device_802_3_ethernet_carrier_on): use new names
6549 2007-12-17 Dan Williams <dcbw@redhat.com>
6552 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6553 and fixes memory leaks)
6556 - (nm_netlink_get_default_handle): handle new versions of libnl that
6557 automatically handle the netlink PID
6559 2007-12-17 Dan Williams <dcbw@redhat.com>
6561 Patch from Michael Biebl <biebl@debian.org>
6564 src/ppp-manager/Makefile.am
6565 - fix up install dir of pppd plugin
6566 - clean up configure.in a bit
6568 2007-12-12 Dan Williams <dcbw@redhat.com>
6570 * system-settings/src/nm-system-settings.conf
6571 - Allow non-root clients (like the applet) to read settings
6573 2007-12-10 Tambet Ingo <tambet@gmail.com>
6575 * Replace all occurences of 'UMTS' with 'GSM'.
6577 2007-12-07 Dan Williams <dcbw@redhat.com>
6579 * src/nm-serial-device.c
6580 - (real_is_up): serial devices are always "up"
6582 2007-12-07 Dan Williams <dcbw@redhat.com>
6585 src/NetworkManagerSystem.c
6586 - (new_nl_handle): ensure that the same netlink pid is never chosen
6587 twice (gnome.org #491047)
6588 - Make more robust against allocation-related failures should they occur
6590 2007-12-07 Dan Williams <dcbw@redhat.com>
6592 Noticed by Christian Persch <chpe@gnome.org>
6594 Always chain up to parent object in dispose and finalize handlers.
6597 2007-12-07 Dan Williams <dcbw@redhat.com>
6599 * src/nm-device-802-11-wireless.c
6600 - Wrap #include of linux/mii.h to fix redefined structures due to
6601 incorrect kernel headers (gnome.org #350061)
6603 2007-12-06 Tambet Ingo <tambet@gmail.com>
6605 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6606 before doing anything else.
6607 (init_modem): Move modem initialization here.
6609 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6610 (nm_serial_device_flash): Implement.
6612 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6613 changes signal is "StateChanged" and not "Status".
6614 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6616 2007-12-06 Dan Williams <dcbw@redhat.com>
6618 * src/supplicant-manager/nm-supplicant-config.c
6619 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6620 to only send some options when they make sense; also send phase2
6621 option to the supplicant (possible fix for rh #399631)
6623 2007-12-06 Tambet Ingo <tambet@gmail.com>
6625 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6626 arguments: This whole file shouldn't really know anything about NMDevices, it
6627 should deal only with device interfaces. Devices might have different ifaces for
6628 different stuff and this place shouldn't know anything about it.
6630 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6631 (global_state_changed): Implement. In the current NM it's not really important,
6632 but will be required in the case of multiple active devices. (Or even better,
6633 if stuff like that gets moved out from NM).
6635 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6636 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6639 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6640 devices like serial devices (ttyS0 and ppp0 for example).
6641 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6643 (nm_device_set_ip_iface): Implement.
6644 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6645 after setting ip4_config from here ...
6646 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6647 than this function should call nm_system_device_set_from_ip4_config() because no
6648 other code has enough information on which arguments to use. So instead, other code
6649 could just set the new ip4 config using this function and everyone is happy.
6651 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6652 if we happen to get deactivated while something is pending.
6653 (automatic_registration): Handle the response that indicates pending network
6654 registration and wait until the pending registration is done.
6655 (real_deactivate_quickly): If there's a pending operation, cancel it.
6657 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6658 (real_deactivate_quickly): ... and remove it when it's down.
6659 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6661 (nm_serial_device_wait_for_reply): Ditto.
6663 2007-12-05 Tambet Ingo <tambet@gmail.com>
6665 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6666 (get_network_done): Remove newline, nm_info() does it already.
6667 (real_act_stage1_prepare): Turn the modem echo off.
6669 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6670 device, set the route to the device interface. This is a hack.
6672 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6673 return, no need for a new-line.
6674 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6675 Change the device iface here (ugh).
6676 (real_act_stage4_get_ip4_config): Implement.
6677 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6678 Restore the device iface.
6680 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6681 device is not wired or wireless (eg, automatically upped) device.
6683 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6685 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6687 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6688 before calling it's is_device_fn().
6690 2007-12-05 Dan Williams <dcbw@redhat.com>
6692 * libnm-util/nm-utils.c
6693 - (nm_utils_register_value_transformations,
6694 nm_utils_convert_gvalue_hash_to_string): better debug output of
6695 GHashTables of GValues too
6697 2007-12-04 Dan Williams <dcbw@redhat.com>
6699 * initscript/RedHat/NetworkManager.in
6700 - No longer start named; it's D-Bus interface is going away
6702 2007-12-04 Dan Williams <dcbw@redhat.com>
6704 Patch from Michael Biebl <biebl@debian.org>
6706 * system-settings/plugins/ifcfg/Makefile.am
6707 system-settings/src/main.c
6708 system-settings/src/Makefile.am
6709 - Put system settings plugins in NM plugins dir
6711 * src/ppp-manager/Makefile.am
6712 src/ppp-manager/nm-ppp-manager.c
6713 - Move pppd plugin to NM plugins dir
6715 2007-12-04 Dan Williams <dcbw@redhat.com>
6717 * libnm-util/nm-setting-vpn-properties.h
6718 - Clarify usage of the 'data' member of the setting
6720 * libnm-util/nm-setting-vpn-properties.c
6721 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6722 - (set_property): just remove all the settings; don't recreate the has
6723 - (update_one_secret): don't need to create the hash table here since
6724 it should always be present
6726 2007-12-03 Tambet Ingo <tambet@gmail.com>
6728 Implement PIN and PUK requesting.
6730 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6731 (enter_pin): Handle PIN and PUK requests.
6732 (real_act_stage1_prepare): Clear the secret type.
6733 (real_connection_secrets_updated): Implement this class method to get
6734 notified when new secrets arrive.
6735 (nm_umts_device_class_init): Add private data back to the umts device class
6736 to store the required secret type.
6738 2007-12-01 Dan Williams <dcbw@redhat.com>
6740 * system-settings/plugins/ifcfg/parser.c
6741 - (parser_parse_file): don't try to verify NULL connections
6743 2007-12-01 Dan Williams <dcbw@redhat.com>
6745 * system-settings/src/main.c
6746 - (load_connections, add_connection_to_settings): actually export
6747 plugin-provided connections over D-Bus so NM can get them
6749 2007-12-01 Dan Williams <dcbw@redhat.com>
6751 * system-settings/plugins/ifcfg/parser.c
6752 system-settings/plugins/ifcfg/parser.h
6753 system-settings/plugins/ifcfg/plugin.c
6754 - Hook up more inotify bits (untested)
6756 2007-11-29 Dan Williams <dcbw@redhat.com>
6758 * system-settings/src/nm-system-config-interface.h
6759 system-settings/src/nm-system-config-interface.c
6760 - (nm_system_config_interface_init,
6761 nm_system_config_interface_get_connections): add
6763 * system-settings/src/main.c
6764 - (load_plugins, load_connections, main): use a GSList for plugins
6765 to ensure priority ordering
6767 * system-settings/plugins/ifcfg/parser.c
6768 - (ifcfg_error_quark): move to plugin.c, and rename
6770 * system-settings/plugins/ifcfg/plugin.h
6771 system-settings/plugins/ifcfg/plugin.c
6772 - (ifcfg_plugin_error_quark): move here from parser.c
6773 - rework connection loading and initialization
6774 - Add preliminary inotify support for network profile config file
6776 2007-11-28 Tambet Ingo <tambet@gmail.com>
6778 Merge the beginnings of the new GSM card support.
6780 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6781 ppp watch source before killing pppd - If this happens from g_object_unref()
6782 then the ppp manager is already destroyed by the time the watch callback runs.
6784 * src/nm-hal-manager.c: Add a device_type_name string to the device
6785 creators, so that we can print a nice human readable string when a
6788 * src/nm-umts-device.c (automatic_registration_get_network): Query
6789 for the activated network, not much is done with the result thought.
6791 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6792 (ppp_ip4_config): Change the device state to activated here for now.
6793 (real_check_connection): Make sure the connection includes ppp setting.
6795 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6797 * libnm-glib/Makefile.am: Add the new files to build.
6799 * libnm-glib/nm-umts-device.c:
6800 * libnm-glib/nm-umts-device.h: Implement.
6802 2007-11-26 Tambet Ingo <tambet@gmail.com>
6804 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6805 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6807 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6808 the timeout source - this function is only called when the timeout source has
6810 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6811 to be big enough to contain the terminating zero element as well.
6812 The timeout argument is meant to be in seconds now.
6813 (real_deactivate_quickly): Implement.
6815 * src/NetworkManager.conf: Allow root to own
6816 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6818 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6819 (not unsigned ints).
6821 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6822 small issue with parity bounds - capital letters have lower ascii codes
6823 than lower case letters.
6825 * libnm-util/nm-connection.c (register_default_settings): Register serial
6828 2007-11-22 Tambet Ingo <tambet@gmail.com>
6830 Remove the "index" property from devices as not all device types have this.
6832 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6834 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6835 (wired_device_creator): Get the device interface from hal to create the device.
6836 (wireless_device_creator): Ditto.
6838 * src/nm-device.c (nm_device_init): Remove the index member.
6839 (constructor): Remove the checks for index property, make interface property
6840 a require constructor property.
6841 Use the HAL udi for DBus path for devices.
6842 (nm_device_get_index): Remove.
6843 (set_property): Remove index handling.
6844 (get_property): Ditto.
6845 (nm_device_get_dbus_path): Remove.
6847 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6850 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6851 Access the device index through it's interface.
6852 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6853 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6854 index argument. Add interface argument.
6856 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6857 the useless test_dev argument. Remove index argument. Add interface arugment.
6859 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6860 device index through interface.
6861 (nm_system_set_mtu): Ditto.
6863 * introspection/nm-device.xml: Remove the "Index" property.
6865 2007-11-21 Tambet Ingo <tambet@gmail.com>
6867 * src/nm-serial-device.c:
6868 * src/nm-serial-device.c:
6869 * src/nm-umts-device.c:
6870 * src/nm-umts-device.h: Implement.
6872 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6873 allocated by libhal.
6874 (modem_device_creator): Implement.
6875 (register_built_in_creators): Register the modem creator.
6877 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6878 Remove the unused test_dev argument.
6880 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6882 * src/Makefile.am: Add new files to build.
6883 Link in ppp-manager.
6885 * libnm-util/nm-setting-umts.c:
6886 * libnm-util/nm-setting-umts.h:
6887 * libnm-util/nm-setting-serial.c:
6888 * libnm-util/nm-setting-serial.h: Implement.
6890 * libnm-util/Makefile.am: Add new files to build.
6892 2007-11-28 Dan Williams <dcbw@redhat.com>
6894 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6896 Support DHCP-provided static routes.
6898 * src/nm-ip4-config.h
6900 - Add get/set functions for static routes
6902 * src/dhcp-manager/nm-dhcp-manager.c
6903 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6906 * src/NetworkManagerSystem.c
6907 - (nm_system_device_set_from_ip4_config): set any static routes on the
6908 interface when applying the IP4Config
6910 2007-11-28 Dan Williams <dcbw@redhat.com>
6912 * src/nm-device-802-11-wireless.c
6913 - (real_act_stage1_prepare): mark APs created for hidden networks
6916 2007-11-27 Dan Williams <dcbw@redhat.com>
6918 * system-settings/src/nm-system-config-interface.h
6919 - Note how to store secrets on NMSetting objects
6921 * system-settings/src/dbus-settings.c
6922 - (connection_settings_get_secrets): implement
6924 2007-11-27 Dan Williams <dcbw@redhat.com>
6926 * system-settings/plugins/ifcfg/Makefile.am
6927 system-settings/plugins/ifcfg/parser.c
6928 system-settings/plugins/ifcfg/parser.h
6929 system-settings/plugins/ifcfg/plugin.c
6930 - Parse wireless connections too
6932 * system-settings/src/dbus-settings.c
6933 system-settings/src/dbus-settings.h
6934 system-settings/src/main.c
6935 - Handle connection update/removal if the plugin supports it
6937 2007-11-27 Dan Williams <dcbw@redhat.com>
6939 * src/nm-dbus-manager.h
6940 src/nm-hal-manager.c
6941 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6945 src/NetworkManagerDbusUtils.c
6946 src/NetworkManagerDbusUtils.h
6947 - Remove these two source files; they are unused
6949 2007-11-27 Dan Williams <dcbw@redhat.com>
6951 * src/vpn-manager/nm-vpn-manager.c
6952 - (impl_vpn_manager_connect): fix system settings check (found by
6955 2007-11-26 Dan Williams <dcbw@redhat.com>
6957 * Fix warnings so everything compiles with --enable-more-warnings
6959 2007-11-25 Dan Williams <dcbw@redhat.com>
6962 - Rework structure and code to use GModule-loaded plugins and a plugin
6963 interface that plugins export to the system settings service
6965 2007-11-21 Dan Williams <dcbw@redhat.com>
6968 - Add Soren's system settings service. Needs work for distros other
6969 than Fedora; the backends from NM should mostly migrate to here
6970 and be converted to GObjects
6972 2007-11-21 Dan Williams <dcbw@redhat.com>
6974 * libnm-util/nm-setting-vpn-properties.c
6975 - (set_property): must deep-copy the given settings hash, otherwise
6976 double-free errors occur when the setting is disposed of
6978 2007-11-21 Dan Williams <dcbw@redhat.com>
6980 * src/vpn-manager/nm-vpn-act-request.h
6981 src/vpn-manager/nm-vpn-act-request.c
6984 2007-11-20 Dan Williams <dcbw@redhat.com>
6986 * libnm-util/nm-utils.c
6987 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6988 nm_utils_convert_ip4_addr_struct_array_to_string,
6989 nm_utils_register_value_transformations): print out the readable
6990 values of more types of properties of NMSettings subclasses
6992 2007-11-20 Dan Williams <dcbw@redhat.com>
6994 * libnm-util/nm-setting-ip4-config.c
6995 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6996 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6997 marshal GValueArrays inside collections, so switch to types that it
6998 can actually marshal/demarshal
7000 2007-11-16 Dan Williams <dcbw@redhat.com>
7002 * libnm-util/nm-setting-wireless-security.c
7003 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
7004 minimal verification of EAP methods too
7005 - (verify): verify phase1 eap methods too
7007 2007-11-15 Dan Williams <dcbw@redhat.com>
7009 * libnm-glib/nm-device.h
7010 libnm-glib/nm-device.c
7011 - (nm_device_get_product, nm_device_get_vendor): should be returning
7014 2007-11-15 Dan Williams <dcbw@redhat.com>
7016 * libnm-glib/nm-device.c
7017 - (get_product_and_vendor): don't try to free things that should be
7020 2007-11-15 Dan Williams <dcbw@redhat.com>
7022 * src/NetworkManagerUtils.c
7023 - (nm_ethernet_address_is_valid): unbreak previous fix
7025 2007-11-15 Dan Williams <dcbw@redhat.com>
7027 * src/supplicant-manager/nm-supplicant-config.c
7028 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7031 2007-11-15 Dan Williams <dcbw@redhat.com>
7033 * src/NetworkManagerUtils.c
7034 - (nm_ethernet_address_is_valid): fix style, clarify
7035 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7037 * src/nm-device-802-11-wireless.c
7038 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7039 - (nm_device_802_11_wireless_get_ssid,
7040 nm_device_802_11_wireless_get_bssid,
7041 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7042 before calling the ioctl; fixes valgrind-reported jump depends on
7043 uninitialized value errors
7045 2007-11-15 Dan Williams <dcbw@redhat.com>
7047 * libnm-util/nm-setting.c
7048 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7049 unecessary to serialize 'name'
7051 * src/nm-activation-request.c
7052 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7055 2007-11-15 Dan Williams <dcbw@redhat.com>
7057 * libnm-util/nm-setting-connection.h
7058 libnm-util/nm-setting-connection.c
7059 - Rename the 'name' property to 'id', because it conflicted with the
7060 NMSetting superclass' 'name' property.
7062 * libnm-util/nm-setting.c
7063 - (nm_setting_to_hash): serialize the 'name' property
7064 - (one_property_cb): ignore 'name' on deserialization of a connection
7066 * src/nm-device-802-11-wireless.c
7067 src/vpn-manager/nm-vpn-connection.c
7068 src/NetworkManagerPolicy.c
7069 - Fix up for NMSettingConnection 'name'->'id' changes
7071 2007-11-13 Dan Williams <dcbw@redhat.com>
7073 * libnm-glib/nm-device-802-11-wireless.h
7074 libnm-glib/nm-device-802-11-wireless.c
7075 - (nm_device_802_11_wireless_get_hw_address): return should be const
7078 libnm-glib/libnm-glib-test.c
7079 - Fixes for above change
7081 2007-11-12 Dan Williams <dcbw@redhat.com>
7083 * src/supplicant-manager/nm-supplicant-settings-verify.c
7084 - Allow fragment_size option
7086 * src/supplicant-manager/nm-supplicant-settings-verify.c
7087 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7088 EAP fragment size than the default to help some TLS connections
7090 2007-11-12 Dan Williams <dcbw@redhat.com>
7092 Make certs actually work. The private key is now a secret, and should be
7093 decrypted when requested by NM. The private key and phase2 private key
7094 passwords are no longer interesting to NM because they should be used by
7095 the settings service to decrypt the private key itself before passing it
7096 to NM, and hence have been removed as fields.
7098 * libnm-util/nm-setting-wireless-security.h
7099 libnm-util/nm-setting-wireless-security.c
7100 - Remove private-key-passwd and phase2-private-key-passwd from
7102 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7103 need_secrets): use property #defines instead strings to keep things
7105 - (need_secrets_tls): if a client certificate is present but no
7106 private key, request the private key
7107 - (set_property, get_property, nm_setting_wireless_security_class_init):
7108 remove private key password stuff, mark private keys as secret
7110 * src/supplicant-manager/nm-supplicant-settings-verify.c
7111 - Remove private_key_passwd and private_key2_passwd from opt_table
7113 2007-11-09 Dan Williams <dcbw@redhat.com>
7115 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7116 Since the vpn-properties are managed and known by the VPN daemons themselves,
7117 libnm-util doesn't know what's secret and what's in the setting's 'data'
7120 * libnm-util/nm-setting.h
7121 libnm-util/nm-setting.c
7122 - Add the ability for subclasses to override update_one_secret
7124 * libnm-util/nm-setting-vpn-properties.c
7125 - Override update_one_secret and just copy the values into the
7128 2007-11-09 Dan Williams <dcbw@redhat.com>
7130 * libnm-glib/nm-settings.h
7131 libnm-glib/nm-settings.c
7132 - (nm_settings_new_error): remove
7133 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7134 clients should use g_set_error() with NM_SETTINGS_ERROR
7136 2007-11-09 Dan Williams <dcbw@redhat.com>
7138 * src/supplicant-manager/nm-supplicant-config.c
7139 - (nm_supplicant_config_add_setting_wireless_security): private key
7140 passwords are never sent to wpa_supplicant, because the supplicant
7141 should never be reading random files from the disk. Clients like
7142 the applet are required to decrypt the private keys and send NM
7143 the decrypted blobs.
7145 2007-11-08 Dan Williams <dcbw@redhat.com>
7147 * libnm-util/nm-setting-wireless-security.h
7148 libnm-util/nm-setting-wireless-security.c
7149 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7150 members to 802-11-wireless-security structure. This should be used
7151 to indicate that the values in private-key and phase2-private-key
7152 are already decrypted by the user agent, and that no
7153 private-key-passwd or phase2-private-key-passwd should be expected.
7154 It is not meant to be a stored configuration value, but meant to
7155 be set when the conneciton is sent to NM over dbus.
7157 2007-11-08 Dan Williams <dcbw@redhat.com>
7159 * libnm-util/nm-connection.h
7160 libnm-util/nm-connection.c
7161 - (nm_connection_need_secrets): add argument to return hints
7163 * src/nm-device-802-11-wireless.c
7164 - (link_timeout_cb, supplicant_connection_timeout_cb,
7165 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7166 nm_connection_need_secrets() change
7168 2007-11-07 Tambet Ingo <tambet@gmail.com>
7170 Rework NMSetting structures: Move each setting to it's own file.
7171 Convert to GObject. Remove home grown setting types and use GTypes.
7172 Use GObject property introspection for hash conversion, enumerating
7175 * libnm-util/nm-setting-connection.[ch]
7176 * libnm-util/nm-setting-ip4-config.[ch]
7177 * libnm-util/nm-setting-ppp.[ch]
7178 * libnm-util/nm-setting-vpn.[ch]
7179 * libnm-util/nm-setting-vpn-properties.[ch]
7180 * libnm-util/nm-setting-wired.[ch]
7181 * libnm-util/nm-setting-wireless.[ch]
7182 * libnm-util/nm-setting-wireless-security.[ch]
7184 New files, each containing a setting.
7186 * libnm-util/nm-setting-template.[ch]: A template for creating new
7187 settings. To use it, just replace 'template' with the new setting
7188 name, and you're half-way done.
7190 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7191 introspection instead of internal types and tables.
7193 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7195 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7196 GValue types defined by dbus-glib for composed types like collections,
7197 structures and maps.
7199 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7200 a setting from connection takes the setting type now. Also, since
7201 the settings are in multiple files, include relevant settings.
7203 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7206 * src/backends/NetworkManagerGentoo.c:
7207 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7208 providers in Gentoo.
7210 2007-10-31 Dan Williams <dcbw@redhat.com>
7212 * libnm-util/nm-connection.c
7213 - (gvalue_to_string): handle UINT32 arrays
7215 2007-10-31 Dan Williams <dcbw@redhat.com>
7217 * libnm-glib/nm-device.h
7218 libnm-glib/nm-device.c
7219 - (nm_device_get_description): remove
7220 - (nm_device_get_product, nm_device_get_vendor): add
7221 - (nm_device_update_description): new function (private); walk HAL
7222 devices to get product and vendor IDs for a specific device
7224 2007-10-31 Dan Williams <dcbw@redhat.com>
7226 * src/nm-device-802-11-wireless.c
7227 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7229 2007-10-29 Dan Williams <dcbw@redhat.com>
7231 * src/nm-hal-manager.c
7232 - (device_added, device_new_capability): ignore device additions while
7233 asleep. Fixes crash caused when NM goes to sleep, a network device
7234 kernel module is unloaded and reloaded and recognized by NM again.
7236 2007-10-26 Dan Williams <dcbw@redhat.com>
7238 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7240 * src/NetworkManagerAP.c
7241 src/NetworkManagerAP.h
7242 libnm-glib/nm-access-point.c
7243 libnm-glib/nm-access-point.h
7244 - Make 'rate' property a guint32 to better match with WEXT and
7245 wpa_supplicant and to allow representation of higher bitrates
7247 * src/nm-device-802-11-wireless.c
7248 introspection/nm-device-802-11-wireless.xml
7249 libnm-glib/nm-device-802-11-wireless.c
7250 libnm-glib/nm-device-802-11-wireless.h
7251 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7253 * src/nm-device-802-3-ethernet.c
7254 src/nm-device-802-3-ethernet.h
7255 introspection/nm-device-802-3-ethernet.xml
7256 libnm-glib/nm-device-802-3-ethernet.c
7257 libnm-glib/nm-device-802-3-ethernet.h
7258 - Make 'speed' property a guint32 to match other speed/rate types
7259 - Make nm_device_802_3_ethernet_get_speed() static
7262 - Update for the changes above
7264 2007-10-26 Dan Williams <dcbw@redhat.com>
7266 * src/named-manager/nm-named-manager.c
7267 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7268 not calling fclose() twice on some error conditions
7270 2007-10-26 Dan Williams <dcbw@redhat.com>
7272 * src/nm-activation-request.c
7273 - (dispose): clean up indentation; get the right DBusGProxy object to
7274 cancel the GetSecrets pending call on. Need to use the Secrets
7275 proxy, not the regular connection proxy. Otherwise the GetSecrets
7276 pending call doesn't get canceled, and pressing Cancel in the
7277 applet's password dialog could cause get_secrets_cb() to be called
7278 after the activation request has already been destroyed
7280 2007-10-24 Dan Williams <dcbw@redhat.com>
7282 * src/supplicant-manager/nm-supplicant-config.c
7283 - (nm_supplicant_config_add_blob): pass blob data and length for
7285 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7287 2007-10-24 Dan Williams <dcbw@redhat.com>
7289 * src/supplicant-manager/nm-supplicant-settings-verify.c
7290 - (opt_table): max length for certificates should be 65536
7292 2007-10-24 Dan Williams <dcbw@redhat.com>
7294 * src/supplicant-manager/nm-supplicant-interface.c
7295 - (blob_free): correctly free blob data after use
7296 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7298 2007-10-24 Dan Williams <dcbw@redhat.com>
7300 * libnm-util/nm-setting.c
7301 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7302 EAP method need secrets
7304 2007-10-24 Dan Williams <dcbw@redhat.com>
7306 * src/backends/NetworkManagerRedHat.c
7307 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7309 2007-10-23 Dan Williams <dcbw@redhat.com>
7311 * libnm-util/nm-setting.c
7312 libnm-util/nm-setting.c
7313 - (nm_setting_compare): implement
7314 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7315 compare_one_hash_gvalue): compare the contents of a setting
7317 * libnm-util/nm-connection.c
7318 - (nm_connection_compare): implement
7320 2007-10-23 Dan Williams <dcbw@redhat.com>
7322 * src/nm-activation-request.c
7323 - (get_secrets_cb): handle getting a setting back that is more than
7324 just secrets (ie, user changed auth or EAP method or something)
7326 2007-10-23 Dan Williams <dcbw@redhat.com>
7328 * libnm-util/nm-setting.c
7329 libnm-util/nm-setting.h
7330 - (nm_setting_verify): new function; verify one setting
7331 - (nm_settings_verify_all): rename from nm_settings_verify()
7332 - (setting_connection_verify, setting_wireless_verify): allow NULL
7335 * libnm-util/nm-connection.c
7336 - (nm_connection_replace_settings, nm_connection_verify,
7337 nm_connection_new_from_hash): handle nm_settings_verify() rename
7339 2007-10-23 Dan Williams <dcbw@redhat.com>
7341 * src/nm-device-802-11-wireless.c
7342 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7345 2007-10-23 Dan Williams <dcbw@redhat.com>
7347 * src/supplicant-manager/nm-supplicant-settings-verify.c
7348 - eap_allowed, phase2_allowed: harmonize with allowed values from
7351 2007-10-23 Dan Williams <dcbw@redhat.com>
7353 * src/nm-device-802-11-wireless.c
7354 - (real_act_stage2_config): after the first association failure,
7355 if the connection still needs secrets ask the user for them
7356 explicitly. After the fourth association failure due to bad
7357 secrets, fail the connection entirely. Handles the GetSecrets
7358 loop that NM gets into when the provided secrets don't match up
7359 with the connection details.
7361 2007-10-23 Dan Williams <dcbw@redhat.com>
7363 * src/supplicant-manager/nm-supplicant-config.c
7364 - (nm_supplicant_config_add_setting_wireless_security): only add
7365 WPA-specific options when WPA is in use
7367 2007-10-23 Dan Williams <dcbw@redhat.com>
7369 * src/supplicant-manager/nm-supplicant-config.c
7370 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7371 secret doesn't need to be unhexified
7373 2007-10-23 Dan Williams <dcbw@redhat.com>
7375 * libnm-util/nm-setting.c
7376 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7377 before trying to do something with it
7379 2007-10-23 Dan Williams <dcbw@redhat.com>
7381 * src/nm-device-802-11-wireless.c
7382 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7384 2007-10-23 Dan Williams <dcbw@redhat.com>
7386 * src/nm-device-802-11-wireless.c
7387 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7388 non-SSID-broadcasting APs
7390 2007-10-23 Dan Williams <dcbw@redhat.com>
7392 * src/NetworkManagerAP.c
7393 - (match_cipher, security_compatible): remove
7394 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7397 2007-10-23 Dan Williams <dcbw@redhat.com>
7399 * libnm-util/nm-utils.c
7400 libnm-util/nm-utils.h
7401 - (nm_utils_ap_security_compatible): common function for checking
7402 whether a specific AP is compatible with an NMConnection
7404 2007-10-23 Dan Williams <dcbw@redhat.com>
7406 * libnm-util/nm-setting.c
7407 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7408 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7409 need_secrets_password, setting_wireless_security_verify): fix
7410 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7411 secrets logic for each supported EAP method
7413 2007-10-23 Dan Williams <dcbw@redhat.com>
7415 * src/supplicant-manager/nm-supplicant-config.c
7416 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7417 config option name, should be "private_key2_passwd"
7419 2007-10-22 Tambet Ingo <tambet@gmail.com>
7421 Implement support for static IP addresses, additional/overridden DNS and
7422 DNS domain search lists.
7424 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7425 (ip4_addresses_to_gvalue): Implement.
7426 (convert_array_to_byte_array): Implement.
7427 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7428 NM_S_TYPE_IP4_ADDRESSES.
7429 (nm_setting_hash): Ditto.
7430 (default_setting_clear_secrets): Add a default case for the switch: IP address
7431 shouldn't be secret, ever.
7432 (setting_ip4_config_verify): Update, requires addresses in case of manual
7434 (setting_ip4_config_destroy): Free stuff.
7436 * src/nm-device.c (merge_ip4_config): Implement.
7437 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7439 2007-10-22 Dan Williams <dcbw@redhat.com>
7441 * libnm-util/nm-setting.c
7442 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7443 pairwise cipher options for Dynamic WEP
7445 2007-10-21 Dan Williams <dcbw@redhat.com>
7447 * src/NetworkManagerAP.c
7448 src/NetworkManagerAP.h
7449 - Rename 'articifical' -> 'fake' since that's what they are until
7451 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7452 from the attributes in an NMConnection object
7453 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7455 - (nm_ap_match_in_list): find a matching AP in a scan list
7457 * src/nm-device-802-11-wireless.c
7458 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7459 AP when searching the scan list; match on frequency and mode too
7460 - (nm_device_802_11_wireless_get_frequency): implement
7461 - (merge_scanned_ap): replace duplicate matching logic with
7462 nm_ap_match_in_list()
7463 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7464 the user is trying to connect to a hidden network that is not yet
7465 known from the scan list
7466 - (activation_success_handler): now that the card knows the AP's BSSID,
7467 there may already be a scanned AP in the scan list that is what
7468 we really wanted to connect to, but didn't know at the time. Use
7469 that instead of the 'fake' AP created at activation start and get
7470 rid of the 'fake' AP
7471 - (cull_scan_list): don't remove fake APs
7473 2007-10-21 Dan Williams <dcbw@redhat.com>
7475 * src/nm-activation-request.h
7476 src/nm-activation-request.c
7477 - (nm_act_request_set_specific_object): new function; allow setting the
7478 specific object if one isn't set yet
7480 2007-10-20 Dan Williams <dcbw@redhat.com>
7482 * src/supplicant-manager/nm-supplicant-config.h
7483 src/supplicant-manager/nm-supplicant-config.c
7484 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7485 table to store blobs
7486 - (nm_supplicant_config_add_blob): new function; add blob to internal
7488 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7489 - (nm_supplicant_config_add_setting_wireless_security): handle
7490 options that use certificates (ie, blobs)
7492 * src/nm-device-802-11-wireless.c
7493 - (build_supplicant_config): pass a UID (just use the connection path)
7494 to the supplicant config as now required
7496 * src/supplicant-manager/nm-supplicant-interface.c
7497 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7498 there are any blobs to send to wpa_supplicant, send those first
7499 before sending the network configuration
7501 2007-10-19 Dan Williams <dcbw@redhat.com>
7503 Split the GetSecrets() call off to a separate D-Bus interface so that it
7504 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7505 should be able to call GetSecrets().
7507 * include/NetworkManager.h
7508 - Define the connection secrets D-Bus interface
7510 * src/vpn-manager/nm-vpn-connection.c
7511 - (clear_need_auth): get the right proxy object for the connection
7513 - (get_connection_secrets): use the connection secrets proxy; send
7514 empty hints in get secrets request
7516 * src/nm-activation-request.c
7517 - (nm_act_request_request_connection_secrets): use the connection
7518 secrets proxy; send empty hints in get secrets request
7522 - (connection_get_settings_cb): set the connection secrets proxy on
7523 the connection object too
7524 - (internal_new_connection_cb): create the connection secrets proxy
7526 * introspection/nm-settings-connection.xml
7527 - Define Connection.Secrets interface and move GetSecrets there
7528 - Add a 'hints' argument to GetSecrets
7530 * libnm-glib/nm-settings.c
7531 libnm-glib/nm-settings.h
7532 - (impl_connection_settings_get_secrets): add 'hints' argument
7534 2007-10-19 Dan Williams <dcbw@redhat.com>
7537 - (constructor): add message about what path a device is exported as
7538 to help in debugging rh #339011
7540 2007-10-17 Dan Williams <dcbw@redhat.com>
7542 * libnm-util/nm-utils.h
7543 libnm-util/nm-utils.c
7544 - (nm_utils_security_valid): common function to help find the intersection
7545 of capabilities of devices and (optionally) access points
7547 2007-10-17 Dan Williams <dcbw@redhat.com>
7549 * src/nm-device-802-11-wireless.c
7550 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7551 don't get erroneously cleared
7553 2007-10-17 Dan Williams <dcbw@redhat.com>
7557 src/nm-hal-manager.c
7558 - (device_removed, finalize, nm_manager_remove_device,
7559 nm_manager_sleep): add a 'deactivate' argument to
7560 nm_manager_remove_device() to fully deactivate devices when necessary
7561 (ie, always except when waking up)
7563 2007-10-16 Dan Williams <dcbw@redhat.com>
7565 * libnm-util/nm-setting.c
7566 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7567 also isn't valid phase2 autheap method
7569 2007-10-16 Dan Williams <dcbw@redhat.com>
7571 * libnm-glib/nm-client.c
7572 - (update_wireless_status): consolidate updates of wireless status
7573 - (constructor): use update_wireless_status()
7574 - (manager_running): set wireless status off when NM goes away; requery
7575 the wireless status when NM comes back
7577 2007-10-16 Dan Williams <dcbw@redhat.com>
7579 * libnm-glib/nm-client.c
7580 - (nm_client_activate_device): actually use the fixed-up specific
7583 2007-10-16 Dan Williams <dcbw@redhat.com>
7585 * src/nm-hal-manager.c
7586 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7587 killswitch error messages once
7589 2007-10-16 Dan Williams <dcbw@redhat.com>
7592 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7593 if it's disabled in hardware; don't touch network devices while
7596 2007-10-16 Dan Williams <dcbw@redhat.com>
7598 * libnm-util/nm-client.c
7599 - (nm_client_activate_device): convert NULL specific_object to "/",
7600 which is used in place of NULL
7603 - (impl_manager_activate_device): convert "/" specific_object back into
7606 2007-10-16 Tambet Ingo <tambet@gmail.com>
7608 Implement a generic NMSetting creator from setting name.
7609 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7610 add a virtual function 'populate_fn'.
7612 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7613 (register_default_creators): Register setting creators instead of functions
7614 that create and then populate.
7615 (parse_one_setting): Use the common setting creator and then setting specific
7616 poplulation function.
7618 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7619 they all looked exactly the same.
7620 Add a 'populate_fn' virtual function to NMSetting.
7621 Use default virtual functions in case they are not overriden.
7622 (nm_setting_populate_from_hash): Implement.
7624 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7625 name, use a defined string.
7626 (real_act_stage4_get_ip4_config): Ditto.
7628 2007-10-16 Tambet Ingo <tambet@gmail.com>
7630 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7631 HAL is int, not uint.
7633 2007-10-15 Tambet Ingo <tambet@gmail.com>
7635 Implement killswitch polling through HAL.
7637 * src/nm-manager.c: Add wireless hardware status property. Add
7638 'properties-changed' signal for changes in wireless and wireless hardware
7641 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7642 and update NMManager's wireless hardware state when it has changed.
7643 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7646 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7647 values of wireless state and wireless hardware state. Listen for the
7648 'properties-changed' signals, update the cached values and emit notify.
7650 * include/NetworkManager.h: Fix a typo in a comment.
7652 2007-10-14 Dan Williams <dcbw@redhat.com>
7654 * libnm-util/nm-setting.c
7655 - (setting_wireless_security_need_secrets): handle LEAP secrets
7657 2007-10-13 Dan Williams <dcbw@redhat.com>
7659 * libnm-util/nm-setting.h
7660 libnm-util/nm-setting.c
7661 src/supplicant-manager/nm-supplicant-config.c
7662 - Make the 'proto' field of the 802-11-wireless-security field a
7665 2007-10-12 Tambet Ingo <tambet@gmail.com>
7667 Rework the "properties-changed" signal listening implementation.
7668 Add a generic implementation to NMObject class that listens for
7669 the signal and calls property setters of the target NMObject.
7671 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7673 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7674 code to the end of file so that all the static functions are available
7675 without extra declarations.
7676 Remove the "properties-changed" signal handling and use the framework from
7678 Implement property setters for properties that change with
7679 "properties-changed" signal.
7681 * libnm-glib/nm-access-point.c: Ditto.
7683 2007-10-12 Tambet Ingo <tambet@gmail.com>
7685 Rework the "properties-changed" signal implementation.
7686 In classes that need to use it, just emit "GObject::notify" and the new
7687 framework takes care of the rest to make the signal available on dbus.
7688 The framework queues the notifications and tries to send as many together
7689 in one signal as possible.
7691 * src/nm-properties-changed-signal.c:
7692 * src/nm-properties-changed-signal.h: Implement.
7694 * src/Makefile.am: Add new files to build.
7696 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7699 * src/nm-device-802-11-wireless.c: Ditto.
7701 2007-10-10 Dan Williams <dcbw@redhat.com>
7704 - (wait_for_connection_expired): ensure info is valid
7705 - (connection_added_default_handler): Should only remove pending
7706 connection info when the manager has the connection that it's
7707 waiting for. Fixes segfault in wait_for_connection_info().
7709 2007-10-10 Dan Williams <dcbw@redhat.com>
7711 * libnm-util/nm-setting.c
7712 libnm-util/nm-setting.h
7713 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7714 can use if they choose. Should be filled in by the settings service
7715 on-the-fly with the currently logged in user's username
7717 2007-10-10 Dan Williams <dcbw@redhat.com>
7719 * src/nm-device-802-11-wireless.c
7720 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7721 as such, because even if the manager fills in the SSID, NM still
7722 has to indicate to wpa_supplicant that the AP isn't broadcasting
7725 2007-10-10 Tambet Ingo <tambet@gmail.com>
7727 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7728 code that used NM's own version of dbus signal handling and custom dictionary
7729 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7730 and we get to maintain over 2000 lines less code.
7732 * libnm-util/dbus-dict-helpers.c:
7733 * libnm-util/dbus-dict-helpers.h: Remove.
7735 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7737 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7739 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7742 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7744 * configure.in: Remove test/libnm-util/Makefile creation.
7746 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7748 * test/libnm-util/: Remove the whole directory.
7750 2007-10-10 Tambet Ingo <tambet@gmail.com>
7752 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7753 device_state_changed_idle_id variable or it would contain some random value and the
7754 schedule_change_check calls would not do anything.
7756 2007-10-09 Dan Williams <dcbw@redhat.com>
7758 * src/nm-device-802-11-wireless.c
7759 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7760 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7761 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7762 merging of non-SSID-broadcasting APs
7764 2007-10-09 Tambet Ingo <tambet@gmail.com>
7766 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7767 "guint8 *" since it's usually used with GByteArray->data.
7768 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7770 2007-10-09 Tambet Ingo <tambet@gmail.com>
7772 * src/NetworkManagerUtils.c
7773 (nm_utils_is_empty_ssid):
7774 (nm_utils_escape_ssid):
7775 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7776 lot of places, so they belong to libnm-utils instead.
7778 Now with 100% less compiler warnings:
7780 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7781 (nm_dbus_unescape_object_path): Ditto.
7782 (nm_utils_ssid_to_utf8): Ditto.
7783 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7784 (nm_utils_escape_ssid): Ditto.
7785 (nm_utils_same_ssid): Ditto.
7787 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7788 (add_one_connection_element): Remove an unused variable.
7789 (impl_manager_get_active_connections): Ditto.
7791 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7794 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7795 from the previous commit.
7797 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7798 (real_act_stage1_prepare): Ditto.
7799 (activation_success_handler): Ditto.
7800 (get_property): Ditto.
7802 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7805 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7808 * src/supplicant-manager/nm-supplicant-config.c
7809 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7810 to expected "char *".
7811 (nm_supplicant_config_add_setting_wireless): Ditto.
7812 (nm_supplicant_config_remove_option): Remove, not used.
7814 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7816 (test_wireless_enabled): Ifdef out unused function.
7817 (device_deactivate): Ditto.
7818 (device_state_changed): Ditto.
7819 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7820 (nm_utils_escape_ssid): Ditto.
7822 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7823 (nm_utils_is_empty_ssid): Ditto.
7825 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7828 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7829 (setting_vpn_properties_update_secrets): Ditto.
7830 (int_to_gvalue): Ifdef out for now, not used.
7831 (byte_to_gvalue): Ditto.
7833 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7836 2007-10-08 Tambet Ingo <tambet@gmail.com>
7838 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7839 about dbus manager, not named manager.
7840 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7842 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7843 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7844 However, the same signal is emitted when we destroy it and there's
7845 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7847 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7848 releasing the DBusGConnection, since proxy needs a conneciton.
7849 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7851 2007-10-08 Dan Williams <dcbw@redhat.com>
7853 * src/NetworkManager.c
7854 - (main): error on unknown command-line options
7856 2007-10-08 Dan Williams <dcbw@redhat.com>
7858 Reimplement the invalid connection list. Don't try to re-activate a
7859 connection that just failed or was canceled.
7862 - (connection_secrets_failed_cb): fail device activation, don't just
7863 deactivate the device. Listeners have to know about the failure.
7865 * src/NetworkManagerPolicy.c
7866 - (nm_policy_auto_get_best_device): exclude invalid connections from
7867 the connection list given to a device's get_best_connection()
7869 - (device_state_changed): tag failed connections as invalid; clear the
7870 tag from successful connections
7872 2007-10-08 Dan Williams <dcbw@redhat.com>
7874 Fix problems with interrupted activation. Previously, choosing an AP
7875 from the menu, then choosing another one before the first connection was
7876 successful wouldn't deactivate the device before starting the new connection
7877 on that same device.
7879 * src/NetworkManagerPolicy.c
7880 - (deactivate_old_device, device_state_changed, state_changed,
7881 nm_policy_new): wrong place to deactivate old devices
7884 - (pending_connection_info_destroy, finalize,
7885 wait_for_connection_expired): decouple destruction of the pending
7886 connection info from the manager device
7887 - (connection_added_default_handler): deactivate any active or
7888 activating device before starting a new activation
7889 - (impl_manager_activate_device): deactivate any active or activating
7890 device before starting a new activation; be sure not to leak
7891 pending connection info if a new activation request arrives but
7892 there's already a pending one in-process
7894 2007-10-08 Dan Williams <dcbw@redhat.com>
7896 * src/NetworkManagerAP.h
7897 src/NetworkManagerAP.c
7898 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7899 should handle default SSIDs and whether or not to autoconnect
7902 2007-10-08 Dan Williams <dcbw@redhat.com>
7904 * src/NetworkManagerPolicy.c
7905 - (nm_policy_device_change_check): print out connection name where
7908 2007-10-08 Dan Williams <dcbw@redhat.com>
7910 * src/nm-device-802-11-wireless.c
7911 src/nm-device-802-11-wireless.h
7912 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7913 'hidden-ap-found' signal (for internal use only) that allows the
7914 NMManager to fill in the AP's SSID if a connection has that AP's
7915 BSSID in its seen-bssids list
7918 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7919 wireless device's hidden-ap-found signal and fill in the APs SSID
7922 2007-10-07 Dan Williams <dcbw@redhat.com>
7926 - Add a 'connections-added' signal to batch together updates of large
7927 numbers of connections, like when reading from a settings service
7928 the first time. Otherwise, the policy would just activate the first
7929 suitable connection it saw rather than waiting for the full list
7931 - (nm_manager_class_init): register new signal
7932 - (get_type_for_proxy, connection_get_settings_cb,
7933 get_connection_for_proxy): centralize places where a proxy's setting
7934 service is determined
7935 - (free_get_settings_info): if the call being freed is the last call
7936 in a pending call group, fire off the connections-added signal
7937 - (internal_new_connection_cb): add call to a pending call group if
7939 - (list_connections_cb): always create a call group here, because this
7940 call results in a batch of new connections
7941 - (initial_get_connections): start getting system connections first
7942 - (nm_manager_connections_destroy, emit_removed): actually emit the
7943 removed signal when destroying connections
7945 * src/NetworkManagerPolicy.c
7946 - (nm_policy_new, connections_added): handle connections-added signal
7949 2007-10-06 Dan Williams <dcbw@redhat.com>
7951 * src/nm-device-802-11-wireless.c
7952 - (constructor): fix leaked socket
7954 2007-10-06 Dan Williams <dcbw@redhat.com>
7956 * src/NetworkManagerPolicy.c
7957 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7958 connection in the list returned by nm_manager_get_connections() is
7959 reffed, but they weren't getting unreffed before returning
7961 2007-10-06 Dan Williams <dcbw@redhat.com>
7964 - (connections_to_slist): sort connections first on autoconnect, then
7967 2007-10-06 Dan Williams <dcbw@redhat.com>
7969 * libnm-util/nm-connection.c
7970 - (gvalue_to_string): handle UINT64
7972 2007-10-06 Dan Williams <dcbw@redhat.com>
7974 * src/NetworkManagerPolicy.c
7975 - (connection_updated, nm_policy_new): recheck state when a connection
7978 2007-10-06 Dan Williams <dcbw@redhat.com>
7982 - (nm_manager_get_connection_dbus_path): make static
7983 - (nm_manager_update_connections): remove; unused
7984 - Add a connection-updated signal
7985 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7986 handle connection object updates
7988 2007-10-06 Dan Williams <dcbw@redhat.com>
7990 * src/NetworkManagerPolicy.c
7991 - (connection_removed): deactivate removed connections
7993 2007-10-06 Dan Williams <dcbw@redhat.com>
7995 * libnm-util/nm-connection.c
7996 libnm-util/nm-connection.h
7997 - (nm_connection_replace_settings): new function
7999 2007-10-06 Dan Williams <dcbw@redhat.com>
8001 * libnm-glib/nm-device-802-11-wireless.c
8002 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
8003 on error when getting the active access point over D-Bus from NM
8005 2007-10-05 Dan Williams <dcbw@redhat.com>
8007 * libnm-util/nm-setting.c
8008 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
8009 to the NMSettingWireless table; it's now a string array not an array
8012 2007-10-05 Dan Williams <dcbw@redhat.com>
8014 * libnm-glib/nm-device-802-11-wireless.c
8015 - Cache properties and update cached properties on D-Bus signals from NM
8017 2007-10-05 Dan Williams <dcbw@redhat.com>
8019 * src/nm-device-802-11-wireless.c
8020 - (set_current_ap): consolidate current_ap handling code into one place
8021 to ensure that PropertiesChanged signals are emitted in all cases
8022 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8023 nm_device_802_11_wireless_dispose): use set_current_ap()
8025 2007-10-05 Dan Williams <dcbw@redhat.com>
8027 * libnm-glib/nm-access-point.c
8028 libnm-glib/nm-access-point.h
8029 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8030 because the value is cached internally now. Callers should not
8031 free the internal value.
8032 - Make signal name defines private
8035 libnm-glib/libnm-glib-test.c
8036 - Don't free value returned from nm_access_point_get_hw_address()
8038 2007-10-04 Dan Williams <dcbw@redhat.com>
8040 * introspection/nm-device-802-11-wireless.xml
8041 src/nm-device-802-11-wireless.h
8042 src/nm-device-802-11-wireless.c
8043 - Add a PropertiesChanged signal for wireless device
8044 - Store currently associated access point
8045 - (periodic_update): generalize; update rate here too and emit the
8046 correct PropertiesChanged signal when stuff changes
8047 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8048 real_activation_cancel_handler): clear current_ap when device is
8050 - (link_to_specific_ap, get_ap_blacklisted,
8051 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8053 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8055 - (real_set_hw_address): emit property changed signal if the card's
8057 - (real_act_stage1_prepare): set the initial current_ap to the AP
8058 the card is supposed to be connecting to
8059 - (activation_success_handler): send out property updates on successful
8061 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8062 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8063 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8064 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8065 is now boxed; add PropertiesChanged signal
8067 2007-10-04 Dan Williams <dcbw@redhat.com>
8069 * libnm-util/nm-connection.c
8070 libnm-util/nm-connection.h
8071 - (nm_connection_verify): new function
8073 2007-10-04 Dan Williams <dcbw@redhat.com>
8075 * libnm-util/nm-setting.c
8076 - (nm_settings_verify): use #defines when possible rather than strings
8077 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8078 - (setting_vpn_verify): tighter validity check on 'service_type'
8080 2007-10-04 Dan Williams <dcbw@redhat.com>
8082 * libnm-glib/nm-settings.c
8083 - (nm_connection_settings_class_init): provide correct type for argument
8084 to the Updated signal so that dbus-glib knows how to marshal it
8086 2007-10-03 Dan Williams <dcbw@redhat.com>
8088 * src/nm-device-802-3-ethernet.c
8089 - (real_get_best_connection): don't create automatic connections
8090 internally; clients should provide a setting that applies to
8091 the device with 'autoconnect: True'. Problem was that these
8092 internally auto-created connections don't have a proxy or service
8093 name becuase they weren't created by a settings daemon, and therefore
8094 clients have no idea what to do with them.
8096 2007-10-03 Dan Williams <dcbw@redhat.com>
8098 * src/nm-device-802-11-wireless.c
8099 src/nm-device-802-11-wireless.h
8100 introspection/nm-device-802-11-wireless.xml
8101 - GetActiveNetworks -> GetAccessPoints
8102 - ActiveNetwork -> ActiveAccessPoint
8103 - NetworkAdded -> AccessPointAdded
8104 - NetowrkRemoved -> AccessPointRemoved
8106 * libnm-glib/nm-device-802-11-wireless.c
8107 libnm-glib/nm-device-802-11-wireless.h
8108 - network-added signal -> access-point-added
8109 - network-removed signal -> access-point-removed
8110 - nm_device_802_11_wireless_get_active_network() ->
8111 nm_device_802_11_wireless_get_active_access_point()
8112 - nm_device_802_11_wireless_get_network_by_path() ->
8113 nm_device_802_11_wireless_get_access_point_by_path()
8114 - nm_device_802_11_wireless_get_networks() ->
8115 nm_device_802_11_wireless_get_access_points()
8117 * libnm-glib/libnm-glib-test.c
8119 src/NetworkManagerPolicy.c
8120 - Fixups for Network -> AccessPoint
8122 2007-10-03 Dan Williams <dcbw@redhat.com>
8124 Add a GetActiveConnections() method on the Manager object.
8128 introspection/nm-manager.xml
8129 - (connection_get_settings_cb): keep connection type around too
8130 - (impl_manager_get_active_connections, add_one_connection_element):
8131 implement; returns all active connections and what devices they
8134 * libnm-glib/nm-client.c
8135 libnm-glib/nm-client.h
8136 introspection/nm-manager-client.xml
8137 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8138 by the caller; free here to avoid memory leak
8139 - (nm_client_get_active_connections): implement; return the list of
8141 - (nm_client_free_active_connection_element): implement; free an element
8142 of the GSList returned by nm_client_get_active_connections()
8144 2007-10-03 Dan Williams <dcbw@redhat.com>
8146 * src/nm-device-802-11-wireless.c
8147 - (nm_device_802_11_wireless_update_bssid): remove
8148 - (get_active_ap): new function; find the AP in the scan list which
8149 matches the current BSSID and SSID of the wireless device
8150 - (nm_device_802_11_periodic_update): get current AP using
8151 get_active_ap() and print AP roam messages
8153 2007-10-01 Dan Williams <dcbw@redhat.com>
8155 * libnm-util/nm-setting.h
8156 - Add a 'timestamp' option to NMSettingConnection
8159 * libnm-util/nm-setting.c
8160 - (uint64_to_gvalue): new function
8161 - (nm_setting_populate_from_hash, nm_setting_hash,
8162 default_setting_clear_secrets): handle UINT64 type
8163 - con_table: add 'timestamp' member
8165 2007-10-01 Dan Williams <dcbw@redhat.com>
8168 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8169 value when the connection can be activated immediately
8171 2007-10-01 Dan Williams <dcbw@redhat.com>
8173 * libnm-glib/nm-device.c
8174 - (nm_device_class_init): actually tell glib about the carrier-changed
8177 2007-10-01 Dan Williams <dcbw@redhat.com>
8180 src/marshallers/Makefile.am
8181 src/marshallers/nm-marshal.list
8182 src/marshallers/nm-marshal-main.c
8183 - Consolidate glib marshallers into one place
8185 * src/dhcp-manager/Makefile.am
8186 src/dhcp-manager/nm-dhcp-manager.c
8187 src/supplicant-manager/Makefile.am
8188 src/supplicant-manager/nm-supplicant-manager.c
8189 src/supplicant-manager/nm-supplicant-interface.c
8190 src/ppp-manager/Makefile.am
8191 src/ppp-manager/nm-ppp-manager.c
8192 src/vpn-manager/Makefile.am
8193 src/vpn-manager/nm-vpn-connection.c
8195 - Use consolidated marshallers
8197 * src/dhcp-manager/nm-dhcp-marshal.list
8198 src/dhcp-manager/nm-dhcp-marshal-main.c
8199 src/supplicant-manager/nm-supplicant-marshal-main.c
8200 src/supplicant-manager/nm-supplicant-marshal.list
8201 src/nm-marshal-main.c
8203 src/ppp-manager/nm-ppp-marshal-main.c
8204 src/ppp-manager/nm-ppp-marshal.list
8205 src/vpn-manager/nm-vpn-marshal-main.c
8206 src/vpn-manager/nm-vpn-marshal.list
8209 2007-10-01 Dan Williams <dcbw@redhat.com>
8211 * include/NetworkManagerVPN.h
8212 - define VPN connection state change reason codes
8214 * src/vpn-manager/Makefile.am
8215 src/vpn-manager/nm-vpn-marshal.list
8216 src/vpn-manager/nm-vpn-marshal-main.c
8217 - Add marshallers for StateChanged signal
8219 * introspection/nm-vpn-connection.xml
8220 - New Banner property
8221 - StateChanged signal now includes a 'reason' argument
8223 * src/vpn-manager/nm-vpn-connection.c
8224 src/vpn-manager/nm-vpn-connection.h
8225 - Add a "Banner" property that contains the returned VPN server login
8226 banner (if any); valid only in the ACTIVATED state
8227 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8228 a 'reason' argument and emits that reason along with the
8229 state-changed signal
8230 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8231 - (nm_vpn_connection_ip4_config_get): save banner for later
8232 - (nm_vpn_connection_get_banner, get_property,
8233 nm_vpn_connection_class_init): implement Banner property
8235 * src/vpn-manager/nm-vpn-service.c
8236 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8237 connection list because elements may get added/removed from it
8238 while iterating over the list
8239 - (connection_state_changed): signal now includes the 'reason' argument
8241 * libnm-glib/nm-vpn-connection.c
8242 libnm-glib/nm-vpn-connection.h
8243 - (nm_vpn_connection_get_banner): new function
8244 - (state_changed_proxy): handle reason argument
8246 2007-09-28 Tambet Ingo <tambet@gmail.com>
8250 Implement device activation through NMManager.
8251 Implement "pending device activation" here - If the connection isn't found,
8252 we try to wait for up to 5 seconds for the connection to be provided.
8253 Add NMConnectionType argument to "connection-added" and "connection-removed"
8255 (nm_manager_get): Remove. Finally.
8257 * src/nm-activation-request.c:
8258 * src/nm-activation-request.h:
8259 Remove all the deferred activation code.
8261 * src/nm-device.c: Remove all the deferred activation code. Once the device
8262 activation is started, it's started. Update the activation virtual function
8265 * src/nm-device-interface.c:
8266 * src/nm-device-interface.h:
8267 Device activation now takes only NMActRequest argument.
8268 Don't expose device activation directly on dbus, it's supposed to go through
8271 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8273 Use the new device activation methods through NMManager.
8275 * introspection/nm-manager-client.xml:
8276 * introspection/nm-manager.xml:
8277 * libnm-glib/nm-client.c:
8278 * libnm-glib/nm-client.h:
8279 Add device activation method.
8281 * libnm-glib/nm-device.c:
8282 * libnm-glib/nm-device.h:
8283 * introspection/nm-device.xml:
8284 Remove device activation method. It's done through NMManager now.
8286 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8287 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8289 2007-09-28 Dan Williams <dcbw@redhat.com>
8291 * libnm-glib/nm-vpn-connection.c
8292 - (nm_vpn_connection_get_state): try to update state if the current
8295 2007-09-27 Dan Williams <dcbw@redhat.com>
8297 Patch from Bill Nottingham
8299 * src/supplicant-manager/nm-supplicant-config.c
8300 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8301 data to the supplicant
8303 2007-09-27 Dan Williams <dcbw@redhat.com>
8305 * src/NetworkManagerSystem.c
8306 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8307 and all address manipulation here should be happening on the
8308 _VPN_ device, not the active device
8310 2007-09-26 Dan Williams <dcbw@redhat.com>
8314 src/nm-activation-request.c
8315 src/nm-activation-request.h
8316 - Move the GetSecrets stuff out of the NMManager instance because it
8317 doesn't really need to be there and complicates things
8320 - (connection_secrets_failed_cb, device_activation_go): connect to the
8321 connection-secrets-failed signal and deactivate the device if
8322 the GetSecrets call fails
8324 * src/nm-device-802-11-wireless.c
8325 - (link_timeout_cb, supplicant_connection_timeout_cb,
8326 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8327 secrets and give correct hints about whether new secrets should be
8328 asked for by the client or not
8330 2007-09-26 Dan Williams <dcbw@redhat.com>
8332 * src/vpn-manager/nm-vpn-connection.c
8333 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8334 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8335 to the secrets-updated signal of the NMConnection since updating
8336 the secrets is done within the scope of the NMVPNConnection object
8338 - (get_connection_secrets): fix an uninialized variable usage error
8340 2007-09-26 Dan Williams <dcbw@redhat.com>
8342 * libnm-util/nm-setting.c
8343 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8344 actually get updated when the user enters them
8346 2007-09-26 Dan Williams <dcbw@redhat.com>
8348 * libnm-glib/nm-vpn-plugin.c
8349 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8351 2007-09-26 Dan Williams <dcbw@redhat.com>
8353 * include/NetworkManagerVPN.h
8354 - Add a NEED_AUTH state
8356 * src/vpn-manager/nm-vpn-connection.c
8357 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8358 the connection needs secrets, and if so, then ask the settings
8359 service to fill in the secrets. Then start the connection.
8361 2007-09-26 Dan Williams <dcbw@redhat.com>
8363 * src/vpn-manager/nm-vpn-manager.c
8364 - (new_vpn_error, impl_vpn_manager_connect): set errors
8366 2007-09-26 Dan Williams <dcbw@redhat.com>
8368 * introspection/nm-vpn-plugin.xml
8369 libnm-glib/nm-vpn-plugin.c
8370 libnm-glib/nm-vpn-plugin.h
8371 - (impl_vpn_plugin_need_secrets): implement a call that should return
8372 the name of the NMSetting in an NMConnection that may require
8373 secrets specific to that VPN plugin
8375 2007-09-26 Dan Williams <dcbw@redhat.com>
8379 - (nm_manager_get_connection_secrets): make static, unused outside
8381 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8383 2007-09-26 Tambet Ingo <tambet@gmail.com>
8385 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8387 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8388 unreference the connection.
8390 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8391 passing properties hash and routes string list, pass NMConnection (in hashed form).
8393 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8394 as GSList, no need to copy stuff around anymore.
8395 (nm_vpn_connection_activate): Update the plugin activation method.
8397 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8398 routes argument to GSList.
8400 2007-09-26 Tambet Ingo <tambet@gmail.com>
8402 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8403 state and try to get the secrets.
8405 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8406 connections from NMManager and let the device to choose the best from the list.
8407 Since the connection list is sorted by system ones first and user ones later,
8408 the devices still prefer system connections like they did before.
8409 (deactivate_old_device): Implement. When a device starts activation, we have a
8410 policy (for now at least) to deactivate any other device that might be either
8411 active or still activating.
8413 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8414 It's set on construction, there will be no other way to access it.
8416 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8417 device events and drive the device, not the other way around.
8419 * src/nm-device-802-3-ethernet.c: Ditto.
8421 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8422 sent along, pass it on to virtual functions.
8424 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8425 for now, but should really be public instead of nm_device_get_iface() since iface
8426 is a property of the DeviceInterface, not Device.
8427 (impl_device_activate): Don't touch NMManager!
8429 2007-09-26 Jürg Billeter <j@bitron.ch>
8431 * initscript/paldo/NetworkManager.in:
8432 * initscript/paldo/NetworkManagerDispatcher.in:
8433 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8434 (nm_system_flush_loopback_routes): update paldo backend
8436 2007-09-26 Tambet Ingo <tambet@gmail.com>
8438 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8439 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8440 which means none of the devices get brought down properly, which in turn leaves
8441 DHCP client running.
8443 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8444 (supplicant_connection_timeout_cb): Ditto.
8446 2007-09-25 Dan Williams <dcbw@redhat.com>
8449 - (device_activation_go): small hack to work around race when
8450 activating deferred connections; should solve this in a better way
8452 2007-09-25 Dan Williams <dcbw@redhat.com>
8454 * introspection/nm-device.xml
8455 libnm-glib/nm-device.c
8456 libnm-glib/nm-device.h
8457 - Add 'Carrier' property to exported NMDevice objects
8459 * src/nm-device-interface.h
8460 src/nm-device-interface.c
8462 - Add a 'carrier' property to internal NMDevice objects
8464 2007-09-25 Dan Williams <dcbw@redhat.com>
8466 * src/nm-device-802-11-wireless.c
8467 - (ap_auth_enforced): also return the encryption status of the AP so
8468 that callers can differentiate easily between unencrypted APs
8469 and encrypted ones, in addition to whether the AP has an
8471 - (link_timeout_cb, supplicant_connection_timeout_cb,
8472 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8473 previously would request secrets from unencrypted APs at times
8475 2007-09-25 Dan Williams <dcbw@redhat.com>
8478 - (nm_manager_update_state): new function; updates state and emits
8479 appropriate signals ensuring a state-change signal for the same state
8480 never gets emitted twice in a row.
8481 - (manager_device_state_changed): handle more device state to get a
8482 better picture of the overall NM state
8484 2007-09-25 Dan Williams <dcbw@redhat.com>
8486 * libnm-glib/nm-settings.c
8487 libnm-glib/nm-settings.h
8488 - (new_error -> nm_settings_new_error): make public so that subclasses
8489 can use the same error domain. Also pass a valid error code to
8490 g_error_new_literal() so that libdbus doesn't assert when converting
8491 the GError into a DBusError
8492 - (impl_settings_list_connections, impl_connection_settings_get_id,
8493 impl_connection_settings_get_settings,
8494 impl_connection_settings_get_secrets): use new error creator
8497 2007-09-25 Dan Williams <dcbw@redhat.com>
8499 * src/NetworkManager.c
8500 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8502 2007-09-25 Dan Williams <dcbw@redhat.com>
8504 * src/supplicant-manager/nm-supplicant-manager.c
8505 - (poke_supplicant_cb, nm_supplicant_manager_init,
8506 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8507 nm_supplicant_manager_startup): when the supplicant isn't running,
8508 try to start it periodically via system bus activation. Fixes
8509 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8510 for the supplicant to come back
8512 2007-09-25 Dan Williams <dcbw@redhat.com>
8514 Ensure that old activation requests are forgotten about; previously
8515 hitting Cancel in the password dialog would deactivate whatever device
8516 that password was requested for, even if that wasn't the currently
8517 activating connection.
8521 - (nm_manager_get_connection_secrets): track the pending call
8522 object so it can be canceled later if needed
8523 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8524 GetSecrets call for a particular connection
8526 * src/nm-activation-request.c
8527 - (dispose): cancel any outstanding GetSecrets calls on the
8530 2007-09-25 Dan Williams <dcbw@redhat.com>
8532 * src/NetworkManagerPolicy.c
8533 - (nm_policy_device_change_check): handle devices that have a
8534 deferred activation. These devices are not really active _yet_,
8535 but need to be treated as such here. Don't interrupt them
8538 * src/nm-device-interface.c
8539 - (impl_device_activate): handle devices that have a deferred activation
8540 like activating or active devices. When multiple active devices
8541 get committed, the device shouldn't be deactivated until the
8542 connection details are available to avoid DoS and such. Currently,
8543 any active, activating, or deferred activation device is deactivated
8544 here before starting the new activation request.
8546 2007-09-25 Dan Williams <dcbw@redhat.com>
8548 Properly re-query secrets from the settings daemon when stuff fails.
8550 * src/nm-device-802-11-wireless.c
8551 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8552 between Shared Key and Open System auth modes
8553 - (link_timeout_cb, supplicant_connection_timeout_cb,
8554 real_act_stage4_ip_config_timeout): clear existing secrets and
8555 request new ones when something fails due to a suspected wrong key
8556 - (real_act_stage2_config): fix for new request_new argument to
8557 nm_manager_get_connection_secrets()
8561 - (nm_manager_get_connection_secrets): return error status; pass
8562 new request_new argument on to the settings daemon
8564 * introspection/nm-settings-connection.xml
8565 - New 'request_new' argument to the GetSecrets call that hints to the
8566 settings daemon to ask the user for completely new secrets
8568 * libnm-glib/nm-settings.c
8569 libnm-glib/nm-settings.h
8570 - (impl_connection_settings_get_secrets): handle new 'request_new'
8573 2007-09-25 Dan Williams <dcbw@redhat.com>
8575 * libnm-util/nm-connection.c
8576 libnm-util/nm-connection.h
8577 - (nm_connection_clear_secrets): new function; clear secrets out of
8578 each NMSetting in an NMConnection
8580 * libnm-util/nm-setting.h
8581 libnm-util/nm-setting.c
8582 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8583 secrets out of an NMSetting
8584 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8585 nm_setting_wired_new, nm_setting_wireless_new,
8586 nm_setting_wireless_security_new, nm_setting_ppp_new,
8587 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8588 to default handler default_setting_clear_secrets()
8590 2007-09-25 Dan Williams <dcbw@redhat.com>
8592 * src/nm-activation-request.c
8593 src/nm-activation-request.h
8594 - (nm_act_request_is_deferred): new function
8596 2007-09-24 Dan Williams <dcbw@redhat.com>
8598 * src/nm-device-802-11-wireless.c
8599 - (activation_success_handler): update signal strength immediately
8602 2007-09-24 Dan Williams <dcbw@redhat.com>
8604 * libnm-util/nm-setting.c
8605 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8607 2007-09-24 Dan Williams <dcbw@redhat.com>
8609 * src/NetworkManagerPolicy.c
8610 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8611 device by deactivating it because it doesn't have a "best connection".
8612 Since autoconnect=False connections aren't automatically chosen,
8613 NM would interrupt activation of such a connection because it
8614 would never be "best" due to autoconnect=False.
8616 2007-09-24 Dan Williams <dcbw@redhat.com>
8619 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8620 actually has some time to enter a key before the GetSecrets call
8623 2007-09-24 Dan Williams <dcbw@redhat.com>
8625 * introspection/nm-manager.xml
8627 - (impl_manager_legacy_state): fix 'state' method call return value
8629 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8631 * test/Makefile.am: Install nm-tool
8633 2007-09-24 Dan Williams <dcbw@redhat.com>
8635 Patch from Ross Burton <ross@burtonini.com>
8638 callouts/nm-dhcp-client-action.c
8640 src/vpn-manager/nm-vpn-connection.c
8641 libnm-glib/libnm-glib-test.c
8644 2007-09-24 Dan Williams <dcbw@redhat.com>
8646 * libnm-util/nm-utils.h
8647 libnm-util/nm-utils.c
8648 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8651 2007-09-23 Dan Williams <dcbw@redhat.com>
8653 * vpn-daemons/vpnc/properties/nm-vpnc.c
8654 - Update for new VPN properties API bits; instead of passing around
8655 a lot of random things, everything goes into the NMConnection
8658 2007-09-23 Dan Williams <dcbw@redhat.com>
8660 * libnm-util/nm-setting.c
8661 - Correctly dispose of settings objects if creating them from a hash
8664 2007-09-23 Dan Williams <dcbw@redhat.com>
8666 * libnm-util/nm-setting.c
8667 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8668 the hash table in a standard manner. Clients of libnm-util should
8669 only call g_hash_table_remove_all(), never destroy the hash table
8672 2007-09-22 Dan Williams <dcbw@redhat.com>
8674 * src/nm-device-802-11-wireless.c
8675 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8676 real reason to do it so often, and reduces wakeups for clients.
8678 2007-09-21 Dan Williams <dcbw@redhat.com>
8680 * src/nm-device-802-11-wireless.c
8681 - (build_supplicant_config): wpa_supplicant requires the option
8682 key_mgmt=NONE for unencrypted networks
8683 - (real_act_stage2_config): clarify log message on activation
8685 2007-09-21 Dan Williams <dcbw@redhat.com>
8687 * test/nm-supplicant-test.c
8689 - Remove supplicant test binary; no longer applicable
8691 2007-09-21 Dan Williams <dcbw@redhat.com>
8693 * src/supplicant-manager/nm-supplicant-manager.c
8694 - (nm_supplicant_manager_init): poke the supplicant at startup to
8695 activate it on the system bus
8697 2007-09-20 Dan Williams <dcbw@redhat.com>
8699 * initscript/RedHat/NetworkManager.in
8700 - dhcdbd is no longer used, so don't try to start it from the initscripts
8702 2007-09-20 Dan Williams <dcbw@redhat.com>
8705 - (nm_device_is_activating): work around a race between auto-activation
8706 and the user activating the same device that is being auto-activated
8708 2007-09-20 Dan Williams <dcbw@redhat.com>
8710 * src/nm-device-interface.c
8711 - (impl_device_activate): until multiple active device support lands,
8712 ensure only one device can be active at a time
8714 2007-09-20 Dan Williams <dcbw@redhat.com>
8716 * src/supplicant-manager/nm-supplicant-config.c
8717 src/supplicant-manager/nm-supplicant-config.h
8718 - (nm_supplicant_config_add_option): hide secrets from system logs
8720 2007-09-20 Dan Williams <dcbw@redhat.com>
8722 * src/NetworkManagerPolicy.c
8723 - (nm_policy_device_change_check): re-enable the wireless device change
8724 checking code; insted of checking for SSIDs, check for the same
8727 2007-09-20 Dan Williams <dcbw@redhat.com>
8729 * src/nm-device-802-11-wireless.c
8730 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8731 composite link state when determining when to start the disconnection
8732 timer; that link state is already based on the supplicant interface's
8733 status which is exactly what's already being examined, plus the link
8734 state is a conglomeration of various things that we don't want here
8736 2007-09-20 Dan Williams <dcbw@redhat.com>
8738 * libnm-glib/nm-access-point.c
8739 - (handle_property_changed): strength is a UCHAR
8741 2007-09-20 Dan Williams <dcbw@redhat.com>
8743 * src/supplicant-manager/nm-supplicant-config.c
8744 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8745 string list keywords too since that's what wpa_supplicant wants
8747 2007-09-20 Dan Williams <dcbw@redhat.com>
8749 * libnm-util/nm-setting.c
8750 - (convert_strv_to_slist): dupe the values in the list because since
8751 the list is a boxed value, it'll get destroyed when it's container
8752 (like a hash table or whatever) gets destroyed
8754 2007-09-20 Tambet Ingo <tambet@gmail.com>
8756 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8759 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8761 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8762 just use (g_object_set_data_full).
8764 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8765 that NMSettingVPN->routes is a GSList, convert it to char **.
8766 (nm_vpn_connection_ip4_config_get): Free routes when done.
8767 (nm_vpn_connection_activate): Ditto.
8769 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8770 (real_act_stage2_config): Use defined setting names.
8772 2007-09-20 Dan Williams <dcbw@redhat.com>
8774 * src/nm-device-802-11-wireless.c
8777 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8778 so that the device can be deactivated if secrets are wrong
8780 2007-09-20 Dan Williams <dcbw@redhat.com>
8782 * introspection/nm-settings-connection.xml
8783 libnm-glib/nm-settings.c
8784 libnm-glib/nm-settings.h
8785 - Make GetSecrets asynchronous on the server side
8787 2007-09-20 Dan Williams <dcbw@redhat.com>
8791 - (nm_device_activate): actually check if a given connection
8792 exists before assuming it doesn't
8794 2007-09-20 Tambet Ingo <tambet@gmail.com>
8796 * libnm-util/nm-connection.c (register_default_creators): Use defined
8797 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8799 * libnm-util/nm-setting.c: Define property name strings, use them.
8800 Implement NMSettingVPN and NMSettingVPNProperties settings.
8801 Implement NM_S_TYPE_GVALUE_HASH.
8802 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8803 (setting_connection_verify): Rename 'devtype' property to 'type'.
8805 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8808 * src/vpn-manager/nm-vpn-service.c: Ditto.
8810 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8812 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8813 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8815 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8816 names. NMSettingConnection->devtype got renamed to 'type'.
8818 * src/nm-device-802-3-ethernet.c (find_best_connection):
8819 (real_get_best_connection): Ditto.
8821 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8823 * libnm-glib/nm-vpn-manager.[ch]: Update.
8825 2007-09-19 Dan Williams <dcbw@redhat.com>
8827 * src/NetworkManagerAP.c
8828 src/NetworkManagerAP.h
8829 introspection/nm-access-point.xml
8830 - Change strength-changed signal into a properties-changed signal
8831 for all properties, not just strength. Export that signal over dbus
8832 so listeners don't have to poll NM for changes.
8833 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8834 get exported over D-Bus, so break up the logic and let other bits
8835 decided when to export the AP
8836 - (nm_ap_new_from_ap): remove, unused
8838 * src/nm-device-802-11-wireless.c
8839 - (merge_scanned_ap): only export APs that are actually on the device
8840 list, not every AP created internally
8842 * libnm-glib/nm-access-point.c
8843 libnm-glib/nm-access-point.h
8844 - Cache properties internally and only hit DBus when needed. Get
8845 property updates from NM signals
8847 2007-09-16 Dan Williams <dcbw@redhat.com>
8849 * libnm-util/nm-connection.c
8850 libnm-util/nm-connection.h
8851 - (nm_connection_for_each_setting_value): new function; iterate over
8852 each setting's value and call a user-provided function with details
8855 * libnm-util/nm-setting.c
8856 libnm-util/nm-setting.h
8857 - (nm_setting_enumerate_values): new function; enumerate the values
8858 of a specific NMSetting subclass for a user-provided function with
8859 details about that value
8860 - Change wep_tx_keyidx to a uint32
8861 - Create settings value tables for each setting defining their type,
8862 key name, offset into the NMSetting subclass' structure, and whether
8863 they are required and/or a secret
8864 - (nm_setting_populate_from_hash): generic function to populate an
8865 NMSetting from a GHash table, make all settings use it
8866 - (nm_setting_hash): generic function to derive a GHashTable from
8867 an NMSetting object, make all settings use it
8869 2007-09-14 Dan Williams <dcbw@redhat.com>
8871 Remove unused stuff in libnm-util
8874 libnm-util/Makefile.am
8875 libnm-util/cipher-private.h
8876 libnm-util/cipher-wep-ascii.c
8877 libnm-util/cipher-wep-ascii.h
8878 libnm-util/cipher-wep-hex.c
8879 libnm-util/cipher-wep-hex.h
8880 libnm-util/cipher-wep-passphrase.c
8881 libnm-util/cipher-wep-passphrase.h
8882 libnm-util/cipher-wpa-psk-hex.c
8883 libnm-util/cipher-wpa-psk-hex.h
8884 libnm-util/cipher-wpa-psk-passphrase.c
8885 libnm-util/cipher-wpa-psk-passphrase.h
8888 libnm-util/dbus-helpers.c
8889 libnm-util/dbus-helpers.h
8890 libnm-util/gnome-keyring-md5.c
8891 libnm-util/gnome-keyring-md5.h
8894 src/nm-device-802-11-wireless.c
8895 test/libnm-util/Makefile.am
8896 test/libnm-util/test-ciphers.c
8897 test/libnm-util/test-dbus-helpers.c
8898 test/libnm-util/test-inputs.h
8901 2007-09-14 Dan Williams <dcbw@redhat.com>
8903 * libnm-util/dbus-method-dispatcher.c
8904 libnm-util/dbus-method-dispatcher.h
8907 2007-09-14 Dan Williams <dcbw@redhat.com>
8909 Implement deferred activation support in the device class.
8911 * src/nm-device-interface.c
8912 src/nm-device-interface.h
8913 - (nm_device_interface_activate): take more arguments to support
8914 deferred activation; callers must pass one of (connection) OR
8915 (service_name, connection_path)
8916 - (impl_device_activate): connection validation is punted to the device
8917 to be able to handle deferred activation. Yes, this means errors
8918 don't get returned from the Activate() dbus call, and yes, that
8919 should be fixed somehow later.
8923 - (clear_act_request): clear additional deferred activation stuff too
8924 - (deferred_activation_timeout_cb): new function; clean up when
8925 deferred activation times out.
8926 - (deferred_activation_start_cb): new function; when the connection
8927 finally becomes available, start device activation
8928 - (nm_device_activate): attach to the right signals of the activation
8929 request if we need to defer activation until the connection is valid
8931 * src/NetworkManagerPolicy.c
8932 - (nm_policy_device_change_check): update for additional arguments
8933 required for nm_device_interface_activate(). Pass NULL for these
8934 though because this function already knows exactly which
8937 2007-09-14 Dan Williams <dcbw@redhat.com>
8939 Implement deferred activation handling in the NMActRequest class. When a
8940 client wants to activate a device but must create the NMConnection details
8941 on the fly, there likely hasn't been enough time yet for NM to receive the
8942 new connection signal and grab all the connection details. So the
8943 activation is deferred (and bounded by a timer) for a while, and if the
8944 connection appears within the window, it is activated.
8946 * src/nm-activation-request.c
8947 src/nm-activation-request.h
8948 - (nm_act_request_class_init): two new signals to support deferred
8949 activation, to allow the listener to handle both timeout and success
8950 - (nm_act_request_new_deferred): new function, starts the deferred
8951 activation timeout handler and listens to the NMManager for
8952 new-connection signals to notice when the connection comes in
8954 2007-09-14 Dan Williams <dcbw@redhat.com>
8958 - (nm_manager_get_connection_service_name,
8959 nm_manager_get_connection_dbus_path): get details about a connection
8960 known internally by the NMManager
8961 - (nm_manager_class_init): fix connection add/remove signal marshalers
8962 because NMConnection is now a GObject subclass
8963 - Use constant for the gobject data tag used on NMConnection objects for
8964 storing the associated DBusGProxy
8966 2007-09-14 Dan Williams <dcbw@redhat.com>
8971 src/supplicant-manager/Makefile.am
8972 src/dhcp-manager/Makefile.am
8973 src/backends/Makefile.am
8974 src/named-manager/Makefile.am
8975 src/ppp-manager/Makefile.am
8976 src/vpn-manager/Makefile.am
8977 test/libnm-util/Makefile.am
8978 test/test-common/Makefile.am
8979 - Remove utils/; it was unused
8981 2007-09-13 Dan Williams <dcbw@redhat.com>
8983 * libnm-glib/nm-vpn-manager.h
8984 libnm-glib/nm-vpn-manager.c
8985 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8987 2007-09-13 Dan Williams <dcbw@redhat.com>
8989 * src/nm-device-802-3-ethernet.c
8990 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8991 netlink monitor carrier signals on dispose, not bring down. The
8992 carrier signals should be handled over the entire lifetime of the
8993 device anyway, not created/destroyed on up or down.
8995 2007-09-13 Dan Williams <dcbw@redhat.com>
8997 * libnm-glib/nm-device.c
8998 libnm-glib/nm-device.h
8999 - (nm_device_activate): take a connection object path rather than an
9000 NMConnection because NMConnection isn't exported over D-Bus and
9001 therefore it dbus-glib can't automatically get an object path from it
9003 2007-09-13 Dan Williams <dcbw@redhat.com>
9005 * libnm-util/nm-setting.c
9006 - (nm_setting_wired_new): set autonegotiate to TRUE by default
9008 2007-09-13 Tambet Ingo <tambet@gmail.com>
9010 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
9012 2007-09-12 Tambet Ingo <tambet@gmail.com>
9014 * src/vpn-manager/nm-vpn-connection.[ch]:
9015 * src/vpn-manager/nm-vpn-manager.[ch]:
9016 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
9017 dbus-glib, GObjects, signals etc.
9019 * libnm-glib/nm-vpn-manager.[ch]:
9020 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9021 so much, rewrite these too.
9023 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9024 the new introspection files.
9026 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9028 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9029 the header with the same name from libnm-utils.
9031 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9033 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9035 * introspection/nm-vpn-plugin.xml: Implement.
9037 * introspection/nm-vpn-connection.xml: Implement.
9039 * introspection/nm-vpn-manager.xml: Implement.
9041 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9042 the named manager argument, it can just as easily get it as the caller.
9043 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9045 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9047 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9049 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9052 * libnm-util/nm-connection.c: Ditto.
9054 * src/NetworkManagerMain.h: Remove, it's finally empty.
9056 * configure.in: Remove utils/ from build.
9058 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9059 of hard-coded strings.
9061 * utils/: Move it over to libnm-util.
9063 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9065 * dispatcher-daemon/Makefile.am: Ditto.
9067 * src/Makefile.am: Ditto.
9069 2007-09-12 Dan Williams <dcbw@redhat.com>
9071 Wireless connections can be made with config data from the applet now.
9075 * src/supplicant-manager/nm-supplicant-config.h
9076 src/supplicant-manager/nm-supplicant-config.c
9077 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9078 - (nm_supplicant_config_add_setting_wireless,
9079 nm_supplicant_config_add_setting_wireless_security): new functions;
9080 add key/value pairs from the settings objects to the supplicant
9083 * src/nm-device-802-11-wireless.c
9084 - (cull_scan_list): fix check to not prune currently associated AP
9085 - (build_supplicant_config, real_act_stage2_config): call the functions
9086 of the NMSupplicantConfig that parse settings objects rather than
9087 doing it manually here
9089 2007-09-12 Dan Williams <dcbw@redhat.com>
9091 * src/supplicant-manager/nm-supplicant-interface.c
9092 src/supplicant-manager/nm-supplicant-marshal.list
9093 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9094 "connection-error" signal arguments should be STRING not CHAR
9096 2007-09-12 Dan Williams <dcbw@redhat.com>
9098 * src/NetworkManagerUtils.c
9099 src/NetworkManagerUtils.h
9100 - (nm_utils_hexstr2bin): new function
9102 2007-09-11 Dan Williams <dcbw@redhat.com>
9105 - (connection_get_settings_cb): emit connection-added signal
9106 - (connection_removed_cb): uncomment bits for system settings service,
9107 send connection-removed when appropriate
9108 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9109 the stack by trying to g_object_set_data() on something that's
9110 not a GObject; handle case where settings service returns
9111 empty settings hash table
9113 2007-09-11 Dan Williams <dcbw@redhat.com>
9115 * src/NetworkManagerPolicy.c
9116 - (connection_added, connection_removed): trigger device change checks
9117 on connection changes
9119 2007-09-11 Dan Williams <dcbw@redhat.com>
9121 * src/nm-activation-request.c
9122 - (connection_secrets_updated_cb): fix c&p error in signal emission
9124 2007-09-11 Dan Williams <dcbw@redhat.com>
9126 * src/nm-device-802-11-wireless.c
9127 - (real_connection_secrets_updated): fix erroneous check
9129 2007-09-11 Dan Williams <dcbw@redhat.com>
9131 * introspection/nm-device.xml
9132 libnm-glib/nm-device.c
9133 libnm-glib/nm-device.c
9134 - Fix Activate call argument borkage; Activate takes 3 arguments
9136 2007-09-11 Dan Williams <dcbw@redhat.com>
9138 * libnm-glib/nm-access-point.c
9139 libnm-glib/nm-access-point.c
9140 - (nm_access_point_get_frequency): now returns guint32 to match
9141 property change on 2007-09-10
9143 2007-09-11 Dan Williams <dcbw@redhat.com>
9145 * src/nm-device-802-11-wireless.c
9146 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9147 somewhere defines 'index' and I missed this one when I fixed the
9148 shadow declaration errors earlier
9150 2007-09-11 Dan Williams <dcbw@redhat.com>
9152 * libnm-util/nm-connection.c
9153 - (nm_connection_update_secrets, need_secrets_check): move
9154 802-11-wireless-security need_secrets checks to the setting object
9155 itself, where it belongs
9157 * libnm-util/nm-setting.c
9158 libnm-util/nm-setting.h
9159 - (nm_setting_need_secrets): new function
9160 - (setting_wireless_security_verify,
9161 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9162 - (setting_wireless_security_need_secrets): mostly copy code over
9163 from nm-connection.c
9165 2007-09-11 Dan Williams <dcbw@redhat.com>
9167 * libnm-util/nm-setting.c
9168 libnm-util/nm-setting.h
9169 - (nm_setting_update_secrets): new function; add a virtual function that
9170 subclasses can implement to update their secrets
9171 - (setting_wireless_security_update_secrets): implement that function
9172 for the 802-11-wireless-security subclass
9174 * libnm-util/nm-connection.c
9175 libnm-util/nm-connection.h
9176 - (nm_connection_update_secrets): update secrets for a Setting and
9177 emit a signal on success
9182 - (connection_get_settings_cb): enable system settings bits
9183 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9184 to request secrets from the settings dbus service and to
9185 push those secrets to the NMConnection itself
9187 * src/nm-activation-request.c
9188 src/nm-activation-request.h
9189 - Attach to the 'secrets-updated' signal of the NMConnection that's
9190 currently being activated, and proxy that signal to other listeners.
9191 Goes through the activation request because the activation request
9192 is the thing that manages the lifetime of the NMConnection that's
9195 * src/nm-device-802-11-wireless.c
9196 - (real_connection_secrets_updated): implement the connection secrets
9197 updated notification and restart activation when secrets are
9199 - (real_act_stage2_config): request secrets from the settings dbus
9200 service if secrets are needed
9204 - (clear_act_request, nm_device_activation_cancel,
9205 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9206 where the activation request is cleared
9207 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9208 updated secrets signal of activation request and add a function
9209 that subclasses can override to handle it easily
9211 2007-09-11 Tambet Ingo <tambet@gmail.com>
9213 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9214 removal of NetworkManagerAPList.
9216 2007-09-10 Dan Williams <dcbw@redhat.com>
9218 * src/NetworkManagerAP.c
9219 src/NetworkManagerAP.h
9220 introspection/nm-access-point.xml
9221 - Change 'freq' property to a guint32 instead of a double since we
9222 weren't using the floating point bits anyway
9224 2007-09-10 Dan Williams <dcbw@redhat.com>
9226 * NetworkManagerAP.c
9228 NetworkManagerPolicy.c
9229 NetworkManagerSystem.c
9230 NetworkManagerUtils.c
9231 NetworkManagerUtils.h
9232 nm-device-802-11-wireless.c
9233 nm-device-802-3-ethernet.c
9236 vpn-manager/nm-dbus-vpn.c
9237 - Warning fixes; casts and removal of unused variables
9239 2007-09-10 Dan Williams <dcbw@redhat.com>
9241 * include/NetworkManager.h
9242 - Kill NMNetworkType; AP types don't matter any more
9244 * src/NetworkManagerAPList.c
9245 src/NetworkManagerAPList.h
9247 - Kill; NMAccessPointList has outlived it's usefulness
9249 * src/NetworkManagerAP.c
9250 src/NetworkManagerAP.h
9251 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9252 functions; check if an NMConnection object is compatible with the
9254 - (freq_to_channel, channel_to_freq): utility functions for
9255 channel <-> frequency conversion
9259 - (nm_device_get_best_connection): pass the specific object around
9260 (which might be the object path of a specific AP to connect to).
9261 The get_best_connection() call should populate this on return
9262 if needed (wireless does).
9264 * src/nm-device-802-3-ethernet.c
9265 - (real_get_best_connection): handle specific_object argument
9267 * src/NetworkManager.c
9268 src/NetworkManagerMain.h
9269 - Remove unused includes
9271 * src/nm-device-802-11-wireless.c
9272 src/nm-device-802-11-wireless.h
9273 - Convert the ap_list into a GSList from an NMAccessPointList
9274 - No need for caching the 'activation_ap' since this is now determined
9275 from the specific_object of the activation request, which is
9276 populated from the get_best_connection() call or from a user request
9277 - (nm_device_802_11_wireless_update_bssid): fix warning
9278 - (get_wireless_capabilities): fix error message format arguments
9279 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9280 - (find_best_connection, real_get_best_connection): implement
9281 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9282 move here from NetworkManagerAPList
9283 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9284 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9285 already verified earlier
9286 - (real_act_stage2_config): use nm_connection_need_secrets()
9288 * src/NetworkManagerPolicy.c
9289 - (nm_policy_auto_get_best_device): handle specific objects
9290 - (create_connection): remove; automatic connection creation functionality
9291 is handled by the Connection objects
9292 - (nm_policy_device_change_check): handle specific_object
9294 * libnm-util/nm-connection.c
9295 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9297 2007-09-10 Dan Williams <dcbw@redhat.com>
9300 - (query_connections): fix uninitialized variable problem that caused
9302 - (nm_manager_add_device): take devices down on startup so that we can
9303 be assured that nm_device_is_up() won't short-circuit the init
9304 process. Hack until the is_up check gets split into two pieces
9305 that aren't behaviorally confusing.
9307 2007-09-09 Dan Williams <dcbw@redhat.com>
9309 * introspection/nm-device.xml
9310 - The 'Activate' method now takes 3 arguments, a service name for the
9311 settings service (user or system), the object path of the connection
9312 to activate, and the specific object to activate, if any
9314 * src/nm-device-interface.c
9315 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9317 - (impl_device_activate): adapt to new Activate arguments; validate
9318 the service name and get the Connection object from the NMManager
9319 before starting to activate the device with the specified connection
9321 * src/nm-device-802-3-ethernet.c
9322 - (real_get_best_connection): find the best connection, or create a
9323 default one if no existing connections can be used
9325 * src/NetworkManagerPolicy.c
9326 - (nm_policy_auto_get_best_device): Get the device's best connection
9327 and only pick the device if it has one
9328 - (nm_policy_device_change_check): disable wireless bits for now until
9329 wireless get_best_connection() can be implemented (replacing "best_ap");
9330 don't create a default connection here as the device subclass will do
9335 - (nm_manager_get): make NMManager a singleton and expose the getter
9337 - Rework internal NMManager connection handling to use the same
9338 routines for both the system and user settings services. Most calls
9339 take a new NMConnectionType argument specifying either system or user
9341 - (nm_manager_get_connection_by_object_path): new function; get a
9342 connection keyed on its object path
9344 * src/NetworkManager.c
9345 - (main): use nm_manager_get()
9347 2007-09-09 Dan Williams <dcbw@redhat.com>
9351 - (nm_device_get_best_connection): new function; get best connection
9352 for the device at that time
9354 2007-09-09 Dan Williams <dcbw@redhat.com>
9356 * src/nm-device-interface.h
9357 - Add NMDeviceInterfaceError with an UnknownConnection error
9359 2007-09-09 Dan Williams <dcbw@redhat.com>
9361 Stupid mistake on my part; object path and interface for settings service
9362 and connection objects can be the same, only the service name must be
9363 different for the system and user settings services.
9365 * include/NetworkManager.h
9367 introspection/nm-settings-connection.xml
9368 introspection/nm-settings.xml
9369 libnm-glib/nm-settings.c
9370 - (nm_connection_settings_init, query_user_connections,
9371 new_connection_cb): Unify NetworkManagerSettings and Connection
9372 interface name and object path
9374 2007-09-06 Dan Williams <dcbw@redhat.com>
9376 * libnm-glib/nm-object.c
9377 - (nm_object_get_string_property, nm_object_get_object_path_property,
9378 nm_object_get_int_property, nm_object_get_uint_property,
9379 nm_object_get_boolean_property, nm_object_get_byte_property,
9380 nm_object_get_double_property, nm_object_get_byte_array_property):
9381 clear GValues after copying their contents, fixes memory leaks
9382 after every property access because dbus-glib copies the values
9383 from the DBusMessage into the GValue already.
9385 2007-09-06 Dan Williams <dcbw@redhat.com>
9387 * introspection/nm-access-point.xml
9388 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9389 them to be. There's some magic property name parsing going on in
9390 dbus-glib that breaks up property names based on studly-caps and
9391 puts - between words.
9393 * libnm-glib/nm-access-point.c
9394 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9397 2007-09-06 Dan Williams <dcbw@redhat.com>
9400 - (nm_manager_user_connections_destroy): clear the user connections hash
9401 table, don't destroy it
9402 - (finalize): only destroy the hash table on NMManager finalization
9404 2007-09-02 Dan Williams <dcbw@redhat.com>
9406 * include/NetworkManager.h
9407 libnm-glib/nm-settings.c
9408 - defines for the user settings daemon D-Bus bits
9410 * src/NetworkManager.c
9411 - Remove stuff that referred to the old NetworkManagerInfo service
9413 * src/vpn-manager/nm-dbus-vpn.h
9414 - Move old NMI defines to the only place they are used still
9416 * libnm-util/nm-connection.c
9417 libnm-util/nm-connection.h
9418 src/nm-activation-request.c
9419 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9423 - Get connections and their settings from the user settings daemon
9424 at the appropriate times
9426 2007-09-02 Dan Williams <dcbw@redhat.com>
9428 * libnm-util/nm-setting.c
9429 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9430 - (setting_wireless_hash): set the right value on the item
9432 2007-09-02 Dan Williams <dcbw@redhat.com>
9436 - Remove, no longer useful
9438 2007-08-30 Dan Williams <dcbw@redhat.com>
9441 src/NetworkManagerDbus.c
9442 src/NetworkManagerDbus.h
9443 src/vpn-manager/nm-dbus-vpn.c
9444 - Remove, no longer necessary. Move last bits to the only place its
9445 used, in nm-dbus-vpn.c
9447 * src/NetworkManagerAPList.c
9449 src/NetworkManager.c
9450 src/nm-device-802-11-wireless.c
9451 src/vpn-manager/nm-vpn-manager.c
9452 src/vpn-manager/nm-vpn-service.c
9453 src/NetworkManagerPolicy.c
9455 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9456 that was message_is_error()
9458 2007-08-30 Dan Williams <dcbw@redhat.com>
9461 - Include config.h to get defines for endiannes (gnome.org #420216)
9463 2007-08-30 Dan Williams <dcbw@redhat.com>
9465 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9467 * src/ppp-manager/Makefile.am
9468 - use -fPIC (gnome.org #471825)
9470 2007-08-29 Dan Williams <dcbw@redhat.com>
9472 * include/NetworkManager.h
9473 - Keep NMConnection object path in sync
9475 * libnm-glib/nm-settings.c
9476 libnm-glib/nm-settings.h
9477 - Break D-Bus object registration out of the init function, because
9478 every object that's exported over D-Bus needs to use the _same_
9479 DBusConnection. Otherwise, each object would get a different object
9480 path tree and wouldn't be callable.
9482 2007-08-29 Dan Williams <dcbw@redhat.com>
9484 * libnm-util/nm-setting.h
9485 libnm-util/nm-setting.c
9486 libnm-util/nm-connection.c
9487 src/NetworkManagerPolicy.c
9488 - 'info' settings object should be 'connection' says the spec
9489 at NetworkManagerConfigurationSpecification
9491 2007-08-29 Dan Williams <dcbw@redhat.com>
9493 * libnm-glib/nm-settings.c
9494 libnm-glib/nm-settings.h
9495 - make the dbus path a property of the object, and autogenerate it.
9496 It can't be composed of the 'id' field becuase that's not available
9497 yet during the GObject creation in nm_connection_settings_init()
9499 2007-08-29 Dan Williams <dcbw@redhat.com>
9501 * introspection/nm-settings-connection.xml
9502 introspection/nm-settings.xml
9503 - Service name -> NetworkManagerUserSettings because two services
9504 can't share part of the same path. I'm not really sure how we'll use
9505 the same code with the system-settings daemon...
9507 2007-08-28 Dan Williams <dcbw@redhat.com>
9509 * src/nm-device-interface.c
9510 src/nm-device-interface.h
9511 - Kill one more bit of NMData
9513 2007-08-28 Dan Williams <dcbw@redhat.com>
9515 * src/NetworkManagerSystem.h
9518 src/nm-hal-manager.c
9519 src/NetworkManager.c
9520 src/nm-device-802-11-wireless.c
9521 src/nm-hal-manager.h
9522 src/nm-device-802-3-ethernet.c
9523 src/vpn-manager/nm-vpn-service.h
9524 src/vpn-manager/nm-vpn-manager.c
9525 src/vpn-manager/nm-vpn-manager.h
9526 src/vpn-manager/nm-vpn-service.c
9527 src/nm-device-802-11-wireless.h
9528 src/NetworkManagerMain.h
9529 src/nm-device-802-3-ethernet.h
9530 src/backends/NetworkManagerGentoo.c
9531 src/backends/NetworkManagerPaldo.c
9532 src/backends/NetworkManagerFrugalware.c
9533 src/backends/NetworkManagerRedHat.c
9534 src/backends/NetworkManagerSlackware.c
9535 src/backends/NetworkManagerGeneric.c
9536 src/backends/NetworkManagerArch.c
9537 src/backends/NetworkManagerSuSE.c
9538 src/backends/NetworkManagerGeneric.h
9539 src/backends/NetworkManagerDebian.c
9542 2007-08-28 Dan Williams <dcbw@redhat.com>
9544 * src/NetworkManagerMain.h
9545 src/nm-device-802-11-wireless.c
9546 src/NetworkManager.c
9547 - Remove invalid AP list from NMData; need to rework this somewhat, but
9548 for now we should set the 'invalid' property on individual APs, and when
9549 we need to invalidate a whole ESS, set the 'invalid' on every member of
9552 2007-08-28 Dan Williams <dcbw@redhat.com>
9554 * src/NetworkManagerAP.c
9555 src/NetworkManagerAP.h
9556 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9557 'autoconnect' property instead
9559 * src/NetworkManager.c
9560 src/NetworkManagerMain.h
9561 src/NetworkManagerPolicy.c
9562 src/NetworkManagerPolicy.h
9563 - Remove the 'allowed_ap_list', which should be replaced by
9564 NMConnection/NMSettings instead, since _those_ are the allowed
9565 things that NM can connect to
9567 * src/nm-device-802-11-wireless.c
9568 - Remove both allowed_ap_list usage and 'fallback' checking
9570 2007-08-28 Dan Williams <dcbw@redhat.com>
9573 src/named-manager/nm-named-manager.c
9574 src/named-manager/nm-named-manager.h
9575 src/NetworkManager.c
9576 src/vpn-manager/nm-vpn-manager.c
9577 src/NetworkManagerMain.h
9578 src/NetworkManagerSystem.c
9579 - Remove the named-manager object from NMData structure in preparation
9580 for NMData's timely death. Make the NMNamedManager the singleton that
9583 2007-08-28 Dan Williams <dcbw@redhat.com>
9585 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9586 each AP's capabilities, and by NMConnection/NMSettings objects for user
9587 defined connections.
9589 * include/NetworkManager.h
9590 - Redefine 802.11 security properties. There are now device capabilities
9591 and AP flags and AP security flags. It was way to unclear before.
9594 src/nm-ap-security-leap.h
9595 src/nm-ap-security-leap.c
9596 src/nm-ap-security-wpa-eap.c
9597 src/nm-ap-security-wpa-eap.h
9598 src/nm-ap-security-private.h
9599 src/nm-ap-security-wpa-psk.c
9600 src/nm-ap-security-wpa-psk.h
9601 src/nm-ap-security-wep.c
9602 src/nm-ap-security-wep.h
9603 src/nm-ap-security.c
9604 src/nm-ap-security.h
9605 - Removed, to be replaced with NMConnection/NMSettings objects
9609 - Removed, to be replaced by code that talks to the new info daemon
9610 interface and gets NMConnection/NMSettings objects
9612 * src/backends/NetworkManagerSuSE.c
9613 - Remove usage of NMAPSecurity; should be replaced by a system-level
9614 info-daemon that does the same thing but talks the new info-daemon
9617 * src/NetworkManagerAP.h
9618 src/NetworkManagerAP.c
9619 src/NetworkManagerAPList.c
9620 libnm-glib/libnm-glib-test.c
9621 - Remove usage of NMAPSecurity objects and adjust to new flags for
9624 * libnm-glib/nm-access-point.c
9625 libnm-glib/nm-access-point.h
9626 introspection/nm-access-point.xml
9628 - Adjust to new flags for AP security
9632 src/vpn-manager/nm-dbus-vpn.c
9633 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9634 stuff which is the only place it's used
9636 * src/nm-device-interface.c
9637 src/nm-device-interface.h
9638 introspection/nm-device.xml
9639 src/nm-activation-request.c
9640 src/nm-activation-request.h
9642 - Add a new 'specific_object' argument that hints to NM what actual
9643 AP or other device-specific thing the connection should apply to.
9644 NMConnection objects can apply to more than one actual device/AP.
9646 * libnm-util/nm-connection.c
9647 * libnm-util/nm-connection.h
9648 - Add 'have_secrets" call stubs
9650 * libnm-util/cipher.h
9651 - Move NM_AUTH_TYPE_* defines here for now
9653 * src/nm-device-802-11-wireless.c
9654 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9657 * src/NetworkManagerDbus.c
9658 * src/NetworkManagerPolicy.c
9659 - Remove usage of update_allowed_networks, should be pushing data in
9662 2007-08-27 Tambet Ingo <tambet@gmail.com>
9664 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9665 dbus-glib frees it when the call is done.
9667 2007-08-26 Dan Williams <dcbw@redhat.com>
9669 * introspection/nm-device.xml
9670 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9672 2007-08-26 Dan Williams <dcbw@redhat.com>
9674 * src/nm-device-802-3-ethernet.c
9675 - (constructor): move connection of interface-connected/disconnected
9676 signals here from real_bring_up(). Should be listening to netlink
9677 for carrier events no matter what the initial state of the device
9680 2007-08-26 Dan Williams <dcbw@redhat.com>
9682 * src/nm-netlink-monitor.c
9683 - (nm_netlink_monitor_class_init): fix marshalling types for
9684 interface-connected/interface-disconnected
9685 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9688 2007-08-26 Dan Williams <dcbw@redhat.com>
9690 Convert to using interface indexes as the primary method of identifying
9691 devices inside NetworkManager. Indexes are (?) stable, but devices can
9692 be renamed at any time. Device object paths now refer to the device
9693 index rather than the name, and you can map those two manually if you like
9694 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9695 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9696 to use interface indexes rather than names.
9698 2007-08-26 Dan Williams <dcbw@redhat.com>
9700 * src/nm-netlink-monitor.h
9701 - Remove one last bit of wireless-event signal
9703 2007-08-26 Dan Williams <dcbw@redhat.com>
9705 * src/nm-netlink-monitor.c
9706 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9707 don't need the 'wireless-event' signal anymore since that's all
9708 handled by wpa_supplicant
9710 2007-08-25 Dan Williams <dcbw@redhat.com>
9712 It's 2007. Remove support for drivers that don't support wireless scanning.
9715 include/NetworkManager.h
9716 src/NetworkManagerUtils.c
9717 src/NetworkManagerPolicy.c
9718 src/nm-device-802-11-wireless.c
9719 - Remove special handling for non-scanning devices and mark them
9720 as unsupported/unhandled
9722 2007-08-20 Dan Williams <dcbw@redhat.com>
9724 * src/nm-device-802-11-wireless.c
9725 src/nm-device-802-3-ethernet.c
9726 - (real_is_up): move device-specific tests before generic IFF_UP test,
9727 because when the card is pulled or the module removed, the device
9728 is already !IFF_UP and then device-specific cleanup (removing
9729 the supplicant interface, periodic checks, etc) never gets done
9731 2007-08-20 Dan Williams <dcbw@redhat.com>
9734 - (nm_manager_remove_device): bring device down before disconnecting
9735 signal handlers, so that the 'state' signal will get broadcast when
9736 the device enters the DOWN state
9737 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9738 of states that cause the NMManager to recheck its state
9740 2007-08-20 Dan Williams <dcbw@redhat.com>
9742 * src/supplicant-manager/nm-supplicant-interface.c
9743 - (interface_disconnect_done): don't try to dispose of the net proxy
9744 when it may already have been disposed of
9746 2007-08-20 Dan Williams <dcbw@redhat.com>
9748 * src/nm-device-802-11-wireless.c
9749 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9750 the SSID isn't available; this can happen when the card is pulled
9751 or the module unloaded, during the post-removal deactivation
9752 paths, when the ioctl returns ENODEV
9754 2007-08-20 Dan Williams <dcbw@redhat.com>
9756 * src/nm-device-802-11-wireless.c
9757 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9758 frequency, and mode match. Applets are now responsible for grouping
9761 2007-08-20 Dan Williams <dcbw@redhat.com>
9763 * src/NetworkManagerAP.c
9764 * src/NetworkManagerAP.h
9765 - (nm_ap_print_self): new function
9767 * src/NetworkManagerAPList.c
9768 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9771 2007-08-17 Dan Williams <dcbw@redhat.com>
9773 * src/nm-device-802-3-ethernet.c
9774 - (real_bring_down): don't try to dispose of stuff that might not
9777 2007-08-17 Dan Williams <dcbw@redhat.com>
9779 * src/NetworkManagerAP.c
9780 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9781 applet. This ensures that the case between the seen-bssids and
9782 the bssids reported by the driver match.
9784 2007-08-17 Dan Williams <dcbw@redhat.com>
9786 * src/nm-device-802-11-wireless.c
9787 - (device_cleanup): disconnect the interface in wpa_supplicant before
9788 we dispose of the interface proxy in NM
9790 2007-08-16 Dan Williams <dcbw@redhat.com>
9792 * libnm-glib/nm-client.c
9793 - (nm_client_init): create VPN connections hash table with key free
9795 - (proxy_vpn_connection_added): VPN connections hash table key should
9796 be a duplicated value, not the same memory address as the VPN
9797 connection name. This is because the VPN connection name could
9798 potentially be freed and set to something else during the lifetime
9799 of the NMVPNConnection object.
9801 2007-08-16 Tambet Ingo <tambet@gmail.com>
9803 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9804 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9805 with the file descriptors. Send a child setup function to change the pppd
9808 2007-08-15 Dan Williams <dcbw@redhat.com>
9810 * src/supplicant-manager/nm-supplicant-interface.c
9811 - (try_remove_iface): new function, ask wpa_supplicant to remove
9813 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9814 disposing of the NMSupplicantInterface. Otherwise weird stuff
9815 happens on hotplug if wpa_supplicant doesn't tear down and readd
9816 the interface internally
9818 2007-08-15 Dan Williams <dcbw@redhat.com>
9820 * src/nm-device-802-11-wireless.c
9821 - (real_bring_down): move most of this function into device_cleanup()
9822 so that it can be called from elsewhere
9823 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9824 and stuff on dispose. These would normally get cleaned up when
9825 the device is marked down and deactivated, but when the device is
9826 hot-unplugged, it's already down and real_down() never gets run
9828 2007-08-15 Dan Williams <dcbw@redhat.com>
9831 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9832 caused a reference leak on device for which NM requested a key
9834 2007-08-15 Dan Williams <dcbw@redhat.com>
9836 * libnm-glib/nm-client.c
9837 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9839 2007-08-15 Tambet Ingo <tambet@gmail.com>
9841 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9842 nothing is using it at the moment, but it'll be all useful and stuff later on.
9844 * libnm-util/nm-setting.h: Define NMSettingPPP.
9846 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9848 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9850 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9852 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9854 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9856 2007-08-14 Tambet Ingo <tambet@gmail.com>
9858 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9860 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9861 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9862 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9863 name and different arguments and it won't compile anymore. To fix this, we now have
9864 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9865 that is new API + compatibility API and used by the daemon. The other,
9866 nm-manager-client.xml is only the new API without compatibility bits and is used
9867 by libnm-glib to make it compile.
9869 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9871 * src/nm-manager.c (impl_manager_legacy_sleep)
9872 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9873 interface functions for 0.6 branch.
9875 2007-08-14 Dan Williams <dcbw@redhat.com>
9877 * src/NetworkManagerAP.c
9878 - (nm_ap_new_from_properties): fix mistaken check of return value
9879 from memcmp (should expect 0)
9881 2007-08-14 Dan Williams <dcbw@redhat.com>
9883 (force-commit to fix wrong comment and partial commit of r2685; this
9884 commit actually applies to r2685)
9886 * src/NetworkManagerUtils.c
9887 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9888 ignores trailing nulls in the SSID to work around mismatches in
9889 expectations between WEXT and what the info-daemon passes back. The
9890 info-daemon would pass back the correct length, but due to the
9891 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9892 the device would always have an SSID + 1 depending on what versions
9893 of wpa_supplicant, the kernel, and NM you have. This was most often
9894 visible by just quitting the applet and relaunching, which caused
9895 NM to reassociated to the same network over again when reloading
9898 * src/NetworkManagerPolicy.c
9899 src/NetworkManagerUtils.h
9900 src/nm-device-802-11-wireless.c
9901 - Update for new parameter to nm_utils_same_ssid()
9903 2007-08-14 Dan Williams <dcbw@redhat.com>
9905 * src/NetworkManagerAP.c
9906 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9907 I encountered a BSS that wasn't just hiding it's ESSID, it was
9908 setting the BSSID to all 0s. That confused the heck out of NM,
9909 plus it's useless and probably out-of-spec.
9911 2007-08-14 Dan Williams <dcbw@redhat.com>
9913 * callouts/Makefile.am
9914 src/dhcp-manager/nm-dhcp-manager.c
9915 src/dhcp-manager/nm-dhcp-manager.h
9916 src/dhcp-manager/Makefile.am
9917 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9919 2007-08-14 Dan Williams <dcbw@redhat.com>
9921 * src/dhcp-manager/nm-dhcp-manager.c
9922 - (dhclient_run): don't pass -x to dhclient until we figure out if
9923 it's really needed, get rid of unused xtra_args parameter
9925 2007-08-14 Dan Williams <dcbw@redhat.com>
9927 * include/NetworkManagerVPN.h
9928 src/vpn-manager/nm-dbus-vpn.c
9929 src/vpn-manager/nm-dbus-vpn.h
9930 src/vpn-manager/nm-vpn-act-request.c
9931 src/vpn-manager/nm-vpn-act-request.h
9932 src/vpn-manager/nm-vpn-service.c
9933 src/vpn-manager/nm-vpn-service.h
9934 libnm-glib/nm-vpn-connection.c
9935 libnm-glib/nm-vpn-connection.h
9936 libnm-glib/nm-client.h
9937 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9938 NMVPNServiceState to clarify what they apply to
9939 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9940 NMVPNActStage -> NMVPNConnectionState for the same reason
9942 * libnm-glib/nm-client.c
9943 - Constant + type renames from above
9944 - Properly handle NameOwnerChanged/manager_running signals
9945 for NM service; only emit when state really changes
9946 - Use hash tables correctly so that the key (which was previously owned
9947 by the D-Bus message) now has the same lifetime as the value, since
9948 the key is now taken from the the NMVPNConnection itself. This
9949 really fixes the double-VPN names in the applet
9951 2007-08-13 Dan Williams <dcbw@redhat.com>
9953 Patch from Michael Biebl <biebl@debian.org>
9957 - Update for vpn-properties move
9959 2007-08-13 Dan Williams <dcbw@redhat.com>
9961 * libnm-glib/nm-client.c
9962 - Convert internal VPN connection tracking from a list to a hash table
9963 to easily avoid duplicates
9964 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9965 must be freed by the caller, like nm_client_get_devices()
9966 - (nm_client_remove_vpn_connection): don't let the removal signal
9967 leak through for NMVPNConnection objects that aren't actually
9969 - (manager_running): throw away VPN connection list when NM goes away,
9970 like with the device list
9972 2007-08-13 Dan Williams <dcbw@redhat.com>
9974 * src/dhcp-manager/nm-dhcp-manager.c
9975 - Stop any dhclient instance that might be already running for a
9976 particular interface before starting an NM spawned dhclient. Fixes
9977 dhclient processes left over if NM crashes, stuff like that.
9979 2007-08-13 Dan Williams <dcbw@redhat.com>
9981 * src/NetworkManagerAP.c
9982 - (finalize): don't try to g_array_free (NULL, ...), which happened
9983 when the AP wasn't broadcasting it's SSID
9985 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9987 * include/NetworkManager.h: added DBus path for connection settings.
9989 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9990 nm_connection_settings_signal_updated,
9991 nm_connection_settings_signal_removed): new functions to wrap the
9993 (nm_connection_settings_init): register GObject with DBus.
9994 (nm_connection_settings_get_dbus_object_path): new function.
9996 * libnm-glib/Makefile.am: added libnmutil to link flags.
9998 2007-08-13 Tambet Ingo <tambet@gmail.com>
10000 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
10002 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
10003 libnm_glib directory got merged with libnm-glib/.
10005 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
10007 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
10008 Rename the library from libnm-glib to libnm_glib to maintain the library API
10009 compatibility with 0.6 branch.
10011 * Makefile.am: Remove gnome/ SUBDIR.
10013 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
10015 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
10017 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10019 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10021 Remove checks for wpa_supplicant binary, it's used over dbus.
10022 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10024 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10025 Link the binaries with libnm_glib.la.
10027 2007-08-12 Dan Williams <dcbw@redhat.com>
10029 * src/NetworkManagerPolicy.c
10030 - (nm_policy_device_change_check): fix policy to deactivate old device
10031 before activating new one, at least until the multiple active
10032 device support lands
10034 2007-08-12 Dan Williams <dcbw@redhat.com>
10036 * src/NetworkManagerPolicy.c
10037 - (nm_policy_new): hook up to connection-added / connection-removed
10038 signals instead of connections-changed
10040 2007-08-12 Dan Williams <dcbw@redhat.com>
10042 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10043 Robert Frank <rfrank@redhat.com>
10045 * src/dhcp-manager/nm-dhcp-manager.c
10046 src/dhcp-manager/nm-dhcp-manager.c
10048 - Spawn and communicate with dhclient directly, through means of a
10049 custom dhclient callout script. Process callout D-Bus signals
10050 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10051 sent via gobject signals rather than being driven by the dhcp manager
10054 2007-08-12 Dan Williams <dcbw@redhat.com>
10056 * callouts/nm-dhcp-client-action.c
10057 - (build_message): ignore non-DHCP-related environment variables
10059 2007-08-12 Dan Williams <dcbw@redhat.com>
10063 callouts/Makefile.am
10064 callouts/nm-dhcp-client-action.c
10065 callouts/nm-dhcp-client.conf
10066 - Add dhclient-executed callout that takes the place of dhclient-script
10067 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10068 NM then listens for
10070 2007-08-09 Tambet Ingo <tambet@gmail.com>
10072 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10074 * libnm-glib/nm-client.h:
10075 * libnm-glib/nm-object.h:
10076 * libnm-glib/nm-vpn-connection.h:
10077 * libnm-glib/nm-settings.h:
10078 * libnm-glib/nm-device.h:
10079 * libnm-glib/nm-ip4-config.h:
10080 * libnm-glib/nm-access-point.h:
10081 * libnm-glib/nm-device-802-3-ethernet.h:
10082 * libnm-util/nm-setting.h:
10083 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10085 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10087 * libnm-glib/nm-access-point.c: Strength has type char.
10089 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10090 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10092 * introspection/nm-access-point.xml: Strength property is char, not int.
10094 * src/NetworkManagerAP.c (set_property): Set strength from char.
10095 (get_property): Handle hidden APs (with empty SSID).
10096 Get strength value from char.
10097 (nm_ap_class_init): Strength property has char type.
10099 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10101 * introspection/Makefile.am:
10102 * introspection/nm-settings.xml:
10103 * introspection/nm-settings-connection.xml: added Settings interfaces.
10105 * libnm-glib/nm-settings.[ch]:
10106 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10107 containing the DBus implementation.
10109 2007-07-26 Dan Williams <dcbw@redhat.com>
10111 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10113 * src/NetworkManagerSystem.c
10114 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10115 same subnet (#437396)
10117 2007-07-26 Dan Williams <dcbw@redhat.com>
10119 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10121 * gnome/vpn-properties/nm-vpn-properties.c
10122 - Fix translatable strings (#445865)
10124 2007-07-26 Dan Williams <dcbw@redhat.com>
10126 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10129 - Remove useless junk (#412530)
10131 2007-07-10 Christopher Aillon <caillon@redhat.com>
10133 Patch from Robert Buchholz <rbu@gentoo.org>:
10137 * introspection/Makefile.am:
10138 Make make distcheck work again.
10140 2007-06-27 Dan Williams <dcbw@redhat.com>
10142 * Make SSIDs GByteArrays everywhere
10143 * Rename "essid" -> "ssid" everywhere that's appropriate
10144 * Refcount activation_ap member of the 802.11 wireless device class
10146 2007-06-27 Tambet Ingo <tambet@ximian.com>
10148 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10150 2007-06-22 Tambet Ingo <tambet@ximian.com>
10152 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10153 that we got a new AP when we just update existing AP properties.
10155 2007-06-21 Tambet Ingo <tambet@ximian.com>
10157 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10159 * nm-utils.[ch]: Remove.
10161 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10162 objects for easy property access and dbus connection handling.
10164 * libnm-glib/nm-client.c: Derive from NMObject.
10166 * libnm-glib/nm-device.c: Ditto.
10168 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10170 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10172 * libnm-glib/nm-ip4-config.c: Ditto.
10174 * libnm-glib/nm-access-point.c: Ditto.
10176 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10177 comparision. Currently used by the device activation code to determine if the new
10178 activation is the same as the old one.
10180 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10181 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10182 able to ask password for the AP.
10184 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10185 up if the device is already connected, tear down it's connection (if it isn't the
10186 same as new one) and start the activation.
10188 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10190 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10191 the issue where all APs are always listed as encrypted.
10193 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10194 their own registered paths.
10196 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10197 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10199 2007-06-13 Tambet Ingo <tambet@ximian.com>
10201 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10204 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10205 because the handling code will cause the next state change and signal listeners
10206 get the signals in wrong order.
10208 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10209 correctly in case of pending activation.
10211 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10212 Convert the essid byte array to string correctly, including the terminating NULL.
10214 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10215 mode with correct types.
10217 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10218 constructed info to dbus call instead of the activation request.
10220 2007-06-11 Christopher Aillon <caillon@redhat.com>
10222 Patch from Christian Persch <chpe@gnome.org>
10224 * libnm-glib/Makefile.am:
10225 * dispatcher-daemon/Makefile.am:
10226 Use the correct variables, the correct paths, and correct ordering. (446315)
10228 2007-06-11 Tambet Ingo <tambet@ximian.com>
10230 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10231 argument. The activation request is easy to retrieve.
10233 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10234 just to be a convenient location for devices to store random stuff.
10236 2007-06-11 Christopher Aillon <caillon@redhat.com>
10238 Patch from Alex Smith <alex@alex-smith.me.uk>
10240 * src/backends/NetworkManagerFrugalware.c:
10241 Update the FrugalWare backend to fix a few segfaults. (#392642)
10243 2007-06-08 Tambet Ingo <tambet@ximian.com>
10245 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10247 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10249 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10251 2007-06-06 Tambet Ingo <tambet@ximian.com>
10253 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10255 Implement NMSettingIP4Config.
10256 Finish NMSettingWired by adding all known members.
10257 (setting_wired_verify): Implement.
10258 Finish NMSettingWireless by adding all known members.
10259 (setting_wireless_verify): Implement.
10261 * libnm-util/nm-connection.c: Register "ipv4" setting.
10262 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10263 dump function, we can introspect the GHashTable which is used for sending connections
10266 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10267 Take GByteArray for essid, it's really not a string.
10269 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10270 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10271 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10272 means overriding the values we got from DHCP.
10273 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10274 (nm_device_deactivate_quickly): Ditto.
10276 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10279 2007-05-07 Tambet Ingo <tambet@ximian.com>
10281 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10284 * libnm-glib/nm-device-802-11-wireless.c:
10285 (nm_device_802_3_ethernet_activate): Remove.
10287 * libnm-glib/nm-device-802-3-ethernet.c
10288 (nm_device_802_3_ethernet_activate): Remove.
10290 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10292 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10295 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10296 activation has started.
10297 Implement the new activation using NMConnection.
10299 * src/nm-activation-request.c: Store a generic connection object instead
10300 of a wireless-specific AP.
10302 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10303 on device type, create a device specific connection object suitable for
10306 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10307 specific check to validate the connection and on success start the
10310 * src/nm-device-interface.h: Add a activate virtual function to the
10311 interface definition.
10313 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10314 (impl_device_activate): Implement.
10316 * introspection/nm-device.xml: Add a generic device activation interface
10317 that accepts an abstract NMConnection structure that has device-specific
10320 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10321 activation interface.
10323 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10324 activation interface.
10326 * libnm-util/nm-connection.c:
10327 * libnm-util/nm-connection.h:
10328 * libnm-util/nm-setting.c:
10329 * libnm-util/nm-setting.h: Add.
10331 * libnm-util/Makefile.am: Build the added files.
10333 * src/nm-dbus-manager.c
10334 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10335 DbusConnection argument from 'name-owner-changed' signal. The manager
10336 is already passed as a first argument to the signal and the connection
10337 is easy enough to get from it.
10339 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10340 Update the signature of the function.
10342 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10345 * src/NetworkManager.c: Ditto.
10347 * src/named-manager/nm-named-manager.c
10348 (nm_named_manager_name_owner_changed): Ditto.
10350 * src/supplicant-manager/nm-supplicant-manager.c
10351 (nm_supplicant_manager_name_owner_changed): Ditto.
10353 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10355 * src/dhcp-manager/nm-dhcp-manager.c
10356 (nm_dhcp_manager_name_owner_changed): Ditto.
10358 * src/nm-hal-manager.c: Add a list of device detectors and creators
10359 to make it easier to add new devices. Each device type has it's own
10360 entry in the table so adding new device types is only a matter of
10361 implementing a couple of functions, one for device detection and the
10362 other for device creation.
10364 2007-04-25 Dan Williams <dcbw@redhat.com>
10366 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10367 (gnome.org #432401)
10369 2007-03-30 Dan Williams <dcbw@redhat.com>
10371 * src/NetworkManagerSystem.c
10372 - (nm_system_device_set_ip4_route): clean up and fix argument
10373 to nm_dev_sock_open()
10375 2007-03-28 Tambet Ingo <tambet@ximian.com>
10377 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10378 data to correct types instead of always using string.
10380 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10381 _not_ have NM_802_11_CAP_PROTO_NONE.
10382 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10385 2007-03-27 Tambet Ingo <tambet@ximian.com>
10387 * libnm-glib/Makefile.am: Fix the build issue.
10389 2007-03-26 Tambet Ingo <tambet@ximian.com>
10391 * libnm-glib/nm-vpn-connection.h:
10392 * libnm-glib/nm-vpn-connection.c: Implement.
10394 * libnm-glib/nm-client.c: Add VPN support.
10396 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10399 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10402 2007-03-26 Dan Williams <dcbw@redhat.com>
10404 * src/NetworkManagerAPList.c
10405 * src/nm-device-802-11-wireless.c
10406 * src/NetworkManagerAP.c:
10407 - Store last seen as glong instead of GTimeVal.
10408 - Fix the upper bound of capabilities, it's a bitfield.
10410 2007-03-16 Tambet Ingo <tambet@ximian.com>
10412 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10414 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10415 "manager-running" signal that notifies the appearance/disappearance of NM.
10416 (nm_client_sleep): Implement.
10418 * libnm-glib/nm-device.c:
10419 * libnm-glib/nm-device-802-11-wireless.c:
10420 * libnm-glib/nm-device-802-3-ethernet.c:
10422 Don't inherit from DBusGProxy, add a proxy to private
10423 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10424 for anything but their own dbus interface. DBusGProxy objects support only one
10425 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10426 interface. The nice side effect of this change is that we do not create a new
10427 DBusGProxy object for each property access.
10429 2007-03-15 Tambet Ingo <tambet@ximian.com>
10431 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10432 with zeroes before passing them to functions - the functions never do that and
10433 reading the values back may produce wrong values.
10434 (real_bring_up): Store the signal handler id ...
10435 (real_bring_down): ... So that it can be removed here.
10436 Disconnect the supplicant interface here as well.
10437 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10438 from the access point instead of old $device/Networks/$essid.
10440 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10441 device state is connected (instead of just having link/carrier).
10443 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10444 already easily accessible through the device.
10446 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10447 store it within the object.
10448 (nm_ap_get_dbus_path): Export it to public as well.
10450 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10453 2007-03-12 Dan Williams <dcbw@redhat.com>
10455 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10456 for non-carrier-detect capable devices, and useless for carrier-detect
10457 devices since we get notifications from netlink about carrier status anyway.
10459 * src/nm-device-802-3-ethernet.c
10460 - remove 'link_source_id' member from private data
10461 - (probe_link): remove and collapse into real_update_link()
10462 - (nm_device_802_3_periodic_update): remove
10463 - (real_is_up): check for sup_iface rather than link_source_id
10464 - (real_bring_up): return gboolean for success/fail; require that
10465 sup_iface be valid for device bringup to succeed
10466 - (real_bring_down): zero out link signal ids
10469 - (nm_device_activate_stage2_device_config): fail activation if device
10471 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10473 - (nm_device_bring_up): return success/fail
10476 - bring_up now returns success/fail
10478 * src/nm-device-802-11-wireless.c
10479 - (real_bring_up): return success from bringup
10481 2007-03-07 Dan Williams <dcbw@redhat.com>
10483 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10484 * src/nm-ap-security-wpa-psk.c
10485 - (real_write_supplicant_config): work with PSKs that may contain
10486 zeros in the binary format rather than treating it as a string
10488 2007-03-02 Tambet Ingo <tambet@ximian.com>
10490 * libnm-glib/nm-device-802-11-wireless.c
10491 (nm_device_802_11_wireless_get_capabilities): Implement.
10493 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10495 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10497 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10498 reply only if it's not NULL. Not sure why this started happening right now.
10500 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10501 code paths for when devices get removed on shutdown or when a device is just
10503 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10504 gets freed so any signal from a device (disconnected for instance) would invoke
10505 NMState update which would crash.
10506 (nm_manager_remove_device): Bring the device down when it gets removed.
10508 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10509 the unused dev_type.
10511 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10512 reference to the added device, NMManager will own it (if it wants).
10514 * test/nm-tool.c: Rewrite using libnm-glib.
10516 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10517 We get signalled when it changes.
10519 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10522 * libnm-glib/nm-device.c: Cache the device state property.
10524 * libnm-glib/nm-access-point.c: Cache the strength property.
10526 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10527 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10528 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10529 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10530 the device is down, activating, or activated (in case of A/B/G cards).
10531 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10532 it's all done through supplicant now.
10534 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10535 counting issues with pending calls which caused leaks and crashes when
10536 interface was removed (now that the interface actually gets removed).
10538 * src/nm-call-store.c: Make a copy of data before running a foreach
10539 with user callback on it - The most common usage pattern is to cancel
10540 (and thus remove) all pending calls with foreach which would modify
10541 the hash table we're iterating over.
10543 * src/nm-manager.c: When a device is added, make sure it is "up". When
10544 it's removed or disabled due to disabling wireless or networking, bring
10547 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10549 * src/nm-device-802-11-wireless.c:
10550 * src/nm-device-802-3-ethernet.c:
10552 - Remove "init" virtual function, all gobjects have a place for that
10553 already (constructor).
10554 - Replace "start" virtual function with "bring_up", devices can be
10555 brought up and down more than just on startup now.
10556 - Add "is_up" virtual function.
10557 - Implement one way to bring a device down instead of previous 4 different
10558 ways, each of witch did something different.
10560 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10561 all it needs is the device interface.
10563 Get rid of NMData.dev_list (3 members to go).
10564 Get rif of NMData in a lot of places.
10566 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10568 2007-02-23 Dan Williams <dcbw@redhat.com>
10570 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10572 * src/NetworkManagerAP.c
10573 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10574 OR-ing rather than AND-ing
10576 2007-02-20 Tambet Ingo <tambet@ximian.com>
10578 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10579 "network-removed" signals.
10581 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10583 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10584 when receiving the signal from dbus.
10586 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10589 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10590 deactivation of the previously activated device working again.
10592 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10595 * src/nm-device.c (nm_device_is_activated): Remove.
10596 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10598 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10599 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10600 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10601 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10602 Remove NMNetworkStatus and NMActStage enums.
10604 2007-02-19 Tambet Ingo <tambet@ximian.com>
10606 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10607 Handle device state changes and disconnect VPN if it's device deactivates.
10609 * src/nm-dbus-nm.c:
10610 * src/nm-dbus-nm.h:
10611 * src/nm-dbus-device.c:
10612 * src/nm-dbus-device.c:
10613 * src/nm-dbus-net.c:
10614 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10616 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10618 * src/nm-device.c (nm_device_get_by_udi):
10619 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10620 implemented in the correct location (NMManager).
10621 Rip out all the test_device stuff.
10623 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10624 failure handlers, it's all done by NMDevice already.
10626 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10627 Remove the iochannel hack to route the unix signals to the main thread since
10628 we're not threaded anymore.
10630 * src/NetworkManagerAP.c: Implement HWAddress property.
10632 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10633 automatically with dbus-glib.
10635 * src/nm-netlink-monitor.c:
10636 * src/nm-netlink-monitor.h:
10637 - Move it low in the class hierarchy, don't reference any NM types.
10638 - Remove private data from the header.
10639 - Use type safe checks in public API methods.
10640 - Make it a singleton so we don't have to pass the single reference around.
10642 2007-02-16 Tambet Ingo <tambet@ximian.com>
10644 * introspection/nm-ip4-config.xml: Implement.
10646 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10648 * libnm-glib/nm-ip4-config.c:
10649 * libnm-glib/nm-ip4-config.c: Implement.
10651 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10652 securities. APs reference security.
10654 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10655 be exported over DBUS.
10657 * src/nm-device-802-3-ethernet.c: Ditto.
10659 * src/NetworkManagerAP.c:
10660 * src/NetworkManagerAP.h:
10661 - Convert to GObject, export over DBUS.
10663 * src/nm-ip4-config.h:
10664 * src/nm-ip4-config.h:
10665 - Convert to GObject, export over DBUS.
10667 2007-02-12 Dan Williams <dcbw@redhat.com>
10669 Patch from Helmut Schaa <hschaa@suse.de>
10671 * vpn-daemons/pptp/configure.in
10672 vpn-daemons/pptp/Makefile.am
10673 vpn-daemons/openvpn/configure.in
10674 vpn-daemons/openvpn/Makefile.am
10675 vpn-daemons/vpnc/configure.in
10676 vpn-daemons/vpnc/Makefile.am
10677 - Add --without-gnome switch which disables building gnome bits
10679 2007-02-12 Tambet Ingo <tambet@ximian.com>
10681 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10683 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10685 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10688 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10690 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10692 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10695 - Remove old low-level dbus interface implementations and replace them
10696 with dbus-glib one.
10699 - Require dbus-glib >= 0.72.
10700 - Plug in new sources to build.
10703 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10704 to make it more convenient to use from GObject based programs.
10707 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10709 2007-02-09 Tambet Ingo <tambet@ximian.com>
10711 * src/nm-device-802-11-wireless.c:
10712 - Add "network-added" and "network-removed" signals.
10713 - Use gobject boilerplate macros to define the GObject.
10714 - Implement wireless device activation.
10715 - Remove activation_failure_handler and activation_success_handler
10716 and instead listen on state-changed signals and run the same code
10720 - Implment NMDeviceInterface::deactivate.
10721 - Remove activation_failure_handler and activation_success_handler
10722 virtual methods. Each device which is interested in these events
10723 can just listen on it's state changed signals.
10725 * src/NetworkManagerPolicy.c:
10726 - Move a bit more NMData usage to NMManager.
10727 - Remove activation scheduling bits.
10728 - Add listeners for wireless device's "network-added" and
10729 "network-removed" signals.
10730 - Listen device changed signals and deactivate currently activated
10731 device when another device start activating (for now).
10732 - Remove (nm_policy_schedule_device_change_check): There's never a need
10733 for calling this, the policy code knows exactly when this should happen,
10734 by listening on events from NMManager and NMDevices.
10736 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10739 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10740 method on the specific device instead of going to through policy code
10741 and determining the device type by passed in AP's existance.
10743 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10744 abstract NMDevice deactivation.
10746 2007-02-08 Tambet Ingo <tambet@ximian.com>
10748 * src/NetworkManager.c:
10749 - Set up all the shiny new managers.
10751 * src/NetworkManagerPolicy.c:
10752 - Add the beginnings of new NMPolicy code. Instead of requireing all
10753 classes to call into policy code, make the policy code kind of like
10754 a supervisor that monitors what's going on and drives the whole NM.
10756 * src/nm-hal-manager.c:
10757 * src/nm-hal-manager.h:
10758 - Collect all libhal code scattered around NM to this one class.
10759 - Listen libhal and NMManager events and add/remove devices to
10762 * src/nm-manager.c:
10763 * src/nm-manager.h:
10764 - Implment a replacement for NMData. NMData is now officially
10767 2007-02-05 Tambet Ingo <tambet@ximian.com>
10769 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10770 * src/supplicant-manager/nm-supplicant-interface.h
10771 * src/supplicant-manager/nm-supplicant-interface.c
10772 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10773 argument to boolean from enum.
10775 Make NMDevice abstract class, remove almost all references to it's
10776 subclasses (the last place gets removed with new policy manager). Add
10777 NMDeviceInterface (which NMDevice implements) so that when we have
10778 NMDevice exported over DBUS, there's a common NMDevice interface which
10779 all instances have, plus there's a device specific interface for each
10781 Remove functions (nm_device_is_802_3_ethernet) and
10782 (nm_device_is_802_11_wireless). There are already standard GObject macros
10783 for type safe checks.
10784 Use the updated supplican manager API.
10786 * src/nm-device-interface.h:
10787 * src/nm-device-interface.c:
10788 * src/nm-call-store.h:
10789 * src/nm-call-store.c: Implement.
10791 * src/supplicant-manager/nm-supplicant-interface.c:
10792 * src/supplicant-manager/nm-supplicant-interface.h:
10793 * src/supplicant-manager/nm-supplicant-manager.c:
10794 * src/supplicant-manager/nm-supplicant-manager.h:
10795 - Remove all private data type references from public header files.
10796 - Remove all references to other NM classes, this class is just a
10797 proxy between wpa_supplicant and NM so it doesn't have to know
10799 - Convert to dbus-glib bindings.
10800 - Type safe checks for public methods' arguments.
10801 - Store pending DBUS call ids to NMCallStore.
10803 * src/supplicant-manager/nm-supplicant-config.c:
10804 - Store config values in a GHashTable instead of GSList.
10806 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10808 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10811 * src/nm-device.c: Use the new DHCP manager API.
10813 * src/nm-activation-request.c:
10814 * src/nm-activation-request.h:
10815 - Remove all dhcp related properties and methods.
10817 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10819 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10821 * src/dhcp-manager/nm-dhcp-manager.c:
10822 * src/dhcp-manager/nm-dhcp-manager.h:
10823 - Convert it to GObject since we need to signal state changes.
10824 - Remove all references to other NM classes, this class is one
10825 of the lowest classes in our hierarchy.
10826 - One less class to use NMActRequest.
10827 - Make it singleton, one less user of NMData.
10828 - Remove a couple of sleep() calls.
10829 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10830 One less class to use the NM's custom tailored signal handlig.
10832 * Makefile.am: Generate marshallers, add them to build.
10834 2007-02-02 Dan Williams <dcbw@redhat.com>
10840 - Remove last bits referencing gnome applet
10842 2007-02-02 Dan Williams <dcbw@redhat.com>
10844 * src/vpn-manager/nm-vpn-service.c
10845 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10846 and NBNS server addresses
10848 2007-02-02 Tambet Ingo <tambet@ximian.com>
10850 * src/nm-dbus-manager.c:
10851 * src/nm-dbus-manager.h:
10852 - Convert all internal DBUS code to use dbus-glib bindings.
10853 - Remove GObject properties, we don't need them here.
10854 - Don't explicitly set things to NULL after freeing, glib is
10855 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10856 - Make public API argument checks type safe.
10857 - Remove unnecessary (and wrong) cast to GObject for the first
10858 argument to g_signal_* calls - The first argument is a gpointer.
10859 - Export DBusGConnection to other cool classes that (are going to)
10862 2007-01-26 Dan Williams <dcbw@redhat.com>
10864 * libnm-util/dbus-dict-helpers.c
10865 libnm-util/dbus-dict-helpers.h
10866 - Coordinate style with wpa_supplicant version to minimize diff
10867 - Add uint32 array support
10868 - (nmu_dbus_dict_append_uint32_array): new function
10869 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10870 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10871 version; allow adding string array elements individually
10873 * test/libnm-util/test-dbus-dict-helpers.c
10874 - Test uint32 arrays
10876 2007-01-27 Jürg Billeter <j@bitron.ch>
10878 * src/backends/NetworkManagerPaldo.c
10879 - (nm_system_update_dns): clear nscd hosts cache
10881 2007-01-04 Dan Williams <dcbw@redhat.com>
10883 Threading removal related cleanups:
10885 - Use the glib default main context. Remove the device main context
10886 member from NMDevice, and the main_context member from NMData. Change
10887 all the idle and timeout scheduler functions to use plain
10888 g_idle_add() and g_timeout_add().
10890 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10891 takes an argument; fix that up too.
10893 - Remove all locking, which is useless since we no longer use threads. For
10894 example, nm_get_device_by_iface_locked() has been removed. The global
10895 device list lock, the AP List lock, and all static locks in
10896 NetworkManagerPolicy.c have been removed. The locking utility functions
10897 in NetworkManagerUtils.c have also been removed.
10899 - Other cleanups in spacing and code style
10901 2007-01-01 Dan Williams <dcbw@redhat.com>
10903 Found by Bill Moss:
10905 * src/supplicant-manager/nm-supplicant-interface.c
10906 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10907 the supplicant interface wasn't already disconnected. Always
10908 call removeNetwork and disconnect unless the supplicant interface
10909 is in the DISCONNECTED or INACTIVE state.
10911 2006-12-28 Dan Williams <dcbw@redhat.com>
10913 Use a single thread for everything. With the move to wpa_supplicant
10914 and communication over D-Bus, there's no reason for multiple threads.
10915 Almost all of the blocking code has been removed, with one exception in
10916 the DHCP manager and a few in the VPN manager. This commit removes the
10917 per-device worker thread and fixes activation cancellation in the absence
10918 of threads. Further removal of thread-related code would be removing
10919 any locking code (like the device list lock) and simplification of logic
10920 around areas of code or data structures that are currently locked.
10923 dhcp-manager/nm-dhcp-manager.c
10924 nm-device-802-11-wireless.c
10925 nm-device-802-3-ethernet.c
10928 - Remove usage of multiple threads
10930 2006-12-19 Dan Williams <dcbw@redhat.com>
10932 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10933 plus a few other patches from wpa_supplicant bugzilla.
10936 src/NetworkManagerPolicy.c
10937 src/NetworkManagerUtils.c
10938 src/NetworkManagerUtils.h
10939 src/nm-ap-security-leap.c
10940 src/nm-ap-security-wep.c
10941 src/nm-ap-security-wpa-eap.c
10942 src/nm-ap-security-wpa-psk.c
10943 src/nm-ap-security.c
10944 src/nm-ap-security.h
10945 src/nm-device-802-11-wireless.c
10946 src/nm-device-802-11-wireless.h
10947 src/supplicant-manager/nm-supplicant-config.c
10948 src/supplicant-manager/nm-supplicant-config.h
10949 src/supplicant-manager/nm-supplicant-interface.c
10950 src/supplicant-manager/nm-supplicant-interface.h
10951 src/supplicant-manager/nm-supplicant-marshal.list
10952 src/supplicant-manager/nm-supplicant-settings-verify.c
10953 src/supplicant-manager/nm-supplicant-settings-verify.h
10954 - Move all connection management and association handling to
10955 wpa_supplicant over dbus, rather than spawning a private copy
10957 2006-12-19 Dan Williams <dcbw@redhat.com>
10959 * src/NetworkManagerPolicy.c
10960 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10961 better locking of the device change check handler ID. Incorrect
10962 locking was causing lost device change requests
10964 2006-12-18 Dan Williams <dcbw@redhat.com>
10966 * libnm-util/dbus-dict-helpers.c
10967 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10968 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10969 dbus_message_iter_get_array_len() (Gnome.org #382898)
10971 2006-12-18 Dan Williams <dcbw@redhat.com>
10973 * gnome/libnm_glib/libnm_glib.c
10974 - Change dbus_connection_close() -> dbus_connection_unref()
10976 2006-12-11 Dan Williams <dcbw@redhat.com>
10978 * src/supplicant-manager/nm-supplicant-interface.c
10979 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10980 wpa_supplicant interface state
10981 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10982 state before transitioning to READY state
10984 2006-12-04 Dan Williams <dcbw@redhat.com>
10986 * src/nm-device-802-11-wireless.c
10987 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10988 odd length of ESSID returned from ieee80211 stack-based drivers
10990 2006-12-04 Dan Williams <dcbw@redhat.com>
10992 * src/nm-device-802-11-wireless.c
10993 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10994 IE handling blocks that cause mis-parsing of the IE
10996 2006-12-04 Dan Williams <dcbw@redhat.com>
10998 * src/nm-device-802-11-wireless.c
10999 - (init_supplicant_interface): new function; pull supplicant interface
11000 setup code out into standalone function since it must be called from
11001 two different places
11002 - (real_init): sup_mgr is now in private object data; get and track
11003 the supplicant manager object over the NMDevice subclass' lifetime
11004 and register a signal handler for its state signals; only try to
11005 initialize the supplicant interface if the supplicant manager is in
11006 the IDLE state (and therefore is ready for requests)
11007 - (request_wireless_scan): reschedule the scan request if (a) there is
11008 no supplicant interface yet (meaning wpa_supplicant isn't running
11009 or isn't ready yet), or (b) if the supplicant interface isn't ready
11011 - (supplicant_iface_connection_state_cb): new function; stub for
11012 handling supplicant interface connection state signals
11013 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
11015 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
11016 supplicant manager object that's being tracked starting with this
11019 2006-12-04 Dan Williams <dcbw@redhat.com>
11021 * src/supplicant-manager/nm-supplicant-interface.c
11022 - (nm_supplicant_interface_set_property): track signal handler ID
11023 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11025 2006-12-04 Dan Williams <dcbw@redhat.com>
11027 * src/supplicant-manager/nm-supplicant-interface.[ch]
11028 - (nm_supplicant_interface_get_state): new function
11030 2006-12-04 Dan Williams <dcbw@redhat.com>
11032 * src/supplicant-manager/nm-supplicant-interface.c
11033 - (bssid_properties_cb): don't treat DBus errors as valid
11034 scanned AP messages
11036 2006-12-04 Dan Williams <dcbw@redhat.com>
11038 * src/supplicant-manager/nm-supplicant-interface.[ch]
11039 - (nm_supplicant_interface_get_connection_state): new function
11040 - define new supplicant connection states
11041 - send a signal when the supplicant connection state changes
11043 2006-12-03 Dan Williams <dcbw@redhat.com>
11045 * src/supplicant-manager/Makefile.am
11046 src/supplicant-manager/nm-supplicant-connection.h
11047 src/supplicant-manager/nm-supplicant-connection.c
11048 src/supplicant-manager/nm-supplicant-config.h
11049 src/supplicant-manager/nm-supplicant-config.c
11050 src/supplicant-manager/nm-supplicant-types.h
11051 src/supplicant-manager/nm-supplicant-interface.h
11052 src/supplicant-manager/nm-supplicant-interface.c
11053 - Rename NMSupplicantConnection -> NMSupplicantConfig
11055 2006-12-03 Dan Williams <dcbw@redhat.com>
11057 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11061 - Move VPN-related translatables to .skip
11063 * vpn-daemons/pptp/po/POTFILES.in
11064 - Update with new translatables
11066 2006-12-02 Dan Williams <dcbw@redhat.com>
11068 Patch from Christian Persch <chpe@gnome.org>
11070 * gnome/applet/Makefile.am
11071 gnome/applet/applet-dbus-devices.c
11072 gnome/applet/applet-notifications.c
11073 gnome/applet/applet.c
11074 gnome/applet/applet.h
11075 gnome/applet/main.c
11076 - Be a GtkStatusIcon on GTK+ >= 2.10
11078 2006-12-02 Dan Williams <dcbw@redhat.com>
11080 * gnome/applet/applet.c
11081 - (nma_update_info): fix two unecessary allocations
11083 2006-12-02 Dan Williams <dcbw@redhat.com>
11085 Patch from Michael Biebl <biebl@teco.edu>
11087 man/NetworkManager.1.in
11088 man/NetworkManagerDispatcher.1.in
11089 man/NetworkManager.8.in
11090 man/NetworkManagerDispatcher.8.in
11091 - Add .SH NAME stanzas
11092 - Move NM & NM Dispatcher manpages to section 8 (admin)
11094 2006-12-02 Dan Williams <dcbw@redhat.com>
11096 Patch from Christian Persch <chpe@gnome.org>
11099 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11101 2006-11-29 Tambet Ingo <tambet@ximian.com>
11103 Patch by Timo Hoenig <thoenig@suse.de>:
11104 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11107 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11108 we can't use the one from the main source directory.
11110 2006-11-27 Dan Williams <dcbw@redhat.com>
11112 Patch from Christian Persch <chpe@gnome.org>
11114 * gnome/applet/applet-dbus-devices.c
11115 - (hal_info_product_cb): fix memleak; free duped string.
11118 2006-11-27 Dan Williams <dcbw@redhat.com>
11120 Patch from Christian Persch <chpe@gnome.org>
11122 * gnome/applet/menu-items.c
11123 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11124 as gtk_progress_set_percentage is deprecated. Should
11125 work as far back as GTK+ 2.4. Gnome.org #379780
11127 2006-11-26 Dan Williams <dcbw@redhat.com>
11129 Scan using wpa_supplicant over DBus.
11131 * src/nm-device-802-11-wireless.c
11132 - remove wireless extensions netlink event handler bits
11133 (wireless_event_helper, nm_device_802_11_wireless_event)
11134 - remove wireless extensions scan event handler bits
11135 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11136 hex2byte, hex2num, request_and_convert_scan_results,
11137 free_process_scan_cb_data, scan_results_timeout,
11138 schedule_scan_results_timeout, cancel_scan_results_timeout)
11139 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11140 and request scans from the supplicant interface rather than directly
11141 - Move functionality of convert_scan_results() to cull_scan_list() and
11142 supplicant_iface_scanned_ap_cb()
11143 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11144 at the scan interval when the current scan has finished
11145 - (supplicant_iface_state_cb): start scanning when the supplicant
11146 interface enters the READY state, and stop scanning when it
11147 enters the DOWN state
11148 - (cull_scan_list): weed out old access points from the scan list
11149 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11150 point into an NMAccessPoint and merge it into the device's scan list
11152 * src/supplicant-manager/nm-supplicant-interface.c
11153 src/supplicant-manager/nm-supplicant-interface.h
11154 - Add a new signal "scan-result" which is issued when the supplicant
11155 notifies NM that a scan has completed
11156 - Add a new signal "scanned-ap" that notifies listeners of a new access
11157 point found in the scan. Called once for each access point that
11158 the supplicant interface object receives from the supplicant as a
11159 result of the "scanResults" method call
11160 - (wpas_iface_query_scan_results): don't wait 4s before querying
11161 for the initial scan results
11162 - (scan_request_cb): new function; send listeners the result
11163 (success, error) of a wireless scan request
11164 - (nm_supplicant_interface_request_scan): new function; ask the
11165 supplicant to perform an immediate wireless scan
11167 2006-11-25 Dan Williams <dcbw@redhat.com>
11169 * src/supplicant-manager/Makefile.am
11170 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11171 add HAL cflags/includes and named-manager includes directory
11173 * src/supplicant-manager/nm-supplicant-interface.h
11174 - New state STARTING to handle transition from INIT to READY where
11175 the addInterface pending call is still outstanding
11177 * src/supplicant-manager/nm-supplicant-interface.c
11178 - track pending calls differently since we may have more than one
11179 going on at any given time
11180 - request scan results from wpa_supplicant; but don't do it more often
11181 than every 4 seconds. Drivers that do background scanning
11182 (like the 'ipw' drivers) send a continuous stream of scan completion
11183 notifications, so we don't want to hammer the supplicant or dbus
11184 with requests for all scan results every time we get a completion
11187 2006-11-25 Dan Williams <dcbw@redhat.com>
11189 * src/supplicant-manager/nm-supplicant-types.h
11190 - new file; move all supplicant manager object typedefs here for
11193 * src/supplicant-manager/nm-supplicant-interface.c
11194 src/supplicant-manager/nm-supplicant-interface.h
11195 - new file; an object that interfaces an NMDevice object to the
11196 supplicant and handles signals from the supplicant. This object
11197 does all necessary DBus communication with wpa_supplicant.
11199 * src/supplicant-manager/nm-supplicant-manager.c
11200 src/supplicant-manager/nm-supplicant-manager.h
11201 - Actually do something. Track the state of the wpa_supplicant service
11202 and deal with its comings & goings. Handle life events of
11203 supplicant interfaces too.
11204 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11206 * src/supplicant-manager/nm-supplicant-connection.h
11207 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11209 * src/supplicant-manager/Makefile.am
11210 - Add new files to build, and add libnm-util to includes
11212 * src/nm-marshal.list
11213 - New marshaler type: VOID:UINT,UINT
11215 * src/nm-device-802-3-ethernet.c
11216 - (real_init): grab a supplicant interface
11217 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11218 - (supplicant_iface_state_cb): new function, stub for handling
11219 supplicant interface state changes
11221 * src/nm-device-802-11-wireless.c
11222 - (real_init): grab a supplicant interface
11223 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11224 - (supplicant_iface_state_cb): new function, stub for handling
11225 supplicant interface state changes
11227 * src/NetworkManager.c
11228 - (main): create and keep the supplicant manager around for the lifetime
11232 - Link to the supplicant manager sub-library and use the supplicant
11235 2006-11-25 Dan Williams <dcbw@redhat.com>
11237 Rework DBus manager signal handling to be more flexible. Previously,
11238 only one signal handler could be registered for a particular interface.
11239 The DBus manager now reference counts DBus bus matches and allows multiple
11240 clients to register signal handlers for the same interface and sender.
11242 * src/NetworkManager.c
11243 - (main): track NMI signal handler ID and remove it when we quit
11245 * src/NetworkManagerMain.h
11246 - Keep track of NMI signal handler ID
11248 * src/nm-dbus-manager.c
11249 src/nm-dbus-manager.h
11250 - rework signal handling; each signal handler references one signal
11251 match, but a signal match may be referenced by one or more
11252 signal handlers. Matches are refcounted and are destroyed when the
11253 last signal handler that references the match is removed. This is
11254 necessary because two signal handlers may end up requiring the same
11255 dbus bus match, so the match must live until the last signal handler
11256 is destroyed (for example, with the wpa_supplicant network interface
11259 * src/dhcp-manager/nm-dhcp-manager.c
11260 - (nm_dhcp_manager_new): track DHCP signal handler id
11261 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11263 * src/vpn-manager/nm-vpn-service.c
11264 - (nm_vpn_service_add_watch): track VPN service signal handler id
11265 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11267 2006-11-25 Dan Williams <dcbw@redhat.com>
11269 Suggested by Helmut Schaa <hschaa@suse.de>
11271 * src/vpn-daemons/nm-vpn-service.c
11272 - (supplicant_child_setup): new function
11273 - (supplicant_exec): make child process use a new process group id
11275 * src/nm-device-802-11-wireless.c
11276 - (nm_vpn_service_child_setup): new function
11277 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11280 2006-11-19 Dan Williams <dcbw@redhat.com>
11282 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11283 * gnome/vpn-properties/nm-vpn-properties.c
11284 - clean up after renamed VPN connection
11286 2006-11-19 Dan Williams <dcbw@redhat.com>
11288 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11289 * gnome/applet/applet-dbus-vpn.c
11290 - (nma_dbus_vpn_properties_cb): sort VPN connections
11292 * gnome/vpn-properties/nm-vpn-properties.c
11293 - (init_app): sort VPN connections
11295 2006-11-09 Dan Williams <dcbw@redhat.com>
11297 * src/NetworkManagerAPList.c
11298 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11299 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11300 from the nm_ap_list_get_ap_by_address() call was incorrect and
11301 broke hidden SSID matching. Found by Bill Moss.
11303 2006-10-25 Dan Williams <dcbw@redhat.com>
11306 - (nm_dbus_nm_set_active_device): return an empty success message on
11307 success, rather than falling through to the error case.
11309 2006-10-25 Dan Williams <dcbw@redhat.com>
11311 * src/NetworkManagerUtils.c
11312 - (nm_utils_supplicant_request_with_check): suppress messages for the
11315 2006-10-24 Dan Williams <dcbw@redhat.com>
11317 Reduce the number of times the Gnome applet wakes up, especially when
11318 it's doing absolutely nothing and is hidden. Initial patch by
11321 * gnome/applet/applet-dbus.c
11322 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11323 kill the redraw timeout. When NM starts up, start the redraw
11324 timeout. Also, if we get kicked off the bus for some reason,
11325 start the reconnection timeout if one's not already running.
11326 - (nma_dbus_init): better handling of error conditions, don't leak
11327 a half-initialized dbus connection
11328 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11329 the applet's data, just call nm_dbus_init_helper()
11330 - (nma_start_dbus_connection_watch): new function, starts a periodic
11331 timeout that calls nma_dbus_connection_watcher()
11332 - (nma_dbus_init_helper): if we get a successful connection, kill the
11333 reconnection timeout, and don't start the reconnection timeout
11334 unconditionally anymore
11336 * gnome/applet/applet-dbus.h
11337 - Expose nma_start_dbus_connection_watch()
11339 * gnome/applet/applet.c
11340 - (nma_update_state): no longer static, called from applet-dbus.c for
11341 immediate UI updates on certain events
11342 - (nma_set_running): new function; take over setting applet->running,
11343 when not running (ie, NM is not active), don't activate the redraw
11344 timeout because we're not showing the applet anyway. When we are
11345 running (ie, NM is active), and only when we're running, start the
11347 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11348 kill any reconnection timeout
11349 - (nma_get_instance): move one-off dbus initialization code here since
11350 nm_dbus_init_helper() gets called more than once, possibly by the
11351 reconnection timeout function too. And, when we start up, if we
11352 can't get a connection to the bus, start the reconnection timeout.
11353 But don't start the redraw timeout yet, only do that when we get
11354 NM's state and find out if it's running or not.
11356 * gnome/applet/applet.h
11357 - Add the reconnection GSource ID
11358 - Add prototypes for nma_set_running() and the no-longer-static
11361 2006-10-24 Dan Williams <dcbw@redhat.com>
11363 * src/vpn-daemons/nm-dbus-vpnc.c
11364 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11365 pending call tracker
11366 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11367 pending call tracker; register one-vpn-connection update pending
11368 call in pending call tracker
11369 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11370 update pending call in pending call tracker
11371 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11372 update pending call in pending call tracker; don't block waiting
11375 2006-10-19 Robert Love <rml@novell.com>
11377 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11380 2006-10-14 Dan Williams <dcbw@redhat.com>
11382 * src/dhcp-manager/nm-dhcp-manager.c
11383 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11384 the dbus connection and the device object path rather than
11385 constructing it inside both functions. Saves a bit of memory
11386 and clarifies a failure path.
11387 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11388 and allocate device path here rather than each of the two
11391 2006-10-13 Dan Williams <dcbw@redhat.com>
11393 * src/NetworkManager.c
11394 - (nm_name_owner_changed_handler): handle NMI coming and going,
11395 this somehow droppout in the refactor
11397 2006-10-13 Dan Williams <dcbw@redhat.com>
11399 * Huge DBus refactor:
11400 - Create a "DBus Manager" object which manages the connection and
11401 sends signals on NameOwnerChanged and connection/disconnection events,
11402 handles reconnection to the bus if NM gets kicked off, and abstracts
11404 - Remove DBusConnection members from places where they are no
11405 longer needed due to the refactor, like the dbus-connection
11406 property of the named manager, and from NMData
11407 - Reformats a bunch of the code to gnome style
11408 (8-space tabs, braces on same line as statement, 80-col width).
11409 Consider it open season to reformat any bits to gnome style.
11410 style that aren't already.
11412 2006-10-13 Dan Williams <dcbw@redhat.com>
11414 * src/supplicant-manager/Makefile.am
11417 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11418 - Make it a minimal GObject
11420 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11421 - Verify settings destined for wpa_supplicant
11423 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11424 - Minimal GObject to track wpa_supplicant controlled device
11427 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11429 * gnome/applet/applet.c: (nma_update_info),
11430 (nma_act_stage_to_pixbuf), (nma_update_state):
11431 Mark missing strings for translation. Fixes bug #343306.
11433 2006-10-01 Dan Williams <dcbw@redhat.com>
11435 * src/vpn-manager/nm-vpn-manager.c
11436 - (nm_vpn_manager_load_services): split and clean up
11437 for readability and correctness. Restrict VPN service
11438 files to ending in ".name", as was meant from the
11439 beginning (but not coded in). Better error reporting.
11441 2006-10-01 Dan Williams <dcbw@redhat.com>
11444 - Clean up formatting of debug/info/warning log messages
11446 2006-09-27 Robert Love <rml@novell.com>
11448 Patch by Tambet Ingo <tambet@ximian.com>:
11449 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11452 2006-09-07 Dan Williams <dcbw@redhat.com>
11455 test/libnm-util/Makefile.am
11456 test/nm-supplicant-test.c
11457 - Add test program emulating the way NM drives wpa_supplicant
11458 to help debug supplicant issues
11460 2006-08-24 Dan Williams <dcbw@redhat.com>
11464 src/supplicant-manager/Makefile.am
11465 src/supplicant-manager/nm-supplicant-manager.c
11466 src/supplicant-manager/nm-supplicant-manager.h
11467 - Add skeleton bits of the wpa_supplicant manager
11469 2006-08-24 Dan Williams <dcbw@redhat.com>
11471 Patch from Ed Catmur:
11472 * src/NetworkManagerUtils.c
11473 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11474 if netmask is 0 (Gnome #352634)
11476 2006-08-17 Robert Love <rml@novell.com>
11478 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11479 package is now DBUS-enabled and listens for the NM signals.
11481 2006-08-14 Dan Williams <dcbw@redhat.com>
11483 * Patch from Christian Persch <chpe gnome org>
11486 vpn-daemons/openvpn/po/LINGUAS
11487 vpn-daemons/openvpn/configure.in
11488 vpn-daemons/pptp/po/LINGUAS
11489 vpn-daemons/pptp/configure.in
11490 vpn-daemons/vpnc/po/LINGUAS
11491 vpn-daemons/vpnc/configure.in
11492 - Convert to LINGUAS method so translators don't have to modify
11493 configure.in, just stuff in po/. Gnome #343132, requires intltool
11496 2006-08-14 Dan Williams <dcbw@redhat.com>
11498 Patch from Alex Smith <alex.extreme2@gmail.com>
11500 src/backends/Makefile.am
11501 src/backends/NetworkManagerFrugalware.c
11502 - Add support for Frugalware
11504 2006-08-13 Dan Williams <dcbw@redhat.com>
11506 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11507 * src/nm-device-802-11-wireless.c
11508 - (supplicant_exec): spawn wpa_supplicant without debug spew
11511 2006-08-13 Dan Williams <dcbw@redhat.com>
11513 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11514 * src/nm-ap-security.c
11515 src/nm-ap-security.h
11516 - Add authentication_required bits for subclasses to specify whether
11517 or not real authentication is required for connections, i.e. whether
11518 the AP rejects us when an encryption key is wrong or not.
11520 * src/nm-ap-security-wep.c
11521 src/nm-ap-security-wpa-eap.c
11522 src/nm-ap-security-wpa-psk.c
11523 src/nm-ap-security-leap.c
11524 - Implement authentication_required appropriately for each method
11526 * src/nm-device-802-11-wireless.c
11527 - Be smarter about when to request a key; for example, using a wrong key
11528 in WEP shared key mode previously just timed out and did not request
11531 2006-08-13 Dan Williams <dcbw@redhat.com>
11533 * gnome/libnm_glib/libnm_glib.c
11534 - dbus_connection_disconnect() -> dbus_connection_close() for
11537 2006-08-07 Dan Williams <dcbw@redhat.com>
11539 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11540 * src/NetworkManagerSystem.c
11541 - Respect specified MTU. Gnome #344967
11543 2006-08-07 Dan Williams <dcbw@redhat.com>
11545 * src/vpn-manager/nm-vpn-service.c
11546 - Simplify print_vpn_config() arguments
11548 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11549 * src/vpn-manager/Makefile.am
11550 src/vpn-manager/nm-vpn-service.c
11551 - Add new API for passing VPN config options as a dict. Gnome #344967
11553 2006-08-06 Dan Williams <dcbw@redhat.com>
11555 * gnome/applet/applet-dbus-devices.c
11556 gnome/applet/applet-dbus-vpn.c
11557 gnome/applet/applet-dbus.c
11558 gnome/applet/applet-dbus.h
11562 - Make pending call tracking code generic,
11563 so we can use it in NM as well as the applet
11565 2006-08-06 Dan Williams <dcbw@redhat.com>
11567 * src/nm-activation-request.c
11568 - Refcount pending call objects
11570 2006-08-06 Dan Williams <dcbw@redhat.com>
11572 Patch from Christan Chiesa <christanc@gmail.com>
11574 - Tell sha1.c to use bigendian mode on PPC
11576 2006-08-04 Robert Love <rml@novell.com>
11578 Glib Memory Slices!
11579 * configure.in: Require glib 2.10 or later.
11580 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11581 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11582 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11583 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11584 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11585 Memory Slices are the greatest thing since bread slices.
11586 * src/NetworkManagerAP.c: Also, fix memory leak.
11588 2006-08-01 Robert Love <rml@novell.com>
11590 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11592 2006-07-31 Robert Love <rml@novell.com>
11594 * src/backends/interface_parser.c: Declarations must begin the block.
11596 2006-07-24 Dan Williams <dcbw@redhat.com>
11598 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11599 * src/backends/Makefile.am
11600 src/backends/NetworkManagerArch.c
11601 src/backends/NetworkManagerDebian.c
11602 src/backends/NetworkManagerGeneric.c
11603 src/backends/NetworkManagerGeneric.h
11604 src/backends/NetworkManagerGentoo.c
11605 src/backends/NetworkManagerPaldo.c
11606 src/backends/NetworkManagerRedHat.c
11607 src/backends/NetworkManagerSlackware.c
11608 src/backends/NetworkManagerSuSE.c
11609 - Genericize common backend functions
11611 2006-07-18 Robert Love <rml@novell.com>
11613 * configure.in: Add "--with-notify" option to allow disabling of
11616 2006-07-13 Dan Williams <dcbw@redhat.com>
11618 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11619 * gnome/applet/applet.glade
11620 gnome/applet/Makefile.am
11621 gnome/applet/nm-gconf-wso.c
11622 gnome/applet/nm-gconf-wso-leap.c
11623 gnome/applet/nm-gconf-wso-leap.h
11624 gnome/applet/wireless-security-manager.c
11625 gnome/applet/wso-leap.c
11626 gnome/applet/wso-leap.h
11627 include/NetworkManager.h
11628 libnm-util/dbus-helpers.c
11629 libnm-util/dbus-helpers.h
11631 src/NetworkManagerAP.c
11632 src/nm-ap-security.c
11633 src/nm-ap-security-leap.c
11634 src/nm-ap-security-leap.h
11635 - Add LEAP authentication support
11637 2006-07-13 Dan Williams <dcbw@redhat.com>
11639 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11641 src/backends/NetworkManagerArch.c
11642 src/backends/NetworkManagerDebian.c
11643 src/backends/NetworkManagerGentoo.c
11644 src/backends/NetworkManagerPaldo.c
11645 src/backends/NetworkManagerRedHat.c
11646 src/backends/NetworkManagerSlackware.c
11647 src/backends/NetworkManagerSuSE.c
11648 - Convert hardcoding of 'ip' path to configure-time
11651 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11653 * configure.in: added ru to ALL_LINGUAS
11655 2006-07-10 Dan Williams <dcbw@redhat.com>
11657 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11659 - (real_act_stage3_ip_config_start): don't infinite loop when
11660 dhcdbd isn't running (Gnome #346845)
11662 2006-07-09 Dan Williams <dcbw@redhat.com>
11664 * gnome/applet/applet.c
11665 - (nma_destroy): don't pass NULL to notify_notification_close
11668 2006-07-09 Dan Williams <dcbw@redhat.com>
11670 * gnome/applet/applet.c
11671 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11673 2006-07-04 Tor Krill <tor@krill.nu>
11675 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11676 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11677 (nm_system_restart_mdns_responder), (ArchReadConfig),
11678 (nm_system_device_get_system_config):
11679 - Explicitly check for DHCP configuration
11680 - Check if daemons are running before starting them
11682 2006-06-25 Dan Williams <dcbw@redhat.com>
11684 * libnm-util/dbus-dict-helpers.[ch]
11685 test/libnm-util/test-dbus-dict-helpers.c
11686 - Add string array support
11688 2006-06-24 Dan Williams <dcbw@redhat.com>
11690 * src/dhcp-manager/nm-dhcp-manager.c
11691 - (nm_dhcp_manager_process_signal): clean up spacing
11693 2006-06-21 Dan Williams <dcbw@redhat.com>
11695 * src/nm-dbus-device.c
11696 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11699 2006-06-21 Raivis Dejus <orvils@gmail.com>
11701 * configure.in: Added 'lv' to ALL_LINGUAS
11703 2006-06-19 Dan Williams <dcbw@redhat.com>
11705 * src/NetworkManagerAP.c
11706 - Clarify usage of user_created
11708 * src/nm-ap-security-wep.c
11709 src/nm-ap-security-wpa-eap.c
11710 src/nm-ap-security-wpa-psk.c
11711 src/nm-ap-security.c
11712 src/nm-ap-security.h
11713 - s/user_created/adhoc, because we really do mean adhoc
11715 Patch from Bernard Blackham <bernard@blackham.com.au>
11716 * src/nm-device-802-11-wireless.c
11717 - (supplicant_send_network_config): instead of user_created,
11718 use adhoc, and do AP_SCAN 2 for adhoc networks
11720 2006-06-18 Robert Love <rml@novell.com>
11722 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11723 we have a value to set. Gconf generates a warning if `val' is NULL.
11724 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11725 unless we actually received a valid private key file passphrase or
11726 password. Otherwise, we don't know to later ask the applet to pull
11727 the key from the keyring.
11729 2006-06-17 Dan Williams <dcbw@redhat.com>
11731 * libnm-util/dbus-dict-helpers.[ch]
11732 test/libnm-util/test-dbus-dict-helpers.c
11733 - Fixes for zero-length byte arrays
11734 - Replace return values of 0 with FALSE for clarity
11735 - Test zero-length byte arrays
11737 2006-06-17 Dan Williams <dcbw@redhat.com>
11739 * libnm-util/dbus-dict-helpers.[ch]
11740 test/libnm-util/test-dbus-dict-helpers.c
11741 - Add helpers for byte arrays
11742 - Rework bits of the testcase
11744 2006-06-16 Dan Williams <dcbw@redhat.com>
11746 * libnm-util/Makefile.am
11747 * libnm-util/dbus-dict-helpers.[ch]
11748 - Add some helpers to take the pain out of using dict types in
11751 * test/libnm-util/Makefile.am
11752 * test/libnm-util/test-dbus-dict-helpers.c
11753 - Test cases for the dict helper functions
11755 2006-06-15 Robert Love <rml@novell.com>
11757 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11758 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11759 if there is no key to pass.
11760 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11761 receiving a non-NULL key.
11763 2006-06-14 Robert Love <rml@novell.com>
11765 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11769 2006-06-14 Dan Williams <dcbw@redhat.com>
11771 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11772 * src/nm-device-802-11-wireless.c
11773 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11774 or ones where the driver is unknown
11775 - (supplicant_exec): don't wait for supplicant startup here
11776 - (supplicant_interface_init): finer grained polling for supplicant
11779 2006-06-13 Robert Love <rml@novell.com>
11781 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11782 if it is currently set to TRUE. Otherwise, we will reset the value
11783 when we connect normally.
11784 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11785 the old BSSID is valid, too. The recently added ESSID check may not be
11786 sufficient (we can remove it?). What we really want to catch is the
11787 case of going from all-zeros to the BSSID of some other network, which
11788 happens on failure.
11790 2006-06-09 Dan Williams <dcbw@redhat.com>
11792 * src/NetworkManagerSystem.[ch]
11793 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11794 it was unused and pointless
11795 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11796 fix for set_up_down_with_iface change
11798 * src/vpn-manager/nm-vpn-connection.c
11799 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11801 * src/backends/NetworkManagerPaldo.c
11802 src/backends/NetworkManagerRedHat.c
11803 src/backends/NetworkManagerSuSE.c
11804 src/backends/NetworkManagerArch.c
11805 src/backends/NetworkManagerDebian.c
11806 src/backends/NetworkManagerGentoo.c
11807 - (nm_system_enable_loopback): use set_up_down_with_iface where
11809 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11812 2006-06-09 Dan Williams <dcbw@redhat.com>
11814 Patch from Peter Jones:
11815 * src/nm-device-802-11-wireless.c
11816 - (nm_device_802_11_wireless_update_bssid): make sure that the
11817 SSID hasn't changed from what we expect before automatically
11818 updating the saved BSSID from a new AP
11820 2006-06-08 Robert Love <rml@novell.com>
11822 Add 'fallback' support. NetworkManager will attempt to brute-force
11823 connect to networks marked as fallback if there are no better wireless
11824 connections available. This is useful as a method of last resort, to
11825 work around driver problems, and for use with hidden networks.
11826 * gnome/applet/applet-dbus-devices.c,
11827 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11828 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11829 pass it on via DBUS.
11830 * gnome/applet/applet.c: No fallback by default.
11831 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11832 Update other-network-dialog to add UI checkbox toggling fallback.
11833 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11834 propery from AP object. Add "fallback" property to AP object.
11835 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11836 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11837 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11838 separate function. Add get_best_fallback_ap() for returning an AP
11839 on which to attempt fallback.
11840 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11841 * test/nm-set-fallback: New file. Sets a given network as fallback.
11843 2006-06-07 Robert Love <rml@novell.com>
11845 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11846 checked that the return type was GCONF_VALUE_STRING, not the correct
11847 GCONF_VALUE_BOOL, and thus it never worked.
11848 * src/NetworkManagerAPList.c: Before concluding that two networks are
11849 identical based on their BSSID, make sure that the BSSID in question
11850 is actually valid. Specifically, an empty or all zero BSSID does not
11852 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11853 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11854 similar invariant clean up.
11856 2006-06-02 Robert Love <rml@novell.com>
11858 * gnome/applet/applet.c: Update copyright years. Add Novell.
11860 2006-05-28 Dan Williams <dcbw@redhat.com>
11862 * gnome/applet/applet.glade
11863 gnome/vpn-properties/nm-vpn-properties.glade
11864 - Set window icons on dialogs (Gnome.org #333420)
11866 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11868 * gnome/vpn-properties/nm-vpn-properties.glade:
11869 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11870 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11871 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11872 - Make the VPN properties pages prettier and more HIG
11873 compliant. Gnome Bug #336913.
11875 2006-05-28 Dan Williams <dcbw@redhat.com>
11877 Patch from Christian Persch <chpe@gnome.org>
11878 * gnome/vpn-properties/nm-vpn-properties.c
11879 * gnome/vpn-properties/nm-vpn-properties.glade
11880 - HIG-ification love (Gnome.org #336846)
11882 2006-05-28 Dan Williams <dcbw@redhat.com>
11884 Patch from Christian Persch <chpe@gnome.org>
11886 gnome/vpn-properties/nm-vpn-properties.c
11887 - (main): Fix option parsing. Gnome.org #336847
11889 2006-05-28 Dan Williams <dcbw@redhat.com>
11891 * gnome/vpn-properties/nm-vpn-properties.c
11892 - (find_vpn_ui_by_service_name): protect against NULL service names
11893 - (update_edit_del_sensitivity): protect against NULL service names
11896 2006-05-28 Dan Williams <dcbw@redhat.com>
11898 Patch from Chris Fuller <crf@grandecom.net>:
11899 * src/nm-device-802-11-wireless.c
11900 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11901 don't dispose of wireless-specific stuff unless it is actually
11902 initialized. Gnome.org #341263
11904 2006-05-28 Dan Williams <dcbw@redhat.com>
11906 * src/NetworkManagerPolicy.c
11907 - (nm_policy_device_change_check): don't switch devices if the "best"
11908 AP is essentially the same as the current activation request, but
11909 the current activation request isn't done activating yet. Fixes
11910 multiple requests for keyring password on startup for Gnome applet.
11913 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11915 * src/NetworkManager.c: use GOptions instead of getopt
11916 * configure.in: bump glib required version to >= 2.6 for GOption
11919 2006-05-25 Robert Love <rml@novell.com>
11921 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11922 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11923 instead of dumping ifdef's throughout the code.
11924 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11925 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11926 use nm_ioctl_info() in lieu.
11928 2006-05-25 Robert Love <rml@novell.com>
11930 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11931 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11932 not using gcrypt. Otherwise, we get a linker error.
11934 2006-05-25 Robert Love <rml@novell.com>
11936 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11937 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11938 configure flag to disable building of the GNOME-based applet.
11940 2006-05-25 Robert Love <rml@novell.com>
11942 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11943 parameter from link, because it shadows a global variable with some
11944 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11945 should never have exported to the entire system a common four letter
11946 word. But we here at NetworkManager are team players. Fixes
11949 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11951 * configure.in: Added mk.po, Macedonian translation.
11953 2006-05-24 Robert Love <rml@novell.com>
11955 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11956 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11957 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11959 2006-05-24 Robert Love <rml@novell.com>
11961 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11962 libnm-util/Makefile.am, src/Makefile.am,
11963 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11964 vpn-daemons/openvpn/properties/Makefile.am,
11965 vpn-daemons/pptp/auth-dialog/Makefile.am,
11966 vpn-daemons/pptp/properties/Makefile.am,
11967 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11968 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11969 user passed for --datadir, if anything, when setting the GNOME locale
11970 directory. It should be a function of the specified datadir and not
11973 2006-05-24 Robert Love <rml@novell.com>
11975 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11976 src/NetworkManager.c: Take care to call bindtextdomain with the
11977 location of msgid files.
11978 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11981 2006-05-22 Robert Love <rml@novell.com>
11983 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11984 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11985 99% of the time there is a real problem with wireless, and a
11986 seemingly successful connection via Zeroconf just confuses the user.
11987 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11989 2006-05-22 Robert Love <rml@novell.com>
11991 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11992 autofs on interface up if NIS is configured. On interface down, do
11995 2006-05-22 Robert Love <rml@novell.com>
11997 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11998 to avoid calling g_object_unref() on stale pointers on error in
11999 nma_icons_free(). This happens because we short-circuit loaded the
12000 icons on the first failure but then free all icons. Normally we have
12001 no issue because the icons were zero'ed out malloc, but we have stale
12002 pointer data after nma_icon_theme_changed().
12003 * gnome/applet/main.c: Return error code if nma_new() failed.
12005 2060-05-21 Dan Williams <dcbw@redhat.com>
12007 * initscript/NetworkManager.in
12008 - Ensure both dhcdbd and named are started before NM
12010 2006-05-21 Dan Williams <dcbw@redhat.com>
12013 - Bump version to 0.7 to signify we are in 0.7 development
12015 2006-05-21 Dan Williams <dcbw@redhat.com>
12017 Patch from Adam Schreiber <sadam@clemson.edu>
12018 * gnome/vpn-properties/nm-vpn-properties.c
12019 - (main): correct Gnome program name (gnome.org #342498)
12021 2006-05-21 Dan Williams <dcbw@redhat.com>
12023 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12025 * src/NetworkManagerDbus.[ch]
12026 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12027 clarify that function's argument should be an escaped dbus object
12028 path, and look for path segment end before returning a match
12029 * src/nm-dbus-nm.c:
12030 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12032 2006-05-17 Robert Love <rml@novell.com>
12034 Functionality to differentiate Ad-Hoc networks from infrastructure
12035 networks in the applet, by displaying a special icon:
12036 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12037 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12038 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12039 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12040 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12041 networks, encrypted or not.
12042 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12043 accessor functions to get and set the mode of a given network,
12044 wireless_network_get_mode() and wireless_network_set_mode().
12046 2006-05-17 Robert Love <rml@novell.com>
12048 Functionality to automatically add BSSIDs to the allowed-MAC list as
12049 one roams from access point to access point on a given network:
12050 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12051 helper function to compare two ether_addr structures and return TRUE
12052 if they contain the same MAC address.
12053 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12055 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12056 stored with the current AP. If the BSSID has indeed changed, we
12057 send it out to the applet, allowing the allowed-MAC list to grow
12058 automatically in response to roaming.
12060 2006-05-16 Robert Love <rml@novell.com>
12062 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12063 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12065 2006-05-13 Dan Williams <dcbw@redhat.com>
12067 * src/nm-device-802-3-ethernet.c
12068 - (real_get_generic_capabilities): Don't ignore devices that can't do
12069 carrier detect (Debian bug #366373)
12071 2006-05-11 Dan Williams <dcbw@redhat.com>
12073 Patch from Michael Biebl <biebl@teco.edu>
12074 * src/backends/NetworkManagerDebian.c
12075 - Debian backend fixups
12077 2006-05-10 Robert Love <rml@novell.com>
12079 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12081 2006-05-09 Robert Love <rml@novell.com>
12083 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12084 private certificate passphrase, if any, in the GNOME Keyring.
12085 * libnm-utils/dbus-helpers.c: Update.
12087 2006-05-05 Dan Williams <dcbw@redhat.com>
12089 * src/nm-device-802-11-wireless.c
12090 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12091 nm_device_802_11_wireless_disable_encryption() since that's all
12092 we use it for anymore; we don't ever set WEP keys ourselves.
12093 - (real_deactivate_quickly): reset SSID and encryption keys
12094 - (real_deactivate): move SSID and encryption key reset to
12095 real_deactivate_quickly(), which gets run before us anyway
12097 2006-05-05 Robert Love <rml@novell.com>
12099 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12100 root has a wacky default of its own (or, more common, a user has a
12101 bad umask and uses su/sudo to restart NetworkManager). Anything
12102 other than 0022 does not do what we want with, for example,
12103 resolv.conf. This problem is amplified by our judicious use of
12104 fopen(), which uses mode 0666 -- implying that the only way to get
12105 the permissions we want is with a umask of 0022.
12107 2006-05-05 Dan Williams <dcbw@redhat.com>
12109 * gnome/libnm_glib/libnm_glib.c
12110 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12111 to reconnect; instead wait a bit more with each reconnect attempt
12112 up to a max of one minute.
12114 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12116 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12117 the WirelessNetwork structure using the proper function instead of
12118 just casting it directly to (const char *) (gnome.org #336991)
12120 2006-05-03 Robert Love <rml@novell.com>
12122 * src/backends/NetworkManagerSuSE.c: Respect the variable
12123 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12124 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12125 to dynamically update /etc/resolv.conf.
12127 2006-05-02 Peter Jones <pjones@redhat.com>
12129 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12131 2006-05-02 Robert Love <rml@novell.com>
12133 Patch by Timo Hoenig;
12134 * tests/nm-online.c: Print pretty status indicator as timeout winds
12135 down. Also fix possible race between DBUS startup and failure
12138 2006-05-01 Robert Love <rml@novell.com>
12140 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12143 2006-04-27 Jeremy Katz <katzj@redhat.com>
12145 * src/nm-device.c (discover_device_type): Actually use the hal
12146 device type instead of ioctl poking
12148 2006-04-26 Robert Love <rml@novell.com>
12150 * tests/nm-online.c: New file. Simple utility that returns exit status
12151 noting whether the connection is offline or online. If offline on
12152 start, it waits 30 seconds (or a command-line given value) for an
12153 online signal. If it times out, it again returns offline. This is
12154 useful for scripts that want to wait for network connections.
12156 2006-04-25 Robert Love <rml@novell.com>
12158 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12159 key mode (the authentication algorithm), e.g. open or shared, when we
12160 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12161 only shared was broken. If the user specified a shared key, set it
12162 explicitly, otherwise let wpa_supplicant go with the default.
12164 2006-04-24 Dan Williams <dcbw@redhat.com>
12166 * src/nm-device-802-11-wireless.c
12167 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12169 2006-04-24 Dan Williams <dcbw@redhat.com>
12171 Commit the async scanning patch
12173 * src/nm-device-802-11-wireless.c
12174 - get rid of scan_mutex
12175 - (wireless_event_helper): act on wireless scan events
12176 - (real_start): schedule a pending scan
12177 - (link_to_specific_ap): fake the link to the AP during a scan
12178 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12179 strength during scans
12180 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12181 nm_device_set_bitrate): unused with new scanning code, disable
12182 - (nm_device_wireless_schedule_scan): removed
12183 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12184 - (request_and_convert_scan_results): new function; retrieve scan
12185 results from the driver and schedule the processing function
12186 - (scan_results_timeout): timeout triggered when card doesn't send
12187 a scan results wireless event during a certain interval
12188 - (schedule_scan_results_timeout): new function; schedule the scan
12190 - (cancel_scan_results_timeout): new function; cancel the scan
12192 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12193 to do the scanning. Otherwise, just request a scan but don't
12194 grab results here; instead schedule a timeout for scan results and
12195 let netlink notify us of scan completion events
12196 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12197 - (cancel_pending_scan): new function; cancel a pending wireless scan
12198 - (supplicant_status_cb): ignore disconnect events while scanning
12199 - (supplicant_exec): wait a bit longer for the supplicant to start up
12200 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12202 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12204 2006-04-24 Dan Williams <dcbw@redhat.com>
12206 * gnome/applet/applet-dbus.c
12207 - Disable the pending call debug stuff, seems under control now
12209 2006-04-20 Robert Love <rml@novell.com>
12211 Fix bug where hidden ESSID's would not show up in the applet, even
12212 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12213 because nm_policy_device_list_update_from_allowed_list() would merge
12214 the data, putting a name to the hidden networks, but never notify NMI
12215 of the changes. Simple fix is to invoke the function
12216 nm_dbus_signal_wireless_network_change() if we make a mapping.
12217 * src/NetworkManagerAPList.c: Call the function
12218 nm_dbus_signal_wireless_network_change() if we made a successful
12219 BSSID to ESSID mapping, notifying the applet of the "new" network.
12220 * src/NetworkManagerAPList.h: Update the prototypes for both
12221 nm_ap_list_copy_essids_by_address() and
12222 nm_ap_list_copy_one_essid_by_address().
12224 2006-04-20 Robert Love <rml@novell.com>
12226 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12227 not set. Just return zero.
12229 2006-04-20 Robert Love <rml@novell.com>
12231 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12232 only one copy of nm-vpn-properties is running at a time via the 'ol
12233 X selection trick. This prevents the user from opening two "VPN
12234 Connections" windows from within the applet, which leads to mass
12236 * clipboard.c: New file, implementing simple X selection logic.
12237 * clipboard.h: New file.
12238 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12240 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12242 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12244 initscript/Gentoo/Makefile.am
12245 initscript/Gentoo/NetworkManagerDispatcher.in
12247 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12250 2006-04-16 Dan Williams <dcbw@redhat.com>
12252 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12254 initscript/Slackware/Makefile.am
12255 initscript/Slackware/rc.networkmanager-dispatcher.in
12256 initscript/Slackware/rc.networkmanager.in
12257 - Update slackware initscripts
12259 2006-04-10 Robert Love <rml@novell.com>
12261 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12262 the "delete_event" signal on the druid's parent window and handle it
12263 our way, lest using the WM to close the druid results in a series of
12264 bloody and ultimately lethal errors.
12266 2006-04-10 Robert Love <rml@novell.com>
12268 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12269 'Back' too or else the 'Forward' option is initially disabled despite
12272 2006-04-06 Robert Love <rml@novell.com>
12274 Fix bad but simple bug where an active modem connection did not update
12275 NM's connection state, breaking any app that did online/offline:
12276 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12277 represented whether a dial up connection is active, or not.
12278 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12279 to modem activation and deactivation.
12280 * src/NetworkManagerDbus.c: When asked our state, do not return
12281 disconnected if the modem is active.
12283 2006-04-04 Robert Love <rml@novell.com>
12285 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12286 applet. It just confuses the crap out of people and does not make a
12287 lot of sense, as the daemon still runs.
12289 2006-04-02 Tor Krill <tor@krill.nu>
12291 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12292 in start of service.
12293 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12294 get Archlinux backend up to date.
12296 2006-03-29 Robert Love <rml@novell.com>
12298 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12299 to add support for per-route MSS and improve support for per-interface
12301 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12302 optionally take an MSS parameter and set it for the given route.
12303 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12304 NMIP4Config's stored MSS, if any.
12305 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12306 the interface's MTU and the route's MSS, respectively. Add functions
12307 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12308 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12310 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12311 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12312 nm_ip4_config_set_mss.
12313 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12315 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12316 Change the retval of nm_system_get_mtu to guint32.
12317 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12318 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12319 servers can specify MTU's, we should set it here if the MTU was not
12322 2006-03-27 Jürg Billeter <j@bitron.ch>
12325 * initscript/Makefile.am:
12326 * initscript/paldo/Makefile.am:
12327 * initscript/paldo/NetworkManager.in:
12328 * initscript/paldo/NetworkManagerDispatcher.in:
12329 * src/backends/Makefile.am:
12330 * src/backends/NetworkManagerPaldo.c:
12331 - Add paldo support
12333 2006-03-27 Dan Williams <dcbw@redhat.com>
12335 Patch from Christian Persch <chpe@gnome.org>
12336 * gnome/applet/applet.glade
12337 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12339 2006-03-27 Dan Williams <dcbw@redhat.com>
12341 Patch from Diffe <diffie@blazebox.homeip.net>
12342 * src/backends/NetworkManagerSlackware.c
12343 - Don't restart howl, since it's been replaced by Avahi
12344 in most distributions
12346 2006-03-27 Dan Williams <dcbw@redhat.com>
12348 Patch from Tor Krill <bugzilla@krill.nu>
12350 initscript/Makefile.am
12351 src/backends/Makefile.am
12352 src/backends/NetworkManagerArch.c
12353 initscript/Arch/Makefile.am
12354 initscript/Arch/networkmanager-dispatcher.in
12355 initscript/Arch/networkmanager.in
12356 - Add Arch Linux support, fixes gnome.org #335147
12358 2006-03-27 Dan Williams <dcbw@redhat.com>
12360 Patch from Diffe <diffie@blazebox.homeip.net>
12361 * initscript/Slackware/rc.networkmanager
12362 - update, fixed gnome.org #333368
12364 2006-03-27 Robert Love <rml@novell.com>
12366 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12367 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12369 2006-03-27 Robert Love <rml@novell.com>
12371 Patch by Jürg Billeter <j@bitron.ch>:
12372 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12374 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12375 as we prefer glibc over kernel headers, if possible.
12377 2006-03-27 Robert Love <rml@novell.com>
12379 Patch by Jon Escombe <list@dresco.co.uk>:
12380 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12381 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12382 fail, don't bail out. We don't expect all of the various WPA-EAP
12383 values to be present.
12384 * src/nm-ap-security.c: We need to match all capabilities for each
12385 encryption type, not any one of them.
12387 2006-03-27 Robert Love <rml@novell.com>
12389 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12390 restart, not reload, ypbind. Unfortunately there is no superior
12393 2006-03-24 Christopher Aillon <caillon@redhat.com>
12395 * gnome/applet/applet-notifications.c:
12396 When displaying a notification, make sure to get rid of the
12397 previous notification so as to not have competing bubbles,
12398 and stop leaking the old one.
12400 * gnome/applet/applet.c:
12401 * gnome/applet/applet.h:
12402 Add a new 'notification' member to the applet, and zero it out
12403 and free it appropriately.
12405 2006-03-23 Robert Love <rml@novell.com>
12407 Patch by j <j@bootlab.org>:
12408 * gnome/applet/applet.glade: Don't set the invisible_char property,
12409 which simply overrides the GTK default. By and by, this behavior
12410 ought to be fixed in Glade.
12412 2006-03-22 Robert Love <rml@novell.com>
12414 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12416 2006-03-22 Robert Love <rml@novell.com>
12418 Bug fix by Timo Hoenig <thoenig@suse.de>:
12419 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12420 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12421 and the applet going AWOL.
12423 2006-03-22 Robert Love <rml@novell.com>
12425 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12426 preprocessor define and use it instead of open-coded the DHCP
12427 timeout, which is currently 25 seconds, everywhere.
12429 2006-03-22 Robert Love <rml@novell.com>
12431 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12432 key exchange via WPA, ostensibly providing good security without
12433 requiring hardware that supports full WPA. Also, add UI elements to
12434 allow the user to select the pairwise & group cipher for WPA Enterprise
12436 * gnome/applet/applet.glade: Update glade file.
12437 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12438 key type, too, to and from gconf.
12439 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12440 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12441 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12442 the capabilities match.
12443 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12445 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12446 serialize from UI to DBUS.
12447 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12449 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12450 nmu_security_serialize_wpa_eap_with_cipher(), and
12451 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12452 serialize/deserialize the key type via DBUS as the new third DBUS
12454 * libnm-util/dbus-helpers.h: Update prototypes.
12455 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12456 too. If the key type is WEP104, do Dynamic WEP, which means
12457 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12458 pairwise and group ciphers (fixes a FIXME).
12460 2006-03-21 Robert Love <rml@novell.com>
12462 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12463 nm_system_get_mtu(), which returns a user-provided or system-mandated
12464 MTU value for a given device, if any, or zero if no such value
12465 exists. Add nm_system_set_mtu() to set the MTU for a given device
12466 if we have a provided value.
12467 * src/nm-device.c: Set the MTU of devices.
12468 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12469 * src/backends/NetworkManagerDebian.c,
12470 src/backends/NetworkManagerGentoo.c,
12471 src/backends/NetworkManagerRedHat.c,
12472 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12474 2006-03-21 Robert Love <rml@novell.com>
12476 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12477 configuration file.
12479 2006-03-17 Robert Love <rml@novell.com>
12481 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12482 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12483 it, in case it is not running in the first place. We just want its
12484 configuration reloaded. Also, do not "rcypbind stop" on device down.
12486 2006-03-15 Robert Love <rml@novell.com>
12488 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12489 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12490 label "WEP 40/128-bit" is inconsistent because the physical key size
12491 is 40 or 104-bits, to which a 24-bit initialisation vector is
12492 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12493 to read "40/104" or "64/128". I do not care much which, but most
12494 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12495 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12496 WEP passphrase support only handles 128-bit keys, and any future
12497 64-bit passphrase support will require a new option (no way to auto-
12498 detect the target key size), explicitly label our passphrase support
12499 "WEP 128-bit Passphrase".
12501 2006-03-15 Robert Love <rml@novell.com>
12503 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12504 the system init scripts (or some other mechanism) starting it (or a
12505 compatible DBUS service) before NetworkManager runs. This means that
12506 distributions might need to update their init scripts. This fixes
12507 possible races and is quite a bit cleaner.
12508 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12509 starting the NetworkManager daemon.
12512 2006-03-14 Robert Love <rml@novell.com>
12514 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12515 before adding anything.
12517 2006-03-13 Robert Love <rml@novell.com>
12519 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12520 widgets, too, if they exist, in case the user hit the back button.
12521 Fixes a bug where the details page contains the widgets of multiple
12522 VPN modules (Novell bug #157048).
12524 2006-03-13 Robert Love <rml@novell.com>
12526 Patch by Timo Hoenig <thoenig@suse.de>:
12527 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12528 daemon survive DBUS restarts, too.
12530 2006-03-10 Robert Love <rml@novell.com>
12532 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12534 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12535 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12536 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12537 in response to "toggled" signal on new toggle.
12539 2006-03-10 Robert Love <rml@novell.com>
12541 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12542 serialization if strings are NULL, lest DBUS get angry.
12544 2006-03-10 Robert Love <rml@novell.com>
12546 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12548 2006-03-09 Robert Love <rml@novell.com>
12550 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12553 2006-03-09 Dan Williams <dcbw@redhat.com>
12555 Track pending call requests in the applet, and report how many are
12556 outstanding, and how long each completed one takes.
12558 * gnome/applet/applet-dbus-devices.c
12559 gnome/applet/applet-dbus-vpn.c
12560 - Track pending calls
12562 * gnome/applet/applet-dbus.[ch]
12563 - Remove some unused enums
12564 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12565 new functions to track dbus pending calls and spit out some
12566 statistics about them
12568 2006-03-09 Robert Love <rml@novell.com>
12570 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12571 nm_ap_set_timestamp() take the second and micro-second parameters as
12572 direct arguments, which avoids both a dynamic memory allocation and a
12573 structure-to-structure copy! Add a new interface, the aptly named
12574 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12575 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12576 the return from nm_ap_get_timestamp(). New users should use the new
12577 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12578 the extreme benefit to performance.
12579 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12580 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12582 2006-03-08 Robert Love <rml@novell.com>
12584 * gnome/applet/applet.glade: Hide the password entry text with
12587 2006-03-08 Robert Love <rml@novell.com>
12589 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12590 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12591 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12592 a second argument, NMData.
12593 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12594 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12595 config files as trusted.
12597 2006-03-06 Robert Love <rml@novell.com>
12599 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12600 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12601 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12602 Rivera, detect if the applet was auto-started. If so, ask the user
12603 if he or she would like to stop automatically running the applet on
12604 login. If so, disable autostart.
12606 2006-03-06 Robert Love <rml@novell.com>
12608 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12609 directory in CFLAGS so developers can actually use NetworkManager.h.
12611 2006-03-06 Robert Love <rml@novell.com>
12613 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12614 open-coded integer constants. Add state_to_string() to map a given
12615 state to a textual description, and provide that when notifying of
12617 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12618 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12619 this header directly, but it is currently not installed on most
12622 2006-03-05 Dan Williams <dcbw@redhat.com>
12624 Process netlink messages in device subclasses rather than in
12625 NetworkManager.c. Also add support for recognizing Wireless Events.
12628 - Find GLIB_GENMARSHAL
12631 - Since we're marshalling custom types for wireless event signals,
12632 we get to create our own marshallers using GLIB_GENMARSHAL
12634 * src/NetworkManager.c
12635 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12636 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12637 cut down somewhat. We no longer process signals here.
12638 - (nm_data_new): create the netlink monitor here, and remove a
12639 useless call to nm_policy_schedule_device_change_check()
12640 - (nm_data_free): get rid of the netlink monitor here
12641 - (nm_device_link_activated, nm_device_link_deactivated): removed
12642 - (main): don't create the netlink monitor here, let nm_data_new
12643 do that. Call nm_policy_schedule_device_change_check() right
12644 before we jump to the mainloop to figure out which device
12647 * src/NetworkManagerSystem.[ch]
12648 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12649 convert back and forth from interface names to interface
12652 * src/nm-device-802-11-wireless.c
12653 - (real_init): connect to wireless-event signals from the netlink
12655 - (nm_device_802_11_wireless_event): new function, schedule handler
12656 for wireless event signals from the netlink monitor object. We
12657 want the handler to run in the device's context
12658 - (wireless_event_helper): handle wireless-event signals from netlink
12659 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12662 * src/nm-device-802-11-wireless.h
12663 - remove unused prototype for nm_device_802_11_wireless_new
12665 * src/nm-device-802-3-ethernet.c
12666 - (real_init): new function; set up signal handlers for link events
12667 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12668 handler for netlink link activated events on device's main loop
12669 - (link_activated_helper): when we get a link activated event, set
12670 the device's link to be active
12671 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12672 handler for netlink link deactivated events on device's main loop
12673 - (link_deactivated_helper): when we get a link deactivated event, set
12674 the device's link to be inactive
12675 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12678 * src/nm-device-802-3-ethernet.h
12679 - remove unused prototype for nm_device_802_3_ethernet_new
12681 * src/nm-device.[ch]
12682 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12683 but locks the device list
12684 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12686 * src/nm-netlink-monitor.[ch]
12687 - (nm_netlink_monitor_class_install_signals): New signal
12689 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12691 - (nm_netlink_monitor_event_handler): expand for wireless events too
12693 * src/nm-marshal-main.c
12694 - Include generated nm-marshal.c and nm-marshal.h
12696 * src/nm-marshal.list
12697 - List of custom marshal functions
12699 2006-03-05 Dan Williams <dcbw@redhat.com>
12701 * gnome/applet/applet-notifications.h
12702 - Protect prototype of nma_send_event_notification() because it
12703 includes libnotify-specific types
12704 - Include libnotify/libnotify.h too, since we technically need it
12706 * gnome/applet/applet.c
12707 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12708 - (nma_show_vpn_login_banner_dialog): add some error checking
12710 2006-03-04 Dan Williams <dcbw@redhat.com>
12712 Clean up activation cancellation. Should be a lot faster now. Observed
12713 an issue with wireless devices between stage 2 and 3 of activation, where
12714 activation would be cancelled, but the device thread wouldn't notice until
12715 the supplicant association timed out. Reorganize activation such that
12716 a cancellation handler gets immediately scheduled in the device's thread,
12717 and devices have a chance to perform any custom cleanup too.
12719 * src/nm-device.[ch]
12720 - (activation_cancel_handler): new device-type-specific function
12721 for cleaning up device-type-specific stuff on cancellation
12722 - (cancel_activation): removed
12723 - (nm_device_activation_cancel): subsume functionality of
12724 real_cancel_activation, but instead of doing anything, punt
12725 operation to a handler that's run in device-thread context
12726 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12728 - (activation_handle_cancel_helper): cancellation handler run in
12729 device-thread context, calls device-type-specific cancelation,
12730 then tears down the activation request
12731 - (real_activation_cancel_handler): generic cancellation handler,
12732 deals with cancelling any in-process DHCP request
12733 - (nm_device_activate_stage1_device_prepare,
12734 nm_device_activate_stage2_device_config,
12735 nm_device_activate_stage3_ip_config_start,
12736 nm_device_activate_stage4_ip_config_get,
12737 nm_device_activate_stage4_ip_config_timeout,
12738 nm_device_activate_stage5_ip_commit): don't call
12739 nm_device_schedule_activation_handle_cancel() any more, since
12740 cancellation will have been already scheduled for us by
12741 nm_device_activation_cancel(). Just exit the function and
12742 assume that the cancel handler will be called next.
12744 * src/nm-device-802-3-ethernet.c
12745 - (real_act_stage2_config): remove; didn't do anything anyway
12747 * src/nm-device-802-11-wireless.c
12748 - (supplicant_status_cb): ensure we don't do anything if the activation
12750 - (real_activation_cancel_handler): implement; cancel user key request
12751 on activation cancellation
12753 2006-03-04 Dan Williams <dcbw@redhat.com>
12755 * src/nm-device-802-11-wireless.c
12756 - (supplicant_send_network_config): assume that drivers that don't
12757 support WPA pretty much suck, and can't handle NM scanning
12758 along with wpa_supplicant.
12760 2006-03-03 Robert Love <rml@novell.com>
12762 * configure.in: Bump version to 0.6.0.
12765 2006-03-03 Robert Love <rml@novell.com>
12767 * configure.in: Require DBUS 0.60 or later.
12769 2006-03-03 Dan Williams <dcbw@redhat.com>
12771 Fix a crash if an "Other wireless network" was chosen, failed, then
12772 chosen again from the applet's menu. If the other network wasn't
12773 noticed in a scan, it wouldn't have any capabilities, but would still
12774 be listed because the user forced the network. To fix this, we set
12775 sensible capabilities on the forced network, which will get overwritten
12776 with the correct ones if the network shows up later in a scan.
12778 * src/nm-ap-security.h
12779 - Add a new "get_default_capabilities_func" member to the
12782 * src/nm-ap-security.c
12783 - (nm_ap_security_get_default_capabilities): new function
12785 * src/nm-ap-security.c
12786 src/nm-ap-security-wep.c
12787 src/nm-ap-security-wpa-psk.c
12788 src/nm-ap-security-wpa-eap.c
12789 - Implement get_default_capabilities_func() for all, which
12790 uses the information contained in a specific NMAPSecurity
12791 object to determine default AP capabilites necessary
12792 to support that object
12794 As a secondary measure, we now prune artificial access points that fail
12795 to be activated right away. The thing failed, and we have no scan data for
12796 it, so it's pretty much useless since security information is only saved
12797 in the applets when a connection is successful.
12799 * src/NetworkManagerAPList.c
12800 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12801 not artificial. If we see it, it's no longer a figment of the
12802 user's imagination :)
12804 * src/NetworkManagerPolicy.c
12805 - (nm_policy_activation_failed): send along the failed AP if we
12808 * src/nm-device-802-11-wireless.c
12809 - (real_activation_failure_handler): remove artificial APs from
12810 the device list, because activation failed
12812 2006-03-02 Robert Love <rml@novell.com>
12814 Add support for retrieving both the per-device speed and the
12815 per-network maximum supported rate. Then change the getProperties
12816 DBUS API for both networks and devices to report this informaiton.
12817 Finally, display the information via both nm-applet and nm-tool:
12818 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12820 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12821 Information' dialog.
12822 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12823 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12824 network_device_get_speed() and network_device_set_speed() for
12825 retrieving and setting, respectively, a network device's current
12827 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12828 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12829 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12830 not matter (yet) what the units are, because we only feed it its own
12831 output. Implement SIOCGIRATE and set the per-network maximum
12832 supported rate during scanning.
12833 * src/nm-device-802-11-wireless.h: Export the function
12834 nm_device_802_11_wireless_get_bitrate().
12835 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12836 function nm_device_802_3_ethernet_get_speed() for returning an
12837 802.3's current speed, in Mb/s.
12838 * test/nm-tool.c: Display the per-device current speed, if available,
12839 and the per-network maximum rate.
12841 2006-03-02 Dan Williams <dcbw@redhat.com>
12843 * src/nm-device-802-11-wireless.c
12844 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12845 card when it gets initialized. Since devices don't get added to
12846 the scan list until they are initialized, this function wasn't
12847 setting the intitial scan interval correctly, and was leaving
12848 it at 0. This caused cards to get many scan requests in a short
12849 amount of time when they were initialized
12851 2006-03-02 Robert Love <rml@novell.com>
12853 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12854 active device. But do not do what we used to do and override the
12855 state, which caused the dreaded icon race of '05.
12857 2006-03-02 Robert Love <rml@novell.com>
12859 Commit Dan's update of my previous commit:
12860 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12861 set_mode() function itself does the check. But do only set the
12862 frequency if in Ad-Hoc mode.
12864 2006-03-02 Robert Love <rml@novell.com>
12866 Patch by Brian Magnuson <magnuson@rcn.com>:
12867 * src/nm-device-802-11-wireless.c: During scanning, only set the
12868 wireless mode to infrastructure if it is not currently in
12869 infrastructure mode. For some driver, setting the mode is a costly
12870 operation, apparently.
12872 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12874 * Makefile.am: use the correct dir for autostart mechanism.
12876 2006-02-28 Dan Williams <dcbw@redhat.com>
12878 Patch from Brian Magnuson <magnuson@rcn.com>
12879 * gnome/applet/applet.c
12880 - (nma_show_vpn_failure_dialog): fix errors left over from
12881 libnotify support changes
12883 2006-02-28 Dan Williams <dcbw@redhat.com>
12885 * src/vpn-manager/nm-vpn-act-request.[ch]
12886 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12888 - (nm_vpn_act_request_is_failed): new function; return whether or
12889 not the vpn activation request has failed
12891 * src/vpn-manager/nm-vpn-manager.c
12892 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12893 daemon to kill the connection when the activation request fails.
12894 Fixes issue where NM would get confused if the VPN activation
12895 request timed out, and would not allow further VPN connections
12898 2006-02-28 Dan Williams <dcbw@redhat.com>
12900 * gnome/applet/applet.c
12901 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12902 overlapping connection requests, disable all VPN menu items
12903 but the active VPN connection
12905 2006-02-28 Dan Williams <dcbw@redhat.com>
12907 * src/vpn-manager/nm-vpn-connection.c
12908 - (nm_vpn_connection_set_parent_device): fix C&P error which
12909 called g_object_unref() on the connection's parent device
12910 when it should have been ref-ed instead. Fixes crash with
12911 repeated vpn connect requests
12913 2006-02-28 Christopher Aillon <caillon@redhat.com>
12915 * gnome/applet/applet.glade:
12916 Mark a few strings non-translatable, since they shouldn't be.
12918 2006-02-28 Dan Williams <dcbw@redhat.com>
12920 * src/vpn-manager/nm-vpn-service.c
12921 - (nm_vpn_service_start_connection): if the vpn service daemon is
12922 already running, don't blindly ask it to connect, but wait until
12923 it's in the STOPPED state first. Fixes an assertion when user
12924 starts a second vpn connection without stopping the first.
12925 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12926 dbus service exists before continuing with the connection
12927 process, and reduce latency while waiting for it to become
12929 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12930 waiting for the vpn service daemon to become available
12931 - General log message cleanups; show progress via "Stage x of 4"
12932 rather than not telling anyone how many stages there are
12934 2006-02-28 Robert Love <rml@novell.com>
12936 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12937 * src/backends/NetworkManagerSuSE.c: Implement the interface
12938 nm_system_should_modify_resolv_conf() for SUSE.
12939 * src/backends/NetworkManagerDebian.c,
12940 src/backends/NetworkManagerGentoo.c,
12941 src/backends/NetworkManagerRedHat.c,
12942 src/backends/NetworkManagerSlackware.c: Add stub.
12943 * src/named-manager/Makefile.am: Grab includes from src.
12944 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12945 automatic updating of resolv.conf. This is useful for testing,
12946 broken static configurations, and administrator lock-down.
12948 2006-02-28 Dan Williams <dcbw@redhat.com>
12950 * src/nm-device-802-11-wireless.c
12951 - Move all the wpa_supplicant-related management stuff into its
12952 own struct, just for oranization's sake
12953 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12954 to a GIOChannel/GSource
12955 - (supplicant_log_stdout): new function; grab output from the
12956 wpa_supplicant stdout pipe and write it to our logs.
12958 2006-02-27 Christopher Aillon <caillon@redhat.com>
12960 * src/nm-device-802-11-wireless.c:
12961 Err, fix thinko in my previous commit.
12963 2006-02-28 Robert Love <rml@novell.com>
12965 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12967 2006-02-28 Robert Love <rml@novell.com>
12969 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12970 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12971 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12972 deserializers are responsible for freeing the returned DBUS strings.
12974 2006-02-27 Christopher Aillon <caillon@redhat.com>
12976 * src/nm-device-802-11-wireless.c:
12977 The scan list is being pruned prematurely. We should prune after
12978 the device has gone MIA for three scans, not one. Split out the
12979 interval to realtime seconds function to better serve this.
12981 2006-02-27 Robert Love <rml@novell.com>
12983 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12984 Open the pid file O_TRUNC, so if it already exists we truncate it to
12985 zero length. Also, be more verbose about warnings generated during
12986 writing out the pid file. Finally, always write out the pid file if
12987 in daemon mode. Use "--pid-file" to override the default.
12989 2006-02-27 Robert Love <rml@novell.com>
12991 Patch by R. Vinay <rvinay@novell.com>:
12992 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12993 'last_attempt_success' when removing a VPN connection, too. (Fixes
12994 Novell bug #153628).
12996 2006-02-27 Robert Love <rml@novell.com>
12998 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12999 entry so user can hit <ENTER> after entering passphrase (Novell bug
13002 2006-02-27 Dan Williams <dcbw@redhat.com>
13005 - Mass search/replace of:
13007 NMWirelessApplet -> NMApplet
13008 NM_*_WIRELESS_APPLET -> NM_*_APPLET
13009 (it ain't just for wireless anymore, ma!)
13010 - Fix duplicate function name printing when using nm_warning
13011 - wireless-applet.glade -> applet.glade
13013 2006-02-27 Dan Williams <dcbw@redhat.com>
13015 * dispatcher-daemon/NetworkManagerDispatcher.c
13016 - Accept --pid-file with a path to a pidfile, write it out on
13017 startup, and delete it on shutdown
13019 * src/NetworkManager.c
13020 - Accept --pid-file with a path to a pidfile, write it out on
13021 startup, and delete it on shutdown
13022 - Move nm_print_usage() lower
13024 * initscripts/RedHat/NetworkManager.in
13025 - Use new --pid-file option
13026 - Fix service stopping to wait a bit for NM to quit
13028 * initscripts/RedHat/NetworkManagerDispatcher.in
13029 - Use new --pid-file option
13031 2006-02-26 Dan Williams <dcbw@redhat.com>
13034 - make and install nm-crash-logger
13036 * src/nm-logging.[ch]
13037 - New files; consolidate logging and crash handling
13039 * src/nm-crash-logger.c
13041 - Standalong crashlogger for NM, grab a backtrace
13044 * src/NetworkManager.[ch]
13045 - Remove signal handling and put it into nm-logging.c
13047 2006-02-26 Dan Williams <dcbw@redhat.com>
13050 gnome/applet/Makefile.am
13051 - Conditionalize all the notify stuff
13053 Merge most of Chris Aillon's notification patch:
13055 * gnome/applet/applet-notifications.[ch]
13056 - New files; show a notification
13058 * gnome/applet/applet-dbus-devices.[ch]
13059 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13060 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13061 new functions, do the right thing when a device change occurs
13063 * gnome/applet/applet-dbus.c
13064 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13065 signals, so we can handle them specially
13067 * gnome/applet/applet.[ch]
13068 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13069 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13070 - (nmwa_notify_state): remove
13071 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13072 notification work is now done when the appropriate dbus signals
13074 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13075 defer execution of the notification/dialog stuff. That was an
13076 artifact of the previous multi-threaded nature of the applet
13077 and is now pointless.
13078 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13079 no longer needed. Function folded into applet-notifications.c
13081 * src/NetworkManagerPolicy.c
13082 - (nm_policy_activation_finish): send the AP along with the device
13083 status change signal, if the connection is wireless. Should
13084 fix the race where applet would show a connection to "unknown"
13086 2006-02-25 Robert Love <rml@novell.com>
13088 Add WPA Enterprise support:
13089 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13090 nm-gconf-wso-wpa-eap.h.
13091 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13092 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13093 serialization and deserialization.
13094 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13095 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13096 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13097 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13098 settings related to WPA Enterprise.
13099 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13100 instantiate WPA Enterprise wireless-security-option.
13101 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13102 Implement WPA Enterprise wireless-security-option object.
13103 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13105 * libnm-util/cipher-wpa-psk-hex.c,
13106 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13107 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13108 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13109 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13110 including the cipher to DBUS method, and
13111 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13113 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13114 nm-ap-security-wpa-eap.h
13115 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13116 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13117 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13118 files. Implement NMAPSecurityWPA_EAP object.
13119 * src/nm-ap-security-wpa-psk.c: Cleanup.
13120 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13121 an NMAPSecurityWPA_EAP object via the method
13122 nm_ap_security_wpa_eap_new_deserialize().
13123 * src/nm-dbus-nm.c: Cleanup.
13124 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13125 WPA Enterprise support.
13127 2006-02-24 Robert Love <rml@novell.com>
13129 Patch from Timo Hoenig <thoenig@suse.de>:
13130 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13132 2006-02-24 Robert Love <rml@novell.com>
13134 Patch from Dan Winship <danw@novell.com>:
13135 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13136 area to transparent.
13138 2006-02-21 Dan Williams <dcbw@redhat.com>
13140 * gnome/applet/applet.[ch]
13141 gnome/applet/applet-dbus.c
13142 - Implement notification support for VPN messages too
13144 2006-02-21 Dan Williams <dcbw@redhat.com>
13146 * gnome/applet/applet-dbus-info.c
13147 - Clean up warning messages to not double-print the function
13149 2006-02-21 Dan Williams <dcbw@redhat.com>
13151 * gnome/applet/applet-compat.c
13152 - (convert_one_entry): accept entries without a key_type and
13153 convert them to unencrypted networks
13155 2006-02-21 Dan Williams <dcbw@redhat.com>
13157 * gnome/libnm_glib/libnm_glib.c
13158 - Use __func__ everywhere we can
13160 - Use dbus pending calls rather than blocking
13161 - Reduce busywaits for our thread to start and stop
13162 (gnome.org #330562)
13163 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13164 stomp on others using the default shared dbus connection.
13165 Fixes #rh177546# and gnome.org #326572
13167 2006-02-21 Dan Williams <dcbw@redhat.com>
13169 Patch from Rodney Dawes <dobey@novell.com>
13171 gnome/applet/Makefile.am
13172 gnome/applet/applet.c
13173 - Add libnotify support if '--enable-notify=yes' is passed
13176 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13178 * configure.in (ALL_LINGUAS): ko added. (Korean)
13180 2006-02-15 Robert Love <rml@novell.com>
13182 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13183 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13184 and WPA_SUPPLICANT_CONTROL_SOCKET.
13186 2006-02-15 Robert Love <rml@novell.com>
13188 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13189 information about what connection stage we are at, provide the total
13190 number of stages, e.g. "Stage 2 of 5", so users know how far along
13191 they are if they experience problems.
13193 2006-02-15 Robert Love <rml@novell.com>
13195 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13196 define to $sysconfdir.
13197 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13198 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13199 type of VPN and then editing another results in a mangled dialog
13200 box containing the widgets from both VPNs (fixes Novell #150854).
13201 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13203 2006-02-14 Robert Love <rml@novell.com>
13205 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13206 syslog's file descriptor.
13208 2006-02-14 Robert Love <rml@novell.com>
13210 Fix bug around since the change to "deal with APs changing settings on
13211 us," checked in on the fifth of February in the year of the dog,
13212 wherein connecting to non-broadcast encrypted networks always fails
13213 because nm_ap_get_encrypted() always returns FALSE, even when the user
13214 provided a key, because the newly-created fake AP does not have any
13215 capabilities set, which is a sypmtom of security settings not matching
13216 capabilities (Novell bug #150784):
13217 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13218 nm_ap_add_capabilities_from_security(), which sets the given AP's
13219 capabilities off the given security settings. Also improve our
13220 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13221 NM_AUTH_CIPHER_AUTO.
13222 * src/nm-device-802-11-wireless.c: Call the function
13223 nm_ap_add_capabilities_from_security() to ensure that capabilities
13224 match newly updated security settings.
13226 2006-02-14 Robert Love <rml@novell.com>
13228 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13229 error as a string, not an integer, if possible; do not print the
13230 function name twice; always give the interface, if possible; misc.
13233 2006-02-12 Dan Williams <dcbw@redhat.com>
13235 Patch from Tom Parker <palfrey@tevp.net>
13236 * src/NetworkManagerSystem.h
13237 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13240 * src/backends/NetworkManagerDebian.c
13241 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13244 2006-02-12 Dan Williams <dcbw@redhat.com>
13246 * vpn-daemons/openvpn/intltool-extract.in
13247 vpn-daemons/openvpn/intltool-merge.in
13248 vpn-daemons/openvpn/intltool-update.in
13249 vpn-daemons/pptp/intltool-extract.in
13250 vpn-daemons/pptp/intltool-merge.in
13251 vpn-daemons/pptp/intltool-update.in
13252 - Remove from CVS, they should get created by intltoolize,
13255 2006-02-12 Dan Williams <dcbw@redhat.com>
13257 * vpn-daemons/pptp/src/pppd/patchlevel.h
13258 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13259 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13260 Makefile-defined VERSION
13262 2006-02-09 Dan Williams <dcbw@redhat.com>
13264 Patch from: Vinay A R <rvinay@novell.com>
13265 * src/vpn-manager/nm-vpn-act-request.[ch]
13266 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13267 IPSec VPNs require them for std gateway.
13268 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13269 and 'user_routes_count'
13270 - (nm_vpn_act_request_get_user_routes): new function; gets user
13271 defined routes from NMVPNActRequest object, returns the string
13274 * src/vpn-manager/nm-vpn-manager.[ch]
13275 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13276 for 'user_routes' and 'user_routes_count'
13278 * src/vpn-manager/nm-dbus-vpn.c
13279 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13280 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13282 * src/vpn-manager/nm-vpn-service.c
13283 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13286 Modifications by Dan:
13287 * src/vpn-manager/nm-vpn-service.c
13288 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13291 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13292 * vpn-daemons/pptp/src/nm-pptp-service.c
13293 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13294 - Grab user routes from dbus message
13295 - Free all string arrays we got from dbus
13297 2006-02-07 Robert Love <rml@novell.com>
13299 Patch by Stefan Seyfried <seife@suse.de>:
13300 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13302 2006-02-06 Robert Love <rml@novell.com>
13304 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13306 2006-02-06 Robert Love <rml@novell.com>
13308 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13309 test ">=" is never false. If no newline is found, we loop forever.
13310 We can just check for ">" because the following if() will see the
13311 zero-th argument if the while() gets that far.
13313 2006-02-05 Dan Williams <dcbw@redhat.com>
13315 Refine handling of non-broadcast networks.
13317 * src/NetworkManagerAPList.c
13318 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13319 property from scanned AP to the AP from the device list
13321 * src/nm-device-802-11-wireless.c
13322 - (supplicant_send_network_config): use ap_scan=1 for all networks
13323 except non-SSID-broadcasting and Ad-Hoc networks. Use
13324 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13325 networks since those don't have APs.
13326 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13327 AP as non-SSID-broadcasting
13328 - (process_scan_results): don't handle non-SSID-broadcasting here
13330 2006-02-05 Dan Williams <dcbw@redhat.com>
13332 * src/nm-device-802-11-wireless.c
13333 - (get_supplicant_timeout): new function; return
13334 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13335 14 channels. These are likely a/b/g cards, like Atheros, and
13336 slow as hell to scan.
13337 - (supplicant_timeout_cb, supplicant_monitor_start): use
13338 get_supplicant_timeout()
13340 2006-02-05 Dan Williams <dcbw@redhat.com>
13342 * src/dhcp-manager/nm-dhcp-manager.c
13343 - Loose a commit race with Robert; make sure size check
13344 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13346 2006-02-05 Robert Love <rml@novell.com>
13348 Patch by Christoph Brill <chrisbrill@gmx.net>:
13349 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13350 with DHCP_SERVICE_NAME.
13352 2006-02-05 Dan Williams <dcbw@redhat.com>
13354 Remove anything having to do with device_setup_func from the
13355 AP security objects, since it's no longer used.
13357 * src/nm-ap-security.h
13358 - Kill device_setup_func and nm_ap_security_device_setup()
13360 * src/nm-ap-security-wep.c
13361 src/nm-ap-security-wpa-psk.c
13362 - (real_device_setup): remove
13364 * src/nm-ap-security.c
13365 - (real_device_setup): remove
13366 - (nm_ap_security_device_setup): remove
13368 * src/nm-device-802-11-wireless.[ch]
13369 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13370 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13371 and done by wpa_supplicant now anyway
13373 2006-02-05 Dan Williams <dcbw@redhat.com>
13375 * src/nm-device-802-11-wireless.c
13376 - (ap_need_key, real_act_stage2_config): deal with APs changing
13377 settings on us. Previously NM would loop asking for the
13378 key but getting the same one back. Now, if the NMI-supplied
13379 cipher doesn't overlap with the scanned AP capabilities,
13380 we request a completely new key from the user.
13382 2006-02-05 Dan Williams <dcbw@redhat.com>
13384 * src/NetworkManagerUtils.c
13385 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13386 Handle newline killing better
13388 2006-02-05 Dan Williams <dcbw@redhat.com>
13390 * gnome/applet/nm-gconf-wso.c
13391 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13392 of unencrypted access point security info.
13394 2006-02-03 Robert Love <rml@novell.com>
13396 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13397 user's encryption key, so we print the err_msg_cmd not the command,
13398 if available. So long as SUPPLICANT_DEBUG is default, this makes
13401 2006-02-03 Christopher Aillon <caillon@redhat.com>
13403 * initscript/RedHat/NetworkManagerDispatcher.in:
13404 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13405 Patch from Dan Walsh <dwalsh@redhat.com>
13407 2006-02-03 Robert Love <rml@novell.com>
13409 * dispatcher-daemon/NetworkManagerDispatcher.c,
13410 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13411 but use the sysconfdir.
13413 2006-02-03 Robert Love <rml@novell.com>
13415 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13416 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13418 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13419 nm_ip4_config_get_hostname() and
13420 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13421 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13422 leak g_strdup() result.
13424 2006-02-03 Robert Love <rml@novell.com>
13426 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13427 broadcast == TRUE. Also, copy broadcast and artificial properties
13428 from source network to destination in nm_ap_copy().
13429 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13430 since we now default new networks to non-hidden.
13432 2006-02-03 Dan Williams <dcbw@redhat.com>
13434 * gnome/applet/main.c
13435 - (main): change the NEVER->ALWAYS so we start at the
13436 beginning of the session, if being session-managed
13438 2006-02-03 Dan Williams <dcbw@redhat.com>
13440 * gnome/applet/main.c
13441 - (main): in a variation on Robert's patch, change
13442 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13445 2006-02-02 Robert Love <rml@novell.com>
13447 * src/Makefile.am: If we aren't going to create the run directory at,
13448 uh, run-time, create it during install. Then users just doing
13449 'make install' are cool, too. While we are here, create the
13450 dispatcher.d directory, too.
13451 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13452 the exact run directory.
13453 * Makefile.am: Install nm-applet.desktop.
13455 2006-02-02 Robert Love <rml@novell.com>
13457 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13458 structure, which denotes whether or not the AP is hidden. This is a
13459 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13460 can show up in the scan list. Add nm_ap_get_broadcast() and
13461 nm_ap_set_broadcast() accessor interfaces.
13462 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13463 nm_ap_set_broadcast().
13464 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13465 "getProperties" method, which denotes whether or not the given
13467 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13468 an artificial network. Set broadcast to TRUE when scanning returns
13469 an ESSID and FALSE when not.
13470 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13471 from "getProperties" method on a network. Possible TODO is to
13472 somehow display this.
13473 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13475 2006-02-02 Dan Williams <dcbw@redhat.com>
13477 * src/nm-device-802-11-wireless.c
13478 - (supplicant_interface_init): don't try to create
13479 /var/run/NetworkManager, since that should be done by
13480 the distro package. Causes problems for stuff like SELinux
13482 2006-02-02 Robert Love <rml@novell.com>
13484 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13485 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13486 Check for and handle empty string for iface.
13488 2006-02-01 Robert Love <rml@novell.com>
13490 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13493 2006-01-31 Dan Williams <dcbw@redhat.com>
13495 * nm-applet.desktop
13496 - Add --sm-disable to Exec arguments, presuming that when
13497 using autostart, we don't want session management
13499 2006-01-31 Robert Love <rml@novell.com>
13501 * src/NetworkManagerAP.c: Add two new manufacturer default network
13502 names: linksys-a and linksys-g. These are found (at least) on the
13503 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13506 2006-01-31 Robert Love <rml@novell.com>
13508 * src/NetworkManagerAP.c: Optimize the function
13509 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13510 machine code. This is the first in a series of code tweaks aiming to
13511 generate better machine code and make NetworkManager all the better.
13512 Just kidding. Who has time to go through the assembly generated for
13513 every function? I certainly don't. I have a wife, a kid, a job,
13514 a mortgage, a mistress. But this function was so bad, I was called
13515 to arms. Like the book.
13517 2006-01-31 Robert Love <rml@novell.com>
13519 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13520 AP is not broadcasting, to scan with probe request frames. Required
13521 for non-broadcast networks.
13523 2006-01-31 Robert Love <rml@novell.com>
13525 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13526 preprocessor define (still 20s). Fix message text in nm_info()
13527 s/too too/took too/.
13529 2006-01-30 Dan Williams <dcbw@redhat.com>
13531 * src/nm-device-802-11-wireless.c
13532 - (supplicant_monitor_start): increase connect/auth timeout to
13533 20 seconds from 10 seconds
13535 2006-01-30 Dan Williams <dcbw@redhat.com>
13538 - Define LOCALSTATEDIR
13540 * src/nm-device-802-11-wireless.c
13541 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13542 socket where we want it to
13544 * src/wpa_ctrl.[ch]
13545 - (wpa_ctrl_open): accept location to put local control socket
13547 2006-01-30 Robert Love <rml@novell.com>
13549 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13550 get_ip4_string() for "domain_name".
13552 2006-01-30 Robert Love <rml@novell.com>
13554 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13555 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13556 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13557 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13558 support for "Automatic" pairwise and group cipher configuration by
13559 letting wpa_supplicant handle the details. Add UI elements, new
13560 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13561 charm. Note this does more than add a nice feature, it fixes a bug.
13562 Apparently, some people have AP's where the pairwise cipher does not
13563 match the group cipher. Insane, but true.
13565 2006-01-30 Dan Williams <dcbw@redhat.com>
13567 * gnome/applet/applet-dbus-devices.c
13568 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13569 functions, grab device driver name from NetworkManager
13570 - (nmwa_dbus_device_properties_cb): call functions to get driver
13572 * gnome/applet/applet.c
13573 - (nmwa_update_info): show driver name in Connection Information
13576 * gnome/applet/nm-device.[ch]
13577 - (network_device_get_driver, network_device_set_driver): add
13578 accessors for driver name
13580 * gnome/applet/wireless-applet.glade
13581 - Add line for driver name to Connection Information dialog
13583 * src/nm-dbus-device.c
13584 - (nm_dbus_device_get_driver): new function to return driver name
13585 - (nm_dbus_device_methods): hook up driver name function to dbus
13588 - (get_driver_name): new function
13589 - (detail_device): grab and show driver name
13591 2006-01-30 Robert Love <rml@novell.com>
13593 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13594 does not parse the markup if it is not part of the format.
13596 2006-01-30 Robert Love <rml@novell.com>
13598 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13599 FALSE, we have no security options for this dialog, so we throw up
13600 an error dialog instead of a broken passphrase dialog. Fixes
13602 * gnome/applet/wireless-security-manager.c,
13603 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13604 does not add any security options, not even NONE, print a warning
13605 and return FALSE. This let's functions constructing a dialog bail
13606 out if the device's capabilities and the network's requirements have
13609 2006-01-27 Robert Love <rml@novell.com>
13611 * configure.in: Require wpa_supplicant. Detect location of binary and
13612 use it. Override with "--with-wpa_supplicant=foo".
13613 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13614 path to wpa_supplicant but use the auto-detected or user-provided
13615 value from configure.
13617 2006-01-27 Robert Love <rml@novell.com>
13619 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13620 but the DHCP server did not return a hostname, try to look up our
13621 name via DNS and set the system hostname to that.
13623 2006-01-27 Dan Williams <dcbw@redhat.com>
13625 * src/backends/NetworkManagerRedHat.c
13626 - Add NM_CONTROLLED system network script support for RH/Fedora
13628 2006-01-27 Dan Williams <dcbw@redhat.com>
13630 * src/backends/NetworkManagerGentoo.c
13631 - (nm_system_device_get_disabled): add missing function.
13634 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13636 * configure.in: Added vi in ALL_LINGUAS line.
13638 2006-01-26 Robert Love <rml@novell.com>
13640 * src/Makefile.am, src/kernel-types.h: Now that two different source
13641 files are feeling the crack-addled leakage of kernel types such as
13642 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13643 types in user-space -- define a header and include it as needed.
13644 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13645 * src/nm-device-802-3-ethernet.h: Remove defines.
13646 * src/wpa.c: Remove defines and include kernel-types.h.
13648 2006-01-26 Robert Love <rml@novell.com>
13650 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13653 2006-01-26 Robert Love <rml@novell.com>
13655 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13656 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13657 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13658 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13659 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13660 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13661 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13662 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13663 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13664 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13665 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13666 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13667 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13668 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13669 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13670 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13671 Kill unused variables, labels, and static functions. Don't pass
13672 string literals as the format string for printf-like functions.
13674 2006-01-25 Dan Williams <dcbw@redhat.com>
13676 * gnome/applet/wireless-applet.glade
13677 - Remove WPA2 Checkbox
13679 * gnome/applet/wireless-security-manager.c
13680 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13681 This means the Wireless Security menu now has two WPA options,
13682 one for "WPA Personal" and one for "WPA2 Personal"
13684 * gnome/applet/wso-wpa-psk.[ch]
13685 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13686 'wpa2' argument to determine WPA version to use
13687 - (append_dbus_params_func): pass stored WPA version to cipher
13688 rather than using the (removed) checkbox
13690 2006-01-24 Robert Love <rml@novell.com>
13692 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13693 before we g_strdup(), not the ultimate string.
13695 2006-01-23 Dan Williams <dcbw@redhat.com>
13697 * src/NetworkManagerAP.[ch]
13698 - (nm_ap_new_from_ap): copy original essid too
13699 - (nm_ap_unref): free original essid
13700 - (nm_ap_get_orig_essid): new function
13701 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13702 but keep original essid around too
13704 * src/nm-device-802-11-wireless.c
13705 - (supplicant_send_network_config): send wpa_supplicant the
13706 _original_ essid, and not as a string, but in hex. Should
13707 allow us to connect to more APs that use wierd character
13708 encodings for their essids
13710 * utils/nm-utils.[ch]
13711 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13712 to UTF-8. If it's not already valid UTF-8, we check LANG and
13713 use the current locale as a hint for what encoding the essid
13714 might be in. Obviously not 100% accurate, but the idea here is
13715 that if a user's locale is ex. ja_JP, they are more likely than
13716 not to be in Japan, where access points will likely be in some
13719 2006-01-23 Dan Williams <dcbw@redhat.com>
13721 * libnm-util/cipher-private.h
13722 libnm-util/cipher.c
13723 libnm-util/cipher.h
13724 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13726 2006-01-23 Robert Love <rml@novell.com>
13728 Patch by Timo Hoenig <thoenig@suse.de>:
13729 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13730 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13731 by DHCP and pass it to the backends, allowing distribution-specific
13732 behavior with respect to the DHCP-supplied hostname (if nothing else,
13733 some distributions might not want to set the hostname).
13734 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13735 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13736 Also update our NIS behavior.
13737 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13738 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13739 Add stub functions.
13741 2006-01-23 Robert Love <rml@novell.com>
13743 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13744 gnome-session does autostart. TODO: We need to install this to
13745 $prefix/share/autostart/.
13747 2006-01-22 Dan Williams <dcbw@redhat.com>
13749 * src/NetworkManagerAP.[ch]
13751 src/nm-device-802-11-wireless.c
13752 - Make nm_ap_get_essid return "const char *"
13754 2006-01-22 Dan Williams <dcbw@redhat.com>
13756 * src/NetworkManagerAP.[ch]
13757 - (nm_ap_get_matched, nm_ap_set_matched): remove
13759 * src/NetworkManagerAPList.[ch]
13760 - (nm_ap_list_diff): removed
13761 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13762 deal with access points changing essids on us
13764 * src/nm-device-802-11-wireless.c
13765 - (add_new_ap_to_device_list): move AP dbus signal logic to
13766 src/NetworkManagerAPList.c
13767 - (real_can_interrupt_activation): new function; allow interruption
13768 of device activation if we are waiting for a network key
13770 * src/NetworkManagerPolicy.c
13771 - (nm_policy_device_change_check): allow interruption of currently
13772 activating devices if the device allows it. Previous behavior
13773 would refuse to activate a just-plugged wired device if a
13774 wireless device was waiting for a key.
13776 * src/nm-device.[ch]
13777 - (nm_device_can_interrupt_activation): new function; ask devices
13778 whether their activation can be interrupted
13780 2006-01-20 Robert Love <rml@novell.com>
13782 * Makefile.am, configure.in: Add new man subdirectory.
13783 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13784 man/Makefile.am: Add man pages for NetworkManager and its
13785 crime-solving bumbling buddy, NetworkManagerDispatcher.
13786 * man/.cvsignore: Add.
13787 * initscript/Debian/NetworkManager,
13788 initscript/Gentoo/NetworkManager.in,
13789 initscript/RedHat/NetworkManager.in,
13790 initscript/RedHat/NetworkManagerDispatcher.in,
13791 initscript/SUSE/networkmanager-dispatcher.in,
13792 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13794 2006-01-20 Robert Love <rml@novell.com>
13796 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13797 instead of queuing. This prevents the running of multiple NM
13798 daemons concurrently, which does not work whatsoever and results in
13799 neither daemon working correctly. Also, we don't handle queuing and
13800 name-owner-changes, anyhow.
13802 2006-01-20 Robert Love <rml@novell.com>
13804 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13805 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13808 2006-01-19 Robert Love <rml@novell.com>
13810 * configure.in: Require hal 0.5.0 or later.
13812 2006-01-18 Robert Love <rml@novell.com>
13814 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13815 Allow backends to flag a device (in whatever distro-dependent way
13816 they so desire) as disabled. NM will ignore any such device.
13817 * src/backends/NetworkManagerDebian.c,
13818 src/backends/NetworkManagerRedHat.c,
13819 src/backends/NetworkManagerSlackware.c: Add stub function
13820 nm_system_device_get_disabled() that always returns FALSE (enabled).
13821 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13822 SUSE-specific configuration structure. Fill it in from the
13823 NM_CONTROLLED variable in the system networking scripts. If this var
13824 exists and is "no", we ignore the device.
13826 2006-01-17 Robert Love <rml@novell.com>
13828 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13829 identical for NM. For a full discussion, see the thread at
13830 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13832 2006-01-17 Dan Williams <dcbw@redhat.com>
13835 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13836 function. Fixes crash when wired DHCP fails.
13838 2006-01-16 Robert Love <rml@novell.com>
13840 * src/Makefile.am: Don't install NMLoadModules
13841 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13842 from src/ to test/ as no one uses it anymore. Note that I would be
13843 fine with removing it altogether.
13845 2006-01-16 Robert Love <rml@novell.com>
13847 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13848 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13849 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13850 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13851 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13852 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13853 declarations, ever.
13854 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13855 NM_STATE_DISCONNECTED is zero).
13857 2006-01-16 Robert Love <rml@novell.com>
13859 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13860 uninitialized parameter and buffer overflow. Novell #143496.
13862 2006-01-16 Dan Williams <dcbw@redhat.com>
13864 Apply the PtP Address bits of a patch from Tim Niemueller
13866 * src/nm-ip4-config.[ch]
13867 - Add ip4_ptp_address member to object
13868 - (nm_ip4_config_copy): copy ptp address too
13869 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13871 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13872 rather than local tunnel ip address
13874 * src/vpn-manager/nm-vpn-service.c
13875 - (print_vpn_config): update for PtP address
13876 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13877 DBusMessageIters in preparation for getting routes from the VPN
13878 service daemons too
13880 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13881 - (send_config_info): update for PtP address, clean up code
13882 - (main): update for PtP address, clean up code, fix typo
13884 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13885 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13887 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13888 - (pptp_ip_up): update for PtP address
13890 * vpn-daemons/pptp/src/nm-pptp-service.c
13891 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13893 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13894 - (print_vpn_config): update for PtP address
13895 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13897 2006-01-16 Dan Williams <dcbw@redhat.com>
13899 * gnome/applet/applet.c
13900 - (nmwa_add_networks_helper): don't indicate an active network
13901 if NM is disconnected or asleep
13903 2006-01-16 Dan Williams <dcbw@redhat.com>
13905 * src/NetworkManagerPolicy.c
13906 - (nm_policy_device_change_check): switch devices if we lose the link
13907 on an ethernet device.
13909 2006-01-16 Dan Williams <dcbw@redhat.com>
13911 * gnome/applet/wso-wpa-psk-hex.[ch]
13912 - Renamed -> wso-wpa-psk.[ch]
13914 * gnome/applet/wso-wpa-psk.[ch]
13917 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13918 - Removed, rolled into wso-wpa-psk.[ch]
13920 * gnome/applet/Makefile.am
13921 - Updated for above changes
13923 * gnome/applet/wireless-applet.glade
13924 - Consolidate WPA-PSK options into one notebook
13925 widget, and make dialogs invisible by default
13926 to fix screen oddities
13928 * gnome/applet/wireless-security-manager.c
13929 - (wsm_set_capabilities): create the new wpa-psk widget rather
13930 than both the old hex & passphrase ones
13932 2006-01-16 Dan Williams <dcbw@redhat.com>
13934 * gnome/applet/other-network-dialog.c
13935 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13937 2006-01-16 Dan Williams <dcbw@redhat.com>
13939 * gnome/applet/applet.c
13940 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13941 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13942 prevention to realize window before trying to get server
13945 * gnome/applet/other-network-dialog.c
13946 - (nmwa_other_network_dialog_run): fix up focus-stealing
13947 prevention to realize window before trying to get server
13950 * gnome/applet/passphrase-dialog.c
13951 - (nmi_passphrase_dialog_new): fix up focus-stealing
13952 prevention to realize window before trying to get server
13955 2006-01-16 Robert Love <rml@novell.com>
13957 Patch from Timo Hoenig <thoenig@suse.de:
13958 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13959 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13960 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13961 libnm-util/dbus-helpers.h: add checks whether headers are used
13962 within a C++ build.
13964 2006-01-16 Dan Williams <dcbw@redhat.com>
13966 * gnome/applet/wireless-security-option.c
13967 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13969 2006-01-16 Dan Williams <dcbw@redhat.com>
13971 * libnm-util/cipher-wpa-psk-passphrase.c
13972 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13973 be 8 - 63 characters inclusive
13975 2006-01-16 Dan Williams <dcbw@redhat.com>
13978 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13980 2006-01-13 Robert Love <rml@novell.com>
13982 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13983 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13984 modules that do not use an interface.
13986 2006-01-13 Dan Williams <dcbw@redhat.com>
13990 - Allow subclasses to implement deactivate_quickly()
13991 - (nm_device_deactivate_quickly): call subclass
13992 deactivate_quickly() methods
13993 - (nm_device_set_active_link): small cleanups, and don't
13994 deactivate the device right away because we risk a deadlock
13995 when called from device thread, waiting for the device
13996 thread to cancel activation
13998 * src/nm-device-802-11-wireless.c
13999 - (real_deactivate_quickly): new function
14000 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
14001 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
14002 so that we kill the supplicant when we sleep too
14003 - (supplicant_interface_init): work around naive naming attempts of
14004 wpa_ctrl when naming sockets
14006 2006-01-13 Dan Williams <dcbw@redhat.com>
14008 * src/nm-device-802-11-wireless.c
14009 - (supplicant_cleanup): delete old device control sockets too
14010 - (supplicant_get_device_socket_path): new function to consolidate
14011 locations that need a path to a device's control socket
14013 2006-01-12 Robert Love <rml@novell.com>
14015 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
14016 description so that the description is unique for each
14017 pair (device,provider). Fixes Novell #142773.
14019 2006-01-12 Dan Williams <dcbw@redhat.com>
14021 * src/nm-device-802-11-wireless.c
14022 - (supplicant_exec): ensure GError is correctly initialized
14023 Reported by Diego González (gnome.org #326708)
14025 2006-01-11 Robert Love <rml@novell.com>
14027 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14028 define if_mii(), open code the same results, and do so without any
14031 2006-01-11 Robert Love <rml@novell.com>
14033 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14034 that wso_foo_new() returned non-NULL. Instead, only append the new
14035 wso to wsm->options if the wso is non-NULL. The crux is that we
14036 assume that the relevant key types are implied by WEP and WPA as
14037 appropriate. To be sure, they should be, but we should not expect
14038 drivers to not be oozing piles of wolf fecal matter.
14040 2006-01-11 Robert Love <rml@novell.com>
14042 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14043 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14044 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14045 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14046 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14047 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14048 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14049 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14050 comparing values within DBL_EPSILON. Also fix shadowed variable
14053 2006-01-11 Dan Williams <dcbw@redhat.com>
14055 Add options for WPA2 and WPA1+CCMP (AES).
14057 * gnome/applet/wireless-applet.glade
14058 - Add UI bits for WPA+CCMP
14060 * gnome/applet/other-network-dialog.c
14061 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14062 and don't allow creation of WPA2 Ad-Hoc networks since
14063 wpa_supplicant doesn't support them
14065 * gnome/applet/wireless-security-manager.c
14066 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14067 on to the specific wireless security option being created
14069 * gnome/applet/wireless-security-option.[ch]
14070 - (wso_wpa_create_key_type_model): new utility function to create
14071 the model required for WPA Key Type combo box
14073 * gnome/applet/wso-private.h
14074 gnome/applet/wireless-security-option.h
14075 - Move private function prototypes into wso-private.h
14077 * gnome/applet/wso-wpa-psk-hex.[ch]
14078 gnome/applet/wso-wpa-psk-passphrase.[ch]
14079 - (append_dbus_params_func): get WPA version from checkbox and pass
14080 it to the dbus serialization helper
14081 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14082 key type combo changes
14083 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14086 * libnm-util/cipher-wpa-psk-hex.c
14087 libnm-util/cipher-wpa-psk-passphrase.c
14088 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14089 new function; allow the cipher to be changed after object creation
14091 * src/nm-ap-security-wpa-psk.c
14092 - (set_description): Do WPA2 descriptions too
14094 * src/nm-ap-security.c
14095 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14097 2006-01-11 Robert Love <rml@novell.com>
14099 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14100 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14101 from the ifreq structure in lieu of an open coded solution. Removes
14102 a life-threatening type-punning.
14103 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14104 types, ever, whatsoever, baby.
14106 2006-01-11 Robert Love <rml@novell.com>
14108 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14109 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14110 assignments to applet->nm_state into a new nmwa_set_state() function
14111 for both cleanliness and to help debugging.
14113 2006-01-10 Robert Love <rml@novell.com>
14115 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14116 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14117 seconds, exclusive. That is, we want to sleep x seconds such that
14120 2006-01-10 Robert Love <rml@novell.com>
14122 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14123 the attr fields according to the example in the email available at
14124 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14125 Conversely, we do have to free 'name', so we do so, fixing a leak.
14127 2006-01-10 Robert Love <rml@novell.com>
14129 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14130 sure that we close the socket!
14132 2006-01-10 Robert Love <rml@novell.com>
14134 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14135 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14136 src/nm-device.c: Fix a FIXME! Reimplement the function
14137 nm_device_update_hw_address() in device subclass variants,
14138 nm_device_802_3_ethernet_set_address() and
14139 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14140 This fixes the existing bug where MAC addresses are all zeros.
14142 2006-01-10 Robert Love <rml@novell.com>
14144 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14145 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14146 option to give users ability to globally disconnect and put NM to
14147 sleep. This is useful as a 'lockdown mode' for flying, security, and
14150 2006-01-09 Robert Love <rml@novell.com>
14152 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14153 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14154 User-space does not supply these types, so we have to define them
14155 ourselves. The relevant kernel maintainer refused to accept a patch
14156 switching these headers to the proper C99 types.
14158 2006-01-09 Dan Williams <dcbw@redhat.com>
14160 Apply Robert's 'tray icon redo' patch with fixes
14161 * gnome/applet/applet.c
14162 gnome/applet/applet.h
14163 - Instead of using a menu bar + menu item, simulate menu
14164 behavior using a popup menu. Highlight the area around
14165 the icon more like a menu too, by playing with the
14166 applet's size requisition
14168 2006-01-09 Timo Hoenig <thoenig@suse.de>
14169 * libnm-util/dbus-helpers.c
14170 libnm-util/dbus-helpers.h
14171 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14172 to 'exception_namespace' (:namespace is a keyword in
14175 2006-01-09 Dan Williams <dcbw@redhat.com>
14177 * src/NetworkManagerPolicy.c
14178 - (nm_policy_device_change_check): don't autoswitch away from
14179 Ad-Hoc networks, since there's really no concept of
14183 - (nm_dbus_nm_create_wireless_network): mark created networks
14186 * src/nm-device-802-11-wireless.c
14187 - (real_activation_success_handler): add user-created Ad-Hoc
14188 networks to the device's scan list
14190 2006-01-08 Dan Williams <dcbw@redhat.com>
14192 We now require a patch for wpa_supplicant to support Ad-Hoc
14194 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14196 * src/nm-device-802-11-wireless.c
14197 - (supplicant_send_network_config): turn off wpa_supplicant's
14198 scanning. Fixes Ad-Hoc networks.
14200 2006-01-08 Dan Williams <dcbw@redhat.com>
14202 * src/nm-ap-security.c
14203 src/nm-ap-security.h
14204 - Add a user_created argument to the write_supplicant_config
14207 * src/nm-ap-security-wep.c
14208 src/nm-ap-security-wpa-psk.c
14209 src/nm-device-802-11-wireless.c
14210 - Make Ad-Hoc mode somewhat work, at least write the
14211 correct options to wpa_supplicant
14213 2006-01-08 Dan Williams <dcbw@redhat.com>
14215 * src/nm-device-802-11-wireless.c
14216 - Remove unused code from the old device activation path
14218 2006-01-08 Dan Williams <dcbw@redhat.com>
14220 * libnm-util/dbus-helpers.c
14221 - (nmu_security_serialize_wpa_psk): pass a blank key through
14222 dbus when key == NULL
14224 2006-01-08 Dan Williams <dcbw@redhat.com>
14226 * gnome/applet/nm-gconf-wso-wpa-psk.c
14227 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14228 correct arguments to nmu_security_deserialize_wpa_psk()
14230 * src/nm-ap-security-wpa-psk.c
14231 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14232 arguments to nmu_security_deserialize_wpa_psk()
14234 2006-01-08 Dan Williams <dcbw@redhat.com>
14236 * gnome/applet/wso-wpa-psk-hex.c
14237 gnome/applet/wso-wpa-psk-passphrase.c
14238 - Hook up the append_dbus_params_func() function
14240 2006-01-08 Dan Williams <dcbw@redhat.com>
14242 * src/nm-device-802-11-wireless.c
14243 - (get_wireless_capabilities): correctly detect driver WPA
14246 2006-01-08 Dan Williams <dcbw@redhat.com>
14248 * gnome/applet/Makefile.am
14249 gnome/applet/wso-wpa-psk-hex.c
14250 gnome/applet/wso-wpa-psk-hex.h
14251 - New files, implement WPA-PSK Hex key input
14253 * gnome/applet/wireless-applet.glade
14254 - Change existing wpa-psk stuff to wpa-psk-hex
14255 - Add new widgets for wpa-psk-passphrase
14257 * gnome/applet/wireless-security-manager.c
14258 - (wsm_set_capabilities): enable WPA options
14260 * gnome/applet/wso-wpa-psk-passphrase.c
14261 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14262 for WPA-PSK passphrase
14264 2006-01-08 Dan Williams <dcbw@redhat.com>
14266 * include/NetworkManager.h
14267 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14268 applet/info-daemons
14270 * gnome/applet/passphrase-dialog.c
14271 - Use the constant. Fixes a bug where the arguments to
14272 dbus_message_new_error() were incorrect
14274 * src/nm-dbus-nmi.c
14277 2006-01-07 Dan Williams <dcbw@redhat.com>
14279 * src/nm-device-802-11-wireless.c
14280 - Add a link timeout so we allow the supplicant time to
14281 reassociate if it can, before we deactivate the card
14282 - Fix up link status and link updating so things work better
14284 2006-01-07 Dan Williams <dcbw@redhat.com>
14286 * src/nm-device-802-11-wireless.c
14287 - Switch over to using wpa_supplicant
14288 - Add a timeout of 10s for association of the supplicant
14289 - Start the monitor callback of the supplicant
14291 2006-01-07 Dan Williams <dcbw@redhat.com>
14293 * src/NetworkManagerUtils.c
14294 - (nm_utils_supplicant_request,
14295 nm_utils_supplicant_request_with_check):
14296 pass correct buffer length to wpa_ctrl_request()
14298 2006-01-07 Dan Williams <dcbw@redhat.com>
14300 * src/nm-device-private.h
14302 - (nm_device_activate_schedule_stage3_ip_config_start): make
14303 this function available to subclasses
14305 2006-01-06 Robert Love <rml@novell.com>
14307 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14308 user plugging in a network cable signals their preference for to
14309 switch, unless the user explicitly selected a wireless network and
14310 therefore signaled their preference for said wireless network over
14311 wired. In other words, do exactly what makes sense.
14313 2006-01-06 Robert Love <rml@novell.com>
14315 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14316 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14317 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14318 showing up in my greps.
14320 2006-01-06 Robert Love <rml@novell.com>
14322 * gnome/applet/applet-dbus-devices.c,
14323 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14324 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14325 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14326 New Network' both failed in the non-encrypted case because we were
14327 not appending the security options to the DBUS message. And
14328 'Connect to Other' was also failing in the encrypted case because
14329 we were not incrementing to the next DBUS parameter. All fixed.
14330 Thanks to dcdw for some debugging help.
14332 2006-01-06 Robert Love <rml@novell.com>
14334 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14335 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14336 hangup code and add per-device hangup. Tie last commit into the
14337 GNOME applet. TODO: Save, understand, and respond to the state of
14338 each dialup device.
14340 2006-01-06 Robert Love <rml@novell.com>
14342 Patch by Timo Hoenig <thoenig@suse.de>:
14343 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14344 hangup specific dialup devices.
14345 * src/backends/NetworkManagerDebian.c,
14346 src/backends/NetworkManagerGentoo.c,
14347 src/backends/NetworkManagerRedHat.c,
14348 src/backends/NetworkManagerSlackware.c: Add stub backend.
14349 * src/backends/NetworkManagerRedHat.c,
14350 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14351 hangup specific dialup devices.
14353 2006-01-04 Robert Love <rml@novell.com>
14355 * gnome/applet/applet-dbus-devices.c,
14356 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14357 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14360 2006-01-04 Dan Williams <dcbw@redhat.com>
14362 First dump of wpa_supplicant-related code. It's not hooked up to
14363 anything yet though. Thanks to Kay Sievers for
14364 wpa_supplicant_wrapper.c, which formed the basis for this work,
14365 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14369 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14371 * src/NetworkManagerUtils.[ch]
14372 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14373 Add convenience functions for talking to wpa_supplicant
14375 * src/nm-ap-security.[ch]
14376 src/nm-ap-security-wep.c
14377 src/nm-ap-security-wpa-psk.[ch]
14378 - Update and implement real_write_supplicant_config functions
14379 in all security types
14380 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14381 nm-ap-security-wpa-psk.c
14383 * src/nm-device-802-11-wireless.c
14384 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14385 wpa_supplicant_start, wpa_supplicant_interface_init,
14386 wpa_supplicant_send_network_config): add functions to talk to
14387 wpa_supplicant and write network config to it
14389 2006-01-04 Robert Love <rml@novell.com>
14391 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14392 values so that distribution-backends can differentiate between the
14393 various types (modem, ISDN, et cetera) of dialup device that they
14395 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14398 2006-01-03 Dan Williams <dcbw@redhat.com>
14400 * src/NetworkManagerPolicy.c
14402 src/nm-device-802-11-wireless.c
14403 - Move wireless-specific activation failure and success code
14404 into wireless device class
14406 2006-01-03 Robert Love <rml@novell.com>
14408 Patch by Preggna S:
14409 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14410 IPsec does not require that a VPN client be bound to an interface,
14411 due to the use of the in-kernel IPSec bits. So make the tunnel
14414 2006-01-03 Dan Williams <dcbw@redhat.com>
14416 * src/NetworkManagerAP.c
14417 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14418 the WPA IE specifies that WEP is supported
14420 * src/nm-device-802-11-wireless.c
14421 - (process_scan_results): don't mark an AP as supporting WEP
14422 if there's already other encryption capability info
14424 2006-01-03 Dan Williams <dcbw@redhat.com>
14426 * src/dhcp-manager/nm-dhcp-manager.c
14427 - Recognize activation cancellation when waiting for DHCP
14428 configuration from dhcdbd
14429 - Ignore non-dhcdbd messages
14432 - (real_act_stage3_ip_config_start): return to correct behavior
14433 of letting the dhcp-manager notify us of failure or
14434 success rather than incorrectly doing that ourselves
14435 - (nm_device_activate_stage4_ip_config_get): deal with
14436 activation cancellation a bit earlier
14438 2006-01-03 Dan Williams <dcbw@redhat.com>
14440 * src/nm-device-802-11-wireless.c
14442 - Add hooks to subclasses for stage3_ip_config_start and
14443 stage4_ip_config_timeout
14445 * src/nm-device-802-3-ethernet.c
14446 - (real_get_generic_capabilities): make devices NM-supported
14449 2006-01-03 Robert Love <rml@novell.com>
14451 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14452 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14453 latter cannot differentiate between error and the address -1; misc.
14456 2006-01-03 Dan Williams <dcbw@redhat.com>
14458 * src/NetworkManager.c
14459 - Move link-checking/probing into the device subclasses
14462 * src/nm-device.[ch]
14463 src/nm-device-802-11-wireless.c
14464 src/nm-device-802-3-ethernet.c
14465 - Do periodic link checking in device subclasses rather
14466 than being triggered from NetworkManager.c
14467 - discover_wireless_capabilities -> get_wireless_capabilities
14468 - discover_generic_capabilities -> get_generic_capabilities
14469 - Device subclass activation routines now return a value of type
14470 NMActStageReturn to indicate what step to perform next
14471 - Devices now override stage4_get_ip4_config if they choose
14473 2006-01-01 Dan Williams <dcbw@redhat.com>
14475 * src/nm-device-802-11-wireless.c
14476 - (real_init): don't chain up to parent init because we don't
14477 need to do that anymore
14480 - (discover_device_type): fix arguments to ioctl() to correctly
14481 pass interface name
14482 - (nm_device_new): consolidate generic device initialization into
14484 - (real_init): remove, consolidated to nm_device_new()
14485 - (nm_device_deactivate, real_deactivate): consolidate
14487 2006-01-01 Dan Williams <dcbw@redhat.com>
14489 * src/nm-activation-request.c
14490 - Change dhcp_state member of the NMActRequest structure
14491 from guint8 to guint32
14493 * src/dhcp-manager/nm-dhcp-manager.[ch]
14494 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14495 than guint8 to match the dbus argument. Turns out we were
14496 overwriting memory since we were passing in only a guint8
14498 2005-12-31 Dan Williams <dcbw@redhat.com>
14500 * refactor NMDevice into a GObject-based framework with separate
14501 objects for wired and wireless. The following files are no
14502 longer used but should stick around for a bit so we don't
14503 loose code through the cracks:
14504 NetworkManagerDevice.c
14505 NetworkManagerDevice.h
14506 NetworkManagerWireless.c
14507 NetworkManagerWireless.h
14509 The intent here is to allow each device type to manage its own
14510 connection & activation life-cycle, ie to allow wireless devices
14511 to interface with wpa_supplicant, etc. There's a fair bit of
14512 encapsulation breakage right now that should gradually get pulled
14513 back into each device, along with things like periodic property
14514 updates and link probing.
14516 2005-12-29 Dan Williams <dcbw@redhat.com>
14518 * include/NetworkManager.h
14519 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14520 between networks that don't have any encryption at all
14522 2005-12-29 Dan Williams <dcbw@redhat.com>
14524 * test/test-common.c
14527 - Move to a test-common subdirectory
14529 * test/libnm-util/test-ciphers.c
14530 - Move test data to test-inputs.h
14531 - Test WPA ciphers too
14533 * test/libnm-util/test-dbus-helpers.c
14534 - Test serialization/deserialization of ciphers
14536 2005-12-29 Dan Williams <dcbw@redhat.com>
14538 * gnome/applet/applet-dbus-devices.c
14539 - Replace 'enc' parameter with 'capabilities' for wireless networks
14540 in dbus calls to NM
14541 - Set capabilities on WirelessNetwork objects
14542 - Receive and save type-specific device capabilities too
14544 * gnome/applet/applet-dbus-info.c
14545 gnome/applet/applet-dbus.c
14546 - Passphrase dialog no longer a singleton; new instance gets created
14547 on each request. Updates to deal with that.
14549 * gnome/applet/applet.c
14550 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14551 than single 'encrypted' flag
14552 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14554 - Passphrase dialog updates per above
14556 * gnome/applet/menu-items.c
14557 - (network_menu_item_update): use AP capabilities to determine
14560 * gnome/applet/nm-device.[ch]
14561 - Add accessors for type-specific device capabilities
14563 * gnome/applet/other-network-dialog.c
14564 - Rework to respect device capabilities. i.e., if the device doesn't
14565 support WPA, remove that option from the security dropdown
14567 * gnome/applet/passphrase-dialog.c
14568 - Massive rework so that a new instance is created each time
14569 it's used, to support wireless network capabilities
14571 * gnome/applet/wireless-network.[ch]
14572 - Add accessors and members for wireless network capabilities
14574 * gnome/applet/wireless-security-manager.[ch]
14575 - (wsm_set_capabilities): called after creation to set which
14576 security options get shown to the user
14578 2005-12-29 Dan Williams <dcbw@redhat.com>
14580 * libnm-util/cipher-wpa-psk-passphrase.c
14581 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14584 2005-12-23 Dan Williams <dcbw@redhat.com>
14586 * gnome/applet/applet-dbus-info.c
14587 - (nmi_dbus_get_key_for_network): if there's no entry in
14588 GConf for a network, assume we want a new key
14589 - (nmi_save_network_info): serialize wireless security info
14590 into GConf so its saved
14593 - Fix warning as we may not be passed security info when
14594 connecting to a wireless network
14596 2005-12-23 Dan Williams <dcbw@redhat.com>
14598 * gnome/applet/applet-compat.c
14599 - Fix bugs in GConf entry conversion
14601 * gnome/applet/applet-dbus-info.c
14602 - (nmi_dbus_get_network_properties): handle case of the BSSID
14603 list being zero-length
14605 * libnm-util/cipher-*
14606 libnm-util/dbus-helpers.c
14607 - All ciphers must now return hashed keys as UTF-8 valid
14608 hexadecimal strings, ie "8f3dae4023". They are pushed
14609 through dbus as strings too.
14610 - Consolidate various functions that do bin->hex and hex->bin
14611 conversion into cipher.c
14613 * src/nm-ap-security-wep.c
14614 src/nm-ap-security-wpa-psk.c
14615 - Handle NULL keys since we may not know keys right away
14617 * src/nm-dbus-nmi.c
14618 - (nm_dbus_get_network_data_cb): actually advance to the start
14619 of the wireless security info before we try to deserialize it
14621 * libnm-util/test-ciphers.c
14622 - Update cipher tests for the change to UTF-8 hexadecimal strings
14624 2005-12-22 Dan Williams <dcbw@redhat.com>
14626 * gnome/applet/applet-compat.[ch]
14627 - Convert old-format GConf and keyring entries
14628 when the applet starts up.
14630 * gnome/applet/applet.c
14631 - (nmwa_get_instance): Call the conversion function
14632 on startup before dbus is initialized
14634 2005-12-22 Dan Williams <dcbw@redhat.com>
14636 * gnome/applet/applet-dbus-info.c
14637 - Remove nmi_dbus_create_error_message() in favor of
14638 nmu_create_dbus_error_message()
14639 - (nmi_dbus_get_network_properties): Error message cleanups
14640 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14641 gconf key rather than 'addresses', since they really are BSSIDs
14642 - (nmi_dbus_get_network_properties): Dispose of the security
14643 object when we're done with it
14645 2005-12-21 Dan Williams <dcbw@redhat.com>
14647 * Consolidate the info-daemon's "updateNetworkInfo" and
14648 "addNetworkAddress" calls into just "updateNetworkInfo"
14650 2005-12-21 Dan Williams <dcbw@redhat.com>
14652 * Make connection after key retrieval work again
14654 2005-12-21 Dan Williams <dcbw@redhat.com>
14656 * gnome/applet/nm-gconf-wso*
14657 - Make the serialize functions return gboolean
14660 * gnome/applet/nm-gconf-wso.c
14661 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14662 parent class handling so we don't segfault
14664 * src/NetworkManagerAP.[ch]
14665 - (nm_ap_get_capabilities): new function, return capabilities
14666 now that something can use them
14667 - (nm_ap_set_encrypted): assume that an access point supports
14668 both WEP104 and WEP40 if its set encrypted. FIXME: can
14669 we even tell whether it just supports WEP40?
14671 * src/NetworkManagerDevice.c
14672 - (ap_need_key): resurrect and update for the New World Order
14673 - (nm_device_wireless_get_activation_ap): if we're not given
14674 security info to use, create some based on access point
14677 * src/nm-ap-security-wep.c
14678 - (nm_ap_security_wep_new_from_ap): create a new object
14679 based on a certain access point's capabilities
14681 * src/nm-ap-security.c
14682 - (nm_ap_security_new_from_ap): delegate creation of a new
14683 object based on access point capabilities to a subclass
14684 - (nm_ap_security_copy_properties): don't segfault if we
14685 don't have a key yet
14688 - (nm_dbus_nm_set_active_device): provide more informative
14689 output when errors occur. Also construct security info
14690 for a given access point if we weren't given any
14692 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14694 * configure.in: Added Lithuanian to ALL_LINGUAS.
14696 2005-12-21 Dan Williams <dcbw@redhat.com>
14699 - Add some testcases for WEP ciphers
14701 2005-12-17 Dan Williams <dcbw@redhat.com>
14705 2005-12-17 Dan Williams <dcbw@redhat.com>
14707 * include/NetworkManager.h
14708 - Finally kill NMEncKeyType
14710 * gnome/applet/applet-dbus-info.c
14711 - (nmi_save_network_info): convert to NMGConfWSO
14713 * gnome/applet/nm-gconf-wso-*.c
14714 - Implement gconf serialization functions
14716 * src/NetworkManagerPolicy.c
14717 - (nm_policy_activation_finish): fix up meaning of
14718 automatic/user_requested
14720 2005-12-17 Dan Williams <dcbw@redhat.com>
14723 - More applet cleanups
14724 - Use the dbus-method-dispatcher
14726 * libnm-util/dbus-method-dispatcher.[ch]
14727 - Generalize the implementation from NM in
14728 NetworkManagerUtils.c
14730 2005-12-16 Dan Williams <dcbw@redhat.com>
14733 - Fix up the passphrase dialog to use all the
14734 WirelessSecurityOption stuff (untested)
14736 2005-12-16 Dan Williams <dcbw@redhat.com>
14738 * Move nm_gconf_get_*_helper() functions to separate files,
14739 gconf-helpers.c & gconf-helpers.h
14741 * New NMGConfWSO objects for managing the gconf side of things.
14742 Eventually these should be merged with the
14743 WirelessSecurityOption objects and a common base (that can
14744 serialize/deserialize from dbus & gconf) should be
14745 refactored out, but for now they are separate.
14747 2005-12-16 Robert Love <rml@novell.com>
14749 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14750 binaries unless they exist (nm_spawn_process() emits a warning if
14751 asked to spawn a non-existant process).
14753 2005-12-16 Dan Williams <dcbw@redhat.com>
14755 * gnome/applet/applet-dbus-info.c
14756 - Clean up lots of gconf-related code
14758 2005-12-16 Robert Love <rml@novell.com>
14760 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14762 2005-12-16 Dan Williams <dcbw@redhat.com>
14764 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14766 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14767 bits still to be done)
14769 2005-12-16 Dan Williams <dcbw@redhat.com>
14771 * Finally move info-daemon related stuff out of
14772 NetworkManagerDbus.c to nm-dbus-nmi.c
14774 2005-12-16 Dan Williams <dcbw@redhat.com>
14776 * Kill auth_method for access points, since that's now done
14777 by NMAPSecurity objects
14779 * Add a copy-constructor of sorts to NMAPSecurity
14780 (how do you do this properly in glib???)
14782 2005-12-15 Dan Williams <dcbw@redhat.com>
14784 * Exorcise encryption key hashing on APs
14785 * Use libnm-util's serialization/deserialization in both the
14787 * Random other stuff
14789 2005-12-15 Robert Love <rml@novell.com>
14791 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14792 is being added to the icon naming spec, so let's use that (Tango CVS
14793 has the icon). Because it is new, however, we fall back to the
14794 current "gnome-lockscreen" if the new icon is not around, thus
14795 behavior is the same.
14796 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14799 2005-12-15 Robert Love <rml@novell.com>
14801 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14802 well, help to give. Couple other misc. bits.
14804 2005-12-15 Dan Williams <dcbw@redhat.com>
14806 * libnm-util/dbus-helpers.[ch]
14807 - Make this the one-stop-shop for serializing/deserializing
14808 AP & connection security settings over dbus. Both NM
14809 and applets should use this to ensure consistent dbus
14810 API going forwared.
14812 2005-12-15 Robert Love <rml@novell.com>
14814 Patch by Timo Hoenig <thoenig@suse.de>:
14815 * src/NetworkManagerDbus.c
14816 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14817 if HAL jumps off the system bus. Otherwise libdbus
14818 (dbus_connection_dispatch) will try to run the filter
14819 function of our libhal context which is already freed.
14821 2005-12-15 Alexander Shopov <ash@contact.bg>
14823 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14825 2005-12-14 Dan Williams <dcbw@redhat.com>
14827 * include/NetworkManager.h
14828 src/NetworkManagerWireless.c
14829 - Rearrange 802.11 wireless-specific capabilities again
14832 - Forgot to add wpa.c/wpa.h to the makefiles
14834 * src/NetworkManagerAP.[ch]
14835 - Implement access point capabilities and parse the
14836 WPA/RSN IEs into the capability bitfield
14837 - Switch the "encrypted" attribute to utilize the bitfield
14838 and capabilities rather than being independent
14840 * src/NetworkManagerDevice.c
14841 - (nm_device_wireless_get_activation_ap): break it horribly
14842 until we can push NMAPSecurity objects into access point
14843 objects and through the activation chain
14844 - Stuff WPA & RSN IEs into AP capabilities
14847 - Take a shot at actually making setActiveDevice work
14850 - Make the API a bit saner
14852 2005-12-14 Dan Williams <dcbw@redhat.com>
14854 * include/NetworkManager.h
14855 - Add 802.11-specific capability for 802.1x key
14859 - Pull in WPA IE and RSN IE parsing code from
14860 wpa_supplicant so we can determine access point
14862 - Move WPA-related constants here from NetworkManagerAP.h
14863 and NetworkManagerDevice.c
14865 * src/NetworkManagerDevice.c
14866 src/NetworkManagerAP.[ch]
14867 - Use WPA-related constants from wpa.h
14869 2005-12-14 Dan Williams <dcbw@redhat.com>
14871 * include/NetworkManager.h
14872 - Update and split 802.11 wireless-specific capabilities from
14873 generic device capabilities
14875 * src/NetworkManagerDevice.c
14876 src/NetworkManagerDevicePrivate.h
14877 - (nm_device_wireless_discover_capabilities): Move 802.11
14878 wireless-specific capability checks to
14879 NetworkManagerWireless.c
14880 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14881 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14883 * src/NetworkManagerWireless.[ch]
14884 - (nm_802_11_wireless_discover_capabilities): Check extended
14885 802.11 wireless-specific capabilities of the driver
14887 2005-12-14 Robert Love <rml@novell.com>
14889 Patch from Stefan Scheler <sscheler@suse.de>:
14890 * src/NetworkManagerDevice.c: call backend code to activate and
14892 * src/NetworkManagerSystem.h: add new NIS interfaces.
14893 * src/backends/NetworkManagerDebian.c,
14894 src/backends/NetworkManagerGentoo.c,
14895 src/backends/NetworkManagerRedHat.c,
14896 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14898 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14900 2005-12-14 Dan Williams <dcbw@redhat.com>
14902 * src/nm-ap-security*.[ch]
14903 - Add AP security abstractions to NetworkManager
14905 * src/nm-dbus-device.c
14906 - Begin to parse new format dbus messages from the applet
14907 and construct an AP security object from the message
14909 * libnm-util/dbus-helpers.c
14910 - Use message iters so we can append the key as a fixed
14911 array of bytes, which actually works rather than
14912 using dbus_message_append_args() as we were before
14914 2005-12-14 Dan Williams <dcbw@redhat.com>
14916 * src/NetworkManagerDbus.c
14917 gnome/applet/applet-dbus.c
14918 - Fix up dbus service replacement options. The applet
14919 should allow replacement, NM itself should not.
14921 2005-12-13 Robert Love <rml@novell.com>
14923 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14924 Instead, fail silently if config is NULL by not asserting and not
14925 returning FALSE. Also, make sure we always fclose() the file.
14927 2005-12-13 Robert Love <rml@novell.com>
14929 Patch by Stefan Scheler <sscheler@suse.de>:
14930 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14931 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14932 via DHCP. Still need the backends to commit the NIS domain name and
14933 and servers to yp.conf as needed.
14935 2005-12-13 Robert Love <rml@novell.com>
14937 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14938 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14940 2005-12-13 Robert Love <rml@novell.com>
14942 * src/named-manager/nm-named-manager.c: Don't unref the config until
14943 after we call rewrite_resolv_conf(), because get_last_default_domain()
14944 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14945 `config != NULL' failed" assertion failures and "Could not commit DNS
14948 2005-12-12 Dan Williams <dcbw@redhat.com>
14950 * libnm-util/dbus-helpers.[ch]
14951 libnm-util/Makefile.am
14952 - new helper calls to consolidate locations where
14953 NM's setDevice method is called
14955 * gnome/applet/applet-dbus-devices.c
14956 gnome/applet/wireless-security-option.c
14958 - Implement dbus message param append function for
14959 all wireless security options
14961 2005-12-12 Robert Love <rml@novell.com>
14963 * libnm-util/cipher-wep-passphrase.c,
14964 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14965 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14966 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14967 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14968 When handling keys, we don't care what the sign is. The compiler
14969 guarantees us that we get our 8-bits, which is all we care about.
14970 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14972 2005-12-12 Dan Williams <dcbw@redhat.com>
14974 * gnome/applet/applet-dbus-devices.[ch]
14975 gnome/applet/applet.c
14976 gnome/applet/other-network-dialog.c
14977 gnome/applet/wireless-security-manager.[ch]
14978 gnome/applet/wireless-security-option.[ch]
14980 - Push the wireless security options further into the applet
14982 2005-12-12 Robert Love <rml@novell.com>
14984 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14985 return any name servers. That is perfectly valid. (Novell #134369).
14987 2005-12-11 Dan Williams <dcbw@redhat.com>
14989 * gnome/applet/wso-*
14990 gnome/applet/wireless-security-option.*
14991 gnome/applet/Makefile.am
14992 - split each security option out so we can eventually
14993 have each one build up their own dbus message
14994 arguments to send to NM
14996 2005-12-11 Dan Williams <dcbw@redhat.com>
14998 * Make validation of the key work correctly
15000 2005-12-11 Dan Williams <dcbw@redhat.com>
15002 * Hook more bits of the Other Network Dialog up to the
15003 wireless security manager stuff, and restructure
15004 bits of the dialog so there's less code.
15006 2005-12-10 Dan Williams <dcbw@redhat.com>
15008 * gnome/applet/Makefile.am
15009 - Add libnm-util to includes
15010 - Add libnm-util to link list
15011 - Add wireless-security-common.* to compile list
15013 * gnome/applet/other-network-dialog.c
15014 - Convert to using the WirelessSecurityManager code and
15017 * gnome/applet/passphrase-dialog.c
15018 - Comment out references to stuff in the glade file that
15019 cause runtime errors until it can be fixed up
15020 to use the WirelessSecurityManager code
15022 * gnome/applet/wireless-applet.glade
15023 - Rename some widgets
15024 - Add widgets for the WirelessSecurityManager code
15025 - Remove passphrase-related stuff since that's now
15026 handled by the WirelessSecurityManager code
15028 2005-12-10 Dan Williams <dcbw@redhat.com>
15030 * gnome/applet/applet-dbus-devices.c
15031 - Print out error message details for dbus pending call callbacks
15032 - Move nmwa_dbus_update_devices() up
15034 * gnome/applet/applet-dbus-vpn.c
15035 - Print out error message details for dbus pending call callbacks
15037 2005-12-10 Dan Williams <dcbw@redhat.com>
15041 - Remove cipher-manager.* because we don't need it
15042 - Forgot to add gnome-keyring-md5 files to compile list
15044 2005-12-09 Dan Williams <dcbw@redhat.com>
15049 - Add a utility library for clients of NetworkManager. It's
15050 only targetted at applets for the moment, and contains
15051 a generalized 802.11 cipher framework for different
15052 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15054 2005-12-09 Robert Love <rml@novell.com>
15056 * src/NetworkManagerDevice.c: handle error better in
15057 nm_device_set_mode().
15059 2005-12-08 Robert Love <rml@novell.com>
15061 * include/NetworkManager.h: add WPA capabilities constants
15062 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15063 or WPA2 and add the capabilities bits as appropriate.
15065 2005-12-08 Robert Love <rml@novell.com>
15067 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15068 NetworkManagerDispatcher.
15069 * configure.in, initscript/SUSE/.cvsignore,
15070 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15073 2005-12-08 Robert Love <rml@novell.com>
15075 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15077 2005-12-08 Robert Love <rml@novell.com>
15079 * src/NetworkManagerDevice.c: We want to fall back on and default to
15080 IW_MODE_AUTO, not -1, which is more in line with our previous
15081 behavior. Otherwise, we try to set the wireless mode to -1 in
15082 nm_device_set_mode().
15084 2005-12-07 Robert Love <rml@novell.com>
15086 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15087 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15088 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15089 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15090 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15091 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15094 2005-12-07 Robert Love <rml@novell.com>
15096 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15097 supplied IP is invalid, fall back to DHCP.
15099 2005-12-07 Dan Williams <dcbw@redhat.com>
15101 * Convert NETWORK_MODE_* constants to IW_MODE_*
15102 * Make all the get_mode/set_mode functions take and return 'int'
15103 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15105 2005-12-07 Robert Love <rml@novell.com>
15107 * src/NetworkManagerDevice.c: strncpy() buffer check.
15108 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15110 2005-12-06 Dan Williams <dcbw@redhat.com>
15112 * gnome/applet/applet-dbus.c
15113 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15115 * gnome/applet/applet-dbus-vpn.c
15116 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15117 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15118 to TRUE here if stage was ACTIVATED
15120 2005-12-06 Dan Williams <dcbw@redhat.com>
15122 * Change nm_device_is_* functions to better names:
15123 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15124 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15126 2005-12-06 Dan Williams <dcbw@redhat.com>
15128 * Change naming of NMDeviceType to something more sensible:
15129 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15130 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15131 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15133 2005-12-06 Dan Williams <dcbw@redhat.com>
15135 * Move NetworkManager.h -> include/NetworkManager.h
15136 * Split out VPN stuff into include/NetworkManagerVPN.h
15137 * Fix up makefiles to include new location
15138 * Fix up sources to include NetworkManagerVPN.h
15140 2005-12-06 Dan Williams <dcbw@redhat.com>
15142 Various changes in the applet to move VPN connection "state" -> "stage",
15143 which it actually is. I'd like to change the signal as well when we
15144 break compat in the near future.
15146 2005-12-06 Dan Williams <dcbw@redhat.com>
15148 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15149 * initscript/Slackware/rc.networkmanager
15152 * src/backends/NetworkManagerSlackware.c
15153 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15156 2005-12-05 Robert Love <rml@novell.com>
15158 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15159 to free, particularly here as it just barfs.
15161 2005-12-05 Dan Williams <dcbw@redhat.com>
15163 * gnome/applet/applet-dbus.c
15164 - Work with dbus 0.6 too
15166 2005-12-03 Dan Williams <dcbw@redhat.com>
15168 * src/NetworkManagerUtils.[ch]
15169 src/nm-ip4-config.c
15170 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15171 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15173 2005-12-01 Robert Love <rml@novell.com>
15175 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15176 need a NULL for the '...' parameter, too, to fill the so-called
15179 2005-12-01 Robert Love <rml@novell.com>
15181 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15182 interface is already gone, so don't call rtnl_link_change() to down
15183 it (which will segfault, anyhow).
15185 2005-11-22 Robert Love <rml@novell.com>
15187 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15188 gateway is not set, just print a little note. Configurations without
15189 gateways are valid.
15191 2005-11-22 Robert Love <rml@novell.com>
15195 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15197 * configure.in: Added Finnish translation to ALL_LINGUAS
15199 2005-11-14 Robert Love <rml@novell.com>
15201 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15202 Niemueller <tim@niemueller.de>.
15204 2005-11-08 Dan Williams <dcbw@redhat.com>
15206 Patch from Bill Moss <bmoss@clemson.edu>
15207 * src/NetworkManagerDevice.c
15208 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15209 of nm_policy_schedule_activation_finish() to prevent a
15210 race condition that causes the link to be dropped
15212 2005-11-08 Dan Williams <dcbw@redhat.com>
15214 Patch from Bill Moss <bmoss@clemson.edu>
15215 * src/NetworkManagerAPList.c
15216 src/NetworkManagerDevice.c
15217 src/NetworkManagerDbus.c
15218 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15219 we get more readable ether/mac addresses
15221 2005-11-02 Christopher Aillon <caillon@redhat.com>
15223 * gnome/applet/main.c: Don't set the restart command. This fixes
15224 the issue where the restart command was getting copies of all its
15225 arguments for each time the applet was restarted.
15227 2005-11-02 Robert Love <rml@novell.com>
15229 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15230 if the widget state differs from our saved state. This ensures we
15231 do not enter an endless loop of death and destruction. Also, this
15232 guarantees us that we enforce the widget state.
15234 2005-11-02 Robert Love <rml@novell.com>
15236 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15237 * gnome/applet/applet-dbus-devices.c: invoke the new function
15238 nmwa_enable_wireless_set_active() to ensure that the state of the
15239 'Enable Wireless' checkbox matches the daemon's state. This is a
15240 concern because the daemon remembers the state.
15242 2005-11-02 Robert Love <rml@novell.com>
15244 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15245 Enabled", as checkboxes should be actions/commands not positive
15246 statements, otherwise they are confusing in the unselected case. See
15247 examples in GNOME HIG, Chapter 6.
15249 2005-11-02 Robert Love <rml@novell.com>
15251 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15252 show a list of wireless networks or the wireless devices or the
15253 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15254 a bad bug: If wireless is disabled and the user picks a wireless
15255 network, NM will switch to the network, only to immediately switch
15256 back, as wireless is disabled. This also reassures people that NM
15257 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15259 2005-11-02 Christopher Aillon <caillon@redhat.com>
15261 * gnome/applet/applet.c:
15262 * gnome/applet/applet.h:
15263 Partial backout of Dan's timeout animation patch.
15264 Timeout IDs cannot legally be 0, so revert the code in place to handle
15265 a timeout ID of 0 to denote the timeout isn't running.
15267 2005-11-02 Christopher Aillon <caillon@redhat.com>
15269 * src/NetworkManagerPolicy.c:
15270 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15272 2005-10-28 Robert Love <rml@novell.com>
15274 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15275 "Import Saved Configuration..." to make it clear that importing is
15276 not the next step, but an option. As an aside, a nice TODO would be
15277 to move Importing out of the vpn-specific dialog and into the main
15278 property editor, as Importing goes with Adding, but that will require
15279 some rearchitecting of the VPN stuff I suspect.
15281 2005-10-27 Dan Williams <dcbw@redhat.com>
15283 Start using libnl. You need 1.0-pre3 or higher. Eventually
15284 we should replace most of the distro-specific backend code
15287 Get it here: http://people.suug.ch/~tgr/libnl/
15291 - Add checks for libnl pkgconfig file
15292 - Use LIBNL_LIBS & LIBNL_CFLAGS
15294 * src/NetworkManagerSystem.c
15295 src/nm-ip4-config.[ch]
15296 - Use libnl rather than ioctl() for most things
15297 - Remove unused functions
15299 2005-10-27 Robert Love <rml@novell.com>
15301 * src/backends/NetworkManagerSuSE.c: fix warning message text
15303 2005-10-27 Christopher Aillon <caillon@redhat.com>
15305 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15307 2005-10-27 Christopher Aillon <caillon@redhat.com>
15309 * gnome/applet/applet.c: The applet's about dialog can advertise our
15310 project page <http://www.gnome.org/projects/NetworkManager/>
15312 2005-10-26 Christopher Aillon <caillon@redhat.com>
15314 * gnome/applet.c: Also use translator credits if we don't have
15315 the new GtkAboutDialog (older versions of GTK+)
15317 2005-10-26 Robert Love <rml@novell.com>
15319 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15320 failure; correct usage text for "--no-daemon"
15322 2005-10-25 Dan Williams <dcbw@redhat.com>
15324 * src/NetworkManagerDevice.c
15325 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15327 - (free_process_scan_cb_data): unref the device when freeing results
15328 - (nm_device_wireless_process_scan_results): free scan results a bit later
15329 so we don't unref the device underneath ourselves
15331 2005-10-25 Dan Williams <dcbw@redhat.com>
15333 * Back out 2005-10-24 commit from Tor Krill. Patch
15334 causes nameservers never to be removed from named.
15336 2005-10-24 Dan Williams <dcbw@redhat.com>
15338 Clean up wireless scanning and wireless link probing.
15340 * src/NetworkManagerDevice.c
15341 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15342 just see if there's an activation request on the device, and check the
15343 current link against the activation request access point's ESSID.
15344 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15345 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15346 don't call process_scan_results() on zero-length data
15347 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15348 15 seconds (from 10)
15350 2005-10-24 Dan Williams <dcbw@redhat.com>
15352 Cleanup some applet stuff:
15354 - Animation timeouts. If NM died while the applet was animating,
15355 the applet would not hide itself. This is now fixed.
15357 - Remove some dead code
15359 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15360 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15362 - Track animation timeout using a gboolean rather than the timeout's
15363 ID, since timeout IDs can legally be 0.
15365 2005-10-24 Dan Williams <dcbw@redhat.com>
15367 * src/backends/interface_parser.c
15368 - Add void to function declarations that need it
15369 to match patch from Engin AYDOGAN
15371 * src/backends/interface_parser.h
15372 - Remove unused prototype for ifparser_interfaces()
15374 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15375 * src/backends/interface_parser.h:
15376 - Compile fixes for gcc 4.0.2 (add void)
15378 2005-10-24 Dan Williams <dcbw@redhat.com>
15380 Patch from Tor Krill <tor@krill.nu>
15381 * src/named-manager/nm-named-manager.c
15382 - Write more than just the first nameserver to /etc/resolv.conf
15383 - Write out valid /etc/resolv.conf on exit
15385 2005-10-21 Christopher Aillon <caillon@redhat.com>
15387 * gnome/applet/applet-dbus-vpn.c:
15388 Get rid of spurious newlines in debug console output
15390 2005-10-21 Christopher Aillon <caillon@redhat.com>
15392 * src/backends/NetworkManagerGentoo.c:
15393 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15395 2005-10-20 Robert Love <rml@novell.com>
15397 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15398 direct comparison of floating point values, which is never correct.
15399 Also some misc. cleanup.
15401 2005-10-19 Robert Love <rml@novell.com>
15403 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15405 2005-10-19 Robert Love <rml@novell.com>
15407 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15408 sensitivity of the buttons. Specificaly, do the right thing if
15409 there are no entries.
15411 2005-10-19 Christopher Aillon <caillon@redhat.com>
15413 * configure.in: Update check for adequate wireless-tools
15414 with an AC_TRY_COMPILE for the new symbols we use.
15416 2005-10-19 Dan Williams <dcbw@redhat.com>
15418 * src/NetworkManagerDevice.c
15419 - (process_scan_results): don't drop the last (or only)
15420 access point we see
15422 2005-10-19 Christopher Aillon <caillon@redhat.com>
15424 * src/backends/NetworkManagerSlackware.c:
15425 Patch from Nico <lordllucifer@gmail.com>
15426 - Update the Slackware backend.
15428 2005-10-18 Christopher Aillon <caillon@redhat.com>
15430 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15431 if we've got GLib 2.8.0
15433 2005-10-18 Robert Love <rml@novell.com>
15435 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15436 function nm_schedule_state_change_signal_broadcast() when we
15437 deactivate a device, too.
15439 2005-10-18 Robert Love <rml@novell.com>
15441 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15442 be used uninitialized.
15444 2005-10-18 Christopher Aillon <caillon@redhat.com>
15446 * test/libnm_glib_test.c: Test unregistering, too.
15448 2005-10-17 Christopher Aillon <caillon@redhat.com>
15450 * configure.in: Bump to 0.5.0
15452 2005-10-17 Dan Williams <dcbw@redhat.com>
15455 - Remove WPA-related constants so they aren't part of the
15458 2005-10-17 Christopher Aillon <caillon@redhat.com>
15460 * gnome/applet/applet.c:
15461 * gnome/applet/applet.h:
15462 Desensitize the 'Connection Information' menu item when there is
15463 no active connection.
15465 2005-10-17 Christopher Aillon <caillon@redhat.com>
15467 * gnome/libnm_glib/libnm_glib.c:
15468 Make libnm_glib_unregister_callback () actually unregister the callback
15470 2005-10-17 Robert Love <rml@novell.com>
15472 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15473 two seconds -- tries is updated every 1/10 of a second, not every
15476 2005-10-17 Christopher Aillon <caillon@redhat.com>
15478 * gnome/applet/applet-dbus-info.c:
15479 Let D-BUS know that we haven't handled a message when we haven't.
15481 2005-10-17 Robert Love <rml@novell.com>
15483 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15484 in order to remain 64-bit clean.
15486 2005-10-17 Christopher Aillon <caillon@redhat.com>
15488 * gnome/applet/applet-dbus-info.c:
15489 Find network encryption keys asynchronously
15491 2005-10-17 Robert Love <rml@novell.com>
15493 * src/backends/NetworkManagerDebian.c,
15494 src/backends/NetworkManagerRedHat,
15495 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15498 2005-10-17 Robert Love <rml@novell.com>
15500 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15503 2005-10-17 Christopher Aillon <caillon@redhat.com>
15505 * src/NetworkManagerDevice.c: (process_scan_results)
15506 Fix logic that checks to see whether we have an ESSID.
15508 2005-10-15 Dan Williams <dcbw@redhat.com>
15510 Move scanning code into NetworkManager rather than use iwlib's
15511 iw_scan() function, so that we can figure out AP capabilities.
15514 - Add AP capability bits
15516 * src/NetworkManagerAP.[ch]
15517 - Add capability field to NMAccessPoint structure
15518 - Add WPA & RSN Information Element fields and accessor
15519 functions to NMAccessPoint
15521 * src/NetworkManagerDevice.c
15522 - Remove usage of iw_scan
15523 - Add scanning code to NetworkManager rather than use
15524 iw_scan() from iwlib
15526 * src/NetworkManagerUtils.[ch]
15527 - (nm_dispose_scan_results): remove, unused
15529 2005-10-14 Christopher Aillon <caillon@redhat.com>
15531 * gnome/libnm_glib/libnm_glib.c:
15532 * gnome/libnm_glib/libnm_glib.h:
15533 Use guint instead of gint for callback IDs.
15535 2005-10-12 Christopher Aillon <caillon@redhat.com>
15537 * gnome/applet/applet.c:
15538 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15539 every 1000ms. It will unconditionally call nmwa_update_state which
15540 kills the existing animation timeout and registers a new one with a
15541 callback to draw a new frame every 100ms. There are 11 connecting
15542 icon frames, so the last 2 frames kept getting dropped. Only reset
15543 the animation timeout if we aren't animating.
15545 2005-10-11 Dan Williams <dcbw@redhat.com>
15547 * gnome/applet/applet-dbus-devices.c
15548 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15549 We want to grab the product & vendor from net.physical_dev
15550 rather than info.parent.
15552 2005-10-11 Dan Williams <dcbw@redhat.com>
15554 * src/NetworkManagerDevice.c
15555 - Use the driver's WE version for scanning rather than
15556 the WE version NM was compiled with. Fixes random
15557 crashes in iw_scan () in iwlib.
15559 2005-10-10 Dan Williams <dcbw@redhat.com>
15561 * Remove nm_system_load_device_modules() from backend files
15562 and from NetworkManager.c
15564 2005-10-10 Dan Williams <dcbw@redhat.com>
15566 * src/NetworkManagerPolicy.c
15567 - Fix some bugs introduced by the capabilities patch
15569 2005-10-10 Dan Williams <dcbw@redhat.com>
15571 * gnome/applet/applet-dbus-info.c
15572 - (nmi_dbus_get_network_key): hide the menu when putting up
15573 the keyring dialog. (not sure if the code is right...)
15575 2005-10-09 Dan Williams <dcbw@redhat.com>
15577 Patch from Bill Moss <bmoss@clemson.edu>
15578 * src/NetworkManagerDevice.c
15579 - (nm_device_set_user_key_for_network): don't try to set auth
15580 mode on the AP from the allowed list if it's NULL
15582 2005-10-09 Dan Williams <dcbw@redhat.com>
15584 * Replace the "driver support level" stuff with capabilities. The
15585 capability field is a bitfield that is more flexible than the
15586 old driver support level thing. It's mostly so we can easily
15587 figure out what supports WPA and what doesn't, but should be
15588 quite useful later.
15590 2005-10-09 Dan Williams <dcbw@redhat.com>
15597 - Added new "nm-tool" tool that gives quite a bit more
15600 2005-10-07 Robert Love <rml@novell.com>
15602 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15603 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15604 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15605 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15608 2005-10-07 Robert Love <rml@novell.com>
15610 * configure.in: Change our compile flags for the betterment of mankind.
15611 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15612 prototype is very bad on 64-bit platforms as types default to int but
15613 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15614 "-Wmissing-declarations" to warn if we define an exported function
15615 but fail to put it in a header.
15617 2005-10-07 Robert Love <rml@novell.com>
15619 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15620 by the name nm_update_device_wireless_timeouts() and once tried,
15621 without success, to steal my pet turtle.
15623 2005-10-07 Robert Love <rml@novell.com>
15625 * Cleanup prototypes: put some functions in header files and mark
15626 others as 'static' -- feel free to invert
15627 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15628 nm_vpn_manager_vpn_connection_list_copy()
15629 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15630 nm_vpn_service_get_dbus_connection()
15631 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15632 nm_vpn_manager_vpn_connection_list_copy()
15633 * src/vpn-manager/nm-vpn-service.c: make
15634 nm_vpn_service_act_request_failed() and
15635 nm_vpn_service_stage2_daemon_wait() static
15636 * src/vpn-manager/nm-vpn-service.h: add prototype for
15637 nm_vpn_service_get_dbus_connection()
15639 2005-10-06 Christopher Aillon <caillon@redhat.com>
15641 * gnome/applet/applet.c:
15642 * gnome/applet/applet.h:
15643 * gnome/applet/icons/Makefile.am:
15644 Convey information about the current connection stage in the
15645 icons themselves instead of creating a separate progress bar.
15647 2005-10-04 Robert Love <rml@novell.com>
15649 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15650 convert an ether_addr structure's MAC into a string, because the
15651 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15652 versus 07:3B:04, while the former will not.
15654 2005-10-04 Robert Love <rml@novell.com>
15656 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15657 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15658 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15659 default route in the 'Connection Information' dialog, send primary
15660 and secondary name servers in in "getProperties" DBUS method, add
15661 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15662 secondary domain name servers are crucial pieces of information
15663 that a user might need in debugging a network problem.
15665 2005-10-04 Robert Love <rml@novell.com>
15667 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15668 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15669 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15670 default route in the 'Connection Information' dialog, send default
15671 route in "getProperties" DBUS method, add network_device_set_route(),
15672 and network_device_get_route(). The Gateway is a crucial piece of
15673 connection-related information that a user might need in debugging a
15676 2005-10-03 Robert Love <rml@novell.com>
15678 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15681 2005-10-02 Dan Williams <dcbw@redhat.com>
15683 * Shorten time taken to sleep by fastpathing bits of device deactivation
15684 necessary for sleep.
15686 * Fix issue where deactivating a device might deactivate the active
15687 VPN connection, even if the VPN was not using the device.
15689 2005-10-02 Dan Williams <dcbw@redhat.com>
15691 * gnome/applet/applet.c
15692 - Adjust signal strength -> icon mapping values slightly
15693 (so that 51% signal doesn't show a 75% icon) by adding
15694 5% to the values. ex: > 5% now shows 25% icon, > 30%
15695 shows 50% icon, etc.
15697 2005-09-29 Robert Love <rml@novell.com>
15699 * src/NetworkManager.c: removed unused variable.
15701 2005-09-28 Dan Williams <dcbw@redhat.com>
15703 Support for named + DBus, using Red Hat DBus patches for named. You
15704 can find those patches here, with "dbus" in the patch's filename:
15706 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15708 Don't forget the named dbus service file either.
15710 Instead of writing a config file and spawing a named process, NM will
15711 use an already-running dbus-enabled named if it finds one. NM will
15712 update named's forwarder configuration on the fly using dbus.
15714 If there is no dbus-enabled named running, NM will automatically fall
15715 back to writing the most-recent DNS server information to /etc/resolv.conf
15716 and calling nm_system_update_dns() to kick the system's resolver.
15718 Accordingly, all named-related configure-time options have been removed.
15720 2005-09-26 Robert Love <rml@novell.com>
15722 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15724 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15725 bug in error path if "ASKPASSWORD" is "no".
15727 2005-09-26 Robert Love <rml@novell.com>
15729 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15730 comment in /etc/resolv.conf -- ';' is not.
15732 2005-09-19 Dan Williams <dcbw@redhat.com>
15734 * src/backends/NetworkManagerRedHat.c:
15735 * src/backends/NetworkManagerDebian.c:
15736 * src/backends/NetworkManagerSlackware.c:
15737 * src/backends/NetworkManagerGentoo.c:
15738 * src/backends/NetworkManagerSUSE.c:
15739 Fix invocations of "/sbin/ip address" to use short form instead
15741 2005-09-19 Christopher Aillon <caillon@redhat.com>
15743 * src/nm-dbus-device.c: Don't assert when getting
15744 addresses of a not yet connected interface.
15746 * gnome/applet/applet.c: Free icons if loading fails.
15747 Use translator-credits so translators can make themselves known.
15749 2005-09-15 Christopher Aillon <caillon@redhat.com>
15751 * src/NetworkManagerAP.c:
15752 * src/NetworkManagerAP.h:
15753 * src/NetworkManagerDevice.c:
15754 Set a blacklist for certain common manufacturer default ESSIDs:
15755 APs with these ESSIDs are extremely likely to be completely
15756 different networks: connecting to one should not make NM
15757 auto-connect to every other AP with the same default ESSID.
15759 2005-09-12 Christopher Aillon <caillon@redhat.com>
15761 * gnome/applet/wireless-applet.glade:
15762 The passphrase entry should also activate the default
15764 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15766 * gnome/applet/applet-dbus-devices.c:
15767 * gnome/applet/applet.c:
15768 * gnome/applet/nm-device.c:
15769 * gnome/applet/nm-device.h:
15770 * src/NetworkManagerUtils.c:
15771 * src/NetworkManagerUtils.h:
15772 * src/nm-dbus-device.c:
15773 I've got a fever, and the only cure for it is less ioctl.
15774 Make NM push IP data rather than make the applet open a socket
15777 2005-09-10 Christopher Aillon <caillon@redhat.com>
15779 * gnome/applet/applet.c:
15780 * gnome/applet/applet-dbus-devices.c:
15781 * gnome/applet/applet-dbus-info.c:
15782 * gnome/applet/passphrase-dialog.c:
15783 * gnome/libnm_glib/libnm_glib.c:
15784 * gnome/vpn-properties/nm-vpn-properties.c:
15786 * src/backends/NetworkManagerRedHat.c:
15787 * src/named-manager/nm-named-manager.c:
15788 * src/NetworkManagerAPList.c:
15789 * src/NetworkManager.c:
15790 * src/NetworkManagerDbus.c:
15791 * src/NetworkManagerDevice.c:
15792 * src/NetworkManagerPolicy.c:
15793 * src/NetworkManagerSystem.c:
15794 * src/nm-dbus-device.c:
15795 * src/nm-dbus-nm.c:
15796 * src/vpn-manager/nm-vpn-manager.c:
15797 * src/vpn-manager/nm-vpn-service.c:
15798 * test/libnm_glib_test.c:
15799 * test/nminfotest.c:
15800 * test/nmtestdevices.c:
15801 Fix a bunch of 'unused variable' compiler warnings
15803 * NetworkManager.h:
15804 * gnome/applet/applet-dbus-info.c:
15805 * gnome/applet/applet-dbus-info.h:
15806 * gnome/applet/applet.c:
15807 * gnome/applet/applet.h:
15808 * src/NetworkManager.c:
15809 * src/NetworkManagerDbus.c:
15810 * src/NetworkManagerDbus.h:
15811 * src/NetworkManagerDevice.c:
15812 * src/NetworkManagerDevice.h:
15813 * src/NetworkManagerMain.h:
15814 * src/NetworkManagerWireless.c:
15815 * src/NetworkManagerWireless.h:
15816 * src/nm-dbus-nm.c:
15817 Make NetworkManager be smart about how frequently to scan
15818 based on its current state. Remove the UI for choosing when
15819 to scan. Scanning still may disabled completely by the user
15820 via the "Wireless Enabled" menu item.
15822 2005-09-09 Christopher Aillon <caillon@redhat.com>
15824 * gnome/applet/applet.c:
15825 Also overlay the vpn connecting icons onto the wired icon,
15828 * gnome/vpn-properties/nm-vpn-properties.glade:
15829 Clean up a few strings to use better grammar and proper casing.
15831 2005-09-08 Christopher Aillon <caillon@redhat.com>
15833 * gnome/applet/vpn-connection.c:
15834 * gnome/applet/vpn-connection.h:
15835 Add nmwa_vpn_connection_is_activating ()
15837 * gnome/applet/applet.c:
15838 * gnome/applet/applet.h:
15839 * gnome/applet/icons/nm-vpn-connecting*.png:
15840 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15841 the user know something's happening between clicking the VPN item and it
15842 actually being connected.
15844 2005-09-07 Christopher Aillon <caillon@redhat.com>
15846 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15847 failure case as well.
15849 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15851 * gnome/panel/eggtrayicon.[ch]:
15852 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15854 2005-09-07 Dan Williams <dcbw@redhat.com>
15856 Patch from Bill Moss <bmoss@clemson.edu>
15857 * src/applet-dbus.c
15858 - (nmwa_dbus_filter): strip whitespace from beginning
15859 and end of VPN login banner
15861 2005-09-07 Dan Williams <dcbw@redhat.com>
15863 * The great VPN Manager rewrite of 2005
15865 2005-09-07 Christopher Aillon <caillon@redhat.com>
15867 * gnome/applet/menu-items.c:
15868 * gnome/applet/nm-device.c:
15869 * gnome/applet/wireless-network.c:
15870 * gnome/libnm_glib/libnm_glib.c:
15871 * src/NetworkManagerDbusUtils.c:
15872 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15873 g_malloc0 doesn't return NULL
15875 2005-09-06 Dan Williams <dcbw@redhat.com>
15877 Patch from Tomislav Vujec <tvujec@redhat.com>
15878 * src/NetworkManagerDevice.c
15879 - (nm_get_device_by_udi): don't return a device when we
15880 actually didn't find what we were looking for
15882 2005-09-06 Christopher Aillon <caillon@redhat.com>
15884 * gnome/applet/applet-dbus-devices.c:
15885 * gnome/applet/applet-dbus-devices.h:
15886 * gnome/applet/applet-dbus.c:
15887 * src/NetworkManagerDbus.c:
15888 * src/NetworkManagerDbus.h:
15889 * src/NetworkManagerDevice.c:
15890 * src/nm-dbus-device.c:
15891 Make NM push updates about active device strength when it changes,
15892 rather than having the applet poll every 2s.
15894 2005-09-05 Christopher Aillon <caillon@redhat.com>
15896 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15897 network_device_set_strength
15899 2005-09-04 Dan Williams <dcbw@redhat.com>
15901 Patch from Bill Nottingham <notting@redhat.com>
15902 * src/NetworkManagerDevice.c
15903 - (nm_device_activation_cancel): reset the quit_activation flag
15905 2005-09-04 Dan Williams <dcbw@redhat.com>
15907 * src/nm-activation-request.c
15908 - (nm_act_request_unref): actually free the structure,
15909 which we didn't seem to be doing before
15911 2005-09-04 Dan Williams <dcbw@redhat.com>
15913 Patch from John Palmieri <johnp@redhat.com>
15914 * gnome/applet/applet-dbus-devices.c
15915 - Fix up unreffing of DBusMessage objects
15917 2005-09-04 Dan Williams <dcbw@redhat.com>
15919 Patch from John Palmieri <johnp@redhat.com>
15920 * gnome/applet/nm-device.c
15921 - (nm_device_unref): clear network_device's memory _before_ freeing it
15923 2005-09-02 Christopher Aillon <caillon@redhat.com>
15925 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15927 2005-09-02 Bill Nottingham <notting@redhat.com>
15929 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15931 2005-09-01 Dan Williams <dcbw@redhat.com>
15933 * src/NetworkManager.c
15934 - (nm_remove_device_from_list): rename to nm_remove_device
15935 - (nm_hal_device_removed): call nm_remove_device()
15937 * src/NetworkManagerDevice.c
15938 - Change the NMWirelessScanCB member 'reschedule' which
15939 wasn't used to 'force' to indicate that we need to
15940 force a scan when adding a device
15943 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15944 from the device list
15945 - (nm_dbus_nm_wake): Re-add all devices to the device list
15947 2005-09-01 Robert Love <rml@novell.com>
15949 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15950 and the check "!iface" in the error case is probably never true.
15952 2005-09-01 Dan Williams <dcbw@redhat.com>
15954 Patch from Bill Nottingham <notting@redhat.com>
15955 * src/backends/NetworkManagerRedHat.c
15956 - Add initial dialup support to Red Hat/Fedora backend
15958 2005-09-01 Dan Williams <dcbw@redhat.com>
15960 * gnome/applet/applet-dbus-devices.c
15961 - Sort both wireless networks and devices again, which got
15962 broken when removing threading
15964 2005-09-01 Christopher Aillon <caillon@redhat.com>
15966 * gnome/applet/applet.c:
15967 Only show the "Stop/Start All Wireless Devices" menuitem
15968 if we actually have wireless devices.
15970 * gnome/applet/applet-dbus-info.c:
15971 * gnome/applet/applet.c:
15972 * gnome/applet/other-network-dialog.c:
15973 * gnome/applet/vpn-password-dialog.c:
15974 Drop the gtk_dialog_run () calls in favor of connecting to
15975 "response" signals, needed now that the applet is not threaded.
15977 2005-08-31 Dan Williams <dcbw@redhat.com>
15979 Patch from Bill Moss <bmoss@clemson.edu>
15980 * src/NetworkManagerDevice.c
15981 - (nm_device_wireless_scan): fix scan timeout values
15983 2005-08-30 Dan Williams <dcbw@redhat.com>
15985 * gnome/applet/wireless-applet.glade
15986 - HIG-ify the Other Wireless Networks dialog a bit more
15987 - Fix some potential segfaults in the info dialog
15989 2005-08-30 Dan Williams <dcbw@redhat.com>
15991 * gnome/applet/applet-dbus-devices.c
15992 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15994 2005-08-30 Dan Williams <dcbw@redhat.com>
15996 * gnome/applet/applet-dbus.[ch]
15997 - Remove all the nmwa_dbus_call_method_xxxx functions since
15998 they weren't being used anyway
16000 2005-08-30 Bastien Nocera <hadess@hadess.net>
16002 * test/nmtestdevices.c: (print_usage), (main):
16003 Check the number of arguments, and fix a typo
16005 2005-08-29 Dan Williams <dcbw@redhat.com>
16007 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
16008 * gnome/applet/applet.c
16009 - Define GTK_STOCK_INFO for GTK 2.6 and lower
16011 2005-08-29 Dan Williams <dcbw@redhat.com>
16014 - Don't use threads any more. Anything that blocks
16015 (like gtk_dialog_run()) will have to get fixed up which
16016 should happen quickly. We really only had threads to make
16017 the animation smooth, and when everything got converted over
16018 to DBus Pending Calls, the need for threads kind of went away
16020 2005-08-29 Christopher Aillon <caillon@redhat.com>
16022 * gnome/applet/applet.c: Draw VPN connections as radio items
16023 since we don't yet support multiple VPNs.
16024 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16025 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16027 2005-08-29 Dan Williams <dcbw@redhat.com>
16029 Patch from j@bootlab.org
16030 - Make --without-named work
16031 - Make --with-dhcdbd work correctly
16033 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16035 * configure.in: Added "ca" to ALL_LINGUAS.
16037 2005-08-26 Christopher Aillon <caillon@redhat.com>
16039 * Fix up VPN state handling between the applet and NetworkManager,
16040 so that the applet doesn't show a VPN as connected when one
16042 - The applet no longer has a pointer to the active VPN's
16043 name, but tracks each VPNs state individually
16044 - NM no longer has a "getActiveVPNConnection" method
16045 - NM no longer broadcasts the "VPNConnectionChange" signal
16046 - NM now broadcasts a "VPNConnectionStateChange" signal
16047 whenever the state of a VPN changes
16049 2005-08-26 Dan Williams <dcbw@redhat.com>
16051 * gnome/applet/applet-dbus-devices.c
16052 gnome/applet/applet-dbus-vpn.c
16053 - Remove calls to dbus_pending_call_ref() because we already
16054 "own" the pending call
16055 - Remove calls to dbus_pending_call_get_completed() because
16056 when we are in the callback, the pending call is completed
16059 2005-08-22 Dan Williams <dcbw@redhat.com>
16061 Patch by Bill Moss <bmoss@clemson.edu>
16062 * src/dhcp-manager/nm-dhcp-manager.c
16063 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16064 some time to send out a RELEASE if they like
16066 2005-08-22 Dan Williams <dcbw@redhat.com>
16068 Noticed by Bill Moss <bmoss@clemson.edu>
16069 * src/NetworkManagerDbus.c
16070 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16071 instead of just cancelling its activation
16073 * src/NetworkManagerDevice.c
16074 - (nm_device_deactivate): some small cleanups
16075 - (nm_device_set_user_key_for_network): deactivate the device
16076 instead of just cancelling its activation
16078 2005-08-22 Dan Williams <dcbw@redhat.com>
16080 Noticed by Bill Moss <bmoss@clemson.edu>
16081 * src/NetworkManagerDevice.c
16082 - (nm_device_wireless_scan): fix scan timeout, we were
16083 waiting way too long for scans to complete
16085 2005-08-22 Dan Williams <dcbw@redhat.com>
16087 Patch from j@bootlab.org:
16088 * src/backends/NetworkManagerDebian.c
16089 - Make the Debian backend work for static IP again
16091 2005-08-20 Christopher Aillon <caillon@redhat.com>
16093 * gnome/applet/other-network-dialog.c:
16094 The "Create New Network" and "Connect to Other Network"
16095 dialogs share alot of code, but shouldn't share a window
16096 title. Give them different ones.
16098 * gnome/applet/wireless-applet.glade:
16099 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16100 Some more minor UI tweaks.
16102 2005-08-19 Christopher Aillon <caillon@redhat.com>
16104 * gnome/applet/other-network-dialog.c:
16105 * gnome/applet/wireless-applet.glade:
16106 Also need mnemonic widgets, and underline enabled.
16108 2005-08-19 Dan Williams <dcbw@redhat.com>
16110 * vpn-daemons/vpnc/nm-vpnc-service.c
16111 - (vpnc_watch_cb): remove no-longer-relevant comment
16112 - (write_config_option): new function, helper to write
16113 config options to vpnc's stdin
16114 - (nm_vpnc_config_write): use the new helper, make the
16117 2005-08-19 Christopher Aillon <caillon@redhat.com>
16119 * gnome/applet/passphrase-dialog.c:
16120 * gnome/applet/wireless-applet.glade:
16121 Make the passphrase dialog response based, and treat
16122 responses other than OK (such as Esc, [X]) as a cancel.
16124 2005-08-18 Christopher Aillon <caillon@redhat.com>
16126 * initscript/Gentoo/NetworkManager:
16127 * initscript/RedHat/NetworkManager:
16128 * initscript/RedHat/NetworkManagerDispatcher:
16129 * initscript/SUSE/networkmanager:
16130 CVS remove these in place of .in replacements
16133 * initscript/Gentoo/NetworkManager.in:
16134 * initscript/RedHat/NetworkManager.in:
16135 * initscript/RedHat/NetworkManagerDispatcher.in:
16136 * initscript/SUSE/networkmanager.in:
16137 These scripts now are generated so they work still when
16138 NM is built using a bindir other than /usr/bin
16140 2005-08-18 Dan Williams <dcbw@redhat.com>
16142 * gnome/applet/main.c
16143 - Revert previous change for --no-session since
16144 --sm-disable does the same thing
16146 2005-08-18 Dan Williams <dcbw@redhat.com>
16148 * gnome/applet/applet-dbus-info.c
16149 - (nmi_dbus_create_error_message): new function
16150 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16151 functions. Also don't check for both device _and_ network before
16152 asking for a user's key, because we may not have gotten all our
16153 networks back from NM quite yet (due to the dbus pending calls
16154 coming in later). Fixes a hang in NM/nm-applet.
16156 * src/NetworkManagerDbus.c
16157 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16158 slightly more sane manner, even though we are still broken for
16159 certain other error conditions.
16160 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16161 to the info-daemon too
16163 * src/NetworkManagerDevice.c
16164 - Fix some debug messages to be info messages instead
16166 2005-08-18 Dan Williams <dcbw@redhat.com>
16168 * gnome/applet/main.c
16169 - Add new "--no-session" parameter that disables applet
16170 session management, ie for testing
16172 2005-08-18 Christopher Aillon <caillon@redhat.com>
16174 * gnome/applet/other-network-dialog.c:
16175 * gnome/applet/wireless-applet.glade: More mnemonics
16177 2005-08-17 Robert Love <rml@novell.com>
16179 * initscript/SUSE/networkmanager: update
16181 2005-08-17 Dan Williams <dcbw@redhat.com>
16183 * Tag NM_0_4_1_RELEASE
16185 2005-08-17 Christopher Aillon <caillon@redhat.com>
16187 * gnome/applet/applet.c: More translatable string cleanup
16190 2005-08-17 Dan Williams <dcbw@redhat.com>
16192 * gnome/applet/applet-dbus-info.c
16193 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16194 from the dbus message, which tells us to unconditionally
16195 ask the user for a new key. Otherwise, we pull the key from
16196 the keyring and return it. If we fail to get the key from the
16197 keyring, we ask the user for a new key.
16198 - (nmi_dbus_get_network_key): new function to grab the key for
16199 an essid from the keyring.
16200 - (nmi_dbus_get_network_properties): don't access the keyring here.
16201 Also, don't return any key in the dbus message.
16203 * src/NetworkManagerDbus.[ch]
16204 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16205 indicate that we unconditionally want a new key. This function
16206 is now also used to get keys from the info-daemon which are
16207 pre-stored, not just for asking the user for a new key. The
16208 "new_key" parameter indicates whether or not we wish to ask the
16209 user for a new key.
16210 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16211 info-daemon in the return message, so use NULL instead. The
16212 key will be filled in at connect time by calling
16213 nm_dbus_get_user_key_for_network()
16215 * src/NetworkManagerDevice.c
16216 - (nm_device_wireless_configure): update for "new_key" param to
16217 nm_dbus_get_user_key_for_network(). We initially set new_key
16218 to FALSE to see if we have a stored key in the info-daemon, but
16219 if the connection is unsuccessful at this stage we request a
16222 2005-08-17 Dan Williams <dcbw@redhat.com>
16224 * gnome/applet/icons/nm-no-connection.png
16225 gnome/applet/icons/nm-device-wired.png
16226 - Use Diana's new RJ45 connector icons
16228 2005-08-17 Dan Williams <dcbw@redhat.com>
16230 * src/NetworkManagerPolicy.c
16231 - (nm_policy_device_change_check): clarify switching rules if
16232 both new and old devices are valid; mainly, don't switch
16233 away from user-requested wireless connection back to a wired
16236 2005-08-17 Dan Williams <dcbw@redhat.com>
16238 * gnome/applet/Makefile.am
16239 - Relocate the applet to /usr/bin since it is no longer
16240 executed by anything, but directly by the user
16242 2005-08-17 Dan Williams <dcbw@redhat.com>
16244 Patch from Bill Moss <bmoss@clemson.edu>
16246 * gnome/applet/applet-dbus-info.[ch]
16247 - (nmi_save_network_info): save timestamp for network if it
16248 was a change requested by the user
16249 - (nmi_dbus_update_network_info): get user_requested from dbus
16250 message and pass to nmi_save_network_info()
16252 * gnome/applet/applet.c
16253 - (nmwa_update_network_timestamp): remove
16254 - (nmwa_menu_item_activate): don't set timestamp on networks
16255 here, only after a successful connect in nmi_save_network_info()
16257 * src/NetworkManagerDbus.[ch]
16258 - (nm_dbus_update_network_info): pass user_requested into the
16261 * src/NetworkManagerPolicy.c
16262 - (nm_policy_activation_finish): pass user_requested to
16263 nm_dbus_update_network_info()
16265 2005-08-16 Robert Love <rml@novell.com>
16267 * gnome/applet/applet.c: Better "Dial Up" menu item.
16269 2005-08-16 Robert Love <rml@novell.com>
16271 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16272 "Connection Information" menu item.
16274 2005-08-16 Dan Williams <dcbw@redhat.com>
16276 Patch from j@bootlab.org
16277 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16279 * configure.in: allow specifying the path to dhcdbd
16281 2005-08-16 Robert Love <rml@novell.com>
16283 Patch from j@bootlab.org
16284 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16285 src/backends/interface_parser.h: Debian dialup support.
16287 2005-08-16 Christopher Aillon <caillon@redhat.com>
16289 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16290 * gnome/applet/applet.c: Add some mnemonics for VPNC
16292 * vpn-daemons/.cvsignore: fix this up a little bit
16294 2005-08-16 Robert Love <rml@novell.com>
16296 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16299 2005-08-16 Christopher Aillon <caillon@redhat.com>
16301 * gnome/applet/applet.c: Split markup out of translatable strings
16302 and clean up logic a little bit. (fixes #309012)
16304 2005-08-15 Christopher Aillon <caillon@redhat.com>
16306 * gnome/vpn-properties/nm-vpn-properties.c:
16307 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16308 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16309 Makeshift fix to remove newlines from translatable strings.
16310 Note that we now return an allocated string, so callers of
16311 get_confirmation_details () must now call g_free () on the
16312 result. (fixes #309033).
16314 2005-08-12 Robert Love <rml@novell.com>
16316 * gnome/applet/applet-dbus.c: remove newlines from translatable
16317 strings--not needed here anyway. (fix b.g.o #309011)
16318 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16320 2005-08-11 Robert Love <rml@novell.com>
16322 * gnome/applet/applet.c: mark string as translatable.
16324 2005-08-11 Robert Love <rml@novell.com>
16326 * initscript/SUSE/networkmanager: update.
16328 2005-08-11 Dan Williams <dcbw@redhat.com>
16330 * src/nm-dhcp-manager.c
16331 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16332 an gateway returned from DHCP, try to use the address of the DHCP
16333 server as the gateway instead. Found by Ralf Ertzinger.
16335 2005-08-10 Robert Love <rml@novell.com>
16337 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16338 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16340 2005-08-10 Dan Williams <dcbw@redhat.com>
16342 Patch from Bill Moss <bmoss@clemson.edu>
16343 * Consolidate writes of access point information updates to the info daemon
16344 so that we only do it when the connection to the access point was
16345 successful. Also consolidates updates to GConf in the Gnome applet.
16347 * src/nm-netlink-monitor.c
16348 - Silence compile warning when calling g_object_new()
16350 2005-08-08 Dan Williams <dcbw@redhat.com>
16352 Patch from Steev <steev@steev.net>:
16353 * src/backends/NetworkManagerGentoo.c
16354 - Stub new dialup backend functions
16356 2005-08-08 Dan Williams <dcbw@redhat.com>
16358 Patch from Colin Slater:
16359 * src/backends/NetworkManagerGentoo.c
16360 - (nm_system_update_dns): Fix exit status check for restarting
16363 2005-08-05 Robert Love <rml@novell.com>
16365 * NetworkManager.h,
16366 gnome/applet/applet-dbus-devices.c,
16367 gnome/applet/applet-dbus-devices.h,
16368 gnome/applet/applet-dbus.c,
16369 gnome/applet/applet.c,
16370 gnome/applet/applet.h,
16371 src/NetworkManager.c,
16372 src/NetworkManagerMain.h,
16373 src/NetworkManagerSystem.h,
16374 src/backends/NetworkManagerRedHat.c,
16375 src/backends/NetworkManagerSuSE.c,
16376 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16378 2005-08-05 Robert Love <rml@novell.com>
16380 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16381 machine's hostname to make adhoc creation idiot-proof.
16383 2005-08-04 Robert Love <rml@novell.com>
16385 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16388 2005-08-04 Dan Williams <dcbw@redhat.com>
16390 * gnome/applet/applet-dbus-info.c
16391 gnome/applet/applet-dbus-info.h
16392 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16393 to store key, key type, and auth method rather than just auth method
16394 - (nmi_dbus_update_network_info): new function
16395 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16397 * gnome/applet/passphrase-dialog.c
16398 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16399 of saving the info ourselves
16401 * gnome/libnm_glib/libnm_glib.c
16402 - Remove the stupid version check for dbus
16404 * src/NetworkManagerAP.c
16405 src/NetworkManagerAP.h
16406 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16408 * src/NetworkManagerDbus.c
16409 src/NetworkManagerDbus.h
16410 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16411 more than just the auth method
16413 * src/NetworkManagerDevice.c
16414 - Update network info at the appropriate times
16416 2005-07-29 Ray Strode <rstrode@redhat.com>
16418 * src/NetworkManager.c (nm_info_handler): don't use input as format
16419 string (Spotted by Ian Jackson).
16421 2005-07-27 Dan Williams <dcbw@redhat.com>
16425 - Random cleanups of spacing
16427 * gnome/applet/applet.h
16428 gnome/applet/other-network-dialog.c
16429 gnome/applet/passphrase-dialog.c
16430 - Conslidate usage of NMWAEncryptionKeyTypes enum
16432 Patch from Bill Moss:
16433 - Make Other Wireless Networks work again with encryption keys
16435 2005-07-26 Dan Williams <dcbw@redhat.com>
16437 Patch from Steev <steev@steev.net>:
16438 * src/backends/NetworkManagerGentoo.c
16439 src/backends/Makefile.am
16440 - Fix up Gentoo backend
16442 2005-07-26 Robert Love <rml@novell.com>
16444 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16446 2005-07-25 Robert Love <rml@novell.com>
16448 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16449 in the same group as the wireless networks, since they are all
16450 mutually exclusive.
16452 2005-07-24 Ray Strode <rstrode@redhat.com>
16454 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16455 remove unneeded NULL arg from g_object_new(). Any
16456 warnings caused by not having the extra NULL are just a
16457 result of a bug in glib 2.7.0 - 2.7.2.
16459 2005-07-22 Robert Love <rml@novell.com>
16461 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16463 2005-07-22 Robert Love <rml@novell.com>
16465 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16466 parameters (gcc 4.0.2 warning fix).
16468 2005-07-18 Robert Love <rml@novell.com>
16470 Suggested by Aaron Bockover (abockover@novell.com)
16471 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16473 * gnome/applet/passphrase-dialog.c: ditto
16474 * gnome/applet/wireless-applet.glade: ditto
16476 2005-07-13 Dan Williams <dcbw@redhat.com>
16478 Patch from Ray Strode <halfline@gmail.com>
16479 * vpn-daemons/vpnc/nm-vpnc-service.c
16480 - Don't let vpnc daemonize, fixes some races with PID file reading
16482 2005-07-13 Dan Williams <dcbw@redhat.com>
16484 Patch from Ray Strode <halfline@gmail.com>
16485 * Random cleanups for strict CFLAGS
16487 2005-07-07 Dan Williams <dcbw@redhat.com>
16489 Patch from Derek Atkins <warlord@MIT.EDU>
16490 * src/nm-dbus-net.c:
16491 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16493 2005-07-07 Dan Williams <dcbw@redhat.com>
16495 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16496 * src/backends/NetworkManagerGentoo.c
16497 - Gentoo backend Static IP nameserver fixes
16498 - General Gentoo backend goodness
16500 2005-07-07 Dan Williams <dcbw@redhat.com>
16502 Patch from Bastien Nocera:
16503 * gnome/applet/applet.c
16504 - Fix up error reporting when icons or glade files are missing
16506 2005-07-07 Robert Love <rml@novell.com>
16508 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16509 are not any VPN connections above it.
16511 2005-07-07 Robert Love <rml@novell.com>
16513 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16515 2005-07-05 Robert Love <rml@novell.com>
16517 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16520 2005-07-05 Robert Love <rml@novell.com>
16522 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16523 on wired or unencrypted wireless.
16525 2005-07-01 Robert Love <rml@novell.com>
16527 * src/NetworkManagerSystem.c: Print the error via strerror().
16529 2005-06-30 Robert Love <rml@novell.com>
16531 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16532 then exit if the glade file is not found. currently the application
16535 2005-06-30 Robert Love <rml@novell.com>
16537 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16538 explicitly up all interfaces on wake from sleep.
16540 2005-06-30 Robert Love <rml@novell.com>
16542 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16543 with information about the currently active connection.
16544 * gnome/applet/applet.h: (ditto)
16545 * gnome/applet/wireless-applet.glade: (ditto), new file
16547 2005-06-30 Robert Love <rml@novell.com>
16549 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16550 * src/nm-dbus-nm.c: print when we sleep and wake up.
16551 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16552 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16553 in /sbin unless D-BUS is, folks).
16554 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16556 2005-06-27 Robert Love <rml@novell.com>
16558 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16561 2005-06-27 Robert Love <rml@novell.com>
16563 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16566 2005-06-26 Robert Love <rml@novell.com>
16568 * src/NetworkManagerDevice.c: be specific about which device in
16571 2005-06-23 Adam Weinberger <adamw@gnome.org>
16573 * src/nm-netlink-monitor.c: correct spelling error.
16575 2005-06-23 Robert Love <rml@novell.com>
16577 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16578 * gnome/applet/passphrase-dialog.c: more of that keyring!
16580 2005-06-23 Robert Love <rml@novell.com>
16582 * configure.in: remove extraneous GNOMEKEYRING directives.
16583 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16584 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16585 * gnome/applet/passphrase-dialog.c: whitespace.
16587 2005-06-23 Robert Love <rml@novell.com>
16589 * src/NetworkManagerDevice.c: division in assignment was flipped.
16591 2005-06-23 David Zeuthen <david@fubar.dk>
16593 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16594 signal to the child to indicate that we got what we wanted when we
16595 see two new-lines right after each other.
16596 (nmwa_vpn_request_password): Pass a structure with several members
16597 instead of just the passwords
16599 2005-06-23 Dan Williams <dcbw@redhat.com>
16601 * src/NetworkManager.c
16602 src/NetworkManagerMain.h
16603 - (nm_get_hal_ctx): new function, move Hal initialization code here
16604 - (nm_hal_init): new function, init libhal context then add devices
16605 - (nm_hal_deinit): new function, clean up libhal context
16606 - (nm_data_free): Move Hal cleanup here
16607 - (main): check whether Hal is running, and if so, get a list of
16608 network devices from it
16610 * src/NetworkManagerDbus.c
16611 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16612 and when it appears, get a list of network devices from it. If
16613 Hal goes away, clean up the libhal context
16615 2005-06-22 Robert Love <rml@novell.com>
16617 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16618 permissions of scripts before executing.
16620 2005-06-21 Robert Love <rml@novell.com>
16622 * initscript/SUSE/networkmanager: update.
16623 * src/backends/NetworkManagerSuSE.c: cleanup.
16625 2005-06-21 Robert Love <rml@novell.com>
16627 * gnome/applet/applet.c: use menu mnemonics.
16628 * gnome/applet/menu-items.c: (ditto)
16630 2005-06-21 Robert Love <rml@novell.com>
16632 * applet/applet-dbus-devices.c: mark non-static functions static.
16633 * applet/applet-dbus-vpn.c: (ditto)
16634 * applet/applet.c: (ditto)
16635 * applet/nm-device.h: (ditto)
16636 * applet/other-network-dialog.c: (ditto)
16637 * applet/passphrase-dialog.c: (ditto)
16638 * NetworkManager.c: (ditto)
16639 * NetworkManagerDbus.c: (ditto)
16640 * NetworkManagerDevice.c: (ditto)
16641 * NetworkManagerPolicy.c: (ditto)
16642 * NetworkManagerUtils.c: (ditto)
16643 * NetworkManagerWireless.c: (ditto)
16644 * NetworkManagerWireless.h: (ditto)
16645 * nm-netlink-monitor.c: (ditto)
16646 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16647 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16648 * autoip.c: include autoip.h.
16649 * autoip.h: new file. define get_autoip().
16650 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16651 * NetworkManagerDbus.h: remove duplicate definitions.
16653 2005-06-20 Robert Love <rml@novell.com>
16655 * Makefile.am: Add missing intltool-foo.in generated files to
16656 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16657 with the start of stuff to cleanup on 'distclea'.
16658 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16659 stuff right and 'distcheck' works.
16660 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16661 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16662 Makefile.am for each. And systray/Makefile needs to be redone.
16664 2005-06-19 Dan Williams <dcbw@redhat.com>
16666 * src/NetworkManagerDevice.c
16667 - (nm_device_wireless_process_scan_results): scan every 20s when
16668 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16670 2005-06-19 Dan Williams <dcbw@redhat.com>
16672 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16674 2005-06-18 Ray Strode <rstrode@redhat.com>
16676 * src/nm-netlink-monitor.c
16677 (nm_netlink_monitor_event_handler): check for the presence
16678 of either error condition not both.
16680 (nm_netlink_monitor_error_handler): emit error signal if
16683 (nm_netlink_monitor_event_handler),
16684 (nm_netlink_monitor_error_handler),
16685 (nm_netlink_monitor_disconnect_handler): if an
16686 assertion fails disconnect the event handler to prevent
16689 * src/nm-netlink-monitor.h: add new error condition
16690 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16692 2005-06-18 Ray Strode <rstrode@redhat.com>
16694 * src/nm-netlink-monitor.c
16695 (nm_netlink_monitor_event_handler): remove bogus < 0
16696 check on unsigned value and return early if the kernel
16697 didn't send any bytes.
16699 2005-06-17 Robert Love <rml@novell.com>
16701 * initscript/SUSE/networkmanager: Change the Provides and default
16704 2005-06-16 Dan Williams <dcbw@redhat.com>
16706 Patch from Robert Love:
16707 * gnome/applet/applet.c
16708 - Beautify some applet menu item names
16710 2005-06-17 David Zeuthen <davidz@redhat.com>
16712 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16713 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16714 Also add new methods can_export, import_file and export.
16716 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16719 * gnome/vpn-properties/nm-vpn-properties.c:
16720 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16721 nm-vpn-ui-interface.h.
16722 (update_edit_del_sensitivity): Also update "Export" sensitivity
16723 (add_vpn_connection): Also add new SVC_NAME column
16724 (import_settings): New function
16725 (retrieve_data_from_selected_connection): New function
16726 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16728 (export_cb): New function
16729 (init_app): Also setup the "export" widget
16730 (main): Support the --import-service and --import-file commandline
16733 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16736 2005-06-16 Dan Williams <dcbw@redhat.com>
16738 Patch from Robert Love:
16739 * gnome/applet/menu-items.c
16740 - (network_menu_item_new): pass -1 as wireless network
16741 menu items height size request rather than ascent / 2
16743 2005-06-16 Dan Williams <dcbw@redhat.com>
16745 * Clean up wording in Wireless Scan Methods menu items and constants
16747 2005-06-16 Robert Love <rml@novell.com>
16750 - remove gtkcell* files
16752 2005-06-15 Dan Williams <dcbw@redhat.com>
16754 Patch from Robert Love: make the applet stetic
16756 * gnome/applet/Makefile.am
16757 - Don't compile the gtkcellview and gtkcellrendererprogress files
16759 * gnome/applet/gtkcellview.h
16760 gnome/applet/gtkcellview.c
16761 gnome/applet/gtkcellrendererprogress.h
16762 gnome/applet/gtkcellrendererprogress.c
16765 * gnome/applet/menu-items.c
16766 - Progress bars are 5:1 size ratio
16767 - Use GTK progress bars rather than internal ones
16769 2005-06-15 Dan Williams <dcbw@redhat.com>
16771 Patch from Robert Love:
16772 * initscript/SUSE/networkmanager
16775 2005-06-15 Dan Williams <dcbw@redhat.com>
16777 * src/backends/NetworkManagerSuSE.c
16778 src/backends/NetworkManagerRedHat.c
16779 src/backends/NetworkManagerDebian.c
16780 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16782 2005-06-15 Dan Williams <dcbw@redhat.com>
16784 * src/backends/NetworkManagerDebian.c
16785 - Add nm_system_device_get_use_dhcp() to debian backend
16787 Patch from Kay Sievers:
16788 * src/backends/NetworkManagerSuSE.c
16789 - Update debian backend for static IP nameservers
16791 * src/NetworkManagerDevice.c
16792 - Actually set the device to use static IP or DHCP rather
16795 2005-06-15 Dan Williams <dcbw@redhat.com>
16797 Patch from Thom May:
16798 * src/backends/NetworkManagerDebian.c
16799 - Update debian backend for static IP nameservers
16801 2005-06-15 Dan Williams <dcbw@redhat.com>
16803 Patches from Robert Love:
16804 * gnome/applet/wireless-applet.glade
16805 - Tighten up wording
16807 * src/NetworkManagerDevice.c
16808 - Remove misplaced ';'
16811 initscript/Makefile.am
16812 initscript/SUSE/Makefile.am
16813 initscript/SUSE/networkmanager
16814 - Add SUSE initscript
16816 2005-06-12 David Zeuthen <davidz@redhat.com>
16818 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16820 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16822 * gnome/vpn-properties/nm-vpn-properties.c: New file
16824 * gnome/vpn-properties/Makefile.am: New file
16826 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16829 * src/vpn-manager/nm-vpn-manager.c
16830 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16831 instead of just a single one
16833 * src/vpn-manager/nm-dbus-vpn.c:
16834 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16836 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16838 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16839 Change the interface here to give a list of passwords. Also, don't
16840 require username, but do require service
16842 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16843 the binary for the auth-dialog and use that instead of putting up a
16844 dialog asking for a single password
16846 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16847 however do remember the service
16849 * gnome/applet/main.c (main): Setup i18n
16851 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16852 connection to '%s'" to the tooltip if we are connected using VPN
16853 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16854 key to determine whether we the auth-dialog needs to
16855 reprompt. Also cope with the fact that the auth-dialog now returns
16856 an array of passwords.
16857 (nmwa_menu_configure_vpn_item_activate): New handler for
16858 "Configure VPN..." menu item
16859 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16860 (is_vpn_available): New function to determine if we got any
16861 NM-compatible VPN software installed
16862 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16863 items only if we have NM-compatible VPN software installed
16864 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16865 logic for detecting when VPN connections are removed
16867 * gnome/applet/applet-dbus.h: Removed the prototypes for
16868 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16869 since these are defined elsewhere
16871 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16872 function used to keep track of whether the last attempt succeded
16873 (nmwa_dbus_filter): Update last_attempt according to whether the
16874 VPN connection could be established or not
16876 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16877 Change prototype to take an array of passwords, not just a single
16880 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16881 update service, not user
16882 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16883 dbus_active_vpn_name is not NULL before using it
16884 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16885 string array instead of assuming a single password
16887 * gnome/applet/applet-dbus-info.c:
16888 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16889 user name; don't read from gconf
16891 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16894 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16896 * configure.in: Add checks for gmodule-2.0.
16897 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16898 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16899 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16902 * vpn-daemons/Makefile.am: Removed
16904 * vpn-daemons/README: New file to describe extensions points for VPN
16907 2005-06-10 Dan Williams <dcbw@redhat.com>
16909 * src/backends/NetworkManagerRedHat.c
16910 - (get_current_profile_name): new function, grab current network profile name from
16911 /etc/sysconfig/network
16912 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16913 update an IP4 Config structure's settings from it
16914 - (nm_system_device_get_system_config): if we're using static IP on this device,
16915 get DNS info from current network profile
16917 2005-06-09 Dan Williams <dcbw@redhat.com>
16919 Patch from Robert Love:
16920 * src/NetworkManagerDevice.c
16921 src/NetworkManagerUtils.c
16922 - 64-bit build fixes
16924 2005-06-09 Dan Williams <dcbw@redhat.com>
16926 Patch from Kay Sievers and Robert Love:
16928 src/backends/Makefile.am
16929 src/backends/NetworkManagerSuSE.c
16932 2005-06-09 Dan Williams <dcbw@redhat.com>
16935 - Add NMWirelessScanMethod enum for scan methods
16937 * gnome/applet/applet-dbus-devices.c
16938 - (nmwa_dbus_update_scanning_enabled_cb): remove
16939 - (nmwa_dbus_update_scanning_enabled): remove
16940 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16941 since it got removed
16942 - (nmwa_dbus_enable_scanning): remove
16944 * gnome/applet/applet-dbus-info.c
16945 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16946 update the wireless scanning method from NMI
16947 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16948 method value to NetworkManager
16949 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16951 * gnome/applet/applet-dbus-info.h
16952 - Add prototype for nmi_dbus_signal_update_scan_method
16954 * gnome/applet/applet.c
16955 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16956 Wireless Scanning menu based on current wireless scan method
16957 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16958 signal for Wireless Scanning menu items, tell NetworkManager the new method
16959 and update our menu items to make sure the right one is checked
16960 - (nmwa_set_scanning_enabled_cb): remove
16961 - (nmwa_context_menu_update): remove references to pause_scanning_item
16962 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16964 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16966 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16967 so we get notified of preference values too
16968 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16970 * gnome/applet/applet.h
16971 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16972 - Add wireless scan method member to applet data
16973 - Remove pause_scanning_item, add Wireless Scanning submenu
16975 * src/NetworkManager.c
16976 - (nm_data_new): default to NM_SCAN_METHOD_ON
16977 - (main): grab scanning method from NMI if we can
16979 * src/NetworkManagerDbus.c
16980 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16981 nm_dbus_update_wireless_scan_method()
16982 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16984 - (nm_dbus_nmi_is_running): redundant function, removed
16985 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16986 when NMI comes back
16988 * src/NetworkManagerDevice.c
16989 - (nm_device_is_activated): return TRUE if the device is activated
16990 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16991 and we are activated
16994 - (nm_dbus_nm_set_scanning_enabled): removed
16995 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16996 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16998 2005-06-09 Dan Williams <dcbw@redhat.com>
17001 src/vpn-manager/nm-vpn-service.c
17002 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
17004 2005-05-27 Dan Williams <dcbw@redhat.com>
17006 * vpn-daemons/vpnc/nm-vpnc-service.c
17007 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
17008 Should fix the bug where the VPN connection terminates the first time.
17010 2005-05-20 Dan Williams <dcbw@redhat.com>
17013 - Differentiate VPN config signals between bad VPN config options
17016 * gnome/applet/applet-dbus-info.h
17017 - Add prototypes for wireless network and vpn connection update functions
17019 * gnome/applet/applet-dbus.c
17020 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17022 * gnome/applet/applet.c
17023 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17025 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17026 propogation to NetworkManager
17027 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17028 notify propogation to NetworkManager
17030 * src/NetworkManagerDbus.c
17031 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17032 are updating so a network can be removed from it if necessary
17034 * src/vpn-manager/nm-vpn-manager.c
17035 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17037 * vpn-daemons/vpnc/nm-vpnc-service.c
17038 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17039 - (nm_vpnc_dbus_signal_launch_failed): remove
17040 - (nm_vpnc_dbus_signal_connect_failed): remove
17041 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17042 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17043 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17044 for new generalized error signal function, remove config file stuff
17045 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17046 we can write configuration options to it
17047 - (nm_vpnc_config_file_generate): removed
17048 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17049 - (nm_vpnc_config_options_validate): validate the config options we receive
17050 from NetworkManager to block potential exploits
17051 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17053 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17056 2005-05-16 Dan Williams <dcbw@redhat.com>
17058 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17059 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17062 2005-05-16 Dan Williams <dcbw@redhat.com>
17064 Patch from Tomislav Vujec <tvujec@redhat.com>
17065 * gnome/applet/applet-dbus-info.c
17066 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17067 GConf and pass them to NetworkManager. New key is 'routes' under
17068 the VPN connection, and should be a string list
17070 * src/NetworkManagerSystem.c
17071 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17072 set them on the device when we set the rest of the VPN config. Ensure
17073 they are in the correct format since they are passed directly to the
17076 * src/backends/NetworkManagerRedHat.c
17077 src/backends/NetworkManagerDebian.c
17078 - (nm_system_device_add_route_via_device_with_iface): new function
17080 * src/vpn-manager/nm-dbus-vpn.c
17081 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17083 * src/vpn-manager/nm-vpn-manager.c
17084 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17085 them into the IP4 config functions
17087 2005-05-15 Dan Williams <dcbw@redhat.com>
17089 From Filip Miletic:
17093 - Serbian translation added
17095 2005-05-15 Dan Williams <dcbw@redhat.com>
17097 * dispatcher-daemon/NetworkManagerDispatcher.c
17098 - (main): sync arguments with NetworkManager and the applet, now use
17099 "--no-daemon" rather than "daemon=no"
17100 - (nmd_print_usage): Fix script path in usage message
17102 2005-05-15 Dan Williams <dcbw@redhat.com>
17104 * src/NetworkManagerDevice.[ch]
17105 src/NetworkManagerPolicy.c
17106 src/NetworkManager.c
17108 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17109 longer send the DeviceNoLongerActive signal unconditionally, but only
17110 when the device is actually active.
17112 * dispatcher-daemon/NetworkManagerDispatcher.c
17113 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17114 and simplify the logic
17115 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17116 we free it later on
17118 * initscript/RedHat/Makefile.am
17119 initscript/RedHat/NetworkManagerDispatcher
17120 - Add initscript for NetworkManagerDispatcher
17123 Patch from Bill Moss:
17124 * dispatcher-daemon/NetworkManagerDispatcher.c
17125 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17127 * src/NetworkManagerDbus.c
17128 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17129 and DeviceNowActive gets signaled, then the device has a new IP address
17130 anyway. There's no need for a separate signal.
17132 * src/NetworkManagerDevice.c
17133 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17135 * src/NetworkManagerPolicy.c
17136 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17137 activates successfully. This kind of went missing when I reworked the
17140 2005-05-15 Dan Williams <dcbw@redhat.com>
17143 - Check for dhcdbd and error if its not found
17145 * src/dhcp-manager/Makefile.am
17146 src/dhcp-manager/nm-dhcp-manager.c
17147 - Use path to dhcdbd that configure found
17149 2005-05-14 Dan Williams <dcbw@redhat.com>
17151 * gnome/applet/nm-device.c
17152 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17153 sort wireless networks alphabetically
17155 * gnome/applet/applet-dbus-devices.c
17156 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17157 before copying them over to the GUI
17159 2005-05-14 Dan Williams <dcbw@redhat.com>
17161 * src/NetworkManager.c
17162 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17163 fixes a deadlock on shutdown with a VPN connection active. This function locks
17164 the device list, as does nm_get_active_device() which is called from
17165 nm_vpn_manager_deactivate_vpn_connection().
17167 2005-05-14 Dan Williams <dcbw@redhat.com>
17170 - Add signals for VPN Launch and Connect failures
17172 * gnome/applet/applet-dbus.c
17173 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17175 * gnome/applet/applet.c
17176 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17177 function to handle all VPN failure messages
17178 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17179 function to hanlde all VPN failure messages
17180 - (show_warning_dialog): work around focus-stealing prevention
17182 * gnome/applet/other-network-dialog.c
17183 gnome/applet/passphrase-dialog.c
17184 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17185 problem where it never enabled for ASCII Key and Hex Key types
17187 * gnome/applet/wireless-applet.glade
17188 - Add window title to Other Wireless Network Dialog
17190 * src/vpn-manager/nm-dbus-vpn.c
17191 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17192 function to handle all VPN failure messages
17194 * src/vpn-manager/nm-vpn-manager.c
17195 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17197 * vpn-daemons/vpnc/nm-vpnc-service.c
17198 - (nm_vpnc_dbus_signal_launch_failed): new function
17199 - (nm_vpnc_dbus_signal_connect_failed): new function
17200 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17201 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17202 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17203 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17205 2005-05-11 Dan Williams <dcbw@redhat.com>
17207 * vpn-daemons/vpnc/nm-vpnc-service.c
17208 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17209 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17210 file exists before trying to write it out.
17212 2005-05-10 Dan Williams <dcbw@redhat.com>
17214 * gnome/applet/applet-dbus-device.c
17215 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17216 prevented just entering ESSID and leaving key and key type up to
17217 NetworkManager (which should have them already cached)
17219 2005-05-08 Dan Williams <dcbw@redhat.com>
17221 * src/NetworkManagerPolicy.c
17222 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17223 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17224 fix a situation where NM is told to terminate and the device stops activation,
17225 but the main thread isn't aware of that because it would never have run
17226 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17229 * src/NetworkManagerDevice.c
17230 - (nm_device_probe_wired_link_state): cosmetic fixes
17231 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17232 we've failed to activate or been canceled.
17233 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17235 2005-05-08 Dan Williams <dcbw@redhat.com>
17237 * src/NetworkManagerWireless.c
17238 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17239 value of WEXT quality structures, and add a debug message when we cannot
17240 determine any quality % at all
17242 2005-05-08 Dan Williams <dcbw@redhat.com>
17244 * src/dhcp-manager/nm-dhcp-manager.c
17245 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17248 2005-05-06 Dan Williams <dcbw@redhat.com>
17250 * gnome/applet/applet-dbus-device.c
17251 gnome/applet/applet-dbus-info.c
17252 gnome/applet/applet-dbus.c
17253 gnome/applet/applet.c
17254 gnome/applet/applet.h
17255 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17257 * gnome/applet/applet-dbus.c
17258 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17259 so we notice when wired device's carriers come back on. Should
17260 fix issue with wired devices being grayed out even if the cable
17261 is in, for devices that support carrier detection.
17263 * gnome/applet/applet.c
17264 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17265 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17267 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17268 Fix situation where applet wouldn't respond to menu selections
17270 * src/NetworkManager.c
17271 src/NetworkManagerDevice.c
17272 src/NetworkManagerDbus.c
17273 src/NetworkManagerDbus.h
17274 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17276 * src/NetworkManagerDbus.c
17277 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17278 Remove, no longer used or relevant
17279 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17280 - (nm_dbus_schedule_device_status_change_signal): add
17282 * src/NetworkManagerDevice.c
17283 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17284 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17285 ie don't deactivate them unless explicitly told to by the user. Also send
17286 CARRIER_OFF / CARRIER_ON signals when link changes
17287 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17288 Don't print error message when device is no longer around
17289 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17290 not just during activation
17292 * src/NetworkManagerPolicy.c
17293 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17294 auto-device-selection.
17295 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17297 * src/NetworkManagerSystem.c
17298 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17299 is no longer present (Bill Moss)
17301 * src/backends/shvar.c
17302 - (svOpenFile): Open read-only to make SELinux happy
17304 * src/backends/NetworkManagerRedHat.c
17305 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17306 the path to the ifcfg-* files
17308 2005-05-05 Dan Williams <dcbw@redhat.com>
17310 * Expose activation stages to NetworkManager clients, like the applet
17311 * Add Diana's progress icons to the applet, cued off NM activation stage
17312 * Use more descriptive tooltips, cued off NM activation stage
17314 2005-05-05 Ray Strode <rstrode@redhat.com>
17316 * src/nm-netlink-monitor.c:
17317 - Use clear_event_source instead of g_nullify_pointer() again.
17319 2005-05-05 Dan Williams <dcbw@redhat.com>
17321 * gnome/applet/main.c
17322 - Fix session management so the applet is actually managed now
17324 * gnome/applet/passphrase-dialog.c
17325 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17327 2005-05-05 Dan Williams <dcbw@redhat.com>
17329 Patch from Bill Moss:
17330 * gnome/libnm_glib/libnm_glib.c
17331 - Fix for dbus-0.33
17333 2005-05-05 Dan Williams <dcbw@redhat.com>
17335 Suggestion from Bill Moss:
17336 * src/NetworkManagerSystem.c
17337 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17340 * src/NetworkManager.c
17341 - (nm_data_free): move destruction of the various managers after
17342 release of device list, because deactivating and freeing a device
17343 requires at least the named manager
17344 - (nm_poll_and_update_wireless_link_state):
17345 (nm_device_link_activated):
17346 (nm_device_link_deactivated):
17347 don't grab the device list lock when actually updating device
17348 link status or strength, since nm_device_set_link_active()
17349 needs to call nm_get_active_device(), which also locks the device list.
17351 * src/NetworkManagerDevice.c
17352 - (nm_device_set_link_active): if a device's link switches from off->on,
17353 and it's wired, and the active device is wireless (or there is no
17354 active device), activate the new device whose link just came on
17355 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17356 my only calling the link to the current ap "failed" when more than 2
17357 consecutive link checks have failed
17359 2005-05-04 Dan Williams <dcbw@redhat.com>
17361 * src/NetworkManagerDevice.c
17362 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17363 but let link_to_specific_ap() do the locking where it needs
17365 Patch from Bill Moss:
17366 * src/NetworkManagerSystem.c
17367 - Set MTU of VPN devices to 1412
17369 2005-05-04 Dan Williams <dcbw@redhat.com>
17371 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17373 * Fix some holes in device activation and retaining the currently connected
17376 2005-05-03 Dan Williams <dcbw@redhat.com>
17378 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17379 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17380 means you need dhcdbd, which you can get here (get the latest one):
17382 http://people.redhat.com/jvdias/dhcdbd/
17384 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17385 interface as dhcdbd.
17387 * Rewrite device activation to facilitate the new DHCP infrastructure and
17388 future improvements. Its now "activation request" based, ie there is a single
17389 activation request composed of the device, access point, and other info which
17390 follows the entire activation process. There are 5 stages of the activation
17391 process which correspond to:
17393 1) Device preparation
17394 2) Device configuration (bring it up, set ESSID/Key/etc)
17395 3) IP Config Start (fire off DHCP if we're using it)
17396 4) IP Config Get (grab config from DHCP or static config files)
17397 5) IP Config Commit (set device's IP address, DNS, etc)
17399 Note that there is no longer a "scanning" step, since the access point must
17400 be known _before_ activation starts. If the access point drops out or does
17401 not exist for some reason, the entire activation process fails and must be
17402 restarted for a different access point or device.
17404 Patch from Bill Moss:
17405 * gnome/applet/applet.c
17406 - Fix type of vpn_failure dialog -> vpn_banner dialog
17408 2005-04-27 Dan Williams <dcbw@redhat.com>
17410 * gnome/applet/applet-dbus-vpn.c
17411 gnome/applet/applet.c
17412 gnome/applet/applet.h
17413 - Fix up active VPN handling so that we reliably know when a VPN
17414 connection has been deactivated
17416 * src/vpn-manager/nm-vpn-manager.c
17417 - Remove duplicate VPNConnectionChange signal
17419 2005-04-27 Dan Williams <dcbw@redhat.com>
17421 Patch from Peter Jones:
17422 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17424 Patch from Bill Moss:
17425 * src/NetworkManagerSystem.c
17426 - Fix checking of return value from ioctl()
17428 2005-04-27 Dan Williams <dcbw@redhat.com>
17430 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17431 * Warn and exit if icons cannot be found
17433 2005-04-27 Dan Williams <dcbw@redhat.com>
17435 Patch from Tom Parker:
17436 * Update debian backend
17438 2005-04-27 Dan Williams <dcbw@redhat.com>
17440 * Merge the applet and the info-daemon, and move the converged
17441 applet under gnome/applet
17442 * Move libnm_glib to gnome/libnm_glib
17443 * Convert most dbus calls between the applet, info-daemon, and NM
17445 * Fix a few things valgrind noticed
17446 * Make NM broadcast state more reliably
17448 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17450 * configure.in: Added ne in ALL_LINGUAS
17452 2005-04-15 Dan Williams <dcbw@redhat.com>
17454 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17455 code for dbus 0.2x versions
17457 2005-04-15 Dan Williams <dcbw@redhat.com>
17459 Patches from Tom Parker:
17461 - Join with worker thread rather than polling for its exit
17463 Patch from Bill Moss:
17464 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17466 2005-04-15 Dan Williams <dcbw@redhat.com>
17468 - Fixes to pass 'make distcheck'
17470 2005-04-15 Dan Williams <dcbw@redhat.com>
17472 Initial VPN Support
17474 - reworks device IP configuration, backend files have changed and will need
17475 to be updated for all distributions. I will try to do what I can for
17476 them, but I cannot test them.
17478 - Move named directory to src/named-manager
17479 - Make backends directory self-contained
17481 2005-04-06 Dan Williams <dcbw@redhat.com>
17483 Add debug code for socket/file descriptor leaks. We register every socket
17484 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17485 list of sockets that we forgot to close on shutdown. This also consolidates
17486 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17488 2005-04-06 Dan Williams <dcbw@redhat.com>
17491 - (dhcp_interface_free): fix a file descriptor leak that may have
17492 caused network drivers to not unload due to refcounts > 0
17494 2005-04-04 Dan Williams <dcbw@redhat.com>
17496 * panel-applet/NMWirelessAppletDbus.c
17497 - (nmwa_dbus_call_nm_method): remove some commented code
17499 * src/NetworkManagerAPList.[ch]
17500 - (nm_ap_list_remove_ap_by_essid): new function
17502 * src/NetworkManagerDevice.c
17503 - (nm_device_wireless_force_use): remove access points from the ignore list
17504 when the user forces them
17506 * src/nm-dbus-device.c
17507 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17509 2005-04-04 Dan Williams <dcbw@redhat.com>
17511 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17513 2005-04-04 Dan Williams <dcbw@redhat.com>
17515 * src/NetworkManagerDevice.c:
17516 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17517 of only erroring after the second consecutive scan times out. Also
17518 don't exit when the card requires more time than we can give it, just
17519 log the event and continue.
17521 2005-04-01 Steve Murphy <murf@e-tools.com>
17523 * configure.in: Added "rw" to ALL_LINGUAS.
17525 2005-04-01 Dan Williams <dcbw@redhat.com>
17527 Perform scans during device activation, if needed. Both activation
17528 and scans run in the same GMainContext. Therefore, if an access point
17529 is not found by the time the device starts activation, it will not
17530 be available until after activation. We now try to scan during
17531 activation (in nm_wa_test) every 15s so that all available access
17532 points are more likely to be found and available for the activation
17535 Also change nm_wireless_link_state_handle() to only update the "best"
17536 AP if we are not forcing a device and if we are not about to change
17537 state. This attempts to work around a race when forcing a device,
17538 where the forced AP would get cleared out too soon by the link state
17539 checking timeout in the main thread, and the activation attempt with
17540 that AP would fail.
17542 2005-04-01 Dan Williams <dcbw@redhat.com>
17545 - Update with new translatables
17547 2005-03-31 Dan Williams <dcbw@redhat.com>
17549 * panel-applet/NMWirelessAppletDbus.c
17550 - Fix device names now that hal has changed device parenting for
17553 2005-03-31 Dan Williams <dcbw@redhat.com>
17555 Tighten up handling of wireless devices that don't support wireless
17556 scanning (ie, Orinoco). Due to restructuring of code, these devices
17557 hadn't been doing pseudo-scanning for a while either and would just
17558 spin waiting for an access point. They are now manual devices where
17559 the user must choose the access point from the menu every time. All
17560 "allowed" access points are listed in the applet's menu regardless
17561 of whether or not they can be seen by the card, since it can't scan
17564 * src/NetworkManager.c
17565 - (nm_wireless_link_state_handle): new function, but only update
17566 the "best" ap for non-scanning devices when its not activating,
17567 and when no device is being forced on the card
17568 - (nm_link_state_monitor): split wireless link state handling out
17569 into separate function
17571 * src/NetworkManagerDevice.c
17572 - (nm_device_copy_allowed_to_dev_list): new function
17573 - (nm_device_new): populate non-scanning cards' AP lists with
17574 access points from the "allowed" list
17575 - (nm_device_new): don't start a scanning timeout for devices that
17577 - (nm_device_activation_schedule_finish): new parameter, should be
17578 the AP that failed to be connected to, pass it on to the
17579 activation finish function in NetworkManagerPolicy.c
17580 - (nm_device_activate_wireless): don't ever try to get a new AP
17581 for non-scanning devices, just fail. The user must choose
17582 a new access point manually.
17583 - (nm_device_activate): grab the AP that failed connection and
17585 - (nm_device_update_best_ap): Clear the best AP if we don't have
17586 a link to it, user must manually choose a new one
17587 - (nm_device_do_pseudo_scan): remove function
17588 - (nm_device_wireless_process_scan_results): remove bits for non-
17589 scanning cards since they never get here
17590 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17591 and fake the scan list for test devices a bit earlier
17593 * src/NetworkManagerPolicy.c
17594 - (nm_policy_activation_finish): use the failed_ap that we get
17595 passed rather than getting the best_ap from the card, which
17596 may have changed since we were scheduled
17597 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17598 update their scan list directly from the allowed list when
17599 we get updates to the allowed list from NetworkManagerInfo
17601 * src/NetworkManagerPolicy.h
17602 - New member for failed access point in NMActivationResult
17604 -------------------------------------
17606 Driver Notification patch: notifies the user when their driver
17607 sucks. Gives them the option to ignore further insertions
17608 of the card that has the sucky driver.
17611 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17612 enum and replace it with NO_CARRIER_DETECT and
17615 * panel-applet/NMWirelessApplet.[ch]
17616 - Merge essid.glade -> wireless-applet.glade
17617 - Implement the "Your driver sucks" notification dialog
17619 * panel-applet/NMWirelessAppletDbus.c
17620 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17621 - Grab hardware address for each device from NM too
17622 - Check whether the driver for each device sucks or not whenever
17623 a new device is noticed
17625 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17626 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17628 * src/NetworkManager.c
17629 - Fix a double-unref on device removal
17631 * src/NetworkManagerUtils.c
17632 - Set appropriate driver support level on a device that doesn't
17633 support scanning or carrier detection
17635 * src/nm-dbus-device.c
17636 - New "getHWAddress" dbus method on devices
17637 - getSupportsCarrierDetect -> getDriverSupportLevel
17639 2005-03-31 Dan Williams <dcbw@redhat.com>
17641 * src/NetworkManagerDevice.c
17642 - (nm_device_wireless_scan): Fix leak of scan results in some
17645 2005-03-29 Dan Williams <dcbw@redhat.com>
17647 * src/NetworkManager.c
17648 - (nm_poll_and_update_wireless_link_state): make code less indented
17650 Patch from Bill Moss:
17651 * src/NetworkManager.c
17652 - (nm_device_update_link_state): Update signal strength on wireless
17653 devices every time we update link state too.
17655 2005-03-29 Dan Williams <dcbw@redhat.com>
17657 * src/NetworkManagerDevice.c
17658 - (nm_device_set_essid): Work around Orinoco cards which need
17659 extra time after setting the ESSID
17661 2005-03-29 Dan Williams <dcbw@redhat.com>
17663 * src/NetworkManagerDevice.c
17664 - Merge one more bit of Peter Jones' completion patch
17666 2005-03-29 Dan Williams <dcbw@redhat.com>
17668 * src/NetworkManagerDevice.c
17669 - (nm_device_force_use): Fix possible segfault
17671 2005-03-29 Dan Williams <dcbw@redhat.com>
17673 * src/NetworkManagerDevice.c
17674 - Use iw_get_ext() where we should rather than iw_set_ext()
17676 2005-03-29 Dan Williams <dcbw@redhat.com>
17678 * src/NetworkManagerDevice.c
17679 - (nm_device_set_up_down): remove check for unsupported devices
17680 that caused NM to not bring devices up when they were
17681 added to the device list.
17683 2005-03-28 Dan Williams <dcbw@redhat.com>
17685 * src/NetworkManagerDevice.c
17686 - (mdio_read): Fix two bugs that caused all devices to fail
17687 the MII carrier detection support checks
17689 2005-03-26 Dan Williams <dcbw@redhat.com>
17691 * src/NetworkManagerDevice.c
17692 - (nm_device_wireless_scan): Remove duplicated scanning code
17694 2005-03-25 Dan Williams <dcbw@redhat.com>
17696 * panel-applet/NMWirelessApplet.c
17697 - (nmwa_about_cb): Add some more contributors
17698 - (nmwa_update_state): show the applet when there's no connection
17699 - Enable the "Stop/Resume all wireless devices" option in the
17701 - New "no connection" icon
17703 * src/NetworkManager.c
17704 - (nm_poll_and_update_wireless_link_state): don't do anything if
17705 wireless is disabled or we're asleep
17707 * src/NetworkManagerDHCP.c
17708 - Remove trailing "\n" on debug messages
17710 * src/NetworkManagerDbus.c
17711 - (nm_dbus_network_status_from_data): new state "asleep"
17713 * src/NetworkManagerDevice.c
17714 - Merge most of Peter Jones' "completion" patch that greatly reduces
17715 latency and wait times for most operations
17716 - (nm_device_wireless_scan): Don't scan when asleep
17718 * src/NetworkManagerPolicy.c
17719 - (nm_policy_get_best_device): return no device when asleep
17720 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17721 for all wireless devices on update, not just active device
17723 * src/NetworkManagerUtils.c
17724 - Merge Peter Jones' "completion" patch
17727 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17728 we're told to disable them
17729 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17732 - New variants of the warn/info/error/debug print functions that can take
17733 variables rather than static strings
17735 2005-03-24 Dan Williams <dcbw@redhat.com>
17737 * src/NetworkManagerUtils.c
17738 - (nm_get_device_driver_name): driver names are now on the parents of
17739 "Network Interface" objects, so look for them there
17741 2005-03-24 Dan Williams <dcbw@redhat.com>
17744 - Escape some forgotten object paths before we shove them through dbus
17746 2005-03-24 Dan Williams <dcbw@redhat.com>
17748 * dhcpcd/dhcpcd.[ch]
17749 src/NetworkManagerDHCP.c
17750 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17751 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17753 * src/NetworkManagerDbus.c
17756 * src/nm-dbus-dhcp.c
17757 - Make the API suck less. There is now only 1 type of each function,
17758 ie only "getInteger" and no longer also "getIntegerv". All types
17759 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17760 that will never have more than 1 element. This should simplify
17763 * test/nm-dhcp-opt-test.c
17764 - Make the tool not segfault
17765 - adapt to new DHCP Options API
17767 2005-03-22 Dan Williams <dcbw@redhat.com>
17769 * src/NetworkManager.c
17770 - (nm_wired_link_deactivated): actually ignore netlink events from
17773 2005-03-22 Dan Williams <dcbw@redhat.com>
17775 * src/NetworkManager.c
17776 - (nm_wired_link_activated): actually ignore netlink events from
17779 2005-03-17 Dan Williams <dcbw@redhat.com>
17781 Patch from Tom Parker:
17782 * src/nm-netlink-monitor.c
17784 * info-daemon/NetworkManagerInfoDbus.c
17785 - (nmi_dbus_update_network_auth_method): free GConf values
17787 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17788 * src/NetworkManagerDevice.c
17789 - (nm_device_set_wireless_config): wait for successful
17790 association longer for some cards (Atheros a/b/g)
17792 2005-03-15 Ray Strode <rstrode@redhat.com>
17794 * src/NetworkManager.c:
17795 (sigterm_pipe_handler):
17798 2005-03-15 Ray Strode <rstrode@redhat.com>
17800 * src/NetworkManagerDbus.c:
17801 Fix some sign weirdness that gcc4 doesn't like,
17802 and add a header file so PPC can hopefully find
17805 2005-03-14 Ray Strode <rstrode@redhat.com>
17807 Fourth (probably working) cut at porting to
17808 dbus 0.30 api and new hal. This cut adds
17809 some new logging macros to make debugging
17812 * dispatcher-daemon/NetworkManagerDispatcher.c:
17813 * info-daemon/NetworkmanagerInfo.c:
17814 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17815 * info-daemon/NetworkManagerInfoVPN.c:
17816 * src/NetworkManager.c:
17817 * src/NetworkManagerAP.c:
17818 * src/NetworkManagerAPList.c:
17819 * src/NetworkManagerDHCP.c:
17820 * src/NetworkManagerDbus.c:
17821 * src/NetworkManagerDevice.c:
17822 * src/NetworkManagerPolicy.c:
17823 * src/NetworkManagerSystem.c:
17824 * src/NetworkManagerUtils.c:
17825 * src/NetworkManagerWireless.c:
17827 * src/nm-dbus-nm.c:
17828 * src/backends/NetworkManagerDebian.c:
17829 * src/backends/NetworkManagerGentoo.c:
17830 * src/backends/NetworkManagerRedHat.c:
17831 * src/backends/NetworkManagerSlackware.c:
17832 use new logging macros.
17834 * dispatcher-daemon/NetworkManagerDispatcher.c:
17835 (nmd_dbus_filter): s/dbus_free/g_free/
17837 * info-daemon/Makefile.am: link in utils library.
17838 * info-daemon/NetworkmanagerInfo.c: use new logging
17840 (nmi_dbus_get_network): don't assume enumerations
17842 (nmi_dbus_nmi_message_handler): don't free what
17843 doesn't belong to us.
17845 * libnm_glib/libnm_glib.c:
17846 (libnm_glib_get_nm_status):
17847 (libnm_glib_init): don't free what doesn't
17849 (libnm_glib_dbus): strdup result, so it doesn't get
17850 lost when message is unref'd.
17852 * panel-applet/NMWirelessAppletDbus.c:
17853 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17855 * src/NetworkManager.c:
17856 (nm_monitor_wired_link_state): request initial status
17857 dump of all cards when we start up, instead of relying
17858 on /sys/.../carrier.
17859 (nm_info_handler), (nm_set_up_log_handlers):
17860 log handlers to specify what syslog priorites
17861 the logging macros default to.
17863 * src/NetworkManagerAPList.c:
17864 (nm_ap_list_populate_from_nmi):
17865 s/dbus_free_string_array/g_strfreev/
17867 * src/NetworkManagerDbus.c:
17868 (nm_dbus_get_network_object):
17869 validate d-bus message argument types.
17870 Advance message iterator after reading argument,
17871 prepend instead of append to GSList.
17873 * src/NetworkManagerDevice.c:
17874 (nm_device_probe_wired_link_status):
17875 remove redundant /sys in /sys path. remove wrong
17876 contents == NULL means has carrier assumption.
17878 * src/nm-netlink-monitor.c
17879 (nm_netlink_monitor_request_status): implement
17880 function to ask kernel to dump interface link
17881 status over netlink socket.
17883 * test/*.c: s/dbus_free/g_free/
17885 * utils/nm-utils.h:
17886 (nm_print_backtrace): new macro to print backtrace.
17887 (nm_get_timestamp): new macro to get sub-second precise
17889 (nm_info), (nm_debug), (nm_warning), (nm_error):
17890 new logging functions. nm_info just prints,
17891 nm_debug includes timestamp and function,
17892 nm_warning includes function, nm_error includes
17893 backtrace and sigtrap.
17895 2005-03-11 Ray Strode <rstrode@redhat.com>
17897 Third (unfinished, partially working) cut at porting to
17898 dbus 0.30 api and new hal.
17900 * info-daemon/NetworkManagerInfoDbus.c:
17901 don't free null arrays.
17903 * panel-applet/NMWirelessAppletDbus.c:
17904 * src/nm-dbus-device.c:
17905 * src/nm-dbus-net.c:
17906 * src/NetworkManagerDbus.c: more
17907 STRING -> OBJECT_PATH fun
17908 * src/NetworkManagerDevice.c:
17909 * src/NetworkManagerDevice.h:
17910 (rename nm_device_get_link_active): rename to
17911 nm_device_has_active_link
17912 (nm_device_wireless_link_active): rename to
17913 nm_device_probe_wireless_link_state
17914 (nm_device_wired_link_active): rename to
17915 nm_device_probe_wired_link_state. Rewrite to
17916 use carrier file since hal doesn't maintain
17917 link state anymore.
17918 (nm_device_update_link_active): rename to
17919 nm_device_update_link_state
17920 * src/NetworkManagerPolicy.c
17921 (nm_policy_activation_finish): check for NULL
17925 * src/NetworkManagerMain.h:
17926 * src/NetworkManager.c:
17927 * src/nm-netlink-monitor.c:
17928 * src/nm-netlink-monitor.h: New class to support
17929 monitoring wired ethernet link status, since HAL
17930 doesn't export that information anymore.
17932 2005-03-09 Ray Strode <rstrode@redhat.com>
17934 Second (unfinished, unworking) cut at porting to
17937 * dispatcher-daemon/NetworkManagerDispatcher.c:
17938 * info-daemon/NetworkManagerInfoDbus.c:
17939 * panel-applet/NMWirelessAppletDbus.c:
17940 * src/NetworkManagerDbusUtils.c:
17941 * src/NetworkManagerDbusUtils.h:
17942 * src/nm-dbus-device.c:
17943 * src/nm-dbus-nm.c:
17944 * test/nmtest.c: support dbus "object path" type
17948 * info-daemon/Makefile.am:
17949 * libnm_glib/Makefile.am:
17950 * panel-applet/Makefile.am:
17951 * dispatcher-daemon/Makefile.am
17953 * test/Makefile.am:
17954 * utils/Makefile.am:
17955 * utils/nm-utils.c:
17956 * utils/nm-utils.h: new utils static lib
17958 2005-03-07 Ray Strode <rstrode@redhat.com>
17960 * info-daemon/NetworkManagerInfoDbus.c:
17961 * libnm_glib/libnm_glib.c:
17962 * panel-applet/NMWirelessAppletDbus.c:
17963 * src/NetworkManager.c:
17964 * src/NetworkManagerDbus.c:
17965 * src/NetworkManagerDevice.c:
17966 * src/NetworkManagerUtils.c:
17967 * src/nm-dbus-device.c:
17968 * src/nm-dbus-dhcp.c:
17969 * src/nm-dbus-net.c:
17970 * src/nm-dbus-nm.c:
17971 * test/nminfotest.c:
17972 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17974 2005-03-04 Dan Williams <dcbw@redhat.com>
17979 2005-03-04 Dan Williams <dcbw@redhat.com>
17981 Patch from Peter Jones:
17982 - Make stuff work with gcc 4.0
17984 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17986 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17988 2005-02-27 Jim Huang <jserv@kaffe.org>
17990 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17992 2005-02-27 Dan Williams <dcbw@redhat.com>
17994 Patch from Bill Moss:
17995 * panel-applet/NMWirelessAppletDbus.c
17996 - Make sure strength for current access point is up-to-date when we
17997 update the gui data model
17999 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
18001 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
18003 2005-02-27 Dan Williams <dcbw@redhat.com>
18005 * src/backends/NetworkManagerRedHat.c
18006 - (nm_system_init): Kill any dhclient processes lying around as well
18007 as stopping 'nifd' if its already been started. NetworkManager
18008 subsumes the functions of nifd (kicking mDNSResponder, autoip)
18010 2005-02-27 Dan Williams <dcbw@redhat.com>
18012 * panel-applet/NMWirelessApplet.c
18013 - (nmwa_destroy): Really mean to destroy GUI data model first, then
18014 dbus data model, not the GUI data model twice.
18016 2005-02-27 Dan Williams <dcbw@redhat.com>
18018 * panel-applet/NMWirelessApplet.[ch]
18019 panel-applet/NMWirelessAppletDbus.[ch]
18020 - Move to incremental network updates. Instead of blowing away our list
18021 of devices every time we get a signal from NetworkManager, we now
18022 incrementally add/remove networks when NetworkManager notifies us that
18023 a new network has appeared or disappered. Strength updates now happen
18024 on-the-fly for each access point as well. There are now two copies of
18025 data from NetworkManager: one for the dbus side, and one for the gui side.
18026 When the dbus side data is modified, it is copied over to the gui side
18027 so we don't have to hold the data_mutex for long periods of time (and
18028 therefore block animation of the applet's icon).
18029 - Clean up some memleaks too
18031 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18032 - Minor code beautification
18034 * src/NetworkManagerAPList.c
18035 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18036 completely new and whether or not an existing one's strength was updated.
18037 Try to fix multiple access points and signal strength by using the highest
18038 signal strength in each scan for any given ESSID.
18040 * src/NetworkManagerDbus.[ch]
18041 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18042 wireless networks; now we have only WirelessNetworkUpdate which includes
18043 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18044 - Kill usage of DbusMessageIter
18046 * src/NetworkManagerDevice.c
18047 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18048 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18049 AP rather than all-at-once. Also don't ever remove the AP a card is
18050 currently associated with from the network list.
18051 - Update for new signals during scan, send out Appeared, Disappeared, or
18052 StrengthChanged when necessary.
18054 2005-02-25 Dan Williams <dcbw@redhat.com>
18057 - Line break the README
18059 2005-02-25 Dan Williams <dcbw@redhat.com>
18061 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18062 - Remove usage of gtk_window_set_default_size()
18064 * panel-applet/essid.glade
18065 - Stick default size here
18066 - Add in random crap that current glade wants to add in now
18068 2005-02-25 Dan Williams <dcbw@redhat.com>
18070 * src/backends/NetworkManagerRedHat.c
18071 - For non-caching-nameserver/non-named case, ensure that nscd is running
18072 and that we actually tell nscd to reload the hosts cache when it changes
18074 2005-02-25 Dan Williams <dcbw@redhat.com>
18076 * info-daemon/NetworkManagerInfoDbus.c
18077 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18079 * test/nminfotest.c
18080 - Whack usage of DbusMessageIter
18081 - Clean up DbusError and DbusMessage handling and freeing
18082 - Remove unused unregister handler
18085 - Whack usage of DbusMessageIter
18087 * test/nmtestdevices.c
18088 - Whack usage of DbusMessageIter
18090 2005-02-25 Dan Williams <dcbw@redhat.com>
18093 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18096 2005-02-25 Dan Williams <dcbw@redhat.com>
18098 * named/nm-named-manager.c
18099 - Ensure that pid and watch variables for child named process get cleared out
18100 when the child goes away.
18102 2005-02-22 Dan Williams <dcbw@redhat.com>
18104 * src/NetworkManagerPolicy.c
18105 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18106 and NULL out data->active_device so that we have to choose another one.
18107 This may make NetworkManager keep attempting to connect to a wired network
18108 if it fails, but if it keeps failing the wired network has more problems than
18109 just NetworkManager.
18111 * src/backends/NetworkManagerRedHat.c
18112 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18115 * named/nm-named-manager.c
18116 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18117 named so that the distro can flush whatever name service caching
18120 2005-02-21 Dan Williams <dcbw@redhat.com>
18122 * src/NetworkManagerDHCP.[ch]
18123 - (nm_device_dhcp_remove_timeouts): new function
18125 * src/NetworkManagerDevice.c
18126 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18127 remove the DHCP timeouts.
18129 2005-02-21 Dan Williams <dcbw@redhat.com>
18131 * panel-applet/NMWirelessApplet.[ch]
18132 panel-applet/menu-info.[ch]
18133 - Give the panel applet some major love: menu items are no longer
18134 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18135 This allows the applet to actually reflect theme changes correctly,
18136 since themeing of subclassed items in GTK _sucks_.
18138 2005-02-18 Dan Williams <dcbw@redhat.com>
18140 * libnm_glib/libnm_glib.[ch]
18141 test/libnm_glib_test.c
18142 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18143 and its data, and doesn't have to free the callback data anymore
18145 2005-02-18 Dan Williams <dcbw@redhat.com>
18147 * panel-applet/NMWirelessApplet.c
18148 - Revert 2005-02-18 William Jon McCann fix for standard
18149 copyright string until it passes 'make distcheck'.
18150 With standard copyright string, xgettext complains
18151 about "Non-ASCII string at ...".
18153 2005-02-18 Dan Williams <dcbw@redhat.com>
18155 * panel-applet/essid.glade
18156 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18157 - Correct spelling of "adaptor"->"adapter"
18159 2005-02-18 William Jon McCann <mccann@jhu.edu>
18161 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18162 (nmwa_about_cb): Use standard copyright string. Update comment
18163 text to reflect that it is a notification area applet. Remove
18164 leading newline in authors list.
18165 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18166 instead of on parent menu item activation. Fixes #167550.
18168 2005-02-18 William Jon McCann <mccann@jhu.edu>
18170 * panel-applet/essid.glade: Capitalize items as per HIG.
18173 2005-02-16 William Jon McCann <mccann@jhu.edu>
18175 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18176 files for GTK 2.4 or lower, since now public in GTK 2.6.
18178 * panel-applet/essid.glade: Don't specify window size.
18180 2005-02-17 Dan Williams <dcbw@redhat.com>
18182 Caught by Bill Moss:
18184 - Time remaining for DHCP transaction calculation was incorrectly
18185 inside a #ifdef DEBUG
18187 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18189 * configure.in: Added fr (French) to ALL_LINGUAS.
18191 2005-02-14 Dan Williams <dcbw@redhat.com>
18193 * src/NetworkManagerDHCP.c
18194 - (set_domain_searches): Fix free of invalid pointer
18196 2005-02-14 Dan Williams <dcbw@redhat.com>
18198 Patch from Peter Jones:
18200 - Ensure we return RET_DHCP_CEASED everywhere we should
18201 * dhcpcd/udpipgen.c
18202 - Use faster TOS for IP packets
18203 - Don't set ip_id since we're UDP
18205 Patch from Tomislav Vujec:
18206 * src/nm-dbus-dhcp.c
18207 test/nm-dhcp-opt-test.c
18208 - Clean up warnings to enable cvs tree compilation.
18210 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18214 - Add the Croatian locale.
18216 2005-02-14 Colin Walters <walters@verbum.org>
18218 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18219 list of domains to search.
18221 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18223 2005-02-13 Dan Williams <dcbw@redhat.com>
18226 - Debug output cleanups of DHCP option printing and parsing.
18228 2005-02-13 Dan Williams <dcbw@redhat.com>
18230 Patch from Dan Reed: DHCP options D-BUS API
18231 Exposes the DHCP options that a device receives to clients over D-BUS.
18237 - Correct names, option length, and types for DHCP options
18239 * dhcpcd/dhcpcd.[ch]
18240 - Clarify function names that access DHCP options & data
18242 * src/NetworkManagerDHCP.c
18243 - Use new DHCP data access functions
18245 * src/NetworkManagerDbus.c
18246 - Message handler for DHCP functions
18248 * src/nm-dbus-dhcp.[ch] (new)
18249 - DHCP dbus methods
18251 * test/nm-dhcp-opt-test.c
18252 - Test DHCP D-BUS API and return all present DHCP options
18254 2005-02-12 Dan Williams <dcbw@redhat.com>
18257 test/nmclienttest.c
18259 - Move nmclienttest.c -> nmtest.c
18261 2005-02-12 Dan Williams <dcbw@redhat.com>
18263 * dhcpcd/buildmsg.c
18264 - Pad DHCP packets until they are at least 300 bytes in size.
18266 2005-02-11 Dan Williams <dcbw@redhat.com>
18269 - (dhcp_init): only print out client ID and class ID if they are specified
18271 * src/NetworkManagerDbus.[ch]
18272 src/nm-dbus-nm.[ch]
18273 src/nm-dbus-device.[ch]
18274 src/nm-dbus-net.[ch]
18275 - Move NM, Device, and Net functions to separate files and use the
18276 dbus method list stuff in NetworkManagerDbusUtils.c to do
18279 * src/NetworkManagerDbusUtils.c
18280 - Add new validate_method called before each dispatch (if present)
18281 that can validate the method call
18283 * src/NetworkManagerWireless.c
18284 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18285 levels never to be evaluated
18287 Patch from j@bootlab.org
18288 * src/NetworkManagerDevice.c
18289 - Add typedef for "u64"
18291 * src/backends/NetworkManagerDebian.c
18292 - Copy in Dave Woodhouse's fixes for IPv6
18294 2005-02-11 Dan Williams <dcbw@redhat.com>
18296 Patch from Dave Woodhouse for IPv6:
18297 * src/NetworkManagerUtils.c
18298 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18299 and multicast addresses
18301 * src/NetworkManagerDevice.c
18302 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18303 after bringing up a card.
18305 2005-02-10 Dan Williams <dcbw@redhat.com>
18307 Patch from Dave Woodhouse:
18308 * src/NetworkManagerSystem.h
18309 src/backends/NetworkManagerDebian.c
18310 src/backends/NetworkManagerGentoo.c
18311 src/backends/NetworkManagerSlackware.c
18312 - New nm_system_device_add_ip6_link_address() function to add link-local
18313 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18315 * src/backends/NetworkManagerRedHat.c
18316 - (nm_system_device_add_ip6_link_address): implement
18317 - (nm_system_device_flush_addresses): revert to previous behavior of
18318 flushing all addresses
18320 2005-02-10 Dan Williams <dcbw@redhat.com>
18322 Patch from Tom Parker:
18323 * src/NetworkManagerDevice.c
18324 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18325 mii.h headers are broken, and instead use our own typedefs
18327 2005-02-10 Dan Williams <dcbw@redhat.com>
18329 * dhcpcd/buildmsg.c
18330 - (fill_host_and_class_id): only fill in client and class IDs if
18331 they are set by callers.
18334 - (class_id_setup): don't autogenerate a class ID, only use one
18335 we're given, if any.
18336 - (client_id_setup): don't autogenerate a client ID, only use one
18337 we're given, if any.
18340 - (dhcp_interface_init): ensure that client options are correctly
18343 * src/NetworkManagerDHCP.c
18344 - (nm_device_dhcp_request): pass hostname to dhcp library
18346 2005-02-10 Dan Williams <dcbw@redhat.com>
18349 - #rh147661# Don't send kernel version in DHCP requests
18351 * src/NetworkManagerSystem.h
18352 src/backends/NetworkManagerDebian.c
18353 src/backends/NetworkManagerGentoo.c
18354 src/backends/NetworkManagerRedHat.c
18355 src/backends/NetworkManagerSlackware.c
18356 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18357 functions, they are no longer used anyway
18359 * src/backends/NetworkManagerRedHat.c
18360 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18361 addresses in an attempt to keep IPv6 local-scope addresses around
18363 2005-02-10 Dan Williams <dcbw@redhat.com>
18365 * src/NetworkManager.c
18366 - (nm_create_device_and_add_to_list): change the add message slightly
18368 * src/NetworkManagerUtils.c
18369 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18370 Return driver name to calling function
18371 - (nm_get_driver_support_level): print out the driver a device is using
18372 during the support check
18374 Patch from Dave Woodhouse:
18375 * dhcpcd/udpipgen.c
18376 - (in_cksum): copy last byte of odd-sized packets into a
18377 'u_short' rather than a 'u_char', should fix wrong checksums
18378 on big-endian platforms
18380 2005-02-09 Dan Williams <dcbw@redhat.com>
18382 * Clean up usage of GSList objects and looping through their members
18383 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18385 * Fix problem where even if scanning was turned off, card would still
18386 cycle through frequencies.
18388 2005-02-08 Dan Williams <dcbw@redhat.com>
18390 * panel-applet/NMWirelessApplet.c
18393 2005-02-08 Dan Williams <dcbw@redhat.com>
18395 Patch from Bill Moss
18396 * panel-applet/NMWirelessApplet.c
18397 - Restore correct ESSID in tooltips
18399 2005-02-07 Dan Williams <dcbw@redhat.com>
18401 * panel-applet/NMWirelessApplet.[ch]
18402 - Add a context menu that contains:
18403 Pause/Resume Wireless Scanning
18404 Stop/Start All Wireless Devices
18406 - Grab active device strength off active device,
18409 * panel-applet/NMWirelessAppletDbus.[ch]
18410 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18411 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18412 - Update active device strength every 2 seconds, not every 1 second
18414 * panel-applet/menu-info.c
18415 - Only disable wired devices in the menu when they support carrier detection,
18416 and don't currently have a link. Non-carrier-detect devices will always
18420 src/NetworkManagerDbusUtils.[ch]
18421 - Add new new dbus utils sources
18423 * src/NetworkManager.c
18424 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18425 with the boolean parameter
18426 - Set scanning_enabled & wireless_enabled to TRUE
18428 * src/NetworkManagerDbus.c
18429 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18430 - Implement scanning & wireless enable/disable calls
18431 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18433 * src/NetworkManagerDevice.c
18434 - New link detection stuff again...
18435 o Create device's mainloop earlier (but don't run it earlier)
18436 o Hook up new carrier-detect support stuff
18437 o Add in the ethtool & mii support detection code
18438 - Don't scan if scanning is disabled
18440 * src/NetworkManagerPolicy.c
18441 - Never automatically choose a device that doesn't support carrier detection
18442 - Don't automatically choose a wireless device if wireless is disabled
18444 2005-02-07 Dan Williams <dcbw@redhat.com>
18446 * libnm_glib/libnm_glib.c
18447 - Small cleanup in element list iteration
18449 2005-02-07 Dan Williams <dcbw@redhat.com>
18451 * src/NetworkManagerWireless.c
18452 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18453 to be in line with the WEXT quality specification
18455 2005-02-02 Dan Williams <dcbw@redhat.com>
18457 Patch from Nathan Fredrickson <nathan@silverorange.com>
18458 * Fix up compile for deprecation of libgnomeui
18459 - Switch to <glib/gi18n.h> from <libintl.h>
18460 - Remove <libgnomeui/libgnomeui.h> includes
18461 - Use gtk_window_set_default_icon_from_file() rather than
18462 gnome_window_set_default_icon_from_file()
18464 * named/nm-named-manager.c
18465 - (generate_named_conf): Fix return-nothing in non-void
18468 2005-02-02 Dan Williams <dcbw@redhat.com>
18470 * Clean up unused variables and the like
18472 2005-02-02 Dan Williams <dcbw@redhat.com>
18474 * src/NetworkManagerAPList.c
18475 - (nm_ap_list_merge_scanned_ap): merge strength too
18477 * src/NetworkManagerUtils.c
18478 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18479 of locking issues by printing out prettier information than g_mutex_lock
18480 - Print out names of mutexes registered with nm_register_mutex_desc()
18481 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18482 us to seemingly block here for too long
18484 * src/NetworkManager.c
18485 src/NetworkManagerAPList.c
18486 src/NetworkManagerDevice.c
18487 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18488 so we get better debug information printed
18490 * src/NetworkManagerDbus.c
18491 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18492 since it sometimes has locking side effects
18493 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18495 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18496 we don't need a switch. This gets called often enough that we can't block
18497 until the scan mutex is acquired, because we'll block on device activation
18498 and a few other things, which hangs main thread for too long.
18500 * src/NetworkManagerPolicy.c
18501 - (nm_policy_auto_get_best_device): reduce the possiblity that
18502 nm_device_need_ap_switch() will be called
18504 2005-02-02 Dan Williams <dcbw@redhat.com>
18506 * panel-applet/NMWirelessApplet.c
18507 - Display name of wireless network we are connecting to or connected to
18508 in the tooltip of the applet
18510 2005-02-02 Dan Williams <dcbw@redhat.com>
18512 * src/NetworkManagerDHCP.c
18513 - Hopefully fix double-default-route problem by cleaning up the default
18514 route added by DHCP code right before the DHCP transaction begins
18516 2005-02-02 Dan Williams <dcbw@redhat.com>
18518 * named/nm-named-manager.c
18519 - Write out valid resolv.conf when we exit
18521 2005-02-01 Dan Williams <dcbw@redhat.com>
18523 Patch from Colin Walters:
18524 * named/nm-named-manager.c
18525 - Make multi-domain search options work
18527 2005-01-31 Dan Williams <dcbw@redhat.com>
18529 * info-daemon/NetworkManagerInfoDbus.c
18530 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18532 * src/NetworkManagerDevice.c
18533 - (nm_device_new): Don't store the entire range struct, use only what we need
18534 (which is currently avg_quality, max_quality, and frequencies). Also
18535 zero device structure when we've free'd it to maybe expose errors down
18537 - (nm_device_update_signal_strength): grab the scan mutex before getting
18538 quality data from the card since quality will be useless during a scan.
18539 Call updated wireless qual-to-percent function with values stored in
18540 nm_device_new() earlier.
18541 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18542 nm_device_get_bad_crypt_packets())
18543 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18545 - (get_initial_auth_method): always use the Auth method that's in the allowed
18546 list if available. Problem was this: when the WEP key is wrong, NM will
18547 try OS then SK modes, and then get stuck in SK mode after that. This
18549 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18552 * src/NetworkManagerWireless.c
18553 - (nm_wireless_qual_to_percent): try to make this function actually work and
18554 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18555 if that's all present, otherwise fall back to signal-to-noise ratios.
18557 2005-01-29 Dan Williams <dcbw@redhat.com>
18559 * initscript/RedHat/NetworkManager
18560 - Don't spit out sysctl stuff to console
18562 * libnm_glib/libnm_glib.c
18563 - (libnm_glib_init): call dbus_g_thread_init()
18565 * panel-applet/NMWirelessAppletDbus.c
18566 - (nmwa_dbus_worker): call dbus_g_thread_init()
18568 * src/NetworkManager.c
18569 - (main): call dbus_g_thread_init()
18571 * src/NetworkManagerAPList.c
18572 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18573 so we can actually see what's there in a normal syslog
18575 * src/NetworkManagerDevice.c
18576 - (nm_device_activate_wireless): print out the "waiting for access point"
18577 message only once, then say what access point we actually got after
18579 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18580 function, wait until the scan is done. Scans may change the ESSID of
18581 the card, making this function think we need to switch access points
18582 - (nm_device_wireless_process_scan_results): for artificial access points
18583 don't check against the card's ESSID, but the best_ap's ESSID. This
18584 prevents collisions with the scanning code, which may change the card's
18585 ESSID and cause the access point to get dropped from the device's AP
18586 list. Also increase the keep-around time to 2m from 60s since the max
18587 scan interval could be 60s in some cases.
18589 * src/NetworkManagerPolicy.c
18590 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18591 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18592 the new properties and ESSIDs to the device's AP list. Fixes some races
18593 between NM and NMI.
18595 2005-01-27 Dan Williams <dcbw@redhat.com>
18597 * info-daemon/NetworkManagerInfoDbus.c
18598 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18599 GConf, make a minimal entry for it (essid & timestamp)
18601 * src/NetworkManagerAPList.c
18602 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18603 NetworkManagerInfo isn't running
18605 * src/NetworkManagerDbus.[ch]
18606 - (nm_dbus_nmi_is_running): new function
18608 * src/NetworkManagerDevice.c
18609 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18610 address to garbage.
18612 * src/NetworkManagerPolicy.c
18613 - (nm_policy_activation_finish): On successful activation, make sure
18614 the "best" AP has a MAC address, and don't tell NMI to add the
18615 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18616 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18617 access point after refreshing our allowed list if it doesn't already
18618 have a "best" access point.
18620 2005-01-25 Dan Williams <dcbw@redhat.com>
18622 * panel-applet/NMWirelessAppletDbus.c
18623 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18624 so we check for NM_DBUS_SERVICE rather than not for it
18626 * libnm_glib/libnm_glib.c
18627 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18628 ServiceOwnerChanged signal
18630 2005-01-25 Dan Williams <dcbw@redhat.com>
18633 - Check DBUS version in configure, and set the C macros
18634 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18636 * info-daemon/NetworkManagerInfoDbus.c
18637 - Remove #if 0-d section of code that quit NMI if NM went away.
18639 * panel-applet/NMWirelessAppletDbus.c
18640 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18642 * src/NetworkManager.c
18643 src/NetworkManagerMain.h
18644 src/NetworkManagerDbus.c
18645 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18646 - Make updating of our Allowed Wireless Network lists from NMI
18647 an idle function in the main thread now, with a high priority.
18649 2005-01-24 Dan Williams <dcbw@redhat.com>
18651 * panel-applet/gtkcellview.[ch]
18652 panel-applet/menu-info.c
18653 - Fix GTK version checks to be <= rather than <
18656 - Include the libtool archive of libnm_glib rather than
18657 trying to pull in the .so
18659 2005-01-24 Dan Williams <dcbw@redhat.com>
18661 * src/NetworkManagerDevice.c
18662 src/NetworkManagerDevicePrivate.h
18663 - Block nm_device_new() until our device's worker thread has had a
18664 chance to start up. Fixes a race between main thread and worker
18665 thread starting that caused activation requests to get lost.
18667 2005-01-24 Dan Williams <dcbw@redhat.com>
18669 * initscript/RedHat/NetworkManager
18670 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18671 to add the NM startup script at priority 50, which was
18674 2005-01-24 Colin Walters <walters@redhat.com>
18676 * named/named.conf: Use any port for query source instead of
18677 restricting to port 53.
18679 2005-01-24 Dan Williams <dcbw@redhat.com>
18681 * initscript/RedHat/NetworkManager
18682 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18683 to add the NM startup script at priority 50, which was
18686 2005-01-24 Dan Williams <dcbw@redhat.com>
18688 Patch from Tom Parker <palfrey@tevp.net>
18689 * Fix up compile warnings & errors in the wireless applet
18691 2005-01-24 Dan Williams <dcbw@redhat.com>
18693 * panel-applet/NMWirelessApplet.c
18694 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18696 2005-01-24 Dan Williams <dcbw@redhat.com>
18698 * panel-applet/gtkcellview.[ch]
18699 - Only compile these files for GTK 2.4 or lower, since
18700 GtkCellView is now public in GTK 2.6. Fixes crasher
18701 when choosing "Other Wireless Networks" from the panel
18704 2005-01-21 Dan Williams <dcbw@redhat.com>
18706 * src/NetworkManager.c
18707 - Daemonize earlier so that glib doesn't get confused (?)
18709 2005-01-21 Dan Williams <dcbw@redhat.com>
18711 * panel-applet/NMWirelessApplet.[ch]
18712 panel-applet/NMWirelessAppletDbus.c
18713 panel-applet/menu-info.c
18714 src/NetworkManagerDevice.c
18715 - Disable wired devices in the menu when they have no link.
18717 2005-01-21 Dan Williams <dcbw@redhat.com>
18719 * Cache last-known-good wireless authentication method in
18720 NetworkManagerInfo, and use that method first during
18721 wireless device activation. Should speed up devices that
18722 need Shared Key authentication method since Open System is
18725 * Remove the hack to not do full activation on wired connections
18726 that are active when we launch, it causes too many problems
18727 with name resolution and was a hack in the first place.
18729 * Re-work wireless device activation again somewhat to have a
18730 clearer chain of events and to use last-known-good
18731 authentication method of the access point. Also provide
18732 better status throughout activation to ensure the applet
18733 can tell the user exactly what's going on.
18735 * Remove the "find wireless network" code and now simply attempt
18736 to activate with that access point. This reduces the delay
18737 between selecting "Other wireless Network" and actually
18738 connecting to that network.
18740 * Correctly stop the device's worker thread when its removed.
18742 2005-01-21 Dan Williams <dcbw@redhat.com>
18745 - Clean up some of the debug messages
18747 2005-01-21 Dan Williams <dcbw@redhat.com>
18749 * Add new icons, more frames of animation
18750 * Remove some hacks to get the panel applet to display correct
18751 status, an NM update will soon follow that will fix the
18754 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18756 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18757 the first include for working i18n. Also, don't include it in .h files
18758 * panel-applet/NMWirelessApplet.h: Same
18759 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18760 * panel-applet/menu-info.c: Same
18762 2005-01-18 Dan Williams <dcbw@redhat.com>
18765 - Remove some debug messages
18766 - Wrap others in #ifdef DEBUG/#endif
18768 * src/NetworkManager.c
18769 - Remove some debug messages
18770 - Clarify some debug messages
18771 - Remove code related to old single-thread wireless scanning
18773 * src/NetworkManagerAP.[ch]
18774 - New AP property "last_seen" to track how recently an AP was
18776 - Start using 'const' more in function arguments
18778 * src/NetworkManagerAPList.[ch]
18779 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18780 of an AP found in an AP list from a source AP, or if not found
18781 in the list add the source AP
18782 - (nm_ap_list_combine): remove, no longer needed
18784 * src/NetworkManagerDevice.c
18785 - Each device now has a "worker" thread from start to end of its life.
18786 Scanning for wireless devices now happens in that thread,
18787 not in a single "wireless scanning thread" for all devices as
18788 previously. Activation consists of adding an idle handler to the
18789 thread's main loop/context, which gets run at the next available
18791 - Wireless scanning is also simplified, there is now only one list of
18792 access points per wireless device, and APs older than 60s are
18793 removed from the list. Previously, we kept results for the last
18794 3 scans and merged whole lists, which was complicated.
18795 - Cleaned up activation debug messages.
18796 - Wireless activation and access-point search routines now use Open System
18797 authentication before trying Shared Key.
18798 - Removed some code in nm_device_update_best_ap() that could cause cards
18799 to loose their link to the access point.
18800 - Scanning now uses a backoff algorithm, where the inverval becomes
18801 progressively longer between scans when the list of scanned access
18802 points doesn't change. A change will revert to the shortest scan
18805 * src/NetworkManagerWireless.[ch]
18806 - Remove code related to old single-thread wireless scanning
18808 2005-01-18 Colin Walters <walters@redhat.com>
18810 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18811 of older nameservers.
18813 2005-01-18 Colin Walters <walters@redhat.com>
18815 * named/nm-named-manager.c (generate_named_conf): Many fixes
18816 to config file generation.
18817 (safer_kill): Remove, was too much trouble for little gain.
18818 (nm_named_manager_start): Run named as NM_NAMED_USER.
18820 * configure.in: Add option --with-named-user.
18822 2005-01-14 Colin Walters <walters@redhat.com>
18824 Patch from ed@catmur.co.uk (Ed Catmur)
18826 * named/nm-named-manager.c: Add "context" property.
18827 Use it to add child watch source in specific GMainContext.
18829 * src/NetworkManager.c (nm_data_new): Initialize
18830 named with correct main context. Start named only
18833 2005-01-14 Colin Walters <walters@redhat.com>
18835 * named/nm-named-manager.c (generate_named_conf): Write config
18836 and pid files into NM_NAMED_DATA_DIR; this allows things to
18837 work better with FC3 named SELinux policy. Also fix up silly
18840 * configure.in: Add --with-named-dir option.
18842 2005-01-14 Colin Walters <walters@redhat.com>
18844 * configure.in: Make named support require passing --with-named.
18846 * named/nm-named-manager.c: Support writing resolv.conf directly
18847 without running named.
18849 2005-01-13 Dan Williams <dcbw@redhat.com>
18851 * named/nm-named-manager.c
18852 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18854 * src/NetworkManagerDevice.c
18855 - Rework wireless link detection code to be more reliable
18857 2005-01-12 Dan Williams <dcbw@redhat.com>
18859 * initscripts/RedHat/NetworkManager
18860 - Change initial level to "-" rather than "345" so that
18861 we don't activate ourselves by default on install
18863 2005-01-12 Dan Williams <dcbw@redhat.com>
18866 - Client library for applications using glib
18870 - Split NM_CFLAGS and NM_LIBS into separate variables
18871 like DBUS_*, HAL_* and GLIB_*
18873 * src/NetworkManager.c
18874 src/NetworkManagerMain.h
18875 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18876 broadcast a status changed signal over DBUS from the main thread.
18877 Still unused anywhere for the moment.
18879 Patch from j@bootlab.org
18880 * panel_applet/NMWirelessAppletDbus.c
18881 src/NetworkManagerDbus.c
18882 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18883 for the "getMode" method call
18885 2005-01-10 Dan Williams <dcbw@redhat.com>
18887 * src/NetworkManagerDevice.c
18888 - Minor fixups & corrections to "auto" frequency mode, make it
18889 less chatty with syslog
18891 2005-01-10 Dan Williams <dcbw@redhat.com>
18893 * src/NetworkManagerDevice.c
18894 - Implement "auto" frequency/channel support, since cards like Atheros
18895 can't use other frequencies at all when you've told it to use a
18896 specific one, even for scanning.
18897 - Grab the scan mutex around places where we can't tolerate wireless
18898 settings changing underneath us, like nm_device_wireless_network_exists()
18899 and nm_device_activate_wireless()
18901 * src/NetworkManagerWireless.c
18902 - Back scan interval off to 20s instead of 14s
18904 2005-01-09 Dan Williams <dcbw@redhat.com>
18906 * src/NetworkManagerDevice.c
18907 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18908 already set. Stops some drivers like Atmel from continually
18909 reloading the firmware, which they do upon every configuration
18912 2005-01-09 Dan Williams <dcbw@redhat.com>
18915 - Use correct timeout value
18917 * info-daemon/NetworkManagerInfoDbus.c
18918 src/NetworkManagerDbus.c
18919 - Consolidate communication between NM and NMI by doing only 1 dbus
18920 method call to get Wireless Network info from NMI instead of 6
18922 * src/NetworkManager.c
18923 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18924 when we didn't have an AP to use, we'd wait for one forever without
18927 * src/NetworkManagerDevice.c
18928 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18929 activation, dhcp might not have started yet but we don't quit activation
18930 before starting it, so the quit signal gets lost
18932 2005-01-07 Dan Williams <dcbw@redhat.com>
18935 - Rework the DHCP client code to be much less chatty when
18936 it receives non-DHCP UDP packets during the DHCP run
18937 (reported by and preliminary patches from Bill Moss)
18939 * Move wireless scanning to a separate thread. This thread forwards the
18940 results to the main thread when done where they are integrated into
18941 the device's access point lists. This keeps the main thread (which
18942 does all the DBUS communication) from being blocked for long periods
18943 of time by wireless scanning.
18945 * Make state modification an idle routine in the main loop, and trigger
18946 state changes rather than polling for them.
18948 * src/backends/NetworkManagerGentoo.c
18949 - Fix up invalid C90 code (reported by Christoph Ruessler)
18951 * src/NetworkManagerDevice.c
18952 - Revert IPv6 patch for wired devices from 2004-12-22 for
18953 router advertisements, causing problems and infinite loop
18954 during "best" device determination due to link going up/down
18955 (reported by Bill Moss)
18957 Apply patch from Peter Jones
18958 * src/NetworkManagerDevice.c
18959 - Shortcut for link-checking for ipw2x00 cards
18960 - Split out association check into separate routine
18962 2004-01-05 Colin Walters <walters@redhat.com>
18964 * named/named.conf: Add PID_FILE.
18966 * named/nm-named-manager.c: Always generate a pid
18967 file, since older BIND versions don't support
18970 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18972 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18974 2004-12-22 Dan Williams <dcbw@redhat.com>
18976 * src/NetworkManagerDevice.c
18977 - Silently fail when setting bitrate doesn't work
18980 Patches from j@bootlab.org:
18981 * src/backends/NetworkManagerDebian
18982 - Update backend to match functionality in RedHat backend
18983 * src/NetworkManagerDevice.c
18984 - Take down then bring up wired devices after connection so
18985 they send out ipv6 router advertisements
18987 2004-12-21 Colin Walters <walters@verbum.org>
18989 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18990 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18992 2004-12-21 Colin Walters <walters@redhat.com>
18994 * configure.in: Correct named detection.
18996 2004-12-21 Colin Walters <walters@redhat.com>
18998 * src/NetworkManager.c (nm_data_new): Initialize named.
18999 Also, set up a signal handler for SIGINT/SIGTERM, and exit
19000 the mainloop when these signals are received.
19001 (nm_data_free): Unref named.
19002 (sigterm_handler, sigterm_pipe_handler): New functions for
19005 * src/NetworkManagerMain.h (NMData): Add signal handling and
19008 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
19011 * src/NetworkManagerDHCP.c (set_nameservers): New function;
19012 set nameservers from DHCP response data.
19013 (set_domain_search): Set domain search from DHCP response.
19014 (nm_device_dhcp_configure): Invoke them.
19016 * src/NetworkManagerSystem.c
19017 (nm_system_device_update_resolv_conf): Delete. Deleting
19018 code is totally sweet.
19020 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19022 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19023 implements an object which controls a nameserver. Currently
19026 * configure.in: Check for named.
19028 * Makefile.am (SUBDIRS): Add named dir.
19030 * named/named.conf: New template config file.
19032 2004-12-20 Colin Walters <walters@redhat.com>
19034 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19037 2004-12-17 Dan Williams <dcbw@redhat.com>
19039 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19040 link-local addresses instead of doing DHCP.
19042 * In the panel applet, there's a new "Create new Wireless Network..." item
19044 * The panel applet also sticks around now even if NetworkManager dies, but
19045 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19046 a bug, I'll fix that later.
19048 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19049 lookups after a switch rather than actually doing them.
19051 * Clean up some of those warnings in nm_ap_list_* functions
19053 * Delay between scans changed to 15s instead of 10s
19055 2004-12-15 Dan Williams <dcbw@redhat.com>
19057 Patch from Tom Parker
19058 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19061 * Longer pause after setting ESSID on cards that support a larger number
19062 of channels to give the card time to find the right channel
19064 * Add system hook to restart mDNSResponder (or whatever the local implementation
19065 of Multicast DNS is) when we activate interfaces
19067 2004-12-15 Dan Williams <dcbw@redhat.com>
19069 * Rework the DHCP code again to revert to sending full ethernet frames
19070 rather then relying on the kernel to do the right thing with our
19073 2004-12-06 Dan Williams <dcbw@redhat.com>
19076 - Fix some minor errors in dhcp_handle_transaction() that caused
19077 unexpected early timeouts of DHCP transactions
19080 - DHCP retransmit time from 4s -> 5s
19082 2004-12-05 Dan Williams <dcbw@redhat.com>
19084 * Major rework of the DHCP code, taking some cues from pump. We don't
19085 write raw Ethernet packets anymore, which simplifies the code quite
19086 a bit. The new code should be more robust, not hang in recvfrom()
19087 as much, and generally work better. This also means that we need
19088 to force HAL/dbus to use a created GMainContext rather than the
19089 default context, since having the DHCP renew/rebind thread using
19090 its own GMainContext seemed to give dbus a fit. There is also more
19091 debugging information printed from the DHCP loop to help with future
19094 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19095 assume that the default gateway should be the DHCP server.
19097 Patch from Matthew Schick <matt oss-institute org>
19098 * src/backends/NetworkManagerGentoo.c
19099 - Fix compilation error due to missing "ip4_broadcast"
19101 2004-12-03 Dan Williams <dcbw@redhat.com>
19103 * initscript/Makefile.am
19104 * initscript/Debian/NetworkManager
19105 * initscript/Gentoo/NetworkManager
19106 * initscript/RedHat/NetworkManager
19107 * initscript/NMLaunchHelper.c
19108 - Remove NMLaunchHelper, if you need to wait until the network
19109 comes up, use the dead code from CVS.
19111 2004-12-01 Colin Walters <walters@redhat.com>
19113 * configure.in: Suck in gcc warnings code from Rhythmbox,
19114 but use fewer default flags, and in particular add -Wno-unused,
19115 since the codebase has a lot of unused variables.
19117 * test/nmtestdevices.c (create_device):
19118 * test/nminfotest.c (get_network_string_property)
19119 (get_networks_of_type):
19120 * test/nmclienttest.c (main):
19121 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19122 * initscript/NMLaunchHelper.c (get_nm_status):
19123 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19124 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19125 Fix declarations after statements.
19127 2004-12-01 Colin Walters <walters@redhat.com>
19129 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19130 (nmi_dbus_get_vpn_userpass): New method.
19131 (nmi_dbus_nmi_message_handler): Invoke it.
19133 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19135 * info-daemon/NetworkManagerInfoVPN.h,
19136 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19137 to requests for VPN passwords.
19139 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19141 2004-12-01 Colin Walters <walters@redhat.com>
19143 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19146 2004-12-01 Colin Walters <walters@redhat.com>
19148 * panel-applet/NMWirelessAppletDbus.c
19149 (nmwa_dbus_update_active_device_strength): Fix missing
19152 2004-12-01 Colin Walters <walters@redhat.com>
19154 * panel-applet/NMWirelessApplet.c: Add missing include.
19156 2004-12-01 Colin Walters <walters@redhat.com>
19158 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19159 Remove useless CLAMP (); the value is unsigned, and the case tests
19160 qual->qual < 100, so the value must always be between 0 and 100.
19162 2004-12-01 Colin Walters <walters@redhat.com>
19164 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19166 2004-11-22 Colin Walters <walters@verbum.org>
19168 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19169 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19170 which is essentially a noop since nscd caches hosts on disk too.
19172 2004-11-22 Colin Walters <walters@redhat.com>
19174 * src/Makefile.am (NetworkManager_SOURCES): Add
19175 NetworkManagerDevicePrivate.h.
19177 2004-11-22 Dan Williams <dcbw@redhat.com>
19179 * src/NetworkManagerDevicePrivate.h
19180 - Split out the NMDevice struct to a different file so that stuff like
19181 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19185 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19186 need to cancel the dhcp request during the send and recv
19189 - Move the DHCP option enum to dhcpcd.h
19191 * src/NetworkManagerDHCP.c
19192 - Split out the actual IP/netmask/etc setting code
19193 - New Renew/Rebind functions
19194 - New timer setup function for renew/rebind operations
19196 * src/NetworkManagerDevice.c
19197 - For device activation, if we are using DHCP then keep the activation thread
19198 alive until device deactivation. We need to renew/rebind the DHCP address
19199 after the T1 (renew) and T2 (rebind) times have expired.
19200 - Increase some timeouts after bringing wireless cards up/down
19202 2004-11-17 Dan Williams <dcbw@redhat.com>
19204 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19205 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19206 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19207 show known access points that don't broadcast their ESSID in the menus without
19208 any user intervention whatsoever.
19210 * info-daemon/NetworkManagerInfoDbus.c
19211 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19212 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19214 * src/NetworkManagerAP.[ch]
19215 - Add a "user_addresses" data member to the NMAccessPoint structure
19216 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19217 the user_addresses data member
19219 * src/NetworkManagerAPList.c
19220 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19221 the AP's reported address
19222 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19224 * src/NetworkManagerDHCP.c
19225 - Increase DHCP timeout from 25s -> 30s
19227 * src/NetworkManagerDbus.[ch]
19228 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19231 * src/NetworkManagerDevice.c
19232 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19233 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19234 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19235 So, we take the card down to clear it out.
19236 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19237 too, since that's where the user_addresses are
19239 * src/NetworkManagerPolicy.c
19240 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19241 that wireless networks' user_addresses list upon successful activation
19243 2004-11-16 Dan Williams <dcbw@redhat.com>
19245 * src/NetworkManagerDevice.[ch]
19246 - (nm_device_clear_activation_fail): new function
19248 * src/NetworkManagerPolicy.c
19249 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19250 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19252 2004-11-16 Dan Williams <dcbw@redhat.com>
19254 * src/NetworkManagerDevice.c
19255 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19256 leak the structure, better updating of now_scanning status
19257 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19259 2004-11-15 Dan Williams <dcbw@redhat.com>
19261 Major rework of link detection code. We now use DHCP
19262 as part of the link detection which proves to be much more robust,
19263 and also supports Open System authentication for wireless networks.
19265 We no longer use external DHCP client programs. Instead, we use
19266 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19267 which was written by:
19268 Yoichi Hariguchi <yoichi@fore.com>
19269 Sergei Viznyuk <sv@phystech.com>
19270 http://www.phystech.com/download/
19271 It resides in the "dhcpcd" directory and was refactored into a general
19272 purpose DHCP client library by me.
19274 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19275 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19277 2004-11-15 Dan Williams <dcbw@redhat.com>
19279 Patch from Tom Parker <palfrey@tevp.net>:
19281 * src/NetworkManagerDevice.c
19282 - Less output to console when no access
19283 points are found during a scan
19285 2004-11-15 Dan Williams <dcbw@redhat.com>
19287 Patch from Tom Parker <palfrey@tevp.net>:
19289 * src/backends/interface_parser.c
19291 - Check for inp == NULL
19294 2004-11-13 Colin Walters <walters@redhat.com>
19296 Patch from Tom Parker <palfrey@tevp.net>:
19298 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19300 * src/backends/NetworkManagerRedHat.c: Switch to
19301 including shvar.h instead of shvar.c.
19303 * src/backends/NetworkManagerDebian.c: Don't include
19304 interface_parser.c in source file.
19306 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19307 and interface_parser.[ch].
19308 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19309 Include shvar.c and shvar.h here.
19310 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19311 interface_parser.c and interface_parser.h here.
19313 2004-11-12 Colin Walters <walters@redhat.com>
19315 * configure.in: Strip out TARGET_DISTRO and
19316 SYSTEM_BACKEND_FILE variables. Switch to Automake
19319 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19320 (libnmbackend_la_SOURCES): Use Automake conditionals
19321 to add distro-specific files.
19323 * initscript/Makefile.am (SUBDIRS): Update to
19326 2004-11-12 Colin Walters <walters@redhat.com>
19328 Patches from j bootlab org
19330 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19331 Add interface_parser.[ch].
19333 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19334 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19336 2004-11-12 Colin Walters <walters@redhat.com>
19338 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19339 call to nmi_dbus_is_running too, not necessary anymore.
19340 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19343 2004-11-11 Colin Walters <walters@verbum.org>
19345 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19347 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19348 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19349 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19350 This avoids a race condition that made it pretty easily
19351 possible to get two NetworkManagerInfo daemons running.
19353 2004-11-11 Colin Walters <walters@verbum.org>
19355 * src/NetworkManager.c (main): Use daemon(3).
19357 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19359 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19361 2004-11-10 Dan Williams <dcbw@redhat.com>
19363 Patches from j bootlab org
19364 * src/NetworkManagerDevice.c
19365 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19366 whether the card has a link or not, some cards are slow
19367 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19369 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19370 - Disable the "Login" button on the passphrase dialog until the user
19371 enters a valid passphrase or key
19373 Patches from Tom Parker <palfrey tevp net>
19374 * src/backends/NetworkManagerDebian.c
19375 - Add static IP support to the debian backend
19377 * src/backends/interface_parser.[ch]
19378 - Parse debian interface config files
19380 2004-11-08 Dan Williams <dcbw@redhat.com>
19382 * src/NetworkManagerDevice.c
19383 - Some random fprintf->syslog conversions
19384 - (nm_device_wireless_network_exists): double-check for network
19385 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19387 * src/NetworkManagerWireless.[ch]
19388 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19389 so that the binary->ascii conversion works (if unsigned, the bitshift
19390 will fill with zeros, which is what's required). Also mask bitshift
19391 result with 0xF for futher assurance.
19393 2004-11-06 Dan Williams <dcbw@redhat.com>
19395 * src/NetworkManagerUtils.c
19396 - (nm_get_wireless_driver_support_level): default to
19397 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19398 flip this when changing from whitelist->blacklist of
19401 2004-11-05 Dan Williams <dcbw@redhat.com>
19403 Patch from Robert Paskowitz:
19404 * src/backends/NetworkManagerGentoo.c
19405 - Update static IP config code
19407 2004-11-05 Dan Williams <dcbw@redhat.com>
19409 * info-daemon/NetworkManagerInfoDbus.c
19410 src/NetworkManagerDbus.[ch]
19411 src/NetworkManagerDevice.c
19412 - Keep track of the # of attempts to get the WEP key
19413 from the user and pass that along to the info daemon
19415 2004-11-05 Dan Williams <dcbw@redhat.com>
19417 * src/NetworkManagerUtils.c
19418 - Blacklist wireless cards rather than whitelisting them.
19419 - Grab driver name from HAL rather than trying to find it
19422 2004-11-03 Dan Williams <dcbw@redhat.com>
19424 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19425 - Disable OK button until valid data is entered
19426 for encryption stuff too
19428 * panel-applet/NMWirelessApplet.c
19429 - Report card strength for current AP if the card
19430 doesn't report strength data for scanned access
19433 * src/NetworkManagerDevice.c
19434 - Smooth out cards reported quality, Atmel card was
19435 intermittently reporting no quality data but soon
19438 * src/NetworkManagerWireless.c
19439 - Better quality data percentage calculation. Atmel
19440 cards (mine at least) seem to report the quality
19441 in percentage format already, so honor that
19443 Patch from <j@bootlab.org>
19445 info-daemon/NetworkManagerInfoPassphraseDialog.c
19446 info-daemon/passphrase.glade
19447 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19448 panel-applet/essid.glade
19449 src/NetworkManagerAP.c
19450 src/NetworkManagerDevice.c
19451 src/NetworkManagerWireless.[ch]
19452 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19454 2004-11-03 Dan Williams <dcbw@redhat.com>
19456 * src/NetworkManagerDevice.[ch]
19457 - (nm_device_set_enc_key): Add parameter to set Authentication
19458 Mode (Open System, Shared Key, or None). We're still using
19459 Shared Key for now though.
19461 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19463 * panel-applet/menu-info.c: change from bold text to light
19464 colored, may cause problems with some themes, i've tested a lot
19465 and they seem fine.
19467 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19469 2004-11-01 Colin Walters <walters@verbum.org>
19471 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19472 (nm_wireless_128bit_key_from_passphrase): Add const.
19474 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19475 (nm_ap_set_enc_key_source): Add const.
19477 2004-11-01 Colin Walters <walters@verbum.org>
19479 * .cvsignore: Update.
19481 2004-10-29 Dan Williams <dcbw@redhat.com>
19483 * src/NetworkManagerDevice.c
19484 - (nm_device_wireless_network_exists): Actually use the encryption
19485 key we got from the applet when attempting to find a wireless network
19486 - Don't bring devices down so much since on some cards it triggers
19487 firmware hotplugs each time
19489 * src/NetworkManagerDbus.c
19490 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19493 2004-10-29 Dan Williams <dcbw@redhat.com>
19495 * src/NetworkManager.c
19496 - (nm_hal_device_property_modified): unlock a locked active
19497 wireless device when a wired connection gets a link.
19498 (Means you'll switch to wired whenever you plug in no
19501 2004-10-29 Dan Williams <dcbw@redhat.com>
19503 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19504 - New files, implement the "Other wireless network" dialog
19506 * panel-applet/NMWirelessApplet.c
19507 - Move "other wireless network" dialog to separate file
19509 * panel-applet/NMWirelessAppletDbus.[ch]
19510 - Take key and key_type paramaters for the set_device function
19512 * panel-applet/essid.glade
19513 - Add UI bits for encryption settings
19515 * src/NetworkManagerDbus.c
19516 - Retrieve key and key_type params for "setActiveDevice" method call
19518 - unref AP returned from nm_device_get_best_ap() when needed
19520 * src/NetworkManagerDevice.c
19521 - (nm_device_get_best_ap): ref the ap before returning it
19522 - unref AP returned from nm_device_get_best_ap() when needed
19523 - (nm_device_activate_wireless): add "ap" parameter so we don't
19524 need to call nm_device_get_best_ap() here, it was pretty much
19526 - (AP_NEED_KEY): break second link check condition out into separate
19527 function, and fix segfault when ap->enc_key_source was NULL
19528 - (nm_device_find_and_use_essid): take key and key_type parameters and
19529 pass them along to nm_device_wireless_network_exists(). If the
19530 network does exist, set the passed-in key+key_type on the AP
19532 * src/NetworkManagerPolicy.c
19533 - unref AP returned from nm_device_get_best_ap() when needed
19535 2004-10-28 Dan Williams <dcbw@redhat.com>
19537 * src/NetworkManagerUtils.c
19538 - (nm_spawn_process): Fix a potential dereference of NULL
19540 Patches from Peter Jones:
19542 * src/NetworkManagerDevice.c
19543 - (nm_device_test_wireless_extensions): Better check for
19546 * src/NetworkManagerUtils.c
19547 - (nm_spawn_process): Pass in valid stdout and stderr so
19548 executed programs don't randomly SIGPIPE and fail
19549 - (nm_get_wired_driver_support_level): quash hal warning
19550 when checking for USB ethernet device
19552 2004-10-27 Dan Williams <dcbw@redhat.com>
19554 * info-daemon/NetworkManagerInfo.c
19555 info-daemon/NetworkManagerInfoDbus.c
19556 info-daemon/NetworkManagerInfoPassphraseDialog.c
19557 panel-applet/NMWirelessApplet.c
19558 - Properly escape gconf keys
19560 * src/NetworkManager.c
19561 - remove unused variables
19563 * src/NetworkManagerAP.c
19564 - (nm_ap_new_from_ap): Don't redundantly set new APs
19565 refcount since it got set in nm_ap_new()
19567 * src/NetworkManagerAPList.c
19568 - (nm_ap_list_combine): Give up ownership of newly created
19569 access points to the ap list, fixes memleak
19571 * src/NetworkManagerDevice.c
19572 - Remove cached_ap_list4 member since its not really needed
19573 - (nm_device_wireless_network_exists): Try to get correct
19574 encryption status of a found AP if its already in our
19576 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19577 memory allocs/deallocs a bit clearer and shorter-lived
19579 2004-10-26 Ray Strode <rstrode@redhat.com>
19581 * panel-applet/NMWirelessApplet.c:
19582 (custom_essid_item_selected): kill some compiler
19585 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19587 * info-daemon/NetworkManagerInfoDbus.c
19588 - (nmi_dbus_is_running): New function for determining if nmi is already running
19589 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19591 2004-10-23 Dan Williams <dcbw@redhat.com>
19593 * info-daemon/NetworkManagerInfoDbus.c
19594 - Trap the "DeviceActivationFailed" signal
19596 * docs/NetworkManager DBUS API.txt
19597 - Add "DeviceActivationFailed" signal
19599 * panel-applet/NMWirelessAppletDbus.c
19600 - Quash the "NetworkManager service not available" message
19602 * src/NetworkManagerDbus.[ch]
19603 - Add the "DeviceActivationFailed" signal
19605 * src/NetworkManagerDevice.c
19606 - Add support for activation_failed flag
19607 - Fix deadlock where activation thread didn't clean itself up, making
19608 main thread still believe it was alive forever (didn't reset activation
19609 flags like activating, just_activated, etc when IP configuration
19612 * src/NetworkManagerPolicy.c
19613 - Implement logic for DeviceActivationFailed signal, and when activation fails
19614 for wireless networks, try to fall back to some other access point
19616 2004-10-23 Dan Williams <dcbw@redhat.com>
19618 * panel-applet/NMWirelessApplet.[ch]
19619 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19620 to the applet object, so we can get tooltips
19621 - Add tooltips (RH #136866)
19623 * src/NetworkManagerDevice.c
19624 - When trying to find a wireless network, try to connect with encryption
19625 turned on first, so that we can more accurately detect whether or not
19626 we need to use encryption for the actual association later on
19628 2004-10-21 Dan Williams <dcbw@redhat.com>
19630 * Add some support for telling NetworkManagerInfo to tell the user
19631 that they are using a device that's not fully supported
19633 * Fix some assertions in debug messages due to null access point args
19635 2004-10-21 Dan Williams <dcbw@redhat.com>
19637 * src/NetworkManagerDevice.c
19638 - Don't try to activate/bring up/down unsupported
19641 * src/NetworkManagerUtils.c
19642 - Fix case of PCI ID checks for driver support levels
19644 2004-10-21 Dan Williams <dcbw@redhat.com>
19647 - New file, now contains commonly used structures and bits
19648 for the dbus API of NetworkManager
19651 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19653 * src/NetworkManager.h
19654 - Rename -> src/NetworkManagerMain.c
19656 * Various fixups all around to use NetworkManager.h and new
19657 src/NetworkManagerMain.h, remove redundant bits that got
19658 moved into NetworkManager.h
19660 * src/NetworkManagerDevice.[ch]
19661 src/NetworkManagerUtils.[ch]
19662 src/NetworkManagerPolicy.c
19663 src/NetworkManagerDbus.c
19664 - Whitelist wireless drivers, and blacklist some wired
19665 drivers. Also blacklist cipsec and ethernet-over-usb
19666 devices at this time (RH #135722, RH #135648)
19667 - Don't leak unsupported devices out over dbus, or allow
19668 them to be set as the active device. Skip over them
19669 during automatic device picking
19671 * test/nmclienttest.c
19672 - Clean up the dbus code a lot
19674 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19676 * configure.in: post release bump.
19678 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19681 * NEWS: Released NetworkManager-0.3.1
19683 2004-10-18 Dan Williams <dcbw@redhat.com>
19685 Patches from Thom May:
19686 * test/nmtestdevices.c
19687 - Include <string.h>
19688 * src/backends/NetworkManagerDebian.c:
19689 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19690 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19691 Move to using g_strdup_printf rather than arbitrary buffers
19692 - (nm_system_device_setup_static_ip4_config) Implement function.
19693 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19695 2004-10-17 Dan Williams <dcbw@redhat.com>
19697 * info-daemon/NetworkManagerInfoDbus.c
19698 - Display name of network in the "network not found" dialog
19700 * panel-applet/NMWirelessAppletDbus.c
19701 - (nmwa_dbus_call_nm_method): new function replaces all other
19702 nmwa_dbus_get_[string|string_array|int|boolean] methods
19703 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19704 consolidated into nmwa_dbus_get_object_name()
19706 2004-10-15 Dan Williams <dcbw@redhat.com>
19708 * src/NetworkManagerDbus.c
19709 info-daemon/NetworkManagerInfoDbus.c
19710 - Display an error dialog when the user tries to use an
19711 "Other wireless network" that's not found.
19713 2004-10-15 Dan Williams <dcbw@redhat.com>
19715 * panel-applet/NMWirelessApplet.[ch]
19716 - Fix up corner cases in applet state, making it
19717 look more responsive. Change state to "connecting" when
19718 the user is forcing a device too.
19720 2004-10-15 Dan Williams <dcbw@redhat.com>
19722 * src/NetworkManagerAPList.c
19723 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19725 * src/NetworkManagerDbus.c
19726 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19728 * src/NetworkManagerDevice.c
19729 - Disown APs after the device's AP list takes ownership
19731 2004-10-15 Dan Williams <dcbw@redhat.com>
19733 * panel-applet/NMWirelessApplet.c
19734 - Update our applet state from the GUI thread
19736 * panel-applet/NMWirelessAppletDbus.c
19737 - Greatly simplify the locking to make the GUI thread
19738 smoother. Update a private copy of the device list
19739 and active device and only when done talking to
19740 NetworkManager turn it over to the GUI thread.
19742 2004-10-15 Dan Williams <dcbw@redhat.com>
19744 * src/NetworkManagerAP.[ch]
19745 - Add "artificial" get/set functions, set for APs that
19746 aren't discovered as part of a scan but instead
19747 discovered by force-setting the ESSID
19749 * src/NetworkManagerDevice.[ch]
19750 - (nm_device_wireless_network_exists): pass back whether
19751 or not the discovered AP was encrypted. Also, try
19752 falling back to encrypted mode on the card if unencrypted
19753 association doesn't work
19754 - (nm_device_find_and_use_essid): If the network requested
19755 did in fact exists, but it wasn't in our scan list, add
19756 an "artificial" entry for it. Some Cisco cards don't
19757 see non-ESSID-broadcasting APs in their scan but can still
19758 associate with them if you know the ESSID, this works around
19760 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19761 to scan if the card is currently associated with that AP
19763 2004-10-15 Dan Williams <dcbw@redhat.com>
19765 ---- We have a website ----
19766 http://people.redhat.com/dcbw/NetworkManager
19768 Patch from Robert Paskowitz:
19769 * src/NetworkManager.c
19770 - (main): Make sure we are run as root
19771 * src/NetworkManagerDevice.c
19772 - Fix type in ad-hoc setting function
19774 Patch from Thom May:
19775 * src/backends/NetworkManagerDebian.c
19776 - Make Debian backend compile again
19778 2004-10-14 Dan Williams <dcbw@redhat.com>
19780 * Tagged NetworkManager-0_3
19782 2004-10-14 Dan Williams <dcbw@redhat.com>
19784 Patch from Robert Paskowitz:
19786 src/NetworkManagerDevice.[ch]
19787 src/backends/NetworkManagerDebian.c
19788 src/backends/NetworkManagerGentoo.c
19789 src/backends/NetworkManagerRedHat.c
19790 src/backends/NetworkManagerSlackware.c
19791 - Add support for grabbing and using a broadcast address
19792 from system config files
19793 - Some Gentoo backend fixes for grabbing network config
19794 - Fix LOG_WARN->LOG_WARNING
19796 2004-10-14 Dan Williams <dcbw@redhat.com>
19798 * NEWS: a few small fixes in the credits
19800 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19802 * NEWS: prep for release.
19804 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19806 * panel-applet/NMWirelessAppletDbus.c
19807 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19809 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19811 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19812 applet->state == APPLET_STATE_NO_NM animation.
19814 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19815 set the text correctly.
19817 2004-10-14 Dan Williams <dcbw@redhat.com>
19819 * src/NetworkManager.c
19820 - Only accept and manager 802.3 and 802.11 devices
19822 * src/NetworkManagerDbus.[ch]
19823 - (nm_dbus_nm_set_active_device): move most of the actual activation
19824 logic into NetworkManagerDevice.c
19825 - (nm_dbus_network_status_from_data): new function
19826 - (nm_dbus_signal_network_status_change): new function, unused for now
19827 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19829 * src/NetworkManagerDevice.[ch]
19830 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19833 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19835 * info-daemon/NetworkManagerInfo.c
19836 - (main): Added session management
19838 2004-10-14 Dan Williams <dcbw@redhat.com>
19840 * panel-applet/NMWirelessAppletDbus.[ch]
19841 - Expose network_device_[un]ref()
19842 - Expose wireless_network_[un]ref()
19843 - (wireless_network_new_with_essid): new function, create and return
19844 a wireless network with a particular essid
19846 * panel-applet/NMWirelessApplet.c
19847 - Hook up the "other network" dialog to do something
19849 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19851 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19852 doesn't work yet, but it looks okay.
19854 * panel-applet/icons/*png: Resize to 22x22 and install in the
19857 2004-10-13 Dan Williams <dcbw@redhat.com>
19859 * panel-applet/NMWirelessApplet.c
19860 - Add function to print out applet_state in a readable
19863 * src/NetworkManager.c
19864 - (main): Don't segfault when nm_dbus_init() fails, we had
19865 a left-over call to hal_shutdown() into which we passed NULL
19867 * src/NetworkManagerAP.c
19868 - (nm_ap_set_essid): Allow NULL essids
19870 * src/NetworkManagerAPList.[ch]
19871 - More use of nm_ap_list_[un]lock ()
19872 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19873 network/essid, just return nothing. Also skip over NULL
19874 essid access points in the list when searching
19875 - (nm_ap_list_get_ap_by_address): new function
19876 - (nm_ap_list_update_network): set the access point's key source to
19877 NULL when the key returned from NetworkManagerInfo is NULL or
19879 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19880 copy timestamp over too
19881 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19882 find the correct ESSID for a blank-essid access point by searching
19883 through another list and matching access point MAC addresses
19884 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19886 * src/NetworkManagerDbus.c
19887 - (nm_dbus_nm_set_active_device): deal with random networks the user
19888 may specify. This is mainly for access points that don't
19889 broadcast their essid. So if the user tells us to associate with
19890 some random ESSID that's not in our access point list, we find
19891 out if the access point does in fact exist (by attempting association
19892 and then matching that access point's MAC address with the essid the
19893 user gave us) and then we switch to it.
19894 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19895 to the returned list of networks for the "getNetworks" method
19897 * src/NetworkManagerDevice.[ch]
19898 - Extra debugging info for link detection
19899 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19900 based on MAC address
19901 - (nm_device_get_path_for_ap): ignore blank-essid access points
19902 - (nm_device_wireless_network_exists): new function, find out whether
19903 a random ESSID exists by attempting to associate with it
19904 - (nm_device_do_normal_scan): allow blank-essid access points in our
19905 device list as long as they have an AP MAC address we can use.
19906 Also send WirelessNetwork[Dis]Appeared signals for non-active
19907 devices too. Lets the applet update more frequently.
19909 * src/backends/NetworkManagerGentoo.c
19910 - Patch from: Robert Paskowitz
19911 - Update backend code for Gentoo
19912 - Implement nm_system_device_update_config_info ()
19914 * test/nmclienttest.c
19915 - (set_network_device): new function, takes a command-line argument
19916 and tells NetworkManager to use that wireless network
19918 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19920 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19921 if the notification icon crashes 5 times within 5 seconds of each respawn
19923 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19925 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19928 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19930 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19932 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19933 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19934 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19935 Change the name of the icons.
19937 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19938 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19939 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19940 (nm_menu_wireless_expose_event): Really bad hack to get the style
19941 to draw in the right color.
19943 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19945 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19946 Notification if it crashes
19948 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19950 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19951 (nmwa_dbus_get_string): remove unused functions
19953 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19954 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19955 remove unused functions
19957 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19959 2004-10-12 Dan Williams <dcbw@redhat.com>
19961 * panel-applet/NMWirelessAppletDbus.c
19963 wireless_network_new
19964 wireless_network_copy
19966 network_device_copy
19968 * src/NetworkManagerDevice.[ch]
19970 nm_device_set_mode_managed
19971 nm_device_set_mode_adhoc
19972 - Use these functions where appropriate
19973 - When creating a new wireless device, force the card
19974 to managed/Infrastructure mode as soon as possible
19976 2004-10-12 Dan Williams <dcbw@redhat.com>
19978 * src/NetworkManagerDevice.c
19979 - Force wireless cards into Infrastructure mode before we use them
19981 2004-10-12 Dan Williams <dcbw@redhat.com>
19984 - Remove bit about static IP address support
19986 * src/NetworkManagerUtils.c
19987 - (nm_spawn_process): Add some error reporting
19989 * src/NetworkManagerDevice.c
19990 - (nm_device_activation_configure_ip): hook up to the static config
19991 routines in the backends
19993 * src/backends/NetworkManagerRedHat.c
19994 - (nm_system_device_update_config_info): use shvar.c routines to
19995 parse the config file iformation, not our own
19996 - (nm_system_device_setup_static_ip4_config): new function, based
19997 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19998 with a static IP address and gateway
20000 * src/backends/shvar.[ch]
20001 - Parser (filched from initscripts package) for ifcfg-* files
20003 * src/backends/NetworkManagerSystem.h
20004 src/backends/NetworkManagerGentoo.c
20005 src/backends/NetworkManagerDebian.c
20006 src/backends/NetworkManagerSlackware.c
20007 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
20009 2004-10-11 Dan Williams <dcbw@redhat.com>
20012 - Remove bit about more robust AP diffing since I just implemented it
20014 2004-10-11 Dan Williams <dcbw@redhat.com>
20016 * src/NetworkManagerAP.c
20017 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20018 enough RAM to allocate new AP structures, but return NULL instead
20020 * src/NetworkManagerAPList.[ch]
20021 - (nm_ap_list_is_empty): new function
20022 - (nm_ap_list_combine): new function, combine two access point lists
20023 - (nm_ap_list_copy_keys): new function, copy keys from one list
20026 * src/NetworkManagerDevice.[ch]
20027 - Rename some functions to be clearer:
20028 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20029 nm_device_just_activated -> nm_device_is_just_activated
20030 nm_device_activating -> nm_device_is_activating
20031 nm_device_now_scanning -> nm_device_is_scanning
20032 - Cache the last 4 scans so that the access point list is more stable.
20033 We combine the lastest two scans and use that as the AP list,
20034 and diff that combined list against the combination of the earliest
20035 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20037 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20039 * info-daemon/NWManagerInfo.h
20040 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20042 * info-daemon/NWManagerInfoDbus.c
20043 - (shutdown_callback): new function
20044 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20045 if NetworkManager goes away. Kill the timeout
20046 if NetworkManager restarts before the 30 seconds
20048 - (nmi_dbus_service_init):
20049 - call gtk_main_quit if NetworkManager is not running
20050 - add filters to monitor dbus service creations and
20053 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20055 * panel-applet/NMWirelessApplet.c
20056 - (nmwa_update_state): Hide notification icon if we are only
20057 showing one wired card and no wireless interfaces
20058 (Red Hat Bug #134895)
20060 * panel-applet/NMWirelessAppletDbus.c
20061 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20063 * info-daemon/NWManagerInfo.c
20064 - (main): Terminated the notification_icon_cmd array with a NULL
20066 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20068 * configure.in (ALL_LINGUAS): Added de (German).
20070 2004-10-08 Dan Williams <dcbw@redaht.com>
20072 * src/NetworkManagerDevice.c
20073 - Be a bit more robust about link checking, ie make sure that
20074 the WEP key we were given actually has some data in it
20076 2004-10-08 Dan Williams <dcbw@redhat.com>
20078 * info-daemon/NetworkManagerInfo.c (main):
20079 - Initialize GError object to NULL
20081 2004-10-08 Dan Williams <dcbw@redhat.com>
20083 * panel-applet/NMWirelessAppletDbus.c
20084 - Die if NetworkManagerInfo dies, since it manages our lifetime
20086 2004-10-08 Dan Williams <dcbw@redhat.com>
20088 * info-daemon/NetworkManagerInfo.[ch]
20089 info-dameon/NetworkManagerInfoDbus.[ch]
20090 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20091 - Preserve original label text in the passphrase dialog so that
20092 it actually gets updated with the new network name the next
20093 time around. Previously, we were overwriting it so you'd get
20094 the wrong network name to enter a key for
20095 - Add a "Key Type" combo to the passphrase dialog, user selects
20096 encryption key type now, type is stored in GConf too
20097 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20099 * src/NetworkManagerAP.[ch]
20100 - Remove all the encyption method magic. It's now set by the user
20101 and NetworkManager retrieves the type of encryption key from
20104 * src/NetworkManagerAPList.[ch]
20105 src/NetworkManagerDbus.[ch]
20106 - Adjust to new way of setting encryption key and method
20107 - Pull encryption method down from NMI along with key
20109 * src/NetworkManagerDevice.[ch]
20110 - Removed encryption method fallback magic as the method is now
20111 determined by the user. This greatly simplifies the connection
20113 - More robust connection/link logic. Besides removing the encryption
20114 method fallback magic, check whether or not the card is receiving
20115 invalidly encrypted packets, which usually indicates that we have
20117 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20119 * test/nminfotest.c
20120 - Test out new "Key Type" stuff in the NMI passphrase dialog
20122 2004-10-07 Dan Williams <dcbw@redhat.com>
20124 * info-daemon/NetworkManagerInfo.conf
20125 - Allow root user to run NMI too
20127 2004-10-06 Dan Williams <dcbw@redhat.com>
20129 * src/NetworkManagerDevice.[ch]
20130 src/NetworkManagerDbus.c
20131 doc/NetworkManager DBUS API.txt
20132 - Add a new status tag "scanning", which is set when there
20133 is no active network connection, but NetworkManager is
20134 looking for an access point to associate with
20136 * panel-applet/main.c
20137 - Cast the applet appropriately for gtk_widget_show_all ()
20139 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20141 * panel-applet/eggtrayicon.[ch]:
20142 * panel-applet/main.c: Add missing file
20144 2004-10-04 Dan Williams <dcbw@redhat.com>
20146 * src/NetworkManagerDevice.[ch]
20147 - Add a slightly more robust method of determining if the WEP key
20148 is correct or not, by checking the WEP-discarded packet count
20151 * info-daemon/NetworkManagerInfo.c
20152 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20153 un-escape values we pull out rather than escaping them
20155 2004-10-03 Marcel Telka <marcel@telka.sk>
20157 * configure.in (ALL_LINGUAS): Added sk.
20159 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20161 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20162 and feel. We should be back to working, and have a good, clean
20165 2004-09-30 Dan Williams <dcbw@redhat.com>
20167 * info-daemon/NetworkManagerInfo.c
20168 info-daemon/NetworkManagerInfoDbus.c
20170 - Escape ESSIDs in gconf
20172 * src/NetworkManagerDevice.c
20173 - Fix pseudo-scanning to use netowrk list from info daemon
20175 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20177 * configure.in: Add a temporary --enable-notification-icon. This
20178 will prolly go away.
20180 * info-daemon/Makefile.am:
20181 * info-daemon/NetworkManagerInfo.c:
20182 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20184 * panel-applet/Makefile.am:
20185 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20186 * panel-applet/NMWirelessApplet.h:
20188 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20190 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20191 before 'select custom ESSID'.
20193 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20194 fully complete, but syncing in prep for merge.
20196 * panel-applet/icons/*png: New images
20198 2004-09-28 Dan Williams <dcbw@redhat.com>
20200 * src/NetworkManager.c
20201 src/NetworkManagerDevice.c
20202 src/NetworkManagerPolicy.c
20203 - Don't blow away an active wired connection on startup
20205 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20209 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20211 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20214 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20216 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20217 have a wireless card.
20219 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20221 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20222 Also, get the right device strings.
20224 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20226 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20227 the logic to make this right.
20229 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20230 devices so that wired networks are always first.
20232 2004-09-22 <clarkbw@cvs.gnome.org>
20234 * initscript/Debian/.cvsignore:
20235 * initscript/Slackware/.cvsignore:
20236 Added new cvsignores for Makefile, Makefile.in
20239 Added nmtestdevices
20241 * src/NetworkManagerDevice.c:
20242 * src/NetworkManager.c:
20243 Updated the wireless/wired HAL device strings from net.ethernet to
20244 net.80203 or net.80211 depending on wired or wireless respectively
20246 * examples/python/NetworkManager.py:
20247 s/Quality/Strength/
20249 * examples/python/systray/network_tray.py:
20250 Lots of little changes and fixes. been rotting for a while so I
20251 figured I'd finally sync them all with CVS
20253 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20255 * configure.in: Add graphics
20257 * panel-applet/Makefile.am: Add graphics
20259 * panel-applet/icons/*: Add graphics
20261 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20262 the icons fully lined up.
20264 * panel-applet/menu-info.c:
20265 * panel-applet/menu-info.h: Add another menu type.
20267 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20269 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20271 * panel-applet/menu-item.[ch]: Wireless menu item.
20273 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20275 * info-daemon/NetworkManagerInfo.conf
20276 - Created a more robust security policy for the DBus service
20277 - everything is denied by default
20278 - root can own and send to the service
20279 - users logged in at the console can send to the service
20281 2004-09-13 Dan Williams <dcbw@redhat.com>
20283 * src/NetworkManagerDevice.c
20284 - (nm_device_get_essid): use iw_get_basic_config() rather than
20285 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20288 2004-09-13 Dan Williams <dcbw@redhat.com>
20292 * docs/NetworkManager DBUS API.txt
20293 - Update for new signal strength changes
20295 * panel-applet/NMWirelessApplet.c
20296 - Make panel icon show strength of the current connection
20297 - Cleanups and memleak fixes
20299 * panel-applet/NMWirelessApplet.h
20300 - Add data members for signal strength on devices and networks
20302 * panel-applet/NMWirelessAppletDbus.c
20303 - Free more DBusErrors
20304 - Update for new signal strength changes
20305 - Make devices and networks more like real objects, use ref/unref methods
20306 - Actually unlock the mutex when updating the active device
20308 * src/NetworkManagerAP.c
20309 - Change AP functions and data members from "quality"->"strength"
20311 * src/NetworkManagerDbus.c
20312 - Kill "getMaxQuality" and "getQuality" methods
20313 - Add "getStrength" methods for Networks and Devices
20315 * src/NetworkManagerDevice.[ch]
20316 - Add accessors for device strength
20317 - Add functions to update strength for a device. Note that not all drivers
20318 actually support signal strength for scanned access points (Atmel drivers
20320 - Calculate signal strength for each AP during scan
20322 * src/NetworkManagerWireless.[ch]
20323 - Add function to return signal strength % from a device and a raw quality struct
20325 * test/nmclienttest.c
20326 - Update for new signal strength changes
20328 2004-09-11 Dan Williams <dcbw@redhat.com>
20330 * src/NetworkManager.c
20331 - Fix race condition between initscripts and NM on card insertion
20332 which could cause a card to keep an IP address and routes around
20333 even when it was not the active device
20335 * src/NetworkManagerDbus.c
20336 - Fix compile errors, free more DBusErrors
20338 2004-09-11 Dan Williams <dcbw@redhat.com>
20340 * docs/NetworkManager DBUS API.txt
20341 - Add an explanation of NM's API
20343 * src/NetworkManagerDbus.c
20344 - Free some more DBusErrors if needed
20346 2004-09-11 Dan Williams <dcbw@redhat.com>
20348 * panel-applet/NMWirelessApplet.c
20349 panel-applet/NMWirelessAppletDbus.c
20350 - Start using NetworkDevice/WirelessNetwork structures in more places
20351 - Update for unified device/network forcing in NetworkManager
20353 * src/NetworkManager.c
20354 - some code consolidation
20356 * src/NetworkManagerDbus.c
20357 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20358 or two arguments: the first is the NM ID of the device to switch to,
20359 and the second (optional) argument is the ESSID of a wireless network
20361 - Get rid of "setNetwork" method due to above change
20363 * src/NetworkManagerDevice.c
20364 - (nm_device_new): perform scan and update best AP on device creation
20365 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20366 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20367 spin waiting for cancellation to finish before returning
20369 * src/NetworkManagerPolicy.c
20370 - Changes here clarify the situations in which a device switch occurs, and
20371 make sure to keep using a forced device and network if the user gives
20373 - Remove old unused code
20375 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20377 * configure.in: Added Danish (da) to ALL_LINGUAS.
20379 2004-09-09 Dan Williams <dcbw@redhat.com>
20381 * panel-applet/NMWirelessAppletDbus.c
20382 - Pull fresh devices and networks from NM when wireless networks
20383 change. Provides faster feedback of a forced wireless network
20385 * src/NetworkManagerDbus.c
20386 - Return error when "getMaxQuality" is called on a wired device
20387 - Make best_ap freezing actually work again, and signal cancellation
20388 of activation if there's already a device activation when the user
20389 freezes the best_ap
20391 * src/NetworkManagerDevice.c
20392 - Don't clear out the best_ap for wireless devices when the link goes
20393 down, that's done elsewhere
20394 - Kill any dhcp daemons when cancelling device activation since they
20395 may be stuck waiting for a DHCP address, and since we're cancelling
20396 activation we don't care about that anymore
20398 * src/NetworkManagerPolicy.c
20399 - Make sure to unref the device we ref earlier (we refed it to make sure
20400 it stuck around during device activation and such)
20401 - If we were going to change the best device, but its activating currently
20402 (and therefore the change didn't occur due to the check earlier)
20403 we mark the state changed to we come back to it later when device
20404 activation has canceled and its no longer activating
20406 * src/backends/NetworkManagerRedHat.c
20407 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20409 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20411 * info-daemon/passphrase.glade:
20412 set passphrase input to activates_default : True
20414 * examples/python/systray/network_tray.py
20415 (network_tray.sort_networks):
20417 Added support for having wireless always scanning
20419 2004-09-09 Dan Williams <dcbw@redhat.com>
20421 NOTE: this commit changes the behavior of wireless devices in
20422 NetworkManager. They are now up all the time, scanning all
20423 the time. Only the active device has an IP address and routing
20424 information set up however. Also, NetworkManager will no longer
20425 opportunistically switch wireless networks when a better one
20426 comes in range, it will remain associated with one wireless network
20427 until that one drops out.
20429 * panel-applet/NMWirelessApplet.c
20430 panel-applet/NMWirelessAppletDbus.c
20431 - List all wireless cards and their respective networks
20433 * src/NMLoadModules
20434 - Use full path to /sbin/ip
20436 * src/NetworkManager.c
20437 - Keep wireless devices up all the time so they can scan
20439 * src/NetworkManagerDbus.c
20440 - On a WirelessNetworkUpdate signal from NMI, don't update
20443 * src/NetworkManagerDevice.c
20444 - (nm_device_set_link_active): clear out the best ap for
20445 wireless devices when the link is set to FALSE
20446 - Scan on all wireless cards, all the time
20447 - (nm_device_activation_worker): split out the wireless card
20448 link-waiting code to a separate function
20449 - Keep wireless cards up even if device activation fails
20450 - Don't update the "best" ap as much
20452 * src/NetworkManagerPolicy.c
20453 - Don't update the best ap when checking if its frozen,
20454 let link checking clear out a frozen best ap for us
20456 * src/NetworkManagerWireless.c
20457 - Scan on all wireless cards, all the time
20459 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20461 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20463 2004-09-09 Ankit Patel <ankit@redhat.com>
20465 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20467 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20469 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20471 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20473 * examples/python/NetworkManager.py:
20474 added CONNECTED, CONNECTING, and DISCONNECTED states
20475 added methods to return number of devices of a single type
20477 * examples/python/systray/network_tray.py:
20478 did some tweaks to get the menu looking near what it is supposed
20479 to look like. Also did a Airo card hack to make it show the
20482 2004-09-08 Dan Williams <dcbw@redhat.com>
20484 * panel-applet/no-networkmanager.png
20485 panel-applet/Makefile.am
20486 panel-applet/NMWirelessApplet.c
20487 - Add a "NetworkManager not running" icon and use it
20488 - Use new consolidated GConf keys rather than Preferred/Trusted
20492 * info-daemon/NetworkManagerInfo.c
20493 info-daemon/NetworkManagerInfoDbus.[ch]
20494 info-daemon/NetworkManagerInfoPassphraseDialog.c
20495 - There are now no longer two separate lists of wireless networks,
20496 but one list where each network is "trusted" or not trusted
20497 - Add a "getNetworkTrusted" dbus method
20498 - "WirelessNetworkUpdate" signal now sent rather than
20499 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20500 - Start freeing some dbus errors (not completed yet)
20502 * info-daemon/passphrase.glade
20503 - Remove the "don't show" hints for pager and taskbar
20504 - Add a title since its going to be in the taskbar
20506 * src/NetworkManager.[ch]
20507 src/NetworkManagerAPList.[ch]
20508 - There are now no longer two separate lists of wireless networks,
20509 but one list where each network is "trusted" or not trusted
20511 * src/NetworkManagerAP.[ch]
20512 - Add get/set "trusted" accessors and data bit
20514 * src/NetworkManagerDbus.[ch]
20515 - Add function to get "trusted" status of a network from NetworkManagerInfo
20516 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20518 * src/NetworkManagerDevice.[ch]
20519 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20520 - (nm_device_new): Get device config from backend when initializing devices
20521 - (nm_device_activation_worker): Split out device configuration on
20522 activation to deal with static/dynamic IP differences, and try encryption
20523 fallbacks on a device if the encryption method for the best AP is not good
20524 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20525 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20527 * src/NetworkManagerWireless.c
20528 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20530 * src/backends/NetworkManagerRedHat.c
20531 src/backends/NetworkManagerSystem.h
20532 - (nm_system_device_update_config_info): Add function to get device configuration
20533 from system data in ifcfg-* files
20535 * src/backends/NetworkManagerDebian.c
20536 src/backends/NetworkManagerGentoo.c
20537 src/backends/NetworkManagerSlackware.c
20538 - Add stub functions for getting device configuration
20540 2004-09-07 Dan Williams <dcbw@redhat.com>
20542 * src/backends/NetworkManagerRedhat.c
20543 src/backends/NetworkManagerSlackware.c
20544 - Use full path to /sbin/ip everywhere
20546 2004-09-07 Dan Williams <dcbw@redhat.com>
20548 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20551 initscript/Makefile.am
20552 initscript/Slackware/Makfile.am
20553 initscript/Slackware/rc.networkmanager
20555 src/backends/NetworkManagerSlackware.c
20556 - Add Slackware support
20558 2004-09-07 Dan Williams <dcbw@redhat.com>
20560 Patches below from:
20562 Mark Roach <mrroach@okmaybe.com>
20563 Thom May <thom@debian.org>
20566 initscript/Debian/NetworkManager
20567 initscript/Debian/Makefile.am
20568 - Initscript for Debian
20570 * src/backends/NetworkManagerDebian.c
20571 - Add missing system init function to allow compilation
20574 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20576 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20578 2004-09-03 Akagic Amila <bono@linux.org.ba>
20580 * configure.in: Added 'bs' to ALL_LINGUAS.
20582 2004-09-02 Colin Walters <walters@verbum.org>
20584 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20585 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20586 g_strdup_printf instead of arbitrarily sized buffers.
20588 2004-09-01 Colin Walters <walters@verbum.org>
20590 * NetworkManager.pc.in: New file.
20592 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20594 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20596 * configure.in: Punjabi(pa) is added to po/.
20598 2004-08-31 Dan Williams <dcbw@redhat.com>
20600 * Remove 'debug' extern global from all files since we now
20603 * src/NetworkManager.[ch]
20604 - Break out routine that get the net.interface property from HAL,
20605 removing that logic from nm_create_device_and_add_to_list()
20606 - (nm_create_device_and_add_to_list): make this a bit more general so
20607 it doesn't do the talking to HAL. Also add arguments to facilitate
20608 the create of test devices.
20609 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20610 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20611 which makes NetworkManager listen for dbus commands to create test
20612 devices, which have no backing hardware. Use when you're on a plane
20613 for example, and/or forgot your wireless card at home. Test devices
20614 _cannot_ be created unless NM is started with --enable-test-devices.
20616 * src/NetworkManagerDbus.[ch]
20617 - New "getLinkActive" method for devices
20618 - New "setLinkActive" method for devices (only works on test devices)
20619 - New "createTestDevice" method on NetworkManager object to create a test
20620 device of a specified type (ie wired, wireless). UDI is created from
20621 scratch, as is the interface name. Only works when NM is started with
20622 --enable-test-devices switch.
20623 - New "removeTestDevice" method on NetworkManager object which removes a
20624 test device. Only works when NM is started with --enable-test-devices
20626 * src/NetworkManagerDevice.[ch]
20627 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20628 whether a device is a test device or not, and what its link status is.
20629 - Deal with test devices in most functions. For those that work directly on hardware
20630 special-case test devices.
20631 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20633 - (nm_device_update_link_active): split out logic for wired and wireless device link
20634 checking to separate functions to facilitate test device link checking.
20635 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20636 don't make a distinction between System Authentication and Encryption
20637 (namely Cisco aironet), we use Open System auth when setting a WEP key
20638 on the card. We don't deal with Shared Key auth yet.
20639 - (nm_device_activation_worker): split the activation cancel check logic out into
20640 a separate routine nm_device_activation_cancel_if_needed()
20641 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20642 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20643 a list of fake access points that they can "see"
20644 - (nm_device_is_test_device): return whether or not a device is a test device
20646 * src/NetworkManagerPolicy.c
20647 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20648 previously if you "locked"/forced NM to use a wireless device but then
20649 selected a wireless network for NM to use, it would switch to a wired device.
20650 So, if the active device is wireless and it has a "forced" best AP, use it
20651 if the "forced" best AP is still valid
20652 - (nm_state_modification_monitor): deal with NULL best devices, for example
20653 there were no usable network devices, or the last one was removed
20655 * src/backends/NetworkManager*.c
20656 - Deal with test devices, mostly just return success for operations like getting
20659 * test/nmtestdevices.c
20660 - Test tool to create/remove/link-switch test devices
20662 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20664 * examples/python/NetworkManager.py:
20665 added convience functions has_wired_device and has_wireless_device
20667 * examples/python/systray/network_tray.py:
20668 cleaned up a bunch of cruft, added support for listing wireless
20669 networks just like the real applet. This is probably all I'm
20670 going to work on this applet from now on.
20671 TODO: add support for actually changing networks and devices
20673 * examples/python/NetworkManager.py (NetworkManager.get_device):
20674 changed "nm.networks" into a dict from a list so I can store all
20675 the cool information about networks in there
20677 * examples/python/systray/network_tray.py:
20678 Added nice message when you try to run without running make first
20680 * examples/python/NetworkManager.py:
20681 Bug fixes to the code so we get all the device information
20682 that we need in get_device()
20684 * examples/python/NMTester.py:
20685 Fixed _print_device_list to print_device_list
20687 2004-08-29 Seth Nickell <seth@gnome.org>
20691 Actually properly setup the Debian backend in configure.
20693 2004-08-29 Colin Walters <walters@verbum.org>
20695 * test/nminfotest.c: Include string.h and stdlib.h.
20696 (get_network_string_property, get_networks_of_type): Return NULL.
20698 * test/nmclienttest.c (get_device_name, get_active_device): Return
20701 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20702 use strlen, fgets always NULL-terminates the string.
20704 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20705 dbus_message_get_member): Remove /* in comment.
20707 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20709 * src/NetworkManager.c (quit): Unused, delete.
20710 (nm_data_free): Cast arg to GFunc.
20712 * panel-applet/NMWirelessAppletDbus.c: Need to include
20713 string.h, and dbus-glib-lowlevel.h (the latter is needed
20714 for dbus_connection_setup_with_g_main at present).
20715 (nmwa_dbus_update_wireless_network_list): Parenthesize
20716 assignment in conditional.
20717 (nmwa_dbus_worker): Return NULL.
20719 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20720 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20721 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20722 (nmwa_populate_menu): Return NULL on failure, instead of just
20725 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20727 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20730 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20733 2004-08-29 Colin Walters <walters@verbum.org>
20735 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20736 a GTimeVal instead of time_t. This is easier to work with,
20737 since time_t may be a long or double, we don't know.
20739 * src/NetworkManagerDbus.h: Update prototype.
20741 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20743 (nm_ap_get_timestamp): Update to return GTimeVal.
20744 (nm_ap_set_timestamp): Update to take GTimeVal.
20746 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20747 to handle GTimeVal.
20749 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20751 (nm_ap_list_print_members): Fix warnings in printf format.
20753 2004-08-29 Colin Walters <walters@verbum.org>
20755 * panel-applet/NMWirelessApplet.c: Include config.h.
20757 2004-08-29 Colin Walters <walters@verbum.org>
20759 * configure.in: Generate config.h.
20761 * configure.in: Dump dependency on OpenSSL; we can't
20762 use it since this package is GPL:
20763 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20764 Instead, check for libgcrypt, use it if available,
20765 otherwise use included MD5 code.
20767 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20768 Suck in from gnome-keyring, munge a bit.
20770 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20771 gnome-keyring-md5.h gnome-keyring-md5.c.
20772 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20774 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20775 libgcrypt or included gnome-keyring md5 bits.
20776 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20778 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20780 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20782 2004-08-27 Bryan Clark <bclark@redhat.com>
20784 * examples/python/systray/Makefile:
20786 Updated the clean section
20788 * examples/python/systray/trayiconmodule.c:
20789 * examples/python/systray/trayicon.override:
20790 * examples/python/systray/network_tray.py:
20791 * examples/python/systray/eggtrayicon.h:
20792 * examples/python/systray/eggtrayicon.c:
20793 * examples/python/systray/Makefile:
20794 * examples/python/README:
20795 * examples/python/NetworkManager.py:
20796 * examples/python/NMTester.py:
20798 Initial commit of these python example files
20800 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20802 * panel-applet/NMWirelessApplet.c
20803 - Make current device bold
20804 - Show more user-friendly device name if we got one from hal
20806 * panel-applet/NMWirelessAppletDbus.c
20807 - Grab "info.product" key from hal for network devices
20808 - Cache the current active device
20810 2004-08-27 Adam Weinberger <adamw@gnome.org>
20812 * configure.in: Added en_CA to ALL_LINGUAS.
20814 2004-08-27 Christian Rose <menthos@menthos.com>
20816 * configure.in: Added "sv" to ALL_LINGUAS.
20818 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20820 * Tag NetworkManager-0.2
20822 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20824 * initscripts/Makefile.am
20825 * configure.in: Make pass distcheck
20827 * po/ChangeLog: added
20829 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20831 * panel-applet/NMWirelessApplet.c
20832 - Remove debugging code
20833 - Enable device switching from menus
20835 * panel-applet/NMWirelessAppletDbus.[ch]
20836 - Method for asking NM to switch devices
20838 * src/NetworkManagerDevice.c
20839 - Set dev->activating earlier, avoids race between
20840 the dbus signal of "DeviceActivating" and setting
20841 dev->activating (which is what NM's "status" method call
20844 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20846 * panel-applet/NMWirelessApplet.[ch]
20847 - Rework menu code to add devices to menu, and to show
20848 signal strength for each access point. Code cleanups
20851 * panel-applet/NMWirelessAppletDbus.c
20852 - Grab network devices from NetworkManager too
20853 - Grab quality information from NM for wireless networks
20855 * src/NetworkManagerDbus.[ch]
20856 - Add dbus methods for getting the HAL UDI from a device and
20857 for getting its base quality, if its wireless
20858 - Consolidate some functions (wireless network notifications,
20859 device notifications)
20860 - Add method for requesting NM to use a particular device
20862 * src/NetworkManager.c
20863 - Change for function consolidations from NetworkManagerDbus.c
20864 - Implement active device locking and user-requested devices
20865 (ie, tell NM to use a particular device instead of the one
20868 * src/NetworkManagerDevice.c
20869 - Add method for getting the base quality of a device, if its
20871 - Grab device base quailty info from iwlib during scans
20873 * src/NetworkManagerPolicy.c
20874 - Use a user-requested device rather than the auto-chosen device
20877 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20879 * Makefile.am: add po as a supdir
20881 * autogen.sh: use gnome-autogen.sh
20883 * initscript/Gentoo/.cvsignore:
20884 * initscript/RedHat/.cvsignore: Shut up cvs
20886 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20888 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20889 (nmwa_fill): Use gettext.
20891 * configure.in: add gettext support
20893 * po/NetworkManager.pot:
20896 2004-08-26 Seth Nickell <seth@gnome.org>
20898 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20899 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20900 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20901 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20902 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20903 * panel-applet/NMWirelessApplet.h:
20905 Use a menu bar instead of a button for the main clickable
20908 2004-08-25 Dan Williams <dcbw@redhat.com>
20910 * src/NetworkManagerDevice.c
20911 - (nm_device_set_enc_key): always set device to "open" mode instead of
20912 turning encryption off, because the Cisco driver doesn't associate
20913 with WEP-enabled access points unless we are in "open"
20915 2004-08-25 Dan Williams <dcbw@redhat.com>
20917 * src/NetworkManagerWireless.c
20918 - Don't try to defererence blank passphrases
20920 2004-08-25 Dan Williams <dcbw@redhat.com>
20922 * panel-applet/NMWirelessApplet.c
20923 - Rebuild the menu whenever a user clicks
20925 2004-08-25 Dan Williams <dcbw@redhat.com>
20927 * panel-applet/NMWirelessApplet.c
20928 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20929 when NM isn't around or when its not connected
20931 * src/NetworkManagerDevice.c
20932 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20935 2004-08-25 Dan Williams <dcbw@redhat.com>
20937 * panel-applet/NMWirelessAppletDbus.c
20938 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20939 for getting encryption, and don't stop on "val" once we've gotten it
20940 from NetworkManager. Short form: encryption should now show up.
20942 2004-08-25 Dan Williams <dcbw@redhat.com>
20944 * panel-applet/NMWirelessApplet.c
20945 - Set ESSID on a gconf trusted network too when force-setting the wireless
20946 network to associate with
20948 2004-08-25 Dan Williams <dcbw@redhat.com>
20951 - Rework the panel applet to do all DBUS communication in a separate
20954 2004-08-25 Dan Williams <dcbw@redhat.com>
20956 * info-daemon/NetworkManagerInfo.[ch]
20957 - Remove "get_next_priority" function
20959 * info-daemon/NetworkManagerInfoDbus.[ch]
20960 - Convert "priority" functions to "timestamp"
20962 2004-08-25 Dan Williams <dcbw@redhat.com>
20964 * src/NetworkManagerAP.[ch]
20965 - Add a "enc_method_good" member and accessors to an Access Point
20966 to signal when we've found the correct encryption method
20967 for an access point
20968 - Add a "timestamp" member and accessors, remove "priority" member
20969 and accessors (use timestamps instead)
20970 - Rename "wep_key"->"enc_key"
20971 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20972 for a specified encryption method using the access points
20973 source encryption key/passphrase
20975 * src/NetworkManagerAPList.c
20976 - When updating a network with dbus, grab timestamp now instead of
20979 * src/NetworkManagerDBus.[ch]
20980 - Add signal for "DeviceActivating"
20981 - Switch priority->timestamp
20983 * src/NetworkManagerDevice.c
20984 - Change references of "wep_key" -> "enc_key" or "key"
20985 - Signal DeviceActivating when starting activation
20986 - When activating a wireless device, if the access point we are connecting
20987 to is encrypted, and we have a source key, try to generate a mangled
20988 key and use that (ie, generate real WEP key from a passphrase)
20989 - Rework device activation to fallback to other encryption methods if
20990 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20991 first, then if that doesn't work fall back to direct hex key).
20992 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20993 priority. We now prefer the latest access point used, rather than using
20995 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20996 points we've just discovered, and merge in correct info from the global
20999 2004-08-25 Seth Nickell <seth@gnome.org>
21001 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
21005 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
21006 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
21007 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
21008 (nm_system_delete_default_route),
21009 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
21010 (nm_system_load_device_modules):
21012 2004-08-24 Dan Willemsen <dan@willemsen.us>
21014 * src/NetworkManager.c
21015 src/backends/NetworkManagerGentoo.c
21016 src/backends/NetworkManagerRedHat.c
21017 src/backends/NetworkManagerSystem.h
21018 - Implement preliminary Gentoo support, adding a
21019 nm_system_init function to the backend specification
21022 - Distribution auto-detection, lowercase any user-fed
21025 * initscript/.cvsignore
21026 initscript/Makefile.am
21027 initscript/RedHat/Makefile.am
21028 initscript/RedHat/NetworkManager
21029 initscript/Gentoo/Makefile.am
21030 initscript/Gentoo/NetworkManager
21031 - Refactored initscript code separately for each
21034 2004-08-23 Dan Williams <dcbw@redhat.com>
21038 src/NetworkManagerDevice.c
21039 src/NetworkManager.c
21040 src/NetworkManagerUtils.[ch]
21041 src/backends/NetworkManagerSystem.h
21042 src/backends/NetworkManagerRedHat.c
21043 src/backends/NetworkManagerGentoo.c
21044 - Refactor system-specific code into separate backends for
21047 2004-08-23 Dan Willemsen <dan@willemsen.us>
21049 * dispatcher-daemon/NetworkManagerDispatcher.c
21050 info-daemon/NetworkManagerInfo.[ch]
21051 info-daemon/NetworkManagerInfoDbus.c
21052 info-daemon/NetworkManagerInfoPassphraseDialog.c
21053 src/NetworkManager.c
21054 src/NetworkManagerAP.c
21055 src/NetworkManagerAPList.c
21056 src/NetworkManagerDbus.c
21057 src/NetworkManagerDevice.c
21058 src/NetworkManagerPolicy.c
21059 src/NetworkManagerUtils.[ch]
21060 src/NetworkManagerWireless.c
21061 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21063 * src/NetworkManager.c
21064 - Fixed usage wording for --no-daemon
21066 2004-08-23 Dan Williams <dcbw@redhat.com>
21068 * panel-applet/NMWirelessApplet.c
21069 - Update our state every second to get more responsive panel icon
21070 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21071 was causing our marching ants status blips to never move when
21072 looking for a wireless network
21074 * src/NetworkManagerDevice.c
21075 - (nm_device_activation_begin): return if activation has already begun
21076 - (nm_device_do_normal_scan): merge WEP key and priority from the
21077 trusted/preferred network into the device's access point when the
21078 scan list is processed
21080 2004-08-23 Dan Williams <dcbw@redhat.com>
21082 * initscript/NetworkManager
21083 - Use NMLaunchHelper rather than sleeping
21085 * initscript/NMLaunchHelper.c
21087 - Add helper program that exits only when NM activates a device,
21088 or 10 seconds have passed, whichever happens first. This
21089 stops the boot processes until we have a network connection,
21090 which NM can't do because it daemonizes and brings the connection
21091 up in the background. Allows stuff like NFS to not die.
21093 2004-08-20 Dan Williams <dcbw@redhat.com>
21095 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21096 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21097 for a network, set the essid as well since it may not exist yet
21098 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21099 since WEP keys/passphrases are long and prone to entry-error
21101 * panel-applet/Makefile.am
21102 panel-applet/wired.png
21103 - Add (pulled from system-config-network temporarily)
21105 * panel-applet/NMWirelessApplet.[ch]
21106 - Show wired picture when a wired connection is used
21107 - Rename wireless icon enums, adding WIRELESS
21109 * src/NetworkManagerDevice.c
21110 - (nm_device_activate_wireless): unset encryption before bringing
21111 down the card and setting the essid
21112 - (nm_device_activatin_worker): request a key from the user if the
21113 AP we are connecting to is encrypted but we don't have a key
21115 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21116 strcmp() that prevented a user-entered key from actually getting
21119 2004-08-16 Dan Williams <dcbw@redhat.com>
21121 * initscript/NetworkManager
21122 - Check for /sbin/ip
21123 - Do sysctl magic that network service does
21124 - sleep 4s after start to allow network time to come up [hack]
21128 - Load all network device kernel modules (hal doesn't know devices
21129 are ethernet until the module is loaded, and therefore we don't know)
21131 * src/NetworkManager.c
21132 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21133 network devices, and bring up the loopback device explicitly
21135 * src/NetworkManagerUtils.[ch]
21136 - (nm_enable_loopback): new function
21138 2004-08-13 Dan Williams <dcbw@redhat.com>
21141 panel-applet/Makefile.am
21142 - Fix up cleanfiles and server_DATA/server_in_files
21145 - Update with some comments on theory of operation
21151 2004-08-12 Dan Williams <dcbw@redhat.com>
21153 * info-daemon/passphrase.glade
21154 - Set window title to " "
21156 * panel-applet/Makefile.am
21157 panel-applet/keyring.png
21158 - Deliver to correct place
21160 * panel-applet/NMWirelessApplet.[ch]
21162 - Remove applet->have_active_device as its no longer used
21163 - (nmwa_load_theme): load keyring.png too
21164 - (error_dialog): remove
21165 - (show_warning_dialog): subsume functionality of error dialog too
21166 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21167 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21169 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21170 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21171 and when we get broadcasts of changed wireless access points only, not when the
21172 user clicks on the button to display the menu (too long of a wait)
21173 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21174 networks that are encrypted
21175 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21176 menu item with g_object_set_data()
21178 * panel-applet/NMWirelessAppletDbus.[ch]
21179 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21180 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21181 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21182 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21183 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21184 activation/deactivation signals and rebuild the menu when they happen
21186 * src/NetworkManager.c
21187 - (main): use new nm_spawn_process() rather than system()
21189 * src/NetworkManagerDbus.c
21190 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21191 instead. Since we can now force best_aps to stick around, the AP structure to which
21192 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21193 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21194 to freeze the best_ap.
21196 * src/NetworkManagerDevice.[ch]
21197 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21198 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21199 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21202 * src/NetworkManagerUtils.[ch]
21203 - (nm_spawn_process): add replacement for system() usage
21205 2004-08-11 Dan Williams <dcbw@redhat.com>
21207 * panel-applet/NMWirelessApplet.[ch]
21208 - Fix up copyright and credits to include Bastien and Eskil,
21209 who created the gnome-applets wireless applet, from whose
21210 skeleton this one was created
21211 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21212 pixmap to draw is computed during nmwa_update_state()
21213 - Applet now shows itself all the time due to panel packing issues
21214 which caused the applet to previously never come back after hiding.
21215 When a wired device is the active device, the applet shows "not connected"
21217 * panel-applet/NMWirelessAppletDbus.[ch]
21218 - Clean up error messages and show what function they are from
21219 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21220 - Add new device type getters, and a status getter
21222 * src/NetworkManagerDbus.c
21223 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21224 network is actually in the device's ap list
21225 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21227 * src/NetworkManagerDevice.c
21228 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21231 * test/nmclienttest.c
21232 - Report status of NetworkManager too
21234 2004-08-11 Dan Williams <dcbw@redhat.com>
21236 * info-daemon/NetworkManagerInfo.c:
21237 - (main): clean up Seth's code style
21239 * info-daemon/NetworkManagerInfoDbus.c:
21240 - Use the more aptly-named path/service/interface constants from NetworkManager
21241 - Don't return empty strings ("") as object paths ever, instead return errors
21243 * panel-applet/NMWirelessApplet.c:
21244 - Clean up Seth's code style
21246 * src/NetworkManager.[ch]
21247 - (nm_remove_device_from_list): remove anything having to do with pending_device
21248 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21250 * src/NetworkManagerAPList.[ch]
21251 - Move Iter struct right above the iter functions to preserve opacity
21252 - (nm_ap_list_remove_ap): implement
21253 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21254 remove AP if NetworkManagerInfo doesn't know anything about it
21255 - (nm_ap_list_diff): user NMAPList iterators
21256 - (nm_ap_list_print_members): implement debugging function
21258 * src/NetworkManagerDbus.[ch]
21259 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21260 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21261 and move the actual key setting stuff into NetworkManagerDevice.c
21262 - (nm_dbus_get_network_priority): return -1 now on errors
21263 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21264 get lost, and force the active device to update its "best" ap when AP lists change
21265 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21266 method call due to pending_device member removal
21268 * src/NetworkManagerDevice.[ch]
21269 - Move NMDevice structure to the top
21270 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21271 - Remove Pending Action stuff from everywhere
21272 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21273 activation for us. This thread blocks until all conditions for activation have
21274 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21275 then setup up the interface and runs dhclient. We have to do this because there
21276 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21277 run our main loop and respond to dbus method calls or HAL device removals/inserts
21278 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21279 can tell nm_device_activation_worker() that we've got a key
21280 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21281 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21282 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21283 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21285 * src/NetworkManagerPolicy.c
21286 - Remove anything to do with pending_device
21287 - Adjust device activation to deal with activation-in-worker-thread
21289 * src/NetworkManagerUtils.c
21290 - Clean up locking debugging a bit
21292 * src/NetworkManagerWireless.[ch]
21293 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21294 was badly named and is better as a device function
21296 * panel-applet/.cvsignore: add
21298 2004-08-09 Seth Nickell <seth@gnome.org>
21300 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21301 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21303 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21305 Don't load the menus until clicked on (also removes a call outside
21306 normal code paths at first load).
21308 Hide applet when NM is not present.
21310 Improve printf debugging stuff.
21312 2004-08-09 Dan Williams <dcbw@redhat.com>
21314 * dispatcher-daemon/NetworkManagerDispatcher.c:
21315 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21316 - Use constants for NetworkManager interface, service, and path
21318 2004-08-09 Dan Williams <dcbw@redhat.com>
21320 * src/NetworkManagerDbus.c:
21321 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21322 instead return an error message
21323 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21324 on a wired device. Also never return an empty object path, instead return an error message
21326 2004-08-06 Seth Nickell <seth@gnome.org>
21328 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21330 Check the error code when getting a connection.
21332 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21334 Check if the NM service exists when initializing (rather than
21335 assuming it does not).
21337 * src/NetworkManagerDbus.c: (nm_dbus_init):
21339 Don't acquire the well-known service name until we have
21340 registered object/path handlers and can actually receive
21343 2004-08-06 Dan Williams <dcbw@redhat.com>
21348 * src/NetworkManagerPolicy.c
21349 src/NetworkManager.c
21350 - Get access point lists from NetworkManagerInfo on-demand,
21351 and look for ServiceCreate/ServiceDeleted signals to see when
21352 we should query NMI for lists
21353 * src/NetworkManagerAPList.c
21354 - Make sure to init the list's mutex
21355 - Convert traversals of the list over to the list iter functions
21357 * src/NetworkManagerDbus.[ch]
21358 - Use more aptly-named path/service/interface constants
21359 - Treat both active and pending devices the same for "getActiveDevice"
21360 - Add a "status" method returning "connected", "connecting", or "disconnected"
21362 * src/NetworkManagerDevice.c
21363 - Honor "ignored" network list when picking best ap to use
21365 2004-08-06 Seth Nickell <seth@gnome.org>
21369 Autogenerated, remove from CVS.
21373 Don't hardcode automake version.
21376 * info-daemon/Makefile.am:
21377 * info-daemon/NetworkManagerInfo.c: (main):
21379 Use GnomeProgram et al. for doing session management.
21380 Use popt stuff for argument parsing rather than doing
21383 2004-08-05 Dan Williams <dcbw@redhat.com>
21385 * test/nminfotest.c
21386 - Update to new NMI dbus API, check different network types
21388 * info-daemon/NetworkManagerInfoDbus.c
21389 - Update to new NM dbus API, ie network type sent in query message
21391 2004-08-05 Dan Williams <dcbw@redhat.com>
21393 * An assload of changes
21395 2004-08-02 Dan Williams <dcbw@redhat.com>
21398 - new task: proper logging support
21400 * info-daemon/NetworkManagerInfo.c
21401 - Correct spelling of "canceled"
21402 - Correct casting of objects for g_signal_connect()
21404 * info-daemon/NetworkManagerInfoDbus.c
21405 - Add defines for NetworkManager namespace and object path, and use them
21406 - Add filter function to trap new signals from NetworkManager:
21407 WirelessNetworkAppeared, WirelessNetworkDisappeared
21409 * info-daemon/passphrase.glade
21410 - Change name of "ok" button to "Login to Network..."
21413 * src/NetworkManager.c
21414 - Code and debug message cleanups
21415 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21416 - (nm_add_initial_devices) Check returned string array of devices
21417 and don't try to add devices if array is NULL
21418 - (main) Initialize libhal a bit later, make code a bit clearer
21420 * src/NetworkManagerAP.[ch]
21421 - New accessor and data member "matched": used to speed up AP list
21423 - New accessor and data member "enc_method": will be used during key
21424 fallback to cache which passphrase->key conversion actually works
21425 so we don't have to do it every time
21427 * src/NetworkManagerAPList.[ch]
21428 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21429 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21430 between them, and send WirelessNetworkAppeared/Disappeared signals over
21431 dbus in response to those differences
21433 * src/NetworkManagerDbus.[ch]
21434 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21435 make an object path for that access point (NOTE that we don't yet check to
21436 make sure that access point is actually in the device's AP list yet)
21437 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21438 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21439 New: signal appearance/disappearance of wireless networks
21440 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21443 * src/NetworkManagerDevice.[ch]
21444 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21445 - (nm_device_ap_list_get) New: return the AP list (static function)
21446 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21447 new one resulting from the scan with the old one
21449 * src/NetworkManagerWireless.c
21450 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21452 * test/nminfotest.c
21453 - #define object paths and namespaces and use the #defines rather than static strings
21454 - Test out user-key functionality of NetworkManagerInfo too
21456 2004-07-29 Dan Williams <dcbw@redhat.com>
21458 * info-daemon/NetworkManagerInfoDbus.c
21459 src/NetworkManagerDbus.c
21460 - Update to current DBus (ie don't use decomposed paths when registering
21461 object paths/fallbacks)
21463 2004-07-27 Dan Williams <dcbw@redhat.com>
21465 * Remove various Makefile.in files
21468 - Add some more items
21471 - Add checks for OpenSSL/md5 headers and libs
21474 - Use OpenSSL CFLAGS
21476 * src/NetworkManagerAP.[ch]
21477 - Remove 'stamp' functions, replace with 'invalid' functions
21478 to support user cancelling WEP key entry
21480 * src/NetworkManagerDbus.c
21481 - Remove 'stamp' return functions
21482 - Treat returned user key as a passphrase and convert to a WEP key,
21483 but don't actually use the WEP key yet. We use the returned user
21484 key as a hexadecimal WEP key until we can figure out a UI for
21485 passphrase-vs-hex key
21487 * src/NetworkManagerWireless.[ch]
21488 - Add passphrase-to-128bit-key function
21490 2004-07-27 Dan Williams <dcbw@redhat.com>
21493 - Add a couple of items
21495 2004-07-27 Dan Williams <dcbw@redhat.com>
21497 * info-daemon/NetworkManagerInfo.c
21498 - Update allowed network's GConf key when user enters a WEP key explicitly
21500 * info-daemon/NetworkManagerDbus.c
21501 - Fix some comments
21502 - nmi_dbus_get_allowed_networks(): kill warning
21504 2004-07-27 Dan Williams <dcbw@redhat.com>
21506 * initscript/Makefile.in
21509 * initscript/Makefile.am
21510 - Add correct rules to install the init.d initscript
21512 * info-daemon/NetworkManagerInfoDbus.c
21513 - Remove debug fprintf
21515 * src/NetworkManagerDbus.[ch]
21516 - Remove debug fprintfs
21517 - Add macros for NetworkManagerInfo object path/namespace
21518 - Use said macros instead of constant strings
21520 2004-07-27 Dan Williams <dcbw@redhat.com>
21522 * initscript/.cvsignore
21525 * info-daemon/Makefile.am
21526 - Install .glade files and keyring.png
21527 - Fix stupid omission of a \ that caused half the flags not to be
21530 * info-daemon/NetworkManagerInfo.c
21531 - gtk_signal_connect->g_signal_connect
21532 - Alert NetworkManagerInfo to new glade file location
21534 2004-07-27 Dan Williams <dcbw@redhat.com>
21536 * test/nmclienttest.c
21538 - Add missing <dbus/dbus.h> headers
21539 - Add GPL message at top
21541 2004-07-27 Dan Williams <dcbw@redhat.com>
21543 * src/NetworkManagerAPList.[ch]
21545 - Add. Deal with allowed network list additions, deletions, and updates
21547 * dispatcher-daemon/NetworkManagerDispatcher.c
21548 - Add missing <dbus/dbus.h> header
21550 * info-daemon/NetworkManagerInfo.[ch]
21551 - Add missing <dbus/dbus.h> header
21552 - Implement the GConf notify callback to signal NetworkManager of an allowed
21554 - Better error checking
21556 * info-daemon/NetworkManagerInfoDbus.[ch]
21557 - Add missing <dbus/dbus.h> header
21558 - Convert to using dbus_message_append_args/dbus_message_get_args
21559 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21560 that an allowed network changed. We don't want to signal on individual
21561 keys _inside_ an allowed network really, just want NM to query the info
21562 daemon for updated info on all keys.
21563 - Better error checking
21565 * src/NetworkManager.[ch]
21566 - Add missing <dbus/dbus.h> header
21567 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21568 - Zero out NMData structure on free
21569 - No longer use a thread for allowed_ap_list updating, instead its now done
21570 through dbus queries against NetworkManagerInfo
21571 - Populate allowed_ap_list initially before adding existing network devices
21572 to the device list, so wireless devices can get their "best" AP
21574 * src/NetworkManagerDbus.[ch]
21575 - Convert to using dbus_message_append_args/dbus_message_get_args
21576 - Better error checking
21577 - Implement Allowed Network info functions to request allowed network
21578 info from NetworkManagerInfo
21579 - Implement the filter function to process signals from NetworkManagerInfo
21580 about changing allowed networks
21582 * src/NetworkManagerDevice.c
21583 - Fix file descriptor leak in nm_device_update_ip4_address()
21585 2004-07-27 Dan Williams <dcbw@redhat.com>
21590 dispatcher-daemon/.cvsignore
21591 info-daemon/.cvsignore
21592 - Add .cvsignore files to reduce noise when diffing
21594 2004-07-24 Dan Williams <dcbw@redhat.com>
21596 * src/NetworkManager.[ch]
21597 src/NetworkManagerDbus.[ch]
21598 src/NetworkManagerDevice.[ch]
21599 src/NetworkManagerPolicy.c
21600 src/NetworkManagerWireless.[ch]
21601 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21602 - Pass the NMData application data structure through all calls
21603 that need it so we can get rid of nm_get_global_data()
21604 - Change deallocation of the allowed_ap_list GSList in preparation
21605 for not completely clearing it every time we get an update,
21606 but instead getting incremental updates via GConf/dbus
21608 2004-07-22 Dan Williams <dcbw@redhat.com>
21611 - Add checks for GConf libs & headers & flags
21613 * info-daemon/Makefile.am
21614 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21616 * info-daemon/NetworkManagerInfo.[ch]
21617 - Don't use gquarks for data storage, just use normal data storage
21618 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21620 * info-daemon/NetworkManagerDbus.[ch]
21621 - Add method call for getting allowed networks
21622 - Add method calls for getting an allowed network's essid, priority, and key
21623 - Hook the method calls up to GConf
21624 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21625 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21627 * src/NetworkManagerDbus.[ch]
21628 - Switch for enumeration of networks to using essid instead
21632 - Add test program for NetworkManagerInfo
21634 2004-07-19 Dan Williams <dcbw@redhat.com>
21636 * src/NetworkManagerDbus.c
21637 - Switch from indexed device paths to names. Less code, more efficient.
21638 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21640 2004-07-19 Dan Williams <dcbw@redhat.com>
21642 * dispatcher-daemon/NetworkManagerDispatcher.c
21643 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21645 2004-07-19 Dan Williams <dcbw@redhat.com>
21648 - Add info-daemon directory
21651 - Check for glade libs and headers
21652 - Add info-daemon directory
21654 * src/NetworkManagerAP.c
21655 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21656 copied over to the new AP.
21658 * src/NetworkManagerDbus.c
21659 src/NetworkManagerDbus.h
21660 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21661 - Remove nm_dbus_signal_need_key_for_network()
21662 - Add disabled code for asynchronous user wep key callbacks
21663 - Add functions for getting, setting, and cancelling user key operations
21664 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21665 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21667 * src/NetworkManagerDevice.c
21668 src/NetworkManagerDevice.h
21669 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21670 logic is in device activation now
21671 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21672 key is wrong) trigger get-user-key pending action
21673 - Implement get-user-key pending action stuff, tie to dbus messages
21674 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21675 - Add nm_device_ap_list_get_ap_by_essid()
21676 - Instead of copying "best" access points, ref them instead so that the key we set
21679 * src/NetworkManagerPolicy.c
21680 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21681 - Don't cancel pending actions on a device if its the same device as last iteration
21682 - Only promote pending_device->active_device if activation was successfull
21685 - Rename nmclienttest->nmtest
21687 * info-daemon/Makefile.am
21688 info-daemon/NetworkManagerInfo.c
21689 info-daemon/NetworkManagerInfo.h
21690 info-daemon/NetworkManagerInfoDbus.c
21691 info-daemon/NetworkManagerInfoDbus.h
21692 info-daemon/passphrase.glade
21693 info-daemon/NetworkManagerInfo.conf
21694 info-daemon/keyring.png
21695 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21696 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21697 lists to NetworkManager by proxying user's GConf
21700 2004-07-15 Dan Williams <dcbw@redhat.com>
21705 * src/NetworkManager.c
21706 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21707 that doing the deactivation ourselves
21708 - Cancel an pending actions on a device if its being removed
21709 - Break up link state checking a bit, make non-active wireless cards
21710 deactivated to save power
21711 - Remove unused variables
21713 * src/NetworkManager.h
21714 - Add support for "pending" device
21716 * src/NetworkManagerAP.h
21717 src/NetworkManagerAP.c
21718 - Add support for determining whether and AP has encryption enabled or not
21719 - AP address is now "struct ether_addr" rather than a string
21721 * src/NetworkManagerDbus.h
21722 src/NetworkManagerDbus.c
21723 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21724 - Changes for AP address from struct ether_addr->string
21726 * src/NetworkManagerDevice.h
21727 src/NetworkManagerDevice.c
21728 - Remove unused variables, fix warnings
21729 - Add support for Pending Actions (things that block a device from being "active"
21730 until they are completed).
21731 - First pending action: Get a WEP key from the user
21732 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21733 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21734 - Update wireless link checking to try to determine if the AP we are associated
21735 with is correct, but the WEP key we are using is just wrong. If its wrong,
21736 trigger the GetUserKey pending action on the device
21737 - If dhclient can't get an IP address, it brings the device down. Bring it back
21738 up in that case, otherwise we can't scan or link-check on it
21739 - Add IP address change notifications at appropriate points (still needs some work)
21740 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21742 * src/NetworkManagerPolicy.h
21743 src/NetworkManagerPolicy.c
21744 - Split out "best" access point determiniation into separate function
21745 - Make device activation 2-stage: first the device is pending, then
21746 in the next iteration through it becomes "active" unless it has
21749 * src/NetworkManagerUtils.h
21750 src/NetworkManagerUtils.c
21751 - Clean up unused variables and warnings
21752 - Wrap our debug macros in {} to prevent possible confusion
21754 * src/NetworkManagerWireless.c
21755 - Forgot to return current best priority, which lead to last available AP always
21756 being chosen no matter what its priority was. Corrected.
21758 2004-07-15 Dan Williams <dcbw@redhat.com>
21760 * dispatcher-daemon/Makefile.am
21763 * dispatcher-daemon/NetworkManagerDispatcher.c
21764 - Remove unused variables due to warnings
21765 - Fix some comments
21766 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21768 2004-07-06 Dan Williams <dcbw@redhat.com>
21770 * src/NetworkManager.c
21771 - Add IPv4 address update for active device during link state check
21772 - Don't allow wireless cards to be powered up when they are not the
21775 * src/NetworkManagerDbus.c
21776 src/NetworkManagerDbus.h
21777 - Add DBUS IPv4 address change signal
21778 - Add DBUS IPv4 address get method for devices
21780 * src/NetworkManagerDevice.c
21781 - Make setting the WEP key actually work
21782 - Move IP address get/set/update stuff here, per-device
21783 - Power down/bring down wireless device when deactivated
21784 - For scanning wireless devices, if first scan returned ENODATA, try again
21786 * src/NetworkManagerPolicy.c
21787 - Only set the WEP key for an allowed access point if there is one.
21788 We were setting it to be blank if one wasn't specified.
21790 * src/NetworkManagerUtils.h
21791 src/NetworkManagerUtils.c
21792 - Move the IP address stuff to NetworkManagerDevice.c
21794 * dispatcher-daemon/NetworkManagerDispatcher.c
21795 - Add device IPv4 address change notification stuff
21797 2004-07-05 Dan Williams <dcbw@redhat.com>
21799 * dispatcher-daemon/NetworkManagerDispatcher.c
21800 - A bit more descriptive state message
21801 - Don't segfault when reading directory
21803 * src/NetworkManager.h
21804 - Remove NMData desired_ap member, its now
21805 per-device rather than global
21807 * src/NetworkManager.c
21808 - Remove references to desired_ap
21809 - Move the allowed AP list refresh stuff into a thread
21811 * src/NetworkManagerDevice.c
21812 src/NetworkManagerDevice.h
21813 - Each wireless device now has a "best ap"
21814 - Make device activate/deactivate functions per-device
21815 - Make wireless scanning per-device
21816 - Add IPv4 address discover functions, stub IPv6 ones
21817 - Move ethernet address validation functions to NetworkManagerUtils.c
21818 - Add wireless access point accessor function
21819 - Get/Set functions for "best ap"
21821 * src/NetworkManagerPolicy.c
21822 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21823 - Deal with per-device "best ap" rather than data->desired_apa
21824 - Implement allowed access point worker thread
21825 - Add nm_policy_essid_is_allowed() function
21827 * src/NetworkManagerUtils.c
21828 src/NetworkManagerUtils.h
21829 - Add nm_ethernet_address_is_valid() function
21830 - Add IPv4/IPv6 address get functions
21832 * src/NetworkManagerWireless.c
21833 src/NetworkManagerWireless.h
21834 - Move scanning stuff into NetworkManagerDevice.c, per-device
21836 2004-06-29 Dan Williams <dcbw@redhat.com>
21838 * dispatcher-daemon/NetworkManagerDispatcher.c
21839 - Implement script callout functionality
21841 2004-06-24 Dan Williams <dcbw@redhat.com>
21845 - Flush device routes and ip addresses when added to the device list
21847 * NetworkManagerDbus.c
21849 - Add missing returns in the two signal functions
21851 * NetworkManagerPolicy.c
21852 - Spacing and variable cleanups
21854 2004-06-24 Dan Williams <dcbw@redhat.com>
21859 dispatcher-daemon/Makefile.am
21860 dispatcher-daemon/Makefile.in
21861 dispatcher-daemon/NetworkManagerDispatcher.c
21862 - Add a daemon that receives signals from NetworkManager
21863 and will (eventually) call scripts in /etc/somewhere
21864 when devices go up or down.
21868 - Flush device routes and ip addresses when added to the device list
21870 * NetworkManagerDbus.c
21872 - Add missing returns in the two signal functions
21874 * NetworkManagerPolicy.c
21875 - Spacing and variable cleanups
21876 - Rename nm_policy_switch_interface->nm_policy_switch_device
21877 - nm_policy_switch_device():
21878 Use kill (pid) instead of system ("kill <pid>")
21879 - nm_state_modification_monitor():
21880 Add wireless essid to output of debug statements
21881 Correct typo in device compare to switch or not (should be !=)
21882 Don't sleep after sending "no longer active" signal, was useless
21884 2004-06-24 Dan Williams <dcbw@redhat.com>