1 2008-11-13 Dan Williams <dcbw@redhat.com>
3 Add support for PKCS#12 private keys (bgo #558982)
7 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
8 take a GByteArray instead of a filename
9 - (file_to_g_byte_array): handle private key files too
10 - (decrypt_key): take a GByteArray rather than data + len
11 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
12 one function that takes a filename, and one that takes raw data;
13 detect pkcs#12 files as well
14 - (crypto_load_and_verify_certificate): detect file type
15 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
18 * libnm-util/crypto_gnutls.c
19 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
20 whereby tail padding was incorrectly handled, leading to erroneous
21 successes when trying to decrypt the data
22 - (crypto_verify_cert): rework somewhat
23 - (crypto_verify_pkcs12): validate pkcs#12 keys
25 * libnm-util/crypto_nss.c
26 - (crypto_init): enable various pkcs#12 ciphers
27 - (crypto_decrypt): take a GByteArray rather than data + len
28 - (crypto_verify_cert): clean up
29 - (crypto_verify_pkcs12): validate pkcs#12 keys
31 * libnm-util/test-crypto.c
34 * libnm-util/nm-setting-8021x.c
35 libnm-util/nm-setting-8021x.h
36 libnm-util/libnm-util.ver
37 - Add two new properties, 'private-key-password' and
38 'phase2-private-key-password', to be used in conjunction with
40 - (nm_setting_802_1x_set_ca_cert_from_file,
41 nm_setting_802_1x_set_client_cert_from_file,
42 nm_setting_802_1x_set_phase2_ca_cert_from_file,
43 nm_setting_802_1x_set_phase2_client_from_file): return certificate
45 - (nm_setting_802_1x_get_private_key_password,
46 nm_setting_802_1x_get_phase2_private_key_password): return private
48 - (nm_setting_802_1x_set_private_key_from_file,
49 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
50 key from a file, and update the private key password at the same time
51 - (nm_setting_802_1x_get_private_key_type,
52 nm_setting_802_1x_get_phase2_private_key_type): return the private
55 * src/supplicant-manager/nm-supplicant-settings-verify.c
56 - Whitelist private key passwords
58 * src/supplicant-manager/nm-supplicant-config.c
59 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
60 add the private key password to the supplicant config, but do not
61 add the client certificate (as required by wpa_supplicant)
63 2008-11-12 Tambet Ingo <tambet@gmail.com>
65 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
66 (add_secrets): Don't add empty secrets to the secrets hash table.
68 2008-11-07 Dan Williams <dcbw@redhat.com>
70 * libnm-util/nm-setting-wireless.c
71 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
72 that cased this function to return garbage, breaking hidden AP
75 2008-11-07 Dan Williams <dcbw@redhat.com>
77 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
79 * src/NetworkManagerSystem.c
80 src/NetworkManagerSystem.h
81 - (nm_system_device_set_ip4_route): return the route that was added
82 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
83 public, clean up, and return the route that was added
84 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
85 since nm_system_add_ip4_vpn_gateway_route() is now available; add
86 flags to allow only certain attributes of the NMIP4Config to be
90 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
91 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
92 what's really changed between the old and new configs; don't export
93 the new IP4 config on failure; always send the DNS info to the
96 * src/vpn-manager/nm-vpn-connection.c
97 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
98 parent device's IP4Config and re-add the VPN gateway route when it
100 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
101 nm_system_apply_ip4_config() no longer does) and cache it for later
102 - (connection_state_changed): move cleanup code to its own function
103 - (vpn_cleanup): delete any previously added VPN gateway route; and
104 re-apply the parent device's addresses and routes using
105 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
107 2008-11-07 Dan Williams <dcbw@redhat.com>
109 * src/nm-ip4-config.c
111 - (nm_ip4_config_diff): new function; return the difference between two
113 - (nm_ip4_config_compare): change into nm_ip4_config_diff
115 2008-11-05 Dan Williams <dcbw@redhat.com>
119 - (nm_ip4_config_compare): compare two IP4 configs
121 2008-11-05 Dan Williams <dcbw@redhat.com>
123 * src/NetworkManagerPolicy.c
124 - (update_etc_hosts): only add newline if not the last line of the file
127 2008-11-05 Dan Williams <dcbw@redhat.com>
129 * src/dhcp-manager/nm-dhcp-dhclient.c
130 - (get_leasefile_for_iface): move lease files back to where dhclient
133 2008-11-05 Michael Biebl <mbiebl@gmail.com>
135 * initscripts/Debian/NetworkManager
136 - Update to what Debian is actually using
138 2008-11-05 Tambet Ingo <tambet@gmail.com>
140 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
142 2008-11-03 Dan Williams <dcbw@redhat.com>
144 * system-settings/src/main.c
145 - (add_default_dhcp_connection): make the fallback connection read-only
147 * libnm-glib/nm-settings.c
148 libnm-glib/nm-settings.h
149 - Add detailed errors
150 - (impl_exported_connection_update, impl_exported_connection_delete):
151 return an error if the connection is read-only
153 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
154 system-settings/plugins/keyfile/nm-keyfile-connection.c
155 system-settings/src/main.c
156 - Use more detailed errors
158 * system-settings/src/nm-system-config-error.c
159 system-settings/src/nm-system-config-error.h
160 system-settings/src/dbus-settings.c
161 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
162 NM_SETTINGS_ERROR_INVALID_CONNECTION
164 2008-11-02 Dan Williams <dcbw@redhat.com>
166 * Add license headers to everything in src/
168 2008-11-02 Dan Williams <dcbw@redhat.com>
172 2008-11-02 Dan Williams <dcbw@redhat.com>
174 * src/NetworkManagerAP.c
175 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
176 setting as unencrypted; fixes a bug where NM wouldn't ask for new
177 secrets when connecting to an encrypted network failed
179 2008-10-30 Dan Williams <dcbw@redhat.com>
181 * libnm-util/libnm-util.ver
182 libnm-util/nm-setting-ip6-config.c
183 libnm-util/nm-setting-ip6-config.h
184 libnm-util/Makefile.am
185 - Make properties private and add accessor functions
186 - Hide IPv6 stuff from public API, it's incomplete and completely unused
188 * libnm-util/nm-connection.c
189 libnm-util/nm-utils.c
190 libnm-util/nm-utils.h
191 - Ignore IPv6 stuff for now
193 2008-10-30 Dan Williams <dcbw@redhat.com>
195 * libnm-util/libnm-util.ver
196 libnm-util/nm-setting-8021x.c
197 libnm-util/nm-setting-8021x.h
198 - Make properties private and add accessor functions
200 * src/supplicant-manager/nm-supplicant-config.c
201 system-settings/plugins/ifcfg-suse/parser.c
202 - Use 802.1x setting accessors
204 2008-10-30 Dan Williams <dcbw@redhat.com>
206 * libnm-util/libnm-util.ver
207 libnm-util/nm-setting-wireless-security.c
208 libnm-util/nm-setting-wireless-security.h
209 - Make properties private and add accessor functions
211 * libnm-util/nm-setting-wireless.c
212 src/NetworkManagerAP.c
214 src/supplicant-manager/nm-supplicant-config.c
215 system-settings/plugins/ifcfg-fedora/reader.c
216 system-settings/plugins/ifcfg-suse/parser.c
217 - Use wireless security accessors
219 2008-10-30 Dan Williams <dcbw@redhat.com>
221 * src/nm-device-ethernet.c
224 src/ppp-manager/nm-ppp-manager.c
225 - Harmonize return checking of ioctl
227 * system-settings/plugins/ifcfg-fedora/reader.c
228 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
230 2008-10-30 Dan Williams <dcbw@redhat.com>
232 * src/ppp-manager/nm-ppp-manager.c
233 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
234 ppp_generic module to create it (bgo #533064)
236 2008-10-30 Dan Williams <dcbw@redhat.com>
238 Patch from Alexander Sack <asac@canonical.com>
240 Fix "ppp connections don't honour ip4 connection settings"
242 * src/nm-device-ethernet.c
243 - (real_act_stage4_get_ip4_config): merge ip4config settings
244 with results from ppp manager
246 * src/nm-serial-device.c
247 - (real_act_stage4_get_ip4_config): merge ip4config settings
248 with results from ppp manager
250 2008-10-29 Dan Williams <dcbw@redhat.com>
252 * libnm-util/libnm-util.ver
253 libnm-util/nm-setting-ip4-config.c
254 libnm-util/nm-setting-ip4-config.h
255 - Make properties private and add accessor functions
257 * callouts/nm-dispatcher-action.c
258 libnm-glib/libnm-glib-test.c
259 libnm-util/nm-utils.c
260 src/NetworkManagerPolicy.c
261 src/NetworkManagerSystem.c
262 src/NetworkManagerUtils.c
263 src/dhcp-manager/nm-dhcp-dhclient.c
264 src/dhcp-manager/nm-dhcp-manager.c
265 src/dnsmasq-manager/nm-dnsmasq-manager.c
268 src/nm-hso-gsm-device.c
271 src/ppp-manager/nm-ppp-manager.c
272 src/vpn-manager/nm-vpn-connection.c
273 system-settings/plugins/ifcfg-fedora/reader.c
274 system-settings/plugins/ifcfg-suse/parser.c
275 system-settings/plugins/ifcfg-suse/plugin.c
276 system-settings/plugins/ifupdown/parser.c
278 vpn-daemons/vpnc/properties/nm-vpnc.c
279 - Use IP4 accessor functions
281 2008-10-29 Tambet Ingo <tambet@gmail.com>
283 Half of it by Dan Williams <dcbw@redhat.com>
285 * libnm-util/libnm-util.ver
286 libnm-util/nm-setting-vpn.c
287 libnm-util/nm-setting-vpn.h
288 - Make properties private and add accessor functions.
290 * src/vpn-manager/nm-vpn-connection.c
291 src/vpn-manager/nm-vpn-manager.c
292 system-settings/plugins/keyfile/reader.c
293 vpn-daemons/openvpn/properties/auth-helpers.c
294 vpn-daemons/openvpn/properties/import-export.c
295 vpn-daemons/openvpn/properties/nm-openvpn.c
296 vpn-daemons/openvpn/src/nm-openvpn-service.c
297 vpn-daemons/pptp/auth-dialog/main.c
298 vpn-daemons/pptp/properties/advanced-dialog.c
299 vpn-daemons/pptp/properties/nm-pptp.c
300 vpn-daemons/pptp/src/nm-pptp-service.c
301 vpn-daemons/vpnc/properties/nm-vpnc.c
302 vpn-daemons/vpnc/src/nm-vpnc-service.c
303 - Use VPN setting accessors.
305 2008-10-28 Dan Williams <dcbw@redhat.com>
307 Patch from Tambet Ingo <tambet@gmail.com>
309 * libnm-util/libnm-util.ver
310 libnm-util/nm-setting-wireless.c
311 libnm-util/nm-setting-wireless.h
312 - Make properties private and add accessor functions
314 * src/NetworkManagerAP.c
317 src/supplicant-manager/nm-supplicant-config.c
318 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
319 system-settings/plugins/ifcfg-fedora/reader.c
320 system-settings/plugins/ifcfg-suse/parser.c
321 system-settings/plugins/ifupdown/parser.c
322 - Use wireless setting accessors
324 2008-10-27 Dan Williams <dcbw@redhat.com>
326 Patch from Tambet Ingo <tambet@gmail.com>
328 * libnm-util/libnm-util.ver
329 libnm-util/nm-setting-ppp.c
330 libnm-util/nm-setting-ppp.h
331 - Make properties private and add accessor functions
333 * src/ppp-manager/nm-ppp-manager.c
334 - Use ppp setting accessors
336 2008-10-27 Dan Williams <dcbw@redhat.com>
338 Patch from Tambet Ingo <tambet@gmail.com>
340 * libnm-util/nm-setting.h
341 libnm-util/nm-setting.c
342 - Make properties private and add accessor functions
344 * libnm-util/nm-connection.c
345 libnm-util/nm-setting-8021x.c
346 libnm-util/nm-setting-cdma.c
347 libnm-util/nm-setting-connection.c
348 libnm-util/nm-setting-gsm.c
349 libnm-util/nm-setting-ip4-config.c
350 libnm-util/nm-setting-ip6-config.c
351 libnm-util/nm-setting-ppp.c
352 libnm-util/nm-setting-pppoe.c
353 libnm-util/nm-setting-serial.c
354 libnm-util/nm-setting-template.c
355 libnm-util/nm-setting-vpn.c
356 libnm-util/nm-setting-wired.c
357 libnm-util/nm-setting-wireless-security.c
358 libnm-util/nm-setting-wireless.c
359 system-settings/plugins/keyfile/reader.c
360 system-settings/plugins/keyfile/writer.c
361 - Use setting accessors
363 2008-10-27 Dan Williams <dcbw@redhat.com>
365 * libnm-util/libnm-util.ver
366 libnm-util/nm-setting-connection.c
367 libnm-util/nm-setting-connection.h
368 - Add a 'read-only' property that indicates the connection cannot be
371 * system-settings/plugins/ifcfg-fedora/reader.c
372 system-settings/plugins/ifcfg-suse/parser.c
373 system-settings/plugins/ifupdown/parser.c
374 - These plugins are read-only at the moment
376 * system-settings/plugins/keyfile/reader.c
377 system-settings/plugins/keyfile/writer.c
378 - Read-only shouldn't get saved out to files or read in from them
380 2008-10-27 Tambet Ingo <tambet@gmail.com>
382 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
383 correct speed reporting for fast devices (kernel >= 2.6.27).
385 2008-10-26 Dan Williams <dcbw@redhat.com>
387 Attempt to compensate for modems that don't enable full AT parsing before
388 the PIN has been entered.
390 * src/nm-gsm-device.c
391 - (init_modem): accept different init strings
392 - (init_done): try different init strings on failure
393 - (check_pin_done): on PIN success, do full modem init
395 2008-10-26 Dan Williams <dcbw@redhat.com>
397 Patch from Tambet Ingo <tambet@gmail.com>
399 * libnm-util/libnm-util.ver
400 libnm-util/nm-setting-connection.c
401 libnm-util/nm-setting-connection.h
402 - Make properties private and add accessor functions
404 * src/NetworkManagerPolicy.c
406 src/nm-device-ethernet.c
407 src/nm-device-interface.c
411 src/ppp-manager/nm-ppp-manager.c
412 src/vpn-manager/nm-vpn-connection.c
413 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
414 system-settings/plugins/ifcfg-fedora/plugin.c
415 system-settings/plugins/ifcfg-fedora/reader.c
416 system-settings/plugins/ifcfg-suse/parser.c
417 system-settings/plugins/ifupdown/parser.c
418 system-settings/plugins/keyfile/nm-keyfile-connection.c
419 system-settings/plugins/keyfile/plugin.c
420 system-settings/plugins/keyfile/writer.c
421 system-settings/src/main.c
422 - Use those accessors
424 2008-10-26 Dan Williams <dcbw@redhat.com>
426 Patch from Tambet Ingo <tambet@gmail.com>
428 * libnm-util/libnm-util.ver
429 libnm-util/nm-setting-gsm.c
430 libnm-util/nm-setting-gsm.h
431 - Make properties private and add accessor functions
433 * src/nm-gsm-device.c
434 src/nm-hso-gsm-device.c
435 src/ppp-manager/nm-ppp-manager.c
436 - Use those accessors
438 2008-10-26 Dan Williams <dcbw@redhat.com>
440 Patch from Tambet Ingo <tambet@gmail.com>
442 * libnm-util/libnm-util.ver
443 libnm-util/nm-setting-cdma.c
444 libnm-util/nm-setting-cdma.h
445 - Make properties private and add accessor functions
447 * src/nm-cdma-device.c
448 src/ppp-manager/nm-ppp-manager.c
449 - Use those accessors
451 2008-10-26 Dan Williams <dcbw@redhat.com>
453 Patch from Tambet Ingo <tambet@gmail.com>
455 * libnm-util/libnm-util.ver
456 libnm-util/nm-setting-pppoe.c
457 libnm-util/nm-setting-pppoe.h
458 - Make properties private and add accessor functions
460 * src/nm-device-ethernet.c
461 src/ppp-manager/nm-ppp-manager.c
462 - Use those accessors
464 2008-10-26 Dan Williams <dcbw@redhat.com>
466 Patch from Tambet Ingo <tambet@gmail.com>
468 * libnm-util/libnm-util.ver
469 libnm-util/nm-setting-wired.c
470 libnm-util/nm-setting-wired.h
471 - Make properties private and add accessor functions
473 * src/nm-device-ethernet.c
474 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
475 system-settings/plugins/ifcfg-suse/parser.c
476 system-settings/src/main.c
477 - Use those accessors
479 2008-10-26 Dan Williams <dcbw@redhat.com>
481 Patch from Tambet Ingo <tambet@gmail.com>
483 * libnm-util/libnm-util.ver
484 libnm-util/nm-setting-serial.c
485 libnm-util/nm-setting-serial.h
486 src/nm-serial-device.c
487 - Make properties private and use accessors instead
489 2008-10-26 Dan Williams <dcbw@redhat.com>
491 * src/supplicant-manager/nm-supplicant-interface.c
492 src/supplicant-manager/nm-supplicant-interface.h
493 src/supplicant-manager/nm-supplicant-manager.c
494 src/supplicant-manager/nm-supplicant-manager.h
495 - Add state-to-string conversion functions
497 * src/nm-device-wifi.c
498 src/nm-device-ethernet.c
499 - Normalize state info logging and use strings instead of numbers
501 2008-10-26 Dan Williams <dcbw@redhat.com>
503 * src/NetworkManagerPolicy.c
504 - (update_routing_and_dns): ignore host routes when determining whether
505 a VPN connection should own the default route (bgo #552594)
507 2008-10-24 Dan Williams <dcbw@redhat.com>
509 * src/nm-gsm-device.c
510 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
512 2008-10-23 Dan Williams <dcbw@redhat.com>
514 * src/ppp-manager/nm-ppp-manager.c
515 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
516 add really important stuff to the command line to ensure that NM
517 overrides /etc/ppp/options (bgo #556781)
519 2008-10-22 Dan Williams <dcbw@redhat.com>
521 * src/NetworkManagerSystem.c
523 - Use the device's IP interface where appropriate (Per Hallsmark)
525 2008-10-22 Dan Williams <dcbw@redhat.com>
527 * src/nm-gsm-device.c
528 - (schedule_automatic_registration_again): use a short timeout here
529 instead of an idle handler to avoid using too much CPU polling for
530 something we should be waiting a bit for anyway
532 2008-10-22 Dan Williams <dcbw@redhat.com>
534 * include/NetworkManager.h
535 introspection/nm-device.xml
536 - Add device state change reason for carrier changes
538 * src/nm-device-ethernet.c
539 - (set_carrier): use the carrier change reason when changing device
540 state in response to carrier changes
542 2008-10-21 Dan Williams <dcbw@redhat.com>
544 * src/NetworkManagerPolicy.c
545 - (update_etc_hosts): don't leak errors, and ensure that
546 g_file_set_contents() gets a valid error placeholder (rh #461933)
548 2008-10-21 Dan Williams <dcbw@redhat.com>
551 - (free_get_settings_info): don't use the DBusGProxy which could be
552 disposed of by the time the function is called
553 - (internal_new_connection_cb): save connection scope
554 - (connection_get_settings_cb): don't replace a connection unless it's
555 actually different from the existing one; fixes an issue where
556 killing the settings service wouldn't deactivate an active connection
557 provided by that settings service, because it was using a connection
558 that had already been replaced in the system or user hash
560 2008-10-21 Dan Williams <dcbw@redhat.com>
562 * src/NetworkManager.c
563 - (main): keep the DHCP manager around since it's a singleton; fixes
564 a use-after-free exposed by r4196 since the DHCP manager singleton
565 variable isn't cleared when the DHCP manager object is finalized
567 2008-10-20 Dan Williams <dcbw@redhat.com>
569 * libnm-util/nm-setting-wireless-security.c
570 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
572 2008-10-20 Dan Williams <dcbw@redhat.com>
574 * src/supplicant-manager/nm-supplicant-config.c
575 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
577 2008-10-20 Dan Williams <dcbw@redhat.com>
579 * src/dhcp-manager/nm-dhcp-manager.c
580 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
581 manager object already refs it once
582 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
583 also get cleaned up by nm_dhcp_device_destroy() to prevent
586 2008-10-20 Dan Williams <dcbw@redhat.com>
589 - (initial_get_connections): use private dbus manager, don't keep
590 ref-ing the singleton. Fixes mismatched refcounts of the dbus
593 2008-10-18 Dan Williams <dcbw@redhat.com>
595 * libnm-glib/nm-settings.c
596 libnm-glib/nm-settings.h
597 - Rename the "get_secrets" virtual function "service_get_secrets" to
598 clarify when it's used; NMExportedConnetion is a base-class for both
599 the client and service side, which is sort of confusing, and
600 get_secrets only makes sense on the service side.
602 * libnm-glib/nm-dbus-connection.c
603 - (get_secrets): remove, unused, and clients need to do extra work to
604 get secrets anyway since the call can block on the remote side
606 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
607 system-settings/plugins/keyfile/nm-keyfile-connection.c
608 - Fix up for get_secrets -> service_get_secrets
610 2008-10-16 Dan Williams <dcbw@redhat.com>
612 * src/nm-device-wifi.c
613 - (constructor): correctly determine encryption capabilities
615 2008-10-15 Dan Williams <dcbw@redhat.com>
617 * src/nm-device-wifi.c
618 - (wireless_qual_to_percent): fix quality calculation in a fallback case
621 2008-10-15 Dan Williams <dcbw@redhat.com>
623 * src/NetworkManagerSystem.c
624 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
625 if the ip4_dest is in a smaller subnet contained within a subnet
626 the machine is currently on, the destination is in the same subnet
627 - (nm_system_device_set_ip4_route): move subnet checks to callers
628 - (add_vpn_gateway_route): check if the VPN gateway is in the same
629 subnet as the parent device, and if so, don't add the direct
630 host route via the parent device's gateway (bgo #481620)
631 - (nm_system_apply_ip4_config): check whether the route to be added
632 is contained within a subnet the device is already on
634 2008-10-11 Dan Williams <dcbw@redhat.com>
636 * include/NetworkManager.h
637 introspection/nm-device.xml
638 include/NetworkManagerVPN.h
639 - Add a few more state reasons for the device deactivated state
641 * src/nm-device-interface.c
642 src/nm-device-interface.h
643 - (nm_device_interface_deactivate): add a 'reason' argument
647 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
648 - (nm_device_state_changed): pass the state change reason to
649 nm_device_take_down()
650 - (nm_device_set_managed): take a 'reason' argument, and pass it along
651 to the state change function
655 - (remove_one_device, handle_unmanaged_devices, sync_devices,
656 impl_manager_sleep): pass a reason code to nm_device_set_managed()
657 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
658 something reasonable along to VPN deactivation
660 * src/vpn-manager/nm-vpn-manager.c
661 src/vpn-manager/nm-vpn-manager.h
662 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
663 pass that along to nm_vpn_connection_disconnect()
665 2008-10-11 Dan Williams <dcbw@redhat.com>
667 * src/nm-device-wifi.c
668 - (can_scan): remove old madwifi hack for not scanning while connected
670 2008-10-11 Dan Williams <dcbw@redhat.com>
672 Add support for VPN subnet gateways (bgo #549196)
674 * include/NetworkManager.h
675 - Add key for internal VPN subnet gateway
677 * src/vpn-manager/nm-vpn-connection.c
678 - (ip_address_to_string): return a const from a static buffer so we
679 don't leak a lot of strings
680 - (print_vpn_config): print internal VPN gateway as well
681 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
683 - (nm_vpn_connection_get_ip4_internal_gateway): new function
685 * src/NetworkManagerSystem.c
686 src/NetworkManagerSystem.h
687 - (nm_system_device_replace_default_ip4_route): split into two, one for
688 VPN connections and one for normal devices
689 - (replace_default_ip4_route): break out route stuff into its own function
690 - (nm_system_replace_default_ip4_route_vpn,
691 nm_system_replace_default_ip4_route): simplify by having two cases,
692 one for VPNs and one for normal devices
694 * src/NetworkManagerPolicy.c
695 - (update_routing_and_dns): simplify, use split default route replacement
698 2008-10-10 Dan Williams <dcbw@redhat.com>
700 Rework default route handling to consolidate decisions in the policy,
701 and to take active VPN connections into account when changing the default
704 * src/NetworkManager.c
705 - (main): pass the vpn_manager to the policy so it knows about active
706 VPN connections; clean up the named manager which wasn't done before
708 * src/NetworkManagerPolicy.c
709 src/NetworkManagerPolicy.h
710 - (nm_policy_new): get a clue about the vpn_manager
711 - (update_default_route): remove, fold into update_routing_and_dns()
712 - (update_routing_and_dns): handle active VPN connections too; an
713 active VPN connection becomes the default route if it does not have
714 server-specified or user-specified custom routes. Otherwise, the
715 best active device gets the default route
716 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
717 nm_policy_destroy): track VPN connection activation and deactivation
718 and update the default route when appropriate
720 * src/NetworkManagerSystem.c
721 src/NetworkManagerSystem.h
722 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
723 in the VPN connection itself
724 - (nm_system_vpn_device_set_from_ip4_config,
725 nm_system_device_set_from_ip4_config): merge together to make
726 nm_system_apply_ip4_config()
727 - (add_vpn_gateway_route): add a route to the VPN's external gateway
728 via the parent device
729 - (nm_system_apply_ip4_config): simplify
730 - (add_ip4_route_to_gateway): new function; add a direct route to the
732 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
733 route stuff out into add_ip4_route_to_gateway() for clarity
736 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
738 * src/vpn-manager/nm-vpn-connection.c
739 src/vpn-manager/nm-vpn-connection.h
740 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
741 nm_vpn_connection_get_parent_device): add
742 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
744 - (connection_state_changed): update the named manager now that
745 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
748 * src/vpn-manager/nm-vpn-manager.c
749 src/vpn-manager/nm-vpn-manager.h
750 - Add a 'connection-activated' signal
751 - (nm_vpn_manager_get_active_connections): new function; mainly for the
752 policy to find out about active VPN connections
754 2008-10-10 Tambet Ingo <tambet@gmail.com>
756 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
757 a daemon to prevent NM logging spew on console on startup and shutdown (due
758 to dependency loop between NM and syslog).
760 2008-10-10 Alexander Sack <asac@ubuntu.com>
762 Implement managed mode. We bind devices configured in /etc/network/interfaces
763 to their connections by updating wired/wireless setting with the
764 mac address of the device.
766 * system-settings/plugins/ifupdown/plugin.c
767 - (get_net_address_for_udi): implement function to retrieve MAC
768 address of udi from hal in GByteArray format
769 - (bind_device_to_connection): bind mac address of device to
770 wired/wireless system connection
771 - (hal_device_added_cb): call bind_device_to_connection for
772 system connections with a matching interface.name
773 - (hal_device_added_cb): ensure that all code paths
774 properly free the "iface" string.
776 2008-10-10 Alexander Sack <asac@ubuntu.com>
778 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
779 mode of the ifupdown system config plugin.
781 * system-settings/plugins/ifupdown/plugin.c
782 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
783 private unmanage_well_known state field accordingly
785 2008-10-10 Alexander Sack <asac@ubuntu.com>
787 Implement unmanaged mode that will prevent all devices in the
788 well_known_udis set from being touched by NetworkManager
790 * system-settings/plugins/ifupdown/plugin.c
791 - (typedef struct SCPluginIfupdownPrivate): add gboolean
792 unmanage_well_known field used to turn on/off unmanaged
794 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
795 signal when well_known_udis get added/removed
796 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
797 if we are in unmanaged mode
799 2008-10-10 Alexander Sack <asac@ubuntu.com>
801 Add support to track network devices that have a configuration
802 with a matching interface.name in /etc/network/interfaces
804 * system-settings/plugins/ifupdown/plugin.c
805 - (typedef struct SCPluginIfupdownPrivate): add hash table
806 to track |well_known_udis|
807 - (get_iface_for_udi): helper function to get interface.name
809 - (hal_device_added_cb, hal_device_removed_cb): callbacks
810 that add and remove devices to and from the well_known_udis
811 set depending on whether their |interface.name| matches
812 any interface definition in /etc/network/interfaces
813 - (SCPluginIfupdown_init): connect callbacks from above with
814 hal_mgr and setup well_known_udis hashtable
815 - (GObject__dispose): destroy well_known_udis hashtable
816 - (hal_device_added_cb2): implement wrapper callback with GFunc
817 signature. user_data is supposed to be a triple (hal_mgr,
819 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
820 startup and call hal_device_added_cb2
822 2008-10-10 Alexander Sack <asac@ubuntu.com>
824 Remove implementation for not used NMSystemConfigInterface callback functions
827 * system-settings/plugins/ifupdown/plugin.c
828 - (SCPluginIfupdown_unmanaged_devices_changed): removed
829 - (SCPluginIfupdown_connection_added): removed
831 2008-10-08 Dan Williams <dcbw@redhat.com>
833 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
835 * src/NetworkManagerUtils.c
836 - (nm_utils_call_dispatcher): add a 'hostname' action
838 * src/NetworkManagerPolicy.c
839 - (set_system_hostname): dispatch hostname changes
841 * callouts/nm-dispatcher-action.c
842 - (nm_dispatcher_action): handle 'hostname' actions
844 2008-10-08 Dan Williams <dcbw@redhat.com>
846 * src/NetworkManagerSystem.c
847 - (find_route): ref the route so it doesn't get destroyed when the cache
849 - (nm_system_device_set_priority): unref the route here after it's done
852 2008-10-08 Dan Williams <dcbw@redhat.com>
854 * src/nm-serial-device.c
855 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
857 2008-10-08 Tambet Ingo <tambet@gmail.com>
859 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
860 connection with new settings before saving it.
862 2008-10-06 Dan Williams <dcbw@redhat.com>
864 * src/nm-ip4-config.c
866 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
868 * src/nm-device-interface.c
869 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
870 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
871 by using '/' for the object path
874 - (src/nm-device.c): marshal missing/unexported ip4-config through
875 dbus as '/' since dbus-glib can't handle NULL objects nor can
876 dbus handle NULL object paths
878 2008-10-03 Alexander Sack <asac@ubuntu.com>
880 Implement system hostname support for debian/ubuntu
882 * system-settings/plugins/ifupdown/plugin.c
883 - (GObject__get_property): extend announced capabilities; add
884 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
885 - (GObject__set_property,write_system_hostname): implement
886 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
887 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
888 update_system_hostname, get_hostname):
889 implement hostname property that watches and
892 2008-10-03 Alexander Sack <asac@ubuntu.com>
894 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
895 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
896 system-settings/plugins/ifcfg-fedora/Makefile.am
897 system-settings/src/nm-inotify-helper.c
898 system-settings/src/nm-inotify-helper.h
900 - Move ifcfg-fedora inotify helpers to the system settings service so
901 they are available to all plugins
903 2008-10-03 Alexander Sack <asac@ubuntu.com>
905 Implement support for wep-tx-keyidx in ifupdown system
908 * system-settings/plugins/ifupdown/parser.c
909 - (update_wireless_security_setting_from_if_block): introduce
910 free_type_mapping func table; rename a few local
911 variables to improve readability; add wpa security mapping
912 for wep-tx-keyidx property
913 - (string_to_gpointerint): new function used for the auto_type_mapping
914 of new wep-tx-keyidx property
915 - (slist_free_all): free func used for mapped slist types
917 2008-10-03 Alexander Sack <asac@ubuntu.com>
919 * system-settings/src/main.c:
920 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
921 always used as the hash key; fixes a crash when removing wired
924 2008-10-02 Dan Williams <dcbw@redhat.com>
926 * src/nm-gsm-device.c
927 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
928 pass the required GSM secret along via user_data rather than keeping
929 it around in the private data where it sometimes didn't get cleared
930 - (real_get_ppp_name): implement using the GSM username
932 2008-10-02 Dan Williams <dcbw@redhat.com>
934 * src/ppp-manager/nm-ppp-manager.c
935 src/ppp-manager/nm-ppp-manager.h
936 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
937 the settings daemon for completely new ones
938 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
939 local PPP peer name; allow PPP debuging by launching NM with
940 the environment variable NM_PPP_DEBUG defined
941 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
942 create_pppd_cmd_line()
944 * src/nm-serial-device.c
945 src/nm-serial-device.h
946 - New 'get_ppp_name' function for subclasses to implement to return the
948 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
949 and pass that name to the PPP manager
951 * src/nm-device-ethernet.c
952 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
955 * src/nm-cdma-device.c
956 - (real_get_ppp_name): implement using the CDMA username
958 2008-10-02 Dan Williams <dcbw@redhat.com>
960 Patch from Alexander Sack <asac ubuntu com>
962 * system-settings/plugins/ifupdown/parser.c
963 - Implement more graceful ip4 config parsing for cases where
964 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
965 by using default values
967 2008-10-02 Dan Williams <dcbw@redhat.com>
969 * src/NetworkManagerPolicy.c
970 - (device_state_changed): when marking a connection invalid, clear its
971 secrets too so that fresh secrets get requested the next time
973 2008-10-01 Dan Williams <dcbw@redhat.com>
975 * system-settings/src/dbus-settings.c
976 - (nm_sysconfig_settings_init): cache system hostname on startup as
977 a fallback if no plugin provides a hostname
978 - (get_property): fall back to cached hostname if no plugin provides
981 2008-10-01 Dan Williams <dcbw@redhat.com>
983 Fix setting value comparison issue that caused some settings to look the
984 same when they were really different (rh #464417)
986 * libnm-util/nm-param-spec-specialized.c
987 - (type_is_fixed_size): return fundamental size of the fixed type too
988 - (nm_gvalues_compare_collection): use the fundamental fixed type size
989 in the comparison so that the _entire_ fixed type collection gets
990 compared rather than just the first 'len1' bytes
992 2008-09-30 Dan Williams <dcbw@redhat.com>
994 * src/NetworkManagerPolicy.c
995 - (lookup_thread_worker): don't store the idle handler ID becuase the
996 idle handler could have already run and freed the LookupThread
999 2008-09-30 Tambet Ingo <tambet@gmail.com>
1001 * src/nm-device.c (nm_device_get_priority): Implement.
1002 (nm_device_set_ip4_config): Send the device priority to system ip4
1005 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1006 Add priority argument and if it's >= 0, set the priority of the network
1007 route added automatically by netlink (or kernel?).
1008 (nm_system_device_set_priority): Implement.
1010 * src/NetworkManagerPolicy.c (get_best_device): Use
1011 nm_device_get_priority() instead of home-grown version. Revert the
1012 meaning, best priority is the lowest one.
1014 2008-09-29 Dan Williams <dcbw@redhat.com>
1016 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1017 when it returns EAGAIN (rh #362421)
1019 * src/nm-device-wifi.c
1020 - (wireless_get_range): try GIWRANGE a few times until the card responds
1021 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1023 2008-09-28 Dan Williams <dcbw@redhat.com>
1025 * src/nm-serial-device.c
1026 src/nm-serial-device.h
1027 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1028 cleaned at the right times when subclasses close the serial port too
1029 - (nm_serial_device_send_command): use a default send delay; don't
1030 spin forever on EAGAIN
1031 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1032 remove, no longer used
1033 - (find_response): return the matched response if any
1034 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1036 - (wait_for_reply_done): pass the matched response to the callback
1037 - (wait_for_reply_got_data): save the matched response; simplify timeout
1039 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1040 const since they never get modified
1041 - (cleanup_device): split out common cleanup stuff to a new function
1042 - (real_deactivate_quickly, finalize): use cleanup_device()
1044 * src/nm-gsm-device.c
1045 - (modem_get_reply): remove, unused
1046 - (set_apn): give the card a bit more time to respond
1047 - (manual_registration_again, schedule_manual_registration_again,
1048 manual_registration_response, manual_registration): handle manual
1049 registration timeouts better by retrying registration a few times
1050 because cards are a bit slow after CFUN=1
1051 - (automatic_registration_get_network, get_network_response): use
1052 modem_wait_for_reply() because it interacts better with the serial
1053 buffer and does more intelligent matching; need to wait for 'OK'
1054 rather than just matching terminators
1055 - (schedule_automatic_registration_again,
1056 automatic_registration_response, automatic_registration): retry
1057 registration a few times on timeout or "searching" because cards
1058 take a bit to find a network after being powered up with CFUN=1
1059 - (power_up_response, power_up, init_full_done, enter_pin,
1060 check_pin_done): power up the card with CFUN=1 before trying to
1061 register with the network
1062 - (init_modem_full, init_modem): use more standard 3G init strings
1064 * src/nm-hso-gsm-device.c
1065 - (modem_get_reply): remove, unused
1066 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1067 modem_wait_for_reply() to match actual responses instead of single
1068 termination characters; it doesn't leave stuff in the serial buffer
1069 that might confuse later calls
1070 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1071 to ensure that the call is really disconnected and not leave extra
1072 stuff in the serial buffer
1074 * src/nm-cdma-device.c
1075 - (power_up_response, power_up, init_done): try Sierra-style modem
1076 power up before attempting to connect
1078 2008-09-27 Dan Williams <dcbw@redhat.com>
1080 * libnm-util/nm-setting-gsm.c
1081 - (verify): verify GSM network ID
1083 2008-09-25 Dan Williams <dcbw@redhat.com>
1085 * libnm-util/nm-setting-gsm.c
1086 libnm-util/nm-setting-gsm.h
1087 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1088 technology terms (bgo #551361)
1090 2008-09-25 Dan Williams <dcbw@redhat.com>
1092 Fix bgo #549401 (inspired by patch from Alexander Sack)
1094 * src/nm-device-ethernet.c
1095 - (finish_supplicant_task): clean up scheduled tasks and free memory
1096 - (remove_supplicant_interface_error_handler): remove the supplicant
1097 error idle callback too
1098 - (supplicant_interface_release): rename from supplicant_interface_clean
1099 to match nm-device-wifi.c; clean up supplicant interface-related
1100 state tasks when the supplicant interface is disposed of
1101 - (schedule_state_handler): add scheduled tasks to a list so they can
1103 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1104 supplicant_iface_connection_state_cb_handler): use
1105 finish_supplicant_task() to clean up each completed task
1106 - (supplicant_iface_connection_error_cb_handler,
1107 supplicant_connection_timeout_cb): clear source id when the task is
1109 - (supplicant_iface_connection_error_cb): save scheduled task id for
1111 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1114 * src/nm-device-wifi.c
1115 - (finish_supplicant_task): clean up scheduled tasks and free memory
1116 - (remove_supplicant_interface_error_handler): remove the supplicant
1117 error idle callback too
1118 - (supplicant_interface_release): clean up supplicant interface-related
1119 state tasks when the supplicant interface is disposed of
1120 - (schedule_state_handler): add scheduled tasks to a list so they can
1122 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1123 supplicant_iface_connection_state_cb_handler): use
1124 finish_supplicant_task() to clean up each completed task
1125 - (supplicant_iface_connection_error_cb_handler): clear source id when
1126 the task is complete
1127 - (supplicant_iface_connection_error_cb): save scheduled task id for
1129 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1131 2008-09-24 Tambet Ingo <tambet@gmail.com>
1133 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1134 method and get/set hostname property.
1136 2008-09-24 Tambet Ingo <tambet@gmail.com>
1138 * src/supplicant-manager/nm-supplicant-interface.c
1139 (nm_supplicant_interface_disconnect): Don't increment the reference
1140 count when disconnecting. The problem is on shutdown, when the replies
1141 to these commands do not arrive before NM exits, resulting on never
1142 calling supplicant interface's dispose(), which removes the interface
1145 2008-09-24 Tambet Ingo <tambet@gmail.com>
1147 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1148 all the public function arguments.
1150 2008-09-22 Tambet Ingo <tambet@gmail.com>
1152 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1153 "Failure" signal from VPN plugins, store the failure reason, and
1154 use it when the state is changed to failure.
1156 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1159 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1160 reason to the end of the list to not break the API.
1161 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1162 so it can be shared by plugins and daemon.
1164 2008-09-18 Dan Williams <dcbw@redhat.com>
1166 Patch from Alexander Sack <asac@ubuntu.com>
1169 system-settings/plugins/Makefile.am
1170 system-settings/plugins/ifupdown/Makefile.am
1171 system-settings/plugins/ifupdown/interface_parser.c
1172 system-settings/plugins/ifupdown/interface_parser.h
1173 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1174 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1175 system-settings/plugins/ifupdown/parser.c
1176 system-settings/plugins/ifupdown/parser.h
1177 system-settings/plugins/ifupdown/plugin.c
1178 system-settings/plugins/ifupdown/plugin.h
1179 - Implement a Debian/Ubuntu legacy network configuration plugin
1182 2008-09-18 Dan Williams <dcbw@redhat.com>
1184 Implement support for honoring configured and automatic hostnames, and for
1185 setting the configured hostname.
1187 * introspection/nm-ip4-config.xml
1190 src/dhcp-manager/nm-dhcp-manager.c
1191 - Remove useless hostname property; it's not really part of the IPv4
1194 * introspection/nm-settings-system.xml
1195 libnm-glib/nm-dbus-settings-system.c
1196 libnm-glib/nm-dbus-settings-system.h
1197 - Add SetHostname() call to system settings D-Bus interface
1198 - Add Hostname property to system settings D-Bus interface
1199 - (nm_dbus_settings_system_save_hostname,
1200 nm_dbus_settings_system_get_hostname): implement
1204 - (nm_device_get_dhcp4_config): implement
1208 - Fetch and track system settings service hostname changes, and proxy
1209 the changes via a GObject property of the manager
1211 * system-settings/src/nm-system-config-interface.c
1212 system-settings/src/nm-system-config-interface.h
1213 - Replace nm_system_config_interface_supports_add() with a capabilities
1216 * system-settings/src/nm-system-config-error.c
1217 system-settings/src/nm-system-config-error.h
1218 - Add additional errors
1220 * system-settings/src/dbus-settings.c
1221 system-settings/src/dbus-settings.h
1222 - (get_property, nm_sysconfig_settings_class_init): add hostname
1223 property; first plugin returning a hostname wins
1224 - (impl_settings_add_connection): use plugin capabilities instead of
1225 nm_system_config_interface_supports_add()
1226 - (impl_settings_save_hostname): implement hostname saving
1228 * src/NetworkManagerPolicy.c
1229 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1230 lookup_thread_die): implement an asynchronous hostname lookup thread
1231 which given an IPv4 address tries to look up the hostname for that
1232 address with reverse DNS
1233 - (get_best_device): split out best device code from
1234 update_routing_and_dns()
1235 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1236 to preserve the 127.0.0.1 reverse mapping that so many things require
1237 - (set_system_hostname): set a given hostname
1238 - (update_system_hostname): implement hostname policy; a configured
1239 hostname (from the system settings service) is used if available,
1240 otherwise an automatically determined hostname from DHCP, VPN, etc.
1241 If there was no automatically determined hostname, reverse DNS of
1242 the best device's IP address will be used, and as a last resort the
1243 hostname 'localhost.localdomain' is set.
1244 - (update_routing_and_dns): use get_best_device(); update the system
1245 hostname when the network config changes
1246 - (hostname_changed): update system hostname if the system settings
1247 service signals a hostname change
1248 - (nm_policy_new): list for system settings service hostname changes
1249 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1252 * system-settings/plugins/keyfile/plugin.c
1253 system-settings/plugins/ifcfg-suse/plugin.c
1254 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1255 capabilities properties
1257 * system-settings/plugins/ifcfg-fedora/shvar.c
1258 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1259 writes out /etc/sysconfig/network now
1261 * system-settings/plugins/ifcfg-fedora/plugin.c
1262 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1263 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1264 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1265 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1266 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1267 hostname get/set and capabilities get
1269 2008-09-18 Dan Williams <dcbw@redhat.com>
1271 * libnm-util/nm-setting-wireless.c
1272 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1273 group ciphers if the wireless-security setting explicitly specified
1274 them, effectively making the default be "all ciphers" (idea from
1277 2008-09-15 Dan Williams <dcbw@redhat.com>
1279 Patch from Alexander Sack <asac@ubuntu.com>
1281 * src/named-manager/nm-named-manager.c
1282 - (dispatch_resolvconf): respect resolvconf exit code
1284 2008-09-12 Tambet Ingo <tambet@gmail.com>
1286 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1287 again. Add some debugging.
1289 2008-09-11 Dan Williams <dcbw@redhat.com>
1291 * system-settings/plugins/keyfile/plugin.c
1292 - (update_connection_settings): update connection manually, since
1293 nm_exported_connection_update() does authentication
1294 - (dir_changed): update_connection_settings() doesn't need to return
1297 2008-09-09 Dan Williams <dcbw@redhat.com>
1299 * libnm-glib/nm-vpn-plugin-ui-interface.c
1300 libnm-glib/nm-vpn-plugin-ui-interface.h
1301 libnm-glib/libnm_glib_vpn.ver
1302 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1303 should clean up resources related to the connection (like keyring
1305 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1306 should save user-scope secrets (like to the keyring)
1308 2008-09-08 Dan Williams <dcbw@redhat.com>
1310 Patch from Alexander Sack <asac@ubuntu.com>
1312 * libnm-util/crypto_gnutls.c
1313 libnm-util/crypto_nss.c
1314 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1316 * libnm-util/nm-utils.c
1317 libnm-util/nm-utils.h
1318 libnm-util/libnm-util.ver
1319 - (nm_utils_init): initialize libnm-util
1320 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1322 * libnm-util/nm-setting-8021x.c
1323 - (nm_setting_802_1x_class_init): init libnm-util when needed
1325 2008-09-05 Dan Williams <dcbw@redhat.com>
1327 Patch from Roy Marples <roy@marples.name> and others
1330 src/named-manager/nm-named-manager.c
1331 - Add support for resolvconf; use --with-resolvconf at configure time
1334 2008-09-05 Dan Williams <dcbw@redhat.com>
1336 * libnm-util/crypto_nss.c
1337 libnm-util/crypto_gnutls.c
1339 - (crypto_init): return error when init fails
1341 2008-09-05 Dan Williams <dcbw@redhat.com>
1343 * libnm-glib/nm-device-wifi.c
1344 - (access_point_removed_proxy): clean up the active access point too
1345 just in case the active ap changed signal didn't come through yet
1346 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1348 2008-09-05 Dan Williams <dcbw@redhat.com>
1350 * libnm-glib/nm-client.c
1351 - (constructor): get initial state after we know whether NM is running
1354 2008-09-05 Dan Williams <dcbw@redhat.com>
1356 * libnm-glib/nm-ip4-config.c
1357 libnm-glib/nm-dhcp4-config.c
1358 - (finalize): clean up the DBusGProxy
1360 2008-09-04 Dan Williams <dcbw@redhat.com>
1362 * src/nm-ip4-config.c
1364 - (nm_ip4_config_new): don't export over D-Bus here
1365 - (nm_ip4_config_export): new function; export the config over D-Bus
1366 - (nm_ip4_config_is_exported): new function
1369 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1370 objects by balancing the IP4Config constructor; the device holds
1371 a reference to the IP4Config already
1372 - (nm_device_set_ip4_config): export the IP4Config when needed
1374 2008-09-04 Dan Williams <dcbw@redhat.com>
1376 * src/supplicant-manager/nm-supplicant-settings-verify.c
1377 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1379 2008-09-04 Dan Williams <dcbw@redhat.com>
1381 * libnm-util/nm-setting-vpn.c
1382 libnm-util/nm-setting-vpn.h
1383 - Split VPN secrets from VPN data so that settings services can actually
1384 figure out that they are secrets and store them accordingly
1386 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1387 system-settings/plugins/keyfile/reader.c
1388 system-settings/plugins/keyfile/reader.h
1389 system-settings/plugins/keyfile/writer.c
1390 - Store VPN secrets separately from VPN data so that they can be fetched
1392 - Implement the get_secrets() call so that (a) secrets don't leak out
1393 to unprivileged callers, and (b) secrets can be sent to privileged
1396 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1397 - Handle split VPN secrets
1399 2008-08-27 Dan Williams <dcbw@redhat.com>
1401 * system-settings/plugins/ifcfg-fedora/reader.c
1402 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1404 2008-08-27 Dan Williams <dcbw@redhat.com>
1406 Ensure zombie children get cleaned up. To get notifications when children
1407 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1408 that requires calling waitpid() yourself if you've removed the child watch
1409 handler before the process has actually died, which NM needs to do in a few
1410 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1411 cleans up after the child when required. Should fix problems trying to
1412 activate mobile broadband connections after a previous failure.
1414 * src/dhcp-manager/nm-dhcp-dhclient.c
1415 src/dhcp-manager/nm-dhcp-dhcpcd.c
1416 - Use G_SPAWN_DO_NOT_REAP_CHILD
1418 * src/dhcp-manager/nm-dhcp-manager.c
1419 - (nm_dhcp_device_destroy): ensure child is cleaned up
1420 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1421 block on child quitting, since the non-blocking functionality was
1424 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1425 - (dm_watch_cb): child is already reaped here
1426 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1429 - (aipd_cleanup): block until child is dead
1431 * src/named-manager/nm-named-manager.c
1432 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1433 event bothering to watch the child
1435 * src/ppp-manager/nm-ppp-manager.c
1436 - (ppp_watch_cb): child is already reaped here
1437 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1439 * src/vpn-manager/nm-vpn-service.c
1440 - (vpn_service_watch_cb): child is already reaped here
1441 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1442 status of the child is actually tracked
1443 - (ensure_killed, finalize): block until child is dead
1445 2008-08-26 Dan Williams <dcbw@redhat.com>
1447 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1448 - (update): Update filename of the connection if the connection id
1451 * system-settings/plugins/keyfile/plugin.c
1452 - (dir_changed): first pass at handling connection renames correctly
1454 * system-settings/plugins/keyfile/writer.c
1455 system-settings/plugins/keyfile/writer.h
1456 - (write_connection): replace '/' with '*' when writing out the filename
1457 from the connection id
1459 2008-08-26 Dan Williams <dcbw@redhat.com>
1461 Add connection UUIDs, since connection names can be changed, and since
1462 old-style connection IDs could change over the life of the connection. The
1463 UUID should be assigned at connection creation time, be stable for a given
1464 connection, and should be unique among all connections for a given settings
1468 libnm-util/Makefile.am
1471 * introspection/nm-exported-connection.xml
1472 - Remove "GetID" method
1474 * libnm-glib/nm-dbus-connection.c
1475 libnm-glib/nm-settings.c
1476 libnm-glib/nm-settings.h
1477 - Remove id-related stuff
1479 * libnm-util/nm-utils.c
1480 libnm-util/nm-utils.h
1481 libnm-util/libnm-util.ver
1482 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1483 utility functions to generate UUIDs
1485 * libnm-util/nm-setting-connection.c
1486 libnm-util/nm-setting-connection.h
1487 - Add 'uuid' member to the connection setting
1488 - (verify): require valid 'uuid' for a valid connection
1490 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1491 system-settings/plugins/ifcfg-fedora/reader.c
1492 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1493 system-settings/plugins/ifcfg-suse/parser.c
1494 system-settings/plugins/keyfile/nm-keyfile-connection.c
1495 system-settings/src/main.c
1496 - Remove id-related stuff
1497 - Give connections UUIDs where needed
1499 2008-08-25 Dan Williams <dcbw@redhat.com>
1501 * libnm-util/crypto_gnutls.c
1502 libnm-util/crypto_nss.c
1503 - (crypto_init, crypto_deinit): refcount init/deinit
1504 - (crypto_md5_hash): allow NULL salt
1506 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1508 * libnm-glib/Makefile.am
1509 libnm-util/Makefile.am
1510 libnm-glib/libnm_glib.ver
1511 libnm-glib/libnm_glib_vpn.ver
1512 libnm-util/libnm-util.ver
1513 - Use linker version scripts to control the list of exported
1514 symbols. List each exported symbol explicitely.
1515 * libnm-util/Makefile.am
1516 - Fix compilation of the test-crypto binary. The crypto
1517 functions are no longer part of the libnm-util API. Add
1518 crypto_*.c to test_crypto_SOURCES and link against the correct
1521 2008-08-19 Dan Williams <dcbw@redhat.com>
1525 - Don't build test/test-common
1526 - Remove unused stuff
1528 * test/nm-set-fallback
1529 test/nmtestdevices.c
1530 test/test-common/.cvsignore
1531 test/test-common/Makefile.am
1532 test/test-common/test-common.c
1533 test/test-common/test-common.h
1536 2008-08-18 Dan Williams <dcbw@redhat.com>
1538 * libnm-util/nm-utils.c
1539 libnm-util/nm-utils.h
1540 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1541 export anything that needs to be converted with this function
1543 * src/dhcp-manager/nm-dhcp-manager.c
1544 - (garray_to_string): convert a byte array to a UTF-8 string with
1545 minimal validation; the DHCP client sends it in ASCII anyway
1546 - (get_option, copy_option): use garray_to_string()
1548 2008-08-18 Dan Williams <dcbw@redhat.com>
1550 * include/NetworkManager.h
1551 introspection/nm-device.xml
1552 - Add a "missing firmware" device state reason
1554 * src/NetworkManagerSystem.c
1555 src/NetworkManagerSystem.h
1556 - (nm_system_device_set_up_down): add a no_firmware argument
1557 - (nm_system_device_set_up_down_with_iface): if the result of setting
1558 IFF_UP is ENOENT, that almost always means missing firmware
1560 * src/backends/NetworkManagerGeneric.c
1561 src/nm-device-ethernet.c
1562 src/nm-device-private.h
1563 src/nm-device-wifi.c
1566 src/nm-hso-gsm-device.c
1567 src/vpn-manager/nm-vpn-connection.c
1568 - Pass no_firmware along; check it where appropriate
1570 2008-08-18 Dan Williams <dcbw@redhat.com>
1572 Patch from Robert Buchholz <rbu@gentoo.org>
1576 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1577 1003.1-1988, allowing for file names longer than 99 characters
1579 2008-08-17 Dan Williams <dcbw@redhat.com>
1581 * include/NetworkManager.h
1582 introspection/nm-device.xml
1584 - Finer-grained GSM registration failure error codes
1586 2008-08-17 Dan Williams <dcbw@redhat.com>
1588 * callouts/Makefile.am
1590 - Move dispatcher directory creation to callouts/Makefile.am
1592 * system-settings/plugins/keyfile/Makefile.am
1593 - Create keyfile connections directory in DESTDIR (bgo #546833)
1595 2008-08-15 Dan Williams <dcbw@redhat.com>
1597 Do connection sharing in a cleaner manner; all required iptables rules
1598 are now stored in the activation request and pertain only to the device
1599 which is being shared to other computers. (rh #458625)
1601 * src/nm-activation-request.c
1602 src/nm-activation-request.h
1603 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1604 the activation request which will get torn down automatically when
1605 the activation request dies
1606 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1607 is started, and tear them down when sharing is stopped
1610 - (start_sharing): start up sharing by doing the required iptables magic
1611 - (share_init): poke the right bits of the kernel and load the right
1613 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1614 connection if it's a 'shared' connection
1616 * src/NetworkManagerPolicy.c
1617 - Remove all sharing stuff; done in the device code itself
1619 2008-08-15 Dan Williams <dcbw@redhat.com>
1621 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1622 - (create_dm_cmd_line): send the right router address
1624 2008-08-15 Dan Williams <dcbw@redhat.com>
1626 * src/ppp-manager/nm-ppp-manager.c
1627 - (pppd_timed_out): ensure timeouts fail the connection
1629 2008-08-14 Dan Williams <dcbw@redhat.com>
1631 * src/nm-properties-changed-signal.c
1632 src/nm-properties-changed-signal.h
1633 - Add a property spec flag for "don't export this property" in
1634 property changed signals
1636 * src/nm-hso-gsm-device.c
1638 src/nm-cdma-device.c
1639 - Don't export monitor interface or netdev interface properties
1641 2008-08-14 Dan Williams <dcbw@redhat.com>
1643 * src/NetworkManagerPolicy.c
1644 - (update_routing_and_dns): 'hso' devices can be default even if they
1645 don't have a gateway
1647 2008-08-14 Dan Williams <dcbw@redhat.com>
1650 - (nm_device_deactivate_quickly): tear down activation request after
1651 calling device-specific deactivation
1653 * src/nm-hso-gsm-device.c
1654 - (real_deactivate_quickly): terminate connection when deactivating
1656 2008-08-14 Dan Williams <dcbw@redhat.com>
1658 * src/nm-activation-request.h
1659 - Add HSO secrets caller
1661 * src/nm-gsm-device.c
1663 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1664 something to the callback function
1665 - (set_apn, set_apn_done): call class dial function, not a static one
1666 - (nm_gsm_device_class_init): add a class 'dial' function
1668 * src/nm-hal-manager.c
1669 - (get_hso_netdev): find the hso-driven hardware's net device
1670 - (modem_device_creator): recognize hso-driven hardware and create the
1671 right type of device object for it
1674 src/nm-hso-gsm-device.c
1675 src/nm-hso-gsm-device.h
1676 - Implement support for devices driven by the 'hso' driver as a subclass
1679 2008-08-14 Dan Williams <dcbw@redhat.com>
1681 * src/NetworkManagerSystem.c
1682 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1683 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1684 success if the operation really was successful
1686 2008-08-14 Dan Williams <dcbw@redhat.com>
1688 * src/nm-netlink-monitor.c
1689 src/nm-netlink-monitor.h
1690 src/nm-device-ethernet.c
1691 - (nm_netlink_monitor_request_status): return an error on failure
1692 - (constructor): don't segfault on missing error
1694 2008-08-13 Dan Williams <dcbw@redhat.com>
1696 * callouts/nm-dispatcher-action.c
1697 - Add IP4 config info to script environment
1699 2008-08-12 Dan Williams <dcbw@redhat.com>
1702 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1703 that want to use DHCP hostnames should use dispatcher scripts
1706 * src/NetworkManagerSystem.h
1707 src/backends/NetworkManagerArch.c
1708 src/backends/NetworkManagerDebian.c
1709 src/backends/NetworkManagerFrugalware.c
1710 src/backends/NetworkManagerGeneric.c
1711 src/backends/NetworkManagerGeneric.h
1712 src/backends/NetworkManagerGentoo.c
1713 src/backends/NetworkManagerMandriva.c
1714 src/backends/NetworkManagerPaldo.c
1715 src/backends/NetworkManagerRedHat.c
1716 src/backends/NetworkManagerSlackware.c
1717 src/backends/NetworkManagerSuSE.c
1718 - Remove nm_system_set_hostname(), no longer used
1720 * src/backends/Makefile.am
1721 src/backends/shvar.c
1722 src/backends/shvar.h
1723 - Remove shvar.*; no longer used
1725 2008-08-12 Dan Williams <dcbw@redhat.com>
1727 Revert most of the 'hostname' patch. Too much stuff still breaks when
1728 hostname is updated at runtime. Distros or users who want hostname updates
1729 can use dispatcher scripts to update the hostname if they need it.
1731 2008-08-12 Dan Williams <dcbw@redhat.com>
1733 * introspection/nm-settings-system.xml
1734 system-settings/src/dbus-settings.c
1735 system-settings/src/dbus-settings.h
1736 - Add a 'Hostname' property (rw) which represents the configured
1737 hostname and domain of the system, if any
1739 * system-settings/src/nm-system-config-error.c
1740 system-settings/src/nm-system-config-error.h
1741 system-settings/src/nm-system-config-interface.c
1742 system-settings/src/nm-system-config-interface.h
1743 - Add a 'hostname' property to the plugin interface
1744 - Add a method to send updated hostname to plugins to save in their
1745 backing configuration store
1747 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1748 system-settings/plugins/keyfile/plugin.c
1749 system-settings/plugins/keyfile/writer.c
1750 system-settings/plugins/keyfile/writer.h
1751 system-settings/plugins/ifcfg-suse/plugin.c
1752 - Add minimal hostname support
1754 * system-settings/plugins/ifcfg-fedora/plugin.c
1755 - Add support for updating system hostname in /etc/sysconfig/network
1757 2008-08-12 Dan Williams <dcbw@redhat.com>
1759 * system-settings/plugins/ifcfg-fedora/shvar.c
1760 system-settings/plugins/ifcfg-fedora/shvar.c
1761 - Fix double-free caused by svSetValue() followed by svCloseFile()
1763 2008-08-12 Tambet Ingo <tambet@gmail.com>
1765 * Makefile.am: Fix distcheck.
1767 2008-08-12 Tambet Ingo <tambet@gmail.com>
1769 * libnm-glib/*.c. Document some more.
1771 2008-08-12 Tambet Ingo <tambet@gmail.com>
1773 Start documenting libnm-glib public API using gtk-doc.
1775 * libnm-glib/nm-serial-device.c:
1776 * libnm-glib/nm-object.c:
1777 * libnm-glib/nm-gsm-device.c:
1778 * libnm-glib/nm-device.c:
1779 * libnm-glib/nm-device-wifi.c:
1780 * libnm-glib/nm-device-ethernet.c:
1781 * libnm-glib/nm-client.c:
1782 * libnm-glib/nm-cdma-device.c: Document the public API.
1784 * docs/libnm-glib/libnm-glib.types: Implement.
1786 * docs/libnm-glib/Makefile.am: Implement.
1790 * Makefile.am: Add gtk-doc support.
1792 2008-08-12 Tambet Ingo <tambet@gmail.com>
1794 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1796 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1797 the composite result of all the IP4 configurations and call a distro
1798 specific update_resolv_conf().
1799 (update_resolv_conf): Implement one for directly writing to
1800 /etc/resolv.conf and one for opensuse to call netconfig.
1802 2008-08-11 Dan Williams <dcbw@redhat.com>
1804 * src/ppp-manager/nm-ppp-manager.c
1805 - (impl_ppp_manager_need_secrets): pass interface as required
1807 2008-08-11 Dan Williams <dcbw@redhat.com>
1809 Merge the vpn-properties setting with the vpn setting since it was pointless
1810 to keep both of them around. Convert the vpn 'data' hash table to a hash
1811 of string:string (instead of string:variant) so that system settings plugins
1812 can have an easier time dealing with the arbitrary key/value pairs.
1814 2008-08-11 Dan Williams <dcbw@redhat.com>
1816 * libnm-util/nm-utils.c
1817 - (nm_utils_register_value_transformations): add value transform for
1818 a hash table of string:string
1820 2008-08-10 Dan Williams <dcbw@redhat.com>
1822 * libnm-glib/nm-vpn-plugin.c
1823 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1824 an idle handler so the Connect reply gets delivered before the
1825 stop StateChanged signal
1827 2008-08-10 Dan Williams <dcbw@redhat.com>
1829 * src/nm-ip4-config.c
1830 - (get_property): use common ip4 address/route conversion functions
1831 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1832 copy the new route here, not take ownership
1834 2008-08-08 Tambet Ingo <tambet@gmail.com>
1836 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1837 Update the IP4 setting's method name.
1839 2008-08-07 Dan Williams <dcbw@redhat.com>
1841 * introspection/nm-ip4-config.xml
1842 libnm-glib/libnm-glib-test.c
1843 libnm-glib/nm-ip4-config.c
1844 libnm-glib/nm-ip4-config.h
1845 src/NetworkManagerSystem.h
1846 src/backends/NetworkManagerArch.c
1847 src/backends/NetworkManagerDebian.c
1848 src/backends/NetworkManagerFrugalware.c
1849 src/backends/NetworkManagerGeneric.c
1850 src/backends/NetworkManagerGeneric.h
1851 src/backends/NetworkManagerGentoo.c
1852 src/backends/NetworkManagerMandriva.c
1853 src/backends/NetworkManagerPaldo.c
1854 src/backends/NetworkManagerRedHat.c
1855 src/backends/NetworkManagerSlackware.c
1856 src/backends/NetworkManagerSuSE.c
1857 src/dhcp-manager/nm-dhcp-manager.c
1861 - Remove NIS logic; should be done from dispatcher scripts instead
1863 2008-08-07 Dan Williams <dcbw@redhat.com>
1865 * src/dhcp-manager/nm-dhcp-manager.c
1866 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1867 mis-handling of DHCP responses that returned more than one router
1868 (found by Grant Williamson)
1870 2008-08-07 Dan Williams <dcbw@redhat.com>
1872 * callouts/nm-dispatcher-action.c
1873 - (nm_dispatcher_action): grab device path and create the device; pass
1874 the device's DHCP4 config to script caller
1875 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1878 * libnm-glib/nm-dhcp4-config.c
1879 libnm-glib/nm-dhcp4-config.h
1880 - (nm_dhcp4_config_get_options): expose
1881 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1883 2008-08-07 Dan Williams <dcbw@redhat.com>
1885 * include/NetworkManager.h
1886 - Add the DHCP4Config D-Bus interface
1888 * libnm-glib/Makefile.am
1889 libnm-glib/nm-dhcp4-config.c
1890 libnm-glib/nm-dhcp4-config.h
1891 - Handle DHCP4 config objects exported by NM over D-Bus
1893 * libnm-glib/nm-device.c
1894 libnm-glib/nm-device.h
1895 - Add a 'dhcp4-config' property
1897 * libnm-glib/libnm-glib-test.c
1898 - Print out DHCP4 config for devices
1899 - Fix some crashes when no connections are active
1901 * src/nm-device-interface.c
1903 src/nm-dhcp4-config.c
1904 src/nm-dhcp4-config.h
1905 - Treat dhcp4-config object as an object path at the D-Bus interface so
1906 that when it doesn't exist we can proxy it as "/" which dbus-glib
1907 doesn't let us do when the property type is G_TYPE_OBJECT
1909 2008-08-07 Dan Williams <dcbw@redhat.com>
1911 * src/NetworkManager.c
1912 src/NetworkManagerSystem.h
1913 src/backends/NetworkManagerArch.c
1914 src/backends/NetworkManagerDebian.c
1915 src/backends/NetworkManagerFrugalware.c
1916 src/backends/NetworkManagerGeneric.c
1917 src/backends/NetworkManagerGeneric.h
1918 src/backends/NetworkManagerGentoo.c
1919 src/backends/NetworkManagerMandriva.c
1920 src/backends/NetworkManagerPaldo.c
1921 src/backends/NetworkManagerRedHat.c
1922 src/backends/NetworkManagerSlackware.c
1923 src/backends/NetworkManagerSuSE.c
1924 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1926 2008-08-06 Dan Williams <dcbw@redhat.com>
1928 * libnm-glib/nm-ip4-config.c
1929 libnm-glib/nm-ip4-config.h
1930 - Add 'routes' property
1932 * libnm-util/nm-setting-vpn.c
1933 libnm-util/nm-setting-vpn.h
1934 - Remove 'routes' property
1936 * libnm-util/nm-setting-ip4-config.c
1937 libnm-util/nm-setting-ip4-config.h
1938 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1939 - Add 'ignore-auto-routes' property
1940 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1941 accomodate route metrics
1942 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1944 * libnm-util/nm-utils.c
1945 libnm-util/nm-utils.h
1946 - Add helpers for marshalling IP4 routes
1948 * src/NetworkManagerUtils.c
1949 - (nm_utils_merge_ip4_config): handle property renames and new route
1952 * src/NetworkManagerSystem.c
1953 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1954 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1956 * src/dhcp-manager/nm-dhcp-manager.c
1957 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1959 * system-settings/plugins/ifcfg-fedora/reader.c
1960 system-settings/plugins/ifcfg-fedora/writer.c
1961 - Handle routes separately from addresses now that routes have a different
1964 * introspection/nm-ip4-config.xml
1967 - Rename internal routing functions
1968 - 'static-routes' renamed to 'routes'
1970 2008-08-04 Dan Williams <dcbw@redhat.com>
1972 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1974 * src/NetworkManager.c
1977 - More explicitly make the NMManager a singleton
1979 2008-08-04 Dan Williams <dcbw@redhat.com>
1981 * libnm-util/nm-connection.c
1982 libnm-util/nm-connection.h
1983 - (nm_connection_verify): return error on missing 'connection' setting
1984 (found by Sjoerd Simons)
1986 2008-08-04 Dan Williams <dcbw@redhat.com>
1988 Handle multiple concurrent PPP connections.
1990 * src/ppp-manager/nm-ppp-manager.c
1991 src/ppp-manager/nm-ppp-manager.h
1992 - (constructor): only PPP Manager request bus name once; each
1993 NMPPPManager object gets a unique object path
1994 - (nm_ppp_manager_class_init, get_property, set_property,
1995 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1997 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1998 remove timeout until PPP manager gets an IP4 config
1999 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2000 the plugin can call back to this specific PPP manager instance
2002 * src/nm-device-ethernet.c
2003 src/nm-serial-device.c
2004 - Pass parent device in nm_ppp_manager_new()
2006 * src/nm-gsm-device.c
2007 src/nm-cdma-device.c
2008 - (device_state_changed): don't close serial device on NEED_AUTH
2009 state changed, that's not a failure case like the rest are
2011 * src/ppp-manager/nm-pppd-plugin.c
2012 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2013 binds one interface to any pppd process, thus the correct index
2014 is always 0; send PHASE_DEAD on error to alert NM immediately of
2015 problems; try harder to get a peer address in spite of pppd
2016 - (plugin_init): use 'ipparam' as the object path back to our specific
2017 PPP manager instance
2019 2008-08-04 Dan Williams <dcbw@redhat.com>
2021 * src/ppp-manager/nm-ppp-manager.c
2022 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2023 since the GSM and CDMA settings now implement need_secrets, we can
2024 rely on them to do the right thing. Where secrets are not required,
2025 just pass empty strings back to the pppd plugin.
2026 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2027 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2028 on successful IP4 config receipt
2030 2008-08-04 Dan Williams <dcbw@redhat.com>
2032 * libnm-util/nm-setting-cdma.c
2033 libnm-util/nm-setting-gsm.c
2034 - (verify): validate username & password if they exist
2035 - (need_secrets): if username given, require a password too
2037 2008-08-04 Dan Williams <dcbw@redhat.com>
2039 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2040 - (create_dm_cmd_line): really don't listen on lo, despite what the
2041 manpage says about --listen-address without --interface
2044 2008-08-01 Dan Williams <dcbw@redhat.com>
2046 * libnm-glib/nm-device.c
2047 - (proxy_get_string): util function for querying a HAL property
2048 - (get_ancestor_device): split out from get_product_and_vendor()
2049 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2050 from PCI devices by querying subsys properties
2051 - (nm_device_update_description): simplify
2053 2008-08-01 Dan Williams <dcbw@redhat.com>
2055 * libnm-util/nm-setting-ip4-config.c
2056 libnm-util/nm-setting-ip4-config.h
2057 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2058 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2059 settings, and they don't necessarily use DHCP.
2061 * src/NetworkManagerPolicy.c
2063 system-settings/plugins/ifcfg-fedora/reader.c
2064 system-settings/plugins/ifcfg-suse/parser.c
2065 - Fixup for method changes
2067 2008-07-31 Dan Williams <dcbw@redhat.com>
2069 * src/nm-activation-request.c
2070 src/vpn-manager/nm-vpn-connection.c
2071 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2072 itself should be attached to the activation request or the VPN
2073 connection, not the NMConnection object, since the call is not
2074 expected to live as long as the NMConnection itself
2076 2008-07-31 Dan Williams <dcbw@redhat.com>
2078 * src/nm-device-wifi.c
2079 - (real_act_stage2_config): fix issue where association would continue
2080 even though secrets were needed; 'goto out' was in wrong scope and
2081 result of handle_auth_or_fail() should have been dumped directly to
2082 'ret' to ensure that the association was postponed until secrets
2085 2008-07-31 Dan Williams <dcbw@redhat.com>
2087 * system-settings/plugins/ifcfg-fedora/plugin.c
2088 system-settings/plugins/ifcfg-fedora/reader.c
2089 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2092 2008-07-29 Dan Williams <dcbw@redhat.com>
2094 * src/nm-gsm-device.c
2095 - (automatic_registration_response, automatic_registration): recognize
2096 denied registration and reorder responses
2098 2008-07-29 Dan Williams <dcbw@redhat.com>
2100 * src/nm-serial-device.c
2101 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2102 time(2) is used for current time, which returns seconds, we shouldn't
2103 be multiplying by 1000.
2105 2008-07-28 Dan Williams <dcbw@redhat.com>
2107 Patch from Fabrice Bellet <fabrice@bellet.info>
2109 * src/NetworkManagerSystem.c
2110 - (route_in_same_subnet): mask addresses and compare them so that the
2111 function actually does what it says it's going to do (rh #456685)
2113 2008-07-27 Dan Williams <dcbw@redhat.com>
2115 * libnm-util/nm-setting-ip6-config.c
2116 - (set_property): add missing break that caused routes to be overwritten
2119 * libnm-util/nm-setting-ip6-config.c
2120 - (verify): validate routes and return GError everywhere on invalid setting
2121 - (finalize): don't leak routes
2122 - (set_property): add missing break that caused routes to be overwritten
2125 2008-07-27 Dan Williams <dcbw@redhat.com>
2128 - Relicense to LGPLv2+
2130 2008-07-27 Dan Williams <dcbw@redhat.com>
2132 * system-settings/plugins/ifcfg-fedora/reader.c
2133 - (make_ip4_setting): fix parsing automatic configs
2135 2008-07-27 Dan Williams <dcbw@redhat.com>
2137 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2139 src/ppp-manager/nm-ppp-manager.c
2140 - Ensure child process gets reaped. The child watch function may be
2141 removed from the mainloop before the child gets killed, so we have
2142 to make sure the child is reaped when it's told to die intentionally
2144 2008-07-27 Dan Williams <dcbw@redhat.com>
2146 Patch from Roy Marples <roy@marples.name>
2148 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2149 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2151 2008-07-27 Dan Williams <dcbw@redhat.com>
2153 * src/nm-gsm-device.c
2154 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2155 Huawei devices turn echo back on after CPIN (rh #456770)
2157 2008-07-24 Tambet Ingo <tambet@gmail.com>
2159 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2160 format argument to g_set_error() call.
2162 * src/backends/interface_parser.[ch]: Remove.
2164 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2166 2008-07-21 Dan Williams <dcbw@redhat.com>
2168 * src/ppp-manager/nm-ppp-manager.c
2169 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2170 to prevent pppd from picking up some random local address from an
2171 interface that doesn't have anything to do with the one we're
2172 interested in (rh #455348)
2174 2008-07-17 Dan Williams <dcbw@redhat.com>
2176 * libnm-util/nm-utils.c
2177 - (string_to_utf8): general function for conversion to UTF-8 assisted
2179 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2180 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2182 2008-07-17 Dan Williams <dcbw@redhat.com>
2184 * introspection/Makefile.am
2185 introspection/nm-device.xml
2186 introspection/nm-dhcp4-config.xml
2187 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2189 * src/nm-device-interface.c
2190 src/nm-device-interface.h
2191 - Add the DHCP4Config property
2194 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2195 D-Bus clients when it changes
2197 * src/nm-dhcp4-config.c
2198 src/nm-dhcp4-config.h
2199 - Simple object to store DHCP4 options, export them over D-Bus, and
2200 notify when they change
2202 * src/dhcp-manager/nm-dhcp-manager.c
2203 src/dhcp-manager/nm-dhcp-manager.h
2204 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2205 filter server-returned DHCP options into an NMDHCP4Config object
2207 2008-07-16 Dan Williams <dcbw@redhat.com>
2209 * introspection/nm-device.xml
2210 - Add device state reasons
2212 2008-07-16 Dan Williams <dcbw@redhat.com>
2214 Patch from Roy Marples <roy@marples.name>
2217 - Add --with-dhcp-client option
2219 * src/dhcp-manager/Makefile.am
2220 - pass DHCP_CLIENT_PATH on compile line
2222 * src/dhcp-manager/nm-dhcp-manager.c
2223 src/dhcp-manager/nm-dhcp-manager.h
2224 - Genericize for both dhcpcd and dhclient
2226 * src/dhcp-manager/nm-dhcp-dhclient.c
2227 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2229 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2230 - Implement support for dhcpcd too
2232 2008-07-16 Tambet Ingo <tambet@gmail.com>
2234 * system-settings/src/nm-system-config-interface.c
2235 (nm_system_config_interface_supports_add): Implement.
2236 (nm_system_config_interface_add_connection): Return a boolean to notify
2239 * system-settings/src/nm-polkit-helpers.c:
2240 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2243 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2244 Return an error when none of the plugins support add or if addition
2245 failed for some reason.
2247 * system-settings/src/nm-system-config-error.h:
2248 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2249 here from nm-polkit-helpers.[ch].
2251 * system-settings/src/Makefile.am: Build new files.
2253 * system-settings/plugins/keyfile/reader.c
2254 (read_array_of_array_of_uint): Make it more general so that it would
2255 work for routes as well.
2257 * system-settings/plugins/keyfile/writer.c
2258 (write_array_of_array_of_uint): Ditto.
2259 Fix the netmask/prefix writing.
2261 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2262 boolean to notify errors.
2264 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2265 Return more specific error.
2268 2008-07-11 Dan Williams <dcbw@redhat.com>
2270 Modify the NMDevice::state-changed signal to include the previous state
2271 and reason. Enables the applet to provide more information why device
2274 2008-07-09 Dan Williams <dcbw@redhat.com>
2276 * callouts/Makefile.am
2277 callouts/nm-avahi-autoipd-action.c
2278 callouts/nm-avahi-autoipd.conf
2279 - avahi-autoipd callout to send options back to NM
2286 src/nm-device-private.h
2288 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2291 2008-07-07 Dan Williams <dcbw@redhat.com>
2293 * system-settings/plugins/ifcfg-fedora/reader.c
2294 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2295 handle PREFIX too; clean up
2297 2008-07-07 Dan Williams <dcbw@redhat.com>
2299 Convert to using IPv4 prefixes instead of netmasks.
2301 2008-07-03 Dan Williams <dcbw@redhat.com>
2303 * libnm-util/nm-setting-ip4-config.c
2304 libnm-util/nm-setting-ip4-config.h
2305 - Add properties for DHCP Client Identifier and DHCP Hostname
2307 * src/dhcp-manager/nm-dhcp-manager.c
2308 src/dhcp-manager/nm-dhcp-manager.h
2309 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2310 setting as an argument to pass on to the dhclient config file
2312 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2314 - (dhclient_run): punt config file handling to create_dhclient_config()
2315 - (create_dhclient_config): create an interface-specific dhclient
2316 config file since there may need to be interface-specific options
2318 - (merge_dhclient_config): merge normal distro dhclient config file and
2319 add options from the connection
2320 - (nm_dhcp_device_new): generate the interface specific dhclient
2321 config file path once
2322 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2323 dhclient config file path
2326 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2327 DHCP manager when starting DHCP
2329 2008-07-02 Dan Williams <dcbw@redhat.com>
2331 * libnm-util/nm-setting-8021x.c
2332 - (verify): allow forcing the PEAP label to 0
2334 2008-07-02 Dan Williams <dcbw@redhat.com>
2336 * introspection/nm-active-connection.xml
2337 introspection/nm-vpn-connection.xml
2338 libnm-glib/nm-active-connection.c
2339 src/nm-activation-request.c
2340 src/nm-active-connection.h
2341 src/vpn-manager/nm-vpn-connection.c
2342 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2343 and libnm-glib API since sharing didn't get implemented that way
2345 2008-07-02 Dan Williams <dcbw@redhat.com>
2347 * src/nm-device-wifi.c
2348 - (can_scan): don't scan when a shared connection is activated since
2349 that makes drivers mad (causing disconnects); also NM doesn't need
2350 to hedge against disconnects by keeping up-to-date network topology
2351 because the connection originates from the local machine, and thus
2352 there should be no disconnects
2354 2008-07-01 Dan Williams <dcbw@redhat.com>
2356 Fix mobile broadband username/password issues. NM was never requesting
2357 mobile broadband secrets, nor was it passing back the username and password
2360 * marshallers/nm-marshal.list
2361 - Add some new types for activation request objects
2363 * src/nm-activation-request.c
2364 src/nm-activation-request.h
2365 - (get_secrets_cb): pass the caller type in the signal
2366 - (nm_act_request_request_connection_secrets): take a caller type, so
2367 that GetSecrets() reply handlers know who asked for the secrets in
2368 the first place; use secret hints too so the settings service can
2369 figure out exactly what NM wants (ie, PIN or the PPP password)
2371 * src/ppp-manager/nm-ppp-manager.c
2372 src/ppp-manager/nm-ppp-manager.h
2373 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2374 detect needed secrets when the secret could be blank, like GSM/CDMA
2375 passwords. So always ask for secrets, and send a hint as to what
2376 secret we really want.
2377 - (nm_ppp_manager_update_secrets): make function more generic by making
2378 the device specific class figure out the username and password, and
2379 accept an error argument to return back over D-Bus
2381 * src/nm-device-wifi.c
2382 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2383 nm_act_request_request_connection_secrets()
2384 - (real_connection_secrets_updated): update for 'caller' changes
2388 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2389 for 'caller' changes
2391 * src/nm-device-ethernet.c
2392 - (real_connection_secrets_updated): update for 'caller' changes and
2393 move logic for getting PPPoE username and password here before
2394 calling nm_ppp_manager_update_secrets()
2395 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2396 nm_act_request_request_connection_secrets()
2398 * src/nm-cdma-device.c
2399 - (real_connection_secrets_updated): pass username and password back
2400 to the PPP manager when required
2402 * src/nm-gsm-device.c
2403 - (enter_pin): send the required secret name to the settings service
2404 - (real_connection_secrets_updated): pass username and password back
2405 to the PPP manager when required
2407 2008-06-30 Dan Williams <dcbw@redhat.com>
2409 * src/nm-device-wifi.c
2410 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2412 2008-06-30 Dan Williams <dcbw@redhat.com>
2414 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2415 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2416 priv->supplicant.iface. When either condition is false, the device should
2417 transition back to UNAVAILABLE because it cannot be used.
2419 * src/nm-device-wifi.c
2420 - (constructor): cleanup; connect to supplicant manager here since the
2421 supplicant manager is always around
2422 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2423 ensure the supplicant manager is in the IDLE state
2424 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2425 cancel any pending scans too
2426 - (real_bring_up): don't set up the supplicnat interface here, because
2427 we need the supplicant interface at times when the device may not
2429 - (real_take_down): just remove the periodic source
2430 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2431 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2432 do anything if there's no supplicant interface
2433 - (cleanup_association_attempt): cleanup
2434 - (supplicant_iface_state_cb_handler): request an immediate scan when
2435 the interface enters the READY state; transition to UNAVAILABLE
2436 state when the interface goes down because the device can't be used
2437 without a supplicant interface
2438 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2439 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2440 acquire the supplicant interface and transition to DISCONNECTED
2441 if the radio isn't killed
2442 - (nm_device_wifi_dispose): move most of device_cleanup() here
2443 - (state_changed_cb): release any existing supplicant interface; if the
2444 radio is enabled then try to acquire a new supplicant interface;
2445 if the radio is enabled and a supplicant interface has been acquired,
2446 we can transition to DISCONNECTED
2447 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2448 don't enable the radio, because HAL probably lied to us about the
2449 killswitch being off. If bringing the hardware up worked, then
2450 try to grab a supplicant interface, and if that was successful,
2451 transition to DISCONNECTED
2453 2008-06-30 Dan Williams <dcbw@redhat.com>
2455 * src/supplicant-manager/nm-supplicant-interface.c
2456 - (request_scan_results, nm_supplicant_interface_dispose,
2457 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2458 the id of the timeout, not a GSource
2460 2008-06-30 Tambet Ingo <tambet@gmail.com>
2462 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2463 bunch of typoes introduced by "Patch from David Cantrell
2464 <dcantrell@redhat.com> and me".
2466 2008-06-30 Tambet Ingo <tambet@gmail.com>
2468 * src/nm-serial-device.c:
2469 * src/nm-gsm-device.c:
2470 * src/nm-cdma-device.c: Move the pending call handling to a common location
2471 in serial device. Handle setting device state to failed in one place as well.
2473 2008-06-29 Dan Williams <dcbw@redhat.com>
2475 * src/nm-hal-manager.c
2476 - Rework killswitch handling to query killswitch status immediately
2477 when the first killswitch is added, so that rfkill state is
2478 known as early as possible
2479 - Also treat failure of GetPower() as rfkill when the dbus method
2480 call times out (but not when the HAL callout returns an error)
2482 2008-06-26 Dan Williams <dcbw@redhat.com>
2484 Patch from David Cantrell <dcantrell@redhat.com> and me
2486 * include/nm-dbus-glib-types.h
2487 - Add IP6 address types
2489 * libnm-util/Makefile.am
2490 libnm-util/nm-setting-ip6-config.c
2491 libnm-util/nm-setting-ip6-config.h
2492 - Add IP6 settings object
2494 * libnm-util/nm-connection.c
2495 - (register_default_settings): register ip6 settings object
2497 * libnm-util/nm-utils.c
2498 libnm-util/nm-utils.h
2499 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2500 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2501 ip6 address conversion functions
2503 2008-06-26 Dan Williams <dcbw@redhat.com>
2505 Patch from David Cantrell <dcantrell@redhat.com>
2507 * Use inet_ntop() and inet_pton() everwhere and check for errors
2509 2008-06-26 Dan Williams <dcbw@redhat.com>
2511 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2513 2008-06-26 Dan Williams <dcbw@redhat.com>
2515 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2517 * src/nm-device-wifi.c
2518 - (link_timeout_cb): don't ignore disconnects due to scanning
2519 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2520 a longer timeout when scanning; avoids case where supplicant can't
2521 find the AP and just keeps scanning forever but isn't connected
2523 2008-06-26 Dan Williams <dcbw@redhat.com>
2525 Patch from Michael Biebl <biebl@debian.org>
2527 * Clean up build system stuff
2529 2008-06-23 Christian Persch <chpe@gnome.org>
2531 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2532 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2533 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2535 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2537 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2538 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2539 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2541 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2542 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2543 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2544 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2545 * vpn-daemons/pptp/properties/vpnui_opt.c:
2546 (vpnui_opt_connect_signals):
2547 * vpn-daemons/pptp/properties/vpnui_opt.h:
2548 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2549 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2550 deprecated gtk type macros. Bug #539325.
2552 2008-06-20 Dan Williams <dcbw@redhat.com>
2554 * libnm-glib/nm-vpn-plugin-ui-interface.c
2555 libnm-glib/nm-vpn-plugin-ui-interface.h
2556 - 'validity-changed' -> 'changed' to work better with the connection
2557 editor. Plugin UI widgets should emit 'changed' whenever their
2558 UI values change in a meaningful way.
2559 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2560 update_connection member now returns validity of the UI widget
2562 2008-06-20 Tambet Ingo <tambet@gmail.com>
2564 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2566 2008-06-17 Dan Williams <dcbw@redhat.com>
2568 * libnm-glib/nm-vpn-plugin-ui-interface.c
2569 libnm-glib/nm-vpn-plugin-ui-interface.h
2570 - Add "desc" property for longer descriptions of the VPN plugin
2572 2008-06-16 Dan Williams <dcbw@redhat.com>
2575 libnm-glib/libnm_glib_vpn.pc.in
2576 - add a .pc file for libnm_glib_vpn
2578 * libnm-glib/nm-vpn-plugin-ui-interface.c
2579 libnm-glib/nm-vpn-plugin-ui-interface.h
2580 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2581 rework it substantially
2583 2008-06-12 Dan Williams <dcbw@redhat.com>
2585 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2586 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2587 returns a descriptive GError when verification fails.
2589 2008-06-11 Dan Williams <dcbw@redhat.com>
2591 Patch from Tambet Ingo <tambet@gmail.com>
2593 * libnm-util/nm-setting-gsm.c
2594 - (verify): validate APN
2596 * src/nm-gsm-device.c
2597 - (manual_registration_done): start setting APN if needed
2598 - (set_apn, set_apn_done): set the APN
2599 - (do_dial): use the APN when dialing
2601 2008-06-11 Dan Williams <dcbw@redhat.com>
2603 * src/NetworkManagerSystem.c
2604 - (nm_system_device_set_ip4_route,
2605 nm_system_device_replace_default_ip4_route): check for the right
2606 return value from rtnl_route_add() to know when to add a gateway
2609 2008-06-11 Dan Williams <dcbw@redhat.com>
2611 * src/NetworkManagerPolicy.c
2612 - do_ipt_cmd -> do_cmd
2613 - (sharing_init): use do_cmd() instead of system()
2615 2008-06-10 Dan Williams <dcbw@redhat.com>
2617 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2618 and use "wifi" everwhere instead.
2620 2008-06-10 Dan Williams <dcbw@redhat.com>
2622 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2624 2008-06-10 Dan Williams <dcbw@redhat.com>
2626 Patch from Tambet Ingo <tambet@gmail.com>
2628 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2631 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2632 a signal to emit these changes over dbus.
2634 * src/Makefile.am: Genereate nm-serial-device-glue.
2636 * libnm-glib/nm-serial-device.[ch]: Implement.
2638 * libnm-glib/nm-cdma-device.[ch]
2639 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2641 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2643 * introspection/nm-device-serial.xml: Implement.
2645 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2647 * introspection/Makefile.am: Add nm-device-serial.xml.
2649 * include/NetworkManager.h: Add a DBus interface for serial device.
2651 2008-06-10 Dan Williams <dcbw@redhat.com>
2654 - Add TARGET_* define to config.h to distinguish distros
2656 * src/dhcp-manager/nm-dhcp-manager.c
2657 - (dhclient_run): use distro-specific path for dhclient config file
2659 2008-06-09 Dan Williams <dcbw@redhat.com>
2661 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2662 src/dnsmasq-manager/nm-dnsmasq-manager.h
2663 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2664 calculate the addresses passed to dnsmasq instead of hard-coding
2668 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2669 IP addresses for shared connections to guard against shared
2670 connection address collisions
2671 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2673 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2676 2008-06-09 Dan Williams <dcbw@redhat.com>
2678 * src/NetworkManagerPolicy.c
2679 - (update_routing_and_dns): set the default connection _after_ unsetting
2680 default on all non-default connections so that two connections can
2681 never be default at the same time
2682 - (device_state_changed): start and stop connection sharing when
2684 - (active_connection_default_changed): restart or stop sharing when
2685 the default connection changes to keep shared connections always
2686 NAT-ed through the default connection
2687 - (check_sharing): handle activation/deactivation of shared connections
2688 - (sharing_restart): atom-bomb approach to connection sharing until we
2689 can use libnl; reinit all sharing when the default connection or
2690 shared connections change
2691 - (sharing_init, sharing_stop): evil functions that init and deinit
2694 2008-06-09 Dan Williams <dcbw@redhat.com>
2696 * src/nm-activation-request.c
2697 src/nm-activation-request.h
2698 - (nm_act_request_set_shared, nm_act_request_get_shared,
2699 nm_act_request_get_device): new functions to facilitate connection
2702 2008-06-09 Dan Williams <dcbw@redhat.com>
2705 - (clear_act_request): unset the 'default' property of the activation
2706 request when clearing it to ensure the property changed signal gets
2707 delivered and handled
2709 2008-06-09 Dan Williams <dcbw@redhat.com>
2711 * libnm-glib/nm-device-802-11-wireless.c
2712 - (access_point_removed_proxy): actually unref the AP after removing
2713 it from the device's AP list. Fixes refcounting bug for APs that
2714 caused them to get mixed up in the applet's menu.
2716 2008-06-09 Tambet Ingo <tambet@gmail.com>
2718 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2719 (nm_dhcp_device_destroy): Destroy the device options hash table.
2721 2008-06-06 Dan Williams <dcbw@redhat.com>
2723 * system-settings/src/nm-polkit-helpers.c
2724 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2725 unref the context if the initialization fails; also avoid spew when
2728 2008-06-06 Dan Williams <dcbw@redhat.com>
2730 Patch from Tambet Ingo <tambet@gmail.com>
2732 * src/NetworkManagerSystem.c
2733 src/NetworkManagerSystem.h
2734 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2735 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2736 - (nm_system_device_set_ip4_route): clean up
2737 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2740 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2742 * src/vpn-manager/nm-vpn-connection.c
2743 - (ip_address_to_string): new function
2744 - (print_vpn_config): use ip_address_to_string
2745 - (merge_vpn_routes): add user-defined routes to the ip4 config
2746 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2748 * include/NetworkManagerVPN.h
2751 2008-06-05 Dan Williams <dcbw@redhat.com>
2753 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2756 - Show which device is the default device
2758 2008-06-05 Tambet Ingo <tambet@gmail.com>
2762 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2763 Free data returned from dbus method call.
2765 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2766 dbus_g_method_get_sender() returns a duplicated string, free it
2768 (check_polkit_privileges): Looks like policykit sometimes returns
2769 error and non-null return value, don't leak errors in that case.
2771 * system-settings/src/main.c (find_plugin): Don't leak existing
2773 (load_stuff): Don't leak device list and list items.
2774 (have_connection_for_device): Don't leak connection list.
2776 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2777 Free the data received from g_keyfile_get_*.
2779 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2780 the key when the security object is updated.
2782 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2783 Free data returned from dbus method call.
2784 (iface_state_cb): Ditto.
2785 (add_network_cb): Ditto.
2786 (nm_supplicant_interface_add_cb): Don't make another copy of already
2787 duplicated object path.
2788 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2791 * src/supplicant-manager/nm-supplicant-config.c
2792 (ADD_STRING_LIST_VAL): Fix a memory leak.
2794 * src/nm-manager.c (free_get_settings_info): Free the allocated
2796 (list_connections_cb): Free data returned from dbus method call.
2797 (system_settings_get_unmanaged_devices_cb): Ditto.
2799 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2801 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2802 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2803 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2806 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2807 arguments after the object is created.
2809 2008-06-04 Dan Williams <dcbw@redhat.com>
2811 * libnm-util/Makefile.am
2812 - Don't distribute nm-param-spec-specialized.h
2814 2008-06-02 Tambet Ingo <tambet@gmail.com>
2816 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2818 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2819 NMIP4Address, update the getters and setters.
2821 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2822 Use the updated NMIP4Config routes api.
2824 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2825 static routes as well.
2827 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2828 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2831 2008-05-30 Dan Williams <dcbw@redhat.com>
2833 * src/named-manager/nm-named-manager.c
2834 src/named-manager/nm-named-manager.h
2835 - Remove stale/obsolete bits for controlling bind over DBus
2837 2008-05-29 Dan Williams <dcbw@redhat.com>
2839 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2840 src/dnsmasq-manager/nm-dnsmasq-manager.h
2841 - (nm_dnsmasq_manager_new): move iface argument here
2842 - (constructor): remove, not needed
2843 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2844 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2847 - (real_act_stage4_get_ip4_config,
2848 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2851 2008-05-29 Dan Williams <dcbw@redhat.com>
2854 - (dnsmasq_state_changed_cb): new function; fail the connection if
2855 something happens to dnsmasq
2856 - (nm_device_new_ip4_shared_config): new function; create a new
2857 ip4-config for shared connections. Shared connections always use a
2858 fixed static IP address.
2859 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2860 autoip connections by actually using the returned ip4-config and
2862 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2864 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2867 2008-05-29 Dan Williams <dcbw@redhat.com>
2869 * src/nm-device-802-11-wireless.c
2870 - (real_get_best_auto_connection): auto-activate 'shared' method
2873 2008-05-29 Dan Williams <dcbw@redhat.com>
2875 * libnm-util/nm-setting-ip4-config.c
2876 libnm-util/nm-setting-ip4-config.h
2877 - Add a 'shared' method to indicate that this connection should be
2878 brought up with a DHCP and proxy DNS server to facilitate
2880 - (verify): 'shared' method doesn't allow DNS or searches either
2882 2008-05-29 Dan Williams <dcbw@redhat.com>
2886 src/dnsmasq-manager/Makefile.am
2887 src/dnsmasq-manager/nm-dnsmasq-manager.c
2888 src/dnsmasq-manager/nm-dnsmasq-manager.h
2889 - Add a dnsmasq daemon manager to facilitate connection sharing
2891 2008-05-29 Dan Williams <dcbw@redhat.com>
2893 * src/nm-device-private.h
2894 - Remove unused prototypes and clean up
2897 - Remove anything related to system_config_data, which is no longer used
2898 - (nm_device_new_ip4_autoip_config): make static
2900 2008-05-29 Tambet Ingo <tambet@gmail.com>
2902 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2903 (file_changed): Fix a bug where suse system settings plugin didn't
2904 update the connections automatically when the files changed.
2906 2008-05-28 Dan Williams <dcbw@redhat.com>
2908 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2910 2008-05-28 Dan Williams <dcbw@redhat.com>
2912 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2914 * src/NetworkManagerSystem.c
2915 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2916 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2917 was causing -EINVAL errors since the libnl code actually does flush
2918 the routes on VPN interfaces now
2920 * src/backends/NetworkManagerArch.c
2921 src/backends/NetworkManagerDebian.c
2922 src/backends/NetworkManagerFrugalware.c
2923 src/backends/NetworkManagerGeneric.c
2924 src/backends/NetworkManagerGentoo.c
2925 src/backends/NetworkManagerMandriva.c
2926 src/backends/NetworkManagerPaldo.c
2927 src/backends/NetworkManagerRedHat.c
2928 src/backends/NetworkManagerSlackware.c
2929 src/backends/NetworkManagerSuSE.c
2930 - (nm_system_device_flush_ip4_routes,
2931 nm_system_device_flush_ip4_routes_with_iface): remove
2933 2008-05-28 Dan Williams <dcbw@redhat.com>
2935 * libnm-util/nm-setting-wireless.c
2936 libnm-util/nm-setting-wireless.h
2937 - (set_property, get_property, nm_setting_wireless_class_init): add the
2938 'adhoc-create' property, which when TRUE indicates that NM should
2939 create this connection as an adhoc wifi network if it's not found
2940 as an adhoc network during scanning. Can be used to auto-create
2941 adhoc networks when used in combination with autoconnect.
2943 2008-05-28 Tambet Ingo <tambet@gmail.com>
2945 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2947 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2948 checked, it doesn't work on some devices.
2950 2008-05-28 Tambet Ingo <tambet@gmail.com>
2952 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2953 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2955 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2956 Use inet_aton() everywhere to improve error detection.
2957 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2960 2008-05-26 Tambet Ingo <tambet@gmail.com>
2962 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2965 2008-05-26 Tambet Ingo <tambet@gmail.com>
2967 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2968 reference counting issue.
2970 2008-05-23 Dan Williams <dcbw@redhat.com>
2972 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2974 * src/backends/NetworkManagerGeneric.c
2975 - (nm_generic_enable_loopback): use libnl
2977 2008-05-23 Dan Williams <dcbw@redhat.com>
2979 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2981 * src/NetworkManagerSystem.h
2982 src/backends/NetworkManagerArch.c
2983 src/backends/NetworkManagerDebian.c
2984 src/backends/NetworkManagerFrugalware.c
2985 src/backends/NetworkManagerGentoo.c
2986 src/backends/NetworkManagerMandriva.c
2987 src/backends/NetworkManagerPaldo.c
2988 src/backends/NetworkManagerRedHat.c
2989 src/backends/NetworkManagerSlackware.c
2990 src/backends/NetworkManagerSuSE.c
2991 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2992 nm_system_flush_arp_cache): remove, unused
2994 * src/backends/NetworkManagerGeneric.c
2995 src/backends/NetworkManagerGeneric.h
2996 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2997 nm_generic_flush_arp_cache): remove, unused
2999 2008-05-23 Dan Williams <dcbw@redhat.com>
3001 * system-settings/plugins/ifcfg-fedora/reader.c
3002 - (make_ip4_setting): honor PEERDNS setting
3004 2008-05-23 Dan Williams <dcbw@redhat.com>
3006 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3008 * src/NetworkManagerSystem.c
3009 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3012 * src/backends/NetworkManagerArch.c
3013 src/backends/NetworkManagerDebian.c
3014 src/backends/NetworkManagerFrugalware.c
3015 src/backends/NetworkManagerGentoo.c
3016 src/backends/NetworkManagerMandriva.c
3017 src/backends/NetworkManagerPaldo.c
3018 src/backends/NetworkManagerRedHat.c
3019 src/backends/NetworkManagerSlackware.c
3020 src/backends/NetworkManagerSuSE.c
3021 - (nm_system_device_flush_ip4_addresses,
3022 nm_system_device_flush_ip4_addresses_with_iface): remove
3024 * src/backends/NetworkManagerGeneric.c
3025 - (nm_generic_device_flush_ip4_addresses,
3026 nm_generic_device_flush_ip4_addresses_with_iface): remove
3028 2008-05-23 Dan Williams <dcbw@redhat.com>
3030 * src/supplicant-manager/nm-supplicant-settings-verify.c
3031 - Switch 'bssid' from bytes to keyword type
3032 - (validate_type_keyword): allow NULL keyword lists
3034 * src/supplicant-manager/nm-supplicant-config.c
3035 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3036 a byte array to string form, which is what the supplicant expects
3038 2008-05-23 Tambet Ingo <tambet@gmail.com>
3040 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3041 information received from DHCP.
3043 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3044 to make it possible to ignore the DNS information (both servers and
3045 searches) returned by DHCP server.
3047 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3048 name servers and searches if "ignore_dhcp_dns" is set.
3050 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3051 (nm_ip4_config_reset_searches): Implement.
3053 2008-05-22 Dan Williams <dcbw@redhat.com>
3055 Remove anything mDNS related. This is better done from a distro-specific
3056 dispatcher script. Plus, any distro using avahi doesn't need to restart
3057 avahi, since avahi can handle interface changes just fine using netlink.
3060 - Remove --with-mdns-provider
3062 * src/NetworkManagerPolicy.c
3063 - (global_state_changed): don't restart the mdns provider
3065 * src/NetworkManagerSystem.h
3066 src/backends/NetworkManagerArch.c
3067 src/backends/NetworkManagerDebian.c
3068 src/backends/NetworkManagerFrugalware.c
3069 src/backends/NetworkManagerGentoo.c
3070 src/backends/NetworkManagerMandriva.c
3071 src/backends/NetworkManagerPaldo.c
3072 src/backends/NetworkManagerRedHat.c
3073 src/backends/NetworkManagerSlackware.c
3074 src/backends/NetworkManagerSuSE.c
3075 - (nm_system_restart_mdns_responder): remove
3077 * src/backends/NetworkManagerGeneric.c
3078 src/backends/NetworkManagerGeneric.h
3079 - (nm_generic_restart_mdns_responder): remove
3081 2008-05-22 Dan Williams <dcbw@redhat.com>
3084 - clean up crypto options; just use --with-crypto=nss or
3085 --with-crypto=gnutls
3087 2008-05-22 Tambet Ingo <tambet@gmail.com>
3089 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3090 anymore, do it right away.
3092 2008-05-22 Tambet Ingo <tambet@gmail.com>
3094 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3095 serial device open when we're not connecting or connected.
3097 * src/nm-cdma-device.c (device_state_changed): Ditto.
3099 2008-05-22 Tambet Ingo <tambet@gmail.com>
3101 Don't remove all devices on waking up, sync with HAL.
3103 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3104 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3105 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3107 2008-05-21 Tambet Ingo <tambet@gmail.com>
3109 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3110 If the default gateway is unreachable, add a route to gateway and try
3113 2008-05-20 Dan Williams <dcbw@redhat.com>
3115 * system-settings/plugins/ifcfg-fedora/reader.c
3116 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3118 2008-05-19 Dan Williams <dcbw@redhat.com>
3120 * system-settings/plugins/ifcfg-fedora/reader.c
3121 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3122 if the ifcfg doesn't specify one (rh #446527)
3124 2008-05-19 Dan Williams <dcbw@redhat.com>
3126 Make the system settings service exit when the bus goes away. Since it's
3127 a bus-activated service, it's lifetime is limited to the bus that activated
3130 * system-settings/src/Makefile.am
3131 system-settings/src/nm-system-config-hal-manager-private.h
3132 - Remove nm-system-config-hal-manager-private.h
3134 * system-settings/src/nm-system-config-hal-manager.c
3135 - (nm_system_config_hal_manager_reinit_dbus,
3136 nm_system_config_hal_manager_deinit_dbus): remove
3138 * system-settings/src/main.c
3139 - (dbus_reconnect): remove
3140 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3141 - (destroy_cb): just quit when the bus goes away
3142 - (start_dbus_service, dbus_init): simplify
3143 - (main): destroy the wired devices hash table after destroying
3144 the HAL manager so we don't have to disconnect signals from the
3147 2008-05-15 Tambet Ingo <tambet@gmail.com>
3149 Move crypto functions from nm-applet to libnm-util.
3151 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3152 (nm_setting_802_1x_set_client_cert)
3153 (nm_setting_802_1x_set_phase2_ca_cert)
3154 (nm_setting_802_1x_set_phase2_client_cert)
3155 (nm_setting_802_1x_set_private_key)
3156 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3157 file (or private key and it's password), read the certificate data.
3159 * libnm-util/crypto_nss.c:
3160 * libnm-util/crypto_gnutls.c:
3161 * libnm-util/crypto.[ch]: Move here from nm-applet.
3163 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3165 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3166 Imlement WPA-EAP configuration reading from sysconfig.
3168 2008-05-16 Dan Williams <dcbw@redhat.com>
3170 * src/nm-device-802-11-wireless.c
3171 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3174 2008-05-14 Dan Williams <dcbw@redhat.com>
3176 Fix Linus' bug in rh #134886
3178 * src/nm-device-802-3-ethernet.c
3179 - (constructor): request initial carrier state
3181 * src/nm-netlink-monitor.c
3182 - (nm_netlink_monitor_request_status): schedule emission of carrier
3183 signals after refilling the link cache. Because the refill is a
3184 synchronous operation, the normal message hander won't get called
3185 since libnl has already consumed the messages.
3186 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3188 2008-05-14 Dan Williams <dcbw@redhat.com>
3190 * src/NetworkManagerSystem.c
3191 - (nm_system_device_is_up_with_iface): clean up
3193 2008-05-13 Dan Williams <dcbw@redhat.com>
3195 Fix refcounting issues over sleep/wake when a VPN connection was active that
3196 caused NM to try registering an object path for a device upon wake that was
3197 the same as an already registered object path.
3200 - (nm_device_take_down): properly handle cases where the device is
3201 no longer active but was just active, and therefore must be
3202 deactivated. When a device moves to unmanaged mode, this function
3203 previously would not deactivate the device, because the state was
3204 already unmanaged by the time this function was called.
3206 * src/vpn-manager/nm-vpn-connection.c
3207 - (device_state_changed): properly handle multiple devices states in
3208 which the device is now deactivated. Code previously didn't handle
3209 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3212 2008-05-13 Dan Williams <dcbw@redhat.com>
3214 * src/nm-device-private.h
3216 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3218 * src/nm-device-802-11-wireless.c
3219 - (nm_device_802_11_wireless_set_enabled): take devices up
3220 and down as appropriate for the rfkill state
3222 2008-05-13 Dan Williams <dcbw@redhat.com>
3224 * marshallers/nm-marshal.list
3225 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3227 * system-settings/plugins/ifcfg-fedora/Makefile.am
3228 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3229 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3230 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3231 events. Solely for use watching ifcfg files to pick up changes
3232 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3234 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3235 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3236 file contents change
3237 - (finalize): clean up inotify watches
3238 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3239 and the connection ifcfg for changes on their hardlinks
3240 - (files_changed_cb): proxy the changed signal back out to listeners
3242 * system-settings/plugins/ifcfg-fedora/plugin.c
3244 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3246 - (read_one_connection): connect to change signals on the new connection
3247 - (dir_changed, connection_changed_handler,
3248 handle_connection_remove_or_new): break out connection change
3249 handling and connection new/remove handling so it can be used from
3250 both the GFileMonitor callback and the NMIfcfgConnection changed
3253 * system-settings/plugins/ifcfg-fedora/reader.c
3254 system-settings/plugins/ifcfg-fedora/reader.h
3255 - (connection_from_file): return the keyfile path the connection would use
3257 2008-05-13 Tambet Ingo <tambet@gmail.com>
3259 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3260 single PolKitContext which is shared by all. PolKitContext::unref leaks
3261 just about everything, including all open file descriptiors and results
3262 in 99% cpu usage when data arrives to any of the fds that don't belong
3263 to any context anymore.
3265 2008-05-12 Dan Williams <dcbw@redhat.com>
3267 * gfilemonitor/glocaldirectorymonitor.c
3268 gfilemonitor/glocaldirectorymonitor.h
3269 - (g_local_directory_monitor_constructor): actually subscribe to the
3271 - (_g_local_directory_monitor_new): ensure that inotify is started up
3273 * gfilemonitor/glocalfilemonitor.c
3274 gfilemonitor/glocalfilemonitor.h
3275 - (g_local_file_monitor_constructor): actually subscribe to the watch
3276 - (_g_local_file_monitor_new): ensure that inotify is started up
3278 2008-05-11 Dan Williams <dcbw@redhat.com>
3281 - record PolicyKit version
3283 * system-settings/src/nm-polkit-helpers.c
3284 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3285 with PolicyKit <= 0.6
3287 2008-05-11 Dan Williams <dcbw@redhat.com>
3289 Update Fedora system-settings plugin to support latest API and use
3290 GFileMonitor rather than home-rolled inotify code.
3292 * system-settings/plugins/ifcfg-fedora/Makefile.am
3293 system-settings/plugins/ifcfg-fedora/common.h
3294 system-settings/plugins/ifcfg-fedora/plugin.c
3295 - Update to latest system settings plugin API; use GIO instead of
3296 custom inotify code; use NMIfcfgConnection objects instead of
3297 ConnectionData structures tacked onto NMConnection objects
3299 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3300 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3301 - Implement an NMExportedConnection subclass mapping ifcfg files to
3304 * system-settings/plugins/ifcfg-fedora/reader.c
3305 system-settings/plugins/ifcfg-fedora/reader.h
3306 - Move ifcfg parsing bits here from parser.c
3308 * system-settings/plugins/ifcfg-fedora/parser.c
3309 system-settings/plugins/ifcfg-fedora/parser.h
3310 - Remove; most code moved to reader.c
3312 2008-05-11 Dan Williams <dcbw@redhat.com>
3317 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3318 implementation, so that the same change monitoring code can be used
3319 on systems without glib-2.14 (like Fedora 8)
3321 * system-settings/plugins/keyfile/Makefile.am
3322 system-settings/plugins/keyfile/plugin.c
3323 system-settings/plugins/ifcfg-suse/Makefile.am
3324 system-settings/plugins/ifcfg-suse/plugin.c
3325 - Use private gfilemonitor code if GIO is not present
3327 2008-05-09 Tambet Ingo <tambet@gmail.com>
3329 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3330 NMExportedConnection's 'update' and 'delete' and return error with
3331 descriptive message.
3333 2008-05-08 Dan Williams <dcbw@redhat.com>
3335 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3337 * src/nm-gsm-device.c
3338 src/nm-cdma-device.c
3339 - (real_get_best_auto_connection): implement; allow autoconnection
3340 to GSM & CDMA devices
3342 2008-05-08 Tambet Ingo <tambet@gmail.com>
3344 Use PolicyKit to authorize the system settings' AddConnection method
3345 and the system settings connections' Update and Delete methods.
3347 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3348 (impl_exported_connection_delete, nm_exported_connection_update)
3349 (nm_exported_connection_delete): Return boolean and fill GError
3350 to notify the callers of the reasons why it might have failed.
3352 * libnm-glib/nm-dbus-settings-system.c
3353 (nm_dbus_settings_system_add_connection): Return the error from dbus
3354 call so that the callers can see why it failed.
3356 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3359 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3361 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3362 abstract base class that checks PolicyKit permissions.
3364 * system-settings/src/dbus-settings.c:
3365 (impl_settings_add_connection): Check the policy before carring out
3368 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3369 Inherit from NMSysconfigConnection, check the policies before
3370 allowing updating or removing.
3372 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3373 Inherit from NMSysconfigConnection.
3375 * introspection/nm-exported-connection.xml: Annotate "Update" and
3376 "Delete" methods with async flag so that the implementations can get
3377 access to DBusGMethodInvocation.
3379 * system-settings/src/dbus-settings.c
3380 (settings_add_connection_check_privileges): Implement.
3381 (impl_settings_add_connection): Check the privileges before adding a new
3382 connection. Improve error reporting.
3384 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3385 async so that the implementation can access DBusGMethodInvocation.
3387 * configure.in: Check for PolicyKit.
3389 * policy/org.freedesktop.network-manager-settings.system.policy:
3392 * policy/Makefile.am: Install the policy file.
3394 * configure.in: Add 'policy' subdir.
3396 2008-05-08 Tambet Ingo <tambet@gmail.com>
3398 Rewrite the suse system settings plugin.
3400 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3402 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3404 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3406 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3408 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3410 * system-settings/src/main.c (load_plugins): Improve error reporting.
3412 * system-settings/src/sha1.[ch] Add.
3414 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3416 2008-05-07 Dan Williams <dcbw@redhat.com>
3418 * system-settings/plugins/keyfile/reader.c
3419 - (read_one_setting_value): handle IP address items separately
3420 - (read_array_of_uint): read IPv4 DNS option as a string array
3421 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3424 * system-settings/plugins/keyfile/writer.c
3425 - (write_setting_value): handle IP address items separately
3426 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3427 not an array of uint, so that it's user-editable
3428 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3429 arrays, so they are user-editable
3431 2008-05-07 Dan Williams <dcbw@redhat.com>
3433 * system-settings/plugins/keyfile/Makefile.am
3434 - Change location of the keyfile plugin settings to
3435 /etc/NetworkManager/system-connections
3437 2008-05-05 Tambet Ingo <tambet@gmail.com>
3439 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3441 * system-settings/plugins/keyfile/plugin.c: Work with
3442 NMKeyfileConnections.
3444 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3445 Plugins are supposed to return NMExportedConnections now and handle the
3446 updated(), removed(), and GetSecrets().
3447 Store the internal list of connections in hash table to make it easier
3450 2008-05-07 Tambet Ingo <tambet@gmail.com>
3452 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3453 for multiple IP addresses.
3455 2008-05-07 Tambet Ingo <tambet@gmail.com>
3457 Patch from André Lemos.
3459 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3462 2008-05-06 Dan Williams <dcbw@redhat.com>
3464 * src/dhcp-manager/nm-dhcp-manager.c
3465 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3466 NMIP4Config to support multiple IP addresses
3468 * src/NetworkManagerUtils.c
3469 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3471 * src/nm-ip4-config.c
3473 - Store a list of IPv4 address/netmask/gateway tuples
3474 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3475 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3476 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3477 nm_ip4_config_set_address): remove
3478 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3479 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3480 new functions; handle multiple IPv4 addresses
3483 src/ppp-manager/nm-ppp-manager.c
3484 src/vpn-manager/nm-vpn-connection.c
3485 src/NetworkManagerPolicy.c
3487 libnm-glib/libnm-glib-test.c
3488 - update for changes to NMIP4Config for multiple IPv4 addresses
3490 * src/NetworkManagerSystem.c
3491 - (nm_system_device_set_ip4_route): don't add the route if any address
3492 is on the same subnet as the destination
3493 - (check_one_address): ignore the exact match, just match family and
3495 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3497 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3498 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3500 * introspection/nm-ip4-config.xml
3501 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3502 - Add 'addresses' property which is an array of (uuu) tuples of
3503 address/netmask/gateway
3505 * libnm-util/nm-setting-ip4-config.c
3506 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3508 * libnm-glib/nm-ip4-config.c
3509 libnm-glib/nm-ip4-config.h
3510 - Handle D-Bus interface changes to support multiple IP addresses
3512 2008-05-06 Dan Williams <dcbw@redhat.com>
3514 * libnm-util/nm-utils.c
3515 libnm-util/nm-utils.h
3516 - (nm_utils_ip4_addresses_from_gvalue,
3517 nm_utils_ip4_addresses_to_gvalue): new functions
3519 2008-05-06 Tambet Ingo <tambet@gmail.com>
3521 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3522 the returned connection paths.
3524 2008-05-05 Tambet Ingo <tambet@gmail.com>
3526 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3527 "PropertiesChanged" signal signature.
3529 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3530 defined in nm-dbus-glib-types.h.
3531 Don't register the connection on dbus, we're a proxy class to
3532 communicate with an already registered connection over dbus.
3534 2008-04-30 Tambet Ingo <tambet@gmail.com>
3536 Implement new subclasses of NMSettings and NMExportedConnection to make
3537 it easier for the applet to access and modify system settings.
3539 * libnm-glib/nm-dbus-connection.[ch]:
3540 * libnm-glib/nm-dbus-settings.[ch]:
3541 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3543 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3546 * include/NetworkManager.h: Define the system settings DBus interface.
3548 2008-04-30 Tambet Ingo <tambet@gmail.com>
3550 Implement additional C API for exported connections to make them identical
3551 with the DBus API. Change the (list_connections) virtual function to be
3552 more usable from C - instead of requiring implementers to return a GPtrArray
3553 of dbus paths, return a list of connections.
3555 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3556 (nm_settings_list_connections):
3557 (nm_exported_connection_new):
3558 (nm_exported_connection_update):
3559 (nm_exported_connection_delete): Implement.
3561 (impl_settings_list_connections):
3562 (impl_exported_connection_update):
3563 (impl_exported_connection_delete): Use the new public functions to make
3564 sure the C and dbus interfaces stay in sync.
3566 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3569 2008-05-02 Dan Williams <dcbw@redhat.com>
3571 * system-settings/plugins/ifcfg-fedora/plugin.c
3572 - (dispose): use right unref call on the DBusGConnection
3574 2008-05-02 Dan Williams <dcbw@redhat.com>
3576 * src/nm-serial-device.c
3577 - (find_terminator): don't compare the whole line, just the size of the
3578 terminator, since some modems put stuff after the terminator, like
3581 2008-05-01 Dan Williams <dcbw@redhat.com>
3583 Patch from Michael Biebl <biebl@debian.org>
3585 * callouts/Makefile.am
3586 callouts/org.freedesktop.nm_dispatcher.service.in
3587 system-settings/src/Makefile.am
3588 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3589 - use the right install location for dbus-activated stuff
3591 2008-04-30 Dan Williams <dcbw@redhat.com>
3593 * src/nm-gsm-device.c
3594 - (enter_pin): fix setting name passed to applets when asking for a GSM
3597 2008-04-30 Dan Williams <dcbw@redhat.com>
3600 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3602 2008-04-30 Dan Williams <dcbw@redhat.com>
3604 * src/nm-device-802-3-ethernet.c
3605 src/nm-device-802-11-wireless.c
3606 - (real_is_up): return true instead of chaining up to unimplemented
3609 2008-04-30 Dan Williams <dcbw@redhat.com>
3611 * src/NetworkManagerSystem.c
3612 src/NetworkManagerSystem.h
3613 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3614 functions to check device flags for IFF_UP
3616 * src/nm-serial-device.c
3617 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3620 * src/nm-device-802-3-ethernet.c
3621 src/nm-device-802-11-wireless.c
3622 - (real_hw_is_up): call nm_system_device_is_up()
3625 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3626 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3629 2008-04-29 Dan Williams <dcbw@redhat.com>
3631 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3633 * marshallers/nm-marshal.list
3636 * src/NetworkManager.c
3637 - (main): let the NMManager handle the NMHalManager
3639 * src/nm-hal-manager.c
3640 src/nm-hal-manager.h
3641 - convert to a GObject, and emit singals when stuff changes. Let the
3642 NMManager handle the signals, instead of the NMHalManager calling
3647 - (remove_one_device): consolidate device removals here
3648 - (dispose): use remove_one_device()
3649 - (nm_manager_get_device_by_udi): make static
3650 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3651 manager for devices at startup or wakeup time
3652 - (nm_manager_new): create and monitor the HAL manager
3653 - (hal_manager_udi_added_cb): new function; do what
3654 nm_manager_add_device() used to do when signalled by the hal manager
3655 - (hal_manager_udi_removed_cb): new function; do what
3656 nm_manager_remove_device() used to do when signalled by the hal
3658 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3660 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3661 in our device list that aren't known to HAL
3662 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3663 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3665 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3666 nm_manager_activation_pending, nm_manager_wireless_enabled,
3667 nm_manager_wireless_hardware_enabled,
3668 nm_manager_set_wireless_hardware_enabled): remove, unused
3670 2008-04-28 Dan Williams <dcbw@redhat.com>
3672 Fix the device up/down ambiguities. Up/down state used to be a
3673 conglomeration of hardware state (IFF_UP) and any device-specific things
3674 (supplicant, periodic timers, etc) that the device used to indicate
3675 readiness. Unfortunately, if the hardware was already IFF_UP for some
3676 reason, then the device specific stuff wouldn't get run, and the device
3681 - Create hw_is_up, hw_bring_up, and hw_take_down
3682 - Rename bring_down -> take_down
3683 - (real_hw_is_up): check interface flags for IFF_UP
3684 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3685 - (nm_device_is_up): make static; only used locally
3686 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3687 if the device is already up; if the device isn't up, bring it up
3688 - (nm_device_hw_take_down): just take down hardware
3689 - (nm_device_bring_up): bring up HW first, then device specific stuff
3690 - (nm_device_take_down): always deactivate device when called; always
3691 try to take hardware down too
3692 - (nm_device_state_changed): take device down when entering unmanaged
3693 state from a higher state
3695 * src/nm-device-802-11-wireless.c
3696 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3698 - (real_take_down, supplicant_iface_state_cb_handler,
3699 supplicant_iface_connection_state_cb_handler,
3700 supplicant_mgr_state_cb_handler): fix some messages
3702 * src/nm-device-802-3-ethernet.c
3703 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3706 2008-04-28 Dan Williams <dcbw@redhat.com>
3710 - (nm_manager_error_get_type): add new error
3711 - (nm_manager_remove_device): don't bother taking down the device here,
3712 the state change from unmanaging the device will do it
3713 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3714 uses it; when going to sleep, just unmanage the device instead of
3715 taking it down, because stuff will cleaned up correctly when the
3716 device gets unmanaged
3718 2008-04-28 Dan Williams <dcbw@redhat.com>
3720 * src/nm-hal-manager.c
3721 - (add_initial_devices): convert to a GSourceFunc prototype
3722 - (nm_manager_state_changed): when coming out of sleep, punt the
3723 device re-addition to an idle handler to let D-Bus events go out
3724 first, fixing a potential dbus-glib assert if the old device was
3725 not yet disposed (due to references held while emitting the D-Bus
3726 signals) but the new device was found, because the mainloop didn't
3727 run between signal emission and add_initial_devices()
3729 2008-04-27 Dan Williams <dcbw@redhat.com>
3731 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3733 * initscript/paldo/NetworkManager.in
3734 initscript/SUSE/networkmanager.in
3735 - Remove last bits of dhcdbd
3737 2008-04-27 Dan Williams <dcbw@redhat.com>
3739 * src/nm-device-802-11-wireless.c
3740 - (link_timeout_cb): don't ask for secrets when disconnected during
3741 association/authentication phase, drivers are still just too crappy
3743 2008-04-27 Dan Williams <dcbw@redhat.com>
3747 dispatcher-daemon/Makefile.am
3748 dispatcher-daemon/NetworkManagerDispatcher.c
3749 initscript/Arch/Makefile.am
3750 initscript/Arch/networkmanager-dispatcher.in
3751 initscript/Gentoo/Makefile.am
3752 initscript/Gentoo/NetworkManagerDispatcher.in
3753 initscript/Mandriva/Makefile.am
3754 initscript/Mandriva/networkmanagerdispatcher.in
3755 initscript/RedHat/Makefile.am
3756 initscript/RedHat/NetworkManagerDispatcher.in
3757 initscript/SUSE/Makefile.am
3758 initscript/SUSE/networkmanager-dispatcher.in
3759 initscript/Slackware/Makefile.am
3760 initscript/Slackware/rc.networkmanager-dispatcher.in
3761 initscript/paldo/Makefile.am
3762 initscript/paldo/NetworkManagerDispatcher.in
3764 man/NetworkManagerDispatcher.8.in
3765 - Remove the dispatcher daemon
3767 2008-04-27 Dan Williams <dcbw@redhat.com>
3769 * callouts/Makefile.am
3770 callouts/nm-dispatcher-action.c
3771 callouts/nm-dispatcher-action.h
3772 callouts/nm-dispatcher.conf
3773 callouts/nm-dispatcher.xml
3774 callouts/org.freedesktop.nm_dispatcher.service
3775 - Re-implement the dispatcher as a system-bus activated service that
3776 NM calls on-demand, rather than an always running daemon
3779 - Add callouts dir to includes to pick up dispatcher defines
3782 - (nm_device_state_changed): call dispatcher on device activated/
3785 * src/vpn-manager/nm-vpn-connection.c
3786 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3789 * src/NetworkManagerUtils.c
3790 src/NetworkManagerUtils.h
3791 - (nm_utils_call_dispatcher): helper to call dispatcher
3793 2008-04-27 Dan Williams <dcbw@redhat.com>
3795 * src/NetworkManagerUtils.c
3796 src/NetworkManagerUtils.h
3797 - remove unneeded includes
3798 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3799 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3800 nm_timeval_cmp, nm_timeval_add): remove, unused
3801 - clean up formatting
3802 - (nm_spawn_process): de-uglify
3804 * src/nm-device-802-11-wireless.c
3805 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3807 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3809 * initscript/Gentoo/NetworkManager.in:
3810 Fix for starting the daemon.
3812 2008-04-25 Dan Williams <dcbw@redhat.com>
3814 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3816 * src/NetworkManagerSystem.c
3817 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3819 2008-04-25 Dan Williams <dcbw@redhat.com>
3821 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3823 * src/NetworkManagerSystem.c
3824 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3825 implementation of nm_system_device_replace_default_route()
3827 * src/NetworkManagerPolicy.c
3828 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3830 * src/backends/NetworkManagerArch.c
3831 src/backends/NetworkManagerDebian.c
3832 src/backends/NetworkManagerFrugalware.c
3833 src/backends/NetworkManagerGeneric.c
3834 src/backends/NetworkManagerGeneric.h
3835 src/backends/NetworkManagerGentoo.c
3836 src/backends/NetworkManagerMandriva.c
3837 src/backends/NetworkManagerPaldo.c
3838 src/backends/NetworkManagerRedHat.c
3839 src/backends/NetworkManagerSlackware.c
3840 src/backends/NetworkManagerSuSE.c
3841 - (nm_system_device_replace_default_route): remove
3843 2008-04-25 Dan Williams <dcbw@redhat.com>
3845 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3847 * src/NetworkManagerSystem.c
3848 - (validate_ip4_route): remove; use nl_addr_parse() instead
3849 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3850 replace nm_system_device_add_route_via_device_with_iface() in the
3853 * src/backends/NetworkManagerArch.c
3854 src/backends/NetworkManagerDebian.c
3855 src/backends/NetworkManagerFrugalware.c
3856 src/backends/NetworkManagerGeneric.c
3857 src/backends/NetworkManagerGeneric.h
3858 src/backends/NetworkManagerGentoo.c
3859 src/backends/NetworkManagerMandriva.c
3860 src/backends/NetworkManagerPaldo.c
3861 src/backends/NetworkManagerRedHat.c
3862 src/backends/NetworkManagerSlackware.c
3863 src/backends/NetworkManagerSuSE.c
3864 - Remove nm_system_device_add_route_via_device_with_iface()
3866 2008-04-25 Dan Williams <dcbw@redhat.com>
3868 * system-settings/plugins/ifcfg-fedora/parser.c
3869 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3871 2008-04-24 Dan Williams <dcbw@redhat.com>
3873 * dispatcher-daemon/NetworkManagerDispatcher.c
3874 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3876 2008-04-24 Dan Williams <dcbw@redhat.com>
3878 * initscript/RedHat/NetworkManager.in
3879 initscript/RedHat/NetworkManagerDispatcher.in
3880 - Be active at runlevel 2
3881 - Adjust priorities earlier
3883 2008-04-22 Dan Williams <dcbw@redhat.com>
3885 * src/NetworkManagerPolicy.c
3886 - (update_routing_and_dns): when checking for a gateway, look at the
3887 composite IP4 config, not the connection's ip4-config setting, which
3888 doesn't include DHCP-returned information
3890 2008-04-22 Tambet Ingo <tambet@gmail.com>
3892 Implement GKeyFile system settings plugin.
3893 Implement writing system settings (currently supported only by GKeyFile plugin).
3895 * system-settings/src/main.c:
3896 * system-settings/src/dbus-settings.c: Move the communication with plugins
3897 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3898 plugins for adding/updating/removing connections.
3900 * system-settings/src/nm-system-config-interface.c
3901 (nm_system_config_interface_add_connection): Implement
3902 (nm_system_config_interface_update_connection): Implement.
3903 (nm_system_config_interface_remove_connection): Implement.
3905 * system-settings/plugins/keyfile/Makefile.am:
3906 * system-settings/plugins/keyfile/plugin.[ch]:
3907 * system-settings/plugins/keyfile/writer.[ch]:
3908 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3910 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3912 * configure.in: Generate GKeyFile Makefile.
3914 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3915 corruption, need to duplicate the returned string.
3916 (impl_exported_connection_update): Implement.
3917 (impl_exported_connection_delete): Implement.
3919 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3921 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3923 2008-04-22 Dan Williams <dcbw@redhat.com>
3925 Patch from Charles R. Anderson (cra@wpi.edu)
3927 * src/NetworkManagerPolicy.c
3928 - (update_routing_and_dns): don't select devices without a gateway
3929 as having the default route (rh #437338)
3931 2008-04-21 Dan Williams <dcbw@redhat.com>
3933 * src/nm-activation-request.c
3934 src/nm-activation-request.h
3935 - (dispose): ensure to disconnect from the device's state-changed signal
3936 when appropriate so the signal doesn't get handled by an already
3937 disposed NMActRequest
3938 - (device_state_changed): update is_default here too just to make sure
3939 default is only True when the child device is activated
3940 - (nm_act_request_set_default): new function
3942 * src/NetworkManagerPolicy.c
3943 - (update_routing_and_dns): set 'default' on the active connection which
3944 has the default route and DNS
3946 2008-04-21 Dan Williams <dcbw@redhat.com>
3948 * src/NetworkManagerPolicy.c
3949 - (device_state_changed): update routing and DNS when a device goes
3950 into unmanaged or unavailable states too (like rfkill or carrier loss)
3952 2008-04-21 Dan Williams <dcbw@redhat.com>
3954 * include/NetworkManager.h
3955 - Add NMActiveConnectionState enum
3957 * introspection/nm-active-connection.xml
3958 introspection/nm-vpn-connection.xml
3959 - Add 'State' property for overall active connection state
3960 - Add 'Default' property, when True means this active connection
3961 has the default route
3962 - Add PropertyChanged signals so changes actually go out over the bus
3964 * src/nm-active-connection.h
3965 - Add defines for State & Default properties
3967 * src/nm-activation-request.c
3968 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3969 signal to determine active connection state
3971 * src/vpn-manager/nm-vpn-connection.c
3972 src/vpn-manager/nm-vpn-connection.h
3973 src/vpn-manager/nm-vpn-manager.c
3974 src/vpn-manager/nm-vpn-service.c
3975 - Rename old 'state' to 'vpn-state'
3976 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3977 - Add 'state' and 'default' properties, hook up to the vpn connection's
3978 'vpn-state-changed' signal
3980 * libnm-glib/nm-active-connection.c
3981 libnm-glib/nm-active-connection.h
3982 - Add new 'state' and 'default' properties and accessors
3984 * libnm-glib/nm-vpn-connection.c
3985 libnm-glib/nm-vpn-connection.h
3986 - Rename old 'state' property to 'vpn-state'
3987 - Add new 'state' and 'default' properties and accessors
3989 2008-04-21 Dan Williams <dcbw@redhat.com>
3991 * src/nm-ip4-config.c
3992 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3993 not specified (rh #443474)
3995 2008-04-20 Dan Williams <dcbw@redhat.com>
3997 * src/NetworkManagerUtils.c
3998 src/NetworkManagerUtils.h
3999 - (nm_utils_merge_ip4_config): new function; merge settings from an
4000 NMSettingIP4Config to an NMIP4Config object
4003 - (merge_ip4_config): move to NetworkManagerUtils.c
4005 * src/vpn-manager/nm-vpn-connection.c
4006 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4009 2008-04-18 Dan Williams <dcbw@redhat.com>
4011 * libnm-util/nm-setting-ppp.c
4012 libnm-util/nm-setting-ppp.h
4013 - Add 'no-vj-comp' option for TCP header compression
4014 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4017 2008-04-18 Dan Williams <dcbw@redhat.com>
4019 * libnm-util/nm-setting-ppp.c
4020 libnm-util/nm-setting-ppp.h
4021 src/ppp-manager/nm-ppp-manager.c
4022 - Add 'refuse-pap' and 'refuse-mschapv2' options
4024 2008-04-18 Dan Williams <dcbw@redhat.com>
4026 * libnm-util/nm-setting-ppp.c
4027 libnm-util/nm-setting-ppp.h
4028 src/ppp-manager/nm-ppp-manager.c
4029 - Remove the 'usepeerdns' option and always request DNS servers from
4030 the PPP server; the connection chooses to use/override/ignore the
4031 DNS servers returned from the PPP server
4033 2008-04-18 Dan Williams <dcbw@redhat.com>
4035 * libnm-util/nm-setting-ppp.c
4036 libnm-util/nm-setting-ppp.h
4037 src/ppp-manager/nm-ppp-manager.c
4038 - Remove the 'require-mppc' option, because pppd doesn't support it and
4039 it seems to have been an erroneous addition to the PPTP plugin in
4040 the first place (from which the ppp-manager is derived)
4042 2008-04-17 Dan Williams <dcbw@redhat.com>
4044 * libnm-util/nm-setting-pppoe.c
4045 - (verify): require a PPP setting too
4047 * src/ppp-manager/nm-ppp-manager.c
4048 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4051 2008-04-17 Dan Williams <dcbw@redhat.com>
4054 - (nm_device_state_changed): do deactivation and and promotion to
4055 unavailable here, so that the device gets cleaned up before the
4056 manager runs and starts emitting signals; do the
4057 FAILED->DISCONNECTED transition from an idle handler rather than
4058 immediately to guard against recursion
4059 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4060 FAILED->DISCONNECTED handler if it's scheduled
4062 2008-04-17 Dan Williams <dcbw@redhat.com>
4064 * src/nm-device-802-11-wireless.c
4065 - (state_changed_cb): clear AP list when device transitions to
4066 unavailable or unmanaged
4067 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4068 since this is already done in device_cleanup()
4069 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4070 isn't available or managed
4071 - (device_cleanup): use remove_all_aps()
4072 - (remove_all_aps): consolidate code removing all APs
4074 2008-04-17 Dan Williams <dcbw@redhat.com>
4076 * src/nm-serial-device.c
4077 src/nm-serial-device.h
4078 - (wait_for_reply_got_data): break input into lines, and search each
4079 line for responses _and_ terminator strings; also make sure that
4080 the read loop doesn't continue after the timeout is supposed to fire
4081 - (nm_serial_device_wait_for_reply): take an array of terminators too
4083 * src/nm-gsm-device.c
4084 src/nm-cdma-device.c
4085 - Send terminators to nm_serial_device_wait_for_reply()
4087 2008-04-16 Dan Williams <dcbw@redhat.com>
4089 Patch from 陈鑫 <znscnchen@gmail.com>
4091 * src/ppp-manager/nm-pppd-plugin.c
4092 - (get_credentials): return correct value for success; handle case where
4093 pppd just does some checking but doesn't want a password
4094 - (plugin_init): make CHAP work too
4096 2008-04-16 Dan Williams <dcbw@redhat.com>
4098 Patch from 陈鑫 <znscnchen@gmail.com>
4100 * src/ppp-manager/nm-ppp-manager.c
4101 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4103 2008-04-16 Dan Williams <dcbw@redhat.com>
4105 Patch from 陈鑫 <znscnchen@gmail.com>
4107 * src/nm-device-802-3-ethernet.c
4108 - (real_deactivate_quickly): clear the IP interface name on
4109 deactivation, otherwise the wrong interface might get used later
4110 for routing and IP management
4112 2008-04-15 Dan Williams <dcbw@redhat.com>
4114 * libnm-glib/nm-device.c
4115 - (get_product_and_vendor): handle serial devices correctly
4116 - (nm_device_update_description): pass device to get_product_and_vendor()
4118 2008-04-15 Dan Williams <dcbw@redhat.com>
4120 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4122 * src/NetworkManagerSystem.h
4123 src/backends/NetworkManagerArch.c
4124 src/backends/NetworkManagerDebian.c
4125 src/backends/NetworkManagerFrugalware.c
4126 src/backends/NetworkManagerGeneric.c
4127 src/backends/NetworkManagerGeneric.h
4128 src/backends/NetworkManagerGentoo.c
4129 src/backends/NetworkManagerMandriva.c
4130 src/backends/NetworkManagerPaldo.c
4131 src/backends/NetworkManagerRedHat.c
4132 src/backends/NetworkManagerSlackware.c
4133 src/backends/NetworkManagerSuSE.c
4135 - (nm_generic_device_add_ip6_link_address,
4136 nm_system_device_add_ip6_link_address): remove
4138 2008-04-15 Dan Williams <dcbw@redhat.com>
4140 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4142 * src/backends/NetworkManagerArch.c
4143 src/backends/NetworkManagerDebian.c
4144 src/backends/NetworkManagerFrugalware.c
4145 src/backends/NetworkManagerGeneric.c
4146 src/backends/NetworkManagerGeneric.h
4147 src/backends/NetworkManagerGentoo.c
4148 src/backends/NetworkManagerMandriva.c
4149 src/backends/NetworkManagerPaldo.c
4150 src/backends/NetworkManagerRedHat.c
4151 src/backends/NetworkManagerSlackware.c
4152 src/backends/NetworkManagerSuSE.c
4153 src/NetworkManagerSystem.h
4154 - flush_routes -> flush_ip4_routes
4155 - flush_addresses -> flush_ip4_addresses
4157 * src/NetworkManagerSystem.c
4159 src/vpn-manager/nm-vpn-connection.c
4160 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4162 2008-04-15 Dan Williams <dcbw@redhat.com>
4164 Remove exposure of wireless-tools mode types in the API.
4166 * include/NetworkManager.h
4167 - Define NM80211Mode enum
4169 * introspection/generic-types.xml
4170 - Describe NM_802_11_MODE enum
4171 - Remove IW_MODE_* enum
4173 * introspection/nm-access-point.xml
4174 libnm-glib/nm-access-point.c
4175 libnm-glib/nm-access-point.h
4176 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4178 * introspection/nm-device-802-11-wireless.xml
4179 libnm-glib/nm-device-802-11-wireless.c
4180 libnm-glib/nm-device-802-11-wireless.h
4181 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4183 * libnm-util/nm-setting-wireless.c
4184 src/NetworkManagerAP.c
4185 src/NetworkManagerAP.h
4186 src/nm-device-802-11-wireless.c
4187 src/nm-device-802-11-wireless.h
4189 - Use NM80211Mode not IW_MODE_*
4191 2008-04-15 Dan Williams <dcbw@redhat.com>
4193 Enhance nm-online based on a patch from Bill Nottingham.
4197 - Add help messages and option summary
4198 - Add long-format options
4199 - Add a '-x' option to exit if NM isn't running or isn't connecting
4201 2008-04-15 Tambet Ingo <tambet@gmail.com>
4203 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4205 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4207 2008-04-15 Dan Williams <dcbw@redhat.com>
4209 * nm-setting-ip4-config.c
4210 - (ip4_addresses_from_gvalue): handle NULL address array
4212 * nm-setting-8021x.c
4213 - (verify_tls, verify_ttls): warn on failed verification
4215 2008-04-10 Dan Williams <dcbw@redhat.com>
4217 * src/nm-gsm-device.c
4218 - (automatic_registration): accept "+CREG: 0,0"
4219 - (automatic_registration_response): fail on "+CREG: 0,0"
4221 2008-04-10 Tambet Ingo <tambet@gmail.com>
4223 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4225 2008-04-10 Tambet Ingo <tambet@gmail.com>
4227 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4228 Make it compile again by commenting out broken code that at first didn't work and
4229 now didn't compile either.
4231 2008-04-08 Dan Williams <dcbw@redhat.com>
4233 * libnm-glib/nm-object-cache.c
4234 libnm-glib/nm-settings.c
4235 src/dhcp-manager/nm-dhcp-manager.c
4236 system-settings/plugins/ifcfg-fedora/plugin.c
4237 system-settings/plugins/ifcfg-suse/plugin.c
4238 system-settings/src/nm-system-config-hal-manager.c
4239 libnm-util/nm-utils.c
4240 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4241 not threadsafe anyway
4243 2008-04-08 Dan Williams <dcbw@redhat.com>
4245 * system-settings/src/main.c
4246 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4247 callbacks take a device type too
4249 2008-04-08 Dan Williams <dcbw@redhat.com>
4251 The system settings service will now create a new default DHCP connection
4252 for wired devices that have no existing applicable connection.
4254 * system-settings/src/nm-system-config-hal-manager.c
4255 system-settings/src/nm-system-config-hal-manager.h
4256 - (nm_system_config_hal_manager_get_type_for_udi): new function
4258 * system-settings/src/dbus-settings.c
4259 system-settings/src/dbus-settings.h
4260 - (nm_sysconfig_settings_get_connections): new function
4261 - (nm_sysconfig_settings_is_device_managed): new function
4263 * system-settings/src/main.c
4264 - (load_stuff): check for wired devices that need a default connection
4265 - (get_details_for_udi): get interface and MAC address from HAL
4266 - (add_default_dhcp_connection): add a default connection for a wired
4268 - (device_added_cb, device_removed_cb): do the right thing with
4269 wired devices and their default connections on HAL device events
4271 2008-04-07 Dan Williams <dcbw@redhat.com>
4273 * libnm-glib/nm-device.c
4274 libnm-glib/nm-device.h
4275 - Proxy the 'managed' property
4277 2008-04-07 Dan Williams <dcbw@redhat.com>
4279 * src/nm-gsm-device.c
4280 src/nm-cdma-device.c
4281 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4282 handler to transition to DISCONNECTED
4284 2008-04-07 Dan Williams <dcbw@redhat.com>
4286 Patch from Bill Nottingham
4288 * dispatcher-daemon/NetworkManagerDispatcher.c
4289 - ignore backup/packaging crufy (rh #440143)
4291 2008-04-07 Dan Williams <dcbw@redhat.com>
4293 * include/NetworkManager.h
4294 - Remove the DOWN and CANCELLED device states
4295 - Add UNMANAGED and UNAVAILABLE device states
4296 - Document the device states
4298 * introspection/nm-device.xml
4299 src/nm-device-interface.c
4300 src/nm-device-interface.h
4301 - Add the 'managed' property
4304 - (detail_device): print out device state
4306 * src/NetworkManagerSystem.h
4307 src/backends/NetworkManagerArch.c
4308 src/backends/NetworkManagerDebian.c
4309 src/backends/NetworkManagerFrugalware.c
4310 src/backends/NetworkManagerGentoo.c
4311 src/backends/NetworkManagerMandriva.c
4312 src/backends/NetworkManagerPaldo.c
4313 src/backends/NetworkManagerRedHat.c
4314 src/backends/NetworkManagerSlackware.c
4315 src/backends/NetworkManagerSuSE.c
4316 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4317 nm_system_device_free_system_config): remove; they were unused and
4318 their functionality should be re-implemented in each distro's
4319 system settings service plugin
4321 * src/nm-gsm-device.c
4323 src/nm-cdma-device.c
4324 src/nm-cdma-device.h
4325 - (*_new): take the 'managed' argument
4328 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4329 - (nm_device_init): start in unmanaged state, not disconnected
4330 - (constructor): don't start device until the system settings service
4331 has had a chance to figure out if the device is managed or not
4332 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4333 don't set device state here, let callers handle that as appropriate
4334 - (nm_device_dispose): don't touch the device if it's not managed
4335 - (set_property, get_property, nm_device_class_init): implement the
4337 - (nm_device_state_changed): bring the device up if its now managed,
4338 and deactivate it if it used to be active
4339 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4340 with the managed state
4342 * src/nm-hal-manager.c
4343 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4344 take initial managed state and pass it along to device constructors
4345 - (create_device_and_add_to_list): get managed state and pass to
4348 * src/nm-device-802-11-wireless.c
4349 - (real_can_activate): fold in most of
4350 nm_device_802_11_wireless_can_activate()
4351 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4352 - (link_timeout_cb): instead of deactivating, change device state and
4353 let the device state handler to it
4354 - (real_update_hw_address): clean up
4355 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4356 handler to transition to DISCONNECTED if the device isn't rfkilled
4358 * src/nm-device-802-3-ethernet.c
4359 - (set_carrier): move above callers and get rid of prototype
4360 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4361 idle handler to transition to DISCONNECTED if the device has a
4363 - (real_update_hw_address): clean up
4364 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4365 deactivation directly as deactivation doesn't change state anymore
4367 * src/NetworkManagerPolicy.c
4368 - (schedule_activate_check): yay, remove wireless_enabled hack since
4369 the NMManager and wireless devices work that out themselves now
4370 - (device_state_changed): change to a switch and update for new device
4372 - (device_carrier_changed): remove; device handles this now through
4374 - (device_added): don't care about carrier any more; the initial
4375 activation check will happen when the device transitions to
4379 - (dispose): clear unmanaged devices
4380 - (handle_unmanaged_devices): update unmanaged device list and toggle
4381 the managed property on each device when needed
4382 - (system_settings_properties_changed_cb): handle signals from the
4383 system settings service
4384 - (system_settings_get_unmanaged_devices_cb): handle callback from
4385 getting the unmanaged device list method call
4386 - (query_unmanaged_devices): ask the system settings service for its
4387 list of unmanaged devices
4388 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4390 - (manager_set_wireless_enabled): push rfkill state down to wireless
4391 devices directly and let them handle the necessary state transitions
4392 - (manager_device_state_changed): update for new device states
4393 - (nm_manager_add_device): set initial rfkill state on wireless devices
4394 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4395 - (nm_manager_activate_connection): return error if the device is
4397 - (nm_manager_sleep): handle new device states correctly; don't change
4398 the state of unavailable/unmanaged devices
4400 * libnm-glib/nm-device-802-11-wireless.c
4401 - (state_changed_cb): update for new device states
4403 2008-04-07 Dan Williams <dcbw@redhat.com>
4405 * marshallers/nm-marshal.list
4406 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4408 2008-04-07 Dan Williams <dcbw@redhat.com>
4410 * system-settings/src/main.c
4411 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4412 plugins to the dbus settings object
4413 - (load_stuff): start the dbus service after grabbing unmanaged devices
4414 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4415 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4416 - (main): switch default logging to syslog with a 'debug' option to
4417 output to console; start up the HAL manager
4419 2008-04-07 Dan Williams <dcbw@redhat.com>
4421 * introspection/nm-settings-system.xml
4422 introspection/Makefile.am
4423 - Define the unmanaged devices interface for the system settings service
4425 * system-settings/src/nm-system-config-hal-manager.c
4426 system-settings/src/nm-system-config-hal-manager.h
4427 system-settings/src/nm-system-config-hal-manager-private.h
4428 system-settings/src/Makefile.am
4429 - Add a lightweight HAL manager object for tracking network devices for
4430 the purpose of determining unmanaged devices and which devices need
4431 the default DHCP connections
4433 * system-settings/src/nm-system-config-interface.c
4434 system-settings/src/nm-system-config-interface.h
4435 - (nm_system_config_interface_init): add the HAL manager as an argument
4436 - (nm_system_config_interface_get_unmanaged_devices): implement
4437 - Define 'unmanaged-devices-changed' signal
4439 * system-settings/src/dbus-settings.c
4440 system-settings/src/dbus-settings.h
4441 - Implement the unmanaged devices interface; some cleanups
4443 * system-settings/plugins/ifcfg-suse/plugin.c
4444 - Fixup for plugin interface changes
4446 * system-settings/plugins/ifcfg-fedora/plugin.c
4447 - (get_ether_device_udi): new function; find the device that has
4448 a specified MAC address and return its UDI
4449 - (get_udi_for_connection): new function; try to find the specific
4450 device a connection is locked to, if any
4451 - (device_added_cb, device_removed_cb): update unmanaged device list in
4452 response to HAL events
4453 - (get_unmanaged_devices): new function; return unmanaged device list
4454 - (build_one_connection): set the connection's locked device, if any
4455 - (write_auto_wired_connection): remove
4456 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4457 - (handle_connection_changed): alert listeners that the unmanaged device
4459 - (init): fixup for plugin interface changes, implement unmanaged devices
4461 * system-settings/plugins/ifcfg-fedora/parser.c
4462 system-settings/plugins/ifcfg-fedora/parser.h
4463 - (connection_data_free): clean up connection UDI
4465 2008-04-07 Dan Williams <dcbw@redhat.com>
4467 * system-settings/plugins/ifcfg-fedora/parser.c
4468 - (make_ip4_setting): fix parsing of DNS servers
4470 2008-04-05 Dan Williams <dcbw@redhat.com>
4474 marshallers/Makefile.am
4475 marshallers/nm-marshal-main.c
4476 marshallers/nm-marshal.list
4477 - Consolidate marshallers
4479 * libnm-glib/nm-marshal-main.c
4480 libnm-glib/nm-marshal.list
4481 src/marshallers/Makefile.am
4482 src/marshallers/nm-marshal-main.c
4483 src/marshallers/nm-marshal.list
4486 * libnm-glib/Makefile.am
4488 src/dhcp-manager/Makefile.am
4489 src/ppp-manager/Makefile.am
4490 src/supplicant-manager/Makefile.am
4491 src/vpn-manager/Makefile.am
4492 - Use consolidated marshallers
4494 2008-04-04 Dan Williams <dcbw@redhat.com>
4496 * src/nm-hal-manager.c
4497 src/nm-hal-manager.h
4498 - (hal_init): don't look for hardware here
4499 - (nm_hal_manager_start): new function; look for hardware here instead,
4500 which can be done at a later time than hal_init()
4502 * src/NetworkManager.c
4503 - (main): start HAL manager after entering the main loop
4505 2008-04-03 Dan Williams <dcbw@redhat.com>
4507 * libnm-glib/nm-settings.c
4508 libnm-glib/nm-settings.h
4509 - (nm_exported_connection_get_id): new function
4510 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4512 2008-04-02 Dan Williams <dcbw@redhat.com>
4514 * src/nm-device-interface.c
4515 src/nm-device-interface.h
4518 - Rename check_connection_conflicts() to check_connection_compatible()
4520 * src/nm-device-802-11-wireless.c
4521 - (real_check_connection_conflicts): remove
4522 - (real_check_connection_compatible): implement; match MAC address
4524 * src/nm-device-802-3-ethernet.c
4525 - (real_check_connection_conflicts): remove
4526 - (real_check_connection_compatible): implement; match MAC address
4527 - (real_get_best_auto_connection): correctly handle PPPoE cases
4530 - (check_connection_allowed): remove; unused until PolicyKit integration
4531 - (internal_activate_device): check whether the connection is compatible
4532 with the device before trying to activate it
4534 2008-04-02 Dan Williams <dcbw@redhat.com>
4536 * system-settings/plugins/ifcfg-fedora/parser.c
4537 - (read_mac_address): new function; read in MAC address and stuff it
4539 - (add_one_wep_key): remove debug spew
4540 - (make_wireless_security_setting): validate the default TX key; don't
4541 add the wireless-security setting if the connection doesn't need
4542 security; don't leak the keys shvarFile on error cases
4543 - (make_wireless_setting, make_wired_setting): populate device's MAC
4546 2008-04-02 Dan Williams <dcbw@redhat.com>
4548 * libnm-util/nm-setting-connection.c
4549 libnm-util/nm-setting-connection.h
4550 - (set_property, get_property, nm_setting_connection_class_init): remove
4551 the 'lockdown' property; it's functionality will be replaced by
4554 2008-04-01 Dan Williams <dcbw@redhat.com>
4556 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4559 initscript/Makefile.am
4560 initscript/Mandriva/Makefile.am
4561 initscript/Mandriva/networkmanager.in
4562 initscript/Mandriva/networkmanagerdispatcher.in
4563 src/backends/Makefile.am
4564 src/backends/NetworkManagerMandriva.c
4565 system-settings/plugins/Makefile.am
4566 - Add Mandriva support
4568 2008-03-31 Dan Williams <dcbw@redhat.com>
4570 * src/vpn-manager/nm-vpn-service.c
4571 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4572 errors can be passed back to the caller; also no longer scheduled
4573 as an idle handler, but called directly; and bump up VPN service
4574 spawn timeout, 2s is really short
4575 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4576 but call it directly so that errors are reported on return from
4577 ActivateConnection() and don't get lost. If scheduled as an idle
4578 handler, clients don't have the time to query NM for the new VPN
4579 connection's properties before the VPN connection is torn down again
4580 if the service couldn't be launched, and therefore launch errors
4583 2008-03-31 Dan Williams <dcbw@redhat.com>
4585 * src/vpn-manager/nm-vpn-connection.c
4586 - (device_state_changed): send correct state on device failure too
4587 - (plugin_state_changed): failed state means unexpected disconnection,
4588 thus if the service goes away while the VPN connection is activated
4589 that's a failure too
4591 2008-03-31 Dan Williams <dcbw@redhat.com>
4593 * src/vpn-manager/nm-vpn-manager.c
4594 src/vpn-manager/nm-vpn-manager.h
4595 - Make VPNManager errors more available; add a service-start-failed error
4597 2008-03-31 Dan Williams <dcbw@redhat.com>
4599 * libnm-glib/nm-client.c
4600 libnm-glib/nm-client.h
4601 - (activate_cb): pass the new active connection to callback; fix
4602 message when no callback is specified
4604 2008-03-30 Dan Williams <dcbw@redhat.com>
4606 * libnm-util/nm-setting-wireless-security.c
4607 - (need_secrets): only require key0 if the transmit key index is also
4609 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4611 2008-03-29 Dan Williams <dcbw@redhat.com>
4613 * libnm-util/nm-setting-8021x.c
4614 libnm-util/nm-setting-ip4-config.c
4615 libnm-util/nm-setting-vpn-properties.c
4616 libnm-util/nm-setting-vpn.c
4617 libnm-util/nm-setting-wireless-security.c
4618 libnm-util/nm-setting-wireless.c
4619 libnm-util/nm-utils.c
4620 src/dhcp-manager/nm-dhcp-manager.c
4621 src/nm-activation-request.c
4624 src/nm-properties-changed-signal.c
4625 src/ppp-manager/nm-pppd-plugin.c
4626 src/supplicant-manager/nm-supplicant-interface.c
4627 src/vpn-manager/nm-vpn-connection.c
4628 - consistently use nm-dbus-glib-types.h
4630 2008-03-29 Dan Williams <dcbw@redhat.com>
4632 * src/vpn-manager/nm-vpn-connection.c
4633 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4636 * src/nm-activation-request.c
4637 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4640 2008-03-29 Dan Williams <dcbw@redhat.com>
4642 * libnm-glib/nm-device-802-11-wireless.c
4643 - (access_point_added_proxy): create new APs if not found
4645 2008-03-29 Dan Williams <dcbw@redhat.com>
4647 * libnm-glib/nm-client.c
4648 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4651 2008-03-29 Dan Williams <dcbw@redhat.com>
4653 * system-settings/plugins/ifcfg-fedora/parser.c
4654 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4655 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4657 2008-03-29 Dan Williams <dcbw@redhat.com>
4659 * system-settings/plugins/ifcfg-fedora/parser.c
4660 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4662 2008-03-27 Dan Williams <dcbw@redhat.com>
4665 - (nm_object_queue_notify): don't notify multiple times for the same
4668 * nm-object-private.h
4669 - (handle_ptr_array_return): return NULL if the given array is NULL or
4670 if it has zero elements
4673 - (finalize): use g_ptr_array_foreach() when freeing domains
4674 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4676 * nm-active-connection.c
4677 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4679 * nm-device-802-11-wireless.c
4680 nm-device-802-11-wireless.h
4681 - (nm_device_802_11_wireless_get_access_points): return const; use
4682 handle_ptr_array_return()
4685 - (nm_object_array_demarshal): always create an array, even of length
4686 zero, to distinguish between "NM returned no items" and "haven't
4690 - (dispose): free active connections too
4691 - (proxy_name_owner_changed): free active connections too when NM goes
4693 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4694 - (nm_client_get_active_connections): use handle_ptr_array_return()
4696 2008-03-26 Dan Williams <dcbw@redhat.com>
4698 Rework VPN connection handling for a more consistent D-Bus API. The
4699 VPNManager object has been removed, and active VPN connections are now the
4700 same as any other active connection. The Manager object's ActivateConnection
4701 and DeactivateConnection methods are used to start and stop a VPN connection,
4702 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4703 When activating a VPN connection, pass the path of the active connection
4704 to which the VPN connection is tied in the 'specific_object' argument.
4706 Consequently, the libnm-glib API has been reworked to match this arrangement,
4707 with the VPNManager object removed, and the NMVPNConnection objects now
4708 being subclasses of NMActiveConnection.
4710 2008-03-25 Dan Williams <dcbw@redhat.com>
4712 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4714 * initscript/Arch/networkmanager.in
4715 initscript/Arch/networkmanager-dispatcher.in
4716 - Updates for Arch Linux (gnome.org #523701)
4718 2008-03-25 Dan Williams <dcbw@redhat.com>
4720 * libnm-glib/nm-ip4-config.c
4721 libnm-glib/nm-active-connection.c
4722 libnm-glib/nm-access-point.c
4723 - Use nm_object_queue_notify() instead of g_object_notify()
4725 * libnm-glib/nm-device.c
4726 - (demarshal_ip4_config): distinguish between successful but missing
4727 ip4-config request, and unsuccessful and missing ip4-config request
4728 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4730 - Use nm_object_queue_notify() instead of g_object_notify()
4732 * libnm-glib/nm-device-802-11-wireless.c
4733 - (demarshal_active_ap): distinguish between successfull but missing
4734 active-ap request, and unsuccessful and missing active-ap request
4735 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4737 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4738 for the NMClient to notify the device that wireless is disabled,
4739 and therefore to clear the AP list and active AP
4740 - Use nm_object_queue_notify() instead of g_object_notify()
4742 * libnm-glib/nm-client.c
4743 - (poke_wireless_devices_with_rf_status): new function
4744 - (update_wireless_status): notify wireless devices of the rfkill status
4745 so they can clean up if needed
4746 - Use nm_object_queue_notify() instead of g_object_notify()
4748 2008-03-25 Dan Williams <dcbw@redhat.com>
4750 * libnm-glib/nm-object.c
4751 libnm-glib/nm-object-private.h
4752 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4753 signals to an idle handler
4754 - (nm_object_get_property): add a timeout to the D-Bus method call
4756 2008-03-25 Dan Williams <dcbw@redhat.com>
4758 * introspection/nm-device-cdma.xml
4759 introspection/nm-device-gsm.xml
4760 introspection/Makefile.am
4761 introspection/all.xml
4762 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4764 * src/nm-gsm-device.h
4766 src/nm-cdma-device.h
4767 src/nm-cdma-device.c
4769 - Implement PropertiesChanged signals
4771 * libnm-glib/nm-cdma-device.c
4772 libnm-glib/nm-cdma-device.c
4773 - Attach to PropertiesChanged signals
4775 2008-03-24 Dan Williams <dcbw@redhat.com>
4777 * libnm-glib/nm-client.c
4778 - (client_device_added_proxy): add new devices to the internal device
4779 list so they appear to clients
4781 2008-03-24 Dan Williams <dcbw@redhat.com>
4783 Massive fixup of libnm-glib to:
4784 a) have all objects (with the exception of VPN) cache their properties and
4785 update them asynchronously on PropertiesChanged signals from NM
4786 b) return internal const data for most attributes/properties instead of
4787 allocated values that the caller must free
4788 c) cache wrapped objects such that a given D-Bus path will always map to the
4789 same GObject returned by libnm-glib
4790 d) remove a few signals and move them to GObject property notifications
4791 e) match recent NM D-Bus API changes for activation/deactivation
4792 f) remove some private functions from libnm-glib headers
4794 2008-03-20 Dan Williams <dcbw@redhat.com>
4797 - (nm_manager_update_state, manager_device_state_changed,
4798 nm_manager_activate_device, connection_added_default_handler,
4799 impl_manager_activate_connection, impl_manager_deactivate_connection):
4800 queue PropertyChanged singals when the active connections change
4802 2008-03-20 Dan Williams <dcbw@redhat.com>
4804 * introspection/nm-manager.xml
4805 introspection/nm-manager-client.xml
4806 - (ActivateConnection): return the object path of the active connection
4808 - (GetActiveConnections): remove
4809 - (DeactivateConnection): new function; deactivate a currently active
4811 - Add an ActiveConnections property which returns an array of
4812 active connection object paths
4814 * introspection/nm-device.xml
4815 - (Deactivate): remove
4817 * introspection/all.xml
4818 - Add ActiveConnection introspection
4820 * introspection/nm-active-connection.xml
4821 - Add the ActiveConnection object
4823 * include/NetworkManager.h
4824 - Add the Connection.Active D-Bus interface
4826 * src/nm-device-interface.c
4827 - (impl_device_deactivate): remove
4829 * src/nm-activation-request.c
4830 src/nm-activation-request.c
4832 - Implement the Connection.Active D-Bus interface
4835 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4836 - (nm_manager_activate_device): return the active connection path
4837 - (connection_added_default_handler, impl_manager_activate_connection):
4838 return the active connection to the caller
4839 - (add_one_connection_element, impl_manager_get_active_connections):
4841 - (impl_manager_deactivate_connection): new function; deactivate an
4844 * libnm-glib/nm-device.c
4845 libnm-glib/nm-device.h
4846 - Remove Deactivate() function
4848 2008-03-19 Dan Williams <dcbw@redhat.com>
4850 * introspection/nm-manager.xml
4851 introspection/nm-manager-client.xml
4852 - Rename the ActivateDevice method to ActivateConnection to better
4853 reflect it's usage; it's arguments get reordered a bit too
4854 - Convert GetActiveConnections method return from a struct to a dict
4856 * include/NetworkManager.h
4857 - Define the dict keys for return value of GetActiveConnections
4860 - impl_manager_activate_device -> impl_manager_activate_connection
4861 - (add_one_connection_element): return a populated hash table, not
4864 * libnm-glib/nm-client.c
4865 libnm-glib/nm-client.h
4866 - nm_client_activate_device -> nm_client_activate_connection
4867 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4868 - (nm_client_get_active_connections): return a GSList of GHashTables,
4869 instead of the custom structures. Each element of the returned list
4870 must be freed with nm_client_free_active_connections_element()
4872 2008-03-18 Dan Williams <dcbw@redhat.com>
4874 * system-settings/plugins/ifcfg-fedora/parser.c
4875 system-settings/plugins/ifcfg-fedora/parser.h
4876 system-settings/plugins/ifcfg-fedora/plugin.c
4877 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4878 profiles. DNS servers and searches must now be stored in the ifcfg
4881 2008-03-18 Tambet Ingo <tambet@gmail.com>
4883 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4884 print out username and password, it's supposed to be a secret.
4886 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4887 request and set the device state accordingly.
4889 2008-03-18 Tambet Ingo <tambet@gmail.com>
4891 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4893 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4895 2008-03-18 Dan Williams <dcbw@redhat.com>
4897 * src/vpn-manager/nm-vpn-connection.c
4898 - (get_secrets_cb): handle new GetSecrets return format
4900 2008-03-18 Dan Williams <dcbw@redhat.com>
4902 Adapt system settings service for split 802.1x.
4904 * system-settings/src/nm-system-config-interface.h
4905 - clarify return value of get_secrets()
4907 * system-settings/src/dbus-settings.c
4908 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4909 - (check_for_secrets): check if there actually secrets returned by a
4911 - (exported_connection_get_secrets): just return the plugin-returned
4912 hash of settings' secrets if it looks valid
4914 * system-settings/plugins/ifcfg-fedora/plugin.c
4915 - (get_secrets): add split secrets with correct format to reply hash
4917 * system-settings/plugins/ifcfg-fedora/parser.c
4918 system-settings/plugins/ifcfg-fedora/parser.h
4919 - (copy_one_cdata_secret, connection_data_copy_secrets,
4920 connection_data_free, connection_data_add): keep secrets for
4921 different settings in different hashes
4923 2008-03-17 Tambet Ingo <tambet@gmail.com>
4925 Clean up activating device deactivation.
4927 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4928 should be done whether the device activation gets cancelled or the device
4929 is just getting deactivated.
4930 (nm_device_activation_cancel): Remove.
4931 (nm_device_deactivate_quickly): Handle the case where device is activating.
4933 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4934 It does the exact same thing as real_deactivate_quickly().
4936 2008-03-17 Dan Williams <dcbw@redhat.com>
4938 Split the 802.1x bits out of the wireless-security setting so they are
4939 generalized enough for wired 802.1x to use too.
4941 * introspection/nm-exported-connection.xml
4942 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4943 of just a hash of the secrets for one setting
4945 * libnm-util/nm-setting-wireless-security.c
4946 libnm-util/nm-setting-wireless-security.h
4947 - Remove 802.1x-specific stuff
4948 - Added leap-username and leap-password properties for old-school LEAP
4952 - (connection_secrets_updated_cb): take a list of updated settings names,
4955 * src/supplicant-manager/nm-supplicant-config.c
4956 src/supplicant-manager/nm-supplicant-config.h
4957 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4958 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4959 to nm_supplicant_config_add_setting_8021x()
4960 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4961 the supplicant config
4963 * src/nm-device-802-11-wireless.c
4964 - (build_supplicant_config): pass in the 802.1x setting too, if any
4965 - (real_connection_secrets_updated): take a list of updated settings
4968 * src/nm-device-802-3-ethernet.c
4969 src/nm-cdma-device.c
4971 - (real_connection_secrets_updated_cb): take a list of updated settings
4974 * src/nm-activation-request.c
4975 src/nm-activation-request.h
4976 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4977 now passes a list of updated settings names, not just one
4978 - (update_one_setting): new function; handle one updated setting
4979 - (get_secrets_cb): handle multiple settings returned from the
4980 settings service; have to be careful of ordering here as there are
4981 some dependencies between settings (ex. wireless-security and 802.1x
4984 * src/marshallers/nm-marshal.list
4985 - new marshaller for connection-secrets-updated signal
4987 * libnm-util/nm-setting-8021x.c
4988 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4990 - (verify): a valid 'eap' property is now required
4992 * libnm-util/nm-connection.c
4993 - (register_default_settings): add priorities to settings; there are
4994 some dependencies between settings, and during the need_secrets
4995 calls this priority needs to be respected. For example, only the
4996 wireless-security setting knows whether or not the connection is
4997 going to use 802.1x or now, so it must be asked for secrets before
4998 any existing 802.1x setting is
4999 - (nm_connection_lookup_setting_type): expose
5001 * libnm-util/nm-setting-wireless.c
5002 - (verify): should verify even if all_settings is NULL; otherwise won't
5003 catch the case where there is missing security
5005 * libnm-util/nm-setting-wireless-security.c
5006 - Remove everything to do with 802.1x
5007 - Add old-school LEAP specific properties for username and password
5008 - (need_secrets): rework LEAP secrets checking
5009 - (verify): rework for LEAP and 802.1x verification
5011 2008-03-17 Dan Williams <dcbw@redhat.com>
5013 * src/NetworkManagerPolicy.c
5014 - (auto_activate_device): always remove the current activation check
5015 from the pending activation list, otherwise when the policy gets
5016 destroyed on NM exit it will attempt to free the already freed
5019 2008-03-14 Tambet Ingo <tambet@gmail.com>
5021 * src/backends/NetworkManagerSlackware.c
5022 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5024 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5026 2008-03-14 Dan Williams <dcbw@redhat.com>
5029 - (nm_device_interface_get_iface): g_object_get() will return an
5030 allocated value, so this function must not return const
5031 - (nm_device_interface_activate): free returned iface
5033 2008-03-14 Tambet Ingo <tambet@gmail.com>
5035 * libnm-util/Makefile.am: Add new files to build.
5037 * libnm-util/nm-connection.c: Register NMSetting8021x.
5039 * libnm-util/nm-setting-8021x.c
5040 * libnm-util/nm-setting-8021x.h: Implement.
5042 2008-03-14 Tambet Ingo <tambet@gmail.com>
5044 * libnm-util/Makefile.am: Add new files to build.
5046 * libnm-util/nm-connection.c: Register NMSetting8021x.
5048 * libnm-util/nm-setting-8021x.c
5049 * libnm-util/nm-setting-8021x.h: Implement.
5051 2008-03-14 Tambet Ingo <tambet@gmail.com>
5053 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5056 2008-03-14 Dan Williams <dcbw@redhat.com>
5058 * include/wireless-helper.h
5060 - One place for all the junk needed for #including wireless.h
5063 src/NetworkManagerAP.c
5066 libnm-util/nm-utils.c
5067 libnm-util/nm-setting-wireless.c
5068 libnm-glib/nm-device-802-11-wireless.c
5069 libnm-glib/nm-access-point.c
5070 libnm-glib/libnm-glib-test.c
5071 - include wireless-helper.h, not iwlib.h
5074 - Don't need libiw really, just need to check for wireless.h
5076 * src/kernel-types.h
5077 - Remove; used types moved into wpa.c
5079 * src/nm-device-802-11-wireless.c
5080 - (nm_device_802_11_wireless_update_signal_strength,
5081 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5082 nm_device_802_11_wireless_set_mode,
5083 nm_device_802_11_wireless_get_frequency,
5084 nm_device_802_11_wireless_get_ssid,
5085 nm_device_802_11_wireless_set_ssid,
5086 nm_device_802_11_wireless_get_bitrate,
5087 nm_device_802_11_wireless_get_bssid,
5088 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5089 instead of iwlib functions
5091 2008-03-14 Dan Williams <dcbw@redhat.com>
5093 * src/ppp-manager/nm-ppp-manager.c
5094 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5095 should only take the DBusGMethodInvocation argument, not user/pass
5096 too. With dbus-glib, async functions only take 2 C arguments since
5097 the real dbus method arguments get passed back with
5098 dbus_g_method_return()
5100 2008-03-13 Tambet Ingo <tambet@gmail.com>
5102 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5103 Adapt the changes of NMSettingIP4Config.
5105 2008-03-13 Dan Williams <dcbw@redhat.com>
5107 * src/NetworkManagerUtils.c
5108 src/NetworkManagerUtils.h
5109 - (nm_ether_ntop): replacement for iw_ether_ntop()
5111 * src/NetworkManagerAP.c
5112 src/nm-device-802-11-wireless.c
5113 src/nm-device-802-3-ethernet.c
5114 - s/iw_ether_ntop/nm_ether_ntop/g
5116 2008-03-13 Dan Williams <dcbw@redhat.com>
5118 * src/NetworkManagerPolicy.c
5119 - (update_routing_and_dns): never set the default route through an
5120 IPv4LL addressed device
5122 2008-03-13 Dan Williams <dcbw@redhat.com>
5124 * NetworkManagerUtils.c
5125 NetworkManagerUtils.h
5126 - Remove NMSock stuff
5127 - Remove the completion stuff
5132 NetworkManagerSystem.c
5134 nm-device-802-11-wireless.c
5135 nm-device-802-3-ethernet.c
5136 - Remove NMSock and completion stuff
5137 - Remove nm_ioctl_info()
5139 2008-03-12 Dan Williams <dcbw@redhat.com>
5142 - (merge_ip4_config): avoid duplicates
5144 2008-03-12 Dan Williams <dcbw@redhat.com>
5146 * libnm-util/nm-setting-ip4-config.c
5147 libnm-util/nm-setting-ip4-config.h
5148 - Remove 'manual' and 'autoip' properties
5149 - Add 'method' property
5150 - (verify): fix verification with 'method'
5151 - (finalize): free 'method'
5152 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5156 - (real_act_stage3_ip_config_start): check IP4Config method
5157 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5159 - (merge_ip4_config): IP settings are valid with DHCP too
5160 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5161 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5163 * src/nm-device-802-11-wireless.c
5164 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5165 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5168 * system-settings/plugins/ifcfg-fedora/parser.c
5169 system-settings/plugins/ifcfg-suse/parser.c
5170 - (make_ip4_setting): fix up for 'method'
5172 2008-03-12 Dan Williams <dcbw@redhat.com>
5174 * system-settings/plugins/ifcfg-fedora/parser.c
5175 system-settings/plugins/ifcfg-fedora/parser.h
5176 - (get_ifcfg_name): ignore more file suffixes
5177 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5179 2008-03-12 Dan Williams <dcbw@redhat.com>
5182 - Bring in the bits of gnome-common we actually use (all 15 lines)
5184 2008-03-12 Dan Williams <dcbw@redhat.com>
5186 * system-settings/plugins/ifcfg-fedora/plugin.c
5187 - (write_auto_wired_connection): new function; write out an auto
5188 wired connection file since the applet isn't doing it any more
5189 - (reload_all_connections): write out the auto wired connection file
5190 if there aren't any wired connections already
5191 - (init): don't leak a GError
5193 2008-03-12 Dan Williams <dcbw@redhat.com>
5195 * src/nm-device-interface.c
5196 - (nm_device_interface_activate): print the ID of the connection
5197 that's about to be activated
5199 2008-03-12 Dan Williams <dcbw@redhat.com>
5201 Harmonize the 802.11 bitrate API
5203 * introspection/nm-access-point.xml
5204 - 'Rate' -> 'MaxBitrate'; clarify units
5206 * introspection/nm-device-802-11-wireless.xml
5207 - Clarify units of 'Bitrate'
5209 * src/NetworkManagerAP.c
5210 src/NetworkManagerAP.h
5211 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5212 property to 'max-bitrate'
5213 - (foreach_property_cb): convert rate to Kb/s
5215 * src/nm-device-802-11-wireless.c
5216 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5218 * libnm-glib/nm-access-point.c
5219 libnm-glib/nm-access-point.h
5220 - 'rate' -> 'max-bitrate'
5223 libnm-glib/libnm-glib-test.c
5224 - Fix up for these changes
5226 2008-03-12 Dan Williams <dcbw@redhat.com>
5229 - (nm_device_set_ip4_config): don't send property notifications when
5230 the ip4 config is set to NULL; it causes a PropertyChanged signal
5231 which dbus-glib can't parse because the value is NULL, which isn't
5232 a legal object path. Setting the IP4 config to NULL is only
5233 valid when deactivating a device anyway, so the device state change
5234 will alert listeners that the ip4 config is invalid.
5236 2008-03-12 Dan Williams <dcbw@redhat.com>
5238 * src/nm-properties-changed-signal.c
5239 - (add_to_string): better handling of NULL objects
5241 2008-03-12 Dan Williams <dcbw@redhat.com>
5243 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5244 convert the libnm-glib NMDevice8023Ethernet to cached properties
5246 * introspection/nm-device-802-3-ethernet.xml
5247 - New 'Carrier' property
5248 - New 'PropertiesChanged' signal
5250 * introspection/nm-device.xml
5251 - Remove 'Carrier' property
5252 - Remove 'CarrierChanged' signal
5254 * src/nm-device-interface.c
5255 src/nm-device-interface.h
5256 - (nm_device_interface_init): remove 'carrier' property and
5257 'carrier-changed' signal
5261 - (nm_device_get_carrier, nm_device_set_carrier): remove
5262 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5263 the link here; wired device will handle that
5264 - (handle_dhcp_lease_change): don't bother updating link here
5265 - (get_property, nm_device_class_init): remove carrier property
5267 * src/nm-device-802-11-wireless.c
5268 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5269 real_update_link(); wireless devices don't use carrier at all
5270 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5271 supplicant_iface_connection_state_cb_handler,
5272 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5274 * src/nm-device-802-3-ethernet.c
5275 src/nm-device-802-3-ethernet.h
5276 - (nm_device_802_3_ethernet_carrier_on,
5277 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5278 instead of nm_device_set_carrier()
5279 - (device_state_changed): update link from sysfs on activation;
5280 replaces real_update_link()
5281 - (real_update_link): remove, replaced by device_state_changed()
5282 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5283 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5284 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5285 new get_carrier function
5286 - (get_property): add 'carrier' property
5287 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5288 hook into property-changed signal helper
5290 * src/NetworkManagerPolicy.c
5291 - (device_carrier_changed): will only ever be called with a wired device
5292 - (device_added): only hook up to carrier-changed for wired devices
5294 * libnm-glib/nm-device.c
5295 libnm-glib/nm-device.h
5296 - (constructor, nm_device_class_init): remove carrier-changed signal
5297 - (device_carrier_changed_proxy): remove; unused
5298 - (nm_device_get_carrier): remove; carrier a property of wired devices
5300 * libnm-glib/nm-device-802-3-ethernet.c
5301 libnm-glib/nm-device-802-3-ethernet.h
5302 - Convert to cached properties like AP and Wireless objects
5303 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5304 instead of a 'char *', return value should not be freed
5305 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5306 - (constructor): hook into properties-changed helper
5307 - (set_property, get_property): new functions
5308 - (nm_device_802_3_ethernet_class_init): export GObject properties
5311 - (detail_device): strdup the wired hardware address too since it's
5314 * libnm-glib/libnm-glib-test.c
5315 - (dump_wired): strdup the wired hardware address too since it's
5318 2008-03-12 Dan Williams <dcbw@redhat.com>
5320 * libnm-util/nm-setting-ip4-config.c
5321 libnm-util/nm-setting-ip4-config.h
5322 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5323 the 'autoip' property from the spec
5325 2008-03-11 Dan Williams <dcbw@redhat.com>
5327 * src/backends/NetworkManagerGeneric.c
5328 src/backends/NetworkManagerGeneric.h
5329 - (nm_generic_device_get_use_dhcp): remove
5331 2008-03-11 Dan Williams <dcbw@redhat.com>
5334 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5335 already in nm_device_set_ip4_config()
5336 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5337 due to a DHCP rebind fails
5338 - (nm_device_set_ip4_config): send property notifications when the
5340 - (get_property): only report IP4Config property during valid states
5342 * src/NetworkManagerPolicy.c
5343 - (update_routing_and_dns): ignore devices that don't have an ip4
5344 config; add parameter 'force_update' to allow callers to specify
5345 that changes should be made even if the default device doesn't change
5346 - (device_ip4_config_changed): update DNS and routing when the device's
5347 IP4Config changes, like for DHCP updates
5348 - (device_added): listen for ip4-config property changes
5350 2008-03-11 Dan Williams <dcbw@redhat.com>
5352 Fix address handling as a result of DHCP rebind/renew/reboot.
5354 * src/NetworkManagerSystem.c
5355 - (check_one_address): delete an address if it doesn't match a given
5356 one for the same interface
5357 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5358 be smarter about flushing addresses (only flush ones that don't
5359 match the one we're about to apply)
5361 * src/backends/NetworkManagerDebian.c
5362 src/backends/NetworkManagerSuSE.c
5363 src/backends/NetworkManagerArch.c
5364 src/backends/NetworkManagerSlackware.c
5365 src/backends/NetworkManagerRedHat.c
5366 src/backends/NetworkManagerPaldo.c
5367 src/backends/NetworkManagerFrugalware.c
5368 src/backends/NetworkManagerGentoo.c
5369 - (nm_system_delete_default_route): remove
5371 * src/backends/NetworkManagerGeneric.c
5372 src/backends/NetworkManagerGeneric.h
5373 - (nm_generic_enable_loopback): fix the loopback device label
5374 - (nm_generic_delete_default_route): remove; no longer used
5376 2008-03-11 Dan Williams <dcbw@redhat.com>
5378 * src/nm-device-interface.h
5379 - Delimit property name words with '-', otherwise g_object_notify()
5380 doesn't work the way we expect
5382 2008-03-11 Tambet Ingo <tambet@gmail.com>
5384 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5386 2008-03-11 Dan Williams <dcbw@redhat.com>
5388 * src/NetworkManagerPolicy.c
5389 - (update_routing_and_dns): don't change anything if the default device
5390 hasn't changed; print something out when switching the default route
5393 2008-03-10 Tambet Ingo <tambet@gmail.com>
5397 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5398 setting. Use "nic-$eth".
5400 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5401 the device is activating here to fix a race condition.
5403 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5405 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5406 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5407 (nm_ppp_manager_start): Take activation request instead of connection, we might
5408 need it for asking secrets.
5409 (nm_ppp_manager_update_secrets): Implement.
5411 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5412 ppp manager start. It might be needed for asking secrets.
5414 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5415 (ppp_state_changed): Handle pppd daemon disappearing.
5416 (pppoe_stage2_config): Send activation request to ppp manager start.
5418 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5420 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5421 username and password.
5423 2008-03-10 Dan Williams <dcbw@redhat.com>
5426 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5427 response to a DHCP lease change
5428 - (dhcp_state_changed): handle DHCP lease changes while activated
5429 - (nm_device_set_ip4_config): remove a previously set named config
5430 when setting an ip4 config
5432 2008-03-10 Dan Williams <dcbw@redhat.com>
5434 * src/nm-serial-device.c
5435 - (nm_serial_device_send_command): report errno on error
5436 - (get_reply_got_data): limit the size of the overall buffer
5437 - (wait_for_reply_info_destroy): destroy result string
5438 - (wait_for_reply_got_data): append received data to an overall buffer
5439 until timeout, filled buffer, or error instead of keeping a per-call
5440 buffer. Some devices send data slowly enough that this function
5441 gets called multiple times for the same command stream.
5442 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5443 wait_for_reply_got_data() here
5445 2008-03-10 Dan Williams <dcbw@redhat.com>
5447 * src/nm-cdma-device.c
5448 - (do_dial, init_modem): handle errors from
5449 nm_serial_device_send_command_string()
5451 * src/nm-gsm-device.c
5452 - (do_dial, manual_registration, automatic_registration_get_network,
5453 automatic_registration, enter_pin, check_pin, init_modem): handle
5454 errors from nm_serial_device_send_command_string()
5456 2008-03-10 Dan Williams <dcbw@redhat.com>
5458 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5460 * src/named-manager/nm-named-manager.c
5461 - (compute_searches): prefer searches before domains
5462 - (compute_domain): new function
5463 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5464 - (merge_one_ip4_config): if there are no searches in the source config,
5465 merge domains of the source config into the target config
5466 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5468 2008-03-10 Dan Williams <dcbw@redhat.com>
5470 * src/nm-serial-device.c
5471 - (get_reply_got_data): clean up indentation, shrink serial buffer
5472 - (wait_for_reply_got_data): try to handle slower serial devices where
5473 the reply is broken up into multiple reads by concatenating replies
5474 together until either an error is received or the search string is
5477 2008-03-10 Dan Williams <dcbw@redhat.com>
5480 - (nm_device_bring_down): deactivate the device if it's activating too,
5481 not just if it's already activated. This makes sure that everything
5482 from an association attempt is cleaned up (like DHCP for example)
5484 2008-03-10 Dan Williams <dcbw@redhat.com>
5486 * src/nm-serial-device.c
5487 - (config_fd): report error from TCSETA
5488 - (nm_serial_device_open): fail when config_fd() fails
5490 2008-03-10 Dan Williams <dcbw@redhat.com>
5492 * src/nm-ip4-config.c
5493 - (nm_ip4_config_init): allocate searches list
5494 - (finalize): free searches list
5496 2008-03-09 Dan Williams <dcbw@redhat.com>
5498 Patch from Bas Zoetekouw <bas@debian.org>
5500 * src/dhcp-manager/nm-dhcp-manager.c
5501 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5503 2008-03-09 Dan Williams <dcbw@redhat.com>
5505 Patch from Bas Zoetekouw <bas@debian.org>
5507 * src/nm-ip4-config.c
5509 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5510 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5511 domains. 'searches' is the correct way to store multiple search
5512 domains, whereas 'domains' is really just supposed to store one
5513 domain. Some sites abuse the DHCP 'domain-name' option to push
5514 search domains to the client.
5515 - (nm_ip4_config_add_domain): group with related functions (my patch)
5517 2008-03-09 Dan Williams <dcbw@redhat.com>
5519 * src/dhcp-manager/nm-dhcp-manager.c
5520 - (dhclient_run): send interface-specific config files to dhclient
5522 2008-03-07 Dan Williams <dcbw@redhat.com>
5524 * system-settings/plugins/ifcfg-fedora/parser.c
5525 - (is_wireless_device): new function; test a device for wireless
5527 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5528 test the device for wireless extensions to determine the type
5530 2008-03-07 Dan Williams <dcbw@redhat.com>
5532 Change manager's StateChange signal to StateChanged for consistency.
5534 * introspection/nm-manager.xml
5535 - Add 'StateChanged' signal
5536 - Move 'StateChange' down to the deprecated section
5538 * src/nm-hal-manager.c
5539 - (nm_hal_manager_new): connect to 'state-changed' instead
5541 * src/NetworkManagerPolicy.c
5542 - (nm_policy_new): connect to 'state-changed' instead
5546 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5547 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5550 * libnm-glib/nm-client.c
5551 libnm-glib/nm-client.h
5552 - (constructor, nm_client_class_init, client_state_changed_proxy):
5553 track and proxy 'state-changed' instead of 'state-change'
5555 2008-03-07 Dan Williams <dcbw@redhat.com>
5557 First pass of multiple active device support. Expect bugs.
5559 * src/nm-ip4-config.c
5561 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5562 there are better ways to do this in the named manager
5566 - (nm_device_can_activate): return whether the device can activate a
5567 connection right now; taking into account things like carrier state
5569 - (nm_device_get_best_auto_connection): renamed from
5570 nm_device_get_best_connection
5571 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5572 device subclasses themselves, so that each device can override the
5573 MTU from it's NMSetting subclass if needed
5574 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5575 in NetworkManagerSystem.c, not here
5577 * src/named-manager/nm-named-manager.c
5578 src/named-manager/nm-named-manager.h
5579 - (nm_named_manager_name_owner_changed,
5580 nm_named_manager_dbus_connection_changed): fix for changes to
5581 rewrite_resolv_conf()
5582 - (compute_nameservers): don't need the NMNamedManager at all, remove
5584 - (merge_one_ip4_config): new function; merge ip4 configs together
5585 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5586 ip4 configs; the VPN config takes precedence, then the best
5587 device config, then the rest of the configs
5588 - (get_domain_for_config): take the NMNamedManager as an argument
5589 to check whether the config is the VPN config
5590 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5591 attribute from ip4 configs
5592 - (add_all_ip4_configs_to_named): add all the configs in priority order
5593 - (remove_ip4_config_from_named): fix for changes to
5594 get_domain_for_config()
5595 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5596 based on its type; callers must pass in the type now
5597 - (get_last_default_domain): remove, unused
5598 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5600 * src/nm-device-802-11-wireless.c
5601 - (real_can_activate): new function
5602 - (real_get_best_auto_connection): renamed from real_get_best_connection
5603 - (real_act_stage4_get_ip4_config): handle MTU override
5605 * src/nm-device-802-3-ethernet.c
5606 - (real_can_activate): new function
5607 - (real_get_best_auto_connection): renamed from real_get_best_connection
5608 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5610 * src/vpn-manager/nm-vpn-connection.c
5611 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5612 attribute on the ip4 config
5614 * src/NetworkManagerPolicy.c
5615 - (nm_policy_auto_get_best_device): remove
5616 - (nm_policy_device_change_check): remove
5617 - (update_default_route): new function; set the default route via
5618 the specified device
5619 - (get_device_priority): new function; return the priority number of
5620 a device type WRT which one should have the default route. Order is
5621 (highest to lowest) wired, wireless, GSM, CDMA.
5622 - (update_routing_and_dns): new function; determine which device should
5623 have the default route, then update the routing table and DNS
5624 - (maybe_auto_activate_device): new function; if a device is now
5625 available for activation, find out what connection it would like to
5627 - (schedule_activate_check): new function; if a device can be activated
5628 now, schedule the activation. Each device may have only one
5629 pending activation at a given time.
5630 - (device_state_changed): if activation was canceled, try again,
5631 possibly with another connection; if the device was activated,
5632 update routing and DNS; if the device was deactivated, try again
5633 with another connection
5634 - (device_carrier_changed): if there is no carrier, deactivate the
5635 device; otherwise schedule an activation check for the device
5636 - (wireless_networks_changed): schedule an activation check for the
5638 - (device_added): keep track of the signal handler IDs so they can
5639 be removed when the device goes away
5640 - (device_removed): remove any signal handlers that might be attached
5641 to the device; update routing and DNS
5642 - (schedule_activate_all): new function
5643 - (connections_added, connection_added, connection_updated): when
5644 connections change, schedule all devices for an activation check
5645 - (connection_removed): when a device is deactivated because its
5646 connection was removed, schedule another activation check for it
5647 - (nm_policy_destroy): destroy pending activations and disconnect
5648 all device signal handlers
5651 - (nm_manager_activate_device): if the device was already actived,
5653 - (deactivate_old_device): remove
5654 - (connection_added_default_handler, impl_manager_activate_device):
5655 don't deactivate other devices when activating this one
5657 * src/backends/NetworkManagerGentoo.c
5658 src/backends/NetworkManagerFrugalware.c
5659 src/backends/NetworkManagerPaldo.c
5660 src/backends/NetworkManagerRedHat.c
5661 src/backends/NetworkManagerSlackware.c
5662 src/backends/NetworkManagerArch.c
5663 src/backends/NetworkManagerSuSE.c
5664 src/backends/NetworkManagerDebian.c
5665 - (nm_system_get_mtu): remove; MTU should be provided through the
5666 distro's system settings service plugin instead
5667 - (nm_system_device_add_default_route_via_device): remove
5668 - (nm_system_device_add_default_route_via_device_with_iface): remove
5669 - (nm_system_device_replace_default_route): new function; call
5670 generic implementation
5672 * src/backends/NetworkManagerGeneric.c
5673 src/backends/NetworkManagerGeneric.h
5674 - (nm_generic_device_add_default_route_via_device,
5675 nm_generic_device_add_default_route_via_device_with_iface): remove
5676 - (nm_generic_device_replace_default_route): replace the default route
5677 with the given route via some gateway
5679 * src/NetworkManagerSystem.c
5680 src/NetworkManagerSystem.h
5681 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5682 to routing and DNS; but set the MTU here
5683 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5684 ip_iface of the active device; use the standard MTU setting function
5685 - (nm_system_set_mtu): remove
5686 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5688 2008-03-07 Tambet Ingo <tambet@gmail.com>
5690 Rework the interaction between ppp manager and pppd plugin. Register a well
5691 known DBUS service in manager and let the plugin call it's methods instead
5692 of listening plugin's signals.
5694 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5695 of emitting signals.
5697 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5699 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5701 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5702 nm_ppp_manager_start().
5704 * introspection/nm-ppp-manager.xml: New file.
5706 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5707 the case correctly where driver is trying to send -1 for the speed, which gets
5708 casted to u16 and thus is always > 0.
5710 2008-03-07 Dan Williams <dcbw@redhat.com>
5712 * src/nm-hal-manager.c
5713 - (nm_get_device_driver_name): use net.originating_device first, fall
5714 back to physical device. HAL has deprecated physical_device.
5716 * libnm-glib/nm-device.c
5717 - (get_product_and_vendor): use net.originating_device first, fall
5718 back to physical device. HAL has deprecated physical_device.
5719 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5721 2008-03-07 Dan Williams <dcbw@redhat.com>
5724 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5725 last commit; fix that
5726 - (get_link_cache): print error string
5728 2008-03-07 Dan Williams <dcbw@redhat.com>
5731 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5732 don't need this hack any more (Benoit Boissinot)
5734 2008-03-06 Dan Williams <dcbw@redhat.com>
5737 - Die gnome-common, die
5739 2008-03-04 Dan Williams <dcbw@redhat.com>
5741 Patch from Michael Biebl <biebl@debian.org>
5743 * NetworkManager.pc.in
5744 - doesn't actually depend on dbus-1
5746 * libnm-util/nm-utils.h
5747 - remove unused #include <dbus/dbus.h>
5749 * libnm-glib/libnm_glib.pc.in
5750 - depends on glib and dbus-glib
5752 2008-03-02 Dan Williams <dcbw@redhat.com>
5754 * src/NetworkManagerPolicy.c
5755 - s/device_state_changed_idle_id/update_state_id/
5757 2008-03-02 Dan Williams <dcbw@redhat.com>
5761 src/nm-device-802-11-wireless.c
5762 src/nm-device-802-3-ethernet.c
5763 src/NetworkManagerPolicy.c
5764 - s/link_active/carrier
5765 - nm_device_set_active_link() -> nm_device_set_carrier()
5766 - nm_device_has_active_link() -> nm_device_get_carrier()
5768 2008-03-02 Dan Williams <dcbw@redhat.com>
5770 * system-settings/plugins/ifcfg-fedora/parser.c
5771 - (make_wireless_setting): fail connection creation on missing SSID
5773 2008-02-29 Dan Williams <dcbw@redhat.com>
5775 * src/NetworkManagerPolicy.c
5776 - (nm_policy_device_change_check): ensure that a previously active
5777 device with a system connection has a link before denying a switch
5778 to a user connection
5780 2008-02-29 Dan Williams <dcbw@redhat.com>
5782 * src/nm-device-802-11-wireless.c
5783 - (link_timeout_cb): try again if scanning; deactivate the device when
5784 activated if the link dies
5785 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5788 2008-02-29 Dan Williams <dcbw@redhat.com>
5790 * src/nm-device-802-11-wireless.c
5791 src/nm-device-802-11-wireless.h
5792 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5793 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5794 - (device_cleanup): reset the scan interval lower when the device
5796 - (can_scan): base decision mostly off device state, not supplicant
5797 interface state since the supplicant interface state isn't a
5798 great indicator of whether the device is active or not
5799 - (request_wireless_scan): clean up; schedule the next scan here
5800 - (schedule_scan): only back the scan interval off if a new scan
5801 actually gets scheduled; and make scan intervals tighter when the
5802 device is disconnected
5803 - (supplicant_iface_state_cb_handler): fold in the bits of
5804 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5806 - (activation_success_handler): reset scan interval to something
5809 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5811 reviewed by: Steev <steev@steev.net>
5814 * src/backends/NetworkManagerGentoo.c:
5815 (nm_system_restart_mdns_responder):
5816 Howl is no longer a supported mDNS provider
5818 2008-02-28 Tambet Ingo <tambet@gmail.com>
5820 Get rid of a bunch of unused distro specific functions.
5822 2008-02-28 Tambet Ingo <tambet@gmail.com>
5824 Implement suse plugin for system settings daemon.
5826 * system-settings/plugins/ifcfg-suse/*: Implement.
5828 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5831 * configure.in: Check (without failing) for gio.
5832 Create ifcfg-suse plugin's Makefile.
5834 2008-02-20 Dan Williams <dcbw@redhat.com>
5836 * libnm-util/nm-connection.c
5837 libnm-util/nm-connection.h
5838 - (nm_connection_compare): accept compare flags and pass them to the
5839 setting compare function
5841 * libnm-util/nm-setting.c
5842 libnm-util/nm-setting.h
5843 - (nm_setting_compare): accept compare flags; ignore properties that are
5846 * libnm-util/nm-setting-connection.c
5847 libnm-util/nm-setting-wireless.c
5848 libnm-util/nm-setting-ppp.c
5849 libnm-util/nm-setting-wired.c
5850 - Mark some setting properties as ignorable when doing a fuzzy compare
5853 - (device_activation_precheck): use exact compare
5855 2008-02-20 Dan Williams <dcbw@redhat.com>
5857 * src/NetworkManagerPolicy.c
5858 - (nm_policy_device_change_check): get scope off the connection, not
5859 using the manager helper
5863 - (get_scope_for_proxy): rename from get_type_for_proxy()
5864 - (connection_get_settings_cb): set scope and path on connection, not
5865 using GObject data items
5866 - (get_connection_for_proxy): don't need to return path, since that
5867 can be gotten from the connection
5868 - (get_connection_for_proxy): get path off the connection, not from
5870 - (connection_removed_cb, connection_updated_cb): don't need to get
5871 path from get_connection_for_proxy(); get scope off the connection
5872 instead of using GObject data items
5873 - (connection_added_default_handler, add_one_connection_element): use
5874 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5875 - (nm_manager_get_connection_dbus_path): remove
5876 - (nm_manager_get_connection_scope): remove
5878 2008-02-20 Dan Williams <dcbw@redhat.com>
5880 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5883 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5884 applet were having to hack this in anyway. Remove the 'path' stuff from
5885 NMExportedConnection
5887 * Internally rename NMConnectionType -> NMConnectionScope
5889 * Provide default implementations of the 'get_id' and 'get_settings' methods
5890 of NMExportedConnection
5892 2008-02-15 Dan Williams <dcbw@redhat.com>
5894 * src/nm-device-802-11-wireless.c
5895 - (device_cleanup): release the AP list here too so that the AP list
5896 doesn't survive across suspend/resume and up/down. There is some
5897 room for optimization, for example blow the list away when the card
5898 brought back up, but only if the device has only been down for a
5901 2008-02-15 Dan Williams <dcbw@redhat.com>
5903 * src/nm-hal-manager.c
5904 - (modem_device_creator): recognize new HAL modem capabilities
5906 2008-02-12 Dan Williams <dcbw@redhat.com>
5908 * system-settings/plugins/ifcfg-fedora/plugin.c
5909 - (watch_path): handle IN_DELETE_SELF too
5910 - (handle_connection_changed): notify when removing a connection
5911 - (stuff_changed): don't warn on unknown inotify watches; handle the
5912 case of a file moving out of the profile directory
5914 2008-02-12 Dan Williams <dcbw@redhat.com>
5916 * system-settings/plugins/ifcfg-fedora/parser.c
5917 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5919 2008-02-12 Dan Williams <dcbw@redhat.com>
5921 * libnm-util/nm-utils.c
5922 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5923 just any empty array
5925 2008-02-12 Dan Williams <dcbw@redhat.com>
5927 * system-settings/src/nm-system-config-interface.c
5928 system-settings/src/nm-system-config-interface.h
5929 - (load_connections): get_connections() should now return an allocated
5930 GSList that the system settings service will free
5932 * system-settings/plugins/ifcfg-fedora/plugin.c
5933 system-settings/plugins/ifcfg-fedora/parser.h
5934 system-settings/plugins/ifcfg-fedora/parser.c
5935 - Fix up inotify issues; handle keys-* files, handle new files appearing
5936 in the profile directory, handle resolv.conf file changes
5938 2008-02-10 Dan Williams <dcbw@redhat.com>
5940 * src/nm-device-802-3-ethernet.c
5941 - (real_bring_up): save the supplicant interface state signal id
5942 - (real_bring_down): disconnect from the supplicant interface state
5945 2008-02-07 Dan Williams <dcbw@redhat.com>
5947 * initscript/RedHat/NetworkManager.in
5948 initscript/RedHat/NetworkManagerDispatcher.in
5949 - Add new-style LSB init headers
5951 2008-02-07 Dan Williams <dcbw@redhat.com>
5953 * system-settings/src/dbus-settings.c
5954 system-settings/src/dbus-settings.h
5955 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5957 - (connection_settings_get_secrets): consolidate error returns into
5958 one place; use the new get_secrets() plugin interface function to
5959 get secrets from the plugin itself rather than using GObject data
5962 * system-settings/src/main.c
5963 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5964 load_connections): keep a private list of the plugin-returned
5965 connections, don't use the plugin's GSList
5967 * system-settings/plugins/ifcfg-fedora/plugin.c
5968 - (watch_path): watch the path, not the filename (duh)
5969 - (reload_all_connections): use the direct hash/equal functions; the
5970 ones for int aren't appropriate here
5971 - (get_secrets, system_config_interface_init): implement the
5972 get_secrets() function
5973 - (build_one_connection, find_connection_by_path): ifcfg file path is
5974 now in the connection's ConnectionData instead of being a GObject
5976 - (handle_profile_item_changed): ifcfg file path is now in the
5977 connection's ConnectionData instead of being a GObject data property;
5978 be sure to copy secrets over from the new connection to the existing
5979 connection when updating the connection's settings
5980 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5983 * system-settings/plugins/ifcfg-fedora/parser.c
5984 system-settings/plugins/ifcfg-fedora/parser.h
5985 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5986 connection_data_copy_secrets, connection_data_free,
5987 connection_data_add): new functions; connection data manipulation
5988 - (make_wireless_security_setting): stuff secrets into the
5989 connection data, not as GObject data items; make sure to close
5991 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5992 connection data to the connection
5994 2008-02-07 Dan Williams <dcbw@redhat.com>
5996 * system-settings/src/nm-system-config-interface.c
5997 system-settings/src/nm-system-config-interface.h
5998 - Add a get_secrets() interface function to retrieve secrets for a
5999 specific setting of a specific connection. Document the interface
6002 2008-02-07 Dan Williams <dcbw@redhat.com>
6004 * src/nm-device-802-11-wireless.c
6005 - (handle_auth_or_fail): new function; consolidate device activation
6006 failure check after a certain number of failures getting secrets
6007 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6008 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6009 the connection if secrets were requested more than a few times
6010 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6011 tries here; otherwise they are cleared before the IP configure
6012 timeout, which happens with open system WEP when key is wrong
6013 - (activation_success_handler): clear wireless secrets tries here too
6015 2008-02-07 Dan Williams <dcbw@redhat.com>
6017 * src/NetworkManagerPolicy.c
6018 - (connection_updated): clear invalid tag when connection gets updated
6019 to allow that connection to be tried again
6020 - (nm_policy_new): save signal ids so they can be disconnected when
6021 the policy is destroyed
6022 - (nm_policy_destroy): stop any in-progress state change idle handler,
6023 and disconnect all signals from the manager object so that none
6024 of the policy functions gets called after the policy is destroyed
6026 2008-02-06 Dan Williams <dcbw@redhat.com>
6029 - (finalize): remove devices a bit earlier; clean up system settings
6031 - (nm_manager_name_owner_changed): clean up system settings poke when
6032 the service appears, and try to restart it if it fails
6033 - (poke_system_settings_daemon_cb): try to get the system settings
6034 service started through D-Bus service activation
6035 - (initial_get_connections): start the system settings daemon if it's
6038 2008-02-05 Dan Williams <dcbw@redhat.com>
6040 * src/supplicant-manager/nm-supplicant-config.c
6041 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6042 broadcast networks too
6044 2008-02-04 Dan Williams <dcbw@redhat.com>
6046 * system-settings/plugins/ifcfg-fedora/parser.c
6047 - (make_wireless_security_setting): fix spelling; unencrypted networks
6048 need key_mgmt set too
6049 - (parser_parse_file): validate ifcfg file name and don't try to parse
6050 .bak files; ensure that an error is set whenever NULL gets returned
6052 2008-02-04 Dan Williams <dcbw@redhat.com>
6054 * system-settings/src/Makefile.am
6055 - Install D-Bus service activation file for the system settings
6058 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6059 - D-Bus service activation file for system settings service
6061 2008-02-04 Dan Williams <dcbw@redhat.com>
6063 * system-settings/src/main.c
6064 - (parse_config_file): parse a config file
6065 - (main): accept --config option and read plugins from config file
6067 2008-02-04 Dan Williams <dcbw@redhat.com>
6069 * system-settings/plugins/ifcfg-fedora/plugin.c
6070 - Change reported name to 'ifcfg-fedora'
6071 - Use IFCFG_PLUGIN_NAME
6073 * system-settings/plugins/ifcfg-fedora/plugin.c
6074 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6076 2008-02-04 Dan Williams <dcbw@redhat.com>
6078 * system-settings/plugins/ifcfg-fedora/parser.c
6079 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6080 - (make_connection_setting): use get_ifcfg_name()
6081 - (make_wireless_security_setting): handle shadow key files
6082 - (get_one_wep_key): treat empty string as NULL
6084 2008-02-04 Dan Williams <dcbw@redhat.com>
6086 * src/supplicant-manager/nm-supplicant-manager.c
6087 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6088 glib automatically reschedule
6089 - (nm_supplicant_manager_init): immediately try to start the supplicant
6090 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6093 2008-02-01 Dan Williams <dcbw@redhat.com>
6095 * src/NetworkManagerPolicy.c
6096 - (device_state_changed): schedule a change check when a device gets
6097 deactivated so something happens if you disconnect GSM/CDMA
6099 2008-01-31 Dan Williams <dcbw@redhat.com>
6101 * src/nm-device-802-11-wireless.h
6102 src/nm-device-802-11-wireless.c
6103 - (ap_list_get_ap_by_ssid, is_associated,
6104 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6105 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6106 - (nm_device_802_11_wireless_get_activation_ap): collapse
6107 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6110 2008-01-30 Dan Williams <dcbw@redhat.com>
6112 * system-settings/plugins/ifcfg
6113 * system-settings/plugins/ifcfg-fedora
6114 - Move the ifcfg plugin to ifcfg-fedora
6116 2008-01-24 Dan Williams <dcbw@redhat.com>
6118 * libnm-glib/nm-device-802-11-wireless.c
6119 - (get_access_point): move the "/" check here; check for invalid path
6121 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6122 to get_access_point()
6123 - (access_point_added_proxy, access_point_removed_proxy): don't try
6124 to send signals for non-existent access points
6126 2008-01-24 Dan Williams <dcbw@redhat.com>
6128 * libnm-glib/nm-device-802-11-wireless.c
6129 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6131 2008-01-23 Dan Williams <dcbw@redhat.com>
6133 * libnm-glib/libnm_glib.c
6134 - (libnm_glib_init): make thread joinable
6135 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6137 2008-01-23 Dan Williams <dcbw@redhat.com>
6139 * test/libnm_glib_test.c
6140 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6141 - (main): set up signal handlers; call libnm_glib_shutdown
6143 2008-01-21 Dan Williams <dcbw@redhat.com>
6145 * include/NetworkManager.h
6146 - Add CDMA mobile broadband card device type
6148 * src/nm-hal-manager.c
6149 - (modem_device_creator): handle both CDMA and GSM modems; the device
6150 must now be tagged with 'cdma' or 'gsm' capability
6152 * src/nm-cdma-device.c
6153 src/nm-cdma-device.h
6155 - Add the CDMA mobile broadband card device class
6157 * libnm-util/nm-connection.c
6158 - (register_default_settings): add NMSettingCdma
6160 * libnm-util/nm-setting-cdma.c
6161 libnm-util/nm-setting-cdma.h
6162 libnm-util/Makefile.am
6163 - Add the CDMA mobile broadband card setting class
6165 * libnm-glib/nm-cdma-device.c
6166 libnm-glib/nm-cdma-device.h
6167 libnm-glib/Makefile.am
6168 - Add the CDMA mobile broadband card GLib proxy class
6170 * libnm-glib/nm-client.c
6171 - (get_device): handle CDMA devices too
6173 2008-01-21 Dan Williams <dcbw@redhat.com>
6175 * src/ppp-manager/nm-ppp-manager.c
6176 - (ip4_config_get): set peer address too
6178 * src/ppp-manager/nm-pppd-plugin.c
6179 - (nm_ip_up): try harder to get the peer's address
6181 * src/NetworkManagerSystem.c
6182 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6183 address, use that too. Otherwise, some PPP connections won't work.
6185 2008-01-19 Dan Williams <dcbw@redhat.com>
6187 * src/NetworkManagerPolicy.c
6188 - (nm_policy_device_change_check): system connections override user
6189 connections; don't activate a user connection if there's a currently
6190 active system connection, and new, better system connections always
6191 interrupt user connections
6193 2008-01-19 Dan Williams <dcbw@redhat.com>
6196 - (nm_manager_get_connection_type): new function
6198 2008-01-19 Dan Williams <dcbw@redhat.com>
6200 * src/nm-device-802-11-wireless.c
6201 - (real_get_best_connection): collapse find_best_connection() into this
6204 2008-01-19 Dan Williams <dcbw@redhat.com>
6206 * src/nm-device-802-3-ethernet.c
6207 - (real_get_best_connection): collapse find_best_connection() into this
6210 2008-01-18 Dan Williams <dcbw@redhat.com>
6212 * src/nm-device-802-3-ethernet.c
6213 - (find_best_connection): check MAC address too
6214 - (real_get_best_connection): let autoconnect=True connections activate
6215 for devices that don't have carrier detection
6217 * src/nm-device-802-11-wireless.c
6218 - (find_best_connection): check MAC address too
6220 2008-01-18 Dan Williams <dcbw@redhat.com>
6222 * system-settings/plugins/ifcfg/parser.c
6223 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6225 2008-01-17 Dan Williams <dcbw@redhat.com>
6227 * src/nm-device-802-3-ethernet.c
6228 - (nm_device_802_3_ethernet_carrier_on,
6229 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6230 carrier events that might come in for devices that don't support
6233 2008-01-17 Dan Williams <dcbw@redhat.com>
6235 * src/nm-device-interface.c
6236 - (nm_device_interface_check_connection_conflicts): need to actually
6237 get the interface, not cast to the object
6240 - (nm_device_check_connection_conflicts): need to get the device class,
6241 not cast the device to the device class
6243 2008-01-17 Dan Williams <dcbw@redhat.com>
6245 * src/nm-device-802-11-wireless.c
6246 - (real_check_connection_conflicts): ignore connections that aren't
6247 wireless connections
6249 2008-01-17 Dan Williams <dcbw@redhat.com>
6251 * src/NetworkManagerPolicy.c
6252 - (nm_policy_device_change_check): clear change check idle here
6253 - (device_change_check_done): remove
6254 - (schedule_change_check): simplify
6256 2008-01-17 Dan Williams <dcbw@redhat.com>
6259 - (check_connection_allowed): take an NMDeviceInterface instead of
6260 an NMDevice object as an argument
6261 - (nm_manager_activate_device): pass an NMDeviceInterface to
6262 check_connection_allowed()
6264 2008-01-13 Dan Williams <dcbw@redhat.com>
6266 * libnm-glib/nm-device-802-11-wireless.c
6267 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6269 2008-01-12 Dan Williams <dcbw@redhat.com>
6271 * src/nm-device-802-11-wireless.c
6272 - (activation_success_handler): if a match was found in the scan list
6273 and that match is a hidden AP, update that AP's SSID
6275 2008-01-11 Dan Williams <dcbw@redhat.com>
6277 * src/NetworkManagerAP.c
6278 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6280 * src/nm-device-802-11-wireless.c
6281 - (get_active_ap): do two passes over the scan list if the caller
6282 requests that hidden APs get matched too; during the second pass
6283 when matching hidden APs, ignore the SSID since hidden APs in the
6284 scan list don't have an SSID yet
6285 - (periodic_update): move some checks to
6286 nm_device_802_11_periodic_update() because not all callers need them
6287 - (nm_device_802_11_periodic_update): move some checks here from
6289 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6290 matching on incoming scan results, because the fake AP's flags
6291 might be slightly different (yet still compatible) with the incoming
6292 scan result's flags and they might actually be the same AP; update
6293 the rate on merged APs too
6294 - (activation_success_handler): update the frequency of the fake AP
6295 on successful connection; match hidden APs too since if the
6296 current AP is fake, there might already be a scan result in the
6297 scan list for the desired AP, just without it's SSID filled in yet
6299 2008-01-10 Dan Williams <dcbw@redhat.com>
6301 * src/NetworkManagerAP.c
6302 - (foreach_property_cb): catch more hidden SSID formats
6304 2008-01-10 Dan Williams <dcbw@redhat.com>
6306 Fix gnome.org #464215. Requires the kernel patch titled
6307 "Introduce WEXT scan capabilities" but will handle the patch not being
6308 present, you'll just continue to have problems with hidden SSIDs when
6309 using mac80211-based drivers.
6311 * src/supplicant-manager/nm-supplicant-config.h
6312 src/supplicant-manager/nm-supplicant-config.c
6313 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6314 whether the driver supports SSID scans or not. If it does, and if
6315 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6317 * src/nm-device-802-11-wireless.c
6318 - (constructor): check whether or not the driver supports SSID scans
6319 - (build_supplicant_config): pass driver SSID scan capability when
6320 building the wireless bits of the supplicant config
6322 2008-01-09 Dan Williams <dcbw@redhat.com>
6326 - (device_activation_precheck, check_connection_complete): remove this
6327 virtual function; incomplete connections should be invalid by
6328 definition, complete-ness should be checked in the setting's
6331 * src/nm-serial-device.c
6333 - (real_check_connection_complete): remove
6335 * libnm-util/nm-setting-serial.c
6336 - (verify): new function; ensure there is a PPP setting too
6338 * libnm-util/nm-setting-gsm.c
6339 - (verify): ensure there is a serial setting too
6341 2008-01-06 Dan Williams <dcbw@redhat.com>
6343 * src/dhcp-manager/nm-dhcp-manager.c
6344 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6347 2008-01-04 Dan Williams <dcbw@redhat.com>
6349 * src/named-manager/nm-named-manager.c
6350 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6351 nameservers if the secondary config doesn't have any
6354 2008-01-02 Tambet Ingo <tambet@gmail.com>
6356 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6357 with G_PARAM_CONSTRUCT so that they get the default values.
6359 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6360 the monitoring device and prints out the output for now. Or more precicely, doesn't
6361 do absolutely anything right now since the montoring device argument is never set.
6363 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6364 requires it's own knob to turn it on.
6365 (config_fd): Add NMSettingSerial to the arguments list.
6366 (nm_serial_device_open): Ditto.
6367 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6368 (nm_serial_device_get_io_channel): Implement.
6370 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6371 a new reference every time (and forgetting to release it sometimes) is a pain and
6372 it's not like NMManager could work without dbus.
6373 (nm_manager_add_device): Register the added device on dbus here.
6375 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6378 * src/nm-device.c (constructor): Don't export the device here, instead export
6379 it when it's added to the NMManager's device list.
6381 2007-12-31 Dan Williams <dcbw@redhat.com>
6383 * src/nm-device-interface.c
6384 src/nm-device-interface.h
6385 - (nm_device_interface_check_connection_conflicts): new function
6389 - (nm_device_check_connection_conflicts): new function
6390 - (device_activation_precheck): don't require subclasses to implement
6391 check_connection_complete()
6392 - check_connection() -> check_connection_complete()
6394 * src/nm-device-802-11-wireless.c
6395 - (real_check_connection): remove; unused
6396 - (real_check_connection_conflicts): implement, handle lockdown for
6399 * src/nm-device-802-3-ethernet.c
6400 - (real_check_connection): remove; unused
6403 - (check_connection_allowed): new function
6404 - (nm_manager_activate_device): ensure the connection being requested
6405 is allowed to be activated
6407 * src/nm-serial-device.c
6409 - real_check_connection() -> real_check_connection_complete()
6411 2007-12-27 Dan Williams <dcbw@redhat.com>
6413 * src/nm-device-interface.c
6414 src/nm-device-interface.h
6415 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6416 normalize and expand errors
6417 - (nm_device_interface_init): register errors so they can be marshalled
6419 - (nm_device_interface_activate): ensure that failure of activation
6424 - (device_activation_precheck): implementations of check_connection()
6425 now take a GError and must fill it in if the check fails. Return
6426 more descriptive error if the requested connection is already
6428 - (nm_device_activate): actually try to return descriptive errors on
6431 * src/nm-device-802-11-wireless.c
6432 src/nm-device-802-3-ethernet.c
6433 src/nm-serial-device.c
6435 - (real_check_connection): return more descriptive errors on failure
6437 * src/NetworkManagerPolicy.c
6438 - (nm_policy_device_change_check): print activation errors in the logs
6441 - (nm_manager_error_quark, nm_manager_error_get_type,
6442 nm_manager_class_init): new errors
6443 - (nm_manager_activate_device): handle errors
6444 - (nm_manager_error_new): removed
6445 - (wait_for_connection_expired, connection_added_default_handler,
6446 impl_manager_activate_device): better error handling
6448 2007-12-27 Dan Williams <dcbw@redhat.com>
6450 Fixes gnome.org #466954
6452 * src/supplicant-manager/nm-supplicant-settings-verify.c
6453 - Allow 'frequency' network property
6455 * src/supplicant-manager/nm-supplicant-config.c
6456 src/supplicant-manager/nm-supplicant-config.h
6457 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6458 for callers to specify the frequency an Ad-Hoc network should operate
6459 on. Some drivers require this to successfully create an Ad-Hoc
6462 * src/nm-device-802-11-wireless.c
6463 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6464 guint32 value in MHz
6465 - (constructor, nm_device_802_11_wireless_get_frequency): use
6467 - (find_supported_frequency): new function; find a free supported
6468 frequency for a user-created Ad-Hoc network
6469 - (build_supplicant_config): if no frequency was specified for a user-
6470 created Ad-Hoc network, find a free one to use
6471 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6472 a specific object as user-created
6474 2007-12-27 Dan Williams <dcbw@redhat.com>
6476 * libnm-util/nm-utils.c
6477 libnm-util/nm-utils.h
6478 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6481 2007-12-24 Dan Williams <dcbw@redhat.com>
6483 * libnm-util/nm-setting-wireless.c
6484 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6485 185, 187, 188, 192, and 196
6487 2007-12-24 Dan Williams <dcbw@redhat.com>
6489 * src/nm-device-802-11-wireless.c
6490 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6491 a channel # instead of a frequency
6493 2007-12-24 Dan Williams <dcbw@redhat.com>
6495 * src/NetworkManagerAP.c
6496 src/NetworkManagerAP.h
6497 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6498 - (freq_to_channel): handle split band tables
6499 - (channel_to_freq): handle split band tables, take a band argument
6501 2007-12-24 Dan Williams <dcbw@redhat.com>
6503 * libnm-util/nm-setting-connection.h
6504 libnm-util/nm-setting-connection.c
6505 - Add 'lockdown' member
6507 2007-12-22 Dan Williams <dcbw@redhat.com>
6509 * libnm-util/nm-setting-wireless.c
6510 - (nm_setting_wireless_class_init): add missing 'rate' property
6513 2007-12-18 Dan Williams <dcbw@redhat.com>
6515 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6517 * src/nm-netlink-monitor.c
6518 src/nm-netlink-monitor.h
6519 - Remove handrolled netlink, use libnl instead
6521 * src/nm-device-802-3-ethernet.c
6522 - (constructor, nm_device_802_3_ethernet_carrier_off,
6523 nm_device_802_3_ethernet_carrier_on): use new names
6525 2007-12-17 Dan Williams <dcbw@redhat.com>
6528 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6529 and fixes memory leaks)
6532 - (nm_netlink_get_default_handle): handle new versions of libnl that
6533 automatically handle the netlink PID
6535 2007-12-17 Dan Williams <dcbw@redhat.com>
6537 Patch from Michael Biebl <biebl@debian.org>
6540 src/ppp-manager/Makefile.am
6541 - fix up install dir of pppd plugin
6542 - clean up configure.in a bit
6544 2007-12-12 Dan Williams <dcbw@redhat.com>
6546 * system-settings/src/nm-system-settings.conf
6547 - Allow non-root clients (like the applet) to read settings
6549 2007-12-10 Tambet Ingo <tambet@gmail.com>
6551 * Replace all occurences of 'UMTS' with 'GSM'.
6553 2007-12-07 Dan Williams <dcbw@redhat.com>
6555 * src/nm-serial-device.c
6556 - (real_is_up): serial devices are always "up"
6558 2007-12-07 Dan Williams <dcbw@redhat.com>
6561 src/NetworkManagerSystem.c
6562 - (new_nl_handle): ensure that the same netlink pid is never chosen
6563 twice (gnome.org #491047)
6564 - Make more robust against allocation-related failures should they occur
6566 2007-12-07 Dan Williams <dcbw@redhat.com>
6568 Noticed by Christian Persch <chpe@gnome.org>
6570 Always chain up to parent object in dispose and finalize handlers.
6573 2007-12-07 Dan Williams <dcbw@redhat.com>
6575 * src/nm-device-802-11-wireless.c
6576 - Wrap #include of linux/mii.h to fix redefined structures due to
6577 incorrect kernel headers (gnome.org #350061)
6579 2007-12-06 Tambet Ingo <tambet@gmail.com>
6581 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6582 before doing anything else.
6583 (init_modem): Move modem initialization here.
6585 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6586 (nm_serial_device_flash): Implement.
6588 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6589 changes signal is "StateChanged" and not "Status".
6590 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6592 2007-12-06 Dan Williams <dcbw@redhat.com>
6594 * src/supplicant-manager/nm-supplicant-config.c
6595 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6596 to only send some options when they make sense; also send phase2
6597 option to the supplicant (possible fix for rh #399631)
6599 2007-12-06 Tambet Ingo <tambet@gmail.com>
6601 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6602 arguments: This whole file shouldn't really know anything about NMDevices, it
6603 should deal only with device interfaces. Devices might have different ifaces for
6604 different stuff and this place shouldn't know anything about it.
6606 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6607 (global_state_changed): Implement. In the current NM it's not really important,
6608 but will be required in the case of multiple active devices. (Or even better,
6609 if stuff like that gets moved out from NM).
6611 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6612 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6615 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6616 devices like serial devices (ttyS0 and ppp0 for example).
6617 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6619 (nm_device_set_ip_iface): Implement.
6620 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6621 after setting ip4_config from here ...
6622 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6623 than this function should call nm_system_device_set_from_ip4_config() because no
6624 other code has enough information on which arguments to use. So instead, other code
6625 could just set the new ip4 config using this function and everyone is happy.
6627 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6628 if we happen to get deactivated while something is pending.
6629 (automatic_registration): Handle the response that indicates pending network
6630 registration and wait until the pending registration is done.
6631 (real_deactivate_quickly): If there's a pending operation, cancel it.
6633 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6634 (real_deactivate_quickly): ... and remove it when it's down.
6635 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6637 (nm_serial_device_wait_for_reply): Ditto.
6639 2007-12-05 Tambet Ingo <tambet@gmail.com>
6641 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6642 (get_network_done): Remove newline, nm_info() does it already.
6643 (real_act_stage1_prepare): Turn the modem echo off.
6645 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6646 device, set the route to the device interface. This is a hack.
6648 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6649 return, no need for a new-line.
6650 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6651 Change the device iface here (ugh).
6652 (real_act_stage4_get_ip4_config): Implement.
6653 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6654 Restore the device iface.
6656 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6657 device is not wired or wireless (eg, automatically upped) device.
6659 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6661 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6663 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6664 before calling it's is_device_fn().
6666 2007-12-05 Dan Williams <dcbw@redhat.com>
6668 * libnm-util/nm-utils.c
6669 - (nm_utils_register_value_transformations,
6670 nm_utils_convert_gvalue_hash_to_string): better debug output of
6671 GHashTables of GValues too
6673 2007-12-04 Dan Williams <dcbw@redhat.com>
6675 * initscript/RedHat/NetworkManager.in
6676 - No longer start named; it's D-Bus interface is going away
6678 2007-12-04 Dan Williams <dcbw@redhat.com>
6680 Patch from Michael Biebl <biebl@debian.org>
6682 * system-settings/plugins/ifcfg/Makefile.am
6683 system-settings/src/main.c
6684 system-settings/src/Makefile.am
6685 - Put system settings plugins in NM plugins dir
6687 * src/ppp-manager/Makefile.am
6688 src/ppp-manager/nm-ppp-manager.c
6689 - Move pppd plugin to NM plugins dir
6691 2007-12-04 Dan Williams <dcbw@redhat.com>
6693 * libnm-util/nm-setting-vpn-properties.h
6694 - Clarify usage of the 'data' member of the setting
6696 * libnm-util/nm-setting-vpn-properties.c
6697 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6698 - (set_property): just remove all the settings; don't recreate the has
6699 - (update_one_secret): don't need to create the hash table here since
6700 it should always be present
6702 2007-12-03 Tambet Ingo <tambet@gmail.com>
6704 Implement PIN and PUK requesting.
6706 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6707 (enter_pin): Handle PIN and PUK requests.
6708 (real_act_stage1_prepare): Clear the secret type.
6709 (real_connection_secrets_updated): Implement this class method to get
6710 notified when new secrets arrive.
6711 (nm_umts_device_class_init): Add private data back to the umts device class
6712 to store the required secret type.
6714 2007-12-01 Dan Williams <dcbw@redhat.com>
6716 * system-settings/plugins/ifcfg/parser.c
6717 - (parser_parse_file): don't try to verify NULL connections
6719 2007-12-01 Dan Williams <dcbw@redhat.com>
6721 * system-settings/src/main.c
6722 - (load_connections, add_connection_to_settings): actually export
6723 plugin-provided connections over D-Bus so NM can get them
6725 2007-12-01 Dan Williams <dcbw@redhat.com>
6727 * system-settings/plugins/ifcfg/parser.c
6728 system-settings/plugins/ifcfg/parser.h
6729 system-settings/plugins/ifcfg/plugin.c
6730 - Hook up more inotify bits (untested)
6732 2007-11-29 Dan Williams <dcbw@redhat.com>
6734 * system-settings/src/nm-system-config-interface.h
6735 system-settings/src/nm-system-config-interface.c
6736 - (nm_system_config_interface_init,
6737 nm_system_config_interface_get_connections): add
6739 * system-settings/src/main.c
6740 - (load_plugins, load_connections, main): use a GSList for plugins
6741 to ensure priority ordering
6743 * system-settings/plugins/ifcfg/parser.c
6744 - (ifcfg_error_quark): move to plugin.c, and rename
6746 * system-settings/plugins/ifcfg/plugin.h
6747 system-settings/plugins/ifcfg/plugin.c
6748 - (ifcfg_plugin_error_quark): move here from parser.c
6749 - rework connection loading and initialization
6750 - Add preliminary inotify support for network profile config file
6752 2007-11-28 Tambet Ingo <tambet@gmail.com>
6754 Merge the beginnings of the new GSM card support.
6756 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6757 ppp watch source before killing pppd - If this happens from g_object_unref()
6758 then the ppp manager is already destroyed by the time the watch callback runs.
6760 * src/nm-hal-manager.c: Add a device_type_name string to the device
6761 creators, so that we can print a nice human readable string when a
6764 * src/nm-umts-device.c (automatic_registration_get_network): Query
6765 for the activated network, not much is done with the result thought.
6767 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6768 (ppp_ip4_config): Change the device state to activated here for now.
6769 (real_check_connection): Make sure the connection includes ppp setting.
6771 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6773 * libnm-glib/Makefile.am: Add the new files to build.
6775 * libnm-glib/nm-umts-device.c:
6776 * libnm-glib/nm-umts-device.h: Implement.
6778 2007-11-26 Tambet Ingo <tambet@gmail.com>
6780 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6781 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6783 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6784 the timeout source - this function is only called when the timeout source has
6786 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6787 to be big enough to contain the terminating zero element as well.
6788 The timeout argument is meant to be in seconds now.
6789 (real_deactivate_quickly): Implement.
6791 * src/NetworkManager.conf: Allow root to own
6792 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6794 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6795 (not unsigned ints).
6797 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6798 small issue with parity bounds - capital letters have lower ascii codes
6799 than lower case letters.
6801 * libnm-util/nm-connection.c (register_default_settings): Register serial
6804 2007-11-22 Tambet Ingo <tambet@gmail.com>
6806 Remove the "index" property from devices as not all device types have this.
6808 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6810 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6811 (wired_device_creator): Get the device interface from hal to create the device.
6812 (wireless_device_creator): Ditto.
6814 * src/nm-device.c (nm_device_init): Remove the index member.
6815 (constructor): Remove the checks for index property, make interface property
6816 a require constructor property.
6817 Use the HAL udi for DBus path for devices.
6818 (nm_device_get_index): Remove.
6819 (set_property): Remove index handling.
6820 (get_property): Ditto.
6821 (nm_device_get_dbus_path): Remove.
6823 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6826 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6827 Access the device index through it's interface.
6828 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6829 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6830 index argument. Add interface argument.
6832 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6833 the useless test_dev argument. Remove index argument. Add interface arugment.
6835 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6836 device index through interface.
6837 (nm_system_set_mtu): Ditto.
6839 * introspection/nm-device.xml: Remove the "Index" property.
6841 2007-11-21 Tambet Ingo <tambet@gmail.com>
6843 * src/nm-serial-device.c:
6844 * src/nm-serial-device.c:
6845 * src/nm-umts-device.c:
6846 * src/nm-umts-device.h: Implement.
6848 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6849 allocated by libhal.
6850 (modem_device_creator): Implement.
6851 (register_built_in_creators): Register the modem creator.
6853 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6854 Remove the unused test_dev argument.
6856 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6858 * src/Makefile.am: Add new files to build.
6859 Link in ppp-manager.
6861 * libnm-util/nm-setting-umts.c:
6862 * libnm-util/nm-setting-umts.h:
6863 * libnm-util/nm-setting-serial.c:
6864 * libnm-util/nm-setting-serial.h: Implement.
6866 * libnm-util/Makefile.am: Add new files to build.
6868 2007-11-28 Dan Williams <dcbw@redhat.com>
6870 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6872 Support DHCP-provided static routes.
6874 * src/nm-ip4-config.h
6876 - Add get/set functions for static routes
6878 * src/dhcp-manager/nm-dhcp-manager.c
6879 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6882 * src/NetworkManagerSystem.c
6883 - (nm_system_device_set_from_ip4_config): set any static routes on the
6884 interface when applying the IP4Config
6886 2007-11-28 Dan Williams <dcbw@redhat.com>
6888 * src/nm-device-802-11-wireless.c
6889 - (real_act_stage1_prepare): mark APs created for hidden networks
6892 2007-11-27 Dan Williams <dcbw@redhat.com>
6894 * system-settings/src/nm-system-config-interface.h
6895 - Note how to store secrets on NMSetting objects
6897 * system-settings/src/dbus-settings.c
6898 - (connection_settings_get_secrets): implement
6900 2007-11-27 Dan Williams <dcbw@redhat.com>
6902 * system-settings/plugins/ifcfg/Makefile.am
6903 system-settings/plugins/ifcfg/parser.c
6904 system-settings/plugins/ifcfg/parser.h
6905 system-settings/plugins/ifcfg/plugin.c
6906 - Parse wireless connections too
6908 * system-settings/src/dbus-settings.c
6909 system-settings/src/dbus-settings.h
6910 system-settings/src/main.c
6911 - Handle connection update/removal if the plugin supports it
6913 2007-11-27 Dan Williams <dcbw@redhat.com>
6915 * src/nm-dbus-manager.h
6916 src/nm-hal-manager.c
6917 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6921 src/NetworkManagerDbusUtils.c
6922 src/NetworkManagerDbusUtils.h
6923 - Remove these two source files; they are unused
6925 2007-11-27 Dan Williams <dcbw@redhat.com>
6927 * src/vpn-manager/nm-vpn-manager.c
6928 - (impl_vpn_manager_connect): fix system settings check (found by
6931 2007-11-26 Dan Williams <dcbw@redhat.com>
6933 * Fix warnings so everything compiles with --enable-more-warnings
6935 2007-11-25 Dan Williams <dcbw@redhat.com>
6938 - Rework structure and code to use GModule-loaded plugins and a plugin
6939 interface that plugins export to the system settings service
6941 2007-11-21 Dan Williams <dcbw@redhat.com>
6944 - Add Soren's system settings service. Needs work for distros other
6945 than Fedora; the backends from NM should mostly migrate to here
6946 and be converted to GObjects
6948 2007-11-21 Dan Williams <dcbw@redhat.com>
6950 * libnm-util/nm-setting-vpn-properties.c
6951 - (set_property): must deep-copy the given settings hash, otherwise
6952 double-free errors occur when the setting is disposed of
6954 2007-11-21 Dan Williams <dcbw@redhat.com>
6956 * src/vpn-manager/nm-vpn-act-request.h
6957 src/vpn-manager/nm-vpn-act-request.c
6960 2007-11-20 Dan Williams <dcbw@redhat.com>
6962 * libnm-util/nm-utils.c
6963 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6964 nm_utils_convert_ip4_addr_struct_array_to_string,
6965 nm_utils_register_value_transformations): print out the readable
6966 values of more types of properties of NMSettings subclasses
6968 2007-11-20 Dan Williams <dcbw@redhat.com>
6970 * libnm-util/nm-setting-ip4-config.c
6971 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6972 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6973 marshal GValueArrays inside collections, so switch to types that it
6974 can actually marshal/demarshal
6976 2007-11-16 Dan Williams <dcbw@redhat.com>
6978 * libnm-util/nm-setting-wireless-security.c
6979 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6980 minimal verification of EAP methods too
6981 - (verify): verify phase1 eap methods too
6983 2007-11-15 Dan Williams <dcbw@redhat.com>
6985 * libnm-glib/nm-device.h
6986 libnm-glib/nm-device.c
6987 - (nm_device_get_product, nm_device_get_vendor): should be returning
6990 2007-11-15 Dan Williams <dcbw@redhat.com>
6992 * libnm-glib/nm-device.c
6993 - (get_product_and_vendor): don't try to free things that should be
6996 2007-11-15 Dan Williams <dcbw@redhat.com>
6998 * src/NetworkManagerUtils.c
6999 - (nm_ethernet_address_is_valid): unbreak previous fix
7001 2007-11-15 Dan Williams <dcbw@redhat.com>
7003 * src/supplicant-manager/nm-supplicant-config.c
7004 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7007 2007-11-15 Dan Williams <dcbw@redhat.com>
7009 * src/NetworkManagerUtils.c
7010 - (nm_ethernet_address_is_valid): fix style, clarify
7011 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7013 * src/nm-device-802-11-wireless.c
7014 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7015 - (nm_device_802_11_wireless_get_ssid,
7016 nm_device_802_11_wireless_get_bssid,
7017 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7018 before calling the ioctl; fixes valgrind-reported jump depends on
7019 uninitialized value errors
7021 2007-11-15 Dan Williams <dcbw@redhat.com>
7023 * libnm-util/nm-setting.c
7024 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7025 unecessary to serialize 'name'
7027 * src/nm-activation-request.c
7028 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7031 2007-11-15 Dan Williams <dcbw@redhat.com>
7033 * libnm-util/nm-setting-connection.h
7034 libnm-util/nm-setting-connection.c
7035 - Rename the 'name' property to 'id', because it conflicted with the
7036 NMSetting superclass' 'name' property.
7038 * libnm-util/nm-setting.c
7039 - (nm_setting_to_hash): serialize the 'name' property
7040 - (one_property_cb): ignore 'name' on deserialization of a connection
7042 * src/nm-device-802-11-wireless.c
7043 src/vpn-manager/nm-vpn-connection.c
7044 src/NetworkManagerPolicy.c
7045 - Fix up for NMSettingConnection 'name'->'id' changes
7047 2007-11-13 Dan Williams <dcbw@redhat.com>
7049 * libnm-glib/nm-device-802-11-wireless.h
7050 libnm-glib/nm-device-802-11-wireless.c
7051 - (nm_device_802_11_wireless_get_hw_address): return should be const
7054 libnm-glib/libnm-glib-test.c
7055 - Fixes for above change
7057 2007-11-12 Dan Williams <dcbw@redhat.com>
7059 * src/supplicant-manager/nm-supplicant-settings-verify.c
7060 - Allow fragment_size option
7062 * src/supplicant-manager/nm-supplicant-settings-verify.c
7063 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7064 EAP fragment size than the default to help some TLS connections
7066 2007-11-12 Dan Williams <dcbw@redhat.com>
7068 Make certs actually work. The private key is now a secret, and should be
7069 decrypted when requested by NM. The private key and phase2 private key
7070 passwords are no longer interesting to NM because they should be used by
7071 the settings service to decrypt the private key itself before passing it
7072 to NM, and hence have been removed as fields.
7074 * libnm-util/nm-setting-wireless-security.h
7075 libnm-util/nm-setting-wireless-security.c
7076 - Remove private-key-passwd and phase2-private-key-passwd from
7078 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7079 need_secrets): use property #defines instead strings to keep things
7081 - (need_secrets_tls): if a client certificate is present but no
7082 private key, request the private key
7083 - (set_property, get_property, nm_setting_wireless_security_class_init):
7084 remove private key password stuff, mark private keys as secret
7086 * src/supplicant-manager/nm-supplicant-settings-verify.c
7087 - Remove private_key_passwd and private_key2_passwd from opt_table
7089 2007-11-09 Dan Williams <dcbw@redhat.com>
7091 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7092 Since the vpn-properties are managed and known by the VPN daemons themselves,
7093 libnm-util doesn't know what's secret and what's in the setting's 'data'
7096 * libnm-util/nm-setting.h
7097 libnm-util/nm-setting.c
7098 - Add the ability for subclasses to override update_one_secret
7100 * libnm-util/nm-setting-vpn-properties.c
7101 - Override update_one_secret and just copy the values into the
7104 2007-11-09 Dan Williams <dcbw@redhat.com>
7106 * libnm-glib/nm-settings.h
7107 libnm-glib/nm-settings.c
7108 - (nm_settings_new_error): remove
7109 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7110 clients should use g_set_error() with NM_SETTINGS_ERROR
7112 2007-11-09 Dan Williams <dcbw@redhat.com>
7114 * src/supplicant-manager/nm-supplicant-config.c
7115 - (nm_supplicant_config_add_setting_wireless_security): private key
7116 passwords are never sent to wpa_supplicant, because the supplicant
7117 should never be reading random files from the disk. Clients like
7118 the applet are required to decrypt the private keys and send NM
7119 the decrypted blobs.
7121 2007-11-08 Dan Williams <dcbw@redhat.com>
7123 * libnm-util/nm-setting-wireless-security.h
7124 libnm-util/nm-setting-wireless-security.c
7125 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7126 members to 802-11-wireless-security structure. This should be used
7127 to indicate that the values in private-key and phase2-private-key
7128 are already decrypted by the user agent, and that no
7129 private-key-passwd or phase2-private-key-passwd should be expected.
7130 It is not meant to be a stored configuration value, but meant to
7131 be set when the conneciton is sent to NM over dbus.
7133 2007-11-08 Dan Williams <dcbw@redhat.com>
7135 * libnm-util/nm-connection.h
7136 libnm-util/nm-connection.c
7137 - (nm_connection_need_secrets): add argument to return hints
7139 * src/nm-device-802-11-wireless.c
7140 - (link_timeout_cb, supplicant_connection_timeout_cb,
7141 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7142 nm_connection_need_secrets() change
7144 2007-11-07 Tambet Ingo <tambet@gmail.com>
7146 Rework NMSetting structures: Move each setting to it's own file.
7147 Convert to GObject. Remove home grown setting types and use GTypes.
7148 Use GObject property introspection for hash conversion, enumerating
7151 * libnm-util/nm-setting-connection.[ch]
7152 * libnm-util/nm-setting-ip4-config.[ch]
7153 * libnm-util/nm-setting-ppp.[ch]
7154 * libnm-util/nm-setting-vpn.[ch]
7155 * libnm-util/nm-setting-vpn-properties.[ch]
7156 * libnm-util/nm-setting-wired.[ch]
7157 * libnm-util/nm-setting-wireless.[ch]
7158 * libnm-util/nm-setting-wireless-security.[ch]
7160 New files, each containing a setting.
7162 * libnm-util/nm-setting-template.[ch]: A template for creating new
7163 settings. To use it, just replace 'template' with the new setting
7164 name, and you're half-way done.
7166 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7167 introspection instead of internal types and tables.
7169 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7171 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7172 GValue types defined by dbus-glib for composed types like collections,
7173 structures and maps.
7175 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7176 a setting from connection takes the setting type now. Also, since
7177 the settings are in multiple files, include relevant settings.
7179 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7182 * src/backends/NetworkManagerGentoo.c:
7183 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7184 providers in Gentoo.
7186 2007-10-31 Dan Williams <dcbw@redhat.com>
7188 * libnm-util/nm-connection.c
7189 - (gvalue_to_string): handle UINT32 arrays
7191 2007-10-31 Dan Williams <dcbw@redhat.com>
7193 * libnm-glib/nm-device.h
7194 libnm-glib/nm-device.c
7195 - (nm_device_get_description): remove
7196 - (nm_device_get_product, nm_device_get_vendor): add
7197 - (nm_device_update_description): new function (private); walk HAL
7198 devices to get product and vendor IDs for a specific device
7200 2007-10-31 Dan Williams <dcbw@redhat.com>
7202 * src/nm-device-802-11-wireless.c
7203 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7205 2007-10-29 Dan Williams <dcbw@redhat.com>
7207 * src/nm-hal-manager.c
7208 - (device_added, device_new_capability): ignore device additions while
7209 asleep. Fixes crash caused when NM goes to sleep, a network device
7210 kernel module is unloaded and reloaded and recognized by NM again.
7212 2007-10-26 Dan Williams <dcbw@redhat.com>
7214 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7216 * src/NetworkManagerAP.c
7217 src/NetworkManagerAP.h
7218 libnm-glib/nm-access-point.c
7219 libnm-glib/nm-access-point.h
7220 - Make 'rate' property a guint32 to better match with WEXT and
7221 wpa_supplicant and to allow representation of higher bitrates
7223 * src/nm-device-802-11-wireless.c
7224 introspection/nm-device-802-11-wireless.xml
7225 libnm-glib/nm-device-802-11-wireless.c
7226 libnm-glib/nm-device-802-11-wireless.h
7227 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7229 * src/nm-device-802-3-ethernet.c
7230 src/nm-device-802-3-ethernet.h
7231 introspection/nm-device-802-3-ethernet.xml
7232 libnm-glib/nm-device-802-3-ethernet.c
7233 libnm-glib/nm-device-802-3-ethernet.h
7234 - Make 'speed' property a guint32 to match other speed/rate types
7235 - Make nm_device_802_3_ethernet_get_speed() static
7238 - Update for the changes above
7240 2007-10-26 Dan Williams <dcbw@redhat.com>
7242 * src/named-manager/nm-named-manager.c
7243 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7244 not calling fclose() twice on some error conditions
7246 2007-10-26 Dan Williams <dcbw@redhat.com>
7248 * src/nm-activation-request.c
7249 - (dispose): clean up indentation; get the right DBusGProxy object to
7250 cancel the GetSecrets pending call on. Need to use the Secrets
7251 proxy, not the regular connection proxy. Otherwise the GetSecrets
7252 pending call doesn't get canceled, and pressing Cancel in the
7253 applet's password dialog could cause get_secrets_cb() to be called
7254 after the activation request has already been destroyed
7256 2007-10-24 Dan Williams <dcbw@redhat.com>
7258 * src/supplicant-manager/nm-supplicant-config.c
7259 - (nm_supplicant_config_add_blob): pass blob data and length for
7261 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7263 2007-10-24 Dan Williams <dcbw@redhat.com>
7265 * src/supplicant-manager/nm-supplicant-settings-verify.c
7266 - (opt_table): max length for certificates should be 65536
7268 2007-10-24 Dan Williams <dcbw@redhat.com>
7270 * src/supplicant-manager/nm-supplicant-interface.c
7271 - (blob_free): correctly free blob data after use
7272 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7274 2007-10-24 Dan Williams <dcbw@redhat.com>
7276 * libnm-util/nm-setting.c
7277 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7278 EAP method need secrets
7280 2007-10-24 Dan Williams <dcbw@redhat.com>
7282 * src/backends/NetworkManagerRedHat.c
7283 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7285 2007-10-23 Dan Williams <dcbw@redhat.com>
7287 * libnm-util/nm-setting.c
7288 libnm-util/nm-setting.c
7289 - (nm_setting_compare): implement
7290 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7291 compare_one_hash_gvalue): compare the contents of a setting
7293 * libnm-util/nm-connection.c
7294 - (nm_connection_compare): implement
7296 2007-10-23 Dan Williams <dcbw@redhat.com>
7298 * src/nm-activation-request.c
7299 - (get_secrets_cb): handle getting a setting back that is more than
7300 just secrets (ie, user changed auth or EAP method or something)
7302 2007-10-23 Dan Williams <dcbw@redhat.com>
7304 * libnm-util/nm-setting.c
7305 libnm-util/nm-setting.h
7306 - (nm_setting_verify): new function; verify one setting
7307 - (nm_settings_verify_all): rename from nm_settings_verify()
7308 - (setting_connection_verify, setting_wireless_verify): allow NULL
7311 * libnm-util/nm-connection.c
7312 - (nm_connection_replace_settings, nm_connection_verify,
7313 nm_connection_new_from_hash): handle nm_settings_verify() rename
7315 2007-10-23 Dan Williams <dcbw@redhat.com>
7317 * src/nm-device-802-11-wireless.c
7318 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7321 2007-10-23 Dan Williams <dcbw@redhat.com>
7323 * src/supplicant-manager/nm-supplicant-settings-verify.c
7324 - eap_allowed, phase2_allowed: harmonize with allowed values from
7327 2007-10-23 Dan Williams <dcbw@redhat.com>
7329 * src/nm-device-802-11-wireless.c
7330 - (real_act_stage2_config): after the first association failure,
7331 if the connection still needs secrets ask the user for them
7332 explicitly. After the fourth association failure due to bad
7333 secrets, fail the connection entirely. Handles the GetSecrets
7334 loop that NM gets into when the provided secrets don't match up
7335 with the connection details.
7337 2007-10-23 Dan Williams <dcbw@redhat.com>
7339 * src/supplicant-manager/nm-supplicant-config.c
7340 - (nm_supplicant_config_add_setting_wireless_security): only add
7341 WPA-specific options when WPA is in use
7343 2007-10-23 Dan Williams <dcbw@redhat.com>
7345 * src/supplicant-manager/nm-supplicant-config.c
7346 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7347 secret doesn't need to be unhexified
7349 2007-10-23 Dan Williams <dcbw@redhat.com>
7351 * libnm-util/nm-setting.c
7352 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7353 before trying to do something with it
7355 2007-10-23 Dan Williams <dcbw@redhat.com>
7357 * src/nm-device-802-11-wireless.c
7358 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7360 2007-10-23 Dan Williams <dcbw@redhat.com>
7362 * src/nm-device-802-11-wireless.c
7363 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7364 non-SSID-broadcasting APs
7366 2007-10-23 Dan Williams <dcbw@redhat.com>
7368 * src/NetworkManagerAP.c
7369 - (match_cipher, security_compatible): remove
7370 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7373 2007-10-23 Dan Williams <dcbw@redhat.com>
7375 * libnm-util/nm-utils.c
7376 libnm-util/nm-utils.h
7377 - (nm_utils_ap_security_compatible): common function for checking
7378 whether a specific AP is compatible with an NMConnection
7380 2007-10-23 Dan Williams <dcbw@redhat.com>
7382 * libnm-util/nm-setting.c
7383 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7384 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7385 need_secrets_password, setting_wireless_security_verify): fix
7386 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7387 secrets logic for each supported EAP method
7389 2007-10-23 Dan Williams <dcbw@redhat.com>
7391 * src/supplicant-manager/nm-supplicant-config.c
7392 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7393 config option name, should be "private_key2_passwd"
7395 2007-10-22 Tambet Ingo <tambet@gmail.com>
7397 Implement support for static IP addresses, additional/overridden DNS and
7398 DNS domain search lists.
7400 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7401 (ip4_addresses_to_gvalue): Implement.
7402 (convert_array_to_byte_array): Implement.
7403 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7404 NM_S_TYPE_IP4_ADDRESSES.
7405 (nm_setting_hash): Ditto.
7406 (default_setting_clear_secrets): Add a default case for the switch: IP address
7407 shouldn't be secret, ever.
7408 (setting_ip4_config_verify): Update, requires addresses in case of manual
7410 (setting_ip4_config_destroy): Free stuff.
7412 * src/nm-device.c (merge_ip4_config): Implement.
7413 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7415 2007-10-22 Dan Williams <dcbw@redhat.com>
7417 * libnm-util/nm-setting.c
7418 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7419 pairwise cipher options for Dynamic WEP
7421 2007-10-21 Dan Williams <dcbw@redhat.com>
7423 * src/NetworkManagerAP.c
7424 src/NetworkManagerAP.h
7425 - Rename 'articifical' -> 'fake' since that's what they are until
7427 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7428 from the attributes in an NMConnection object
7429 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7431 - (nm_ap_match_in_list): find a matching AP in a scan list
7433 * src/nm-device-802-11-wireless.c
7434 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7435 AP when searching the scan list; match on frequency and mode too
7436 - (nm_device_802_11_wireless_get_frequency): implement
7437 - (merge_scanned_ap): replace duplicate matching logic with
7438 nm_ap_match_in_list()
7439 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7440 the user is trying to connect to a hidden network that is not yet
7441 known from the scan list
7442 - (activation_success_handler): now that the card knows the AP's BSSID,
7443 there may already be a scanned AP in the scan list that is what
7444 we really wanted to connect to, but didn't know at the time. Use
7445 that instead of the 'fake' AP created at activation start and get
7446 rid of the 'fake' AP
7447 - (cull_scan_list): don't remove fake APs
7449 2007-10-21 Dan Williams <dcbw@redhat.com>
7451 * src/nm-activation-request.h
7452 src/nm-activation-request.c
7453 - (nm_act_request_set_specific_object): new function; allow setting the
7454 specific object if one isn't set yet
7456 2007-10-20 Dan Williams <dcbw@redhat.com>
7458 * src/supplicant-manager/nm-supplicant-config.h
7459 src/supplicant-manager/nm-supplicant-config.c
7460 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7461 table to store blobs
7462 - (nm_supplicant_config_add_blob): new function; add blob to internal
7464 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7465 - (nm_supplicant_config_add_setting_wireless_security): handle
7466 options that use certificates (ie, blobs)
7468 * src/nm-device-802-11-wireless.c
7469 - (build_supplicant_config): pass a UID (just use the connection path)
7470 to the supplicant config as now required
7472 * src/supplicant-manager/nm-supplicant-interface.c
7473 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7474 there are any blobs to send to wpa_supplicant, send those first
7475 before sending the network configuration
7477 2007-10-19 Dan Williams <dcbw@redhat.com>
7479 Split the GetSecrets() call off to a separate D-Bus interface so that it
7480 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7481 should be able to call GetSecrets().
7483 * include/NetworkManager.h
7484 - Define the connection secrets D-Bus interface
7486 * src/vpn-manager/nm-vpn-connection.c
7487 - (clear_need_auth): get the right proxy object for the connection
7489 - (get_connection_secrets): use the connection secrets proxy; send
7490 empty hints in get secrets request
7492 * src/nm-activation-request.c
7493 - (nm_act_request_request_connection_secrets): use the connection
7494 secrets proxy; send empty hints in get secrets request
7498 - (connection_get_settings_cb): set the connection secrets proxy on
7499 the connection object too
7500 - (internal_new_connection_cb): create the connection secrets proxy
7502 * introspection/nm-settings-connection.xml
7503 - Define Connection.Secrets interface and move GetSecrets there
7504 - Add a 'hints' argument to GetSecrets
7506 * libnm-glib/nm-settings.c
7507 libnm-glib/nm-settings.h
7508 - (impl_connection_settings_get_secrets): add 'hints' argument
7510 2007-10-19 Dan Williams <dcbw@redhat.com>
7513 - (constructor): add message about what path a device is exported as
7514 to help in debugging rh #339011
7516 2007-10-17 Dan Williams <dcbw@redhat.com>
7518 * libnm-util/nm-utils.h
7519 libnm-util/nm-utils.c
7520 - (nm_utils_security_valid): common function to help find the intersection
7521 of capabilities of devices and (optionally) access points
7523 2007-10-17 Dan Williams <dcbw@redhat.com>
7525 * src/nm-device-802-11-wireless.c
7526 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7527 don't get erroneously cleared
7529 2007-10-17 Dan Williams <dcbw@redhat.com>
7533 src/nm-hal-manager.c
7534 - (device_removed, finalize, nm_manager_remove_device,
7535 nm_manager_sleep): add a 'deactivate' argument to
7536 nm_manager_remove_device() to fully deactivate devices when necessary
7537 (ie, always except when waking up)
7539 2007-10-16 Dan Williams <dcbw@redhat.com>
7541 * libnm-util/nm-setting.c
7542 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7543 also isn't valid phase2 autheap method
7545 2007-10-16 Dan Williams <dcbw@redhat.com>
7547 * libnm-glib/nm-client.c
7548 - (update_wireless_status): consolidate updates of wireless status
7549 - (constructor): use update_wireless_status()
7550 - (manager_running): set wireless status off when NM goes away; requery
7551 the wireless status when NM comes back
7553 2007-10-16 Dan Williams <dcbw@redhat.com>
7555 * libnm-glib/nm-client.c
7556 - (nm_client_activate_device): actually use the fixed-up specific
7559 2007-10-16 Dan Williams <dcbw@redhat.com>
7561 * src/nm-hal-manager.c
7562 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7563 killswitch error messages once
7565 2007-10-16 Dan Williams <dcbw@redhat.com>
7568 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7569 if it's disabled in hardware; don't touch network devices while
7572 2007-10-16 Dan Williams <dcbw@redhat.com>
7574 * libnm-util/nm-client.c
7575 - (nm_client_activate_device): convert NULL specific_object to "/",
7576 which is used in place of NULL
7579 - (impl_manager_activate_device): convert "/" specific_object back into
7582 2007-10-16 Tambet Ingo <tambet@gmail.com>
7584 Implement a generic NMSetting creator from setting name.
7585 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7586 add a virtual function 'populate_fn'.
7588 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7589 (register_default_creators): Register setting creators instead of functions
7590 that create and then populate.
7591 (parse_one_setting): Use the common setting creator and then setting specific
7592 poplulation function.
7594 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7595 they all looked exactly the same.
7596 Add a 'populate_fn' virtual function to NMSetting.
7597 Use default virtual functions in case they are not overriden.
7598 (nm_setting_populate_from_hash): Implement.
7600 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7601 name, use a defined string.
7602 (real_act_stage4_get_ip4_config): Ditto.
7604 2007-10-16 Tambet Ingo <tambet@gmail.com>
7606 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7607 HAL is int, not uint.
7609 2007-10-15 Tambet Ingo <tambet@gmail.com>
7611 Implement killswitch polling through HAL.
7613 * src/nm-manager.c: Add wireless hardware status property. Add
7614 'properties-changed' signal for changes in wireless and wireless hardware
7617 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7618 and update NMManager's wireless hardware state when it has changed.
7619 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7622 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7623 values of wireless state and wireless hardware state. Listen for the
7624 'properties-changed' signals, update the cached values and emit notify.
7626 * include/NetworkManager.h: Fix a typo in a comment.
7628 2007-10-14 Dan Williams <dcbw@redhat.com>
7630 * libnm-util/nm-setting.c
7631 - (setting_wireless_security_need_secrets): handle LEAP secrets
7633 2007-10-13 Dan Williams <dcbw@redhat.com>
7635 * libnm-util/nm-setting.h
7636 libnm-util/nm-setting.c
7637 src/supplicant-manager/nm-supplicant-config.c
7638 - Make the 'proto' field of the 802-11-wireless-security field a
7641 2007-10-12 Tambet Ingo <tambet@gmail.com>
7643 Rework the "properties-changed" signal listening implementation.
7644 Add a generic implementation to NMObject class that listens for
7645 the signal and calls property setters of the target NMObject.
7647 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7649 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7650 code to the end of file so that all the static functions are available
7651 without extra declarations.
7652 Remove the "properties-changed" signal handling and use the framework from
7654 Implement property setters for properties that change with
7655 "properties-changed" signal.
7657 * libnm-glib/nm-access-point.c: Ditto.
7659 2007-10-12 Tambet Ingo <tambet@gmail.com>
7661 Rework the "properties-changed" signal implementation.
7662 In classes that need to use it, just emit "GObject::notify" and the new
7663 framework takes care of the rest to make the signal available on dbus.
7664 The framework queues the notifications and tries to send as many together
7665 in one signal as possible.
7667 * src/nm-properties-changed-signal.c:
7668 * src/nm-properties-changed-signal.h: Implement.
7670 * src/Makefile.am: Add new files to build.
7672 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7675 * src/nm-device-802-11-wireless.c: Ditto.
7677 2007-10-10 Dan Williams <dcbw@redhat.com>
7680 - (wait_for_connection_expired): ensure info is valid
7681 - (connection_added_default_handler): Should only remove pending
7682 connection info when the manager has the connection that it's
7683 waiting for. Fixes segfault in wait_for_connection_info().
7685 2007-10-10 Dan Williams <dcbw@redhat.com>
7687 * libnm-util/nm-setting.c
7688 libnm-util/nm-setting.h
7689 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7690 can use if they choose. Should be filled in by the settings service
7691 on-the-fly with the currently logged in user's username
7693 2007-10-10 Dan Williams <dcbw@redhat.com>
7695 * src/nm-device-802-11-wireless.c
7696 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7697 as such, because even if the manager fills in the SSID, NM still
7698 has to indicate to wpa_supplicant that the AP isn't broadcasting
7701 2007-10-10 Tambet Ingo <tambet@gmail.com>
7703 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7704 code that used NM's own version of dbus signal handling and custom dictionary
7705 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7706 and we get to maintain over 2000 lines less code.
7708 * libnm-util/dbus-dict-helpers.c:
7709 * libnm-util/dbus-dict-helpers.h: Remove.
7711 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7713 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7715 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7718 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7720 * configure.in: Remove test/libnm-util/Makefile creation.
7722 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7724 * test/libnm-util/: Remove the whole directory.
7726 2007-10-10 Tambet Ingo <tambet@gmail.com>
7728 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7729 device_state_changed_idle_id variable or it would contain some random value and the
7730 schedule_change_check calls would not do anything.
7732 2007-10-09 Dan Williams <dcbw@redhat.com>
7734 * src/nm-device-802-11-wireless.c
7735 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7736 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7737 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7738 merging of non-SSID-broadcasting APs
7740 2007-10-09 Tambet Ingo <tambet@gmail.com>
7742 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7743 "guint8 *" since it's usually used with GByteArray->data.
7744 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7746 2007-10-09 Tambet Ingo <tambet@gmail.com>
7748 * src/NetworkManagerUtils.c
7749 (nm_utils_is_empty_ssid):
7750 (nm_utils_escape_ssid):
7751 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7752 lot of places, so they belong to libnm-utils instead.
7754 Now with 100% less compiler warnings:
7756 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7757 (nm_dbus_unescape_object_path): Ditto.
7758 (nm_utils_ssid_to_utf8): Ditto.
7759 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7760 (nm_utils_escape_ssid): Ditto.
7761 (nm_utils_same_ssid): Ditto.
7763 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7764 (add_one_connection_element): Remove an unused variable.
7765 (impl_manager_get_active_connections): Ditto.
7767 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7770 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7771 from the previous commit.
7773 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7774 (real_act_stage1_prepare): Ditto.
7775 (activation_success_handler): Ditto.
7776 (get_property): Ditto.
7778 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7781 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7784 * src/supplicant-manager/nm-supplicant-config.c
7785 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7786 to expected "char *".
7787 (nm_supplicant_config_add_setting_wireless): Ditto.
7788 (nm_supplicant_config_remove_option): Remove, not used.
7790 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7792 (test_wireless_enabled): Ifdef out unused function.
7793 (device_deactivate): Ditto.
7794 (device_state_changed): Ditto.
7795 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7796 (nm_utils_escape_ssid): Ditto.
7798 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7799 (nm_utils_is_empty_ssid): Ditto.
7801 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7804 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7805 (setting_vpn_properties_update_secrets): Ditto.
7806 (int_to_gvalue): Ifdef out for now, not used.
7807 (byte_to_gvalue): Ditto.
7809 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7812 2007-10-08 Tambet Ingo <tambet@gmail.com>
7814 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7815 about dbus manager, not named manager.
7816 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7818 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7819 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7820 However, the same signal is emitted when we destroy it and there's
7821 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7823 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7824 releasing the DBusGConnection, since proxy needs a conneciton.
7825 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7827 2007-10-08 Dan Williams <dcbw@redhat.com>
7829 * src/NetworkManager.c
7830 - (main): error on unknown command-line options
7832 2007-10-08 Dan Williams <dcbw@redhat.com>
7834 Reimplement the invalid connection list. Don't try to re-activate a
7835 connection that just failed or was canceled.
7838 - (connection_secrets_failed_cb): fail device activation, don't just
7839 deactivate the device. Listeners have to know about the failure.
7841 * src/NetworkManagerPolicy.c
7842 - (nm_policy_auto_get_best_device): exclude invalid connections from
7843 the connection list given to a device's get_best_connection()
7845 - (device_state_changed): tag failed connections as invalid; clear the
7846 tag from successful connections
7848 2007-10-08 Dan Williams <dcbw@redhat.com>
7850 Fix problems with interrupted activation. Previously, choosing an AP
7851 from the menu, then choosing another one before the first connection was
7852 successful wouldn't deactivate the device before starting the new connection
7853 on that same device.
7855 * src/NetworkManagerPolicy.c
7856 - (deactivate_old_device, device_state_changed, state_changed,
7857 nm_policy_new): wrong place to deactivate old devices
7860 - (pending_connection_info_destroy, finalize,
7861 wait_for_connection_expired): decouple destruction of the pending
7862 connection info from the manager device
7863 - (connection_added_default_handler): deactivate any active or
7864 activating device before starting a new activation
7865 - (impl_manager_activate_device): deactivate any active or activating
7866 device before starting a new activation; be sure not to leak
7867 pending connection info if a new activation request arrives but
7868 there's already a pending one in-process
7870 2007-10-08 Dan Williams <dcbw@redhat.com>
7872 * src/NetworkManagerAP.h
7873 src/NetworkManagerAP.c
7874 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7875 should handle default SSIDs and whether or not to autoconnect
7878 2007-10-08 Dan Williams <dcbw@redhat.com>
7880 * src/NetworkManagerPolicy.c
7881 - (nm_policy_device_change_check): print out connection name where
7884 2007-10-08 Dan Williams <dcbw@redhat.com>
7886 * src/nm-device-802-11-wireless.c
7887 src/nm-device-802-11-wireless.h
7888 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7889 'hidden-ap-found' signal (for internal use only) that allows the
7890 NMManager to fill in the AP's SSID if a connection has that AP's
7891 BSSID in its seen-bssids list
7894 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7895 wireless device's hidden-ap-found signal and fill in the APs SSID
7898 2007-10-07 Dan Williams <dcbw@redhat.com>
7902 - Add a 'connections-added' signal to batch together updates of large
7903 numbers of connections, like when reading from a settings service
7904 the first time. Otherwise, the policy would just activate the first
7905 suitable connection it saw rather than waiting for the full list
7907 - (nm_manager_class_init): register new signal
7908 - (get_type_for_proxy, connection_get_settings_cb,
7909 get_connection_for_proxy): centralize places where a proxy's setting
7910 service is determined
7911 - (free_get_settings_info): if the call being freed is the last call
7912 in a pending call group, fire off the connections-added signal
7913 - (internal_new_connection_cb): add call to a pending call group if
7915 - (list_connections_cb): always create a call group here, because this
7916 call results in a batch of new connections
7917 - (initial_get_connections): start getting system connections first
7918 - (nm_manager_connections_destroy, emit_removed): actually emit the
7919 removed signal when destroying connections
7921 * src/NetworkManagerPolicy.c
7922 - (nm_policy_new, connections_added): handle connections-added signal
7925 2007-10-06 Dan Williams <dcbw@redhat.com>
7927 * src/nm-device-802-11-wireless.c
7928 - (constructor): fix leaked socket
7930 2007-10-06 Dan Williams <dcbw@redhat.com>
7932 * src/NetworkManagerPolicy.c
7933 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7934 connection in the list returned by nm_manager_get_connections() is
7935 reffed, but they weren't getting unreffed before returning
7937 2007-10-06 Dan Williams <dcbw@redhat.com>
7940 - (connections_to_slist): sort connections first on autoconnect, then
7943 2007-10-06 Dan Williams <dcbw@redhat.com>
7945 * libnm-util/nm-connection.c
7946 - (gvalue_to_string): handle UINT64
7948 2007-10-06 Dan Williams <dcbw@redhat.com>
7950 * src/NetworkManagerPolicy.c
7951 - (connection_updated, nm_policy_new): recheck state when a connection
7954 2007-10-06 Dan Williams <dcbw@redhat.com>
7958 - (nm_manager_get_connection_dbus_path): make static
7959 - (nm_manager_update_connections): remove; unused
7960 - Add a connection-updated signal
7961 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7962 handle connection object updates
7964 2007-10-06 Dan Williams <dcbw@redhat.com>
7966 * src/NetworkManagerPolicy.c
7967 - (connection_removed): deactivate removed connections
7969 2007-10-06 Dan Williams <dcbw@redhat.com>
7971 * libnm-util/nm-connection.c
7972 libnm-util/nm-connection.h
7973 - (nm_connection_replace_settings): new function
7975 2007-10-06 Dan Williams <dcbw@redhat.com>
7977 * libnm-glib/nm-device-802-11-wireless.c
7978 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7979 on error when getting the active access point over D-Bus from NM
7981 2007-10-05 Dan Williams <dcbw@redhat.com>
7983 * libnm-util/nm-setting.c
7984 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7985 to the NMSettingWireless table; it's now a string array not an array
7988 2007-10-05 Dan Williams <dcbw@redhat.com>
7990 * libnm-glib/nm-device-802-11-wireless.c
7991 - Cache properties and update cached properties on D-Bus signals from NM
7993 2007-10-05 Dan Williams <dcbw@redhat.com>
7995 * src/nm-device-802-11-wireless.c
7996 - (set_current_ap): consolidate current_ap handling code into one place
7997 to ensure that PropertiesChanged signals are emitted in all cases
7998 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7999 nm_device_802_11_wireless_dispose): use set_current_ap()
8001 2007-10-05 Dan Williams <dcbw@redhat.com>
8003 * libnm-glib/nm-access-point.c
8004 libnm-glib/nm-access-point.h
8005 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8006 because the value is cached internally now. Callers should not
8007 free the internal value.
8008 - Make signal name defines private
8011 libnm-glib/libnm-glib-test.c
8012 - Don't free value returned from nm_access_point_get_hw_address()
8014 2007-10-04 Dan Williams <dcbw@redhat.com>
8016 * introspection/nm-device-802-11-wireless.xml
8017 src/nm-device-802-11-wireless.h
8018 src/nm-device-802-11-wireless.c
8019 - Add a PropertiesChanged signal for wireless device
8020 - Store currently associated access point
8021 - (periodic_update): generalize; update rate here too and emit the
8022 correct PropertiesChanged signal when stuff changes
8023 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8024 real_activation_cancel_handler): clear current_ap when device is
8026 - (link_to_specific_ap, get_ap_blacklisted,
8027 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8029 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8031 - (real_set_hw_address): emit property changed signal if the card's
8033 - (real_act_stage1_prepare): set the initial current_ap to the AP
8034 the card is supposed to be connecting to
8035 - (activation_success_handler): send out property updates on successful
8037 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8038 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8039 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8040 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8041 is now boxed; add PropertiesChanged signal
8043 2007-10-04 Dan Williams <dcbw@redhat.com>
8045 * libnm-util/nm-connection.c
8046 libnm-util/nm-connection.h
8047 - (nm_connection_verify): new function
8049 2007-10-04 Dan Williams <dcbw@redhat.com>
8051 * libnm-util/nm-setting.c
8052 - (nm_settings_verify): use #defines when possible rather than strings
8053 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8054 - (setting_vpn_verify): tighter validity check on 'service_type'
8056 2007-10-04 Dan Williams <dcbw@redhat.com>
8058 * libnm-glib/nm-settings.c
8059 - (nm_connection_settings_class_init): provide correct type for argument
8060 to the Updated signal so that dbus-glib knows how to marshal it
8062 2007-10-03 Dan Williams <dcbw@redhat.com>
8064 * src/nm-device-802-3-ethernet.c
8065 - (real_get_best_connection): don't create automatic connections
8066 internally; clients should provide a setting that applies to
8067 the device with 'autoconnect: True'. Problem was that these
8068 internally auto-created connections don't have a proxy or service
8069 name becuase they weren't created by a settings daemon, and therefore
8070 clients have no idea what to do with them.
8072 2007-10-03 Dan Williams <dcbw@redhat.com>
8074 * src/nm-device-802-11-wireless.c
8075 src/nm-device-802-11-wireless.h
8076 introspection/nm-device-802-11-wireless.xml
8077 - GetActiveNetworks -> GetAccessPoints
8078 - ActiveNetwork -> ActiveAccessPoint
8079 - NetworkAdded -> AccessPointAdded
8080 - NetowrkRemoved -> AccessPointRemoved
8082 * libnm-glib/nm-device-802-11-wireless.c
8083 libnm-glib/nm-device-802-11-wireless.h
8084 - network-added signal -> access-point-added
8085 - network-removed signal -> access-point-removed
8086 - nm_device_802_11_wireless_get_active_network() ->
8087 nm_device_802_11_wireless_get_active_access_point()
8088 - nm_device_802_11_wireless_get_network_by_path() ->
8089 nm_device_802_11_wireless_get_access_point_by_path()
8090 - nm_device_802_11_wireless_get_networks() ->
8091 nm_device_802_11_wireless_get_access_points()
8093 * libnm-glib/libnm-glib-test.c
8095 src/NetworkManagerPolicy.c
8096 - Fixups for Network -> AccessPoint
8098 2007-10-03 Dan Williams <dcbw@redhat.com>
8100 Add a GetActiveConnections() method on the Manager object.
8104 introspection/nm-manager.xml
8105 - (connection_get_settings_cb): keep connection type around too
8106 - (impl_manager_get_active_connections, add_one_connection_element):
8107 implement; returns all active connections and what devices they
8110 * libnm-glib/nm-client.c
8111 libnm-glib/nm-client.h
8112 introspection/nm-manager-client.xml
8113 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8114 by the caller; free here to avoid memory leak
8115 - (nm_client_get_active_connections): implement; return the list of
8117 - (nm_client_free_active_connection_element): implement; free an element
8118 of the GSList returned by nm_client_get_active_connections()
8120 2007-10-03 Dan Williams <dcbw@redhat.com>
8122 * src/nm-device-802-11-wireless.c
8123 - (nm_device_802_11_wireless_update_bssid): remove
8124 - (get_active_ap): new function; find the AP in the scan list which
8125 matches the current BSSID and SSID of the wireless device
8126 - (nm_device_802_11_periodic_update): get current AP using
8127 get_active_ap() and print AP roam messages
8129 2007-10-01 Dan Williams <dcbw@redhat.com>
8131 * libnm-util/nm-setting.h
8132 - Add a 'timestamp' option to NMSettingConnection
8135 * libnm-util/nm-setting.c
8136 - (uint64_to_gvalue): new function
8137 - (nm_setting_populate_from_hash, nm_setting_hash,
8138 default_setting_clear_secrets): handle UINT64 type
8139 - con_table: add 'timestamp' member
8141 2007-10-01 Dan Williams <dcbw@redhat.com>
8144 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8145 value when the connection can be activated immediately
8147 2007-10-01 Dan Williams <dcbw@redhat.com>
8149 * libnm-glib/nm-device.c
8150 - (nm_device_class_init): actually tell glib about the carrier-changed
8153 2007-10-01 Dan Williams <dcbw@redhat.com>
8156 src/marshallers/Makefile.am
8157 src/marshallers/nm-marshal.list
8158 src/marshallers/nm-marshal-main.c
8159 - Consolidate glib marshallers into one place
8161 * src/dhcp-manager/Makefile.am
8162 src/dhcp-manager/nm-dhcp-manager.c
8163 src/supplicant-manager/Makefile.am
8164 src/supplicant-manager/nm-supplicant-manager.c
8165 src/supplicant-manager/nm-supplicant-interface.c
8166 src/ppp-manager/Makefile.am
8167 src/ppp-manager/nm-ppp-manager.c
8168 src/vpn-manager/Makefile.am
8169 src/vpn-manager/nm-vpn-connection.c
8171 - Use consolidated marshallers
8173 * src/dhcp-manager/nm-dhcp-marshal.list
8174 src/dhcp-manager/nm-dhcp-marshal-main.c
8175 src/supplicant-manager/nm-supplicant-marshal-main.c
8176 src/supplicant-manager/nm-supplicant-marshal.list
8177 src/nm-marshal-main.c
8179 src/ppp-manager/nm-ppp-marshal-main.c
8180 src/ppp-manager/nm-ppp-marshal.list
8181 src/vpn-manager/nm-vpn-marshal-main.c
8182 src/vpn-manager/nm-vpn-marshal.list
8185 2007-10-01 Dan Williams <dcbw@redhat.com>
8187 * include/NetworkManagerVPN.h
8188 - define VPN connection state change reason codes
8190 * src/vpn-manager/Makefile.am
8191 src/vpn-manager/nm-vpn-marshal.list
8192 src/vpn-manager/nm-vpn-marshal-main.c
8193 - Add marshallers for StateChanged signal
8195 * introspection/nm-vpn-connection.xml
8196 - New Banner property
8197 - StateChanged signal now includes a 'reason' argument
8199 * src/vpn-manager/nm-vpn-connection.c
8200 src/vpn-manager/nm-vpn-connection.h
8201 - Add a "Banner" property that contains the returned VPN server login
8202 banner (if any); valid only in the ACTIVATED state
8203 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8204 a 'reason' argument and emits that reason along with the
8205 state-changed signal
8206 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8207 - (nm_vpn_connection_ip4_config_get): save banner for later
8208 - (nm_vpn_connection_get_banner, get_property,
8209 nm_vpn_connection_class_init): implement Banner property
8211 * src/vpn-manager/nm-vpn-service.c
8212 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8213 connection list because elements may get added/removed from it
8214 while iterating over the list
8215 - (connection_state_changed): signal now includes the 'reason' argument
8217 * libnm-glib/nm-vpn-connection.c
8218 libnm-glib/nm-vpn-connection.h
8219 - (nm_vpn_connection_get_banner): new function
8220 - (state_changed_proxy): handle reason argument
8222 2007-09-28 Tambet Ingo <tambet@gmail.com>
8226 Implement device activation through NMManager.
8227 Implement "pending device activation" here - If the connection isn't found,
8228 we try to wait for up to 5 seconds for the connection to be provided.
8229 Add NMConnectionType argument to "connection-added" and "connection-removed"
8231 (nm_manager_get): Remove. Finally.
8233 * src/nm-activation-request.c:
8234 * src/nm-activation-request.h:
8235 Remove all the deferred activation code.
8237 * src/nm-device.c: Remove all the deferred activation code. Once the device
8238 activation is started, it's started. Update the activation virtual function
8241 * src/nm-device-interface.c:
8242 * src/nm-device-interface.h:
8243 Device activation now takes only NMActRequest argument.
8244 Don't expose device activation directly on dbus, it's supposed to go through
8247 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8249 Use the new device activation methods through NMManager.
8251 * introspection/nm-manager-client.xml:
8252 * introspection/nm-manager.xml:
8253 * libnm-glib/nm-client.c:
8254 * libnm-glib/nm-client.h:
8255 Add device activation method.
8257 * libnm-glib/nm-device.c:
8258 * libnm-glib/nm-device.h:
8259 * introspection/nm-device.xml:
8260 Remove device activation method. It's done through NMManager now.
8262 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8263 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8265 2007-09-28 Dan Williams <dcbw@redhat.com>
8267 * libnm-glib/nm-vpn-connection.c
8268 - (nm_vpn_connection_get_state): try to update state if the current
8271 2007-09-27 Dan Williams <dcbw@redhat.com>
8273 Patch from Bill Nottingham
8275 * src/supplicant-manager/nm-supplicant-config.c
8276 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8277 data to the supplicant
8279 2007-09-27 Dan Williams <dcbw@redhat.com>
8281 * src/NetworkManagerSystem.c
8282 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8283 and all address manipulation here should be happening on the
8284 _VPN_ device, not the active device
8286 2007-09-26 Dan Williams <dcbw@redhat.com>
8290 src/nm-activation-request.c
8291 src/nm-activation-request.h
8292 - Move the GetSecrets stuff out of the NMManager instance because it
8293 doesn't really need to be there and complicates things
8296 - (connection_secrets_failed_cb, device_activation_go): connect to the
8297 connection-secrets-failed signal and deactivate the device if
8298 the GetSecrets call fails
8300 * src/nm-device-802-11-wireless.c
8301 - (link_timeout_cb, supplicant_connection_timeout_cb,
8302 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8303 secrets and give correct hints about whether new secrets should be
8304 asked for by the client or not
8306 2007-09-26 Dan Williams <dcbw@redhat.com>
8308 * src/vpn-manager/nm-vpn-connection.c
8309 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8310 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8311 to the secrets-updated signal of the NMConnection since updating
8312 the secrets is done within the scope of the NMVPNConnection object
8314 - (get_connection_secrets): fix an uninialized variable usage error
8316 2007-09-26 Dan Williams <dcbw@redhat.com>
8318 * libnm-util/nm-setting.c
8319 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8320 actually get updated when the user enters them
8322 2007-09-26 Dan Williams <dcbw@redhat.com>
8324 * libnm-glib/nm-vpn-plugin.c
8325 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8327 2007-09-26 Dan Williams <dcbw@redhat.com>
8329 * include/NetworkManagerVPN.h
8330 - Add a NEED_AUTH state
8332 * src/vpn-manager/nm-vpn-connection.c
8333 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8334 the connection needs secrets, and if so, then ask the settings
8335 service to fill in the secrets. Then start the connection.
8337 2007-09-26 Dan Williams <dcbw@redhat.com>
8339 * src/vpn-manager/nm-vpn-manager.c
8340 - (new_vpn_error, impl_vpn_manager_connect): set errors
8342 2007-09-26 Dan Williams <dcbw@redhat.com>
8344 * introspection/nm-vpn-plugin.xml
8345 libnm-glib/nm-vpn-plugin.c
8346 libnm-glib/nm-vpn-plugin.h
8347 - (impl_vpn_plugin_need_secrets): implement a call that should return
8348 the name of the NMSetting in an NMConnection that may require
8349 secrets specific to that VPN plugin
8351 2007-09-26 Dan Williams <dcbw@redhat.com>
8355 - (nm_manager_get_connection_secrets): make static, unused outside
8357 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8359 2007-09-26 Tambet Ingo <tambet@gmail.com>
8361 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8363 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8364 unreference the connection.
8366 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8367 passing properties hash and routes string list, pass NMConnection (in hashed form).
8369 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8370 as GSList, no need to copy stuff around anymore.
8371 (nm_vpn_connection_activate): Update the plugin activation method.
8373 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8374 routes argument to GSList.
8376 2007-09-26 Tambet Ingo <tambet@gmail.com>
8378 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8379 state and try to get the secrets.
8381 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8382 connections from NMManager and let the device to choose the best from the list.
8383 Since the connection list is sorted by system ones first and user ones later,
8384 the devices still prefer system connections like they did before.
8385 (deactivate_old_device): Implement. When a device starts activation, we have a
8386 policy (for now at least) to deactivate any other device that might be either
8387 active or still activating.
8389 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8390 It's set on construction, there will be no other way to access it.
8392 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8393 device events and drive the device, not the other way around.
8395 * src/nm-device-802-3-ethernet.c: Ditto.
8397 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8398 sent along, pass it on to virtual functions.
8400 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8401 for now, but should really be public instead of nm_device_get_iface() since iface
8402 is a property of the DeviceInterface, not Device.
8403 (impl_device_activate): Don't touch NMManager!
8405 2007-09-26 Jürg Billeter <j@bitron.ch>
8407 * initscript/paldo/NetworkManager.in:
8408 * initscript/paldo/NetworkManagerDispatcher.in:
8409 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8410 (nm_system_flush_loopback_routes): update paldo backend
8412 2007-09-26 Tambet Ingo <tambet@gmail.com>
8414 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8415 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8416 which means none of the devices get brought down properly, which in turn leaves
8417 DHCP client running.
8419 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8420 (supplicant_connection_timeout_cb): Ditto.
8422 2007-09-25 Dan Williams <dcbw@redhat.com>
8425 - (device_activation_go): small hack to work around race when
8426 activating deferred connections; should solve this in a better way
8428 2007-09-25 Dan Williams <dcbw@redhat.com>
8430 * introspection/nm-device.xml
8431 libnm-glib/nm-device.c
8432 libnm-glib/nm-device.h
8433 - Add 'Carrier' property to exported NMDevice objects
8435 * src/nm-device-interface.h
8436 src/nm-device-interface.c
8438 - Add a 'carrier' property to internal NMDevice objects
8440 2007-09-25 Dan Williams <dcbw@redhat.com>
8442 * src/nm-device-802-11-wireless.c
8443 - (ap_auth_enforced): also return the encryption status of the AP so
8444 that callers can differentiate easily between unencrypted APs
8445 and encrypted ones, in addition to whether the AP has an
8447 - (link_timeout_cb, supplicant_connection_timeout_cb,
8448 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8449 previously would request secrets from unencrypted APs at times
8451 2007-09-25 Dan Williams <dcbw@redhat.com>
8454 - (nm_manager_update_state): new function; updates state and emits
8455 appropriate signals ensuring a state-change signal for the same state
8456 never gets emitted twice in a row.
8457 - (manager_device_state_changed): handle more device state to get a
8458 better picture of the overall NM state
8460 2007-09-25 Dan Williams <dcbw@redhat.com>
8462 * libnm-glib/nm-settings.c
8463 libnm-glib/nm-settings.h
8464 - (new_error -> nm_settings_new_error): make public so that subclasses
8465 can use the same error domain. Also pass a valid error code to
8466 g_error_new_literal() so that libdbus doesn't assert when converting
8467 the GError into a DBusError
8468 - (impl_settings_list_connections, impl_connection_settings_get_id,
8469 impl_connection_settings_get_settings,
8470 impl_connection_settings_get_secrets): use new error creator
8473 2007-09-25 Dan Williams <dcbw@redhat.com>
8475 * src/NetworkManager.c
8476 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8478 2007-09-25 Dan Williams <dcbw@redhat.com>
8480 * src/supplicant-manager/nm-supplicant-manager.c
8481 - (poke_supplicant_cb, nm_supplicant_manager_init,
8482 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8483 nm_supplicant_manager_startup): when the supplicant isn't running,
8484 try to start it periodically via system bus activation. Fixes
8485 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8486 for the supplicant to come back
8488 2007-09-25 Dan Williams <dcbw@redhat.com>
8490 Ensure that old activation requests are forgotten about; previously
8491 hitting Cancel in the password dialog would deactivate whatever device
8492 that password was requested for, even if that wasn't the currently
8493 activating connection.
8497 - (nm_manager_get_connection_secrets): track the pending call
8498 object so it can be canceled later if needed
8499 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8500 GetSecrets call for a particular connection
8502 * src/nm-activation-request.c
8503 - (dispose): cancel any outstanding GetSecrets calls on the
8506 2007-09-25 Dan Williams <dcbw@redhat.com>
8508 * src/NetworkManagerPolicy.c
8509 - (nm_policy_device_change_check): handle devices that have a
8510 deferred activation. These devices are not really active _yet_,
8511 but need to be treated as such here. Don't interrupt them
8514 * src/nm-device-interface.c
8515 - (impl_device_activate): handle devices that have a deferred activation
8516 like activating or active devices. When multiple active devices
8517 get committed, the device shouldn't be deactivated until the
8518 connection details are available to avoid DoS and such. Currently,
8519 any active, activating, or deferred activation device is deactivated
8520 here before starting the new activation request.
8522 2007-09-25 Dan Williams <dcbw@redhat.com>
8524 Properly re-query secrets from the settings daemon when stuff fails.
8526 * src/nm-device-802-11-wireless.c
8527 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8528 between Shared Key and Open System auth modes
8529 - (link_timeout_cb, supplicant_connection_timeout_cb,
8530 real_act_stage4_ip_config_timeout): clear existing secrets and
8531 request new ones when something fails due to a suspected wrong key
8532 - (real_act_stage2_config): fix for new request_new argument to
8533 nm_manager_get_connection_secrets()
8537 - (nm_manager_get_connection_secrets): return error status; pass
8538 new request_new argument on to the settings daemon
8540 * introspection/nm-settings-connection.xml
8541 - New 'request_new' argument to the GetSecrets call that hints to the
8542 settings daemon to ask the user for completely new secrets
8544 * libnm-glib/nm-settings.c
8545 libnm-glib/nm-settings.h
8546 - (impl_connection_settings_get_secrets): handle new 'request_new'
8549 2007-09-25 Dan Williams <dcbw@redhat.com>
8551 * libnm-util/nm-connection.c
8552 libnm-util/nm-connection.h
8553 - (nm_connection_clear_secrets): new function; clear secrets out of
8554 each NMSetting in an NMConnection
8556 * libnm-util/nm-setting.h
8557 libnm-util/nm-setting.c
8558 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8559 secrets out of an NMSetting
8560 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8561 nm_setting_wired_new, nm_setting_wireless_new,
8562 nm_setting_wireless_security_new, nm_setting_ppp_new,
8563 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8564 to default handler default_setting_clear_secrets()
8566 2007-09-25 Dan Williams <dcbw@redhat.com>
8568 * src/nm-activation-request.c
8569 src/nm-activation-request.h
8570 - (nm_act_request_is_deferred): new function
8572 2007-09-24 Dan Williams <dcbw@redhat.com>
8574 * src/nm-device-802-11-wireless.c
8575 - (activation_success_handler): update signal strength immediately
8578 2007-09-24 Dan Williams <dcbw@redhat.com>
8580 * libnm-util/nm-setting.c
8581 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8583 2007-09-24 Dan Williams <dcbw@redhat.com>
8585 * src/NetworkManagerPolicy.c
8586 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8587 device by deactivating it because it doesn't have a "best connection".
8588 Since autoconnect=False connections aren't automatically chosen,
8589 NM would interrupt activation of such a connection because it
8590 would never be "best" due to autoconnect=False.
8592 2007-09-24 Dan Williams <dcbw@redhat.com>
8595 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8596 actually has some time to enter a key before the GetSecrets call
8599 2007-09-24 Dan Williams <dcbw@redhat.com>
8601 * introspection/nm-manager.xml
8603 - (impl_manager_legacy_state): fix 'state' method call return value
8605 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8607 * test/Makefile.am: Install nm-tool
8609 2007-09-24 Dan Williams <dcbw@redhat.com>
8611 Patch from Ross Burton <ross@burtonini.com>
8614 callouts/nm-dhcp-client-action.c
8616 src/vpn-manager/nm-vpn-connection.c
8617 libnm-glib/libnm-glib-test.c
8620 2007-09-24 Dan Williams <dcbw@redhat.com>
8622 * libnm-util/nm-utils.h
8623 libnm-util/nm-utils.c
8624 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8627 2007-09-23 Dan Williams <dcbw@redhat.com>
8629 * vpn-daemons/vpnc/properties/nm-vpnc.c
8630 - Update for new VPN properties API bits; instead of passing around
8631 a lot of random things, everything goes into the NMConnection
8634 2007-09-23 Dan Williams <dcbw@redhat.com>
8636 * libnm-util/nm-setting.c
8637 - Correctly dispose of settings objects if creating them from a hash
8640 2007-09-23 Dan Williams <dcbw@redhat.com>
8642 * libnm-util/nm-setting.c
8643 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8644 the hash table in a standard manner. Clients of libnm-util should
8645 only call g_hash_table_remove_all(), never destroy the hash table
8648 2007-09-22 Dan Williams <dcbw@redhat.com>
8650 * src/nm-device-802-11-wireless.c
8651 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8652 real reason to do it so often, and reduces wakeups for clients.
8654 2007-09-21 Dan Williams <dcbw@redhat.com>
8656 * src/nm-device-802-11-wireless.c
8657 - (build_supplicant_config): wpa_supplicant requires the option
8658 key_mgmt=NONE for unencrypted networks
8659 - (real_act_stage2_config): clarify log message on activation
8661 2007-09-21 Dan Williams <dcbw@redhat.com>
8663 * test/nm-supplicant-test.c
8665 - Remove supplicant test binary; no longer applicable
8667 2007-09-21 Dan Williams <dcbw@redhat.com>
8669 * src/supplicant-manager/nm-supplicant-manager.c
8670 - (nm_supplicant_manager_init): poke the supplicant at startup to
8671 activate it on the system bus
8673 2007-09-20 Dan Williams <dcbw@redhat.com>
8675 * initscript/RedHat/NetworkManager.in
8676 - dhcdbd is no longer used, so don't try to start it from the initscripts
8678 2007-09-20 Dan Williams <dcbw@redhat.com>
8681 - (nm_device_is_activating): work around a race between auto-activation
8682 and the user activating the same device that is being auto-activated
8684 2007-09-20 Dan Williams <dcbw@redhat.com>
8686 * src/nm-device-interface.c
8687 - (impl_device_activate): until multiple active device support lands,
8688 ensure only one device can be active at a time
8690 2007-09-20 Dan Williams <dcbw@redhat.com>
8692 * src/supplicant-manager/nm-supplicant-config.c
8693 src/supplicant-manager/nm-supplicant-config.h
8694 - (nm_supplicant_config_add_option): hide secrets from system logs
8696 2007-09-20 Dan Williams <dcbw@redhat.com>
8698 * src/NetworkManagerPolicy.c
8699 - (nm_policy_device_change_check): re-enable the wireless device change
8700 checking code; insted of checking for SSIDs, check for the same
8703 2007-09-20 Dan Williams <dcbw@redhat.com>
8705 * src/nm-device-802-11-wireless.c
8706 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8707 composite link state when determining when to start the disconnection
8708 timer; that link state is already based on the supplicant interface's
8709 status which is exactly what's already being examined, plus the link
8710 state is a conglomeration of various things that we don't want here
8712 2007-09-20 Dan Williams <dcbw@redhat.com>
8714 * libnm-glib/nm-access-point.c
8715 - (handle_property_changed): strength is a UCHAR
8717 2007-09-20 Dan Williams <dcbw@redhat.com>
8719 * src/supplicant-manager/nm-supplicant-config.c
8720 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8721 string list keywords too since that's what wpa_supplicant wants
8723 2007-09-20 Dan Williams <dcbw@redhat.com>
8725 * libnm-util/nm-setting.c
8726 - (convert_strv_to_slist): dupe the values in the list because since
8727 the list is a boxed value, it'll get destroyed when it's container
8728 (like a hash table or whatever) gets destroyed
8730 2007-09-20 Tambet Ingo <tambet@gmail.com>
8732 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8735 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8737 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8738 just use (g_object_set_data_full).
8740 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8741 that NMSettingVPN->routes is a GSList, convert it to char **.
8742 (nm_vpn_connection_ip4_config_get): Free routes when done.
8743 (nm_vpn_connection_activate): Ditto.
8745 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8746 (real_act_stage2_config): Use defined setting names.
8748 2007-09-20 Dan Williams <dcbw@redhat.com>
8750 * src/nm-device-802-11-wireless.c
8753 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8754 so that the device can be deactivated if secrets are wrong
8756 2007-09-20 Dan Williams <dcbw@redhat.com>
8758 * introspection/nm-settings-connection.xml
8759 libnm-glib/nm-settings.c
8760 libnm-glib/nm-settings.h
8761 - Make GetSecrets asynchronous on the server side
8763 2007-09-20 Dan Williams <dcbw@redhat.com>
8767 - (nm_device_activate): actually check if a given connection
8768 exists before assuming it doesn't
8770 2007-09-20 Tambet Ingo <tambet@gmail.com>
8772 * libnm-util/nm-connection.c (register_default_creators): Use defined
8773 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8775 * libnm-util/nm-setting.c: Define property name strings, use them.
8776 Implement NMSettingVPN and NMSettingVPNProperties settings.
8777 Implement NM_S_TYPE_GVALUE_HASH.
8778 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8779 (setting_connection_verify): Rename 'devtype' property to 'type'.
8781 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8784 * src/vpn-manager/nm-vpn-service.c: Ditto.
8786 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8788 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8789 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8791 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8792 names. NMSettingConnection->devtype got renamed to 'type'.
8794 * src/nm-device-802-3-ethernet.c (find_best_connection):
8795 (real_get_best_connection): Ditto.
8797 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8799 * libnm-glib/nm-vpn-manager.[ch]: Update.
8801 2007-09-19 Dan Williams <dcbw@redhat.com>
8803 * src/NetworkManagerAP.c
8804 src/NetworkManagerAP.h
8805 introspection/nm-access-point.xml
8806 - Change strength-changed signal into a properties-changed signal
8807 for all properties, not just strength. Export that signal over dbus
8808 so listeners don't have to poll NM for changes.
8809 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8810 get exported over D-Bus, so break up the logic and let other bits
8811 decided when to export the AP
8812 - (nm_ap_new_from_ap): remove, unused
8814 * src/nm-device-802-11-wireless.c
8815 - (merge_scanned_ap): only export APs that are actually on the device
8816 list, not every AP created internally
8818 * libnm-glib/nm-access-point.c
8819 libnm-glib/nm-access-point.h
8820 - Cache properties internally and only hit DBus when needed. Get
8821 property updates from NM signals
8823 2007-09-16 Dan Williams <dcbw@redhat.com>
8825 * libnm-util/nm-connection.c
8826 libnm-util/nm-connection.h
8827 - (nm_connection_for_each_setting_value): new function; iterate over
8828 each setting's value and call a user-provided function with details
8831 * libnm-util/nm-setting.c
8832 libnm-util/nm-setting.h
8833 - (nm_setting_enumerate_values): new function; enumerate the values
8834 of a specific NMSetting subclass for a user-provided function with
8835 details about that value
8836 - Change wep_tx_keyidx to a uint32
8837 - Create settings value tables for each setting defining their type,
8838 key name, offset into the NMSetting subclass' structure, and whether
8839 they are required and/or a secret
8840 - (nm_setting_populate_from_hash): generic function to populate an
8841 NMSetting from a GHash table, make all settings use it
8842 - (nm_setting_hash): generic function to derive a GHashTable from
8843 an NMSetting object, make all settings use it
8845 2007-09-14 Dan Williams <dcbw@redhat.com>
8847 Remove unused stuff in libnm-util
8850 libnm-util/Makefile.am
8851 libnm-util/cipher-private.h
8852 libnm-util/cipher-wep-ascii.c
8853 libnm-util/cipher-wep-ascii.h
8854 libnm-util/cipher-wep-hex.c
8855 libnm-util/cipher-wep-hex.h
8856 libnm-util/cipher-wep-passphrase.c
8857 libnm-util/cipher-wep-passphrase.h
8858 libnm-util/cipher-wpa-psk-hex.c
8859 libnm-util/cipher-wpa-psk-hex.h
8860 libnm-util/cipher-wpa-psk-passphrase.c
8861 libnm-util/cipher-wpa-psk-passphrase.h
8864 libnm-util/dbus-helpers.c
8865 libnm-util/dbus-helpers.h
8866 libnm-util/gnome-keyring-md5.c
8867 libnm-util/gnome-keyring-md5.h
8870 src/nm-device-802-11-wireless.c
8871 test/libnm-util/Makefile.am
8872 test/libnm-util/test-ciphers.c
8873 test/libnm-util/test-dbus-helpers.c
8874 test/libnm-util/test-inputs.h
8877 2007-09-14 Dan Williams <dcbw@redhat.com>
8879 * libnm-util/dbus-method-dispatcher.c
8880 libnm-util/dbus-method-dispatcher.h
8883 2007-09-14 Dan Williams <dcbw@redhat.com>
8885 Implement deferred activation support in the device class.
8887 * src/nm-device-interface.c
8888 src/nm-device-interface.h
8889 - (nm_device_interface_activate): take more arguments to support
8890 deferred activation; callers must pass one of (connection) OR
8891 (service_name, connection_path)
8892 - (impl_device_activate): connection validation is punted to the device
8893 to be able to handle deferred activation. Yes, this means errors
8894 don't get returned from the Activate() dbus call, and yes, that
8895 should be fixed somehow later.
8899 - (clear_act_request): clear additional deferred activation stuff too
8900 - (deferred_activation_timeout_cb): new function; clean up when
8901 deferred activation times out.
8902 - (deferred_activation_start_cb): new function; when the connection
8903 finally becomes available, start device activation
8904 - (nm_device_activate): attach to the right signals of the activation
8905 request if we need to defer activation until the connection is valid
8907 * src/NetworkManagerPolicy.c
8908 - (nm_policy_device_change_check): update for additional arguments
8909 required for nm_device_interface_activate(). Pass NULL for these
8910 though because this function already knows exactly which
8913 2007-09-14 Dan Williams <dcbw@redhat.com>
8915 Implement deferred activation handling in the NMActRequest class. When a
8916 client wants to activate a device but must create the NMConnection details
8917 on the fly, there likely hasn't been enough time yet for NM to receive the
8918 new connection signal and grab all the connection details. So the
8919 activation is deferred (and bounded by a timer) for a while, and if the
8920 connection appears within the window, it is activated.
8922 * src/nm-activation-request.c
8923 src/nm-activation-request.h
8924 - (nm_act_request_class_init): two new signals to support deferred
8925 activation, to allow the listener to handle both timeout and success
8926 - (nm_act_request_new_deferred): new function, starts the deferred
8927 activation timeout handler and listens to the NMManager for
8928 new-connection signals to notice when the connection comes in
8930 2007-09-14 Dan Williams <dcbw@redhat.com>
8934 - (nm_manager_get_connection_service_name,
8935 nm_manager_get_connection_dbus_path): get details about a connection
8936 known internally by the NMManager
8937 - (nm_manager_class_init): fix connection add/remove signal marshalers
8938 because NMConnection is now a GObject subclass
8939 - Use constant for the gobject data tag used on NMConnection objects for
8940 storing the associated DBusGProxy
8942 2007-09-14 Dan Williams <dcbw@redhat.com>
8947 src/supplicant-manager/Makefile.am
8948 src/dhcp-manager/Makefile.am
8949 src/backends/Makefile.am
8950 src/named-manager/Makefile.am
8951 src/ppp-manager/Makefile.am
8952 src/vpn-manager/Makefile.am
8953 test/libnm-util/Makefile.am
8954 test/test-common/Makefile.am
8955 - Remove utils/; it was unused
8957 2007-09-13 Dan Williams <dcbw@redhat.com>
8959 * libnm-glib/nm-vpn-manager.h
8960 libnm-glib/nm-vpn-manager.c
8961 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8963 2007-09-13 Dan Williams <dcbw@redhat.com>
8965 * src/nm-device-802-3-ethernet.c
8966 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8967 netlink monitor carrier signals on dispose, not bring down. The
8968 carrier signals should be handled over the entire lifetime of the
8969 device anyway, not created/destroyed on up or down.
8971 2007-09-13 Dan Williams <dcbw@redhat.com>
8973 * libnm-glib/nm-device.c
8974 libnm-glib/nm-device.h
8975 - (nm_device_activate): take a connection object path rather than an
8976 NMConnection because NMConnection isn't exported over D-Bus and
8977 therefore it dbus-glib can't automatically get an object path from it
8979 2007-09-13 Dan Williams <dcbw@redhat.com>
8981 * libnm-util/nm-setting.c
8982 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8984 2007-09-13 Tambet Ingo <tambet@gmail.com>
8986 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8988 2007-09-12 Tambet Ingo <tambet@gmail.com>
8990 * src/vpn-manager/nm-vpn-connection.[ch]:
8991 * src/vpn-manager/nm-vpn-manager.[ch]:
8992 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8993 dbus-glib, GObjects, signals etc.
8995 * libnm-glib/nm-vpn-manager.[ch]:
8996 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8997 so much, rewrite these too.
8999 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9000 the new introspection files.
9002 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9004 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9005 the header with the same name from libnm-utils.
9007 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9009 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9011 * introspection/nm-vpn-plugin.xml: Implement.
9013 * introspection/nm-vpn-connection.xml: Implement.
9015 * introspection/nm-vpn-manager.xml: Implement.
9017 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9018 the named manager argument, it can just as easily get it as the caller.
9019 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9021 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9023 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9025 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9028 * libnm-util/nm-connection.c: Ditto.
9030 * src/NetworkManagerMain.h: Remove, it's finally empty.
9032 * configure.in: Remove utils/ from build.
9034 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9035 of hard-coded strings.
9037 * utils/: Move it over to libnm-util.
9039 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9041 * dispatcher-daemon/Makefile.am: Ditto.
9043 * src/Makefile.am: Ditto.
9045 2007-09-12 Dan Williams <dcbw@redhat.com>
9047 Wireless connections can be made with config data from the applet now.
9051 * src/supplicant-manager/nm-supplicant-config.h
9052 src/supplicant-manager/nm-supplicant-config.c
9053 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9054 - (nm_supplicant_config_add_setting_wireless,
9055 nm_supplicant_config_add_setting_wireless_security): new functions;
9056 add key/value pairs from the settings objects to the supplicant
9059 * src/nm-device-802-11-wireless.c
9060 - (cull_scan_list): fix check to not prune currently associated AP
9061 - (build_supplicant_config, real_act_stage2_config): call the functions
9062 of the NMSupplicantConfig that parse settings objects rather than
9063 doing it manually here
9065 2007-09-12 Dan Williams <dcbw@redhat.com>
9067 * src/supplicant-manager/nm-supplicant-interface.c
9068 src/supplicant-manager/nm-supplicant-marshal.list
9069 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9070 "connection-error" signal arguments should be STRING not CHAR
9072 2007-09-12 Dan Williams <dcbw@redhat.com>
9074 * src/NetworkManagerUtils.c
9075 src/NetworkManagerUtils.h
9076 - (nm_utils_hexstr2bin): new function
9078 2007-09-11 Dan Williams <dcbw@redhat.com>
9081 - (connection_get_settings_cb): emit connection-added signal
9082 - (connection_removed_cb): uncomment bits for system settings service,
9083 send connection-removed when appropriate
9084 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9085 the stack by trying to g_object_set_data() on something that's
9086 not a GObject; handle case where settings service returns
9087 empty settings hash table
9089 2007-09-11 Dan Williams <dcbw@redhat.com>
9091 * src/NetworkManagerPolicy.c
9092 - (connection_added, connection_removed): trigger device change checks
9093 on connection changes
9095 2007-09-11 Dan Williams <dcbw@redhat.com>
9097 * src/nm-activation-request.c
9098 - (connection_secrets_updated_cb): fix c&p error in signal emission
9100 2007-09-11 Dan Williams <dcbw@redhat.com>
9102 * src/nm-device-802-11-wireless.c
9103 - (real_connection_secrets_updated): fix erroneous check
9105 2007-09-11 Dan Williams <dcbw@redhat.com>
9107 * introspection/nm-device.xml
9108 libnm-glib/nm-device.c
9109 libnm-glib/nm-device.c
9110 - Fix Activate call argument borkage; Activate takes 3 arguments
9112 2007-09-11 Dan Williams <dcbw@redhat.com>
9114 * libnm-glib/nm-access-point.c
9115 libnm-glib/nm-access-point.c
9116 - (nm_access_point_get_frequency): now returns guint32 to match
9117 property change on 2007-09-10
9119 2007-09-11 Dan Williams <dcbw@redhat.com>
9121 * src/nm-device-802-11-wireless.c
9122 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9123 somewhere defines 'index' and I missed this one when I fixed the
9124 shadow declaration errors earlier
9126 2007-09-11 Dan Williams <dcbw@redhat.com>
9128 * libnm-util/nm-connection.c
9129 - (nm_connection_update_secrets, need_secrets_check): move
9130 802-11-wireless-security need_secrets checks to the setting object
9131 itself, where it belongs
9133 * libnm-util/nm-setting.c
9134 libnm-util/nm-setting.h
9135 - (nm_setting_need_secrets): new function
9136 - (setting_wireless_security_verify,
9137 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9138 - (setting_wireless_security_need_secrets): mostly copy code over
9139 from nm-connection.c
9141 2007-09-11 Dan Williams <dcbw@redhat.com>
9143 * libnm-util/nm-setting.c
9144 libnm-util/nm-setting.h
9145 - (nm_setting_update_secrets): new function; add a virtual function that
9146 subclasses can implement to update their secrets
9147 - (setting_wireless_security_update_secrets): implement that function
9148 for the 802-11-wireless-security subclass
9150 * libnm-util/nm-connection.c
9151 libnm-util/nm-connection.h
9152 - (nm_connection_update_secrets): update secrets for a Setting and
9153 emit a signal on success
9158 - (connection_get_settings_cb): enable system settings bits
9159 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9160 to request secrets from the settings dbus service and to
9161 push those secrets to the NMConnection itself
9163 * src/nm-activation-request.c
9164 src/nm-activation-request.h
9165 - Attach to the 'secrets-updated' signal of the NMConnection that's
9166 currently being activated, and proxy that signal to other listeners.
9167 Goes through the activation request because the activation request
9168 is the thing that manages the lifetime of the NMConnection that's
9171 * src/nm-device-802-11-wireless.c
9172 - (real_connection_secrets_updated): implement the connection secrets
9173 updated notification and restart activation when secrets are
9175 - (real_act_stage2_config): request secrets from the settings dbus
9176 service if secrets are needed
9180 - (clear_act_request, nm_device_activation_cancel,
9181 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9182 where the activation request is cleared
9183 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9184 updated secrets signal of activation request and add a function
9185 that subclasses can override to handle it easily
9187 2007-09-11 Tambet Ingo <tambet@gmail.com>
9189 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9190 removal of NetworkManagerAPList.
9192 2007-09-10 Dan Williams <dcbw@redhat.com>
9194 * src/NetworkManagerAP.c
9195 src/NetworkManagerAP.h
9196 introspection/nm-access-point.xml
9197 - Change 'freq' property to a guint32 instead of a double since we
9198 weren't using the floating point bits anyway
9200 2007-09-10 Dan Williams <dcbw@redhat.com>
9202 * NetworkManagerAP.c
9204 NetworkManagerPolicy.c
9205 NetworkManagerSystem.c
9206 NetworkManagerUtils.c
9207 NetworkManagerUtils.h
9208 nm-device-802-11-wireless.c
9209 nm-device-802-3-ethernet.c
9212 vpn-manager/nm-dbus-vpn.c
9213 - Warning fixes; casts and removal of unused variables
9215 2007-09-10 Dan Williams <dcbw@redhat.com>
9217 * include/NetworkManager.h
9218 - Kill NMNetworkType; AP types don't matter any more
9220 * src/NetworkManagerAPList.c
9221 src/NetworkManagerAPList.h
9223 - Kill; NMAccessPointList has outlived it's usefulness
9225 * src/NetworkManagerAP.c
9226 src/NetworkManagerAP.h
9227 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9228 functions; check if an NMConnection object is compatible with the
9230 - (freq_to_channel, channel_to_freq): utility functions for
9231 channel <-> frequency conversion
9235 - (nm_device_get_best_connection): pass the specific object around
9236 (which might be the object path of a specific AP to connect to).
9237 The get_best_connection() call should populate this on return
9238 if needed (wireless does).
9240 * src/nm-device-802-3-ethernet.c
9241 - (real_get_best_connection): handle specific_object argument
9243 * src/NetworkManager.c
9244 src/NetworkManagerMain.h
9245 - Remove unused includes
9247 * src/nm-device-802-11-wireless.c
9248 src/nm-device-802-11-wireless.h
9249 - Convert the ap_list into a GSList from an NMAccessPointList
9250 - No need for caching the 'activation_ap' since this is now determined
9251 from the specific_object of the activation request, which is
9252 populated from the get_best_connection() call or from a user request
9253 - (nm_device_802_11_wireless_update_bssid): fix warning
9254 - (get_wireless_capabilities): fix error message format arguments
9255 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9256 - (find_best_connection, real_get_best_connection): implement
9257 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9258 move here from NetworkManagerAPList
9259 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9260 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9261 already verified earlier
9262 - (real_act_stage2_config): use nm_connection_need_secrets()
9264 * src/NetworkManagerPolicy.c
9265 - (nm_policy_auto_get_best_device): handle specific objects
9266 - (create_connection): remove; automatic connection creation functionality
9267 is handled by the Connection objects
9268 - (nm_policy_device_change_check): handle specific_object
9270 * libnm-util/nm-connection.c
9271 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9273 2007-09-10 Dan Williams <dcbw@redhat.com>
9276 - (query_connections): fix uninitialized variable problem that caused
9278 - (nm_manager_add_device): take devices down on startup so that we can
9279 be assured that nm_device_is_up() won't short-circuit the init
9280 process. Hack until the is_up check gets split into two pieces
9281 that aren't behaviorally confusing.
9283 2007-09-09 Dan Williams <dcbw@redhat.com>
9285 * introspection/nm-device.xml
9286 - The 'Activate' method now takes 3 arguments, a service name for the
9287 settings service (user or system), the object path of the connection
9288 to activate, and the specific object to activate, if any
9290 * src/nm-device-interface.c
9291 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9293 - (impl_device_activate): adapt to new Activate arguments; validate
9294 the service name and get the Connection object from the NMManager
9295 before starting to activate the device with the specified connection
9297 * src/nm-device-802-3-ethernet.c
9298 - (real_get_best_connection): find the best connection, or create a
9299 default one if no existing connections can be used
9301 * src/NetworkManagerPolicy.c
9302 - (nm_policy_auto_get_best_device): Get the device's best connection
9303 and only pick the device if it has one
9304 - (nm_policy_device_change_check): disable wireless bits for now until
9305 wireless get_best_connection() can be implemented (replacing "best_ap");
9306 don't create a default connection here as the device subclass will do
9311 - (nm_manager_get): make NMManager a singleton and expose the getter
9313 - Rework internal NMManager connection handling to use the same
9314 routines for both the system and user settings services. Most calls
9315 take a new NMConnectionType argument specifying either system or user
9317 - (nm_manager_get_connection_by_object_path): new function; get a
9318 connection keyed on its object path
9320 * src/NetworkManager.c
9321 - (main): use nm_manager_get()
9323 2007-09-09 Dan Williams <dcbw@redhat.com>
9327 - (nm_device_get_best_connection): new function; get best connection
9328 for the device at that time
9330 2007-09-09 Dan Williams <dcbw@redhat.com>
9332 * src/nm-device-interface.h
9333 - Add NMDeviceInterfaceError with an UnknownConnection error
9335 2007-09-09 Dan Williams <dcbw@redhat.com>
9337 Stupid mistake on my part; object path and interface for settings service
9338 and connection objects can be the same, only the service name must be
9339 different for the system and user settings services.
9341 * include/NetworkManager.h
9343 introspection/nm-settings-connection.xml
9344 introspection/nm-settings.xml
9345 libnm-glib/nm-settings.c
9346 - (nm_connection_settings_init, query_user_connections,
9347 new_connection_cb): Unify NetworkManagerSettings and Connection
9348 interface name and object path
9350 2007-09-06 Dan Williams <dcbw@redhat.com>
9352 * libnm-glib/nm-object.c
9353 - (nm_object_get_string_property, nm_object_get_object_path_property,
9354 nm_object_get_int_property, nm_object_get_uint_property,
9355 nm_object_get_boolean_property, nm_object_get_byte_property,
9356 nm_object_get_double_property, nm_object_get_byte_array_property):
9357 clear GValues after copying their contents, fixes memory leaks
9358 after every property access because dbus-glib copies the values
9359 from the DBusMessage into the GValue already.
9361 2007-09-06 Dan Williams <dcbw@redhat.com>
9363 * introspection/nm-access-point.xml
9364 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9365 them to be. There's some magic property name parsing going on in
9366 dbus-glib that breaks up property names based on studly-caps and
9367 puts - between words.
9369 * libnm-glib/nm-access-point.c
9370 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9373 2007-09-06 Dan Williams <dcbw@redhat.com>
9376 - (nm_manager_user_connections_destroy): clear the user connections hash
9377 table, don't destroy it
9378 - (finalize): only destroy the hash table on NMManager finalization
9380 2007-09-02 Dan Williams <dcbw@redhat.com>
9382 * include/NetworkManager.h
9383 libnm-glib/nm-settings.c
9384 - defines for the user settings daemon D-Bus bits
9386 * src/NetworkManager.c
9387 - Remove stuff that referred to the old NetworkManagerInfo service
9389 * src/vpn-manager/nm-dbus-vpn.h
9390 - Move old NMI defines to the only place they are used still
9392 * libnm-util/nm-connection.c
9393 libnm-util/nm-connection.h
9394 src/nm-activation-request.c
9395 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9399 - Get connections and their settings from the user settings daemon
9400 at the appropriate times
9402 2007-09-02 Dan Williams <dcbw@redhat.com>
9404 * libnm-util/nm-setting.c
9405 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9406 - (setting_wireless_hash): set the right value on the item
9408 2007-09-02 Dan Williams <dcbw@redhat.com>
9412 - Remove, no longer useful
9414 2007-08-30 Dan Williams <dcbw@redhat.com>
9417 src/NetworkManagerDbus.c
9418 src/NetworkManagerDbus.h
9419 src/vpn-manager/nm-dbus-vpn.c
9420 - Remove, no longer necessary. Move last bits to the only place its
9421 used, in nm-dbus-vpn.c
9423 * src/NetworkManagerAPList.c
9425 src/NetworkManager.c
9426 src/nm-device-802-11-wireless.c
9427 src/vpn-manager/nm-vpn-manager.c
9428 src/vpn-manager/nm-vpn-service.c
9429 src/NetworkManagerPolicy.c
9431 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9432 that was message_is_error()
9434 2007-08-30 Dan Williams <dcbw@redhat.com>
9437 - Include config.h to get defines for endiannes (gnome.org #420216)
9439 2007-08-30 Dan Williams <dcbw@redhat.com>
9441 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9443 * src/ppp-manager/Makefile.am
9444 - use -fPIC (gnome.org #471825)
9446 2007-08-29 Dan Williams <dcbw@redhat.com>
9448 * include/NetworkManager.h
9449 - Keep NMConnection object path in sync
9451 * libnm-glib/nm-settings.c
9452 libnm-glib/nm-settings.h
9453 - Break D-Bus object registration out of the init function, because
9454 every object that's exported over D-Bus needs to use the _same_
9455 DBusConnection. Otherwise, each object would get a different object
9456 path tree and wouldn't be callable.
9458 2007-08-29 Dan Williams <dcbw@redhat.com>
9460 * libnm-util/nm-setting.h
9461 libnm-util/nm-setting.c
9462 libnm-util/nm-connection.c
9463 src/NetworkManagerPolicy.c
9464 - 'info' settings object should be 'connection' says the spec
9465 at NetworkManagerConfigurationSpecification
9467 2007-08-29 Dan Williams <dcbw@redhat.com>
9469 * libnm-glib/nm-settings.c
9470 libnm-glib/nm-settings.h
9471 - make the dbus path a property of the object, and autogenerate it.
9472 It can't be composed of the 'id' field becuase that's not available
9473 yet during the GObject creation in nm_connection_settings_init()
9475 2007-08-29 Dan Williams <dcbw@redhat.com>
9477 * introspection/nm-settings-connection.xml
9478 introspection/nm-settings.xml
9479 - Service name -> NetworkManagerUserSettings because two services
9480 can't share part of the same path. I'm not really sure how we'll use
9481 the same code with the system-settings daemon...
9483 2007-08-28 Dan Williams <dcbw@redhat.com>
9485 * src/nm-device-interface.c
9486 src/nm-device-interface.h
9487 - Kill one more bit of NMData
9489 2007-08-28 Dan Williams <dcbw@redhat.com>
9491 * src/NetworkManagerSystem.h
9494 src/nm-hal-manager.c
9495 src/NetworkManager.c
9496 src/nm-device-802-11-wireless.c
9497 src/nm-hal-manager.h
9498 src/nm-device-802-3-ethernet.c
9499 src/vpn-manager/nm-vpn-service.h
9500 src/vpn-manager/nm-vpn-manager.c
9501 src/vpn-manager/nm-vpn-manager.h
9502 src/vpn-manager/nm-vpn-service.c
9503 src/nm-device-802-11-wireless.h
9504 src/NetworkManagerMain.h
9505 src/nm-device-802-3-ethernet.h
9506 src/backends/NetworkManagerGentoo.c
9507 src/backends/NetworkManagerPaldo.c
9508 src/backends/NetworkManagerFrugalware.c
9509 src/backends/NetworkManagerRedHat.c
9510 src/backends/NetworkManagerSlackware.c
9511 src/backends/NetworkManagerGeneric.c
9512 src/backends/NetworkManagerArch.c
9513 src/backends/NetworkManagerSuSE.c
9514 src/backends/NetworkManagerGeneric.h
9515 src/backends/NetworkManagerDebian.c
9518 2007-08-28 Dan Williams <dcbw@redhat.com>
9520 * src/NetworkManagerMain.h
9521 src/nm-device-802-11-wireless.c
9522 src/NetworkManager.c
9523 - Remove invalid AP list from NMData; need to rework this somewhat, but
9524 for now we should set the 'invalid' property on individual APs, and when
9525 we need to invalidate a whole ESS, set the 'invalid' on every member of
9528 2007-08-28 Dan Williams <dcbw@redhat.com>
9530 * src/NetworkManagerAP.c
9531 src/NetworkManagerAP.h
9532 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9533 'autoconnect' property instead
9535 * src/NetworkManager.c
9536 src/NetworkManagerMain.h
9537 src/NetworkManagerPolicy.c
9538 src/NetworkManagerPolicy.h
9539 - Remove the 'allowed_ap_list', which should be replaced by
9540 NMConnection/NMSettings instead, since _those_ are the allowed
9541 things that NM can connect to
9543 * src/nm-device-802-11-wireless.c
9544 - Remove both allowed_ap_list usage and 'fallback' checking
9546 2007-08-28 Dan Williams <dcbw@redhat.com>
9549 src/named-manager/nm-named-manager.c
9550 src/named-manager/nm-named-manager.h
9551 src/NetworkManager.c
9552 src/vpn-manager/nm-vpn-manager.c
9553 src/NetworkManagerMain.h
9554 src/NetworkManagerSystem.c
9555 - Remove the named-manager object from NMData structure in preparation
9556 for NMData's timely death. Make the NMNamedManager the singleton that
9559 2007-08-28 Dan Williams <dcbw@redhat.com>
9561 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9562 each AP's capabilities, and by NMConnection/NMSettings objects for user
9563 defined connections.
9565 * include/NetworkManager.h
9566 - Redefine 802.11 security properties. There are now device capabilities
9567 and AP flags and AP security flags. It was way to unclear before.
9570 src/nm-ap-security-leap.h
9571 src/nm-ap-security-leap.c
9572 src/nm-ap-security-wpa-eap.c
9573 src/nm-ap-security-wpa-eap.h
9574 src/nm-ap-security-private.h
9575 src/nm-ap-security-wpa-psk.c
9576 src/nm-ap-security-wpa-psk.h
9577 src/nm-ap-security-wep.c
9578 src/nm-ap-security-wep.h
9579 src/nm-ap-security.c
9580 src/nm-ap-security.h
9581 - Removed, to be replaced with NMConnection/NMSettings objects
9585 - Removed, to be replaced by code that talks to the new info daemon
9586 interface and gets NMConnection/NMSettings objects
9588 * src/backends/NetworkManagerSuSE.c
9589 - Remove usage of NMAPSecurity; should be replaced by a system-level
9590 info-daemon that does the same thing but talks the new info-daemon
9593 * src/NetworkManagerAP.h
9594 src/NetworkManagerAP.c
9595 src/NetworkManagerAPList.c
9596 libnm-glib/libnm-glib-test.c
9597 - Remove usage of NMAPSecurity objects and adjust to new flags for
9600 * libnm-glib/nm-access-point.c
9601 libnm-glib/nm-access-point.h
9602 introspection/nm-access-point.xml
9604 - Adjust to new flags for AP security
9608 src/vpn-manager/nm-dbus-vpn.c
9609 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9610 stuff which is the only place it's used
9612 * src/nm-device-interface.c
9613 src/nm-device-interface.h
9614 introspection/nm-device.xml
9615 src/nm-activation-request.c
9616 src/nm-activation-request.h
9618 - Add a new 'specific_object' argument that hints to NM what actual
9619 AP or other device-specific thing the connection should apply to.
9620 NMConnection objects can apply to more than one actual device/AP.
9622 * libnm-util/nm-connection.c
9623 * libnm-util/nm-connection.h
9624 - Add 'have_secrets" call stubs
9626 * libnm-util/cipher.h
9627 - Move NM_AUTH_TYPE_* defines here for now
9629 * src/nm-device-802-11-wireless.c
9630 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9633 * src/NetworkManagerDbus.c
9634 * src/NetworkManagerPolicy.c
9635 - Remove usage of update_allowed_networks, should be pushing data in
9638 2007-08-27 Tambet Ingo <tambet@gmail.com>
9640 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9641 dbus-glib frees it when the call is done.
9643 2007-08-26 Dan Williams <dcbw@redhat.com>
9645 * introspection/nm-device.xml
9646 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9648 2007-08-26 Dan Williams <dcbw@redhat.com>
9650 * src/nm-device-802-3-ethernet.c
9651 - (constructor): move connection of interface-connected/disconnected
9652 signals here from real_bring_up(). Should be listening to netlink
9653 for carrier events no matter what the initial state of the device
9656 2007-08-26 Dan Williams <dcbw@redhat.com>
9658 * src/nm-netlink-monitor.c
9659 - (nm_netlink_monitor_class_init): fix marshalling types for
9660 interface-connected/interface-disconnected
9661 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9664 2007-08-26 Dan Williams <dcbw@redhat.com>
9666 Convert to using interface indexes as the primary method of identifying
9667 devices inside NetworkManager. Indexes are (?) stable, but devices can
9668 be renamed at any time. Device object paths now refer to the device
9669 index rather than the name, and you can map those two manually if you like
9670 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9671 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9672 to use interface indexes rather than names.
9674 2007-08-26 Dan Williams <dcbw@redhat.com>
9676 * src/nm-netlink-monitor.h
9677 - Remove one last bit of wireless-event signal
9679 2007-08-26 Dan Williams <dcbw@redhat.com>
9681 * src/nm-netlink-monitor.c
9682 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9683 don't need the 'wireless-event' signal anymore since that's all
9684 handled by wpa_supplicant
9686 2007-08-25 Dan Williams <dcbw@redhat.com>
9688 It's 2007. Remove support for drivers that don't support wireless scanning.
9691 include/NetworkManager.h
9692 src/NetworkManagerUtils.c
9693 src/NetworkManagerPolicy.c
9694 src/nm-device-802-11-wireless.c
9695 - Remove special handling for non-scanning devices and mark them
9696 as unsupported/unhandled
9698 2007-08-20 Dan Williams <dcbw@redhat.com>
9700 * src/nm-device-802-11-wireless.c
9701 src/nm-device-802-3-ethernet.c
9702 - (real_is_up): move device-specific tests before generic IFF_UP test,
9703 because when the card is pulled or the module removed, the device
9704 is already !IFF_UP and then device-specific cleanup (removing
9705 the supplicant interface, periodic checks, etc) never gets done
9707 2007-08-20 Dan Williams <dcbw@redhat.com>
9710 - (nm_manager_remove_device): bring device down before disconnecting
9711 signal handlers, so that the 'state' signal will get broadcast when
9712 the device enters the DOWN state
9713 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9714 of states that cause the NMManager to recheck its state
9716 2007-08-20 Dan Williams <dcbw@redhat.com>
9718 * src/supplicant-manager/nm-supplicant-interface.c
9719 - (interface_disconnect_done): don't try to dispose of the net proxy
9720 when it may already have been disposed of
9722 2007-08-20 Dan Williams <dcbw@redhat.com>
9724 * src/nm-device-802-11-wireless.c
9725 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9726 the SSID isn't available; this can happen when the card is pulled
9727 or the module unloaded, during the post-removal deactivation
9728 paths, when the ioctl returns ENODEV
9730 2007-08-20 Dan Williams <dcbw@redhat.com>
9732 * src/nm-device-802-11-wireless.c
9733 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9734 frequency, and mode match. Applets are now responsible for grouping
9737 2007-08-20 Dan Williams <dcbw@redhat.com>
9739 * src/NetworkManagerAP.c
9740 * src/NetworkManagerAP.h
9741 - (nm_ap_print_self): new function
9743 * src/NetworkManagerAPList.c
9744 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9747 2007-08-17 Dan Williams <dcbw@redhat.com>
9749 * src/nm-device-802-3-ethernet.c
9750 - (real_bring_down): don't try to dispose of stuff that might not
9753 2007-08-17 Dan Williams <dcbw@redhat.com>
9755 * src/NetworkManagerAP.c
9756 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9757 applet. This ensures that the case between the seen-bssids and
9758 the bssids reported by the driver match.
9760 2007-08-17 Dan Williams <dcbw@redhat.com>
9762 * src/nm-device-802-11-wireless.c
9763 - (device_cleanup): disconnect the interface in wpa_supplicant before
9764 we dispose of the interface proxy in NM
9766 2007-08-16 Dan Williams <dcbw@redhat.com>
9768 * libnm-glib/nm-client.c
9769 - (nm_client_init): create VPN connections hash table with key free
9771 - (proxy_vpn_connection_added): VPN connections hash table key should
9772 be a duplicated value, not the same memory address as the VPN
9773 connection name. This is because the VPN connection name could
9774 potentially be freed and set to something else during the lifetime
9775 of the NMVPNConnection object.
9777 2007-08-16 Tambet Ingo <tambet@gmail.com>
9779 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9780 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9781 with the file descriptors. Send a child setup function to change the pppd
9784 2007-08-15 Dan Williams <dcbw@redhat.com>
9786 * src/supplicant-manager/nm-supplicant-interface.c
9787 - (try_remove_iface): new function, ask wpa_supplicant to remove
9789 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9790 disposing of the NMSupplicantInterface. Otherwise weird stuff
9791 happens on hotplug if wpa_supplicant doesn't tear down and readd
9792 the interface internally
9794 2007-08-15 Dan Williams <dcbw@redhat.com>
9796 * src/nm-device-802-11-wireless.c
9797 - (real_bring_down): move most of this function into device_cleanup()
9798 so that it can be called from elsewhere
9799 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9800 and stuff on dispose. These would normally get cleaned up when
9801 the device is marked down and deactivated, but when the device is
9802 hot-unplugged, it's already down and real_down() never gets run
9804 2007-08-15 Dan Williams <dcbw@redhat.com>
9807 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9808 caused a reference leak on device for which NM requested a key
9810 2007-08-15 Dan Williams <dcbw@redhat.com>
9812 * libnm-glib/nm-client.c
9813 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9815 2007-08-15 Tambet Ingo <tambet@gmail.com>
9817 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9818 nothing is using it at the moment, but it'll be all useful and stuff later on.
9820 * libnm-util/nm-setting.h: Define NMSettingPPP.
9822 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9824 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9826 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9828 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9830 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9832 2007-08-14 Tambet Ingo <tambet@gmail.com>
9834 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9836 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9837 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9838 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9839 name and different arguments and it won't compile anymore. To fix this, we now have
9840 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9841 that is new API + compatibility API and used by the daemon. The other,
9842 nm-manager-client.xml is only the new API without compatibility bits and is used
9843 by libnm-glib to make it compile.
9845 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9847 * src/nm-manager.c (impl_manager_legacy_sleep)
9848 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9849 interface functions for 0.6 branch.
9851 2007-08-14 Dan Williams <dcbw@redhat.com>
9853 * src/NetworkManagerAP.c
9854 - (nm_ap_new_from_properties): fix mistaken check of return value
9855 from memcmp (should expect 0)
9857 2007-08-14 Dan Williams <dcbw@redhat.com>
9859 (force-commit to fix wrong comment and partial commit of r2685; this
9860 commit actually applies to r2685)
9862 * src/NetworkManagerUtils.c
9863 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9864 ignores trailing nulls in the SSID to work around mismatches in
9865 expectations between WEXT and what the info-daemon passes back. The
9866 info-daemon would pass back the correct length, but due to the
9867 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9868 the device would always have an SSID + 1 depending on what versions
9869 of wpa_supplicant, the kernel, and NM you have. This was most often
9870 visible by just quitting the applet and relaunching, which caused
9871 NM to reassociated to the same network over again when reloading
9874 * src/NetworkManagerPolicy.c
9875 src/NetworkManagerUtils.h
9876 src/nm-device-802-11-wireless.c
9877 - Update for new parameter to nm_utils_same_ssid()
9879 2007-08-14 Dan Williams <dcbw@redhat.com>
9881 * src/NetworkManagerAP.c
9882 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9883 I encountered a BSS that wasn't just hiding it's ESSID, it was
9884 setting the BSSID to all 0s. That confused the heck out of NM,
9885 plus it's useless and probably out-of-spec.
9887 2007-08-14 Dan Williams <dcbw@redhat.com>
9889 * callouts/Makefile.am
9890 src/dhcp-manager/nm-dhcp-manager.c
9891 src/dhcp-manager/nm-dhcp-manager.h
9892 src/dhcp-manager/Makefile.am
9893 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9895 2007-08-14 Dan Williams <dcbw@redhat.com>
9897 * src/dhcp-manager/nm-dhcp-manager.c
9898 - (dhclient_run): don't pass -x to dhclient until we figure out if
9899 it's really needed, get rid of unused xtra_args parameter
9901 2007-08-14 Dan Williams <dcbw@redhat.com>
9903 * include/NetworkManagerVPN.h
9904 src/vpn-manager/nm-dbus-vpn.c
9905 src/vpn-manager/nm-dbus-vpn.h
9906 src/vpn-manager/nm-vpn-act-request.c
9907 src/vpn-manager/nm-vpn-act-request.h
9908 src/vpn-manager/nm-vpn-service.c
9909 src/vpn-manager/nm-vpn-service.h
9910 libnm-glib/nm-vpn-connection.c
9911 libnm-glib/nm-vpn-connection.h
9912 libnm-glib/nm-client.h
9913 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9914 NMVPNServiceState to clarify what they apply to
9915 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9916 NMVPNActStage -> NMVPNConnectionState for the same reason
9918 * libnm-glib/nm-client.c
9919 - Constant + type renames from above
9920 - Properly handle NameOwnerChanged/manager_running signals
9921 for NM service; only emit when state really changes
9922 - Use hash tables correctly so that the key (which was previously owned
9923 by the D-Bus message) now has the same lifetime as the value, since
9924 the key is now taken from the the NMVPNConnection itself. This
9925 really fixes the double-VPN names in the applet
9927 2007-08-13 Dan Williams <dcbw@redhat.com>
9929 Patch from Michael Biebl <biebl@debian.org>
9933 - Update for vpn-properties move
9935 2007-08-13 Dan Williams <dcbw@redhat.com>
9937 * libnm-glib/nm-client.c
9938 - Convert internal VPN connection tracking from a list to a hash table
9939 to easily avoid duplicates
9940 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9941 must be freed by the caller, like nm_client_get_devices()
9942 - (nm_client_remove_vpn_connection): don't let the removal signal
9943 leak through for NMVPNConnection objects that aren't actually
9945 - (manager_running): throw away VPN connection list when NM goes away,
9946 like with the device list
9948 2007-08-13 Dan Williams <dcbw@redhat.com>
9950 * src/dhcp-manager/nm-dhcp-manager.c
9951 - Stop any dhclient instance that might be already running for a
9952 particular interface before starting an NM spawned dhclient. Fixes
9953 dhclient processes left over if NM crashes, stuff like that.
9955 2007-08-13 Dan Williams <dcbw@redhat.com>
9957 * src/NetworkManagerAP.c
9958 - (finalize): don't try to g_array_free (NULL, ...), which happened
9959 when the AP wasn't broadcasting it's SSID
9961 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9963 * include/NetworkManager.h: added DBus path for connection settings.
9965 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9966 nm_connection_settings_signal_updated,
9967 nm_connection_settings_signal_removed): new functions to wrap the
9969 (nm_connection_settings_init): register GObject with DBus.
9970 (nm_connection_settings_get_dbus_object_path): new function.
9972 * libnm-glib/Makefile.am: added libnmutil to link flags.
9974 2007-08-13 Tambet Ingo <tambet@gmail.com>
9976 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9978 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9979 libnm_glib directory got merged with libnm-glib/.
9981 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9983 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9984 Rename the library from libnm-glib to libnm_glib to maintain the library API
9985 compatibility with 0.6 branch.
9987 * Makefile.am: Remove gnome/ SUBDIR.
9989 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9991 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9993 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9995 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9997 Remove checks for wpa_supplicant binary, it's used over dbus.
9998 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10000 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10001 Link the binaries with libnm_glib.la.
10003 2007-08-12 Dan Williams <dcbw@redhat.com>
10005 * src/NetworkManagerPolicy.c
10006 - (nm_policy_device_change_check): fix policy to deactivate old device
10007 before activating new one, at least until the multiple active
10008 device support lands
10010 2007-08-12 Dan Williams <dcbw@redhat.com>
10012 * src/NetworkManagerPolicy.c
10013 - (nm_policy_new): hook up to connection-added / connection-removed
10014 signals instead of connections-changed
10016 2007-08-12 Dan Williams <dcbw@redhat.com>
10018 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10019 Robert Frank <rfrank@redhat.com>
10021 * src/dhcp-manager/nm-dhcp-manager.c
10022 src/dhcp-manager/nm-dhcp-manager.c
10024 - Spawn and communicate with dhclient directly, through means of a
10025 custom dhclient callout script. Process callout D-Bus signals
10026 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10027 sent via gobject signals rather than being driven by the dhcp manager
10030 2007-08-12 Dan Williams <dcbw@redhat.com>
10032 * callouts/nm-dhcp-client-action.c
10033 - (build_message): ignore non-DHCP-related environment variables
10035 2007-08-12 Dan Williams <dcbw@redhat.com>
10039 callouts/Makefile.am
10040 callouts/nm-dhcp-client-action.c
10041 callouts/nm-dhcp-client.conf
10042 - Add dhclient-executed callout that takes the place of dhclient-script
10043 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10044 NM then listens for
10046 2007-08-09 Tambet Ingo <tambet@gmail.com>
10048 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10050 * libnm-glib/nm-client.h:
10051 * libnm-glib/nm-object.h:
10052 * libnm-glib/nm-vpn-connection.h:
10053 * libnm-glib/nm-settings.h:
10054 * libnm-glib/nm-device.h:
10055 * libnm-glib/nm-ip4-config.h:
10056 * libnm-glib/nm-access-point.h:
10057 * libnm-glib/nm-device-802-3-ethernet.h:
10058 * libnm-util/nm-setting.h:
10059 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10061 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10063 * libnm-glib/nm-access-point.c: Strength has type char.
10065 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10066 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10068 * introspection/nm-access-point.xml: Strength property is char, not int.
10070 * src/NetworkManagerAP.c (set_property): Set strength from char.
10071 (get_property): Handle hidden APs (with empty SSID).
10072 Get strength value from char.
10073 (nm_ap_class_init): Strength property has char type.
10075 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10077 * introspection/Makefile.am:
10078 * introspection/nm-settings.xml:
10079 * introspection/nm-settings-connection.xml: added Settings interfaces.
10081 * libnm-glib/nm-settings.[ch]:
10082 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10083 containing the DBus implementation.
10085 2007-07-26 Dan Williams <dcbw@redhat.com>
10087 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10089 * src/NetworkManagerSystem.c
10090 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10091 same subnet (#437396)
10093 2007-07-26 Dan Williams <dcbw@redhat.com>
10095 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10097 * gnome/vpn-properties/nm-vpn-properties.c
10098 - Fix translatable strings (#445865)
10100 2007-07-26 Dan Williams <dcbw@redhat.com>
10102 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10105 - Remove useless junk (#412530)
10107 2007-07-10 Christopher Aillon <caillon@redhat.com>
10109 Patch from Robert Buchholz <rbu@gentoo.org>:
10113 * introspection/Makefile.am:
10114 Make make distcheck work again.
10116 2007-06-27 Dan Williams <dcbw@redhat.com>
10118 * Make SSIDs GByteArrays everywhere
10119 * Rename "essid" -> "ssid" everywhere that's appropriate
10120 * Refcount activation_ap member of the 802.11 wireless device class
10122 2007-06-27 Tambet Ingo <tambet@ximian.com>
10124 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10126 2007-06-22 Tambet Ingo <tambet@ximian.com>
10128 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10129 that we got a new AP when we just update existing AP properties.
10131 2007-06-21 Tambet Ingo <tambet@ximian.com>
10133 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10135 * nm-utils.[ch]: Remove.
10137 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10138 objects for easy property access and dbus connection handling.
10140 * libnm-glib/nm-client.c: Derive from NMObject.
10142 * libnm-glib/nm-device.c: Ditto.
10144 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10146 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10148 * libnm-glib/nm-ip4-config.c: Ditto.
10150 * libnm-glib/nm-access-point.c: Ditto.
10152 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10153 comparision. Currently used by the device activation code to determine if the new
10154 activation is the same as the old one.
10156 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10157 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10158 able to ask password for the AP.
10160 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10161 up if the device is already connected, tear down it's connection (if it isn't the
10162 same as new one) and start the activation.
10164 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10166 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10167 the issue where all APs are always listed as encrypted.
10169 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10170 their own registered paths.
10172 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10173 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10175 2007-06-13 Tambet Ingo <tambet@ximian.com>
10177 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10180 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10181 because the handling code will cause the next state change and signal listeners
10182 get the signals in wrong order.
10184 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10185 correctly in case of pending activation.
10187 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10188 Convert the essid byte array to string correctly, including the terminating NULL.
10190 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10191 mode with correct types.
10193 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10194 constructed info to dbus call instead of the activation request.
10196 2007-06-11 Christopher Aillon <caillon@redhat.com>
10198 Patch from Christian Persch <chpe@gnome.org>
10200 * libnm-glib/Makefile.am:
10201 * dispatcher-daemon/Makefile.am:
10202 Use the correct variables, the correct paths, and correct ordering. (446315)
10204 2007-06-11 Tambet Ingo <tambet@ximian.com>
10206 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10207 argument. The activation request is easy to retrieve.
10209 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10210 just to be a convenient location for devices to store random stuff.
10212 2007-06-11 Christopher Aillon <caillon@redhat.com>
10214 Patch from Alex Smith <alex@alex-smith.me.uk>
10216 * src/backends/NetworkManagerFrugalware.c:
10217 Update the FrugalWare backend to fix a few segfaults. (#392642)
10219 2007-06-08 Tambet Ingo <tambet@ximian.com>
10221 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10223 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10225 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10227 2007-06-06 Tambet Ingo <tambet@ximian.com>
10229 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10231 Implement NMSettingIP4Config.
10232 Finish NMSettingWired by adding all known members.
10233 (setting_wired_verify): Implement.
10234 Finish NMSettingWireless by adding all known members.
10235 (setting_wireless_verify): Implement.
10237 * libnm-util/nm-connection.c: Register "ipv4" setting.
10238 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10239 dump function, we can introspect the GHashTable which is used for sending connections
10242 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10243 Take GByteArray for essid, it's really not a string.
10245 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10246 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10247 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10248 means overriding the values we got from DHCP.
10249 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10250 (nm_device_deactivate_quickly): Ditto.
10252 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10255 2007-05-07 Tambet Ingo <tambet@ximian.com>
10257 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10260 * libnm-glib/nm-device-802-11-wireless.c:
10261 (nm_device_802_3_ethernet_activate): Remove.
10263 * libnm-glib/nm-device-802-3-ethernet.c
10264 (nm_device_802_3_ethernet_activate): Remove.
10266 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10268 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10271 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10272 activation has started.
10273 Implement the new activation using NMConnection.
10275 * src/nm-activation-request.c: Store a generic connection object instead
10276 of a wireless-specific AP.
10278 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10279 on device type, create a device specific connection object suitable for
10282 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10283 specific check to validate the connection and on success start the
10286 * src/nm-device-interface.h: Add a activate virtual function to the
10287 interface definition.
10289 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10290 (impl_device_activate): Implement.
10292 * introspection/nm-device.xml: Add a generic device activation interface
10293 that accepts an abstract NMConnection structure that has device-specific
10296 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10297 activation interface.
10299 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10300 activation interface.
10302 * libnm-util/nm-connection.c:
10303 * libnm-util/nm-connection.h:
10304 * libnm-util/nm-setting.c:
10305 * libnm-util/nm-setting.h: Add.
10307 * libnm-util/Makefile.am: Build the added files.
10309 * src/nm-dbus-manager.c
10310 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10311 DbusConnection argument from 'name-owner-changed' signal. The manager
10312 is already passed as a first argument to the signal and the connection
10313 is easy enough to get from it.
10315 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10316 Update the signature of the function.
10318 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10321 * src/NetworkManager.c: Ditto.
10323 * src/named-manager/nm-named-manager.c
10324 (nm_named_manager_name_owner_changed): Ditto.
10326 * src/supplicant-manager/nm-supplicant-manager.c
10327 (nm_supplicant_manager_name_owner_changed): Ditto.
10329 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10331 * src/dhcp-manager/nm-dhcp-manager.c
10332 (nm_dhcp_manager_name_owner_changed): Ditto.
10334 * src/nm-hal-manager.c: Add a list of device detectors and creators
10335 to make it easier to add new devices. Each device type has it's own
10336 entry in the table so adding new device types is only a matter of
10337 implementing a couple of functions, one for device detection and the
10338 other for device creation.
10340 2007-04-25 Dan Williams <dcbw@redhat.com>
10342 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10343 (gnome.org #432401)
10345 2007-03-30 Dan Williams <dcbw@redhat.com>
10347 * src/NetworkManagerSystem.c
10348 - (nm_system_device_set_ip4_route): clean up and fix argument
10349 to nm_dev_sock_open()
10351 2007-03-28 Tambet Ingo <tambet@ximian.com>
10353 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10354 data to correct types instead of always using string.
10356 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10357 _not_ have NM_802_11_CAP_PROTO_NONE.
10358 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10361 2007-03-27 Tambet Ingo <tambet@ximian.com>
10363 * libnm-glib/Makefile.am: Fix the build issue.
10365 2007-03-26 Tambet Ingo <tambet@ximian.com>
10367 * libnm-glib/nm-vpn-connection.h:
10368 * libnm-glib/nm-vpn-connection.c: Implement.
10370 * libnm-glib/nm-client.c: Add VPN support.
10372 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10375 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10378 2007-03-26 Dan Williams <dcbw@redhat.com>
10380 * src/NetworkManagerAPList.c
10381 * src/nm-device-802-11-wireless.c
10382 * src/NetworkManagerAP.c:
10383 - Store last seen as glong instead of GTimeVal.
10384 - Fix the upper bound of capabilities, it's a bitfield.
10386 2007-03-16 Tambet Ingo <tambet@ximian.com>
10388 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10390 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10391 "manager-running" signal that notifies the appearance/disappearance of NM.
10392 (nm_client_sleep): Implement.
10394 * libnm-glib/nm-device.c:
10395 * libnm-glib/nm-device-802-11-wireless.c:
10396 * libnm-glib/nm-device-802-3-ethernet.c:
10398 Don't inherit from DBusGProxy, add a proxy to private
10399 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10400 for anything but their own dbus interface. DBusGProxy objects support only one
10401 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10402 interface. The nice side effect of this change is that we do not create a new
10403 DBusGProxy object for each property access.
10405 2007-03-15 Tambet Ingo <tambet@ximian.com>
10407 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10408 with zeroes before passing them to functions - the functions never do that and
10409 reading the values back may produce wrong values.
10410 (real_bring_up): Store the signal handler id ...
10411 (real_bring_down): ... So that it can be removed here.
10412 Disconnect the supplicant interface here as well.
10413 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10414 from the access point instead of old $device/Networks/$essid.
10416 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10417 device state is connected (instead of just having link/carrier).
10419 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10420 already easily accessible through the device.
10422 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10423 store it within the object.
10424 (nm_ap_get_dbus_path): Export it to public as well.
10426 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10429 2007-03-12 Dan Williams <dcbw@redhat.com>
10431 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10432 for non-carrier-detect capable devices, and useless for carrier-detect
10433 devices since we get notifications from netlink about carrier status anyway.
10435 * src/nm-device-802-3-ethernet.c
10436 - remove 'link_source_id' member from private data
10437 - (probe_link): remove and collapse into real_update_link()
10438 - (nm_device_802_3_periodic_update): remove
10439 - (real_is_up): check for sup_iface rather than link_source_id
10440 - (real_bring_up): return gboolean for success/fail; require that
10441 sup_iface be valid for device bringup to succeed
10442 - (real_bring_down): zero out link signal ids
10445 - (nm_device_activate_stage2_device_config): fail activation if device
10447 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10449 - (nm_device_bring_up): return success/fail
10452 - bring_up now returns success/fail
10454 * src/nm-device-802-11-wireless.c
10455 - (real_bring_up): return success from bringup
10457 2007-03-07 Dan Williams <dcbw@redhat.com>
10459 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10460 * src/nm-ap-security-wpa-psk.c
10461 - (real_write_supplicant_config): work with PSKs that may contain
10462 zeros in the binary format rather than treating it as a string
10464 2007-03-02 Tambet Ingo <tambet@ximian.com>
10466 * libnm-glib/nm-device-802-11-wireless.c
10467 (nm_device_802_11_wireless_get_capabilities): Implement.
10469 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10471 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10473 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10474 reply only if it's not NULL. Not sure why this started happening right now.
10476 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10477 code paths for when devices get removed on shutdown or when a device is just
10479 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10480 gets freed so any signal from a device (disconnected for instance) would invoke
10481 NMState update which would crash.
10482 (nm_manager_remove_device): Bring the device down when it gets removed.
10484 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10485 the unused dev_type.
10487 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10488 reference to the added device, NMManager will own it (if it wants).
10490 * test/nm-tool.c: Rewrite using libnm-glib.
10492 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10493 We get signalled when it changes.
10495 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10498 * libnm-glib/nm-device.c: Cache the device state property.
10500 * libnm-glib/nm-access-point.c: Cache the strength property.
10502 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10503 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10504 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10505 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10506 the device is down, activating, or activated (in case of A/B/G cards).
10507 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10508 it's all done through supplicant now.
10510 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10511 counting issues with pending calls which caused leaks and crashes when
10512 interface was removed (now that the interface actually gets removed).
10514 * src/nm-call-store.c: Make a copy of data before running a foreach
10515 with user callback on it - The most common usage pattern is to cancel
10516 (and thus remove) all pending calls with foreach which would modify
10517 the hash table we're iterating over.
10519 * src/nm-manager.c: When a device is added, make sure it is "up". When
10520 it's removed or disabled due to disabling wireless or networking, bring
10523 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10525 * src/nm-device-802-11-wireless.c:
10526 * src/nm-device-802-3-ethernet.c:
10528 - Remove "init" virtual function, all gobjects have a place for that
10529 already (constructor).
10530 - Replace "start" virtual function with "bring_up", devices can be
10531 brought up and down more than just on startup now.
10532 - Add "is_up" virtual function.
10533 - Implement one way to bring a device down instead of previous 4 different
10534 ways, each of witch did something different.
10536 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10537 all it needs is the device interface.
10539 Get rid of NMData.dev_list (3 members to go).
10540 Get rif of NMData in a lot of places.
10542 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10544 2007-02-23 Dan Williams <dcbw@redhat.com>
10546 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10548 * src/NetworkManagerAP.c
10549 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10550 OR-ing rather than AND-ing
10552 2007-02-20 Tambet Ingo <tambet@ximian.com>
10554 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10555 "network-removed" signals.
10557 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10559 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10560 when receiving the signal from dbus.
10562 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10565 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10566 deactivation of the previously activated device working again.
10568 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10571 * src/nm-device.c (nm_device_is_activated): Remove.
10572 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10574 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10575 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10576 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10577 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10578 Remove NMNetworkStatus and NMActStage enums.
10580 2007-02-19 Tambet Ingo <tambet@ximian.com>
10582 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10583 Handle device state changes and disconnect VPN if it's device deactivates.
10585 * src/nm-dbus-nm.c:
10586 * src/nm-dbus-nm.h:
10587 * src/nm-dbus-device.c:
10588 * src/nm-dbus-device.c:
10589 * src/nm-dbus-net.c:
10590 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10592 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10594 * src/nm-device.c (nm_device_get_by_udi):
10595 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10596 implemented in the correct location (NMManager).
10597 Rip out all the test_device stuff.
10599 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10600 failure handlers, it's all done by NMDevice already.
10602 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10603 Remove the iochannel hack to route the unix signals to the main thread since
10604 we're not threaded anymore.
10606 * src/NetworkManagerAP.c: Implement HWAddress property.
10608 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10609 automatically with dbus-glib.
10611 * src/nm-netlink-monitor.c:
10612 * src/nm-netlink-monitor.h:
10613 - Move it low in the class hierarchy, don't reference any NM types.
10614 - Remove private data from the header.
10615 - Use type safe checks in public API methods.
10616 - Make it a singleton so we don't have to pass the single reference around.
10618 2007-02-16 Tambet Ingo <tambet@ximian.com>
10620 * introspection/nm-ip4-config.xml: Implement.
10622 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10624 * libnm-glib/nm-ip4-config.c:
10625 * libnm-glib/nm-ip4-config.c: Implement.
10627 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10628 securities. APs reference security.
10630 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10631 be exported over DBUS.
10633 * src/nm-device-802-3-ethernet.c: Ditto.
10635 * src/NetworkManagerAP.c:
10636 * src/NetworkManagerAP.h:
10637 - Convert to GObject, export over DBUS.
10639 * src/nm-ip4-config.h:
10640 * src/nm-ip4-config.h:
10641 - Convert to GObject, export over DBUS.
10643 2007-02-12 Dan Williams <dcbw@redhat.com>
10645 Patch from Helmut Schaa <hschaa@suse.de>
10647 * vpn-daemons/pptp/configure.in
10648 vpn-daemons/pptp/Makefile.am
10649 vpn-daemons/openvpn/configure.in
10650 vpn-daemons/openvpn/Makefile.am
10651 vpn-daemons/vpnc/configure.in
10652 vpn-daemons/vpnc/Makefile.am
10653 - Add --without-gnome switch which disables building gnome bits
10655 2007-02-12 Tambet Ingo <tambet@ximian.com>
10657 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10659 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10661 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10664 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10666 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10668 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10671 - Remove old low-level dbus interface implementations and replace them
10672 with dbus-glib one.
10675 - Require dbus-glib >= 0.72.
10676 - Plug in new sources to build.
10679 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10680 to make it more convenient to use from GObject based programs.
10683 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10685 2007-02-09 Tambet Ingo <tambet@ximian.com>
10687 * src/nm-device-802-11-wireless.c:
10688 - Add "network-added" and "network-removed" signals.
10689 - Use gobject boilerplate macros to define the GObject.
10690 - Implement wireless device activation.
10691 - Remove activation_failure_handler and activation_success_handler
10692 and instead listen on state-changed signals and run the same code
10696 - Implment NMDeviceInterface::deactivate.
10697 - Remove activation_failure_handler and activation_success_handler
10698 virtual methods. Each device which is interested in these events
10699 can just listen on it's state changed signals.
10701 * src/NetworkManagerPolicy.c:
10702 - Move a bit more NMData usage to NMManager.
10703 - Remove activation scheduling bits.
10704 - Add listeners for wireless device's "network-added" and
10705 "network-removed" signals.
10706 - Listen device changed signals and deactivate currently activated
10707 device when another device start activating (for now).
10708 - Remove (nm_policy_schedule_device_change_check): There's never a need
10709 for calling this, the policy code knows exactly when this should happen,
10710 by listening on events from NMManager and NMDevices.
10712 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10715 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10716 method on the specific device instead of going to through policy code
10717 and determining the device type by passed in AP's existance.
10719 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10720 abstract NMDevice deactivation.
10722 2007-02-08 Tambet Ingo <tambet@ximian.com>
10724 * src/NetworkManager.c:
10725 - Set up all the shiny new managers.
10727 * src/NetworkManagerPolicy.c:
10728 - Add the beginnings of new NMPolicy code. Instead of requireing all
10729 classes to call into policy code, make the policy code kind of like
10730 a supervisor that monitors what's going on and drives the whole NM.
10732 * src/nm-hal-manager.c:
10733 * src/nm-hal-manager.h:
10734 - Collect all libhal code scattered around NM to this one class.
10735 - Listen libhal and NMManager events and add/remove devices to
10738 * src/nm-manager.c:
10739 * src/nm-manager.h:
10740 - Implment a replacement for NMData. NMData is now officially
10743 2007-02-05 Tambet Ingo <tambet@ximian.com>
10745 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10746 * src/supplicant-manager/nm-supplicant-interface.h
10747 * src/supplicant-manager/nm-supplicant-interface.c
10748 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10749 argument to boolean from enum.
10751 Make NMDevice abstract class, remove almost all references to it's
10752 subclasses (the last place gets removed with new policy manager). Add
10753 NMDeviceInterface (which NMDevice implements) so that when we have
10754 NMDevice exported over DBUS, there's a common NMDevice interface which
10755 all instances have, plus there's a device specific interface for each
10757 Remove functions (nm_device_is_802_3_ethernet) and
10758 (nm_device_is_802_11_wireless). There are already standard GObject macros
10759 for type safe checks.
10760 Use the updated supplican manager API.
10762 * src/nm-device-interface.h:
10763 * src/nm-device-interface.c:
10764 * src/nm-call-store.h:
10765 * src/nm-call-store.c: Implement.
10767 * src/supplicant-manager/nm-supplicant-interface.c:
10768 * src/supplicant-manager/nm-supplicant-interface.h:
10769 * src/supplicant-manager/nm-supplicant-manager.c:
10770 * src/supplicant-manager/nm-supplicant-manager.h:
10771 - Remove all private data type references from public header files.
10772 - Remove all references to other NM classes, this class is just a
10773 proxy between wpa_supplicant and NM so it doesn't have to know
10775 - Convert to dbus-glib bindings.
10776 - Type safe checks for public methods' arguments.
10777 - Store pending DBUS call ids to NMCallStore.
10779 * src/supplicant-manager/nm-supplicant-config.c:
10780 - Store config values in a GHashTable instead of GSList.
10782 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10784 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10787 * src/nm-device.c: Use the new DHCP manager API.
10789 * src/nm-activation-request.c:
10790 * src/nm-activation-request.h:
10791 - Remove all dhcp related properties and methods.
10793 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10795 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10797 * src/dhcp-manager/nm-dhcp-manager.c:
10798 * src/dhcp-manager/nm-dhcp-manager.h:
10799 - Convert it to GObject since we need to signal state changes.
10800 - Remove all references to other NM classes, this class is one
10801 of the lowest classes in our hierarchy.
10802 - One less class to use NMActRequest.
10803 - Make it singleton, one less user of NMData.
10804 - Remove a couple of sleep() calls.
10805 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10806 One less class to use the NM's custom tailored signal handlig.
10808 * Makefile.am: Generate marshallers, add them to build.
10810 2007-02-02 Dan Williams <dcbw@redhat.com>
10816 - Remove last bits referencing gnome applet
10818 2007-02-02 Dan Williams <dcbw@redhat.com>
10820 * src/vpn-manager/nm-vpn-service.c
10821 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10822 and NBNS server addresses
10824 2007-02-02 Tambet Ingo <tambet@ximian.com>
10826 * src/nm-dbus-manager.c:
10827 * src/nm-dbus-manager.h:
10828 - Convert all internal DBUS code to use dbus-glib bindings.
10829 - Remove GObject properties, we don't need them here.
10830 - Don't explicitly set things to NULL after freeing, glib is
10831 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10832 - Make public API argument checks type safe.
10833 - Remove unnecessary (and wrong) cast to GObject for the first
10834 argument to g_signal_* calls - The first argument is a gpointer.
10835 - Export DBusGConnection to other cool classes that (are going to)
10838 2007-01-26 Dan Williams <dcbw@redhat.com>
10840 * libnm-util/dbus-dict-helpers.c
10841 libnm-util/dbus-dict-helpers.h
10842 - Coordinate style with wpa_supplicant version to minimize diff
10843 - Add uint32 array support
10844 - (nmu_dbus_dict_append_uint32_array): new function
10845 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10846 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10847 version; allow adding string array elements individually
10849 * test/libnm-util/test-dbus-dict-helpers.c
10850 - Test uint32 arrays
10852 2007-01-27 Jürg Billeter <j@bitron.ch>
10854 * src/backends/NetworkManagerPaldo.c
10855 - (nm_system_update_dns): clear nscd hosts cache
10857 2007-01-04 Dan Williams <dcbw@redhat.com>
10859 Threading removal related cleanups:
10861 - Use the glib default main context. Remove the device main context
10862 member from NMDevice, and the main_context member from NMData. Change
10863 all the idle and timeout scheduler functions to use plain
10864 g_idle_add() and g_timeout_add().
10866 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10867 takes an argument; fix that up too.
10869 - Remove all locking, which is useless since we no longer use threads. For
10870 example, nm_get_device_by_iface_locked() has been removed. The global
10871 device list lock, the AP List lock, and all static locks in
10872 NetworkManagerPolicy.c have been removed. The locking utility functions
10873 in NetworkManagerUtils.c have also been removed.
10875 - Other cleanups in spacing and code style
10877 2007-01-01 Dan Williams <dcbw@redhat.com>
10879 Found by Bill Moss:
10881 * src/supplicant-manager/nm-supplicant-interface.c
10882 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10883 the supplicant interface wasn't already disconnected. Always
10884 call removeNetwork and disconnect unless the supplicant interface
10885 is in the DISCONNECTED or INACTIVE state.
10887 2006-12-28 Dan Williams <dcbw@redhat.com>
10889 Use a single thread for everything. With the move to wpa_supplicant
10890 and communication over D-Bus, there's no reason for multiple threads.
10891 Almost all of the blocking code has been removed, with one exception in
10892 the DHCP manager and a few in the VPN manager. This commit removes the
10893 per-device worker thread and fixes activation cancellation in the absence
10894 of threads. Further removal of thread-related code would be removing
10895 any locking code (like the device list lock) and simplification of logic
10896 around areas of code or data structures that are currently locked.
10899 dhcp-manager/nm-dhcp-manager.c
10900 nm-device-802-11-wireless.c
10901 nm-device-802-3-ethernet.c
10904 - Remove usage of multiple threads
10906 2006-12-19 Dan Williams <dcbw@redhat.com>
10908 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10909 plus a few other patches from wpa_supplicant bugzilla.
10912 src/NetworkManagerPolicy.c
10913 src/NetworkManagerUtils.c
10914 src/NetworkManagerUtils.h
10915 src/nm-ap-security-leap.c
10916 src/nm-ap-security-wep.c
10917 src/nm-ap-security-wpa-eap.c
10918 src/nm-ap-security-wpa-psk.c
10919 src/nm-ap-security.c
10920 src/nm-ap-security.h
10921 src/nm-device-802-11-wireless.c
10922 src/nm-device-802-11-wireless.h
10923 src/supplicant-manager/nm-supplicant-config.c
10924 src/supplicant-manager/nm-supplicant-config.h
10925 src/supplicant-manager/nm-supplicant-interface.c
10926 src/supplicant-manager/nm-supplicant-interface.h
10927 src/supplicant-manager/nm-supplicant-marshal.list
10928 src/supplicant-manager/nm-supplicant-settings-verify.c
10929 src/supplicant-manager/nm-supplicant-settings-verify.h
10930 - Move all connection management and association handling to
10931 wpa_supplicant over dbus, rather than spawning a private copy
10933 2006-12-19 Dan Williams <dcbw@redhat.com>
10935 * src/NetworkManagerPolicy.c
10936 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10937 better locking of the device change check handler ID. Incorrect
10938 locking was causing lost device change requests
10940 2006-12-18 Dan Williams <dcbw@redhat.com>
10942 * libnm-util/dbus-dict-helpers.c
10943 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10944 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10945 dbus_message_iter_get_array_len() (Gnome.org #382898)
10947 2006-12-18 Dan Williams <dcbw@redhat.com>
10949 * gnome/libnm_glib/libnm_glib.c
10950 - Change dbus_connection_close() -> dbus_connection_unref()
10952 2006-12-11 Dan Williams <dcbw@redhat.com>
10954 * src/supplicant-manager/nm-supplicant-interface.c
10955 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10956 wpa_supplicant interface state
10957 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10958 state before transitioning to READY state
10960 2006-12-04 Dan Williams <dcbw@redhat.com>
10962 * src/nm-device-802-11-wireless.c
10963 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10964 odd length of ESSID returned from ieee80211 stack-based drivers
10966 2006-12-04 Dan Williams <dcbw@redhat.com>
10968 * src/nm-device-802-11-wireless.c
10969 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10970 IE handling blocks that cause mis-parsing of the IE
10972 2006-12-04 Dan Williams <dcbw@redhat.com>
10974 * src/nm-device-802-11-wireless.c
10975 - (init_supplicant_interface): new function; pull supplicant interface
10976 setup code out into standalone function since it must be called from
10977 two different places
10978 - (real_init): sup_mgr is now in private object data; get and track
10979 the supplicant manager object over the NMDevice subclass' lifetime
10980 and register a signal handler for its state signals; only try to
10981 initialize the supplicant interface if the supplicant manager is in
10982 the IDLE state (and therefore is ready for requests)
10983 - (request_wireless_scan): reschedule the scan request if (a) there is
10984 no supplicant interface yet (meaning wpa_supplicant isn't running
10985 or isn't ready yet), or (b) if the supplicant interface isn't ready
10987 - (supplicant_iface_connection_state_cb): new function; stub for
10988 handling supplicant interface connection state signals
10989 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10991 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10992 supplicant manager object that's being tracked starting with this
10995 2006-12-04 Dan Williams <dcbw@redhat.com>
10997 * src/supplicant-manager/nm-supplicant-interface.c
10998 - (nm_supplicant_interface_set_property): track signal handler ID
10999 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11001 2006-12-04 Dan Williams <dcbw@redhat.com>
11003 * src/supplicant-manager/nm-supplicant-interface.[ch]
11004 - (nm_supplicant_interface_get_state): new function
11006 2006-12-04 Dan Williams <dcbw@redhat.com>
11008 * src/supplicant-manager/nm-supplicant-interface.c
11009 - (bssid_properties_cb): don't treat DBus errors as valid
11010 scanned AP messages
11012 2006-12-04 Dan Williams <dcbw@redhat.com>
11014 * src/supplicant-manager/nm-supplicant-interface.[ch]
11015 - (nm_supplicant_interface_get_connection_state): new function
11016 - define new supplicant connection states
11017 - send a signal when the supplicant connection state changes
11019 2006-12-03 Dan Williams <dcbw@redhat.com>
11021 * src/supplicant-manager/Makefile.am
11022 src/supplicant-manager/nm-supplicant-connection.h
11023 src/supplicant-manager/nm-supplicant-connection.c
11024 src/supplicant-manager/nm-supplicant-config.h
11025 src/supplicant-manager/nm-supplicant-config.c
11026 src/supplicant-manager/nm-supplicant-types.h
11027 src/supplicant-manager/nm-supplicant-interface.h
11028 src/supplicant-manager/nm-supplicant-interface.c
11029 - Rename NMSupplicantConnection -> NMSupplicantConfig
11031 2006-12-03 Dan Williams <dcbw@redhat.com>
11033 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11037 - Move VPN-related translatables to .skip
11039 * vpn-daemons/pptp/po/POTFILES.in
11040 - Update with new translatables
11042 2006-12-02 Dan Williams <dcbw@redhat.com>
11044 Patch from Christian Persch <chpe@gnome.org>
11046 * gnome/applet/Makefile.am
11047 gnome/applet/applet-dbus-devices.c
11048 gnome/applet/applet-notifications.c
11049 gnome/applet/applet.c
11050 gnome/applet/applet.h
11051 gnome/applet/main.c
11052 - Be a GtkStatusIcon on GTK+ >= 2.10
11054 2006-12-02 Dan Williams <dcbw@redhat.com>
11056 * gnome/applet/applet.c
11057 - (nma_update_info): fix two unecessary allocations
11059 2006-12-02 Dan Williams <dcbw@redhat.com>
11061 Patch from Michael Biebl <biebl@teco.edu>
11063 man/NetworkManager.1.in
11064 man/NetworkManagerDispatcher.1.in
11065 man/NetworkManager.8.in
11066 man/NetworkManagerDispatcher.8.in
11067 - Add .SH NAME stanzas
11068 - Move NM & NM Dispatcher manpages to section 8 (admin)
11070 2006-12-02 Dan Williams <dcbw@redhat.com>
11072 Patch from Christian Persch <chpe@gnome.org>
11075 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11077 2006-11-29 Tambet Ingo <tambet@ximian.com>
11079 Patch by Timo Hoenig <thoenig@suse.de>:
11080 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11083 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11084 we can't use the one from the main source directory.
11086 2006-11-27 Dan Williams <dcbw@redhat.com>
11088 Patch from Christian Persch <chpe@gnome.org>
11090 * gnome/applet/applet-dbus-devices.c
11091 - (hal_info_product_cb): fix memleak; free duped string.
11094 2006-11-27 Dan Williams <dcbw@redhat.com>
11096 Patch from Christian Persch <chpe@gnome.org>
11098 * gnome/applet/menu-items.c
11099 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11100 as gtk_progress_set_percentage is deprecated. Should
11101 work as far back as GTK+ 2.4. Gnome.org #379780
11103 2006-11-26 Dan Williams <dcbw@redhat.com>
11105 Scan using wpa_supplicant over DBus.
11107 * src/nm-device-802-11-wireless.c
11108 - remove wireless extensions netlink event handler bits
11109 (wireless_event_helper, nm_device_802_11_wireless_event)
11110 - remove wireless extensions scan event handler bits
11111 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11112 hex2byte, hex2num, request_and_convert_scan_results,
11113 free_process_scan_cb_data, scan_results_timeout,
11114 schedule_scan_results_timeout, cancel_scan_results_timeout)
11115 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11116 and request scans from the supplicant interface rather than directly
11117 - Move functionality of convert_scan_results() to cull_scan_list() and
11118 supplicant_iface_scanned_ap_cb()
11119 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11120 at the scan interval when the current scan has finished
11121 - (supplicant_iface_state_cb): start scanning when the supplicant
11122 interface enters the READY state, and stop scanning when it
11123 enters the DOWN state
11124 - (cull_scan_list): weed out old access points from the scan list
11125 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11126 point into an NMAccessPoint and merge it into the device's scan list
11128 * src/supplicant-manager/nm-supplicant-interface.c
11129 src/supplicant-manager/nm-supplicant-interface.h
11130 - Add a new signal "scan-result" which is issued when the supplicant
11131 notifies NM that a scan has completed
11132 - Add a new signal "scanned-ap" that notifies listeners of a new access
11133 point found in the scan. Called once for each access point that
11134 the supplicant interface object receives from the supplicant as a
11135 result of the "scanResults" method call
11136 - (wpas_iface_query_scan_results): don't wait 4s before querying
11137 for the initial scan results
11138 - (scan_request_cb): new function; send listeners the result
11139 (success, error) of a wireless scan request
11140 - (nm_supplicant_interface_request_scan): new function; ask the
11141 supplicant to perform an immediate wireless scan
11143 2006-11-25 Dan Williams <dcbw@redhat.com>
11145 * src/supplicant-manager/Makefile.am
11146 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11147 add HAL cflags/includes and named-manager includes directory
11149 * src/supplicant-manager/nm-supplicant-interface.h
11150 - New state STARTING to handle transition from INIT to READY where
11151 the addInterface pending call is still outstanding
11153 * src/supplicant-manager/nm-supplicant-interface.c
11154 - track pending calls differently since we may have more than one
11155 going on at any given time
11156 - request scan results from wpa_supplicant; but don't do it more often
11157 than every 4 seconds. Drivers that do background scanning
11158 (like the 'ipw' drivers) send a continuous stream of scan completion
11159 notifications, so we don't want to hammer the supplicant or dbus
11160 with requests for all scan results every time we get a completion
11163 2006-11-25 Dan Williams <dcbw@redhat.com>
11165 * src/supplicant-manager/nm-supplicant-types.h
11166 - new file; move all supplicant manager object typedefs here for
11169 * src/supplicant-manager/nm-supplicant-interface.c
11170 src/supplicant-manager/nm-supplicant-interface.h
11171 - new file; an object that interfaces an NMDevice object to the
11172 supplicant and handles signals from the supplicant. This object
11173 does all necessary DBus communication with wpa_supplicant.
11175 * src/supplicant-manager/nm-supplicant-manager.c
11176 src/supplicant-manager/nm-supplicant-manager.h
11177 - Actually do something. Track the state of the wpa_supplicant service
11178 and deal with its comings & goings. Handle life events of
11179 supplicant interfaces too.
11180 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11182 * src/supplicant-manager/nm-supplicant-connection.h
11183 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11185 * src/supplicant-manager/Makefile.am
11186 - Add new files to build, and add libnm-util to includes
11188 * src/nm-marshal.list
11189 - New marshaler type: VOID:UINT,UINT
11191 * src/nm-device-802-3-ethernet.c
11192 - (real_init): grab a supplicant interface
11193 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11194 - (supplicant_iface_state_cb): new function, stub for handling
11195 supplicant interface state changes
11197 * src/nm-device-802-11-wireless.c
11198 - (real_init): grab a supplicant interface
11199 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11200 - (supplicant_iface_state_cb): new function, stub for handling
11201 supplicant interface state changes
11203 * src/NetworkManager.c
11204 - (main): create and keep the supplicant manager around for the lifetime
11208 - Link to the supplicant manager sub-library and use the supplicant
11211 2006-11-25 Dan Williams <dcbw@redhat.com>
11213 Rework DBus manager signal handling to be more flexible. Previously,
11214 only one signal handler could be registered for a particular interface.
11215 The DBus manager now reference counts DBus bus matches and allows multiple
11216 clients to register signal handlers for the same interface and sender.
11218 * src/NetworkManager.c
11219 - (main): track NMI signal handler ID and remove it when we quit
11221 * src/NetworkManagerMain.h
11222 - Keep track of NMI signal handler ID
11224 * src/nm-dbus-manager.c
11225 src/nm-dbus-manager.h
11226 - rework signal handling; each signal handler references one signal
11227 match, but a signal match may be referenced by one or more
11228 signal handlers. Matches are refcounted and are destroyed when the
11229 last signal handler that references the match is removed. This is
11230 necessary because two signal handlers may end up requiring the same
11231 dbus bus match, so the match must live until the last signal handler
11232 is destroyed (for example, with the wpa_supplicant network interface
11235 * src/dhcp-manager/nm-dhcp-manager.c
11236 - (nm_dhcp_manager_new): track DHCP signal handler id
11237 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11239 * src/vpn-manager/nm-vpn-service.c
11240 - (nm_vpn_service_add_watch): track VPN service signal handler id
11241 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11243 2006-11-25 Dan Williams <dcbw@redhat.com>
11245 Suggested by Helmut Schaa <hschaa@suse.de>
11247 * src/vpn-daemons/nm-vpn-service.c
11248 - (supplicant_child_setup): new function
11249 - (supplicant_exec): make child process use a new process group id
11251 * src/nm-device-802-11-wireless.c
11252 - (nm_vpn_service_child_setup): new function
11253 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11256 2006-11-19 Dan Williams <dcbw@redhat.com>
11258 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11259 * gnome/vpn-properties/nm-vpn-properties.c
11260 - clean up after renamed VPN connection
11262 2006-11-19 Dan Williams <dcbw@redhat.com>
11264 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11265 * gnome/applet/applet-dbus-vpn.c
11266 - (nma_dbus_vpn_properties_cb): sort VPN connections
11268 * gnome/vpn-properties/nm-vpn-properties.c
11269 - (init_app): sort VPN connections
11271 2006-11-09 Dan Williams <dcbw@redhat.com>
11273 * src/NetworkManagerAPList.c
11274 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11275 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11276 from the nm_ap_list_get_ap_by_address() call was incorrect and
11277 broke hidden SSID matching. Found by Bill Moss.
11279 2006-10-25 Dan Williams <dcbw@redhat.com>
11282 - (nm_dbus_nm_set_active_device): return an empty success message on
11283 success, rather than falling through to the error case.
11285 2006-10-25 Dan Williams <dcbw@redhat.com>
11287 * src/NetworkManagerUtils.c
11288 - (nm_utils_supplicant_request_with_check): suppress messages for the
11291 2006-10-24 Dan Williams <dcbw@redhat.com>
11293 Reduce the number of times the Gnome applet wakes up, especially when
11294 it's doing absolutely nothing and is hidden. Initial patch by
11297 * gnome/applet/applet-dbus.c
11298 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11299 kill the redraw timeout. When NM starts up, start the redraw
11300 timeout. Also, if we get kicked off the bus for some reason,
11301 start the reconnection timeout if one's not already running.
11302 - (nma_dbus_init): better handling of error conditions, don't leak
11303 a half-initialized dbus connection
11304 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11305 the applet's data, just call nm_dbus_init_helper()
11306 - (nma_start_dbus_connection_watch): new function, starts a periodic
11307 timeout that calls nma_dbus_connection_watcher()
11308 - (nma_dbus_init_helper): if we get a successful connection, kill the
11309 reconnection timeout, and don't start the reconnection timeout
11310 unconditionally anymore
11312 * gnome/applet/applet-dbus.h
11313 - Expose nma_start_dbus_connection_watch()
11315 * gnome/applet/applet.c
11316 - (nma_update_state): no longer static, called from applet-dbus.c for
11317 immediate UI updates on certain events
11318 - (nma_set_running): new function; take over setting applet->running,
11319 when not running (ie, NM is not active), don't activate the redraw
11320 timeout because we're not showing the applet anyway. When we are
11321 running (ie, NM is active), and only when we're running, start the
11323 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11324 kill any reconnection timeout
11325 - (nma_get_instance): move one-off dbus initialization code here since
11326 nm_dbus_init_helper() gets called more than once, possibly by the
11327 reconnection timeout function too. And, when we start up, if we
11328 can't get a connection to the bus, start the reconnection timeout.
11329 But don't start the redraw timeout yet, only do that when we get
11330 NM's state and find out if it's running or not.
11332 * gnome/applet/applet.h
11333 - Add the reconnection GSource ID
11334 - Add prototypes for nma_set_running() and the no-longer-static
11337 2006-10-24 Dan Williams <dcbw@redhat.com>
11339 * src/vpn-daemons/nm-dbus-vpnc.c
11340 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11341 pending call tracker
11342 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11343 pending call tracker; register one-vpn-connection update pending
11344 call in pending call tracker
11345 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11346 update pending call in pending call tracker
11347 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11348 update pending call in pending call tracker; don't block waiting
11351 2006-10-19 Robert Love <rml@novell.com>
11353 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11356 2006-10-14 Dan Williams <dcbw@redhat.com>
11358 * src/dhcp-manager/nm-dhcp-manager.c
11359 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11360 the dbus connection and the device object path rather than
11361 constructing it inside both functions. Saves a bit of memory
11362 and clarifies a failure path.
11363 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11364 and allocate device path here rather than each of the two
11367 2006-10-13 Dan Williams <dcbw@redhat.com>
11369 * src/NetworkManager.c
11370 - (nm_name_owner_changed_handler): handle NMI coming and going,
11371 this somehow droppout in the refactor
11373 2006-10-13 Dan Williams <dcbw@redhat.com>
11375 * Huge DBus refactor:
11376 - Create a "DBus Manager" object which manages the connection and
11377 sends signals on NameOwnerChanged and connection/disconnection events,
11378 handles reconnection to the bus if NM gets kicked off, and abstracts
11380 - Remove DBusConnection members from places where they are no
11381 longer needed due to the refactor, like the dbus-connection
11382 property of the named manager, and from NMData
11383 - Reformats a bunch of the code to gnome style
11384 (8-space tabs, braces on same line as statement, 80-col width).
11385 Consider it open season to reformat any bits to gnome style.
11386 style that aren't already.
11388 2006-10-13 Dan Williams <dcbw@redhat.com>
11390 * src/supplicant-manager/Makefile.am
11393 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11394 - Make it a minimal GObject
11396 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11397 - Verify settings destined for wpa_supplicant
11399 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11400 - Minimal GObject to track wpa_supplicant controlled device
11403 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11405 * gnome/applet/applet.c: (nma_update_info),
11406 (nma_act_stage_to_pixbuf), (nma_update_state):
11407 Mark missing strings for translation. Fixes bug #343306.
11409 2006-10-01 Dan Williams <dcbw@redhat.com>
11411 * src/vpn-manager/nm-vpn-manager.c
11412 - (nm_vpn_manager_load_services): split and clean up
11413 for readability and correctness. Restrict VPN service
11414 files to ending in ".name", as was meant from the
11415 beginning (but not coded in). Better error reporting.
11417 2006-10-01 Dan Williams <dcbw@redhat.com>
11420 - Clean up formatting of debug/info/warning log messages
11422 2006-09-27 Robert Love <rml@novell.com>
11424 Patch by Tambet Ingo <tambet@ximian.com>:
11425 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11428 2006-09-07 Dan Williams <dcbw@redhat.com>
11431 test/libnm-util/Makefile.am
11432 test/nm-supplicant-test.c
11433 - Add test program emulating the way NM drives wpa_supplicant
11434 to help debug supplicant issues
11436 2006-08-24 Dan Williams <dcbw@redhat.com>
11440 src/supplicant-manager/Makefile.am
11441 src/supplicant-manager/nm-supplicant-manager.c
11442 src/supplicant-manager/nm-supplicant-manager.h
11443 - Add skeleton bits of the wpa_supplicant manager
11445 2006-08-24 Dan Williams <dcbw@redhat.com>
11447 Patch from Ed Catmur:
11448 * src/NetworkManagerUtils.c
11449 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11450 if netmask is 0 (Gnome #352634)
11452 2006-08-17 Robert Love <rml@novell.com>
11454 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11455 package is now DBUS-enabled and listens for the NM signals.
11457 2006-08-14 Dan Williams <dcbw@redhat.com>
11459 * Patch from Christian Persch <chpe gnome org>
11462 vpn-daemons/openvpn/po/LINGUAS
11463 vpn-daemons/openvpn/configure.in
11464 vpn-daemons/pptp/po/LINGUAS
11465 vpn-daemons/pptp/configure.in
11466 vpn-daemons/vpnc/po/LINGUAS
11467 vpn-daemons/vpnc/configure.in
11468 - Convert to LINGUAS method so translators don't have to modify
11469 configure.in, just stuff in po/. Gnome #343132, requires intltool
11472 2006-08-14 Dan Williams <dcbw@redhat.com>
11474 Patch from Alex Smith <alex.extreme2@gmail.com>
11476 src/backends/Makefile.am
11477 src/backends/NetworkManagerFrugalware.c
11478 - Add support for Frugalware
11480 2006-08-13 Dan Williams <dcbw@redhat.com>
11482 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11483 * src/nm-device-802-11-wireless.c
11484 - (supplicant_exec): spawn wpa_supplicant without debug spew
11487 2006-08-13 Dan Williams <dcbw@redhat.com>
11489 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11490 * src/nm-ap-security.c
11491 src/nm-ap-security.h
11492 - Add authentication_required bits for subclasses to specify whether
11493 or not real authentication is required for connections, i.e. whether
11494 the AP rejects us when an encryption key is wrong or not.
11496 * src/nm-ap-security-wep.c
11497 src/nm-ap-security-wpa-eap.c
11498 src/nm-ap-security-wpa-psk.c
11499 src/nm-ap-security-leap.c
11500 - Implement authentication_required appropriately for each method
11502 * src/nm-device-802-11-wireless.c
11503 - Be smarter about when to request a key; for example, using a wrong key
11504 in WEP shared key mode previously just timed out and did not request
11507 2006-08-13 Dan Williams <dcbw@redhat.com>
11509 * gnome/libnm_glib/libnm_glib.c
11510 - dbus_connection_disconnect() -> dbus_connection_close() for
11513 2006-08-07 Dan Williams <dcbw@redhat.com>
11515 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11516 * src/NetworkManagerSystem.c
11517 - Respect specified MTU. Gnome #344967
11519 2006-08-07 Dan Williams <dcbw@redhat.com>
11521 * src/vpn-manager/nm-vpn-service.c
11522 - Simplify print_vpn_config() arguments
11524 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11525 * src/vpn-manager/Makefile.am
11526 src/vpn-manager/nm-vpn-service.c
11527 - Add new API for passing VPN config options as a dict. Gnome #344967
11529 2006-08-06 Dan Williams <dcbw@redhat.com>
11531 * gnome/applet/applet-dbus-devices.c
11532 gnome/applet/applet-dbus-vpn.c
11533 gnome/applet/applet-dbus.c
11534 gnome/applet/applet-dbus.h
11538 - Make pending call tracking code generic,
11539 so we can use it in NM as well as the applet
11541 2006-08-06 Dan Williams <dcbw@redhat.com>
11543 * src/nm-activation-request.c
11544 - Refcount pending call objects
11546 2006-08-06 Dan Williams <dcbw@redhat.com>
11548 Patch from Christan Chiesa <christanc@gmail.com>
11550 - Tell sha1.c to use bigendian mode on PPC
11552 2006-08-04 Robert Love <rml@novell.com>
11554 Glib Memory Slices!
11555 * configure.in: Require glib 2.10 or later.
11556 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11557 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11558 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11559 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11560 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11561 Memory Slices are the greatest thing since bread slices.
11562 * src/NetworkManagerAP.c: Also, fix memory leak.
11564 2006-08-01 Robert Love <rml@novell.com>
11566 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11568 2006-07-31 Robert Love <rml@novell.com>
11570 * src/backends/interface_parser.c: Declarations must begin the block.
11572 2006-07-24 Dan Williams <dcbw@redhat.com>
11574 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11575 * src/backends/Makefile.am
11576 src/backends/NetworkManagerArch.c
11577 src/backends/NetworkManagerDebian.c
11578 src/backends/NetworkManagerGeneric.c
11579 src/backends/NetworkManagerGeneric.h
11580 src/backends/NetworkManagerGentoo.c
11581 src/backends/NetworkManagerPaldo.c
11582 src/backends/NetworkManagerRedHat.c
11583 src/backends/NetworkManagerSlackware.c
11584 src/backends/NetworkManagerSuSE.c
11585 - Genericize common backend functions
11587 2006-07-18 Robert Love <rml@novell.com>
11589 * configure.in: Add "--with-notify" option to allow disabling of
11592 2006-07-13 Dan Williams <dcbw@redhat.com>
11594 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11595 * gnome/applet/applet.glade
11596 gnome/applet/Makefile.am
11597 gnome/applet/nm-gconf-wso.c
11598 gnome/applet/nm-gconf-wso-leap.c
11599 gnome/applet/nm-gconf-wso-leap.h
11600 gnome/applet/wireless-security-manager.c
11601 gnome/applet/wso-leap.c
11602 gnome/applet/wso-leap.h
11603 include/NetworkManager.h
11604 libnm-util/dbus-helpers.c
11605 libnm-util/dbus-helpers.h
11607 src/NetworkManagerAP.c
11608 src/nm-ap-security.c
11609 src/nm-ap-security-leap.c
11610 src/nm-ap-security-leap.h
11611 - Add LEAP authentication support
11613 2006-07-13 Dan Williams <dcbw@redhat.com>
11615 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11617 src/backends/NetworkManagerArch.c
11618 src/backends/NetworkManagerDebian.c
11619 src/backends/NetworkManagerGentoo.c
11620 src/backends/NetworkManagerPaldo.c
11621 src/backends/NetworkManagerRedHat.c
11622 src/backends/NetworkManagerSlackware.c
11623 src/backends/NetworkManagerSuSE.c
11624 - Convert hardcoding of 'ip' path to configure-time
11627 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11629 * configure.in: added ru to ALL_LINGUAS
11631 2006-07-10 Dan Williams <dcbw@redhat.com>
11633 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11635 - (real_act_stage3_ip_config_start): don't infinite loop when
11636 dhcdbd isn't running (Gnome #346845)
11638 2006-07-09 Dan Williams <dcbw@redhat.com>
11640 * gnome/applet/applet.c
11641 - (nma_destroy): don't pass NULL to notify_notification_close
11644 2006-07-09 Dan Williams <dcbw@redhat.com>
11646 * gnome/applet/applet.c
11647 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11649 2006-07-04 Tor Krill <tor@krill.nu>
11651 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11652 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11653 (nm_system_restart_mdns_responder), (ArchReadConfig),
11654 (nm_system_device_get_system_config):
11655 - Explicitly check for DHCP configuration
11656 - Check if daemons are running before starting them
11658 2006-06-25 Dan Williams <dcbw@redhat.com>
11660 * libnm-util/dbus-dict-helpers.[ch]
11661 test/libnm-util/test-dbus-dict-helpers.c
11662 - Add string array support
11664 2006-06-24 Dan Williams <dcbw@redhat.com>
11666 * src/dhcp-manager/nm-dhcp-manager.c
11667 - (nm_dhcp_manager_process_signal): clean up spacing
11669 2006-06-21 Dan Williams <dcbw@redhat.com>
11671 * src/nm-dbus-device.c
11672 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11675 2006-06-21 Raivis Dejus <orvils@gmail.com>
11677 * configure.in: Added 'lv' to ALL_LINGUAS
11679 2006-06-19 Dan Williams <dcbw@redhat.com>
11681 * src/NetworkManagerAP.c
11682 - Clarify usage of user_created
11684 * src/nm-ap-security-wep.c
11685 src/nm-ap-security-wpa-eap.c
11686 src/nm-ap-security-wpa-psk.c
11687 src/nm-ap-security.c
11688 src/nm-ap-security.h
11689 - s/user_created/adhoc, because we really do mean adhoc
11691 Patch from Bernard Blackham <bernard@blackham.com.au>
11692 * src/nm-device-802-11-wireless.c
11693 - (supplicant_send_network_config): instead of user_created,
11694 use adhoc, and do AP_SCAN 2 for adhoc networks
11696 2006-06-18 Robert Love <rml@novell.com>
11698 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11699 we have a value to set. Gconf generates a warning if `val' is NULL.
11700 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11701 unless we actually received a valid private key file passphrase or
11702 password. Otherwise, we don't know to later ask the applet to pull
11703 the key from the keyring.
11705 2006-06-17 Dan Williams <dcbw@redhat.com>
11707 * libnm-util/dbus-dict-helpers.[ch]
11708 test/libnm-util/test-dbus-dict-helpers.c
11709 - Fixes for zero-length byte arrays
11710 - Replace return values of 0 with FALSE for clarity
11711 - Test zero-length byte arrays
11713 2006-06-17 Dan Williams <dcbw@redhat.com>
11715 * libnm-util/dbus-dict-helpers.[ch]
11716 test/libnm-util/test-dbus-dict-helpers.c
11717 - Add helpers for byte arrays
11718 - Rework bits of the testcase
11720 2006-06-16 Dan Williams <dcbw@redhat.com>
11722 * libnm-util/Makefile.am
11723 * libnm-util/dbus-dict-helpers.[ch]
11724 - Add some helpers to take the pain out of using dict types in
11727 * test/libnm-util/Makefile.am
11728 * test/libnm-util/test-dbus-dict-helpers.c
11729 - Test cases for the dict helper functions
11731 2006-06-15 Robert Love <rml@novell.com>
11733 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11734 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11735 if there is no key to pass.
11736 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11737 receiving a non-NULL key.
11739 2006-06-14 Robert Love <rml@novell.com>
11741 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11745 2006-06-14 Dan Williams <dcbw@redhat.com>
11747 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11748 * src/nm-device-802-11-wireless.c
11749 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11750 or ones where the driver is unknown
11751 - (supplicant_exec): don't wait for supplicant startup here
11752 - (supplicant_interface_init): finer grained polling for supplicant
11755 2006-06-13 Robert Love <rml@novell.com>
11757 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11758 if it is currently set to TRUE. Otherwise, we will reset the value
11759 when we connect normally.
11760 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11761 the old BSSID is valid, too. The recently added ESSID check may not be
11762 sufficient (we can remove it?). What we really want to catch is the
11763 case of going from all-zeros to the BSSID of some other network, which
11764 happens on failure.
11766 2006-06-09 Dan Williams <dcbw@redhat.com>
11768 * src/NetworkManagerSystem.[ch]
11769 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11770 it was unused and pointless
11771 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11772 fix for set_up_down_with_iface change
11774 * src/vpn-manager/nm-vpn-connection.c
11775 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11777 * src/backends/NetworkManagerPaldo.c
11778 src/backends/NetworkManagerRedHat.c
11779 src/backends/NetworkManagerSuSE.c
11780 src/backends/NetworkManagerArch.c
11781 src/backends/NetworkManagerDebian.c
11782 src/backends/NetworkManagerGentoo.c
11783 - (nm_system_enable_loopback): use set_up_down_with_iface where
11785 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11788 2006-06-09 Dan Williams <dcbw@redhat.com>
11790 Patch from Peter Jones:
11791 * src/nm-device-802-11-wireless.c
11792 - (nm_device_802_11_wireless_update_bssid): make sure that the
11793 SSID hasn't changed from what we expect before automatically
11794 updating the saved BSSID from a new AP
11796 2006-06-08 Robert Love <rml@novell.com>
11798 Add 'fallback' support. NetworkManager will attempt to brute-force
11799 connect to networks marked as fallback if there are no better wireless
11800 connections available. This is useful as a method of last resort, to
11801 work around driver problems, and for use with hidden networks.
11802 * gnome/applet/applet-dbus-devices.c,
11803 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11804 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11805 pass it on via DBUS.
11806 * gnome/applet/applet.c: No fallback by default.
11807 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11808 Update other-network-dialog to add UI checkbox toggling fallback.
11809 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11810 propery from AP object. Add "fallback" property to AP object.
11811 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11812 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11813 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11814 separate function. Add get_best_fallback_ap() for returning an AP
11815 on which to attempt fallback.
11816 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11817 * test/nm-set-fallback: New file. Sets a given network as fallback.
11819 2006-06-07 Robert Love <rml@novell.com>
11821 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11822 checked that the return type was GCONF_VALUE_STRING, not the correct
11823 GCONF_VALUE_BOOL, and thus it never worked.
11824 * src/NetworkManagerAPList.c: Before concluding that two networks are
11825 identical based on their BSSID, make sure that the BSSID in question
11826 is actually valid. Specifically, an empty or all zero BSSID does not
11828 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11829 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11830 similar invariant clean up.
11832 2006-06-02 Robert Love <rml@novell.com>
11834 * gnome/applet/applet.c: Update copyright years. Add Novell.
11836 2006-05-28 Dan Williams <dcbw@redhat.com>
11838 * gnome/applet/applet.glade
11839 gnome/vpn-properties/nm-vpn-properties.glade
11840 - Set window icons on dialogs (Gnome.org #333420)
11842 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11844 * gnome/vpn-properties/nm-vpn-properties.glade:
11845 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11846 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11847 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11848 - Make the VPN properties pages prettier and more HIG
11849 compliant. Gnome Bug #336913.
11851 2006-05-28 Dan Williams <dcbw@redhat.com>
11853 Patch from Christian Persch <chpe@gnome.org>
11854 * gnome/vpn-properties/nm-vpn-properties.c
11855 * gnome/vpn-properties/nm-vpn-properties.glade
11856 - HIG-ification love (Gnome.org #336846)
11858 2006-05-28 Dan Williams <dcbw@redhat.com>
11860 Patch from Christian Persch <chpe@gnome.org>
11862 gnome/vpn-properties/nm-vpn-properties.c
11863 - (main): Fix option parsing. Gnome.org #336847
11865 2006-05-28 Dan Williams <dcbw@redhat.com>
11867 * gnome/vpn-properties/nm-vpn-properties.c
11868 - (find_vpn_ui_by_service_name): protect against NULL service names
11869 - (update_edit_del_sensitivity): protect against NULL service names
11872 2006-05-28 Dan Williams <dcbw@redhat.com>
11874 Patch from Chris Fuller <crf@grandecom.net>:
11875 * src/nm-device-802-11-wireless.c
11876 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11877 don't dispose of wireless-specific stuff unless it is actually
11878 initialized. Gnome.org #341263
11880 2006-05-28 Dan Williams <dcbw@redhat.com>
11882 * src/NetworkManagerPolicy.c
11883 - (nm_policy_device_change_check): don't switch devices if the "best"
11884 AP is essentially the same as the current activation request, but
11885 the current activation request isn't done activating yet. Fixes
11886 multiple requests for keyring password on startup for Gnome applet.
11889 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11891 * src/NetworkManager.c: use GOptions instead of getopt
11892 * configure.in: bump glib required version to >= 2.6 for GOption
11895 2006-05-25 Robert Love <rml@novell.com>
11897 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11898 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11899 instead of dumping ifdef's throughout the code.
11900 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11901 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11902 use nm_ioctl_info() in lieu.
11904 2006-05-25 Robert Love <rml@novell.com>
11906 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11907 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11908 not using gcrypt. Otherwise, we get a linker error.
11910 2006-05-25 Robert Love <rml@novell.com>
11912 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11913 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11914 configure flag to disable building of the GNOME-based applet.
11916 2006-05-25 Robert Love <rml@novell.com>
11918 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11919 parameter from link, because it shadows a global variable with some
11920 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11921 should never have exported to the entire system a common four letter
11922 word. But we here at NetworkManager are team players. Fixes
11925 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11927 * configure.in: Added mk.po, Macedonian translation.
11929 2006-05-24 Robert Love <rml@novell.com>
11931 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11932 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11933 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11935 2006-05-24 Robert Love <rml@novell.com>
11937 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11938 libnm-util/Makefile.am, src/Makefile.am,
11939 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11940 vpn-daemons/openvpn/properties/Makefile.am,
11941 vpn-daemons/pptp/auth-dialog/Makefile.am,
11942 vpn-daemons/pptp/properties/Makefile.am,
11943 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11944 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11945 user passed for --datadir, if anything, when setting the GNOME locale
11946 directory. It should be a function of the specified datadir and not
11949 2006-05-24 Robert Love <rml@novell.com>
11951 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11952 src/NetworkManager.c: Take care to call bindtextdomain with the
11953 location of msgid files.
11954 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11957 2006-05-22 Robert Love <rml@novell.com>
11959 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11960 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11961 99% of the time there is a real problem with wireless, and a
11962 seemingly successful connection via Zeroconf just confuses the user.
11963 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11965 2006-05-22 Robert Love <rml@novell.com>
11967 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11968 autofs on interface up if NIS is configured. On interface down, do
11971 2006-05-22 Robert Love <rml@novell.com>
11973 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11974 to avoid calling g_object_unref() on stale pointers on error in
11975 nma_icons_free(). This happens because we short-circuit loaded the
11976 icons on the first failure but then free all icons. Normally we have
11977 no issue because the icons were zero'ed out malloc, but we have stale
11978 pointer data after nma_icon_theme_changed().
11979 * gnome/applet/main.c: Return error code if nma_new() failed.
11981 2060-05-21 Dan Williams <dcbw@redhat.com>
11983 * initscript/NetworkManager.in
11984 - Ensure both dhcdbd and named are started before NM
11986 2006-05-21 Dan Williams <dcbw@redhat.com>
11989 - Bump version to 0.7 to signify we are in 0.7 development
11991 2006-05-21 Dan Williams <dcbw@redhat.com>
11993 Patch from Adam Schreiber <sadam@clemson.edu>
11994 * gnome/vpn-properties/nm-vpn-properties.c
11995 - (main): correct Gnome program name (gnome.org #342498)
11997 2006-05-21 Dan Williams <dcbw@redhat.com>
11999 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12001 * src/NetworkManagerDbus.[ch]
12002 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12003 clarify that function's argument should be an escaped dbus object
12004 path, and look for path segment end before returning a match
12005 * src/nm-dbus-nm.c:
12006 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12008 2006-05-17 Robert Love <rml@novell.com>
12010 Functionality to differentiate Ad-Hoc networks from infrastructure
12011 networks in the applet, by displaying a special icon:
12012 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12013 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12014 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12015 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12016 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12017 networks, encrypted or not.
12018 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12019 accessor functions to get and set the mode of a given network,
12020 wireless_network_get_mode() and wireless_network_set_mode().
12022 2006-05-17 Robert Love <rml@novell.com>
12024 Functionality to automatically add BSSIDs to the allowed-MAC list as
12025 one roams from access point to access point on a given network:
12026 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12027 helper function to compare two ether_addr structures and return TRUE
12028 if they contain the same MAC address.
12029 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12031 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12032 stored with the current AP. If the BSSID has indeed changed, we
12033 send it out to the applet, allowing the allowed-MAC list to grow
12034 automatically in response to roaming.
12036 2006-05-16 Robert Love <rml@novell.com>
12038 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12039 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12041 2006-05-13 Dan Williams <dcbw@redhat.com>
12043 * src/nm-device-802-3-ethernet.c
12044 - (real_get_generic_capabilities): Don't ignore devices that can't do
12045 carrier detect (Debian bug #366373)
12047 2006-05-11 Dan Williams <dcbw@redhat.com>
12049 Patch from Michael Biebl <biebl@teco.edu>
12050 * src/backends/NetworkManagerDebian.c
12051 - Debian backend fixups
12053 2006-05-10 Robert Love <rml@novell.com>
12055 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12057 2006-05-09 Robert Love <rml@novell.com>
12059 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12060 private certificate passphrase, if any, in the GNOME Keyring.
12061 * libnm-utils/dbus-helpers.c: Update.
12063 2006-05-05 Dan Williams <dcbw@redhat.com>
12065 * src/nm-device-802-11-wireless.c
12066 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12067 nm_device_802_11_wireless_disable_encryption() since that's all
12068 we use it for anymore; we don't ever set WEP keys ourselves.
12069 - (real_deactivate_quickly): reset SSID and encryption keys
12070 - (real_deactivate): move SSID and encryption key reset to
12071 real_deactivate_quickly(), which gets run before us anyway
12073 2006-05-05 Robert Love <rml@novell.com>
12075 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12076 root has a wacky default of its own (or, more common, a user has a
12077 bad umask and uses su/sudo to restart NetworkManager). Anything
12078 other than 0022 does not do what we want with, for example,
12079 resolv.conf. This problem is amplified by our judicious use of
12080 fopen(), which uses mode 0666 -- implying that the only way to get
12081 the permissions we want is with a umask of 0022.
12083 2006-05-05 Dan Williams <dcbw@redhat.com>
12085 * gnome/libnm_glib/libnm_glib.c
12086 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12087 to reconnect; instead wait a bit more with each reconnect attempt
12088 up to a max of one minute.
12090 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12092 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12093 the WirelessNetwork structure using the proper function instead of
12094 just casting it directly to (const char *) (gnome.org #336991)
12096 2006-05-03 Robert Love <rml@novell.com>
12098 * src/backends/NetworkManagerSuSE.c: Respect the variable
12099 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12100 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12101 to dynamically update /etc/resolv.conf.
12103 2006-05-02 Peter Jones <pjones@redhat.com>
12105 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12107 2006-05-02 Robert Love <rml@novell.com>
12109 Patch by Timo Hoenig;
12110 * tests/nm-online.c: Print pretty status indicator as timeout winds
12111 down. Also fix possible race between DBUS startup and failure
12114 2006-05-01 Robert Love <rml@novell.com>
12116 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12119 2006-04-27 Jeremy Katz <katzj@redhat.com>
12121 * src/nm-device.c (discover_device_type): Actually use the hal
12122 device type instead of ioctl poking
12124 2006-04-26 Robert Love <rml@novell.com>
12126 * tests/nm-online.c: New file. Simple utility that returns exit status
12127 noting whether the connection is offline or online. If offline on
12128 start, it waits 30 seconds (or a command-line given value) for an
12129 online signal. If it times out, it again returns offline. This is
12130 useful for scripts that want to wait for network connections.
12132 2006-04-25 Robert Love <rml@novell.com>
12134 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12135 key mode (the authentication algorithm), e.g. open or shared, when we
12136 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12137 only shared was broken. If the user specified a shared key, set it
12138 explicitly, otherwise let wpa_supplicant go with the default.
12140 2006-04-24 Dan Williams <dcbw@redhat.com>
12142 * src/nm-device-802-11-wireless.c
12143 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12145 2006-04-24 Dan Williams <dcbw@redhat.com>
12147 Commit the async scanning patch
12149 * src/nm-device-802-11-wireless.c
12150 - get rid of scan_mutex
12151 - (wireless_event_helper): act on wireless scan events
12152 - (real_start): schedule a pending scan
12153 - (link_to_specific_ap): fake the link to the AP during a scan
12154 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12155 strength during scans
12156 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12157 nm_device_set_bitrate): unused with new scanning code, disable
12158 - (nm_device_wireless_schedule_scan): removed
12159 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12160 - (request_and_convert_scan_results): new function; retrieve scan
12161 results from the driver and schedule the processing function
12162 - (scan_results_timeout): timeout triggered when card doesn't send
12163 a scan results wireless event during a certain interval
12164 - (schedule_scan_results_timeout): new function; schedule the scan
12166 - (cancel_scan_results_timeout): new function; cancel the scan
12168 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12169 to do the scanning. Otherwise, just request a scan but don't
12170 grab results here; instead schedule a timeout for scan results and
12171 let netlink notify us of scan completion events
12172 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12173 - (cancel_pending_scan): new function; cancel a pending wireless scan
12174 - (supplicant_status_cb): ignore disconnect events while scanning
12175 - (supplicant_exec): wait a bit longer for the supplicant to start up
12176 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12178 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12180 2006-04-24 Dan Williams <dcbw@redhat.com>
12182 * gnome/applet/applet-dbus.c
12183 - Disable the pending call debug stuff, seems under control now
12185 2006-04-20 Robert Love <rml@novell.com>
12187 Fix bug where hidden ESSID's would not show up in the applet, even
12188 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12189 because nm_policy_device_list_update_from_allowed_list() would merge
12190 the data, putting a name to the hidden networks, but never notify NMI
12191 of the changes. Simple fix is to invoke the function
12192 nm_dbus_signal_wireless_network_change() if we make a mapping.
12193 * src/NetworkManagerAPList.c: Call the function
12194 nm_dbus_signal_wireless_network_change() if we made a successful
12195 BSSID to ESSID mapping, notifying the applet of the "new" network.
12196 * src/NetworkManagerAPList.h: Update the prototypes for both
12197 nm_ap_list_copy_essids_by_address() and
12198 nm_ap_list_copy_one_essid_by_address().
12200 2006-04-20 Robert Love <rml@novell.com>
12202 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12203 not set. Just return zero.
12205 2006-04-20 Robert Love <rml@novell.com>
12207 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12208 only one copy of nm-vpn-properties is running at a time via the 'ol
12209 X selection trick. This prevents the user from opening two "VPN
12210 Connections" windows from within the applet, which leads to mass
12212 * clipboard.c: New file, implementing simple X selection logic.
12213 * clipboard.h: New file.
12214 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12216 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12218 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12220 initscript/Gentoo/Makefile.am
12221 initscript/Gentoo/NetworkManagerDispatcher.in
12223 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12226 2006-04-16 Dan Williams <dcbw@redhat.com>
12228 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12230 initscript/Slackware/Makefile.am
12231 initscript/Slackware/rc.networkmanager-dispatcher.in
12232 initscript/Slackware/rc.networkmanager.in
12233 - Update slackware initscripts
12235 2006-04-10 Robert Love <rml@novell.com>
12237 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12238 the "delete_event" signal on the druid's parent window and handle it
12239 our way, lest using the WM to close the druid results in a series of
12240 bloody and ultimately lethal errors.
12242 2006-04-10 Robert Love <rml@novell.com>
12244 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12245 'Back' too or else the 'Forward' option is initially disabled despite
12248 2006-04-06 Robert Love <rml@novell.com>
12250 Fix bad but simple bug where an active modem connection did not update
12251 NM's connection state, breaking any app that did online/offline:
12252 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12253 represented whether a dial up connection is active, or not.
12254 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12255 to modem activation and deactivation.
12256 * src/NetworkManagerDbus.c: When asked our state, do not return
12257 disconnected if the modem is active.
12259 2006-04-04 Robert Love <rml@novell.com>
12261 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12262 applet. It just confuses the crap out of people and does not make a
12263 lot of sense, as the daemon still runs.
12265 2006-04-02 Tor Krill <tor@krill.nu>
12267 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12268 in start of service.
12269 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12270 get Archlinux backend up to date.
12272 2006-03-29 Robert Love <rml@novell.com>
12274 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12275 to add support for per-route MSS and improve support for per-interface
12277 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12278 optionally take an MSS parameter and set it for the given route.
12279 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12280 NMIP4Config's stored MSS, if any.
12281 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12282 the interface's MTU and the route's MSS, respectively. Add functions
12283 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12284 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12286 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12287 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12288 nm_ip4_config_set_mss.
12289 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12291 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12292 Change the retval of nm_system_get_mtu to guint32.
12293 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12294 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12295 servers can specify MTU's, we should set it here if the MTU was not
12298 2006-03-27 Jürg Billeter <j@bitron.ch>
12301 * initscript/Makefile.am:
12302 * initscript/paldo/Makefile.am:
12303 * initscript/paldo/NetworkManager.in:
12304 * initscript/paldo/NetworkManagerDispatcher.in:
12305 * src/backends/Makefile.am:
12306 * src/backends/NetworkManagerPaldo.c:
12307 - Add paldo support
12309 2006-03-27 Dan Williams <dcbw@redhat.com>
12311 Patch from Christian Persch <chpe@gnome.org>
12312 * gnome/applet/applet.glade
12313 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12315 2006-03-27 Dan Williams <dcbw@redhat.com>
12317 Patch from Diffe <diffie@blazebox.homeip.net>
12318 * src/backends/NetworkManagerSlackware.c
12319 - Don't restart howl, since it's been replaced by Avahi
12320 in most distributions
12322 2006-03-27 Dan Williams <dcbw@redhat.com>
12324 Patch from Tor Krill <bugzilla@krill.nu>
12326 initscript/Makefile.am
12327 src/backends/Makefile.am
12328 src/backends/NetworkManagerArch.c
12329 initscript/Arch/Makefile.am
12330 initscript/Arch/networkmanager-dispatcher.in
12331 initscript/Arch/networkmanager.in
12332 - Add Arch Linux support, fixes gnome.org #335147
12334 2006-03-27 Dan Williams <dcbw@redhat.com>
12336 Patch from Diffe <diffie@blazebox.homeip.net>
12337 * initscript/Slackware/rc.networkmanager
12338 - update, fixed gnome.org #333368
12340 2006-03-27 Robert Love <rml@novell.com>
12342 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12343 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12345 2006-03-27 Robert Love <rml@novell.com>
12347 Patch by Jürg Billeter <j@bitron.ch>:
12348 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12350 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12351 as we prefer glibc over kernel headers, if possible.
12353 2006-03-27 Robert Love <rml@novell.com>
12355 Patch by Jon Escombe <list@dresco.co.uk>:
12356 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12357 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12358 fail, don't bail out. We don't expect all of the various WPA-EAP
12359 values to be present.
12360 * src/nm-ap-security.c: We need to match all capabilities for each
12361 encryption type, not any one of them.
12363 2006-03-27 Robert Love <rml@novell.com>
12365 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12366 restart, not reload, ypbind. Unfortunately there is no superior
12369 2006-03-24 Christopher Aillon <caillon@redhat.com>
12371 * gnome/applet/applet-notifications.c:
12372 When displaying a notification, make sure to get rid of the
12373 previous notification so as to not have competing bubbles,
12374 and stop leaking the old one.
12376 * gnome/applet/applet.c:
12377 * gnome/applet/applet.h:
12378 Add a new 'notification' member to the applet, and zero it out
12379 and free it appropriately.
12381 2006-03-23 Robert Love <rml@novell.com>
12383 Patch by j <j@bootlab.org>:
12384 * gnome/applet/applet.glade: Don't set the invisible_char property,
12385 which simply overrides the GTK default. By and by, this behavior
12386 ought to be fixed in Glade.
12388 2006-03-22 Robert Love <rml@novell.com>
12390 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12392 2006-03-22 Robert Love <rml@novell.com>
12394 Bug fix by Timo Hoenig <thoenig@suse.de>:
12395 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12396 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12397 and the applet going AWOL.
12399 2006-03-22 Robert Love <rml@novell.com>
12401 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12402 preprocessor define and use it instead of open-coded the DHCP
12403 timeout, which is currently 25 seconds, everywhere.
12405 2006-03-22 Robert Love <rml@novell.com>
12407 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12408 key exchange via WPA, ostensibly providing good security without
12409 requiring hardware that supports full WPA. Also, add UI elements to
12410 allow the user to select the pairwise & group cipher for WPA Enterprise
12412 * gnome/applet/applet.glade: Update glade file.
12413 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12414 key type, too, to and from gconf.
12415 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12416 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12417 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12418 the capabilities match.
12419 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12421 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12422 serialize from UI to DBUS.
12423 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12425 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12426 nmu_security_serialize_wpa_eap_with_cipher(), and
12427 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12428 serialize/deserialize the key type via DBUS as the new third DBUS
12430 * libnm-util/dbus-helpers.h: Update prototypes.
12431 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12432 too. If the key type is WEP104, do Dynamic WEP, which means
12433 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12434 pairwise and group ciphers (fixes a FIXME).
12436 2006-03-21 Robert Love <rml@novell.com>
12438 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12439 nm_system_get_mtu(), which returns a user-provided or system-mandated
12440 MTU value for a given device, if any, or zero if no such value
12441 exists. Add nm_system_set_mtu() to set the MTU for a given device
12442 if we have a provided value.
12443 * src/nm-device.c: Set the MTU of devices.
12444 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12445 * src/backends/NetworkManagerDebian.c,
12446 src/backends/NetworkManagerGentoo.c,
12447 src/backends/NetworkManagerRedHat.c,
12448 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12450 2006-03-21 Robert Love <rml@novell.com>
12452 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12453 configuration file.
12455 2006-03-17 Robert Love <rml@novell.com>
12457 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12458 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12459 it, in case it is not running in the first place. We just want its
12460 configuration reloaded. Also, do not "rcypbind stop" on device down.
12462 2006-03-15 Robert Love <rml@novell.com>
12464 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12465 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12466 label "WEP 40/128-bit" is inconsistent because the physical key size
12467 is 40 or 104-bits, to which a 24-bit initialisation vector is
12468 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12469 to read "40/104" or "64/128". I do not care much which, but most
12470 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12471 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12472 WEP passphrase support only handles 128-bit keys, and any future
12473 64-bit passphrase support will require a new option (no way to auto-
12474 detect the target key size), explicitly label our passphrase support
12475 "WEP 128-bit Passphrase".
12477 2006-03-15 Robert Love <rml@novell.com>
12479 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12480 the system init scripts (or some other mechanism) starting it (or a
12481 compatible DBUS service) before NetworkManager runs. This means that
12482 distributions might need to update their init scripts. This fixes
12483 possible races and is quite a bit cleaner.
12484 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12485 starting the NetworkManager daemon.
12488 2006-03-14 Robert Love <rml@novell.com>
12490 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12491 before adding anything.
12493 2006-03-13 Robert Love <rml@novell.com>
12495 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12496 widgets, too, if they exist, in case the user hit the back button.
12497 Fixes a bug where the details page contains the widgets of multiple
12498 VPN modules (Novell bug #157048).
12500 2006-03-13 Robert Love <rml@novell.com>
12502 Patch by Timo Hoenig <thoenig@suse.de>:
12503 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12504 daemon survive DBUS restarts, too.
12506 2006-03-10 Robert Love <rml@novell.com>
12508 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12510 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12511 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12512 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12513 in response to "toggled" signal on new toggle.
12515 2006-03-10 Robert Love <rml@novell.com>
12517 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12518 serialization if strings are NULL, lest DBUS get angry.
12520 2006-03-10 Robert Love <rml@novell.com>
12522 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12524 2006-03-09 Robert Love <rml@novell.com>
12526 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12529 2006-03-09 Dan Williams <dcbw@redhat.com>
12531 Track pending call requests in the applet, and report how many are
12532 outstanding, and how long each completed one takes.
12534 * gnome/applet/applet-dbus-devices.c
12535 gnome/applet/applet-dbus-vpn.c
12536 - Track pending calls
12538 * gnome/applet/applet-dbus.[ch]
12539 - Remove some unused enums
12540 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12541 new functions to track dbus pending calls and spit out some
12542 statistics about them
12544 2006-03-09 Robert Love <rml@novell.com>
12546 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12547 nm_ap_set_timestamp() take the second and micro-second parameters as
12548 direct arguments, which avoids both a dynamic memory allocation and a
12549 structure-to-structure copy! Add a new interface, the aptly named
12550 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12551 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12552 the return from nm_ap_get_timestamp(). New users should use the new
12553 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12554 the extreme benefit to performance.
12555 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12556 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12558 2006-03-08 Robert Love <rml@novell.com>
12560 * gnome/applet/applet.glade: Hide the password entry text with
12563 2006-03-08 Robert Love <rml@novell.com>
12565 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12566 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12567 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12568 a second argument, NMData.
12569 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12570 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12571 config files as trusted.
12573 2006-03-06 Robert Love <rml@novell.com>
12575 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12576 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12577 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12578 Rivera, detect if the applet was auto-started. If so, ask the user
12579 if he or she would like to stop automatically running the applet on
12580 login. If so, disable autostart.
12582 2006-03-06 Robert Love <rml@novell.com>
12584 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12585 directory in CFLAGS so developers can actually use NetworkManager.h.
12587 2006-03-06 Robert Love <rml@novell.com>
12589 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12590 open-coded integer constants. Add state_to_string() to map a given
12591 state to a textual description, and provide that when notifying of
12593 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12594 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12595 this header directly, but it is currently not installed on most
12598 2006-03-05 Dan Williams <dcbw@redhat.com>
12600 Process netlink messages in device subclasses rather than in
12601 NetworkManager.c. Also add support for recognizing Wireless Events.
12604 - Find GLIB_GENMARSHAL
12607 - Since we're marshalling custom types for wireless event signals,
12608 we get to create our own marshallers using GLIB_GENMARSHAL
12610 * src/NetworkManager.c
12611 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12612 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12613 cut down somewhat. We no longer process signals here.
12614 - (nm_data_new): create the netlink monitor here, and remove a
12615 useless call to nm_policy_schedule_device_change_check()
12616 - (nm_data_free): get rid of the netlink monitor here
12617 - (nm_device_link_activated, nm_device_link_deactivated): removed
12618 - (main): don't create the netlink monitor here, let nm_data_new
12619 do that. Call nm_policy_schedule_device_change_check() right
12620 before we jump to the mainloop to figure out which device
12623 * src/NetworkManagerSystem.[ch]
12624 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12625 convert back and forth from interface names to interface
12628 * src/nm-device-802-11-wireless.c
12629 - (real_init): connect to wireless-event signals from the netlink
12631 - (nm_device_802_11_wireless_event): new function, schedule handler
12632 for wireless event signals from the netlink monitor object. We
12633 want the handler to run in the device's context
12634 - (wireless_event_helper): handle wireless-event signals from netlink
12635 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12638 * src/nm-device-802-11-wireless.h
12639 - remove unused prototype for nm_device_802_11_wireless_new
12641 * src/nm-device-802-3-ethernet.c
12642 - (real_init): new function; set up signal handlers for link events
12643 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12644 handler for netlink link activated events on device's main loop
12645 - (link_activated_helper): when we get a link activated event, set
12646 the device's link to be active
12647 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12648 handler for netlink link deactivated events on device's main loop
12649 - (link_deactivated_helper): when we get a link deactivated event, set
12650 the device's link to be inactive
12651 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12654 * src/nm-device-802-3-ethernet.h
12655 - remove unused prototype for nm_device_802_3_ethernet_new
12657 * src/nm-device.[ch]
12658 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12659 but locks the device list
12660 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12662 * src/nm-netlink-monitor.[ch]
12663 - (nm_netlink_monitor_class_install_signals): New signal
12665 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12667 - (nm_netlink_monitor_event_handler): expand for wireless events too
12669 * src/nm-marshal-main.c
12670 - Include generated nm-marshal.c and nm-marshal.h
12672 * src/nm-marshal.list
12673 - List of custom marshal functions
12675 2006-03-05 Dan Williams <dcbw@redhat.com>
12677 * gnome/applet/applet-notifications.h
12678 - Protect prototype of nma_send_event_notification() because it
12679 includes libnotify-specific types
12680 - Include libnotify/libnotify.h too, since we technically need it
12682 * gnome/applet/applet.c
12683 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12684 - (nma_show_vpn_login_banner_dialog): add some error checking
12686 2006-03-04 Dan Williams <dcbw@redhat.com>
12688 Clean up activation cancellation. Should be a lot faster now. Observed
12689 an issue with wireless devices between stage 2 and 3 of activation, where
12690 activation would be cancelled, but the device thread wouldn't notice until
12691 the supplicant association timed out. Reorganize activation such that
12692 a cancellation handler gets immediately scheduled in the device's thread,
12693 and devices have a chance to perform any custom cleanup too.
12695 * src/nm-device.[ch]
12696 - (activation_cancel_handler): new device-type-specific function
12697 for cleaning up device-type-specific stuff on cancellation
12698 - (cancel_activation): removed
12699 - (nm_device_activation_cancel): subsume functionality of
12700 real_cancel_activation, but instead of doing anything, punt
12701 operation to a handler that's run in device-thread context
12702 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12704 - (activation_handle_cancel_helper): cancellation handler run in
12705 device-thread context, calls device-type-specific cancelation,
12706 then tears down the activation request
12707 - (real_activation_cancel_handler): generic cancellation handler,
12708 deals with cancelling any in-process DHCP request
12709 - (nm_device_activate_stage1_device_prepare,
12710 nm_device_activate_stage2_device_config,
12711 nm_device_activate_stage3_ip_config_start,
12712 nm_device_activate_stage4_ip_config_get,
12713 nm_device_activate_stage4_ip_config_timeout,
12714 nm_device_activate_stage5_ip_commit): don't call
12715 nm_device_schedule_activation_handle_cancel() any more, since
12716 cancellation will have been already scheduled for us by
12717 nm_device_activation_cancel(). Just exit the function and
12718 assume that the cancel handler will be called next.
12720 * src/nm-device-802-3-ethernet.c
12721 - (real_act_stage2_config): remove; didn't do anything anyway
12723 * src/nm-device-802-11-wireless.c
12724 - (supplicant_status_cb): ensure we don't do anything if the activation
12726 - (real_activation_cancel_handler): implement; cancel user key request
12727 on activation cancellation
12729 2006-03-04 Dan Williams <dcbw@redhat.com>
12731 * src/nm-device-802-11-wireless.c
12732 - (supplicant_send_network_config): assume that drivers that don't
12733 support WPA pretty much suck, and can't handle NM scanning
12734 along with wpa_supplicant.
12736 2006-03-03 Robert Love <rml@novell.com>
12738 * configure.in: Bump version to 0.6.0.
12741 2006-03-03 Robert Love <rml@novell.com>
12743 * configure.in: Require DBUS 0.60 or later.
12745 2006-03-03 Dan Williams <dcbw@redhat.com>
12747 Fix a crash if an "Other wireless network" was chosen, failed, then
12748 chosen again from the applet's menu. If the other network wasn't
12749 noticed in a scan, it wouldn't have any capabilities, but would still
12750 be listed because the user forced the network. To fix this, we set
12751 sensible capabilities on the forced network, which will get overwritten
12752 with the correct ones if the network shows up later in a scan.
12754 * src/nm-ap-security.h
12755 - Add a new "get_default_capabilities_func" member to the
12758 * src/nm-ap-security.c
12759 - (nm_ap_security_get_default_capabilities): new function
12761 * src/nm-ap-security.c
12762 src/nm-ap-security-wep.c
12763 src/nm-ap-security-wpa-psk.c
12764 src/nm-ap-security-wpa-eap.c
12765 - Implement get_default_capabilities_func() for all, which
12766 uses the information contained in a specific NMAPSecurity
12767 object to determine default AP capabilites necessary
12768 to support that object
12770 As a secondary measure, we now prune artificial access points that fail
12771 to be activated right away. The thing failed, and we have no scan data for
12772 it, so it's pretty much useless since security information is only saved
12773 in the applets when a connection is successful.
12775 * src/NetworkManagerAPList.c
12776 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12777 not artificial. If we see it, it's no longer a figment of the
12778 user's imagination :)
12780 * src/NetworkManagerPolicy.c
12781 - (nm_policy_activation_failed): send along the failed AP if we
12784 * src/nm-device-802-11-wireless.c
12785 - (real_activation_failure_handler): remove artificial APs from
12786 the device list, because activation failed
12788 2006-03-02 Robert Love <rml@novell.com>
12790 Add support for retrieving both the per-device speed and the
12791 per-network maximum supported rate. Then change the getProperties
12792 DBUS API for both networks and devices to report this informaiton.
12793 Finally, display the information via both nm-applet and nm-tool:
12794 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12796 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12797 Information' dialog.
12798 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12799 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12800 network_device_get_speed() and network_device_set_speed() for
12801 retrieving and setting, respectively, a network device's current
12803 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12804 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12805 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12806 not matter (yet) what the units are, because we only feed it its own
12807 output. Implement SIOCGIRATE and set the per-network maximum
12808 supported rate during scanning.
12809 * src/nm-device-802-11-wireless.h: Export the function
12810 nm_device_802_11_wireless_get_bitrate().
12811 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12812 function nm_device_802_3_ethernet_get_speed() for returning an
12813 802.3's current speed, in Mb/s.
12814 * test/nm-tool.c: Display the per-device current speed, if available,
12815 and the per-network maximum rate.
12817 2006-03-02 Dan Williams <dcbw@redhat.com>
12819 * src/nm-device-802-11-wireless.c
12820 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12821 card when it gets initialized. Since devices don't get added to
12822 the scan list until they are initialized, this function wasn't
12823 setting the intitial scan interval correctly, and was leaving
12824 it at 0. This caused cards to get many scan requests in a short
12825 amount of time when they were initialized
12827 2006-03-02 Robert Love <rml@novell.com>
12829 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12830 active device. But do not do what we used to do and override the
12831 state, which caused the dreaded icon race of '05.
12833 2006-03-02 Robert Love <rml@novell.com>
12835 Commit Dan's update of my previous commit:
12836 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12837 set_mode() function itself does the check. But do only set the
12838 frequency if in Ad-Hoc mode.
12840 2006-03-02 Robert Love <rml@novell.com>
12842 Patch by Brian Magnuson <magnuson@rcn.com>:
12843 * src/nm-device-802-11-wireless.c: During scanning, only set the
12844 wireless mode to infrastructure if it is not currently in
12845 infrastructure mode. For some driver, setting the mode is a costly
12846 operation, apparently.
12848 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12850 * Makefile.am: use the correct dir for autostart mechanism.
12852 2006-02-28 Dan Williams <dcbw@redhat.com>
12854 Patch from Brian Magnuson <magnuson@rcn.com>
12855 * gnome/applet/applet.c
12856 - (nma_show_vpn_failure_dialog): fix errors left over from
12857 libnotify support changes
12859 2006-02-28 Dan Williams <dcbw@redhat.com>
12861 * src/vpn-manager/nm-vpn-act-request.[ch]
12862 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12864 - (nm_vpn_act_request_is_failed): new function; return whether or
12865 not the vpn activation request has failed
12867 * src/vpn-manager/nm-vpn-manager.c
12868 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12869 daemon to kill the connection when the activation request fails.
12870 Fixes issue where NM would get confused if the VPN activation
12871 request timed out, and would not allow further VPN connections
12874 2006-02-28 Dan Williams <dcbw@redhat.com>
12876 * gnome/applet/applet.c
12877 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12878 overlapping connection requests, disable all VPN menu items
12879 but the active VPN connection
12881 2006-02-28 Dan Williams <dcbw@redhat.com>
12883 * src/vpn-manager/nm-vpn-connection.c
12884 - (nm_vpn_connection_set_parent_device): fix C&P error which
12885 called g_object_unref() on the connection's parent device
12886 when it should have been ref-ed instead. Fixes crash with
12887 repeated vpn connect requests
12889 2006-02-28 Christopher Aillon <caillon@redhat.com>
12891 * gnome/applet/applet.glade:
12892 Mark a few strings non-translatable, since they shouldn't be.
12894 2006-02-28 Dan Williams <dcbw@redhat.com>
12896 * src/vpn-manager/nm-vpn-service.c
12897 - (nm_vpn_service_start_connection): if the vpn service daemon is
12898 already running, don't blindly ask it to connect, but wait until
12899 it's in the STOPPED state first. Fixes an assertion when user
12900 starts a second vpn connection without stopping the first.
12901 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12902 dbus service exists before continuing with the connection
12903 process, and reduce latency while waiting for it to become
12905 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12906 waiting for the vpn service daemon to become available
12907 - General log message cleanups; show progress via "Stage x of 4"
12908 rather than not telling anyone how many stages there are
12910 2006-02-28 Robert Love <rml@novell.com>
12912 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12913 * src/backends/NetworkManagerSuSE.c: Implement the interface
12914 nm_system_should_modify_resolv_conf() for SUSE.
12915 * src/backends/NetworkManagerDebian.c,
12916 src/backends/NetworkManagerGentoo.c,
12917 src/backends/NetworkManagerRedHat.c,
12918 src/backends/NetworkManagerSlackware.c: Add stub.
12919 * src/named-manager/Makefile.am: Grab includes from src.
12920 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12921 automatic updating of resolv.conf. This is useful for testing,
12922 broken static configurations, and administrator lock-down.
12924 2006-02-28 Dan Williams <dcbw@redhat.com>
12926 * src/nm-device-802-11-wireless.c
12927 - Move all the wpa_supplicant-related management stuff into its
12928 own struct, just for oranization's sake
12929 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12930 to a GIOChannel/GSource
12931 - (supplicant_log_stdout): new function; grab output from the
12932 wpa_supplicant stdout pipe and write it to our logs.
12934 2006-02-27 Christopher Aillon <caillon@redhat.com>
12936 * src/nm-device-802-11-wireless.c:
12937 Err, fix thinko in my previous commit.
12939 2006-02-28 Robert Love <rml@novell.com>
12941 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12943 2006-02-28 Robert Love <rml@novell.com>
12945 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12946 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12947 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12948 deserializers are responsible for freeing the returned DBUS strings.
12950 2006-02-27 Christopher Aillon <caillon@redhat.com>
12952 * src/nm-device-802-11-wireless.c:
12953 The scan list is being pruned prematurely. We should prune after
12954 the device has gone MIA for three scans, not one. Split out the
12955 interval to realtime seconds function to better serve this.
12957 2006-02-27 Robert Love <rml@novell.com>
12959 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12960 Open the pid file O_TRUNC, so if it already exists we truncate it to
12961 zero length. Also, be more verbose about warnings generated during
12962 writing out the pid file. Finally, always write out the pid file if
12963 in daemon mode. Use "--pid-file" to override the default.
12965 2006-02-27 Robert Love <rml@novell.com>
12967 Patch by R. Vinay <rvinay@novell.com>:
12968 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12969 'last_attempt_success' when removing a VPN connection, too. (Fixes
12970 Novell bug #153628).
12972 2006-02-27 Robert Love <rml@novell.com>
12974 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12975 entry so user can hit <ENTER> after entering passphrase (Novell bug
12978 2006-02-27 Dan Williams <dcbw@redhat.com>
12981 - Mass search/replace of:
12983 NMWirelessApplet -> NMApplet
12984 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12985 (it ain't just for wireless anymore, ma!)
12986 - Fix duplicate function name printing when using nm_warning
12987 - wireless-applet.glade -> applet.glade
12989 2006-02-27 Dan Williams <dcbw@redhat.com>
12991 * dispatcher-daemon/NetworkManagerDispatcher.c
12992 - Accept --pid-file with a path to a pidfile, write it out on
12993 startup, and delete it on shutdown
12995 * src/NetworkManager.c
12996 - Accept --pid-file with a path to a pidfile, write it out on
12997 startup, and delete it on shutdown
12998 - Move nm_print_usage() lower
13000 * initscripts/RedHat/NetworkManager.in
13001 - Use new --pid-file option
13002 - Fix service stopping to wait a bit for NM to quit
13004 * initscripts/RedHat/NetworkManagerDispatcher.in
13005 - Use new --pid-file option
13007 2006-02-26 Dan Williams <dcbw@redhat.com>
13010 - make and install nm-crash-logger
13012 * src/nm-logging.[ch]
13013 - New files; consolidate logging and crash handling
13015 * src/nm-crash-logger.c
13017 - Standalong crashlogger for NM, grab a backtrace
13020 * src/NetworkManager.[ch]
13021 - Remove signal handling and put it into nm-logging.c
13023 2006-02-26 Dan Williams <dcbw@redhat.com>
13026 gnome/applet/Makefile.am
13027 - Conditionalize all the notify stuff
13029 Merge most of Chris Aillon's notification patch:
13031 * gnome/applet/applet-notifications.[ch]
13032 - New files; show a notification
13034 * gnome/applet/applet-dbus-devices.[ch]
13035 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13036 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13037 new functions, do the right thing when a device change occurs
13039 * gnome/applet/applet-dbus.c
13040 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13041 signals, so we can handle them specially
13043 * gnome/applet/applet.[ch]
13044 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13045 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13046 - (nmwa_notify_state): remove
13047 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13048 notification work is now done when the appropriate dbus signals
13050 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13051 defer execution of the notification/dialog stuff. That was an
13052 artifact of the previous multi-threaded nature of the applet
13053 and is now pointless.
13054 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13055 no longer needed. Function folded into applet-notifications.c
13057 * src/NetworkManagerPolicy.c
13058 - (nm_policy_activation_finish): send the AP along with the device
13059 status change signal, if the connection is wireless. Should
13060 fix the race where applet would show a connection to "unknown"
13062 2006-02-25 Robert Love <rml@novell.com>
13064 Add WPA Enterprise support:
13065 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13066 nm-gconf-wso-wpa-eap.h.
13067 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13068 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13069 serialization and deserialization.
13070 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13071 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13072 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13073 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13074 settings related to WPA Enterprise.
13075 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13076 instantiate WPA Enterprise wireless-security-option.
13077 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13078 Implement WPA Enterprise wireless-security-option object.
13079 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13081 * libnm-util/cipher-wpa-psk-hex.c,
13082 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13083 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13084 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13085 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13086 including the cipher to DBUS method, and
13087 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13089 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13090 nm-ap-security-wpa-eap.h
13091 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13092 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13093 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13094 files. Implement NMAPSecurityWPA_EAP object.
13095 * src/nm-ap-security-wpa-psk.c: Cleanup.
13096 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13097 an NMAPSecurityWPA_EAP object via the method
13098 nm_ap_security_wpa_eap_new_deserialize().
13099 * src/nm-dbus-nm.c: Cleanup.
13100 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13101 WPA Enterprise support.
13103 2006-02-24 Robert Love <rml@novell.com>
13105 Patch from Timo Hoenig <thoenig@suse.de>:
13106 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13108 2006-02-24 Robert Love <rml@novell.com>
13110 Patch from Dan Winship <danw@novell.com>:
13111 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13112 area to transparent.
13114 2006-02-21 Dan Williams <dcbw@redhat.com>
13116 * gnome/applet/applet.[ch]
13117 gnome/applet/applet-dbus.c
13118 - Implement notification support for VPN messages too
13120 2006-02-21 Dan Williams <dcbw@redhat.com>
13122 * gnome/applet/applet-dbus-info.c
13123 - Clean up warning messages to not double-print the function
13125 2006-02-21 Dan Williams <dcbw@redhat.com>
13127 * gnome/applet/applet-compat.c
13128 - (convert_one_entry): accept entries without a key_type and
13129 convert them to unencrypted networks
13131 2006-02-21 Dan Williams <dcbw@redhat.com>
13133 * gnome/libnm_glib/libnm_glib.c
13134 - Use __func__ everywhere we can
13136 - Use dbus pending calls rather than blocking
13137 - Reduce busywaits for our thread to start and stop
13138 (gnome.org #330562)
13139 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13140 stomp on others using the default shared dbus connection.
13141 Fixes #rh177546# and gnome.org #326572
13143 2006-02-21 Dan Williams <dcbw@redhat.com>
13145 Patch from Rodney Dawes <dobey@novell.com>
13147 gnome/applet/Makefile.am
13148 gnome/applet/applet.c
13149 - Add libnotify support if '--enable-notify=yes' is passed
13152 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13154 * configure.in (ALL_LINGUAS): ko added. (Korean)
13156 2006-02-15 Robert Love <rml@novell.com>
13158 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13159 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13160 and WPA_SUPPLICANT_CONTROL_SOCKET.
13162 2006-02-15 Robert Love <rml@novell.com>
13164 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13165 information about what connection stage we are at, provide the total
13166 number of stages, e.g. "Stage 2 of 5", so users know how far along
13167 they are if they experience problems.
13169 2006-02-15 Robert Love <rml@novell.com>
13171 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13172 define to $sysconfdir.
13173 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13174 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13175 type of VPN and then editing another results in a mangled dialog
13176 box containing the widgets from both VPNs (fixes Novell #150854).
13177 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13179 2006-02-14 Robert Love <rml@novell.com>
13181 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13182 syslog's file descriptor.
13184 2006-02-14 Robert Love <rml@novell.com>
13186 Fix bug around since the change to "deal with APs changing settings on
13187 us," checked in on the fifth of February in the year of the dog,
13188 wherein connecting to non-broadcast encrypted networks always fails
13189 because nm_ap_get_encrypted() always returns FALSE, even when the user
13190 provided a key, because the newly-created fake AP does not have any
13191 capabilities set, which is a sypmtom of security settings not matching
13192 capabilities (Novell bug #150784):
13193 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13194 nm_ap_add_capabilities_from_security(), which sets the given AP's
13195 capabilities off the given security settings. Also improve our
13196 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13197 NM_AUTH_CIPHER_AUTO.
13198 * src/nm-device-802-11-wireless.c: Call the function
13199 nm_ap_add_capabilities_from_security() to ensure that capabilities
13200 match newly updated security settings.
13202 2006-02-14 Robert Love <rml@novell.com>
13204 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13205 error as a string, not an integer, if possible; do not print the
13206 function name twice; always give the interface, if possible; misc.
13209 2006-02-12 Dan Williams <dcbw@redhat.com>
13211 Patch from Tom Parker <palfrey@tevp.net>
13212 * src/NetworkManagerSystem.h
13213 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13216 * src/backends/NetworkManagerDebian.c
13217 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13220 2006-02-12 Dan Williams <dcbw@redhat.com>
13222 * vpn-daemons/openvpn/intltool-extract.in
13223 vpn-daemons/openvpn/intltool-merge.in
13224 vpn-daemons/openvpn/intltool-update.in
13225 vpn-daemons/pptp/intltool-extract.in
13226 vpn-daemons/pptp/intltool-merge.in
13227 vpn-daemons/pptp/intltool-update.in
13228 - Remove from CVS, they should get created by intltoolize,
13231 2006-02-12 Dan Williams <dcbw@redhat.com>
13233 * vpn-daemons/pptp/src/pppd/patchlevel.h
13234 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13235 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13236 Makefile-defined VERSION
13238 2006-02-09 Dan Williams <dcbw@redhat.com>
13240 Patch from: Vinay A R <rvinay@novell.com>
13241 * src/vpn-manager/nm-vpn-act-request.[ch]
13242 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13243 IPSec VPNs require them for std gateway.
13244 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13245 and 'user_routes_count'
13246 - (nm_vpn_act_request_get_user_routes): new function; gets user
13247 defined routes from NMVPNActRequest object, returns the string
13250 * src/vpn-manager/nm-vpn-manager.[ch]
13251 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13252 for 'user_routes' and 'user_routes_count'
13254 * src/vpn-manager/nm-dbus-vpn.c
13255 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13256 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13258 * src/vpn-manager/nm-vpn-service.c
13259 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13262 Modifications by Dan:
13263 * src/vpn-manager/nm-vpn-service.c
13264 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13267 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13268 * vpn-daemons/pptp/src/nm-pptp-service.c
13269 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13270 - Grab user routes from dbus message
13271 - Free all string arrays we got from dbus
13273 2006-02-07 Robert Love <rml@novell.com>
13275 Patch by Stefan Seyfried <seife@suse.de>:
13276 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13278 2006-02-06 Robert Love <rml@novell.com>
13280 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13282 2006-02-06 Robert Love <rml@novell.com>
13284 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13285 test ">=" is never false. If no newline is found, we loop forever.
13286 We can just check for ">" because the following if() will see the
13287 zero-th argument if the while() gets that far.
13289 2006-02-05 Dan Williams <dcbw@redhat.com>
13291 Refine handling of non-broadcast networks.
13293 * src/NetworkManagerAPList.c
13294 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13295 property from scanned AP to the AP from the device list
13297 * src/nm-device-802-11-wireless.c
13298 - (supplicant_send_network_config): use ap_scan=1 for all networks
13299 except non-SSID-broadcasting and Ad-Hoc networks. Use
13300 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13301 networks since those don't have APs.
13302 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13303 AP as non-SSID-broadcasting
13304 - (process_scan_results): don't handle non-SSID-broadcasting here
13306 2006-02-05 Dan Williams <dcbw@redhat.com>
13308 * src/nm-device-802-11-wireless.c
13309 - (get_supplicant_timeout): new function; return
13310 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13311 14 channels. These are likely a/b/g cards, like Atheros, and
13312 slow as hell to scan.
13313 - (supplicant_timeout_cb, supplicant_monitor_start): use
13314 get_supplicant_timeout()
13316 2006-02-05 Dan Williams <dcbw@redhat.com>
13318 * src/dhcp-manager/nm-dhcp-manager.c
13319 - Loose a commit race with Robert; make sure size check
13320 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13322 2006-02-05 Robert Love <rml@novell.com>
13324 Patch by Christoph Brill <chrisbrill@gmx.net>:
13325 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13326 with DHCP_SERVICE_NAME.
13328 2006-02-05 Dan Williams <dcbw@redhat.com>
13330 Remove anything having to do with device_setup_func from the
13331 AP security objects, since it's no longer used.
13333 * src/nm-ap-security.h
13334 - Kill device_setup_func and nm_ap_security_device_setup()
13336 * src/nm-ap-security-wep.c
13337 src/nm-ap-security-wpa-psk.c
13338 - (real_device_setup): remove
13340 * src/nm-ap-security.c
13341 - (real_device_setup): remove
13342 - (nm_ap_security_device_setup): remove
13344 * src/nm-device-802-11-wireless.[ch]
13345 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13346 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13347 and done by wpa_supplicant now anyway
13349 2006-02-05 Dan Williams <dcbw@redhat.com>
13351 * src/nm-device-802-11-wireless.c
13352 - (ap_need_key, real_act_stage2_config): deal with APs changing
13353 settings on us. Previously NM would loop asking for the
13354 key but getting the same one back. Now, if the NMI-supplied
13355 cipher doesn't overlap with the scanned AP capabilities,
13356 we request a completely new key from the user.
13358 2006-02-05 Dan Williams <dcbw@redhat.com>
13360 * src/NetworkManagerUtils.c
13361 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13362 Handle newline killing better
13364 2006-02-05 Dan Williams <dcbw@redhat.com>
13366 * gnome/applet/nm-gconf-wso.c
13367 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13368 of unencrypted access point security info.
13370 2006-02-03 Robert Love <rml@novell.com>
13372 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13373 user's encryption key, so we print the err_msg_cmd not the command,
13374 if available. So long as SUPPLICANT_DEBUG is default, this makes
13377 2006-02-03 Christopher Aillon <caillon@redhat.com>
13379 * initscript/RedHat/NetworkManagerDispatcher.in:
13380 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13381 Patch from Dan Walsh <dwalsh@redhat.com>
13383 2006-02-03 Robert Love <rml@novell.com>
13385 * dispatcher-daemon/NetworkManagerDispatcher.c,
13386 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13387 but use the sysconfdir.
13389 2006-02-03 Robert Love <rml@novell.com>
13391 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13392 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13394 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13395 nm_ip4_config_get_hostname() and
13396 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13397 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13398 leak g_strdup() result.
13400 2006-02-03 Robert Love <rml@novell.com>
13402 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13403 broadcast == TRUE. Also, copy broadcast and artificial properties
13404 from source network to destination in nm_ap_copy().
13405 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13406 since we now default new networks to non-hidden.
13408 2006-02-03 Dan Williams <dcbw@redhat.com>
13410 * gnome/applet/main.c
13411 - (main): change the NEVER->ALWAYS so we start at the
13412 beginning of the session, if being session-managed
13414 2006-02-03 Dan Williams <dcbw@redhat.com>
13416 * gnome/applet/main.c
13417 - (main): in a variation on Robert's patch, change
13418 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13421 2006-02-02 Robert Love <rml@novell.com>
13423 * src/Makefile.am: If we aren't going to create the run directory at,
13424 uh, run-time, create it during install. Then users just doing
13425 'make install' are cool, too. While we are here, create the
13426 dispatcher.d directory, too.
13427 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13428 the exact run directory.
13429 * Makefile.am: Install nm-applet.desktop.
13431 2006-02-02 Robert Love <rml@novell.com>
13433 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13434 structure, which denotes whether or not the AP is hidden. This is a
13435 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13436 can show up in the scan list. Add nm_ap_get_broadcast() and
13437 nm_ap_set_broadcast() accessor interfaces.
13438 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13439 nm_ap_set_broadcast().
13440 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13441 "getProperties" method, which denotes whether or not the given
13443 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13444 an artificial network. Set broadcast to TRUE when scanning returns
13445 an ESSID and FALSE when not.
13446 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13447 from "getProperties" method on a network. Possible TODO is to
13448 somehow display this.
13449 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13451 2006-02-02 Dan Williams <dcbw@redhat.com>
13453 * src/nm-device-802-11-wireless.c
13454 - (supplicant_interface_init): don't try to create
13455 /var/run/NetworkManager, since that should be done by
13456 the distro package. Causes problems for stuff like SELinux
13458 2006-02-02 Robert Love <rml@novell.com>
13460 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13461 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13462 Check for and handle empty string for iface.
13464 2006-02-01 Robert Love <rml@novell.com>
13466 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13469 2006-01-31 Dan Williams <dcbw@redhat.com>
13471 * nm-applet.desktop
13472 - Add --sm-disable to Exec arguments, presuming that when
13473 using autostart, we don't want session management
13475 2006-01-31 Robert Love <rml@novell.com>
13477 * src/NetworkManagerAP.c: Add two new manufacturer default network
13478 names: linksys-a and linksys-g. These are found (at least) on the
13479 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13482 2006-01-31 Robert Love <rml@novell.com>
13484 * src/NetworkManagerAP.c: Optimize the function
13485 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13486 machine code. This is the first in a series of code tweaks aiming to
13487 generate better machine code and make NetworkManager all the better.
13488 Just kidding. Who has time to go through the assembly generated for
13489 every function? I certainly don't. I have a wife, a kid, a job,
13490 a mortgage, a mistress. But this function was so bad, I was called
13491 to arms. Like the book.
13493 2006-01-31 Robert Love <rml@novell.com>
13495 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13496 AP is not broadcasting, to scan with probe request frames. Required
13497 for non-broadcast networks.
13499 2006-01-31 Robert Love <rml@novell.com>
13501 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13502 preprocessor define (still 20s). Fix message text in nm_info()
13503 s/too too/took too/.
13505 2006-01-30 Dan Williams <dcbw@redhat.com>
13507 * src/nm-device-802-11-wireless.c
13508 - (supplicant_monitor_start): increase connect/auth timeout to
13509 20 seconds from 10 seconds
13511 2006-01-30 Dan Williams <dcbw@redhat.com>
13514 - Define LOCALSTATEDIR
13516 * src/nm-device-802-11-wireless.c
13517 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13518 socket where we want it to
13520 * src/wpa_ctrl.[ch]
13521 - (wpa_ctrl_open): accept location to put local control socket
13523 2006-01-30 Robert Love <rml@novell.com>
13525 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13526 get_ip4_string() for "domain_name".
13528 2006-01-30 Robert Love <rml@novell.com>
13530 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13531 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13532 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13533 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13534 support for "Automatic" pairwise and group cipher configuration by
13535 letting wpa_supplicant handle the details. Add UI elements, new
13536 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13537 charm. Note this does more than add a nice feature, it fixes a bug.
13538 Apparently, some people have AP's where the pairwise cipher does not
13539 match the group cipher. Insane, but true.
13541 2006-01-30 Dan Williams <dcbw@redhat.com>
13543 * gnome/applet/applet-dbus-devices.c
13544 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13545 functions, grab device driver name from NetworkManager
13546 - (nmwa_dbus_device_properties_cb): call functions to get driver
13548 * gnome/applet/applet.c
13549 - (nmwa_update_info): show driver name in Connection Information
13552 * gnome/applet/nm-device.[ch]
13553 - (network_device_get_driver, network_device_set_driver): add
13554 accessors for driver name
13556 * gnome/applet/wireless-applet.glade
13557 - Add line for driver name to Connection Information dialog
13559 * src/nm-dbus-device.c
13560 - (nm_dbus_device_get_driver): new function to return driver name
13561 - (nm_dbus_device_methods): hook up driver name function to dbus
13564 - (get_driver_name): new function
13565 - (detail_device): grab and show driver name
13567 2006-01-30 Robert Love <rml@novell.com>
13569 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13570 does not parse the markup if it is not part of the format.
13572 2006-01-30 Robert Love <rml@novell.com>
13574 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13575 FALSE, we have no security options for this dialog, so we throw up
13576 an error dialog instead of a broken passphrase dialog. Fixes
13578 * gnome/applet/wireless-security-manager.c,
13579 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13580 does not add any security options, not even NONE, print a warning
13581 and return FALSE. This let's functions constructing a dialog bail
13582 out if the device's capabilities and the network's requirements have
13585 2006-01-27 Robert Love <rml@novell.com>
13587 * configure.in: Require wpa_supplicant. Detect location of binary and
13588 use it. Override with "--with-wpa_supplicant=foo".
13589 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13590 path to wpa_supplicant but use the auto-detected or user-provided
13591 value from configure.
13593 2006-01-27 Robert Love <rml@novell.com>
13595 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13596 but the DHCP server did not return a hostname, try to look up our
13597 name via DNS and set the system hostname to that.
13599 2006-01-27 Dan Williams <dcbw@redhat.com>
13601 * src/backends/NetworkManagerRedHat.c
13602 - Add NM_CONTROLLED system network script support for RH/Fedora
13604 2006-01-27 Dan Williams <dcbw@redhat.com>
13606 * src/backends/NetworkManagerGentoo.c
13607 - (nm_system_device_get_disabled): add missing function.
13610 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13612 * configure.in: Added vi in ALL_LINGUAS line.
13614 2006-01-26 Robert Love <rml@novell.com>
13616 * src/Makefile.am, src/kernel-types.h: Now that two different source
13617 files are feeling the crack-addled leakage of kernel types such as
13618 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13619 types in user-space -- define a header and include it as needed.
13620 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13621 * src/nm-device-802-3-ethernet.h: Remove defines.
13622 * src/wpa.c: Remove defines and include kernel-types.h.
13624 2006-01-26 Robert Love <rml@novell.com>
13626 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13629 2006-01-26 Robert Love <rml@novell.com>
13631 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13632 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13633 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13634 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13635 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13636 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13637 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13638 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13639 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13640 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13641 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13642 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13643 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13644 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13645 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13646 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13647 Kill unused variables, labels, and static functions. Don't pass
13648 string literals as the format string for printf-like functions.
13650 2006-01-25 Dan Williams <dcbw@redhat.com>
13652 * gnome/applet/wireless-applet.glade
13653 - Remove WPA2 Checkbox
13655 * gnome/applet/wireless-security-manager.c
13656 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13657 This means the Wireless Security menu now has two WPA options,
13658 one for "WPA Personal" and one for "WPA2 Personal"
13660 * gnome/applet/wso-wpa-psk.[ch]
13661 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13662 'wpa2' argument to determine WPA version to use
13663 - (append_dbus_params_func): pass stored WPA version to cipher
13664 rather than using the (removed) checkbox
13666 2006-01-24 Robert Love <rml@novell.com>
13668 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13669 before we g_strdup(), not the ultimate string.
13671 2006-01-23 Dan Williams <dcbw@redhat.com>
13673 * src/NetworkManagerAP.[ch]
13674 - (nm_ap_new_from_ap): copy original essid too
13675 - (nm_ap_unref): free original essid
13676 - (nm_ap_get_orig_essid): new function
13677 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13678 but keep original essid around too
13680 * src/nm-device-802-11-wireless.c
13681 - (supplicant_send_network_config): send wpa_supplicant the
13682 _original_ essid, and not as a string, but in hex. Should
13683 allow us to connect to more APs that use wierd character
13684 encodings for their essids
13686 * utils/nm-utils.[ch]
13687 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13688 to UTF-8. If it's not already valid UTF-8, we check LANG and
13689 use the current locale as a hint for what encoding the essid
13690 might be in. Obviously not 100% accurate, but the idea here is
13691 that if a user's locale is ex. ja_JP, they are more likely than
13692 not to be in Japan, where access points will likely be in some
13695 2006-01-23 Dan Williams <dcbw@redhat.com>
13697 * libnm-util/cipher-private.h
13698 libnm-util/cipher.c
13699 libnm-util/cipher.h
13700 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13702 2006-01-23 Robert Love <rml@novell.com>
13704 Patch by Timo Hoenig <thoenig@suse.de>:
13705 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13706 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13707 by DHCP and pass it to the backends, allowing distribution-specific
13708 behavior with respect to the DHCP-supplied hostname (if nothing else,
13709 some distributions might not want to set the hostname).
13710 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13711 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13712 Also update our NIS behavior.
13713 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13714 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13715 Add stub functions.
13717 2006-01-23 Robert Love <rml@novell.com>
13719 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13720 gnome-session does autostart. TODO: We need to install this to
13721 $prefix/share/autostart/.
13723 2006-01-22 Dan Williams <dcbw@redhat.com>
13725 * src/NetworkManagerAP.[ch]
13727 src/nm-device-802-11-wireless.c
13728 - Make nm_ap_get_essid return "const char *"
13730 2006-01-22 Dan Williams <dcbw@redhat.com>
13732 * src/NetworkManagerAP.[ch]
13733 - (nm_ap_get_matched, nm_ap_set_matched): remove
13735 * src/NetworkManagerAPList.[ch]
13736 - (nm_ap_list_diff): removed
13737 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13738 deal with access points changing essids on us
13740 * src/nm-device-802-11-wireless.c
13741 - (add_new_ap_to_device_list): move AP dbus signal logic to
13742 src/NetworkManagerAPList.c
13743 - (real_can_interrupt_activation): new function; allow interruption
13744 of device activation if we are waiting for a network key
13746 * src/NetworkManagerPolicy.c
13747 - (nm_policy_device_change_check): allow interruption of currently
13748 activating devices if the device allows it. Previous behavior
13749 would refuse to activate a just-plugged wired device if a
13750 wireless device was waiting for a key.
13752 * src/nm-device.[ch]
13753 - (nm_device_can_interrupt_activation): new function; ask devices
13754 whether their activation can be interrupted
13756 2006-01-20 Robert Love <rml@novell.com>
13758 * Makefile.am, configure.in: Add new man subdirectory.
13759 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13760 man/Makefile.am: Add man pages for NetworkManager and its
13761 crime-solving bumbling buddy, NetworkManagerDispatcher.
13762 * man/.cvsignore: Add.
13763 * initscript/Debian/NetworkManager,
13764 initscript/Gentoo/NetworkManager.in,
13765 initscript/RedHat/NetworkManager.in,
13766 initscript/RedHat/NetworkManagerDispatcher.in,
13767 initscript/SUSE/networkmanager-dispatcher.in,
13768 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13770 2006-01-20 Robert Love <rml@novell.com>
13772 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13773 instead of queuing. This prevents the running of multiple NM
13774 daemons concurrently, which does not work whatsoever and results in
13775 neither daemon working correctly. Also, we don't handle queuing and
13776 name-owner-changes, anyhow.
13778 2006-01-20 Robert Love <rml@novell.com>
13780 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13781 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13784 2006-01-19 Robert Love <rml@novell.com>
13786 * configure.in: Require hal 0.5.0 or later.
13788 2006-01-18 Robert Love <rml@novell.com>
13790 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13791 Allow backends to flag a device (in whatever distro-dependent way
13792 they so desire) as disabled. NM will ignore any such device.
13793 * src/backends/NetworkManagerDebian.c,
13794 src/backends/NetworkManagerRedHat.c,
13795 src/backends/NetworkManagerSlackware.c: Add stub function
13796 nm_system_device_get_disabled() that always returns FALSE (enabled).
13797 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13798 SUSE-specific configuration structure. Fill it in from the
13799 NM_CONTROLLED variable in the system networking scripts. If this var
13800 exists and is "no", we ignore the device.
13802 2006-01-17 Robert Love <rml@novell.com>
13804 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13805 identical for NM. For a full discussion, see the thread at
13806 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13808 2006-01-17 Dan Williams <dcbw@redhat.com>
13811 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13812 function. Fixes crash when wired DHCP fails.
13814 2006-01-16 Robert Love <rml@novell.com>
13816 * src/Makefile.am: Don't install NMLoadModules
13817 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13818 from src/ to test/ as no one uses it anymore. Note that I would be
13819 fine with removing it altogether.
13821 2006-01-16 Robert Love <rml@novell.com>
13823 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13824 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13825 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13826 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13827 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13828 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13829 declarations, ever.
13830 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13831 NM_STATE_DISCONNECTED is zero).
13833 2006-01-16 Robert Love <rml@novell.com>
13835 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13836 uninitialized parameter and buffer overflow. Novell #143496.
13838 2006-01-16 Dan Williams <dcbw@redhat.com>
13840 Apply the PtP Address bits of a patch from Tim Niemueller
13842 * src/nm-ip4-config.[ch]
13843 - Add ip4_ptp_address member to object
13844 - (nm_ip4_config_copy): copy ptp address too
13845 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13847 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13848 rather than local tunnel ip address
13850 * src/vpn-manager/nm-vpn-service.c
13851 - (print_vpn_config): update for PtP address
13852 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13853 DBusMessageIters in preparation for getting routes from the VPN
13854 service daemons too
13856 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13857 - (send_config_info): update for PtP address, clean up code
13858 - (main): update for PtP address, clean up code, fix typo
13860 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13861 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13863 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13864 - (pptp_ip_up): update for PtP address
13866 * vpn-daemons/pptp/src/nm-pptp-service.c
13867 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13869 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13870 - (print_vpn_config): update for PtP address
13871 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13873 2006-01-16 Dan Williams <dcbw@redhat.com>
13875 * gnome/applet/applet.c
13876 - (nmwa_add_networks_helper): don't indicate an active network
13877 if NM is disconnected or asleep
13879 2006-01-16 Dan Williams <dcbw@redhat.com>
13881 * src/NetworkManagerPolicy.c
13882 - (nm_policy_device_change_check): switch devices if we lose the link
13883 on an ethernet device.
13885 2006-01-16 Dan Williams <dcbw@redhat.com>
13887 * gnome/applet/wso-wpa-psk-hex.[ch]
13888 - Renamed -> wso-wpa-psk.[ch]
13890 * gnome/applet/wso-wpa-psk.[ch]
13893 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13894 - Removed, rolled into wso-wpa-psk.[ch]
13896 * gnome/applet/Makefile.am
13897 - Updated for above changes
13899 * gnome/applet/wireless-applet.glade
13900 - Consolidate WPA-PSK options into one notebook
13901 widget, and make dialogs invisible by default
13902 to fix screen oddities
13904 * gnome/applet/wireless-security-manager.c
13905 - (wsm_set_capabilities): create the new wpa-psk widget rather
13906 than both the old hex & passphrase ones
13908 2006-01-16 Dan Williams <dcbw@redhat.com>
13910 * gnome/applet/other-network-dialog.c
13911 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13913 2006-01-16 Dan Williams <dcbw@redhat.com>
13915 * gnome/applet/applet.c
13916 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13917 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13918 prevention to realize window before trying to get server
13921 * gnome/applet/other-network-dialog.c
13922 - (nmwa_other_network_dialog_run): fix up focus-stealing
13923 prevention to realize window before trying to get server
13926 * gnome/applet/passphrase-dialog.c
13927 - (nmi_passphrase_dialog_new): fix up focus-stealing
13928 prevention to realize window before trying to get server
13931 2006-01-16 Robert Love <rml@novell.com>
13933 Patch from Timo Hoenig <thoenig@suse.de:
13934 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13935 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13936 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13937 libnm-util/dbus-helpers.h: add checks whether headers are used
13938 within a C++ build.
13940 2006-01-16 Dan Williams <dcbw@redhat.com>
13942 * gnome/applet/wireless-security-option.c
13943 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13945 2006-01-16 Dan Williams <dcbw@redhat.com>
13947 * libnm-util/cipher-wpa-psk-passphrase.c
13948 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13949 be 8 - 63 characters inclusive
13951 2006-01-16 Dan Williams <dcbw@redhat.com>
13954 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13956 2006-01-13 Robert Love <rml@novell.com>
13958 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13959 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13960 modules that do not use an interface.
13962 2006-01-13 Dan Williams <dcbw@redhat.com>
13966 - Allow subclasses to implement deactivate_quickly()
13967 - (nm_device_deactivate_quickly): call subclass
13968 deactivate_quickly() methods
13969 - (nm_device_set_active_link): small cleanups, and don't
13970 deactivate the device right away because we risk a deadlock
13971 when called from device thread, waiting for the device
13972 thread to cancel activation
13974 * src/nm-device-802-11-wireless.c
13975 - (real_deactivate_quickly): new function
13976 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13977 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13978 so that we kill the supplicant when we sleep too
13979 - (supplicant_interface_init): work around naive naming attempts of
13980 wpa_ctrl when naming sockets
13982 2006-01-13 Dan Williams <dcbw@redhat.com>
13984 * src/nm-device-802-11-wireless.c
13985 - (supplicant_cleanup): delete old device control sockets too
13986 - (supplicant_get_device_socket_path): new function to consolidate
13987 locations that need a path to a device's control socket
13989 2006-01-12 Robert Love <rml@novell.com>
13991 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13992 description so that the description is unique for each
13993 pair (device,provider). Fixes Novell #142773.
13995 2006-01-12 Dan Williams <dcbw@redhat.com>
13997 * src/nm-device-802-11-wireless.c
13998 - (supplicant_exec): ensure GError is correctly initialized
13999 Reported by Diego González (gnome.org #326708)
14001 2006-01-11 Robert Love <rml@novell.com>
14003 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14004 define if_mii(), open code the same results, and do so without any
14007 2006-01-11 Robert Love <rml@novell.com>
14009 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14010 that wso_foo_new() returned non-NULL. Instead, only append the new
14011 wso to wsm->options if the wso is non-NULL. The crux is that we
14012 assume that the relevant key types are implied by WEP and WPA as
14013 appropriate. To be sure, they should be, but we should not expect
14014 drivers to not be oozing piles of wolf fecal matter.
14016 2006-01-11 Robert Love <rml@novell.com>
14018 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14019 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14020 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14021 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14022 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14023 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14024 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14025 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14026 comparing values within DBL_EPSILON. Also fix shadowed variable
14029 2006-01-11 Dan Williams <dcbw@redhat.com>
14031 Add options for WPA2 and WPA1+CCMP (AES).
14033 * gnome/applet/wireless-applet.glade
14034 - Add UI bits for WPA+CCMP
14036 * gnome/applet/other-network-dialog.c
14037 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14038 and don't allow creation of WPA2 Ad-Hoc networks since
14039 wpa_supplicant doesn't support them
14041 * gnome/applet/wireless-security-manager.c
14042 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14043 on to the specific wireless security option being created
14045 * gnome/applet/wireless-security-option.[ch]
14046 - (wso_wpa_create_key_type_model): new utility function to create
14047 the model required for WPA Key Type combo box
14049 * gnome/applet/wso-private.h
14050 gnome/applet/wireless-security-option.h
14051 - Move private function prototypes into wso-private.h
14053 * gnome/applet/wso-wpa-psk-hex.[ch]
14054 gnome/applet/wso-wpa-psk-passphrase.[ch]
14055 - (append_dbus_params_func): get WPA version from checkbox and pass
14056 it to the dbus serialization helper
14057 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14058 key type combo changes
14059 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14062 * libnm-util/cipher-wpa-psk-hex.c
14063 libnm-util/cipher-wpa-psk-passphrase.c
14064 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14065 new function; allow the cipher to be changed after object creation
14067 * src/nm-ap-security-wpa-psk.c
14068 - (set_description): Do WPA2 descriptions too
14070 * src/nm-ap-security.c
14071 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14073 2006-01-11 Robert Love <rml@novell.com>
14075 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14076 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14077 from the ifreq structure in lieu of an open coded solution. Removes
14078 a life-threatening type-punning.
14079 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14080 types, ever, whatsoever, baby.
14082 2006-01-11 Robert Love <rml@novell.com>
14084 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14085 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14086 assignments to applet->nm_state into a new nmwa_set_state() function
14087 for both cleanliness and to help debugging.
14089 2006-01-10 Robert Love <rml@novell.com>
14091 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14092 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14093 seconds, exclusive. That is, we want to sleep x seconds such that
14096 2006-01-10 Robert Love <rml@novell.com>
14098 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14099 the attr fields according to the example in the email available at
14100 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14101 Conversely, we do have to free 'name', so we do so, fixing a leak.
14103 2006-01-10 Robert Love <rml@novell.com>
14105 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14106 sure that we close the socket!
14108 2006-01-10 Robert Love <rml@novell.com>
14110 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14111 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14112 src/nm-device.c: Fix a FIXME! Reimplement the function
14113 nm_device_update_hw_address() in device subclass variants,
14114 nm_device_802_3_ethernet_set_address() and
14115 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14116 This fixes the existing bug where MAC addresses are all zeros.
14118 2006-01-10 Robert Love <rml@novell.com>
14120 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14121 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14122 option to give users ability to globally disconnect and put NM to
14123 sleep. This is useful as a 'lockdown mode' for flying, security, and
14126 2006-01-09 Robert Love <rml@novell.com>
14128 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14129 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14130 User-space does not supply these types, so we have to define them
14131 ourselves. The relevant kernel maintainer refused to accept a patch
14132 switching these headers to the proper C99 types.
14134 2006-01-09 Dan Williams <dcbw@redhat.com>
14136 Apply Robert's 'tray icon redo' patch with fixes
14137 * gnome/applet/applet.c
14138 gnome/applet/applet.h
14139 - Instead of using a menu bar + menu item, simulate menu
14140 behavior using a popup menu. Highlight the area around
14141 the icon more like a menu too, by playing with the
14142 applet's size requisition
14144 2006-01-09 Timo Hoenig <thoenig@suse.de>
14145 * libnm-util/dbus-helpers.c
14146 libnm-util/dbus-helpers.h
14147 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14148 to 'exception_namespace' (:namespace is a keyword in
14151 2006-01-09 Dan Williams <dcbw@redhat.com>
14153 * src/NetworkManagerPolicy.c
14154 - (nm_policy_device_change_check): don't autoswitch away from
14155 Ad-Hoc networks, since there's really no concept of
14159 - (nm_dbus_nm_create_wireless_network): mark created networks
14162 * src/nm-device-802-11-wireless.c
14163 - (real_activation_success_handler): add user-created Ad-Hoc
14164 networks to the device's scan list
14166 2006-01-08 Dan Williams <dcbw@redhat.com>
14168 We now require a patch for wpa_supplicant to support Ad-Hoc
14170 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14172 * src/nm-device-802-11-wireless.c
14173 - (supplicant_send_network_config): turn off wpa_supplicant's
14174 scanning. Fixes Ad-Hoc networks.
14176 2006-01-08 Dan Williams <dcbw@redhat.com>
14178 * src/nm-ap-security.c
14179 src/nm-ap-security.h
14180 - Add a user_created argument to the write_supplicant_config
14183 * src/nm-ap-security-wep.c
14184 src/nm-ap-security-wpa-psk.c
14185 src/nm-device-802-11-wireless.c
14186 - Make Ad-Hoc mode somewhat work, at least write the
14187 correct options to wpa_supplicant
14189 2006-01-08 Dan Williams <dcbw@redhat.com>
14191 * src/nm-device-802-11-wireless.c
14192 - Remove unused code from the old device activation path
14194 2006-01-08 Dan Williams <dcbw@redhat.com>
14196 * libnm-util/dbus-helpers.c
14197 - (nmu_security_serialize_wpa_psk): pass a blank key through
14198 dbus when key == NULL
14200 2006-01-08 Dan Williams <dcbw@redhat.com>
14202 * gnome/applet/nm-gconf-wso-wpa-psk.c
14203 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14204 correct arguments to nmu_security_deserialize_wpa_psk()
14206 * src/nm-ap-security-wpa-psk.c
14207 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14208 arguments to nmu_security_deserialize_wpa_psk()
14210 2006-01-08 Dan Williams <dcbw@redhat.com>
14212 * gnome/applet/wso-wpa-psk-hex.c
14213 gnome/applet/wso-wpa-psk-passphrase.c
14214 - Hook up the append_dbus_params_func() function
14216 2006-01-08 Dan Williams <dcbw@redhat.com>
14218 * src/nm-device-802-11-wireless.c
14219 - (get_wireless_capabilities): correctly detect driver WPA
14222 2006-01-08 Dan Williams <dcbw@redhat.com>
14224 * gnome/applet/Makefile.am
14225 gnome/applet/wso-wpa-psk-hex.c
14226 gnome/applet/wso-wpa-psk-hex.h
14227 - New files, implement WPA-PSK Hex key input
14229 * gnome/applet/wireless-applet.glade
14230 - Change existing wpa-psk stuff to wpa-psk-hex
14231 - Add new widgets for wpa-psk-passphrase
14233 * gnome/applet/wireless-security-manager.c
14234 - (wsm_set_capabilities): enable WPA options
14236 * gnome/applet/wso-wpa-psk-passphrase.c
14237 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14238 for WPA-PSK passphrase
14240 2006-01-08 Dan Williams <dcbw@redhat.com>
14242 * include/NetworkManager.h
14243 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14244 applet/info-daemons
14246 * gnome/applet/passphrase-dialog.c
14247 - Use the constant. Fixes a bug where the arguments to
14248 dbus_message_new_error() were incorrect
14250 * src/nm-dbus-nmi.c
14253 2006-01-07 Dan Williams <dcbw@redhat.com>
14255 * src/nm-device-802-11-wireless.c
14256 - Add a link timeout so we allow the supplicant time to
14257 reassociate if it can, before we deactivate the card
14258 - Fix up link status and link updating so things work better
14260 2006-01-07 Dan Williams <dcbw@redhat.com>
14262 * src/nm-device-802-11-wireless.c
14263 - Switch over to using wpa_supplicant
14264 - Add a timeout of 10s for association of the supplicant
14265 - Start the monitor callback of the supplicant
14267 2006-01-07 Dan Williams <dcbw@redhat.com>
14269 * src/NetworkManagerUtils.c
14270 - (nm_utils_supplicant_request,
14271 nm_utils_supplicant_request_with_check):
14272 pass correct buffer length to wpa_ctrl_request()
14274 2006-01-07 Dan Williams <dcbw@redhat.com>
14276 * src/nm-device-private.h
14278 - (nm_device_activate_schedule_stage3_ip_config_start): make
14279 this function available to subclasses
14281 2006-01-06 Robert Love <rml@novell.com>
14283 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14284 user plugging in a network cable signals their preference for to
14285 switch, unless the user explicitly selected a wireless network and
14286 therefore signaled their preference for said wireless network over
14287 wired. In other words, do exactly what makes sense.
14289 2006-01-06 Robert Love <rml@novell.com>
14291 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14292 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14293 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14294 showing up in my greps.
14296 2006-01-06 Robert Love <rml@novell.com>
14298 * gnome/applet/applet-dbus-devices.c,
14299 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14300 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14301 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14302 New Network' both failed in the non-encrypted case because we were
14303 not appending the security options to the DBUS message. And
14304 'Connect to Other' was also failing in the encrypted case because
14305 we were not incrementing to the next DBUS parameter. All fixed.
14306 Thanks to dcdw for some debugging help.
14308 2006-01-06 Robert Love <rml@novell.com>
14310 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14311 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14312 hangup code and add per-device hangup. Tie last commit into the
14313 GNOME applet. TODO: Save, understand, and respond to the state of
14314 each dialup device.
14316 2006-01-06 Robert Love <rml@novell.com>
14318 Patch by Timo Hoenig <thoenig@suse.de>:
14319 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14320 hangup specific dialup devices.
14321 * src/backends/NetworkManagerDebian.c,
14322 src/backends/NetworkManagerGentoo.c,
14323 src/backends/NetworkManagerRedHat.c,
14324 src/backends/NetworkManagerSlackware.c: Add stub backend.
14325 * src/backends/NetworkManagerRedHat.c,
14326 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14327 hangup specific dialup devices.
14329 2006-01-04 Robert Love <rml@novell.com>
14331 * gnome/applet/applet-dbus-devices.c,
14332 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14333 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14336 2006-01-04 Dan Williams <dcbw@redhat.com>
14338 First dump of wpa_supplicant-related code. It's not hooked up to
14339 anything yet though. Thanks to Kay Sievers for
14340 wpa_supplicant_wrapper.c, which formed the basis for this work,
14341 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14345 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14347 * src/NetworkManagerUtils.[ch]
14348 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14349 Add convenience functions for talking to wpa_supplicant
14351 * src/nm-ap-security.[ch]
14352 src/nm-ap-security-wep.c
14353 src/nm-ap-security-wpa-psk.[ch]
14354 - Update and implement real_write_supplicant_config functions
14355 in all security types
14356 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14357 nm-ap-security-wpa-psk.c
14359 * src/nm-device-802-11-wireless.c
14360 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14361 wpa_supplicant_start, wpa_supplicant_interface_init,
14362 wpa_supplicant_send_network_config): add functions to talk to
14363 wpa_supplicant and write network config to it
14365 2006-01-04 Robert Love <rml@novell.com>
14367 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14368 values so that distribution-backends can differentiate between the
14369 various types (modem, ISDN, et cetera) of dialup device that they
14371 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14374 2006-01-03 Dan Williams <dcbw@redhat.com>
14376 * src/NetworkManagerPolicy.c
14378 src/nm-device-802-11-wireless.c
14379 - Move wireless-specific activation failure and success code
14380 into wireless device class
14382 2006-01-03 Robert Love <rml@novell.com>
14384 Patch by Preggna S:
14385 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14386 IPsec does not require that a VPN client be bound to an interface,
14387 due to the use of the in-kernel IPSec bits. So make the tunnel
14390 2006-01-03 Dan Williams <dcbw@redhat.com>
14392 * src/NetworkManagerAP.c
14393 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14394 the WPA IE specifies that WEP is supported
14396 * src/nm-device-802-11-wireless.c
14397 - (process_scan_results): don't mark an AP as supporting WEP
14398 if there's already other encryption capability info
14400 2006-01-03 Dan Williams <dcbw@redhat.com>
14402 * src/dhcp-manager/nm-dhcp-manager.c
14403 - Recognize activation cancellation when waiting for DHCP
14404 configuration from dhcdbd
14405 - Ignore non-dhcdbd messages
14408 - (real_act_stage3_ip_config_start): return to correct behavior
14409 of letting the dhcp-manager notify us of failure or
14410 success rather than incorrectly doing that ourselves
14411 - (nm_device_activate_stage4_ip_config_get): deal with
14412 activation cancellation a bit earlier
14414 2006-01-03 Dan Williams <dcbw@redhat.com>
14416 * src/nm-device-802-11-wireless.c
14418 - Add hooks to subclasses for stage3_ip_config_start and
14419 stage4_ip_config_timeout
14421 * src/nm-device-802-3-ethernet.c
14422 - (real_get_generic_capabilities): make devices NM-supported
14425 2006-01-03 Robert Love <rml@novell.com>
14427 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14428 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14429 latter cannot differentiate between error and the address -1; misc.
14432 2006-01-03 Dan Williams <dcbw@redhat.com>
14434 * src/NetworkManager.c
14435 - Move link-checking/probing into the device subclasses
14438 * src/nm-device.[ch]
14439 src/nm-device-802-11-wireless.c
14440 src/nm-device-802-3-ethernet.c
14441 - Do periodic link checking in device subclasses rather
14442 than being triggered from NetworkManager.c
14443 - discover_wireless_capabilities -> get_wireless_capabilities
14444 - discover_generic_capabilities -> get_generic_capabilities
14445 - Device subclass activation routines now return a value of type
14446 NMActStageReturn to indicate what step to perform next
14447 - Devices now override stage4_get_ip4_config if they choose
14449 2006-01-01 Dan Williams <dcbw@redhat.com>
14451 * src/nm-device-802-11-wireless.c
14452 - (real_init): don't chain up to parent init because we don't
14453 need to do that anymore
14456 - (discover_device_type): fix arguments to ioctl() to correctly
14457 pass interface name
14458 - (nm_device_new): consolidate generic device initialization into
14460 - (real_init): remove, consolidated to nm_device_new()
14461 - (nm_device_deactivate, real_deactivate): consolidate
14463 2006-01-01 Dan Williams <dcbw@redhat.com>
14465 * src/nm-activation-request.c
14466 - Change dhcp_state member of the NMActRequest structure
14467 from guint8 to guint32
14469 * src/dhcp-manager/nm-dhcp-manager.[ch]
14470 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14471 than guint8 to match the dbus argument. Turns out we were
14472 overwriting memory since we were passing in only a guint8
14474 2005-12-31 Dan Williams <dcbw@redhat.com>
14476 * refactor NMDevice into a GObject-based framework with separate
14477 objects for wired and wireless. The following files are no
14478 longer used but should stick around for a bit so we don't
14479 loose code through the cracks:
14480 NetworkManagerDevice.c
14481 NetworkManagerDevice.h
14482 NetworkManagerWireless.c
14483 NetworkManagerWireless.h
14485 The intent here is to allow each device type to manage its own
14486 connection & activation life-cycle, ie to allow wireless devices
14487 to interface with wpa_supplicant, etc. There's a fair bit of
14488 encapsulation breakage right now that should gradually get pulled
14489 back into each device, along with things like periodic property
14490 updates and link probing.
14492 2005-12-29 Dan Williams <dcbw@redhat.com>
14494 * include/NetworkManager.h
14495 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14496 between networks that don't have any encryption at all
14498 2005-12-29 Dan Williams <dcbw@redhat.com>
14500 * test/test-common.c
14503 - Move to a test-common subdirectory
14505 * test/libnm-util/test-ciphers.c
14506 - Move test data to test-inputs.h
14507 - Test WPA ciphers too
14509 * test/libnm-util/test-dbus-helpers.c
14510 - Test serialization/deserialization of ciphers
14512 2005-12-29 Dan Williams <dcbw@redhat.com>
14514 * gnome/applet/applet-dbus-devices.c
14515 - Replace 'enc' parameter with 'capabilities' for wireless networks
14516 in dbus calls to NM
14517 - Set capabilities on WirelessNetwork objects
14518 - Receive and save type-specific device capabilities too
14520 * gnome/applet/applet-dbus-info.c
14521 gnome/applet/applet-dbus.c
14522 - Passphrase dialog no longer a singleton; new instance gets created
14523 on each request. Updates to deal with that.
14525 * gnome/applet/applet.c
14526 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14527 than single 'encrypted' flag
14528 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14530 - Passphrase dialog updates per above
14532 * gnome/applet/menu-items.c
14533 - (network_menu_item_update): use AP capabilities to determine
14536 * gnome/applet/nm-device.[ch]
14537 - Add accessors for type-specific device capabilities
14539 * gnome/applet/other-network-dialog.c
14540 - Rework to respect device capabilities. i.e., if the device doesn't
14541 support WPA, remove that option from the security dropdown
14543 * gnome/applet/passphrase-dialog.c
14544 - Massive rework so that a new instance is created each time
14545 it's used, to support wireless network capabilities
14547 * gnome/applet/wireless-network.[ch]
14548 - Add accessors and members for wireless network capabilities
14550 * gnome/applet/wireless-security-manager.[ch]
14551 - (wsm_set_capabilities): called after creation to set which
14552 security options get shown to the user
14554 2005-12-29 Dan Williams <dcbw@redhat.com>
14556 * libnm-util/cipher-wpa-psk-passphrase.c
14557 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14560 2005-12-23 Dan Williams <dcbw@redhat.com>
14562 * gnome/applet/applet-dbus-info.c
14563 - (nmi_dbus_get_key_for_network): if there's no entry in
14564 GConf for a network, assume we want a new key
14565 - (nmi_save_network_info): serialize wireless security info
14566 into GConf so its saved
14569 - Fix warning as we may not be passed security info when
14570 connecting to a wireless network
14572 2005-12-23 Dan Williams <dcbw@redhat.com>
14574 * gnome/applet/applet-compat.c
14575 - Fix bugs in GConf entry conversion
14577 * gnome/applet/applet-dbus-info.c
14578 - (nmi_dbus_get_network_properties): handle case of the BSSID
14579 list being zero-length
14581 * libnm-util/cipher-*
14582 libnm-util/dbus-helpers.c
14583 - All ciphers must now return hashed keys as UTF-8 valid
14584 hexadecimal strings, ie "8f3dae4023". They are pushed
14585 through dbus as strings too.
14586 - Consolidate various functions that do bin->hex and hex->bin
14587 conversion into cipher.c
14589 * src/nm-ap-security-wep.c
14590 src/nm-ap-security-wpa-psk.c
14591 - Handle NULL keys since we may not know keys right away
14593 * src/nm-dbus-nmi.c
14594 - (nm_dbus_get_network_data_cb): actually advance to the start
14595 of the wireless security info before we try to deserialize it
14597 * libnm-util/test-ciphers.c
14598 - Update cipher tests for the change to UTF-8 hexadecimal strings
14600 2005-12-22 Dan Williams <dcbw@redhat.com>
14602 * gnome/applet/applet-compat.[ch]
14603 - Convert old-format GConf and keyring entries
14604 when the applet starts up.
14606 * gnome/applet/applet.c
14607 - (nmwa_get_instance): Call the conversion function
14608 on startup before dbus is initialized
14610 2005-12-22 Dan Williams <dcbw@redhat.com>
14612 * gnome/applet/applet-dbus-info.c
14613 - Remove nmi_dbus_create_error_message() in favor of
14614 nmu_create_dbus_error_message()
14615 - (nmi_dbus_get_network_properties): Error message cleanups
14616 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14617 gconf key rather than 'addresses', since they really are BSSIDs
14618 - (nmi_dbus_get_network_properties): Dispose of the security
14619 object when we're done with it
14621 2005-12-21 Dan Williams <dcbw@redhat.com>
14623 * Consolidate the info-daemon's "updateNetworkInfo" and
14624 "addNetworkAddress" calls into just "updateNetworkInfo"
14626 2005-12-21 Dan Williams <dcbw@redhat.com>
14628 * Make connection after key retrieval work again
14630 2005-12-21 Dan Williams <dcbw@redhat.com>
14632 * gnome/applet/nm-gconf-wso*
14633 - Make the serialize functions return gboolean
14636 * gnome/applet/nm-gconf-wso.c
14637 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14638 parent class handling so we don't segfault
14640 * src/NetworkManagerAP.[ch]
14641 - (nm_ap_get_capabilities): new function, return capabilities
14642 now that something can use them
14643 - (nm_ap_set_encrypted): assume that an access point supports
14644 both WEP104 and WEP40 if its set encrypted. FIXME: can
14645 we even tell whether it just supports WEP40?
14647 * src/NetworkManagerDevice.c
14648 - (ap_need_key): resurrect and update for the New World Order
14649 - (nm_device_wireless_get_activation_ap): if we're not given
14650 security info to use, create some based on access point
14653 * src/nm-ap-security-wep.c
14654 - (nm_ap_security_wep_new_from_ap): create a new object
14655 based on a certain access point's capabilities
14657 * src/nm-ap-security.c
14658 - (nm_ap_security_new_from_ap): delegate creation of a new
14659 object based on access point capabilities to a subclass
14660 - (nm_ap_security_copy_properties): don't segfault if we
14661 don't have a key yet
14664 - (nm_dbus_nm_set_active_device): provide more informative
14665 output when errors occur. Also construct security info
14666 for a given access point if we weren't given any
14668 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14670 * configure.in: Added Lithuanian to ALL_LINGUAS.
14672 2005-12-21 Dan Williams <dcbw@redhat.com>
14675 - Add some testcases for WEP ciphers
14677 2005-12-17 Dan Williams <dcbw@redhat.com>
14681 2005-12-17 Dan Williams <dcbw@redhat.com>
14683 * include/NetworkManager.h
14684 - Finally kill NMEncKeyType
14686 * gnome/applet/applet-dbus-info.c
14687 - (nmi_save_network_info): convert to NMGConfWSO
14689 * gnome/applet/nm-gconf-wso-*.c
14690 - Implement gconf serialization functions
14692 * src/NetworkManagerPolicy.c
14693 - (nm_policy_activation_finish): fix up meaning of
14694 automatic/user_requested
14696 2005-12-17 Dan Williams <dcbw@redhat.com>
14699 - More applet cleanups
14700 - Use the dbus-method-dispatcher
14702 * libnm-util/dbus-method-dispatcher.[ch]
14703 - Generalize the implementation from NM in
14704 NetworkManagerUtils.c
14706 2005-12-16 Dan Williams <dcbw@redhat.com>
14709 - Fix up the passphrase dialog to use all the
14710 WirelessSecurityOption stuff (untested)
14712 2005-12-16 Dan Williams <dcbw@redhat.com>
14714 * Move nm_gconf_get_*_helper() functions to separate files,
14715 gconf-helpers.c & gconf-helpers.h
14717 * New NMGConfWSO objects for managing the gconf side of things.
14718 Eventually these should be merged with the
14719 WirelessSecurityOption objects and a common base (that can
14720 serialize/deserialize from dbus & gconf) should be
14721 refactored out, but for now they are separate.
14723 2005-12-16 Robert Love <rml@novell.com>
14725 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14726 binaries unless they exist (nm_spawn_process() emits a warning if
14727 asked to spawn a non-existant process).
14729 2005-12-16 Dan Williams <dcbw@redhat.com>
14731 * gnome/applet/applet-dbus-info.c
14732 - Clean up lots of gconf-related code
14734 2005-12-16 Robert Love <rml@novell.com>
14736 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14738 2005-12-16 Dan Williams <dcbw@redhat.com>
14740 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14742 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14743 bits still to be done)
14745 2005-12-16 Dan Williams <dcbw@redhat.com>
14747 * Finally move info-daemon related stuff out of
14748 NetworkManagerDbus.c to nm-dbus-nmi.c
14750 2005-12-16 Dan Williams <dcbw@redhat.com>
14752 * Kill auth_method for access points, since that's now done
14753 by NMAPSecurity objects
14755 * Add a copy-constructor of sorts to NMAPSecurity
14756 (how do you do this properly in glib???)
14758 2005-12-15 Dan Williams <dcbw@redhat.com>
14760 * Exorcise encryption key hashing on APs
14761 * Use libnm-util's serialization/deserialization in both the
14763 * Random other stuff
14765 2005-12-15 Robert Love <rml@novell.com>
14767 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14768 is being added to the icon naming spec, so let's use that (Tango CVS
14769 has the icon). Because it is new, however, we fall back to the
14770 current "gnome-lockscreen" if the new icon is not around, thus
14771 behavior is the same.
14772 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14775 2005-12-15 Robert Love <rml@novell.com>
14777 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14778 well, help to give. Couple other misc. bits.
14780 2005-12-15 Dan Williams <dcbw@redhat.com>
14782 * libnm-util/dbus-helpers.[ch]
14783 - Make this the one-stop-shop for serializing/deserializing
14784 AP & connection security settings over dbus. Both NM
14785 and applets should use this to ensure consistent dbus
14786 API going forwared.
14788 2005-12-15 Robert Love <rml@novell.com>
14790 Patch by Timo Hoenig <thoenig@suse.de>:
14791 * src/NetworkManagerDbus.c
14792 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14793 if HAL jumps off the system bus. Otherwise libdbus
14794 (dbus_connection_dispatch) will try to run the filter
14795 function of our libhal context which is already freed.
14797 2005-12-15 Alexander Shopov <ash@contact.bg>
14799 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14801 2005-12-14 Dan Williams <dcbw@redhat.com>
14803 * include/NetworkManager.h
14804 src/NetworkManagerWireless.c
14805 - Rearrange 802.11 wireless-specific capabilities again
14808 - Forgot to add wpa.c/wpa.h to the makefiles
14810 * src/NetworkManagerAP.[ch]
14811 - Implement access point capabilities and parse the
14812 WPA/RSN IEs into the capability bitfield
14813 - Switch the "encrypted" attribute to utilize the bitfield
14814 and capabilities rather than being independent
14816 * src/NetworkManagerDevice.c
14817 - (nm_device_wireless_get_activation_ap): break it horribly
14818 until we can push NMAPSecurity objects into access point
14819 objects and through the activation chain
14820 - Stuff WPA & RSN IEs into AP capabilities
14823 - Take a shot at actually making setActiveDevice work
14826 - Make the API a bit saner
14828 2005-12-14 Dan Williams <dcbw@redhat.com>
14830 * include/NetworkManager.h
14831 - Add 802.11-specific capability for 802.1x key
14835 - Pull in WPA IE and RSN IE parsing code from
14836 wpa_supplicant so we can determine access point
14838 - Move WPA-related constants here from NetworkManagerAP.h
14839 and NetworkManagerDevice.c
14841 * src/NetworkManagerDevice.c
14842 src/NetworkManagerAP.[ch]
14843 - Use WPA-related constants from wpa.h
14845 2005-12-14 Dan Williams <dcbw@redhat.com>
14847 * include/NetworkManager.h
14848 - Update and split 802.11 wireless-specific capabilities from
14849 generic device capabilities
14851 * src/NetworkManagerDevice.c
14852 src/NetworkManagerDevicePrivate.h
14853 - (nm_device_wireless_discover_capabilities): Move 802.11
14854 wireless-specific capability checks to
14855 NetworkManagerWireless.c
14856 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14857 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14859 * src/NetworkManagerWireless.[ch]
14860 - (nm_802_11_wireless_discover_capabilities): Check extended
14861 802.11 wireless-specific capabilities of the driver
14863 2005-12-14 Robert Love <rml@novell.com>
14865 Patch from Stefan Scheler <sscheler@suse.de>:
14866 * src/NetworkManagerDevice.c: call backend code to activate and
14868 * src/NetworkManagerSystem.h: add new NIS interfaces.
14869 * src/backends/NetworkManagerDebian.c,
14870 src/backends/NetworkManagerGentoo.c,
14871 src/backends/NetworkManagerRedHat.c,
14872 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14874 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14876 2005-12-14 Dan Williams <dcbw@redhat.com>
14878 * src/nm-ap-security*.[ch]
14879 - Add AP security abstractions to NetworkManager
14881 * src/nm-dbus-device.c
14882 - Begin to parse new format dbus messages from the applet
14883 and construct an AP security object from the message
14885 * libnm-util/dbus-helpers.c
14886 - Use message iters so we can append the key as a fixed
14887 array of bytes, which actually works rather than
14888 using dbus_message_append_args() as we were before
14890 2005-12-14 Dan Williams <dcbw@redhat.com>
14892 * src/NetworkManagerDbus.c
14893 gnome/applet/applet-dbus.c
14894 - Fix up dbus service replacement options. The applet
14895 should allow replacement, NM itself should not.
14897 2005-12-13 Robert Love <rml@novell.com>
14899 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14900 Instead, fail silently if config is NULL by not asserting and not
14901 returning FALSE. Also, make sure we always fclose() the file.
14903 2005-12-13 Robert Love <rml@novell.com>
14905 Patch by Stefan Scheler <sscheler@suse.de>:
14906 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14907 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14908 via DHCP. Still need the backends to commit the NIS domain name and
14909 and servers to yp.conf as needed.
14911 2005-12-13 Robert Love <rml@novell.com>
14913 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14914 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14916 2005-12-13 Robert Love <rml@novell.com>
14918 * src/named-manager/nm-named-manager.c: Don't unref the config until
14919 after we call rewrite_resolv_conf(), because get_last_default_domain()
14920 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14921 `config != NULL' failed" assertion failures and "Could not commit DNS
14924 2005-12-12 Dan Williams <dcbw@redhat.com>
14926 * libnm-util/dbus-helpers.[ch]
14927 libnm-util/Makefile.am
14928 - new helper calls to consolidate locations where
14929 NM's setDevice method is called
14931 * gnome/applet/applet-dbus-devices.c
14932 gnome/applet/wireless-security-option.c
14934 - Implement dbus message param append function for
14935 all wireless security options
14937 2005-12-12 Robert Love <rml@novell.com>
14939 * libnm-util/cipher-wep-passphrase.c,
14940 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14941 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14942 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14943 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14944 When handling keys, we don't care what the sign is. The compiler
14945 guarantees us that we get our 8-bits, which is all we care about.
14946 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14948 2005-12-12 Dan Williams <dcbw@redhat.com>
14950 * gnome/applet/applet-dbus-devices.[ch]
14951 gnome/applet/applet.c
14952 gnome/applet/other-network-dialog.c
14953 gnome/applet/wireless-security-manager.[ch]
14954 gnome/applet/wireless-security-option.[ch]
14956 - Push the wireless security options further into the applet
14958 2005-12-12 Robert Love <rml@novell.com>
14960 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14961 return any name servers. That is perfectly valid. (Novell #134369).
14963 2005-12-11 Dan Williams <dcbw@redhat.com>
14965 * gnome/applet/wso-*
14966 gnome/applet/wireless-security-option.*
14967 gnome/applet/Makefile.am
14968 - split each security option out so we can eventually
14969 have each one build up their own dbus message
14970 arguments to send to NM
14972 2005-12-11 Dan Williams <dcbw@redhat.com>
14974 * Make validation of the key work correctly
14976 2005-12-11 Dan Williams <dcbw@redhat.com>
14978 * Hook more bits of the Other Network Dialog up to the
14979 wireless security manager stuff, and restructure
14980 bits of the dialog so there's less code.
14982 2005-12-10 Dan Williams <dcbw@redhat.com>
14984 * gnome/applet/Makefile.am
14985 - Add libnm-util to includes
14986 - Add libnm-util to link list
14987 - Add wireless-security-common.* to compile list
14989 * gnome/applet/other-network-dialog.c
14990 - Convert to using the WirelessSecurityManager code and
14993 * gnome/applet/passphrase-dialog.c
14994 - Comment out references to stuff in the glade file that
14995 cause runtime errors until it can be fixed up
14996 to use the WirelessSecurityManager code
14998 * gnome/applet/wireless-applet.glade
14999 - Rename some widgets
15000 - Add widgets for the WirelessSecurityManager code
15001 - Remove passphrase-related stuff since that's now
15002 handled by the WirelessSecurityManager code
15004 2005-12-10 Dan Williams <dcbw@redhat.com>
15006 * gnome/applet/applet-dbus-devices.c
15007 - Print out error message details for dbus pending call callbacks
15008 - Move nmwa_dbus_update_devices() up
15010 * gnome/applet/applet-dbus-vpn.c
15011 - Print out error message details for dbus pending call callbacks
15013 2005-12-10 Dan Williams <dcbw@redhat.com>
15017 - Remove cipher-manager.* because we don't need it
15018 - Forgot to add gnome-keyring-md5 files to compile list
15020 2005-12-09 Dan Williams <dcbw@redhat.com>
15025 - Add a utility library for clients of NetworkManager. It's
15026 only targetted at applets for the moment, and contains
15027 a generalized 802.11 cipher framework for different
15028 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15030 2005-12-09 Robert Love <rml@novell.com>
15032 * src/NetworkManagerDevice.c: handle error better in
15033 nm_device_set_mode().
15035 2005-12-08 Robert Love <rml@novell.com>
15037 * include/NetworkManager.h: add WPA capabilities constants
15038 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15039 or WPA2 and add the capabilities bits as appropriate.
15041 2005-12-08 Robert Love <rml@novell.com>
15043 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15044 NetworkManagerDispatcher.
15045 * configure.in, initscript/SUSE/.cvsignore,
15046 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15049 2005-12-08 Robert Love <rml@novell.com>
15051 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15053 2005-12-08 Robert Love <rml@novell.com>
15055 * src/NetworkManagerDevice.c: We want to fall back on and default to
15056 IW_MODE_AUTO, not -1, which is more in line with our previous
15057 behavior. Otherwise, we try to set the wireless mode to -1 in
15058 nm_device_set_mode().
15060 2005-12-07 Robert Love <rml@novell.com>
15062 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15063 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15064 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15065 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15066 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15067 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15070 2005-12-07 Robert Love <rml@novell.com>
15072 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15073 supplied IP is invalid, fall back to DHCP.
15075 2005-12-07 Dan Williams <dcbw@redhat.com>
15077 * Convert NETWORK_MODE_* constants to IW_MODE_*
15078 * Make all the get_mode/set_mode functions take and return 'int'
15079 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15081 2005-12-07 Robert Love <rml@novell.com>
15083 * src/NetworkManagerDevice.c: strncpy() buffer check.
15084 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15086 2005-12-06 Dan Williams <dcbw@redhat.com>
15088 * gnome/applet/applet-dbus.c
15089 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15091 * gnome/applet/applet-dbus-vpn.c
15092 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15093 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15094 to TRUE here if stage was ACTIVATED
15096 2005-12-06 Dan Williams <dcbw@redhat.com>
15098 * Change nm_device_is_* functions to better names:
15099 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15100 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15102 2005-12-06 Dan Williams <dcbw@redhat.com>
15104 * Change naming of NMDeviceType to something more sensible:
15105 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15106 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15107 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15109 2005-12-06 Dan Williams <dcbw@redhat.com>
15111 * Move NetworkManager.h -> include/NetworkManager.h
15112 * Split out VPN stuff into include/NetworkManagerVPN.h
15113 * Fix up makefiles to include new location
15114 * Fix up sources to include NetworkManagerVPN.h
15116 2005-12-06 Dan Williams <dcbw@redhat.com>
15118 Various changes in the applet to move VPN connection "state" -> "stage",
15119 which it actually is. I'd like to change the signal as well when we
15120 break compat in the near future.
15122 2005-12-06 Dan Williams <dcbw@redhat.com>
15124 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15125 * initscript/Slackware/rc.networkmanager
15128 * src/backends/NetworkManagerSlackware.c
15129 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15132 2005-12-05 Robert Love <rml@novell.com>
15134 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15135 to free, particularly here as it just barfs.
15137 2005-12-05 Dan Williams <dcbw@redhat.com>
15139 * gnome/applet/applet-dbus.c
15140 - Work with dbus 0.6 too
15142 2005-12-03 Dan Williams <dcbw@redhat.com>
15144 * src/NetworkManagerUtils.[ch]
15145 src/nm-ip4-config.c
15146 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15147 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15149 2005-12-01 Robert Love <rml@novell.com>
15151 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15152 need a NULL for the '...' parameter, too, to fill the so-called
15155 2005-12-01 Robert Love <rml@novell.com>
15157 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15158 interface is already gone, so don't call rtnl_link_change() to down
15159 it (which will segfault, anyhow).
15161 2005-11-22 Robert Love <rml@novell.com>
15163 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15164 gateway is not set, just print a little note. Configurations without
15165 gateways are valid.
15167 2005-11-22 Robert Love <rml@novell.com>
15171 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15173 * configure.in: Added Finnish translation to ALL_LINGUAS
15175 2005-11-14 Robert Love <rml@novell.com>
15177 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15178 Niemueller <tim@niemueller.de>.
15180 2005-11-08 Dan Williams <dcbw@redhat.com>
15182 Patch from Bill Moss <bmoss@clemson.edu>
15183 * src/NetworkManagerDevice.c
15184 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15185 of nm_policy_schedule_activation_finish() to prevent a
15186 race condition that causes the link to be dropped
15188 2005-11-08 Dan Williams <dcbw@redhat.com>
15190 Patch from Bill Moss <bmoss@clemson.edu>
15191 * src/NetworkManagerAPList.c
15192 src/NetworkManagerDevice.c
15193 src/NetworkManagerDbus.c
15194 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15195 we get more readable ether/mac addresses
15197 2005-11-02 Christopher Aillon <caillon@redhat.com>
15199 * gnome/applet/main.c: Don't set the restart command. This fixes
15200 the issue where the restart command was getting copies of all its
15201 arguments for each time the applet was restarted.
15203 2005-11-02 Robert Love <rml@novell.com>
15205 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15206 if the widget state differs from our saved state. This ensures we
15207 do not enter an endless loop of death and destruction. Also, this
15208 guarantees us that we enforce the widget state.
15210 2005-11-02 Robert Love <rml@novell.com>
15212 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15213 * gnome/applet/applet-dbus-devices.c: invoke the new function
15214 nmwa_enable_wireless_set_active() to ensure that the state of the
15215 'Enable Wireless' checkbox matches the daemon's state. This is a
15216 concern because the daemon remembers the state.
15218 2005-11-02 Robert Love <rml@novell.com>
15220 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15221 Enabled", as checkboxes should be actions/commands not positive
15222 statements, otherwise they are confusing in the unselected case. See
15223 examples in GNOME HIG, Chapter 6.
15225 2005-11-02 Robert Love <rml@novell.com>
15227 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15228 show a list of wireless networks or the wireless devices or the
15229 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15230 a bad bug: If wireless is disabled and the user picks a wireless
15231 network, NM will switch to the network, only to immediately switch
15232 back, as wireless is disabled. This also reassures people that NM
15233 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15235 2005-11-02 Christopher Aillon <caillon@redhat.com>
15237 * gnome/applet/applet.c:
15238 * gnome/applet/applet.h:
15239 Partial backout of Dan's timeout animation patch.
15240 Timeout IDs cannot legally be 0, so revert the code in place to handle
15241 a timeout ID of 0 to denote the timeout isn't running.
15243 2005-11-02 Christopher Aillon <caillon@redhat.com>
15245 * src/NetworkManagerPolicy.c:
15246 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15248 2005-10-28 Robert Love <rml@novell.com>
15250 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15251 "Import Saved Configuration..." to make it clear that importing is
15252 not the next step, but an option. As an aside, a nice TODO would be
15253 to move Importing out of the vpn-specific dialog and into the main
15254 property editor, as Importing goes with Adding, but that will require
15255 some rearchitecting of the VPN stuff I suspect.
15257 2005-10-27 Dan Williams <dcbw@redhat.com>
15259 Start using libnl. You need 1.0-pre3 or higher. Eventually
15260 we should replace most of the distro-specific backend code
15263 Get it here: http://people.suug.ch/~tgr/libnl/
15267 - Add checks for libnl pkgconfig file
15268 - Use LIBNL_LIBS & LIBNL_CFLAGS
15270 * src/NetworkManagerSystem.c
15271 src/nm-ip4-config.[ch]
15272 - Use libnl rather than ioctl() for most things
15273 - Remove unused functions
15275 2005-10-27 Robert Love <rml@novell.com>
15277 * src/backends/NetworkManagerSuSE.c: fix warning message text
15279 2005-10-27 Christopher Aillon <caillon@redhat.com>
15281 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15283 2005-10-27 Christopher Aillon <caillon@redhat.com>
15285 * gnome/applet/applet.c: The applet's about dialog can advertise our
15286 project page <http://www.gnome.org/projects/NetworkManager/>
15288 2005-10-26 Christopher Aillon <caillon@redhat.com>
15290 * gnome/applet.c: Also use translator credits if we don't have
15291 the new GtkAboutDialog (older versions of GTK+)
15293 2005-10-26 Robert Love <rml@novell.com>
15295 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15296 failure; correct usage text for "--no-daemon"
15298 2005-10-25 Dan Williams <dcbw@redhat.com>
15300 * src/NetworkManagerDevice.c
15301 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15303 - (free_process_scan_cb_data): unref the device when freeing results
15304 - (nm_device_wireless_process_scan_results): free scan results a bit later
15305 so we don't unref the device underneath ourselves
15307 2005-10-25 Dan Williams <dcbw@redhat.com>
15309 * Back out 2005-10-24 commit from Tor Krill. Patch
15310 causes nameservers never to be removed from named.
15312 2005-10-24 Dan Williams <dcbw@redhat.com>
15314 Clean up wireless scanning and wireless link probing.
15316 * src/NetworkManagerDevice.c
15317 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15318 just see if there's an activation request on the device, and check the
15319 current link against the activation request access point's ESSID.
15320 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15321 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15322 don't call process_scan_results() on zero-length data
15323 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15324 15 seconds (from 10)
15326 2005-10-24 Dan Williams <dcbw@redhat.com>
15328 Cleanup some applet stuff:
15330 - Animation timeouts. If NM died while the applet was animating,
15331 the applet would not hide itself. This is now fixed.
15333 - Remove some dead code
15335 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15336 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15338 - Track animation timeout using a gboolean rather than the timeout's
15339 ID, since timeout IDs can legally be 0.
15341 2005-10-24 Dan Williams <dcbw@redhat.com>
15343 * src/backends/interface_parser.c
15344 - Add void to function declarations that need it
15345 to match patch from Engin AYDOGAN
15347 * src/backends/interface_parser.h
15348 - Remove unused prototype for ifparser_interfaces()
15350 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15351 * src/backends/interface_parser.h:
15352 - Compile fixes for gcc 4.0.2 (add void)
15354 2005-10-24 Dan Williams <dcbw@redhat.com>
15356 Patch from Tor Krill <tor@krill.nu>
15357 * src/named-manager/nm-named-manager.c
15358 - Write more than just the first nameserver to /etc/resolv.conf
15359 - Write out valid /etc/resolv.conf on exit
15361 2005-10-21 Christopher Aillon <caillon@redhat.com>
15363 * gnome/applet/applet-dbus-vpn.c:
15364 Get rid of spurious newlines in debug console output
15366 2005-10-21 Christopher Aillon <caillon@redhat.com>
15368 * src/backends/NetworkManagerGentoo.c:
15369 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15371 2005-10-20 Robert Love <rml@novell.com>
15373 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15374 direct comparison of floating point values, which is never correct.
15375 Also some misc. cleanup.
15377 2005-10-19 Robert Love <rml@novell.com>
15379 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15381 2005-10-19 Robert Love <rml@novell.com>
15383 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15384 sensitivity of the buttons. Specificaly, do the right thing if
15385 there are no entries.
15387 2005-10-19 Christopher Aillon <caillon@redhat.com>
15389 * configure.in: Update check for adequate wireless-tools
15390 with an AC_TRY_COMPILE for the new symbols we use.
15392 2005-10-19 Dan Williams <dcbw@redhat.com>
15394 * src/NetworkManagerDevice.c
15395 - (process_scan_results): don't drop the last (or only)
15396 access point we see
15398 2005-10-19 Christopher Aillon <caillon@redhat.com>
15400 * src/backends/NetworkManagerSlackware.c:
15401 Patch from Nico <lordllucifer@gmail.com>
15402 - Update the Slackware backend.
15404 2005-10-18 Christopher Aillon <caillon@redhat.com>
15406 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15407 if we've got GLib 2.8.0
15409 2005-10-18 Robert Love <rml@novell.com>
15411 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15412 function nm_schedule_state_change_signal_broadcast() when we
15413 deactivate a device, too.
15415 2005-10-18 Robert Love <rml@novell.com>
15417 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15418 be used uninitialized.
15420 2005-10-18 Christopher Aillon <caillon@redhat.com>
15422 * test/libnm_glib_test.c: Test unregistering, too.
15424 2005-10-17 Christopher Aillon <caillon@redhat.com>
15426 * configure.in: Bump to 0.5.0
15428 2005-10-17 Dan Williams <dcbw@redhat.com>
15431 - Remove WPA-related constants so they aren't part of the
15434 2005-10-17 Christopher Aillon <caillon@redhat.com>
15436 * gnome/applet/applet.c:
15437 * gnome/applet/applet.h:
15438 Desensitize the 'Connection Information' menu item when there is
15439 no active connection.
15441 2005-10-17 Christopher Aillon <caillon@redhat.com>
15443 * gnome/libnm_glib/libnm_glib.c:
15444 Make libnm_glib_unregister_callback () actually unregister the callback
15446 2005-10-17 Robert Love <rml@novell.com>
15448 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15449 two seconds -- tries is updated every 1/10 of a second, not every
15452 2005-10-17 Christopher Aillon <caillon@redhat.com>
15454 * gnome/applet/applet-dbus-info.c:
15455 Let D-BUS know that we haven't handled a message when we haven't.
15457 2005-10-17 Robert Love <rml@novell.com>
15459 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15460 in order to remain 64-bit clean.
15462 2005-10-17 Christopher Aillon <caillon@redhat.com>
15464 * gnome/applet/applet-dbus-info.c:
15465 Find network encryption keys asynchronously
15467 2005-10-17 Robert Love <rml@novell.com>
15469 * src/backends/NetworkManagerDebian.c,
15470 src/backends/NetworkManagerRedHat,
15471 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15474 2005-10-17 Robert Love <rml@novell.com>
15476 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15479 2005-10-17 Christopher Aillon <caillon@redhat.com>
15481 * src/NetworkManagerDevice.c: (process_scan_results)
15482 Fix logic that checks to see whether we have an ESSID.
15484 2005-10-15 Dan Williams <dcbw@redhat.com>
15486 Move scanning code into NetworkManager rather than use iwlib's
15487 iw_scan() function, so that we can figure out AP capabilities.
15490 - Add AP capability bits
15492 * src/NetworkManagerAP.[ch]
15493 - Add capability field to NMAccessPoint structure
15494 - Add WPA & RSN Information Element fields and accessor
15495 functions to NMAccessPoint
15497 * src/NetworkManagerDevice.c
15498 - Remove usage of iw_scan
15499 - Add scanning code to NetworkManager rather than use
15500 iw_scan() from iwlib
15502 * src/NetworkManagerUtils.[ch]
15503 - (nm_dispose_scan_results): remove, unused
15505 2005-10-14 Christopher Aillon <caillon@redhat.com>
15507 * gnome/libnm_glib/libnm_glib.c:
15508 * gnome/libnm_glib/libnm_glib.h:
15509 Use guint instead of gint for callback IDs.
15511 2005-10-12 Christopher Aillon <caillon@redhat.com>
15513 * gnome/applet/applet.c:
15514 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15515 every 1000ms. It will unconditionally call nmwa_update_state which
15516 kills the existing animation timeout and registers a new one with a
15517 callback to draw a new frame every 100ms. There are 11 connecting
15518 icon frames, so the last 2 frames kept getting dropped. Only reset
15519 the animation timeout if we aren't animating.
15521 2005-10-11 Dan Williams <dcbw@redhat.com>
15523 * gnome/applet/applet-dbus-devices.c
15524 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15525 We want to grab the product & vendor from net.physical_dev
15526 rather than info.parent.
15528 2005-10-11 Dan Williams <dcbw@redhat.com>
15530 * src/NetworkManagerDevice.c
15531 - Use the driver's WE version for scanning rather than
15532 the WE version NM was compiled with. Fixes random
15533 crashes in iw_scan () in iwlib.
15535 2005-10-10 Dan Williams <dcbw@redhat.com>
15537 * Remove nm_system_load_device_modules() from backend files
15538 and from NetworkManager.c
15540 2005-10-10 Dan Williams <dcbw@redhat.com>
15542 * src/NetworkManagerPolicy.c
15543 - Fix some bugs introduced by the capabilities patch
15545 2005-10-10 Dan Williams <dcbw@redhat.com>
15547 * gnome/applet/applet-dbus-info.c
15548 - (nmi_dbus_get_network_key): hide the menu when putting up
15549 the keyring dialog. (not sure if the code is right...)
15551 2005-10-09 Dan Williams <dcbw@redhat.com>
15553 Patch from Bill Moss <bmoss@clemson.edu>
15554 * src/NetworkManagerDevice.c
15555 - (nm_device_set_user_key_for_network): don't try to set auth
15556 mode on the AP from the allowed list if it's NULL
15558 2005-10-09 Dan Williams <dcbw@redhat.com>
15560 * Replace the "driver support level" stuff with capabilities. The
15561 capability field is a bitfield that is more flexible than the
15562 old driver support level thing. It's mostly so we can easily
15563 figure out what supports WPA and what doesn't, but should be
15564 quite useful later.
15566 2005-10-09 Dan Williams <dcbw@redhat.com>
15573 - Added new "nm-tool" tool that gives quite a bit more
15576 2005-10-07 Robert Love <rml@novell.com>
15578 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15579 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15580 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15581 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15584 2005-10-07 Robert Love <rml@novell.com>
15586 * configure.in: Change our compile flags for the betterment of mankind.
15587 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15588 prototype is very bad on 64-bit platforms as types default to int but
15589 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15590 "-Wmissing-declarations" to warn if we define an exported function
15591 but fail to put it in a header.
15593 2005-10-07 Robert Love <rml@novell.com>
15595 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15596 by the name nm_update_device_wireless_timeouts() and once tried,
15597 without success, to steal my pet turtle.
15599 2005-10-07 Robert Love <rml@novell.com>
15601 * Cleanup prototypes: put some functions in header files and mark
15602 others as 'static' -- feel free to invert
15603 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15604 nm_vpn_manager_vpn_connection_list_copy()
15605 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15606 nm_vpn_service_get_dbus_connection()
15607 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15608 nm_vpn_manager_vpn_connection_list_copy()
15609 * src/vpn-manager/nm-vpn-service.c: make
15610 nm_vpn_service_act_request_failed() and
15611 nm_vpn_service_stage2_daemon_wait() static
15612 * src/vpn-manager/nm-vpn-service.h: add prototype for
15613 nm_vpn_service_get_dbus_connection()
15615 2005-10-06 Christopher Aillon <caillon@redhat.com>
15617 * gnome/applet/applet.c:
15618 * gnome/applet/applet.h:
15619 * gnome/applet/icons/Makefile.am:
15620 Convey information about the current connection stage in the
15621 icons themselves instead of creating a separate progress bar.
15623 2005-10-04 Robert Love <rml@novell.com>
15625 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15626 convert an ether_addr structure's MAC into a string, because the
15627 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15628 versus 07:3B:04, while the former will not.
15630 2005-10-04 Robert Love <rml@novell.com>
15632 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15633 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15634 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15635 default route in the 'Connection Information' dialog, send primary
15636 and secondary name servers in in "getProperties" DBUS method, add
15637 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15638 secondary domain name servers are crucial pieces of information
15639 that a user might need in debugging a network problem.
15641 2005-10-04 Robert Love <rml@novell.com>
15643 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15644 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15645 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15646 default route in the 'Connection Information' dialog, send default
15647 route in "getProperties" DBUS method, add network_device_set_route(),
15648 and network_device_get_route(). The Gateway is a crucial piece of
15649 connection-related information that a user might need in debugging a
15652 2005-10-03 Robert Love <rml@novell.com>
15654 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15657 2005-10-02 Dan Williams <dcbw@redhat.com>
15659 * Shorten time taken to sleep by fastpathing bits of device deactivation
15660 necessary for sleep.
15662 * Fix issue where deactivating a device might deactivate the active
15663 VPN connection, even if the VPN was not using the device.
15665 2005-10-02 Dan Williams <dcbw@redhat.com>
15667 * gnome/applet/applet.c
15668 - Adjust signal strength -> icon mapping values slightly
15669 (so that 51% signal doesn't show a 75% icon) by adding
15670 5% to the values. ex: > 5% now shows 25% icon, > 30%
15671 shows 50% icon, etc.
15673 2005-09-29 Robert Love <rml@novell.com>
15675 * src/NetworkManager.c: removed unused variable.
15677 2005-09-28 Dan Williams <dcbw@redhat.com>
15679 Support for named + DBus, using Red Hat DBus patches for named. You
15680 can find those patches here, with "dbus" in the patch's filename:
15682 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15684 Don't forget the named dbus service file either.
15686 Instead of writing a config file and spawing a named process, NM will
15687 use an already-running dbus-enabled named if it finds one. NM will
15688 update named's forwarder configuration on the fly using dbus.
15690 If there is no dbus-enabled named running, NM will automatically fall
15691 back to writing the most-recent DNS server information to /etc/resolv.conf
15692 and calling nm_system_update_dns() to kick the system's resolver.
15694 Accordingly, all named-related configure-time options have been removed.
15696 2005-09-26 Robert Love <rml@novell.com>
15698 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15700 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15701 bug in error path if "ASKPASSWORD" is "no".
15703 2005-09-26 Robert Love <rml@novell.com>
15705 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15706 comment in /etc/resolv.conf -- ';' is not.
15708 2005-09-19 Dan Williams <dcbw@redhat.com>
15710 * src/backends/NetworkManagerRedHat.c:
15711 * src/backends/NetworkManagerDebian.c:
15712 * src/backends/NetworkManagerSlackware.c:
15713 * src/backends/NetworkManagerGentoo.c:
15714 * src/backends/NetworkManagerSUSE.c:
15715 Fix invocations of "/sbin/ip address" to use short form instead
15717 2005-09-19 Christopher Aillon <caillon@redhat.com>
15719 * src/nm-dbus-device.c: Don't assert when getting
15720 addresses of a not yet connected interface.
15722 * gnome/applet/applet.c: Free icons if loading fails.
15723 Use translator-credits so translators can make themselves known.
15725 2005-09-15 Christopher Aillon <caillon@redhat.com>
15727 * src/NetworkManagerAP.c:
15728 * src/NetworkManagerAP.h:
15729 * src/NetworkManagerDevice.c:
15730 Set a blacklist for certain common manufacturer default ESSIDs:
15731 APs with these ESSIDs are extremely likely to be completely
15732 different networks: connecting to one should not make NM
15733 auto-connect to every other AP with the same default ESSID.
15735 2005-09-12 Christopher Aillon <caillon@redhat.com>
15737 * gnome/applet/wireless-applet.glade:
15738 The passphrase entry should also activate the default
15740 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15742 * gnome/applet/applet-dbus-devices.c:
15743 * gnome/applet/applet.c:
15744 * gnome/applet/nm-device.c:
15745 * gnome/applet/nm-device.h:
15746 * src/NetworkManagerUtils.c:
15747 * src/NetworkManagerUtils.h:
15748 * src/nm-dbus-device.c:
15749 I've got a fever, and the only cure for it is less ioctl.
15750 Make NM push IP data rather than make the applet open a socket
15753 2005-09-10 Christopher Aillon <caillon@redhat.com>
15755 * gnome/applet/applet.c:
15756 * gnome/applet/applet-dbus-devices.c:
15757 * gnome/applet/applet-dbus-info.c:
15758 * gnome/applet/passphrase-dialog.c:
15759 * gnome/libnm_glib/libnm_glib.c:
15760 * gnome/vpn-properties/nm-vpn-properties.c:
15762 * src/backends/NetworkManagerRedHat.c:
15763 * src/named-manager/nm-named-manager.c:
15764 * src/NetworkManagerAPList.c:
15765 * src/NetworkManager.c:
15766 * src/NetworkManagerDbus.c:
15767 * src/NetworkManagerDevice.c:
15768 * src/NetworkManagerPolicy.c:
15769 * src/NetworkManagerSystem.c:
15770 * src/nm-dbus-device.c:
15771 * src/nm-dbus-nm.c:
15772 * src/vpn-manager/nm-vpn-manager.c:
15773 * src/vpn-manager/nm-vpn-service.c:
15774 * test/libnm_glib_test.c:
15775 * test/nminfotest.c:
15776 * test/nmtestdevices.c:
15777 Fix a bunch of 'unused variable' compiler warnings
15779 * NetworkManager.h:
15780 * gnome/applet/applet-dbus-info.c:
15781 * gnome/applet/applet-dbus-info.h:
15782 * gnome/applet/applet.c:
15783 * gnome/applet/applet.h:
15784 * src/NetworkManager.c:
15785 * src/NetworkManagerDbus.c:
15786 * src/NetworkManagerDbus.h:
15787 * src/NetworkManagerDevice.c:
15788 * src/NetworkManagerDevice.h:
15789 * src/NetworkManagerMain.h:
15790 * src/NetworkManagerWireless.c:
15791 * src/NetworkManagerWireless.h:
15792 * src/nm-dbus-nm.c:
15793 Make NetworkManager be smart about how frequently to scan
15794 based on its current state. Remove the UI for choosing when
15795 to scan. Scanning still may disabled completely by the user
15796 via the "Wireless Enabled" menu item.
15798 2005-09-09 Christopher Aillon <caillon@redhat.com>
15800 * gnome/applet/applet.c:
15801 Also overlay the vpn connecting icons onto the wired icon,
15804 * gnome/vpn-properties/nm-vpn-properties.glade:
15805 Clean up a few strings to use better grammar and proper casing.
15807 2005-09-08 Christopher Aillon <caillon@redhat.com>
15809 * gnome/applet/vpn-connection.c:
15810 * gnome/applet/vpn-connection.h:
15811 Add nmwa_vpn_connection_is_activating ()
15813 * gnome/applet/applet.c:
15814 * gnome/applet/applet.h:
15815 * gnome/applet/icons/nm-vpn-connecting*.png:
15816 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15817 the user know something's happening between clicking the VPN item and it
15818 actually being connected.
15820 2005-09-07 Christopher Aillon <caillon@redhat.com>
15822 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15823 failure case as well.
15825 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15827 * gnome/panel/eggtrayicon.[ch]:
15828 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15830 2005-09-07 Dan Williams <dcbw@redhat.com>
15832 Patch from Bill Moss <bmoss@clemson.edu>
15833 * src/applet-dbus.c
15834 - (nmwa_dbus_filter): strip whitespace from beginning
15835 and end of VPN login banner
15837 2005-09-07 Dan Williams <dcbw@redhat.com>
15839 * The great VPN Manager rewrite of 2005
15841 2005-09-07 Christopher Aillon <caillon@redhat.com>
15843 * gnome/applet/menu-items.c:
15844 * gnome/applet/nm-device.c:
15845 * gnome/applet/wireless-network.c:
15846 * gnome/libnm_glib/libnm_glib.c:
15847 * src/NetworkManagerDbusUtils.c:
15848 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15849 g_malloc0 doesn't return NULL
15851 2005-09-06 Dan Williams <dcbw@redhat.com>
15853 Patch from Tomislav Vujec <tvujec@redhat.com>
15854 * src/NetworkManagerDevice.c
15855 - (nm_get_device_by_udi): don't return a device when we
15856 actually didn't find what we were looking for
15858 2005-09-06 Christopher Aillon <caillon@redhat.com>
15860 * gnome/applet/applet-dbus-devices.c:
15861 * gnome/applet/applet-dbus-devices.h:
15862 * gnome/applet/applet-dbus.c:
15863 * src/NetworkManagerDbus.c:
15864 * src/NetworkManagerDbus.h:
15865 * src/NetworkManagerDevice.c:
15866 * src/nm-dbus-device.c:
15867 Make NM push updates about active device strength when it changes,
15868 rather than having the applet poll every 2s.
15870 2005-09-05 Christopher Aillon <caillon@redhat.com>
15872 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15873 network_device_set_strength
15875 2005-09-04 Dan Williams <dcbw@redhat.com>
15877 Patch from Bill Nottingham <notting@redhat.com>
15878 * src/NetworkManagerDevice.c
15879 - (nm_device_activation_cancel): reset the quit_activation flag
15881 2005-09-04 Dan Williams <dcbw@redhat.com>
15883 * src/nm-activation-request.c
15884 - (nm_act_request_unref): actually free the structure,
15885 which we didn't seem to be doing before
15887 2005-09-04 Dan Williams <dcbw@redhat.com>
15889 Patch from John Palmieri <johnp@redhat.com>
15890 * gnome/applet/applet-dbus-devices.c
15891 - Fix up unreffing of DBusMessage objects
15893 2005-09-04 Dan Williams <dcbw@redhat.com>
15895 Patch from John Palmieri <johnp@redhat.com>
15896 * gnome/applet/nm-device.c
15897 - (nm_device_unref): clear network_device's memory _before_ freeing it
15899 2005-09-02 Christopher Aillon <caillon@redhat.com>
15901 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15903 2005-09-02 Bill Nottingham <notting@redhat.com>
15905 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15907 2005-09-01 Dan Williams <dcbw@redhat.com>
15909 * src/NetworkManager.c
15910 - (nm_remove_device_from_list): rename to nm_remove_device
15911 - (nm_hal_device_removed): call nm_remove_device()
15913 * src/NetworkManagerDevice.c
15914 - Change the NMWirelessScanCB member 'reschedule' which
15915 wasn't used to 'force' to indicate that we need to
15916 force a scan when adding a device
15919 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15920 from the device list
15921 - (nm_dbus_nm_wake): Re-add all devices to the device list
15923 2005-09-01 Robert Love <rml@novell.com>
15925 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15926 and the check "!iface" in the error case is probably never true.
15928 2005-09-01 Dan Williams <dcbw@redhat.com>
15930 Patch from Bill Nottingham <notting@redhat.com>
15931 * src/backends/NetworkManagerRedHat.c
15932 - Add initial dialup support to Red Hat/Fedora backend
15934 2005-09-01 Dan Williams <dcbw@redhat.com>
15936 * gnome/applet/applet-dbus-devices.c
15937 - Sort both wireless networks and devices again, which got
15938 broken when removing threading
15940 2005-09-01 Christopher Aillon <caillon@redhat.com>
15942 * gnome/applet/applet.c:
15943 Only show the "Stop/Start All Wireless Devices" menuitem
15944 if we actually have wireless devices.
15946 * gnome/applet/applet-dbus-info.c:
15947 * gnome/applet/applet.c:
15948 * gnome/applet/other-network-dialog.c:
15949 * gnome/applet/vpn-password-dialog.c:
15950 Drop the gtk_dialog_run () calls in favor of connecting to
15951 "response" signals, needed now that the applet is not threaded.
15953 2005-08-31 Dan Williams <dcbw@redhat.com>
15955 Patch from Bill Moss <bmoss@clemson.edu>
15956 * src/NetworkManagerDevice.c
15957 - (nm_device_wireless_scan): fix scan timeout values
15959 2005-08-30 Dan Williams <dcbw@redhat.com>
15961 * gnome/applet/wireless-applet.glade
15962 - HIG-ify the Other Wireless Networks dialog a bit more
15963 - Fix some potential segfaults in the info dialog
15965 2005-08-30 Dan Williams <dcbw@redhat.com>
15967 * gnome/applet/applet-dbus-devices.c
15968 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15970 2005-08-30 Dan Williams <dcbw@redhat.com>
15972 * gnome/applet/applet-dbus.[ch]
15973 - Remove all the nmwa_dbus_call_method_xxxx functions since
15974 they weren't being used anyway
15976 2005-08-30 Bastien Nocera <hadess@hadess.net>
15978 * test/nmtestdevices.c: (print_usage), (main):
15979 Check the number of arguments, and fix a typo
15981 2005-08-29 Dan Williams <dcbw@redhat.com>
15983 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15984 * gnome/applet/applet.c
15985 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15987 2005-08-29 Dan Williams <dcbw@redhat.com>
15990 - Don't use threads any more. Anything that blocks
15991 (like gtk_dialog_run()) will have to get fixed up which
15992 should happen quickly. We really only had threads to make
15993 the animation smooth, and when everything got converted over
15994 to DBus Pending Calls, the need for threads kind of went away
15996 2005-08-29 Christopher Aillon <caillon@redhat.com>
15998 * gnome/applet/applet.c: Draw VPN connections as radio items
15999 since we don't yet support multiple VPNs.
16000 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16001 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16003 2005-08-29 Dan Williams <dcbw@redhat.com>
16005 Patch from j@bootlab.org
16006 - Make --without-named work
16007 - Make --with-dhcdbd work correctly
16009 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16011 * configure.in: Added "ca" to ALL_LINGUAS.
16013 2005-08-26 Christopher Aillon <caillon@redhat.com>
16015 * Fix up VPN state handling between the applet and NetworkManager,
16016 so that the applet doesn't show a VPN as connected when one
16018 - The applet no longer has a pointer to the active VPN's
16019 name, but tracks each VPNs state individually
16020 - NM no longer has a "getActiveVPNConnection" method
16021 - NM no longer broadcasts the "VPNConnectionChange" signal
16022 - NM now broadcasts a "VPNConnectionStateChange" signal
16023 whenever the state of a VPN changes
16025 2005-08-26 Dan Williams <dcbw@redhat.com>
16027 * gnome/applet/applet-dbus-devices.c
16028 gnome/applet/applet-dbus-vpn.c
16029 - Remove calls to dbus_pending_call_ref() because we already
16030 "own" the pending call
16031 - Remove calls to dbus_pending_call_get_completed() because
16032 when we are in the callback, the pending call is completed
16035 2005-08-22 Dan Williams <dcbw@redhat.com>
16037 Patch by Bill Moss <bmoss@clemson.edu>
16038 * src/dhcp-manager/nm-dhcp-manager.c
16039 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16040 some time to send out a RELEASE if they like
16042 2005-08-22 Dan Williams <dcbw@redhat.com>
16044 Noticed by Bill Moss <bmoss@clemson.edu>
16045 * src/NetworkManagerDbus.c
16046 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16047 instead of just cancelling its activation
16049 * src/NetworkManagerDevice.c
16050 - (nm_device_deactivate): some small cleanups
16051 - (nm_device_set_user_key_for_network): deactivate the device
16052 instead of just cancelling its activation
16054 2005-08-22 Dan Williams <dcbw@redhat.com>
16056 Noticed by Bill Moss <bmoss@clemson.edu>
16057 * src/NetworkManagerDevice.c
16058 - (nm_device_wireless_scan): fix scan timeout, we were
16059 waiting way too long for scans to complete
16061 2005-08-22 Dan Williams <dcbw@redhat.com>
16063 Patch from j@bootlab.org:
16064 * src/backends/NetworkManagerDebian.c
16065 - Make the Debian backend work for static IP again
16067 2005-08-20 Christopher Aillon <caillon@redhat.com>
16069 * gnome/applet/other-network-dialog.c:
16070 The "Create New Network" and "Connect to Other Network"
16071 dialogs share alot of code, but shouldn't share a window
16072 title. Give them different ones.
16074 * gnome/applet/wireless-applet.glade:
16075 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16076 Some more minor UI tweaks.
16078 2005-08-19 Christopher Aillon <caillon@redhat.com>
16080 * gnome/applet/other-network-dialog.c:
16081 * gnome/applet/wireless-applet.glade:
16082 Also need mnemonic widgets, and underline enabled.
16084 2005-08-19 Dan Williams <dcbw@redhat.com>
16086 * vpn-daemons/vpnc/nm-vpnc-service.c
16087 - (vpnc_watch_cb): remove no-longer-relevant comment
16088 - (write_config_option): new function, helper to write
16089 config options to vpnc's stdin
16090 - (nm_vpnc_config_write): use the new helper, make the
16093 2005-08-19 Christopher Aillon <caillon@redhat.com>
16095 * gnome/applet/passphrase-dialog.c:
16096 * gnome/applet/wireless-applet.glade:
16097 Make the passphrase dialog response based, and treat
16098 responses other than OK (such as Esc, [X]) as a cancel.
16100 2005-08-18 Christopher Aillon <caillon@redhat.com>
16102 * initscript/Gentoo/NetworkManager:
16103 * initscript/RedHat/NetworkManager:
16104 * initscript/RedHat/NetworkManagerDispatcher:
16105 * initscript/SUSE/networkmanager:
16106 CVS remove these in place of .in replacements
16109 * initscript/Gentoo/NetworkManager.in:
16110 * initscript/RedHat/NetworkManager.in:
16111 * initscript/RedHat/NetworkManagerDispatcher.in:
16112 * initscript/SUSE/networkmanager.in:
16113 These scripts now are generated so they work still when
16114 NM is built using a bindir other than /usr/bin
16116 2005-08-18 Dan Williams <dcbw@redhat.com>
16118 * gnome/applet/main.c
16119 - Revert previous change for --no-session since
16120 --sm-disable does the same thing
16122 2005-08-18 Dan Williams <dcbw@redhat.com>
16124 * gnome/applet/applet-dbus-info.c
16125 - (nmi_dbus_create_error_message): new function
16126 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16127 functions. Also don't check for both device _and_ network before
16128 asking for a user's key, because we may not have gotten all our
16129 networks back from NM quite yet (due to the dbus pending calls
16130 coming in later). Fixes a hang in NM/nm-applet.
16132 * src/NetworkManagerDbus.c
16133 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16134 slightly more sane manner, even though we are still broken for
16135 certain other error conditions.
16136 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16137 to the info-daemon too
16139 * src/NetworkManagerDevice.c
16140 - Fix some debug messages to be info messages instead
16142 2005-08-18 Dan Williams <dcbw@redhat.com>
16144 * gnome/applet/main.c
16145 - Add new "--no-session" parameter that disables applet
16146 session management, ie for testing
16148 2005-08-18 Christopher Aillon <caillon@redhat.com>
16150 * gnome/applet/other-network-dialog.c:
16151 * gnome/applet/wireless-applet.glade: More mnemonics
16153 2005-08-17 Robert Love <rml@novell.com>
16155 * initscript/SUSE/networkmanager: update
16157 2005-08-17 Dan Williams <dcbw@redhat.com>
16159 * Tag NM_0_4_1_RELEASE
16161 2005-08-17 Christopher Aillon <caillon@redhat.com>
16163 * gnome/applet/applet.c: More translatable string cleanup
16166 2005-08-17 Dan Williams <dcbw@redhat.com>
16168 * gnome/applet/applet-dbus-info.c
16169 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16170 from the dbus message, which tells us to unconditionally
16171 ask the user for a new key. Otherwise, we pull the key from
16172 the keyring and return it. If we fail to get the key from the
16173 keyring, we ask the user for a new key.
16174 - (nmi_dbus_get_network_key): new function to grab the key for
16175 an essid from the keyring.
16176 - (nmi_dbus_get_network_properties): don't access the keyring here.
16177 Also, don't return any key in the dbus message.
16179 * src/NetworkManagerDbus.[ch]
16180 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16181 indicate that we unconditionally want a new key. This function
16182 is now also used to get keys from the info-daemon which are
16183 pre-stored, not just for asking the user for a new key. The
16184 "new_key" parameter indicates whether or not we wish to ask the
16185 user for a new key.
16186 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16187 info-daemon in the return message, so use NULL instead. The
16188 key will be filled in at connect time by calling
16189 nm_dbus_get_user_key_for_network()
16191 * src/NetworkManagerDevice.c
16192 - (nm_device_wireless_configure): update for "new_key" param to
16193 nm_dbus_get_user_key_for_network(). We initially set new_key
16194 to FALSE to see if we have a stored key in the info-daemon, but
16195 if the connection is unsuccessful at this stage we request a
16198 2005-08-17 Dan Williams <dcbw@redhat.com>
16200 * gnome/applet/icons/nm-no-connection.png
16201 gnome/applet/icons/nm-device-wired.png
16202 - Use Diana's new RJ45 connector icons
16204 2005-08-17 Dan Williams <dcbw@redhat.com>
16206 * src/NetworkManagerPolicy.c
16207 - (nm_policy_device_change_check): clarify switching rules if
16208 both new and old devices are valid; mainly, don't switch
16209 away from user-requested wireless connection back to a wired
16212 2005-08-17 Dan Williams <dcbw@redhat.com>
16214 * gnome/applet/Makefile.am
16215 - Relocate the applet to /usr/bin since it is no longer
16216 executed by anything, but directly by the user
16218 2005-08-17 Dan Williams <dcbw@redhat.com>
16220 Patch from Bill Moss <bmoss@clemson.edu>
16222 * gnome/applet/applet-dbus-info.[ch]
16223 - (nmi_save_network_info): save timestamp for network if it
16224 was a change requested by the user
16225 - (nmi_dbus_update_network_info): get user_requested from dbus
16226 message and pass to nmi_save_network_info()
16228 * gnome/applet/applet.c
16229 - (nmwa_update_network_timestamp): remove
16230 - (nmwa_menu_item_activate): don't set timestamp on networks
16231 here, only after a successful connect in nmi_save_network_info()
16233 * src/NetworkManagerDbus.[ch]
16234 - (nm_dbus_update_network_info): pass user_requested into the
16237 * src/NetworkManagerPolicy.c
16238 - (nm_policy_activation_finish): pass user_requested to
16239 nm_dbus_update_network_info()
16241 2005-08-16 Robert Love <rml@novell.com>
16243 * gnome/applet/applet.c: Better "Dial Up" menu item.
16245 2005-08-16 Robert Love <rml@novell.com>
16247 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16248 "Connection Information" menu item.
16250 2005-08-16 Dan Williams <dcbw@redhat.com>
16252 Patch from j@bootlab.org
16253 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16255 * configure.in: allow specifying the path to dhcdbd
16257 2005-08-16 Robert Love <rml@novell.com>
16259 Patch from j@bootlab.org
16260 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16261 src/backends/interface_parser.h: Debian dialup support.
16263 2005-08-16 Christopher Aillon <caillon@redhat.com>
16265 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16266 * gnome/applet/applet.c: Add some mnemonics for VPNC
16268 * vpn-daemons/.cvsignore: fix this up a little bit
16270 2005-08-16 Robert Love <rml@novell.com>
16272 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16275 2005-08-16 Christopher Aillon <caillon@redhat.com>
16277 * gnome/applet/applet.c: Split markup out of translatable strings
16278 and clean up logic a little bit. (fixes #309012)
16280 2005-08-15 Christopher Aillon <caillon@redhat.com>
16282 * gnome/vpn-properties/nm-vpn-properties.c:
16283 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16284 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16285 Makeshift fix to remove newlines from translatable strings.
16286 Note that we now return an allocated string, so callers of
16287 get_confirmation_details () must now call g_free () on the
16288 result. (fixes #309033).
16290 2005-08-12 Robert Love <rml@novell.com>
16292 * gnome/applet/applet-dbus.c: remove newlines from translatable
16293 strings--not needed here anyway. (fix b.g.o #309011)
16294 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16296 2005-08-11 Robert Love <rml@novell.com>
16298 * gnome/applet/applet.c: mark string as translatable.
16300 2005-08-11 Robert Love <rml@novell.com>
16302 * initscript/SUSE/networkmanager: update.
16304 2005-08-11 Dan Williams <dcbw@redhat.com>
16306 * src/nm-dhcp-manager.c
16307 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16308 an gateway returned from DHCP, try to use the address of the DHCP
16309 server as the gateway instead. Found by Ralf Ertzinger.
16311 2005-08-10 Robert Love <rml@novell.com>
16313 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16314 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16316 2005-08-10 Dan Williams <dcbw@redhat.com>
16318 Patch from Bill Moss <bmoss@clemson.edu>
16319 * Consolidate writes of access point information updates to the info daemon
16320 so that we only do it when the connection to the access point was
16321 successful. Also consolidates updates to GConf in the Gnome applet.
16323 * src/nm-netlink-monitor.c
16324 - Silence compile warning when calling g_object_new()
16326 2005-08-08 Dan Williams <dcbw@redhat.com>
16328 Patch from Steev <steev@steev.net>:
16329 * src/backends/NetworkManagerGentoo.c
16330 - Stub new dialup backend functions
16332 2005-08-08 Dan Williams <dcbw@redhat.com>
16334 Patch from Colin Slater:
16335 * src/backends/NetworkManagerGentoo.c
16336 - (nm_system_update_dns): Fix exit status check for restarting
16339 2005-08-05 Robert Love <rml@novell.com>
16341 * NetworkManager.h,
16342 gnome/applet/applet-dbus-devices.c,
16343 gnome/applet/applet-dbus-devices.h,
16344 gnome/applet/applet-dbus.c,
16345 gnome/applet/applet.c,
16346 gnome/applet/applet.h,
16347 src/NetworkManager.c,
16348 src/NetworkManagerMain.h,
16349 src/NetworkManagerSystem.h,
16350 src/backends/NetworkManagerRedHat.c,
16351 src/backends/NetworkManagerSuSE.c,
16352 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16354 2005-08-05 Robert Love <rml@novell.com>
16356 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16357 machine's hostname to make adhoc creation idiot-proof.
16359 2005-08-04 Robert Love <rml@novell.com>
16361 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16364 2005-08-04 Dan Williams <dcbw@redhat.com>
16366 * gnome/applet/applet-dbus-info.c
16367 gnome/applet/applet-dbus-info.h
16368 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16369 to store key, key type, and auth method rather than just auth method
16370 - (nmi_dbus_update_network_info): new function
16371 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16373 * gnome/applet/passphrase-dialog.c
16374 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16375 of saving the info ourselves
16377 * gnome/libnm_glib/libnm_glib.c
16378 - Remove the stupid version check for dbus
16380 * src/NetworkManagerAP.c
16381 src/NetworkManagerAP.h
16382 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16384 * src/NetworkManagerDbus.c
16385 src/NetworkManagerDbus.h
16386 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16387 more than just the auth method
16389 * src/NetworkManagerDevice.c
16390 - Update network info at the appropriate times
16392 2005-07-29 Ray Strode <rstrode@redhat.com>
16394 * src/NetworkManager.c (nm_info_handler): don't use input as format
16395 string (Spotted by Ian Jackson).
16397 2005-07-27 Dan Williams <dcbw@redhat.com>
16401 - Random cleanups of spacing
16403 * gnome/applet/applet.h
16404 gnome/applet/other-network-dialog.c
16405 gnome/applet/passphrase-dialog.c
16406 - Conslidate usage of NMWAEncryptionKeyTypes enum
16408 Patch from Bill Moss:
16409 - Make Other Wireless Networks work again with encryption keys
16411 2005-07-26 Dan Williams <dcbw@redhat.com>
16413 Patch from Steev <steev@steev.net>:
16414 * src/backends/NetworkManagerGentoo.c
16415 src/backends/Makefile.am
16416 - Fix up Gentoo backend
16418 2005-07-26 Robert Love <rml@novell.com>
16420 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16422 2005-07-25 Robert Love <rml@novell.com>
16424 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16425 in the same group as the wireless networks, since they are all
16426 mutually exclusive.
16428 2005-07-24 Ray Strode <rstrode@redhat.com>
16430 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16431 remove unneeded NULL arg from g_object_new(). Any
16432 warnings caused by not having the extra NULL are just a
16433 result of a bug in glib 2.7.0 - 2.7.2.
16435 2005-07-22 Robert Love <rml@novell.com>
16437 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16439 2005-07-22 Robert Love <rml@novell.com>
16441 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16442 parameters (gcc 4.0.2 warning fix).
16444 2005-07-18 Robert Love <rml@novell.com>
16446 Suggested by Aaron Bockover (abockover@novell.com)
16447 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16449 * gnome/applet/passphrase-dialog.c: ditto
16450 * gnome/applet/wireless-applet.glade: ditto
16452 2005-07-13 Dan Williams <dcbw@redhat.com>
16454 Patch from Ray Strode <halfline@gmail.com>
16455 * vpn-daemons/vpnc/nm-vpnc-service.c
16456 - Don't let vpnc daemonize, fixes some races with PID file reading
16458 2005-07-13 Dan Williams <dcbw@redhat.com>
16460 Patch from Ray Strode <halfline@gmail.com>
16461 * Random cleanups for strict CFLAGS
16463 2005-07-07 Dan Williams <dcbw@redhat.com>
16465 Patch from Derek Atkins <warlord@MIT.EDU>
16466 * src/nm-dbus-net.c:
16467 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16469 2005-07-07 Dan Williams <dcbw@redhat.com>
16471 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16472 * src/backends/NetworkManagerGentoo.c
16473 - Gentoo backend Static IP nameserver fixes
16474 - General Gentoo backend goodness
16476 2005-07-07 Dan Williams <dcbw@redhat.com>
16478 Patch from Bastien Nocera:
16479 * gnome/applet/applet.c
16480 - Fix up error reporting when icons or glade files are missing
16482 2005-07-07 Robert Love <rml@novell.com>
16484 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16485 are not any VPN connections above it.
16487 2005-07-07 Robert Love <rml@novell.com>
16489 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16491 2005-07-05 Robert Love <rml@novell.com>
16493 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16496 2005-07-05 Robert Love <rml@novell.com>
16498 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16499 on wired or unencrypted wireless.
16501 2005-07-01 Robert Love <rml@novell.com>
16503 * src/NetworkManagerSystem.c: Print the error via strerror().
16505 2005-06-30 Robert Love <rml@novell.com>
16507 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16508 then exit if the glade file is not found. currently the application
16511 2005-06-30 Robert Love <rml@novell.com>
16513 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16514 explicitly up all interfaces on wake from sleep.
16516 2005-06-30 Robert Love <rml@novell.com>
16518 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16519 with information about the currently active connection.
16520 * gnome/applet/applet.h: (ditto)
16521 * gnome/applet/wireless-applet.glade: (ditto), new file
16523 2005-06-30 Robert Love <rml@novell.com>
16525 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16526 * src/nm-dbus-nm.c: print when we sleep and wake up.
16527 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16528 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16529 in /sbin unless D-BUS is, folks).
16530 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16532 2005-06-27 Robert Love <rml@novell.com>
16534 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16537 2005-06-27 Robert Love <rml@novell.com>
16539 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16542 2005-06-26 Robert Love <rml@novell.com>
16544 * src/NetworkManagerDevice.c: be specific about which device in
16547 2005-06-23 Adam Weinberger <adamw@gnome.org>
16549 * src/nm-netlink-monitor.c: correct spelling error.
16551 2005-06-23 Robert Love <rml@novell.com>
16553 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16554 * gnome/applet/passphrase-dialog.c: more of that keyring!
16556 2005-06-23 Robert Love <rml@novell.com>
16558 * configure.in: remove extraneous GNOMEKEYRING directives.
16559 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16560 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16561 * gnome/applet/passphrase-dialog.c: whitespace.
16563 2005-06-23 Robert Love <rml@novell.com>
16565 * src/NetworkManagerDevice.c: division in assignment was flipped.
16567 2005-06-23 David Zeuthen <david@fubar.dk>
16569 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16570 signal to the child to indicate that we got what we wanted when we
16571 see two new-lines right after each other.
16572 (nmwa_vpn_request_password): Pass a structure with several members
16573 instead of just the passwords
16575 2005-06-23 Dan Williams <dcbw@redhat.com>
16577 * src/NetworkManager.c
16578 src/NetworkManagerMain.h
16579 - (nm_get_hal_ctx): new function, move Hal initialization code here
16580 - (nm_hal_init): new function, init libhal context then add devices
16581 - (nm_hal_deinit): new function, clean up libhal context
16582 - (nm_data_free): Move Hal cleanup here
16583 - (main): check whether Hal is running, and if so, get a list of
16584 network devices from it
16586 * src/NetworkManagerDbus.c
16587 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16588 and when it appears, get a list of network devices from it. If
16589 Hal goes away, clean up the libhal context
16591 2005-06-22 Robert Love <rml@novell.com>
16593 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16594 permissions of scripts before executing.
16596 2005-06-21 Robert Love <rml@novell.com>
16598 * initscript/SUSE/networkmanager: update.
16599 * src/backends/NetworkManagerSuSE.c: cleanup.
16601 2005-06-21 Robert Love <rml@novell.com>
16603 * gnome/applet/applet.c: use menu mnemonics.
16604 * gnome/applet/menu-items.c: (ditto)
16606 2005-06-21 Robert Love <rml@novell.com>
16608 * applet/applet-dbus-devices.c: mark non-static functions static.
16609 * applet/applet-dbus-vpn.c: (ditto)
16610 * applet/applet.c: (ditto)
16611 * applet/nm-device.h: (ditto)
16612 * applet/other-network-dialog.c: (ditto)
16613 * applet/passphrase-dialog.c: (ditto)
16614 * NetworkManager.c: (ditto)
16615 * NetworkManagerDbus.c: (ditto)
16616 * NetworkManagerDevice.c: (ditto)
16617 * NetworkManagerPolicy.c: (ditto)
16618 * NetworkManagerUtils.c: (ditto)
16619 * NetworkManagerWireless.c: (ditto)
16620 * NetworkManagerWireless.h: (ditto)
16621 * nm-netlink-monitor.c: (ditto)
16622 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16623 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16624 * autoip.c: include autoip.h.
16625 * autoip.h: new file. define get_autoip().
16626 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16627 * NetworkManagerDbus.h: remove duplicate definitions.
16629 2005-06-20 Robert Love <rml@novell.com>
16631 * Makefile.am: Add missing intltool-foo.in generated files to
16632 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16633 with the start of stuff to cleanup on 'distclea'.
16634 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16635 stuff right and 'distcheck' works.
16636 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16637 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16638 Makefile.am for each. And systray/Makefile needs to be redone.
16640 2005-06-19 Dan Williams <dcbw@redhat.com>
16642 * src/NetworkManagerDevice.c
16643 - (nm_device_wireless_process_scan_results): scan every 20s when
16644 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16646 2005-06-19 Dan Williams <dcbw@redhat.com>
16648 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16650 2005-06-18 Ray Strode <rstrode@redhat.com>
16652 * src/nm-netlink-monitor.c
16653 (nm_netlink_monitor_event_handler): check for the presence
16654 of either error condition not both.
16656 (nm_netlink_monitor_error_handler): emit error signal if
16659 (nm_netlink_monitor_event_handler),
16660 (nm_netlink_monitor_error_handler),
16661 (nm_netlink_monitor_disconnect_handler): if an
16662 assertion fails disconnect the event handler to prevent
16665 * src/nm-netlink-monitor.h: add new error condition
16666 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16668 2005-06-18 Ray Strode <rstrode@redhat.com>
16670 * src/nm-netlink-monitor.c
16671 (nm_netlink_monitor_event_handler): remove bogus < 0
16672 check on unsigned value and return early if the kernel
16673 didn't send any bytes.
16675 2005-06-17 Robert Love <rml@novell.com>
16677 * initscript/SUSE/networkmanager: Change the Provides and default
16680 2005-06-16 Dan Williams <dcbw@redhat.com>
16682 Patch from Robert Love:
16683 * gnome/applet/applet.c
16684 - Beautify some applet menu item names
16686 2005-06-17 David Zeuthen <davidz@redhat.com>
16688 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16689 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16690 Also add new methods can_export, import_file and export.
16692 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16695 * gnome/vpn-properties/nm-vpn-properties.c:
16696 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16697 nm-vpn-ui-interface.h.
16698 (update_edit_del_sensitivity): Also update "Export" sensitivity
16699 (add_vpn_connection): Also add new SVC_NAME column
16700 (import_settings): New function
16701 (retrieve_data_from_selected_connection): New function
16702 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16704 (export_cb): New function
16705 (init_app): Also setup the "export" widget
16706 (main): Support the --import-service and --import-file commandline
16709 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16712 2005-06-16 Dan Williams <dcbw@redhat.com>
16714 Patch from Robert Love:
16715 * gnome/applet/menu-items.c
16716 - (network_menu_item_new): pass -1 as wireless network
16717 menu items height size request rather than ascent / 2
16719 2005-06-16 Dan Williams <dcbw@redhat.com>
16721 * Clean up wording in Wireless Scan Methods menu items and constants
16723 2005-06-16 Robert Love <rml@novell.com>
16726 - remove gtkcell* files
16728 2005-06-15 Dan Williams <dcbw@redhat.com>
16730 Patch from Robert Love: make the applet stetic
16732 * gnome/applet/Makefile.am
16733 - Don't compile the gtkcellview and gtkcellrendererprogress files
16735 * gnome/applet/gtkcellview.h
16736 gnome/applet/gtkcellview.c
16737 gnome/applet/gtkcellrendererprogress.h
16738 gnome/applet/gtkcellrendererprogress.c
16741 * gnome/applet/menu-items.c
16742 - Progress bars are 5:1 size ratio
16743 - Use GTK progress bars rather than internal ones
16745 2005-06-15 Dan Williams <dcbw@redhat.com>
16747 Patch from Robert Love:
16748 * initscript/SUSE/networkmanager
16751 2005-06-15 Dan Williams <dcbw@redhat.com>
16753 * src/backends/NetworkManagerSuSE.c
16754 src/backends/NetworkManagerRedHat.c
16755 src/backends/NetworkManagerDebian.c
16756 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16758 2005-06-15 Dan Williams <dcbw@redhat.com>
16760 * src/backends/NetworkManagerDebian.c
16761 - Add nm_system_device_get_use_dhcp() to debian backend
16763 Patch from Kay Sievers:
16764 * src/backends/NetworkManagerSuSE.c
16765 - Update debian backend for static IP nameservers
16767 * src/NetworkManagerDevice.c
16768 - Actually set the device to use static IP or DHCP rather
16771 2005-06-15 Dan Williams <dcbw@redhat.com>
16773 Patch from Thom May:
16774 * src/backends/NetworkManagerDebian.c
16775 - Update debian backend for static IP nameservers
16777 2005-06-15 Dan Williams <dcbw@redhat.com>
16779 Patches from Robert Love:
16780 * gnome/applet/wireless-applet.glade
16781 - Tighten up wording
16783 * src/NetworkManagerDevice.c
16784 - Remove misplaced ';'
16787 initscript/Makefile.am
16788 initscript/SUSE/Makefile.am
16789 initscript/SUSE/networkmanager
16790 - Add SUSE initscript
16792 2005-06-12 David Zeuthen <davidz@redhat.com>
16794 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16796 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16798 * gnome/vpn-properties/nm-vpn-properties.c: New file
16800 * gnome/vpn-properties/Makefile.am: New file
16802 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16805 * src/vpn-manager/nm-vpn-manager.c
16806 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16807 instead of just a single one
16809 * src/vpn-manager/nm-dbus-vpn.c:
16810 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16812 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16814 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16815 Change the interface here to give a list of passwords. Also, don't
16816 require username, but do require service
16818 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16819 the binary for the auth-dialog and use that instead of putting up a
16820 dialog asking for a single password
16822 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16823 however do remember the service
16825 * gnome/applet/main.c (main): Setup i18n
16827 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16828 connection to '%s'" to the tooltip if we are connected using VPN
16829 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16830 key to determine whether we the auth-dialog needs to
16831 reprompt. Also cope with the fact that the auth-dialog now returns
16832 an array of passwords.
16833 (nmwa_menu_configure_vpn_item_activate): New handler for
16834 "Configure VPN..." menu item
16835 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16836 (is_vpn_available): New function to determine if we got any
16837 NM-compatible VPN software installed
16838 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16839 items only if we have NM-compatible VPN software installed
16840 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16841 logic for detecting when VPN connections are removed
16843 * gnome/applet/applet-dbus.h: Removed the prototypes for
16844 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16845 since these are defined elsewhere
16847 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16848 function used to keep track of whether the last attempt succeded
16849 (nmwa_dbus_filter): Update last_attempt according to whether the
16850 VPN connection could be established or not
16852 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16853 Change prototype to take an array of passwords, not just a single
16856 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16857 update service, not user
16858 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16859 dbus_active_vpn_name is not NULL before using it
16860 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16861 string array instead of assuming a single password
16863 * gnome/applet/applet-dbus-info.c:
16864 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16865 user name; don't read from gconf
16867 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16870 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16872 * configure.in: Add checks for gmodule-2.0.
16873 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16874 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16875 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16878 * vpn-daemons/Makefile.am: Removed
16880 * vpn-daemons/README: New file to describe extensions points for VPN
16883 2005-06-10 Dan Williams <dcbw@redhat.com>
16885 * src/backends/NetworkManagerRedHat.c
16886 - (get_current_profile_name): new function, grab current network profile name from
16887 /etc/sysconfig/network
16888 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16889 update an IP4 Config structure's settings from it
16890 - (nm_system_device_get_system_config): if we're using static IP on this device,
16891 get DNS info from current network profile
16893 2005-06-09 Dan Williams <dcbw@redhat.com>
16895 Patch from Robert Love:
16896 * src/NetworkManagerDevice.c
16897 src/NetworkManagerUtils.c
16898 - 64-bit build fixes
16900 2005-06-09 Dan Williams <dcbw@redhat.com>
16902 Patch from Kay Sievers and Robert Love:
16904 src/backends/Makefile.am
16905 src/backends/NetworkManagerSuSE.c
16908 2005-06-09 Dan Williams <dcbw@redhat.com>
16911 - Add NMWirelessScanMethod enum for scan methods
16913 * gnome/applet/applet-dbus-devices.c
16914 - (nmwa_dbus_update_scanning_enabled_cb): remove
16915 - (nmwa_dbus_update_scanning_enabled): remove
16916 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16917 since it got removed
16918 - (nmwa_dbus_enable_scanning): remove
16920 * gnome/applet/applet-dbus-info.c
16921 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16922 update the wireless scanning method from NMI
16923 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16924 method value to NetworkManager
16925 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16927 * gnome/applet/applet-dbus-info.h
16928 - Add prototype for nmi_dbus_signal_update_scan_method
16930 * gnome/applet/applet.c
16931 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16932 Wireless Scanning menu based on current wireless scan method
16933 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16934 signal for Wireless Scanning menu items, tell NetworkManager the new method
16935 and update our menu items to make sure the right one is checked
16936 - (nmwa_set_scanning_enabled_cb): remove
16937 - (nmwa_context_menu_update): remove references to pause_scanning_item
16938 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16940 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16942 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16943 so we get notified of preference values too
16944 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16946 * gnome/applet/applet.h
16947 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16948 - Add wireless scan method member to applet data
16949 - Remove pause_scanning_item, add Wireless Scanning submenu
16951 * src/NetworkManager.c
16952 - (nm_data_new): default to NM_SCAN_METHOD_ON
16953 - (main): grab scanning method from NMI if we can
16955 * src/NetworkManagerDbus.c
16956 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16957 nm_dbus_update_wireless_scan_method()
16958 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16960 - (nm_dbus_nmi_is_running): redundant function, removed
16961 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16962 when NMI comes back
16964 * src/NetworkManagerDevice.c
16965 - (nm_device_is_activated): return TRUE if the device is activated
16966 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16967 and we are activated
16970 - (nm_dbus_nm_set_scanning_enabled): removed
16971 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16972 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16974 2005-06-09 Dan Williams <dcbw@redhat.com>
16977 src/vpn-manager/nm-vpn-service.c
16978 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16980 2005-05-27 Dan Williams <dcbw@redhat.com>
16982 * vpn-daemons/vpnc/nm-vpnc-service.c
16983 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16984 Should fix the bug where the VPN connection terminates the first time.
16986 2005-05-20 Dan Williams <dcbw@redhat.com>
16989 - Differentiate VPN config signals between bad VPN config options
16992 * gnome/applet/applet-dbus-info.h
16993 - Add prototypes for wireless network and vpn connection update functions
16995 * gnome/applet/applet-dbus.c
16996 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16998 * gnome/applet/applet.c
16999 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17001 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17002 propogation to NetworkManager
17003 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17004 notify propogation to NetworkManager
17006 * src/NetworkManagerDbus.c
17007 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17008 are updating so a network can be removed from it if necessary
17010 * src/vpn-manager/nm-vpn-manager.c
17011 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17013 * vpn-daemons/vpnc/nm-vpnc-service.c
17014 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17015 - (nm_vpnc_dbus_signal_launch_failed): remove
17016 - (nm_vpnc_dbus_signal_connect_failed): remove
17017 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17018 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17019 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17020 for new generalized error signal function, remove config file stuff
17021 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17022 we can write configuration options to it
17023 - (nm_vpnc_config_file_generate): removed
17024 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17025 - (nm_vpnc_config_options_validate): validate the config options we receive
17026 from NetworkManager to block potential exploits
17027 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17029 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17032 2005-05-16 Dan Williams <dcbw@redhat.com>
17034 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17035 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17038 2005-05-16 Dan Williams <dcbw@redhat.com>
17040 Patch from Tomislav Vujec <tvujec@redhat.com>
17041 * gnome/applet/applet-dbus-info.c
17042 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17043 GConf and pass them to NetworkManager. New key is 'routes' under
17044 the VPN connection, and should be a string list
17046 * src/NetworkManagerSystem.c
17047 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17048 set them on the device when we set the rest of the VPN config. Ensure
17049 they are in the correct format since they are passed directly to the
17052 * src/backends/NetworkManagerRedHat.c
17053 src/backends/NetworkManagerDebian.c
17054 - (nm_system_device_add_route_via_device_with_iface): new function
17056 * src/vpn-manager/nm-dbus-vpn.c
17057 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17059 * src/vpn-manager/nm-vpn-manager.c
17060 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17061 them into the IP4 config functions
17063 2005-05-15 Dan Williams <dcbw@redhat.com>
17065 From Filip Miletic:
17069 - Serbian translation added
17071 2005-05-15 Dan Williams <dcbw@redhat.com>
17073 * dispatcher-daemon/NetworkManagerDispatcher.c
17074 - (main): sync arguments with NetworkManager and the applet, now use
17075 "--no-daemon" rather than "daemon=no"
17076 - (nmd_print_usage): Fix script path in usage message
17078 2005-05-15 Dan Williams <dcbw@redhat.com>
17080 * src/NetworkManagerDevice.[ch]
17081 src/NetworkManagerPolicy.c
17082 src/NetworkManager.c
17084 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17085 longer send the DeviceNoLongerActive signal unconditionally, but only
17086 when the device is actually active.
17088 * dispatcher-daemon/NetworkManagerDispatcher.c
17089 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17090 and simplify the logic
17091 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17092 we free it later on
17094 * initscript/RedHat/Makefile.am
17095 initscript/RedHat/NetworkManagerDispatcher
17096 - Add initscript for NetworkManagerDispatcher
17099 Patch from Bill Moss:
17100 * dispatcher-daemon/NetworkManagerDispatcher.c
17101 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17103 * src/NetworkManagerDbus.c
17104 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17105 and DeviceNowActive gets signaled, then the device has a new IP address
17106 anyway. There's no need for a separate signal.
17108 * src/NetworkManagerDevice.c
17109 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17111 * src/NetworkManagerPolicy.c
17112 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17113 activates successfully. This kind of went missing when I reworked the
17116 2005-05-15 Dan Williams <dcbw@redhat.com>
17119 - Check for dhcdbd and error if its not found
17121 * src/dhcp-manager/Makefile.am
17122 src/dhcp-manager/nm-dhcp-manager.c
17123 - Use path to dhcdbd that configure found
17125 2005-05-14 Dan Williams <dcbw@redhat.com>
17127 * gnome/applet/nm-device.c
17128 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17129 sort wireless networks alphabetically
17131 * gnome/applet/applet-dbus-devices.c
17132 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17133 before copying them over to the GUI
17135 2005-05-14 Dan Williams <dcbw@redhat.com>
17137 * src/NetworkManager.c
17138 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17139 fixes a deadlock on shutdown with a VPN connection active. This function locks
17140 the device list, as does nm_get_active_device() which is called from
17141 nm_vpn_manager_deactivate_vpn_connection().
17143 2005-05-14 Dan Williams <dcbw@redhat.com>
17146 - Add signals for VPN Launch and Connect failures
17148 * gnome/applet/applet-dbus.c
17149 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17151 * gnome/applet/applet.c
17152 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17153 function to handle all VPN failure messages
17154 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17155 function to hanlde all VPN failure messages
17156 - (show_warning_dialog): work around focus-stealing prevention
17158 * gnome/applet/other-network-dialog.c
17159 gnome/applet/passphrase-dialog.c
17160 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17161 problem where it never enabled for ASCII Key and Hex Key types
17163 * gnome/applet/wireless-applet.glade
17164 - Add window title to Other Wireless Network Dialog
17166 * src/vpn-manager/nm-dbus-vpn.c
17167 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17168 function to handle all VPN failure messages
17170 * src/vpn-manager/nm-vpn-manager.c
17171 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17173 * vpn-daemons/vpnc/nm-vpnc-service.c
17174 - (nm_vpnc_dbus_signal_launch_failed): new function
17175 - (nm_vpnc_dbus_signal_connect_failed): new function
17176 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17177 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17178 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17179 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17181 2005-05-11 Dan Williams <dcbw@redhat.com>
17183 * vpn-daemons/vpnc/nm-vpnc-service.c
17184 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17185 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17186 file exists before trying to write it out.
17188 2005-05-10 Dan Williams <dcbw@redhat.com>
17190 * gnome/applet/applet-dbus-device.c
17191 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17192 prevented just entering ESSID and leaving key and key type up to
17193 NetworkManager (which should have them already cached)
17195 2005-05-08 Dan Williams <dcbw@redhat.com>
17197 * src/NetworkManagerPolicy.c
17198 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17199 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17200 fix a situation where NM is told to terminate and the device stops activation,
17201 but the main thread isn't aware of that because it would never have run
17202 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17205 * src/NetworkManagerDevice.c
17206 - (nm_device_probe_wired_link_state): cosmetic fixes
17207 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17208 we've failed to activate or been canceled.
17209 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17211 2005-05-08 Dan Williams <dcbw@redhat.com>
17213 * src/NetworkManagerWireless.c
17214 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17215 value of WEXT quality structures, and add a debug message when we cannot
17216 determine any quality % at all
17218 2005-05-08 Dan Williams <dcbw@redhat.com>
17220 * src/dhcp-manager/nm-dhcp-manager.c
17221 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17224 2005-05-06 Dan Williams <dcbw@redhat.com>
17226 * gnome/applet/applet-dbus-device.c
17227 gnome/applet/applet-dbus-info.c
17228 gnome/applet/applet-dbus.c
17229 gnome/applet/applet.c
17230 gnome/applet/applet.h
17231 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17233 * gnome/applet/applet-dbus.c
17234 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17235 so we notice when wired device's carriers come back on. Should
17236 fix issue with wired devices being grayed out even if the cable
17237 is in, for devices that support carrier detection.
17239 * gnome/applet/applet.c
17240 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17241 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17243 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17244 Fix situation where applet wouldn't respond to menu selections
17246 * src/NetworkManager.c
17247 src/NetworkManagerDevice.c
17248 src/NetworkManagerDbus.c
17249 src/NetworkManagerDbus.h
17250 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17252 * src/NetworkManagerDbus.c
17253 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17254 Remove, no longer used or relevant
17255 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17256 - (nm_dbus_schedule_device_status_change_signal): add
17258 * src/NetworkManagerDevice.c
17259 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17260 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17261 ie don't deactivate them unless explicitly told to by the user. Also send
17262 CARRIER_OFF / CARRIER_ON signals when link changes
17263 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17264 Don't print error message when device is no longer around
17265 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17266 not just during activation
17268 * src/NetworkManagerPolicy.c
17269 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17270 auto-device-selection.
17271 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17273 * src/NetworkManagerSystem.c
17274 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17275 is no longer present (Bill Moss)
17277 * src/backends/shvar.c
17278 - (svOpenFile): Open read-only to make SELinux happy
17280 * src/backends/NetworkManagerRedHat.c
17281 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17282 the path to the ifcfg-* files
17284 2005-05-05 Dan Williams <dcbw@redhat.com>
17286 * Expose activation stages to NetworkManager clients, like the applet
17287 * Add Diana's progress icons to the applet, cued off NM activation stage
17288 * Use more descriptive tooltips, cued off NM activation stage
17290 2005-05-05 Ray Strode <rstrode@redhat.com>
17292 * src/nm-netlink-monitor.c:
17293 - Use clear_event_source instead of g_nullify_pointer() again.
17295 2005-05-05 Dan Williams <dcbw@redhat.com>
17297 * gnome/applet/main.c
17298 - Fix session management so the applet is actually managed now
17300 * gnome/applet/passphrase-dialog.c
17301 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17303 2005-05-05 Dan Williams <dcbw@redhat.com>
17305 Patch from Bill Moss:
17306 * gnome/libnm_glib/libnm_glib.c
17307 - Fix for dbus-0.33
17309 2005-05-05 Dan Williams <dcbw@redhat.com>
17311 Suggestion from Bill Moss:
17312 * src/NetworkManagerSystem.c
17313 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17316 * src/NetworkManager.c
17317 - (nm_data_free): move destruction of the various managers after
17318 release of device list, because deactivating and freeing a device
17319 requires at least the named manager
17320 - (nm_poll_and_update_wireless_link_state):
17321 (nm_device_link_activated):
17322 (nm_device_link_deactivated):
17323 don't grab the device list lock when actually updating device
17324 link status or strength, since nm_device_set_link_active()
17325 needs to call nm_get_active_device(), which also locks the device list.
17327 * src/NetworkManagerDevice.c
17328 - (nm_device_set_link_active): if a device's link switches from off->on,
17329 and it's wired, and the active device is wireless (or there is no
17330 active device), activate the new device whose link just came on
17331 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17332 my only calling the link to the current ap "failed" when more than 2
17333 consecutive link checks have failed
17335 2005-05-04 Dan Williams <dcbw@redhat.com>
17337 * src/NetworkManagerDevice.c
17338 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17339 but let link_to_specific_ap() do the locking where it needs
17341 Patch from Bill Moss:
17342 * src/NetworkManagerSystem.c
17343 - Set MTU of VPN devices to 1412
17345 2005-05-04 Dan Williams <dcbw@redhat.com>
17347 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17349 * Fix some holes in device activation and retaining the currently connected
17352 2005-05-03 Dan Williams <dcbw@redhat.com>
17354 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17355 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17356 means you need dhcdbd, which you can get here (get the latest one):
17358 http://people.redhat.com/jvdias/dhcdbd/
17360 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17361 interface as dhcdbd.
17363 * Rewrite device activation to facilitate the new DHCP infrastructure and
17364 future improvements. Its now "activation request" based, ie there is a single
17365 activation request composed of the device, access point, and other info which
17366 follows the entire activation process. There are 5 stages of the activation
17367 process which correspond to:
17369 1) Device preparation
17370 2) Device configuration (bring it up, set ESSID/Key/etc)
17371 3) IP Config Start (fire off DHCP if we're using it)
17372 4) IP Config Get (grab config from DHCP or static config files)
17373 5) IP Config Commit (set device's IP address, DNS, etc)
17375 Note that there is no longer a "scanning" step, since the access point must
17376 be known _before_ activation starts. If the access point drops out or does
17377 not exist for some reason, the entire activation process fails and must be
17378 restarted for a different access point or device.
17380 Patch from Bill Moss:
17381 * gnome/applet/applet.c
17382 - Fix type of vpn_failure dialog -> vpn_banner dialog
17384 2005-04-27 Dan Williams <dcbw@redhat.com>
17386 * gnome/applet/applet-dbus-vpn.c
17387 gnome/applet/applet.c
17388 gnome/applet/applet.h
17389 - Fix up active VPN handling so that we reliably know when a VPN
17390 connection has been deactivated
17392 * src/vpn-manager/nm-vpn-manager.c
17393 - Remove duplicate VPNConnectionChange signal
17395 2005-04-27 Dan Williams <dcbw@redhat.com>
17397 Patch from Peter Jones:
17398 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17400 Patch from Bill Moss:
17401 * src/NetworkManagerSystem.c
17402 - Fix checking of return value from ioctl()
17404 2005-04-27 Dan Williams <dcbw@redhat.com>
17406 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17407 * Warn and exit if icons cannot be found
17409 2005-04-27 Dan Williams <dcbw@redhat.com>
17411 Patch from Tom Parker:
17412 * Update debian backend
17414 2005-04-27 Dan Williams <dcbw@redhat.com>
17416 * Merge the applet and the info-daemon, and move the converged
17417 applet under gnome/applet
17418 * Move libnm_glib to gnome/libnm_glib
17419 * Convert most dbus calls between the applet, info-daemon, and NM
17421 * Fix a few things valgrind noticed
17422 * Make NM broadcast state more reliably
17424 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17426 * configure.in: Added ne in ALL_LINGUAS
17428 2005-04-15 Dan Williams <dcbw@redhat.com>
17430 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17431 code for dbus 0.2x versions
17433 2005-04-15 Dan Williams <dcbw@redhat.com>
17435 Patches from Tom Parker:
17437 - Join with worker thread rather than polling for its exit
17439 Patch from Bill Moss:
17440 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17442 2005-04-15 Dan Williams <dcbw@redhat.com>
17444 - Fixes to pass 'make distcheck'
17446 2005-04-15 Dan Williams <dcbw@redhat.com>
17448 Initial VPN Support
17450 - reworks device IP configuration, backend files have changed and will need
17451 to be updated for all distributions. I will try to do what I can for
17452 them, but I cannot test them.
17454 - Move named directory to src/named-manager
17455 - Make backends directory self-contained
17457 2005-04-06 Dan Williams <dcbw@redhat.com>
17459 Add debug code for socket/file descriptor leaks. We register every socket
17460 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17461 list of sockets that we forgot to close on shutdown. This also consolidates
17462 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17464 2005-04-06 Dan Williams <dcbw@redhat.com>
17467 - (dhcp_interface_free): fix a file descriptor leak that may have
17468 caused network drivers to not unload due to refcounts > 0
17470 2005-04-04 Dan Williams <dcbw@redhat.com>
17472 * panel-applet/NMWirelessAppletDbus.c
17473 - (nmwa_dbus_call_nm_method): remove some commented code
17475 * src/NetworkManagerAPList.[ch]
17476 - (nm_ap_list_remove_ap_by_essid): new function
17478 * src/NetworkManagerDevice.c
17479 - (nm_device_wireless_force_use): remove access points from the ignore list
17480 when the user forces them
17482 * src/nm-dbus-device.c
17483 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17485 2005-04-04 Dan Williams <dcbw@redhat.com>
17487 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17489 2005-04-04 Dan Williams <dcbw@redhat.com>
17491 * src/NetworkManagerDevice.c:
17492 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17493 of only erroring after the second consecutive scan times out. Also
17494 don't exit when the card requires more time than we can give it, just
17495 log the event and continue.
17497 2005-04-01 Steve Murphy <murf@e-tools.com>
17499 * configure.in: Added "rw" to ALL_LINGUAS.
17501 2005-04-01 Dan Williams <dcbw@redhat.com>
17503 Perform scans during device activation, if needed. Both activation
17504 and scans run in the same GMainContext. Therefore, if an access point
17505 is not found by the time the device starts activation, it will not
17506 be available until after activation. We now try to scan during
17507 activation (in nm_wa_test) every 15s so that all available access
17508 points are more likely to be found and available for the activation
17511 Also change nm_wireless_link_state_handle() to only update the "best"
17512 AP if we are not forcing a device and if we are not about to change
17513 state. This attempts to work around a race when forcing a device,
17514 where the forced AP would get cleared out too soon by the link state
17515 checking timeout in the main thread, and the activation attempt with
17516 that AP would fail.
17518 2005-04-01 Dan Williams <dcbw@redhat.com>
17521 - Update with new translatables
17523 2005-03-31 Dan Williams <dcbw@redhat.com>
17525 * panel-applet/NMWirelessAppletDbus.c
17526 - Fix device names now that hal has changed device parenting for
17529 2005-03-31 Dan Williams <dcbw@redhat.com>
17531 Tighten up handling of wireless devices that don't support wireless
17532 scanning (ie, Orinoco). Due to restructuring of code, these devices
17533 hadn't been doing pseudo-scanning for a while either and would just
17534 spin waiting for an access point. They are now manual devices where
17535 the user must choose the access point from the menu every time. All
17536 "allowed" access points are listed in the applet's menu regardless
17537 of whether or not they can be seen by the card, since it can't scan
17540 * src/NetworkManager.c
17541 - (nm_wireless_link_state_handle): new function, but only update
17542 the "best" ap for non-scanning devices when its not activating,
17543 and when no device is being forced on the card
17544 - (nm_link_state_monitor): split wireless link state handling out
17545 into separate function
17547 * src/NetworkManagerDevice.c
17548 - (nm_device_copy_allowed_to_dev_list): new function
17549 - (nm_device_new): populate non-scanning cards' AP lists with
17550 access points from the "allowed" list
17551 - (nm_device_new): don't start a scanning timeout for devices that
17553 - (nm_device_activation_schedule_finish): new parameter, should be
17554 the AP that failed to be connected to, pass it on to the
17555 activation finish function in NetworkManagerPolicy.c
17556 - (nm_device_activate_wireless): don't ever try to get a new AP
17557 for non-scanning devices, just fail. The user must choose
17558 a new access point manually.
17559 - (nm_device_activate): grab the AP that failed connection and
17561 - (nm_device_update_best_ap): Clear the best AP if we don't have
17562 a link to it, user must manually choose a new one
17563 - (nm_device_do_pseudo_scan): remove function
17564 - (nm_device_wireless_process_scan_results): remove bits for non-
17565 scanning cards since they never get here
17566 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17567 and fake the scan list for test devices a bit earlier
17569 * src/NetworkManagerPolicy.c
17570 - (nm_policy_activation_finish): use the failed_ap that we get
17571 passed rather than getting the best_ap from the card, which
17572 may have changed since we were scheduled
17573 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17574 update their scan list directly from the allowed list when
17575 we get updates to the allowed list from NetworkManagerInfo
17577 * src/NetworkManagerPolicy.h
17578 - New member for failed access point in NMActivationResult
17580 -------------------------------------
17582 Driver Notification patch: notifies the user when their driver
17583 sucks. Gives them the option to ignore further insertions
17584 of the card that has the sucky driver.
17587 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17588 enum and replace it with NO_CARRIER_DETECT and
17591 * panel-applet/NMWirelessApplet.[ch]
17592 - Merge essid.glade -> wireless-applet.glade
17593 - Implement the "Your driver sucks" notification dialog
17595 * panel-applet/NMWirelessAppletDbus.c
17596 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17597 - Grab hardware address for each device from NM too
17598 - Check whether the driver for each device sucks or not whenever
17599 a new device is noticed
17601 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17602 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17604 * src/NetworkManager.c
17605 - Fix a double-unref on device removal
17607 * src/NetworkManagerUtils.c
17608 - Set appropriate driver support level on a device that doesn't
17609 support scanning or carrier detection
17611 * src/nm-dbus-device.c
17612 - New "getHWAddress" dbus method on devices
17613 - getSupportsCarrierDetect -> getDriverSupportLevel
17615 2005-03-31 Dan Williams <dcbw@redhat.com>
17617 * src/NetworkManagerDevice.c
17618 - (nm_device_wireless_scan): Fix leak of scan results in some
17621 2005-03-29 Dan Williams <dcbw@redhat.com>
17623 * src/NetworkManager.c
17624 - (nm_poll_and_update_wireless_link_state): make code less indented
17626 Patch from Bill Moss:
17627 * src/NetworkManager.c
17628 - (nm_device_update_link_state): Update signal strength on wireless
17629 devices every time we update link state too.
17631 2005-03-29 Dan Williams <dcbw@redhat.com>
17633 * src/NetworkManagerDevice.c
17634 - (nm_device_set_essid): Work around Orinoco cards which need
17635 extra time after setting the ESSID
17637 2005-03-29 Dan Williams <dcbw@redhat.com>
17639 * src/NetworkManagerDevice.c
17640 - Merge one more bit of Peter Jones' completion patch
17642 2005-03-29 Dan Williams <dcbw@redhat.com>
17644 * src/NetworkManagerDevice.c
17645 - (nm_device_force_use): Fix possible segfault
17647 2005-03-29 Dan Williams <dcbw@redhat.com>
17649 * src/NetworkManagerDevice.c
17650 - Use iw_get_ext() where we should rather than iw_set_ext()
17652 2005-03-29 Dan Williams <dcbw@redhat.com>
17654 * src/NetworkManagerDevice.c
17655 - (nm_device_set_up_down): remove check for unsupported devices
17656 that caused NM to not bring devices up when they were
17657 added to the device list.
17659 2005-03-28 Dan Williams <dcbw@redhat.com>
17661 * src/NetworkManagerDevice.c
17662 - (mdio_read): Fix two bugs that caused all devices to fail
17663 the MII carrier detection support checks
17665 2005-03-26 Dan Williams <dcbw@redhat.com>
17667 * src/NetworkManagerDevice.c
17668 - (nm_device_wireless_scan): Remove duplicated scanning code
17670 2005-03-25 Dan Williams <dcbw@redhat.com>
17672 * panel-applet/NMWirelessApplet.c
17673 - (nmwa_about_cb): Add some more contributors
17674 - (nmwa_update_state): show the applet when there's no connection
17675 - Enable the "Stop/Resume all wireless devices" option in the
17677 - New "no connection" icon
17679 * src/NetworkManager.c
17680 - (nm_poll_and_update_wireless_link_state): don't do anything if
17681 wireless is disabled or we're asleep
17683 * src/NetworkManagerDHCP.c
17684 - Remove trailing "\n" on debug messages
17686 * src/NetworkManagerDbus.c
17687 - (nm_dbus_network_status_from_data): new state "asleep"
17689 * src/NetworkManagerDevice.c
17690 - Merge most of Peter Jones' "completion" patch that greatly reduces
17691 latency and wait times for most operations
17692 - (nm_device_wireless_scan): Don't scan when asleep
17694 * src/NetworkManagerPolicy.c
17695 - (nm_policy_get_best_device): return no device when asleep
17696 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17697 for all wireless devices on update, not just active device
17699 * src/NetworkManagerUtils.c
17700 - Merge Peter Jones' "completion" patch
17703 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17704 we're told to disable them
17705 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17708 - New variants of the warn/info/error/debug print functions that can take
17709 variables rather than static strings
17711 2005-03-24 Dan Williams <dcbw@redhat.com>
17713 * src/NetworkManagerUtils.c
17714 - (nm_get_device_driver_name): driver names are now on the parents of
17715 "Network Interface" objects, so look for them there
17717 2005-03-24 Dan Williams <dcbw@redhat.com>
17720 - Escape some forgotten object paths before we shove them through dbus
17722 2005-03-24 Dan Williams <dcbw@redhat.com>
17724 * dhcpcd/dhcpcd.[ch]
17725 src/NetworkManagerDHCP.c
17726 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17727 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17729 * src/NetworkManagerDbus.c
17732 * src/nm-dbus-dhcp.c
17733 - Make the API suck less. There is now only 1 type of each function,
17734 ie only "getInteger" and no longer also "getIntegerv". All types
17735 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17736 that will never have more than 1 element. This should simplify
17739 * test/nm-dhcp-opt-test.c
17740 - Make the tool not segfault
17741 - adapt to new DHCP Options API
17743 2005-03-22 Dan Williams <dcbw@redhat.com>
17745 * src/NetworkManager.c
17746 - (nm_wired_link_deactivated): actually ignore netlink events from
17749 2005-03-22 Dan Williams <dcbw@redhat.com>
17751 * src/NetworkManager.c
17752 - (nm_wired_link_activated): actually ignore netlink events from
17755 2005-03-17 Dan Williams <dcbw@redhat.com>
17757 Patch from Tom Parker:
17758 * src/nm-netlink-monitor.c
17760 * info-daemon/NetworkManagerInfoDbus.c
17761 - (nmi_dbus_update_network_auth_method): free GConf values
17763 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17764 * src/NetworkManagerDevice.c
17765 - (nm_device_set_wireless_config): wait for successful
17766 association longer for some cards (Atheros a/b/g)
17768 2005-03-15 Ray Strode <rstrode@redhat.com>
17770 * src/NetworkManager.c:
17771 (sigterm_pipe_handler):
17774 2005-03-15 Ray Strode <rstrode@redhat.com>
17776 * src/NetworkManagerDbus.c:
17777 Fix some sign weirdness that gcc4 doesn't like,
17778 and add a header file so PPC can hopefully find
17781 2005-03-14 Ray Strode <rstrode@redhat.com>
17783 Fourth (probably working) cut at porting to
17784 dbus 0.30 api and new hal. This cut adds
17785 some new logging macros to make debugging
17788 * dispatcher-daemon/NetworkManagerDispatcher.c:
17789 * info-daemon/NetworkmanagerInfo.c:
17790 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17791 * info-daemon/NetworkManagerInfoVPN.c:
17792 * src/NetworkManager.c:
17793 * src/NetworkManagerAP.c:
17794 * src/NetworkManagerAPList.c:
17795 * src/NetworkManagerDHCP.c:
17796 * src/NetworkManagerDbus.c:
17797 * src/NetworkManagerDevice.c:
17798 * src/NetworkManagerPolicy.c:
17799 * src/NetworkManagerSystem.c:
17800 * src/NetworkManagerUtils.c:
17801 * src/NetworkManagerWireless.c:
17803 * src/nm-dbus-nm.c:
17804 * src/backends/NetworkManagerDebian.c:
17805 * src/backends/NetworkManagerGentoo.c:
17806 * src/backends/NetworkManagerRedHat.c:
17807 * src/backends/NetworkManagerSlackware.c:
17808 use new logging macros.
17810 * dispatcher-daemon/NetworkManagerDispatcher.c:
17811 (nmd_dbus_filter): s/dbus_free/g_free/
17813 * info-daemon/Makefile.am: link in utils library.
17814 * info-daemon/NetworkmanagerInfo.c: use new logging
17816 (nmi_dbus_get_network): don't assume enumerations
17818 (nmi_dbus_nmi_message_handler): don't free what
17819 doesn't belong to us.
17821 * libnm_glib/libnm_glib.c:
17822 (libnm_glib_get_nm_status):
17823 (libnm_glib_init): don't free what doesn't
17825 (libnm_glib_dbus): strdup result, so it doesn't get
17826 lost when message is unref'd.
17828 * panel-applet/NMWirelessAppletDbus.c:
17829 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17831 * src/NetworkManager.c:
17832 (nm_monitor_wired_link_state): request initial status
17833 dump of all cards when we start up, instead of relying
17834 on /sys/.../carrier.
17835 (nm_info_handler), (nm_set_up_log_handlers):
17836 log handlers to specify what syslog priorites
17837 the logging macros default to.
17839 * src/NetworkManagerAPList.c:
17840 (nm_ap_list_populate_from_nmi):
17841 s/dbus_free_string_array/g_strfreev/
17843 * src/NetworkManagerDbus.c:
17844 (nm_dbus_get_network_object):
17845 validate d-bus message argument types.
17846 Advance message iterator after reading argument,
17847 prepend instead of append to GSList.
17849 * src/NetworkManagerDevice.c:
17850 (nm_device_probe_wired_link_status):
17851 remove redundant /sys in /sys path. remove wrong
17852 contents == NULL means has carrier assumption.
17854 * src/nm-netlink-monitor.c
17855 (nm_netlink_monitor_request_status): implement
17856 function to ask kernel to dump interface link
17857 status over netlink socket.
17859 * test/*.c: s/dbus_free/g_free/
17861 * utils/nm-utils.h:
17862 (nm_print_backtrace): new macro to print backtrace.
17863 (nm_get_timestamp): new macro to get sub-second precise
17865 (nm_info), (nm_debug), (nm_warning), (nm_error):
17866 new logging functions. nm_info just prints,
17867 nm_debug includes timestamp and function,
17868 nm_warning includes function, nm_error includes
17869 backtrace and sigtrap.
17871 2005-03-11 Ray Strode <rstrode@redhat.com>
17873 Third (unfinished, partially working) cut at porting to
17874 dbus 0.30 api and new hal.
17876 * info-daemon/NetworkManagerInfoDbus.c:
17877 don't free null arrays.
17879 * panel-applet/NMWirelessAppletDbus.c:
17880 * src/nm-dbus-device.c:
17881 * src/nm-dbus-net.c:
17882 * src/NetworkManagerDbus.c: more
17883 STRING -> OBJECT_PATH fun
17884 * src/NetworkManagerDevice.c:
17885 * src/NetworkManagerDevice.h:
17886 (rename nm_device_get_link_active): rename to
17887 nm_device_has_active_link
17888 (nm_device_wireless_link_active): rename to
17889 nm_device_probe_wireless_link_state
17890 (nm_device_wired_link_active): rename to
17891 nm_device_probe_wired_link_state. Rewrite to
17892 use carrier file since hal doesn't maintain
17893 link state anymore.
17894 (nm_device_update_link_active): rename to
17895 nm_device_update_link_state
17896 * src/NetworkManagerPolicy.c
17897 (nm_policy_activation_finish): check for NULL
17901 * src/NetworkManagerMain.h:
17902 * src/NetworkManager.c:
17903 * src/nm-netlink-monitor.c:
17904 * src/nm-netlink-monitor.h: New class to support
17905 monitoring wired ethernet link status, since HAL
17906 doesn't export that information anymore.
17908 2005-03-09 Ray Strode <rstrode@redhat.com>
17910 Second (unfinished, unworking) cut at porting to
17913 * dispatcher-daemon/NetworkManagerDispatcher.c:
17914 * info-daemon/NetworkManagerInfoDbus.c:
17915 * panel-applet/NMWirelessAppletDbus.c:
17916 * src/NetworkManagerDbusUtils.c:
17917 * src/NetworkManagerDbusUtils.h:
17918 * src/nm-dbus-device.c:
17919 * src/nm-dbus-nm.c:
17920 * test/nmtest.c: support dbus "object path" type
17924 * info-daemon/Makefile.am:
17925 * libnm_glib/Makefile.am:
17926 * panel-applet/Makefile.am:
17927 * dispatcher-daemon/Makefile.am
17929 * test/Makefile.am:
17930 * utils/Makefile.am:
17931 * utils/nm-utils.c:
17932 * utils/nm-utils.h: new utils static lib
17934 2005-03-07 Ray Strode <rstrode@redhat.com>
17936 * info-daemon/NetworkManagerInfoDbus.c:
17937 * libnm_glib/libnm_glib.c:
17938 * panel-applet/NMWirelessAppletDbus.c:
17939 * src/NetworkManager.c:
17940 * src/NetworkManagerDbus.c:
17941 * src/NetworkManagerDevice.c:
17942 * src/NetworkManagerUtils.c:
17943 * src/nm-dbus-device.c:
17944 * src/nm-dbus-dhcp.c:
17945 * src/nm-dbus-net.c:
17946 * src/nm-dbus-nm.c:
17947 * test/nminfotest.c:
17948 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17950 2005-03-04 Dan Williams <dcbw@redhat.com>
17955 2005-03-04 Dan Williams <dcbw@redhat.com>
17957 Patch from Peter Jones:
17958 - Make stuff work with gcc 4.0
17960 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17962 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17964 2005-02-27 Jim Huang <jserv@kaffe.org>
17966 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17968 2005-02-27 Dan Williams <dcbw@redhat.com>
17970 Patch from Bill Moss:
17971 * panel-applet/NMWirelessAppletDbus.c
17972 - Make sure strength for current access point is up-to-date when we
17973 update the gui data model
17975 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17977 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17979 2005-02-27 Dan Williams <dcbw@redhat.com>
17981 * src/backends/NetworkManagerRedHat.c
17982 - (nm_system_init): Kill any dhclient processes lying around as well
17983 as stopping 'nifd' if its already been started. NetworkManager
17984 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17986 2005-02-27 Dan Williams <dcbw@redhat.com>
17988 * panel-applet/NMWirelessApplet.c
17989 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17990 dbus data model, not the GUI data model twice.
17992 2005-02-27 Dan Williams <dcbw@redhat.com>
17994 * panel-applet/NMWirelessApplet.[ch]
17995 panel-applet/NMWirelessAppletDbus.[ch]
17996 - Move to incremental network updates. Instead of blowing away our list
17997 of devices every time we get a signal from NetworkManager, we now
17998 incrementally add/remove networks when NetworkManager notifies us that
17999 a new network has appeared or disappered. Strength updates now happen
18000 on-the-fly for each access point as well. There are now two copies of
18001 data from NetworkManager: one for the dbus side, and one for the gui side.
18002 When the dbus side data is modified, it is copied over to the gui side
18003 so we don't have to hold the data_mutex for long periods of time (and
18004 therefore block animation of the applet's icon).
18005 - Clean up some memleaks too
18007 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18008 - Minor code beautification
18010 * src/NetworkManagerAPList.c
18011 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18012 completely new and whether or not an existing one's strength was updated.
18013 Try to fix multiple access points and signal strength by using the highest
18014 signal strength in each scan for any given ESSID.
18016 * src/NetworkManagerDbus.[ch]
18017 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18018 wireless networks; now we have only WirelessNetworkUpdate which includes
18019 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18020 - Kill usage of DbusMessageIter
18022 * src/NetworkManagerDevice.c
18023 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18024 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18025 AP rather than all-at-once. Also don't ever remove the AP a card is
18026 currently associated with from the network list.
18027 - Update for new signals during scan, send out Appeared, Disappeared, or
18028 StrengthChanged when necessary.
18030 2005-02-25 Dan Williams <dcbw@redhat.com>
18033 - Line break the README
18035 2005-02-25 Dan Williams <dcbw@redhat.com>
18037 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18038 - Remove usage of gtk_window_set_default_size()
18040 * panel-applet/essid.glade
18041 - Stick default size here
18042 - Add in random crap that current glade wants to add in now
18044 2005-02-25 Dan Williams <dcbw@redhat.com>
18046 * src/backends/NetworkManagerRedHat.c
18047 - For non-caching-nameserver/non-named case, ensure that nscd is running
18048 and that we actually tell nscd to reload the hosts cache when it changes
18050 2005-02-25 Dan Williams <dcbw@redhat.com>
18052 * info-daemon/NetworkManagerInfoDbus.c
18053 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18055 * test/nminfotest.c
18056 - Whack usage of DbusMessageIter
18057 - Clean up DbusError and DbusMessage handling and freeing
18058 - Remove unused unregister handler
18061 - Whack usage of DbusMessageIter
18063 * test/nmtestdevices.c
18064 - Whack usage of DbusMessageIter
18066 2005-02-25 Dan Williams <dcbw@redhat.com>
18069 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18072 2005-02-25 Dan Williams <dcbw@redhat.com>
18074 * named/nm-named-manager.c
18075 - Ensure that pid and watch variables for child named process get cleared out
18076 when the child goes away.
18078 2005-02-22 Dan Williams <dcbw@redhat.com>
18080 * src/NetworkManagerPolicy.c
18081 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18082 and NULL out data->active_device so that we have to choose another one.
18083 This may make NetworkManager keep attempting to connect to a wired network
18084 if it fails, but if it keeps failing the wired network has more problems than
18085 just NetworkManager.
18087 * src/backends/NetworkManagerRedHat.c
18088 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18091 * named/nm-named-manager.c
18092 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18093 named so that the distro can flush whatever name service caching
18096 2005-02-21 Dan Williams <dcbw@redhat.com>
18098 * src/NetworkManagerDHCP.[ch]
18099 - (nm_device_dhcp_remove_timeouts): new function
18101 * src/NetworkManagerDevice.c
18102 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18103 remove the DHCP timeouts.
18105 2005-02-21 Dan Williams <dcbw@redhat.com>
18107 * panel-applet/NMWirelessApplet.[ch]
18108 panel-applet/menu-info.[ch]
18109 - Give the panel applet some major love: menu items are no longer
18110 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18111 This allows the applet to actually reflect theme changes correctly,
18112 since themeing of subclassed items in GTK _sucks_.
18114 2005-02-18 Dan Williams <dcbw@redhat.com>
18116 * libnm_glib/libnm_glib.[ch]
18117 test/libnm_glib_test.c
18118 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18119 and its data, and doesn't have to free the callback data anymore
18121 2005-02-18 Dan Williams <dcbw@redhat.com>
18123 * panel-applet/NMWirelessApplet.c
18124 - Revert 2005-02-18 William Jon McCann fix for standard
18125 copyright string until it passes 'make distcheck'.
18126 With standard copyright string, xgettext complains
18127 about "Non-ASCII string at ...".
18129 2005-02-18 Dan Williams <dcbw@redhat.com>
18131 * panel-applet/essid.glade
18132 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18133 - Correct spelling of "adaptor"->"adapter"
18135 2005-02-18 William Jon McCann <mccann@jhu.edu>
18137 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18138 (nmwa_about_cb): Use standard copyright string. Update comment
18139 text to reflect that it is a notification area applet. Remove
18140 leading newline in authors list.
18141 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18142 instead of on parent menu item activation. Fixes #167550.
18144 2005-02-18 William Jon McCann <mccann@jhu.edu>
18146 * panel-applet/essid.glade: Capitalize items as per HIG.
18149 2005-02-16 William Jon McCann <mccann@jhu.edu>
18151 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18152 files for GTK 2.4 or lower, since now public in GTK 2.6.
18154 * panel-applet/essid.glade: Don't specify window size.
18156 2005-02-17 Dan Williams <dcbw@redhat.com>
18158 Caught by Bill Moss:
18160 - Time remaining for DHCP transaction calculation was incorrectly
18161 inside a #ifdef DEBUG
18163 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18165 * configure.in: Added fr (French) to ALL_LINGUAS.
18167 2005-02-14 Dan Williams <dcbw@redhat.com>
18169 * src/NetworkManagerDHCP.c
18170 - (set_domain_searches): Fix free of invalid pointer
18172 2005-02-14 Dan Williams <dcbw@redhat.com>
18174 Patch from Peter Jones:
18176 - Ensure we return RET_DHCP_CEASED everywhere we should
18177 * dhcpcd/udpipgen.c
18178 - Use faster TOS for IP packets
18179 - Don't set ip_id since we're UDP
18181 Patch from Tomislav Vujec:
18182 * src/nm-dbus-dhcp.c
18183 test/nm-dhcp-opt-test.c
18184 - Clean up warnings to enable cvs tree compilation.
18186 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18190 - Add the Croatian locale.
18192 2005-02-14 Colin Walters <walters@verbum.org>
18194 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18195 list of domains to search.
18197 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18199 2005-02-13 Dan Williams <dcbw@redhat.com>
18202 - Debug output cleanups of DHCP option printing and parsing.
18204 2005-02-13 Dan Williams <dcbw@redhat.com>
18206 Patch from Dan Reed: DHCP options D-BUS API
18207 Exposes the DHCP options that a device receives to clients over D-BUS.
18213 - Correct names, option length, and types for DHCP options
18215 * dhcpcd/dhcpcd.[ch]
18216 - Clarify function names that access DHCP options & data
18218 * src/NetworkManagerDHCP.c
18219 - Use new DHCP data access functions
18221 * src/NetworkManagerDbus.c
18222 - Message handler for DHCP functions
18224 * src/nm-dbus-dhcp.[ch] (new)
18225 - DHCP dbus methods
18227 * test/nm-dhcp-opt-test.c
18228 - Test DHCP D-BUS API and return all present DHCP options
18230 2005-02-12 Dan Williams <dcbw@redhat.com>
18233 test/nmclienttest.c
18235 - Move nmclienttest.c -> nmtest.c
18237 2005-02-12 Dan Williams <dcbw@redhat.com>
18239 * dhcpcd/buildmsg.c
18240 - Pad DHCP packets until they are at least 300 bytes in size.
18242 2005-02-11 Dan Williams <dcbw@redhat.com>
18245 - (dhcp_init): only print out client ID and class ID if they are specified
18247 * src/NetworkManagerDbus.[ch]
18248 src/nm-dbus-nm.[ch]
18249 src/nm-dbus-device.[ch]
18250 src/nm-dbus-net.[ch]
18251 - Move NM, Device, and Net functions to separate files and use the
18252 dbus method list stuff in NetworkManagerDbusUtils.c to do
18255 * src/NetworkManagerDbusUtils.c
18256 - Add new validate_method called before each dispatch (if present)
18257 that can validate the method call
18259 * src/NetworkManagerWireless.c
18260 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18261 levels never to be evaluated
18263 Patch from j@bootlab.org
18264 * src/NetworkManagerDevice.c
18265 - Add typedef for "u64"
18267 * src/backends/NetworkManagerDebian.c
18268 - Copy in Dave Woodhouse's fixes for IPv6
18270 2005-02-11 Dan Williams <dcbw@redhat.com>
18272 Patch from Dave Woodhouse for IPv6:
18273 * src/NetworkManagerUtils.c
18274 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18275 and multicast addresses
18277 * src/NetworkManagerDevice.c
18278 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18279 after bringing up a card.
18281 2005-02-10 Dan Williams <dcbw@redhat.com>
18283 Patch from Dave Woodhouse:
18284 * src/NetworkManagerSystem.h
18285 src/backends/NetworkManagerDebian.c
18286 src/backends/NetworkManagerGentoo.c
18287 src/backends/NetworkManagerSlackware.c
18288 - New nm_system_device_add_ip6_link_address() function to add link-local
18289 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18291 * src/backends/NetworkManagerRedHat.c
18292 - (nm_system_device_add_ip6_link_address): implement
18293 - (nm_system_device_flush_addresses): revert to previous behavior of
18294 flushing all addresses
18296 2005-02-10 Dan Williams <dcbw@redhat.com>
18298 Patch from Tom Parker:
18299 * src/NetworkManagerDevice.c
18300 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18301 mii.h headers are broken, and instead use our own typedefs
18303 2005-02-10 Dan Williams <dcbw@redhat.com>
18305 * dhcpcd/buildmsg.c
18306 - (fill_host_and_class_id): only fill in client and class IDs if
18307 they are set by callers.
18310 - (class_id_setup): don't autogenerate a class ID, only use one
18311 we're given, if any.
18312 - (client_id_setup): don't autogenerate a client ID, only use one
18313 we're given, if any.
18316 - (dhcp_interface_init): ensure that client options are correctly
18319 * src/NetworkManagerDHCP.c
18320 - (nm_device_dhcp_request): pass hostname to dhcp library
18322 2005-02-10 Dan Williams <dcbw@redhat.com>
18325 - #rh147661# Don't send kernel version in DHCP requests
18327 * src/NetworkManagerSystem.h
18328 src/backends/NetworkManagerDebian.c
18329 src/backends/NetworkManagerGentoo.c
18330 src/backends/NetworkManagerRedHat.c
18331 src/backends/NetworkManagerSlackware.c
18332 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18333 functions, they are no longer used anyway
18335 * src/backends/NetworkManagerRedHat.c
18336 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18337 addresses in an attempt to keep IPv6 local-scope addresses around
18339 2005-02-10 Dan Williams <dcbw@redhat.com>
18341 * src/NetworkManager.c
18342 - (nm_create_device_and_add_to_list): change the add message slightly
18344 * src/NetworkManagerUtils.c
18345 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18346 Return driver name to calling function
18347 - (nm_get_driver_support_level): print out the driver a device is using
18348 during the support check
18350 Patch from Dave Woodhouse:
18351 * dhcpcd/udpipgen.c
18352 - (in_cksum): copy last byte of odd-sized packets into a
18353 'u_short' rather than a 'u_char', should fix wrong checksums
18354 on big-endian platforms
18356 2005-02-09 Dan Williams <dcbw@redhat.com>
18358 * Clean up usage of GSList objects and looping through their members
18359 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18361 * Fix problem where even if scanning was turned off, card would still
18362 cycle through frequencies.
18364 2005-02-08 Dan Williams <dcbw@redhat.com>
18366 * panel-applet/NMWirelessApplet.c
18369 2005-02-08 Dan Williams <dcbw@redhat.com>
18371 Patch from Bill Moss
18372 * panel-applet/NMWirelessApplet.c
18373 - Restore correct ESSID in tooltips
18375 2005-02-07 Dan Williams <dcbw@redhat.com>
18377 * panel-applet/NMWirelessApplet.[ch]
18378 - Add a context menu that contains:
18379 Pause/Resume Wireless Scanning
18380 Stop/Start All Wireless Devices
18382 - Grab active device strength off active device,
18385 * panel-applet/NMWirelessAppletDbus.[ch]
18386 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18387 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18388 - Update active device strength every 2 seconds, not every 1 second
18390 * panel-applet/menu-info.c
18391 - Only disable wired devices in the menu when they support carrier detection,
18392 and don't currently have a link. Non-carrier-detect devices will always
18396 src/NetworkManagerDbusUtils.[ch]
18397 - Add new new dbus utils sources
18399 * src/NetworkManager.c
18400 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18401 with the boolean parameter
18402 - Set scanning_enabled & wireless_enabled to TRUE
18404 * src/NetworkManagerDbus.c
18405 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18406 - Implement scanning & wireless enable/disable calls
18407 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18409 * src/NetworkManagerDevice.c
18410 - New link detection stuff again...
18411 o Create device's mainloop earlier (but don't run it earlier)
18412 o Hook up new carrier-detect support stuff
18413 o Add in the ethtool & mii support detection code
18414 - Don't scan if scanning is disabled
18416 * src/NetworkManagerPolicy.c
18417 - Never automatically choose a device that doesn't support carrier detection
18418 - Don't automatically choose a wireless device if wireless is disabled
18420 2005-02-07 Dan Williams <dcbw@redhat.com>
18422 * libnm_glib/libnm_glib.c
18423 - Small cleanup in element list iteration
18425 2005-02-07 Dan Williams <dcbw@redhat.com>
18427 * src/NetworkManagerWireless.c
18428 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18429 to be in line with the WEXT quality specification
18431 2005-02-02 Dan Williams <dcbw@redhat.com>
18433 Patch from Nathan Fredrickson <nathan@silverorange.com>
18434 * Fix up compile for deprecation of libgnomeui
18435 - Switch to <glib/gi18n.h> from <libintl.h>
18436 - Remove <libgnomeui/libgnomeui.h> includes
18437 - Use gtk_window_set_default_icon_from_file() rather than
18438 gnome_window_set_default_icon_from_file()
18440 * named/nm-named-manager.c
18441 - (generate_named_conf): Fix return-nothing in non-void
18444 2005-02-02 Dan Williams <dcbw@redhat.com>
18446 * Clean up unused variables and the like
18448 2005-02-02 Dan Williams <dcbw@redhat.com>
18450 * src/NetworkManagerAPList.c
18451 - (nm_ap_list_merge_scanned_ap): merge strength too
18453 * src/NetworkManagerUtils.c
18454 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18455 of locking issues by printing out prettier information than g_mutex_lock
18456 - Print out names of mutexes registered with nm_register_mutex_desc()
18457 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18458 us to seemingly block here for too long
18460 * src/NetworkManager.c
18461 src/NetworkManagerAPList.c
18462 src/NetworkManagerDevice.c
18463 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18464 so we get better debug information printed
18466 * src/NetworkManagerDbus.c
18467 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18468 since it sometimes has locking side effects
18469 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18471 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18472 we don't need a switch. This gets called often enough that we can't block
18473 until the scan mutex is acquired, because we'll block on device activation
18474 and a few other things, which hangs main thread for too long.
18476 * src/NetworkManagerPolicy.c
18477 - (nm_policy_auto_get_best_device): reduce the possiblity that
18478 nm_device_need_ap_switch() will be called
18480 2005-02-02 Dan Williams <dcbw@redhat.com>
18482 * panel-applet/NMWirelessApplet.c
18483 - Display name of wireless network we are connecting to or connected to
18484 in the tooltip of the applet
18486 2005-02-02 Dan Williams <dcbw@redhat.com>
18488 * src/NetworkManagerDHCP.c
18489 - Hopefully fix double-default-route problem by cleaning up the default
18490 route added by DHCP code right before the DHCP transaction begins
18492 2005-02-02 Dan Williams <dcbw@redhat.com>
18494 * named/nm-named-manager.c
18495 - Write out valid resolv.conf when we exit
18497 2005-02-01 Dan Williams <dcbw@redhat.com>
18499 Patch from Colin Walters:
18500 * named/nm-named-manager.c
18501 - Make multi-domain search options work
18503 2005-01-31 Dan Williams <dcbw@redhat.com>
18505 * info-daemon/NetworkManagerInfoDbus.c
18506 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18508 * src/NetworkManagerDevice.c
18509 - (nm_device_new): Don't store the entire range struct, use only what we need
18510 (which is currently avg_quality, max_quality, and frequencies). Also
18511 zero device structure when we've free'd it to maybe expose errors down
18513 - (nm_device_update_signal_strength): grab the scan mutex before getting
18514 quality data from the card since quality will be useless during a scan.
18515 Call updated wireless qual-to-percent function with values stored in
18516 nm_device_new() earlier.
18517 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18518 nm_device_get_bad_crypt_packets())
18519 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18521 - (get_initial_auth_method): always use the Auth method that's in the allowed
18522 list if available. Problem was this: when the WEP key is wrong, NM will
18523 try OS then SK modes, and then get stuck in SK mode after that. This
18525 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18528 * src/NetworkManagerWireless.c
18529 - (nm_wireless_qual_to_percent): try to make this function actually work and
18530 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18531 if that's all present, otherwise fall back to signal-to-noise ratios.
18533 2005-01-29 Dan Williams <dcbw@redhat.com>
18535 * initscript/RedHat/NetworkManager
18536 - Don't spit out sysctl stuff to console
18538 * libnm_glib/libnm_glib.c
18539 - (libnm_glib_init): call dbus_g_thread_init()
18541 * panel-applet/NMWirelessAppletDbus.c
18542 - (nmwa_dbus_worker): call dbus_g_thread_init()
18544 * src/NetworkManager.c
18545 - (main): call dbus_g_thread_init()
18547 * src/NetworkManagerAPList.c
18548 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18549 so we can actually see what's there in a normal syslog
18551 * src/NetworkManagerDevice.c
18552 - (nm_device_activate_wireless): print out the "waiting for access point"
18553 message only once, then say what access point we actually got after
18555 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18556 function, wait until the scan is done. Scans may change the ESSID of
18557 the card, making this function think we need to switch access points
18558 - (nm_device_wireless_process_scan_results): for artificial access points
18559 don't check against the card's ESSID, but the best_ap's ESSID. This
18560 prevents collisions with the scanning code, which may change the card's
18561 ESSID and cause the access point to get dropped from the device's AP
18562 list. Also increase the keep-around time to 2m from 60s since the max
18563 scan interval could be 60s in some cases.
18565 * src/NetworkManagerPolicy.c
18566 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18567 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18568 the new properties and ESSIDs to the device's AP list. Fixes some races
18569 between NM and NMI.
18571 2005-01-27 Dan Williams <dcbw@redhat.com>
18573 * info-daemon/NetworkManagerInfoDbus.c
18574 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18575 GConf, make a minimal entry for it (essid & timestamp)
18577 * src/NetworkManagerAPList.c
18578 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18579 NetworkManagerInfo isn't running
18581 * src/NetworkManagerDbus.[ch]
18582 - (nm_dbus_nmi_is_running): new function
18584 * src/NetworkManagerDevice.c
18585 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18586 address to garbage.
18588 * src/NetworkManagerPolicy.c
18589 - (nm_policy_activation_finish): On successful activation, make sure
18590 the "best" AP has a MAC address, and don't tell NMI to add the
18591 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18592 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18593 access point after refreshing our allowed list if it doesn't already
18594 have a "best" access point.
18596 2005-01-25 Dan Williams <dcbw@redhat.com>
18598 * panel-applet/NMWirelessAppletDbus.c
18599 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18600 so we check for NM_DBUS_SERVICE rather than not for it
18602 * libnm_glib/libnm_glib.c
18603 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18604 ServiceOwnerChanged signal
18606 2005-01-25 Dan Williams <dcbw@redhat.com>
18609 - Check DBUS version in configure, and set the C macros
18610 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18612 * info-daemon/NetworkManagerInfoDbus.c
18613 - Remove #if 0-d section of code that quit NMI if NM went away.
18615 * panel-applet/NMWirelessAppletDbus.c
18616 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18618 * src/NetworkManager.c
18619 src/NetworkManagerMain.h
18620 src/NetworkManagerDbus.c
18621 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18622 - Make updating of our Allowed Wireless Network lists from NMI
18623 an idle function in the main thread now, with a high priority.
18625 2005-01-24 Dan Williams <dcbw@redhat.com>
18627 * panel-applet/gtkcellview.[ch]
18628 panel-applet/menu-info.c
18629 - Fix GTK version checks to be <= rather than <
18632 - Include the libtool archive of libnm_glib rather than
18633 trying to pull in the .so
18635 2005-01-24 Dan Williams <dcbw@redhat.com>
18637 * src/NetworkManagerDevice.c
18638 src/NetworkManagerDevicePrivate.h
18639 - Block nm_device_new() until our device's worker thread has had a
18640 chance to start up. Fixes a race between main thread and worker
18641 thread starting that caused activation requests to get lost.
18643 2005-01-24 Dan Williams <dcbw@redhat.com>
18645 * initscript/RedHat/NetworkManager
18646 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18647 to add the NM startup script at priority 50, which was
18650 2005-01-24 Colin Walters <walters@redhat.com>
18652 * named/named.conf: Use any port for query source instead of
18653 restricting to port 53.
18655 2005-01-24 Dan Williams <dcbw@redhat.com>
18657 * initscript/RedHat/NetworkManager
18658 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18659 to add the NM startup script at priority 50, which was
18662 2005-01-24 Dan Williams <dcbw@redhat.com>
18664 Patch from Tom Parker <palfrey@tevp.net>
18665 * Fix up compile warnings & errors in the wireless applet
18667 2005-01-24 Dan Williams <dcbw@redhat.com>
18669 * panel-applet/NMWirelessApplet.c
18670 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18672 2005-01-24 Dan Williams <dcbw@redhat.com>
18674 * panel-applet/gtkcellview.[ch]
18675 - Only compile these files for GTK 2.4 or lower, since
18676 GtkCellView is now public in GTK 2.6. Fixes crasher
18677 when choosing "Other Wireless Networks" from the panel
18680 2005-01-21 Dan Williams <dcbw@redhat.com>
18682 * src/NetworkManager.c
18683 - Daemonize earlier so that glib doesn't get confused (?)
18685 2005-01-21 Dan Williams <dcbw@redhat.com>
18687 * panel-applet/NMWirelessApplet.[ch]
18688 panel-applet/NMWirelessAppletDbus.c
18689 panel-applet/menu-info.c
18690 src/NetworkManagerDevice.c
18691 - Disable wired devices in the menu when they have no link.
18693 2005-01-21 Dan Williams <dcbw@redhat.com>
18695 * Cache last-known-good wireless authentication method in
18696 NetworkManagerInfo, and use that method first during
18697 wireless device activation. Should speed up devices that
18698 need Shared Key authentication method since Open System is
18701 * Remove the hack to not do full activation on wired connections
18702 that are active when we launch, it causes too many problems
18703 with name resolution and was a hack in the first place.
18705 * Re-work wireless device activation again somewhat to have a
18706 clearer chain of events and to use last-known-good
18707 authentication method of the access point. Also provide
18708 better status throughout activation to ensure the applet
18709 can tell the user exactly what's going on.
18711 * Remove the "find wireless network" code and now simply attempt
18712 to activate with that access point. This reduces the delay
18713 between selecting "Other wireless Network" and actually
18714 connecting to that network.
18716 * Correctly stop the device's worker thread when its removed.
18718 2005-01-21 Dan Williams <dcbw@redhat.com>
18721 - Clean up some of the debug messages
18723 2005-01-21 Dan Williams <dcbw@redhat.com>
18725 * Add new icons, more frames of animation
18726 * Remove some hacks to get the panel applet to display correct
18727 status, an NM update will soon follow that will fix the
18730 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18732 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18733 the first include for working i18n. Also, don't include it in .h files
18734 * panel-applet/NMWirelessApplet.h: Same
18735 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18736 * panel-applet/menu-info.c: Same
18738 2005-01-18 Dan Williams <dcbw@redhat.com>
18741 - Remove some debug messages
18742 - Wrap others in #ifdef DEBUG/#endif
18744 * src/NetworkManager.c
18745 - Remove some debug messages
18746 - Clarify some debug messages
18747 - Remove code related to old single-thread wireless scanning
18749 * src/NetworkManagerAP.[ch]
18750 - New AP property "last_seen" to track how recently an AP was
18752 - Start using 'const' more in function arguments
18754 * src/NetworkManagerAPList.[ch]
18755 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18756 of an AP found in an AP list from a source AP, or if not found
18757 in the list add the source AP
18758 - (nm_ap_list_combine): remove, no longer needed
18760 * src/NetworkManagerDevice.c
18761 - Each device now has a "worker" thread from start to end of its life.
18762 Scanning for wireless devices now happens in that thread,
18763 not in a single "wireless scanning thread" for all devices as
18764 previously. Activation consists of adding an idle handler to the
18765 thread's main loop/context, which gets run at the next available
18767 - Wireless scanning is also simplified, there is now only one list of
18768 access points per wireless device, and APs older than 60s are
18769 removed from the list. Previously, we kept results for the last
18770 3 scans and merged whole lists, which was complicated.
18771 - Cleaned up activation debug messages.
18772 - Wireless activation and access-point search routines now use Open System
18773 authentication before trying Shared Key.
18774 - Removed some code in nm_device_update_best_ap() that could cause cards
18775 to loose their link to the access point.
18776 - Scanning now uses a backoff algorithm, where the inverval becomes
18777 progressively longer between scans when the list of scanned access
18778 points doesn't change. A change will revert to the shortest scan
18781 * src/NetworkManagerWireless.[ch]
18782 - Remove code related to old single-thread wireless scanning
18784 2005-01-18 Colin Walters <walters@redhat.com>
18786 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18787 of older nameservers.
18789 2005-01-18 Colin Walters <walters@redhat.com>
18791 * named/nm-named-manager.c (generate_named_conf): Many fixes
18792 to config file generation.
18793 (safer_kill): Remove, was too much trouble for little gain.
18794 (nm_named_manager_start): Run named as NM_NAMED_USER.
18796 * configure.in: Add option --with-named-user.
18798 2005-01-14 Colin Walters <walters@redhat.com>
18800 Patch from ed@catmur.co.uk (Ed Catmur)
18802 * named/nm-named-manager.c: Add "context" property.
18803 Use it to add child watch source in specific GMainContext.
18805 * src/NetworkManager.c (nm_data_new): Initialize
18806 named with correct main context. Start named only
18809 2005-01-14 Colin Walters <walters@redhat.com>
18811 * named/nm-named-manager.c (generate_named_conf): Write config
18812 and pid files into NM_NAMED_DATA_DIR; this allows things to
18813 work better with FC3 named SELinux policy. Also fix up silly
18816 * configure.in: Add --with-named-dir option.
18818 2005-01-14 Colin Walters <walters@redhat.com>
18820 * configure.in: Make named support require passing --with-named.
18822 * named/nm-named-manager.c: Support writing resolv.conf directly
18823 without running named.
18825 2005-01-13 Dan Williams <dcbw@redhat.com>
18827 * named/nm-named-manager.c
18828 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18830 * src/NetworkManagerDevice.c
18831 - Rework wireless link detection code to be more reliable
18833 2005-01-12 Dan Williams <dcbw@redhat.com>
18835 * initscripts/RedHat/NetworkManager
18836 - Change initial level to "-" rather than "345" so that
18837 we don't activate ourselves by default on install
18839 2005-01-12 Dan Williams <dcbw@redhat.com>
18842 - Client library for applications using glib
18846 - Split NM_CFLAGS and NM_LIBS into separate variables
18847 like DBUS_*, HAL_* and GLIB_*
18849 * src/NetworkManager.c
18850 src/NetworkManagerMain.h
18851 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18852 broadcast a status changed signal over DBUS from the main thread.
18853 Still unused anywhere for the moment.
18855 Patch from j@bootlab.org
18856 * panel_applet/NMWirelessAppletDbus.c
18857 src/NetworkManagerDbus.c
18858 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18859 for the "getMode" method call
18861 2005-01-10 Dan Williams <dcbw@redhat.com>
18863 * src/NetworkManagerDevice.c
18864 - Minor fixups & corrections to "auto" frequency mode, make it
18865 less chatty with syslog
18867 2005-01-10 Dan Williams <dcbw@redhat.com>
18869 * src/NetworkManagerDevice.c
18870 - Implement "auto" frequency/channel support, since cards like Atheros
18871 can't use other frequencies at all when you've told it to use a
18872 specific one, even for scanning.
18873 - Grab the scan mutex around places where we can't tolerate wireless
18874 settings changing underneath us, like nm_device_wireless_network_exists()
18875 and nm_device_activate_wireless()
18877 * src/NetworkManagerWireless.c
18878 - Back scan interval off to 20s instead of 14s
18880 2005-01-09 Dan Williams <dcbw@redhat.com>
18882 * src/NetworkManagerDevice.c
18883 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18884 already set. Stops some drivers like Atmel from continually
18885 reloading the firmware, which they do upon every configuration
18888 2005-01-09 Dan Williams <dcbw@redhat.com>
18891 - Use correct timeout value
18893 * info-daemon/NetworkManagerInfoDbus.c
18894 src/NetworkManagerDbus.c
18895 - Consolidate communication between NM and NMI by doing only 1 dbus
18896 method call to get Wireless Network info from NMI instead of 6
18898 * src/NetworkManager.c
18899 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18900 when we didn't have an AP to use, we'd wait for one forever without
18903 * src/NetworkManagerDevice.c
18904 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18905 activation, dhcp might not have started yet but we don't quit activation
18906 before starting it, so the quit signal gets lost
18908 2005-01-07 Dan Williams <dcbw@redhat.com>
18911 - Rework the DHCP client code to be much less chatty when
18912 it receives non-DHCP UDP packets during the DHCP run
18913 (reported by and preliminary patches from Bill Moss)
18915 * Move wireless scanning to a separate thread. This thread forwards the
18916 results to the main thread when done where they are integrated into
18917 the device's access point lists. This keeps the main thread (which
18918 does all the DBUS communication) from being blocked for long periods
18919 of time by wireless scanning.
18921 * Make state modification an idle routine in the main loop, and trigger
18922 state changes rather than polling for them.
18924 * src/backends/NetworkManagerGentoo.c
18925 - Fix up invalid C90 code (reported by Christoph Ruessler)
18927 * src/NetworkManagerDevice.c
18928 - Revert IPv6 patch for wired devices from 2004-12-22 for
18929 router advertisements, causing problems and infinite loop
18930 during "best" device determination due to link going up/down
18931 (reported by Bill Moss)
18933 Apply patch from Peter Jones
18934 * src/NetworkManagerDevice.c
18935 - Shortcut for link-checking for ipw2x00 cards
18936 - Split out association check into separate routine
18938 2004-01-05 Colin Walters <walters@redhat.com>
18940 * named/named.conf: Add PID_FILE.
18942 * named/nm-named-manager.c: Always generate a pid
18943 file, since older BIND versions don't support
18946 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18948 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18950 2004-12-22 Dan Williams <dcbw@redhat.com>
18952 * src/NetworkManagerDevice.c
18953 - Silently fail when setting bitrate doesn't work
18956 Patches from j@bootlab.org:
18957 * src/backends/NetworkManagerDebian
18958 - Update backend to match functionality in RedHat backend
18959 * src/NetworkManagerDevice.c
18960 - Take down then bring up wired devices after connection so
18961 they send out ipv6 router advertisements
18963 2004-12-21 Colin Walters <walters@verbum.org>
18965 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18966 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18968 2004-12-21 Colin Walters <walters@redhat.com>
18970 * configure.in: Correct named detection.
18972 2004-12-21 Colin Walters <walters@redhat.com>
18974 * src/NetworkManager.c (nm_data_new): Initialize named.
18975 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18976 the mainloop when these signals are received.
18977 (nm_data_free): Unref named.
18978 (sigterm_handler, sigterm_pipe_handler): New functions for
18981 * src/NetworkManagerMain.h (NMData): Add signal handling and
18984 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18987 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18988 set nameservers from DHCP response data.
18989 (set_domain_search): Set domain search from DHCP response.
18990 (nm_device_dhcp_configure): Invoke them.
18992 * src/NetworkManagerSystem.c
18993 (nm_system_device_update_resolv_conf): Delete. Deleting
18994 code is totally sweet.
18996 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18998 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18999 implements an object which controls a nameserver. Currently
19002 * configure.in: Check for named.
19004 * Makefile.am (SUBDIRS): Add named dir.
19006 * named/named.conf: New template config file.
19008 2004-12-20 Colin Walters <walters@redhat.com>
19010 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19013 2004-12-17 Dan Williams <dcbw@redhat.com>
19015 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19016 link-local addresses instead of doing DHCP.
19018 * In the panel applet, there's a new "Create new Wireless Network..." item
19020 * The panel applet also sticks around now even if NetworkManager dies, but
19021 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19022 a bug, I'll fix that later.
19024 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19025 lookups after a switch rather than actually doing them.
19027 * Clean up some of those warnings in nm_ap_list_* functions
19029 * Delay between scans changed to 15s instead of 10s
19031 2004-12-15 Dan Williams <dcbw@redhat.com>
19033 Patch from Tom Parker
19034 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19037 * Longer pause after setting ESSID on cards that support a larger number
19038 of channels to give the card time to find the right channel
19040 * Add system hook to restart mDNSResponder (or whatever the local implementation
19041 of Multicast DNS is) when we activate interfaces
19043 2004-12-15 Dan Williams <dcbw@redhat.com>
19045 * Rework the DHCP code again to revert to sending full ethernet frames
19046 rather then relying on the kernel to do the right thing with our
19049 2004-12-06 Dan Williams <dcbw@redhat.com>
19052 - Fix some minor errors in dhcp_handle_transaction() that caused
19053 unexpected early timeouts of DHCP transactions
19056 - DHCP retransmit time from 4s -> 5s
19058 2004-12-05 Dan Williams <dcbw@redhat.com>
19060 * Major rework of the DHCP code, taking some cues from pump. We don't
19061 write raw Ethernet packets anymore, which simplifies the code quite
19062 a bit. The new code should be more robust, not hang in recvfrom()
19063 as much, and generally work better. This also means that we need
19064 to force HAL/dbus to use a created GMainContext rather than the
19065 default context, since having the DHCP renew/rebind thread using
19066 its own GMainContext seemed to give dbus a fit. There is also more
19067 debugging information printed from the DHCP loop to help with future
19070 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19071 assume that the default gateway should be the DHCP server.
19073 Patch from Matthew Schick <matt oss-institute org>
19074 * src/backends/NetworkManagerGentoo.c
19075 - Fix compilation error due to missing "ip4_broadcast"
19077 2004-12-03 Dan Williams <dcbw@redhat.com>
19079 * initscript/Makefile.am
19080 * initscript/Debian/NetworkManager
19081 * initscript/Gentoo/NetworkManager
19082 * initscript/RedHat/NetworkManager
19083 * initscript/NMLaunchHelper.c
19084 - Remove NMLaunchHelper, if you need to wait until the network
19085 comes up, use the dead code from CVS.
19087 2004-12-01 Colin Walters <walters@redhat.com>
19089 * configure.in: Suck in gcc warnings code from Rhythmbox,
19090 but use fewer default flags, and in particular add -Wno-unused,
19091 since the codebase has a lot of unused variables.
19093 * test/nmtestdevices.c (create_device):
19094 * test/nminfotest.c (get_network_string_property)
19095 (get_networks_of_type):
19096 * test/nmclienttest.c (main):
19097 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19098 * initscript/NMLaunchHelper.c (get_nm_status):
19099 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19100 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19101 Fix declarations after statements.
19103 2004-12-01 Colin Walters <walters@redhat.com>
19105 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19106 (nmi_dbus_get_vpn_userpass): New method.
19107 (nmi_dbus_nmi_message_handler): Invoke it.
19109 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19111 * info-daemon/NetworkManagerInfoVPN.h,
19112 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19113 to requests for VPN passwords.
19115 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19117 2004-12-01 Colin Walters <walters@redhat.com>
19119 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19122 2004-12-01 Colin Walters <walters@redhat.com>
19124 * panel-applet/NMWirelessAppletDbus.c
19125 (nmwa_dbus_update_active_device_strength): Fix missing
19128 2004-12-01 Colin Walters <walters@redhat.com>
19130 * panel-applet/NMWirelessApplet.c: Add missing include.
19132 2004-12-01 Colin Walters <walters@redhat.com>
19134 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19135 Remove useless CLAMP (); the value is unsigned, and the case tests
19136 qual->qual < 100, so the value must always be between 0 and 100.
19138 2004-12-01 Colin Walters <walters@redhat.com>
19140 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19142 2004-11-22 Colin Walters <walters@verbum.org>
19144 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19145 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19146 which is essentially a noop since nscd caches hosts on disk too.
19148 2004-11-22 Colin Walters <walters@redhat.com>
19150 * src/Makefile.am (NetworkManager_SOURCES): Add
19151 NetworkManagerDevicePrivate.h.
19153 2004-11-22 Dan Williams <dcbw@redhat.com>
19155 * src/NetworkManagerDevicePrivate.h
19156 - Split out the NMDevice struct to a different file so that stuff like
19157 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19161 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19162 need to cancel the dhcp request during the send and recv
19165 - Move the DHCP option enum to dhcpcd.h
19167 * src/NetworkManagerDHCP.c
19168 - Split out the actual IP/netmask/etc setting code
19169 - New Renew/Rebind functions
19170 - New timer setup function for renew/rebind operations
19172 * src/NetworkManagerDevice.c
19173 - For device activation, if we are using DHCP then keep the activation thread
19174 alive until device deactivation. We need to renew/rebind the DHCP address
19175 after the T1 (renew) and T2 (rebind) times have expired.
19176 - Increase some timeouts after bringing wireless cards up/down
19178 2004-11-17 Dan Williams <dcbw@redhat.com>
19180 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19181 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19182 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19183 show known access points that don't broadcast their ESSID in the menus without
19184 any user intervention whatsoever.
19186 * info-daemon/NetworkManagerInfoDbus.c
19187 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19188 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19190 * src/NetworkManagerAP.[ch]
19191 - Add a "user_addresses" data member to the NMAccessPoint structure
19192 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19193 the user_addresses data member
19195 * src/NetworkManagerAPList.c
19196 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19197 the AP's reported address
19198 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19200 * src/NetworkManagerDHCP.c
19201 - Increase DHCP timeout from 25s -> 30s
19203 * src/NetworkManagerDbus.[ch]
19204 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19207 * src/NetworkManagerDevice.c
19208 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19209 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19210 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19211 So, we take the card down to clear it out.
19212 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19213 too, since that's where the user_addresses are
19215 * src/NetworkManagerPolicy.c
19216 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19217 that wireless networks' user_addresses list upon successful activation
19219 2004-11-16 Dan Williams <dcbw@redhat.com>
19221 * src/NetworkManagerDevice.[ch]
19222 - (nm_device_clear_activation_fail): new function
19224 * src/NetworkManagerPolicy.c
19225 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19226 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19228 2004-11-16 Dan Williams <dcbw@redhat.com>
19230 * src/NetworkManagerDevice.c
19231 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19232 leak the structure, better updating of now_scanning status
19233 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19235 2004-11-15 Dan Williams <dcbw@redhat.com>
19237 Major rework of link detection code. We now use DHCP
19238 as part of the link detection which proves to be much more robust,
19239 and also supports Open System authentication for wireless networks.
19241 We no longer use external DHCP client programs. Instead, we use
19242 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19243 which was written by:
19244 Yoichi Hariguchi <yoichi@fore.com>
19245 Sergei Viznyuk <sv@phystech.com>
19246 http://www.phystech.com/download/
19247 It resides in the "dhcpcd" directory and was refactored into a general
19248 purpose DHCP client library by me.
19250 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19251 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19253 2004-11-15 Dan Williams <dcbw@redhat.com>
19255 Patch from Tom Parker <palfrey@tevp.net>:
19257 * src/NetworkManagerDevice.c
19258 - Less output to console when no access
19259 points are found during a scan
19261 2004-11-15 Dan Williams <dcbw@redhat.com>
19263 Patch from Tom Parker <palfrey@tevp.net>:
19265 * src/backends/interface_parser.c
19267 - Check for inp == NULL
19270 2004-11-13 Colin Walters <walters@redhat.com>
19272 Patch from Tom Parker <palfrey@tevp.net>:
19274 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19276 * src/backends/NetworkManagerRedHat.c: Switch to
19277 including shvar.h instead of shvar.c.
19279 * src/backends/NetworkManagerDebian.c: Don't include
19280 interface_parser.c in source file.
19282 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19283 and interface_parser.[ch].
19284 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19285 Include shvar.c and shvar.h here.
19286 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19287 interface_parser.c and interface_parser.h here.
19289 2004-11-12 Colin Walters <walters@redhat.com>
19291 * configure.in: Strip out TARGET_DISTRO and
19292 SYSTEM_BACKEND_FILE variables. Switch to Automake
19295 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19296 (libnmbackend_la_SOURCES): Use Automake conditionals
19297 to add distro-specific files.
19299 * initscript/Makefile.am (SUBDIRS): Update to
19302 2004-11-12 Colin Walters <walters@redhat.com>
19304 Patches from j bootlab org
19306 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19307 Add interface_parser.[ch].
19309 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19310 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19312 2004-11-12 Colin Walters <walters@redhat.com>
19314 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19315 call to nmi_dbus_is_running too, not necessary anymore.
19316 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19319 2004-11-11 Colin Walters <walters@verbum.org>
19321 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19323 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19324 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19325 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19326 This avoids a race condition that made it pretty easily
19327 possible to get two NetworkManagerInfo daemons running.
19329 2004-11-11 Colin Walters <walters@verbum.org>
19331 * src/NetworkManager.c (main): Use daemon(3).
19333 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19335 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19337 2004-11-10 Dan Williams <dcbw@redhat.com>
19339 Patches from j bootlab org
19340 * src/NetworkManagerDevice.c
19341 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19342 whether the card has a link or not, some cards are slow
19343 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19345 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19346 - Disable the "Login" button on the passphrase dialog until the user
19347 enters a valid passphrase or key
19349 Patches from Tom Parker <palfrey tevp net>
19350 * src/backends/NetworkManagerDebian.c
19351 - Add static IP support to the debian backend
19353 * src/backends/interface_parser.[ch]
19354 - Parse debian interface config files
19356 2004-11-08 Dan Williams <dcbw@redhat.com>
19358 * src/NetworkManagerDevice.c
19359 - Some random fprintf->syslog conversions
19360 - (nm_device_wireless_network_exists): double-check for network
19361 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19363 * src/NetworkManagerWireless.[ch]
19364 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19365 so that the binary->ascii conversion works (if unsigned, the bitshift
19366 will fill with zeros, which is what's required). Also mask bitshift
19367 result with 0xF for futher assurance.
19369 2004-11-06 Dan Williams <dcbw@redhat.com>
19371 * src/NetworkManagerUtils.c
19372 - (nm_get_wireless_driver_support_level): default to
19373 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19374 flip this when changing from whitelist->blacklist of
19377 2004-11-05 Dan Williams <dcbw@redhat.com>
19379 Patch from Robert Paskowitz:
19380 * src/backends/NetworkManagerGentoo.c
19381 - Update static IP config code
19383 2004-11-05 Dan Williams <dcbw@redhat.com>
19385 * info-daemon/NetworkManagerInfoDbus.c
19386 src/NetworkManagerDbus.[ch]
19387 src/NetworkManagerDevice.c
19388 - Keep track of the # of attempts to get the WEP key
19389 from the user and pass that along to the info daemon
19391 2004-11-05 Dan Williams <dcbw@redhat.com>
19393 * src/NetworkManagerUtils.c
19394 - Blacklist wireless cards rather than whitelisting them.
19395 - Grab driver name from HAL rather than trying to find it
19398 2004-11-03 Dan Williams <dcbw@redhat.com>
19400 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19401 - Disable OK button until valid data is entered
19402 for encryption stuff too
19404 * panel-applet/NMWirelessApplet.c
19405 - Report card strength for current AP if the card
19406 doesn't report strength data for scanned access
19409 * src/NetworkManagerDevice.c
19410 - Smooth out cards reported quality, Atmel card was
19411 intermittently reporting no quality data but soon
19414 * src/NetworkManagerWireless.c
19415 - Better quality data percentage calculation. Atmel
19416 cards (mine at least) seem to report the quality
19417 in percentage format already, so honor that
19419 Patch from <j@bootlab.org>
19421 info-daemon/NetworkManagerInfoPassphraseDialog.c
19422 info-daemon/passphrase.glade
19423 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19424 panel-applet/essid.glade
19425 src/NetworkManagerAP.c
19426 src/NetworkManagerDevice.c
19427 src/NetworkManagerWireless.[ch]
19428 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19430 2004-11-03 Dan Williams <dcbw@redhat.com>
19432 * src/NetworkManagerDevice.[ch]
19433 - (nm_device_set_enc_key): Add parameter to set Authentication
19434 Mode (Open System, Shared Key, or None). We're still using
19435 Shared Key for now though.
19437 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19439 * panel-applet/menu-info.c: change from bold text to light
19440 colored, may cause problems with some themes, i've tested a lot
19441 and they seem fine.
19443 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19445 2004-11-01 Colin Walters <walters@verbum.org>
19447 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19448 (nm_wireless_128bit_key_from_passphrase): Add const.
19450 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19451 (nm_ap_set_enc_key_source): Add const.
19453 2004-11-01 Colin Walters <walters@verbum.org>
19455 * .cvsignore: Update.
19457 2004-10-29 Dan Williams <dcbw@redhat.com>
19459 * src/NetworkManagerDevice.c
19460 - (nm_device_wireless_network_exists): Actually use the encryption
19461 key we got from the applet when attempting to find a wireless network
19462 - Don't bring devices down so much since on some cards it triggers
19463 firmware hotplugs each time
19465 * src/NetworkManagerDbus.c
19466 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19469 2004-10-29 Dan Williams <dcbw@redhat.com>
19471 * src/NetworkManager.c
19472 - (nm_hal_device_property_modified): unlock a locked active
19473 wireless device when a wired connection gets a link.
19474 (Means you'll switch to wired whenever you plug in no
19477 2004-10-29 Dan Williams <dcbw@redhat.com>
19479 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19480 - New files, implement the "Other wireless network" dialog
19482 * panel-applet/NMWirelessApplet.c
19483 - Move "other wireless network" dialog to separate file
19485 * panel-applet/NMWirelessAppletDbus.[ch]
19486 - Take key and key_type paramaters for the set_device function
19488 * panel-applet/essid.glade
19489 - Add UI bits for encryption settings
19491 * src/NetworkManagerDbus.c
19492 - Retrieve key and key_type params for "setActiveDevice" method call
19494 - unref AP returned from nm_device_get_best_ap() when needed
19496 * src/NetworkManagerDevice.c
19497 - (nm_device_get_best_ap): ref the ap before returning it
19498 - unref AP returned from nm_device_get_best_ap() when needed
19499 - (nm_device_activate_wireless): add "ap" parameter so we don't
19500 need to call nm_device_get_best_ap() here, it was pretty much
19502 - (AP_NEED_KEY): break second link check condition out into separate
19503 function, and fix segfault when ap->enc_key_source was NULL
19504 - (nm_device_find_and_use_essid): take key and key_type parameters and
19505 pass them along to nm_device_wireless_network_exists(). If the
19506 network does exist, set the passed-in key+key_type on the AP
19508 * src/NetworkManagerPolicy.c
19509 - unref AP returned from nm_device_get_best_ap() when needed
19511 2004-10-28 Dan Williams <dcbw@redhat.com>
19513 * src/NetworkManagerUtils.c
19514 - (nm_spawn_process): Fix a potential dereference of NULL
19516 Patches from Peter Jones:
19518 * src/NetworkManagerDevice.c
19519 - (nm_device_test_wireless_extensions): Better check for
19522 * src/NetworkManagerUtils.c
19523 - (nm_spawn_process): Pass in valid stdout and stderr so
19524 executed programs don't randomly SIGPIPE and fail
19525 - (nm_get_wired_driver_support_level): quash hal warning
19526 when checking for USB ethernet device
19528 2004-10-27 Dan Williams <dcbw@redhat.com>
19530 * info-daemon/NetworkManagerInfo.c
19531 info-daemon/NetworkManagerInfoDbus.c
19532 info-daemon/NetworkManagerInfoPassphraseDialog.c
19533 panel-applet/NMWirelessApplet.c
19534 - Properly escape gconf keys
19536 * src/NetworkManager.c
19537 - remove unused variables
19539 * src/NetworkManagerAP.c
19540 - (nm_ap_new_from_ap): Don't redundantly set new APs
19541 refcount since it got set in nm_ap_new()
19543 * src/NetworkManagerAPList.c
19544 - (nm_ap_list_combine): Give up ownership of newly created
19545 access points to the ap list, fixes memleak
19547 * src/NetworkManagerDevice.c
19548 - Remove cached_ap_list4 member since its not really needed
19549 - (nm_device_wireless_network_exists): Try to get correct
19550 encryption status of a found AP if its already in our
19552 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19553 memory allocs/deallocs a bit clearer and shorter-lived
19555 2004-10-26 Ray Strode <rstrode@redhat.com>
19557 * panel-applet/NMWirelessApplet.c:
19558 (custom_essid_item_selected): kill some compiler
19561 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19563 * info-daemon/NetworkManagerInfoDbus.c
19564 - (nmi_dbus_is_running): New function for determining if nmi is already running
19565 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19567 2004-10-23 Dan Williams <dcbw@redhat.com>
19569 * info-daemon/NetworkManagerInfoDbus.c
19570 - Trap the "DeviceActivationFailed" signal
19572 * docs/NetworkManager DBUS API.txt
19573 - Add "DeviceActivationFailed" signal
19575 * panel-applet/NMWirelessAppletDbus.c
19576 - Quash the "NetworkManager service not available" message
19578 * src/NetworkManagerDbus.[ch]
19579 - Add the "DeviceActivationFailed" signal
19581 * src/NetworkManagerDevice.c
19582 - Add support for activation_failed flag
19583 - Fix deadlock where activation thread didn't clean itself up, making
19584 main thread still believe it was alive forever (didn't reset activation
19585 flags like activating, just_activated, etc when IP configuration
19588 * src/NetworkManagerPolicy.c
19589 - Implement logic for DeviceActivationFailed signal, and when activation fails
19590 for wireless networks, try to fall back to some other access point
19592 2004-10-23 Dan Williams <dcbw@redhat.com>
19594 * panel-applet/NMWirelessApplet.[ch]
19595 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19596 to the applet object, so we can get tooltips
19597 - Add tooltips (RH #136866)
19599 * src/NetworkManagerDevice.c
19600 - When trying to find a wireless network, try to connect with encryption
19601 turned on first, so that we can more accurately detect whether or not
19602 we need to use encryption for the actual association later on
19604 2004-10-21 Dan Williams <dcbw@redhat.com>
19606 * Add some support for telling NetworkManagerInfo to tell the user
19607 that they are using a device that's not fully supported
19609 * Fix some assertions in debug messages due to null access point args
19611 2004-10-21 Dan Williams <dcbw@redhat.com>
19613 * src/NetworkManagerDevice.c
19614 - Don't try to activate/bring up/down unsupported
19617 * src/NetworkManagerUtils.c
19618 - Fix case of PCI ID checks for driver support levels
19620 2004-10-21 Dan Williams <dcbw@redhat.com>
19623 - New file, now contains commonly used structures and bits
19624 for the dbus API of NetworkManager
19627 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19629 * src/NetworkManager.h
19630 - Rename -> src/NetworkManagerMain.c
19632 * Various fixups all around to use NetworkManager.h and new
19633 src/NetworkManagerMain.h, remove redundant bits that got
19634 moved into NetworkManager.h
19636 * src/NetworkManagerDevice.[ch]
19637 src/NetworkManagerUtils.[ch]
19638 src/NetworkManagerPolicy.c
19639 src/NetworkManagerDbus.c
19640 - Whitelist wireless drivers, and blacklist some wired
19641 drivers. Also blacklist cipsec and ethernet-over-usb
19642 devices at this time (RH #135722, RH #135648)
19643 - Don't leak unsupported devices out over dbus, or allow
19644 them to be set as the active device. Skip over them
19645 during automatic device picking
19647 * test/nmclienttest.c
19648 - Clean up the dbus code a lot
19650 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19652 * configure.in: post release bump.
19654 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19657 * NEWS: Released NetworkManager-0.3.1
19659 2004-10-18 Dan Williams <dcbw@redhat.com>
19661 Patches from Thom May:
19662 * test/nmtestdevices.c
19663 - Include <string.h>
19664 * src/backends/NetworkManagerDebian.c:
19665 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19666 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19667 Move to using g_strdup_printf rather than arbitrary buffers
19668 - (nm_system_device_setup_static_ip4_config) Implement function.
19669 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19671 2004-10-17 Dan Williams <dcbw@redhat.com>
19673 * info-daemon/NetworkManagerInfoDbus.c
19674 - Display name of network in the "network not found" dialog
19676 * panel-applet/NMWirelessAppletDbus.c
19677 - (nmwa_dbus_call_nm_method): new function replaces all other
19678 nmwa_dbus_get_[string|string_array|int|boolean] methods
19679 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19680 consolidated into nmwa_dbus_get_object_name()
19682 2004-10-15 Dan Williams <dcbw@redhat.com>
19684 * src/NetworkManagerDbus.c
19685 info-daemon/NetworkManagerInfoDbus.c
19686 - Display an error dialog when the user tries to use an
19687 "Other wireless network" that's not found.
19689 2004-10-15 Dan Williams <dcbw@redhat.com>
19691 * panel-applet/NMWirelessApplet.[ch]
19692 - Fix up corner cases in applet state, making it
19693 look more responsive. Change state to "connecting" when
19694 the user is forcing a device too.
19696 2004-10-15 Dan Williams <dcbw@redhat.com>
19698 * src/NetworkManagerAPList.c
19699 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19701 * src/NetworkManagerDbus.c
19702 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19704 * src/NetworkManagerDevice.c
19705 - Disown APs after the device's AP list takes ownership
19707 2004-10-15 Dan Williams <dcbw@redhat.com>
19709 * panel-applet/NMWirelessApplet.c
19710 - Update our applet state from the GUI thread
19712 * panel-applet/NMWirelessAppletDbus.c
19713 - Greatly simplify the locking to make the GUI thread
19714 smoother. Update a private copy of the device list
19715 and active device and only when done talking to
19716 NetworkManager turn it over to the GUI thread.
19718 2004-10-15 Dan Williams <dcbw@redhat.com>
19720 * src/NetworkManagerAP.[ch]
19721 - Add "artificial" get/set functions, set for APs that
19722 aren't discovered as part of a scan but instead
19723 discovered by force-setting the ESSID
19725 * src/NetworkManagerDevice.[ch]
19726 - (nm_device_wireless_network_exists): pass back whether
19727 or not the discovered AP was encrypted. Also, try
19728 falling back to encrypted mode on the card if unencrypted
19729 association doesn't work
19730 - (nm_device_find_and_use_essid): If the network requested
19731 did in fact exists, but it wasn't in our scan list, add
19732 an "artificial" entry for it. Some Cisco cards don't
19733 see non-ESSID-broadcasting APs in their scan but can still
19734 associate with them if you know the ESSID, this works around
19736 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19737 to scan if the card is currently associated with that AP
19739 2004-10-15 Dan Williams <dcbw@redhat.com>
19741 ---- We have a website ----
19742 http://people.redhat.com/dcbw/NetworkManager
19744 Patch from Robert Paskowitz:
19745 * src/NetworkManager.c
19746 - (main): Make sure we are run as root
19747 * src/NetworkManagerDevice.c
19748 - Fix type in ad-hoc setting function
19750 Patch from Thom May:
19751 * src/backends/NetworkManagerDebian.c
19752 - Make Debian backend compile again
19754 2004-10-14 Dan Williams <dcbw@redhat.com>
19756 * Tagged NetworkManager-0_3
19758 2004-10-14 Dan Williams <dcbw@redhat.com>
19760 Patch from Robert Paskowitz:
19762 src/NetworkManagerDevice.[ch]
19763 src/backends/NetworkManagerDebian.c
19764 src/backends/NetworkManagerGentoo.c
19765 src/backends/NetworkManagerRedHat.c
19766 src/backends/NetworkManagerSlackware.c
19767 - Add support for grabbing and using a broadcast address
19768 from system config files
19769 - Some Gentoo backend fixes for grabbing network config
19770 - Fix LOG_WARN->LOG_WARNING
19772 2004-10-14 Dan Williams <dcbw@redhat.com>
19774 * NEWS: a few small fixes in the credits
19776 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19778 * NEWS: prep for release.
19780 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19782 * panel-applet/NMWirelessAppletDbus.c
19783 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19785 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19787 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19788 applet->state == APPLET_STATE_NO_NM animation.
19790 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19791 set the text correctly.
19793 2004-10-14 Dan Williams <dcbw@redhat.com>
19795 * src/NetworkManager.c
19796 - Only accept and manager 802.3 and 802.11 devices
19798 * src/NetworkManagerDbus.[ch]
19799 - (nm_dbus_nm_set_active_device): move most of the actual activation
19800 logic into NetworkManagerDevice.c
19801 - (nm_dbus_network_status_from_data): new function
19802 - (nm_dbus_signal_network_status_change): new function, unused for now
19803 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19805 * src/NetworkManagerDevice.[ch]
19806 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19809 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19811 * info-daemon/NetworkManagerInfo.c
19812 - (main): Added session management
19814 2004-10-14 Dan Williams <dcbw@redhat.com>
19816 * panel-applet/NMWirelessAppletDbus.[ch]
19817 - Expose network_device_[un]ref()
19818 - Expose wireless_network_[un]ref()
19819 - (wireless_network_new_with_essid): new function, create and return
19820 a wireless network with a particular essid
19822 * panel-applet/NMWirelessApplet.c
19823 - Hook up the "other network" dialog to do something
19825 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19827 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19828 doesn't work yet, but it looks okay.
19830 * panel-applet/icons/*png: Resize to 22x22 and install in the
19833 2004-10-13 Dan Williams <dcbw@redhat.com>
19835 * panel-applet/NMWirelessApplet.c
19836 - Add function to print out applet_state in a readable
19839 * src/NetworkManager.c
19840 - (main): Don't segfault when nm_dbus_init() fails, we had
19841 a left-over call to hal_shutdown() into which we passed NULL
19843 * src/NetworkManagerAP.c
19844 - (nm_ap_set_essid): Allow NULL essids
19846 * src/NetworkManagerAPList.[ch]
19847 - More use of nm_ap_list_[un]lock ()
19848 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19849 network/essid, just return nothing. Also skip over NULL
19850 essid access points in the list when searching
19851 - (nm_ap_list_get_ap_by_address): new function
19852 - (nm_ap_list_update_network): set the access point's key source to
19853 NULL when the key returned from NetworkManagerInfo is NULL or
19855 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19856 copy timestamp over too
19857 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19858 find the correct ESSID for a blank-essid access point by searching
19859 through another list and matching access point MAC addresses
19860 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19862 * src/NetworkManagerDbus.c
19863 - (nm_dbus_nm_set_active_device): deal with random networks the user
19864 may specify. This is mainly for access points that don't
19865 broadcast their essid. So if the user tells us to associate with
19866 some random ESSID that's not in our access point list, we find
19867 out if the access point does in fact exist (by attempting association
19868 and then matching that access point's MAC address with the essid the
19869 user gave us) and then we switch to it.
19870 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19871 to the returned list of networks for the "getNetworks" method
19873 * src/NetworkManagerDevice.[ch]
19874 - Extra debugging info for link detection
19875 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19876 based on MAC address
19877 - (nm_device_get_path_for_ap): ignore blank-essid access points
19878 - (nm_device_wireless_network_exists): new function, find out whether
19879 a random ESSID exists by attempting to associate with it
19880 - (nm_device_do_normal_scan): allow blank-essid access points in our
19881 device list as long as they have an AP MAC address we can use.
19882 Also send WirelessNetwork[Dis]Appeared signals for non-active
19883 devices too. Lets the applet update more frequently.
19885 * src/backends/NetworkManagerGentoo.c
19886 - Patch from: Robert Paskowitz
19887 - Update backend code for Gentoo
19888 - Implement nm_system_device_update_config_info ()
19890 * test/nmclienttest.c
19891 - (set_network_device): new function, takes a command-line argument
19892 and tells NetworkManager to use that wireless network
19894 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19896 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19897 if the notification icon crashes 5 times within 5 seconds of each respawn
19899 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19901 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19904 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19906 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19908 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19909 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19910 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19911 Change the name of the icons.
19913 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19914 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19915 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19916 (nm_menu_wireless_expose_event): Really bad hack to get the style
19917 to draw in the right color.
19919 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19921 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19922 Notification if it crashes
19924 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19926 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19927 (nmwa_dbus_get_string): remove unused functions
19929 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19930 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19931 remove unused functions
19933 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19935 2004-10-12 Dan Williams <dcbw@redhat.com>
19937 * panel-applet/NMWirelessAppletDbus.c
19939 wireless_network_new
19940 wireless_network_copy
19942 network_device_copy
19944 * src/NetworkManagerDevice.[ch]
19946 nm_device_set_mode_managed
19947 nm_device_set_mode_adhoc
19948 - Use these functions where appropriate
19949 - When creating a new wireless device, force the card
19950 to managed/Infrastructure mode as soon as possible
19952 2004-10-12 Dan Williams <dcbw@redhat.com>
19954 * src/NetworkManagerDevice.c
19955 - Force wireless cards into Infrastructure mode before we use them
19957 2004-10-12 Dan Williams <dcbw@redhat.com>
19960 - Remove bit about static IP address support
19962 * src/NetworkManagerUtils.c
19963 - (nm_spawn_process): Add some error reporting
19965 * src/NetworkManagerDevice.c
19966 - (nm_device_activation_configure_ip): hook up to the static config
19967 routines in the backends
19969 * src/backends/NetworkManagerRedHat.c
19970 - (nm_system_device_update_config_info): use shvar.c routines to
19971 parse the config file iformation, not our own
19972 - (nm_system_device_setup_static_ip4_config): new function, based
19973 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19974 with a static IP address and gateway
19976 * src/backends/shvar.[ch]
19977 - Parser (filched from initscripts package) for ifcfg-* files
19979 * src/backends/NetworkManagerSystem.h
19980 src/backends/NetworkManagerGentoo.c
19981 src/backends/NetworkManagerDebian.c
19982 src/backends/NetworkManagerSlackware.c
19983 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19985 2004-10-11 Dan Williams <dcbw@redhat.com>
19988 - Remove bit about more robust AP diffing since I just implemented it
19990 2004-10-11 Dan Williams <dcbw@redhat.com>
19992 * src/NetworkManagerAP.c
19993 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19994 enough RAM to allocate new AP structures, but return NULL instead
19996 * src/NetworkManagerAPList.[ch]
19997 - (nm_ap_list_is_empty): new function
19998 - (nm_ap_list_combine): new function, combine two access point lists
19999 - (nm_ap_list_copy_keys): new function, copy keys from one list
20002 * src/NetworkManagerDevice.[ch]
20003 - Rename some functions to be clearer:
20004 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20005 nm_device_just_activated -> nm_device_is_just_activated
20006 nm_device_activating -> nm_device_is_activating
20007 nm_device_now_scanning -> nm_device_is_scanning
20008 - Cache the last 4 scans so that the access point list is more stable.
20009 We combine the lastest two scans and use that as the AP list,
20010 and diff that combined list against the combination of the earliest
20011 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20013 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20015 * info-daemon/NWManagerInfo.h
20016 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20018 * info-daemon/NWManagerInfoDbus.c
20019 - (shutdown_callback): new function
20020 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20021 if NetworkManager goes away. Kill the timeout
20022 if NetworkManager restarts before the 30 seconds
20024 - (nmi_dbus_service_init):
20025 - call gtk_main_quit if NetworkManager is not running
20026 - add filters to monitor dbus service creations and
20029 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20031 * panel-applet/NMWirelessApplet.c
20032 - (nmwa_update_state): Hide notification icon if we are only
20033 showing one wired card and no wireless interfaces
20034 (Red Hat Bug #134895)
20036 * panel-applet/NMWirelessAppletDbus.c
20037 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20039 * info-daemon/NWManagerInfo.c
20040 - (main): Terminated the notification_icon_cmd array with a NULL
20042 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20044 * configure.in (ALL_LINGUAS): Added de (German).
20046 2004-10-08 Dan Williams <dcbw@redaht.com>
20048 * src/NetworkManagerDevice.c
20049 - Be a bit more robust about link checking, ie make sure that
20050 the WEP key we were given actually has some data in it
20052 2004-10-08 Dan Williams <dcbw@redhat.com>
20054 * info-daemon/NetworkManagerInfo.c (main):
20055 - Initialize GError object to NULL
20057 2004-10-08 Dan Williams <dcbw@redhat.com>
20059 * panel-applet/NMWirelessAppletDbus.c
20060 - Die if NetworkManagerInfo dies, since it manages our lifetime
20062 2004-10-08 Dan Williams <dcbw@redhat.com>
20064 * info-daemon/NetworkManagerInfo.[ch]
20065 info-dameon/NetworkManagerInfoDbus.[ch]
20066 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20067 - Preserve original label text in the passphrase dialog so that
20068 it actually gets updated with the new network name the next
20069 time around. Previously, we were overwriting it so you'd get
20070 the wrong network name to enter a key for
20071 - Add a "Key Type" combo to the passphrase dialog, user selects
20072 encryption key type now, type is stored in GConf too
20073 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20075 * src/NetworkManagerAP.[ch]
20076 - Remove all the encyption method magic. It's now set by the user
20077 and NetworkManager retrieves the type of encryption key from
20080 * src/NetworkManagerAPList.[ch]
20081 src/NetworkManagerDbus.[ch]
20082 - Adjust to new way of setting encryption key and method
20083 - Pull encryption method down from NMI along with key
20085 * src/NetworkManagerDevice.[ch]
20086 - Removed encryption method fallback magic as the method is now
20087 determined by the user. This greatly simplifies the connection
20089 - More robust connection/link logic. Besides removing the encryption
20090 method fallback magic, check whether or not the card is receiving
20091 invalidly encrypted packets, which usually indicates that we have
20093 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20095 * test/nminfotest.c
20096 - Test out new "Key Type" stuff in the NMI passphrase dialog
20098 2004-10-07 Dan Williams <dcbw@redhat.com>
20100 * info-daemon/NetworkManagerInfo.conf
20101 - Allow root user to run NMI too
20103 2004-10-06 Dan Williams <dcbw@redhat.com>
20105 * src/NetworkManagerDevice.[ch]
20106 src/NetworkManagerDbus.c
20107 doc/NetworkManager DBUS API.txt
20108 - Add a new status tag "scanning", which is set when there
20109 is no active network connection, but NetworkManager is
20110 looking for an access point to associate with
20112 * panel-applet/main.c
20113 - Cast the applet appropriately for gtk_widget_show_all ()
20115 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20117 * panel-applet/eggtrayicon.[ch]:
20118 * panel-applet/main.c: Add missing file
20120 2004-10-04 Dan Williams <dcbw@redhat.com>
20122 * src/NetworkManagerDevice.[ch]
20123 - Add a slightly more robust method of determining if the WEP key
20124 is correct or not, by checking the WEP-discarded packet count
20127 * info-daemon/NetworkManagerInfo.c
20128 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20129 un-escape values we pull out rather than escaping them
20131 2004-10-03 Marcel Telka <marcel@telka.sk>
20133 * configure.in (ALL_LINGUAS): Added sk.
20135 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20137 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20138 and feel. We should be back to working, and have a good, clean
20141 2004-09-30 Dan Williams <dcbw@redhat.com>
20143 * info-daemon/NetworkManagerInfo.c
20144 info-daemon/NetworkManagerInfoDbus.c
20146 - Escape ESSIDs in gconf
20148 * src/NetworkManagerDevice.c
20149 - Fix pseudo-scanning to use netowrk list from info daemon
20151 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20153 * configure.in: Add a temporary --enable-notification-icon. This
20154 will prolly go away.
20156 * info-daemon/Makefile.am:
20157 * info-daemon/NetworkManagerInfo.c:
20158 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20160 * panel-applet/Makefile.am:
20161 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20162 * panel-applet/NMWirelessApplet.h:
20164 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20166 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20167 before 'select custom ESSID'.
20169 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20170 fully complete, but syncing in prep for merge.
20172 * panel-applet/icons/*png: New images
20174 2004-09-28 Dan Williams <dcbw@redhat.com>
20176 * src/NetworkManager.c
20177 src/NetworkManagerDevice.c
20178 src/NetworkManagerPolicy.c
20179 - Don't blow away an active wired connection on startup
20181 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20185 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20187 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20190 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20192 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20193 have a wireless card.
20195 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20197 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20198 Also, get the right device strings.
20200 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20202 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20203 the logic to make this right.
20205 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20206 devices so that wired networks are always first.
20208 2004-09-22 <clarkbw@cvs.gnome.org>
20210 * initscript/Debian/.cvsignore:
20211 * initscript/Slackware/.cvsignore:
20212 Added new cvsignores for Makefile, Makefile.in
20215 Added nmtestdevices
20217 * src/NetworkManagerDevice.c:
20218 * src/NetworkManager.c:
20219 Updated the wireless/wired HAL device strings from net.ethernet to
20220 net.80203 or net.80211 depending on wired or wireless respectively
20222 * examples/python/NetworkManager.py:
20223 s/Quality/Strength/
20225 * examples/python/systray/network_tray.py:
20226 Lots of little changes and fixes. been rotting for a while so I
20227 figured I'd finally sync them all with CVS
20229 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20231 * configure.in: Add graphics
20233 * panel-applet/Makefile.am: Add graphics
20235 * panel-applet/icons/*: Add graphics
20237 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20238 the icons fully lined up.
20240 * panel-applet/menu-info.c:
20241 * panel-applet/menu-info.h: Add another menu type.
20243 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20245 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20247 * panel-applet/menu-item.[ch]: Wireless menu item.
20249 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20251 * info-daemon/NetworkManagerInfo.conf
20252 - Created a more robust security policy for the DBus service
20253 - everything is denied by default
20254 - root can own and send to the service
20255 - users logged in at the console can send to the service
20257 2004-09-13 Dan Williams <dcbw@redhat.com>
20259 * src/NetworkManagerDevice.c
20260 - (nm_device_get_essid): use iw_get_basic_config() rather than
20261 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20264 2004-09-13 Dan Williams <dcbw@redhat.com>
20268 * docs/NetworkManager DBUS API.txt
20269 - Update for new signal strength changes
20271 * panel-applet/NMWirelessApplet.c
20272 - Make panel icon show strength of the current connection
20273 - Cleanups and memleak fixes
20275 * panel-applet/NMWirelessApplet.h
20276 - Add data members for signal strength on devices and networks
20278 * panel-applet/NMWirelessAppletDbus.c
20279 - Free more DBusErrors
20280 - Update for new signal strength changes
20281 - Make devices and networks more like real objects, use ref/unref methods
20282 - Actually unlock the mutex when updating the active device
20284 * src/NetworkManagerAP.c
20285 - Change AP functions and data members from "quality"->"strength"
20287 * src/NetworkManagerDbus.c
20288 - Kill "getMaxQuality" and "getQuality" methods
20289 - Add "getStrength" methods for Networks and Devices
20291 * src/NetworkManagerDevice.[ch]
20292 - Add accessors for device strength
20293 - Add functions to update strength for a device. Note that not all drivers
20294 actually support signal strength for scanned access points (Atmel drivers
20296 - Calculate signal strength for each AP during scan
20298 * src/NetworkManagerWireless.[ch]
20299 - Add function to return signal strength % from a device and a raw quality struct
20301 * test/nmclienttest.c
20302 - Update for new signal strength changes
20304 2004-09-11 Dan Williams <dcbw@redhat.com>
20306 * src/NetworkManager.c
20307 - Fix race condition between initscripts and NM on card insertion
20308 which could cause a card to keep an IP address and routes around
20309 even when it was not the active device
20311 * src/NetworkManagerDbus.c
20312 - Fix compile errors, free more DBusErrors
20314 2004-09-11 Dan Williams <dcbw@redhat.com>
20316 * docs/NetworkManager DBUS API.txt
20317 - Add an explanation of NM's API
20319 * src/NetworkManagerDbus.c
20320 - Free some more DBusErrors if needed
20322 2004-09-11 Dan Williams <dcbw@redhat.com>
20324 * panel-applet/NMWirelessApplet.c
20325 panel-applet/NMWirelessAppletDbus.c
20326 - Start using NetworkDevice/WirelessNetwork structures in more places
20327 - Update for unified device/network forcing in NetworkManager
20329 * src/NetworkManager.c
20330 - some code consolidation
20332 * src/NetworkManagerDbus.c
20333 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20334 or two arguments: the first is the NM ID of the device to switch to,
20335 and the second (optional) argument is the ESSID of a wireless network
20337 - Get rid of "setNetwork" method due to above change
20339 * src/NetworkManagerDevice.c
20340 - (nm_device_new): perform scan and update best AP on device creation
20341 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20342 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20343 spin waiting for cancellation to finish before returning
20345 * src/NetworkManagerPolicy.c
20346 - Changes here clarify the situations in which a device switch occurs, and
20347 make sure to keep using a forced device and network if the user gives
20349 - Remove old unused code
20351 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20353 * configure.in: Added Danish (da) to ALL_LINGUAS.
20355 2004-09-09 Dan Williams <dcbw@redhat.com>
20357 * panel-applet/NMWirelessAppletDbus.c
20358 - Pull fresh devices and networks from NM when wireless networks
20359 change. Provides faster feedback of a forced wireless network
20361 * src/NetworkManagerDbus.c
20362 - Return error when "getMaxQuality" is called on a wired device
20363 - Make best_ap freezing actually work again, and signal cancellation
20364 of activation if there's already a device activation when the user
20365 freezes the best_ap
20367 * src/NetworkManagerDevice.c
20368 - Don't clear out the best_ap for wireless devices when the link goes
20369 down, that's done elsewhere
20370 - Kill any dhcp daemons when cancelling device activation since they
20371 may be stuck waiting for a DHCP address, and since we're cancelling
20372 activation we don't care about that anymore
20374 * src/NetworkManagerPolicy.c
20375 - Make sure to unref the device we ref earlier (we refed it to make sure
20376 it stuck around during device activation and such)
20377 - If we were going to change the best device, but its activating currently
20378 (and therefore the change didn't occur due to the check earlier)
20379 we mark the state changed to we come back to it later when device
20380 activation has canceled and its no longer activating
20382 * src/backends/NetworkManagerRedHat.c
20383 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20385 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20387 * info-daemon/passphrase.glade:
20388 set passphrase input to activates_default : True
20390 * examples/python/systray/network_tray.py
20391 (network_tray.sort_networks):
20393 Added support for having wireless always scanning
20395 2004-09-09 Dan Williams <dcbw@redhat.com>
20397 NOTE: this commit changes the behavior of wireless devices in
20398 NetworkManager. They are now up all the time, scanning all
20399 the time. Only the active device has an IP address and routing
20400 information set up however. Also, NetworkManager will no longer
20401 opportunistically switch wireless networks when a better one
20402 comes in range, it will remain associated with one wireless network
20403 until that one drops out.
20405 * panel-applet/NMWirelessApplet.c
20406 panel-applet/NMWirelessAppletDbus.c
20407 - List all wireless cards and their respective networks
20409 * src/NMLoadModules
20410 - Use full path to /sbin/ip
20412 * src/NetworkManager.c
20413 - Keep wireless devices up all the time so they can scan
20415 * src/NetworkManagerDbus.c
20416 - On a WirelessNetworkUpdate signal from NMI, don't update
20419 * src/NetworkManagerDevice.c
20420 - (nm_device_set_link_active): clear out the best ap for
20421 wireless devices when the link is set to FALSE
20422 - Scan on all wireless cards, all the time
20423 - (nm_device_activation_worker): split out the wireless card
20424 link-waiting code to a separate function
20425 - Keep wireless cards up even if device activation fails
20426 - Don't update the "best" ap as much
20428 * src/NetworkManagerPolicy.c
20429 - Don't update the best ap when checking if its frozen,
20430 let link checking clear out a frozen best ap for us
20432 * src/NetworkManagerWireless.c
20433 - Scan on all wireless cards, all the time
20435 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20437 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20439 2004-09-09 Ankit Patel <ankit@redhat.com>
20441 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20443 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20445 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20447 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20449 * examples/python/NetworkManager.py:
20450 added CONNECTED, CONNECTING, and DISCONNECTED states
20451 added methods to return number of devices of a single type
20453 * examples/python/systray/network_tray.py:
20454 did some tweaks to get the menu looking near what it is supposed
20455 to look like. Also did a Airo card hack to make it show the
20458 2004-09-08 Dan Williams <dcbw@redhat.com>
20460 * panel-applet/no-networkmanager.png
20461 panel-applet/Makefile.am
20462 panel-applet/NMWirelessApplet.c
20463 - Add a "NetworkManager not running" icon and use it
20464 - Use new consolidated GConf keys rather than Preferred/Trusted
20468 * info-daemon/NetworkManagerInfo.c
20469 info-daemon/NetworkManagerInfoDbus.[ch]
20470 info-daemon/NetworkManagerInfoPassphraseDialog.c
20471 - There are now no longer two separate lists of wireless networks,
20472 but one list where each network is "trusted" or not trusted
20473 - Add a "getNetworkTrusted" dbus method
20474 - "WirelessNetworkUpdate" signal now sent rather than
20475 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20476 - Start freeing some dbus errors (not completed yet)
20478 * info-daemon/passphrase.glade
20479 - Remove the "don't show" hints for pager and taskbar
20480 - Add a title since its going to be in the taskbar
20482 * src/NetworkManager.[ch]
20483 src/NetworkManagerAPList.[ch]
20484 - There are now no longer two separate lists of wireless networks,
20485 but one list where each network is "trusted" or not trusted
20487 * src/NetworkManagerAP.[ch]
20488 - Add get/set "trusted" accessors and data bit
20490 * src/NetworkManagerDbus.[ch]
20491 - Add function to get "trusted" status of a network from NetworkManagerInfo
20492 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20494 * src/NetworkManagerDevice.[ch]
20495 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20496 - (nm_device_new): Get device config from backend when initializing devices
20497 - (nm_device_activation_worker): Split out device configuration on
20498 activation to deal with static/dynamic IP differences, and try encryption
20499 fallbacks on a device if the encryption method for the best AP is not good
20500 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20501 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20503 * src/NetworkManagerWireless.c
20504 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20506 * src/backends/NetworkManagerRedHat.c
20507 src/backends/NetworkManagerSystem.h
20508 - (nm_system_device_update_config_info): Add function to get device configuration
20509 from system data in ifcfg-* files
20511 * src/backends/NetworkManagerDebian.c
20512 src/backends/NetworkManagerGentoo.c
20513 src/backends/NetworkManagerSlackware.c
20514 - Add stub functions for getting device configuration
20516 2004-09-07 Dan Williams <dcbw@redhat.com>
20518 * src/backends/NetworkManagerRedhat.c
20519 src/backends/NetworkManagerSlackware.c
20520 - Use full path to /sbin/ip everywhere
20522 2004-09-07 Dan Williams <dcbw@redhat.com>
20524 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20527 initscript/Makefile.am
20528 initscript/Slackware/Makfile.am
20529 initscript/Slackware/rc.networkmanager
20531 src/backends/NetworkManagerSlackware.c
20532 - Add Slackware support
20534 2004-09-07 Dan Williams <dcbw@redhat.com>
20536 Patches below from:
20538 Mark Roach <mrroach@okmaybe.com>
20539 Thom May <thom@debian.org>
20542 initscript/Debian/NetworkManager
20543 initscript/Debian/Makefile.am
20544 - Initscript for Debian
20546 * src/backends/NetworkManagerDebian.c
20547 - Add missing system init function to allow compilation
20550 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20552 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20554 2004-09-03 Akagic Amila <bono@linux.org.ba>
20556 * configure.in: Added 'bs' to ALL_LINGUAS.
20558 2004-09-02 Colin Walters <walters@verbum.org>
20560 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20561 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20562 g_strdup_printf instead of arbitrarily sized buffers.
20564 2004-09-01 Colin Walters <walters@verbum.org>
20566 * NetworkManager.pc.in: New file.
20568 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20570 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20572 * configure.in: Punjabi(pa) is added to po/.
20574 2004-08-31 Dan Williams <dcbw@redhat.com>
20576 * Remove 'debug' extern global from all files since we now
20579 * src/NetworkManager.[ch]
20580 - Break out routine that get the net.interface property from HAL,
20581 removing that logic from nm_create_device_and_add_to_list()
20582 - (nm_create_device_and_add_to_list): make this a bit more general so
20583 it doesn't do the talking to HAL. Also add arguments to facilitate
20584 the create of test devices.
20585 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20586 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20587 which makes NetworkManager listen for dbus commands to create test
20588 devices, which have no backing hardware. Use when you're on a plane
20589 for example, and/or forgot your wireless card at home. Test devices
20590 _cannot_ be created unless NM is started with --enable-test-devices.
20592 * src/NetworkManagerDbus.[ch]
20593 - New "getLinkActive" method for devices
20594 - New "setLinkActive" method for devices (only works on test devices)
20595 - New "createTestDevice" method on NetworkManager object to create a test
20596 device of a specified type (ie wired, wireless). UDI is created from
20597 scratch, as is the interface name. Only works when NM is started with
20598 --enable-test-devices switch.
20599 - New "removeTestDevice" method on NetworkManager object which removes a
20600 test device. Only works when NM is started with --enable-test-devices
20602 * src/NetworkManagerDevice.[ch]
20603 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20604 whether a device is a test device or not, and what its link status is.
20605 - Deal with test devices in most functions. For those that work directly on hardware
20606 special-case test devices.
20607 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20609 - (nm_device_update_link_active): split out logic for wired and wireless device link
20610 checking to separate functions to facilitate test device link checking.
20611 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20612 don't make a distinction between System Authentication and Encryption
20613 (namely Cisco aironet), we use Open System auth when setting a WEP key
20614 on the card. We don't deal with Shared Key auth yet.
20615 - (nm_device_activation_worker): split the activation cancel check logic out into
20616 a separate routine nm_device_activation_cancel_if_needed()
20617 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20618 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20619 a list of fake access points that they can "see"
20620 - (nm_device_is_test_device): return whether or not a device is a test device
20622 * src/NetworkManagerPolicy.c
20623 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20624 previously if you "locked"/forced NM to use a wireless device but then
20625 selected a wireless network for NM to use, it would switch to a wired device.
20626 So, if the active device is wireless and it has a "forced" best AP, use it
20627 if the "forced" best AP is still valid
20628 - (nm_state_modification_monitor): deal with NULL best devices, for example
20629 there were no usable network devices, or the last one was removed
20631 * src/backends/NetworkManager*.c
20632 - Deal with test devices, mostly just return success for operations like getting
20635 * test/nmtestdevices.c
20636 - Test tool to create/remove/link-switch test devices
20638 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20640 * examples/python/NetworkManager.py:
20641 added convience functions has_wired_device and has_wireless_device
20643 * examples/python/systray/network_tray.py:
20644 cleaned up a bunch of cruft, added support for listing wireless
20645 networks just like the real applet. This is probably all I'm
20646 going to work on this applet from now on.
20647 TODO: add support for actually changing networks and devices
20649 * examples/python/NetworkManager.py (NetworkManager.get_device):
20650 changed "nm.networks" into a dict from a list so I can store all
20651 the cool information about networks in there
20653 * examples/python/systray/network_tray.py:
20654 Added nice message when you try to run without running make first
20656 * examples/python/NetworkManager.py:
20657 Bug fixes to the code so we get all the device information
20658 that we need in get_device()
20660 * examples/python/NMTester.py:
20661 Fixed _print_device_list to print_device_list
20663 2004-08-29 Seth Nickell <seth@gnome.org>
20667 Actually properly setup the Debian backend in configure.
20669 2004-08-29 Colin Walters <walters@verbum.org>
20671 * test/nminfotest.c: Include string.h and stdlib.h.
20672 (get_network_string_property, get_networks_of_type): Return NULL.
20674 * test/nmclienttest.c (get_device_name, get_active_device): Return
20677 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20678 use strlen, fgets always NULL-terminates the string.
20680 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20681 dbus_message_get_member): Remove /* in comment.
20683 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20685 * src/NetworkManager.c (quit): Unused, delete.
20686 (nm_data_free): Cast arg to GFunc.
20688 * panel-applet/NMWirelessAppletDbus.c: Need to include
20689 string.h, and dbus-glib-lowlevel.h (the latter is needed
20690 for dbus_connection_setup_with_g_main at present).
20691 (nmwa_dbus_update_wireless_network_list): Parenthesize
20692 assignment in conditional.
20693 (nmwa_dbus_worker): Return NULL.
20695 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20696 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20697 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20698 (nmwa_populate_menu): Return NULL on failure, instead of just
20701 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20703 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20706 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20709 2004-08-29 Colin Walters <walters@verbum.org>
20711 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20712 a GTimeVal instead of time_t. This is easier to work with,
20713 since time_t may be a long or double, we don't know.
20715 * src/NetworkManagerDbus.h: Update prototype.
20717 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20719 (nm_ap_get_timestamp): Update to return GTimeVal.
20720 (nm_ap_set_timestamp): Update to take GTimeVal.
20722 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20723 to handle GTimeVal.
20725 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20727 (nm_ap_list_print_members): Fix warnings in printf format.
20729 2004-08-29 Colin Walters <walters@verbum.org>
20731 * panel-applet/NMWirelessApplet.c: Include config.h.
20733 2004-08-29 Colin Walters <walters@verbum.org>
20735 * configure.in: Generate config.h.
20737 * configure.in: Dump dependency on OpenSSL; we can't
20738 use it since this package is GPL:
20739 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20740 Instead, check for libgcrypt, use it if available,
20741 otherwise use included MD5 code.
20743 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20744 Suck in from gnome-keyring, munge a bit.
20746 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20747 gnome-keyring-md5.h gnome-keyring-md5.c.
20748 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20750 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20751 libgcrypt or included gnome-keyring md5 bits.
20752 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20754 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20756 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20758 2004-08-27 Bryan Clark <bclark@redhat.com>
20760 * examples/python/systray/Makefile:
20762 Updated the clean section
20764 * examples/python/systray/trayiconmodule.c:
20765 * examples/python/systray/trayicon.override:
20766 * examples/python/systray/network_tray.py:
20767 * examples/python/systray/eggtrayicon.h:
20768 * examples/python/systray/eggtrayicon.c:
20769 * examples/python/systray/Makefile:
20770 * examples/python/README:
20771 * examples/python/NetworkManager.py:
20772 * examples/python/NMTester.py:
20774 Initial commit of these python example files
20776 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20778 * panel-applet/NMWirelessApplet.c
20779 - Make current device bold
20780 - Show more user-friendly device name if we got one from hal
20782 * panel-applet/NMWirelessAppletDbus.c
20783 - Grab "info.product" key from hal for network devices
20784 - Cache the current active device
20786 2004-08-27 Adam Weinberger <adamw@gnome.org>
20788 * configure.in: Added en_CA to ALL_LINGUAS.
20790 2004-08-27 Christian Rose <menthos@menthos.com>
20792 * configure.in: Added "sv" to ALL_LINGUAS.
20794 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20796 * Tag NetworkManager-0.2
20798 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20800 * initscripts/Makefile.am
20801 * configure.in: Make pass distcheck
20803 * po/ChangeLog: added
20805 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20807 * panel-applet/NMWirelessApplet.c
20808 - Remove debugging code
20809 - Enable device switching from menus
20811 * panel-applet/NMWirelessAppletDbus.[ch]
20812 - Method for asking NM to switch devices
20814 * src/NetworkManagerDevice.c
20815 - Set dev->activating earlier, avoids race between
20816 the dbus signal of "DeviceActivating" and setting
20817 dev->activating (which is what NM's "status" method call
20820 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20822 * panel-applet/NMWirelessApplet.[ch]
20823 - Rework menu code to add devices to menu, and to show
20824 signal strength for each access point. Code cleanups
20827 * panel-applet/NMWirelessAppletDbus.c
20828 - Grab network devices from NetworkManager too
20829 - Grab quality information from NM for wireless networks
20831 * src/NetworkManagerDbus.[ch]
20832 - Add dbus methods for getting the HAL UDI from a device and
20833 for getting its base quality, if its wireless
20834 - Consolidate some functions (wireless network notifications,
20835 device notifications)
20836 - Add method for requesting NM to use a particular device
20838 * src/NetworkManager.c
20839 - Change for function consolidations from NetworkManagerDbus.c
20840 - Implement active device locking and user-requested devices
20841 (ie, tell NM to use a particular device instead of the one
20844 * src/NetworkManagerDevice.c
20845 - Add method for getting the base quality of a device, if its
20847 - Grab device base quailty info from iwlib during scans
20849 * src/NetworkManagerPolicy.c
20850 - Use a user-requested device rather than the auto-chosen device
20853 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20855 * Makefile.am: add po as a supdir
20857 * autogen.sh: use gnome-autogen.sh
20859 * initscript/Gentoo/.cvsignore:
20860 * initscript/RedHat/.cvsignore: Shut up cvs
20862 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20864 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20865 (nmwa_fill): Use gettext.
20867 * configure.in: add gettext support
20869 * po/NetworkManager.pot:
20872 2004-08-26 Seth Nickell <seth@gnome.org>
20874 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20875 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20876 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20877 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20878 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20879 * panel-applet/NMWirelessApplet.h:
20881 Use a menu bar instead of a button for the main clickable
20884 2004-08-25 Dan Williams <dcbw@redhat.com>
20886 * src/NetworkManagerDevice.c
20887 - (nm_device_set_enc_key): always set device to "open" mode instead of
20888 turning encryption off, because the Cisco driver doesn't associate
20889 with WEP-enabled access points unless we are in "open"
20891 2004-08-25 Dan Williams <dcbw@redhat.com>
20893 * src/NetworkManagerWireless.c
20894 - Don't try to defererence blank passphrases
20896 2004-08-25 Dan Williams <dcbw@redhat.com>
20898 * panel-applet/NMWirelessApplet.c
20899 - Rebuild the menu whenever a user clicks
20901 2004-08-25 Dan Williams <dcbw@redhat.com>
20903 * panel-applet/NMWirelessApplet.c
20904 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20905 when NM isn't around or when its not connected
20907 * src/NetworkManagerDevice.c
20908 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20911 2004-08-25 Dan Williams <dcbw@redhat.com>
20913 * panel-applet/NMWirelessAppletDbus.c
20914 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20915 for getting encryption, and don't stop on "val" once we've gotten it
20916 from NetworkManager. Short form: encryption should now show up.
20918 2004-08-25 Dan Williams <dcbw@redhat.com>
20920 * panel-applet/NMWirelessApplet.c
20921 - Set ESSID on a gconf trusted network too when force-setting the wireless
20922 network to associate with
20924 2004-08-25 Dan Williams <dcbw@redhat.com>
20927 - Rework the panel applet to do all DBUS communication in a separate
20930 2004-08-25 Dan Williams <dcbw@redhat.com>
20932 * info-daemon/NetworkManagerInfo.[ch]
20933 - Remove "get_next_priority" function
20935 * info-daemon/NetworkManagerInfoDbus.[ch]
20936 - Convert "priority" functions to "timestamp"
20938 2004-08-25 Dan Williams <dcbw@redhat.com>
20940 * src/NetworkManagerAP.[ch]
20941 - Add a "enc_method_good" member and accessors to an Access Point
20942 to signal when we've found the correct encryption method
20943 for an access point
20944 - Add a "timestamp" member and accessors, remove "priority" member
20945 and accessors (use timestamps instead)
20946 - Rename "wep_key"->"enc_key"
20947 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20948 for a specified encryption method using the access points
20949 source encryption key/passphrase
20951 * src/NetworkManagerAPList.c
20952 - When updating a network with dbus, grab timestamp now instead of
20955 * src/NetworkManagerDBus.[ch]
20956 - Add signal for "DeviceActivating"
20957 - Switch priority->timestamp
20959 * src/NetworkManagerDevice.c
20960 - Change references of "wep_key" -> "enc_key" or "key"
20961 - Signal DeviceActivating when starting activation
20962 - When activating a wireless device, if the access point we are connecting
20963 to is encrypted, and we have a source key, try to generate a mangled
20964 key and use that (ie, generate real WEP key from a passphrase)
20965 - Rework device activation to fallback to other encryption methods if
20966 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20967 first, then if that doesn't work fall back to direct hex key).
20968 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20969 priority. We now prefer the latest access point used, rather than using
20971 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20972 points we've just discovered, and merge in correct info from the global
20975 2004-08-25 Seth Nickell <seth@gnome.org>
20977 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20981 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20982 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20983 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20984 (nm_system_delete_default_route),
20985 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20986 (nm_system_load_device_modules):
20988 2004-08-24 Dan Willemsen <dan@willemsen.us>
20990 * src/NetworkManager.c
20991 src/backends/NetworkManagerGentoo.c
20992 src/backends/NetworkManagerRedHat.c
20993 src/backends/NetworkManagerSystem.h
20994 - Implement preliminary Gentoo support, adding a
20995 nm_system_init function to the backend specification
20998 - Distribution auto-detection, lowercase any user-fed
21001 * initscript/.cvsignore
21002 initscript/Makefile.am
21003 initscript/RedHat/Makefile.am
21004 initscript/RedHat/NetworkManager
21005 initscript/Gentoo/Makefile.am
21006 initscript/Gentoo/NetworkManager
21007 - Refactored initscript code separately for each
21010 2004-08-23 Dan Williams <dcbw@redhat.com>
21014 src/NetworkManagerDevice.c
21015 src/NetworkManager.c
21016 src/NetworkManagerUtils.[ch]
21017 src/backends/NetworkManagerSystem.h
21018 src/backends/NetworkManagerRedHat.c
21019 src/backends/NetworkManagerGentoo.c
21020 - Refactor system-specific code into separate backends for
21023 2004-08-23 Dan Willemsen <dan@willemsen.us>
21025 * dispatcher-daemon/NetworkManagerDispatcher.c
21026 info-daemon/NetworkManagerInfo.[ch]
21027 info-daemon/NetworkManagerInfoDbus.c
21028 info-daemon/NetworkManagerInfoPassphraseDialog.c
21029 src/NetworkManager.c
21030 src/NetworkManagerAP.c
21031 src/NetworkManagerAPList.c
21032 src/NetworkManagerDbus.c
21033 src/NetworkManagerDevice.c
21034 src/NetworkManagerPolicy.c
21035 src/NetworkManagerUtils.[ch]
21036 src/NetworkManagerWireless.c
21037 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21039 * src/NetworkManager.c
21040 - Fixed usage wording for --no-daemon
21042 2004-08-23 Dan Williams <dcbw@redhat.com>
21044 * panel-applet/NMWirelessApplet.c
21045 - Update our state every second to get more responsive panel icon
21046 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21047 was causing our marching ants status blips to never move when
21048 looking for a wireless network
21050 * src/NetworkManagerDevice.c
21051 - (nm_device_activation_begin): return if activation has already begun
21052 - (nm_device_do_normal_scan): merge WEP key and priority from the
21053 trusted/preferred network into the device's access point when the
21054 scan list is processed
21056 2004-08-23 Dan Williams <dcbw@redhat.com>
21058 * initscript/NetworkManager
21059 - Use NMLaunchHelper rather than sleeping
21061 * initscript/NMLaunchHelper.c
21063 - Add helper program that exits only when NM activates a device,
21064 or 10 seconds have passed, whichever happens first. This
21065 stops the boot processes until we have a network connection,
21066 which NM can't do because it daemonizes and brings the connection
21067 up in the background. Allows stuff like NFS to not die.
21069 2004-08-20 Dan Williams <dcbw@redhat.com>
21071 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21072 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21073 for a network, set the essid as well since it may not exist yet
21074 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21075 since WEP keys/passphrases are long and prone to entry-error
21077 * panel-applet/Makefile.am
21078 panel-applet/wired.png
21079 - Add (pulled from system-config-network temporarily)
21081 * panel-applet/NMWirelessApplet.[ch]
21082 - Show wired picture when a wired connection is used
21083 - Rename wireless icon enums, adding WIRELESS
21085 * src/NetworkManagerDevice.c
21086 - (nm_device_activate_wireless): unset encryption before bringing
21087 down the card and setting the essid
21088 - (nm_device_activatin_worker): request a key from the user if the
21089 AP we are connecting to is encrypted but we don't have a key
21091 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21092 strcmp() that prevented a user-entered key from actually getting
21095 2004-08-16 Dan Williams <dcbw@redhat.com>
21097 * initscript/NetworkManager
21098 - Check for /sbin/ip
21099 - Do sysctl magic that network service does
21100 - sleep 4s after start to allow network time to come up [hack]
21104 - Load all network device kernel modules (hal doesn't know devices
21105 are ethernet until the module is loaded, and therefore we don't know)
21107 * src/NetworkManager.c
21108 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21109 network devices, and bring up the loopback device explicitly
21111 * src/NetworkManagerUtils.[ch]
21112 - (nm_enable_loopback): new function
21114 2004-08-13 Dan Williams <dcbw@redhat.com>
21117 panel-applet/Makefile.am
21118 - Fix up cleanfiles and server_DATA/server_in_files
21121 - Update with some comments on theory of operation
21127 2004-08-12 Dan Williams <dcbw@redhat.com>
21129 * info-daemon/passphrase.glade
21130 - Set window title to " "
21132 * panel-applet/Makefile.am
21133 panel-applet/keyring.png
21134 - Deliver to correct place
21136 * panel-applet/NMWirelessApplet.[ch]
21138 - Remove applet->have_active_device as its no longer used
21139 - (nmwa_load_theme): load keyring.png too
21140 - (error_dialog): remove
21141 - (show_warning_dialog): subsume functionality of error dialog too
21142 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21143 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21145 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21146 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21147 and when we get broadcasts of changed wireless access points only, not when the
21148 user clicks on the button to display the menu (too long of a wait)
21149 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21150 networks that are encrypted
21151 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21152 menu item with g_object_set_data()
21154 * panel-applet/NMWirelessAppletDbus.[ch]
21155 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21156 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21157 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21158 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21159 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21160 activation/deactivation signals and rebuild the menu when they happen
21162 * src/NetworkManager.c
21163 - (main): use new nm_spawn_process() rather than system()
21165 * src/NetworkManagerDbus.c
21166 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21167 instead. Since we can now force best_aps to stick around, the AP structure to which
21168 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21169 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21170 to freeze the best_ap.
21172 * src/NetworkManagerDevice.[ch]
21173 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21174 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21175 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21178 * src/NetworkManagerUtils.[ch]
21179 - (nm_spawn_process): add replacement for system() usage
21181 2004-08-11 Dan Williams <dcbw@redhat.com>
21183 * panel-applet/NMWirelessApplet.[ch]
21184 - Fix up copyright and credits to include Bastien and Eskil,
21185 who created the gnome-applets wireless applet, from whose
21186 skeleton this one was created
21187 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21188 pixmap to draw is computed during nmwa_update_state()
21189 - Applet now shows itself all the time due to panel packing issues
21190 which caused the applet to previously never come back after hiding.
21191 When a wired device is the active device, the applet shows "not connected"
21193 * panel-applet/NMWirelessAppletDbus.[ch]
21194 - Clean up error messages and show what function they are from
21195 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21196 - Add new device type getters, and a status getter
21198 * src/NetworkManagerDbus.c
21199 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21200 network is actually in the device's ap list
21201 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21203 * src/NetworkManagerDevice.c
21204 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21207 * test/nmclienttest.c
21208 - Report status of NetworkManager too
21210 2004-08-11 Dan Williams <dcbw@redhat.com>
21212 * info-daemon/NetworkManagerInfo.c:
21213 - (main): clean up Seth's code style
21215 * info-daemon/NetworkManagerInfoDbus.c:
21216 - Use the more aptly-named path/service/interface constants from NetworkManager
21217 - Don't return empty strings ("") as object paths ever, instead return errors
21219 * panel-applet/NMWirelessApplet.c:
21220 - Clean up Seth's code style
21222 * src/NetworkManager.[ch]
21223 - (nm_remove_device_from_list): remove anything having to do with pending_device
21224 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21226 * src/NetworkManagerAPList.[ch]
21227 - Move Iter struct right above the iter functions to preserve opacity
21228 - (nm_ap_list_remove_ap): implement
21229 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21230 remove AP if NetworkManagerInfo doesn't know anything about it
21231 - (nm_ap_list_diff): user NMAPList iterators
21232 - (nm_ap_list_print_members): implement debugging function
21234 * src/NetworkManagerDbus.[ch]
21235 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21236 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21237 and move the actual key setting stuff into NetworkManagerDevice.c
21238 - (nm_dbus_get_network_priority): return -1 now on errors
21239 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21240 get lost, and force the active device to update its "best" ap when AP lists change
21241 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21242 method call due to pending_device member removal
21244 * src/NetworkManagerDevice.[ch]
21245 - Move NMDevice structure to the top
21246 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21247 - Remove Pending Action stuff from everywhere
21248 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21249 activation for us. This thread blocks until all conditions for activation have
21250 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21251 then setup up the interface and runs dhclient. We have to do this because there
21252 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21253 run our main loop and respond to dbus method calls or HAL device removals/inserts
21254 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21255 can tell nm_device_activation_worker() that we've got a key
21256 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21257 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21258 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21259 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21261 * src/NetworkManagerPolicy.c
21262 - Remove anything to do with pending_device
21263 - Adjust device activation to deal with activation-in-worker-thread
21265 * src/NetworkManagerUtils.c
21266 - Clean up locking debugging a bit
21268 * src/NetworkManagerWireless.[ch]
21269 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21270 was badly named and is better as a device function
21272 * panel-applet/.cvsignore: add
21274 2004-08-09 Seth Nickell <seth@gnome.org>
21276 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21277 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21279 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21281 Don't load the menus until clicked on (also removes a call outside
21282 normal code paths at first load).
21284 Hide applet when NM is not present.
21286 Improve printf debugging stuff.
21288 2004-08-09 Dan Williams <dcbw@redhat.com>
21290 * dispatcher-daemon/NetworkManagerDispatcher.c:
21291 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21292 - Use constants for NetworkManager interface, service, and path
21294 2004-08-09 Dan Williams <dcbw@redhat.com>
21296 * src/NetworkManagerDbus.c:
21297 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21298 instead return an error message
21299 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21300 on a wired device. Also never return an empty object path, instead return an error message
21302 2004-08-06 Seth Nickell <seth@gnome.org>
21304 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21306 Check the error code when getting a connection.
21308 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21310 Check if the NM service exists when initializing (rather than
21311 assuming it does not).
21313 * src/NetworkManagerDbus.c: (nm_dbus_init):
21315 Don't acquire the well-known service name until we have
21316 registered object/path handlers and can actually receive
21319 2004-08-06 Dan Williams <dcbw@redhat.com>
21324 * src/NetworkManagerPolicy.c
21325 src/NetworkManager.c
21326 - Get access point lists from NetworkManagerInfo on-demand,
21327 and look for ServiceCreate/ServiceDeleted signals to see when
21328 we should query NMI for lists
21329 * src/NetworkManagerAPList.c
21330 - Make sure to init the list's mutex
21331 - Convert traversals of the list over to the list iter functions
21333 * src/NetworkManagerDbus.[ch]
21334 - Use more aptly-named path/service/interface constants
21335 - Treat both active and pending devices the same for "getActiveDevice"
21336 - Add a "status" method returning "connected", "connecting", or "disconnected"
21338 * src/NetworkManagerDevice.c
21339 - Honor "ignored" network list when picking best ap to use
21341 2004-08-06 Seth Nickell <seth@gnome.org>
21345 Autogenerated, remove from CVS.
21349 Don't hardcode automake version.
21352 * info-daemon/Makefile.am:
21353 * info-daemon/NetworkManagerInfo.c: (main):
21355 Use GnomeProgram et al. for doing session management.
21356 Use popt stuff for argument parsing rather than doing
21359 2004-08-05 Dan Williams <dcbw@redhat.com>
21361 * test/nminfotest.c
21362 - Update to new NMI dbus API, check different network types
21364 * info-daemon/NetworkManagerInfoDbus.c
21365 - Update to new NM dbus API, ie network type sent in query message
21367 2004-08-05 Dan Williams <dcbw@redhat.com>
21369 * An assload of changes
21371 2004-08-02 Dan Williams <dcbw@redhat.com>
21374 - new task: proper logging support
21376 * info-daemon/NetworkManagerInfo.c
21377 - Correct spelling of "canceled"
21378 - Correct casting of objects for g_signal_connect()
21380 * info-daemon/NetworkManagerInfoDbus.c
21381 - Add defines for NetworkManager namespace and object path, and use them
21382 - Add filter function to trap new signals from NetworkManager:
21383 WirelessNetworkAppeared, WirelessNetworkDisappeared
21385 * info-daemon/passphrase.glade
21386 - Change name of "ok" button to "Login to Network..."
21389 * src/NetworkManager.c
21390 - Code and debug message cleanups
21391 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21392 - (nm_add_initial_devices) Check returned string array of devices
21393 and don't try to add devices if array is NULL
21394 - (main) Initialize libhal a bit later, make code a bit clearer
21396 * src/NetworkManagerAP.[ch]
21397 - New accessor and data member "matched": used to speed up AP list
21399 - New accessor and data member "enc_method": will be used during key
21400 fallback to cache which passphrase->key conversion actually works
21401 so we don't have to do it every time
21403 * src/NetworkManagerAPList.[ch]
21404 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21405 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21406 between them, and send WirelessNetworkAppeared/Disappeared signals over
21407 dbus in response to those differences
21409 * src/NetworkManagerDbus.[ch]
21410 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21411 make an object path for that access point (NOTE that we don't yet check to
21412 make sure that access point is actually in the device's AP list yet)
21413 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21414 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21415 New: signal appearance/disappearance of wireless networks
21416 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21419 * src/NetworkManagerDevice.[ch]
21420 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21421 - (nm_device_ap_list_get) New: return the AP list (static function)
21422 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21423 new one resulting from the scan with the old one
21425 * src/NetworkManagerWireless.c
21426 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21428 * test/nminfotest.c
21429 - #define object paths and namespaces and use the #defines rather than static strings
21430 - Test out user-key functionality of NetworkManagerInfo too
21432 2004-07-29 Dan Williams <dcbw@redhat.com>
21434 * info-daemon/NetworkManagerInfoDbus.c
21435 src/NetworkManagerDbus.c
21436 - Update to current DBus (ie don't use decomposed paths when registering
21437 object paths/fallbacks)
21439 2004-07-27 Dan Williams <dcbw@redhat.com>
21441 * Remove various Makefile.in files
21444 - Add some more items
21447 - Add checks for OpenSSL/md5 headers and libs
21450 - Use OpenSSL CFLAGS
21452 * src/NetworkManagerAP.[ch]
21453 - Remove 'stamp' functions, replace with 'invalid' functions
21454 to support user cancelling WEP key entry
21456 * src/NetworkManagerDbus.c
21457 - Remove 'stamp' return functions
21458 - Treat returned user key as a passphrase and convert to a WEP key,
21459 but don't actually use the WEP key yet. We use the returned user
21460 key as a hexadecimal WEP key until we can figure out a UI for
21461 passphrase-vs-hex key
21463 * src/NetworkManagerWireless.[ch]
21464 - Add passphrase-to-128bit-key function
21466 2004-07-27 Dan Williams <dcbw@redhat.com>
21469 - Add a couple of items
21471 2004-07-27 Dan Williams <dcbw@redhat.com>
21473 * info-daemon/NetworkManagerInfo.c
21474 - Update allowed network's GConf key when user enters a WEP key explicitly
21476 * info-daemon/NetworkManagerDbus.c
21477 - Fix some comments
21478 - nmi_dbus_get_allowed_networks(): kill warning
21480 2004-07-27 Dan Williams <dcbw@redhat.com>
21482 * initscript/Makefile.in
21485 * initscript/Makefile.am
21486 - Add correct rules to install the init.d initscript
21488 * info-daemon/NetworkManagerInfoDbus.c
21489 - Remove debug fprintf
21491 * src/NetworkManagerDbus.[ch]
21492 - Remove debug fprintfs
21493 - Add macros for NetworkManagerInfo object path/namespace
21494 - Use said macros instead of constant strings
21496 2004-07-27 Dan Williams <dcbw@redhat.com>
21498 * initscript/.cvsignore
21501 * info-daemon/Makefile.am
21502 - Install .glade files and keyring.png
21503 - Fix stupid omission of a \ that caused half the flags not to be
21506 * info-daemon/NetworkManagerInfo.c
21507 - gtk_signal_connect->g_signal_connect
21508 - Alert NetworkManagerInfo to new glade file location
21510 2004-07-27 Dan Williams <dcbw@redhat.com>
21512 * test/nmclienttest.c
21514 - Add missing <dbus/dbus.h> headers
21515 - Add GPL message at top
21517 2004-07-27 Dan Williams <dcbw@redhat.com>
21519 * src/NetworkManagerAPList.[ch]
21521 - Add. Deal with allowed network list additions, deletions, and updates
21523 * dispatcher-daemon/NetworkManagerDispatcher.c
21524 - Add missing <dbus/dbus.h> header
21526 * info-daemon/NetworkManagerInfo.[ch]
21527 - Add missing <dbus/dbus.h> header
21528 - Implement the GConf notify callback to signal NetworkManager of an allowed
21530 - Better error checking
21532 * info-daemon/NetworkManagerInfoDbus.[ch]
21533 - Add missing <dbus/dbus.h> header
21534 - Convert to using dbus_message_append_args/dbus_message_get_args
21535 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21536 that an allowed network changed. We don't want to signal on individual
21537 keys _inside_ an allowed network really, just want NM to query the info
21538 daemon for updated info on all keys.
21539 - Better error checking
21541 * src/NetworkManager.[ch]
21542 - Add missing <dbus/dbus.h> header
21543 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21544 - Zero out NMData structure on free
21545 - No longer use a thread for allowed_ap_list updating, instead its now done
21546 through dbus queries against NetworkManagerInfo
21547 - Populate allowed_ap_list initially before adding existing network devices
21548 to the device list, so wireless devices can get their "best" AP
21550 * src/NetworkManagerDbus.[ch]
21551 - Convert to using dbus_message_append_args/dbus_message_get_args
21552 - Better error checking
21553 - Implement Allowed Network info functions to request allowed network
21554 info from NetworkManagerInfo
21555 - Implement the filter function to process signals from NetworkManagerInfo
21556 about changing allowed networks
21558 * src/NetworkManagerDevice.c
21559 - Fix file descriptor leak in nm_device_update_ip4_address()
21561 2004-07-27 Dan Williams <dcbw@redhat.com>
21566 dispatcher-daemon/.cvsignore
21567 info-daemon/.cvsignore
21568 - Add .cvsignore files to reduce noise when diffing
21570 2004-07-24 Dan Williams <dcbw@redhat.com>
21572 * src/NetworkManager.[ch]
21573 src/NetworkManagerDbus.[ch]
21574 src/NetworkManagerDevice.[ch]
21575 src/NetworkManagerPolicy.c
21576 src/NetworkManagerWireless.[ch]
21577 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21578 - Pass the NMData application data structure through all calls
21579 that need it so we can get rid of nm_get_global_data()
21580 - Change deallocation of the allowed_ap_list GSList in preparation
21581 for not completely clearing it every time we get an update,
21582 but instead getting incremental updates via GConf/dbus
21584 2004-07-22 Dan Williams <dcbw@redhat.com>
21587 - Add checks for GConf libs & headers & flags
21589 * info-daemon/Makefile.am
21590 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21592 * info-daemon/NetworkManagerInfo.[ch]
21593 - Don't use gquarks for data storage, just use normal data storage
21594 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21596 * info-daemon/NetworkManagerDbus.[ch]
21597 - Add method call for getting allowed networks
21598 - Add method calls for getting an allowed network's essid, priority, and key
21599 - Hook the method calls up to GConf
21600 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21601 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21603 * src/NetworkManagerDbus.[ch]
21604 - Switch for enumeration of networks to using essid instead
21608 - Add test program for NetworkManagerInfo
21610 2004-07-19 Dan Williams <dcbw@redhat.com>
21612 * src/NetworkManagerDbus.c
21613 - Switch from indexed device paths to names. Less code, more efficient.
21614 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21616 2004-07-19 Dan Williams <dcbw@redhat.com>
21618 * dispatcher-daemon/NetworkManagerDispatcher.c
21619 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21621 2004-07-19 Dan Williams <dcbw@redhat.com>
21624 - Add info-daemon directory
21627 - Check for glade libs and headers
21628 - Add info-daemon directory
21630 * src/NetworkManagerAP.c
21631 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21632 copied over to the new AP.
21634 * src/NetworkManagerDbus.c
21635 src/NetworkManagerDbus.h
21636 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21637 - Remove nm_dbus_signal_need_key_for_network()
21638 - Add disabled code for asynchronous user wep key callbacks
21639 - Add functions for getting, setting, and cancelling user key operations
21640 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21641 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21643 * src/NetworkManagerDevice.c
21644 src/NetworkManagerDevice.h
21645 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21646 logic is in device activation now
21647 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21648 key is wrong) trigger get-user-key pending action
21649 - Implement get-user-key pending action stuff, tie to dbus messages
21650 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21651 - Add nm_device_ap_list_get_ap_by_essid()
21652 - Instead of copying "best" access points, ref them instead so that the key we set
21655 * src/NetworkManagerPolicy.c
21656 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21657 - Don't cancel pending actions on a device if its the same device as last iteration
21658 - Only promote pending_device->active_device if activation was successfull
21661 - Rename nmclienttest->nmtest
21663 * info-daemon/Makefile.am
21664 info-daemon/NetworkManagerInfo.c
21665 info-daemon/NetworkManagerInfo.h
21666 info-daemon/NetworkManagerInfoDbus.c
21667 info-daemon/NetworkManagerInfoDbus.h
21668 info-daemon/passphrase.glade
21669 info-daemon/NetworkManagerInfo.conf
21670 info-daemon/keyring.png
21671 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21672 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21673 lists to NetworkManager by proxying user's GConf
21676 2004-07-15 Dan Williams <dcbw@redhat.com>
21681 * src/NetworkManager.c
21682 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21683 that doing the deactivation ourselves
21684 - Cancel an pending actions on a device if its being removed
21685 - Break up link state checking a bit, make non-active wireless cards
21686 deactivated to save power
21687 - Remove unused variables
21689 * src/NetworkManager.h
21690 - Add support for "pending" device
21692 * src/NetworkManagerAP.h
21693 src/NetworkManagerAP.c
21694 - Add support for determining whether and AP has encryption enabled or not
21695 - AP address is now "struct ether_addr" rather than a string
21697 * src/NetworkManagerDbus.h
21698 src/NetworkManagerDbus.c
21699 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21700 - Changes for AP address from struct ether_addr->string
21702 * src/NetworkManagerDevice.h
21703 src/NetworkManagerDevice.c
21704 - Remove unused variables, fix warnings
21705 - Add support for Pending Actions (things that block a device from being "active"
21706 until they are completed).
21707 - First pending action: Get a WEP key from the user
21708 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21709 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21710 - Update wireless link checking to try to determine if the AP we are associated
21711 with is correct, but the WEP key we are using is just wrong. If its wrong,
21712 trigger the GetUserKey pending action on the device
21713 - If dhclient can't get an IP address, it brings the device down. Bring it back
21714 up in that case, otherwise we can't scan or link-check on it
21715 - Add IP address change notifications at appropriate points (still needs some work)
21716 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21718 * src/NetworkManagerPolicy.h
21719 src/NetworkManagerPolicy.c
21720 - Split out "best" access point determiniation into separate function
21721 - Make device activation 2-stage: first the device is pending, then
21722 in the next iteration through it becomes "active" unless it has
21725 * src/NetworkManagerUtils.h
21726 src/NetworkManagerUtils.c
21727 - Clean up unused variables and warnings
21728 - Wrap our debug macros in {} to prevent possible confusion
21730 * src/NetworkManagerWireless.c
21731 - Forgot to return current best priority, which lead to last available AP always
21732 being chosen no matter what its priority was. Corrected.
21734 2004-07-15 Dan Williams <dcbw@redhat.com>
21736 * dispatcher-daemon/Makefile.am
21739 * dispatcher-daemon/NetworkManagerDispatcher.c
21740 - Remove unused variables due to warnings
21741 - Fix some comments
21742 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21744 2004-07-06 Dan Williams <dcbw@redhat.com>
21746 * src/NetworkManager.c
21747 - Add IPv4 address update for active device during link state check
21748 - Don't allow wireless cards to be powered up when they are not the
21751 * src/NetworkManagerDbus.c
21752 src/NetworkManagerDbus.h
21753 - Add DBUS IPv4 address change signal
21754 - Add DBUS IPv4 address get method for devices
21756 * src/NetworkManagerDevice.c
21757 - Make setting the WEP key actually work
21758 - Move IP address get/set/update stuff here, per-device
21759 - Power down/bring down wireless device when deactivated
21760 - For scanning wireless devices, if first scan returned ENODATA, try again
21762 * src/NetworkManagerPolicy.c
21763 - Only set the WEP key for an allowed access point if there is one.
21764 We were setting it to be blank if one wasn't specified.
21766 * src/NetworkManagerUtils.h
21767 src/NetworkManagerUtils.c
21768 - Move the IP address stuff to NetworkManagerDevice.c
21770 * dispatcher-daemon/NetworkManagerDispatcher.c
21771 - Add device IPv4 address change notification stuff
21773 2004-07-05 Dan Williams <dcbw@redhat.com>
21775 * dispatcher-daemon/NetworkManagerDispatcher.c
21776 - A bit more descriptive state message
21777 - Don't segfault when reading directory
21779 * src/NetworkManager.h
21780 - Remove NMData desired_ap member, its now
21781 per-device rather than global
21783 * src/NetworkManager.c
21784 - Remove references to desired_ap
21785 - Move the allowed AP list refresh stuff into a thread
21787 * src/NetworkManagerDevice.c
21788 src/NetworkManagerDevice.h
21789 - Each wireless device now has a "best ap"
21790 - Make device activate/deactivate functions per-device
21791 - Make wireless scanning per-device
21792 - Add IPv4 address discover functions, stub IPv6 ones
21793 - Move ethernet address validation functions to NetworkManagerUtils.c
21794 - Add wireless access point accessor function
21795 - Get/Set functions for "best ap"
21797 * src/NetworkManagerPolicy.c
21798 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21799 - Deal with per-device "best ap" rather than data->desired_apa
21800 - Implement allowed access point worker thread
21801 - Add nm_policy_essid_is_allowed() function
21803 * src/NetworkManagerUtils.c
21804 src/NetworkManagerUtils.h
21805 - Add nm_ethernet_address_is_valid() function
21806 - Add IPv4/IPv6 address get functions
21808 * src/NetworkManagerWireless.c
21809 src/NetworkManagerWireless.h
21810 - Move scanning stuff into NetworkManagerDevice.c, per-device
21812 2004-06-29 Dan Williams <dcbw@redhat.com>
21814 * dispatcher-daemon/NetworkManagerDispatcher.c
21815 - Implement script callout functionality
21817 2004-06-24 Dan Williams <dcbw@redhat.com>
21821 - Flush device routes and ip addresses when added to the device list
21823 * NetworkManagerDbus.c
21825 - Add missing returns in the two signal functions
21827 * NetworkManagerPolicy.c
21828 - Spacing and variable cleanups
21830 2004-06-24 Dan Williams <dcbw@redhat.com>
21835 dispatcher-daemon/Makefile.am
21836 dispatcher-daemon/Makefile.in
21837 dispatcher-daemon/NetworkManagerDispatcher.c
21838 - Add a daemon that receives signals from NetworkManager
21839 and will (eventually) call scripts in /etc/somewhere
21840 when devices go up or down.
21844 - Flush device routes and ip addresses when added to the device list
21846 * NetworkManagerDbus.c
21848 - Add missing returns in the two signal functions
21850 * NetworkManagerPolicy.c
21851 - Spacing and variable cleanups
21852 - Rename nm_policy_switch_interface->nm_policy_switch_device
21853 - nm_policy_switch_device():
21854 Use kill (pid) instead of system ("kill <pid>")
21855 - nm_state_modification_monitor():
21856 Add wireless essid to output of debug statements
21857 Correct typo in device compare to switch or not (should be !=)
21858 Don't sleep after sending "no longer active" signal, was useless
21860 2004-06-24 Dan Williams <dcbw@redhat.com>