1 2008-11-13 Dan Williams <dcbw@redhat.com>
4 - (crypto_get_private_key_data): fix bad initial arg type checking
7 2008-11-13 Dan Williams <dcbw@redhat.com>
9 Add support for PKCS#12 private keys (bgo #558982)
13 - (parse_old_openssl_key_file): rename from parse_key_file(); adapt to
14 take a GByteArray instead of a filename
15 - (file_to_g_byte_array): handle private key files too
16 - (decrypt_key): take a GByteArray rather than data + len
17 - (crypto_get_private_key_data): refactor crypto_get_private_key() into
18 one function that takes a filename, and one that takes raw data;
19 detect pkcs#12 files as well
20 - (crypto_load_and_verify_certificate): detect file type
21 - (crypto_is_pkcs12_data, crypto_is_pkcs12_file): add pkcs#12 detection
24 * libnm-util/crypto_gnutls.c
25 - (crypto_decrypt): take GByteArray rather than data + len; fix a bug
26 whereby tail padding was incorrectly handled, leading to erroneous
27 successes when trying to decrypt the data
28 - (crypto_verify_cert): rework somewhat
29 - (crypto_verify_pkcs12): validate pkcs#12 keys
31 * libnm-util/crypto_nss.c
32 - (crypto_init): enable various pkcs#12 ciphers
33 - (crypto_decrypt): take a GByteArray rather than data + len
34 - (crypto_verify_cert): clean up
35 - (crypto_verify_pkcs12): validate pkcs#12 keys
37 * libnm-util/test-crypto.c
40 * libnm-util/nm-setting-8021x.c
41 libnm-util/nm-setting-8021x.h
42 libnm-util/libnm-util.ver
43 - Add two new properties, 'private-key-password' and
44 'phase2-private-key-password', to be used in conjunction with
46 - (nm_setting_802_1x_set_ca_cert_from_file,
47 nm_setting_802_1x_set_client_cert_from_file,
48 nm_setting_802_1x_set_phase2_ca_cert_from_file,
49 nm_setting_802_1x_set_phase2_client_from_file): return certificate
51 - (nm_setting_802_1x_get_private_key_password,
52 nm_setting_802_1x_get_phase2_private_key_password): return private
54 - (nm_setting_802_1x_set_private_key_from_file,
55 nm_setting_802_1x_set_phase2_private_key_from_file): set the private
56 key from a file, and update the private key password at the same time
57 - (nm_setting_802_1x_get_private_key_type,
58 nm_setting_802_1x_get_phase2_private_key_type): return the private
61 * src/supplicant-manager/nm-supplicant-settings-verify.c
62 - Whitelist private key passwords
64 * src/supplicant-manager/nm-supplicant-config.c
65 - (nm_supplicant_config_add_setting_8021x): for pkcs#12 private keys,
66 add the private key password to the supplicant config, but do not
67 add the client certificate (as required by wpa_supplicant)
69 2008-11-12 Tambet Ingo <tambet@gmail.com>
71 * system-settings/plugins/keyfile/nm-keyfile-connection.c (copy_one_secret)
72 (add_secrets): Don't add empty secrets to the secrets hash table.
74 2008-11-07 Dan Williams <dcbw@redhat.com>
76 * libnm-util/nm-setting-wireless.c
77 - (nm_setting_wireless_get_seen_bssid): fix bug from accessor conversion
78 that cased this function to return garbage, breaking hidden AP
81 2008-11-07 Dan Williams <dcbw@redhat.com>
83 Fix deletion of VPN gateway route on DHCP renew (bgo #558133)
85 * src/NetworkManagerSystem.c
86 src/NetworkManagerSystem.h
87 - (nm_system_device_set_ip4_route): return the route that was added
88 - (nm_system_add_ip4_vpn_gateway_route): make add_vpn_gateway_route()
89 public, clean up, and return the route that was added
90 - (nm_system_apply_ip4_config): remove VPN related stuff to simplify,
91 since nm_system_add_ip4_vpn_gateway_route() is now available; add
92 flags to allow only certain attributes of the NMIP4Config to be
96 - (handle_dhcp_lease_change): don't touch the DHCP4 config on failure
97 - (nm_device_set_ip4_config): use nm_ip4_config_diff() to only apply
98 what's really changed between the old and new configs; don't export
99 the new IP4 config on failure; always send the DNS info to the
102 * src/vpn-manager/nm-vpn-connection.c
103 - (device_ip4_config_changed, nm_vpn_connection_new, dispose): track the
104 parent device's IP4Config and re-add the VPN gateway route when it
106 - (nm_vpn_connection_ip4_config_get): add the VPN gateway route (since
107 nm_system_apply_ip4_config() no longer does) and cache it for later
108 - (connection_state_changed): move cleanup code to its own function
109 - (vpn_cleanup): delete any previously added VPN gateway route; and
110 re-apply the parent device's addresses and routes using
111 nm_system_apply_ip4_config(), not nm_device_set_ip4_config()
113 2008-11-07 Dan Williams <dcbw@redhat.com>
115 * src/nm-ip4-config.c
117 - (nm_ip4_config_diff): new function; return the difference between two
119 - (nm_ip4_config_compare): change into nm_ip4_config_diff
121 2008-11-05 Dan Williams <dcbw@redhat.com>
125 - (nm_ip4_config_compare): compare two IP4 configs
127 2008-11-05 Dan Williams <dcbw@redhat.com>
129 * src/NetworkManagerPolicy.c
130 - (update_etc_hosts): only add newline if not the last line of the file
133 2008-11-05 Dan Williams <dcbw@redhat.com>
135 * src/dhcp-manager/nm-dhcp-dhclient.c
136 - (get_leasefile_for_iface): move lease files back to where dhclient
139 2008-11-05 Michael Biebl <mbiebl@gmail.com>
141 * initscripts/Debian/NetworkManager
142 - Update to what Debian is actually using
144 2008-11-05 Tambet Ingo <tambet@gmail.com>
146 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
148 2008-11-03 Dan Williams <dcbw@redhat.com>
150 * system-settings/src/main.c
151 - (add_default_dhcp_connection): make the fallback connection read-only
153 * libnm-glib/nm-settings.c
154 libnm-glib/nm-settings.h
155 - Add detailed errors
156 - (impl_exported_connection_update, impl_exported_connection_delete):
157 return an error if the connection is read-only
159 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
160 system-settings/plugins/keyfile/nm-keyfile-connection.c
161 system-settings/src/main.c
162 - Use more detailed errors
164 * system-settings/src/nm-system-config-error.c
165 system-settings/src/nm-system-config-error.h
166 system-settings/src/dbus-settings.c
167 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
168 NM_SETTINGS_ERROR_INVALID_CONNECTION
170 2008-11-02 Dan Williams <dcbw@redhat.com>
172 * Add license headers to everything in src/
174 2008-11-02 Dan Williams <dcbw@redhat.com>
178 2008-11-02 Dan Williams <dcbw@redhat.com>
180 * src/NetworkManagerAP.c
181 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
182 setting as unencrypted; fixes a bug where NM wouldn't ask for new
183 secrets when connecting to an encrypted network failed
185 2008-10-30 Dan Williams <dcbw@redhat.com>
187 * libnm-util/libnm-util.ver
188 libnm-util/nm-setting-ip6-config.c
189 libnm-util/nm-setting-ip6-config.h
190 libnm-util/Makefile.am
191 - Make properties private and add accessor functions
192 - Hide IPv6 stuff from public API, it's incomplete and completely unused
194 * libnm-util/nm-connection.c
195 libnm-util/nm-utils.c
196 libnm-util/nm-utils.h
197 - Ignore IPv6 stuff for now
199 2008-10-30 Dan Williams <dcbw@redhat.com>
201 * libnm-util/libnm-util.ver
202 libnm-util/nm-setting-8021x.c
203 libnm-util/nm-setting-8021x.h
204 - Make properties private and add accessor functions
206 * src/supplicant-manager/nm-supplicant-config.c
207 system-settings/plugins/ifcfg-suse/parser.c
208 - Use 802.1x setting accessors
210 2008-10-30 Dan Williams <dcbw@redhat.com>
212 * libnm-util/libnm-util.ver
213 libnm-util/nm-setting-wireless-security.c
214 libnm-util/nm-setting-wireless-security.h
215 - Make properties private and add accessor functions
217 * libnm-util/nm-setting-wireless.c
218 src/NetworkManagerAP.c
220 src/supplicant-manager/nm-supplicant-config.c
221 system-settings/plugins/ifcfg-fedora/reader.c
222 system-settings/plugins/ifcfg-suse/parser.c
223 - Use wireless security accessors
225 2008-10-30 Dan Williams <dcbw@redhat.com>
227 * src/nm-device-ethernet.c
230 src/ppp-manager/nm-ppp-manager.c
231 - Harmonize return checking of ioctl
233 * system-settings/plugins/ifcfg-fedora/reader.c
234 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
236 2008-10-30 Dan Williams <dcbw@redhat.com>
238 * src/ppp-manager/nm-ppp-manager.c
239 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
240 ppp_generic module to create it (bgo #533064)
242 2008-10-30 Dan Williams <dcbw@redhat.com>
244 Patch from Alexander Sack <asac@canonical.com>
246 Fix "ppp connections don't honour ip4 connection settings"
248 * src/nm-device-ethernet.c
249 - (real_act_stage4_get_ip4_config): merge ip4config settings
250 with results from ppp manager
252 * src/nm-serial-device.c
253 - (real_act_stage4_get_ip4_config): merge ip4config settings
254 with results from ppp manager
256 2008-10-29 Dan Williams <dcbw@redhat.com>
258 * libnm-util/libnm-util.ver
259 libnm-util/nm-setting-ip4-config.c
260 libnm-util/nm-setting-ip4-config.h
261 - Make properties private and add accessor functions
263 * callouts/nm-dispatcher-action.c
264 libnm-glib/libnm-glib-test.c
265 libnm-util/nm-utils.c
266 src/NetworkManagerPolicy.c
267 src/NetworkManagerSystem.c
268 src/NetworkManagerUtils.c
269 src/dhcp-manager/nm-dhcp-dhclient.c
270 src/dhcp-manager/nm-dhcp-manager.c
271 src/dnsmasq-manager/nm-dnsmasq-manager.c
274 src/nm-hso-gsm-device.c
277 src/ppp-manager/nm-ppp-manager.c
278 src/vpn-manager/nm-vpn-connection.c
279 system-settings/plugins/ifcfg-fedora/reader.c
280 system-settings/plugins/ifcfg-suse/parser.c
281 system-settings/plugins/ifcfg-suse/plugin.c
282 system-settings/plugins/ifupdown/parser.c
284 vpn-daemons/vpnc/properties/nm-vpnc.c
285 - Use IP4 accessor functions
287 2008-10-29 Tambet Ingo <tambet@gmail.com>
289 Half of it by Dan Williams <dcbw@redhat.com>
291 * libnm-util/libnm-util.ver
292 libnm-util/nm-setting-vpn.c
293 libnm-util/nm-setting-vpn.h
294 - Make properties private and add accessor functions.
296 * src/vpn-manager/nm-vpn-connection.c
297 src/vpn-manager/nm-vpn-manager.c
298 system-settings/plugins/keyfile/reader.c
299 vpn-daemons/openvpn/properties/auth-helpers.c
300 vpn-daemons/openvpn/properties/import-export.c
301 vpn-daemons/openvpn/properties/nm-openvpn.c
302 vpn-daemons/openvpn/src/nm-openvpn-service.c
303 vpn-daemons/pptp/auth-dialog/main.c
304 vpn-daemons/pptp/properties/advanced-dialog.c
305 vpn-daemons/pptp/properties/nm-pptp.c
306 vpn-daemons/pptp/src/nm-pptp-service.c
307 vpn-daemons/vpnc/properties/nm-vpnc.c
308 vpn-daemons/vpnc/src/nm-vpnc-service.c
309 - Use VPN setting accessors.
311 2008-10-28 Dan Williams <dcbw@redhat.com>
313 Patch from Tambet Ingo <tambet@gmail.com>
315 * libnm-util/libnm-util.ver
316 libnm-util/nm-setting-wireless.c
317 libnm-util/nm-setting-wireless.h
318 - Make properties private and add accessor functions
320 * src/NetworkManagerAP.c
323 src/supplicant-manager/nm-supplicant-config.c
324 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
325 system-settings/plugins/ifcfg-fedora/reader.c
326 system-settings/plugins/ifcfg-suse/parser.c
327 system-settings/plugins/ifupdown/parser.c
328 - Use wireless setting accessors
330 2008-10-27 Dan Williams <dcbw@redhat.com>
332 Patch from Tambet Ingo <tambet@gmail.com>
334 * libnm-util/libnm-util.ver
335 libnm-util/nm-setting-ppp.c
336 libnm-util/nm-setting-ppp.h
337 - Make properties private and add accessor functions
339 * src/ppp-manager/nm-ppp-manager.c
340 - Use ppp setting accessors
342 2008-10-27 Dan Williams <dcbw@redhat.com>
344 Patch from Tambet Ingo <tambet@gmail.com>
346 * libnm-util/nm-setting.h
347 libnm-util/nm-setting.c
348 - Make properties private and add accessor functions
350 * libnm-util/nm-connection.c
351 libnm-util/nm-setting-8021x.c
352 libnm-util/nm-setting-cdma.c
353 libnm-util/nm-setting-connection.c
354 libnm-util/nm-setting-gsm.c
355 libnm-util/nm-setting-ip4-config.c
356 libnm-util/nm-setting-ip6-config.c
357 libnm-util/nm-setting-ppp.c
358 libnm-util/nm-setting-pppoe.c
359 libnm-util/nm-setting-serial.c
360 libnm-util/nm-setting-template.c
361 libnm-util/nm-setting-vpn.c
362 libnm-util/nm-setting-wired.c
363 libnm-util/nm-setting-wireless-security.c
364 libnm-util/nm-setting-wireless.c
365 system-settings/plugins/keyfile/reader.c
366 system-settings/plugins/keyfile/writer.c
367 - Use setting accessors
369 2008-10-27 Dan Williams <dcbw@redhat.com>
371 * libnm-util/libnm-util.ver
372 libnm-util/nm-setting-connection.c
373 libnm-util/nm-setting-connection.h
374 - Add a 'read-only' property that indicates the connection cannot be
377 * system-settings/plugins/ifcfg-fedora/reader.c
378 system-settings/plugins/ifcfg-suse/parser.c
379 system-settings/plugins/ifupdown/parser.c
380 - These plugins are read-only at the moment
382 * system-settings/plugins/keyfile/reader.c
383 system-settings/plugins/keyfile/writer.c
384 - Read-only shouldn't get saved out to files or read in from them
386 2008-10-27 Tambet Ingo <tambet@gmail.com>
388 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
389 correct speed reporting for fast devices (kernel >= 2.6.27).
391 2008-10-26 Dan Williams <dcbw@redhat.com>
393 Attempt to compensate for modems that don't enable full AT parsing before
394 the PIN has been entered.
396 * src/nm-gsm-device.c
397 - (init_modem): accept different init strings
398 - (init_done): try different init strings on failure
399 - (check_pin_done): on PIN success, do full modem init
401 2008-10-26 Dan Williams <dcbw@redhat.com>
403 Patch from Tambet Ingo <tambet@gmail.com>
405 * libnm-util/libnm-util.ver
406 libnm-util/nm-setting-connection.c
407 libnm-util/nm-setting-connection.h
408 - Make properties private and add accessor functions
410 * src/NetworkManagerPolicy.c
412 src/nm-device-ethernet.c
413 src/nm-device-interface.c
417 src/ppp-manager/nm-ppp-manager.c
418 src/vpn-manager/nm-vpn-connection.c
419 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
420 system-settings/plugins/ifcfg-fedora/plugin.c
421 system-settings/plugins/ifcfg-fedora/reader.c
422 system-settings/plugins/ifcfg-suse/parser.c
423 system-settings/plugins/ifupdown/parser.c
424 system-settings/plugins/keyfile/nm-keyfile-connection.c
425 system-settings/plugins/keyfile/plugin.c
426 system-settings/plugins/keyfile/writer.c
427 system-settings/src/main.c
428 - Use those accessors
430 2008-10-26 Dan Williams <dcbw@redhat.com>
432 Patch from Tambet Ingo <tambet@gmail.com>
434 * libnm-util/libnm-util.ver
435 libnm-util/nm-setting-gsm.c
436 libnm-util/nm-setting-gsm.h
437 - Make properties private and add accessor functions
439 * src/nm-gsm-device.c
440 src/nm-hso-gsm-device.c
441 src/ppp-manager/nm-ppp-manager.c
442 - Use those accessors
444 2008-10-26 Dan Williams <dcbw@redhat.com>
446 Patch from Tambet Ingo <tambet@gmail.com>
448 * libnm-util/libnm-util.ver
449 libnm-util/nm-setting-cdma.c
450 libnm-util/nm-setting-cdma.h
451 - Make properties private and add accessor functions
453 * src/nm-cdma-device.c
454 src/ppp-manager/nm-ppp-manager.c
455 - Use those accessors
457 2008-10-26 Dan Williams <dcbw@redhat.com>
459 Patch from Tambet Ingo <tambet@gmail.com>
461 * libnm-util/libnm-util.ver
462 libnm-util/nm-setting-pppoe.c
463 libnm-util/nm-setting-pppoe.h
464 - Make properties private and add accessor functions
466 * src/nm-device-ethernet.c
467 src/ppp-manager/nm-ppp-manager.c
468 - Use those accessors
470 2008-10-26 Dan Williams <dcbw@redhat.com>
472 Patch from Tambet Ingo <tambet@gmail.com>
474 * libnm-util/libnm-util.ver
475 libnm-util/nm-setting-wired.c
476 libnm-util/nm-setting-wired.h
477 - Make properties private and add accessor functions
479 * src/nm-device-ethernet.c
480 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
481 system-settings/plugins/ifcfg-suse/parser.c
482 system-settings/src/main.c
483 - Use those accessors
485 2008-10-26 Dan Williams <dcbw@redhat.com>
487 Patch from Tambet Ingo <tambet@gmail.com>
489 * libnm-util/libnm-util.ver
490 libnm-util/nm-setting-serial.c
491 libnm-util/nm-setting-serial.h
492 src/nm-serial-device.c
493 - Make properties private and use accessors instead
495 2008-10-26 Dan Williams <dcbw@redhat.com>
497 * src/supplicant-manager/nm-supplicant-interface.c
498 src/supplicant-manager/nm-supplicant-interface.h
499 src/supplicant-manager/nm-supplicant-manager.c
500 src/supplicant-manager/nm-supplicant-manager.h
501 - Add state-to-string conversion functions
503 * src/nm-device-wifi.c
504 src/nm-device-ethernet.c
505 - Normalize state info logging and use strings instead of numbers
507 2008-10-26 Dan Williams <dcbw@redhat.com>
509 * src/NetworkManagerPolicy.c
510 - (update_routing_and_dns): ignore host routes when determining whether
511 a VPN connection should own the default route (bgo #552594)
513 2008-10-24 Dan Williams <dcbw@redhat.com>
515 * src/nm-gsm-device.c
516 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
518 2008-10-23 Dan Williams <dcbw@redhat.com>
520 * src/ppp-manager/nm-ppp-manager.c
521 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
522 add really important stuff to the command line to ensure that NM
523 overrides /etc/ppp/options (bgo #556781)
525 2008-10-22 Dan Williams <dcbw@redhat.com>
527 * src/NetworkManagerSystem.c
529 - Use the device's IP interface where appropriate (Per Hallsmark)
531 2008-10-22 Dan Williams <dcbw@redhat.com>
533 * src/nm-gsm-device.c
534 - (schedule_automatic_registration_again): use a short timeout here
535 instead of an idle handler to avoid using too much CPU polling for
536 something we should be waiting a bit for anyway
538 2008-10-22 Dan Williams <dcbw@redhat.com>
540 * include/NetworkManager.h
541 introspection/nm-device.xml
542 - Add device state change reason for carrier changes
544 * src/nm-device-ethernet.c
545 - (set_carrier): use the carrier change reason when changing device
546 state in response to carrier changes
548 2008-10-21 Dan Williams <dcbw@redhat.com>
550 * src/NetworkManagerPolicy.c
551 - (update_etc_hosts): don't leak errors, and ensure that
552 g_file_set_contents() gets a valid error placeholder (rh #461933)
554 2008-10-21 Dan Williams <dcbw@redhat.com>
557 - (free_get_settings_info): don't use the DBusGProxy which could be
558 disposed of by the time the function is called
559 - (internal_new_connection_cb): save connection scope
560 - (connection_get_settings_cb): don't replace a connection unless it's
561 actually different from the existing one; fixes an issue where
562 killing the settings service wouldn't deactivate an active connection
563 provided by that settings service, because it was using a connection
564 that had already been replaced in the system or user hash
566 2008-10-21 Dan Williams <dcbw@redhat.com>
568 * src/NetworkManager.c
569 - (main): keep the DHCP manager around since it's a singleton; fixes
570 a use-after-free exposed by r4196 since the DHCP manager singleton
571 variable isn't cleared when the DHCP manager object is finalized
573 2008-10-20 Dan Williams <dcbw@redhat.com>
575 * libnm-util/nm-setting-wireless-security.c
576 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
578 2008-10-20 Dan Williams <dcbw@redhat.com>
580 * src/supplicant-manager/nm-supplicant-config.c
581 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
583 2008-10-20 Dan Williams <dcbw@redhat.com>
585 * src/dhcp-manager/nm-dhcp-manager.c
586 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
587 manager object already refs it once
588 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
589 also get cleaned up by nm_dhcp_device_destroy() to prevent
592 2008-10-20 Dan Williams <dcbw@redhat.com>
595 - (initial_get_connections): use private dbus manager, don't keep
596 ref-ing the singleton. Fixes mismatched refcounts of the dbus
599 2008-10-18 Dan Williams <dcbw@redhat.com>
601 * libnm-glib/nm-settings.c
602 libnm-glib/nm-settings.h
603 - Rename the "get_secrets" virtual function "service_get_secrets" to
604 clarify when it's used; NMExportedConnetion is a base-class for both
605 the client and service side, which is sort of confusing, and
606 get_secrets only makes sense on the service side.
608 * libnm-glib/nm-dbus-connection.c
609 - (get_secrets): remove, unused, and clients need to do extra work to
610 get secrets anyway since the call can block on the remote side
612 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
613 system-settings/plugins/keyfile/nm-keyfile-connection.c
614 - Fix up for get_secrets -> service_get_secrets
616 2008-10-16 Dan Williams <dcbw@redhat.com>
618 * src/nm-device-wifi.c
619 - (constructor): correctly determine encryption capabilities
621 2008-10-15 Dan Williams <dcbw@redhat.com>
623 * src/nm-device-wifi.c
624 - (wireless_qual_to_percent): fix quality calculation in a fallback case
627 2008-10-15 Dan Williams <dcbw@redhat.com>
629 * src/NetworkManagerSystem.c
630 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
631 if the ip4_dest is in a smaller subnet contained within a subnet
632 the machine is currently on, the destination is in the same subnet
633 - (nm_system_device_set_ip4_route): move subnet checks to callers
634 - (add_vpn_gateway_route): check if the VPN gateway is in the same
635 subnet as the parent device, and if so, don't add the direct
636 host route via the parent device's gateway (bgo #481620)
637 - (nm_system_apply_ip4_config): check whether the route to be added
638 is contained within a subnet the device is already on
640 2008-10-11 Dan Williams <dcbw@redhat.com>
642 * include/NetworkManager.h
643 introspection/nm-device.xml
644 include/NetworkManagerVPN.h
645 - Add a few more state reasons for the device deactivated state
647 * src/nm-device-interface.c
648 src/nm-device-interface.h
649 - (nm_device_interface_deactivate): add a 'reason' argument
653 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
654 - (nm_device_state_changed): pass the state change reason to
655 nm_device_take_down()
656 - (nm_device_set_managed): take a 'reason' argument, and pass it along
657 to the state change function
661 - (remove_one_device, handle_unmanaged_devices, sync_devices,
662 impl_manager_sleep): pass a reason code to nm_device_set_managed()
663 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
664 something reasonable along to VPN deactivation
666 * src/vpn-manager/nm-vpn-manager.c
667 src/vpn-manager/nm-vpn-manager.h
668 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
669 pass that along to nm_vpn_connection_disconnect()
671 2008-10-11 Dan Williams <dcbw@redhat.com>
673 * src/nm-device-wifi.c
674 - (can_scan): remove old madwifi hack for not scanning while connected
676 2008-10-11 Dan Williams <dcbw@redhat.com>
678 Add support for VPN subnet gateways (bgo #549196)
680 * include/NetworkManager.h
681 - Add key for internal VPN subnet gateway
683 * src/vpn-manager/nm-vpn-connection.c
684 - (ip_address_to_string): return a const from a static buffer so we
685 don't leak a lot of strings
686 - (print_vpn_config): print internal VPN gateway as well
687 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
689 - (nm_vpn_connection_get_ip4_internal_gateway): new function
691 * src/NetworkManagerSystem.c
692 src/NetworkManagerSystem.h
693 - (nm_system_device_replace_default_ip4_route): split into two, one for
694 VPN connections and one for normal devices
695 - (replace_default_ip4_route): break out route stuff into its own function
696 - (nm_system_replace_default_ip4_route_vpn,
697 nm_system_replace_default_ip4_route): simplify by having two cases,
698 one for VPNs and one for normal devices
700 * src/NetworkManagerPolicy.c
701 - (update_routing_and_dns): simplify, use split default route replacement
704 2008-10-10 Dan Williams <dcbw@redhat.com>
706 Rework default route handling to consolidate decisions in the policy,
707 and to take active VPN connections into account when changing the default
710 * src/NetworkManager.c
711 - (main): pass the vpn_manager to the policy so it knows about active
712 VPN connections; clean up the named manager which wasn't done before
714 * src/NetworkManagerPolicy.c
715 src/NetworkManagerPolicy.h
716 - (nm_policy_new): get a clue about the vpn_manager
717 - (update_default_route): remove, fold into update_routing_and_dns()
718 - (update_routing_and_dns): handle active VPN connections too; an
719 active VPN connection becomes the default route if it does not have
720 server-specified or user-specified custom routes. Otherwise, the
721 best active device gets the default route
722 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
723 nm_policy_destroy): track VPN connection activation and deactivation
724 and update the default route when appropriate
726 * src/NetworkManagerSystem.c
727 src/NetworkManagerSystem.h
728 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
729 in the VPN connection itself
730 - (nm_system_vpn_device_set_from_ip4_config,
731 nm_system_device_set_from_ip4_config): merge together to make
732 nm_system_apply_ip4_config()
733 - (add_vpn_gateway_route): add a route to the VPN's external gateway
734 via the parent device
735 - (nm_system_apply_ip4_config): simplify
736 - (add_ip4_route_to_gateway): new function; add a direct route to the
738 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
739 route stuff out into add_ip4_route_to_gateway() for clarity
742 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
744 * src/vpn-manager/nm-vpn-connection.c
745 src/vpn-manager/nm-vpn-connection.h
746 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
747 nm_vpn_connection_get_parent_device): add
748 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
750 - (connection_state_changed): update the named manager now that
751 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
754 * src/vpn-manager/nm-vpn-manager.c
755 src/vpn-manager/nm-vpn-manager.h
756 - Add a 'connection-activated' signal
757 - (nm_vpn_manager_get_active_connections): new function; mainly for the
758 policy to find out about active VPN connections
760 2008-10-10 Tambet Ingo <tambet@gmail.com>
762 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
763 a daemon to prevent NM logging spew on console on startup and shutdown (due
764 to dependency loop between NM and syslog).
766 2008-10-10 Alexander Sack <asac@ubuntu.com>
768 Implement managed mode. We bind devices configured in /etc/network/interfaces
769 to their connections by updating wired/wireless setting with the
770 mac address of the device.
772 * system-settings/plugins/ifupdown/plugin.c
773 - (get_net_address_for_udi): implement function to retrieve MAC
774 address of udi from hal in GByteArray format
775 - (bind_device_to_connection): bind mac address of device to
776 wired/wireless system connection
777 - (hal_device_added_cb): call bind_device_to_connection for
778 system connections with a matching interface.name
779 - (hal_device_added_cb): ensure that all code paths
780 properly free the "iface" string.
782 2008-10-10 Alexander Sack <asac@ubuntu.com>
784 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
785 mode of the ifupdown system config plugin.
787 * system-settings/plugins/ifupdown/plugin.c
788 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
789 private unmanage_well_known state field accordingly
791 2008-10-10 Alexander Sack <asac@ubuntu.com>
793 Implement unmanaged mode that will prevent all devices in the
794 well_known_udis set from being touched by NetworkManager
796 * system-settings/plugins/ifupdown/plugin.c
797 - (typedef struct SCPluginIfupdownPrivate): add gboolean
798 unmanage_well_known field used to turn on/off unmanaged
800 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
801 signal when well_known_udis get added/removed
802 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
803 if we are in unmanaged mode
805 2008-10-10 Alexander Sack <asac@ubuntu.com>
807 Add support to track network devices that have a configuration
808 with a matching interface.name in /etc/network/interfaces
810 * system-settings/plugins/ifupdown/plugin.c
811 - (typedef struct SCPluginIfupdownPrivate): add hash table
812 to track |well_known_udis|
813 - (get_iface_for_udi): helper function to get interface.name
815 - (hal_device_added_cb, hal_device_removed_cb): callbacks
816 that add and remove devices to and from the well_known_udis
817 set depending on whether their |interface.name| matches
818 any interface definition in /etc/network/interfaces
819 - (SCPluginIfupdown_init): connect callbacks from above with
820 hal_mgr and setup well_known_udis hashtable
821 - (GObject__dispose): destroy well_known_udis hashtable
822 - (hal_device_added_cb2): implement wrapper callback with GFunc
823 signature. user_data is supposed to be a triple (hal_mgr,
825 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
826 startup and call hal_device_added_cb2
828 2008-10-10 Alexander Sack <asac@ubuntu.com>
830 Remove implementation for not used NMSystemConfigInterface callback functions
833 * system-settings/plugins/ifupdown/plugin.c
834 - (SCPluginIfupdown_unmanaged_devices_changed): removed
835 - (SCPluginIfupdown_connection_added): removed
837 2008-10-08 Dan Williams <dcbw@redhat.com>
839 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
841 * src/NetworkManagerUtils.c
842 - (nm_utils_call_dispatcher): add a 'hostname' action
844 * src/NetworkManagerPolicy.c
845 - (set_system_hostname): dispatch hostname changes
847 * callouts/nm-dispatcher-action.c
848 - (nm_dispatcher_action): handle 'hostname' actions
850 2008-10-08 Dan Williams <dcbw@redhat.com>
852 * src/NetworkManagerSystem.c
853 - (find_route): ref the route so it doesn't get destroyed when the cache
855 - (nm_system_device_set_priority): unref the route here after it's done
858 2008-10-08 Dan Williams <dcbw@redhat.com>
860 * src/nm-serial-device.c
861 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
863 2008-10-08 Tambet Ingo <tambet@gmail.com>
865 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
866 connection with new settings before saving it.
868 2008-10-06 Dan Williams <dcbw@redhat.com>
870 * src/nm-ip4-config.c
872 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
874 * src/nm-device-interface.c
875 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
876 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
877 by using '/' for the object path
880 - (src/nm-device.c): marshal missing/unexported ip4-config through
881 dbus as '/' since dbus-glib can't handle NULL objects nor can
882 dbus handle NULL object paths
884 2008-10-03 Alexander Sack <asac@ubuntu.com>
886 Implement system hostname support for debian/ubuntu
888 * system-settings/plugins/ifupdown/plugin.c
889 - (GObject__get_property): extend announced capabilities; add
890 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
891 - (GObject__set_property,write_system_hostname): implement
892 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
893 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
894 update_system_hostname, get_hostname):
895 implement hostname property that watches and
898 2008-10-03 Alexander Sack <asac@ubuntu.com>
900 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
901 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
902 system-settings/plugins/ifcfg-fedora/Makefile.am
903 system-settings/src/nm-inotify-helper.c
904 system-settings/src/nm-inotify-helper.h
906 - Move ifcfg-fedora inotify helpers to the system settings service so
907 they are available to all plugins
909 2008-10-03 Alexander Sack <asac@ubuntu.com>
911 Implement support for wep-tx-keyidx in ifupdown system
914 * system-settings/plugins/ifupdown/parser.c
915 - (update_wireless_security_setting_from_if_block): introduce
916 free_type_mapping func table; rename a few local
917 variables to improve readability; add wpa security mapping
918 for wep-tx-keyidx property
919 - (string_to_gpointerint): new function used for the auto_type_mapping
920 of new wep-tx-keyidx property
921 - (slist_free_all): free func used for mapped slist types
923 2008-10-03 Alexander Sack <asac@ubuntu.com>
925 * system-settings/src/main.c:
926 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
927 always used as the hash key; fixes a crash when removing wired
930 2008-10-02 Dan Williams <dcbw@redhat.com>
932 * src/nm-gsm-device.c
933 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
934 pass the required GSM secret along via user_data rather than keeping
935 it around in the private data where it sometimes didn't get cleared
936 - (real_get_ppp_name): implement using the GSM username
938 2008-10-02 Dan Williams <dcbw@redhat.com>
940 * src/ppp-manager/nm-ppp-manager.c
941 src/ppp-manager/nm-ppp-manager.h
942 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
943 the settings daemon for completely new ones
944 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
945 local PPP peer name; allow PPP debuging by launching NM with
946 the environment variable NM_PPP_DEBUG defined
947 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
948 create_pppd_cmd_line()
950 * src/nm-serial-device.c
951 src/nm-serial-device.h
952 - New 'get_ppp_name' function for subclasses to implement to return the
954 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
955 and pass that name to the PPP manager
957 * src/nm-device-ethernet.c
958 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
961 * src/nm-cdma-device.c
962 - (real_get_ppp_name): implement using the CDMA username
964 2008-10-02 Dan Williams <dcbw@redhat.com>
966 Patch from Alexander Sack <asac ubuntu com>
968 * system-settings/plugins/ifupdown/parser.c
969 - Implement more graceful ip4 config parsing for cases where
970 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
971 by using default values
973 2008-10-02 Dan Williams <dcbw@redhat.com>
975 * src/NetworkManagerPolicy.c
976 - (device_state_changed): when marking a connection invalid, clear its
977 secrets too so that fresh secrets get requested the next time
979 2008-10-01 Dan Williams <dcbw@redhat.com>
981 * system-settings/src/dbus-settings.c
982 - (nm_sysconfig_settings_init): cache system hostname on startup as
983 a fallback if no plugin provides a hostname
984 - (get_property): fall back to cached hostname if no plugin provides
987 2008-10-01 Dan Williams <dcbw@redhat.com>
989 Fix setting value comparison issue that caused some settings to look the
990 same when they were really different (rh #464417)
992 * libnm-util/nm-param-spec-specialized.c
993 - (type_is_fixed_size): return fundamental size of the fixed type too
994 - (nm_gvalues_compare_collection): use the fundamental fixed type size
995 in the comparison so that the _entire_ fixed type collection gets
996 compared rather than just the first 'len1' bytes
998 2008-09-30 Dan Williams <dcbw@redhat.com>
1000 * src/NetworkManagerPolicy.c
1001 - (lookup_thread_worker): don't store the idle handler ID becuase the
1002 idle handler could have already run and freed the LookupThread
1005 2008-09-30 Tambet Ingo <tambet@gmail.com>
1007 * src/nm-device.c (nm_device_get_priority): Implement.
1008 (nm_device_set_ip4_config): Send the device priority to system ip4
1011 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
1012 Add priority argument and if it's >= 0, set the priority of the network
1013 route added automatically by netlink (or kernel?).
1014 (nm_system_device_set_priority): Implement.
1016 * src/NetworkManagerPolicy.c (get_best_device): Use
1017 nm_device_get_priority() instead of home-grown version. Revert the
1018 meaning, best priority is the lowest one.
1020 2008-09-29 Dan Williams <dcbw@redhat.com>
1022 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
1023 when it returns EAGAIN (rh #362421)
1025 * src/nm-device-wifi.c
1026 - (wireless_get_range): try GIWRANGE a few times until the card responds
1027 - (real_get_generic_capabilities, constructor): use wireless_get_range()
1029 2008-09-28 Dan Williams <dcbw@redhat.com>
1031 * src/nm-serial-device.c
1032 src/nm-serial-device.h
1033 - (nm_serial_device_close): stop PPP manager here so that PPP gets
1034 cleaned at the right times when subclasses close the serial port too
1035 - (nm_serial_device_send_command): use a default send delay; don't
1036 spin forever on EAGAIN
1037 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
1038 remove, no longer used
1039 - (find_response): return the matched response if any
1040 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
1042 - (wait_for_reply_done): pass the matched response to the callback
1043 - (wait_for_reply_got_data): save the matched response; simplify timeout
1045 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
1046 const since they never get modified
1047 - (cleanup_device): split out common cleanup stuff to a new function
1048 - (real_deactivate_quickly, finalize): use cleanup_device()
1050 * src/nm-gsm-device.c
1051 - (modem_get_reply): remove, unused
1052 - (set_apn): give the card a bit more time to respond
1053 - (manual_registration_again, schedule_manual_registration_again,
1054 manual_registration_response, manual_registration): handle manual
1055 registration timeouts better by retrying registration a few times
1056 because cards are a bit slow after CFUN=1
1057 - (automatic_registration_get_network, get_network_response): use
1058 modem_wait_for_reply() because it interacts better with the serial
1059 buffer and does more intelligent matching; need to wait for 'OK'
1060 rather than just matching terminators
1061 - (schedule_automatic_registration_again,
1062 automatic_registration_response, automatic_registration): retry
1063 registration a few times on timeout or "searching" because cards
1064 take a bit to find a network after being powered up with CFUN=1
1065 - (power_up_response, power_up, init_full_done, enter_pin,
1066 check_pin_done): power up the card with CFUN=1 before trying to
1067 register with the network
1068 - (init_modem_full, init_modem): use more standard 3G init strings
1070 * src/nm-hso-gsm-device.c
1071 - (modem_get_reply): remove, unused
1072 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
1073 modem_wait_for_reply() to match actual responses instead of single
1074 termination characters; it doesn't leave stuff in the serial buffer
1075 that might confuse later calls
1076 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
1077 to ensure that the call is really disconnected and not leave extra
1078 stuff in the serial buffer
1080 * src/nm-cdma-device.c
1081 - (power_up_response, power_up, init_done): try Sierra-style modem
1082 power up before attempting to connect
1084 2008-09-27 Dan Williams <dcbw@redhat.com>
1086 * libnm-util/nm-setting-gsm.c
1087 - (verify): verify GSM network ID
1089 2008-09-25 Dan Williams <dcbw@redhat.com>
1091 * libnm-util/nm-setting-gsm.c
1092 libnm-util/nm-setting-gsm.h
1093 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
1094 technology terms (bgo #551361)
1096 2008-09-25 Dan Williams <dcbw@redhat.com>
1098 Fix bgo #549401 (inspired by patch from Alexander Sack)
1100 * src/nm-device-ethernet.c
1101 - (finish_supplicant_task): clean up scheduled tasks and free memory
1102 - (remove_supplicant_interface_error_handler): remove the supplicant
1103 error idle callback too
1104 - (supplicant_interface_release): rename from supplicant_interface_clean
1105 to match nm-device-wifi.c; clean up supplicant interface-related
1106 state tasks when the supplicant interface is disposed of
1107 - (schedule_state_handler): add scheduled tasks to a list so they can
1109 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1110 supplicant_iface_connection_state_cb_handler): use
1111 finish_supplicant_task() to clean up each completed task
1112 - (supplicant_iface_connection_error_cb_handler,
1113 supplicant_connection_timeout_cb): clear source id when the task is
1115 - (supplicant_iface_connection_error_cb): save scheduled task id for
1117 - (nm_device_ethernet_dispose): clean up any pending supplicant state
1120 * src/nm-device-wifi.c
1121 - (finish_supplicant_task): clean up scheduled tasks and free memory
1122 - (remove_supplicant_interface_error_handler): remove the supplicant
1123 error idle callback too
1124 - (supplicant_interface_release): clean up supplicant interface-related
1125 state tasks when the supplicant interface is disposed of
1126 - (schedule_state_handler): add scheduled tasks to a list so they can
1128 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1129 supplicant_iface_connection_state_cb_handler): use
1130 finish_supplicant_task() to clean up each completed task
1131 - (supplicant_iface_connection_error_cb_handler): clear source id when
1132 the task is complete
1133 - (supplicant_iface_connection_error_cb): save scheduled task id for
1135 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1137 2008-09-24 Tambet Ingo <tambet@gmail.com>
1139 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1140 method and get/set hostname property.
1142 2008-09-24 Tambet Ingo <tambet@gmail.com>
1144 * src/supplicant-manager/nm-supplicant-interface.c
1145 (nm_supplicant_interface_disconnect): Don't increment the reference
1146 count when disconnecting. The problem is on shutdown, when the replies
1147 to these commands do not arrive before NM exits, resulting on never
1148 calling supplicant interface's dispose(), which removes the interface
1151 2008-09-24 Tambet Ingo <tambet@gmail.com>
1153 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1154 all the public function arguments.
1156 2008-09-22 Tambet Ingo <tambet@gmail.com>
1158 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1159 "Failure" signal from VPN plugins, store the failure reason, and
1160 use it when the state is changed to failure.
1162 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1165 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1166 reason to the end of the list to not break the API.
1167 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1168 so it can be shared by plugins and daemon.
1170 2008-09-18 Dan Williams <dcbw@redhat.com>
1172 Patch from Alexander Sack <asac@ubuntu.com>
1175 system-settings/plugins/Makefile.am
1176 system-settings/plugins/ifupdown/Makefile.am
1177 system-settings/plugins/ifupdown/interface_parser.c
1178 system-settings/plugins/ifupdown/interface_parser.h
1179 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1180 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1181 system-settings/plugins/ifupdown/parser.c
1182 system-settings/plugins/ifupdown/parser.h
1183 system-settings/plugins/ifupdown/plugin.c
1184 system-settings/plugins/ifupdown/plugin.h
1185 - Implement a Debian/Ubuntu legacy network configuration plugin
1188 2008-09-18 Dan Williams <dcbw@redhat.com>
1190 Implement support for honoring configured and automatic hostnames, and for
1191 setting the configured hostname.
1193 * introspection/nm-ip4-config.xml
1196 src/dhcp-manager/nm-dhcp-manager.c
1197 - Remove useless hostname property; it's not really part of the IPv4
1200 * introspection/nm-settings-system.xml
1201 libnm-glib/nm-dbus-settings-system.c
1202 libnm-glib/nm-dbus-settings-system.h
1203 - Add SetHostname() call to system settings D-Bus interface
1204 - Add Hostname property to system settings D-Bus interface
1205 - (nm_dbus_settings_system_save_hostname,
1206 nm_dbus_settings_system_get_hostname): implement
1210 - (nm_device_get_dhcp4_config): implement
1214 - Fetch and track system settings service hostname changes, and proxy
1215 the changes via a GObject property of the manager
1217 * system-settings/src/nm-system-config-interface.c
1218 system-settings/src/nm-system-config-interface.h
1219 - Replace nm_system_config_interface_supports_add() with a capabilities
1222 * system-settings/src/nm-system-config-error.c
1223 system-settings/src/nm-system-config-error.h
1224 - Add additional errors
1226 * system-settings/src/dbus-settings.c
1227 system-settings/src/dbus-settings.h
1228 - (get_property, nm_sysconfig_settings_class_init): add hostname
1229 property; first plugin returning a hostname wins
1230 - (impl_settings_add_connection): use plugin capabilities instead of
1231 nm_system_config_interface_supports_add()
1232 - (impl_settings_save_hostname): implement hostname saving
1234 * src/NetworkManagerPolicy.c
1235 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1236 lookup_thread_die): implement an asynchronous hostname lookup thread
1237 which given an IPv4 address tries to look up the hostname for that
1238 address with reverse DNS
1239 - (get_best_device): split out best device code from
1240 update_routing_and_dns()
1241 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1242 to preserve the 127.0.0.1 reverse mapping that so many things require
1243 - (set_system_hostname): set a given hostname
1244 - (update_system_hostname): implement hostname policy; a configured
1245 hostname (from the system settings service) is used if available,
1246 otherwise an automatically determined hostname from DHCP, VPN, etc.
1247 If there was no automatically determined hostname, reverse DNS of
1248 the best device's IP address will be used, and as a last resort the
1249 hostname 'localhost.localdomain' is set.
1250 - (update_routing_and_dns): use get_best_device(); update the system
1251 hostname when the network config changes
1252 - (hostname_changed): update system hostname if the system settings
1253 service signals a hostname change
1254 - (nm_policy_new): list for system settings service hostname changes
1255 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1258 * system-settings/plugins/keyfile/plugin.c
1259 system-settings/plugins/ifcfg-suse/plugin.c
1260 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1261 capabilities properties
1263 * system-settings/plugins/ifcfg-fedora/shvar.c
1264 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1265 writes out /etc/sysconfig/network now
1267 * system-settings/plugins/ifcfg-fedora/plugin.c
1268 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1269 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1270 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1271 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1272 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1273 hostname get/set and capabilities get
1275 2008-09-18 Dan Williams <dcbw@redhat.com>
1277 * libnm-util/nm-setting-wireless.c
1278 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1279 group ciphers if the wireless-security setting explicitly specified
1280 them, effectively making the default be "all ciphers" (idea from
1283 2008-09-15 Dan Williams <dcbw@redhat.com>
1285 Patch from Alexander Sack <asac@ubuntu.com>
1287 * src/named-manager/nm-named-manager.c
1288 - (dispatch_resolvconf): respect resolvconf exit code
1290 2008-09-12 Tambet Ingo <tambet@gmail.com>
1292 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1293 again. Add some debugging.
1295 2008-09-11 Dan Williams <dcbw@redhat.com>
1297 * system-settings/plugins/keyfile/plugin.c
1298 - (update_connection_settings): update connection manually, since
1299 nm_exported_connection_update() does authentication
1300 - (dir_changed): update_connection_settings() doesn't need to return
1303 2008-09-09 Dan Williams <dcbw@redhat.com>
1305 * libnm-glib/nm-vpn-plugin-ui-interface.c
1306 libnm-glib/nm-vpn-plugin-ui-interface.h
1307 libnm-glib/libnm_glib_vpn.ver
1308 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1309 should clean up resources related to the connection (like keyring
1311 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1312 should save user-scope secrets (like to the keyring)
1314 2008-09-08 Dan Williams <dcbw@redhat.com>
1316 Patch from Alexander Sack <asac@ubuntu.com>
1318 * libnm-util/crypto_gnutls.c
1319 libnm-util/crypto_nss.c
1320 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1322 * libnm-util/nm-utils.c
1323 libnm-util/nm-utils.h
1324 libnm-util/libnm-util.ver
1325 - (nm_utils_init): initialize libnm-util
1326 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1328 * libnm-util/nm-setting-8021x.c
1329 - (nm_setting_802_1x_class_init): init libnm-util when needed
1331 2008-09-05 Dan Williams <dcbw@redhat.com>
1333 Patch from Roy Marples <roy@marples.name> and others
1336 src/named-manager/nm-named-manager.c
1337 - Add support for resolvconf; use --with-resolvconf at configure time
1340 2008-09-05 Dan Williams <dcbw@redhat.com>
1342 * libnm-util/crypto_nss.c
1343 libnm-util/crypto_gnutls.c
1345 - (crypto_init): return error when init fails
1347 2008-09-05 Dan Williams <dcbw@redhat.com>
1349 * libnm-glib/nm-device-wifi.c
1350 - (access_point_removed_proxy): clean up the active access point too
1351 just in case the active ap changed signal didn't come through yet
1352 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1354 2008-09-05 Dan Williams <dcbw@redhat.com>
1356 * libnm-glib/nm-client.c
1357 - (constructor): get initial state after we know whether NM is running
1360 2008-09-05 Dan Williams <dcbw@redhat.com>
1362 * libnm-glib/nm-ip4-config.c
1363 libnm-glib/nm-dhcp4-config.c
1364 - (finalize): clean up the DBusGProxy
1366 2008-09-04 Dan Williams <dcbw@redhat.com>
1368 * src/nm-ip4-config.c
1370 - (nm_ip4_config_new): don't export over D-Bus here
1371 - (nm_ip4_config_export): new function; export the config over D-Bus
1372 - (nm_ip4_config_is_exported): new function
1375 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1376 objects by balancing the IP4Config constructor; the device holds
1377 a reference to the IP4Config already
1378 - (nm_device_set_ip4_config): export the IP4Config when needed
1380 2008-09-04 Dan Williams <dcbw@redhat.com>
1382 * src/supplicant-manager/nm-supplicant-settings-verify.c
1383 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1385 2008-09-04 Dan Williams <dcbw@redhat.com>
1387 * libnm-util/nm-setting-vpn.c
1388 libnm-util/nm-setting-vpn.h
1389 - Split VPN secrets from VPN data so that settings services can actually
1390 figure out that they are secrets and store them accordingly
1392 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1393 system-settings/plugins/keyfile/reader.c
1394 system-settings/plugins/keyfile/reader.h
1395 system-settings/plugins/keyfile/writer.c
1396 - Store VPN secrets separately from VPN data so that they can be fetched
1398 - Implement the get_secrets() call so that (a) secrets don't leak out
1399 to unprivileged callers, and (b) secrets can be sent to privileged
1402 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1403 - Handle split VPN secrets
1405 2008-08-27 Dan Williams <dcbw@redhat.com>
1407 * system-settings/plugins/ifcfg-fedora/reader.c
1408 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1410 2008-08-27 Dan Williams <dcbw@redhat.com>
1412 Ensure zombie children get cleaned up. To get notifications when children
1413 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1414 that requires calling waitpid() yourself if you've removed the child watch
1415 handler before the process has actually died, which NM needs to do in a few
1416 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1417 cleans up after the child when required. Should fix problems trying to
1418 activate mobile broadband connections after a previous failure.
1420 * src/dhcp-manager/nm-dhcp-dhclient.c
1421 src/dhcp-manager/nm-dhcp-dhcpcd.c
1422 - Use G_SPAWN_DO_NOT_REAP_CHILD
1424 * src/dhcp-manager/nm-dhcp-manager.c
1425 - (nm_dhcp_device_destroy): ensure child is cleaned up
1426 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1427 block on child quitting, since the non-blocking functionality was
1430 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1431 - (dm_watch_cb): child is already reaped here
1432 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1435 - (aipd_cleanup): block until child is dead
1437 * src/named-manager/nm-named-manager.c
1438 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1439 event bothering to watch the child
1441 * src/ppp-manager/nm-ppp-manager.c
1442 - (ppp_watch_cb): child is already reaped here
1443 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1445 * src/vpn-manager/nm-vpn-service.c
1446 - (vpn_service_watch_cb): child is already reaped here
1447 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1448 status of the child is actually tracked
1449 - (ensure_killed, finalize): block until child is dead
1451 2008-08-26 Dan Williams <dcbw@redhat.com>
1453 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1454 - (update): Update filename of the connection if the connection id
1457 * system-settings/plugins/keyfile/plugin.c
1458 - (dir_changed): first pass at handling connection renames correctly
1460 * system-settings/plugins/keyfile/writer.c
1461 system-settings/plugins/keyfile/writer.h
1462 - (write_connection): replace '/' with '*' when writing out the filename
1463 from the connection id
1465 2008-08-26 Dan Williams <dcbw@redhat.com>
1467 Add connection UUIDs, since connection names can be changed, and since
1468 old-style connection IDs could change over the life of the connection. The
1469 UUID should be assigned at connection creation time, be stable for a given
1470 connection, and should be unique among all connections for a given settings
1474 libnm-util/Makefile.am
1477 * introspection/nm-exported-connection.xml
1478 - Remove "GetID" method
1480 * libnm-glib/nm-dbus-connection.c
1481 libnm-glib/nm-settings.c
1482 libnm-glib/nm-settings.h
1483 - Remove id-related stuff
1485 * libnm-util/nm-utils.c
1486 libnm-util/nm-utils.h
1487 libnm-util/libnm-util.ver
1488 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1489 utility functions to generate UUIDs
1491 * libnm-util/nm-setting-connection.c
1492 libnm-util/nm-setting-connection.h
1493 - Add 'uuid' member to the connection setting
1494 - (verify): require valid 'uuid' for a valid connection
1496 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1497 system-settings/plugins/ifcfg-fedora/reader.c
1498 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1499 system-settings/plugins/ifcfg-suse/parser.c
1500 system-settings/plugins/keyfile/nm-keyfile-connection.c
1501 system-settings/src/main.c
1502 - Remove id-related stuff
1503 - Give connections UUIDs where needed
1505 2008-08-25 Dan Williams <dcbw@redhat.com>
1507 * libnm-util/crypto_gnutls.c
1508 libnm-util/crypto_nss.c
1509 - (crypto_init, crypto_deinit): refcount init/deinit
1510 - (crypto_md5_hash): allow NULL salt
1512 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1514 * libnm-glib/Makefile.am
1515 libnm-util/Makefile.am
1516 libnm-glib/libnm_glib.ver
1517 libnm-glib/libnm_glib_vpn.ver
1518 libnm-util/libnm-util.ver
1519 - Use linker version scripts to control the list of exported
1520 symbols. List each exported symbol explicitely.
1521 * libnm-util/Makefile.am
1522 - Fix compilation of the test-crypto binary. The crypto
1523 functions are no longer part of the libnm-util API. Add
1524 crypto_*.c to test_crypto_SOURCES and link against the correct
1527 2008-08-19 Dan Williams <dcbw@redhat.com>
1531 - Don't build test/test-common
1532 - Remove unused stuff
1534 * test/nm-set-fallback
1535 test/nmtestdevices.c
1536 test/test-common/.cvsignore
1537 test/test-common/Makefile.am
1538 test/test-common/test-common.c
1539 test/test-common/test-common.h
1542 2008-08-18 Dan Williams <dcbw@redhat.com>
1544 * libnm-util/nm-utils.c
1545 libnm-util/nm-utils.h
1546 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1547 export anything that needs to be converted with this function
1549 * src/dhcp-manager/nm-dhcp-manager.c
1550 - (garray_to_string): convert a byte array to a UTF-8 string with
1551 minimal validation; the DHCP client sends it in ASCII anyway
1552 - (get_option, copy_option): use garray_to_string()
1554 2008-08-18 Dan Williams <dcbw@redhat.com>
1556 * include/NetworkManager.h
1557 introspection/nm-device.xml
1558 - Add a "missing firmware" device state reason
1560 * src/NetworkManagerSystem.c
1561 src/NetworkManagerSystem.h
1562 - (nm_system_device_set_up_down): add a no_firmware argument
1563 - (nm_system_device_set_up_down_with_iface): if the result of setting
1564 IFF_UP is ENOENT, that almost always means missing firmware
1566 * src/backends/NetworkManagerGeneric.c
1567 src/nm-device-ethernet.c
1568 src/nm-device-private.h
1569 src/nm-device-wifi.c
1572 src/nm-hso-gsm-device.c
1573 src/vpn-manager/nm-vpn-connection.c
1574 - Pass no_firmware along; check it where appropriate
1576 2008-08-18 Dan Williams <dcbw@redhat.com>
1578 Patch from Robert Buchholz <rbu@gentoo.org>
1582 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1583 1003.1-1988, allowing for file names longer than 99 characters
1585 2008-08-17 Dan Williams <dcbw@redhat.com>
1587 * include/NetworkManager.h
1588 introspection/nm-device.xml
1590 - Finer-grained GSM registration failure error codes
1592 2008-08-17 Dan Williams <dcbw@redhat.com>
1594 * callouts/Makefile.am
1596 - Move dispatcher directory creation to callouts/Makefile.am
1598 * system-settings/plugins/keyfile/Makefile.am
1599 - Create keyfile connections directory in DESTDIR (bgo #546833)
1601 2008-08-15 Dan Williams <dcbw@redhat.com>
1603 Do connection sharing in a cleaner manner; all required iptables rules
1604 are now stored in the activation request and pertain only to the device
1605 which is being shared to other computers. (rh #458625)
1607 * src/nm-activation-request.c
1608 src/nm-activation-request.h
1609 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1610 the activation request which will get torn down automatically when
1611 the activation request dies
1612 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1613 is started, and tear them down when sharing is stopped
1616 - (start_sharing): start up sharing by doing the required iptables magic
1617 - (share_init): poke the right bits of the kernel and load the right
1619 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1620 connection if it's a 'shared' connection
1622 * src/NetworkManagerPolicy.c
1623 - Remove all sharing stuff; done in the device code itself
1625 2008-08-15 Dan Williams <dcbw@redhat.com>
1627 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1628 - (create_dm_cmd_line): send the right router address
1630 2008-08-15 Dan Williams <dcbw@redhat.com>
1632 * src/ppp-manager/nm-ppp-manager.c
1633 - (pppd_timed_out): ensure timeouts fail the connection
1635 2008-08-14 Dan Williams <dcbw@redhat.com>
1637 * src/nm-properties-changed-signal.c
1638 src/nm-properties-changed-signal.h
1639 - Add a property spec flag for "don't export this property" in
1640 property changed signals
1642 * src/nm-hso-gsm-device.c
1644 src/nm-cdma-device.c
1645 - Don't export monitor interface or netdev interface properties
1647 2008-08-14 Dan Williams <dcbw@redhat.com>
1649 * src/NetworkManagerPolicy.c
1650 - (update_routing_and_dns): 'hso' devices can be default even if they
1651 don't have a gateway
1653 2008-08-14 Dan Williams <dcbw@redhat.com>
1656 - (nm_device_deactivate_quickly): tear down activation request after
1657 calling device-specific deactivation
1659 * src/nm-hso-gsm-device.c
1660 - (real_deactivate_quickly): terminate connection when deactivating
1662 2008-08-14 Dan Williams <dcbw@redhat.com>
1664 * src/nm-activation-request.h
1665 - Add HSO secrets caller
1667 * src/nm-gsm-device.c
1669 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1670 something to the callback function
1671 - (set_apn, set_apn_done): call class dial function, not a static one
1672 - (nm_gsm_device_class_init): add a class 'dial' function
1674 * src/nm-hal-manager.c
1675 - (get_hso_netdev): find the hso-driven hardware's net device
1676 - (modem_device_creator): recognize hso-driven hardware and create the
1677 right type of device object for it
1680 src/nm-hso-gsm-device.c
1681 src/nm-hso-gsm-device.h
1682 - Implement support for devices driven by the 'hso' driver as a subclass
1685 2008-08-14 Dan Williams <dcbw@redhat.com>
1687 * src/NetworkManagerSystem.c
1688 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1689 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1690 success if the operation really was successful
1692 2008-08-14 Dan Williams <dcbw@redhat.com>
1694 * src/nm-netlink-monitor.c
1695 src/nm-netlink-monitor.h
1696 src/nm-device-ethernet.c
1697 - (nm_netlink_monitor_request_status): return an error on failure
1698 - (constructor): don't segfault on missing error
1700 2008-08-13 Dan Williams <dcbw@redhat.com>
1702 * callouts/nm-dispatcher-action.c
1703 - Add IP4 config info to script environment
1705 2008-08-12 Dan Williams <dcbw@redhat.com>
1708 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1709 that want to use DHCP hostnames should use dispatcher scripts
1712 * src/NetworkManagerSystem.h
1713 src/backends/NetworkManagerArch.c
1714 src/backends/NetworkManagerDebian.c
1715 src/backends/NetworkManagerFrugalware.c
1716 src/backends/NetworkManagerGeneric.c
1717 src/backends/NetworkManagerGeneric.h
1718 src/backends/NetworkManagerGentoo.c
1719 src/backends/NetworkManagerMandriva.c
1720 src/backends/NetworkManagerPaldo.c
1721 src/backends/NetworkManagerRedHat.c
1722 src/backends/NetworkManagerSlackware.c
1723 src/backends/NetworkManagerSuSE.c
1724 - Remove nm_system_set_hostname(), no longer used
1726 * src/backends/Makefile.am
1727 src/backends/shvar.c
1728 src/backends/shvar.h
1729 - Remove shvar.*; no longer used
1731 2008-08-12 Dan Williams <dcbw@redhat.com>
1733 Revert most of the 'hostname' patch. Too much stuff still breaks when
1734 hostname is updated at runtime. Distros or users who want hostname updates
1735 can use dispatcher scripts to update the hostname if they need it.
1737 2008-08-12 Dan Williams <dcbw@redhat.com>
1739 * introspection/nm-settings-system.xml
1740 system-settings/src/dbus-settings.c
1741 system-settings/src/dbus-settings.h
1742 - Add a 'Hostname' property (rw) which represents the configured
1743 hostname and domain of the system, if any
1745 * system-settings/src/nm-system-config-error.c
1746 system-settings/src/nm-system-config-error.h
1747 system-settings/src/nm-system-config-interface.c
1748 system-settings/src/nm-system-config-interface.h
1749 - Add a 'hostname' property to the plugin interface
1750 - Add a method to send updated hostname to plugins to save in their
1751 backing configuration store
1753 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1754 system-settings/plugins/keyfile/plugin.c
1755 system-settings/plugins/keyfile/writer.c
1756 system-settings/plugins/keyfile/writer.h
1757 system-settings/plugins/ifcfg-suse/plugin.c
1758 - Add minimal hostname support
1760 * system-settings/plugins/ifcfg-fedora/plugin.c
1761 - Add support for updating system hostname in /etc/sysconfig/network
1763 2008-08-12 Dan Williams <dcbw@redhat.com>
1765 * system-settings/plugins/ifcfg-fedora/shvar.c
1766 system-settings/plugins/ifcfg-fedora/shvar.c
1767 - Fix double-free caused by svSetValue() followed by svCloseFile()
1769 2008-08-12 Tambet Ingo <tambet@gmail.com>
1771 * Makefile.am: Fix distcheck.
1773 2008-08-12 Tambet Ingo <tambet@gmail.com>
1775 * libnm-glib/*.c. Document some more.
1777 2008-08-12 Tambet Ingo <tambet@gmail.com>
1779 Start documenting libnm-glib public API using gtk-doc.
1781 * libnm-glib/nm-serial-device.c:
1782 * libnm-glib/nm-object.c:
1783 * libnm-glib/nm-gsm-device.c:
1784 * libnm-glib/nm-device.c:
1785 * libnm-glib/nm-device-wifi.c:
1786 * libnm-glib/nm-device-ethernet.c:
1787 * libnm-glib/nm-client.c:
1788 * libnm-glib/nm-cdma-device.c: Document the public API.
1790 * docs/libnm-glib/libnm-glib.types: Implement.
1792 * docs/libnm-glib/Makefile.am: Implement.
1796 * Makefile.am: Add gtk-doc support.
1798 2008-08-12 Tambet Ingo <tambet@gmail.com>
1800 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1802 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1803 the composite result of all the IP4 configurations and call a distro
1804 specific update_resolv_conf().
1805 (update_resolv_conf): Implement one for directly writing to
1806 /etc/resolv.conf and one for opensuse to call netconfig.
1808 2008-08-11 Dan Williams <dcbw@redhat.com>
1810 * src/ppp-manager/nm-ppp-manager.c
1811 - (impl_ppp_manager_need_secrets): pass interface as required
1813 2008-08-11 Dan Williams <dcbw@redhat.com>
1815 Merge the vpn-properties setting with the vpn setting since it was pointless
1816 to keep both of them around. Convert the vpn 'data' hash table to a hash
1817 of string:string (instead of string:variant) so that system settings plugins
1818 can have an easier time dealing with the arbitrary key/value pairs.
1820 2008-08-11 Dan Williams <dcbw@redhat.com>
1822 * libnm-util/nm-utils.c
1823 - (nm_utils_register_value_transformations): add value transform for
1824 a hash table of string:string
1826 2008-08-10 Dan Williams <dcbw@redhat.com>
1828 * libnm-glib/nm-vpn-plugin.c
1829 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1830 an idle handler so the Connect reply gets delivered before the
1831 stop StateChanged signal
1833 2008-08-10 Dan Williams <dcbw@redhat.com>
1835 * src/nm-ip4-config.c
1836 - (get_property): use common ip4 address/route conversion functions
1837 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1838 copy the new route here, not take ownership
1840 2008-08-08 Tambet Ingo <tambet@gmail.com>
1842 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1843 Update the IP4 setting's method name.
1845 2008-08-07 Dan Williams <dcbw@redhat.com>
1847 * introspection/nm-ip4-config.xml
1848 libnm-glib/libnm-glib-test.c
1849 libnm-glib/nm-ip4-config.c
1850 libnm-glib/nm-ip4-config.h
1851 src/NetworkManagerSystem.h
1852 src/backends/NetworkManagerArch.c
1853 src/backends/NetworkManagerDebian.c
1854 src/backends/NetworkManagerFrugalware.c
1855 src/backends/NetworkManagerGeneric.c
1856 src/backends/NetworkManagerGeneric.h
1857 src/backends/NetworkManagerGentoo.c
1858 src/backends/NetworkManagerMandriva.c
1859 src/backends/NetworkManagerPaldo.c
1860 src/backends/NetworkManagerRedHat.c
1861 src/backends/NetworkManagerSlackware.c
1862 src/backends/NetworkManagerSuSE.c
1863 src/dhcp-manager/nm-dhcp-manager.c
1867 - Remove NIS logic; should be done from dispatcher scripts instead
1869 2008-08-07 Dan Williams <dcbw@redhat.com>
1871 * src/dhcp-manager/nm-dhcp-manager.c
1872 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1873 mis-handling of DHCP responses that returned more than one router
1874 (found by Grant Williamson)
1876 2008-08-07 Dan Williams <dcbw@redhat.com>
1878 * callouts/nm-dispatcher-action.c
1879 - (nm_dispatcher_action): grab device path and create the device; pass
1880 the device's DHCP4 config to script caller
1881 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1884 * libnm-glib/nm-dhcp4-config.c
1885 libnm-glib/nm-dhcp4-config.h
1886 - (nm_dhcp4_config_get_options): expose
1887 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1889 2008-08-07 Dan Williams <dcbw@redhat.com>
1891 * include/NetworkManager.h
1892 - Add the DHCP4Config D-Bus interface
1894 * libnm-glib/Makefile.am
1895 libnm-glib/nm-dhcp4-config.c
1896 libnm-glib/nm-dhcp4-config.h
1897 - Handle DHCP4 config objects exported by NM over D-Bus
1899 * libnm-glib/nm-device.c
1900 libnm-glib/nm-device.h
1901 - Add a 'dhcp4-config' property
1903 * libnm-glib/libnm-glib-test.c
1904 - Print out DHCP4 config for devices
1905 - Fix some crashes when no connections are active
1907 * src/nm-device-interface.c
1909 src/nm-dhcp4-config.c
1910 src/nm-dhcp4-config.h
1911 - Treat dhcp4-config object as an object path at the D-Bus interface so
1912 that when it doesn't exist we can proxy it as "/" which dbus-glib
1913 doesn't let us do when the property type is G_TYPE_OBJECT
1915 2008-08-07 Dan Williams <dcbw@redhat.com>
1917 * src/NetworkManager.c
1918 src/NetworkManagerSystem.h
1919 src/backends/NetworkManagerArch.c
1920 src/backends/NetworkManagerDebian.c
1921 src/backends/NetworkManagerFrugalware.c
1922 src/backends/NetworkManagerGeneric.c
1923 src/backends/NetworkManagerGeneric.h
1924 src/backends/NetworkManagerGentoo.c
1925 src/backends/NetworkManagerMandriva.c
1926 src/backends/NetworkManagerPaldo.c
1927 src/backends/NetworkManagerRedHat.c
1928 src/backends/NetworkManagerSlackware.c
1929 src/backends/NetworkManagerSuSE.c
1930 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1932 2008-08-06 Dan Williams <dcbw@redhat.com>
1934 * libnm-glib/nm-ip4-config.c
1935 libnm-glib/nm-ip4-config.h
1936 - Add 'routes' property
1938 * libnm-util/nm-setting-vpn.c
1939 libnm-util/nm-setting-vpn.h
1940 - Remove 'routes' property
1942 * libnm-util/nm-setting-ip4-config.c
1943 libnm-util/nm-setting-ip4-config.h
1944 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1945 - Add 'ignore-auto-routes' property
1946 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1947 accomodate route metrics
1948 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1950 * libnm-util/nm-utils.c
1951 libnm-util/nm-utils.h
1952 - Add helpers for marshalling IP4 routes
1954 * src/NetworkManagerUtils.c
1955 - (nm_utils_merge_ip4_config): handle property renames and new route
1958 * src/NetworkManagerSystem.c
1959 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1960 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1962 * src/dhcp-manager/nm-dhcp-manager.c
1963 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1965 * system-settings/plugins/ifcfg-fedora/reader.c
1966 system-settings/plugins/ifcfg-fedora/writer.c
1967 - Handle routes separately from addresses now that routes have a different
1970 * introspection/nm-ip4-config.xml
1973 - Rename internal routing functions
1974 - 'static-routes' renamed to 'routes'
1976 2008-08-04 Dan Williams <dcbw@redhat.com>
1978 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1980 * src/NetworkManager.c
1983 - More explicitly make the NMManager a singleton
1985 2008-08-04 Dan Williams <dcbw@redhat.com>
1987 * libnm-util/nm-connection.c
1988 libnm-util/nm-connection.h
1989 - (nm_connection_verify): return error on missing 'connection' setting
1990 (found by Sjoerd Simons)
1992 2008-08-04 Dan Williams <dcbw@redhat.com>
1994 Handle multiple concurrent PPP connections.
1996 * src/ppp-manager/nm-ppp-manager.c
1997 src/ppp-manager/nm-ppp-manager.h
1998 - (constructor): only PPP Manager request bus name once; each
1999 NMPPPManager object gets a unique object path
2000 - (nm_ppp_manager_class_init, get_property, set_property,
2001 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
2003 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
2004 remove timeout until PPP manager gets an IP4 config
2005 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
2006 the plugin can call back to this specific PPP manager instance
2008 * src/nm-device-ethernet.c
2009 src/nm-serial-device.c
2010 - Pass parent device in nm_ppp_manager_new()
2012 * src/nm-gsm-device.c
2013 src/nm-cdma-device.c
2014 - (device_state_changed): don't close serial device on NEED_AUTH
2015 state changed, that's not a failure case like the rest are
2017 * src/ppp-manager/nm-pppd-plugin.c
2018 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
2019 binds one interface to any pppd process, thus the correct index
2020 is always 0; send PHASE_DEAD on error to alert NM immediately of
2021 problems; try harder to get a peer address in spite of pppd
2022 - (plugin_init): use 'ipparam' as the object path back to our specific
2023 PPP manager instance
2025 2008-08-04 Dan Williams <dcbw@redhat.com>
2027 * src/ppp-manager/nm-ppp-manager.c
2028 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
2029 since the GSM and CDMA settings now implement need_secrets, we can
2030 rely on them to do the right thing. Where secrets are not required,
2031 just pass empty strings back to the pppd plugin.
2032 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
2033 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
2034 on successful IP4 config receipt
2036 2008-08-04 Dan Williams <dcbw@redhat.com>
2038 * libnm-util/nm-setting-cdma.c
2039 libnm-util/nm-setting-gsm.c
2040 - (verify): validate username & password if they exist
2041 - (need_secrets): if username given, require a password too
2043 2008-08-04 Dan Williams <dcbw@redhat.com>
2045 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2046 - (create_dm_cmd_line): really don't listen on lo, despite what the
2047 manpage says about --listen-address without --interface
2050 2008-08-01 Dan Williams <dcbw@redhat.com>
2052 * libnm-glib/nm-device.c
2053 - (proxy_get_string): util function for querying a HAL property
2054 - (get_ancestor_device): split out from get_product_and_vendor()
2055 - (get_product_and_vendor): simplify; get more accurate pid & vid info
2056 from PCI devices by querying subsys properties
2057 - (nm_device_update_description): simplify
2059 2008-08-01 Dan Williams <dcbw@redhat.com>
2061 * libnm-util/nm-setting-ip4-config.c
2062 libnm-util/nm-setting-ip4-config.h
2063 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
2064 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
2065 settings, and they don't necessarily use DHCP.
2067 * src/NetworkManagerPolicy.c
2069 system-settings/plugins/ifcfg-fedora/reader.c
2070 system-settings/plugins/ifcfg-suse/parser.c
2071 - Fixup for method changes
2073 2008-07-31 Dan Williams <dcbw@redhat.com>
2075 * src/nm-activation-request.c
2076 src/vpn-manager/nm-vpn-connection.c
2077 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
2078 itself should be attached to the activation request or the VPN
2079 connection, not the NMConnection object, since the call is not
2080 expected to live as long as the NMConnection itself
2082 2008-07-31 Dan Williams <dcbw@redhat.com>
2084 * src/nm-device-wifi.c
2085 - (real_act_stage2_config): fix issue where association would continue
2086 even though secrets were needed; 'goto out' was in wrong scope and
2087 result of handle_auth_or_fail() should have been dumped directly to
2088 'ret' to ensure that the association was postponed until secrets
2091 2008-07-31 Dan Williams <dcbw@redhat.com>
2093 * system-settings/plugins/ifcfg-fedora/plugin.c
2094 system-settings/plugins/ifcfg-fedora/reader.c
2095 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
2098 2008-07-29 Dan Williams <dcbw@redhat.com>
2100 * src/nm-gsm-device.c
2101 - (automatic_registration_response, automatic_registration): recognize
2102 denied registration and reorder responses
2104 2008-07-29 Dan Williams <dcbw@redhat.com>
2106 * src/nm-serial-device.c
2107 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
2108 time(2) is used for current time, which returns seconds, we shouldn't
2109 be multiplying by 1000.
2111 2008-07-28 Dan Williams <dcbw@redhat.com>
2113 Patch from Fabrice Bellet <fabrice@bellet.info>
2115 * src/NetworkManagerSystem.c
2116 - (route_in_same_subnet): mask addresses and compare them so that the
2117 function actually does what it says it's going to do (rh #456685)
2119 2008-07-27 Dan Williams <dcbw@redhat.com>
2121 * libnm-util/nm-setting-ip6-config.c
2122 - (set_property): add missing break that caused routes to be overwritten
2125 * libnm-util/nm-setting-ip6-config.c
2126 - (verify): validate routes and return GError everywhere on invalid setting
2127 - (finalize): don't leak routes
2128 - (set_property): add missing break that caused routes to be overwritten
2131 2008-07-27 Dan Williams <dcbw@redhat.com>
2134 - Relicense to LGPLv2+
2136 2008-07-27 Dan Williams <dcbw@redhat.com>
2138 * system-settings/plugins/ifcfg-fedora/reader.c
2139 - (make_ip4_setting): fix parsing automatic configs
2141 2008-07-27 Dan Williams <dcbw@redhat.com>
2143 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2145 src/ppp-manager/nm-ppp-manager.c
2146 - Ensure child process gets reaped. The child watch function may be
2147 removed from the mainloop before the child gets killed, so we have
2148 to make sure the child is reaped when it's told to die intentionally
2150 2008-07-27 Dan Williams <dcbw@redhat.com>
2152 Patch from Roy Marples <roy@marples.name>
2154 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2155 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2157 2008-07-27 Dan Williams <dcbw@redhat.com>
2159 * src/nm-gsm-device.c
2160 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2161 Huawei devices turn echo back on after CPIN (rh #456770)
2163 2008-07-24 Tambet Ingo <tambet@gmail.com>
2165 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2166 format argument to g_set_error() call.
2168 * src/backends/interface_parser.[ch]: Remove.
2170 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2172 2008-07-21 Dan Williams <dcbw@redhat.com>
2174 * src/ppp-manager/nm-ppp-manager.c
2175 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2176 to prevent pppd from picking up some random local address from an
2177 interface that doesn't have anything to do with the one we're
2178 interested in (rh #455348)
2180 2008-07-17 Dan Williams <dcbw@redhat.com>
2182 * libnm-util/nm-utils.c
2183 - (string_to_utf8): general function for conversion to UTF-8 assisted
2185 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2186 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2188 2008-07-17 Dan Williams <dcbw@redhat.com>
2190 * introspection/Makefile.am
2191 introspection/nm-device.xml
2192 introspection/nm-dhcp4-config.xml
2193 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2195 * src/nm-device-interface.c
2196 src/nm-device-interface.h
2197 - Add the DHCP4Config property
2200 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2201 D-Bus clients when it changes
2203 * src/nm-dhcp4-config.c
2204 src/nm-dhcp4-config.h
2205 - Simple object to store DHCP4 options, export them over D-Bus, and
2206 notify when they change
2208 * src/dhcp-manager/nm-dhcp-manager.c
2209 src/dhcp-manager/nm-dhcp-manager.h
2210 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2211 filter server-returned DHCP options into an NMDHCP4Config object
2213 2008-07-16 Dan Williams <dcbw@redhat.com>
2215 * introspection/nm-device.xml
2216 - Add device state reasons
2218 2008-07-16 Dan Williams <dcbw@redhat.com>
2220 Patch from Roy Marples <roy@marples.name>
2223 - Add --with-dhcp-client option
2225 * src/dhcp-manager/Makefile.am
2226 - pass DHCP_CLIENT_PATH on compile line
2228 * src/dhcp-manager/nm-dhcp-manager.c
2229 src/dhcp-manager/nm-dhcp-manager.h
2230 - Genericize for both dhcpcd and dhclient
2232 * src/dhcp-manager/nm-dhcp-dhclient.c
2233 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2235 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2236 - Implement support for dhcpcd too
2238 2008-07-16 Tambet Ingo <tambet@gmail.com>
2240 * system-settings/src/nm-system-config-interface.c
2241 (nm_system_config_interface_supports_add): Implement.
2242 (nm_system_config_interface_add_connection): Return a boolean to notify
2245 * system-settings/src/nm-polkit-helpers.c:
2246 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2249 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2250 Return an error when none of the plugins support add or if addition
2251 failed for some reason.
2253 * system-settings/src/nm-system-config-error.h:
2254 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2255 here from nm-polkit-helpers.[ch].
2257 * system-settings/src/Makefile.am: Build new files.
2259 * system-settings/plugins/keyfile/reader.c
2260 (read_array_of_array_of_uint): Make it more general so that it would
2261 work for routes as well.
2263 * system-settings/plugins/keyfile/writer.c
2264 (write_array_of_array_of_uint): Ditto.
2265 Fix the netmask/prefix writing.
2267 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2268 boolean to notify errors.
2270 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2271 Return more specific error.
2274 2008-07-11 Dan Williams <dcbw@redhat.com>
2276 Modify the NMDevice::state-changed signal to include the previous state
2277 and reason. Enables the applet to provide more information why device
2280 2008-07-09 Dan Williams <dcbw@redhat.com>
2282 * callouts/Makefile.am
2283 callouts/nm-avahi-autoipd-action.c
2284 callouts/nm-avahi-autoipd.conf
2285 - avahi-autoipd callout to send options back to NM
2292 src/nm-device-private.h
2294 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2297 2008-07-07 Dan Williams <dcbw@redhat.com>
2299 * system-settings/plugins/ifcfg-fedora/reader.c
2300 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2301 handle PREFIX too; clean up
2303 2008-07-07 Dan Williams <dcbw@redhat.com>
2305 Convert to using IPv4 prefixes instead of netmasks.
2307 2008-07-03 Dan Williams <dcbw@redhat.com>
2309 * libnm-util/nm-setting-ip4-config.c
2310 libnm-util/nm-setting-ip4-config.h
2311 - Add properties for DHCP Client Identifier and DHCP Hostname
2313 * src/dhcp-manager/nm-dhcp-manager.c
2314 src/dhcp-manager/nm-dhcp-manager.h
2315 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2316 setting as an argument to pass on to the dhclient config file
2318 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2320 - (dhclient_run): punt config file handling to create_dhclient_config()
2321 - (create_dhclient_config): create an interface-specific dhclient
2322 config file since there may need to be interface-specific options
2324 - (merge_dhclient_config): merge normal distro dhclient config file and
2325 add options from the connection
2326 - (nm_dhcp_device_new): generate the interface specific dhclient
2327 config file path once
2328 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2329 dhclient config file path
2332 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2333 DHCP manager when starting DHCP
2335 2008-07-02 Dan Williams <dcbw@redhat.com>
2337 * libnm-util/nm-setting-8021x.c
2338 - (verify): allow forcing the PEAP label to 0
2340 2008-07-02 Dan Williams <dcbw@redhat.com>
2342 * introspection/nm-active-connection.xml
2343 introspection/nm-vpn-connection.xml
2344 libnm-glib/nm-active-connection.c
2345 src/nm-activation-request.c
2346 src/nm-active-connection.h
2347 src/vpn-manager/nm-vpn-connection.c
2348 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2349 and libnm-glib API since sharing didn't get implemented that way
2351 2008-07-02 Dan Williams <dcbw@redhat.com>
2353 * src/nm-device-wifi.c
2354 - (can_scan): don't scan when a shared connection is activated since
2355 that makes drivers mad (causing disconnects); also NM doesn't need
2356 to hedge against disconnects by keeping up-to-date network topology
2357 because the connection originates from the local machine, and thus
2358 there should be no disconnects
2360 2008-07-01 Dan Williams <dcbw@redhat.com>
2362 Fix mobile broadband username/password issues. NM was never requesting
2363 mobile broadband secrets, nor was it passing back the username and password
2366 * marshallers/nm-marshal.list
2367 - Add some new types for activation request objects
2369 * src/nm-activation-request.c
2370 src/nm-activation-request.h
2371 - (get_secrets_cb): pass the caller type in the signal
2372 - (nm_act_request_request_connection_secrets): take a caller type, so
2373 that GetSecrets() reply handlers know who asked for the secrets in
2374 the first place; use secret hints too so the settings service can
2375 figure out exactly what NM wants (ie, PIN or the PPP password)
2377 * src/ppp-manager/nm-ppp-manager.c
2378 src/ppp-manager/nm-ppp-manager.h
2379 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2380 detect needed secrets when the secret could be blank, like GSM/CDMA
2381 passwords. So always ask for secrets, and send a hint as to what
2382 secret we really want.
2383 - (nm_ppp_manager_update_secrets): make function more generic by making
2384 the device specific class figure out the username and password, and
2385 accept an error argument to return back over D-Bus
2387 * src/nm-device-wifi.c
2388 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2389 nm_act_request_request_connection_secrets()
2390 - (real_connection_secrets_updated): update for 'caller' changes
2394 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2395 for 'caller' changes
2397 * src/nm-device-ethernet.c
2398 - (real_connection_secrets_updated): update for 'caller' changes and
2399 move logic for getting PPPoE username and password here before
2400 calling nm_ppp_manager_update_secrets()
2401 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2402 nm_act_request_request_connection_secrets()
2404 * src/nm-cdma-device.c
2405 - (real_connection_secrets_updated): pass username and password back
2406 to the PPP manager when required
2408 * src/nm-gsm-device.c
2409 - (enter_pin): send the required secret name to the settings service
2410 - (real_connection_secrets_updated): pass username and password back
2411 to the PPP manager when required
2413 2008-06-30 Dan Williams <dcbw@redhat.com>
2415 * src/nm-device-wifi.c
2416 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2418 2008-06-30 Dan Williams <dcbw@redhat.com>
2420 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2421 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2422 priv->supplicant.iface. When either condition is false, the device should
2423 transition back to UNAVAILABLE because it cannot be used.
2425 * src/nm-device-wifi.c
2426 - (constructor): cleanup; connect to supplicant manager here since the
2427 supplicant manager is always around
2428 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2429 ensure the supplicant manager is in the IDLE state
2430 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2431 cancel any pending scans too
2432 - (real_bring_up): don't set up the supplicnat interface here, because
2433 we need the supplicant interface at times when the device may not
2435 - (real_take_down): just remove the periodic source
2436 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2437 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2438 do anything if there's no supplicant interface
2439 - (cleanup_association_attempt): cleanup
2440 - (supplicant_iface_state_cb_handler): request an immediate scan when
2441 the interface enters the READY state; transition to UNAVAILABLE
2442 state when the interface goes down because the device can't be used
2443 without a supplicant interface
2444 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2445 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2446 acquire the supplicant interface and transition to DISCONNECTED
2447 if the radio isn't killed
2448 - (nm_device_wifi_dispose): move most of device_cleanup() here
2449 - (state_changed_cb): release any existing supplicant interface; if the
2450 radio is enabled then try to acquire a new supplicant interface;
2451 if the radio is enabled and a supplicant interface has been acquired,
2452 we can transition to DISCONNECTED
2453 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2454 don't enable the radio, because HAL probably lied to us about the
2455 killswitch being off. If bringing the hardware up worked, then
2456 try to grab a supplicant interface, and if that was successful,
2457 transition to DISCONNECTED
2459 2008-06-30 Dan Williams <dcbw@redhat.com>
2461 * src/supplicant-manager/nm-supplicant-interface.c
2462 - (request_scan_results, nm_supplicant_interface_dispose,
2463 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2464 the id of the timeout, not a GSource
2466 2008-06-30 Tambet Ingo <tambet@gmail.com>
2468 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2469 bunch of typoes introduced by "Patch from David Cantrell
2470 <dcantrell@redhat.com> and me".
2472 2008-06-30 Tambet Ingo <tambet@gmail.com>
2474 * src/nm-serial-device.c:
2475 * src/nm-gsm-device.c:
2476 * src/nm-cdma-device.c: Move the pending call handling to a common location
2477 in serial device. Handle setting device state to failed in one place as well.
2479 2008-06-29 Dan Williams <dcbw@redhat.com>
2481 * src/nm-hal-manager.c
2482 - Rework killswitch handling to query killswitch status immediately
2483 when the first killswitch is added, so that rfkill state is
2484 known as early as possible
2485 - Also treat failure of GetPower() as rfkill when the dbus method
2486 call times out (but not when the HAL callout returns an error)
2488 2008-06-26 Dan Williams <dcbw@redhat.com>
2490 Patch from David Cantrell <dcantrell@redhat.com> and me
2492 * include/nm-dbus-glib-types.h
2493 - Add IP6 address types
2495 * libnm-util/Makefile.am
2496 libnm-util/nm-setting-ip6-config.c
2497 libnm-util/nm-setting-ip6-config.h
2498 - Add IP6 settings object
2500 * libnm-util/nm-connection.c
2501 - (register_default_settings): register ip6 settings object
2503 * libnm-util/nm-utils.c
2504 libnm-util/nm-utils.h
2505 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2506 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2507 ip6 address conversion functions
2509 2008-06-26 Dan Williams <dcbw@redhat.com>
2511 Patch from David Cantrell <dcantrell@redhat.com>
2513 * Use inet_ntop() and inet_pton() everwhere and check for errors
2515 2008-06-26 Dan Williams <dcbw@redhat.com>
2517 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2519 2008-06-26 Dan Williams <dcbw@redhat.com>
2521 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2523 * src/nm-device-wifi.c
2524 - (link_timeout_cb): don't ignore disconnects due to scanning
2525 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2526 a longer timeout when scanning; avoids case where supplicant can't
2527 find the AP and just keeps scanning forever but isn't connected
2529 2008-06-26 Dan Williams <dcbw@redhat.com>
2531 Patch from Michael Biebl <biebl@debian.org>
2533 * Clean up build system stuff
2535 2008-06-23 Christian Persch <chpe@gnome.org>
2537 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2538 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2539 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2541 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2543 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2544 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2545 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2547 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2548 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2549 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2550 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2551 * vpn-daemons/pptp/properties/vpnui_opt.c:
2552 (vpnui_opt_connect_signals):
2553 * vpn-daemons/pptp/properties/vpnui_opt.h:
2554 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2555 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2556 deprecated gtk type macros. Bug #539325.
2558 2008-06-20 Dan Williams <dcbw@redhat.com>
2560 * libnm-glib/nm-vpn-plugin-ui-interface.c
2561 libnm-glib/nm-vpn-plugin-ui-interface.h
2562 - 'validity-changed' -> 'changed' to work better with the connection
2563 editor. Plugin UI widgets should emit 'changed' whenever their
2564 UI values change in a meaningful way.
2565 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2566 update_connection member now returns validity of the UI widget
2568 2008-06-20 Tambet Ingo <tambet@gmail.com>
2570 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2572 2008-06-17 Dan Williams <dcbw@redhat.com>
2574 * libnm-glib/nm-vpn-plugin-ui-interface.c
2575 libnm-glib/nm-vpn-plugin-ui-interface.h
2576 - Add "desc" property for longer descriptions of the VPN plugin
2578 2008-06-16 Dan Williams <dcbw@redhat.com>
2581 libnm-glib/libnm_glib_vpn.pc.in
2582 - add a .pc file for libnm_glib_vpn
2584 * libnm-glib/nm-vpn-plugin-ui-interface.c
2585 libnm-glib/nm-vpn-plugin-ui-interface.h
2586 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2587 rework it substantially
2589 2008-06-12 Dan Williams <dcbw@redhat.com>
2591 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2592 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2593 returns a descriptive GError when verification fails.
2595 2008-06-11 Dan Williams <dcbw@redhat.com>
2597 Patch from Tambet Ingo <tambet@gmail.com>
2599 * libnm-util/nm-setting-gsm.c
2600 - (verify): validate APN
2602 * src/nm-gsm-device.c
2603 - (manual_registration_done): start setting APN if needed
2604 - (set_apn, set_apn_done): set the APN
2605 - (do_dial): use the APN when dialing
2607 2008-06-11 Dan Williams <dcbw@redhat.com>
2609 * src/NetworkManagerSystem.c
2610 - (nm_system_device_set_ip4_route,
2611 nm_system_device_replace_default_ip4_route): check for the right
2612 return value from rtnl_route_add() to know when to add a gateway
2615 2008-06-11 Dan Williams <dcbw@redhat.com>
2617 * src/NetworkManagerPolicy.c
2618 - do_ipt_cmd -> do_cmd
2619 - (sharing_init): use do_cmd() instead of system()
2621 2008-06-10 Dan Williams <dcbw@redhat.com>
2623 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2624 and use "wifi" everwhere instead.
2626 2008-06-10 Dan Williams <dcbw@redhat.com>
2628 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2630 2008-06-10 Dan Williams <dcbw@redhat.com>
2632 Patch from Tambet Ingo <tambet@gmail.com>
2634 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2637 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2638 a signal to emit these changes over dbus.
2640 * src/Makefile.am: Genereate nm-serial-device-glue.
2642 * libnm-glib/nm-serial-device.[ch]: Implement.
2644 * libnm-glib/nm-cdma-device.[ch]
2645 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2647 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2649 * introspection/nm-device-serial.xml: Implement.
2651 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2653 * introspection/Makefile.am: Add nm-device-serial.xml.
2655 * include/NetworkManager.h: Add a DBus interface for serial device.
2657 2008-06-10 Dan Williams <dcbw@redhat.com>
2660 - Add TARGET_* define to config.h to distinguish distros
2662 * src/dhcp-manager/nm-dhcp-manager.c
2663 - (dhclient_run): use distro-specific path for dhclient config file
2665 2008-06-09 Dan Williams <dcbw@redhat.com>
2667 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2668 src/dnsmasq-manager/nm-dnsmasq-manager.h
2669 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2670 calculate the addresses passed to dnsmasq instead of hard-coding
2674 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2675 IP addresses for shared connections to guard against shared
2676 connection address collisions
2677 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2679 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2682 2008-06-09 Dan Williams <dcbw@redhat.com>
2684 * src/NetworkManagerPolicy.c
2685 - (update_routing_and_dns): set the default connection _after_ unsetting
2686 default on all non-default connections so that two connections can
2687 never be default at the same time
2688 - (device_state_changed): start and stop connection sharing when
2690 - (active_connection_default_changed): restart or stop sharing when
2691 the default connection changes to keep shared connections always
2692 NAT-ed through the default connection
2693 - (check_sharing): handle activation/deactivation of shared connections
2694 - (sharing_restart): atom-bomb approach to connection sharing until we
2695 can use libnl; reinit all sharing when the default connection or
2696 shared connections change
2697 - (sharing_init, sharing_stop): evil functions that init and deinit
2700 2008-06-09 Dan Williams <dcbw@redhat.com>
2702 * src/nm-activation-request.c
2703 src/nm-activation-request.h
2704 - (nm_act_request_set_shared, nm_act_request_get_shared,
2705 nm_act_request_get_device): new functions to facilitate connection
2708 2008-06-09 Dan Williams <dcbw@redhat.com>
2711 - (clear_act_request): unset the 'default' property of the activation
2712 request when clearing it to ensure the property changed signal gets
2713 delivered and handled
2715 2008-06-09 Dan Williams <dcbw@redhat.com>
2717 * libnm-glib/nm-device-802-11-wireless.c
2718 - (access_point_removed_proxy): actually unref the AP after removing
2719 it from the device's AP list. Fixes refcounting bug for APs that
2720 caused them to get mixed up in the applet's menu.
2722 2008-06-09 Tambet Ingo <tambet@gmail.com>
2724 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2725 (nm_dhcp_device_destroy): Destroy the device options hash table.
2727 2008-06-06 Dan Williams <dcbw@redhat.com>
2729 * system-settings/src/nm-polkit-helpers.c
2730 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2731 unref the context if the initialization fails; also avoid spew when
2734 2008-06-06 Dan Williams <dcbw@redhat.com>
2736 Patch from Tambet Ingo <tambet@gmail.com>
2738 * src/NetworkManagerSystem.c
2739 src/NetworkManagerSystem.h
2740 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2741 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2742 - (nm_system_device_set_ip4_route): clean up
2743 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2746 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2748 * src/vpn-manager/nm-vpn-connection.c
2749 - (ip_address_to_string): new function
2750 - (print_vpn_config): use ip_address_to_string
2751 - (merge_vpn_routes): add user-defined routes to the ip4 config
2752 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2754 * include/NetworkManagerVPN.h
2757 2008-06-05 Dan Williams <dcbw@redhat.com>
2759 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2762 - Show which device is the default device
2764 2008-06-05 Tambet Ingo <tambet@gmail.com>
2768 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2769 Free data returned from dbus method call.
2771 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2772 dbus_g_method_get_sender() returns a duplicated string, free it
2774 (check_polkit_privileges): Looks like policykit sometimes returns
2775 error and non-null return value, don't leak errors in that case.
2777 * system-settings/src/main.c (find_plugin): Don't leak existing
2779 (load_stuff): Don't leak device list and list items.
2780 (have_connection_for_device): Don't leak connection list.
2782 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2783 Free the data received from g_keyfile_get_*.
2785 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2786 the key when the security object is updated.
2788 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2789 Free data returned from dbus method call.
2790 (iface_state_cb): Ditto.
2791 (add_network_cb): Ditto.
2792 (nm_supplicant_interface_add_cb): Don't make another copy of already
2793 duplicated object path.
2794 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2797 * src/supplicant-manager/nm-supplicant-config.c
2798 (ADD_STRING_LIST_VAL): Fix a memory leak.
2800 * src/nm-manager.c (free_get_settings_info): Free the allocated
2802 (list_connections_cb): Free data returned from dbus method call.
2803 (system_settings_get_unmanaged_devices_cb): Ditto.
2805 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2807 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2808 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2809 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2812 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2813 arguments after the object is created.
2815 2008-06-04 Dan Williams <dcbw@redhat.com>
2817 * libnm-util/Makefile.am
2818 - Don't distribute nm-param-spec-specialized.h
2820 2008-06-02 Tambet Ingo <tambet@gmail.com>
2822 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2824 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2825 NMIP4Address, update the getters and setters.
2827 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2828 Use the updated NMIP4Config routes api.
2830 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2831 static routes as well.
2833 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2834 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2837 2008-05-30 Dan Williams <dcbw@redhat.com>
2839 * src/named-manager/nm-named-manager.c
2840 src/named-manager/nm-named-manager.h
2841 - Remove stale/obsolete bits for controlling bind over DBus
2843 2008-05-29 Dan Williams <dcbw@redhat.com>
2845 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2846 src/dnsmasq-manager/nm-dnsmasq-manager.h
2847 - (nm_dnsmasq_manager_new): move iface argument here
2848 - (constructor): remove, not needed
2849 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2850 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2853 - (real_act_stage4_get_ip4_config,
2854 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2857 2008-05-29 Dan Williams <dcbw@redhat.com>
2860 - (dnsmasq_state_changed_cb): new function; fail the connection if
2861 something happens to dnsmasq
2862 - (nm_device_new_ip4_shared_config): new function; create a new
2863 ip4-config for shared connections. Shared connections always use a
2864 fixed static IP address.
2865 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2866 autoip connections by actually using the returned ip4-config and
2868 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2870 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2873 2008-05-29 Dan Williams <dcbw@redhat.com>
2875 * src/nm-device-802-11-wireless.c
2876 - (real_get_best_auto_connection): auto-activate 'shared' method
2879 2008-05-29 Dan Williams <dcbw@redhat.com>
2881 * libnm-util/nm-setting-ip4-config.c
2882 libnm-util/nm-setting-ip4-config.h
2883 - Add a 'shared' method to indicate that this connection should be
2884 brought up with a DHCP and proxy DNS server to facilitate
2886 - (verify): 'shared' method doesn't allow DNS or searches either
2888 2008-05-29 Dan Williams <dcbw@redhat.com>
2892 src/dnsmasq-manager/Makefile.am
2893 src/dnsmasq-manager/nm-dnsmasq-manager.c
2894 src/dnsmasq-manager/nm-dnsmasq-manager.h
2895 - Add a dnsmasq daemon manager to facilitate connection sharing
2897 2008-05-29 Dan Williams <dcbw@redhat.com>
2899 * src/nm-device-private.h
2900 - Remove unused prototypes and clean up
2903 - Remove anything related to system_config_data, which is no longer used
2904 - (nm_device_new_ip4_autoip_config): make static
2906 2008-05-29 Tambet Ingo <tambet@gmail.com>
2908 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2909 (file_changed): Fix a bug where suse system settings plugin didn't
2910 update the connections automatically when the files changed.
2912 2008-05-28 Dan Williams <dcbw@redhat.com>
2914 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2916 2008-05-28 Dan Williams <dcbw@redhat.com>
2918 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2920 * src/NetworkManagerSystem.c
2921 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2922 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2923 was causing -EINVAL errors since the libnl code actually does flush
2924 the routes on VPN interfaces now
2926 * src/backends/NetworkManagerArch.c
2927 src/backends/NetworkManagerDebian.c
2928 src/backends/NetworkManagerFrugalware.c
2929 src/backends/NetworkManagerGeneric.c
2930 src/backends/NetworkManagerGentoo.c
2931 src/backends/NetworkManagerMandriva.c
2932 src/backends/NetworkManagerPaldo.c
2933 src/backends/NetworkManagerRedHat.c
2934 src/backends/NetworkManagerSlackware.c
2935 src/backends/NetworkManagerSuSE.c
2936 - (nm_system_device_flush_ip4_routes,
2937 nm_system_device_flush_ip4_routes_with_iface): remove
2939 2008-05-28 Dan Williams <dcbw@redhat.com>
2941 * libnm-util/nm-setting-wireless.c
2942 libnm-util/nm-setting-wireless.h
2943 - (set_property, get_property, nm_setting_wireless_class_init): add the
2944 'adhoc-create' property, which when TRUE indicates that NM should
2945 create this connection as an adhoc wifi network if it's not found
2946 as an adhoc network during scanning. Can be used to auto-create
2947 adhoc networks when used in combination with autoconnect.
2949 2008-05-28 Tambet Ingo <tambet@gmail.com>
2951 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2953 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2954 checked, it doesn't work on some devices.
2956 2008-05-28 Tambet Ingo <tambet@gmail.com>
2958 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2959 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2961 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2962 Use inet_aton() everywhere to improve error detection.
2963 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2966 2008-05-26 Tambet Ingo <tambet@gmail.com>
2968 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2971 2008-05-26 Tambet Ingo <tambet@gmail.com>
2973 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2974 reference counting issue.
2976 2008-05-23 Dan Williams <dcbw@redhat.com>
2978 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2980 * src/backends/NetworkManagerGeneric.c
2981 - (nm_generic_enable_loopback): use libnl
2983 2008-05-23 Dan Williams <dcbw@redhat.com>
2985 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2987 * src/NetworkManagerSystem.h
2988 src/backends/NetworkManagerArch.c
2989 src/backends/NetworkManagerDebian.c
2990 src/backends/NetworkManagerFrugalware.c
2991 src/backends/NetworkManagerGentoo.c
2992 src/backends/NetworkManagerMandriva.c
2993 src/backends/NetworkManagerPaldo.c
2994 src/backends/NetworkManagerRedHat.c
2995 src/backends/NetworkManagerSlackware.c
2996 src/backends/NetworkManagerSuSE.c
2997 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2998 nm_system_flush_arp_cache): remove, unused
3000 * src/backends/NetworkManagerGeneric.c
3001 src/backends/NetworkManagerGeneric.h
3002 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
3003 nm_generic_flush_arp_cache): remove, unused
3005 2008-05-23 Dan Williams <dcbw@redhat.com>
3007 * system-settings/plugins/ifcfg-fedora/reader.c
3008 - (make_ip4_setting): honor PEERDNS setting
3010 2008-05-23 Dan Williams <dcbw@redhat.com>
3012 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3014 * src/NetworkManagerSystem.c
3015 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
3018 * src/backends/NetworkManagerArch.c
3019 src/backends/NetworkManagerDebian.c
3020 src/backends/NetworkManagerFrugalware.c
3021 src/backends/NetworkManagerGentoo.c
3022 src/backends/NetworkManagerMandriva.c
3023 src/backends/NetworkManagerPaldo.c
3024 src/backends/NetworkManagerRedHat.c
3025 src/backends/NetworkManagerSlackware.c
3026 src/backends/NetworkManagerSuSE.c
3027 - (nm_system_device_flush_ip4_addresses,
3028 nm_system_device_flush_ip4_addresses_with_iface): remove
3030 * src/backends/NetworkManagerGeneric.c
3031 - (nm_generic_device_flush_ip4_addresses,
3032 nm_generic_device_flush_ip4_addresses_with_iface): remove
3034 2008-05-23 Dan Williams <dcbw@redhat.com>
3036 * src/supplicant-manager/nm-supplicant-settings-verify.c
3037 - Switch 'bssid' from bytes to keyword type
3038 - (validate_type_keyword): allow NULL keyword lists
3040 * src/supplicant-manager/nm-supplicant-config.c
3041 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
3042 a byte array to string form, which is what the supplicant expects
3044 2008-05-23 Tambet Ingo <tambet@gmail.com>
3046 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
3047 information received from DHCP.
3049 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
3050 to make it possible to ignore the DNS information (both servers and
3051 searches) returned by DHCP server.
3053 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
3054 name servers and searches if "ignore_dhcp_dns" is set.
3056 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
3057 (nm_ip4_config_reset_searches): Implement.
3059 2008-05-22 Dan Williams <dcbw@redhat.com>
3061 Remove anything mDNS related. This is better done from a distro-specific
3062 dispatcher script. Plus, any distro using avahi doesn't need to restart
3063 avahi, since avahi can handle interface changes just fine using netlink.
3066 - Remove --with-mdns-provider
3068 * src/NetworkManagerPolicy.c
3069 - (global_state_changed): don't restart the mdns provider
3071 * src/NetworkManagerSystem.h
3072 src/backends/NetworkManagerArch.c
3073 src/backends/NetworkManagerDebian.c
3074 src/backends/NetworkManagerFrugalware.c
3075 src/backends/NetworkManagerGentoo.c
3076 src/backends/NetworkManagerMandriva.c
3077 src/backends/NetworkManagerPaldo.c
3078 src/backends/NetworkManagerRedHat.c
3079 src/backends/NetworkManagerSlackware.c
3080 src/backends/NetworkManagerSuSE.c
3081 - (nm_system_restart_mdns_responder): remove
3083 * src/backends/NetworkManagerGeneric.c
3084 src/backends/NetworkManagerGeneric.h
3085 - (nm_generic_restart_mdns_responder): remove
3087 2008-05-22 Dan Williams <dcbw@redhat.com>
3090 - clean up crypto options; just use --with-crypto=nss or
3091 --with-crypto=gnutls
3093 2008-05-22 Tambet Ingo <tambet@gmail.com>
3095 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
3096 anymore, do it right away.
3098 2008-05-22 Tambet Ingo <tambet@gmail.com>
3100 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
3101 serial device open when we're not connecting or connected.
3103 * src/nm-cdma-device.c (device_state_changed): Ditto.
3105 2008-05-22 Tambet Ingo <tambet@gmail.com>
3107 Don't remove all devices on waking up, sync with HAL.
3109 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
3110 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
3111 (hal_manager_hal_reappeared_cb): Just call sync_devices.
3113 2008-05-21 Tambet Ingo <tambet@gmail.com>
3115 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
3116 If the default gateway is unreachable, add a route to gateway and try
3119 2008-05-20 Dan Williams <dcbw@redhat.com>
3121 * system-settings/plugins/ifcfg-fedora/reader.c
3122 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
3124 2008-05-19 Dan Williams <dcbw@redhat.com>
3126 * system-settings/plugins/ifcfg-fedora/reader.c
3127 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3128 if the ifcfg doesn't specify one (rh #446527)
3130 2008-05-19 Dan Williams <dcbw@redhat.com>
3132 Make the system settings service exit when the bus goes away. Since it's
3133 a bus-activated service, it's lifetime is limited to the bus that activated
3136 * system-settings/src/Makefile.am
3137 system-settings/src/nm-system-config-hal-manager-private.h
3138 - Remove nm-system-config-hal-manager-private.h
3140 * system-settings/src/nm-system-config-hal-manager.c
3141 - (nm_system_config_hal_manager_reinit_dbus,
3142 nm_system_config_hal_manager_deinit_dbus): remove
3144 * system-settings/src/main.c
3145 - (dbus_reconnect): remove
3146 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3147 - (destroy_cb): just quit when the bus goes away
3148 - (start_dbus_service, dbus_init): simplify
3149 - (main): destroy the wired devices hash table after destroying
3150 the HAL manager so we don't have to disconnect signals from the
3153 2008-05-15 Tambet Ingo <tambet@gmail.com>
3155 Move crypto functions from nm-applet to libnm-util.
3157 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3158 (nm_setting_802_1x_set_client_cert)
3159 (nm_setting_802_1x_set_phase2_ca_cert)
3160 (nm_setting_802_1x_set_phase2_client_cert)
3161 (nm_setting_802_1x_set_private_key)
3162 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3163 file (or private key and it's password), read the certificate data.
3165 * libnm-util/crypto_nss.c:
3166 * libnm-util/crypto_gnutls.c:
3167 * libnm-util/crypto.[ch]: Move here from nm-applet.
3169 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3171 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3172 Imlement WPA-EAP configuration reading from sysconfig.
3174 2008-05-16 Dan Williams <dcbw@redhat.com>
3176 * src/nm-device-802-11-wireless.c
3177 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3180 2008-05-14 Dan Williams <dcbw@redhat.com>
3182 Fix Linus' bug in rh #134886
3184 * src/nm-device-802-3-ethernet.c
3185 - (constructor): request initial carrier state
3187 * src/nm-netlink-monitor.c
3188 - (nm_netlink_monitor_request_status): schedule emission of carrier
3189 signals after refilling the link cache. Because the refill is a
3190 synchronous operation, the normal message hander won't get called
3191 since libnl has already consumed the messages.
3192 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3194 2008-05-14 Dan Williams <dcbw@redhat.com>
3196 * src/NetworkManagerSystem.c
3197 - (nm_system_device_is_up_with_iface): clean up
3199 2008-05-13 Dan Williams <dcbw@redhat.com>
3201 Fix refcounting issues over sleep/wake when a VPN connection was active that
3202 caused NM to try registering an object path for a device upon wake that was
3203 the same as an already registered object path.
3206 - (nm_device_take_down): properly handle cases where the device is
3207 no longer active but was just active, and therefore must be
3208 deactivated. When a device moves to unmanaged mode, this function
3209 previously would not deactivate the device, because the state was
3210 already unmanaged by the time this function was called.
3212 * src/vpn-manager/nm-vpn-connection.c
3213 - (device_state_changed): properly handle multiple devices states in
3214 which the device is now deactivated. Code previously didn't handle
3215 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3218 2008-05-13 Dan Williams <dcbw@redhat.com>
3220 * src/nm-device-private.h
3222 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3224 * src/nm-device-802-11-wireless.c
3225 - (nm_device_802_11_wireless_set_enabled): take devices up
3226 and down as appropriate for the rfkill state
3228 2008-05-13 Dan Williams <dcbw@redhat.com>
3230 * marshallers/nm-marshal.list
3231 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3233 * system-settings/plugins/ifcfg-fedora/Makefile.am
3234 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3235 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3236 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3237 events. Solely for use watching ifcfg files to pick up changes
3238 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3240 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3241 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3242 file contents change
3243 - (finalize): clean up inotify watches
3244 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3245 and the connection ifcfg for changes on their hardlinks
3246 - (files_changed_cb): proxy the changed signal back out to listeners
3248 * system-settings/plugins/ifcfg-fedora/plugin.c
3250 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3252 - (read_one_connection): connect to change signals on the new connection
3253 - (dir_changed, connection_changed_handler,
3254 handle_connection_remove_or_new): break out connection change
3255 handling and connection new/remove handling so it can be used from
3256 both the GFileMonitor callback and the NMIfcfgConnection changed
3259 * system-settings/plugins/ifcfg-fedora/reader.c
3260 system-settings/plugins/ifcfg-fedora/reader.h
3261 - (connection_from_file): return the keyfile path the connection would use
3263 2008-05-13 Tambet Ingo <tambet@gmail.com>
3265 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3266 single PolKitContext which is shared by all. PolKitContext::unref leaks
3267 just about everything, including all open file descriptiors and results
3268 in 99% cpu usage when data arrives to any of the fds that don't belong
3269 to any context anymore.
3271 2008-05-12 Dan Williams <dcbw@redhat.com>
3273 * gfilemonitor/glocaldirectorymonitor.c
3274 gfilemonitor/glocaldirectorymonitor.h
3275 - (g_local_directory_monitor_constructor): actually subscribe to the
3277 - (_g_local_directory_monitor_new): ensure that inotify is started up
3279 * gfilemonitor/glocalfilemonitor.c
3280 gfilemonitor/glocalfilemonitor.h
3281 - (g_local_file_monitor_constructor): actually subscribe to the watch
3282 - (_g_local_file_monitor_new): ensure that inotify is started up
3284 2008-05-11 Dan Williams <dcbw@redhat.com>
3287 - record PolicyKit version
3289 * system-settings/src/nm-polkit-helpers.c
3290 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3291 with PolicyKit <= 0.6
3293 2008-05-11 Dan Williams <dcbw@redhat.com>
3295 Update Fedora system-settings plugin to support latest API and use
3296 GFileMonitor rather than home-rolled inotify code.
3298 * system-settings/plugins/ifcfg-fedora/Makefile.am
3299 system-settings/plugins/ifcfg-fedora/common.h
3300 system-settings/plugins/ifcfg-fedora/plugin.c
3301 - Update to latest system settings plugin API; use GIO instead of
3302 custom inotify code; use NMIfcfgConnection objects instead of
3303 ConnectionData structures tacked onto NMConnection objects
3305 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3306 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3307 - Implement an NMExportedConnection subclass mapping ifcfg files to
3310 * system-settings/plugins/ifcfg-fedora/reader.c
3311 system-settings/plugins/ifcfg-fedora/reader.h
3312 - Move ifcfg parsing bits here from parser.c
3314 * system-settings/plugins/ifcfg-fedora/parser.c
3315 system-settings/plugins/ifcfg-fedora/parser.h
3316 - Remove; most code moved to reader.c
3318 2008-05-11 Dan Williams <dcbw@redhat.com>
3323 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3324 implementation, so that the same change monitoring code can be used
3325 on systems without glib-2.14 (like Fedora 8)
3327 * system-settings/plugins/keyfile/Makefile.am
3328 system-settings/plugins/keyfile/plugin.c
3329 system-settings/plugins/ifcfg-suse/Makefile.am
3330 system-settings/plugins/ifcfg-suse/plugin.c
3331 - Use private gfilemonitor code if GIO is not present
3333 2008-05-09 Tambet Ingo <tambet@gmail.com>
3335 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3336 NMExportedConnection's 'update' and 'delete' and return error with
3337 descriptive message.
3339 2008-05-08 Dan Williams <dcbw@redhat.com>
3341 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3343 * src/nm-gsm-device.c
3344 src/nm-cdma-device.c
3345 - (real_get_best_auto_connection): implement; allow autoconnection
3346 to GSM & CDMA devices
3348 2008-05-08 Tambet Ingo <tambet@gmail.com>
3350 Use PolicyKit to authorize the system settings' AddConnection method
3351 and the system settings connections' Update and Delete methods.
3353 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3354 (impl_exported_connection_delete, nm_exported_connection_update)
3355 (nm_exported_connection_delete): Return boolean and fill GError
3356 to notify the callers of the reasons why it might have failed.
3358 * libnm-glib/nm-dbus-settings-system.c
3359 (nm_dbus_settings_system_add_connection): Return the error from dbus
3360 call so that the callers can see why it failed.
3362 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3365 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3367 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3368 abstract base class that checks PolicyKit permissions.
3370 * system-settings/src/dbus-settings.c:
3371 (impl_settings_add_connection): Check the policy before carring out
3374 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3375 Inherit from NMSysconfigConnection, check the policies before
3376 allowing updating or removing.
3378 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3379 Inherit from NMSysconfigConnection.
3381 * introspection/nm-exported-connection.xml: Annotate "Update" and
3382 "Delete" methods with async flag so that the implementations can get
3383 access to DBusGMethodInvocation.
3385 * system-settings/src/dbus-settings.c
3386 (settings_add_connection_check_privileges): Implement.
3387 (impl_settings_add_connection): Check the privileges before adding a new
3388 connection. Improve error reporting.
3390 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3391 async so that the implementation can access DBusGMethodInvocation.
3393 * configure.in: Check for PolicyKit.
3395 * policy/org.freedesktop.network-manager-settings.system.policy:
3398 * policy/Makefile.am: Install the policy file.
3400 * configure.in: Add 'policy' subdir.
3402 2008-05-08 Tambet Ingo <tambet@gmail.com>
3404 Rewrite the suse system settings plugin.
3406 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3408 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3410 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3412 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3414 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3416 * system-settings/src/main.c (load_plugins): Improve error reporting.
3418 * system-settings/src/sha1.[ch] Add.
3420 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3422 2008-05-07 Dan Williams <dcbw@redhat.com>
3424 * system-settings/plugins/keyfile/reader.c
3425 - (read_one_setting_value): handle IP address items separately
3426 - (read_array_of_uint): read IPv4 DNS option as a string array
3427 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3430 * system-settings/plugins/keyfile/writer.c
3431 - (write_setting_value): handle IP address items separately
3432 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3433 not an array of uint, so that it's user-editable
3434 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3435 arrays, so they are user-editable
3437 2008-05-07 Dan Williams <dcbw@redhat.com>
3439 * system-settings/plugins/keyfile/Makefile.am
3440 - Change location of the keyfile plugin settings to
3441 /etc/NetworkManager/system-connections
3443 2008-05-05 Tambet Ingo <tambet@gmail.com>
3445 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3447 * system-settings/plugins/keyfile/plugin.c: Work with
3448 NMKeyfileConnections.
3450 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3451 Plugins are supposed to return NMExportedConnections now and handle the
3452 updated(), removed(), and GetSecrets().
3453 Store the internal list of connections in hash table to make it easier
3456 2008-05-07 Tambet Ingo <tambet@gmail.com>
3458 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3459 for multiple IP addresses.
3461 2008-05-07 Tambet Ingo <tambet@gmail.com>
3463 Patch from André Lemos.
3465 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3468 2008-05-06 Dan Williams <dcbw@redhat.com>
3470 * src/dhcp-manager/nm-dhcp-manager.c
3471 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3472 NMIP4Config to support multiple IP addresses
3474 * src/NetworkManagerUtils.c
3475 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3477 * src/nm-ip4-config.c
3479 - Store a list of IPv4 address/netmask/gateway tuples
3480 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3481 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3482 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3483 nm_ip4_config_set_address): remove
3484 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3485 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3486 new functions; handle multiple IPv4 addresses
3489 src/ppp-manager/nm-ppp-manager.c
3490 src/vpn-manager/nm-vpn-connection.c
3491 src/NetworkManagerPolicy.c
3493 libnm-glib/libnm-glib-test.c
3494 - update for changes to NMIP4Config for multiple IPv4 addresses
3496 * src/NetworkManagerSystem.c
3497 - (nm_system_device_set_ip4_route): don't add the route if any address
3498 is on the same subnet as the destination
3499 - (check_one_address): ignore the exact match, just match family and
3501 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3503 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3504 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3506 * introspection/nm-ip4-config.xml
3507 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3508 - Add 'addresses' property which is an array of (uuu) tuples of
3509 address/netmask/gateway
3511 * libnm-util/nm-setting-ip4-config.c
3512 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3514 * libnm-glib/nm-ip4-config.c
3515 libnm-glib/nm-ip4-config.h
3516 - Handle D-Bus interface changes to support multiple IP addresses
3518 2008-05-06 Dan Williams <dcbw@redhat.com>
3520 * libnm-util/nm-utils.c
3521 libnm-util/nm-utils.h
3522 - (nm_utils_ip4_addresses_from_gvalue,
3523 nm_utils_ip4_addresses_to_gvalue): new functions
3525 2008-05-06 Tambet Ingo <tambet@gmail.com>
3527 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3528 the returned connection paths.
3530 2008-05-05 Tambet Ingo <tambet@gmail.com>
3532 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3533 "PropertiesChanged" signal signature.
3535 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3536 defined in nm-dbus-glib-types.h.
3537 Don't register the connection on dbus, we're a proxy class to
3538 communicate with an already registered connection over dbus.
3540 2008-04-30 Tambet Ingo <tambet@gmail.com>
3542 Implement new subclasses of NMSettings and NMExportedConnection to make
3543 it easier for the applet to access and modify system settings.
3545 * libnm-glib/nm-dbus-connection.[ch]:
3546 * libnm-glib/nm-dbus-settings.[ch]:
3547 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3549 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3552 * include/NetworkManager.h: Define the system settings DBus interface.
3554 2008-04-30 Tambet Ingo <tambet@gmail.com>
3556 Implement additional C API for exported connections to make them identical
3557 with the DBus API. Change the (list_connections) virtual function to be
3558 more usable from C - instead of requiring implementers to return a GPtrArray
3559 of dbus paths, return a list of connections.
3561 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3562 (nm_settings_list_connections):
3563 (nm_exported_connection_new):
3564 (nm_exported_connection_update):
3565 (nm_exported_connection_delete): Implement.
3567 (impl_settings_list_connections):
3568 (impl_exported_connection_update):
3569 (impl_exported_connection_delete): Use the new public functions to make
3570 sure the C and dbus interfaces stay in sync.
3572 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3575 2008-05-02 Dan Williams <dcbw@redhat.com>
3577 * system-settings/plugins/ifcfg-fedora/plugin.c
3578 - (dispose): use right unref call on the DBusGConnection
3580 2008-05-02 Dan Williams <dcbw@redhat.com>
3582 * src/nm-serial-device.c
3583 - (find_terminator): don't compare the whole line, just the size of the
3584 terminator, since some modems put stuff after the terminator, like
3587 2008-05-01 Dan Williams <dcbw@redhat.com>
3589 Patch from Michael Biebl <biebl@debian.org>
3591 * callouts/Makefile.am
3592 callouts/org.freedesktop.nm_dispatcher.service.in
3593 system-settings/src/Makefile.am
3594 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3595 - use the right install location for dbus-activated stuff
3597 2008-04-30 Dan Williams <dcbw@redhat.com>
3599 * src/nm-gsm-device.c
3600 - (enter_pin): fix setting name passed to applets when asking for a GSM
3603 2008-04-30 Dan Williams <dcbw@redhat.com>
3606 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3608 2008-04-30 Dan Williams <dcbw@redhat.com>
3610 * src/nm-device-802-3-ethernet.c
3611 src/nm-device-802-11-wireless.c
3612 - (real_is_up): return true instead of chaining up to unimplemented
3615 2008-04-30 Dan Williams <dcbw@redhat.com>
3617 * src/NetworkManagerSystem.c
3618 src/NetworkManagerSystem.h
3619 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3620 functions to check device flags for IFF_UP
3622 * src/nm-serial-device.c
3623 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3626 * src/nm-device-802-3-ethernet.c
3627 src/nm-device-802-11-wireless.c
3628 - (real_hw_is_up): call nm_system_device_is_up()
3631 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3632 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3635 2008-04-29 Dan Williams <dcbw@redhat.com>
3637 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3639 * marshallers/nm-marshal.list
3642 * src/NetworkManager.c
3643 - (main): let the NMManager handle the NMHalManager
3645 * src/nm-hal-manager.c
3646 src/nm-hal-manager.h
3647 - convert to a GObject, and emit singals when stuff changes. Let the
3648 NMManager handle the signals, instead of the NMHalManager calling
3653 - (remove_one_device): consolidate device removals here
3654 - (dispose): use remove_one_device()
3655 - (nm_manager_get_device_by_udi): make static
3656 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3657 manager for devices at startup or wakeup time
3658 - (nm_manager_new): create and monitor the HAL manager
3659 - (hal_manager_udi_added_cb): new function; do what
3660 nm_manager_add_device() used to do when signalled by the hal manager
3661 - (hal_manager_udi_removed_cb): new function; do what
3662 nm_manager_remove_device() used to do when signalled by the hal
3664 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3666 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3667 in our device list that aren't known to HAL
3668 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3669 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3671 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3672 nm_manager_activation_pending, nm_manager_wireless_enabled,
3673 nm_manager_wireless_hardware_enabled,
3674 nm_manager_set_wireless_hardware_enabled): remove, unused
3676 2008-04-28 Dan Williams <dcbw@redhat.com>
3678 Fix the device up/down ambiguities. Up/down state used to be a
3679 conglomeration of hardware state (IFF_UP) and any device-specific things
3680 (supplicant, periodic timers, etc) that the device used to indicate
3681 readiness. Unfortunately, if the hardware was already IFF_UP for some
3682 reason, then the device specific stuff wouldn't get run, and the device
3687 - Create hw_is_up, hw_bring_up, and hw_take_down
3688 - Rename bring_down -> take_down
3689 - (real_hw_is_up): check interface flags for IFF_UP
3690 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3691 - (nm_device_is_up): make static; only used locally
3692 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3693 if the device is already up; if the device isn't up, bring it up
3694 - (nm_device_hw_take_down): just take down hardware
3695 - (nm_device_bring_up): bring up HW first, then device specific stuff
3696 - (nm_device_take_down): always deactivate device when called; always
3697 try to take hardware down too
3698 - (nm_device_state_changed): take device down when entering unmanaged
3699 state from a higher state
3701 * src/nm-device-802-11-wireless.c
3702 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3704 - (real_take_down, supplicant_iface_state_cb_handler,
3705 supplicant_iface_connection_state_cb_handler,
3706 supplicant_mgr_state_cb_handler): fix some messages
3708 * src/nm-device-802-3-ethernet.c
3709 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3712 2008-04-28 Dan Williams <dcbw@redhat.com>
3716 - (nm_manager_error_get_type): add new error
3717 - (nm_manager_remove_device): don't bother taking down the device here,
3718 the state change from unmanaging the device will do it
3719 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3720 uses it; when going to sleep, just unmanage the device instead of
3721 taking it down, because stuff will cleaned up correctly when the
3722 device gets unmanaged
3724 2008-04-28 Dan Williams <dcbw@redhat.com>
3726 * src/nm-hal-manager.c
3727 - (add_initial_devices): convert to a GSourceFunc prototype
3728 - (nm_manager_state_changed): when coming out of sleep, punt the
3729 device re-addition to an idle handler to let D-Bus events go out
3730 first, fixing a potential dbus-glib assert if the old device was
3731 not yet disposed (due to references held while emitting the D-Bus
3732 signals) but the new device was found, because the mainloop didn't
3733 run between signal emission and add_initial_devices()
3735 2008-04-27 Dan Williams <dcbw@redhat.com>
3737 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3739 * initscript/paldo/NetworkManager.in
3740 initscript/SUSE/networkmanager.in
3741 - Remove last bits of dhcdbd
3743 2008-04-27 Dan Williams <dcbw@redhat.com>
3745 * src/nm-device-802-11-wireless.c
3746 - (link_timeout_cb): don't ask for secrets when disconnected during
3747 association/authentication phase, drivers are still just too crappy
3749 2008-04-27 Dan Williams <dcbw@redhat.com>
3753 dispatcher-daemon/Makefile.am
3754 dispatcher-daemon/NetworkManagerDispatcher.c
3755 initscript/Arch/Makefile.am
3756 initscript/Arch/networkmanager-dispatcher.in
3757 initscript/Gentoo/Makefile.am
3758 initscript/Gentoo/NetworkManagerDispatcher.in
3759 initscript/Mandriva/Makefile.am
3760 initscript/Mandriva/networkmanagerdispatcher.in
3761 initscript/RedHat/Makefile.am
3762 initscript/RedHat/NetworkManagerDispatcher.in
3763 initscript/SUSE/Makefile.am
3764 initscript/SUSE/networkmanager-dispatcher.in
3765 initscript/Slackware/Makefile.am
3766 initscript/Slackware/rc.networkmanager-dispatcher.in
3767 initscript/paldo/Makefile.am
3768 initscript/paldo/NetworkManagerDispatcher.in
3770 man/NetworkManagerDispatcher.8.in
3771 - Remove the dispatcher daemon
3773 2008-04-27 Dan Williams <dcbw@redhat.com>
3775 * callouts/Makefile.am
3776 callouts/nm-dispatcher-action.c
3777 callouts/nm-dispatcher-action.h
3778 callouts/nm-dispatcher.conf
3779 callouts/nm-dispatcher.xml
3780 callouts/org.freedesktop.nm_dispatcher.service
3781 - Re-implement the dispatcher as a system-bus activated service that
3782 NM calls on-demand, rather than an always running daemon
3785 - Add callouts dir to includes to pick up dispatcher defines
3788 - (nm_device_state_changed): call dispatcher on device activated/
3791 * src/vpn-manager/nm-vpn-connection.c
3792 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3795 * src/NetworkManagerUtils.c
3796 src/NetworkManagerUtils.h
3797 - (nm_utils_call_dispatcher): helper to call dispatcher
3799 2008-04-27 Dan Williams <dcbw@redhat.com>
3801 * src/NetworkManagerUtils.c
3802 src/NetworkManagerUtils.h
3803 - remove unneeded includes
3804 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3805 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3806 nm_timeval_cmp, nm_timeval_add): remove, unused
3807 - clean up formatting
3808 - (nm_spawn_process): de-uglify
3810 * src/nm-device-802-11-wireless.c
3811 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3813 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3815 * initscript/Gentoo/NetworkManager.in:
3816 Fix for starting the daemon.
3818 2008-04-25 Dan Williams <dcbw@redhat.com>
3820 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3822 * src/NetworkManagerSystem.c
3823 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3825 2008-04-25 Dan Williams <dcbw@redhat.com>
3827 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3829 * src/NetworkManagerSystem.c
3830 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3831 implementation of nm_system_device_replace_default_route()
3833 * src/NetworkManagerPolicy.c
3834 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3836 * src/backends/NetworkManagerArch.c
3837 src/backends/NetworkManagerDebian.c
3838 src/backends/NetworkManagerFrugalware.c
3839 src/backends/NetworkManagerGeneric.c
3840 src/backends/NetworkManagerGeneric.h
3841 src/backends/NetworkManagerGentoo.c
3842 src/backends/NetworkManagerMandriva.c
3843 src/backends/NetworkManagerPaldo.c
3844 src/backends/NetworkManagerRedHat.c
3845 src/backends/NetworkManagerSlackware.c
3846 src/backends/NetworkManagerSuSE.c
3847 - (nm_system_device_replace_default_route): remove
3849 2008-04-25 Dan Williams <dcbw@redhat.com>
3851 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3853 * src/NetworkManagerSystem.c
3854 - (validate_ip4_route): remove; use nl_addr_parse() instead
3855 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3856 replace nm_system_device_add_route_via_device_with_iface() in the
3859 * src/backends/NetworkManagerArch.c
3860 src/backends/NetworkManagerDebian.c
3861 src/backends/NetworkManagerFrugalware.c
3862 src/backends/NetworkManagerGeneric.c
3863 src/backends/NetworkManagerGeneric.h
3864 src/backends/NetworkManagerGentoo.c
3865 src/backends/NetworkManagerMandriva.c
3866 src/backends/NetworkManagerPaldo.c
3867 src/backends/NetworkManagerRedHat.c
3868 src/backends/NetworkManagerSlackware.c
3869 src/backends/NetworkManagerSuSE.c
3870 - Remove nm_system_device_add_route_via_device_with_iface()
3872 2008-04-25 Dan Williams <dcbw@redhat.com>
3874 * system-settings/plugins/ifcfg-fedora/parser.c
3875 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3877 2008-04-24 Dan Williams <dcbw@redhat.com>
3879 * dispatcher-daemon/NetworkManagerDispatcher.c
3880 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3882 2008-04-24 Dan Williams <dcbw@redhat.com>
3884 * initscript/RedHat/NetworkManager.in
3885 initscript/RedHat/NetworkManagerDispatcher.in
3886 - Be active at runlevel 2
3887 - Adjust priorities earlier
3889 2008-04-22 Dan Williams <dcbw@redhat.com>
3891 * src/NetworkManagerPolicy.c
3892 - (update_routing_and_dns): when checking for a gateway, look at the
3893 composite IP4 config, not the connection's ip4-config setting, which
3894 doesn't include DHCP-returned information
3896 2008-04-22 Tambet Ingo <tambet@gmail.com>
3898 Implement GKeyFile system settings plugin.
3899 Implement writing system settings (currently supported only by GKeyFile plugin).
3901 * system-settings/src/main.c:
3902 * system-settings/src/dbus-settings.c: Move the communication with plugins
3903 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3904 plugins for adding/updating/removing connections.
3906 * system-settings/src/nm-system-config-interface.c
3907 (nm_system_config_interface_add_connection): Implement
3908 (nm_system_config_interface_update_connection): Implement.
3909 (nm_system_config_interface_remove_connection): Implement.
3911 * system-settings/plugins/keyfile/Makefile.am:
3912 * system-settings/plugins/keyfile/plugin.[ch]:
3913 * system-settings/plugins/keyfile/writer.[ch]:
3914 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3916 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3918 * configure.in: Generate GKeyFile Makefile.
3920 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3921 corruption, need to duplicate the returned string.
3922 (impl_exported_connection_update): Implement.
3923 (impl_exported_connection_delete): Implement.
3925 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3927 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3929 2008-04-22 Dan Williams <dcbw@redhat.com>
3931 Patch from Charles R. Anderson (cra@wpi.edu)
3933 * src/NetworkManagerPolicy.c
3934 - (update_routing_and_dns): don't select devices without a gateway
3935 as having the default route (rh #437338)
3937 2008-04-21 Dan Williams <dcbw@redhat.com>
3939 * src/nm-activation-request.c
3940 src/nm-activation-request.h
3941 - (dispose): ensure to disconnect from the device's state-changed signal
3942 when appropriate so the signal doesn't get handled by an already
3943 disposed NMActRequest
3944 - (device_state_changed): update is_default here too just to make sure
3945 default is only True when the child device is activated
3946 - (nm_act_request_set_default): new function
3948 * src/NetworkManagerPolicy.c
3949 - (update_routing_and_dns): set 'default' on the active connection which
3950 has the default route and DNS
3952 2008-04-21 Dan Williams <dcbw@redhat.com>
3954 * src/NetworkManagerPolicy.c
3955 - (device_state_changed): update routing and DNS when a device goes
3956 into unmanaged or unavailable states too (like rfkill or carrier loss)
3958 2008-04-21 Dan Williams <dcbw@redhat.com>
3960 * include/NetworkManager.h
3961 - Add NMActiveConnectionState enum
3963 * introspection/nm-active-connection.xml
3964 introspection/nm-vpn-connection.xml
3965 - Add 'State' property for overall active connection state
3966 - Add 'Default' property, when True means this active connection
3967 has the default route
3968 - Add PropertyChanged signals so changes actually go out over the bus
3970 * src/nm-active-connection.h
3971 - Add defines for State & Default properties
3973 * src/nm-activation-request.c
3974 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3975 signal to determine active connection state
3977 * src/vpn-manager/nm-vpn-connection.c
3978 src/vpn-manager/nm-vpn-connection.h
3979 src/vpn-manager/nm-vpn-manager.c
3980 src/vpn-manager/nm-vpn-service.c
3981 - Rename old 'state' to 'vpn-state'
3982 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3983 - Add 'state' and 'default' properties, hook up to the vpn connection's
3984 'vpn-state-changed' signal
3986 * libnm-glib/nm-active-connection.c
3987 libnm-glib/nm-active-connection.h
3988 - Add new 'state' and 'default' properties and accessors
3990 * libnm-glib/nm-vpn-connection.c
3991 libnm-glib/nm-vpn-connection.h
3992 - Rename old 'state' property to 'vpn-state'
3993 - Add new 'state' and 'default' properties and accessors
3995 2008-04-21 Dan Williams <dcbw@redhat.com>
3997 * src/nm-ip4-config.c
3998 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3999 not specified (rh #443474)
4001 2008-04-20 Dan Williams <dcbw@redhat.com>
4003 * src/NetworkManagerUtils.c
4004 src/NetworkManagerUtils.h
4005 - (nm_utils_merge_ip4_config): new function; merge settings from an
4006 NMSettingIP4Config to an NMIP4Config object
4009 - (merge_ip4_config): move to NetworkManagerUtils.c
4011 * src/vpn-manager/nm-vpn-connection.c
4012 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
4015 2008-04-18 Dan Williams <dcbw@redhat.com>
4017 * libnm-util/nm-setting-ppp.c
4018 libnm-util/nm-setting-ppp.h
4019 - Add 'no-vj-comp' option for TCP header compression
4020 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
4023 2008-04-18 Dan Williams <dcbw@redhat.com>
4025 * libnm-util/nm-setting-ppp.c
4026 libnm-util/nm-setting-ppp.h
4027 src/ppp-manager/nm-ppp-manager.c
4028 - Add 'refuse-pap' and 'refuse-mschapv2' options
4030 2008-04-18 Dan Williams <dcbw@redhat.com>
4032 * libnm-util/nm-setting-ppp.c
4033 libnm-util/nm-setting-ppp.h
4034 src/ppp-manager/nm-ppp-manager.c
4035 - Remove the 'usepeerdns' option and always request DNS servers from
4036 the PPP server; the connection chooses to use/override/ignore the
4037 DNS servers returned from the PPP server
4039 2008-04-18 Dan Williams <dcbw@redhat.com>
4041 * libnm-util/nm-setting-ppp.c
4042 libnm-util/nm-setting-ppp.h
4043 src/ppp-manager/nm-ppp-manager.c
4044 - Remove the 'require-mppc' option, because pppd doesn't support it and
4045 it seems to have been an erroneous addition to the PPTP plugin in
4046 the first place (from which the ppp-manager is derived)
4048 2008-04-17 Dan Williams <dcbw@redhat.com>
4050 * libnm-util/nm-setting-pppoe.c
4051 - (verify): require a PPP setting too
4053 * src/ppp-manager/nm-ppp-manager.c
4054 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
4057 2008-04-17 Dan Williams <dcbw@redhat.com>
4060 - (nm_device_state_changed): do deactivation and and promotion to
4061 unavailable here, so that the device gets cleaned up before the
4062 manager runs and starts emitting signals; do the
4063 FAILED->DISCONNECTED transition from an idle handler rather than
4064 immediately to guard against recursion
4065 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
4066 FAILED->DISCONNECTED handler if it's scheduled
4068 2008-04-17 Dan Williams <dcbw@redhat.com>
4070 * src/nm-device-802-11-wireless.c
4071 - (state_changed_cb): clear AP list when device transitions to
4072 unavailable or unmanaged
4073 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
4074 since this is already done in device_cleanup()
4075 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
4076 isn't available or managed
4077 - (device_cleanup): use remove_all_aps()
4078 - (remove_all_aps): consolidate code removing all APs
4080 2008-04-17 Dan Williams <dcbw@redhat.com>
4082 * src/nm-serial-device.c
4083 src/nm-serial-device.h
4084 - (wait_for_reply_got_data): break input into lines, and search each
4085 line for responses _and_ terminator strings; also make sure that
4086 the read loop doesn't continue after the timeout is supposed to fire
4087 - (nm_serial_device_wait_for_reply): take an array of terminators too
4089 * src/nm-gsm-device.c
4090 src/nm-cdma-device.c
4091 - Send terminators to nm_serial_device_wait_for_reply()
4093 2008-04-16 Dan Williams <dcbw@redhat.com>
4095 Patch from 陈鑫 <znscnchen@gmail.com>
4097 * src/ppp-manager/nm-pppd-plugin.c
4098 - (get_credentials): return correct value for success; handle case where
4099 pppd just does some checking but doesn't want a password
4100 - (plugin_init): make CHAP work too
4102 2008-04-16 Dan Williams <dcbw@redhat.com>
4104 Patch from 陈鑫 <znscnchen@gmail.com>
4106 * src/ppp-manager/nm-ppp-manager.c
4107 - (create_pppd_cmd_line): fix argument generation when spawning pppd
4109 2008-04-16 Dan Williams <dcbw@redhat.com>
4111 Patch from 陈鑫 <znscnchen@gmail.com>
4113 * src/nm-device-802-3-ethernet.c
4114 - (real_deactivate_quickly): clear the IP interface name on
4115 deactivation, otherwise the wrong interface might get used later
4116 for routing and IP management
4118 2008-04-15 Dan Williams <dcbw@redhat.com>
4120 * libnm-glib/nm-device.c
4121 - (get_product_and_vendor): handle serial devices correctly
4122 - (nm_device_update_description): pass device to get_product_and_vendor()
4124 2008-04-15 Dan Williams <dcbw@redhat.com>
4126 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4128 * src/NetworkManagerSystem.h
4129 src/backends/NetworkManagerArch.c
4130 src/backends/NetworkManagerDebian.c
4131 src/backends/NetworkManagerFrugalware.c
4132 src/backends/NetworkManagerGeneric.c
4133 src/backends/NetworkManagerGeneric.h
4134 src/backends/NetworkManagerGentoo.c
4135 src/backends/NetworkManagerMandriva.c
4136 src/backends/NetworkManagerPaldo.c
4137 src/backends/NetworkManagerRedHat.c
4138 src/backends/NetworkManagerSlackware.c
4139 src/backends/NetworkManagerSuSE.c
4141 - (nm_generic_device_add_ip6_link_address,
4142 nm_system_device_add_ip6_link_address): remove
4144 2008-04-15 Dan Williams <dcbw@redhat.com>
4146 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4148 * src/backends/NetworkManagerArch.c
4149 src/backends/NetworkManagerDebian.c
4150 src/backends/NetworkManagerFrugalware.c
4151 src/backends/NetworkManagerGeneric.c
4152 src/backends/NetworkManagerGeneric.h
4153 src/backends/NetworkManagerGentoo.c
4154 src/backends/NetworkManagerMandriva.c
4155 src/backends/NetworkManagerPaldo.c
4156 src/backends/NetworkManagerRedHat.c
4157 src/backends/NetworkManagerSlackware.c
4158 src/backends/NetworkManagerSuSE.c
4159 src/NetworkManagerSystem.h
4160 - flush_routes -> flush_ip4_routes
4161 - flush_addresses -> flush_ip4_addresses
4163 * src/NetworkManagerSystem.c
4165 src/vpn-manager/nm-vpn-connection.c
4166 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4168 2008-04-15 Dan Williams <dcbw@redhat.com>
4170 Remove exposure of wireless-tools mode types in the API.
4172 * include/NetworkManager.h
4173 - Define NM80211Mode enum
4175 * introspection/generic-types.xml
4176 - Describe NM_802_11_MODE enum
4177 - Remove IW_MODE_* enum
4179 * introspection/nm-access-point.xml
4180 libnm-glib/nm-access-point.c
4181 libnm-glib/nm-access-point.h
4182 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4184 * introspection/nm-device-802-11-wireless.xml
4185 libnm-glib/nm-device-802-11-wireless.c
4186 libnm-glib/nm-device-802-11-wireless.h
4187 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4189 * libnm-util/nm-setting-wireless.c
4190 src/NetworkManagerAP.c
4191 src/NetworkManagerAP.h
4192 src/nm-device-802-11-wireless.c
4193 src/nm-device-802-11-wireless.h
4195 - Use NM80211Mode not IW_MODE_*
4197 2008-04-15 Dan Williams <dcbw@redhat.com>
4199 Enhance nm-online based on a patch from Bill Nottingham.
4203 - Add help messages and option summary
4204 - Add long-format options
4205 - Add a '-x' option to exit if NM isn't running or isn't connecting
4207 2008-04-15 Tambet Ingo <tambet@gmail.com>
4209 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4211 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4213 2008-04-15 Dan Williams <dcbw@redhat.com>
4215 * nm-setting-ip4-config.c
4216 - (ip4_addresses_from_gvalue): handle NULL address array
4218 * nm-setting-8021x.c
4219 - (verify_tls, verify_ttls): warn on failed verification
4221 2008-04-10 Dan Williams <dcbw@redhat.com>
4223 * src/nm-gsm-device.c
4224 - (automatic_registration): accept "+CREG: 0,0"
4225 - (automatic_registration_response): fail on "+CREG: 0,0"
4227 2008-04-10 Tambet Ingo <tambet@gmail.com>
4229 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4231 2008-04-10 Tambet Ingo <tambet@gmail.com>
4233 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4234 Make it compile again by commenting out broken code that at first didn't work and
4235 now didn't compile either.
4237 2008-04-08 Dan Williams <dcbw@redhat.com>
4239 * libnm-glib/nm-object-cache.c
4240 libnm-glib/nm-settings.c
4241 src/dhcp-manager/nm-dhcp-manager.c
4242 system-settings/plugins/ifcfg-fedora/plugin.c
4243 system-settings/plugins/ifcfg-suse/plugin.c
4244 system-settings/src/nm-system-config-hal-manager.c
4245 libnm-util/nm-utils.c
4246 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4247 not threadsafe anyway
4249 2008-04-08 Dan Williams <dcbw@redhat.com>
4251 * system-settings/src/main.c
4252 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4253 callbacks take a device type too
4255 2008-04-08 Dan Williams <dcbw@redhat.com>
4257 The system settings service will now create a new default DHCP connection
4258 for wired devices that have no existing applicable connection.
4260 * system-settings/src/nm-system-config-hal-manager.c
4261 system-settings/src/nm-system-config-hal-manager.h
4262 - (nm_system_config_hal_manager_get_type_for_udi): new function
4264 * system-settings/src/dbus-settings.c
4265 system-settings/src/dbus-settings.h
4266 - (nm_sysconfig_settings_get_connections): new function
4267 - (nm_sysconfig_settings_is_device_managed): new function
4269 * system-settings/src/main.c
4270 - (load_stuff): check for wired devices that need a default connection
4271 - (get_details_for_udi): get interface and MAC address from HAL
4272 - (add_default_dhcp_connection): add a default connection for a wired
4274 - (device_added_cb, device_removed_cb): do the right thing with
4275 wired devices and their default connections on HAL device events
4277 2008-04-07 Dan Williams <dcbw@redhat.com>
4279 * libnm-glib/nm-device.c
4280 libnm-glib/nm-device.h
4281 - Proxy the 'managed' property
4283 2008-04-07 Dan Williams <dcbw@redhat.com>
4285 * src/nm-gsm-device.c
4286 src/nm-cdma-device.c
4287 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4288 handler to transition to DISCONNECTED
4290 2008-04-07 Dan Williams <dcbw@redhat.com>
4292 Patch from Bill Nottingham
4294 * dispatcher-daemon/NetworkManagerDispatcher.c
4295 - ignore backup/packaging crufy (rh #440143)
4297 2008-04-07 Dan Williams <dcbw@redhat.com>
4299 * include/NetworkManager.h
4300 - Remove the DOWN and CANCELLED device states
4301 - Add UNMANAGED and UNAVAILABLE device states
4302 - Document the device states
4304 * introspection/nm-device.xml
4305 src/nm-device-interface.c
4306 src/nm-device-interface.h
4307 - Add the 'managed' property
4310 - (detail_device): print out device state
4312 * src/NetworkManagerSystem.h
4313 src/backends/NetworkManagerArch.c
4314 src/backends/NetworkManagerDebian.c
4315 src/backends/NetworkManagerFrugalware.c
4316 src/backends/NetworkManagerGentoo.c
4317 src/backends/NetworkManagerMandriva.c
4318 src/backends/NetworkManagerPaldo.c
4319 src/backends/NetworkManagerRedHat.c
4320 src/backends/NetworkManagerSlackware.c
4321 src/backends/NetworkManagerSuSE.c
4322 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4323 nm_system_device_free_system_config): remove; they were unused and
4324 their functionality should be re-implemented in each distro's
4325 system settings service plugin
4327 * src/nm-gsm-device.c
4329 src/nm-cdma-device.c
4330 src/nm-cdma-device.h
4331 - (*_new): take the 'managed' argument
4334 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4335 - (nm_device_init): start in unmanaged state, not disconnected
4336 - (constructor): don't start device until the system settings service
4337 has had a chance to figure out if the device is managed or not
4338 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4339 don't set device state here, let callers handle that as appropriate
4340 - (nm_device_dispose): don't touch the device if it's not managed
4341 - (set_property, get_property, nm_device_class_init): implement the
4343 - (nm_device_state_changed): bring the device up if its now managed,
4344 and deactivate it if it used to be active
4345 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4346 with the managed state
4348 * src/nm-hal-manager.c
4349 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4350 take initial managed state and pass it along to device constructors
4351 - (create_device_and_add_to_list): get managed state and pass to
4354 * src/nm-device-802-11-wireless.c
4355 - (real_can_activate): fold in most of
4356 nm_device_802_11_wireless_can_activate()
4357 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4358 - (link_timeout_cb): instead of deactivating, change device state and
4359 let the device state handler to it
4360 - (real_update_hw_address): clean up
4361 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4362 handler to transition to DISCONNECTED if the device isn't rfkilled
4364 * src/nm-device-802-3-ethernet.c
4365 - (set_carrier): move above callers and get rid of prototype
4366 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4367 idle handler to transition to DISCONNECTED if the device has a
4369 - (real_update_hw_address): clean up
4370 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4371 deactivation directly as deactivation doesn't change state anymore
4373 * src/NetworkManagerPolicy.c
4374 - (schedule_activate_check): yay, remove wireless_enabled hack since
4375 the NMManager and wireless devices work that out themselves now
4376 - (device_state_changed): change to a switch and update for new device
4378 - (device_carrier_changed): remove; device handles this now through
4380 - (device_added): don't care about carrier any more; the initial
4381 activation check will happen when the device transitions to
4385 - (dispose): clear unmanaged devices
4386 - (handle_unmanaged_devices): update unmanaged device list and toggle
4387 the managed property on each device when needed
4388 - (system_settings_properties_changed_cb): handle signals from the
4389 system settings service
4390 - (system_settings_get_unmanaged_devices_cb): handle callback from
4391 getting the unmanaged device list method call
4392 - (query_unmanaged_devices): ask the system settings service for its
4393 list of unmanaged devices
4394 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4396 - (manager_set_wireless_enabled): push rfkill state down to wireless
4397 devices directly and let them handle the necessary state transitions
4398 - (manager_device_state_changed): update for new device states
4399 - (nm_manager_add_device): set initial rfkill state on wireless devices
4400 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4401 - (nm_manager_activate_connection): return error if the device is
4403 - (nm_manager_sleep): handle new device states correctly; don't change
4404 the state of unavailable/unmanaged devices
4406 * libnm-glib/nm-device-802-11-wireless.c
4407 - (state_changed_cb): update for new device states
4409 2008-04-07 Dan Williams <dcbw@redhat.com>
4411 * marshallers/nm-marshal.list
4412 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4414 2008-04-07 Dan Williams <dcbw@redhat.com>
4416 * system-settings/src/main.c
4417 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4418 plugins to the dbus settings object
4419 - (load_stuff): start the dbus service after grabbing unmanaged devices
4420 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4421 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4422 - (main): switch default logging to syslog with a 'debug' option to
4423 output to console; start up the HAL manager
4425 2008-04-07 Dan Williams <dcbw@redhat.com>
4427 * introspection/nm-settings-system.xml
4428 introspection/Makefile.am
4429 - Define the unmanaged devices interface for the system settings service
4431 * system-settings/src/nm-system-config-hal-manager.c
4432 system-settings/src/nm-system-config-hal-manager.h
4433 system-settings/src/nm-system-config-hal-manager-private.h
4434 system-settings/src/Makefile.am
4435 - Add a lightweight HAL manager object for tracking network devices for
4436 the purpose of determining unmanaged devices and which devices need
4437 the default DHCP connections
4439 * system-settings/src/nm-system-config-interface.c
4440 system-settings/src/nm-system-config-interface.h
4441 - (nm_system_config_interface_init): add the HAL manager as an argument
4442 - (nm_system_config_interface_get_unmanaged_devices): implement
4443 - Define 'unmanaged-devices-changed' signal
4445 * system-settings/src/dbus-settings.c
4446 system-settings/src/dbus-settings.h
4447 - Implement the unmanaged devices interface; some cleanups
4449 * system-settings/plugins/ifcfg-suse/plugin.c
4450 - Fixup for plugin interface changes
4452 * system-settings/plugins/ifcfg-fedora/plugin.c
4453 - (get_ether_device_udi): new function; find the device that has
4454 a specified MAC address and return its UDI
4455 - (get_udi_for_connection): new function; try to find the specific
4456 device a connection is locked to, if any
4457 - (device_added_cb, device_removed_cb): update unmanaged device list in
4458 response to HAL events
4459 - (get_unmanaged_devices): new function; return unmanaged device list
4460 - (build_one_connection): set the connection's locked device, if any
4461 - (write_auto_wired_connection): remove
4462 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4463 - (handle_connection_changed): alert listeners that the unmanaged device
4465 - (init): fixup for plugin interface changes, implement unmanaged devices
4467 * system-settings/plugins/ifcfg-fedora/parser.c
4468 system-settings/plugins/ifcfg-fedora/parser.h
4469 - (connection_data_free): clean up connection UDI
4471 2008-04-07 Dan Williams <dcbw@redhat.com>
4473 * system-settings/plugins/ifcfg-fedora/parser.c
4474 - (make_ip4_setting): fix parsing of DNS servers
4476 2008-04-05 Dan Williams <dcbw@redhat.com>
4480 marshallers/Makefile.am
4481 marshallers/nm-marshal-main.c
4482 marshallers/nm-marshal.list
4483 - Consolidate marshallers
4485 * libnm-glib/nm-marshal-main.c
4486 libnm-glib/nm-marshal.list
4487 src/marshallers/Makefile.am
4488 src/marshallers/nm-marshal-main.c
4489 src/marshallers/nm-marshal.list
4492 * libnm-glib/Makefile.am
4494 src/dhcp-manager/Makefile.am
4495 src/ppp-manager/Makefile.am
4496 src/supplicant-manager/Makefile.am
4497 src/vpn-manager/Makefile.am
4498 - Use consolidated marshallers
4500 2008-04-04 Dan Williams <dcbw@redhat.com>
4502 * src/nm-hal-manager.c
4503 src/nm-hal-manager.h
4504 - (hal_init): don't look for hardware here
4505 - (nm_hal_manager_start): new function; look for hardware here instead,
4506 which can be done at a later time than hal_init()
4508 * src/NetworkManager.c
4509 - (main): start HAL manager after entering the main loop
4511 2008-04-03 Dan Williams <dcbw@redhat.com>
4513 * libnm-glib/nm-settings.c
4514 libnm-glib/nm-settings.h
4515 - (nm_exported_connection_get_id): new function
4516 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4518 2008-04-02 Dan Williams <dcbw@redhat.com>
4520 * src/nm-device-interface.c
4521 src/nm-device-interface.h
4524 - Rename check_connection_conflicts() to check_connection_compatible()
4526 * src/nm-device-802-11-wireless.c
4527 - (real_check_connection_conflicts): remove
4528 - (real_check_connection_compatible): implement; match MAC address
4530 * src/nm-device-802-3-ethernet.c
4531 - (real_check_connection_conflicts): remove
4532 - (real_check_connection_compatible): implement; match MAC address
4533 - (real_get_best_auto_connection): correctly handle PPPoE cases
4536 - (check_connection_allowed): remove; unused until PolicyKit integration
4537 - (internal_activate_device): check whether the connection is compatible
4538 with the device before trying to activate it
4540 2008-04-02 Dan Williams <dcbw@redhat.com>
4542 * system-settings/plugins/ifcfg-fedora/parser.c
4543 - (read_mac_address): new function; read in MAC address and stuff it
4545 - (add_one_wep_key): remove debug spew
4546 - (make_wireless_security_setting): validate the default TX key; don't
4547 add the wireless-security setting if the connection doesn't need
4548 security; don't leak the keys shvarFile on error cases
4549 - (make_wireless_setting, make_wired_setting): populate device's MAC
4552 2008-04-02 Dan Williams <dcbw@redhat.com>
4554 * libnm-util/nm-setting-connection.c
4555 libnm-util/nm-setting-connection.h
4556 - (set_property, get_property, nm_setting_connection_class_init): remove
4557 the 'lockdown' property; it's functionality will be replaced by
4560 2008-04-01 Dan Williams <dcbw@redhat.com>
4562 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4565 initscript/Makefile.am
4566 initscript/Mandriva/Makefile.am
4567 initscript/Mandriva/networkmanager.in
4568 initscript/Mandriva/networkmanagerdispatcher.in
4569 src/backends/Makefile.am
4570 src/backends/NetworkManagerMandriva.c
4571 system-settings/plugins/Makefile.am
4572 - Add Mandriva support
4574 2008-03-31 Dan Williams <dcbw@redhat.com>
4576 * src/vpn-manager/nm-vpn-service.c
4577 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4578 errors can be passed back to the caller; also no longer scheduled
4579 as an idle handler, but called directly; and bump up VPN service
4580 spawn timeout, 2s is really short
4581 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4582 but call it directly so that errors are reported on return from
4583 ActivateConnection() and don't get lost. If scheduled as an idle
4584 handler, clients don't have the time to query NM for the new VPN
4585 connection's properties before the VPN connection is torn down again
4586 if the service couldn't be launched, and therefore launch errors
4589 2008-03-31 Dan Williams <dcbw@redhat.com>
4591 * src/vpn-manager/nm-vpn-connection.c
4592 - (device_state_changed): send correct state on device failure too
4593 - (plugin_state_changed): failed state means unexpected disconnection,
4594 thus if the service goes away while the VPN connection is activated
4595 that's a failure too
4597 2008-03-31 Dan Williams <dcbw@redhat.com>
4599 * src/vpn-manager/nm-vpn-manager.c
4600 src/vpn-manager/nm-vpn-manager.h
4601 - Make VPNManager errors more available; add a service-start-failed error
4603 2008-03-31 Dan Williams <dcbw@redhat.com>
4605 * libnm-glib/nm-client.c
4606 libnm-glib/nm-client.h
4607 - (activate_cb): pass the new active connection to callback; fix
4608 message when no callback is specified
4610 2008-03-30 Dan Williams <dcbw@redhat.com>
4612 * libnm-util/nm-setting-wireless-security.c
4613 - (need_secrets): only require key0 if the transmit key index is also
4615 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4617 2008-03-29 Dan Williams <dcbw@redhat.com>
4619 * libnm-util/nm-setting-8021x.c
4620 libnm-util/nm-setting-ip4-config.c
4621 libnm-util/nm-setting-vpn-properties.c
4622 libnm-util/nm-setting-vpn.c
4623 libnm-util/nm-setting-wireless-security.c
4624 libnm-util/nm-setting-wireless.c
4625 libnm-util/nm-utils.c
4626 src/dhcp-manager/nm-dhcp-manager.c
4627 src/nm-activation-request.c
4630 src/nm-properties-changed-signal.c
4631 src/ppp-manager/nm-pppd-plugin.c
4632 src/supplicant-manager/nm-supplicant-interface.c
4633 src/vpn-manager/nm-vpn-connection.c
4634 - consistently use nm-dbus-glib-types.h
4636 2008-03-29 Dan Williams <dcbw@redhat.com>
4638 * src/vpn-manager/nm-vpn-connection.c
4639 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4642 * src/nm-activation-request.c
4643 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4646 2008-03-29 Dan Williams <dcbw@redhat.com>
4648 * libnm-glib/nm-device-802-11-wireless.c
4649 - (access_point_added_proxy): create new APs if not found
4651 2008-03-29 Dan Williams <dcbw@redhat.com>
4653 * libnm-glib/nm-client.c
4654 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4657 2008-03-29 Dan Williams <dcbw@redhat.com>
4659 * system-settings/plugins/ifcfg-fedora/parser.c
4660 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4661 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4663 2008-03-29 Dan Williams <dcbw@redhat.com>
4665 * system-settings/plugins/ifcfg-fedora/parser.c
4666 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4668 2008-03-27 Dan Williams <dcbw@redhat.com>
4671 - (nm_object_queue_notify): don't notify multiple times for the same
4674 * nm-object-private.h
4675 - (handle_ptr_array_return): return NULL if the given array is NULL or
4676 if it has zero elements
4679 - (finalize): use g_ptr_array_foreach() when freeing domains
4680 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4682 * nm-active-connection.c
4683 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4685 * nm-device-802-11-wireless.c
4686 nm-device-802-11-wireless.h
4687 - (nm_device_802_11_wireless_get_access_points): return const; use
4688 handle_ptr_array_return()
4691 - (nm_object_array_demarshal): always create an array, even of length
4692 zero, to distinguish between "NM returned no items" and "haven't
4696 - (dispose): free active connections too
4697 - (proxy_name_owner_changed): free active connections too when NM goes
4699 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4700 - (nm_client_get_active_connections): use handle_ptr_array_return()
4702 2008-03-26 Dan Williams <dcbw@redhat.com>
4704 Rework VPN connection handling for a more consistent D-Bus API. The
4705 VPNManager object has been removed, and active VPN connections are now the
4706 same as any other active connection. The Manager object's ActivateConnection
4707 and DeactivateConnection methods are used to start and stop a VPN connection,
4708 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4709 When activating a VPN connection, pass the path of the active connection
4710 to which the VPN connection is tied in the 'specific_object' argument.
4712 Consequently, the libnm-glib API has been reworked to match this arrangement,
4713 with the VPNManager object removed, and the NMVPNConnection objects now
4714 being subclasses of NMActiveConnection.
4716 2008-03-25 Dan Williams <dcbw@redhat.com>
4718 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4720 * initscript/Arch/networkmanager.in
4721 initscript/Arch/networkmanager-dispatcher.in
4722 - Updates for Arch Linux (gnome.org #523701)
4724 2008-03-25 Dan Williams <dcbw@redhat.com>
4726 * libnm-glib/nm-ip4-config.c
4727 libnm-glib/nm-active-connection.c
4728 libnm-glib/nm-access-point.c
4729 - Use nm_object_queue_notify() instead of g_object_notify()
4731 * libnm-glib/nm-device.c
4732 - (demarshal_ip4_config): distinguish between successful but missing
4733 ip4-config request, and unsuccessful and missing ip4-config request
4734 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4736 - Use nm_object_queue_notify() instead of g_object_notify()
4738 * libnm-glib/nm-device-802-11-wireless.c
4739 - (demarshal_active_ap): distinguish between successfull but missing
4740 active-ap request, and unsuccessful and missing active-ap request
4741 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4743 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4744 for the NMClient to notify the device that wireless is disabled,
4745 and therefore to clear the AP list and active AP
4746 - Use nm_object_queue_notify() instead of g_object_notify()
4748 * libnm-glib/nm-client.c
4749 - (poke_wireless_devices_with_rf_status): new function
4750 - (update_wireless_status): notify wireless devices of the rfkill status
4751 so they can clean up if needed
4752 - Use nm_object_queue_notify() instead of g_object_notify()
4754 2008-03-25 Dan Williams <dcbw@redhat.com>
4756 * libnm-glib/nm-object.c
4757 libnm-glib/nm-object-private.h
4758 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4759 signals to an idle handler
4760 - (nm_object_get_property): add a timeout to the D-Bus method call
4762 2008-03-25 Dan Williams <dcbw@redhat.com>
4764 * introspection/nm-device-cdma.xml
4765 introspection/nm-device-gsm.xml
4766 introspection/Makefile.am
4767 introspection/all.xml
4768 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4770 * src/nm-gsm-device.h
4772 src/nm-cdma-device.h
4773 src/nm-cdma-device.c
4775 - Implement PropertiesChanged signals
4777 * libnm-glib/nm-cdma-device.c
4778 libnm-glib/nm-cdma-device.c
4779 - Attach to PropertiesChanged signals
4781 2008-03-24 Dan Williams <dcbw@redhat.com>
4783 * libnm-glib/nm-client.c
4784 - (client_device_added_proxy): add new devices to the internal device
4785 list so they appear to clients
4787 2008-03-24 Dan Williams <dcbw@redhat.com>
4789 Massive fixup of libnm-glib to:
4790 a) have all objects (with the exception of VPN) cache their properties and
4791 update them asynchronously on PropertiesChanged signals from NM
4792 b) return internal const data for most attributes/properties instead of
4793 allocated values that the caller must free
4794 c) cache wrapped objects such that a given D-Bus path will always map to the
4795 same GObject returned by libnm-glib
4796 d) remove a few signals and move them to GObject property notifications
4797 e) match recent NM D-Bus API changes for activation/deactivation
4798 f) remove some private functions from libnm-glib headers
4800 2008-03-20 Dan Williams <dcbw@redhat.com>
4803 - (nm_manager_update_state, manager_device_state_changed,
4804 nm_manager_activate_device, connection_added_default_handler,
4805 impl_manager_activate_connection, impl_manager_deactivate_connection):
4806 queue PropertyChanged singals when the active connections change
4808 2008-03-20 Dan Williams <dcbw@redhat.com>
4810 * introspection/nm-manager.xml
4811 introspection/nm-manager-client.xml
4812 - (ActivateConnection): return the object path of the active connection
4814 - (GetActiveConnections): remove
4815 - (DeactivateConnection): new function; deactivate a currently active
4817 - Add an ActiveConnections property which returns an array of
4818 active connection object paths
4820 * introspection/nm-device.xml
4821 - (Deactivate): remove
4823 * introspection/all.xml
4824 - Add ActiveConnection introspection
4826 * introspection/nm-active-connection.xml
4827 - Add the ActiveConnection object
4829 * include/NetworkManager.h
4830 - Add the Connection.Active D-Bus interface
4832 * src/nm-device-interface.c
4833 - (impl_device_deactivate): remove
4835 * src/nm-activation-request.c
4836 src/nm-activation-request.c
4838 - Implement the Connection.Active D-Bus interface
4841 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4842 - (nm_manager_activate_device): return the active connection path
4843 - (connection_added_default_handler, impl_manager_activate_connection):
4844 return the active connection to the caller
4845 - (add_one_connection_element, impl_manager_get_active_connections):
4847 - (impl_manager_deactivate_connection): new function; deactivate an
4850 * libnm-glib/nm-device.c
4851 libnm-glib/nm-device.h
4852 - Remove Deactivate() function
4854 2008-03-19 Dan Williams <dcbw@redhat.com>
4856 * introspection/nm-manager.xml
4857 introspection/nm-manager-client.xml
4858 - Rename the ActivateDevice method to ActivateConnection to better
4859 reflect it's usage; it's arguments get reordered a bit too
4860 - Convert GetActiveConnections method return from a struct to a dict
4862 * include/NetworkManager.h
4863 - Define the dict keys for return value of GetActiveConnections
4866 - impl_manager_activate_device -> impl_manager_activate_connection
4867 - (add_one_connection_element): return a populated hash table, not
4870 * libnm-glib/nm-client.c
4871 libnm-glib/nm-client.h
4872 - nm_client_activate_device -> nm_client_activate_connection
4873 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4874 - (nm_client_get_active_connections): return a GSList of GHashTables,
4875 instead of the custom structures. Each element of the returned list
4876 must be freed with nm_client_free_active_connections_element()
4878 2008-03-18 Dan Williams <dcbw@redhat.com>
4880 * system-settings/plugins/ifcfg-fedora/parser.c
4881 system-settings/plugins/ifcfg-fedora/parser.h
4882 system-settings/plugins/ifcfg-fedora/plugin.c
4883 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4884 profiles. DNS servers and searches must now be stored in the ifcfg
4887 2008-03-18 Tambet Ingo <tambet@gmail.com>
4889 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4890 print out username and password, it's supposed to be a secret.
4892 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4893 request and set the device state accordingly.
4895 2008-03-18 Tambet Ingo <tambet@gmail.com>
4897 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4899 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4901 2008-03-18 Dan Williams <dcbw@redhat.com>
4903 * src/vpn-manager/nm-vpn-connection.c
4904 - (get_secrets_cb): handle new GetSecrets return format
4906 2008-03-18 Dan Williams <dcbw@redhat.com>
4908 Adapt system settings service for split 802.1x.
4910 * system-settings/src/nm-system-config-interface.h
4911 - clarify return value of get_secrets()
4913 * system-settings/src/dbus-settings.c
4914 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4915 - (check_for_secrets): check if there actually secrets returned by a
4917 - (exported_connection_get_secrets): just return the plugin-returned
4918 hash of settings' secrets if it looks valid
4920 * system-settings/plugins/ifcfg-fedora/plugin.c
4921 - (get_secrets): add split secrets with correct format to reply hash
4923 * system-settings/plugins/ifcfg-fedora/parser.c
4924 system-settings/plugins/ifcfg-fedora/parser.h
4925 - (copy_one_cdata_secret, connection_data_copy_secrets,
4926 connection_data_free, connection_data_add): keep secrets for
4927 different settings in different hashes
4929 2008-03-17 Tambet Ingo <tambet@gmail.com>
4931 Clean up activating device deactivation.
4933 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4934 should be done whether the device activation gets cancelled or the device
4935 is just getting deactivated.
4936 (nm_device_activation_cancel): Remove.
4937 (nm_device_deactivate_quickly): Handle the case where device is activating.
4939 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4940 It does the exact same thing as real_deactivate_quickly().
4942 2008-03-17 Dan Williams <dcbw@redhat.com>
4944 Split the 802.1x bits out of the wireless-security setting so they are
4945 generalized enough for wired 802.1x to use too.
4947 * introspection/nm-exported-connection.xml
4948 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4949 of just a hash of the secrets for one setting
4951 * libnm-util/nm-setting-wireless-security.c
4952 libnm-util/nm-setting-wireless-security.h
4953 - Remove 802.1x-specific stuff
4954 - Added leap-username and leap-password properties for old-school LEAP
4958 - (connection_secrets_updated_cb): take a list of updated settings names,
4961 * src/supplicant-manager/nm-supplicant-config.c
4962 src/supplicant-manager/nm-supplicant-config.h
4963 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4964 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4965 to nm_supplicant_config_add_setting_8021x()
4966 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4967 the supplicant config
4969 * src/nm-device-802-11-wireless.c
4970 - (build_supplicant_config): pass in the 802.1x setting too, if any
4971 - (real_connection_secrets_updated): take a list of updated settings
4974 * src/nm-device-802-3-ethernet.c
4975 src/nm-cdma-device.c
4977 - (real_connection_secrets_updated_cb): take a list of updated settings
4980 * src/nm-activation-request.c
4981 src/nm-activation-request.h
4982 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4983 now passes a list of updated settings names, not just one
4984 - (update_one_setting): new function; handle one updated setting
4985 - (get_secrets_cb): handle multiple settings returned from the
4986 settings service; have to be careful of ordering here as there are
4987 some dependencies between settings (ex. wireless-security and 802.1x
4990 * src/marshallers/nm-marshal.list
4991 - new marshaller for connection-secrets-updated signal
4993 * libnm-util/nm-setting-8021x.c
4994 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4996 - (verify): a valid 'eap' property is now required
4998 * libnm-util/nm-connection.c
4999 - (register_default_settings): add priorities to settings; there are
5000 some dependencies between settings, and during the need_secrets
5001 calls this priority needs to be respected. For example, only the
5002 wireless-security setting knows whether or not the connection is
5003 going to use 802.1x or now, so it must be asked for secrets before
5004 any existing 802.1x setting is
5005 - (nm_connection_lookup_setting_type): expose
5007 * libnm-util/nm-setting-wireless.c
5008 - (verify): should verify even if all_settings is NULL; otherwise won't
5009 catch the case where there is missing security
5011 * libnm-util/nm-setting-wireless-security.c
5012 - Remove everything to do with 802.1x
5013 - Add old-school LEAP specific properties for username and password
5014 - (need_secrets): rework LEAP secrets checking
5015 - (verify): rework for LEAP and 802.1x verification
5017 2008-03-17 Dan Williams <dcbw@redhat.com>
5019 * src/NetworkManagerPolicy.c
5020 - (auto_activate_device): always remove the current activation check
5021 from the pending activation list, otherwise when the policy gets
5022 destroyed on NM exit it will attempt to free the already freed
5025 2008-03-14 Tambet Ingo <tambet@gmail.com>
5027 * src/backends/NetworkManagerSlackware.c
5028 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
5030 * src/backends/NetworkManagerSuSE.c: Add missing includes.
5032 2008-03-14 Dan Williams <dcbw@redhat.com>
5035 - (nm_device_interface_get_iface): g_object_get() will return an
5036 allocated value, so this function must not return const
5037 - (nm_device_interface_activate): free returned iface
5039 2008-03-14 Tambet Ingo <tambet@gmail.com>
5041 * libnm-util/Makefile.am: Add new files to build.
5043 * libnm-util/nm-connection.c: Register NMSetting8021x.
5045 * libnm-util/nm-setting-8021x.c
5046 * libnm-util/nm-setting-8021x.h: Implement.
5048 2008-03-14 Tambet Ingo <tambet@gmail.com>
5050 * libnm-util/Makefile.am: Add new files to build.
5052 * libnm-util/nm-connection.c: Register NMSetting8021x.
5054 * libnm-util/nm-setting-8021x.c
5055 * libnm-util/nm-setting-8021x.h: Implement.
5057 2008-03-14 Tambet Ingo <tambet@gmail.com>
5059 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
5062 2008-03-14 Dan Williams <dcbw@redhat.com>
5064 * include/wireless-helper.h
5066 - One place for all the junk needed for #including wireless.h
5069 src/NetworkManagerAP.c
5072 libnm-util/nm-utils.c
5073 libnm-util/nm-setting-wireless.c
5074 libnm-glib/nm-device-802-11-wireless.c
5075 libnm-glib/nm-access-point.c
5076 libnm-glib/libnm-glib-test.c
5077 - include wireless-helper.h, not iwlib.h
5080 - Don't need libiw really, just need to check for wireless.h
5082 * src/kernel-types.h
5083 - Remove; used types moved into wpa.c
5085 * src/nm-device-802-11-wireless.c
5086 - (nm_device_802_11_wireless_update_signal_strength,
5087 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
5088 nm_device_802_11_wireless_set_mode,
5089 nm_device_802_11_wireless_get_frequency,
5090 nm_device_802_11_wireless_get_ssid,
5091 nm_device_802_11_wireless_set_ssid,
5092 nm_device_802_11_wireless_get_bitrate,
5093 nm_device_802_11_wireless_get_bssid,
5094 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
5095 instead of iwlib functions
5097 2008-03-14 Dan Williams <dcbw@redhat.com>
5099 * src/ppp-manager/nm-ppp-manager.c
5100 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
5101 should only take the DBusGMethodInvocation argument, not user/pass
5102 too. With dbus-glib, async functions only take 2 C arguments since
5103 the real dbus method arguments get passed back with
5104 dbus_g_method_return()
5106 2008-03-13 Tambet Ingo <tambet@gmail.com>
5108 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
5109 Adapt the changes of NMSettingIP4Config.
5111 2008-03-13 Dan Williams <dcbw@redhat.com>
5113 * src/NetworkManagerUtils.c
5114 src/NetworkManagerUtils.h
5115 - (nm_ether_ntop): replacement for iw_ether_ntop()
5117 * src/NetworkManagerAP.c
5118 src/nm-device-802-11-wireless.c
5119 src/nm-device-802-3-ethernet.c
5120 - s/iw_ether_ntop/nm_ether_ntop/g
5122 2008-03-13 Dan Williams <dcbw@redhat.com>
5124 * src/NetworkManagerPolicy.c
5125 - (update_routing_and_dns): never set the default route through an
5126 IPv4LL addressed device
5128 2008-03-13 Dan Williams <dcbw@redhat.com>
5130 * NetworkManagerUtils.c
5131 NetworkManagerUtils.h
5132 - Remove NMSock stuff
5133 - Remove the completion stuff
5138 NetworkManagerSystem.c
5140 nm-device-802-11-wireless.c
5141 nm-device-802-3-ethernet.c
5142 - Remove NMSock and completion stuff
5143 - Remove nm_ioctl_info()
5145 2008-03-12 Dan Williams <dcbw@redhat.com>
5148 - (merge_ip4_config): avoid duplicates
5150 2008-03-12 Dan Williams <dcbw@redhat.com>
5152 * libnm-util/nm-setting-ip4-config.c
5153 libnm-util/nm-setting-ip4-config.h
5154 - Remove 'manual' and 'autoip' properties
5155 - Add 'method' property
5156 - (verify): fix verification with 'method'
5157 - (finalize): free 'method'
5158 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5162 - (real_act_stage3_ip_config_start): check IP4Config method
5163 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5165 - (merge_ip4_config): IP settings are valid with DHCP too
5166 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5167 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5169 * src/nm-device-802-11-wireless.c
5170 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5171 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5174 * system-settings/plugins/ifcfg-fedora/parser.c
5175 system-settings/plugins/ifcfg-suse/parser.c
5176 - (make_ip4_setting): fix up for 'method'
5178 2008-03-12 Dan Williams <dcbw@redhat.com>
5180 * system-settings/plugins/ifcfg-fedora/parser.c
5181 system-settings/plugins/ifcfg-fedora/parser.h
5182 - (get_ifcfg_name): ignore more file suffixes
5183 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5185 2008-03-12 Dan Williams <dcbw@redhat.com>
5188 - Bring in the bits of gnome-common we actually use (all 15 lines)
5190 2008-03-12 Dan Williams <dcbw@redhat.com>
5192 * system-settings/plugins/ifcfg-fedora/plugin.c
5193 - (write_auto_wired_connection): new function; write out an auto
5194 wired connection file since the applet isn't doing it any more
5195 - (reload_all_connections): write out the auto wired connection file
5196 if there aren't any wired connections already
5197 - (init): don't leak a GError
5199 2008-03-12 Dan Williams <dcbw@redhat.com>
5201 * src/nm-device-interface.c
5202 - (nm_device_interface_activate): print the ID of the connection
5203 that's about to be activated
5205 2008-03-12 Dan Williams <dcbw@redhat.com>
5207 Harmonize the 802.11 bitrate API
5209 * introspection/nm-access-point.xml
5210 - 'Rate' -> 'MaxBitrate'; clarify units
5212 * introspection/nm-device-802-11-wireless.xml
5213 - Clarify units of 'Bitrate'
5215 * src/NetworkManagerAP.c
5216 src/NetworkManagerAP.h
5217 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5218 property to 'max-bitrate'
5219 - (foreach_property_cb): convert rate to Kb/s
5221 * src/nm-device-802-11-wireless.c
5222 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5224 * libnm-glib/nm-access-point.c
5225 libnm-glib/nm-access-point.h
5226 - 'rate' -> 'max-bitrate'
5229 libnm-glib/libnm-glib-test.c
5230 - Fix up for these changes
5232 2008-03-12 Dan Williams <dcbw@redhat.com>
5235 - (nm_device_set_ip4_config): don't send property notifications when
5236 the ip4 config is set to NULL; it causes a PropertyChanged signal
5237 which dbus-glib can't parse because the value is NULL, which isn't
5238 a legal object path. Setting the IP4 config to NULL is only
5239 valid when deactivating a device anyway, so the device state change
5240 will alert listeners that the ip4 config is invalid.
5242 2008-03-12 Dan Williams <dcbw@redhat.com>
5244 * src/nm-properties-changed-signal.c
5245 - (add_to_string): better handling of NULL objects
5247 2008-03-12 Dan Williams <dcbw@redhat.com>
5249 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5250 convert the libnm-glib NMDevice8023Ethernet to cached properties
5252 * introspection/nm-device-802-3-ethernet.xml
5253 - New 'Carrier' property
5254 - New 'PropertiesChanged' signal
5256 * introspection/nm-device.xml
5257 - Remove 'Carrier' property
5258 - Remove 'CarrierChanged' signal
5260 * src/nm-device-interface.c
5261 src/nm-device-interface.h
5262 - (nm_device_interface_init): remove 'carrier' property and
5263 'carrier-changed' signal
5267 - (nm_device_get_carrier, nm_device_set_carrier): remove
5268 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5269 the link here; wired device will handle that
5270 - (handle_dhcp_lease_change): don't bother updating link here
5271 - (get_property, nm_device_class_init): remove carrier property
5273 * src/nm-device-802-11-wireless.c
5274 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5275 real_update_link(); wireless devices don't use carrier at all
5276 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5277 supplicant_iface_connection_state_cb_handler,
5278 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5280 * src/nm-device-802-3-ethernet.c
5281 src/nm-device-802-3-ethernet.h
5282 - (nm_device_802_3_ethernet_carrier_on,
5283 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5284 instead of nm_device_set_carrier()
5285 - (device_state_changed): update link from sysfs on activation;
5286 replaces real_update_link()
5287 - (real_update_link): remove, replaced by device_state_changed()
5288 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5289 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5290 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5291 new get_carrier function
5292 - (get_property): add 'carrier' property
5293 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5294 hook into property-changed signal helper
5296 * src/NetworkManagerPolicy.c
5297 - (device_carrier_changed): will only ever be called with a wired device
5298 - (device_added): only hook up to carrier-changed for wired devices
5300 * libnm-glib/nm-device.c
5301 libnm-glib/nm-device.h
5302 - (constructor, nm_device_class_init): remove carrier-changed signal
5303 - (device_carrier_changed_proxy): remove; unused
5304 - (nm_device_get_carrier): remove; carrier a property of wired devices
5306 * libnm-glib/nm-device-802-3-ethernet.c
5307 libnm-glib/nm-device-802-3-ethernet.h
5308 - Convert to cached properties like AP and Wireless objects
5309 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5310 instead of a 'char *', return value should not be freed
5311 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5312 - (constructor): hook into properties-changed helper
5313 - (set_property, get_property): new functions
5314 - (nm_device_802_3_ethernet_class_init): export GObject properties
5317 - (detail_device): strdup the wired hardware address too since it's
5320 * libnm-glib/libnm-glib-test.c
5321 - (dump_wired): strdup the wired hardware address too since it's
5324 2008-03-12 Dan Williams <dcbw@redhat.com>
5326 * libnm-util/nm-setting-ip4-config.c
5327 libnm-util/nm-setting-ip4-config.h
5328 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5329 the 'autoip' property from the spec
5331 2008-03-11 Dan Williams <dcbw@redhat.com>
5333 * src/backends/NetworkManagerGeneric.c
5334 src/backends/NetworkManagerGeneric.h
5335 - (nm_generic_device_get_use_dhcp): remove
5337 2008-03-11 Dan Williams <dcbw@redhat.com>
5340 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5341 already in nm_device_set_ip4_config()
5342 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5343 due to a DHCP rebind fails
5344 - (nm_device_set_ip4_config): send property notifications when the
5346 - (get_property): only report IP4Config property during valid states
5348 * src/NetworkManagerPolicy.c
5349 - (update_routing_and_dns): ignore devices that don't have an ip4
5350 config; add parameter 'force_update' to allow callers to specify
5351 that changes should be made even if the default device doesn't change
5352 - (device_ip4_config_changed): update DNS and routing when the device's
5353 IP4Config changes, like for DHCP updates
5354 - (device_added): listen for ip4-config property changes
5356 2008-03-11 Dan Williams <dcbw@redhat.com>
5358 Fix address handling as a result of DHCP rebind/renew/reboot.
5360 * src/NetworkManagerSystem.c
5361 - (check_one_address): delete an address if it doesn't match a given
5362 one for the same interface
5363 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5364 be smarter about flushing addresses (only flush ones that don't
5365 match the one we're about to apply)
5367 * src/backends/NetworkManagerDebian.c
5368 src/backends/NetworkManagerSuSE.c
5369 src/backends/NetworkManagerArch.c
5370 src/backends/NetworkManagerSlackware.c
5371 src/backends/NetworkManagerRedHat.c
5372 src/backends/NetworkManagerPaldo.c
5373 src/backends/NetworkManagerFrugalware.c
5374 src/backends/NetworkManagerGentoo.c
5375 - (nm_system_delete_default_route): remove
5377 * src/backends/NetworkManagerGeneric.c
5378 src/backends/NetworkManagerGeneric.h
5379 - (nm_generic_enable_loopback): fix the loopback device label
5380 - (nm_generic_delete_default_route): remove; no longer used
5382 2008-03-11 Dan Williams <dcbw@redhat.com>
5384 * src/nm-device-interface.h
5385 - Delimit property name words with '-', otherwise g_object_notify()
5386 doesn't work the way we expect
5388 2008-03-11 Tambet Ingo <tambet@gmail.com>
5390 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5392 2008-03-11 Dan Williams <dcbw@redhat.com>
5394 * src/NetworkManagerPolicy.c
5395 - (update_routing_and_dns): don't change anything if the default device
5396 hasn't changed; print something out when switching the default route
5399 2008-03-10 Tambet Ingo <tambet@gmail.com>
5403 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5404 setting. Use "nic-$eth".
5406 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5407 the device is activating here to fix a race condition.
5409 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5411 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5412 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5413 (nm_ppp_manager_start): Take activation request instead of connection, we might
5414 need it for asking secrets.
5415 (nm_ppp_manager_update_secrets): Implement.
5417 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5418 ppp manager start. It might be needed for asking secrets.
5420 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5421 (ppp_state_changed): Handle pppd daemon disappearing.
5422 (pppoe_stage2_config): Send activation request to ppp manager start.
5424 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5426 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5427 username and password.
5429 2008-03-10 Dan Williams <dcbw@redhat.com>
5432 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5433 response to a DHCP lease change
5434 - (dhcp_state_changed): handle DHCP lease changes while activated
5435 - (nm_device_set_ip4_config): remove a previously set named config
5436 when setting an ip4 config
5438 2008-03-10 Dan Williams <dcbw@redhat.com>
5440 * src/nm-serial-device.c
5441 - (nm_serial_device_send_command): report errno on error
5442 - (get_reply_got_data): limit the size of the overall buffer
5443 - (wait_for_reply_info_destroy): destroy result string
5444 - (wait_for_reply_got_data): append received data to an overall buffer
5445 until timeout, filled buffer, or error instead of keeping a per-call
5446 buffer. Some devices send data slowly enough that this function
5447 gets called multiple times for the same command stream.
5448 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5449 wait_for_reply_got_data() here
5451 2008-03-10 Dan Williams <dcbw@redhat.com>
5453 * src/nm-cdma-device.c
5454 - (do_dial, init_modem): handle errors from
5455 nm_serial_device_send_command_string()
5457 * src/nm-gsm-device.c
5458 - (do_dial, manual_registration, automatic_registration_get_network,
5459 automatic_registration, enter_pin, check_pin, init_modem): handle
5460 errors from nm_serial_device_send_command_string()
5462 2008-03-10 Dan Williams <dcbw@redhat.com>
5464 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5466 * src/named-manager/nm-named-manager.c
5467 - (compute_searches): prefer searches before domains
5468 - (compute_domain): new function
5469 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5470 - (merge_one_ip4_config): if there are no searches in the source config,
5471 merge domains of the source config into the target config
5472 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5474 2008-03-10 Dan Williams <dcbw@redhat.com>
5476 * src/nm-serial-device.c
5477 - (get_reply_got_data): clean up indentation, shrink serial buffer
5478 - (wait_for_reply_got_data): try to handle slower serial devices where
5479 the reply is broken up into multiple reads by concatenating replies
5480 together until either an error is received or the search string is
5483 2008-03-10 Dan Williams <dcbw@redhat.com>
5486 - (nm_device_bring_down): deactivate the device if it's activating too,
5487 not just if it's already activated. This makes sure that everything
5488 from an association attempt is cleaned up (like DHCP for example)
5490 2008-03-10 Dan Williams <dcbw@redhat.com>
5492 * src/nm-serial-device.c
5493 - (config_fd): report error from TCSETA
5494 - (nm_serial_device_open): fail when config_fd() fails
5496 2008-03-10 Dan Williams <dcbw@redhat.com>
5498 * src/nm-ip4-config.c
5499 - (nm_ip4_config_init): allocate searches list
5500 - (finalize): free searches list
5502 2008-03-09 Dan Williams <dcbw@redhat.com>
5504 Patch from Bas Zoetekouw <bas@debian.org>
5506 * src/dhcp-manager/nm-dhcp-manager.c
5507 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5509 2008-03-09 Dan Williams <dcbw@redhat.com>
5511 Patch from Bas Zoetekouw <bas@debian.org>
5513 * src/nm-ip4-config.c
5515 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5516 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5517 domains. 'searches' is the correct way to store multiple search
5518 domains, whereas 'domains' is really just supposed to store one
5519 domain. Some sites abuse the DHCP 'domain-name' option to push
5520 search domains to the client.
5521 - (nm_ip4_config_add_domain): group with related functions (my patch)
5523 2008-03-09 Dan Williams <dcbw@redhat.com>
5525 * src/dhcp-manager/nm-dhcp-manager.c
5526 - (dhclient_run): send interface-specific config files to dhclient
5528 2008-03-07 Dan Williams <dcbw@redhat.com>
5530 * system-settings/plugins/ifcfg-fedora/parser.c
5531 - (is_wireless_device): new function; test a device for wireless
5533 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5534 test the device for wireless extensions to determine the type
5536 2008-03-07 Dan Williams <dcbw@redhat.com>
5538 Change manager's StateChange signal to StateChanged for consistency.
5540 * introspection/nm-manager.xml
5541 - Add 'StateChanged' signal
5542 - Move 'StateChange' down to the deprecated section
5544 * src/nm-hal-manager.c
5545 - (nm_hal_manager_new): connect to 'state-changed' instead
5547 * src/NetworkManagerPolicy.c
5548 - (nm_policy_new): connect to 'state-changed' instead
5552 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5553 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5556 * libnm-glib/nm-client.c
5557 libnm-glib/nm-client.h
5558 - (constructor, nm_client_class_init, client_state_changed_proxy):
5559 track and proxy 'state-changed' instead of 'state-change'
5561 2008-03-07 Dan Williams <dcbw@redhat.com>
5563 First pass of multiple active device support. Expect bugs.
5565 * src/nm-ip4-config.c
5567 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5568 there are better ways to do this in the named manager
5572 - (nm_device_can_activate): return whether the device can activate a
5573 connection right now; taking into account things like carrier state
5575 - (nm_device_get_best_auto_connection): renamed from
5576 nm_device_get_best_connection
5577 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5578 device subclasses themselves, so that each device can override the
5579 MTU from it's NMSetting subclass if needed
5580 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5581 in NetworkManagerSystem.c, not here
5583 * src/named-manager/nm-named-manager.c
5584 src/named-manager/nm-named-manager.h
5585 - (nm_named_manager_name_owner_changed,
5586 nm_named_manager_dbus_connection_changed): fix for changes to
5587 rewrite_resolv_conf()
5588 - (compute_nameservers): don't need the NMNamedManager at all, remove
5590 - (merge_one_ip4_config): new function; merge ip4 configs together
5591 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5592 ip4 configs; the VPN config takes precedence, then the best
5593 device config, then the rest of the configs
5594 - (get_domain_for_config): take the NMNamedManager as an argument
5595 to check whether the config is the VPN config
5596 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5597 attribute from ip4 configs
5598 - (add_all_ip4_configs_to_named): add all the configs in priority order
5599 - (remove_ip4_config_from_named): fix for changes to
5600 get_domain_for_config()
5601 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5602 based on its type; callers must pass in the type now
5603 - (get_last_default_domain): remove, unused
5604 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5606 * src/nm-device-802-11-wireless.c
5607 - (real_can_activate): new function
5608 - (real_get_best_auto_connection): renamed from real_get_best_connection
5609 - (real_act_stage4_get_ip4_config): handle MTU override
5611 * src/nm-device-802-3-ethernet.c
5612 - (real_can_activate): new function
5613 - (real_get_best_auto_connection): renamed from real_get_best_connection
5614 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5616 * src/vpn-manager/nm-vpn-connection.c
5617 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5618 attribute on the ip4 config
5620 * src/NetworkManagerPolicy.c
5621 - (nm_policy_auto_get_best_device): remove
5622 - (nm_policy_device_change_check): remove
5623 - (update_default_route): new function; set the default route via
5624 the specified device
5625 - (get_device_priority): new function; return the priority number of
5626 a device type WRT which one should have the default route. Order is
5627 (highest to lowest) wired, wireless, GSM, CDMA.
5628 - (update_routing_and_dns): new function; determine which device should
5629 have the default route, then update the routing table and DNS
5630 - (maybe_auto_activate_device): new function; if a device is now
5631 available for activation, find out what connection it would like to
5633 - (schedule_activate_check): new function; if a device can be activated
5634 now, schedule the activation. Each device may have only one
5635 pending activation at a given time.
5636 - (device_state_changed): if activation was canceled, try again,
5637 possibly with another connection; if the device was activated,
5638 update routing and DNS; if the device was deactivated, try again
5639 with another connection
5640 - (device_carrier_changed): if there is no carrier, deactivate the
5641 device; otherwise schedule an activation check for the device
5642 - (wireless_networks_changed): schedule an activation check for the
5644 - (device_added): keep track of the signal handler IDs so they can
5645 be removed when the device goes away
5646 - (device_removed): remove any signal handlers that might be attached
5647 to the device; update routing and DNS
5648 - (schedule_activate_all): new function
5649 - (connections_added, connection_added, connection_updated): when
5650 connections change, schedule all devices for an activation check
5651 - (connection_removed): when a device is deactivated because its
5652 connection was removed, schedule another activation check for it
5653 - (nm_policy_destroy): destroy pending activations and disconnect
5654 all device signal handlers
5657 - (nm_manager_activate_device): if the device was already actived,
5659 - (deactivate_old_device): remove
5660 - (connection_added_default_handler, impl_manager_activate_device):
5661 don't deactivate other devices when activating this one
5663 * src/backends/NetworkManagerGentoo.c
5664 src/backends/NetworkManagerFrugalware.c
5665 src/backends/NetworkManagerPaldo.c
5666 src/backends/NetworkManagerRedHat.c
5667 src/backends/NetworkManagerSlackware.c
5668 src/backends/NetworkManagerArch.c
5669 src/backends/NetworkManagerSuSE.c
5670 src/backends/NetworkManagerDebian.c
5671 - (nm_system_get_mtu): remove; MTU should be provided through the
5672 distro's system settings service plugin instead
5673 - (nm_system_device_add_default_route_via_device): remove
5674 - (nm_system_device_add_default_route_via_device_with_iface): remove
5675 - (nm_system_device_replace_default_route): new function; call
5676 generic implementation
5678 * src/backends/NetworkManagerGeneric.c
5679 src/backends/NetworkManagerGeneric.h
5680 - (nm_generic_device_add_default_route_via_device,
5681 nm_generic_device_add_default_route_via_device_with_iface): remove
5682 - (nm_generic_device_replace_default_route): replace the default route
5683 with the given route via some gateway
5685 * src/NetworkManagerSystem.c
5686 src/NetworkManagerSystem.h
5687 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5688 to routing and DNS; but set the MTU here
5689 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5690 ip_iface of the active device; use the standard MTU setting function
5691 - (nm_system_set_mtu): remove
5692 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5694 2008-03-07 Tambet Ingo <tambet@gmail.com>
5696 Rework the interaction between ppp manager and pppd plugin. Register a well
5697 known DBUS service in manager and let the plugin call it's methods instead
5698 of listening plugin's signals.
5700 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5701 of emitting signals.
5703 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5705 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5707 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5708 nm_ppp_manager_start().
5710 * introspection/nm-ppp-manager.xml: New file.
5712 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5713 the case correctly where driver is trying to send -1 for the speed, which gets
5714 casted to u16 and thus is always > 0.
5716 2008-03-07 Dan Williams <dcbw@redhat.com>
5718 * src/nm-hal-manager.c
5719 - (nm_get_device_driver_name): use net.originating_device first, fall
5720 back to physical device. HAL has deprecated physical_device.
5722 * libnm-glib/nm-device.c
5723 - (get_product_and_vendor): use net.originating_device first, fall
5724 back to physical device. HAL has deprecated physical_device.
5725 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5727 2008-03-07 Dan Williams <dcbw@redhat.com>
5730 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5731 last commit; fix that
5732 - (get_link_cache): print error string
5734 2008-03-07 Dan Williams <dcbw@redhat.com>
5737 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5738 don't need this hack any more (Benoit Boissinot)
5740 2008-03-06 Dan Williams <dcbw@redhat.com>
5743 - Die gnome-common, die
5745 2008-03-04 Dan Williams <dcbw@redhat.com>
5747 Patch from Michael Biebl <biebl@debian.org>
5749 * NetworkManager.pc.in
5750 - doesn't actually depend on dbus-1
5752 * libnm-util/nm-utils.h
5753 - remove unused #include <dbus/dbus.h>
5755 * libnm-glib/libnm_glib.pc.in
5756 - depends on glib and dbus-glib
5758 2008-03-02 Dan Williams <dcbw@redhat.com>
5760 * src/NetworkManagerPolicy.c
5761 - s/device_state_changed_idle_id/update_state_id/
5763 2008-03-02 Dan Williams <dcbw@redhat.com>
5767 src/nm-device-802-11-wireless.c
5768 src/nm-device-802-3-ethernet.c
5769 src/NetworkManagerPolicy.c
5770 - s/link_active/carrier
5771 - nm_device_set_active_link() -> nm_device_set_carrier()
5772 - nm_device_has_active_link() -> nm_device_get_carrier()
5774 2008-03-02 Dan Williams <dcbw@redhat.com>
5776 * system-settings/plugins/ifcfg-fedora/parser.c
5777 - (make_wireless_setting): fail connection creation on missing SSID
5779 2008-02-29 Dan Williams <dcbw@redhat.com>
5781 * src/NetworkManagerPolicy.c
5782 - (nm_policy_device_change_check): ensure that a previously active
5783 device with a system connection has a link before denying a switch
5784 to a user connection
5786 2008-02-29 Dan Williams <dcbw@redhat.com>
5788 * src/nm-device-802-11-wireless.c
5789 - (link_timeout_cb): try again if scanning; deactivate the device when
5790 activated if the link dies
5791 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5794 2008-02-29 Dan Williams <dcbw@redhat.com>
5796 * src/nm-device-802-11-wireless.c
5797 src/nm-device-802-11-wireless.h
5798 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5799 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5800 - (device_cleanup): reset the scan interval lower when the device
5802 - (can_scan): base decision mostly off device state, not supplicant
5803 interface state since the supplicant interface state isn't a
5804 great indicator of whether the device is active or not
5805 - (request_wireless_scan): clean up; schedule the next scan here
5806 - (schedule_scan): only back the scan interval off if a new scan
5807 actually gets scheduled; and make scan intervals tighter when the
5808 device is disconnected
5809 - (supplicant_iface_state_cb_handler): fold in the bits of
5810 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5812 - (activation_success_handler): reset scan interval to something
5815 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5817 reviewed by: Steev <steev@steev.net>
5820 * src/backends/NetworkManagerGentoo.c:
5821 (nm_system_restart_mdns_responder):
5822 Howl is no longer a supported mDNS provider
5824 2008-02-28 Tambet Ingo <tambet@gmail.com>
5826 Get rid of a bunch of unused distro specific functions.
5828 2008-02-28 Tambet Ingo <tambet@gmail.com>
5830 Implement suse plugin for system settings daemon.
5832 * system-settings/plugins/ifcfg-suse/*: Implement.
5834 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5837 * configure.in: Check (without failing) for gio.
5838 Create ifcfg-suse plugin's Makefile.
5840 2008-02-20 Dan Williams <dcbw@redhat.com>
5842 * libnm-util/nm-connection.c
5843 libnm-util/nm-connection.h
5844 - (nm_connection_compare): accept compare flags and pass them to the
5845 setting compare function
5847 * libnm-util/nm-setting.c
5848 libnm-util/nm-setting.h
5849 - (nm_setting_compare): accept compare flags; ignore properties that are
5852 * libnm-util/nm-setting-connection.c
5853 libnm-util/nm-setting-wireless.c
5854 libnm-util/nm-setting-ppp.c
5855 libnm-util/nm-setting-wired.c
5856 - Mark some setting properties as ignorable when doing a fuzzy compare
5859 - (device_activation_precheck): use exact compare
5861 2008-02-20 Dan Williams <dcbw@redhat.com>
5863 * src/NetworkManagerPolicy.c
5864 - (nm_policy_device_change_check): get scope off the connection, not
5865 using the manager helper
5869 - (get_scope_for_proxy): rename from get_type_for_proxy()
5870 - (connection_get_settings_cb): set scope and path on connection, not
5871 using GObject data items
5872 - (get_connection_for_proxy): don't need to return path, since that
5873 can be gotten from the connection
5874 - (get_connection_for_proxy): get path off the connection, not from
5876 - (connection_removed_cb, connection_updated_cb): don't need to get
5877 path from get_connection_for_proxy(); get scope off the connection
5878 instead of using GObject data items
5879 - (connection_added_default_handler, add_one_connection_element): use
5880 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5881 - (nm_manager_get_connection_dbus_path): remove
5882 - (nm_manager_get_connection_scope): remove
5884 2008-02-20 Dan Williams <dcbw@redhat.com>
5886 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5889 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5890 applet were having to hack this in anyway. Remove the 'path' stuff from
5891 NMExportedConnection
5893 * Internally rename NMConnectionType -> NMConnectionScope
5895 * Provide default implementations of the 'get_id' and 'get_settings' methods
5896 of NMExportedConnection
5898 2008-02-15 Dan Williams <dcbw@redhat.com>
5900 * src/nm-device-802-11-wireless.c
5901 - (device_cleanup): release the AP list here too so that the AP list
5902 doesn't survive across suspend/resume and up/down. There is some
5903 room for optimization, for example blow the list away when the card
5904 brought back up, but only if the device has only been down for a
5907 2008-02-15 Dan Williams <dcbw@redhat.com>
5909 * src/nm-hal-manager.c
5910 - (modem_device_creator): recognize new HAL modem capabilities
5912 2008-02-12 Dan Williams <dcbw@redhat.com>
5914 * system-settings/plugins/ifcfg-fedora/plugin.c
5915 - (watch_path): handle IN_DELETE_SELF too
5916 - (handle_connection_changed): notify when removing a connection
5917 - (stuff_changed): don't warn on unknown inotify watches; handle the
5918 case of a file moving out of the profile directory
5920 2008-02-12 Dan Williams <dcbw@redhat.com>
5922 * system-settings/plugins/ifcfg-fedora/parser.c
5923 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5925 2008-02-12 Dan Williams <dcbw@redhat.com>
5927 * libnm-util/nm-utils.c
5928 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5929 just any empty array
5931 2008-02-12 Dan Williams <dcbw@redhat.com>
5933 * system-settings/src/nm-system-config-interface.c
5934 system-settings/src/nm-system-config-interface.h
5935 - (load_connections): get_connections() should now return an allocated
5936 GSList that the system settings service will free
5938 * system-settings/plugins/ifcfg-fedora/plugin.c
5939 system-settings/plugins/ifcfg-fedora/parser.h
5940 system-settings/plugins/ifcfg-fedora/parser.c
5941 - Fix up inotify issues; handle keys-* files, handle new files appearing
5942 in the profile directory, handle resolv.conf file changes
5944 2008-02-10 Dan Williams <dcbw@redhat.com>
5946 * src/nm-device-802-3-ethernet.c
5947 - (real_bring_up): save the supplicant interface state signal id
5948 - (real_bring_down): disconnect from the supplicant interface state
5951 2008-02-07 Dan Williams <dcbw@redhat.com>
5953 * initscript/RedHat/NetworkManager.in
5954 initscript/RedHat/NetworkManagerDispatcher.in
5955 - Add new-style LSB init headers
5957 2008-02-07 Dan Williams <dcbw@redhat.com>
5959 * system-settings/src/dbus-settings.c
5960 system-settings/src/dbus-settings.h
5961 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5963 - (connection_settings_get_secrets): consolidate error returns into
5964 one place; use the new get_secrets() plugin interface function to
5965 get secrets from the plugin itself rather than using GObject data
5968 * system-settings/src/main.c
5969 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5970 load_connections): keep a private list of the plugin-returned
5971 connections, don't use the plugin's GSList
5973 * system-settings/plugins/ifcfg-fedora/plugin.c
5974 - (watch_path): watch the path, not the filename (duh)
5975 - (reload_all_connections): use the direct hash/equal functions; the
5976 ones for int aren't appropriate here
5977 - (get_secrets, system_config_interface_init): implement the
5978 get_secrets() function
5979 - (build_one_connection, find_connection_by_path): ifcfg file path is
5980 now in the connection's ConnectionData instead of being a GObject
5982 - (handle_profile_item_changed): ifcfg file path is now in the
5983 connection's ConnectionData instead of being a GObject data property;
5984 be sure to copy secrets over from the new connection to the existing
5985 connection when updating the connection's settings
5986 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5989 * system-settings/plugins/ifcfg-fedora/parser.c
5990 system-settings/plugins/ifcfg-fedora/parser.h
5991 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5992 connection_data_copy_secrets, connection_data_free,
5993 connection_data_add): new functions; connection data manipulation
5994 - (make_wireless_security_setting): stuff secrets into the
5995 connection data, not as GObject data items; make sure to close
5997 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5998 connection data to the connection
6000 2008-02-07 Dan Williams <dcbw@redhat.com>
6002 * system-settings/src/nm-system-config-interface.c
6003 system-settings/src/nm-system-config-interface.h
6004 - Add a get_secrets() interface function to retrieve secrets for a
6005 specific setting of a specific connection. Document the interface
6008 2008-02-07 Dan Williams <dcbw@redhat.com>
6010 * src/nm-device-802-11-wireless.c
6011 - (handle_auth_or_fail): new function; consolidate device activation
6012 failure check after a certain number of failures getting secrets
6013 - (supplicant_connection_timeout_cb, real_act_stage2_config,
6014 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
6015 the connection if secrets were requested more than a few times
6016 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
6017 tries here; otherwise they are cleared before the IP configure
6018 timeout, which happens with open system WEP when key is wrong
6019 - (activation_success_handler): clear wireless secrets tries here too
6021 2008-02-07 Dan Williams <dcbw@redhat.com>
6023 * src/NetworkManagerPolicy.c
6024 - (connection_updated): clear invalid tag when connection gets updated
6025 to allow that connection to be tried again
6026 - (nm_policy_new): save signal ids so they can be disconnected when
6027 the policy is destroyed
6028 - (nm_policy_destroy): stop any in-progress state change idle handler,
6029 and disconnect all signals from the manager object so that none
6030 of the policy functions gets called after the policy is destroyed
6032 2008-02-06 Dan Williams <dcbw@redhat.com>
6035 - (finalize): remove devices a bit earlier; clean up system settings
6037 - (nm_manager_name_owner_changed): clean up system settings poke when
6038 the service appears, and try to restart it if it fails
6039 - (poke_system_settings_daemon_cb): try to get the system settings
6040 service started through D-Bus service activation
6041 - (initial_get_connections): start the system settings daemon if it's
6044 2008-02-05 Dan Williams <dcbw@redhat.com>
6046 * src/supplicant-manager/nm-supplicant-config.c
6047 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
6048 broadcast networks too
6050 2008-02-04 Dan Williams <dcbw@redhat.com>
6052 * system-settings/plugins/ifcfg-fedora/parser.c
6053 - (make_wireless_security_setting): fix spelling; unencrypted networks
6054 need key_mgmt set too
6055 - (parser_parse_file): validate ifcfg file name and don't try to parse
6056 .bak files; ensure that an error is set whenever NULL gets returned
6058 2008-02-04 Dan Williams <dcbw@redhat.com>
6060 * system-settings/src/Makefile.am
6061 - Install D-Bus service activation file for the system settings
6064 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
6065 - D-Bus service activation file for system settings service
6067 2008-02-04 Dan Williams <dcbw@redhat.com>
6069 * system-settings/src/main.c
6070 - (parse_config_file): parse a config file
6071 - (main): accept --config option and read plugins from config file
6073 2008-02-04 Dan Williams <dcbw@redhat.com>
6075 * system-settings/plugins/ifcfg-fedora/plugin.c
6076 - Change reported name to 'ifcfg-fedora'
6077 - Use IFCFG_PLUGIN_NAME
6079 * system-settings/plugins/ifcfg-fedora/plugin.c
6080 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
6082 2008-02-04 Dan Williams <dcbw@redhat.com>
6084 * system-settings/plugins/ifcfg-fedora/parser.c
6085 - (get_ifcfg_name): new function; factor out ifcfg name finding code
6086 - (make_connection_setting): use get_ifcfg_name()
6087 - (make_wireless_security_setting): handle shadow key files
6088 - (get_one_wep_key): treat empty string as NULL
6090 2008-02-04 Dan Williams <dcbw@redhat.com>
6092 * src/supplicant-manager/nm-supplicant-manager.c
6093 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
6094 glib automatically reschedule
6095 - (nm_supplicant_manager_init): immediately try to start the supplicant
6096 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
6099 2008-02-01 Dan Williams <dcbw@redhat.com>
6101 * src/NetworkManagerPolicy.c
6102 - (device_state_changed): schedule a change check when a device gets
6103 deactivated so something happens if you disconnect GSM/CDMA
6105 2008-01-31 Dan Williams <dcbw@redhat.com>
6107 * src/nm-device-802-11-wireless.h
6108 src/nm-device-802-11-wireless.c
6109 - (ap_list_get_ap_by_ssid, is_associated,
6110 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
6111 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
6112 - (nm_device_802_11_wireless_get_activation_ap): collapse
6113 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
6116 2008-01-30 Dan Williams <dcbw@redhat.com>
6118 * system-settings/plugins/ifcfg
6119 * system-settings/plugins/ifcfg-fedora
6120 - Move the ifcfg plugin to ifcfg-fedora
6122 2008-01-24 Dan Williams <dcbw@redhat.com>
6124 * libnm-glib/nm-device-802-11-wireless.c
6125 - (get_access_point): move the "/" check here; check for invalid path
6127 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6128 to get_access_point()
6129 - (access_point_added_proxy, access_point_removed_proxy): don't try
6130 to send signals for non-existent access points
6132 2008-01-24 Dan Williams <dcbw@redhat.com>
6134 * libnm-glib/nm-device-802-11-wireless.c
6135 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6137 2008-01-23 Dan Williams <dcbw@redhat.com>
6139 * libnm-glib/libnm_glib.c
6140 - (libnm_glib_init): make thread joinable
6141 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6143 2008-01-23 Dan Williams <dcbw@redhat.com>
6145 * test/libnm_glib_test.c
6146 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6147 - (main): set up signal handlers; call libnm_glib_shutdown
6149 2008-01-21 Dan Williams <dcbw@redhat.com>
6151 * include/NetworkManager.h
6152 - Add CDMA mobile broadband card device type
6154 * src/nm-hal-manager.c
6155 - (modem_device_creator): handle both CDMA and GSM modems; the device
6156 must now be tagged with 'cdma' or 'gsm' capability
6158 * src/nm-cdma-device.c
6159 src/nm-cdma-device.h
6161 - Add the CDMA mobile broadband card device class
6163 * libnm-util/nm-connection.c
6164 - (register_default_settings): add NMSettingCdma
6166 * libnm-util/nm-setting-cdma.c
6167 libnm-util/nm-setting-cdma.h
6168 libnm-util/Makefile.am
6169 - Add the CDMA mobile broadband card setting class
6171 * libnm-glib/nm-cdma-device.c
6172 libnm-glib/nm-cdma-device.h
6173 libnm-glib/Makefile.am
6174 - Add the CDMA mobile broadband card GLib proxy class
6176 * libnm-glib/nm-client.c
6177 - (get_device): handle CDMA devices too
6179 2008-01-21 Dan Williams <dcbw@redhat.com>
6181 * src/ppp-manager/nm-ppp-manager.c
6182 - (ip4_config_get): set peer address too
6184 * src/ppp-manager/nm-pppd-plugin.c
6185 - (nm_ip_up): try harder to get the peer's address
6187 * src/NetworkManagerSystem.c
6188 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6189 address, use that too. Otherwise, some PPP connections won't work.
6191 2008-01-19 Dan Williams <dcbw@redhat.com>
6193 * src/NetworkManagerPolicy.c
6194 - (nm_policy_device_change_check): system connections override user
6195 connections; don't activate a user connection if there's a currently
6196 active system connection, and new, better system connections always
6197 interrupt user connections
6199 2008-01-19 Dan Williams <dcbw@redhat.com>
6202 - (nm_manager_get_connection_type): new function
6204 2008-01-19 Dan Williams <dcbw@redhat.com>
6206 * src/nm-device-802-11-wireless.c
6207 - (real_get_best_connection): collapse find_best_connection() into this
6210 2008-01-19 Dan Williams <dcbw@redhat.com>
6212 * src/nm-device-802-3-ethernet.c
6213 - (real_get_best_connection): collapse find_best_connection() into this
6216 2008-01-18 Dan Williams <dcbw@redhat.com>
6218 * src/nm-device-802-3-ethernet.c
6219 - (find_best_connection): check MAC address too
6220 - (real_get_best_connection): let autoconnect=True connections activate
6221 for devices that don't have carrier detection
6223 * src/nm-device-802-11-wireless.c
6224 - (find_best_connection): check MAC address too
6226 2008-01-18 Dan Williams <dcbw@redhat.com>
6228 * system-settings/plugins/ifcfg/parser.c
6229 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6231 2008-01-17 Dan Williams <dcbw@redhat.com>
6233 * src/nm-device-802-3-ethernet.c
6234 - (nm_device_802_3_ethernet_carrier_on,
6235 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6236 carrier events that might come in for devices that don't support
6239 2008-01-17 Dan Williams <dcbw@redhat.com>
6241 * src/nm-device-interface.c
6242 - (nm_device_interface_check_connection_conflicts): need to actually
6243 get the interface, not cast to the object
6246 - (nm_device_check_connection_conflicts): need to get the device class,
6247 not cast the device to the device class
6249 2008-01-17 Dan Williams <dcbw@redhat.com>
6251 * src/nm-device-802-11-wireless.c
6252 - (real_check_connection_conflicts): ignore connections that aren't
6253 wireless connections
6255 2008-01-17 Dan Williams <dcbw@redhat.com>
6257 * src/NetworkManagerPolicy.c
6258 - (nm_policy_device_change_check): clear change check idle here
6259 - (device_change_check_done): remove
6260 - (schedule_change_check): simplify
6262 2008-01-17 Dan Williams <dcbw@redhat.com>
6265 - (check_connection_allowed): take an NMDeviceInterface instead of
6266 an NMDevice object as an argument
6267 - (nm_manager_activate_device): pass an NMDeviceInterface to
6268 check_connection_allowed()
6270 2008-01-13 Dan Williams <dcbw@redhat.com>
6272 * libnm-glib/nm-device-802-11-wireless.c
6273 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6275 2008-01-12 Dan Williams <dcbw@redhat.com>
6277 * src/nm-device-802-11-wireless.c
6278 - (activation_success_handler): if a match was found in the scan list
6279 and that match is a hidden AP, update that AP's SSID
6281 2008-01-11 Dan Williams <dcbw@redhat.com>
6283 * src/NetworkManagerAP.c
6284 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6286 * src/nm-device-802-11-wireless.c
6287 - (get_active_ap): do two passes over the scan list if the caller
6288 requests that hidden APs get matched too; during the second pass
6289 when matching hidden APs, ignore the SSID since hidden APs in the
6290 scan list don't have an SSID yet
6291 - (periodic_update): move some checks to
6292 nm_device_802_11_periodic_update() because not all callers need them
6293 - (nm_device_802_11_periodic_update): move some checks here from
6295 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6296 matching on incoming scan results, because the fake AP's flags
6297 might be slightly different (yet still compatible) with the incoming
6298 scan result's flags and they might actually be the same AP; update
6299 the rate on merged APs too
6300 - (activation_success_handler): update the frequency of the fake AP
6301 on successful connection; match hidden APs too since if the
6302 current AP is fake, there might already be a scan result in the
6303 scan list for the desired AP, just without it's SSID filled in yet
6305 2008-01-10 Dan Williams <dcbw@redhat.com>
6307 * src/NetworkManagerAP.c
6308 - (foreach_property_cb): catch more hidden SSID formats
6310 2008-01-10 Dan Williams <dcbw@redhat.com>
6312 Fix gnome.org #464215. Requires the kernel patch titled
6313 "Introduce WEXT scan capabilities" but will handle the patch not being
6314 present, you'll just continue to have problems with hidden SSIDs when
6315 using mac80211-based drivers.
6317 * src/supplicant-manager/nm-supplicant-config.h
6318 src/supplicant-manager/nm-supplicant-config.c
6319 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6320 whether the driver supports SSID scans or not. If it does, and if
6321 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6323 * src/nm-device-802-11-wireless.c
6324 - (constructor): check whether or not the driver supports SSID scans
6325 - (build_supplicant_config): pass driver SSID scan capability when
6326 building the wireless bits of the supplicant config
6328 2008-01-09 Dan Williams <dcbw@redhat.com>
6332 - (device_activation_precheck, check_connection_complete): remove this
6333 virtual function; incomplete connections should be invalid by
6334 definition, complete-ness should be checked in the setting's
6337 * src/nm-serial-device.c
6339 - (real_check_connection_complete): remove
6341 * libnm-util/nm-setting-serial.c
6342 - (verify): new function; ensure there is a PPP setting too
6344 * libnm-util/nm-setting-gsm.c
6345 - (verify): ensure there is a serial setting too
6347 2008-01-06 Dan Williams <dcbw@redhat.com>
6349 * src/dhcp-manager/nm-dhcp-manager.c
6350 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6353 2008-01-04 Dan Williams <dcbw@redhat.com>
6355 * src/named-manager/nm-named-manager.c
6356 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6357 nameservers if the secondary config doesn't have any
6360 2008-01-02 Tambet Ingo <tambet@gmail.com>
6362 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6363 with G_PARAM_CONSTRUCT so that they get the default values.
6365 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6366 the monitoring device and prints out the output for now. Or more precicely, doesn't
6367 do absolutely anything right now since the montoring device argument is never set.
6369 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6370 requires it's own knob to turn it on.
6371 (config_fd): Add NMSettingSerial to the arguments list.
6372 (nm_serial_device_open): Ditto.
6373 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6374 (nm_serial_device_get_io_channel): Implement.
6376 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6377 a new reference every time (and forgetting to release it sometimes) is a pain and
6378 it's not like NMManager could work without dbus.
6379 (nm_manager_add_device): Register the added device on dbus here.
6381 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6384 * src/nm-device.c (constructor): Don't export the device here, instead export
6385 it when it's added to the NMManager's device list.
6387 2007-12-31 Dan Williams <dcbw@redhat.com>
6389 * src/nm-device-interface.c
6390 src/nm-device-interface.h
6391 - (nm_device_interface_check_connection_conflicts): new function
6395 - (nm_device_check_connection_conflicts): new function
6396 - (device_activation_precheck): don't require subclasses to implement
6397 check_connection_complete()
6398 - check_connection() -> check_connection_complete()
6400 * src/nm-device-802-11-wireless.c
6401 - (real_check_connection): remove; unused
6402 - (real_check_connection_conflicts): implement, handle lockdown for
6405 * src/nm-device-802-3-ethernet.c
6406 - (real_check_connection): remove; unused
6409 - (check_connection_allowed): new function
6410 - (nm_manager_activate_device): ensure the connection being requested
6411 is allowed to be activated
6413 * src/nm-serial-device.c
6415 - real_check_connection() -> real_check_connection_complete()
6417 2007-12-27 Dan Williams <dcbw@redhat.com>
6419 * src/nm-device-interface.c
6420 src/nm-device-interface.h
6421 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6422 normalize and expand errors
6423 - (nm_device_interface_init): register errors so they can be marshalled
6425 - (nm_device_interface_activate): ensure that failure of activation
6430 - (device_activation_precheck): implementations of check_connection()
6431 now take a GError and must fill it in if the check fails. Return
6432 more descriptive error if the requested connection is already
6434 - (nm_device_activate): actually try to return descriptive errors on
6437 * src/nm-device-802-11-wireless.c
6438 src/nm-device-802-3-ethernet.c
6439 src/nm-serial-device.c
6441 - (real_check_connection): return more descriptive errors on failure
6443 * src/NetworkManagerPolicy.c
6444 - (nm_policy_device_change_check): print activation errors in the logs
6447 - (nm_manager_error_quark, nm_manager_error_get_type,
6448 nm_manager_class_init): new errors
6449 - (nm_manager_activate_device): handle errors
6450 - (nm_manager_error_new): removed
6451 - (wait_for_connection_expired, connection_added_default_handler,
6452 impl_manager_activate_device): better error handling
6454 2007-12-27 Dan Williams <dcbw@redhat.com>
6456 Fixes gnome.org #466954
6458 * src/supplicant-manager/nm-supplicant-settings-verify.c
6459 - Allow 'frequency' network property
6461 * src/supplicant-manager/nm-supplicant-config.c
6462 src/supplicant-manager/nm-supplicant-config.h
6463 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6464 for callers to specify the frequency an Ad-Hoc network should operate
6465 on. Some drivers require this to successfully create an Ad-Hoc
6468 * src/nm-device-802-11-wireless.c
6469 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6470 guint32 value in MHz
6471 - (constructor, nm_device_802_11_wireless_get_frequency): use
6473 - (find_supported_frequency): new function; find a free supported
6474 frequency for a user-created Ad-Hoc network
6475 - (build_supplicant_config): if no frequency was specified for a user-
6476 created Ad-Hoc network, find a free one to use
6477 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6478 a specific object as user-created
6480 2007-12-27 Dan Williams <dcbw@redhat.com>
6482 * libnm-util/nm-utils.c
6483 libnm-util/nm-utils.h
6484 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6487 2007-12-24 Dan Williams <dcbw@redhat.com>
6489 * libnm-util/nm-setting-wireless.c
6490 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6491 185, 187, 188, 192, and 196
6493 2007-12-24 Dan Williams <dcbw@redhat.com>
6495 * src/nm-device-802-11-wireless.c
6496 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6497 a channel # instead of a frequency
6499 2007-12-24 Dan Williams <dcbw@redhat.com>
6501 * src/NetworkManagerAP.c
6502 src/NetworkManagerAP.h
6503 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6504 - (freq_to_channel): handle split band tables
6505 - (channel_to_freq): handle split band tables, take a band argument
6507 2007-12-24 Dan Williams <dcbw@redhat.com>
6509 * libnm-util/nm-setting-connection.h
6510 libnm-util/nm-setting-connection.c
6511 - Add 'lockdown' member
6513 2007-12-22 Dan Williams <dcbw@redhat.com>
6515 * libnm-util/nm-setting-wireless.c
6516 - (nm_setting_wireless_class_init): add missing 'rate' property
6519 2007-12-18 Dan Williams <dcbw@redhat.com>
6521 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6523 * src/nm-netlink-monitor.c
6524 src/nm-netlink-monitor.h
6525 - Remove handrolled netlink, use libnl instead
6527 * src/nm-device-802-3-ethernet.c
6528 - (constructor, nm_device_802_3_ethernet_carrier_off,
6529 nm_device_802_3_ethernet_carrier_on): use new names
6531 2007-12-17 Dan Williams <dcbw@redhat.com>
6534 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6535 and fixes memory leaks)
6538 - (nm_netlink_get_default_handle): handle new versions of libnl that
6539 automatically handle the netlink PID
6541 2007-12-17 Dan Williams <dcbw@redhat.com>
6543 Patch from Michael Biebl <biebl@debian.org>
6546 src/ppp-manager/Makefile.am
6547 - fix up install dir of pppd plugin
6548 - clean up configure.in a bit
6550 2007-12-12 Dan Williams <dcbw@redhat.com>
6552 * system-settings/src/nm-system-settings.conf
6553 - Allow non-root clients (like the applet) to read settings
6555 2007-12-10 Tambet Ingo <tambet@gmail.com>
6557 * Replace all occurences of 'UMTS' with 'GSM'.
6559 2007-12-07 Dan Williams <dcbw@redhat.com>
6561 * src/nm-serial-device.c
6562 - (real_is_up): serial devices are always "up"
6564 2007-12-07 Dan Williams <dcbw@redhat.com>
6567 src/NetworkManagerSystem.c
6568 - (new_nl_handle): ensure that the same netlink pid is never chosen
6569 twice (gnome.org #491047)
6570 - Make more robust against allocation-related failures should they occur
6572 2007-12-07 Dan Williams <dcbw@redhat.com>
6574 Noticed by Christian Persch <chpe@gnome.org>
6576 Always chain up to parent object in dispose and finalize handlers.
6579 2007-12-07 Dan Williams <dcbw@redhat.com>
6581 * src/nm-device-802-11-wireless.c
6582 - Wrap #include of linux/mii.h to fix redefined structures due to
6583 incorrect kernel headers (gnome.org #350061)
6585 2007-12-06 Tambet Ingo <tambet@gmail.com>
6587 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6588 before doing anything else.
6589 (init_modem): Move modem initialization here.
6591 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6592 (nm_serial_device_flash): Implement.
6594 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6595 changes signal is "StateChanged" and not "Status".
6596 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6598 2007-12-06 Dan Williams <dcbw@redhat.com>
6600 * src/supplicant-manager/nm-supplicant-config.c
6601 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6602 to only send some options when they make sense; also send phase2
6603 option to the supplicant (possible fix for rh #399631)
6605 2007-12-06 Tambet Ingo <tambet@gmail.com>
6607 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6608 arguments: This whole file shouldn't really know anything about NMDevices, it
6609 should deal only with device interfaces. Devices might have different ifaces for
6610 different stuff and this place shouldn't know anything about it.
6612 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6613 (global_state_changed): Implement. In the current NM it's not really important,
6614 but will be required in the case of multiple active devices. (Or even better,
6615 if stuff like that gets moved out from NM).
6617 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6618 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6621 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6622 devices like serial devices (ttyS0 and ppp0 for example).
6623 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6625 (nm_device_set_ip_iface): Implement.
6626 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6627 after setting ip4_config from here ...
6628 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6629 than this function should call nm_system_device_set_from_ip4_config() because no
6630 other code has enough information on which arguments to use. So instead, other code
6631 could just set the new ip4 config using this function and everyone is happy.
6633 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6634 if we happen to get deactivated while something is pending.
6635 (automatic_registration): Handle the response that indicates pending network
6636 registration and wait until the pending registration is done.
6637 (real_deactivate_quickly): If there's a pending operation, cancel it.
6639 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6640 (real_deactivate_quickly): ... and remove it when it's down.
6641 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6643 (nm_serial_device_wait_for_reply): Ditto.
6645 2007-12-05 Tambet Ingo <tambet@gmail.com>
6647 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6648 (get_network_done): Remove newline, nm_info() does it already.
6649 (real_act_stage1_prepare): Turn the modem echo off.
6651 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6652 device, set the route to the device interface. This is a hack.
6654 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6655 return, no need for a new-line.
6656 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6657 Change the device iface here (ugh).
6658 (real_act_stage4_get_ip4_config): Implement.
6659 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6660 Restore the device iface.
6662 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6663 device is not wired or wireless (eg, automatically upped) device.
6665 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6667 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6669 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6670 before calling it's is_device_fn().
6672 2007-12-05 Dan Williams <dcbw@redhat.com>
6674 * libnm-util/nm-utils.c
6675 - (nm_utils_register_value_transformations,
6676 nm_utils_convert_gvalue_hash_to_string): better debug output of
6677 GHashTables of GValues too
6679 2007-12-04 Dan Williams <dcbw@redhat.com>
6681 * initscript/RedHat/NetworkManager.in
6682 - No longer start named; it's D-Bus interface is going away
6684 2007-12-04 Dan Williams <dcbw@redhat.com>
6686 Patch from Michael Biebl <biebl@debian.org>
6688 * system-settings/plugins/ifcfg/Makefile.am
6689 system-settings/src/main.c
6690 system-settings/src/Makefile.am
6691 - Put system settings plugins in NM plugins dir
6693 * src/ppp-manager/Makefile.am
6694 src/ppp-manager/nm-ppp-manager.c
6695 - Move pppd plugin to NM plugins dir
6697 2007-12-04 Dan Williams <dcbw@redhat.com>
6699 * libnm-util/nm-setting-vpn-properties.h
6700 - Clarify usage of the 'data' member of the setting
6702 * libnm-util/nm-setting-vpn-properties.c
6703 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6704 - (set_property): just remove all the settings; don't recreate the has
6705 - (update_one_secret): don't need to create the hash table here since
6706 it should always be present
6708 2007-12-03 Tambet Ingo <tambet@gmail.com>
6710 Implement PIN and PUK requesting.
6712 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6713 (enter_pin): Handle PIN and PUK requests.
6714 (real_act_stage1_prepare): Clear the secret type.
6715 (real_connection_secrets_updated): Implement this class method to get
6716 notified when new secrets arrive.
6717 (nm_umts_device_class_init): Add private data back to the umts device class
6718 to store the required secret type.
6720 2007-12-01 Dan Williams <dcbw@redhat.com>
6722 * system-settings/plugins/ifcfg/parser.c
6723 - (parser_parse_file): don't try to verify NULL connections
6725 2007-12-01 Dan Williams <dcbw@redhat.com>
6727 * system-settings/src/main.c
6728 - (load_connections, add_connection_to_settings): actually export
6729 plugin-provided connections over D-Bus so NM can get them
6731 2007-12-01 Dan Williams <dcbw@redhat.com>
6733 * system-settings/plugins/ifcfg/parser.c
6734 system-settings/plugins/ifcfg/parser.h
6735 system-settings/plugins/ifcfg/plugin.c
6736 - Hook up more inotify bits (untested)
6738 2007-11-29 Dan Williams <dcbw@redhat.com>
6740 * system-settings/src/nm-system-config-interface.h
6741 system-settings/src/nm-system-config-interface.c
6742 - (nm_system_config_interface_init,
6743 nm_system_config_interface_get_connections): add
6745 * system-settings/src/main.c
6746 - (load_plugins, load_connections, main): use a GSList for plugins
6747 to ensure priority ordering
6749 * system-settings/plugins/ifcfg/parser.c
6750 - (ifcfg_error_quark): move to plugin.c, and rename
6752 * system-settings/plugins/ifcfg/plugin.h
6753 system-settings/plugins/ifcfg/plugin.c
6754 - (ifcfg_plugin_error_quark): move here from parser.c
6755 - rework connection loading and initialization
6756 - Add preliminary inotify support for network profile config file
6758 2007-11-28 Tambet Ingo <tambet@gmail.com>
6760 Merge the beginnings of the new GSM card support.
6762 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6763 ppp watch source before killing pppd - If this happens from g_object_unref()
6764 then the ppp manager is already destroyed by the time the watch callback runs.
6766 * src/nm-hal-manager.c: Add a device_type_name string to the device
6767 creators, so that we can print a nice human readable string when a
6770 * src/nm-umts-device.c (automatic_registration_get_network): Query
6771 for the activated network, not much is done with the result thought.
6773 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6774 (ppp_ip4_config): Change the device state to activated here for now.
6775 (real_check_connection): Make sure the connection includes ppp setting.
6777 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6779 * libnm-glib/Makefile.am: Add the new files to build.
6781 * libnm-glib/nm-umts-device.c:
6782 * libnm-glib/nm-umts-device.h: Implement.
6784 2007-11-26 Tambet Ingo <tambet@gmail.com>
6786 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6787 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6789 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6790 the timeout source - this function is only called when the timeout source has
6792 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6793 to be big enough to contain the terminating zero element as well.
6794 The timeout argument is meant to be in seconds now.
6795 (real_deactivate_quickly): Implement.
6797 * src/NetworkManager.conf: Allow root to own
6798 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6800 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6801 (not unsigned ints).
6803 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6804 small issue with parity bounds - capital letters have lower ascii codes
6805 than lower case letters.
6807 * libnm-util/nm-connection.c (register_default_settings): Register serial
6810 2007-11-22 Tambet Ingo <tambet@gmail.com>
6812 Remove the "index" property from devices as not all device types have this.
6814 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6816 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6817 (wired_device_creator): Get the device interface from hal to create the device.
6818 (wireless_device_creator): Ditto.
6820 * src/nm-device.c (nm_device_init): Remove the index member.
6821 (constructor): Remove the checks for index property, make interface property
6822 a require constructor property.
6823 Use the HAL udi for DBus path for devices.
6824 (nm_device_get_index): Remove.
6825 (set_property): Remove index handling.
6826 (get_property): Ditto.
6827 (nm_device_get_dbus_path): Remove.
6829 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6832 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6833 Access the device index through it's interface.
6834 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6835 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6836 index argument. Add interface argument.
6838 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6839 the useless test_dev argument. Remove index argument. Add interface arugment.
6841 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6842 device index through interface.
6843 (nm_system_set_mtu): Ditto.
6845 * introspection/nm-device.xml: Remove the "Index" property.
6847 2007-11-21 Tambet Ingo <tambet@gmail.com>
6849 * src/nm-serial-device.c:
6850 * src/nm-serial-device.c:
6851 * src/nm-umts-device.c:
6852 * src/nm-umts-device.h: Implement.
6854 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6855 allocated by libhal.
6856 (modem_device_creator): Implement.
6857 (register_built_in_creators): Register the modem creator.
6859 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6860 Remove the unused test_dev argument.
6862 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6864 * src/Makefile.am: Add new files to build.
6865 Link in ppp-manager.
6867 * libnm-util/nm-setting-umts.c:
6868 * libnm-util/nm-setting-umts.h:
6869 * libnm-util/nm-setting-serial.c:
6870 * libnm-util/nm-setting-serial.h: Implement.
6872 * libnm-util/Makefile.am: Add new files to build.
6874 2007-11-28 Dan Williams <dcbw@redhat.com>
6876 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6878 Support DHCP-provided static routes.
6880 * src/nm-ip4-config.h
6882 - Add get/set functions for static routes
6884 * src/dhcp-manager/nm-dhcp-manager.c
6885 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6888 * src/NetworkManagerSystem.c
6889 - (nm_system_device_set_from_ip4_config): set any static routes on the
6890 interface when applying the IP4Config
6892 2007-11-28 Dan Williams <dcbw@redhat.com>
6894 * src/nm-device-802-11-wireless.c
6895 - (real_act_stage1_prepare): mark APs created for hidden networks
6898 2007-11-27 Dan Williams <dcbw@redhat.com>
6900 * system-settings/src/nm-system-config-interface.h
6901 - Note how to store secrets on NMSetting objects
6903 * system-settings/src/dbus-settings.c
6904 - (connection_settings_get_secrets): implement
6906 2007-11-27 Dan Williams <dcbw@redhat.com>
6908 * system-settings/plugins/ifcfg/Makefile.am
6909 system-settings/plugins/ifcfg/parser.c
6910 system-settings/plugins/ifcfg/parser.h
6911 system-settings/plugins/ifcfg/plugin.c
6912 - Parse wireless connections too
6914 * system-settings/src/dbus-settings.c
6915 system-settings/src/dbus-settings.h
6916 system-settings/src/main.c
6917 - Handle connection update/removal if the plugin supports it
6919 2007-11-27 Dan Williams <dcbw@redhat.com>
6921 * src/nm-dbus-manager.h
6922 src/nm-hal-manager.c
6923 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6927 src/NetworkManagerDbusUtils.c
6928 src/NetworkManagerDbusUtils.h
6929 - Remove these two source files; they are unused
6931 2007-11-27 Dan Williams <dcbw@redhat.com>
6933 * src/vpn-manager/nm-vpn-manager.c
6934 - (impl_vpn_manager_connect): fix system settings check (found by
6937 2007-11-26 Dan Williams <dcbw@redhat.com>
6939 * Fix warnings so everything compiles with --enable-more-warnings
6941 2007-11-25 Dan Williams <dcbw@redhat.com>
6944 - Rework structure and code to use GModule-loaded plugins and a plugin
6945 interface that plugins export to the system settings service
6947 2007-11-21 Dan Williams <dcbw@redhat.com>
6950 - Add Soren's system settings service. Needs work for distros other
6951 than Fedora; the backends from NM should mostly migrate to here
6952 and be converted to GObjects
6954 2007-11-21 Dan Williams <dcbw@redhat.com>
6956 * libnm-util/nm-setting-vpn-properties.c
6957 - (set_property): must deep-copy the given settings hash, otherwise
6958 double-free errors occur when the setting is disposed of
6960 2007-11-21 Dan Williams <dcbw@redhat.com>
6962 * src/vpn-manager/nm-vpn-act-request.h
6963 src/vpn-manager/nm-vpn-act-request.c
6966 2007-11-20 Dan Williams <dcbw@redhat.com>
6968 * libnm-util/nm-utils.c
6969 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6970 nm_utils_convert_ip4_addr_struct_array_to_string,
6971 nm_utils_register_value_transformations): print out the readable
6972 values of more types of properties of NMSettings subclasses
6974 2007-11-20 Dan Williams <dcbw@redhat.com>
6976 * libnm-util/nm-setting-ip4-config.c
6977 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6978 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6979 marshal GValueArrays inside collections, so switch to types that it
6980 can actually marshal/demarshal
6982 2007-11-16 Dan Williams <dcbw@redhat.com>
6984 * libnm-util/nm-setting-wireless-security.c
6985 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6986 minimal verification of EAP methods too
6987 - (verify): verify phase1 eap methods too
6989 2007-11-15 Dan Williams <dcbw@redhat.com>
6991 * libnm-glib/nm-device.h
6992 libnm-glib/nm-device.c
6993 - (nm_device_get_product, nm_device_get_vendor): should be returning
6996 2007-11-15 Dan Williams <dcbw@redhat.com>
6998 * libnm-glib/nm-device.c
6999 - (get_product_and_vendor): don't try to free things that should be
7002 2007-11-15 Dan Williams <dcbw@redhat.com>
7004 * src/NetworkManagerUtils.c
7005 - (nm_ethernet_address_is_valid): unbreak previous fix
7007 2007-11-15 Dan Williams <dcbw@redhat.com>
7009 * src/supplicant-manager/nm-supplicant-config.c
7010 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
7013 2007-11-15 Dan Williams <dcbw@redhat.com>
7015 * src/NetworkManagerUtils.c
7016 - (nm_ethernet_address_is_valid): fix style, clarify
7017 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
7019 * src/nm-device-802-11-wireless.c
7020 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
7021 - (nm_device_802_11_wireless_get_ssid,
7022 nm_device_802_11_wireless_get_bssid,
7023 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
7024 before calling the ioctl; fixes valgrind-reported jump depends on
7025 uninitialized value errors
7027 2007-11-15 Dan Williams <dcbw@redhat.com>
7029 * libnm-util/nm-setting.c
7030 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
7031 unecessary to serialize 'name'
7033 * src/nm-activation-request.c
7034 - (get_secrets_cb): fix cases where a full NMSetting is returned from
7037 2007-11-15 Dan Williams <dcbw@redhat.com>
7039 * libnm-util/nm-setting-connection.h
7040 libnm-util/nm-setting-connection.c
7041 - Rename the 'name' property to 'id', because it conflicted with the
7042 NMSetting superclass' 'name' property.
7044 * libnm-util/nm-setting.c
7045 - (nm_setting_to_hash): serialize the 'name' property
7046 - (one_property_cb): ignore 'name' on deserialization of a connection
7048 * src/nm-device-802-11-wireless.c
7049 src/vpn-manager/nm-vpn-connection.c
7050 src/NetworkManagerPolicy.c
7051 - Fix up for NMSettingConnection 'name'->'id' changes
7053 2007-11-13 Dan Williams <dcbw@redhat.com>
7055 * libnm-glib/nm-device-802-11-wireless.h
7056 libnm-glib/nm-device-802-11-wireless.c
7057 - (nm_device_802_11_wireless_get_hw_address): return should be const
7060 libnm-glib/libnm-glib-test.c
7061 - Fixes for above change
7063 2007-11-12 Dan Williams <dcbw@redhat.com>
7065 * src/supplicant-manager/nm-supplicant-settings-verify.c
7066 - Allow fragment_size option
7068 * src/supplicant-manager/nm-supplicant-settings-verify.c
7069 - (nm_supplicant_config_add_setting_wireless_security): use a lower
7070 EAP fragment size than the default to help some TLS connections
7072 2007-11-12 Dan Williams <dcbw@redhat.com>
7074 Make certs actually work. The private key is now a secret, and should be
7075 decrypted when requested by NM. The private key and phase2 private key
7076 passwords are no longer interesting to NM because they should be used by
7077 the settings service to decrypt the private key itself before passing it
7078 to NM, and hence have been removed as fields.
7080 * libnm-util/nm-setting-wireless-security.h
7081 libnm-util/nm-setting-wireless-security.c
7082 - Remove private-key-passwd and phase2-private-key-passwd from
7084 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
7085 need_secrets): use property #defines instead strings to keep things
7087 - (need_secrets_tls): if a client certificate is present but no
7088 private key, request the private key
7089 - (set_property, get_property, nm_setting_wireless_security_class_init):
7090 remove private key password stuff, mark private keys as secret
7092 * src/supplicant-manager/nm-supplicant-settings-verify.c
7093 - Remove private_key_passwd and private_key2_passwd from opt_table
7095 2007-11-09 Dan Williams <dcbw@redhat.com>
7097 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
7098 Since the vpn-properties are managed and known by the VPN daemons themselves,
7099 libnm-util doesn't know what's secret and what's in the setting's 'data'
7102 * libnm-util/nm-setting.h
7103 libnm-util/nm-setting.c
7104 - Add the ability for subclasses to override update_one_secret
7106 * libnm-util/nm-setting-vpn-properties.c
7107 - Override update_one_secret and just copy the values into the
7110 2007-11-09 Dan Williams <dcbw@redhat.com>
7112 * libnm-glib/nm-settings.h
7113 libnm-glib/nm-settings.c
7114 - (nm_settings_new_error): remove
7115 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
7116 clients should use g_set_error() with NM_SETTINGS_ERROR
7118 2007-11-09 Dan Williams <dcbw@redhat.com>
7120 * src/supplicant-manager/nm-supplicant-config.c
7121 - (nm_supplicant_config_add_setting_wireless_security): private key
7122 passwords are never sent to wpa_supplicant, because the supplicant
7123 should never be reading random files from the disk. Clients like
7124 the applet are required to decrypt the private keys and send NM
7125 the decrypted blobs.
7127 2007-11-08 Dan Williams <dcbw@redhat.com>
7129 * libnm-util/nm-setting-wireless-security.h
7130 libnm-util/nm-setting-wireless-security.c
7131 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7132 members to 802-11-wireless-security structure. This should be used
7133 to indicate that the values in private-key and phase2-private-key
7134 are already decrypted by the user agent, and that no
7135 private-key-passwd or phase2-private-key-passwd should be expected.
7136 It is not meant to be a stored configuration value, but meant to
7137 be set when the conneciton is sent to NM over dbus.
7139 2007-11-08 Dan Williams <dcbw@redhat.com>
7141 * libnm-util/nm-connection.h
7142 libnm-util/nm-connection.c
7143 - (nm_connection_need_secrets): add argument to return hints
7145 * src/nm-device-802-11-wireless.c
7146 - (link_timeout_cb, supplicant_connection_timeout_cb,
7147 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7148 nm_connection_need_secrets() change
7150 2007-11-07 Tambet Ingo <tambet@gmail.com>
7152 Rework NMSetting structures: Move each setting to it's own file.
7153 Convert to GObject. Remove home grown setting types and use GTypes.
7154 Use GObject property introspection for hash conversion, enumerating
7157 * libnm-util/nm-setting-connection.[ch]
7158 * libnm-util/nm-setting-ip4-config.[ch]
7159 * libnm-util/nm-setting-ppp.[ch]
7160 * libnm-util/nm-setting-vpn.[ch]
7161 * libnm-util/nm-setting-vpn-properties.[ch]
7162 * libnm-util/nm-setting-wired.[ch]
7163 * libnm-util/nm-setting-wireless.[ch]
7164 * libnm-util/nm-setting-wireless-security.[ch]
7166 New files, each containing a setting.
7168 * libnm-util/nm-setting-template.[ch]: A template for creating new
7169 settings. To use it, just replace 'template' with the new setting
7170 name, and you're half-way done.
7172 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7173 introspection instead of internal types and tables.
7175 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7177 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7178 GValue types defined by dbus-glib for composed types like collections,
7179 structures and maps.
7181 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7182 a setting from connection takes the setting type now. Also, since
7183 the settings are in multiple files, include relevant settings.
7185 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7188 * src/backends/NetworkManagerGentoo.c:
7189 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7190 providers in Gentoo.
7192 2007-10-31 Dan Williams <dcbw@redhat.com>
7194 * libnm-util/nm-connection.c
7195 - (gvalue_to_string): handle UINT32 arrays
7197 2007-10-31 Dan Williams <dcbw@redhat.com>
7199 * libnm-glib/nm-device.h
7200 libnm-glib/nm-device.c
7201 - (nm_device_get_description): remove
7202 - (nm_device_get_product, nm_device_get_vendor): add
7203 - (nm_device_update_description): new function (private); walk HAL
7204 devices to get product and vendor IDs for a specific device
7206 2007-10-31 Dan Williams <dcbw@redhat.com>
7208 * src/nm-device-802-11-wireless.c
7209 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7211 2007-10-29 Dan Williams <dcbw@redhat.com>
7213 * src/nm-hal-manager.c
7214 - (device_added, device_new_capability): ignore device additions while
7215 asleep. Fixes crash caused when NM goes to sleep, a network device
7216 kernel module is unloaded and reloaded and recognized by NM again.
7218 2007-10-26 Dan Williams <dcbw@redhat.com>
7220 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7222 * src/NetworkManagerAP.c
7223 src/NetworkManagerAP.h
7224 libnm-glib/nm-access-point.c
7225 libnm-glib/nm-access-point.h
7226 - Make 'rate' property a guint32 to better match with WEXT and
7227 wpa_supplicant and to allow representation of higher bitrates
7229 * src/nm-device-802-11-wireless.c
7230 introspection/nm-device-802-11-wireless.xml
7231 libnm-glib/nm-device-802-11-wireless.c
7232 libnm-glib/nm-device-802-11-wireless.h
7233 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7235 * src/nm-device-802-3-ethernet.c
7236 src/nm-device-802-3-ethernet.h
7237 introspection/nm-device-802-3-ethernet.xml
7238 libnm-glib/nm-device-802-3-ethernet.c
7239 libnm-glib/nm-device-802-3-ethernet.h
7240 - Make 'speed' property a guint32 to match other speed/rate types
7241 - Make nm_device_802_3_ethernet_get_speed() static
7244 - Update for the changes above
7246 2007-10-26 Dan Williams <dcbw@redhat.com>
7248 * src/named-manager/nm-named-manager.c
7249 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7250 not calling fclose() twice on some error conditions
7252 2007-10-26 Dan Williams <dcbw@redhat.com>
7254 * src/nm-activation-request.c
7255 - (dispose): clean up indentation; get the right DBusGProxy object to
7256 cancel the GetSecrets pending call on. Need to use the Secrets
7257 proxy, not the regular connection proxy. Otherwise the GetSecrets
7258 pending call doesn't get canceled, and pressing Cancel in the
7259 applet's password dialog could cause get_secrets_cb() to be called
7260 after the activation request has already been destroyed
7262 2007-10-24 Dan Williams <dcbw@redhat.com>
7264 * src/supplicant-manager/nm-supplicant-config.c
7265 - (nm_supplicant_config_add_blob): pass blob data and length for
7267 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7269 2007-10-24 Dan Williams <dcbw@redhat.com>
7271 * src/supplicant-manager/nm-supplicant-settings-verify.c
7272 - (opt_table): max length for certificates should be 65536
7274 2007-10-24 Dan Williams <dcbw@redhat.com>
7276 * src/supplicant-manager/nm-supplicant-interface.c
7277 - (blob_free): correctly free blob data after use
7278 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7280 2007-10-24 Dan Williams <dcbw@redhat.com>
7282 * libnm-util/nm-setting.c
7283 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7284 EAP method need secrets
7286 2007-10-24 Dan Williams <dcbw@redhat.com>
7288 * src/backends/NetworkManagerRedHat.c
7289 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7291 2007-10-23 Dan Williams <dcbw@redhat.com>
7293 * libnm-util/nm-setting.c
7294 libnm-util/nm-setting.c
7295 - (nm_setting_compare): implement
7296 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7297 compare_one_hash_gvalue): compare the contents of a setting
7299 * libnm-util/nm-connection.c
7300 - (nm_connection_compare): implement
7302 2007-10-23 Dan Williams <dcbw@redhat.com>
7304 * src/nm-activation-request.c
7305 - (get_secrets_cb): handle getting a setting back that is more than
7306 just secrets (ie, user changed auth or EAP method or something)
7308 2007-10-23 Dan Williams <dcbw@redhat.com>
7310 * libnm-util/nm-setting.c
7311 libnm-util/nm-setting.h
7312 - (nm_setting_verify): new function; verify one setting
7313 - (nm_settings_verify_all): rename from nm_settings_verify()
7314 - (setting_connection_verify, setting_wireless_verify): allow NULL
7317 * libnm-util/nm-connection.c
7318 - (nm_connection_replace_settings, nm_connection_verify,
7319 nm_connection_new_from_hash): handle nm_settings_verify() rename
7321 2007-10-23 Dan Williams <dcbw@redhat.com>
7323 * src/nm-device-802-11-wireless.c
7324 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7327 2007-10-23 Dan Williams <dcbw@redhat.com>
7329 * src/supplicant-manager/nm-supplicant-settings-verify.c
7330 - eap_allowed, phase2_allowed: harmonize with allowed values from
7333 2007-10-23 Dan Williams <dcbw@redhat.com>
7335 * src/nm-device-802-11-wireless.c
7336 - (real_act_stage2_config): after the first association failure,
7337 if the connection still needs secrets ask the user for them
7338 explicitly. After the fourth association failure due to bad
7339 secrets, fail the connection entirely. Handles the GetSecrets
7340 loop that NM gets into when the provided secrets don't match up
7341 with the connection details.
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): only add
7347 WPA-specific options when WPA is in use
7349 2007-10-23 Dan Williams <dcbw@redhat.com>
7351 * src/supplicant-manager/nm-supplicant-config.c
7352 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7353 secret doesn't need to be unhexified
7355 2007-10-23 Dan Williams <dcbw@redhat.com>
7357 * libnm-util/nm-setting.c
7358 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7359 before trying to do something with it
7361 2007-10-23 Dan Williams <dcbw@redhat.com>
7363 * src/nm-device-802-11-wireless.c
7364 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7366 2007-10-23 Dan Williams <dcbw@redhat.com>
7368 * src/nm-device-802-11-wireless.c
7369 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7370 non-SSID-broadcasting APs
7372 2007-10-23 Dan Williams <dcbw@redhat.com>
7374 * src/NetworkManagerAP.c
7375 - (match_cipher, security_compatible): remove
7376 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7379 2007-10-23 Dan Williams <dcbw@redhat.com>
7381 * libnm-util/nm-utils.c
7382 libnm-util/nm-utils.h
7383 - (nm_utils_ap_security_compatible): common function for checking
7384 whether a specific AP is compatible with an NMConnection
7386 2007-10-23 Dan Williams <dcbw@redhat.com>
7388 * libnm-util/nm-setting.c
7389 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7390 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7391 need_secrets_password, setting_wireless_security_verify): fix
7392 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7393 secrets logic for each supported EAP method
7395 2007-10-23 Dan Williams <dcbw@redhat.com>
7397 * src/supplicant-manager/nm-supplicant-config.c
7398 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7399 config option name, should be "private_key2_passwd"
7401 2007-10-22 Tambet Ingo <tambet@gmail.com>
7403 Implement support for static IP addresses, additional/overridden DNS and
7404 DNS domain search lists.
7406 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7407 (ip4_addresses_to_gvalue): Implement.
7408 (convert_array_to_byte_array): Implement.
7409 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7410 NM_S_TYPE_IP4_ADDRESSES.
7411 (nm_setting_hash): Ditto.
7412 (default_setting_clear_secrets): Add a default case for the switch: IP address
7413 shouldn't be secret, ever.
7414 (setting_ip4_config_verify): Update, requires addresses in case of manual
7416 (setting_ip4_config_destroy): Free stuff.
7418 * src/nm-device.c (merge_ip4_config): Implement.
7419 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7421 2007-10-22 Dan Williams <dcbw@redhat.com>
7423 * libnm-util/nm-setting.c
7424 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7425 pairwise cipher options for Dynamic WEP
7427 2007-10-21 Dan Williams <dcbw@redhat.com>
7429 * src/NetworkManagerAP.c
7430 src/NetworkManagerAP.h
7431 - Rename 'articifical' -> 'fake' since that's what they are until
7433 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7434 from the attributes in an NMConnection object
7435 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7437 - (nm_ap_match_in_list): find a matching AP in a scan list
7439 * src/nm-device-802-11-wireless.c
7440 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7441 AP when searching the scan list; match on frequency and mode too
7442 - (nm_device_802_11_wireless_get_frequency): implement
7443 - (merge_scanned_ap): replace duplicate matching logic with
7444 nm_ap_match_in_list()
7445 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7446 the user is trying to connect to a hidden network that is not yet
7447 known from the scan list
7448 - (activation_success_handler): now that the card knows the AP's BSSID,
7449 there may already be a scanned AP in the scan list that is what
7450 we really wanted to connect to, but didn't know at the time. Use
7451 that instead of the 'fake' AP created at activation start and get
7452 rid of the 'fake' AP
7453 - (cull_scan_list): don't remove fake APs
7455 2007-10-21 Dan Williams <dcbw@redhat.com>
7457 * src/nm-activation-request.h
7458 src/nm-activation-request.c
7459 - (nm_act_request_set_specific_object): new function; allow setting the
7460 specific object if one isn't set yet
7462 2007-10-20 Dan Williams <dcbw@redhat.com>
7464 * src/supplicant-manager/nm-supplicant-config.h
7465 src/supplicant-manager/nm-supplicant-config.c
7466 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7467 table to store blobs
7468 - (nm_supplicant_config_add_blob): new function; add blob to internal
7470 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7471 - (nm_supplicant_config_add_setting_wireless_security): handle
7472 options that use certificates (ie, blobs)
7474 * src/nm-device-802-11-wireless.c
7475 - (build_supplicant_config): pass a UID (just use the connection path)
7476 to the supplicant config as now required
7478 * src/supplicant-manager/nm-supplicant-interface.c
7479 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7480 there are any blobs to send to wpa_supplicant, send those first
7481 before sending the network configuration
7483 2007-10-19 Dan Williams <dcbw@redhat.com>
7485 Split the GetSecrets() call off to a separate D-Bus interface so that it
7486 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7487 should be able to call GetSecrets().
7489 * include/NetworkManager.h
7490 - Define the connection secrets D-Bus interface
7492 * src/vpn-manager/nm-vpn-connection.c
7493 - (clear_need_auth): get the right proxy object for the connection
7495 - (get_connection_secrets): use the connection secrets proxy; send
7496 empty hints in get secrets request
7498 * src/nm-activation-request.c
7499 - (nm_act_request_request_connection_secrets): use the connection
7500 secrets proxy; send empty hints in get secrets request
7504 - (connection_get_settings_cb): set the connection secrets proxy on
7505 the connection object too
7506 - (internal_new_connection_cb): create the connection secrets proxy
7508 * introspection/nm-settings-connection.xml
7509 - Define Connection.Secrets interface and move GetSecrets there
7510 - Add a 'hints' argument to GetSecrets
7512 * libnm-glib/nm-settings.c
7513 libnm-glib/nm-settings.h
7514 - (impl_connection_settings_get_secrets): add 'hints' argument
7516 2007-10-19 Dan Williams <dcbw@redhat.com>
7519 - (constructor): add message about what path a device is exported as
7520 to help in debugging rh #339011
7522 2007-10-17 Dan Williams <dcbw@redhat.com>
7524 * libnm-util/nm-utils.h
7525 libnm-util/nm-utils.c
7526 - (nm_utils_security_valid): common function to help find the intersection
7527 of capabilities of devices and (optionally) access points
7529 2007-10-17 Dan Williams <dcbw@redhat.com>
7531 * src/nm-device-802-11-wireless.c
7532 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7533 don't get erroneously cleared
7535 2007-10-17 Dan Williams <dcbw@redhat.com>
7539 src/nm-hal-manager.c
7540 - (device_removed, finalize, nm_manager_remove_device,
7541 nm_manager_sleep): add a 'deactivate' argument to
7542 nm_manager_remove_device() to fully deactivate devices when necessary
7543 (ie, always except when waking up)
7545 2007-10-16 Dan Williams <dcbw@redhat.com>
7547 * libnm-util/nm-setting.c
7548 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7549 also isn't valid phase2 autheap method
7551 2007-10-16 Dan Williams <dcbw@redhat.com>
7553 * libnm-glib/nm-client.c
7554 - (update_wireless_status): consolidate updates of wireless status
7555 - (constructor): use update_wireless_status()
7556 - (manager_running): set wireless status off when NM goes away; requery
7557 the wireless status when NM comes back
7559 2007-10-16 Dan Williams <dcbw@redhat.com>
7561 * libnm-glib/nm-client.c
7562 - (nm_client_activate_device): actually use the fixed-up specific
7565 2007-10-16 Dan Williams <dcbw@redhat.com>
7567 * src/nm-hal-manager.c
7568 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7569 killswitch error messages once
7571 2007-10-16 Dan Williams <dcbw@redhat.com>
7574 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7575 if it's disabled in hardware; don't touch network devices while
7578 2007-10-16 Dan Williams <dcbw@redhat.com>
7580 * libnm-util/nm-client.c
7581 - (nm_client_activate_device): convert NULL specific_object to "/",
7582 which is used in place of NULL
7585 - (impl_manager_activate_device): convert "/" specific_object back into
7588 2007-10-16 Tambet Ingo <tambet@gmail.com>
7590 Implement a generic NMSetting creator from setting name.
7591 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7592 add a virtual function 'populate_fn'.
7594 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7595 (register_default_creators): Register setting creators instead of functions
7596 that create and then populate.
7597 (parse_one_setting): Use the common setting creator and then setting specific
7598 poplulation function.
7600 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7601 they all looked exactly the same.
7602 Add a 'populate_fn' virtual function to NMSetting.
7603 Use default virtual functions in case they are not overriden.
7604 (nm_setting_populate_from_hash): Implement.
7606 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7607 name, use a defined string.
7608 (real_act_stage4_get_ip4_config): Ditto.
7610 2007-10-16 Tambet Ingo <tambet@gmail.com>
7612 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7613 HAL is int, not uint.
7615 2007-10-15 Tambet Ingo <tambet@gmail.com>
7617 Implement killswitch polling through HAL.
7619 * src/nm-manager.c: Add wireless hardware status property. Add
7620 'properties-changed' signal for changes in wireless and wireless hardware
7623 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7624 and update NMManager's wireless hardware state when it has changed.
7625 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7628 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7629 values of wireless state and wireless hardware state. Listen for the
7630 'properties-changed' signals, update the cached values and emit notify.
7632 * include/NetworkManager.h: Fix a typo in a comment.
7634 2007-10-14 Dan Williams <dcbw@redhat.com>
7636 * libnm-util/nm-setting.c
7637 - (setting_wireless_security_need_secrets): handle LEAP secrets
7639 2007-10-13 Dan Williams <dcbw@redhat.com>
7641 * libnm-util/nm-setting.h
7642 libnm-util/nm-setting.c
7643 src/supplicant-manager/nm-supplicant-config.c
7644 - Make the 'proto' field of the 802-11-wireless-security field a
7647 2007-10-12 Tambet Ingo <tambet@gmail.com>
7649 Rework the "properties-changed" signal listening implementation.
7650 Add a generic implementation to NMObject class that listens for
7651 the signal and calls property setters of the target NMObject.
7653 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7655 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7656 code to the end of file so that all the static functions are available
7657 without extra declarations.
7658 Remove the "properties-changed" signal handling and use the framework from
7660 Implement property setters for properties that change with
7661 "properties-changed" signal.
7663 * libnm-glib/nm-access-point.c: Ditto.
7665 2007-10-12 Tambet Ingo <tambet@gmail.com>
7667 Rework the "properties-changed" signal implementation.
7668 In classes that need to use it, just emit "GObject::notify" and the new
7669 framework takes care of the rest to make the signal available on dbus.
7670 The framework queues the notifications and tries to send as many together
7671 in one signal as possible.
7673 * src/nm-properties-changed-signal.c:
7674 * src/nm-properties-changed-signal.h: Implement.
7676 * src/Makefile.am: Add new files to build.
7678 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7681 * src/nm-device-802-11-wireless.c: Ditto.
7683 2007-10-10 Dan Williams <dcbw@redhat.com>
7686 - (wait_for_connection_expired): ensure info is valid
7687 - (connection_added_default_handler): Should only remove pending
7688 connection info when the manager has the connection that it's
7689 waiting for. Fixes segfault in wait_for_connection_info().
7691 2007-10-10 Dan Williams <dcbw@redhat.com>
7693 * libnm-util/nm-setting.c
7694 libnm-util/nm-setting.h
7695 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7696 can use if they choose. Should be filled in by the settings service
7697 on-the-fly with the currently logged in user's username
7699 2007-10-10 Dan Williams <dcbw@redhat.com>
7701 * src/nm-device-802-11-wireless.c
7702 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7703 as such, because even if the manager fills in the SSID, NM still
7704 has to indicate to wpa_supplicant that the AP isn't broadcasting
7707 2007-10-10 Tambet Ingo <tambet@gmail.com>
7709 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7710 code that used NM's own version of dbus signal handling and custom dictionary
7711 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7712 and we get to maintain over 2000 lines less code.
7714 * libnm-util/dbus-dict-helpers.c:
7715 * libnm-util/dbus-dict-helpers.h: Remove.
7717 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7719 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7721 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7724 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7726 * configure.in: Remove test/libnm-util/Makefile creation.
7728 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7730 * test/libnm-util/: Remove the whole directory.
7732 2007-10-10 Tambet Ingo <tambet@gmail.com>
7734 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7735 device_state_changed_idle_id variable or it would contain some random value and the
7736 schedule_change_check calls would not do anything.
7738 2007-10-09 Dan Williams <dcbw@redhat.com>
7740 * src/nm-device-802-11-wireless.c
7741 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7742 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7743 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7744 merging of non-SSID-broadcasting APs
7746 2007-10-09 Tambet Ingo <tambet@gmail.com>
7748 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7749 "guint8 *" since it's usually used with GByteArray->data.
7750 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7752 2007-10-09 Tambet Ingo <tambet@gmail.com>
7754 * src/NetworkManagerUtils.c
7755 (nm_utils_is_empty_ssid):
7756 (nm_utils_escape_ssid):
7757 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7758 lot of places, so they belong to libnm-utils instead.
7760 Now with 100% less compiler warnings:
7762 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7763 (nm_dbus_unescape_object_path): Ditto.
7764 (nm_utils_ssid_to_utf8): Ditto.
7765 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7766 (nm_utils_escape_ssid): Ditto.
7767 (nm_utils_same_ssid): Ditto.
7769 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7770 (add_one_connection_element): Remove an unused variable.
7771 (impl_manager_get_active_connections): Ditto.
7773 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7776 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7777 from the previous commit.
7779 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7780 (real_act_stage1_prepare): Ditto.
7781 (activation_success_handler): Ditto.
7782 (get_property): Ditto.
7784 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7787 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7790 * src/supplicant-manager/nm-supplicant-config.c
7791 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7792 to expected "char *".
7793 (nm_supplicant_config_add_setting_wireless): Ditto.
7794 (nm_supplicant_config_remove_option): Remove, not used.
7796 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7798 (test_wireless_enabled): Ifdef out unused function.
7799 (device_deactivate): Ditto.
7800 (device_state_changed): Ditto.
7801 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7802 (nm_utils_escape_ssid): Ditto.
7804 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7805 (nm_utils_is_empty_ssid): Ditto.
7807 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7810 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7811 (setting_vpn_properties_update_secrets): Ditto.
7812 (int_to_gvalue): Ifdef out for now, not used.
7813 (byte_to_gvalue): Ditto.
7815 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7818 2007-10-08 Tambet Ingo <tambet@gmail.com>
7820 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7821 about dbus manager, not named manager.
7822 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7824 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7825 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7826 However, the same signal is emitted when we destroy it and there's
7827 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7829 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7830 releasing the DBusGConnection, since proxy needs a conneciton.
7831 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7833 2007-10-08 Dan Williams <dcbw@redhat.com>
7835 * src/NetworkManager.c
7836 - (main): error on unknown command-line options
7838 2007-10-08 Dan Williams <dcbw@redhat.com>
7840 Reimplement the invalid connection list. Don't try to re-activate a
7841 connection that just failed or was canceled.
7844 - (connection_secrets_failed_cb): fail device activation, don't just
7845 deactivate the device. Listeners have to know about the failure.
7847 * src/NetworkManagerPolicy.c
7848 - (nm_policy_auto_get_best_device): exclude invalid connections from
7849 the connection list given to a device's get_best_connection()
7851 - (device_state_changed): tag failed connections as invalid; clear the
7852 tag from successful connections
7854 2007-10-08 Dan Williams <dcbw@redhat.com>
7856 Fix problems with interrupted activation. Previously, choosing an AP
7857 from the menu, then choosing another one before the first connection was
7858 successful wouldn't deactivate the device before starting the new connection
7859 on that same device.
7861 * src/NetworkManagerPolicy.c
7862 - (deactivate_old_device, device_state_changed, state_changed,
7863 nm_policy_new): wrong place to deactivate old devices
7866 - (pending_connection_info_destroy, finalize,
7867 wait_for_connection_expired): decouple destruction of the pending
7868 connection info from the manager device
7869 - (connection_added_default_handler): deactivate any active or
7870 activating device before starting a new activation
7871 - (impl_manager_activate_device): deactivate any active or activating
7872 device before starting a new activation; be sure not to leak
7873 pending connection info if a new activation request arrives but
7874 there's already a pending one in-process
7876 2007-10-08 Dan Williams <dcbw@redhat.com>
7878 * src/NetworkManagerAP.h
7879 src/NetworkManagerAP.c
7880 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7881 should handle default SSIDs and whether or not to autoconnect
7884 2007-10-08 Dan Williams <dcbw@redhat.com>
7886 * src/NetworkManagerPolicy.c
7887 - (nm_policy_device_change_check): print out connection name where
7890 2007-10-08 Dan Williams <dcbw@redhat.com>
7892 * src/nm-device-802-11-wireless.c
7893 src/nm-device-802-11-wireless.h
7894 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7895 'hidden-ap-found' signal (for internal use only) that allows the
7896 NMManager to fill in the AP's SSID if a connection has that AP's
7897 BSSID in its seen-bssids list
7900 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7901 wireless device's hidden-ap-found signal and fill in the APs SSID
7904 2007-10-07 Dan Williams <dcbw@redhat.com>
7908 - Add a 'connections-added' signal to batch together updates of large
7909 numbers of connections, like when reading from a settings service
7910 the first time. Otherwise, the policy would just activate the first
7911 suitable connection it saw rather than waiting for the full list
7913 - (nm_manager_class_init): register new signal
7914 - (get_type_for_proxy, connection_get_settings_cb,
7915 get_connection_for_proxy): centralize places where a proxy's setting
7916 service is determined
7917 - (free_get_settings_info): if the call being freed is the last call
7918 in a pending call group, fire off the connections-added signal
7919 - (internal_new_connection_cb): add call to a pending call group if
7921 - (list_connections_cb): always create a call group here, because this
7922 call results in a batch of new connections
7923 - (initial_get_connections): start getting system connections first
7924 - (nm_manager_connections_destroy, emit_removed): actually emit the
7925 removed signal when destroying connections
7927 * src/NetworkManagerPolicy.c
7928 - (nm_policy_new, connections_added): handle connections-added signal
7931 2007-10-06 Dan Williams <dcbw@redhat.com>
7933 * src/nm-device-802-11-wireless.c
7934 - (constructor): fix leaked socket
7936 2007-10-06 Dan Williams <dcbw@redhat.com>
7938 * src/NetworkManagerPolicy.c
7939 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7940 connection in the list returned by nm_manager_get_connections() is
7941 reffed, but they weren't getting unreffed before returning
7943 2007-10-06 Dan Williams <dcbw@redhat.com>
7946 - (connections_to_slist): sort connections first on autoconnect, then
7949 2007-10-06 Dan Williams <dcbw@redhat.com>
7951 * libnm-util/nm-connection.c
7952 - (gvalue_to_string): handle UINT64
7954 2007-10-06 Dan Williams <dcbw@redhat.com>
7956 * src/NetworkManagerPolicy.c
7957 - (connection_updated, nm_policy_new): recheck state when a connection
7960 2007-10-06 Dan Williams <dcbw@redhat.com>
7964 - (nm_manager_get_connection_dbus_path): make static
7965 - (nm_manager_update_connections): remove; unused
7966 - Add a connection-updated signal
7967 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7968 handle connection object updates
7970 2007-10-06 Dan Williams <dcbw@redhat.com>
7972 * src/NetworkManagerPolicy.c
7973 - (connection_removed): deactivate removed connections
7975 2007-10-06 Dan Williams <dcbw@redhat.com>
7977 * libnm-util/nm-connection.c
7978 libnm-util/nm-connection.h
7979 - (nm_connection_replace_settings): new function
7981 2007-10-06 Dan Williams <dcbw@redhat.com>
7983 * libnm-glib/nm-device-802-11-wireless.c
7984 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7985 on error when getting the active access point over D-Bus from NM
7987 2007-10-05 Dan Williams <dcbw@redhat.com>
7989 * libnm-util/nm-setting.c
7990 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7991 to the NMSettingWireless table; it's now a string array not an array
7994 2007-10-05 Dan Williams <dcbw@redhat.com>
7996 * libnm-glib/nm-device-802-11-wireless.c
7997 - Cache properties and update cached properties on D-Bus signals from NM
7999 2007-10-05 Dan Williams <dcbw@redhat.com>
8001 * src/nm-device-802-11-wireless.c
8002 - (set_current_ap): consolidate current_ap handling code into one place
8003 to ensure that PropertiesChanged signals are emitted in all cases
8004 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
8005 nm_device_802_11_wireless_dispose): use set_current_ap()
8007 2007-10-05 Dan Williams <dcbw@redhat.com>
8009 * libnm-glib/nm-access-point.c
8010 libnm-glib/nm-access-point.h
8011 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
8012 because the value is cached internally now. Callers should not
8013 free the internal value.
8014 - Make signal name defines private
8017 libnm-glib/libnm-glib-test.c
8018 - Don't free value returned from nm_access_point_get_hw_address()
8020 2007-10-04 Dan Williams <dcbw@redhat.com>
8022 * introspection/nm-device-802-11-wireless.xml
8023 src/nm-device-802-11-wireless.h
8024 src/nm-device-802-11-wireless.c
8025 - Add a PropertiesChanged signal for wireless device
8026 - Store currently associated access point
8027 - (periodic_update): generalize; update rate here too and emit the
8028 correct PropertiesChanged signal when stuff changes
8029 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
8030 real_activation_cancel_handler): clear current_ap when device is
8032 - (link_to_specific_ap, get_ap_blacklisted,
8033 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
8035 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
8037 - (real_set_hw_address): emit property changed signal if the card's
8039 - (real_act_stage1_prepare): set the initial current_ap to the AP
8040 the card is supposed to be connecting to
8041 - (activation_success_handler): send out property updates on successful
8043 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
8044 for ACTIVE_ACCESS_POINT property because sometimes there won't be
8045 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
8046 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
8047 is now boxed; add PropertiesChanged signal
8049 2007-10-04 Dan Williams <dcbw@redhat.com>
8051 * libnm-util/nm-connection.c
8052 libnm-util/nm-connection.h
8053 - (nm_connection_verify): new function
8055 2007-10-04 Dan Williams <dcbw@redhat.com>
8057 * libnm-util/nm-setting.c
8058 - (nm_settings_verify): use #defines when possible rather than strings
8059 - (setting_connection_verify): ensure that 'name' and 'type' are valid
8060 - (setting_vpn_verify): tighter validity check on 'service_type'
8062 2007-10-04 Dan Williams <dcbw@redhat.com>
8064 * libnm-glib/nm-settings.c
8065 - (nm_connection_settings_class_init): provide correct type for argument
8066 to the Updated signal so that dbus-glib knows how to marshal it
8068 2007-10-03 Dan Williams <dcbw@redhat.com>
8070 * src/nm-device-802-3-ethernet.c
8071 - (real_get_best_connection): don't create automatic connections
8072 internally; clients should provide a setting that applies to
8073 the device with 'autoconnect: True'. Problem was that these
8074 internally auto-created connections don't have a proxy or service
8075 name becuase they weren't created by a settings daemon, and therefore
8076 clients have no idea what to do with them.
8078 2007-10-03 Dan Williams <dcbw@redhat.com>
8080 * src/nm-device-802-11-wireless.c
8081 src/nm-device-802-11-wireless.h
8082 introspection/nm-device-802-11-wireless.xml
8083 - GetActiveNetworks -> GetAccessPoints
8084 - ActiveNetwork -> ActiveAccessPoint
8085 - NetworkAdded -> AccessPointAdded
8086 - NetowrkRemoved -> AccessPointRemoved
8088 * libnm-glib/nm-device-802-11-wireless.c
8089 libnm-glib/nm-device-802-11-wireless.h
8090 - network-added signal -> access-point-added
8091 - network-removed signal -> access-point-removed
8092 - nm_device_802_11_wireless_get_active_network() ->
8093 nm_device_802_11_wireless_get_active_access_point()
8094 - nm_device_802_11_wireless_get_network_by_path() ->
8095 nm_device_802_11_wireless_get_access_point_by_path()
8096 - nm_device_802_11_wireless_get_networks() ->
8097 nm_device_802_11_wireless_get_access_points()
8099 * libnm-glib/libnm-glib-test.c
8101 src/NetworkManagerPolicy.c
8102 - Fixups for Network -> AccessPoint
8104 2007-10-03 Dan Williams <dcbw@redhat.com>
8106 Add a GetActiveConnections() method on the Manager object.
8110 introspection/nm-manager.xml
8111 - (connection_get_settings_cb): keep connection type around too
8112 - (impl_manager_get_active_connections, add_one_connection_element):
8113 implement; returns all active connections and what devices they
8116 * libnm-glib/nm-client.c
8117 libnm-glib/nm-client.h
8118 introspection/nm-manager-client.xml
8119 - (nm_client_get_devices): GPtrArray elements are allocated and owned
8120 by the caller; free here to avoid memory leak
8121 - (nm_client_get_active_connections): implement; return the list of
8123 - (nm_client_free_active_connection_element): implement; free an element
8124 of the GSList returned by nm_client_get_active_connections()
8126 2007-10-03 Dan Williams <dcbw@redhat.com>
8128 * src/nm-device-802-11-wireless.c
8129 - (nm_device_802_11_wireless_update_bssid): remove
8130 - (get_active_ap): new function; find the AP in the scan list which
8131 matches the current BSSID and SSID of the wireless device
8132 - (nm_device_802_11_periodic_update): get current AP using
8133 get_active_ap() and print AP roam messages
8135 2007-10-01 Dan Williams <dcbw@redhat.com>
8137 * libnm-util/nm-setting.h
8138 - Add a 'timestamp' option to NMSettingConnection
8141 * libnm-util/nm-setting.c
8142 - (uint64_to_gvalue): new function
8143 - (nm_setting_populate_from_hash, nm_setting_hash,
8144 default_setting_clear_secrets): handle UINT64 type
8145 - con_table: add 'timestamp' member
8147 2007-10-01 Dan Williams <dcbw@redhat.com>
8150 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8151 value when the connection can be activated immediately
8153 2007-10-01 Dan Williams <dcbw@redhat.com>
8155 * libnm-glib/nm-device.c
8156 - (nm_device_class_init): actually tell glib about the carrier-changed
8159 2007-10-01 Dan Williams <dcbw@redhat.com>
8162 src/marshallers/Makefile.am
8163 src/marshallers/nm-marshal.list
8164 src/marshallers/nm-marshal-main.c
8165 - Consolidate glib marshallers into one place
8167 * src/dhcp-manager/Makefile.am
8168 src/dhcp-manager/nm-dhcp-manager.c
8169 src/supplicant-manager/Makefile.am
8170 src/supplicant-manager/nm-supplicant-manager.c
8171 src/supplicant-manager/nm-supplicant-interface.c
8172 src/ppp-manager/Makefile.am
8173 src/ppp-manager/nm-ppp-manager.c
8174 src/vpn-manager/Makefile.am
8175 src/vpn-manager/nm-vpn-connection.c
8177 - Use consolidated marshallers
8179 * src/dhcp-manager/nm-dhcp-marshal.list
8180 src/dhcp-manager/nm-dhcp-marshal-main.c
8181 src/supplicant-manager/nm-supplicant-marshal-main.c
8182 src/supplicant-manager/nm-supplicant-marshal.list
8183 src/nm-marshal-main.c
8185 src/ppp-manager/nm-ppp-marshal-main.c
8186 src/ppp-manager/nm-ppp-marshal.list
8187 src/vpn-manager/nm-vpn-marshal-main.c
8188 src/vpn-manager/nm-vpn-marshal.list
8191 2007-10-01 Dan Williams <dcbw@redhat.com>
8193 * include/NetworkManagerVPN.h
8194 - define VPN connection state change reason codes
8196 * src/vpn-manager/Makefile.am
8197 src/vpn-manager/nm-vpn-marshal.list
8198 src/vpn-manager/nm-vpn-marshal-main.c
8199 - Add marshallers for StateChanged signal
8201 * introspection/nm-vpn-connection.xml
8202 - New Banner property
8203 - StateChanged signal now includes a 'reason' argument
8205 * src/vpn-manager/nm-vpn-connection.c
8206 src/vpn-manager/nm-vpn-connection.h
8207 - Add a "Banner" property that contains the returned VPN server login
8208 banner (if any); valid only in the ACTIVATED state
8209 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8210 a 'reason' argument and emits that reason along with the
8211 state-changed signal
8212 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8213 - (nm_vpn_connection_ip4_config_get): save banner for later
8214 - (nm_vpn_connection_get_banner, get_property,
8215 nm_vpn_connection_class_init): implement Banner property
8217 * src/vpn-manager/nm-vpn-service.c
8218 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8219 connection list because elements may get added/removed from it
8220 while iterating over the list
8221 - (connection_state_changed): signal now includes the 'reason' argument
8223 * libnm-glib/nm-vpn-connection.c
8224 libnm-glib/nm-vpn-connection.h
8225 - (nm_vpn_connection_get_banner): new function
8226 - (state_changed_proxy): handle reason argument
8228 2007-09-28 Tambet Ingo <tambet@gmail.com>
8232 Implement device activation through NMManager.
8233 Implement "pending device activation" here - If the connection isn't found,
8234 we try to wait for up to 5 seconds for the connection to be provided.
8235 Add NMConnectionType argument to "connection-added" and "connection-removed"
8237 (nm_manager_get): Remove. Finally.
8239 * src/nm-activation-request.c:
8240 * src/nm-activation-request.h:
8241 Remove all the deferred activation code.
8243 * src/nm-device.c: Remove all the deferred activation code. Once the device
8244 activation is started, it's started. Update the activation virtual function
8247 * src/nm-device-interface.c:
8248 * src/nm-device-interface.h:
8249 Device activation now takes only NMActRequest argument.
8250 Don't expose device activation directly on dbus, it's supposed to go through
8253 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8255 Use the new device activation methods through NMManager.
8257 * introspection/nm-manager-client.xml:
8258 * introspection/nm-manager.xml:
8259 * libnm-glib/nm-client.c:
8260 * libnm-glib/nm-client.h:
8261 Add device activation method.
8263 * libnm-glib/nm-device.c:
8264 * libnm-glib/nm-device.h:
8265 * introspection/nm-device.xml:
8266 Remove device activation method. It's done through NMManager now.
8268 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8269 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8271 2007-09-28 Dan Williams <dcbw@redhat.com>
8273 * libnm-glib/nm-vpn-connection.c
8274 - (nm_vpn_connection_get_state): try to update state if the current
8277 2007-09-27 Dan Williams <dcbw@redhat.com>
8279 Patch from Bill Nottingham
8281 * src/supplicant-manager/nm-supplicant-config.c
8282 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8283 data to the supplicant
8285 2007-09-27 Dan Williams <dcbw@redhat.com>
8287 * src/NetworkManagerSystem.c
8288 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8289 and all address manipulation here should be happening on the
8290 _VPN_ device, not the active device
8292 2007-09-26 Dan Williams <dcbw@redhat.com>
8296 src/nm-activation-request.c
8297 src/nm-activation-request.h
8298 - Move the GetSecrets stuff out of the NMManager instance because it
8299 doesn't really need to be there and complicates things
8302 - (connection_secrets_failed_cb, device_activation_go): connect to the
8303 connection-secrets-failed signal and deactivate the device if
8304 the GetSecrets call fails
8306 * src/nm-device-802-11-wireless.c
8307 - (link_timeout_cb, supplicant_connection_timeout_cb,
8308 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8309 secrets and give correct hints about whether new secrets should be
8310 asked for by the client or not
8312 2007-09-26 Dan Williams <dcbw@redhat.com>
8314 * src/vpn-manager/nm-vpn-connection.c
8315 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8316 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8317 to the secrets-updated signal of the NMConnection since updating
8318 the secrets is done within the scope of the NMVPNConnection object
8320 - (get_connection_secrets): fix an uninialized variable usage error
8322 2007-09-26 Dan Williams <dcbw@redhat.com>
8324 * libnm-util/nm-setting.c
8325 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8326 actually get updated when the user enters them
8328 2007-09-26 Dan Williams <dcbw@redhat.com>
8330 * libnm-glib/nm-vpn-plugin.c
8331 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8333 2007-09-26 Dan Williams <dcbw@redhat.com>
8335 * include/NetworkManagerVPN.h
8336 - Add a NEED_AUTH state
8338 * src/vpn-manager/nm-vpn-connection.c
8339 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8340 the connection needs secrets, and if so, then ask the settings
8341 service to fill in the secrets. Then start the connection.
8343 2007-09-26 Dan Williams <dcbw@redhat.com>
8345 * src/vpn-manager/nm-vpn-manager.c
8346 - (new_vpn_error, impl_vpn_manager_connect): set errors
8348 2007-09-26 Dan Williams <dcbw@redhat.com>
8350 * introspection/nm-vpn-plugin.xml
8351 libnm-glib/nm-vpn-plugin.c
8352 libnm-glib/nm-vpn-plugin.h
8353 - (impl_vpn_plugin_need_secrets): implement a call that should return
8354 the name of the NMSetting in an NMConnection that may require
8355 secrets specific to that VPN plugin
8357 2007-09-26 Dan Williams <dcbw@redhat.com>
8361 - (nm_manager_get_connection_secrets): make static, unused outside
8363 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8365 2007-09-26 Tambet Ingo <tambet@gmail.com>
8367 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8369 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8370 unreference the connection.
8372 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8373 passing properties hash and routes string list, pass NMConnection (in hashed form).
8375 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8376 as GSList, no need to copy stuff around anymore.
8377 (nm_vpn_connection_activate): Update the plugin activation method.
8379 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8380 routes argument to GSList.
8382 2007-09-26 Tambet Ingo <tambet@gmail.com>
8384 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8385 state and try to get the secrets.
8387 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8388 connections from NMManager and let the device to choose the best from the list.
8389 Since the connection list is sorted by system ones first and user ones later,
8390 the devices still prefer system connections like they did before.
8391 (deactivate_old_device): Implement. When a device starts activation, we have a
8392 policy (for now at least) to deactivate any other device that might be either
8393 active or still activating.
8395 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8396 It's set on construction, there will be no other way to access it.
8398 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8399 device events and drive the device, not the other way around.
8401 * src/nm-device-802-3-ethernet.c: Ditto.
8403 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8404 sent along, pass it on to virtual functions.
8406 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8407 for now, but should really be public instead of nm_device_get_iface() since iface
8408 is a property of the DeviceInterface, not Device.
8409 (impl_device_activate): Don't touch NMManager!
8411 2007-09-26 Jürg Billeter <j@bitron.ch>
8413 * initscript/paldo/NetworkManager.in:
8414 * initscript/paldo/NetworkManagerDispatcher.in:
8415 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8416 (nm_system_flush_loopback_routes): update paldo backend
8418 2007-09-26 Tambet Ingo <tambet@gmail.com>
8420 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8421 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8422 which means none of the devices get brought down properly, which in turn leaves
8423 DHCP client running.
8425 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8426 (supplicant_connection_timeout_cb): Ditto.
8428 2007-09-25 Dan Williams <dcbw@redhat.com>
8431 - (device_activation_go): small hack to work around race when
8432 activating deferred connections; should solve this in a better way
8434 2007-09-25 Dan Williams <dcbw@redhat.com>
8436 * introspection/nm-device.xml
8437 libnm-glib/nm-device.c
8438 libnm-glib/nm-device.h
8439 - Add 'Carrier' property to exported NMDevice objects
8441 * src/nm-device-interface.h
8442 src/nm-device-interface.c
8444 - Add a 'carrier' property to internal NMDevice objects
8446 2007-09-25 Dan Williams <dcbw@redhat.com>
8448 * src/nm-device-802-11-wireless.c
8449 - (ap_auth_enforced): also return the encryption status of the AP so
8450 that callers can differentiate easily between unencrypted APs
8451 and encrypted ones, in addition to whether the AP has an
8453 - (link_timeout_cb, supplicant_connection_timeout_cb,
8454 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8455 previously would request secrets from unencrypted APs at times
8457 2007-09-25 Dan Williams <dcbw@redhat.com>
8460 - (nm_manager_update_state): new function; updates state and emits
8461 appropriate signals ensuring a state-change signal for the same state
8462 never gets emitted twice in a row.
8463 - (manager_device_state_changed): handle more device state to get a
8464 better picture of the overall NM state
8466 2007-09-25 Dan Williams <dcbw@redhat.com>
8468 * libnm-glib/nm-settings.c
8469 libnm-glib/nm-settings.h
8470 - (new_error -> nm_settings_new_error): make public so that subclasses
8471 can use the same error domain. Also pass a valid error code to
8472 g_error_new_literal() so that libdbus doesn't assert when converting
8473 the GError into a DBusError
8474 - (impl_settings_list_connections, impl_connection_settings_get_id,
8475 impl_connection_settings_get_settings,
8476 impl_connection_settings_get_secrets): use new error creator
8479 2007-09-25 Dan Williams <dcbw@redhat.com>
8481 * src/NetworkManager.c
8482 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8484 2007-09-25 Dan Williams <dcbw@redhat.com>
8486 * src/supplicant-manager/nm-supplicant-manager.c
8487 - (poke_supplicant_cb, nm_supplicant_manager_init,
8488 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8489 nm_supplicant_manager_startup): when the supplicant isn't running,
8490 try to start it periodically via system bus activation. Fixes
8491 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8492 for the supplicant to come back
8494 2007-09-25 Dan Williams <dcbw@redhat.com>
8496 Ensure that old activation requests are forgotten about; previously
8497 hitting Cancel in the password dialog would deactivate whatever device
8498 that password was requested for, even if that wasn't the currently
8499 activating connection.
8503 - (nm_manager_get_connection_secrets): track the pending call
8504 object so it can be canceled later if needed
8505 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8506 GetSecrets call for a particular connection
8508 * src/nm-activation-request.c
8509 - (dispose): cancel any outstanding GetSecrets calls on the
8512 2007-09-25 Dan Williams <dcbw@redhat.com>
8514 * src/NetworkManagerPolicy.c
8515 - (nm_policy_device_change_check): handle devices that have a
8516 deferred activation. These devices are not really active _yet_,
8517 but need to be treated as such here. Don't interrupt them
8520 * src/nm-device-interface.c
8521 - (impl_device_activate): handle devices that have a deferred activation
8522 like activating or active devices. When multiple active devices
8523 get committed, the device shouldn't be deactivated until the
8524 connection details are available to avoid DoS and such. Currently,
8525 any active, activating, or deferred activation device is deactivated
8526 here before starting the new activation request.
8528 2007-09-25 Dan Williams <dcbw@redhat.com>
8530 Properly re-query secrets from the settings daemon when stuff fails.
8532 * src/nm-device-802-11-wireless.c
8533 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8534 between Shared Key and Open System auth modes
8535 - (link_timeout_cb, supplicant_connection_timeout_cb,
8536 real_act_stage4_ip_config_timeout): clear existing secrets and
8537 request new ones when something fails due to a suspected wrong key
8538 - (real_act_stage2_config): fix for new request_new argument to
8539 nm_manager_get_connection_secrets()
8543 - (nm_manager_get_connection_secrets): return error status; pass
8544 new request_new argument on to the settings daemon
8546 * introspection/nm-settings-connection.xml
8547 - New 'request_new' argument to the GetSecrets call that hints to the
8548 settings daemon to ask the user for completely new secrets
8550 * libnm-glib/nm-settings.c
8551 libnm-glib/nm-settings.h
8552 - (impl_connection_settings_get_secrets): handle new 'request_new'
8555 2007-09-25 Dan Williams <dcbw@redhat.com>
8557 * libnm-util/nm-connection.c
8558 libnm-util/nm-connection.h
8559 - (nm_connection_clear_secrets): new function; clear secrets out of
8560 each NMSetting in an NMConnection
8562 * libnm-util/nm-setting.h
8563 libnm-util/nm-setting.c
8564 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8565 secrets out of an NMSetting
8566 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8567 nm_setting_wired_new, nm_setting_wireless_new,
8568 nm_setting_wireless_security_new, nm_setting_ppp_new,
8569 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8570 to default handler default_setting_clear_secrets()
8572 2007-09-25 Dan Williams <dcbw@redhat.com>
8574 * src/nm-activation-request.c
8575 src/nm-activation-request.h
8576 - (nm_act_request_is_deferred): new function
8578 2007-09-24 Dan Williams <dcbw@redhat.com>
8580 * src/nm-device-802-11-wireless.c
8581 - (activation_success_handler): update signal strength immediately
8584 2007-09-24 Dan Williams <dcbw@redhat.com>
8586 * libnm-util/nm-setting.c
8587 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8589 2007-09-24 Dan Williams <dcbw@redhat.com>
8591 * src/NetworkManagerPolicy.c
8592 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8593 device by deactivating it because it doesn't have a "best connection".
8594 Since autoconnect=False connections aren't automatically chosen,
8595 NM would interrupt activation of such a connection because it
8596 would never be "best" due to autoconnect=False.
8598 2007-09-24 Dan Williams <dcbw@redhat.com>
8601 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8602 actually has some time to enter a key before the GetSecrets call
8605 2007-09-24 Dan Williams <dcbw@redhat.com>
8607 * introspection/nm-manager.xml
8609 - (impl_manager_legacy_state): fix 'state' method call return value
8611 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8613 * test/Makefile.am: Install nm-tool
8615 2007-09-24 Dan Williams <dcbw@redhat.com>
8617 Patch from Ross Burton <ross@burtonini.com>
8620 callouts/nm-dhcp-client-action.c
8622 src/vpn-manager/nm-vpn-connection.c
8623 libnm-glib/libnm-glib-test.c
8626 2007-09-24 Dan Williams <dcbw@redhat.com>
8628 * libnm-util/nm-utils.h
8629 libnm-util/nm-utils.c
8630 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8633 2007-09-23 Dan Williams <dcbw@redhat.com>
8635 * vpn-daemons/vpnc/properties/nm-vpnc.c
8636 - Update for new VPN properties API bits; instead of passing around
8637 a lot of random things, everything goes into the NMConnection
8640 2007-09-23 Dan Williams <dcbw@redhat.com>
8642 * libnm-util/nm-setting.c
8643 - Correctly dispose of settings objects if creating them from a hash
8646 2007-09-23 Dan Williams <dcbw@redhat.com>
8648 * libnm-util/nm-setting.c
8649 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8650 the hash table in a standard manner. Clients of libnm-util should
8651 only call g_hash_table_remove_all(), never destroy the hash table
8654 2007-09-22 Dan Williams <dcbw@redhat.com>
8656 * src/nm-device-802-11-wireless.c
8657 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8658 real reason to do it so often, and reduces wakeups for clients.
8660 2007-09-21 Dan Williams <dcbw@redhat.com>
8662 * src/nm-device-802-11-wireless.c
8663 - (build_supplicant_config): wpa_supplicant requires the option
8664 key_mgmt=NONE for unencrypted networks
8665 - (real_act_stage2_config): clarify log message on activation
8667 2007-09-21 Dan Williams <dcbw@redhat.com>
8669 * test/nm-supplicant-test.c
8671 - Remove supplicant test binary; no longer applicable
8673 2007-09-21 Dan Williams <dcbw@redhat.com>
8675 * src/supplicant-manager/nm-supplicant-manager.c
8676 - (nm_supplicant_manager_init): poke the supplicant at startup to
8677 activate it on the system bus
8679 2007-09-20 Dan Williams <dcbw@redhat.com>
8681 * initscript/RedHat/NetworkManager.in
8682 - dhcdbd is no longer used, so don't try to start it from the initscripts
8684 2007-09-20 Dan Williams <dcbw@redhat.com>
8687 - (nm_device_is_activating): work around a race between auto-activation
8688 and the user activating the same device that is being auto-activated
8690 2007-09-20 Dan Williams <dcbw@redhat.com>
8692 * src/nm-device-interface.c
8693 - (impl_device_activate): until multiple active device support lands,
8694 ensure only one device can be active at a time
8696 2007-09-20 Dan Williams <dcbw@redhat.com>
8698 * src/supplicant-manager/nm-supplicant-config.c
8699 src/supplicant-manager/nm-supplicant-config.h
8700 - (nm_supplicant_config_add_option): hide secrets from system logs
8702 2007-09-20 Dan Williams <dcbw@redhat.com>
8704 * src/NetworkManagerPolicy.c
8705 - (nm_policy_device_change_check): re-enable the wireless device change
8706 checking code; insted of checking for SSIDs, check for the same
8709 2007-09-20 Dan Williams <dcbw@redhat.com>
8711 * src/nm-device-802-11-wireless.c
8712 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8713 composite link state when determining when to start the disconnection
8714 timer; that link state is already based on the supplicant interface's
8715 status which is exactly what's already being examined, plus the link
8716 state is a conglomeration of various things that we don't want here
8718 2007-09-20 Dan Williams <dcbw@redhat.com>
8720 * libnm-glib/nm-access-point.c
8721 - (handle_property_changed): strength is a UCHAR
8723 2007-09-20 Dan Williams <dcbw@redhat.com>
8725 * src/supplicant-manager/nm-supplicant-config.c
8726 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8727 string list keywords too since that's what wpa_supplicant wants
8729 2007-09-20 Dan Williams <dcbw@redhat.com>
8731 * libnm-util/nm-setting.c
8732 - (convert_strv_to_slist): dupe the values in the list because since
8733 the list is a boxed value, it'll get destroyed when it's container
8734 (like a hash table or whatever) gets destroyed
8736 2007-09-20 Tambet Ingo <tambet@gmail.com>
8738 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8741 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8743 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8744 just use (g_object_set_data_full).
8746 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8747 that NMSettingVPN->routes is a GSList, convert it to char **.
8748 (nm_vpn_connection_ip4_config_get): Free routes when done.
8749 (nm_vpn_connection_activate): Ditto.
8751 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8752 (real_act_stage2_config): Use defined setting names.
8754 2007-09-20 Dan Williams <dcbw@redhat.com>
8756 * src/nm-device-802-11-wireless.c
8759 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8760 so that the device can be deactivated if secrets are wrong
8762 2007-09-20 Dan Williams <dcbw@redhat.com>
8764 * introspection/nm-settings-connection.xml
8765 libnm-glib/nm-settings.c
8766 libnm-glib/nm-settings.h
8767 - Make GetSecrets asynchronous on the server side
8769 2007-09-20 Dan Williams <dcbw@redhat.com>
8773 - (nm_device_activate): actually check if a given connection
8774 exists before assuming it doesn't
8776 2007-09-20 Tambet Ingo <tambet@gmail.com>
8778 * libnm-util/nm-connection.c (register_default_creators): Use defined
8779 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8781 * libnm-util/nm-setting.c: Define property name strings, use them.
8782 Implement NMSettingVPN and NMSettingVPNProperties settings.
8783 Implement NM_S_TYPE_GVALUE_HASH.
8784 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8785 (setting_connection_verify): Rename 'devtype' property to 'type'.
8787 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8790 * src/vpn-manager/nm-vpn-service.c: Ditto.
8792 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8794 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8795 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8797 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8798 names. NMSettingConnection->devtype got renamed to 'type'.
8800 * src/nm-device-802-3-ethernet.c (find_best_connection):
8801 (real_get_best_connection): Ditto.
8803 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8805 * libnm-glib/nm-vpn-manager.[ch]: Update.
8807 2007-09-19 Dan Williams <dcbw@redhat.com>
8809 * src/NetworkManagerAP.c
8810 src/NetworkManagerAP.h
8811 introspection/nm-access-point.xml
8812 - Change strength-changed signal into a properties-changed signal
8813 for all properties, not just strength. Export that signal over dbus
8814 so listeners don't have to poll NM for changes.
8815 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8816 get exported over D-Bus, so break up the logic and let other bits
8817 decided when to export the AP
8818 - (nm_ap_new_from_ap): remove, unused
8820 * src/nm-device-802-11-wireless.c
8821 - (merge_scanned_ap): only export APs that are actually on the device
8822 list, not every AP created internally
8824 * libnm-glib/nm-access-point.c
8825 libnm-glib/nm-access-point.h
8826 - Cache properties internally and only hit DBus when needed. Get
8827 property updates from NM signals
8829 2007-09-16 Dan Williams <dcbw@redhat.com>
8831 * libnm-util/nm-connection.c
8832 libnm-util/nm-connection.h
8833 - (nm_connection_for_each_setting_value): new function; iterate over
8834 each setting's value and call a user-provided function with details
8837 * libnm-util/nm-setting.c
8838 libnm-util/nm-setting.h
8839 - (nm_setting_enumerate_values): new function; enumerate the values
8840 of a specific NMSetting subclass for a user-provided function with
8841 details about that value
8842 - Change wep_tx_keyidx to a uint32
8843 - Create settings value tables for each setting defining their type,
8844 key name, offset into the NMSetting subclass' structure, and whether
8845 they are required and/or a secret
8846 - (nm_setting_populate_from_hash): generic function to populate an
8847 NMSetting from a GHash table, make all settings use it
8848 - (nm_setting_hash): generic function to derive a GHashTable from
8849 an NMSetting object, make all settings use it
8851 2007-09-14 Dan Williams <dcbw@redhat.com>
8853 Remove unused stuff in libnm-util
8856 libnm-util/Makefile.am
8857 libnm-util/cipher-private.h
8858 libnm-util/cipher-wep-ascii.c
8859 libnm-util/cipher-wep-ascii.h
8860 libnm-util/cipher-wep-hex.c
8861 libnm-util/cipher-wep-hex.h
8862 libnm-util/cipher-wep-passphrase.c
8863 libnm-util/cipher-wep-passphrase.h
8864 libnm-util/cipher-wpa-psk-hex.c
8865 libnm-util/cipher-wpa-psk-hex.h
8866 libnm-util/cipher-wpa-psk-passphrase.c
8867 libnm-util/cipher-wpa-psk-passphrase.h
8870 libnm-util/dbus-helpers.c
8871 libnm-util/dbus-helpers.h
8872 libnm-util/gnome-keyring-md5.c
8873 libnm-util/gnome-keyring-md5.h
8876 src/nm-device-802-11-wireless.c
8877 test/libnm-util/Makefile.am
8878 test/libnm-util/test-ciphers.c
8879 test/libnm-util/test-dbus-helpers.c
8880 test/libnm-util/test-inputs.h
8883 2007-09-14 Dan Williams <dcbw@redhat.com>
8885 * libnm-util/dbus-method-dispatcher.c
8886 libnm-util/dbus-method-dispatcher.h
8889 2007-09-14 Dan Williams <dcbw@redhat.com>
8891 Implement deferred activation support in the device class.
8893 * src/nm-device-interface.c
8894 src/nm-device-interface.h
8895 - (nm_device_interface_activate): take more arguments to support
8896 deferred activation; callers must pass one of (connection) OR
8897 (service_name, connection_path)
8898 - (impl_device_activate): connection validation is punted to the device
8899 to be able to handle deferred activation. Yes, this means errors
8900 don't get returned from the Activate() dbus call, and yes, that
8901 should be fixed somehow later.
8905 - (clear_act_request): clear additional deferred activation stuff too
8906 - (deferred_activation_timeout_cb): new function; clean up when
8907 deferred activation times out.
8908 - (deferred_activation_start_cb): new function; when the connection
8909 finally becomes available, start device activation
8910 - (nm_device_activate): attach to the right signals of the activation
8911 request if we need to defer activation until the connection is valid
8913 * src/NetworkManagerPolicy.c
8914 - (nm_policy_device_change_check): update for additional arguments
8915 required for nm_device_interface_activate(). Pass NULL for these
8916 though because this function already knows exactly which
8919 2007-09-14 Dan Williams <dcbw@redhat.com>
8921 Implement deferred activation handling in the NMActRequest class. When a
8922 client wants to activate a device but must create the NMConnection details
8923 on the fly, there likely hasn't been enough time yet for NM to receive the
8924 new connection signal and grab all the connection details. So the
8925 activation is deferred (and bounded by a timer) for a while, and if the
8926 connection appears within the window, it is activated.
8928 * src/nm-activation-request.c
8929 src/nm-activation-request.h
8930 - (nm_act_request_class_init): two new signals to support deferred
8931 activation, to allow the listener to handle both timeout and success
8932 - (nm_act_request_new_deferred): new function, starts the deferred
8933 activation timeout handler and listens to the NMManager for
8934 new-connection signals to notice when the connection comes in
8936 2007-09-14 Dan Williams <dcbw@redhat.com>
8940 - (nm_manager_get_connection_service_name,
8941 nm_manager_get_connection_dbus_path): get details about a connection
8942 known internally by the NMManager
8943 - (nm_manager_class_init): fix connection add/remove signal marshalers
8944 because NMConnection is now a GObject subclass
8945 - Use constant for the gobject data tag used on NMConnection objects for
8946 storing the associated DBusGProxy
8948 2007-09-14 Dan Williams <dcbw@redhat.com>
8953 src/supplicant-manager/Makefile.am
8954 src/dhcp-manager/Makefile.am
8955 src/backends/Makefile.am
8956 src/named-manager/Makefile.am
8957 src/ppp-manager/Makefile.am
8958 src/vpn-manager/Makefile.am
8959 test/libnm-util/Makefile.am
8960 test/test-common/Makefile.am
8961 - Remove utils/; it was unused
8963 2007-09-13 Dan Williams <dcbw@redhat.com>
8965 * libnm-glib/nm-vpn-manager.h
8966 libnm-glib/nm-vpn-manager.c
8967 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8969 2007-09-13 Dan Williams <dcbw@redhat.com>
8971 * src/nm-device-802-3-ethernet.c
8972 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8973 netlink monitor carrier signals on dispose, not bring down. The
8974 carrier signals should be handled over the entire lifetime of the
8975 device anyway, not created/destroyed on up or down.
8977 2007-09-13 Dan Williams <dcbw@redhat.com>
8979 * libnm-glib/nm-device.c
8980 libnm-glib/nm-device.h
8981 - (nm_device_activate): take a connection object path rather than an
8982 NMConnection because NMConnection isn't exported over D-Bus and
8983 therefore it dbus-glib can't automatically get an object path from it
8985 2007-09-13 Dan Williams <dcbw@redhat.com>
8987 * libnm-util/nm-setting.c
8988 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8990 2007-09-13 Tambet Ingo <tambet@gmail.com>
8992 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8994 2007-09-12 Tambet Ingo <tambet@gmail.com>
8996 * src/vpn-manager/nm-vpn-connection.[ch]:
8997 * src/vpn-manager/nm-vpn-manager.[ch]:
8998 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8999 dbus-glib, GObjects, signals etc.
9001 * libnm-glib/nm-vpn-manager.[ch]:
9002 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
9003 so much, rewrite these too.
9005 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
9006 the new introspection files.
9008 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
9010 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
9011 the header with the same name from libnm-utils.
9013 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
9015 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
9017 * introspection/nm-vpn-plugin.xml: Implement.
9019 * introspection/nm-vpn-connection.xml: Implement.
9021 * introspection/nm-vpn-manager.xml: Implement.
9023 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
9024 the named manager argument, it can just as easily get it as the caller.
9025 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
9027 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
9029 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
9031 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
9034 * libnm-util/nm-connection.c: Ditto.
9036 * src/NetworkManagerMain.h: Remove, it's finally empty.
9038 * configure.in: Remove utils/ from build.
9040 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
9041 of hard-coded strings.
9043 * utils/: Move it over to libnm-util.
9045 * test/Makefile.am: Link against libnm-util now that util/ is gone.
9047 * dispatcher-daemon/Makefile.am: Ditto.
9049 * src/Makefile.am: Ditto.
9051 2007-09-12 Dan Williams <dcbw@redhat.com>
9053 Wireless connections can be made with config data from the applet now.
9057 * src/supplicant-manager/nm-supplicant-config.h
9058 src/supplicant-manager/nm-supplicant-config.c
9059 - (nm_supplicant_config_new): kill unused init parameter 'iface'
9060 - (nm_supplicant_config_add_setting_wireless,
9061 nm_supplicant_config_add_setting_wireless_security): new functions;
9062 add key/value pairs from the settings objects to the supplicant
9065 * src/nm-device-802-11-wireless.c
9066 - (cull_scan_list): fix check to not prune currently associated AP
9067 - (build_supplicant_config, real_act_stage2_config): call the functions
9068 of the NMSupplicantConfig that parse settings objects rather than
9069 doing it manually here
9071 2007-09-12 Dan Williams <dcbw@redhat.com>
9073 * src/supplicant-manager/nm-supplicant-interface.c
9074 src/supplicant-manager/nm-supplicant-marshal.list
9075 - (nm_supplicant_interface_class_init): fix stupid mistake, the
9076 "connection-error" signal arguments should be STRING not CHAR
9078 2007-09-12 Dan Williams <dcbw@redhat.com>
9080 * src/NetworkManagerUtils.c
9081 src/NetworkManagerUtils.h
9082 - (nm_utils_hexstr2bin): new function
9084 2007-09-11 Dan Williams <dcbw@redhat.com>
9087 - (connection_get_settings_cb): emit connection-added signal
9088 - (connection_removed_cb): uncomment bits for system settings service,
9089 send connection-removed when appropriate
9090 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
9091 the stack by trying to g_object_set_data() on something that's
9092 not a GObject; handle case where settings service returns
9093 empty settings hash table
9095 2007-09-11 Dan Williams <dcbw@redhat.com>
9097 * src/NetworkManagerPolicy.c
9098 - (connection_added, connection_removed): trigger device change checks
9099 on connection changes
9101 2007-09-11 Dan Williams <dcbw@redhat.com>
9103 * src/nm-activation-request.c
9104 - (connection_secrets_updated_cb): fix c&p error in signal emission
9106 2007-09-11 Dan Williams <dcbw@redhat.com>
9108 * src/nm-device-802-11-wireless.c
9109 - (real_connection_secrets_updated): fix erroneous check
9111 2007-09-11 Dan Williams <dcbw@redhat.com>
9113 * introspection/nm-device.xml
9114 libnm-glib/nm-device.c
9115 libnm-glib/nm-device.c
9116 - Fix Activate call argument borkage; Activate takes 3 arguments
9118 2007-09-11 Dan Williams <dcbw@redhat.com>
9120 * libnm-glib/nm-access-point.c
9121 libnm-glib/nm-access-point.c
9122 - (nm_access_point_get_frequency): now returns guint32 to match
9123 property change on 2007-09-10
9125 2007-09-11 Dan Williams <dcbw@redhat.com>
9127 * src/nm-device-802-11-wireless.c
9128 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9129 somewhere defines 'index' and I missed this one when I fixed the
9130 shadow declaration errors earlier
9132 2007-09-11 Dan Williams <dcbw@redhat.com>
9134 * libnm-util/nm-connection.c
9135 - (nm_connection_update_secrets, need_secrets_check): move
9136 802-11-wireless-security need_secrets checks to the setting object
9137 itself, where it belongs
9139 * libnm-util/nm-setting.c
9140 libnm-util/nm-setting.h
9141 - (nm_setting_need_secrets): new function
9142 - (setting_wireless_security_verify,
9143 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9144 - (setting_wireless_security_need_secrets): mostly copy code over
9145 from nm-connection.c
9147 2007-09-11 Dan Williams <dcbw@redhat.com>
9149 * libnm-util/nm-setting.c
9150 libnm-util/nm-setting.h
9151 - (nm_setting_update_secrets): new function; add a virtual function that
9152 subclasses can implement to update their secrets
9153 - (setting_wireless_security_update_secrets): implement that function
9154 for the 802-11-wireless-security subclass
9156 * libnm-util/nm-connection.c
9157 libnm-util/nm-connection.h
9158 - (nm_connection_update_secrets): update secrets for a Setting and
9159 emit a signal on success
9164 - (connection_get_settings_cb): enable system settings bits
9165 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9166 to request secrets from the settings dbus service and to
9167 push those secrets to the NMConnection itself
9169 * src/nm-activation-request.c
9170 src/nm-activation-request.h
9171 - Attach to the 'secrets-updated' signal of the NMConnection that's
9172 currently being activated, and proxy that signal to other listeners.
9173 Goes through the activation request because the activation request
9174 is the thing that manages the lifetime of the NMConnection that's
9177 * src/nm-device-802-11-wireless.c
9178 - (real_connection_secrets_updated): implement the connection secrets
9179 updated notification and restart activation when secrets are
9181 - (real_act_stage2_config): request secrets from the settings dbus
9182 service if secrets are needed
9186 - (clear_act_request, nm_device_activation_cancel,
9187 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9188 where the activation request is cleared
9189 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9190 updated secrets signal of activation request and add a function
9191 that subclasses can override to handle it easily
9193 2007-09-11 Tambet Ingo <tambet@gmail.com>
9195 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9196 removal of NetworkManagerAPList.
9198 2007-09-10 Dan Williams <dcbw@redhat.com>
9200 * src/NetworkManagerAP.c
9201 src/NetworkManagerAP.h
9202 introspection/nm-access-point.xml
9203 - Change 'freq' property to a guint32 instead of a double since we
9204 weren't using the floating point bits anyway
9206 2007-09-10 Dan Williams <dcbw@redhat.com>
9208 * NetworkManagerAP.c
9210 NetworkManagerPolicy.c
9211 NetworkManagerSystem.c
9212 NetworkManagerUtils.c
9213 NetworkManagerUtils.h
9214 nm-device-802-11-wireless.c
9215 nm-device-802-3-ethernet.c
9218 vpn-manager/nm-dbus-vpn.c
9219 - Warning fixes; casts and removal of unused variables
9221 2007-09-10 Dan Williams <dcbw@redhat.com>
9223 * include/NetworkManager.h
9224 - Kill NMNetworkType; AP types don't matter any more
9226 * src/NetworkManagerAPList.c
9227 src/NetworkManagerAPList.h
9229 - Kill; NMAccessPointList has outlived it's usefulness
9231 * src/NetworkManagerAP.c
9232 src/NetworkManagerAP.h
9233 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9234 functions; check if an NMConnection object is compatible with the
9236 - (freq_to_channel, channel_to_freq): utility functions for
9237 channel <-> frequency conversion
9241 - (nm_device_get_best_connection): pass the specific object around
9242 (which might be the object path of a specific AP to connect to).
9243 The get_best_connection() call should populate this on return
9244 if needed (wireless does).
9246 * src/nm-device-802-3-ethernet.c
9247 - (real_get_best_connection): handle specific_object argument
9249 * src/NetworkManager.c
9250 src/NetworkManagerMain.h
9251 - Remove unused includes
9253 * src/nm-device-802-11-wireless.c
9254 src/nm-device-802-11-wireless.h
9255 - Convert the ap_list into a GSList from an NMAccessPointList
9256 - No need for caching the 'activation_ap' since this is now determined
9257 from the specific_object of the activation request, which is
9258 populated from the get_best_connection() call or from a user request
9259 - (nm_device_802_11_wireless_update_bssid): fix warning
9260 - (get_wireless_capabilities): fix error message format arguments
9261 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9262 - (find_best_connection, real_get_best_connection): implement
9263 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9264 move here from NetworkManagerAPList
9265 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9266 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9267 already verified earlier
9268 - (real_act_stage2_config): use nm_connection_need_secrets()
9270 * src/NetworkManagerPolicy.c
9271 - (nm_policy_auto_get_best_device): handle specific objects
9272 - (create_connection): remove; automatic connection creation functionality
9273 is handled by the Connection objects
9274 - (nm_policy_device_change_check): handle specific_object
9276 * libnm-util/nm-connection.c
9277 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9279 2007-09-10 Dan Williams <dcbw@redhat.com>
9282 - (query_connections): fix uninitialized variable problem that caused
9284 - (nm_manager_add_device): take devices down on startup so that we can
9285 be assured that nm_device_is_up() won't short-circuit the init
9286 process. Hack until the is_up check gets split into two pieces
9287 that aren't behaviorally confusing.
9289 2007-09-09 Dan Williams <dcbw@redhat.com>
9291 * introspection/nm-device.xml
9292 - The 'Activate' method now takes 3 arguments, a service name for the
9293 settings service (user or system), the object path of the connection
9294 to activate, and the specific object to activate, if any
9296 * src/nm-device-interface.c
9297 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9299 - (impl_device_activate): adapt to new Activate arguments; validate
9300 the service name and get the Connection object from the NMManager
9301 before starting to activate the device with the specified connection
9303 * src/nm-device-802-3-ethernet.c
9304 - (real_get_best_connection): find the best connection, or create a
9305 default one if no existing connections can be used
9307 * src/NetworkManagerPolicy.c
9308 - (nm_policy_auto_get_best_device): Get the device's best connection
9309 and only pick the device if it has one
9310 - (nm_policy_device_change_check): disable wireless bits for now until
9311 wireless get_best_connection() can be implemented (replacing "best_ap");
9312 don't create a default connection here as the device subclass will do
9317 - (nm_manager_get): make NMManager a singleton and expose the getter
9319 - Rework internal NMManager connection handling to use the same
9320 routines for both the system and user settings services. Most calls
9321 take a new NMConnectionType argument specifying either system or user
9323 - (nm_manager_get_connection_by_object_path): new function; get a
9324 connection keyed on its object path
9326 * src/NetworkManager.c
9327 - (main): use nm_manager_get()
9329 2007-09-09 Dan Williams <dcbw@redhat.com>
9333 - (nm_device_get_best_connection): new function; get best connection
9334 for the device at that time
9336 2007-09-09 Dan Williams <dcbw@redhat.com>
9338 * src/nm-device-interface.h
9339 - Add NMDeviceInterfaceError with an UnknownConnection error
9341 2007-09-09 Dan Williams <dcbw@redhat.com>
9343 Stupid mistake on my part; object path and interface for settings service
9344 and connection objects can be the same, only the service name must be
9345 different for the system and user settings services.
9347 * include/NetworkManager.h
9349 introspection/nm-settings-connection.xml
9350 introspection/nm-settings.xml
9351 libnm-glib/nm-settings.c
9352 - (nm_connection_settings_init, query_user_connections,
9353 new_connection_cb): Unify NetworkManagerSettings and Connection
9354 interface name and object path
9356 2007-09-06 Dan Williams <dcbw@redhat.com>
9358 * libnm-glib/nm-object.c
9359 - (nm_object_get_string_property, nm_object_get_object_path_property,
9360 nm_object_get_int_property, nm_object_get_uint_property,
9361 nm_object_get_boolean_property, nm_object_get_byte_property,
9362 nm_object_get_double_property, nm_object_get_byte_array_property):
9363 clear GValues after copying their contents, fixes memory leaks
9364 after every property access because dbus-glib copies the values
9365 from the DBusMessage into the GValue already.
9367 2007-09-06 Dan Williams <dcbw@redhat.com>
9369 * introspection/nm-access-point.xml
9370 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9371 them to be. There's some magic property name parsing going on in
9372 dbus-glib that breaks up property names based on studly-caps and
9373 puts - between words.
9375 * libnm-glib/nm-access-point.c
9376 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9379 2007-09-06 Dan Williams <dcbw@redhat.com>
9382 - (nm_manager_user_connections_destroy): clear the user connections hash
9383 table, don't destroy it
9384 - (finalize): only destroy the hash table on NMManager finalization
9386 2007-09-02 Dan Williams <dcbw@redhat.com>
9388 * include/NetworkManager.h
9389 libnm-glib/nm-settings.c
9390 - defines for the user settings daemon D-Bus bits
9392 * src/NetworkManager.c
9393 - Remove stuff that referred to the old NetworkManagerInfo service
9395 * src/vpn-manager/nm-dbus-vpn.h
9396 - Move old NMI defines to the only place they are used still
9398 * libnm-util/nm-connection.c
9399 libnm-util/nm-connection.h
9400 src/nm-activation-request.c
9401 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9405 - Get connections and their settings from the user settings daemon
9406 at the appropriate times
9408 2007-09-02 Dan Williams <dcbw@redhat.com>
9410 * libnm-util/nm-setting.c
9411 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9412 - (setting_wireless_hash): set the right value on the item
9414 2007-09-02 Dan Williams <dcbw@redhat.com>
9418 - Remove, no longer useful
9420 2007-08-30 Dan Williams <dcbw@redhat.com>
9423 src/NetworkManagerDbus.c
9424 src/NetworkManagerDbus.h
9425 src/vpn-manager/nm-dbus-vpn.c
9426 - Remove, no longer necessary. Move last bits to the only place its
9427 used, in nm-dbus-vpn.c
9429 * src/NetworkManagerAPList.c
9431 src/NetworkManager.c
9432 src/nm-device-802-11-wireless.c
9433 src/vpn-manager/nm-vpn-manager.c
9434 src/vpn-manager/nm-vpn-service.c
9435 src/NetworkManagerPolicy.c
9437 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9438 that was message_is_error()
9440 2007-08-30 Dan Williams <dcbw@redhat.com>
9443 - Include config.h to get defines for endiannes (gnome.org #420216)
9445 2007-08-30 Dan Williams <dcbw@redhat.com>
9447 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9449 * src/ppp-manager/Makefile.am
9450 - use -fPIC (gnome.org #471825)
9452 2007-08-29 Dan Williams <dcbw@redhat.com>
9454 * include/NetworkManager.h
9455 - Keep NMConnection object path in sync
9457 * libnm-glib/nm-settings.c
9458 libnm-glib/nm-settings.h
9459 - Break D-Bus object registration out of the init function, because
9460 every object that's exported over D-Bus needs to use the _same_
9461 DBusConnection. Otherwise, each object would get a different object
9462 path tree and wouldn't be callable.
9464 2007-08-29 Dan Williams <dcbw@redhat.com>
9466 * libnm-util/nm-setting.h
9467 libnm-util/nm-setting.c
9468 libnm-util/nm-connection.c
9469 src/NetworkManagerPolicy.c
9470 - 'info' settings object should be 'connection' says the spec
9471 at NetworkManagerConfigurationSpecification
9473 2007-08-29 Dan Williams <dcbw@redhat.com>
9475 * libnm-glib/nm-settings.c
9476 libnm-glib/nm-settings.h
9477 - make the dbus path a property of the object, and autogenerate it.
9478 It can't be composed of the 'id' field becuase that's not available
9479 yet during the GObject creation in nm_connection_settings_init()
9481 2007-08-29 Dan Williams <dcbw@redhat.com>
9483 * introspection/nm-settings-connection.xml
9484 introspection/nm-settings.xml
9485 - Service name -> NetworkManagerUserSettings because two services
9486 can't share part of the same path. I'm not really sure how we'll use
9487 the same code with the system-settings daemon...
9489 2007-08-28 Dan Williams <dcbw@redhat.com>
9491 * src/nm-device-interface.c
9492 src/nm-device-interface.h
9493 - Kill one more bit of NMData
9495 2007-08-28 Dan Williams <dcbw@redhat.com>
9497 * src/NetworkManagerSystem.h
9500 src/nm-hal-manager.c
9501 src/NetworkManager.c
9502 src/nm-device-802-11-wireless.c
9503 src/nm-hal-manager.h
9504 src/nm-device-802-3-ethernet.c
9505 src/vpn-manager/nm-vpn-service.h
9506 src/vpn-manager/nm-vpn-manager.c
9507 src/vpn-manager/nm-vpn-manager.h
9508 src/vpn-manager/nm-vpn-service.c
9509 src/nm-device-802-11-wireless.h
9510 src/NetworkManagerMain.h
9511 src/nm-device-802-3-ethernet.h
9512 src/backends/NetworkManagerGentoo.c
9513 src/backends/NetworkManagerPaldo.c
9514 src/backends/NetworkManagerFrugalware.c
9515 src/backends/NetworkManagerRedHat.c
9516 src/backends/NetworkManagerSlackware.c
9517 src/backends/NetworkManagerGeneric.c
9518 src/backends/NetworkManagerArch.c
9519 src/backends/NetworkManagerSuSE.c
9520 src/backends/NetworkManagerGeneric.h
9521 src/backends/NetworkManagerDebian.c
9524 2007-08-28 Dan Williams <dcbw@redhat.com>
9526 * src/NetworkManagerMain.h
9527 src/nm-device-802-11-wireless.c
9528 src/NetworkManager.c
9529 - Remove invalid AP list from NMData; need to rework this somewhat, but
9530 for now we should set the 'invalid' property on individual APs, and when
9531 we need to invalidate a whole ESS, set the 'invalid' on every member of
9534 2007-08-28 Dan Williams <dcbw@redhat.com>
9536 * src/NetworkManagerAP.c
9537 src/NetworkManagerAP.h
9538 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9539 'autoconnect' property instead
9541 * src/NetworkManager.c
9542 src/NetworkManagerMain.h
9543 src/NetworkManagerPolicy.c
9544 src/NetworkManagerPolicy.h
9545 - Remove the 'allowed_ap_list', which should be replaced by
9546 NMConnection/NMSettings instead, since _those_ are the allowed
9547 things that NM can connect to
9549 * src/nm-device-802-11-wireless.c
9550 - Remove both allowed_ap_list usage and 'fallback' checking
9552 2007-08-28 Dan Williams <dcbw@redhat.com>
9555 src/named-manager/nm-named-manager.c
9556 src/named-manager/nm-named-manager.h
9557 src/NetworkManager.c
9558 src/vpn-manager/nm-vpn-manager.c
9559 src/NetworkManagerMain.h
9560 src/NetworkManagerSystem.c
9561 - Remove the named-manager object from NMData structure in preparation
9562 for NMData's timely death. Make the NMNamedManager the singleton that
9565 2007-08-28 Dan Williams <dcbw@redhat.com>
9567 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9568 each AP's capabilities, and by NMConnection/NMSettings objects for user
9569 defined connections.
9571 * include/NetworkManager.h
9572 - Redefine 802.11 security properties. There are now device capabilities
9573 and AP flags and AP security flags. It was way to unclear before.
9576 src/nm-ap-security-leap.h
9577 src/nm-ap-security-leap.c
9578 src/nm-ap-security-wpa-eap.c
9579 src/nm-ap-security-wpa-eap.h
9580 src/nm-ap-security-private.h
9581 src/nm-ap-security-wpa-psk.c
9582 src/nm-ap-security-wpa-psk.h
9583 src/nm-ap-security-wep.c
9584 src/nm-ap-security-wep.h
9585 src/nm-ap-security.c
9586 src/nm-ap-security.h
9587 - Removed, to be replaced with NMConnection/NMSettings objects
9591 - Removed, to be replaced by code that talks to the new info daemon
9592 interface and gets NMConnection/NMSettings objects
9594 * src/backends/NetworkManagerSuSE.c
9595 - Remove usage of NMAPSecurity; should be replaced by a system-level
9596 info-daemon that does the same thing but talks the new info-daemon
9599 * src/NetworkManagerAP.h
9600 src/NetworkManagerAP.c
9601 src/NetworkManagerAPList.c
9602 libnm-glib/libnm-glib-test.c
9603 - Remove usage of NMAPSecurity objects and adjust to new flags for
9606 * libnm-glib/nm-access-point.c
9607 libnm-glib/nm-access-point.h
9608 introspection/nm-access-point.xml
9610 - Adjust to new flags for AP security
9614 src/vpn-manager/nm-dbus-vpn.c
9615 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9616 stuff which is the only place it's used
9618 * src/nm-device-interface.c
9619 src/nm-device-interface.h
9620 introspection/nm-device.xml
9621 src/nm-activation-request.c
9622 src/nm-activation-request.h
9624 - Add a new 'specific_object' argument that hints to NM what actual
9625 AP or other device-specific thing the connection should apply to.
9626 NMConnection objects can apply to more than one actual device/AP.
9628 * libnm-util/nm-connection.c
9629 * libnm-util/nm-connection.h
9630 - Add 'have_secrets" call stubs
9632 * libnm-util/cipher.h
9633 - Move NM_AUTH_TYPE_* defines here for now
9635 * src/nm-device-802-11-wireless.c
9636 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9639 * src/NetworkManagerDbus.c
9640 * src/NetworkManagerPolicy.c
9641 - Remove usage of update_allowed_networks, should be pushing data in
9644 2007-08-27 Tambet Ingo <tambet@gmail.com>
9646 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9647 dbus-glib frees it when the call is done.
9649 2007-08-26 Dan Williams <dcbw@redhat.com>
9651 * introspection/nm-device.xml
9652 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9654 2007-08-26 Dan Williams <dcbw@redhat.com>
9656 * src/nm-device-802-3-ethernet.c
9657 - (constructor): move connection of interface-connected/disconnected
9658 signals here from real_bring_up(). Should be listening to netlink
9659 for carrier events no matter what the initial state of the device
9662 2007-08-26 Dan Williams <dcbw@redhat.com>
9664 * src/nm-netlink-monitor.c
9665 - (nm_netlink_monitor_class_init): fix marshalling types for
9666 interface-connected/interface-disconnected
9667 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9670 2007-08-26 Dan Williams <dcbw@redhat.com>
9672 Convert to using interface indexes as the primary method of identifying
9673 devices inside NetworkManager. Indexes are (?) stable, but devices can
9674 be renamed at any time. Device object paths now refer to the device
9675 index rather than the name, and you can map those two manually if you like
9676 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9677 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9678 to use interface indexes rather than names.
9680 2007-08-26 Dan Williams <dcbw@redhat.com>
9682 * src/nm-netlink-monitor.h
9683 - Remove one last bit of wireless-event signal
9685 2007-08-26 Dan Williams <dcbw@redhat.com>
9687 * src/nm-netlink-monitor.c
9688 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9689 don't need the 'wireless-event' signal anymore since that's all
9690 handled by wpa_supplicant
9692 2007-08-25 Dan Williams <dcbw@redhat.com>
9694 It's 2007. Remove support for drivers that don't support wireless scanning.
9697 include/NetworkManager.h
9698 src/NetworkManagerUtils.c
9699 src/NetworkManagerPolicy.c
9700 src/nm-device-802-11-wireless.c
9701 - Remove special handling for non-scanning devices and mark them
9702 as unsupported/unhandled
9704 2007-08-20 Dan Williams <dcbw@redhat.com>
9706 * src/nm-device-802-11-wireless.c
9707 src/nm-device-802-3-ethernet.c
9708 - (real_is_up): move device-specific tests before generic IFF_UP test,
9709 because when the card is pulled or the module removed, the device
9710 is already !IFF_UP and then device-specific cleanup (removing
9711 the supplicant interface, periodic checks, etc) never gets done
9713 2007-08-20 Dan Williams <dcbw@redhat.com>
9716 - (nm_manager_remove_device): bring device down before disconnecting
9717 signal handlers, so that the 'state' signal will get broadcast when
9718 the device enters the DOWN state
9719 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9720 of states that cause the NMManager to recheck its state
9722 2007-08-20 Dan Williams <dcbw@redhat.com>
9724 * src/supplicant-manager/nm-supplicant-interface.c
9725 - (interface_disconnect_done): don't try to dispose of the net proxy
9726 when it may already have been disposed of
9728 2007-08-20 Dan Williams <dcbw@redhat.com>
9730 * src/nm-device-802-11-wireless.c
9731 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9732 the SSID isn't available; this can happen when the card is pulled
9733 or the module unloaded, during the post-removal deactivation
9734 paths, when the ioctl returns ENODEV
9736 2007-08-20 Dan Williams <dcbw@redhat.com>
9738 * src/nm-device-802-11-wireless.c
9739 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9740 frequency, and mode match. Applets are now responsible for grouping
9743 2007-08-20 Dan Williams <dcbw@redhat.com>
9745 * src/NetworkManagerAP.c
9746 * src/NetworkManagerAP.h
9747 - (nm_ap_print_self): new function
9749 * src/NetworkManagerAPList.c
9750 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9753 2007-08-17 Dan Williams <dcbw@redhat.com>
9755 * src/nm-device-802-3-ethernet.c
9756 - (real_bring_down): don't try to dispose of stuff that might not
9759 2007-08-17 Dan Williams <dcbw@redhat.com>
9761 * src/NetworkManagerAP.c
9762 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9763 applet. This ensures that the case between the seen-bssids and
9764 the bssids reported by the driver match.
9766 2007-08-17 Dan Williams <dcbw@redhat.com>
9768 * src/nm-device-802-11-wireless.c
9769 - (device_cleanup): disconnect the interface in wpa_supplicant before
9770 we dispose of the interface proxy in NM
9772 2007-08-16 Dan Williams <dcbw@redhat.com>
9774 * libnm-glib/nm-client.c
9775 - (nm_client_init): create VPN connections hash table with key free
9777 - (proxy_vpn_connection_added): VPN connections hash table key should
9778 be a duplicated value, not the same memory address as the VPN
9779 connection name. This is because the VPN connection name could
9780 potentially be freed and set to something else during the lifetime
9781 of the NMVPNConnection object.
9783 2007-08-16 Tambet Ingo <tambet@gmail.com>
9785 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9786 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9787 with the file descriptors. Send a child setup function to change the pppd
9790 2007-08-15 Dan Williams <dcbw@redhat.com>
9792 * src/supplicant-manager/nm-supplicant-interface.c
9793 - (try_remove_iface): new function, ask wpa_supplicant to remove
9795 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9796 disposing of the NMSupplicantInterface. Otherwise weird stuff
9797 happens on hotplug if wpa_supplicant doesn't tear down and readd
9798 the interface internally
9800 2007-08-15 Dan Williams <dcbw@redhat.com>
9802 * src/nm-device-802-11-wireless.c
9803 - (real_bring_down): move most of this function into device_cleanup()
9804 so that it can be called from elsewhere
9805 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9806 and stuff on dispose. These would normally get cleaned up when
9807 the device is marked down and deactivated, but when the device is
9808 hot-unplugged, it's already down and real_down() never gets run
9810 2007-08-15 Dan Williams <dcbw@redhat.com>
9813 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9814 caused a reference leak on device for which NM requested a key
9816 2007-08-15 Dan Williams <dcbw@redhat.com>
9818 * libnm-glib/nm-client.c
9819 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9821 2007-08-15 Tambet Ingo <tambet@gmail.com>
9823 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9824 nothing is using it at the moment, but it'll be all useful and stuff later on.
9826 * libnm-util/nm-setting.h: Define NMSettingPPP.
9828 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9830 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9832 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9834 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9836 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9838 2007-08-14 Tambet Ingo <tambet@gmail.com>
9840 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9842 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9843 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9844 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9845 name and different arguments and it won't compile anymore. To fix this, we now have
9846 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9847 that is new API + compatibility API and used by the daemon. The other,
9848 nm-manager-client.xml is only the new API without compatibility bits and is used
9849 by libnm-glib to make it compile.
9851 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9853 * src/nm-manager.c (impl_manager_legacy_sleep)
9854 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9855 interface functions for 0.6 branch.
9857 2007-08-14 Dan Williams <dcbw@redhat.com>
9859 * src/NetworkManagerAP.c
9860 - (nm_ap_new_from_properties): fix mistaken check of return value
9861 from memcmp (should expect 0)
9863 2007-08-14 Dan Williams <dcbw@redhat.com>
9865 (force-commit to fix wrong comment and partial commit of r2685; this
9866 commit actually applies to r2685)
9868 * src/NetworkManagerUtils.c
9869 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9870 ignores trailing nulls in the SSID to work around mismatches in
9871 expectations between WEXT and what the info-daemon passes back. The
9872 info-daemon would pass back the correct length, but due to the
9873 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9874 the device would always have an SSID + 1 depending on what versions
9875 of wpa_supplicant, the kernel, and NM you have. This was most often
9876 visible by just quitting the applet and relaunching, which caused
9877 NM to reassociated to the same network over again when reloading
9880 * src/NetworkManagerPolicy.c
9881 src/NetworkManagerUtils.h
9882 src/nm-device-802-11-wireless.c
9883 - Update for new parameter to nm_utils_same_ssid()
9885 2007-08-14 Dan Williams <dcbw@redhat.com>
9887 * src/NetworkManagerAP.c
9888 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9889 I encountered a BSS that wasn't just hiding it's ESSID, it was
9890 setting the BSSID to all 0s. That confused the heck out of NM,
9891 plus it's useless and probably out-of-spec.
9893 2007-08-14 Dan Williams <dcbw@redhat.com>
9895 * callouts/Makefile.am
9896 src/dhcp-manager/nm-dhcp-manager.c
9897 src/dhcp-manager/nm-dhcp-manager.h
9898 src/dhcp-manager/Makefile.am
9899 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9901 2007-08-14 Dan Williams <dcbw@redhat.com>
9903 * src/dhcp-manager/nm-dhcp-manager.c
9904 - (dhclient_run): don't pass -x to dhclient until we figure out if
9905 it's really needed, get rid of unused xtra_args parameter
9907 2007-08-14 Dan Williams <dcbw@redhat.com>
9909 * include/NetworkManagerVPN.h
9910 src/vpn-manager/nm-dbus-vpn.c
9911 src/vpn-manager/nm-dbus-vpn.h
9912 src/vpn-manager/nm-vpn-act-request.c
9913 src/vpn-manager/nm-vpn-act-request.h
9914 src/vpn-manager/nm-vpn-service.c
9915 src/vpn-manager/nm-vpn-service.h
9916 libnm-glib/nm-vpn-connection.c
9917 libnm-glib/nm-vpn-connection.h
9918 libnm-glib/nm-client.h
9919 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9920 NMVPNServiceState to clarify what they apply to
9921 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9922 NMVPNActStage -> NMVPNConnectionState for the same reason
9924 * libnm-glib/nm-client.c
9925 - Constant + type renames from above
9926 - Properly handle NameOwnerChanged/manager_running signals
9927 for NM service; only emit when state really changes
9928 - Use hash tables correctly so that the key (which was previously owned
9929 by the D-Bus message) now has the same lifetime as the value, since
9930 the key is now taken from the the NMVPNConnection itself. This
9931 really fixes the double-VPN names in the applet
9933 2007-08-13 Dan Williams <dcbw@redhat.com>
9935 Patch from Michael Biebl <biebl@debian.org>
9939 - Update for vpn-properties move
9941 2007-08-13 Dan Williams <dcbw@redhat.com>
9943 * libnm-glib/nm-client.c
9944 - Convert internal VPN connection tracking from a list to a hash table
9945 to easily avoid duplicates
9946 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9947 must be freed by the caller, like nm_client_get_devices()
9948 - (nm_client_remove_vpn_connection): don't let the removal signal
9949 leak through for NMVPNConnection objects that aren't actually
9951 - (manager_running): throw away VPN connection list when NM goes away,
9952 like with the device list
9954 2007-08-13 Dan Williams <dcbw@redhat.com>
9956 * src/dhcp-manager/nm-dhcp-manager.c
9957 - Stop any dhclient instance that might be already running for a
9958 particular interface before starting an NM spawned dhclient. Fixes
9959 dhclient processes left over if NM crashes, stuff like that.
9961 2007-08-13 Dan Williams <dcbw@redhat.com>
9963 * src/NetworkManagerAP.c
9964 - (finalize): don't try to g_array_free (NULL, ...), which happened
9965 when the AP wasn't broadcasting it's SSID
9967 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9969 * include/NetworkManager.h: added DBus path for connection settings.
9971 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9972 nm_connection_settings_signal_updated,
9973 nm_connection_settings_signal_removed): new functions to wrap the
9975 (nm_connection_settings_init): register GObject with DBus.
9976 (nm_connection_settings_get_dbus_object_path): new function.
9978 * libnm-glib/Makefile.am: added libnmutil to link flags.
9980 2007-08-13 Tambet Ingo <tambet@gmail.com>
9982 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9984 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9985 libnm_glib directory got merged with libnm-glib/.
9987 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9989 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9990 Rename the library from libnm-glib to libnm_glib to maintain the library API
9991 compatibility with 0.6 branch.
9993 * Makefile.am: Remove gnome/ SUBDIR.
9995 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9997 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9999 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
10001 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
10003 Remove checks for wpa_supplicant binary, it's used over dbus.
10004 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
10006 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
10007 Link the binaries with libnm_glib.la.
10009 2007-08-12 Dan Williams <dcbw@redhat.com>
10011 * src/NetworkManagerPolicy.c
10012 - (nm_policy_device_change_check): fix policy to deactivate old device
10013 before activating new one, at least until the multiple active
10014 device support lands
10016 2007-08-12 Dan Williams <dcbw@redhat.com>
10018 * src/NetworkManagerPolicy.c
10019 - (nm_policy_new): hook up to connection-added / connection-removed
10020 signals instead of connections-changed
10022 2007-08-12 Dan Williams <dcbw@redhat.com>
10024 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
10025 Robert Frank <rfrank@redhat.com>
10027 * src/dhcp-manager/nm-dhcp-manager.c
10028 src/dhcp-manager/nm-dhcp-manager.c
10030 - Spawn and communicate with dhclient directly, through means of a
10031 custom dhclient callout script. Process callout D-Bus signals
10032 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
10033 sent via gobject signals rather than being driven by the dhcp manager
10036 2007-08-12 Dan Williams <dcbw@redhat.com>
10038 * callouts/nm-dhcp-client-action.c
10039 - (build_message): ignore non-DHCP-related environment variables
10041 2007-08-12 Dan Williams <dcbw@redhat.com>
10045 callouts/Makefile.am
10046 callouts/nm-dhcp-client-action.c
10047 callouts/nm-dhcp-client.conf
10048 - Add dhclient-executed callout that takes the place of dhclient-script
10049 and dhcdbd, pushing DHCP options out to the system bus as a signal that
10050 NM then listens for
10052 2007-08-09 Tambet Ingo <tambet@gmail.com>
10054 [Based on patch by Helmut Schaa <hschaa@suse.de>]
10056 * libnm-glib/nm-client.h:
10057 * libnm-glib/nm-object.h:
10058 * libnm-glib/nm-vpn-connection.h:
10059 * libnm-glib/nm-settings.h:
10060 * libnm-glib/nm-device.h:
10061 * libnm-glib/nm-ip4-config.h:
10062 * libnm-glib/nm-access-point.h:
10063 * libnm-glib/nm-device-802-3-ethernet.h:
10064 * libnm-util/nm-setting.h:
10065 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
10067 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
10069 * libnm-glib/nm-access-point.c: Strength has type char.
10071 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
10072 to fix build. GnomeDruid is deprecated in recent libgnomeui.
10074 * introspection/nm-access-point.xml: Strength property is char, not int.
10076 * src/NetworkManagerAP.c (set_property): Set strength from char.
10077 (get_property): Handle hidden APs (with empty SSID).
10078 Get strength value from char.
10079 (nm_ap_class_init): Strength property has char type.
10081 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
10083 * introspection/Makefile.am:
10084 * introspection/nm-settings.xml:
10085 * introspection/nm-settings-connection.xml: added Settings interfaces.
10087 * libnm-glib/nm-settings.[ch]:
10088 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
10089 containing the DBus implementation.
10091 2007-07-26 Dan Williams <dcbw@redhat.com>
10093 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
10095 * src/NetworkManagerSystem.c
10096 - (nm_system_device_set_ip4_route): don't add the route if it's on the
10097 same subnet (#437396)
10099 2007-07-26 Dan Williams <dcbw@redhat.com>
10101 Patch from Kelemen Gábor <kelemeng@gnome.hu>
10103 * gnome/vpn-properties/nm-vpn-properties.c
10104 - Fix translatable strings (#445865)
10106 2007-07-26 Dan Williams <dcbw@redhat.com>
10108 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
10111 - Remove useless junk (#412530)
10113 2007-07-10 Christopher Aillon <caillon@redhat.com>
10115 Patch from Robert Buchholz <rbu@gentoo.org>:
10119 * introspection/Makefile.am:
10120 Make make distcheck work again.
10122 2007-06-27 Dan Williams <dcbw@redhat.com>
10124 * Make SSIDs GByteArrays everywhere
10125 * Rename "essid" -> "ssid" everywhere that's appropriate
10126 * Refcount activation_ap member of the 802.11 wireless device class
10128 2007-06-27 Tambet Ingo <tambet@ximian.com>
10130 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10132 2007-06-22 Tambet Ingo <tambet@ximian.com>
10134 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10135 that we got a new AP when we just update existing AP properties.
10137 2007-06-21 Tambet Ingo <tambet@ximian.com>
10139 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10141 * nm-utils.[ch]: Remove.
10143 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10144 objects for easy property access and dbus connection handling.
10146 * libnm-glib/nm-client.c: Derive from NMObject.
10148 * libnm-glib/nm-device.c: Ditto.
10150 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10152 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10154 * libnm-glib/nm-ip4-config.c: Ditto.
10156 * libnm-glib/nm-access-point.c: Ditto.
10158 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10159 comparision. Currently used by the device activation code to determine if the new
10160 activation is the same as the old one.
10162 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10163 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10164 able to ask password for the AP.
10166 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10167 up if the device is already connected, tear down it's connection (if it isn't the
10168 same as new one) and start the activation.
10170 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10172 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10173 the issue where all APs are always listed as encrypted.
10175 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10176 their own registered paths.
10178 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10179 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10181 2007-06-13 Tambet Ingo <tambet@ximian.com>
10183 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10186 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10187 because the handling code will cause the next state change and signal listeners
10188 get the signals in wrong order.
10190 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10191 correctly in case of pending activation.
10193 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10194 Convert the essid byte array to string correctly, including the terminating NULL.
10196 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10197 mode with correct types.
10199 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10200 constructed info to dbus call instead of the activation request.
10202 2007-06-11 Christopher Aillon <caillon@redhat.com>
10204 Patch from Christian Persch <chpe@gnome.org>
10206 * libnm-glib/Makefile.am:
10207 * dispatcher-daemon/Makefile.am:
10208 Use the correct variables, the correct paths, and correct ordering. (446315)
10210 2007-06-11 Tambet Ingo <tambet@ximian.com>
10212 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10213 argument. The activation request is easy to retrieve.
10215 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10216 just to be a convenient location for devices to store random stuff.
10218 2007-06-11 Christopher Aillon <caillon@redhat.com>
10220 Patch from Alex Smith <alex@alex-smith.me.uk>
10222 * src/backends/NetworkManagerFrugalware.c:
10223 Update the FrugalWare backend to fix a few segfaults. (#392642)
10225 2007-06-08 Tambet Ingo <tambet@ximian.com>
10227 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10229 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10231 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10233 2007-06-06 Tambet Ingo <tambet@ximian.com>
10235 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10237 Implement NMSettingIP4Config.
10238 Finish NMSettingWired by adding all known members.
10239 (setting_wired_verify): Implement.
10240 Finish NMSettingWireless by adding all known members.
10241 (setting_wireless_verify): Implement.
10243 * libnm-util/nm-connection.c: Register "ipv4" setting.
10244 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10245 dump function, we can introspect the GHashTable which is used for sending connections
10248 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10249 Take GByteArray for essid, it's really not a string.
10251 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10252 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10253 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10254 means overriding the values we got from DHCP.
10255 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10256 (nm_device_deactivate_quickly): Ditto.
10258 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10261 2007-05-07 Tambet Ingo <tambet@ximian.com>
10263 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10266 * libnm-glib/nm-device-802-11-wireless.c:
10267 (nm_device_802_3_ethernet_activate): Remove.
10269 * libnm-glib/nm-device-802-3-ethernet.c
10270 (nm_device_802_3_ethernet_activate): Remove.
10272 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10274 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10277 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10278 activation has started.
10279 Implement the new activation using NMConnection.
10281 * src/nm-activation-request.c: Store a generic connection object instead
10282 of a wireless-specific AP.
10284 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10285 on device type, create a device specific connection object suitable for
10288 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10289 specific check to validate the connection and on success start the
10292 * src/nm-device-interface.h: Add a activate virtual function to the
10293 interface definition.
10295 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10296 (impl_device_activate): Implement.
10298 * introspection/nm-device.xml: Add a generic device activation interface
10299 that accepts an abstract NMConnection structure that has device-specific
10302 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10303 activation interface.
10305 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10306 activation interface.
10308 * libnm-util/nm-connection.c:
10309 * libnm-util/nm-connection.h:
10310 * libnm-util/nm-setting.c:
10311 * libnm-util/nm-setting.h: Add.
10313 * libnm-util/Makefile.am: Build the added files.
10315 * src/nm-dbus-manager.c
10316 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10317 DbusConnection argument from 'name-owner-changed' signal. The manager
10318 is already passed as a first argument to the signal and the connection
10319 is easy enough to get from it.
10321 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10322 Update the signature of the function.
10324 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10327 * src/NetworkManager.c: Ditto.
10329 * src/named-manager/nm-named-manager.c
10330 (nm_named_manager_name_owner_changed): Ditto.
10332 * src/supplicant-manager/nm-supplicant-manager.c
10333 (nm_supplicant_manager_name_owner_changed): Ditto.
10335 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10337 * src/dhcp-manager/nm-dhcp-manager.c
10338 (nm_dhcp_manager_name_owner_changed): Ditto.
10340 * src/nm-hal-manager.c: Add a list of device detectors and creators
10341 to make it easier to add new devices. Each device type has it's own
10342 entry in the table so adding new device types is only a matter of
10343 implementing a couple of functions, one for device detection and the
10344 other for device creation.
10346 2007-04-25 Dan Williams <dcbw@redhat.com>
10348 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10349 (gnome.org #432401)
10351 2007-03-30 Dan Williams <dcbw@redhat.com>
10353 * src/NetworkManagerSystem.c
10354 - (nm_system_device_set_ip4_route): clean up and fix argument
10355 to nm_dev_sock_open()
10357 2007-03-28 Tambet Ingo <tambet@ximian.com>
10359 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10360 data to correct types instead of always using string.
10362 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10363 _not_ have NM_802_11_CAP_PROTO_NONE.
10364 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10367 2007-03-27 Tambet Ingo <tambet@ximian.com>
10369 * libnm-glib/Makefile.am: Fix the build issue.
10371 2007-03-26 Tambet Ingo <tambet@ximian.com>
10373 * libnm-glib/nm-vpn-connection.h:
10374 * libnm-glib/nm-vpn-connection.c: Implement.
10376 * libnm-glib/nm-client.c: Add VPN support.
10378 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10381 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10384 2007-03-26 Dan Williams <dcbw@redhat.com>
10386 * src/NetworkManagerAPList.c
10387 * src/nm-device-802-11-wireless.c
10388 * src/NetworkManagerAP.c:
10389 - Store last seen as glong instead of GTimeVal.
10390 - Fix the upper bound of capabilities, it's a bitfield.
10392 2007-03-16 Tambet Ingo <tambet@ximian.com>
10394 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10396 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10397 "manager-running" signal that notifies the appearance/disappearance of NM.
10398 (nm_client_sleep): Implement.
10400 * libnm-glib/nm-device.c:
10401 * libnm-glib/nm-device-802-11-wireless.c:
10402 * libnm-glib/nm-device-802-3-ethernet.c:
10404 Don't inherit from DBusGProxy, add a proxy to private
10405 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10406 for anything but their own dbus interface. DBusGProxy objects support only one
10407 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10408 interface. The nice side effect of this change is that we do not create a new
10409 DBusGProxy object for each property access.
10411 2007-03-15 Tambet Ingo <tambet@ximian.com>
10413 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10414 with zeroes before passing them to functions - the functions never do that and
10415 reading the values back may produce wrong values.
10416 (real_bring_up): Store the signal handler id ...
10417 (real_bring_down): ... So that it can be removed here.
10418 Disconnect the supplicant interface here as well.
10419 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10420 from the access point instead of old $device/Networks/$essid.
10422 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10423 device state is connected (instead of just having link/carrier).
10425 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10426 already easily accessible through the device.
10428 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10429 store it within the object.
10430 (nm_ap_get_dbus_path): Export it to public as well.
10432 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10435 2007-03-12 Dan Williams <dcbw@redhat.com>
10437 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10438 for non-carrier-detect capable devices, and useless for carrier-detect
10439 devices since we get notifications from netlink about carrier status anyway.
10441 * src/nm-device-802-3-ethernet.c
10442 - remove 'link_source_id' member from private data
10443 - (probe_link): remove and collapse into real_update_link()
10444 - (nm_device_802_3_periodic_update): remove
10445 - (real_is_up): check for sup_iface rather than link_source_id
10446 - (real_bring_up): return gboolean for success/fail; require that
10447 sup_iface be valid for device bringup to succeed
10448 - (real_bring_down): zero out link signal ids
10451 - (nm_device_activate_stage2_device_config): fail activation if device
10453 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10455 - (nm_device_bring_up): return success/fail
10458 - bring_up now returns success/fail
10460 * src/nm-device-802-11-wireless.c
10461 - (real_bring_up): return success from bringup
10463 2007-03-07 Dan Williams <dcbw@redhat.com>
10465 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10466 * src/nm-ap-security-wpa-psk.c
10467 - (real_write_supplicant_config): work with PSKs that may contain
10468 zeros in the binary format rather than treating it as a string
10470 2007-03-02 Tambet Ingo <tambet@ximian.com>
10472 * libnm-glib/nm-device-802-11-wireless.c
10473 (nm_device_802_11_wireless_get_capabilities): Implement.
10475 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10477 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10479 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10480 reply only if it's not NULL. Not sure why this started happening right now.
10482 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10483 code paths for when devices get removed on shutdown or when a device is just
10485 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10486 gets freed so any signal from a device (disconnected for instance) would invoke
10487 NMState update which would crash.
10488 (nm_manager_remove_device): Bring the device down when it gets removed.
10490 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10491 the unused dev_type.
10493 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10494 reference to the added device, NMManager will own it (if it wants).
10496 * test/nm-tool.c: Rewrite using libnm-glib.
10498 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10499 We get signalled when it changes.
10501 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10504 * libnm-glib/nm-device.c: Cache the device state property.
10506 * libnm-glib/nm-access-point.c: Cache the strength property.
10508 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10509 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10510 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10511 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10512 the device is down, activating, or activated (in case of A/B/G cards).
10513 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10514 it's all done through supplicant now.
10516 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10517 counting issues with pending calls which caused leaks and crashes when
10518 interface was removed (now that the interface actually gets removed).
10520 * src/nm-call-store.c: Make a copy of data before running a foreach
10521 with user callback on it - The most common usage pattern is to cancel
10522 (and thus remove) all pending calls with foreach which would modify
10523 the hash table we're iterating over.
10525 * src/nm-manager.c: When a device is added, make sure it is "up". When
10526 it's removed or disabled due to disabling wireless or networking, bring
10529 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10531 * src/nm-device-802-11-wireless.c:
10532 * src/nm-device-802-3-ethernet.c:
10534 - Remove "init" virtual function, all gobjects have a place for that
10535 already (constructor).
10536 - Replace "start" virtual function with "bring_up", devices can be
10537 brought up and down more than just on startup now.
10538 - Add "is_up" virtual function.
10539 - Implement one way to bring a device down instead of previous 4 different
10540 ways, each of witch did something different.
10542 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10543 all it needs is the device interface.
10545 Get rid of NMData.dev_list (3 members to go).
10546 Get rif of NMData in a lot of places.
10548 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10550 2007-02-23 Dan Williams <dcbw@redhat.com>
10552 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10554 * src/NetworkManagerAP.c
10555 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10556 OR-ing rather than AND-ing
10558 2007-02-20 Tambet Ingo <tambet@ximian.com>
10560 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10561 "network-removed" signals.
10563 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10565 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10566 when receiving the signal from dbus.
10568 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10571 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10572 deactivation of the previously activated device working again.
10574 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10577 * src/nm-device.c (nm_device_is_activated): Remove.
10578 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10580 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10581 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10582 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10583 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10584 Remove NMNetworkStatus and NMActStage enums.
10586 2007-02-19 Tambet Ingo <tambet@ximian.com>
10588 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10589 Handle device state changes and disconnect VPN if it's device deactivates.
10591 * src/nm-dbus-nm.c:
10592 * src/nm-dbus-nm.h:
10593 * src/nm-dbus-device.c:
10594 * src/nm-dbus-device.c:
10595 * src/nm-dbus-net.c:
10596 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10598 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10600 * src/nm-device.c (nm_device_get_by_udi):
10601 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10602 implemented in the correct location (NMManager).
10603 Rip out all the test_device stuff.
10605 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10606 failure handlers, it's all done by NMDevice already.
10608 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10609 Remove the iochannel hack to route the unix signals to the main thread since
10610 we're not threaded anymore.
10612 * src/NetworkManagerAP.c: Implement HWAddress property.
10614 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10615 automatically with dbus-glib.
10617 * src/nm-netlink-monitor.c:
10618 * src/nm-netlink-monitor.h:
10619 - Move it low in the class hierarchy, don't reference any NM types.
10620 - Remove private data from the header.
10621 - Use type safe checks in public API methods.
10622 - Make it a singleton so we don't have to pass the single reference around.
10624 2007-02-16 Tambet Ingo <tambet@ximian.com>
10626 * introspection/nm-ip4-config.xml: Implement.
10628 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10630 * libnm-glib/nm-ip4-config.c:
10631 * libnm-glib/nm-ip4-config.c: Implement.
10633 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10634 securities. APs reference security.
10636 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10637 be exported over DBUS.
10639 * src/nm-device-802-3-ethernet.c: Ditto.
10641 * src/NetworkManagerAP.c:
10642 * src/NetworkManagerAP.h:
10643 - Convert to GObject, export over DBUS.
10645 * src/nm-ip4-config.h:
10646 * src/nm-ip4-config.h:
10647 - Convert to GObject, export over DBUS.
10649 2007-02-12 Dan Williams <dcbw@redhat.com>
10651 Patch from Helmut Schaa <hschaa@suse.de>
10653 * vpn-daemons/pptp/configure.in
10654 vpn-daemons/pptp/Makefile.am
10655 vpn-daemons/openvpn/configure.in
10656 vpn-daemons/openvpn/Makefile.am
10657 vpn-daemons/vpnc/configure.in
10658 vpn-daemons/vpnc/Makefile.am
10659 - Add --without-gnome switch which disables building gnome bits
10661 2007-02-12 Tambet Ingo <tambet@ximian.com>
10663 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10665 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10667 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10670 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10672 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10674 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10677 - Remove old low-level dbus interface implementations and replace them
10678 with dbus-glib one.
10681 - Require dbus-glib >= 0.72.
10682 - Plug in new sources to build.
10685 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10686 to make it more convenient to use from GObject based programs.
10689 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10691 2007-02-09 Tambet Ingo <tambet@ximian.com>
10693 * src/nm-device-802-11-wireless.c:
10694 - Add "network-added" and "network-removed" signals.
10695 - Use gobject boilerplate macros to define the GObject.
10696 - Implement wireless device activation.
10697 - Remove activation_failure_handler and activation_success_handler
10698 and instead listen on state-changed signals and run the same code
10702 - Implment NMDeviceInterface::deactivate.
10703 - Remove activation_failure_handler and activation_success_handler
10704 virtual methods. Each device which is interested in these events
10705 can just listen on it's state changed signals.
10707 * src/NetworkManagerPolicy.c:
10708 - Move a bit more NMData usage to NMManager.
10709 - Remove activation scheduling bits.
10710 - Add listeners for wireless device's "network-added" and
10711 "network-removed" signals.
10712 - Listen device changed signals and deactivate currently activated
10713 device when another device start activating (for now).
10714 - Remove (nm_policy_schedule_device_change_check): There's never a need
10715 for calling this, the policy code knows exactly when this should happen,
10716 by listening on events from NMManager and NMDevices.
10718 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10721 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10722 method on the specific device instead of going to through policy code
10723 and determining the device type by passed in AP's existance.
10725 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10726 abstract NMDevice deactivation.
10728 2007-02-08 Tambet Ingo <tambet@ximian.com>
10730 * src/NetworkManager.c:
10731 - Set up all the shiny new managers.
10733 * src/NetworkManagerPolicy.c:
10734 - Add the beginnings of new NMPolicy code. Instead of requireing all
10735 classes to call into policy code, make the policy code kind of like
10736 a supervisor that monitors what's going on and drives the whole NM.
10738 * src/nm-hal-manager.c:
10739 * src/nm-hal-manager.h:
10740 - Collect all libhal code scattered around NM to this one class.
10741 - Listen libhal and NMManager events and add/remove devices to
10744 * src/nm-manager.c:
10745 * src/nm-manager.h:
10746 - Implment a replacement for NMData. NMData is now officially
10749 2007-02-05 Tambet Ingo <tambet@ximian.com>
10751 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10752 * src/supplicant-manager/nm-supplicant-interface.h
10753 * src/supplicant-manager/nm-supplicant-interface.c
10754 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10755 argument to boolean from enum.
10757 Make NMDevice abstract class, remove almost all references to it's
10758 subclasses (the last place gets removed with new policy manager). Add
10759 NMDeviceInterface (which NMDevice implements) so that when we have
10760 NMDevice exported over DBUS, there's a common NMDevice interface which
10761 all instances have, plus there's a device specific interface for each
10763 Remove functions (nm_device_is_802_3_ethernet) and
10764 (nm_device_is_802_11_wireless). There are already standard GObject macros
10765 for type safe checks.
10766 Use the updated supplican manager API.
10768 * src/nm-device-interface.h:
10769 * src/nm-device-interface.c:
10770 * src/nm-call-store.h:
10771 * src/nm-call-store.c: Implement.
10773 * src/supplicant-manager/nm-supplicant-interface.c:
10774 * src/supplicant-manager/nm-supplicant-interface.h:
10775 * src/supplicant-manager/nm-supplicant-manager.c:
10776 * src/supplicant-manager/nm-supplicant-manager.h:
10777 - Remove all private data type references from public header files.
10778 - Remove all references to other NM classes, this class is just a
10779 proxy between wpa_supplicant and NM so it doesn't have to know
10781 - Convert to dbus-glib bindings.
10782 - Type safe checks for public methods' arguments.
10783 - Store pending DBUS call ids to NMCallStore.
10785 * src/supplicant-manager/nm-supplicant-config.c:
10786 - Store config values in a GHashTable instead of GSList.
10788 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10790 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10793 * src/nm-device.c: Use the new DHCP manager API.
10795 * src/nm-activation-request.c:
10796 * src/nm-activation-request.h:
10797 - Remove all dhcp related properties and methods.
10799 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10801 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10803 * src/dhcp-manager/nm-dhcp-manager.c:
10804 * src/dhcp-manager/nm-dhcp-manager.h:
10805 - Convert it to GObject since we need to signal state changes.
10806 - Remove all references to other NM classes, this class is one
10807 of the lowest classes in our hierarchy.
10808 - One less class to use NMActRequest.
10809 - Make it singleton, one less user of NMData.
10810 - Remove a couple of sleep() calls.
10811 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10812 One less class to use the NM's custom tailored signal handlig.
10814 * Makefile.am: Generate marshallers, add them to build.
10816 2007-02-02 Dan Williams <dcbw@redhat.com>
10822 - Remove last bits referencing gnome applet
10824 2007-02-02 Dan Williams <dcbw@redhat.com>
10826 * src/vpn-manager/nm-vpn-service.c
10827 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10828 and NBNS server addresses
10830 2007-02-02 Tambet Ingo <tambet@ximian.com>
10832 * src/nm-dbus-manager.c:
10833 * src/nm-dbus-manager.h:
10834 - Convert all internal DBUS code to use dbus-glib bindings.
10835 - Remove GObject properties, we don't need them here.
10836 - Don't explicitly set things to NULL after freeing, glib is
10837 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10838 - Make public API argument checks type safe.
10839 - Remove unnecessary (and wrong) cast to GObject for the first
10840 argument to g_signal_* calls - The first argument is a gpointer.
10841 - Export DBusGConnection to other cool classes that (are going to)
10844 2007-01-26 Dan Williams <dcbw@redhat.com>
10846 * libnm-util/dbus-dict-helpers.c
10847 libnm-util/dbus-dict-helpers.h
10848 - Coordinate style with wpa_supplicant version to minimize diff
10849 - Add uint32 array support
10850 - (nmu_dbus_dict_append_uint32_array): new function
10851 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10852 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10853 version; allow adding string array elements individually
10855 * test/libnm-util/test-dbus-dict-helpers.c
10856 - Test uint32 arrays
10858 2007-01-27 Jürg Billeter <j@bitron.ch>
10860 * src/backends/NetworkManagerPaldo.c
10861 - (nm_system_update_dns): clear nscd hosts cache
10863 2007-01-04 Dan Williams <dcbw@redhat.com>
10865 Threading removal related cleanups:
10867 - Use the glib default main context. Remove the device main context
10868 member from NMDevice, and the main_context member from NMData. Change
10869 all the idle and timeout scheduler functions to use plain
10870 g_idle_add() and g_timeout_add().
10872 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10873 takes an argument; fix that up too.
10875 - Remove all locking, which is useless since we no longer use threads. For
10876 example, nm_get_device_by_iface_locked() has been removed. The global
10877 device list lock, the AP List lock, and all static locks in
10878 NetworkManagerPolicy.c have been removed. The locking utility functions
10879 in NetworkManagerUtils.c have also been removed.
10881 - Other cleanups in spacing and code style
10883 2007-01-01 Dan Williams <dcbw@redhat.com>
10885 Found by Bill Moss:
10887 * src/supplicant-manager/nm-supplicant-interface.c
10888 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10889 the supplicant interface wasn't already disconnected. Always
10890 call removeNetwork and disconnect unless the supplicant interface
10891 is in the DISCONNECTED or INACTIVE state.
10893 2006-12-28 Dan Williams <dcbw@redhat.com>
10895 Use a single thread for everything. With the move to wpa_supplicant
10896 and communication over D-Bus, there's no reason for multiple threads.
10897 Almost all of the blocking code has been removed, with one exception in
10898 the DHCP manager and a few in the VPN manager. This commit removes the
10899 per-device worker thread and fixes activation cancellation in the absence
10900 of threads. Further removal of thread-related code would be removing
10901 any locking code (like the device list lock) and simplification of logic
10902 around areas of code or data structures that are currently locked.
10905 dhcp-manager/nm-dhcp-manager.c
10906 nm-device-802-11-wireless.c
10907 nm-device-802-3-ethernet.c
10910 - Remove usage of multiple threads
10912 2006-12-19 Dan Williams <dcbw@redhat.com>
10914 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10915 plus a few other patches from wpa_supplicant bugzilla.
10918 src/NetworkManagerPolicy.c
10919 src/NetworkManagerUtils.c
10920 src/NetworkManagerUtils.h
10921 src/nm-ap-security-leap.c
10922 src/nm-ap-security-wep.c
10923 src/nm-ap-security-wpa-eap.c
10924 src/nm-ap-security-wpa-psk.c
10925 src/nm-ap-security.c
10926 src/nm-ap-security.h
10927 src/nm-device-802-11-wireless.c
10928 src/nm-device-802-11-wireless.h
10929 src/supplicant-manager/nm-supplicant-config.c
10930 src/supplicant-manager/nm-supplicant-config.h
10931 src/supplicant-manager/nm-supplicant-interface.c
10932 src/supplicant-manager/nm-supplicant-interface.h
10933 src/supplicant-manager/nm-supplicant-marshal.list
10934 src/supplicant-manager/nm-supplicant-settings-verify.c
10935 src/supplicant-manager/nm-supplicant-settings-verify.h
10936 - Move all connection management and association handling to
10937 wpa_supplicant over dbus, rather than spawning a private copy
10939 2006-12-19 Dan Williams <dcbw@redhat.com>
10941 * src/NetworkManagerPolicy.c
10942 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10943 better locking of the device change check handler ID. Incorrect
10944 locking was causing lost device change requests
10946 2006-12-18 Dan Williams <dcbw@redhat.com>
10948 * libnm-util/dbus-dict-helpers.c
10949 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10950 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10951 dbus_message_iter_get_array_len() (Gnome.org #382898)
10953 2006-12-18 Dan Williams <dcbw@redhat.com>
10955 * gnome/libnm_glib/libnm_glib.c
10956 - Change dbus_connection_close() -> dbus_connection_unref()
10958 2006-12-11 Dan Williams <dcbw@redhat.com>
10960 * src/supplicant-manager/nm-supplicant-interface.c
10961 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10962 wpa_supplicant interface state
10963 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10964 state before transitioning to READY state
10966 2006-12-04 Dan Williams <dcbw@redhat.com>
10968 * src/nm-device-802-11-wireless.c
10969 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10970 odd length of ESSID returned from ieee80211 stack-based drivers
10972 2006-12-04 Dan Williams <dcbw@redhat.com>
10974 * src/nm-device-802-11-wireless.c
10975 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10976 IE handling blocks that cause mis-parsing of the IE
10978 2006-12-04 Dan Williams <dcbw@redhat.com>
10980 * src/nm-device-802-11-wireless.c
10981 - (init_supplicant_interface): new function; pull supplicant interface
10982 setup code out into standalone function since it must be called from
10983 two different places
10984 - (real_init): sup_mgr is now in private object data; get and track
10985 the supplicant manager object over the NMDevice subclass' lifetime
10986 and register a signal handler for its state signals; only try to
10987 initialize the supplicant interface if the supplicant manager is in
10988 the IDLE state (and therefore is ready for requests)
10989 - (request_wireless_scan): reschedule the scan request if (a) there is
10990 no supplicant interface yet (meaning wpa_supplicant isn't running
10991 or isn't ready yet), or (b) if the supplicant interface isn't ready
10993 - (supplicant_iface_connection_state_cb): new function; stub for
10994 handling supplicant interface connection state signals
10995 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10997 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10998 supplicant manager object that's being tracked starting with this
11001 2006-12-04 Dan Williams <dcbw@redhat.com>
11003 * src/supplicant-manager/nm-supplicant-interface.c
11004 - (nm_supplicant_interface_set_property): track signal handler ID
11005 - (nm_supplicant_interface_dispose): remove signal handler on dispose
11007 2006-12-04 Dan Williams <dcbw@redhat.com>
11009 * src/supplicant-manager/nm-supplicant-interface.[ch]
11010 - (nm_supplicant_interface_get_state): new function
11012 2006-12-04 Dan Williams <dcbw@redhat.com>
11014 * src/supplicant-manager/nm-supplicant-interface.c
11015 - (bssid_properties_cb): don't treat DBus errors as valid
11016 scanned AP messages
11018 2006-12-04 Dan Williams <dcbw@redhat.com>
11020 * src/supplicant-manager/nm-supplicant-interface.[ch]
11021 - (nm_supplicant_interface_get_connection_state): new function
11022 - define new supplicant connection states
11023 - send a signal when the supplicant connection state changes
11025 2006-12-03 Dan Williams <dcbw@redhat.com>
11027 * src/supplicant-manager/Makefile.am
11028 src/supplicant-manager/nm-supplicant-connection.h
11029 src/supplicant-manager/nm-supplicant-connection.c
11030 src/supplicant-manager/nm-supplicant-config.h
11031 src/supplicant-manager/nm-supplicant-config.c
11032 src/supplicant-manager/nm-supplicant-types.h
11033 src/supplicant-manager/nm-supplicant-interface.h
11034 src/supplicant-manager/nm-supplicant-interface.c
11035 - Rename NMSupplicantConnection -> NMSupplicantConfig
11037 2006-12-03 Dan Williams <dcbw@redhat.com>
11039 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
11043 - Move VPN-related translatables to .skip
11045 * vpn-daemons/pptp/po/POTFILES.in
11046 - Update with new translatables
11048 2006-12-02 Dan Williams <dcbw@redhat.com>
11050 Patch from Christian Persch <chpe@gnome.org>
11052 * gnome/applet/Makefile.am
11053 gnome/applet/applet-dbus-devices.c
11054 gnome/applet/applet-notifications.c
11055 gnome/applet/applet.c
11056 gnome/applet/applet.h
11057 gnome/applet/main.c
11058 - Be a GtkStatusIcon on GTK+ >= 2.10
11060 2006-12-02 Dan Williams <dcbw@redhat.com>
11062 * gnome/applet/applet.c
11063 - (nma_update_info): fix two unecessary allocations
11065 2006-12-02 Dan Williams <dcbw@redhat.com>
11067 Patch from Michael Biebl <biebl@teco.edu>
11069 man/NetworkManager.1.in
11070 man/NetworkManagerDispatcher.1.in
11071 man/NetworkManager.8.in
11072 man/NetworkManagerDispatcher.8.in
11073 - Add .SH NAME stanzas
11074 - Move NM & NM Dispatcher manpages to section 8 (admin)
11076 2006-12-02 Dan Williams <dcbw@redhat.com>
11078 Patch from Christian Persch <chpe@gnome.org>
11081 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
11083 2006-11-29 Tambet Ingo <tambet@ximian.com>
11085 Patch by Timo Hoenig <thoenig@suse.de>:
11086 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
11089 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
11090 we can't use the one from the main source directory.
11092 2006-11-27 Dan Williams <dcbw@redhat.com>
11094 Patch from Christian Persch <chpe@gnome.org>
11096 * gnome/applet/applet-dbus-devices.c
11097 - (hal_info_product_cb): fix memleak; free duped string.
11100 2006-11-27 Dan Williams <dcbw@redhat.com>
11102 Patch from Christian Persch <chpe@gnome.org>
11104 * gnome/applet/menu-items.c
11105 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
11106 as gtk_progress_set_percentage is deprecated. Should
11107 work as far back as GTK+ 2.4. Gnome.org #379780
11109 2006-11-26 Dan Williams <dcbw@redhat.com>
11111 Scan using wpa_supplicant over DBus.
11113 * src/nm-device-802-11-wireless.c
11114 - remove wireless extensions netlink event handler bits
11115 (wireless_event_helper, nm_device_802_11_wireless_event)
11116 - remove wireless extensions scan event handler bits
11117 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
11118 hex2byte, hex2num, request_and_convert_scan_results,
11119 free_process_scan_cb_data, scan_results_timeout,
11120 schedule_scan_results_timeout, cancel_scan_results_timeout)
11121 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
11122 and request scans from the supplicant interface rather than directly
11123 - Move functionality of convert_scan_results() to cull_scan_list() and
11124 supplicant_iface_scanned_ap_cb()
11125 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11126 at the scan interval when the current scan has finished
11127 - (supplicant_iface_state_cb): start scanning when the supplicant
11128 interface enters the READY state, and stop scanning when it
11129 enters the DOWN state
11130 - (cull_scan_list): weed out old access points from the scan list
11131 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11132 point into an NMAccessPoint and merge it into the device's scan list
11134 * src/supplicant-manager/nm-supplicant-interface.c
11135 src/supplicant-manager/nm-supplicant-interface.h
11136 - Add a new signal "scan-result" which is issued when the supplicant
11137 notifies NM that a scan has completed
11138 - Add a new signal "scanned-ap" that notifies listeners of a new access
11139 point found in the scan. Called once for each access point that
11140 the supplicant interface object receives from the supplicant as a
11141 result of the "scanResults" method call
11142 - (wpas_iface_query_scan_results): don't wait 4s before querying
11143 for the initial scan results
11144 - (scan_request_cb): new function; send listeners the result
11145 (success, error) of a wireless scan request
11146 - (nm_supplicant_interface_request_scan): new function; ask the
11147 supplicant to perform an immediate wireless scan
11149 2006-11-25 Dan Williams <dcbw@redhat.com>
11151 * src/supplicant-manager/Makefile.am
11152 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11153 add HAL cflags/includes and named-manager includes directory
11155 * src/supplicant-manager/nm-supplicant-interface.h
11156 - New state STARTING to handle transition from INIT to READY where
11157 the addInterface pending call is still outstanding
11159 * src/supplicant-manager/nm-supplicant-interface.c
11160 - track pending calls differently since we may have more than one
11161 going on at any given time
11162 - request scan results from wpa_supplicant; but don't do it more often
11163 than every 4 seconds. Drivers that do background scanning
11164 (like the 'ipw' drivers) send a continuous stream of scan completion
11165 notifications, so we don't want to hammer the supplicant or dbus
11166 with requests for all scan results every time we get a completion
11169 2006-11-25 Dan Williams <dcbw@redhat.com>
11171 * src/supplicant-manager/nm-supplicant-types.h
11172 - new file; move all supplicant manager object typedefs here for
11175 * src/supplicant-manager/nm-supplicant-interface.c
11176 src/supplicant-manager/nm-supplicant-interface.h
11177 - new file; an object that interfaces an NMDevice object to the
11178 supplicant and handles signals from the supplicant. This object
11179 does all necessary DBus communication with wpa_supplicant.
11181 * src/supplicant-manager/nm-supplicant-manager.c
11182 src/supplicant-manager/nm-supplicant-manager.h
11183 - Actually do something. Track the state of the wpa_supplicant service
11184 and deal with its comings & goings. Handle life events of
11185 supplicant interfaces too.
11186 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11188 * src/supplicant-manager/nm-supplicant-connection.h
11189 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11191 * src/supplicant-manager/Makefile.am
11192 - Add new files to build, and add libnm-util to includes
11194 * src/nm-marshal.list
11195 - New marshaler type: VOID:UINT,UINT
11197 * src/nm-device-802-3-ethernet.c
11198 - (real_init): grab a supplicant interface
11199 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11200 - (supplicant_iface_state_cb): new function, stub for handling
11201 supplicant interface state changes
11203 * src/nm-device-802-11-wireless.c
11204 - (real_init): grab a supplicant interface
11205 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11206 - (supplicant_iface_state_cb): new function, stub for handling
11207 supplicant interface state changes
11209 * src/NetworkManager.c
11210 - (main): create and keep the supplicant manager around for the lifetime
11214 - Link to the supplicant manager sub-library and use the supplicant
11217 2006-11-25 Dan Williams <dcbw@redhat.com>
11219 Rework DBus manager signal handling to be more flexible. Previously,
11220 only one signal handler could be registered for a particular interface.
11221 The DBus manager now reference counts DBus bus matches and allows multiple
11222 clients to register signal handlers for the same interface and sender.
11224 * src/NetworkManager.c
11225 - (main): track NMI signal handler ID and remove it when we quit
11227 * src/NetworkManagerMain.h
11228 - Keep track of NMI signal handler ID
11230 * src/nm-dbus-manager.c
11231 src/nm-dbus-manager.h
11232 - rework signal handling; each signal handler references one signal
11233 match, but a signal match may be referenced by one or more
11234 signal handlers. Matches are refcounted and are destroyed when the
11235 last signal handler that references the match is removed. This is
11236 necessary because two signal handlers may end up requiring the same
11237 dbus bus match, so the match must live until the last signal handler
11238 is destroyed (for example, with the wpa_supplicant network interface
11241 * src/dhcp-manager/nm-dhcp-manager.c
11242 - (nm_dhcp_manager_new): track DHCP signal handler id
11243 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11245 * src/vpn-manager/nm-vpn-service.c
11246 - (nm_vpn_service_add_watch): track VPN service signal handler id
11247 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11249 2006-11-25 Dan Williams <dcbw@redhat.com>
11251 Suggested by Helmut Schaa <hschaa@suse.de>
11253 * src/vpn-daemons/nm-vpn-service.c
11254 - (supplicant_child_setup): new function
11255 - (supplicant_exec): make child process use a new process group id
11257 * src/nm-device-802-11-wireless.c
11258 - (nm_vpn_service_child_setup): new function
11259 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11262 2006-11-19 Dan Williams <dcbw@redhat.com>
11264 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11265 * gnome/vpn-properties/nm-vpn-properties.c
11266 - clean up after renamed VPN connection
11268 2006-11-19 Dan Williams <dcbw@redhat.com>
11270 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11271 * gnome/applet/applet-dbus-vpn.c
11272 - (nma_dbus_vpn_properties_cb): sort VPN connections
11274 * gnome/vpn-properties/nm-vpn-properties.c
11275 - (init_app): sort VPN connections
11277 2006-11-09 Dan Williams <dcbw@redhat.com>
11279 * src/NetworkManagerAPList.c
11280 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11281 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11282 from the nm_ap_list_get_ap_by_address() call was incorrect and
11283 broke hidden SSID matching. Found by Bill Moss.
11285 2006-10-25 Dan Williams <dcbw@redhat.com>
11288 - (nm_dbus_nm_set_active_device): return an empty success message on
11289 success, rather than falling through to the error case.
11291 2006-10-25 Dan Williams <dcbw@redhat.com>
11293 * src/NetworkManagerUtils.c
11294 - (nm_utils_supplicant_request_with_check): suppress messages for the
11297 2006-10-24 Dan Williams <dcbw@redhat.com>
11299 Reduce the number of times the Gnome applet wakes up, especially when
11300 it's doing absolutely nothing and is hidden. Initial patch by
11303 * gnome/applet/applet-dbus.c
11304 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11305 kill the redraw timeout. When NM starts up, start the redraw
11306 timeout. Also, if we get kicked off the bus for some reason,
11307 start the reconnection timeout if one's not already running.
11308 - (nma_dbus_init): better handling of error conditions, don't leak
11309 a half-initialized dbus connection
11310 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11311 the applet's data, just call nm_dbus_init_helper()
11312 - (nma_start_dbus_connection_watch): new function, starts a periodic
11313 timeout that calls nma_dbus_connection_watcher()
11314 - (nma_dbus_init_helper): if we get a successful connection, kill the
11315 reconnection timeout, and don't start the reconnection timeout
11316 unconditionally anymore
11318 * gnome/applet/applet-dbus.h
11319 - Expose nma_start_dbus_connection_watch()
11321 * gnome/applet/applet.c
11322 - (nma_update_state): no longer static, called from applet-dbus.c for
11323 immediate UI updates on certain events
11324 - (nma_set_running): new function; take over setting applet->running,
11325 when not running (ie, NM is not active), don't activate the redraw
11326 timeout because we're not showing the applet anyway. When we are
11327 running (ie, NM is active), and only when we're running, start the
11329 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11330 kill any reconnection timeout
11331 - (nma_get_instance): move one-off dbus initialization code here since
11332 nm_dbus_init_helper() gets called more than once, possibly by the
11333 reconnection timeout function too. And, when we start up, if we
11334 can't get a connection to the bus, start the reconnection timeout.
11335 But don't start the redraw timeout yet, only do that when we get
11336 NM's state and find out if it's running or not.
11338 * gnome/applet/applet.h
11339 - Add the reconnection GSource ID
11340 - Add prototypes for nma_set_running() and the no-longer-static
11343 2006-10-24 Dan Williams <dcbw@redhat.com>
11345 * src/vpn-daemons/nm-dbus-vpnc.c
11346 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11347 pending call tracker
11348 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11349 pending call tracker; register one-vpn-connection update pending
11350 call in pending call tracker
11351 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11352 update pending call in pending call tracker
11353 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11354 update pending call in pending call tracker; don't block waiting
11357 2006-10-19 Robert Love <rml@novell.com>
11359 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11362 2006-10-14 Dan Williams <dcbw@redhat.com>
11364 * src/dhcp-manager/nm-dhcp-manager.c
11365 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11366 the dbus connection and the device object path rather than
11367 constructing it inside both functions. Saves a bit of memory
11368 and clarifies a failure path.
11369 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11370 and allocate device path here rather than each of the two
11373 2006-10-13 Dan Williams <dcbw@redhat.com>
11375 * src/NetworkManager.c
11376 - (nm_name_owner_changed_handler): handle NMI coming and going,
11377 this somehow droppout in the refactor
11379 2006-10-13 Dan Williams <dcbw@redhat.com>
11381 * Huge DBus refactor:
11382 - Create a "DBus Manager" object which manages the connection and
11383 sends signals on NameOwnerChanged and connection/disconnection events,
11384 handles reconnection to the bus if NM gets kicked off, and abstracts
11386 - Remove DBusConnection members from places where they are no
11387 longer needed due to the refactor, like the dbus-connection
11388 property of the named manager, and from NMData
11389 - Reformats a bunch of the code to gnome style
11390 (8-space tabs, braces on same line as statement, 80-col width).
11391 Consider it open season to reformat any bits to gnome style.
11392 style that aren't already.
11394 2006-10-13 Dan Williams <dcbw@redhat.com>
11396 * src/supplicant-manager/Makefile.am
11399 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11400 - Make it a minimal GObject
11402 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11403 - Verify settings destined for wpa_supplicant
11405 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11406 - Minimal GObject to track wpa_supplicant controlled device
11409 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11411 * gnome/applet/applet.c: (nma_update_info),
11412 (nma_act_stage_to_pixbuf), (nma_update_state):
11413 Mark missing strings for translation. Fixes bug #343306.
11415 2006-10-01 Dan Williams <dcbw@redhat.com>
11417 * src/vpn-manager/nm-vpn-manager.c
11418 - (nm_vpn_manager_load_services): split and clean up
11419 for readability and correctness. Restrict VPN service
11420 files to ending in ".name", as was meant from the
11421 beginning (but not coded in). Better error reporting.
11423 2006-10-01 Dan Williams <dcbw@redhat.com>
11426 - Clean up formatting of debug/info/warning log messages
11428 2006-09-27 Robert Love <rml@novell.com>
11430 Patch by Tambet Ingo <tambet@ximian.com>:
11431 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11434 2006-09-07 Dan Williams <dcbw@redhat.com>
11437 test/libnm-util/Makefile.am
11438 test/nm-supplicant-test.c
11439 - Add test program emulating the way NM drives wpa_supplicant
11440 to help debug supplicant issues
11442 2006-08-24 Dan Williams <dcbw@redhat.com>
11446 src/supplicant-manager/Makefile.am
11447 src/supplicant-manager/nm-supplicant-manager.c
11448 src/supplicant-manager/nm-supplicant-manager.h
11449 - Add skeleton bits of the wpa_supplicant manager
11451 2006-08-24 Dan Williams <dcbw@redhat.com>
11453 Patch from Ed Catmur:
11454 * src/NetworkManagerUtils.c
11455 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11456 if netmask is 0 (Gnome #352634)
11458 2006-08-17 Robert Love <rml@novell.com>
11460 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11461 package is now DBUS-enabled and listens for the NM signals.
11463 2006-08-14 Dan Williams <dcbw@redhat.com>
11465 * Patch from Christian Persch <chpe gnome org>
11468 vpn-daemons/openvpn/po/LINGUAS
11469 vpn-daemons/openvpn/configure.in
11470 vpn-daemons/pptp/po/LINGUAS
11471 vpn-daemons/pptp/configure.in
11472 vpn-daemons/vpnc/po/LINGUAS
11473 vpn-daemons/vpnc/configure.in
11474 - Convert to LINGUAS method so translators don't have to modify
11475 configure.in, just stuff in po/. Gnome #343132, requires intltool
11478 2006-08-14 Dan Williams <dcbw@redhat.com>
11480 Patch from Alex Smith <alex.extreme2@gmail.com>
11482 src/backends/Makefile.am
11483 src/backends/NetworkManagerFrugalware.c
11484 - Add support for Frugalware
11486 2006-08-13 Dan Williams <dcbw@redhat.com>
11488 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11489 * src/nm-device-802-11-wireless.c
11490 - (supplicant_exec): spawn wpa_supplicant without debug spew
11493 2006-08-13 Dan Williams <dcbw@redhat.com>
11495 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11496 * src/nm-ap-security.c
11497 src/nm-ap-security.h
11498 - Add authentication_required bits for subclasses to specify whether
11499 or not real authentication is required for connections, i.e. whether
11500 the AP rejects us when an encryption key is wrong or not.
11502 * src/nm-ap-security-wep.c
11503 src/nm-ap-security-wpa-eap.c
11504 src/nm-ap-security-wpa-psk.c
11505 src/nm-ap-security-leap.c
11506 - Implement authentication_required appropriately for each method
11508 * src/nm-device-802-11-wireless.c
11509 - Be smarter about when to request a key; for example, using a wrong key
11510 in WEP shared key mode previously just timed out and did not request
11513 2006-08-13 Dan Williams <dcbw@redhat.com>
11515 * gnome/libnm_glib/libnm_glib.c
11516 - dbus_connection_disconnect() -> dbus_connection_close() for
11519 2006-08-07 Dan Williams <dcbw@redhat.com>
11521 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11522 * src/NetworkManagerSystem.c
11523 - Respect specified MTU. Gnome #344967
11525 2006-08-07 Dan Williams <dcbw@redhat.com>
11527 * src/vpn-manager/nm-vpn-service.c
11528 - Simplify print_vpn_config() arguments
11530 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11531 * src/vpn-manager/Makefile.am
11532 src/vpn-manager/nm-vpn-service.c
11533 - Add new API for passing VPN config options as a dict. Gnome #344967
11535 2006-08-06 Dan Williams <dcbw@redhat.com>
11537 * gnome/applet/applet-dbus-devices.c
11538 gnome/applet/applet-dbus-vpn.c
11539 gnome/applet/applet-dbus.c
11540 gnome/applet/applet-dbus.h
11544 - Make pending call tracking code generic,
11545 so we can use it in NM as well as the applet
11547 2006-08-06 Dan Williams <dcbw@redhat.com>
11549 * src/nm-activation-request.c
11550 - Refcount pending call objects
11552 2006-08-06 Dan Williams <dcbw@redhat.com>
11554 Patch from Christan Chiesa <christanc@gmail.com>
11556 - Tell sha1.c to use bigendian mode on PPC
11558 2006-08-04 Robert Love <rml@novell.com>
11560 Glib Memory Slices!
11561 * configure.in: Require glib 2.10 or later.
11562 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11563 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11564 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11565 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11566 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11567 Memory Slices are the greatest thing since bread slices.
11568 * src/NetworkManagerAP.c: Also, fix memory leak.
11570 2006-08-01 Robert Love <rml@novell.com>
11572 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11574 2006-07-31 Robert Love <rml@novell.com>
11576 * src/backends/interface_parser.c: Declarations must begin the block.
11578 2006-07-24 Dan Williams <dcbw@redhat.com>
11580 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11581 * src/backends/Makefile.am
11582 src/backends/NetworkManagerArch.c
11583 src/backends/NetworkManagerDebian.c
11584 src/backends/NetworkManagerGeneric.c
11585 src/backends/NetworkManagerGeneric.h
11586 src/backends/NetworkManagerGentoo.c
11587 src/backends/NetworkManagerPaldo.c
11588 src/backends/NetworkManagerRedHat.c
11589 src/backends/NetworkManagerSlackware.c
11590 src/backends/NetworkManagerSuSE.c
11591 - Genericize common backend functions
11593 2006-07-18 Robert Love <rml@novell.com>
11595 * configure.in: Add "--with-notify" option to allow disabling of
11598 2006-07-13 Dan Williams <dcbw@redhat.com>
11600 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11601 * gnome/applet/applet.glade
11602 gnome/applet/Makefile.am
11603 gnome/applet/nm-gconf-wso.c
11604 gnome/applet/nm-gconf-wso-leap.c
11605 gnome/applet/nm-gconf-wso-leap.h
11606 gnome/applet/wireless-security-manager.c
11607 gnome/applet/wso-leap.c
11608 gnome/applet/wso-leap.h
11609 include/NetworkManager.h
11610 libnm-util/dbus-helpers.c
11611 libnm-util/dbus-helpers.h
11613 src/NetworkManagerAP.c
11614 src/nm-ap-security.c
11615 src/nm-ap-security-leap.c
11616 src/nm-ap-security-leap.h
11617 - Add LEAP authentication support
11619 2006-07-13 Dan Williams <dcbw@redhat.com>
11621 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11623 src/backends/NetworkManagerArch.c
11624 src/backends/NetworkManagerDebian.c
11625 src/backends/NetworkManagerGentoo.c
11626 src/backends/NetworkManagerPaldo.c
11627 src/backends/NetworkManagerRedHat.c
11628 src/backends/NetworkManagerSlackware.c
11629 src/backends/NetworkManagerSuSE.c
11630 - Convert hardcoding of 'ip' path to configure-time
11633 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11635 * configure.in: added ru to ALL_LINGUAS
11637 2006-07-10 Dan Williams <dcbw@redhat.com>
11639 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11641 - (real_act_stage3_ip_config_start): don't infinite loop when
11642 dhcdbd isn't running (Gnome #346845)
11644 2006-07-09 Dan Williams <dcbw@redhat.com>
11646 * gnome/applet/applet.c
11647 - (nma_destroy): don't pass NULL to notify_notification_close
11650 2006-07-09 Dan Williams <dcbw@redhat.com>
11652 * gnome/applet/applet.c
11653 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11655 2006-07-04 Tor Krill <tor@krill.nu>
11657 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11658 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11659 (nm_system_restart_mdns_responder), (ArchReadConfig),
11660 (nm_system_device_get_system_config):
11661 - Explicitly check for DHCP configuration
11662 - Check if daemons are running before starting them
11664 2006-06-25 Dan Williams <dcbw@redhat.com>
11666 * libnm-util/dbus-dict-helpers.[ch]
11667 test/libnm-util/test-dbus-dict-helpers.c
11668 - Add string array support
11670 2006-06-24 Dan Williams <dcbw@redhat.com>
11672 * src/dhcp-manager/nm-dhcp-manager.c
11673 - (nm_dhcp_manager_process_signal): clean up spacing
11675 2006-06-21 Dan Williams <dcbw@redhat.com>
11677 * src/nm-dbus-device.c
11678 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11681 2006-06-21 Raivis Dejus <orvils@gmail.com>
11683 * configure.in: Added 'lv' to ALL_LINGUAS
11685 2006-06-19 Dan Williams <dcbw@redhat.com>
11687 * src/NetworkManagerAP.c
11688 - Clarify usage of user_created
11690 * src/nm-ap-security-wep.c
11691 src/nm-ap-security-wpa-eap.c
11692 src/nm-ap-security-wpa-psk.c
11693 src/nm-ap-security.c
11694 src/nm-ap-security.h
11695 - s/user_created/adhoc, because we really do mean adhoc
11697 Patch from Bernard Blackham <bernard@blackham.com.au>
11698 * src/nm-device-802-11-wireless.c
11699 - (supplicant_send_network_config): instead of user_created,
11700 use adhoc, and do AP_SCAN 2 for adhoc networks
11702 2006-06-18 Robert Love <rml@novell.com>
11704 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11705 we have a value to set. Gconf generates a warning if `val' is NULL.
11706 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11707 unless we actually received a valid private key file passphrase or
11708 password. Otherwise, we don't know to later ask the applet to pull
11709 the key from the keyring.
11711 2006-06-17 Dan Williams <dcbw@redhat.com>
11713 * libnm-util/dbus-dict-helpers.[ch]
11714 test/libnm-util/test-dbus-dict-helpers.c
11715 - Fixes for zero-length byte arrays
11716 - Replace return values of 0 with FALSE for clarity
11717 - Test zero-length byte arrays
11719 2006-06-17 Dan Williams <dcbw@redhat.com>
11721 * libnm-util/dbus-dict-helpers.[ch]
11722 test/libnm-util/test-dbus-dict-helpers.c
11723 - Add helpers for byte arrays
11724 - Rework bits of the testcase
11726 2006-06-16 Dan Williams <dcbw@redhat.com>
11728 * libnm-util/Makefile.am
11729 * libnm-util/dbus-dict-helpers.[ch]
11730 - Add some helpers to take the pain out of using dict types in
11733 * test/libnm-util/Makefile.am
11734 * test/libnm-util/test-dbus-dict-helpers.c
11735 - Test cases for the dict helper functions
11737 2006-06-15 Robert Love <rml@novell.com>
11739 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11740 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11741 if there is no key to pass.
11742 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11743 receiving a non-NULL key.
11745 2006-06-14 Robert Love <rml@novell.com>
11747 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11751 2006-06-14 Dan Williams <dcbw@redhat.com>
11753 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11754 * src/nm-device-802-11-wireless.c
11755 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11756 or ones where the driver is unknown
11757 - (supplicant_exec): don't wait for supplicant startup here
11758 - (supplicant_interface_init): finer grained polling for supplicant
11761 2006-06-13 Robert Love <rml@novell.com>
11763 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11764 if it is currently set to TRUE. Otherwise, we will reset the value
11765 when we connect normally.
11766 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11767 the old BSSID is valid, too. The recently added ESSID check may not be
11768 sufficient (we can remove it?). What we really want to catch is the
11769 case of going from all-zeros to the BSSID of some other network, which
11770 happens on failure.
11772 2006-06-09 Dan Williams <dcbw@redhat.com>
11774 * src/NetworkManagerSystem.[ch]
11775 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11776 it was unused and pointless
11777 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11778 fix for set_up_down_with_iface change
11780 * src/vpn-manager/nm-vpn-connection.c
11781 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11783 * src/backends/NetworkManagerPaldo.c
11784 src/backends/NetworkManagerRedHat.c
11785 src/backends/NetworkManagerSuSE.c
11786 src/backends/NetworkManagerArch.c
11787 src/backends/NetworkManagerDebian.c
11788 src/backends/NetworkManagerGentoo.c
11789 - (nm_system_enable_loopback): use set_up_down_with_iface where
11791 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11794 2006-06-09 Dan Williams <dcbw@redhat.com>
11796 Patch from Peter Jones:
11797 * src/nm-device-802-11-wireless.c
11798 - (nm_device_802_11_wireless_update_bssid): make sure that the
11799 SSID hasn't changed from what we expect before automatically
11800 updating the saved BSSID from a new AP
11802 2006-06-08 Robert Love <rml@novell.com>
11804 Add 'fallback' support. NetworkManager will attempt to brute-force
11805 connect to networks marked as fallback if there are no better wireless
11806 connections available. This is useful as a method of last resort, to
11807 work around driver problems, and for use with hidden networks.
11808 * gnome/applet/applet-dbus-devices.c,
11809 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11810 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11811 pass it on via DBUS.
11812 * gnome/applet/applet.c: No fallback by default.
11813 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11814 Update other-network-dialog to add UI checkbox toggling fallback.
11815 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11816 propery from AP object. Add "fallback" property to AP object.
11817 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11818 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11819 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11820 separate function. Add get_best_fallback_ap() for returning an AP
11821 on which to attempt fallback.
11822 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11823 * test/nm-set-fallback: New file. Sets a given network as fallback.
11825 2006-06-07 Robert Love <rml@novell.com>
11827 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11828 checked that the return type was GCONF_VALUE_STRING, not the correct
11829 GCONF_VALUE_BOOL, and thus it never worked.
11830 * src/NetworkManagerAPList.c: Before concluding that two networks are
11831 identical based on their BSSID, make sure that the BSSID in question
11832 is actually valid. Specifically, an empty or all zero BSSID does not
11834 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11835 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11836 similar invariant clean up.
11838 2006-06-02 Robert Love <rml@novell.com>
11840 * gnome/applet/applet.c: Update copyright years. Add Novell.
11842 2006-05-28 Dan Williams <dcbw@redhat.com>
11844 * gnome/applet/applet.glade
11845 gnome/vpn-properties/nm-vpn-properties.glade
11846 - Set window icons on dialogs (Gnome.org #333420)
11848 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11850 * gnome/vpn-properties/nm-vpn-properties.glade:
11851 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11852 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11853 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11854 - Make the VPN properties pages prettier and more HIG
11855 compliant. Gnome Bug #336913.
11857 2006-05-28 Dan Williams <dcbw@redhat.com>
11859 Patch from Christian Persch <chpe@gnome.org>
11860 * gnome/vpn-properties/nm-vpn-properties.c
11861 * gnome/vpn-properties/nm-vpn-properties.glade
11862 - HIG-ification love (Gnome.org #336846)
11864 2006-05-28 Dan Williams <dcbw@redhat.com>
11866 Patch from Christian Persch <chpe@gnome.org>
11868 gnome/vpn-properties/nm-vpn-properties.c
11869 - (main): Fix option parsing. Gnome.org #336847
11871 2006-05-28 Dan Williams <dcbw@redhat.com>
11873 * gnome/vpn-properties/nm-vpn-properties.c
11874 - (find_vpn_ui_by_service_name): protect against NULL service names
11875 - (update_edit_del_sensitivity): protect against NULL service names
11878 2006-05-28 Dan Williams <dcbw@redhat.com>
11880 Patch from Chris Fuller <crf@grandecom.net>:
11881 * src/nm-device-802-11-wireless.c
11882 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11883 don't dispose of wireless-specific stuff unless it is actually
11884 initialized. Gnome.org #341263
11886 2006-05-28 Dan Williams <dcbw@redhat.com>
11888 * src/NetworkManagerPolicy.c
11889 - (nm_policy_device_change_check): don't switch devices if the "best"
11890 AP is essentially the same as the current activation request, but
11891 the current activation request isn't done activating yet. Fixes
11892 multiple requests for keyring password on startup for Gnome applet.
11895 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11897 * src/NetworkManager.c: use GOptions instead of getopt
11898 * configure.in: bump glib required version to >= 2.6 for GOption
11901 2006-05-25 Robert Love <rml@novell.com>
11903 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11904 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11905 instead of dumping ifdef's throughout the code.
11906 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11907 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11908 use nm_ioctl_info() in lieu.
11910 2006-05-25 Robert Love <rml@novell.com>
11912 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11913 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11914 not using gcrypt. Otherwise, we get a linker error.
11916 2006-05-25 Robert Love <rml@novell.com>
11918 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11919 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11920 configure flag to disable building of the GNOME-based applet.
11922 2006-05-25 Robert Love <rml@novell.com>
11924 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11925 parameter from link, because it shadows a global variable with some
11926 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11927 should never have exported to the entire system a common four letter
11928 word. But we here at NetworkManager are team players. Fixes
11931 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11933 * configure.in: Added mk.po, Macedonian translation.
11935 2006-05-24 Robert Love <rml@novell.com>
11937 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11938 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11939 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11941 2006-05-24 Robert Love <rml@novell.com>
11943 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11944 libnm-util/Makefile.am, src/Makefile.am,
11945 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11946 vpn-daemons/openvpn/properties/Makefile.am,
11947 vpn-daemons/pptp/auth-dialog/Makefile.am,
11948 vpn-daemons/pptp/properties/Makefile.am,
11949 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11950 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11951 user passed for --datadir, if anything, when setting the GNOME locale
11952 directory. It should be a function of the specified datadir and not
11955 2006-05-24 Robert Love <rml@novell.com>
11957 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11958 src/NetworkManager.c: Take care to call bindtextdomain with the
11959 location of msgid files.
11960 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11963 2006-05-22 Robert Love <rml@novell.com>
11965 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11966 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11967 99% of the time there is a real problem with wireless, and a
11968 seemingly successful connection via Zeroconf just confuses the user.
11969 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11971 2006-05-22 Robert Love <rml@novell.com>
11973 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11974 autofs on interface up if NIS is configured. On interface down, do
11977 2006-05-22 Robert Love <rml@novell.com>
11979 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11980 to avoid calling g_object_unref() on stale pointers on error in
11981 nma_icons_free(). This happens because we short-circuit loaded the
11982 icons on the first failure but then free all icons. Normally we have
11983 no issue because the icons were zero'ed out malloc, but we have stale
11984 pointer data after nma_icon_theme_changed().
11985 * gnome/applet/main.c: Return error code if nma_new() failed.
11987 2060-05-21 Dan Williams <dcbw@redhat.com>
11989 * initscript/NetworkManager.in
11990 - Ensure both dhcdbd and named are started before NM
11992 2006-05-21 Dan Williams <dcbw@redhat.com>
11995 - Bump version to 0.7 to signify we are in 0.7 development
11997 2006-05-21 Dan Williams <dcbw@redhat.com>
11999 Patch from Adam Schreiber <sadam@clemson.edu>
12000 * gnome/vpn-properties/nm-vpn-properties.c
12001 - (main): correct Gnome program name (gnome.org #342498)
12003 2006-05-21 Dan Williams <dcbw@redhat.com>
12005 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
12007 * src/NetworkManagerDbus.[ch]
12008 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
12009 clarify that function's argument should be an escaped dbus object
12010 path, and look for path segment end before returning a match
12011 * src/nm-dbus-nm.c:
12012 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
12014 2006-05-17 Robert Love <rml@novell.com>
12016 Functionality to differentiate Ad-Hoc networks from infrastructure
12017 networks in the applet, by displaying a special icon:
12018 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
12019 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
12020 * gnome/applet/menu-items.c: Set a special icon in the scan list for
12021 ad-hoc networks. TODO: Add a third icon representing "encrypted and
12022 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
12023 networks, encrypted or not.
12024 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
12025 accessor functions to get and set the mode of a given network,
12026 wireless_network_get_mode() and wireless_network_set_mode().
12028 2006-05-17 Robert Love <rml@novell.com>
12030 Functionality to automatically add BSSIDs to the allowed-MAC list as
12031 one roams from access point to access point on a given network:
12032 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
12033 helper function to compare two ether_addr structures and return TRUE
12034 if they contain the same MAC address.
12035 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
12037 * src/nm-device-802-11-wireless.c: New function to update the BSSID
12038 stored with the current AP. If the BSSID has indeed changed, we
12039 send it out to the applet, allowing the allowed-MAC list to grow
12040 automatically in response to roaming.
12042 2006-05-16 Robert Love <rml@novell.com>
12044 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
12045 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
12047 2006-05-13 Dan Williams <dcbw@redhat.com>
12049 * src/nm-device-802-3-ethernet.c
12050 - (real_get_generic_capabilities): Don't ignore devices that can't do
12051 carrier detect (Debian bug #366373)
12053 2006-05-11 Dan Williams <dcbw@redhat.com>
12055 Patch from Michael Biebl <biebl@teco.edu>
12056 * src/backends/NetworkManagerDebian.c
12057 - Debian backend fixups
12059 2006-05-10 Robert Love <rml@novell.com>
12061 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
12063 2006-05-09 Robert Love <rml@novell.com>
12065 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
12066 private certificate passphrase, if any, in the GNOME Keyring.
12067 * libnm-utils/dbus-helpers.c: Update.
12069 2006-05-05 Dan Williams <dcbw@redhat.com>
12071 * src/nm-device-802-11-wireless.c
12072 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
12073 nm_device_802_11_wireless_disable_encryption() since that's all
12074 we use it for anymore; we don't ever set WEP keys ourselves.
12075 - (real_deactivate_quickly): reset SSID and encryption keys
12076 - (real_deactivate): move SSID and encryption key reset to
12077 real_deactivate_quickly(), which gets run before us anyway
12079 2006-05-05 Robert Love <rml@novell.com>
12081 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
12082 root has a wacky default of its own (or, more common, a user has a
12083 bad umask and uses su/sudo to restart NetworkManager). Anything
12084 other than 0022 does not do what we want with, for example,
12085 resolv.conf. This problem is amplified by our judicious use of
12086 fopen(), which uses mode 0666 -- implying that the only way to get
12087 the permissions we want is with a umask of 0022.
12089 2006-05-05 Dan Williams <dcbw@redhat.com>
12091 * gnome/libnm_glib/libnm_glib.c
12092 - Don't suck CPU when dbus isn't around by scheduling idle handlers
12093 to reconnect; instead wait a bit more with each reconnect attempt
12094 up to a max of one minute.
12096 2006-05-04 Ryan Lortie <desrt@desrt.ca>
12098 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
12099 the WirelessNetwork structure using the proper function instead of
12100 just casting it directly to (const char *) (gnome.org #336991)
12102 2006-05-03 Robert Love <rml@novell.com>
12104 * src/backends/NetworkManagerSuSE.c: Respect the variable
12105 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
12106 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
12107 to dynamically update /etc/resolv.conf.
12109 2006-05-02 Peter Jones <pjones@redhat.com>
12111 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
12113 2006-05-02 Robert Love <rml@novell.com>
12115 Patch by Timo Hoenig;
12116 * tests/nm-online.c: Print pretty status indicator as timeout winds
12117 down. Also fix possible race between DBUS startup and failure
12120 2006-05-01 Robert Love <rml@novell.com>
12122 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
12125 2006-04-27 Jeremy Katz <katzj@redhat.com>
12127 * src/nm-device.c (discover_device_type): Actually use the hal
12128 device type instead of ioctl poking
12130 2006-04-26 Robert Love <rml@novell.com>
12132 * tests/nm-online.c: New file. Simple utility that returns exit status
12133 noting whether the connection is offline or online. If offline on
12134 start, it waits 30 seconds (or a command-line given value) for an
12135 online signal. If it times out, it again returns offline. This is
12136 useful for scripts that want to wait for network connections.
12138 2006-04-25 Robert Love <rml@novell.com>
12140 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12141 key mode (the authentication algorithm), e.g. open or shared, when we
12142 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12143 only shared was broken. If the user specified a shared key, set it
12144 explicitly, otherwise let wpa_supplicant go with the default.
12146 2006-04-24 Dan Williams <dcbw@redhat.com>
12148 * src/nm-device-802-11-wireless.c
12149 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12151 2006-04-24 Dan Williams <dcbw@redhat.com>
12153 Commit the async scanning patch
12155 * src/nm-device-802-11-wireless.c
12156 - get rid of scan_mutex
12157 - (wireless_event_helper): act on wireless scan events
12158 - (real_start): schedule a pending scan
12159 - (link_to_specific_ap): fake the link to the AP during a scan
12160 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12161 strength during scans
12162 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12163 nm_device_set_bitrate): unused with new scanning code, disable
12164 - (nm_device_wireless_schedule_scan): removed
12165 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12166 - (request_and_convert_scan_results): new function; retrieve scan
12167 results from the driver and schedule the processing function
12168 - (scan_results_timeout): timeout triggered when card doesn't send
12169 a scan results wireless event during a certain interval
12170 - (schedule_scan_results_timeout): new function; schedule the scan
12172 - (cancel_scan_results_timeout): new function; cancel the scan
12174 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12175 to do the scanning. Otherwise, just request a scan but don't
12176 grab results here; instead schedule a timeout for scan results and
12177 let netlink notify us of scan completion events
12178 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12179 - (cancel_pending_scan): new function; cancel a pending wireless scan
12180 - (supplicant_status_cb): ignore disconnect events while scanning
12181 - (supplicant_exec): wait a bit longer for the supplicant to start up
12182 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12184 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12186 2006-04-24 Dan Williams <dcbw@redhat.com>
12188 * gnome/applet/applet-dbus.c
12189 - Disable the pending call debug stuff, seems under control now
12191 2006-04-20 Robert Love <rml@novell.com>
12193 Fix bug where hidden ESSID's would not show up in the applet, even
12194 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12195 because nm_policy_device_list_update_from_allowed_list() would merge
12196 the data, putting a name to the hidden networks, but never notify NMI
12197 of the changes. Simple fix is to invoke the function
12198 nm_dbus_signal_wireless_network_change() if we make a mapping.
12199 * src/NetworkManagerAPList.c: Call the function
12200 nm_dbus_signal_wireless_network_change() if we made a successful
12201 BSSID to ESSID mapping, notifying the applet of the "new" network.
12202 * src/NetworkManagerAPList.h: Update the prototypes for both
12203 nm_ap_list_copy_essids_by_address() and
12204 nm_ap_list_copy_one_essid_by_address().
12206 2006-04-20 Robert Love <rml@novell.com>
12208 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12209 not set. Just return zero.
12211 2006-04-20 Robert Love <rml@novell.com>
12213 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12214 only one copy of nm-vpn-properties is running at a time via the 'ol
12215 X selection trick. This prevents the user from opening two "VPN
12216 Connections" windows from within the applet, which leads to mass
12218 * clipboard.c: New file, implementing simple X selection logic.
12219 * clipboard.h: New file.
12220 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12222 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12224 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12226 initscript/Gentoo/Makefile.am
12227 initscript/Gentoo/NetworkManagerDispatcher.in
12229 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12232 2006-04-16 Dan Williams <dcbw@redhat.com>
12234 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12236 initscript/Slackware/Makefile.am
12237 initscript/Slackware/rc.networkmanager-dispatcher.in
12238 initscript/Slackware/rc.networkmanager.in
12239 - Update slackware initscripts
12241 2006-04-10 Robert Love <rml@novell.com>
12243 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12244 the "delete_event" signal on the druid's parent window and handle it
12245 our way, lest using the WM to close the druid results in a series of
12246 bloody and ultimately lethal errors.
12248 2006-04-10 Robert Love <rml@novell.com>
12250 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12251 'Back' too or else the 'Forward' option is initially disabled despite
12254 2006-04-06 Robert Love <rml@novell.com>
12256 Fix bad but simple bug where an active modem connection did not update
12257 NM's connection state, breaking any app that did online/offline:
12258 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12259 represented whether a dial up connection is active, or not.
12260 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12261 to modem activation and deactivation.
12262 * src/NetworkManagerDbus.c: When asked our state, do not return
12263 disconnected if the modem is active.
12265 2006-04-04 Robert Love <rml@novell.com>
12267 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12268 applet. It just confuses the crap out of people and does not make a
12269 lot of sense, as the daemon still runs.
12271 2006-04-02 Tor Krill <tor@krill.nu>
12273 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12274 in start of service.
12275 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12276 get Archlinux backend up to date.
12278 2006-03-29 Robert Love <rml@novell.com>
12280 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12281 to add support for per-route MSS and improve support for per-interface
12283 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12284 optionally take an MSS parameter and set it for the given route.
12285 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12286 NMIP4Config's stored MSS, if any.
12287 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12288 the interface's MTU and the route's MSS, respectively. Add functions
12289 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12290 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12292 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12293 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12294 nm_ip4_config_set_mss.
12295 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12297 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12298 Change the retval of nm_system_get_mtu to guint32.
12299 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12300 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12301 servers can specify MTU's, we should set it here if the MTU was not
12304 2006-03-27 Jürg Billeter <j@bitron.ch>
12307 * initscript/Makefile.am:
12308 * initscript/paldo/Makefile.am:
12309 * initscript/paldo/NetworkManager.in:
12310 * initscript/paldo/NetworkManagerDispatcher.in:
12311 * src/backends/Makefile.am:
12312 * src/backends/NetworkManagerPaldo.c:
12313 - Add paldo support
12315 2006-03-27 Dan Williams <dcbw@redhat.com>
12317 Patch from Christian Persch <chpe@gnome.org>
12318 * gnome/applet/applet.glade
12319 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12321 2006-03-27 Dan Williams <dcbw@redhat.com>
12323 Patch from Diffe <diffie@blazebox.homeip.net>
12324 * src/backends/NetworkManagerSlackware.c
12325 - Don't restart howl, since it's been replaced by Avahi
12326 in most distributions
12328 2006-03-27 Dan Williams <dcbw@redhat.com>
12330 Patch from Tor Krill <bugzilla@krill.nu>
12332 initscript/Makefile.am
12333 src/backends/Makefile.am
12334 src/backends/NetworkManagerArch.c
12335 initscript/Arch/Makefile.am
12336 initscript/Arch/networkmanager-dispatcher.in
12337 initscript/Arch/networkmanager.in
12338 - Add Arch Linux support, fixes gnome.org #335147
12340 2006-03-27 Dan Williams <dcbw@redhat.com>
12342 Patch from Diffe <diffie@blazebox.homeip.net>
12343 * initscript/Slackware/rc.networkmanager
12344 - update, fixed gnome.org #333368
12346 2006-03-27 Robert Love <rml@novell.com>
12348 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12349 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12351 2006-03-27 Robert Love <rml@novell.com>
12353 Patch by Jürg Billeter <j@bitron.ch>:
12354 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12356 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12357 as we prefer glibc over kernel headers, if possible.
12359 2006-03-27 Robert Love <rml@novell.com>
12361 Patch by Jon Escombe <list@dresco.co.uk>:
12362 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12363 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12364 fail, don't bail out. We don't expect all of the various WPA-EAP
12365 values to be present.
12366 * src/nm-ap-security.c: We need to match all capabilities for each
12367 encryption type, not any one of them.
12369 2006-03-27 Robert Love <rml@novell.com>
12371 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12372 restart, not reload, ypbind. Unfortunately there is no superior
12375 2006-03-24 Christopher Aillon <caillon@redhat.com>
12377 * gnome/applet/applet-notifications.c:
12378 When displaying a notification, make sure to get rid of the
12379 previous notification so as to not have competing bubbles,
12380 and stop leaking the old one.
12382 * gnome/applet/applet.c:
12383 * gnome/applet/applet.h:
12384 Add a new 'notification' member to the applet, and zero it out
12385 and free it appropriately.
12387 2006-03-23 Robert Love <rml@novell.com>
12389 Patch by j <j@bootlab.org>:
12390 * gnome/applet/applet.glade: Don't set the invisible_char property,
12391 which simply overrides the GTK default. By and by, this behavior
12392 ought to be fixed in Glade.
12394 2006-03-22 Robert Love <rml@novell.com>
12396 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12398 2006-03-22 Robert Love <rml@novell.com>
12400 Bug fix by Timo Hoenig <thoenig@suse.de>:
12401 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12402 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12403 and the applet going AWOL.
12405 2006-03-22 Robert Love <rml@novell.com>
12407 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12408 preprocessor define and use it instead of open-coded the DHCP
12409 timeout, which is currently 25 seconds, everywhere.
12411 2006-03-22 Robert Love <rml@novell.com>
12413 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12414 key exchange via WPA, ostensibly providing good security without
12415 requiring hardware that supports full WPA. Also, add UI elements to
12416 allow the user to select the pairwise & group cipher for WPA Enterprise
12418 * gnome/applet/applet.glade: Update glade file.
12419 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12420 key type, too, to and from gconf.
12421 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12422 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12423 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12424 the capabilities match.
12425 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12427 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12428 serialize from UI to DBUS.
12429 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12431 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12432 nmu_security_serialize_wpa_eap_with_cipher(), and
12433 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12434 serialize/deserialize the key type via DBUS as the new third DBUS
12436 * libnm-util/dbus-helpers.h: Update prototypes.
12437 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12438 too. If the key type is WEP104, do Dynamic WEP, which means
12439 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12440 pairwise and group ciphers (fixes a FIXME).
12442 2006-03-21 Robert Love <rml@novell.com>
12444 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12445 nm_system_get_mtu(), which returns a user-provided or system-mandated
12446 MTU value for a given device, if any, or zero if no such value
12447 exists. Add nm_system_set_mtu() to set the MTU for a given device
12448 if we have a provided value.
12449 * src/nm-device.c: Set the MTU of devices.
12450 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12451 * src/backends/NetworkManagerDebian.c,
12452 src/backends/NetworkManagerGentoo.c,
12453 src/backends/NetworkManagerRedHat.c,
12454 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12456 2006-03-21 Robert Love <rml@novell.com>
12458 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12459 configuration file.
12461 2006-03-17 Robert Love <rml@novell.com>
12463 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12464 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12465 it, in case it is not running in the first place. We just want its
12466 configuration reloaded. Also, do not "rcypbind stop" on device down.
12468 2006-03-15 Robert Love <rml@novell.com>
12470 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12471 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12472 label "WEP 40/128-bit" is inconsistent because the physical key size
12473 is 40 or 104-bits, to which a 24-bit initialisation vector is
12474 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12475 to read "40/104" or "64/128". I do not care much which, but most
12476 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12477 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12478 WEP passphrase support only handles 128-bit keys, and any future
12479 64-bit passphrase support will require a new option (no way to auto-
12480 detect the target key size), explicitly label our passphrase support
12481 "WEP 128-bit Passphrase".
12483 2006-03-15 Robert Love <rml@novell.com>
12485 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12486 the system init scripts (or some other mechanism) starting it (or a
12487 compatible DBUS service) before NetworkManager runs. This means that
12488 distributions might need to update their init scripts. This fixes
12489 possible races and is quite a bit cleaner.
12490 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12491 starting the NetworkManager daemon.
12494 2006-03-14 Robert Love <rml@novell.com>
12496 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12497 before adding anything.
12499 2006-03-13 Robert Love <rml@novell.com>
12501 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12502 widgets, too, if they exist, in case the user hit the back button.
12503 Fixes a bug where the details page contains the widgets of multiple
12504 VPN modules (Novell bug #157048).
12506 2006-03-13 Robert Love <rml@novell.com>
12508 Patch by Timo Hoenig <thoenig@suse.de>:
12509 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12510 daemon survive DBUS restarts, too.
12512 2006-03-10 Robert Love <rml@novell.com>
12514 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12516 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12517 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12518 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12519 in response to "toggled" signal on new toggle.
12521 2006-03-10 Robert Love <rml@novell.com>
12523 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12524 serialization if strings are NULL, lest DBUS get angry.
12526 2006-03-10 Robert Love <rml@novell.com>
12528 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12530 2006-03-09 Robert Love <rml@novell.com>
12532 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12535 2006-03-09 Dan Williams <dcbw@redhat.com>
12537 Track pending call requests in the applet, and report how many are
12538 outstanding, and how long each completed one takes.
12540 * gnome/applet/applet-dbus-devices.c
12541 gnome/applet/applet-dbus-vpn.c
12542 - Track pending calls
12544 * gnome/applet/applet-dbus.[ch]
12545 - Remove some unused enums
12546 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12547 new functions to track dbus pending calls and spit out some
12548 statistics about them
12550 2006-03-09 Robert Love <rml@novell.com>
12552 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12553 nm_ap_set_timestamp() take the second and micro-second parameters as
12554 direct arguments, which avoids both a dynamic memory allocation and a
12555 structure-to-structure copy! Add a new interface, the aptly named
12556 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12557 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12558 the return from nm_ap_get_timestamp(). New users should use the new
12559 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12560 the extreme benefit to performance.
12561 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12562 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12564 2006-03-08 Robert Love <rml@novell.com>
12566 * gnome/applet/applet.glade: Hide the password entry text with
12569 2006-03-08 Robert Love <rml@novell.com>
12571 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12572 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12573 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12574 a second argument, NMData.
12575 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12576 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12577 config files as trusted.
12579 2006-03-06 Robert Love <rml@novell.com>
12581 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12582 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12583 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12584 Rivera, detect if the applet was auto-started. If so, ask the user
12585 if he or she would like to stop automatically running the applet on
12586 login. If so, disable autostart.
12588 2006-03-06 Robert Love <rml@novell.com>
12590 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12591 directory in CFLAGS so developers can actually use NetworkManager.h.
12593 2006-03-06 Robert Love <rml@novell.com>
12595 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12596 open-coded integer constants. Add state_to_string() to map a given
12597 state to a textual description, and provide that when notifying of
12599 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12600 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12601 this header directly, but it is currently not installed on most
12604 2006-03-05 Dan Williams <dcbw@redhat.com>
12606 Process netlink messages in device subclasses rather than in
12607 NetworkManager.c. Also add support for recognizing Wireless Events.
12610 - Find GLIB_GENMARSHAL
12613 - Since we're marshalling custom types for wireless event signals,
12614 we get to create our own marshallers using GLIB_GENMARSHAL
12616 * src/NetworkManager.c
12617 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12618 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12619 cut down somewhat. We no longer process signals here.
12620 - (nm_data_new): create the netlink monitor here, and remove a
12621 useless call to nm_policy_schedule_device_change_check()
12622 - (nm_data_free): get rid of the netlink monitor here
12623 - (nm_device_link_activated, nm_device_link_deactivated): removed
12624 - (main): don't create the netlink monitor here, let nm_data_new
12625 do that. Call nm_policy_schedule_device_change_check() right
12626 before we jump to the mainloop to figure out which device
12629 * src/NetworkManagerSystem.[ch]
12630 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12631 convert back and forth from interface names to interface
12634 * src/nm-device-802-11-wireless.c
12635 - (real_init): connect to wireless-event signals from the netlink
12637 - (nm_device_802_11_wireless_event): new function, schedule handler
12638 for wireless event signals from the netlink monitor object. We
12639 want the handler to run in the device's context
12640 - (wireless_event_helper): handle wireless-event signals from netlink
12641 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12644 * src/nm-device-802-11-wireless.h
12645 - remove unused prototype for nm_device_802_11_wireless_new
12647 * src/nm-device-802-3-ethernet.c
12648 - (real_init): new function; set up signal handlers for link events
12649 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12650 handler for netlink link activated events on device's main loop
12651 - (link_activated_helper): when we get a link activated event, set
12652 the device's link to be active
12653 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12654 handler for netlink link deactivated events on device's main loop
12655 - (link_deactivated_helper): when we get a link deactivated event, set
12656 the device's link to be inactive
12657 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12660 * src/nm-device-802-3-ethernet.h
12661 - remove unused prototype for nm_device_802_3_ethernet_new
12663 * src/nm-device.[ch]
12664 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12665 but locks the device list
12666 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12668 * src/nm-netlink-monitor.[ch]
12669 - (nm_netlink_monitor_class_install_signals): New signal
12671 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12673 - (nm_netlink_monitor_event_handler): expand for wireless events too
12675 * src/nm-marshal-main.c
12676 - Include generated nm-marshal.c and nm-marshal.h
12678 * src/nm-marshal.list
12679 - List of custom marshal functions
12681 2006-03-05 Dan Williams <dcbw@redhat.com>
12683 * gnome/applet/applet-notifications.h
12684 - Protect prototype of nma_send_event_notification() because it
12685 includes libnotify-specific types
12686 - Include libnotify/libnotify.h too, since we technically need it
12688 * gnome/applet/applet.c
12689 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12690 - (nma_show_vpn_login_banner_dialog): add some error checking
12692 2006-03-04 Dan Williams <dcbw@redhat.com>
12694 Clean up activation cancellation. Should be a lot faster now. Observed
12695 an issue with wireless devices between stage 2 and 3 of activation, where
12696 activation would be cancelled, but the device thread wouldn't notice until
12697 the supplicant association timed out. Reorganize activation such that
12698 a cancellation handler gets immediately scheduled in the device's thread,
12699 and devices have a chance to perform any custom cleanup too.
12701 * src/nm-device.[ch]
12702 - (activation_cancel_handler): new device-type-specific function
12703 for cleaning up device-type-specific stuff on cancellation
12704 - (cancel_activation): removed
12705 - (nm_device_activation_cancel): subsume functionality of
12706 real_cancel_activation, but instead of doing anything, punt
12707 operation to a handler that's run in device-thread context
12708 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12710 - (activation_handle_cancel_helper): cancellation handler run in
12711 device-thread context, calls device-type-specific cancelation,
12712 then tears down the activation request
12713 - (real_activation_cancel_handler): generic cancellation handler,
12714 deals with cancelling any in-process DHCP request
12715 - (nm_device_activate_stage1_device_prepare,
12716 nm_device_activate_stage2_device_config,
12717 nm_device_activate_stage3_ip_config_start,
12718 nm_device_activate_stage4_ip_config_get,
12719 nm_device_activate_stage4_ip_config_timeout,
12720 nm_device_activate_stage5_ip_commit): don't call
12721 nm_device_schedule_activation_handle_cancel() any more, since
12722 cancellation will have been already scheduled for us by
12723 nm_device_activation_cancel(). Just exit the function and
12724 assume that the cancel handler will be called next.
12726 * src/nm-device-802-3-ethernet.c
12727 - (real_act_stage2_config): remove; didn't do anything anyway
12729 * src/nm-device-802-11-wireless.c
12730 - (supplicant_status_cb): ensure we don't do anything if the activation
12732 - (real_activation_cancel_handler): implement; cancel user key request
12733 on activation cancellation
12735 2006-03-04 Dan Williams <dcbw@redhat.com>
12737 * src/nm-device-802-11-wireless.c
12738 - (supplicant_send_network_config): assume that drivers that don't
12739 support WPA pretty much suck, and can't handle NM scanning
12740 along with wpa_supplicant.
12742 2006-03-03 Robert Love <rml@novell.com>
12744 * configure.in: Bump version to 0.6.0.
12747 2006-03-03 Robert Love <rml@novell.com>
12749 * configure.in: Require DBUS 0.60 or later.
12751 2006-03-03 Dan Williams <dcbw@redhat.com>
12753 Fix a crash if an "Other wireless network" was chosen, failed, then
12754 chosen again from the applet's menu. If the other network wasn't
12755 noticed in a scan, it wouldn't have any capabilities, but would still
12756 be listed because the user forced the network. To fix this, we set
12757 sensible capabilities on the forced network, which will get overwritten
12758 with the correct ones if the network shows up later in a scan.
12760 * src/nm-ap-security.h
12761 - Add a new "get_default_capabilities_func" member to the
12764 * src/nm-ap-security.c
12765 - (nm_ap_security_get_default_capabilities): new function
12767 * src/nm-ap-security.c
12768 src/nm-ap-security-wep.c
12769 src/nm-ap-security-wpa-psk.c
12770 src/nm-ap-security-wpa-eap.c
12771 - Implement get_default_capabilities_func() for all, which
12772 uses the information contained in a specific NMAPSecurity
12773 object to determine default AP capabilites necessary
12774 to support that object
12776 As a secondary measure, we now prune artificial access points that fail
12777 to be activated right away. The thing failed, and we have no scan data for
12778 it, so it's pretty much useless since security information is only saved
12779 in the applets when a connection is successful.
12781 * src/NetworkManagerAPList.c
12782 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12783 not artificial. If we see it, it's no longer a figment of the
12784 user's imagination :)
12786 * src/NetworkManagerPolicy.c
12787 - (nm_policy_activation_failed): send along the failed AP if we
12790 * src/nm-device-802-11-wireless.c
12791 - (real_activation_failure_handler): remove artificial APs from
12792 the device list, because activation failed
12794 2006-03-02 Robert Love <rml@novell.com>
12796 Add support for retrieving both the per-device speed and the
12797 per-network maximum supported rate. Then change the getProperties
12798 DBUS API for both networks and devices to report this informaiton.
12799 Finally, display the information via both nm-applet and nm-tool:
12800 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12802 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12803 Information' dialog.
12804 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12805 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12806 network_device_get_speed() and network_device_set_speed() for
12807 retrieving and setting, respectively, a network device's current
12809 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12810 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12811 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12812 not matter (yet) what the units are, because we only feed it its own
12813 output. Implement SIOCGIRATE and set the per-network maximum
12814 supported rate during scanning.
12815 * src/nm-device-802-11-wireless.h: Export the function
12816 nm_device_802_11_wireless_get_bitrate().
12817 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12818 function nm_device_802_3_ethernet_get_speed() for returning an
12819 802.3's current speed, in Mb/s.
12820 * test/nm-tool.c: Display the per-device current speed, if available,
12821 and the per-network maximum rate.
12823 2006-03-02 Dan Williams <dcbw@redhat.com>
12825 * src/nm-device-802-11-wireless.c
12826 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12827 card when it gets initialized. Since devices don't get added to
12828 the scan list until they are initialized, this function wasn't
12829 setting the intitial scan interval correctly, and was leaving
12830 it at 0. This caused cards to get many scan requests in a short
12831 amount of time when they were initialized
12833 2006-03-02 Robert Love <rml@novell.com>
12835 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12836 active device. But do not do what we used to do and override the
12837 state, which caused the dreaded icon race of '05.
12839 2006-03-02 Robert Love <rml@novell.com>
12841 Commit Dan's update of my previous commit:
12842 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12843 set_mode() function itself does the check. But do only set the
12844 frequency if in Ad-Hoc mode.
12846 2006-03-02 Robert Love <rml@novell.com>
12848 Patch by Brian Magnuson <magnuson@rcn.com>:
12849 * src/nm-device-802-11-wireless.c: During scanning, only set the
12850 wireless mode to infrastructure if it is not currently in
12851 infrastructure mode. For some driver, setting the mode is a costly
12852 operation, apparently.
12854 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12856 * Makefile.am: use the correct dir for autostart mechanism.
12858 2006-02-28 Dan Williams <dcbw@redhat.com>
12860 Patch from Brian Magnuson <magnuson@rcn.com>
12861 * gnome/applet/applet.c
12862 - (nma_show_vpn_failure_dialog): fix errors left over from
12863 libnotify support changes
12865 2006-02-28 Dan Williams <dcbw@redhat.com>
12867 * src/vpn-manager/nm-vpn-act-request.[ch]
12868 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12870 - (nm_vpn_act_request_is_failed): new function; return whether or
12871 not the vpn activation request has failed
12873 * src/vpn-manager/nm-vpn-manager.c
12874 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12875 daemon to kill the connection when the activation request fails.
12876 Fixes issue where NM would get confused if the VPN activation
12877 request timed out, and would not allow further VPN connections
12880 2006-02-28 Dan Williams <dcbw@redhat.com>
12882 * gnome/applet/applet.c
12883 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12884 overlapping connection requests, disable all VPN menu items
12885 but the active VPN connection
12887 2006-02-28 Dan Williams <dcbw@redhat.com>
12889 * src/vpn-manager/nm-vpn-connection.c
12890 - (nm_vpn_connection_set_parent_device): fix C&P error which
12891 called g_object_unref() on the connection's parent device
12892 when it should have been ref-ed instead. Fixes crash with
12893 repeated vpn connect requests
12895 2006-02-28 Christopher Aillon <caillon@redhat.com>
12897 * gnome/applet/applet.glade:
12898 Mark a few strings non-translatable, since they shouldn't be.
12900 2006-02-28 Dan Williams <dcbw@redhat.com>
12902 * src/vpn-manager/nm-vpn-service.c
12903 - (nm_vpn_service_start_connection): if the vpn service daemon is
12904 already running, don't blindly ask it to connect, but wait until
12905 it's in the STOPPED state first. Fixes an assertion when user
12906 starts a second vpn connection without stopping the first.
12907 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12908 dbus service exists before continuing with the connection
12909 process, and reduce latency while waiting for it to become
12911 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12912 waiting for the vpn service daemon to become available
12913 - General log message cleanups; show progress via "Stage x of 4"
12914 rather than not telling anyone how many stages there are
12916 2006-02-28 Robert Love <rml@novell.com>
12918 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12919 * src/backends/NetworkManagerSuSE.c: Implement the interface
12920 nm_system_should_modify_resolv_conf() for SUSE.
12921 * src/backends/NetworkManagerDebian.c,
12922 src/backends/NetworkManagerGentoo.c,
12923 src/backends/NetworkManagerRedHat.c,
12924 src/backends/NetworkManagerSlackware.c: Add stub.
12925 * src/named-manager/Makefile.am: Grab includes from src.
12926 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12927 automatic updating of resolv.conf. This is useful for testing,
12928 broken static configurations, and administrator lock-down.
12930 2006-02-28 Dan Williams <dcbw@redhat.com>
12932 * src/nm-device-802-11-wireless.c
12933 - Move all the wpa_supplicant-related management stuff into its
12934 own struct, just for oranization's sake
12935 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12936 to a GIOChannel/GSource
12937 - (supplicant_log_stdout): new function; grab output from the
12938 wpa_supplicant stdout pipe and write it to our logs.
12940 2006-02-27 Christopher Aillon <caillon@redhat.com>
12942 * src/nm-device-802-11-wireless.c:
12943 Err, fix thinko in my previous commit.
12945 2006-02-28 Robert Love <rml@novell.com>
12947 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12949 2006-02-28 Robert Love <rml@novell.com>
12951 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12952 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12953 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12954 deserializers are responsible for freeing the returned DBUS strings.
12956 2006-02-27 Christopher Aillon <caillon@redhat.com>
12958 * src/nm-device-802-11-wireless.c:
12959 The scan list is being pruned prematurely. We should prune after
12960 the device has gone MIA for three scans, not one. Split out the
12961 interval to realtime seconds function to better serve this.
12963 2006-02-27 Robert Love <rml@novell.com>
12965 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12966 Open the pid file O_TRUNC, so if it already exists we truncate it to
12967 zero length. Also, be more verbose about warnings generated during
12968 writing out the pid file. Finally, always write out the pid file if
12969 in daemon mode. Use "--pid-file" to override the default.
12971 2006-02-27 Robert Love <rml@novell.com>
12973 Patch by R. Vinay <rvinay@novell.com>:
12974 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12975 'last_attempt_success' when removing a VPN connection, too. (Fixes
12976 Novell bug #153628).
12978 2006-02-27 Robert Love <rml@novell.com>
12980 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12981 entry so user can hit <ENTER> after entering passphrase (Novell bug
12984 2006-02-27 Dan Williams <dcbw@redhat.com>
12987 - Mass search/replace of:
12989 NMWirelessApplet -> NMApplet
12990 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12991 (it ain't just for wireless anymore, ma!)
12992 - Fix duplicate function name printing when using nm_warning
12993 - wireless-applet.glade -> applet.glade
12995 2006-02-27 Dan Williams <dcbw@redhat.com>
12997 * dispatcher-daemon/NetworkManagerDispatcher.c
12998 - Accept --pid-file with a path to a pidfile, write it out on
12999 startup, and delete it on shutdown
13001 * src/NetworkManager.c
13002 - Accept --pid-file with a path to a pidfile, write it out on
13003 startup, and delete it on shutdown
13004 - Move nm_print_usage() lower
13006 * initscripts/RedHat/NetworkManager.in
13007 - Use new --pid-file option
13008 - Fix service stopping to wait a bit for NM to quit
13010 * initscripts/RedHat/NetworkManagerDispatcher.in
13011 - Use new --pid-file option
13013 2006-02-26 Dan Williams <dcbw@redhat.com>
13016 - make and install nm-crash-logger
13018 * src/nm-logging.[ch]
13019 - New files; consolidate logging and crash handling
13021 * src/nm-crash-logger.c
13023 - Standalong crashlogger for NM, grab a backtrace
13026 * src/NetworkManager.[ch]
13027 - Remove signal handling and put it into nm-logging.c
13029 2006-02-26 Dan Williams <dcbw@redhat.com>
13032 gnome/applet/Makefile.am
13033 - Conditionalize all the notify stuff
13035 Merge most of Chris Aillon's notification patch:
13037 * gnome/applet/applet-notifications.[ch]
13038 - New files; show a notification
13040 * gnome/applet/applet-dbus-devices.[ch]
13041 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
13042 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
13043 new functions, do the right thing when a device change occurs
13045 * gnome/applet/applet-dbus.c
13046 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
13047 signals, so we can handle them specially
13049 * gnome/applet/applet.[ch]
13050 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
13051 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
13052 - (nmwa_notify_state): remove
13053 - (nmwa_update_state); remove call to nmwa_notify_state, since the
13054 notification work is now done when the appropriate dbus signals
13056 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
13057 defer execution of the notification/dialog stuff. That was an
13058 artifact of the previous multi-threaded nature of the applet
13059 and is now pointless.
13060 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
13061 no longer needed. Function folded into applet-notifications.c
13063 * src/NetworkManagerPolicy.c
13064 - (nm_policy_activation_finish): send the AP along with the device
13065 status change signal, if the connection is wireless. Should
13066 fix the race where applet would show a connection to "unknown"
13068 2006-02-25 Robert Love <rml@novell.com>
13070 Add WPA Enterprise support:
13071 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
13072 nm-gconf-wso-wpa-eap.h.
13073 * gnome/applet/nm-gconf-wso-wpa-eap.c,
13074 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
13075 serialization and deserialization.
13076 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13077 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
13078 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
13079 * gnome/applet/wireless-applet.glade: Add UI for configurating security
13080 settings related to WPA Enterprise.
13081 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
13082 instantiate WPA Enterprise wireless-security-option.
13083 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
13084 Implement WPA Enterprise wireless-security-option object.
13085 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
13087 * libnm-util/cipher-wpa-psk-hex.c,
13088 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
13089 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
13090 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
13091 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
13092 including the cipher to DBUS method, and
13093 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
13095 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
13096 nm-ap-security-wpa-eap.h
13097 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
13098 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
13099 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
13100 files. Implement NMAPSecurityWPA_EAP object.
13101 * src/nm-ap-security-wpa-psk.c: Cleanup.
13102 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
13103 an NMAPSecurityWPA_EAP object via the method
13104 nm_ap_security_wpa_eap_new_deserialize().
13105 * src/nm-dbus-nm.c: Cleanup.
13106 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
13107 WPA Enterprise support.
13109 2006-02-24 Robert Love <rml@novell.com>
13111 Patch from Timo Hoenig <thoenig@suse.de>:
13112 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
13114 2006-02-24 Robert Love <rml@novell.com>
13116 Patch from Dan Winship <danw@novell.com>:
13117 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
13118 area to transparent.
13120 2006-02-21 Dan Williams <dcbw@redhat.com>
13122 * gnome/applet/applet.[ch]
13123 gnome/applet/applet-dbus.c
13124 - Implement notification support for VPN messages too
13126 2006-02-21 Dan Williams <dcbw@redhat.com>
13128 * gnome/applet/applet-dbus-info.c
13129 - Clean up warning messages to not double-print the function
13131 2006-02-21 Dan Williams <dcbw@redhat.com>
13133 * gnome/applet/applet-compat.c
13134 - (convert_one_entry): accept entries without a key_type and
13135 convert them to unencrypted networks
13137 2006-02-21 Dan Williams <dcbw@redhat.com>
13139 * gnome/libnm_glib/libnm_glib.c
13140 - Use __func__ everywhere we can
13142 - Use dbus pending calls rather than blocking
13143 - Reduce busywaits for our thread to start and stop
13144 (gnome.org #330562)
13145 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13146 stomp on others using the default shared dbus connection.
13147 Fixes #rh177546# and gnome.org #326572
13149 2006-02-21 Dan Williams <dcbw@redhat.com>
13151 Patch from Rodney Dawes <dobey@novell.com>
13153 gnome/applet/Makefile.am
13154 gnome/applet/applet.c
13155 - Add libnotify support if '--enable-notify=yes' is passed
13158 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13160 * configure.in (ALL_LINGUAS): ko added. (Korean)
13162 2006-02-15 Robert Love <rml@novell.com>
13164 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13165 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13166 and WPA_SUPPLICANT_CONTROL_SOCKET.
13168 2006-02-15 Robert Love <rml@novell.com>
13170 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13171 information about what connection stage we are at, provide the total
13172 number of stages, e.g. "Stage 2 of 5", so users know how far along
13173 they are if they experience problems.
13175 2006-02-15 Robert Love <rml@novell.com>
13177 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13178 define to $sysconfdir.
13179 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13180 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13181 type of VPN and then editing another results in a mangled dialog
13182 box containing the widgets from both VPNs (fixes Novell #150854).
13183 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13185 2006-02-14 Robert Love <rml@novell.com>
13187 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13188 syslog's file descriptor.
13190 2006-02-14 Robert Love <rml@novell.com>
13192 Fix bug around since the change to "deal with APs changing settings on
13193 us," checked in on the fifth of February in the year of the dog,
13194 wherein connecting to non-broadcast encrypted networks always fails
13195 because nm_ap_get_encrypted() always returns FALSE, even when the user
13196 provided a key, because the newly-created fake AP does not have any
13197 capabilities set, which is a sypmtom of security settings not matching
13198 capabilities (Novell bug #150784):
13199 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13200 nm_ap_add_capabilities_from_security(), which sets the given AP's
13201 capabilities off the given security settings. Also improve our
13202 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13203 NM_AUTH_CIPHER_AUTO.
13204 * src/nm-device-802-11-wireless.c: Call the function
13205 nm_ap_add_capabilities_from_security() to ensure that capabilities
13206 match newly updated security settings.
13208 2006-02-14 Robert Love <rml@novell.com>
13210 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13211 error as a string, not an integer, if possible; do not print the
13212 function name twice; always give the interface, if possible; misc.
13215 2006-02-12 Dan Williams <dcbw@redhat.com>
13217 Patch from Tom Parker <palfrey@tevp.net>
13218 * src/NetworkManagerSystem.h
13219 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13222 * src/backends/NetworkManagerDebian.c
13223 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13226 2006-02-12 Dan Williams <dcbw@redhat.com>
13228 * vpn-daemons/openvpn/intltool-extract.in
13229 vpn-daemons/openvpn/intltool-merge.in
13230 vpn-daemons/openvpn/intltool-update.in
13231 vpn-daemons/pptp/intltool-extract.in
13232 vpn-daemons/pptp/intltool-merge.in
13233 vpn-daemons/pptp/intltool-update.in
13234 - Remove from CVS, they should get created by intltoolize,
13237 2006-02-12 Dan Williams <dcbw@redhat.com>
13239 * vpn-daemons/pptp/src/pppd/patchlevel.h
13240 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13241 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13242 Makefile-defined VERSION
13244 2006-02-09 Dan Williams <dcbw@redhat.com>
13246 Patch from: Vinay A R <rvinay@novell.com>
13247 * src/vpn-manager/nm-vpn-act-request.[ch]
13248 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13249 IPSec VPNs require them for std gateway.
13250 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13251 and 'user_routes_count'
13252 - (nm_vpn_act_request_get_user_routes): new function; gets user
13253 defined routes from NMVPNActRequest object, returns the string
13256 * src/vpn-manager/nm-vpn-manager.[ch]
13257 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13258 for 'user_routes' and 'user_routes_count'
13260 * src/vpn-manager/nm-dbus-vpn.c
13261 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13262 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13264 * src/vpn-manager/nm-vpn-service.c
13265 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13268 Modifications by Dan:
13269 * src/vpn-manager/nm-vpn-service.c
13270 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13273 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13274 * vpn-daemons/pptp/src/nm-pptp-service.c
13275 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13276 - Grab user routes from dbus message
13277 - Free all string arrays we got from dbus
13279 2006-02-07 Robert Love <rml@novell.com>
13281 Patch by Stefan Seyfried <seife@suse.de>:
13282 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13284 2006-02-06 Robert Love <rml@novell.com>
13286 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13288 2006-02-06 Robert Love <rml@novell.com>
13290 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13291 test ">=" is never false. If no newline is found, we loop forever.
13292 We can just check for ">" because the following if() will see the
13293 zero-th argument if the while() gets that far.
13295 2006-02-05 Dan Williams <dcbw@redhat.com>
13297 Refine handling of non-broadcast networks.
13299 * src/NetworkManagerAPList.c
13300 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13301 property from scanned AP to the AP from the device list
13303 * src/nm-device-802-11-wireless.c
13304 - (supplicant_send_network_config): use ap_scan=1 for all networks
13305 except non-SSID-broadcasting and Ad-Hoc networks. Use
13306 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13307 networks since those don't have APs.
13308 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13309 AP as non-SSID-broadcasting
13310 - (process_scan_results): don't handle non-SSID-broadcasting here
13312 2006-02-05 Dan Williams <dcbw@redhat.com>
13314 * src/nm-device-802-11-wireless.c
13315 - (get_supplicant_timeout): new function; return
13316 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13317 14 channels. These are likely a/b/g cards, like Atheros, and
13318 slow as hell to scan.
13319 - (supplicant_timeout_cb, supplicant_monitor_start): use
13320 get_supplicant_timeout()
13322 2006-02-05 Dan Williams <dcbw@redhat.com>
13324 * src/dhcp-manager/nm-dhcp-manager.c
13325 - Loose a commit race with Robert; make sure size check
13326 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13328 2006-02-05 Robert Love <rml@novell.com>
13330 Patch by Christoph Brill <chrisbrill@gmx.net>:
13331 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13332 with DHCP_SERVICE_NAME.
13334 2006-02-05 Dan Williams <dcbw@redhat.com>
13336 Remove anything having to do with device_setup_func from the
13337 AP security objects, since it's no longer used.
13339 * src/nm-ap-security.h
13340 - Kill device_setup_func and nm_ap_security_device_setup()
13342 * src/nm-ap-security-wep.c
13343 src/nm-ap-security-wpa-psk.c
13344 - (real_device_setup): remove
13346 * src/nm-ap-security.c
13347 - (real_device_setup): remove
13348 - (nm_ap_security_device_setup): remove
13350 * src/nm-device-802-11-wireless.[ch]
13351 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13352 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13353 and done by wpa_supplicant now anyway
13355 2006-02-05 Dan Williams <dcbw@redhat.com>
13357 * src/nm-device-802-11-wireless.c
13358 - (ap_need_key, real_act_stage2_config): deal with APs changing
13359 settings on us. Previously NM would loop asking for the
13360 key but getting the same one back. Now, if the NMI-supplied
13361 cipher doesn't overlap with the scanned AP capabilities,
13362 we request a completely new key from the user.
13364 2006-02-05 Dan Williams <dcbw@redhat.com>
13366 * src/NetworkManagerUtils.c
13367 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13368 Handle newline killing better
13370 2006-02-05 Dan Williams <dcbw@redhat.com>
13372 * gnome/applet/nm-gconf-wso.c
13373 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13374 of unencrypted access point security info.
13376 2006-02-03 Robert Love <rml@novell.com>
13378 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13379 user's encryption key, so we print the err_msg_cmd not the command,
13380 if available. So long as SUPPLICANT_DEBUG is default, this makes
13383 2006-02-03 Christopher Aillon <caillon@redhat.com>
13385 * initscript/RedHat/NetworkManagerDispatcher.in:
13386 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13387 Patch from Dan Walsh <dwalsh@redhat.com>
13389 2006-02-03 Robert Love <rml@novell.com>
13391 * dispatcher-daemon/NetworkManagerDispatcher.c,
13392 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13393 but use the sysconfdir.
13395 2006-02-03 Robert Love <rml@novell.com>
13397 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13398 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13400 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13401 nm_ip4_config_get_hostname() and
13402 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13403 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13404 leak g_strdup() result.
13406 2006-02-03 Robert Love <rml@novell.com>
13408 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13409 broadcast == TRUE. Also, copy broadcast and artificial properties
13410 from source network to destination in nm_ap_copy().
13411 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13412 since we now default new networks to non-hidden.
13414 2006-02-03 Dan Williams <dcbw@redhat.com>
13416 * gnome/applet/main.c
13417 - (main): change the NEVER->ALWAYS so we start at the
13418 beginning of the session, if being session-managed
13420 2006-02-03 Dan Williams <dcbw@redhat.com>
13422 * gnome/applet/main.c
13423 - (main): in a variation on Robert's patch, change
13424 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13427 2006-02-02 Robert Love <rml@novell.com>
13429 * src/Makefile.am: If we aren't going to create the run directory at,
13430 uh, run-time, create it during install. Then users just doing
13431 'make install' are cool, too. While we are here, create the
13432 dispatcher.d directory, too.
13433 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13434 the exact run directory.
13435 * Makefile.am: Install nm-applet.desktop.
13437 2006-02-02 Robert Love <rml@novell.com>
13439 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13440 structure, which denotes whether or not the AP is hidden. This is a
13441 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13442 can show up in the scan list. Add nm_ap_get_broadcast() and
13443 nm_ap_set_broadcast() accessor interfaces.
13444 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13445 nm_ap_set_broadcast().
13446 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13447 "getProperties" method, which denotes whether or not the given
13449 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13450 an artificial network. Set broadcast to TRUE when scanning returns
13451 an ESSID and FALSE when not.
13452 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13453 from "getProperties" method on a network. Possible TODO is to
13454 somehow display this.
13455 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13457 2006-02-02 Dan Williams <dcbw@redhat.com>
13459 * src/nm-device-802-11-wireless.c
13460 - (supplicant_interface_init): don't try to create
13461 /var/run/NetworkManager, since that should be done by
13462 the distro package. Causes problems for stuff like SELinux
13464 2006-02-02 Robert Love <rml@novell.com>
13466 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13467 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13468 Check for and handle empty string for iface.
13470 2006-02-01 Robert Love <rml@novell.com>
13472 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13475 2006-01-31 Dan Williams <dcbw@redhat.com>
13477 * nm-applet.desktop
13478 - Add --sm-disable to Exec arguments, presuming that when
13479 using autostart, we don't want session management
13481 2006-01-31 Robert Love <rml@novell.com>
13483 * src/NetworkManagerAP.c: Add two new manufacturer default network
13484 names: linksys-a and linksys-g. These are found (at least) on the
13485 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13488 2006-01-31 Robert Love <rml@novell.com>
13490 * src/NetworkManagerAP.c: Optimize the function
13491 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13492 machine code. This is the first in a series of code tweaks aiming to
13493 generate better machine code and make NetworkManager all the better.
13494 Just kidding. Who has time to go through the assembly generated for
13495 every function? I certainly don't. I have a wife, a kid, a job,
13496 a mortgage, a mistress. But this function was so bad, I was called
13497 to arms. Like the book.
13499 2006-01-31 Robert Love <rml@novell.com>
13501 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13502 AP is not broadcasting, to scan with probe request frames. Required
13503 for non-broadcast networks.
13505 2006-01-31 Robert Love <rml@novell.com>
13507 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13508 preprocessor define (still 20s). Fix message text in nm_info()
13509 s/too too/took too/.
13511 2006-01-30 Dan Williams <dcbw@redhat.com>
13513 * src/nm-device-802-11-wireless.c
13514 - (supplicant_monitor_start): increase connect/auth timeout to
13515 20 seconds from 10 seconds
13517 2006-01-30 Dan Williams <dcbw@redhat.com>
13520 - Define LOCALSTATEDIR
13522 * src/nm-device-802-11-wireless.c
13523 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13524 socket where we want it to
13526 * src/wpa_ctrl.[ch]
13527 - (wpa_ctrl_open): accept location to put local control socket
13529 2006-01-30 Robert Love <rml@novell.com>
13531 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13532 get_ip4_string() for "domain_name".
13534 2006-01-30 Robert Love <rml@novell.com>
13536 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13537 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13538 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13539 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13540 support for "Automatic" pairwise and group cipher configuration by
13541 letting wpa_supplicant handle the details. Add UI elements, new
13542 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13543 charm. Note this does more than add a nice feature, it fixes a bug.
13544 Apparently, some people have AP's where the pairwise cipher does not
13545 match the group cipher. Insane, but true.
13547 2006-01-30 Dan Williams <dcbw@redhat.com>
13549 * gnome/applet/applet-dbus-devices.c
13550 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13551 functions, grab device driver name from NetworkManager
13552 - (nmwa_dbus_device_properties_cb): call functions to get driver
13554 * gnome/applet/applet.c
13555 - (nmwa_update_info): show driver name in Connection Information
13558 * gnome/applet/nm-device.[ch]
13559 - (network_device_get_driver, network_device_set_driver): add
13560 accessors for driver name
13562 * gnome/applet/wireless-applet.glade
13563 - Add line for driver name to Connection Information dialog
13565 * src/nm-dbus-device.c
13566 - (nm_dbus_device_get_driver): new function to return driver name
13567 - (nm_dbus_device_methods): hook up driver name function to dbus
13570 - (get_driver_name): new function
13571 - (detail_device): grab and show driver name
13573 2006-01-30 Robert Love <rml@novell.com>
13575 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13576 does not parse the markup if it is not part of the format.
13578 2006-01-30 Robert Love <rml@novell.com>
13580 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13581 FALSE, we have no security options for this dialog, so we throw up
13582 an error dialog instead of a broken passphrase dialog. Fixes
13584 * gnome/applet/wireless-security-manager.c,
13585 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13586 does not add any security options, not even NONE, print a warning
13587 and return FALSE. This let's functions constructing a dialog bail
13588 out if the device's capabilities and the network's requirements have
13591 2006-01-27 Robert Love <rml@novell.com>
13593 * configure.in: Require wpa_supplicant. Detect location of binary and
13594 use it. Override with "--with-wpa_supplicant=foo".
13595 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13596 path to wpa_supplicant but use the auto-detected or user-provided
13597 value from configure.
13599 2006-01-27 Robert Love <rml@novell.com>
13601 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13602 but the DHCP server did not return a hostname, try to look up our
13603 name via DNS and set the system hostname to that.
13605 2006-01-27 Dan Williams <dcbw@redhat.com>
13607 * src/backends/NetworkManagerRedHat.c
13608 - Add NM_CONTROLLED system network script support for RH/Fedora
13610 2006-01-27 Dan Williams <dcbw@redhat.com>
13612 * src/backends/NetworkManagerGentoo.c
13613 - (nm_system_device_get_disabled): add missing function.
13616 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13618 * configure.in: Added vi in ALL_LINGUAS line.
13620 2006-01-26 Robert Love <rml@novell.com>
13622 * src/Makefile.am, src/kernel-types.h: Now that two different source
13623 files are feeling the crack-addled leakage of kernel types such as
13624 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13625 types in user-space -- define a header and include it as needed.
13626 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13627 * src/nm-device-802-3-ethernet.h: Remove defines.
13628 * src/wpa.c: Remove defines and include kernel-types.h.
13630 2006-01-26 Robert Love <rml@novell.com>
13632 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13635 2006-01-26 Robert Love <rml@novell.com>
13637 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13638 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13639 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13640 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13641 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13642 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13643 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13644 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13645 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13646 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13647 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13648 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13649 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13650 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13651 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13652 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13653 Kill unused variables, labels, and static functions. Don't pass
13654 string literals as the format string for printf-like functions.
13656 2006-01-25 Dan Williams <dcbw@redhat.com>
13658 * gnome/applet/wireless-applet.glade
13659 - Remove WPA2 Checkbox
13661 * gnome/applet/wireless-security-manager.c
13662 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13663 This means the Wireless Security menu now has two WPA options,
13664 one for "WPA Personal" and one for "WPA2 Personal"
13666 * gnome/applet/wso-wpa-psk.[ch]
13667 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13668 'wpa2' argument to determine WPA version to use
13669 - (append_dbus_params_func): pass stored WPA version to cipher
13670 rather than using the (removed) checkbox
13672 2006-01-24 Robert Love <rml@novell.com>
13674 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13675 before we g_strdup(), not the ultimate string.
13677 2006-01-23 Dan Williams <dcbw@redhat.com>
13679 * src/NetworkManagerAP.[ch]
13680 - (nm_ap_new_from_ap): copy original essid too
13681 - (nm_ap_unref): free original essid
13682 - (nm_ap_get_orig_essid): new function
13683 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13684 but keep original essid around too
13686 * src/nm-device-802-11-wireless.c
13687 - (supplicant_send_network_config): send wpa_supplicant the
13688 _original_ essid, and not as a string, but in hex. Should
13689 allow us to connect to more APs that use wierd character
13690 encodings for their essids
13692 * utils/nm-utils.[ch]
13693 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13694 to UTF-8. If it's not already valid UTF-8, we check LANG and
13695 use the current locale as a hint for what encoding the essid
13696 might be in. Obviously not 100% accurate, but the idea here is
13697 that if a user's locale is ex. ja_JP, they are more likely than
13698 not to be in Japan, where access points will likely be in some
13701 2006-01-23 Dan Williams <dcbw@redhat.com>
13703 * libnm-util/cipher-private.h
13704 libnm-util/cipher.c
13705 libnm-util/cipher.h
13706 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13708 2006-01-23 Robert Love <rml@novell.com>
13710 Patch by Timo Hoenig <thoenig@suse.de>:
13711 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13712 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13713 by DHCP and pass it to the backends, allowing distribution-specific
13714 behavior with respect to the DHCP-supplied hostname (if nothing else,
13715 some distributions might not want to set the hostname).
13716 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13717 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13718 Also update our NIS behavior.
13719 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13720 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13721 Add stub functions.
13723 2006-01-23 Robert Love <rml@novell.com>
13725 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13726 gnome-session does autostart. TODO: We need to install this to
13727 $prefix/share/autostart/.
13729 2006-01-22 Dan Williams <dcbw@redhat.com>
13731 * src/NetworkManagerAP.[ch]
13733 src/nm-device-802-11-wireless.c
13734 - Make nm_ap_get_essid return "const char *"
13736 2006-01-22 Dan Williams <dcbw@redhat.com>
13738 * src/NetworkManagerAP.[ch]
13739 - (nm_ap_get_matched, nm_ap_set_matched): remove
13741 * src/NetworkManagerAPList.[ch]
13742 - (nm_ap_list_diff): removed
13743 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13744 deal with access points changing essids on us
13746 * src/nm-device-802-11-wireless.c
13747 - (add_new_ap_to_device_list): move AP dbus signal logic to
13748 src/NetworkManagerAPList.c
13749 - (real_can_interrupt_activation): new function; allow interruption
13750 of device activation if we are waiting for a network key
13752 * src/NetworkManagerPolicy.c
13753 - (nm_policy_device_change_check): allow interruption of currently
13754 activating devices if the device allows it. Previous behavior
13755 would refuse to activate a just-plugged wired device if a
13756 wireless device was waiting for a key.
13758 * src/nm-device.[ch]
13759 - (nm_device_can_interrupt_activation): new function; ask devices
13760 whether their activation can be interrupted
13762 2006-01-20 Robert Love <rml@novell.com>
13764 * Makefile.am, configure.in: Add new man subdirectory.
13765 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13766 man/Makefile.am: Add man pages for NetworkManager and its
13767 crime-solving bumbling buddy, NetworkManagerDispatcher.
13768 * man/.cvsignore: Add.
13769 * initscript/Debian/NetworkManager,
13770 initscript/Gentoo/NetworkManager.in,
13771 initscript/RedHat/NetworkManager.in,
13772 initscript/RedHat/NetworkManagerDispatcher.in,
13773 initscript/SUSE/networkmanager-dispatcher.in,
13774 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13776 2006-01-20 Robert Love <rml@novell.com>
13778 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13779 instead of queuing. This prevents the running of multiple NM
13780 daemons concurrently, which does not work whatsoever and results in
13781 neither daemon working correctly. Also, we don't handle queuing and
13782 name-owner-changes, anyhow.
13784 2006-01-20 Robert Love <rml@novell.com>
13786 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13787 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13790 2006-01-19 Robert Love <rml@novell.com>
13792 * configure.in: Require hal 0.5.0 or later.
13794 2006-01-18 Robert Love <rml@novell.com>
13796 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13797 Allow backends to flag a device (in whatever distro-dependent way
13798 they so desire) as disabled. NM will ignore any such device.
13799 * src/backends/NetworkManagerDebian.c,
13800 src/backends/NetworkManagerRedHat.c,
13801 src/backends/NetworkManagerSlackware.c: Add stub function
13802 nm_system_device_get_disabled() that always returns FALSE (enabled).
13803 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13804 SUSE-specific configuration structure. Fill it in from the
13805 NM_CONTROLLED variable in the system networking scripts. If this var
13806 exists and is "no", we ignore the device.
13808 2006-01-17 Robert Love <rml@novell.com>
13810 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13811 identical for NM. For a full discussion, see the thread at
13812 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13814 2006-01-17 Dan Williams <dcbw@redhat.com>
13817 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13818 function. Fixes crash when wired DHCP fails.
13820 2006-01-16 Robert Love <rml@novell.com>
13822 * src/Makefile.am: Don't install NMLoadModules
13823 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13824 from src/ to test/ as no one uses it anymore. Note that I would be
13825 fine with removing it altogether.
13827 2006-01-16 Robert Love <rml@novell.com>
13829 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13830 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13831 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13832 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13833 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13834 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13835 declarations, ever.
13836 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13837 NM_STATE_DISCONNECTED is zero).
13839 2006-01-16 Robert Love <rml@novell.com>
13841 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13842 uninitialized parameter and buffer overflow. Novell #143496.
13844 2006-01-16 Dan Williams <dcbw@redhat.com>
13846 Apply the PtP Address bits of a patch from Tim Niemueller
13848 * src/nm-ip4-config.[ch]
13849 - Add ip4_ptp_address member to object
13850 - (nm_ip4_config_copy): copy ptp address too
13851 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13853 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13854 rather than local tunnel ip address
13856 * src/vpn-manager/nm-vpn-service.c
13857 - (print_vpn_config): update for PtP address
13858 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13859 DBusMessageIters in preparation for getting routes from the VPN
13860 service daemons too
13862 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13863 - (send_config_info): update for PtP address, clean up code
13864 - (main): update for PtP address, clean up code, fix typo
13866 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13867 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13869 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13870 - (pptp_ip_up): update for PtP address
13872 * vpn-daemons/pptp/src/nm-pptp-service.c
13873 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13875 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13876 - (print_vpn_config): update for PtP address
13877 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13879 2006-01-16 Dan Williams <dcbw@redhat.com>
13881 * gnome/applet/applet.c
13882 - (nmwa_add_networks_helper): don't indicate an active network
13883 if NM is disconnected or asleep
13885 2006-01-16 Dan Williams <dcbw@redhat.com>
13887 * src/NetworkManagerPolicy.c
13888 - (nm_policy_device_change_check): switch devices if we lose the link
13889 on an ethernet device.
13891 2006-01-16 Dan Williams <dcbw@redhat.com>
13893 * gnome/applet/wso-wpa-psk-hex.[ch]
13894 - Renamed -> wso-wpa-psk.[ch]
13896 * gnome/applet/wso-wpa-psk.[ch]
13899 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13900 - Removed, rolled into wso-wpa-psk.[ch]
13902 * gnome/applet/Makefile.am
13903 - Updated for above changes
13905 * gnome/applet/wireless-applet.glade
13906 - Consolidate WPA-PSK options into one notebook
13907 widget, and make dialogs invisible by default
13908 to fix screen oddities
13910 * gnome/applet/wireless-security-manager.c
13911 - (wsm_set_capabilities): create the new wpa-psk widget rather
13912 than both the old hex & passphrase ones
13914 2006-01-16 Dan Williams <dcbw@redhat.com>
13916 * gnome/applet/other-network-dialog.c
13917 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13919 2006-01-16 Dan Williams <dcbw@redhat.com>
13921 * gnome/applet/applet.c
13922 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13923 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13924 prevention to realize window before trying to get server
13927 * gnome/applet/other-network-dialog.c
13928 - (nmwa_other_network_dialog_run): fix up focus-stealing
13929 prevention to realize window before trying to get server
13932 * gnome/applet/passphrase-dialog.c
13933 - (nmi_passphrase_dialog_new): fix up focus-stealing
13934 prevention to realize window before trying to get server
13937 2006-01-16 Robert Love <rml@novell.com>
13939 Patch from Timo Hoenig <thoenig@suse.de:
13940 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13941 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13942 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13943 libnm-util/dbus-helpers.h: add checks whether headers are used
13944 within a C++ build.
13946 2006-01-16 Dan Williams <dcbw@redhat.com>
13948 * gnome/applet/wireless-security-option.c
13949 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13951 2006-01-16 Dan Williams <dcbw@redhat.com>
13953 * libnm-util/cipher-wpa-psk-passphrase.c
13954 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13955 be 8 - 63 characters inclusive
13957 2006-01-16 Dan Williams <dcbw@redhat.com>
13960 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13962 2006-01-13 Robert Love <rml@novell.com>
13964 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13965 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13966 modules that do not use an interface.
13968 2006-01-13 Dan Williams <dcbw@redhat.com>
13972 - Allow subclasses to implement deactivate_quickly()
13973 - (nm_device_deactivate_quickly): call subclass
13974 deactivate_quickly() methods
13975 - (nm_device_set_active_link): small cleanups, and don't
13976 deactivate the device right away because we risk a deadlock
13977 when called from device thread, waiting for the device
13978 thread to cancel activation
13980 * src/nm-device-802-11-wireless.c
13981 - (real_deactivate_quickly): new function
13982 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13983 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13984 so that we kill the supplicant when we sleep too
13985 - (supplicant_interface_init): work around naive naming attempts of
13986 wpa_ctrl when naming sockets
13988 2006-01-13 Dan Williams <dcbw@redhat.com>
13990 * src/nm-device-802-11-wireless.c
13991 - (supplicant_cleanup): delete old device control sockets too
13992 - (supplicant_get_device_socket_path): new function to consolidate
13993 locations that need a path to a device's control socket
13995 2006-01-12 Robert Love <rml@novell.com>
13997 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13998 description so that the description is unique for each
13999 pair (device,provider). Fixes Novell #142773.
14001 2006-01-12 Dan Williams <dcbw@redhat.com>
14003 * src/nm-device-802-11-wireless.c
14004 - (supplicant_exec): ensure GError is correctly initialized
14005 Reported by Diego González (gnome.org #326708)
14007 2006-01-11 Robert Love <rml@novell.com>
14009 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
14010 define if_mii(), open code the same results, and do so without any
14013 2006-01-11 Robert Love <rml@novell.com>
14015 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
14016 that wso_foo_new() returned non-NULL. Instead, only append the new
14017 wso to wsm->options if the wso is non-NULL. The crux is that we
14018 assume that the relevant key types are implied by WEP and WPA as
14019 appropriate. To be sure, they should be, but we should not expect
14020 drivers to not be oozing piles of wolf fecal matter.
14022 2006-01-11 Robert Love <rml@novell.com>
14024 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
14025 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
14026 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14027 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
14028 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
14029 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
14030 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
14031 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
14032 comparing values within DBL_EPSILON. Also fix shadowed variable
14035 2006-01-11 Dan Williams <dcbw@redhat.com>
14037 Add options for WPA2 and WPA1+CCMP (AES).
14039 * gnome/applet/wireless-applet.glade
14040 - Add UI bits for WPA+CCMP
14042 * gnome/applet/other-network-dialog.c
14043 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
14044 and don't allow creation of WPA2 Ad-Hoc networks since
14045 wpa_supplicant doesn't support them
14047 * gnome/applet/wireless-security-manager.c
14048 - (wsm_set_capabilities): Add WPA2 options, and pass capability
14049 on to the specific wireless security option being created
14051 * gnome/applet/wireless-security-option.[ch]
14052 - (wso_wpa_create_key_type_model): new utility function to create
14053 the model required for WPA Key Type combo box
14055 * gnome/applet/wso-private.h
14056 gnome/applet/wireless-security-option.h
14057 - Move private function prototypes into wso-private.h
14059 * gnome/applet/wso-wpa-psk-hex.[ch]
14060 gnome/applet/wso-wpa-psk-passphrase.[ch]
14061 - (append_dbus_params_func): get WPA version from checkbox and pass
14062 it to the dbus serialization helper
14063 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
14064 key type combo changes
14065 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
14068 * libnm-util/cipher-wpa-psk-hex.c
14069 libnm-util/cipher-wpa-psk-passphrase.c
14070 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
14071 new function; allow the cipher to be changed after object creation
14073 * src/nm-ap-security-wpa-psk.c
14074 - (set_description): Do WPA2 descriptions too
14076 * src/nm-ap-security.c
14077 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
14079 2006-01-11 Robert Love <rml@novell.com>
14081 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
14082 is defined in <linux/mii.h> to return the mii_ioctl_data structure
14083 from the ifreq structure in lieu of an open coded solution. Removes
14084 a life-threatening type-punning.
14085 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
14086 types, ever, whatsoever, baby.
14088 2006-01-11 Robert Love <rml@novell.com>
14090 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
14091 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
14092 assignments to applet->nm_state into a new nmwa_set_state() function
14093 for both cleanliness and to help debugging.
14095 2006-01-10 Robert Love <rml@novell.com>
14097 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
14098 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
14099 seconds, exclusive. That is, we want to sleep x seconds such that
14102 2006-01-10 Robert Love <rml@novell.com>
14104 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
14105 the attr fields according to the example in the email available at
14106 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
14107 Conversely, we do have to free 'name', so we do so, fixing a leak.
14109 2006-01-10 Robert Love <rml@novell.com>
14111 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
14112 sure that we close the socket!
14114 2006-01-10 Robert Love <rml@novell.com>
14116 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
14117 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
14118 src/nm-device.c: Fix a FIXME! Reimplement the function
14119 nm_device_update_hw_address() in device subclass variants,
14120 nm_device_802_3_ethernet_set_address() and
14121 nm_device_802_11_wireless_set_address(), hook them up, and use them.
14122 This fixes the existing bug where MAC addresses are all zeros.
14124 2006-01-10 Robert Love <rml@novell.com>
14126 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14127 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14128 option to give users ability to globally disconnect and put NM to
14129 sleep. This is useful as a 'lockdown mode' for flying, security, and
14132 2006-01-09 Robert Love <rml@novell.com>
14134 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14135 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14136 User-space does not supply these types, so we have to define them
14137 ourselves. The relevant kernel maintainer refused to accept a patch
14138 switching these headers to the proper C99 types.
14140 2006-01-09 Dan Williams <dcbw@redhat.com>
14142 Apply Robert's 'tray icon redo' patch with fixes
14143 * gnome/applet/applet.c
14144 gnome/applet/applet.h
14145 - Instead of using a menu bar + menu item, simulate menu
14146 behavior using a popup menu. Highlight the area around
14147 the icon more like a menu too, by playing with the
14148 applet's size requisition
14150 2006-01-09 Timo Hoenig <thoenig@suse.de>
14151 * libnm-util/dbus-helpers.c
14152 libnm-util/dbus-helpers.h
14153 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14154 to 'exception_namespace' (:namespace is a keyword in
14157 2006-01-09 Dan Williams <dcbw@redhat.com>
14159 * src/NetworkManagerPolicy.c
14160 - (nm_policy_device_change_check): don't autoswitch away from
14161 Ad-Hoc networks, since there's really no concept of
14165 - (nm_dbus_nm_create_wireless_network): mark created networks
14168 * src/nm-device-802-11-wireless.c
14169 - (real_activation_success_handler): add user-created Ad-Hoc
14170 networks to the device's scan list
14172 2006-01-08 Dan Williams <dcbw@redhat.com>
14174 We now require a patch for wpa_supplicant to support Ad-Hoc
14176 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14178 * src/nm-device-802-11-wireless.c
14179 - (supplicant_send_network_config): turn off wpa_supplicant's
14180 scanning. Fixes Ad-Hoc networks.
14182 2006-01-08 Dan Williams <dcbw@redhat.com>
14184 * src/nm-ap-security.c
14185 src/nm-ap-security.h
14186 - Add a user_created argument to the write_supplicant_config
14189 * src/nm-ap-security-wep.c
14190 src/nm-ap-security-wpa-psk.c
14191 src/nm-device-802-11-wireless.c
14192 - Make Ad-Hoc mode somewhat work, at least write the
14193 correct options to wpa_supplicant
14195 2006-01-08 Dan Williams <dcbw@redhat.com>
14197 * src/nm-device-802-11-wireless.c
14198 - Remove unused code from the old device activation path
14200 2006-01-08 Dan Williams <dcbw@redhat.com>
14202 * libnm-util/dbus-helpers.c
14203 - (nmu_security_serialize_wpa_psk): pass a blank key through
14204 dbus when key == NULL
14206 2006-01-08 Dan Williams <dcbw@redhat.com>
14208 * gnome/applet/nm-gconf-wso-wpa-psk.c
14209 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14210 correct arguments to nmu_security_deserialize_wpa_psk()
14212 * src/nm-ap-security-wpa-psk.c
14213 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14214 arguments to nmu_security_deserialize_wpa_psk()
14216 2006-01-08 Dan Williams <dcbw@redhat.com>
14218 * gnome/applet/wso-wpa-psk-hex.c
14219 gnome/applet/wso-wpa-psk-passphrase.c
14220 - Hook up the append_dbus_params_func() function
14222 2006-01-08 Dan Williams <dcbw@redhat.com>
14224 * src/nm-device-802-11-wireless.c
14225 - (get_wireless_capabilities): correctly detect driver WPA
14228 2006-01-08 Dan Williams <dcbw@redhat.com>
14230 * gnome/applet/Makefile.am
14231 gnome/applet/wso-wpa-psk-hex.c
14232 gnome/applet/wso-wpa-psk-hex.h
14233 - New files, implement WPA-PSK Hex key input
14235 * gnome/applet/wireless-applet.glade
14236 - Change existing wpa-psk stuff to wpa-psk-hex
14237 - Add new widgets for wpa-psk-passphrase
14239 * gnome/applet/wireless-security-manager.c
14240 - (wsm_set_capabilities): enable WPA options
14242 * gnome/applet/wso-wpa-psk-passphrase.c
14243 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14244 for WPA-PSK passphrase
14246 2006-01-08 Dan Williams <dcbw@redhat.com>
14248 * include/NetworkManager.h
14249 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14250 applet/info-daemons
14252 * gnome/applet/passphrase-dialog.c
14253 - Use the constant. Fixes a bug where the arguments to
14254 dbus_message_new_error() were incorrect
14256 * src/nm-dbus-nmi.c
14259 2006-01-07 Dan Williams <dcbw@redhat.com>
14261 * src/nm-device-802-11-wireless.c
14262 - Add a link timeout so we allow the supplicant time to
14263 reassociate if it can, before we deactivate the card
14264 - Fix up link status and link updating so things work better
14266 2006-01-07 Dan Williams <dcbw@redhat.com>
14268 * src/nm-device-802-11-wireless.c
14269 - Switch over to using wpa_supplicant
14270 - Add a timeout of 10s for association of the supplicant
14271 - Start the monitor callback of the supplicant
14273 2006-01-07 Dan Williams <dcbw@redhat.com>
14275 * src/NetworkManagerUtils.c
14276 - (nm_utils_supplicant_request,
14277 nm_utils_supplicant_request_with_check):
14278 pass correct buffer length to wpa_ctrl_request()
14280 2006-01-07 Dan Williams <dcbw@redhat.com>
14282 * src/nm-device-private.h
14284 - (nm_device_activate_schedule_stage3_ip_config_start): make
14285 this function available to subclasses
14287 2006-01-06 Robert Love <rml@novell.com>
14289 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14290 user plugging in a network cable signals their preference for to
14291 switch, unless the user explicitly selected a wireless network and
14292 therefore signaled their preference for said wireless network over
14293 wired. In other words, do exactly what makes sense.
14295 2006-01-06 Robert Love <rml@novell.com>
14297 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14298 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14299 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14300 showing up in my greps.
14302 2006-01-06 Robert Love <rml@novell.com>
14304 * gnome/applet/applet-dbus-devices.c,
14305 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14306 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14307 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14308 New Network' both failed in the non-encrypted case because we were
14309 not appending the security options to the DBUS message. And
14310 'Connect to Other' was also failing in the encrypted case because
14311 we were not incrementing to the next DBUS parameter. All fixed.
14312 Thanks to dcdw for some debugging help.
14314 2006-01-06 Robert Love <rml@novell.com>
14316 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14317 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14318 hangup code and add per-device hangup. Tie last commit into the
14319 GNOME applet. TODO: Save, understand, and respond to the state of
14320 each dialup device.
14322 2006-01-06 Robert Love <rml@novell.com>
14324 Patch by Timo Hoenig <thoenig@suse.de>:
14325 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14326 hangup specific dialup devices.
14327 * src/backends/NetworkManagerDebian.c,
14328 src/backends/NetworkManagerGentoo.c,
14329 src/backends/NetworkManagerRedHat.c,
14330 src/backends/NetworkManagerSlackware.c: Add stub backend.
14331 * src/backends/NetworkManagerRedHat.c,
14332 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14333 hangup specific dialup devices.
14335 2006-01-04 Robert Love <rml@novell.com>
14337 * gnome/applet/applet-dbus-devices.c,
14338 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14339 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14342 2006-01-04 Dan Williams <dcbw@redhat.com>
14344 First dump of wpa_supplicant-related code. It's not hooked up to
14345 anything yet though. Thanks to Kay Sievers for
14346 wpa_supplicant_wrapper.c, which formed the basis for this work,
14347 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14351 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14353 * src/NetworkManagerUtils.[ch]
14354 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14355 Add convenience functions for talking to wpa_supplicant
14357 * src/nm-ap-security.[ch]
14358 src/nm-ap-security-wep.c
14359 src/nm-ap-security-wpa-psk.[ch]
14360 - Update and implement real_write_supplicant_config functions
14361 in all security types
14362 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14363 nm-ap-security-wpa-psk.c
14365 * src/nm-device-802-11-wireless.c
14366 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14367 wpa_supplicant_start, wpa_supplicant_interface_init,
14368 wpa_supplicant_send_network_config): add functions to talk to
14369 wpa_supplicant and write network config to it
14371 2006-01-04 Robert Love <rml@novell.com>
14373 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14374 values so that distribution-backends can differentiate between the
14375 various types (modem, ISDN, et cetera) of dialup device that they
14377 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14380 2006-01-03 Dan Williams <dcbw@redhat.com>
14382 * src/NetworkManagerPolicy.c
14384 src/nm-device-802-11-wireless.c
14385 - Move wireless-specific activation failure and success code
14386 into wireless device class
14388 2006-01-03 Robert Love <rml@novell.com>
14390 Patch by Preggna S:
14391 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14392 IPsec does not require that a VPN client be bound to an interface,
14393 due to the use of the in-kernel IPSec bits. So make the tunnel
14396 2006-01-03 Dan Williams <dcbw@redhat.com>
14398 * src/NetworkManagerAP.c
14399 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14400 the WPA IE specifies that WEP is supported
14402 * src/nm-device-802-11-wireless.c
14403 - (process_scan_results): don't mark an AP as supporting WEP
14404 if there's already other encryption capability info
14406 2006-01-03 Dan Williams <dcbw@redhat.com>
14408 * src/dhcp-manager/nm-dhcp-manager.c
14409 - Recognize activation cancellation when waiting for DHCP
14410 configuration from dhcdbd
14411 - Ignore non-dhcdbd messages
14414 - (real_act_stage3_ip_config_start): return to correct behavior
14415 of letting the dhcp-manager notify us of failure or
14416 success rather than incorrectly doing that ourselves
14417 - (nm_device_activate_stage4_ip_config_get): deal with
14418 activation cancellation a bit earlier
14420 2006-01-03 Dan Williams <dcbw@redhat.com>
14422 * src/nm-device-802-11-wireless.c
14424 - Add hooks to subclasses for stage3_ip_config_start and
14425 stage4_ip_config_timeout
14427 * src/nm-device-802-3-ethernet.c
14428 - (real_get_generic_capabilities): make devices NM-supported
14431 2006-01-03 Robert Love <rml@novell.com>
14433 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14434 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14435 latter cannot differentiate between error and the address -1; misc.
14438 2006-01-03 Dan Williams <dcbw@redhat.com>
14440 * src/NetworkManager.c
14441 - Move link-checking/probing into the device subclasses
14444 * src/nm-device.[ch]
14445 src/nm-device-802-11-wireless.c
14446 src/nm-device-802-3-ethernet.c
14447 - Do periodic link checking in device subclasses rather
14448 than being triggered from NetworkManager.c
14449 - discover_wireless_capabilities -> get_wireless_capabilities
14450 - discover_generic_capabilities -> get_generic_capabilities
14451 - Device subclass activation routines now return a value of type
14452 NMActStageReturn to indicate what step to perform next
14453 - Devices now override stage4_get_ip4_config if they choose
14455 2006-01-01 Dan Williams <dcbw@redhat.com>
14457 * src/nm-device-802-11-wireless.c
14458 - (real_init): don't chain up to parent init because we don't
14459 need to do that anymore
14462 - (discover_device_type): fix arguments to ioctl() to correctly
14463 pass interface name
14464 - (nm_device_new): consolidate generic device initialization into
14466 - (real_init): remove, consolidated to nm_device_new()
14467 - (nm_device_deactivate, real_deactivate): consolidate
14469 2006-01-01 Dan Williams <dcbw@redhat.com>
14471 * src/nm-activation-request.c
14472 - Change dhcp_state member of the NMActRequest structure
14473 from guint8 to guint32
14475 * src/dhcp-manager/nm-dhcp-manager.[ch]
14476 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14477 than guint8 to match the dbus argument. Turns out we were
14478 overwriting memory since we were passing in only a guint8
14480 2005-12-31 Dan Williams <dcbw@redhat.com>
14482 * refactor NMDevice into a GObject-based framework with separate
14483 objects for wired and wireless. The following files are no
14484 longer used but should stick around for a bit so we don't
14485 loose code through the cracks:
14486 NetworkManagerDevice.c
14487 NetworkManagerDevice.h
14488 NetworkManagerWireless.c
14489 NetworkManagerWireless.h
14491 The intent here is to allow each device type to manage its own
14492 connection & activation life-cycle, ie to allow wireless devices
14493 to interface with wpa_supplicant, etc. There's a fair bit of
14494 encapsulation breakage right now that should gradually get pulled
14495 back into each device, along with things like periodic property
14496 updates and link probing.
14498 2005-12-29 Dan Williams <dcbw@redhat.com>
14500 * include/NetworkManager.h
14501 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14502 between networks that don't have any encryption at all
14504 2005-12-29 Dan Williams <dcbw@redhat.com>
14506 * test/test-common.c
14509 - Move to a test-common subdirectory
14511 * test/libnm-util/test-ciphers.c
14512 - Move test data to test-inputs.h
14513 - Test WPA ciphers too
14515 * test/libnm-util/test-dbus-helpers.c
14516 - Test serialization/deserialization of ciphers
14518 2005-12-29 Dan Williams <dcbw@redhat.com>
14520 * gnome/applet/applet-dbus-devices.c
14521 - Replace 'enc' parameter with 'capabilities' for wireless networks
14522 in dbus calls to NM
14523 - Set capabilities on WirelessNetwork objects
14524 - Receive and save type-specific device capabilities too
14526 * gnome/applet/applet-dbus-info.c
14527 gnome/applet/applet-dbus.c
14528 - Passphrase dialog no longer a singleton; new instance gets created
14529 on each request. Updates to deal with that.
14531 * gnome/applet/applet.c
14532 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14533 than single 'encrypted' flag
14534 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14536 - Passphrase dialog updates per above
14538 * gnome/applet/menu-items.c
14539 - (network_menu_item_update): use AP capabilities to determine
14542 * gnome/applet/nm-device.[ch]
14543 - Add accessors for type-specific device capabilities
14545 * gnome/applet/other-network-dialog.c
14546 - Rework to respect device capabilities. i.e., if the device doesn't
14547 support WPA, remove that option from the security dropdown
14549 * gnome/applet/passphrase-dialog.c
14550 - Massive rework so that a new instance is created each time
14551 it's used, to support wireless network capabilities
14553 * gnome/applet/wireless-network.[ch]
14554 - Add accessors and members for wireless network capabilities
14556 * gnome/applet/wireless-security-manager.[ch]
14557 - (wsm_set_capabilities): called after creation to set which
14558 security options get shown to the user
14560 2005-12-29 Dan Williams <dcbw@redhat.com>
14562 * libnm-util/cipher-wpa-psk-passphrase.c
14563 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14566 2005-12-23 Dan Williams <dcbw@redhat.com>
14568 * gnome/applet/applet-dbus-info.c
14569 - (nmi_dbus_get_key_for_network): if there's no entry in
14570 GConf for a network, assume we want a new key
14571 - (nmi_save_network_info): serialize wireless security info
14572 into GConf so its saved
14575 - Fix warning as we may not be passed security info when
14576 connecting to a wireless network
14578 2005-12-23 Dan Williams <dcbw@redhat.com>
14580 * gnome/applet/applet-compat.c
14581 - Fix bugs in GConf entry conversion
14583 * gnome/applet/applet-dbus-info.c
14584 - (nmi_dbus_get_network_properties): handle case of the BSSID
14585 list being zero-length
14587 * libnm-util/cipher-*
14588 libnm-util/dbus-helpers.c
14589 - All ciphers must now return hashed keys as UTF-8 valid
14590 hexadecimal strings, ie "8f3dae4023". They are pushed
14591 through dbus as strings too.
14592 - Consolidate various functions that do bin->hex and hex->bin
14593 conversion into cipher.c
14595 * src/nm-ap-security-wep.c
14596 src/nm-ap-security-wpa-psk.c
14597 - Handle NULL keys since we may not know keys right away
14599 * src/nm-dbus-nmi.c
14600 - (nm_dbus_get_network_data_cb): actually advance to the start
14601 of the wireless security info before we try to deserialize it
14603 * libnm-util/test-ciphers.c
14604 - Update cipher tests for the change to UTF-8 hexadecimal strings
14606 2005-12-22 Dan Williams <dcbw@redhat.com>
14608 * gnome/applet/applet-compat.[ch]
14609 - Convert old-format GConf and keyring entries
14610 when the applet starts up.
14612 * gnome/applet/applet.c
14613 - (nmwa_get_instance): Call the conversion function
14614 on startup before dbus is initialized
14616 2005-12-22 Dan Williams <dcbw@redhat.com>
14618 * gnome/applet/applet-dbus-info.c
14619 - Remove nmi_dbus_create_error_message() in favor of
14620 nmu_create_dbus_error_message()
14621 - (nmi_dbus_get_network_properties): Error message cleanups
14622 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14623 gconf key rather than 'addresses', since they really are BSSIDs
14624 - (nmi_dbus_get_network_properties): Dispose of the security
14625 object when we're done with it
14627 2005-12-21 Dan Williams <dcbw@redhat.com>
14629 * Consolidate the info-daemon's "updateNetworkInfo" and
14630 "addNetworkAddress" calls into just "updateNetworkInfo"
14632 2005-12-21 Dan Williams <dcbw@redhat.com>
14634 * Make connection after key retrieval work again
14636 2005-12-21 Dan Williams <dcbw@redhat.com>
14638 * gnome/applet/nm-gconf-wso*
14639 - Make the serialize functions return gboolean
14642 * gnome/applet/nm-gconf-wso.c
14643 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14644 parent class handling so we don't segfault
14646 * src/NetworkManagerAP.[ch]
14647 - (nm_ap_get_capabilities): new function, return capabilities
14648 now that something can use them
14649 - (nm_ap_set_encrypted): assume that an access point supports
14650 both WEP104 and WEP40 if its set encrypted. FIXME: can
14651 we even tell whether it just supports WEP40?
14653 * src/NetworkManagerDevice.c
14654 - (ap_need_key): resurrect and update for the New World Order
14655 - (nm_device_wireless_get_activation_ap): if we're not given
14656 security info to use, create some based on access point
14659 * src/nm-ap-security-wep.c
14660 - (nm_ap_security_wep_new_from_ap): create a new object
14661 based on a certain access point's capabilities
14663 * src/nm-ap-security.c
14664 - (nm_ap_security_new_from_ap): delegate creation of a new
14665 object based on access point capabilities to a subclass
14666 - (nm_ap_security_copy_properties): don't segfault if we
14667 don't have a key yet
14670 - (nm_dbus_nm_set_active_device): provide more informative
14671 output when errors occur. Also construct security info
14672 for a given access point if we weren't given any
14674 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14676 * configure.in: Added Lithuanian to ALL_LINGUAS.
14678 2005-12-21 Dan Williams <dcbw@redhat.com>
14681 - Add some testcases for WEP ciphers
14683 2005-12-17 Dan Williams <dcbw@redhat.com>
14687 2005-12-17 Dan Williams <dcbw@redhat.com>
14689 * include/NetworkManager.h
14690 - Finally kill NMEncKeyType
14692 * gnome/applet/applet-dbus-info.c
14693 - (nmi_save_network_info): convert to NMGConfWSO
14695 * gnome/applet/nm-gconf-wso-*.c
14696 - Implement gconf serialization functions
14698 * src/NetworkManagerPolicy.c
14699 - (nm_policy_activation_finish): fix up meaning of
14700 automatic/user_requested
14702 2005-12-17 Dan Williams <dcbw@redhat.com>
14705 - More applet cleanups
14706 - Use the dbus-method-dispatcher
14708 * libnm-util/dbus-method-dispatcher.[ch]
14709 - Generalize the implementation from NM in
14710 NetworkManagerUtils.c
14712 2005-12-16 Dan Williams <dcbw@redhat.com>
14715 - Fix up the passphrase dialog to use all the
14716 WirelessSecurityOption stuff (untested)
14718 2005-12-16 Dan Williams <dcbw@redhat.com>
14720 * Move nm_gconf_get_*_helper() functions to separate files,
14721 gconf-helpers.c & gconf-helpers.h
14723 * New NMGConfWSO objects for managing the gconf side of things.
14724 Eventually these should be merged with the
14725 WirelessSecurityOption objects and a common base (that can
14726 serialize/deserialize from dbus & gconf) should be
14727 refactored out, but for now they are separate.
14729 2005-12-16 Robert Love <rml@novell.com>
14731 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14732 binaries unless they exist (nm_spawn_process() emits a warning if
14733 asked to spawn a non-existant process).
14735 2005-12-16 Dan Williams <dcbw@redhat.com>
14737 * gnome/applet/applet-dbus-info.c
14738 - Clean up lots of gconf-related code
14740 2005-12-16 Robert Love <rml@novell.com>
14742 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14744 2005-12-16 Dan Williams <dcbw@redhat.com>
14746 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14748 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14749 bits still to be done)
14751 2005-12-16 Dan Williams <dcbw@redhat.com>
14753 * Finally move info-daemon related stuff out of
14754 NetworkManagerDbus.c to nm-dbus-nmi.c
14756 2005-12-16 Dan Williams <dcbw@redhat.com>
14758 * Kill auth_method for access points, since that's now done
14759 by NMAPSecurity objects
14761 * Add a copy-constructor of sorts to NMAPSecurity
14762 (how do you do this properly in glib???)
14764 2005-12-15 Dan Williams <dcbw@redhat.com>
14766 * Exorcise encryption key hashing on APs
14767 * Use libnm-util's serialization/deserialization in both the
14769 * Random other stuff
14771 2005-12-15 Robert Love <rml@novell.com>
14773 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14774 is being added to the icon naming spec, so let's use that (Tango CVS
14775 has the icon). Because it is new, however, we fall back to the
14776 current "gnome-lockscreen" if the new icon is not around, thus
14777 behavior is the same.
14778 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14781 2005-12-15 Robert Love <rml@novell.com>
14783 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14784 well, help to give. Couple other misc. bits.
14786 2005-12-15 Dan Williams <dcbw@redhat.com>
14788 * libnm-util/dbus-helpers.[ch]
14789 - Make this the one-stop-shop for serializing/deserializing
14790 AP & connection security settings over dbus. Both NM
14791 and applets should use this to ensure consistent dbus
14792 API going forwared.
14794 2005-12-15 Robert Love <rml@novell.com>
14796 Patch by Timo Hoenig <thoenig@suse.de>:
14797 * src/NetworkManagerDbus.c
14798 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14799 if HAL jumps off the system bus. Otherwise libdbus
14800 (dbus_connection_dispatch) will try to run the filter
14801 function of our libhal context which is already freed.
14803 2005-12-15 Alexander Shopov <ash@contact.bg>
14805 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14807 2005-12-14 Dan Williams <dcbw@redhat.com>
14809 * include/NetworkManager.h
14810 src/NetworkManagerWireless.c
14811 - Rearrange 802.11 wireless-specific capabilities again
14814 - Forgot to add wpa.c/wpa.h to the makefiles
14816 * src/NetworkManagerAP.[ch]
14817 - Implement access point capabilities and parse the
14818 WPA/RSN IEs into the capability bitfield
14819 - Switch the "encrypted" attribute to utilize the bitfield
14820 and capabilities rather than being independent
14822 * src/NetworkManagerDevice.c
14823 - (nm_device_wireless_get_activation_ap): break it horribly
14824 until we can push NMAPSecurity objects into access point
14825 objects and through the activation chain
14826 - Stuff WPA & RSN IEs into AP capabilities
14829 - Take a shot at actually making setActiveDevice work
14832 - Make the API a bit saner
14834 2005-12-14 Dan Williams <dcbw@redhat.com>
14836 * include/NetworkManager.h
14837 - Add 802.11-specific capability for 802.1x key
14841 - Pull in WPA IE and RSN IE parsing code from
14842 wpa_supplicant so we can determine access point
14844 - Move WPA-related constants here from NetworkManagerAP.h
14845 and NetworkManagerDevice.c
14847 * src/NetworkManagerDevice.c
14848 src/NetworkManagerAP.[ch]
14849 - Use WPA-related constants from wpa.h
14851 2005-12-14 Dan Williams <dcbw@redhat.com>
14853 * include/NetworkManager.h
14854 - Update and split 802.11 wireless-specific capabilities from
14855 generic device capabilities
14857 * src/NetworkManagerDevice.c
14858 src/NetworkManagerDevicePrivate.h
14859 - (nm_device_wireless_discover_capabilities): Move 802.11
14860 wireless-specific capability checks to
14861 NetworkManagerWireless.c
14862 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14863 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14865 * src/NetworkManagerWireless.[ch]
14866 - (nm_802_11_wireless_discover_capabilities): Check extended
14867 802.11 wireless-specific capabilities of the driver
14869 2005-12-14 Robert Love <rml@novell.com>
14871 Patch from Stefan Scheler <sscheler@suse.de>:
14872 * src/NetworkManagerDevice.c: call backend code to activate and
14874 * src/NetworkManagerSystem.h: add new NIS interfaces.
14875 * src/backends/NetworkManagerDebian.c,
14876 src/backends/NetworkManagerGentoo.c,
14877 src/backends/NetworkManagerRedHat.c,
14878 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14880 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14882 2005-12-14 Dan Williams <dcbw@redhat.com>
14884 * src/nm-ap-security*.[ch]
14885 - Add AP security abstractions to NetworkManager
14887 * src/nm-dbus-device.c
14888 - Begin to parse new format dbus messages from the applet
14889 and construct an AP security object from the message
14891 * libnm-util/dbus-helpers.c
14892 - Use message iters so we can append the key as a fixed
14893 array of bytes, which actually works rather than
14894 using dbus_message_append_args() as we were before
14896 2005-12-14 Dan Williams <dcbw@redhat.com>
14898 * src/NetworkManagerDbus.c
14899 gnome/applet/applet-dbus.c
14900 - Fix up dbus service replacement options. The applet
14901 should allow replacement, NM itself should not.
14903 2005-12-13 Robert Love <rml@novell.com>
14905 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14906 Instead, fail silently if config is NULL by not asserting and not
14907 returning FALSE. Also, make sure we always fclose() the file.
14909 2005-12-13 Robert Love <rml@novell.com>
14911 Patch by Stefan Scheler <sscheler@suse.de>:
14912 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14913 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14914 via DHCP. Still need the backends to commit the NIS domain name and
14915 and servers to yp.conf as needed.
14917 2005-12-13 Robert Love <rml@novell.com>
14919 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14920 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14922 2005-12-13 Robert Love <rml@novell.com>
14924 * src/named-manager/nm-named-manager.c: Don't unref the config until
14925 after we call rewrite_resolv_conf(), because get_last_default_domain()
14926 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14927 `config != NULL' failed" assertion failures and "Could not commit DNS
14930 2005-12-12 Dan Williams <dcbw@redhat.com>
14932 * libnm-util/dbus-helpers.[ch]
14933 libnm-util/Makefile.am
14934 - new helper calls to consolidate locations where
14935 NM's setDevice method is called
14937 * gnome/applet/applet-dbus-devices.c
14938 gnome/applet/wireless-security-option.c
14940 - Implement dbus message param append function for
14941 all wireless security options
14943 2005-12-12 Robert Love <rml@novell.com>
14945 * libnm-util/cipher-wep-passphrase.c,
14946 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14947 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14948 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14949 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14950 When handling keys, we don't care what the sign is. The compiler
14951 guarantees us that we get our 8-bits, which is all we care about.
14952 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14954 2005-12-12 Dan Williams <dcbw@redhat.com>
14956 * gnome/applet/applet-dbus-devices.[ch]
14957 gnome/applet/applet.c
14958 gnome/applet/other-network-dialog.c
14959 gnome/applet/wireless-security-manager.[ch]
14960 gnome/applet/wireless-security-option.[ch]
14962 - Push the wireless security options further into the applet
14964 2005-12-12 Robert Love <rml@novell.com>
14966 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14967 return any name servers. That is perfectly valid. (Novell #134369).
14969 2005-12-11 Dan Williams <dcbw@redhat.com>
14971 * gnome/applet/wso-*
14972 gnome/applet/wireless-security-option.*
14973 gnome/applet/Makefile.am
14974 - split each security option out so we can eventually
14975 have each one build up their own dbus message
14976 arguments to send to NM
14978 2005-12-11 Dan Williams <dcbw@redhat.com>
14980 * Make validation of the key work correctly
14982 2005-12-11 Dan Williams <dcbw@redhat.com>
14984 * Hook more bits of the Other Network Dialog up to the
14985 wireless security manager stuff, and restructure
14986 bits of the dialog so there's less code.
14988 2005-12-10 Dan Williams <dcbw@redhat.com>
14990 * gnome/applet/Makefile.am
14991 - Add libnm-util to includes
14992 - Add libnm-util to link list
14993 - Add wireless-security-common.* to compile list
14995 * gnome/applet/other-network-dialog.c
14996 - Convert to using the WirelessSecurityManager code and
14999 * gnome/applet/passphrase-dialog.c
15000 - Comment out references to stuff in the glade file that
15001 cause runtime errors until it can be fixed up
15002 to use the WirelessSecurityManager code
15004 * gnome/applet/wireless-applet.glade
15005 - Rename some widgets
15006 - Add widgets for the WirelessSecurityManager code
15007 - Remove passphrase-related stuff since that's now
15008 handled by the WirelessSecurityManager code
15010 2005-12-10 Dan Williams <dcbw@redhat.com>
15012 * gnome/applet/applet-dbus-devices.c
15013 - Print out error message details for dbus pending call callbacks
15014 - Move nmwa_dbus_update_devices() up
15016 * gnome/applet/applet-dbus-vpn.c
15017 - Print out error message details for dbus pending call callbacks
15019 2005-12-10 Dan Williams <dcbw@redhat.com>
15023 - Remove cipher-manager.* because we don't need it
15024 - Forgot to add gnome-keyring-md5 files to compile list
15026 2005-12-09 Dan Williams <dcbw@redhat.com>
15031 - Add a utility library for clients of NetworkManager. It's
15032 only targetted at applets for the moment, and contains
15033 a generalized 802.11 cipher framework for different
15034 types of keys (WEP & WPA Hex, ASCII, Passphrase)
15036 2005-12-09 Robert Love <rml@novell.com>
15038 * src/NetworkManagerDevice.c: handle error better in
15039 nm_device_set_mode().
15041 2005-12-08 Robert Love <rml@novell.com>
15043 * include/NetworkManager.h: add WPA capabilities constants
15044 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
15045 or WPA2 and add the capabilities bits as appropriate.
15047 2005-12-08 Robert Love <rml@novell.com>
15049 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
15050 NetworkManagerDispatcher.
15051 * configure.in, initscript/SUSE/.cvsignore,
15052 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
15055 2005-12-08 Robert Love <rml@novell.com>
15057 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
15059 2005-12-08 Robert Love <rml@novell.com>
15061 * src/NetworkManagerDevice.c: We want to fall back on and default to
15062 IW_MODE_AUTO, not -1, which is more in line with our previous
15063 behavior. Otherwise, we try to set the wireless mode to -1 in
15064 nm_device_set_mode().
15066 2005-12-07 Robert Love <rml@novell.com>
15068 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
15069 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
15070 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
15071 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
15072 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
15073 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
15076 2005-12-07 Robert Love <rml@novell.com>
15078 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
15079 supplied IP is invalid, fall back to DHCP.
15081 2005-12-07 Dan Williams <dcbw@redhat.com>
15083 * Convert NETWORK_MODE_* constants to IW_MODE_*
15084 * Make all the get_mode/set_mode functions take and return 'int'
15085 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
15087 2005-12-07 Robert Love <rml@novell.com>
15089 * src/NetworkManagerDevice.c: strncpy() buffer check.
15090 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
15092 2005-12-06 Dan Williams <dcbw@redhat.com>
15094 * gnome/applet/applet-dbus.c
15095 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
15097 * gnome/applet/applet-dbus-vpn.c
15098 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
15099 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
15100 to TRUE here if stage was ACTIVATED
15102 2005-12-06 Dan Williams <dcbw@redhat.com>
15104 * Change nm_device_is_* functions to better names:
15105 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
15106 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
15108 2005-12-06 Dan Williams <dcbw@redhat.com>
15110 * Change naming of NMDeviceType to something more sensible:
15111 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
15112 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
15113 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
15115 2005-12-06 Dan Williams <dcbw@redhat.com>
15117 * Move NetworkManager.h -> include/NetworkManager.h
15118 * Split out VPN stuff into include/NetworkManagerVPN.h
15119 * Fix up makefiles to include new location
15120 * Fix up sources to include NetworkManagerVPN.h
15122 2005-12-06 Dan Williams <dcbw@redhat.com>
15124 Various changes in the applet to move VPN connection "state" -> "stage",
15125 which it actually is. I'd like to change the signal as well when we
15126 break compat in the near future.
15128 2005-12-06 Dan Williams <dcbw@redhat.com>
15130 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15131 * initscript/Slackware/rc.networkmanager
15134 * src/backends/NetworkManagerSlackware.c
15135 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15138 2005-12-05 Robert Love <rml@novell.com>
15140 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15141 to free, particularly here as it just barfs.
15143 2005-12-05 Dan Williams <dcbw@redhat.com>
15145 * gnome/applet/applet-dbus.c
15146 - Work with dbus 0.6 too
15148 2005-12-03 Dan Williams <dcbw@redhat.com>
15150 * src/NetworkManagerUtils.[ch]
15151 src/nm-ip4-config.c
15152 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15153 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15155 2005-12-01 Robert Love <rml@novell.com>
15157 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15158 need a NULL for the '...' parameter, too, to fill the so-called
15161 2005-12-01 Robert Love <rml@novell.com>
15163 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15164 interface is already gone, so don't call rtnl_link_change() to down
15165 it (which will segfault, anyhow).
15167 2005-11-22 Robert Love <rml@novell.com>
15169 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15170 gateway is not set, just print a little note. Configurations without
15171 gateways are valid.
15173 2005-11-22 Robert Love <rml@novell.com>
15177 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15179 * configure.in: Added Finnish translation to ALL_LINGUAS
15181 2005-11-14 Robert Love <rml@novell.com>
15183 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15184 Niemueller <tim@niemueller.de>.
15186 2005-11-08 Dan Williams <dcbw@redhat.com>
15188 Patch from Bill Moss <bmoss@clemson.edu>
15189 * src/NetworkManagerDevice.c
15190 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15191 of nm_policy_schedule_activation_finish() to prevent a
15192 race condition that causes the link to be dropped
15194 2005-11-08 Dan Williams <dcbw@redhat.com>
15196 Patch from Bill Moss <bmoss@clemson.edu>
15197 * src/NetworkManagerAPList.c
15198 src/NetworkManagerDevice.c
15199 src/NetworkManagerDbus.c
15200 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15201 we get more readable ether/mac addresses
15203 2005-11-02 Christopher Aillon <caillon@redhat.com>
15205 * gnome/applet/main.c: Don't set the restart command. This fixes
15206 the issue where the restart command was getting copies of all its
15207 arguments for each time the applet was restarted.
15209 2005-11-02 Robert Love <rml@novell.com>
15211 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15212 if the widget state differs from our saved state. This ensures we
15213 do not enter an endless loop of death and destruction. Also, this
15214 guarantees us that we enforce the widget state.
15216 2005-11-02 Robert Love <rml@novell.com>
15218 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15219 * gnome/applet/applet-dbus-devices.c: invoke the new function
15220 nmwa_enable_wireless_set_active() to ensure that the state of the
15221 'Enable Wireless' checkbox matches the daemon's state. This is a
15222 concern because the daemon remembers the state.
15224 2005-11-02 Robert Love <rml@novell.com>
15226 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15227 Enabled", as checkboxes should be actions/commands not positive
15228 statements, otherwise they are confusing in the unselected case. See
15229 examples in GNOME HIG, Chapter 6.
15231 2005-11-02 Robert Love <rml@novell.com>
15233 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15234 show a list of wireless networks or the wireless devices or the
15235 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15236 a bad bug: If wireless is disabled and the user picks a wireless
15237 network, NM will switch to the network, only to immediately switch
15238 back, as wireless is disabled. This also reassures people that NM
15239 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15241 2005-11-02 Christopher Aillon <caillon@redhat.com>
15243 * gnome/applet/applet.c:
15244 * gnome/applet/applet.h:
15245 Partial backout of Dan's timeout animation patch.
15246 Timeout IDs cannot legally be 0, so revert the code in place to handle
15247 a timeout ID of 0 to denote the timeout isn't running.
15249 2005-11-02 Christopher Aillon <caillon@redhat.com>
15251 * src/NetworkManagerPolicy.c:
15252 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15254 2005-10-28 Robert Love <rml@novell.com>
15256 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15257 "Import Saved Configuration..." to make it clear that importing is
15258 not the next step, but an option. As an aside, a nice TODO would be
15259 to move Importing out of the vpn-specific dialog and into the main
15260 property editor, as Importing goes with Adding, but that will require
15261 some rearchitecting of the VPN stuff I suspect.
15263 2005-10-27 Dan Williams <dcbw@redhat.com>
15265 Start using libnl. You need 1.0-pre3 or higher. Eventually
15266 we should replace most of the distro-specific backend code
15269 Get it here: http://people.suug.ch/~tgr/libnl/
15273 - Add checks for libnl pkgconfig file
15274 - Use LIBNL_LIBS & LIBNL_CFLAGS
15276 * src/NetworkManagerSystem.c
15277 src/nm-ip4-config.[ch]
15278 - Use libnl rather than ioctl() for most things
15279 - Remove unused functions
15281 2005-10-27 Robert Love <rml@novell.com>
15283 * src/backends/NetworkManagerSuSE.c: fix warning message text
15285 2005-10-27 Christopher Aillon <caillon@redhat.com>
15287 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15289 2005-10-27 Christopher Aillon <caillon@redhat.com>
15291 * gnome/applet/applet.c: The applet's about dialog can advertise our
15292 project page <http://www.gnome.org/projects/NetworkManager/>
15294 2005-10-26 Christopher Aillon <caillon@redhat.com>
15296 * gnome/applet.c: Also use translator credits if we don't have
15297 the new GtkAboutDialog (older versions of GTK+)
15299 2005-10-26 Robert Love <rml@novell.com>
15301 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15302 failure; correct usage text for "--no-daemon"
15304 2005-10-25 Dan Williams <dcbw@redhat.com>
15306 * src/NetworkManagerDevice.c
15307 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15309 - (free_process_scan_cb_data): unref the device when freeing results
15310 - (nm_device_wireless_process_scan_results): free scan results a bit later
15311 so we don't unref the device underneath ourselves
15313 2005-10-25 Dan Williams <dcbw@redhat.com>
15315 * Back out 2005-10-24 commit from Tor Krill. Patch
15316 causes nameservers never to be removed from named.
15318 2005-10-24 Dan Williams <dcbw@redhat.com>
15320 Clean up wireless scanning and wireless link probing.
15322 * src/NetworkManagerDevice.c
15323 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15324 just see if there's an activation request on the device, and check the
15325 current link against the activation request access point's ESSID.
15326 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15327 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15328 don't call process_scan_results() on zero-length data
15329 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15330 15 seconds (from 10)
15332 2005-10-24 Dan Williams <dcbw@redhat.com>
15334 Cleanup some applet stuff:
15336 - Animation timeouts. If NM died while the applet was animating,
15337 the applet would not hide itself. This is now fixed.
15339 - Remove some dead code
15341 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15342 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15344 - Track animation timeout using a gboolean rather than the timeout's
15345 ID, since timeout IDs can legally be 0.
15347 2005-10-24 Dan Williams <dcbw@redhat.com>
15349 * src/backends/interface_parser.c
15350 - Add void to function declarations that need it
15351 to match patch from Engin AYDOGAN
15353 * src/backends/interface_parser.h
15354 - Remove unused prototype for ifparser_interfaces()
15356 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15357 * src/backends/interface_parser.h:
15358 - Compile fixes for gcc 4.0.2 (add void)
15360 2005-10-24 Dan Williams <dcbw@redhat.com>
15362 Patch from Tor Krill <tor@krill.nu>
15363 * src/named-manager/nm-named-manager.c
15364 - Write more than just the first nameserver to /etc/resolv.conf
15365 - Write out valid /etc/resolv.conf on exit
15367 2005-10-21 Christopher Aillon <caillon@redhat.com>
15369 * gnome/applet/applet-dbus-vpn.c:
15370 Get rid of spurious newlines in debug console output
15372 2005-10-21 Christopher Aillon <caillon@redhat.com>
15374 * src/backends/NetworkManagerGentoo.c:
15375 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15377 2005-10-20 Robert Love <rml@novell.com>
15379 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15380 direct comparison of floating point values, which is never correct.
15381 Also some misc. cleanup.
15383 2005-10-19 Robert Love <rml@novell.com>
15385 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15387 2005-10-19 Robert Love <rml@novell.com>
15389 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15390 sensitivity of the buttons. Specificaly, do the right thing if
15391 there are no entries.
15393 2005-10-19 Christopher Aillon <caillon@redhat.com>
15395 * configure.in: Update check for adequate wireless-tools
15396 with an AC_TRY_COMPILE for the new symbols we use.
15398 2005-10-19 Dan Williams <dcbw@redhat.com>
15400 * src/NetworkManagerDevice.c
15401 - (process_scan_results): don't drop the last (or only)
15402 access point we see
15404 2005-10-19 Christopher Aillon <caillon@redhat.com>
15406 * src/backends/NetworkManagerSlackware.c:
15407 Patch from Nico <lordllucifer@gmail.com>
15408 - Update the Slackware backend.
15410 2005-10-18 Christopher Aillon <caillon@redhat.com>
15412 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15413 if we've got GLib 2.8.0
15415 2005-10-18 Robert Love <rml@novell.com>
15417 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15418 function nm_schedule_state_change_signal_broadcast() when we
15419 deactivate a device, too.
15421 2005-10-18 Robert Love <rml@novell.com>
15423 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15424 be used uninitialized.
15426 2005-10-18 Christopher Aillon <caillon@redhat.com>
15428 * test/libnm_glib_test.c: Test unregistering, too.
15430 2005-10-17 Christopher Aillon <caillon@redhat.com>
15432 * configure.in: Bump to 0.5.0
15434 2005-10-17 Dan Williams <dcbw@redhat.com>
15437 - Remove WPA-related constants so they aren't part of the
15440 2005-10-17 Christopher Aillon <caillon@redhat.com>
15442 * gnome/applet/applet.c:
15443 * gnome/applet/applet.h:
15444 Desensitize the 'Connection Information' menu item when there is
15445 no active connection.
15447 2005-10-17 Christopher Aillon <caillon@redhat.com>
15449 * gnome/libnm_glib/libnm_glib.c:
15450 Make libnm_glib_unregister_callback () actually unregister the callback
15452 2005-10-17 Robert Love <rml@novell.com>
15454 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15455 two seconds -- tries is updated every 1/10 of a second, not every
15458 2005-10-17 Christopher Aillon <caillon@redhat.com>
15460 * gnome/applet/applet-dbus-info.c:
15461 Let D-BUS know that we haven't handled a message when we haven't.
15463 2005-10-17 Robert Love <rml@novell.com>
15465 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15466 in order to remain 64-bit clean.
15468 2005-10-17 Christopher Aillon <caillon@redhat.com>
15470 * gnome/applet/applet-dbus-info.c:
15471 Find network encryption keys asynchronously
15473 2005-10-17 Robert Love <rml@novell.com>
15475 * src/backends/NetworkManagerDebian.c,
15476 src/backends/NetworkManagerRedHat,
15477 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15480 2005-10-17 Robert Love <rml@novell.com>
15482 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15485 2005-10-17 Christopher Aillon <caillon@redhat.com>
15487 * src/NetworkManagerDevice.c: (process_scan_results)
15488 Fix logic that checks to see whether we have an ESSID.
15490 2005-10-15 Dan Williams <dcbw@redhat.com>
15492 Move scanning code into NetworkManager rather than use iwlib's
15493 iw_scan() function, so that we can figure out AP capabilities.
15496 - Add AP capability bits
15498 * src/NetworkManagerAP.[ch]
15499 - Add capability field to NMAccessPoint structure
15500 - Add WPA & RSN Information Element fields and accessor
15501 functions to NMAccessPoint
15503 * src/NetworkManagerDevice.c
15504 - Remove usage of iw_scan
15505 - Add scanning code to NetworkManager rather than use
15506 iw_scan() from iwlib
15508 * src/NetworkManagerUtils.[ch]
15509 - (nm_dispose_scan_results): remove, unused
15511 2005-10-14 Christopher Aillon <caillon@redhat.com>
15513 * gnome/libnm_glib/libnm_glib.c:
15514 * gnome/libnm_glib/libnm_glib.h:
15515 Use guint instead of gint for callback IDs.
15517 2005-10-12 Christopher Aillon <caillon@redhat.com>
15519 * gnome/applet/applet.c:
15520 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15521 every 1000ms. It will unconditionally call nmwa_update_state which
15522 kills the existing animation timeout and registers a new one with a
15523 callback to draw a new frame every 100ms. There are 11 connecting
15524 icon frames, so the last 2 frames kept getting dropped. Only reset
15525 the animation timeout if we aren't animating.
15527 2005-10-11 Dan Williams <dcbw@redhat.com>
15529 * gnome/applet/applet-dbus-devices.c
15530 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15531 We want to grab the product & vendor from net.physical_dev
15532 rather than info.parent.
15534 2005-10-11 Dan Williams <dcbw@redhat.com>
15536 * src/NetworkManagerDevice.c
15537 - Use the driver's WE version for scanning rather than
15538 the WE version NM was compiled with. Fixes random
15539 crashes in iw_scan () in iwlib.
15541 2005-10-10 Dan Williams <dcbw@redhat.com>
15543 * Remove nm_system_load_device_modules() from backend files
15544 and from NetworkManager.c
15546 2005-10-10 Dan Williams <dcbw@redhat.com>
15548 * src/NetworkManagerPolicy.c
15549 - Fix some bugs introduced by the capabilities patch
15551 2005-10-10 Dan Williams <dcbw@redhat.com>
15553 * gnome/applet/applet-dbus-info.c
15554 - (nmi_dbus_get_network_key): hide the menu when putting up
15555 the keyring dialog. (not sure if the code is right...)
15557 2005-10-09 Dan Williams <dcbw@redhat.com>
15559 Patch from Bill Moss <bmoss@clemson.edu>
15560 * src/NetworkManagerDevice.c
15561 - (nm_device_set_user_key_for_network): don't try to set auth
15562 mode on the AP from the allowed list if it's NULL
15564 2005-10-09 Dan Williams <dcbw@redhat.com>
15566 * Replace the "driver support level" stuff with capabilities. The
15567 capability field is a bitfield that is more flexible than the
15568 old driver support level thing. It's mostly so we can easily
15569 figure out what supports WPA and what doesn't, but should be
15570 quite useful later.
15572 2005-10-09 Dan Williams <dcbw@redhat.com>
15579 - Added new "nm-tool" tool that gives quite a bit more
15582 2005-10-07 Robert Love <rml@novell.com>
15584 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15585 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15586 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15587 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15590 2005-10-07 Robert Love <rml@novell.com>
15592 * configure.in: Change our compile flags for the betterment of mankind.
15593 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15594 prototype is very bad on 64-bit platforms as types default to int but
15595 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15596 "-Wmissing-declarations" to warn if we define an exported function
15597 but fail to put it in a header.
15599 2005-10-07 Robert Love <rml@novell.com>
15601 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15602 by the name nm_update_device_wireless_timeouts() and once tried,
15603 without success, to steal my pet turtle.
15605 2005-10-07 Robert Love <rml@novell.com>
15607 * Cleanup prototypes: put some functions in header files and mark
15608 others as 'static' -- feel free to invert
15609 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15610 nm_vpn_manager_vpn_connection_list_copy()
15611 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15612 nm_vpn_service_get_dbus_connection()
15613 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15614 nm_vpn_manager_vpn_connection_list_copy()
15615 * src/vpn-manager/nm-vpn-service.c: make
15616 nm_vpn_service_act_request_failed() and
15617 nm_vpn_service_stage2_daemon_wait() static
15618 * src/vpn-manager/nm-vpn-service.h: add prototype for
15619 nm_vpn_service_get_dbus_connection()
15621 2005-10-06 Christopher Aillon <caillon@redhat.com>
15623 * gnome/applet/applet.c:
15624 * gnome/applet/applet.h:
15625 * gnome/applet/icons/Makefile.am:
15626 Convey information about the current connection stage in the
15627 icons themselves instead of creating a separate progress bar.
15629 2005-10-04 Robert Love <rml@novell.com>
15631 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15632 convert an ether_addr structure's MAC into a string, because the
15633 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15634 versus 07:3B:04, while the former will not.
15636 2005-10-04 Robert Love <rml@novell.com>
15638 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15639 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15640 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15641 default route in the 'Connection Information' dialog, send primary
15642 and secondary name servers in in "getProperties" DBUS method, add
15643 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15644 secondary domain name servers are crucial pieces of information
15645 that a user might need in debugging a network problem.
15647 2005-10-04 Robert Love <rml@novell.com>
15649 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15650 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15651 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15652 default route in the 'Connection Information' dialog, send default
15653 route in "getProperties" DBUS method, add network_device_set_route(),
15654 and network_device_get_route(). The Gateway is a crucial piece of
15655 connection-related information that a user might need in debugging a
15658 2005-10-03 Robert Love <rml@novell.com>
15660 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15663 2005-10-02 Dan Williams <dcbw@redhat.com>
15665 * Shorten time taken to sleep by fastpathing bits of device deactivation
15666 necessary for sleep.
15668 * Fix issue where deactivating a device might deactivate the active
15669 VPN connection, even if the VPN was not using the device.
15671 2005-10-02 Dan Williams <dcbw@redhat.com>
15673 * gnome/applet/applet.c
15674 - Adjust signal strength -> icon mapping values slightly
15675 (so that 51% signal doesn't show a 75% icon) by adding
15676 5% to the values. ex: > 5% now shows 25% icon, > 30%
15677 shows 50% icon, etc.
15679 2005-09-29 Robert Love <rml@novell.com>
15681 * src/NetworkManager.c: removed unused variable.
15683 2005-09-28 Dan Williams <dcbw@redhat.com>
15685 Support for named + DBus, using Red Hat DBus patches for named. You
15686 can find those patches here, with "dbus" in the patch's filename:
15688 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15690 Don't forget the named dbus service file either.
15692 Instead of writing a config file and spawing a named process, NM will
15693 use an already-running dbus-enabled named if it finds one. NM will
15694 update named's forwarder configuration on the fly using dbus.
15696 If there is no dbus-enabled named running, NM will automatically fall
15697 back to writing the most-recent DNS server information to /etc/resolv.conf
15698 and calling nm_system_update_dns() to kick the system's resolver.
15700 Accordingly, all named-related configure-time options have been removed.
15702 2005-09-26 Robert Love <rml@novell.com>
15704 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15706 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15707 bug in error path if "ASKPASSWORD" is "no".
15709 2005-09-26 Robert Love <rml@novell.com>
15711 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15712 comment in /etc/resolv.conf -- ';' is not.
15714 2005-09-19 Dan Williams <dcbw@redhat.com>
15716 * src/backends/NetworkManagerRedHat.c:
15717 * src/backends/NetworkManagerDebian.c:
15718 * src/backends/NetworkManagerSlackware.c:
15719 * src/backends/NetworkManagerGentoo.c:
15720 * src/backends/NetworkManagerSUSE.c:
15721 Fix invocations of "/sbin/ip address" to use short form instead
15723 2005-09-19 Christopher Aillon <caillon@redhat.com>
15725 * src/nm-dbus-device.c: Don't assert when getting
15726 addresses of a not yet connected interface.
15728 * gnome/applet/applet.c: Free icons if loading fails.
15729 Use translator-credits so translators can make themselves known.
15731 2005-09-15 Christopher Aillon <caillon@redhat.com>
15733 * src/NetworkManagerAP.c:
15734 * src/NetworkManagerAP.h:
15735 * src/NetworkManagerDevice.c:
15736 Set a blacklist for certain common manufacturer default ESSIDs:
15737 APs with these ESSIDs are extremely likely to be completely
15738 different networks: connecting to one should not make NM
15739 auto-connect to every other AP with the same default ESSID.
15741 2005-09-12 Christopher Aillon <caillon@redhat.com>
15743 * gnome/applet/wireless-applet.glade:
15744 The passphrase entry should also activate the default
15746 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15748 * gnome/applet/applet-dbus-devices.c:
15749 * gnome/applet/applet.c:
15750 * gnome/applet/nm-device.c:
15751 * gnome/applet/nm-device.h:
15752 * src/NetworkManagerUtils.c:
15753 * src/NetworkManagerUtils.h:
15754 * src/nm-dbus-device.c:
15755 I've got a fever, and the only cure for it is less ioctl.
15756 Make NM push IP data rather than make the applet open a socket
15759 2005-09-10 Christopher Aillon <caillon@redhat.com>
15761 * gnome/applet/applet.c:
15762 * gnome/applet/applet-dbus-devices.c:
15763 * gnome/applet/applet-dbus-info.c:
15764 * gnome/applet/passphrase-dialog.c:
15765 * gnome/libnm_glib/libnm_glib.c:
15766 * gnome/vpn-properties/nm-vpn-properties.c:
15768 * src/backends/NetworkManagerRedHat.c:
15769 * src/named-manager/nm-named-manager.c:
15770 * src/NetworkManagerAPList.c:
15771 * src/NetworkManager.c:
15772 * src/NetworkManagerDbus.c:
15773 * src/NetworkManagerDevice.c:
15774 * src/NetworkManagerPolicy.c:
15775 * src/NetworkManagerSystem.c:
15776 * src/nm-dbus-device.c:
15777 * src/nm-dbus-nm.c:
15778 * src/vpn-manager/nm-vpn-manager.c:
15779 * src/vpn-manager/nm-vpn-service.c:
15780 * test/libnm_glib_test.c:
15781 * test/nminfotest.c:
15782 * test/nmtestdevices.c:
15783 Fix a bunch of 'unused variable' compiler warnings
15785 * NetworkManager.h:
15786 * gnome/applet/applet-dbus-info.c:
15787 * gnome/applet/applet-dbus-info.h:
15788 * gnome/applet/applet.c:
15789 * gnome/applet/applet.h:
15790 * src/NetworkManager.c:
15791 * src/NetworkManagerDbus.c:
15792 * src/NetworkManagerDbus.h:
15793 * src/NetworkManagerDevice.c:
15794 * src/NetworkManagerDevice.h:
15795 * src/NetworkManagerMain.h:
15796 * src/NetworkManagerWireless.c:
15797 * src/NetworkManagerWireless.h:
15798 * src/nm-dbus-nm.c:
15799 Make NetworkManager be smart about how frequently to scan
15800 based on its current state. Remove the UI for choosing when
15801 to scan. Scanning still may disabled completely by the user
15802 via the "Wireless Enabled" menu item.
15804 2005-09-09 Christopher Aillon <caillon@redhat.com>
15806 * gnome/applet/applet.c:
15807 Also overlay the vpn connecting icons onto the wired icon,
15810 * gnome/vpn-properties/nm-vpn-properties.glade:
15811 Clean up a few strings to use better grammar and proper casing.
15813 2005-09-08 Christopher Aillon <caillon@redhat.com>
15815 * gnome/applet/vpn-connection.c:
15816 * gnome/applet/vpn-connection.h:
15817 Add nmwa_vpn_connection_is_activating ()
15819 * gnome/applet/applet.c:
15820 * gnome/applet/applet.h:
15821 * gnome/applet/icons/nm-vpn-connecting*.png:
15822 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15823 the user know something's happening between clicking the VPN item and it
15824 actually being connected.
15826 2005-09-07 Christopher Aillon <caillon@redhat.com>
15828 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15829 failure case as well.
15831 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15833 * gnome/panel/eggtrayicon.[ch]:
15834 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15836 2005-09-07 Dan Williams <dcbw@redhat.com>
15838 Patch from Bill Moss <bmoss@clemson.edu>
15839 * src/applet-dbus.c
15840 - (nmwa_dbus_filter): strip whitespace from beginning
15841 and end of VPN login banner
15843 2005-09-07 Dan Williams <dcbw@redhat.com>
15845 * The great VPN Manager rewrite of 2005
15847 2005-09-07 Christopher Aillon <caillon@redhat.com>
15849 * gnome/applet/menu-items.c:
15850 * gnome/applet/nm-device.c:
15851 * gnome/applet/wireless-network.c:
15852 * gnome/libnm_glib/libnm_glib.c:
15853 * src/NetworkManagerDbusUtils.c:
15854 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15855 g_malloc0 doesn't return NULL
15857 2005-09-06 Dan Williams <dcbw@redhat.com>
15859 Patch from Tomislav Vujec <tvujec@redhat.com>
15860 * src/NetworkManagerDevice.c
15861 - (nm_get_device_by_udi): don't return a device when we
15862 actually didn't find what we were looking for
15864 2005-09-06 Christopher Aillon <caillon@redhat.com>
15866 * gnome/applet/applet-dbus-devices.c:
15867 * gnome/applet/applet-dbus-devices.h:
15868 * gnome/applet/applet-dbus.c:
15869 * src/NetworkManagerDbus.c:
15870 * src/NetworkManagerDbus.h:
15871 * src/NetworkManagerDevice.c:
15872 * src/nm-dbus-device.c:
15873 Make NM push updates about active device strength when it changes,
15874 rather than having the applet poll every 2s.
15876 2005-09-05 Christopher Aillon <caillon@redhat.com>
15878 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15879 network_device_set_strength
15881 2005-09-04 Dan Williams <dcbw@redhat.com>
15883 Patch from Bill Nottingham <notting@redhat.com>
15884 * src/NetworkManagerDevice.c
15885 - (nm_device_activation_cancel): reset the quit_activation flag
15887 2005-09-04 Dan Williams <dcbw@redhat.com>
15889 * src/nm-activation-request.c
15890 - (nm_act_request_unref): actually free the structure,
15891 which we didn't seem to be doing before
15893 2005-09-04 Dan Williams <dcbw@redhat.com>
15895 Patch from John Palmieri <johnp@redhat.com>
15896 * gnome/applet/applet-dbus-devices.c
15897 - Fix up unreffing of DBusMessage objects
15899 2005-09-04 Dan Williams <dcbw@redhat.com>
15901 Patch from John Palmieri <johnp@redhat.com>
15902 * gnome/applet/nm-device.c
15903 - (nm_device_unref): clear network_device's memory _before_ freeing it
15905 2005-09-02 Christopher Aillon <caillon@redhat.com>
15907 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15909 2005-09-02 Bill Nottingham <notting@redhat.com>
15911 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15913 2005-09-01 Dan Williams <dcbw@redhat.com>
15915 * src/NetworkManager.c
15916 - (nm_remove_device_from_list): rename to nm_remove_device
15917 - (nm_hal_device_removed): call nm_remove_device()
15919 * src/NetworkManagerDevice.c
15920 - Change the NMWirelessScanCB member 'reschedule' which
15921 wasn't used to 'force' to indicate that we need to
15922 force a scan when adding a device
15925 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15926 from the device list
15927 - (nm_dbus_nm_wake): Re-add all devices to the device list
15929 2005-09-01 Robert Love <rml@novell.com>
15931 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15932 and the check "!iface" in the error case is probably never true.
15934 2005-09-01 Dan Williams <dcbw@redhat.com>
15936 Patch from Bill Nottingham <notting@redhat.com>
15937 * src/backends/NetworkManagerRedHat.c
15938 - Add initial dialup support to Red Hat/Fedora backend
15940 2005-09-01 Dan Williams <dcbw@redhat.com>
15942 * gnome/applet/applet-dbus-devices.c
15943 - Sort both wireless networks and devices again, which got
15944 broken when removing threading
15946 2005-09-01 Christopher Aillon <caillon@redhat.com>
15948 * gnome/applet/applet.c:
15949 Only show the "Stop/Start All Wireless Devices" menuitem
15950 if we actually have wireless devices.
15952 * gnome/applet/applet-dbus-info.c:
15953 * gnome/applet/applet.c:
15954 * gnome/applet/other-network-dialog.c:
15955 * gnome/applet/vpn-password-dialog.c:
15956 Drop the gtk_dialog_run () calls in favor of connecting to
15957 "response" signals, needed now that the applet is not threaded.
15959 2005-08-31 Dan Williams <dcbw@redhat.com>
15961 Patch from Bill Moss <bmoss@clemson.edu>
15962 * src/NetworkManagerDevice.c
15963 - (nm_device_wireless_scan): fix scan timeout values
15965 2005-08-30 Dan Williams <dcbw@redhat.com>
15967 * gnome/applet/wireless-applet.glade
15968 - HIG-ify the Other Wireless Networks dialog a bit more
15969 - Fix some potential segfaults in the info dialog
15971 2005-08-30 Dan Williams <dcbw@redhat.com>
15973 * gnome/applet/applet-dbus-devices.c
15974 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15976 2005-08-30 Dan Williams <dcbw@redhat.com>
15978 * gnome/applet/applet-dbus.[ch]
15979 - Remove all the nmwa_dbus_call_method_xxxx functions since
15980 they weren't being used anyway
15982 2005-08-30 Bastien Nocera <hadess@hadess.net>
15984 * test/nmtestdevices.c: (print_usage), (main):
15985 Check the number of arguments, and fix a typo
15987 2005-08-29 Dan Williams <dcbw@redhat.com>
15989 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15990 * gnome/applet/applet.c
15991 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15993 2005-08-29 Dan Williams <dcbw@redhat.com>
15996 - Don't use threads any more. Anything that blocks
15997 (like gtk_dialog_run()) will have to get fixed up which
15998 should happen quickly. We really only had threads to make
15999 the animation smooth, and when everything got converted over
16000 to DBus Pending Calls, the need for threads kind of went away
16002 2005-08-29 Christopher Aillon <caillon@redhat.com>
16004 * gnome/applet/applet.c: Draw VPN connections as radio items
16005 since we don't yet support multiple VPNs.
16006 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
16007 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
16009 2005-08-29 Dan Williams <dcbw@redhat.com>
16011 Patch from j@bootlab.org
16012 - Make --without-named work
16013 - Make --with-dhcdbd work correctly
16015 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
16017 * configure.in: Added "ca" to ALL_LINGUAS.
16019 2005-08-26 Christopher Aillon <caillon@redhat.com>
16021 * Fix up VPN state handling between the applet and NetworkManager,
16022 so that the applet doesn't show a VPN as connected when one
16024 - The applet no longer has a pointer to the active VPN's
16025 name, but tracks each VPNs state individually
16026 - NM no longer has a "getActiveVPNConnection" method
16027 - NM no longer broadcasts the "VPNConnectionChange" signal
16028 - NM now broadcasts a "VPNConnectionStateChange" signal
16029 whenever the state of a VPN changes
16031 2005-08-26 Dan Williams <dcbw@redhat.com>
16033 * gnome/applet/applet-dbus-devices.c
16034 gnome/applet/applet-dbus-vpn.c
16035 - Remove calls to dbus_pending_call_ref() because we already
16036 "own" the pending call
16037 - Remove calls to dbus_pending_call_get_completed() because
16038 when we are in the callback, the pending call is completed
16041 2005-08-22 Dan Williams <dcbw@redhat.com>
16043 Patch by Bill Moss <bmoss@clemson.edu>
16044 * src/dhcp-manager/nm-dhcp-manager.c
16045 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
16046 some time to send out a RELEASE if they like
16048 2005-08-22 Dan Williams <dcbw@redhat.com>
16050 Noticed by Bill Moss <bmoss@clemson.edu>
16051 * src/NetworkManagerDbus.c
16052 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
16053 instead of just cancelling its activation
16055 * src/NetworkManagerDevice.c
16056 - (nm_device_deactivate): some small cleanups
16057 - (nm_device_set_user_key_for_network): deactivate the device
16058 instead of just cancelling its activation
16060 2005-08-22 Dan Williams <dcbw@redhat.com>
16062 Noticed by Bill Moss <bmoss@clemson.edu>
16063 * src/NetworkManagerDevice.c
16064 - (nm_device_wireless_scan): fix scan timeout, we were
16065 waiting way too long for scans to complete
16067 2005-08-22 Dan Williams <dcbw@redhat.com>
16069 Patch from j@bootlab.org:
16070 * src/backends/NetworkManagerDebian.c
16071 - Make the Debian backend work for static IP again
16073 2005-08-20 Christopher Aillon <caillon@redhat.com>
16075 * gnome/applet/other-network-dialog.c:
16076 The "Create New Network" and "Connect to Other Network"
16077 dialogs share alot of code, but shouldn't share a window
16078 title. Give them different ones.
16080 * gnome/applet/wireless-applet.glade:
16081 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
16082 Some more minor UI tweaks.
16084 2005-08-19 Christopher Aillon <caillon@redhat.com>
16086 * gnome/applet/other-network-dialog.c:
16087 * gnome/applet/wireless-applet.glade:
16088 Also need mnemonic widgets, and underline enabled.
16090 2005-08-19 Dan Williams <dcbw@redhat.com>
16092 * vpn-daemons/vpnc/nm-vpnc-service.c
16093 - (vpnc_watch_cb): remove no-longer-relevant comment
16094 - (write_config_option): new function, helper to write
16095 config options to vpnc's stdin
16096 - (nm_vpnc_config_write): use the new helper, make the
16099 2005-08-19 Christopher Aillon <caillon@redhat.com>
16101 * gnome/applet/passphrase-dialog.c:
16102 * gnome/applet/wireless-applet.glade:
16103 Make the passphrase dialog response based, and treat
16104 responses other than OK (such as Esc, [X]) as a cancel.
16106 2005-08-18 Christopher Aillon <caillon@redhat.com>
16108 * initscript/Gentoo/NetworkManager:
16109 * initscript/RedHat/NetworkManager:
16110 * initscript/RedHat/NetworkManagerDispatcher:
16111 * initscript/SUSE/networkmanager:
16112 CVS remove these in place of .in replacements
16115 * initscript/Gentoo/NetworkManager.in:
16116 * initscript/RedHat/NetworkManager.in:
16117 * initscript/RedHat/NetworkManagerDispatcher.in:
16118 * initscript/SUSE/networkmanager.in:
16119 These scripts now are generated so they work still when
16120 NM is built using a bindir other than /usr/bin
16122 2005-08-18 Dan Williams <dcbw@redhat.com>
16124 * gnome/applet/main.c
16125 - Revert previous change for --no-session since
16126 --sm-disable does the same thing
16128 2005-08-18 Dan Williams <dcbw@redhat.com>
16130 * gnome/applet/applet-dbus-info.c
16131 - (nmi_dbus_create_error_message): new function
16132 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16133 functions. Also don't check for both device _and_ network before
16134 asking for a user's key, because we may not have gotten all our
16135 networks back from NM quite yet (due to the dbus pending calls
16136 coming in later). Fixes a hang in NM/nm-applet.
16138 * src/NetworkManagerDbus.c
16139 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16140 slightly more sane manner, even though we are still broken for
16141 certain other error conditions.
16142 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16143 to the info-daemon too
16145 * src/NetworkManagerDevice.c
16146 - Fix some debug messages to be info messages instead
16148 2005-08-18 Dan Williams <dcbw@redhat.com>
16150 * gnome/applet/main.c
16151 - Add new "--no-session" parameter that disables applet
16152 session management, ie for testing
16154 2005-08-18 Christopher Aillon <caillon@redhat.com>
16156 * gnome/applet/other-network-dialog.c:
16157 * gnome/applet/wireless-applet.glade: More mnemonics
16159 2005-08-17 Robert Love <rml@novell.com>
16161 * initscript/SUSE/networkmanager: update
16163 2005-08-17 Dan Williams <dcbw@redhat.com>
16165 * Tag NM_0_4_1_RELEASE
16167 2005-08-17 Christopher Aillon <caillon@redhat.com>
16169 * gnome/applet/applet.c: More translatable string cleanup
16172 2005-08-17 Dan Williams <dcbw@redhat.com>
16174 * gnome/applet/applet-dbus-info.c
16175 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16176 from the dbus message, which tells us to unconditionally
16177 ask the user for a new key. Otherwise, we pull the key from
16178 the keyring and return it. If we fail to get the key from the
16179 keyring, we ask the user for a new key.
16180 - (nmi_dbus_get_network_key): new function to grab the key for
16181 an essid from the keyring.
16182 - (nmi_dbus_get_network_properties): don't access the keyring here.
16183 Also, don't return any key in the dbus message.
16185 * src/NetworkManagerDbus.[ch]
16186 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16187 indicate that we unconditionally want a new key. This function
16188 is now also used to get keys from the info-daemon which are
16189 pre-stored, not just for asking the user for a new key. The
16190 "new_key" parameter indicates whether or not we wish to ask the
16191 user for a new key.
16192 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16193 info-daemon in the return message, so use NULL instead. The
16194 key will be filled in at connect time by calling
16195 nm_dbus_get_user_key_for_network()
16197 * src/NetworkManagerDevice.c
16198 - (nm_device_wireless_configure): update for "new_key" param to
16199 nm_dbus_get_user_key_for_network(). We initially set new_key
16200 to FALSE to see if we have a stored key in the info-daemon, but
16201 if the connection is unsuccessful at this stage we request a
16204 2005-08-17 Dan Williams <dcbw@redhat.com>
16206 * gnome/applet/icons/nm-no-connection.png
16207 gnome/applet/icons/nm-device-wired.png
16208 - Use Diana's new RJ45 connector icons
16210 2005-08-17 Dan Williams <dcbw@redhat.com>
16212 * src/NetworkManagerPolicy.c
16213 - (nm_policy_device_change_check): clarify switching rules if
16214 both new and old devices are valid; mainly, don't switch
16215 away from user-requested wireless connection back to a wired
16218 2005-08-17 Dan Williams <dcbw@redhat.com>
16220 * gnome/applet/Makefile.am
16221 - Relocate the applet to /usr/bin since it is no longer
16222 executed by anything, but directly by the user
16224 2005-08-17 Dan Williams <dcbw@redhat.com>
16226 Patch from Bill Moss <bmoss@clemson.edu>
16228 * gnome/applet/applet-dbus-info.[ch]
16229 - (nmi_save_network_info): save timestamp for network if it
16230 was a change requested by the user
16231 - (nmi_dbus_update_network_info): get user_requested from dbus
16232 message and pass to nmi_save_network_info()
16234 * gnome/applet/applet.c
16235 - (nmwa_update_network_timestamp): remove
16236 - (nmwa_menu_item_activate): don't set timestamp on networks
16237 here, only after a successful connect in nmi_save_network_info()
16239 * src/NetworkManagerDbus.[ch]
16240 - (nm_dbus_update_network_info): pass user_requested into the
16243 * src/NetworkManagerPolicy.c
16244 - (nm_policy_activation_finish): pass user_requested to
16245 nm_dbus_update_network_info()
16247 2005-08-16 Robert Love <rml@novell.com>
16249 * gnome/applet/applet.c: Better "Dial Up" menu item.
16251 2005-08-16 Robert Love <rml@novell.com>
16253 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16254 "Connection Information" menu item.
16256 2005-08-16 Dan Williams <dcbw@redhat.com>
16258 Patch from j@bootlab.org
16259 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16261 * configure.in: allow specifying the path to dhcdbd
16263 2005-08-16 Robert Love <rml@novell.com>
16265 Patch from j@bootlab.org
16266 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16267 src/backends/interface_parser.h: Debian dialup support.
16269 2005-08-16 Christopher Aillon <caillon@redhat.com>
16271 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16272 * gnome/applet/applet.c: Add some mnemonics for VPNC
16274 * vpn-daemons/.cvsignore: fix this up a little bit
16276 2005-08-16 Robert Love <rml@novell.com>
16278 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16281 2005-08-16 Christopher Aillon <caillon@redhat.com>
16283 * gnome/applet/applet.c: Split markup out of translatable strings
16284 and clean up logic a little bit. (fixes #309012)
16286 2005-08-15 Christopher Aillon <caillon@redhat.com>
16288 * gnome/vpn-properties/nm-vpn-properties.c:
16289 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16290 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16291 Makeshift fix to remove newlines from translatable strings.
16292 Note that we now return an allocated string, so callers of
16293 get_confirmation_details () must now call g_free () on the
16294 result. (fixes #309033).
16296 2005-08-12 Robert Love <rml@novell.com>
16298 * gnome/applet/applet-dbus.c: remove newlines from translatable
16299 strings--not needed here anyway. (fix b.g.o #309011)
16300 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16302 2005-08-11 Robert Love <rml@novell.com>
16304 * gnome/applet/applet.c: mark string as translatable.
16306 2005-08-11 Robert Love <rml@novell.com>
16308 * initscript/SUSE/networkmanager: update.
16310 2005-08-11 Dan Williams <dcbw@redhat.com>
16312 * src/nm-dhcp-manager.c
16313 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16314 an gateway returned from DHCP, try to use the address of the DHCP
16315 server as the gateway instead. Found by Ralf Ertzinger.
16317 2005-08-10 Robert Love <rml@novell.com>
16319 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16320 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16322 2005-08-10 Dan Williams <dcbw@redhat.com>
16324 Patch from Bill Moss <bmoss@clemson.edu>
16325 * Consolidate writes of access point information updates to the info daemon
16326 so that we only do it when the connection to the access point was
16327 successful. Also consolidates updates to GConf in the Gnome applet.
16329 * src/nm-netlink-monitor.c
16330 - Silence compile warning when calling g_object_new()
16332 2005-08-08 Dan Williams <dcbw@redhat.com>
16334 Patch from Steev <steev@steev.net>:
16335 * src/backends/NetworkManagerGentoo.c
16336 - Stub new dialup backend functions
16338 2005-08-08 Dan Williams <dcbw@redhat.com>
16340 Patch from Colin Slater:
16341 * src/backends/NetworkManagerGentoo.c
16342 - (nm_system_update_dns): Fix exit status check for restarting
16345 2005-08-05 Robert Love <rml@novell.com>
16347 * NetworkManager.h,
16348 gnome/applet/applet-dbus-devices.c,
16349 gnome/applet/applet-dbus-devices.h,
16350 gnome/applet/applet-dbus.c,
16351 gnome/applet/applet.c,
16352 gnome/applet/applet.h,
16353 src/NetworkManager.c,
16354 src/NetworkManagerMain.h,
16355 src/NetworkManagerSystem.h,
16356 src/backends/NetworkManagerRedHat.c,
16357 src/backends/NetworkManagerSuSE.c,
16358 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16360 2005-08-05 Robert Love <rml@novell.com>
16362 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16363 machine's hostname to make adhoc creation idiot-proof.
16365 2005-08-04 Robert Love <rml@novell.com>
16367 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16370 2005-08-04 Dan Williams <dcbw@redhat.com>
16372 * gnome/applet/applet-dbus-info.c
16373 gnome/applet/applet-dbus-info.h
16374 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16375 to store key, key type, and auth method rather than just auth method
16376 - (nmi_dbus_update_network_info): new function
16377 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16379 * gnome/applet/passphrase-dialog.c
16380 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16381 of saving the info ourselves
16383 * gnome/libnm_glib/libnm_glib.c
16384 - Remove the stupid version check for dbus
16386 * src/NetworkManagerAP.c
16387 src/NetworkManagerAP.h
16388 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16390 * src/NetworkManagerDbus.c
16391 src/NetworkManagerDbus.h
16392 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16393 more than just the auth method
16395 * src/NetworkManagerDevice.c
16396 - Update network info at the appropriate times
16398 2005-07-29 Ray Strode <rstrode@redhat.com>
16400 * src/NetworkManager.c (nm_info_handler): don't use input as format
16401 string (Spotted by Ian Jackson).
16403 2005-07-27 Dan Williams <dcbw@redhat.com>
16407 - Random cleanups of spacing
16409 * gnome/applet/applet.h
16410 gnome/applet/other-network-dialog.c
16411 gnome/applet/passphrase-dialog.c
16412 - Conslidate usage of NMWAEncryptionKeyTypes enum
16414 Patch from Bill Moss:
16415 - Make Other Wireless Networks work again with encryption keys
16417 2005-07-26 Dan Williams <dcbw@redhat.com>
16419 Patch from Steev <steev@steev.net>:
16420 * src/backends/NetworkManagerGentoo.c
16421 src/backends/Makefile.am
16422 - Fix up Gentoo backend
16424 2005-07-26 Robert Love <rml@novell.com>
16426 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16428 2005-07-25 Robert Love <rml@novell.com>
16430 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16431 in the same group as the wireless networks, since they are all
16432 mutually exclusive.
16434 2005-07-24 Ray Strode <rstrode@redhat.com>
16436 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16437 remove unneeded NULL arg from g_object_new(). Any
16438 warnings caused by not having the extra NULL are just a
16439 result of a bug in glib 2.7.0 - 2.7.2.
16441 2005-07-22 Robert Love <rml@novell.com>
16443 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16445 2005-07-22 Robert Love <rml@novell.com>
16447 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16448 parameters (gcc 4.0.2 warning fix).
16450 2005-07-18 Robert Love <rml@novell.com>
16452 Suggested by Aaron Bockover (abockover@novell.com)
16453 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16455 * gnome/applet/passphrase-dialog.c: ditto
16456 * gnome/applet/wireless-applet.glade: ditto
16458 2005-07-13 Dan Williams <dcbw@redhat.com>
16460 Patch from Ray Strode <halfline@gmail.com>
16461 * vpn-daemons/vpnc/nm-vpnc-service.c
16462 - Don't let vpnc daemonize, fixes some races with PID file reading
16464 2005-07-13 Dan Williams <dcbw@redhat.com>
16466 Patch from Ray Strode <halfline@gmail.com>
16467 * Random cleanups for strict CFLAGS
16469 2005-07-07 Dan Williams <dcbw@redhat.com>
16471 Patch from Derek Atkins <warlord@MIT.EDU>
16472 * src/nm-dbus-net.c:
16473 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16475 2005-07-07 Dan Williams <dcbw@redhat.com>
16477 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16478 * src/backends/NetworkManagerGentoo.c
16479 - Gentoo backend Static IP nameserver fixes
16480 - General Gentoo backend goodness
16482 2005-07-07 Dan Williams <dcbw@redhat.com>
16484 Patch from Bastien Nocera:
16485 * gnome/applet/applet.c
16486 - Fix up error reporting when icons or glade files are missing
16488 2005-07-07 Robert Love <rml@novell.com>
16490 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16491 are not any VPN connections above it.
16493 2005-07-07 Robert Love <rml@novell.com>
16495 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16497 2005-07-05 Robert Love <rml@novell.com>
16499 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16502 2005-07-05 Robert Love <rml@novell.com>
16504 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16505 on wired or unencrypted wireless.
16507 2005-07-01 Robert Love <rml@novell.com>
16509 * src/NetworkManagerSystem.c: Print the error via strerror().
16511 2005-06-30 Robert Love <rml@novell.com>
16513 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16514 then exit if the glade file is not found. currently the application
16517 2005-06-30 Robert Love <rml@novell.com>
16519 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16520 explicitly up all interfaces on wake from sleep.
16522 2005-06-30 Robert Love <rml@novell.com>
16524 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16525 with information about the currently active connection.
16526 * gnome/applet/applet.h: (ditto)
16527 * gnome/applet/wireless-applet.glade: (ditto), new file
16529 2005-06-30 Robert Love <rml@novell.com>
16531 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16532 * src/nm-dbus-nm.c: print when we sleep and wake up.
16533 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16534 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16535 in /sbin unless D-BUS is, folks).
16536 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16538 2005-06-27 Robert Love <rml@novell.com>
16540 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16543 2005-06-27 Robert Love <rml@novell.com>
16545 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16548 2005-06-26 Robert Love <rml@novell.com>
16550 * src/NetworkManagerDevice.c: be specific about which device in
16553 2005-06-23 Adam Weinberger <adamw@gnome.org>
16555 * src/nm-netlink-monitor.c: correct spelling error.
16557 2005-06-23 Robert Love <rml@novell.com>
16559 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16560 * gnome/applet/passphrase-dialog.c: more of that keyring!
16562 2005-06-23 Robert Love <rml@novell.com>
16564 * configure.in: remove extraneous GNOMEKEYRING directives.
16565 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16566 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16567 * gnome/applet/passphrase-dialog.c: whitespace.
16569 2005-06-23 Robert Love <rml@novell.com>
16571 * src/NetworkManagerDevice.c: division in assignment was flipped.
16573 2005-06-23 David Zeuthen <david@fubar.dk>
16575 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16576 signal to the child to indicate that we got what we wanted when we
16577 see two new-lines right after each other.
16578 (nmwa_vpn_request_password): Pass a structure with several members
16579 instead of just the passwords
16581 2005-06-23 Dan Williams <dcbw@redhat.com>
16583 * src/NetworkManager.c
16584 src/NetworkManagerMain.h
16585 - (nm_get_hal_ctx): new function, move Hal initialization code here
16586 - (nm_hal_init): new function, init libhal context then add devices
16587 - (nm_hal_deinit): new function, clean up libhal context
16588 - (nm_data_free): Move Hal cleanup here
16589 - (main): check whether Hal is running, and if so, get a list of
16590 network devices from it
16592 * src/NetworkManagerDbus.c
16593 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16594 and when it appears, get a list of network devices from it. If
16595 Hal goes away, clean up the libhal context
16597 2005-06-22 Robert Love <rml@novell.com>
16599 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16600 permissions of scripts before executing.
16602 2005-06-21 Robert Love <rml@novell.com>
16604 * initscript/SUSE/networkmanager: update.
16605 * src/backends/NetworkManagerSuSE.c: cleanup.
16607 2005-06-21 Robert Love <rml@novell.com>
16609 * gnome/applet/applet.c: use menu mnemonics.
16610 * gnome/applet/menu-items.c: (ditto)
16612 2005-06-21 Robert Love <rml@novell.com>
16614 * applet/applet-dbus-devices.c: mark non-static functions static.
16615 * applet/applet-dbus-vpn.c: (ditto)
16616 * applet/applet.c: (ditto)
16617 * applet/nm-device.h: (ditto)
16618 * applet/other-network-dialog.c: (ditto)
16619 * applet/passphrase-dialog.c: (ditto)
16620 * NetworkManager.c: (ditto)
16621 * NetworkManagerDbus.c: (ditto)
16622 * NetworkManagerDevice.c: (ditto)
16623 * NetworkManagerPolicy.c: (ditto)
16624 * NetworkManagerUtils.c: (ditto)
16625 * NetworkManagerWireless.c: (ditto)
16626 * NetworkManagerWireless.h: (ditto)
16627 * nm-netlink-monitor.c: (ditto)
16628 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16629 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16630 * autoip.c: include autoip.h.
16631 * autoip.h: new file. define get_autoip().
16632 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16633 * NetworkManagerDbus.h: remove duplicate definitions.
16635 2005-06-20 Robert Love <rml@novell.com>
16637 * Makefile.am: Add missing intltool-foo.in generated files to
16638 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16639 with the start of stuff to cleanup on 'distclea'.
16640 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16641 stuff right and 'distcheck' works.
16642 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16643 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16644 Makefile.am for each. And systray/Makefile needs to be redone.
16646 2005-06-19 Dan Williams <dcbw@redhat.com>
16648 * src/NetworkManagerDevice.c
16649 - (nm_device_wireless_process_scan_results): scan every 20s when
16650 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16652 2005-06-19 Dan Williams <dcbw@redhat.com>
16654 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16656 2005-06-18 Ray Strode <rstrode@redhat.com>
16658 * src/nm-netlink-monitor.c
16659 (nm_netlink_monitor_event_handler): check for the presence
16660 of either error condition not both.
16662 (nm_netlink_monitor_error_handler): emit error signal if
16665 (nm_netlink_monitor_event_handler),
16666 (nm_netlink_monitor_error_handler),
16667 (nm_netlink_monitor_disconnect_handler): if an
16668 assertion fails disconnect the event handler to prevent
16671 * src/nm-netlink-monitor.h: add new error condition
16672 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16674 2005-06-18 Ray Strode <rstrode@redhat.com>
16676 * src/nm-netlink-monitor.c
16677 (nm_netlink_monitor_event_handler): remove bogus < 0
16678 check on unsigned value and return early if the kernel
16679 didn't send any bytes.
16681 2005-06-17 Robert Love <rml@novell.com>
16683 * initscript/SUSE/networkmanager: Change the Provides and default
16686 2005-06-16 Dan Williams <dcbw@redhat.com>
16688 Patch from Robert Love:
16689 * gnome/applet/applet.c
16690 - Beautify some applet menu item names
16692 2005-06-17 David Zeuthen <davidz@redhat.com>
16694 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16695 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16696 Also add new methods can_export, import_file and export.
16698 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16701 * gnome/vpn-properties/nm-vpn-properties.c:
16702 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16703 nm-vpn-ui-interface.h.
16704 (update_edit_del_sensitivity): Also update "Export" sensitivity
16705 (add_vpn_connection): Also add new SVC_NAME column
16706 (import_settings): New function
16707 (retrieve_data_from_selected_connection): New function
16708 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16710 (export_cb): New function
16711 (init_app): Also setup the "export" widget
16712 (main): Support the --import-service and --import-file commandline
16715 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16718 2005-06-16 Dan Williams <dcbw@redhat.com>
16720 Patch from Robert Love:
16721 * gnome/applet/menu-items.c
16722 - (network_menu_item_new): pass -1 as wireless network
16723 menu items height size request rather than ascent / 2
16725 2005-06-16 Dan Williams <dcbw@redhat.com>
16727 * Clean up wording in Wireless Scan Methods menu items and constants
16729 2005-06-16 Robert Love <rml@novell.com>
16732 - remove gtkcell* files
16734 2005-06-15 Dan Williams <dcbw@redhat.com>
16736 Patch from Robert Love: make the applet stetic
16738 * gnome/applet/Makefile.am
16739 - Don't compile the gtkcellview and gtkcellrendererprogress files
16741 * gnome/applet/gtkcellview.h
16742 gnome/applet/gtkcellview.c
16743 gnome/applet/gtkcellrendererprogress.h
16744 gnome/applet/gtkcellrendererprogress.c
16747 * gnome/applet/menu-items.c
16748 - Progress bars are 5:1 size ratio
16749 - Use GTK progress bars rather than internal ones
16751 2005-06-15 Dan Williams <dcbw@redhat.com>
16753 Patch from Robert Love:
16754 * initscript/SUSE/networkmanager
16757 2005-06-15 Dan Williams <dcbw@redhat.com>
16759 * src/backends/NetworkManagerSuSE.c
16760 src/backends/NetworkManagerRedHat.c
16761 src/backends/NetworkManagerDebian.c
16762 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16764 2005-06-15 Dan Williams <dcbw@redhat.com>
16766 * src/backends/NetworkManagerDebian.c
16767 - Add nm_system_device_get_use_dhcp() to debian backend
16769 Patch from Kay Sievers:
16770 * src/backends/NetworkManagerSuSE.c
16771 - Update debian backend for static IP nameservers
16773 * src/NetworkManagerDevice.c
16774 - Actually set the device to use static IP or DHCP rather
16777 2005-06-15 Dan Williams <dcbw@redhat.com>
16779 Patch from Thom May:
16780 * src/backends/NetworkManagerDebian.c
16781 - Update debian backend for static IP nameservers
16783 2005-06-15 Dan Williams <dcbw@redhat.com>
16785 Patches from Robert Love:
16786 * gnome/applet/wireless-applet.glade
16787 - Tighten up wording
16789 * src/NetworkManagerDevice.c
16790 - Remove misplaced ';'
16793 initscript/Makefile.am
16794 initscript/SUSE/Makefile.am
16795 initscript/SUSE/networkmanager
16796 - Add SUSE initscript
16798 2005-06-12 David Zeuthen <davidz@redhat.com>
16800 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16802 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16804 * gnome/vpn-properties/nm-vpn-properties.c: New file
16806 * gnome/vpn-properties/Makefile.am: New file
16808 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16811 * src/vpn-manager/nm-vpn-manager.c
16812 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16813 instead of just a single one
16815 * src/vpn-manager/nm-dbus-vpn.c:
16816 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16818 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16820 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16821 Change the interface here to give a list of passwords. Also, don't
16822 require username, but do require service
16824 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16825 the binary for the auth-dialog and use that instead of putting up a
16826 dialog asking for a single password
16828 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16829 however do remember the service
16831 * gnome/applet/main.c (main): Setup i18n
16833 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16834 connection to '%s'" to the tooltip if we are connected using VPN
16835 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16836 key to determine whether we the auth-dialog needs to
16837 reprompt. Also cope with the fact that the auth-dialog now returns
16838 an array of passwords.
16839 (nmwa_menu_configure_vpn_item_activate): New handler for
16840 "Configure VPN..." menu item
16841 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16842 (is_vpn_available): New function to determine if we got any
16843 NM-compatible VPN software installed
16844 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16845 items only if we have NM-compatible VPN software installed
16846 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16847 logic for detecting when VPN connections are removed
16849 * gnome/applet/applet-dbus.h: Removed the prototypes for
16850 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16851 since these are defined elsewhere
16853 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16854 function used to keep track of whether the last attempt succeded
16855 (nmwa_dbus_filter): Update last_attempt according to whether the
16856 VPN connection could be established or not
16858 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16859 Change prototype to take an array of passwords, not just a single
16862 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16863 update service, not user
16864 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16865 dbus_active_vpn_name is not NULL before using it
16866 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16867 string array instead of assuming a single password
16869 * gnome/applet/applet-dbus-info.c:
16870 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16871 user name; don't read from gconf
16873 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16876 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16878 * configure.in: Add checks for gmodule-2.0.
16879 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16880 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16881 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16884 * vpn-daemons/Makefile.am: Removed
16886 * vpn-daemons/README: New file to describe extensions points for VPN
16889 2005-06-10 Dan Williams <dcbw@redhat.com>
16891 * src/backends/NetworkManagerRedHat.c
16892 - (get_current_profile_name): new function, grab current network profile name from
16893 /etc/sysconfig/network
16894 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16895 update an IP4 Config structure's settings from it
16896 - (nm_system_device_get_system_config): if we're using static IP on this device,
16897 get DNS info from current network profile
16899 2005-06-09 Dan Williams <dcbw@redhat.com>
16901 Patch from Robert Love:
16902 * src/NetworkManagerDevice.c
16903 src/NetworkManagerUtils.c
16904 - 64-bit build fixes
16906 2005-06-09 Dan Williams <dcbw@redhat.com>
16908 Patch from Kay Sievers and Robert Love:
16910 src/backends/Makefile.am
16911 src/backends/NetworkManagerSuSE.c
16914 2005-06-09 Dan Williams <dcbw@redhat.com>
16917 - Add NMWirelessScanMethod enum for scan methods
16919 * gnome/applet/applet-dbus-devices.c
16920 - (nmwa_dbus_update_scanning_enabled_cb): remove
16921 - (nmwa_dbus_update_scanning_enabled): remove
16922 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16923 since it got removed
16924 - (nmwa_dbus_enable_scanning): remove
16926 * gnome/applet/applet-dbus-info.c
16927 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16928 update the wireless scanning method from NMI
16929 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16930 method value to NetworkManager
16931 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16933 * gnome/applet/applet-dbus-info.h
16934 - Add prototype for nmi_dbus_signal_update_scan_method
16936 * gnome/applet/applet.c
16937 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16938 Wireless Scanning menu based on current wireless scan method
16939 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16940 signal for Wireless Scanning menu items, tell NetworkManager the new method
16941 and update our menu items to make sure the right one is checked
16942 - (nmwa_set_scanning_enabled_cb): remove
16943 - (nmwa_context_menu_update): remove references to pause_scanning_item
16944 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16946 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16948 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16949 so we get notified of preference values too
16950 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16952 * gnome/applet/applet.h
16953 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16954 - Add wireless scan method member to applet data
16955 - Remove pause_scanning_item, add Wireless Scanning submenu
16957 * src/NetworkManager.c
16958 - (nm_data_new): default to NM_SCAN_METHOD_ON
16959 - (main): grab scanning method from NMI if we can
16961 * src/NetworkManagerDbus.c
16962 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16963 nm_dbus_update_wireless_scan_method()
16964 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16966 - (nm_dbus_nmi_is_running): redundant function, removed
16967 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16968 when NMI comes back
16970 * src/NetworkManagerDevice.c
16971 - (nm_device_is_activated): return TRUE if the device is activated
16972 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16973 and we are activated
16976 - (nm_dbus_nm_set_scanning_enabled): removed
16977 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16978 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16980 2005-06-09 Dan Williams <dcbw@redhat.com>
16983 src/vpn-manager/nm-vpn-service.c
16984 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16986 2005-05-27 Dan Williams <dcbw@redhat.com>
16988 * vpn-daemons/vpnc/nm-vpnc-service.c
16989 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16990 Should fix the bug where the VPN connection terminates the first time.
16992 2005-05-20 Dan Williams <dcbw@redhat.com>
16995 - Differentiate VPN config signals between bad VPN config options
16998 * gnome/applet/applet-dbus-info.h
16999 - Add prototypes for wireless network and vpn connection update functions
17001 * gnome/applet/applet-dbus.c
17002 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
17004 * gnome/applet/applet.c
17005 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
17007 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
17008 propogation to NetworkManager
17009 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
17010 notify propogation to NetworkManager
17012 * src/NetworkManagerDbus.c
17013 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
17014 are updating so a network can be removed from it if necessary
17016 * src/vpn-manager/nm-vpn-manager.c
17017 - (nm_vpn_manager_process_signal): trap new vpn config error signals
17019 * vpn-daemons/vpnc/nm-vpnc-service.c
17020 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
17021 - (nm_vpnc_dbus_signal_launch_failed): remove
17022 - (nm_vpnc_dbus_signal_connect_failed): remove
17023 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
17024 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
17025 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
17026 for new generalized error signal function, remove config file stuff
17027 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
17028 we can write configuration options to it
17029 - (nm_vpnc_config_file_generate): removed
17030 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
17031 - (nm_vpnc_config_options_validate): validate the config options we receive
17032 from NetworkManager to block potential exploits
17033 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
17035 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
17038 2005-05-16 Dan Williams <dcbw@redhat.com>
17040 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
17041 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
17044 2005-05-16 Dan Williams <dcbw@redhat.com>
17046 Patch from Tomislav Vujec <tvujec@redhat.com>
17047 * gnome/applet/applet-dbus-info.c
17048 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
17049 GConf and pass them to NetworkManager. New key is 'routes' under
17050 the VPN connection, and should be a string list
17052 * src/NetworkManagerSystem.c
17053 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
17054 set them on the device when we set the rest of the VPN config. Ensure
17055 they are in the correct format since they are passed directly to the
17058 * src/backends/NetworkManagerRedHat.c
17059 src/backends/NetworkManagerDebian.c
17060 - (nm_system_device_add_route_via_device_with_iface): new function
17062 * src/vpn-manager/nm-dbus-vpn.c
17063 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
17065 * src/vpn-manager/nm-vpn-manager.c
17066 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
17067 them into the IP4 config functions
17069 2005-05-15 Dan Williams <dcbw@redhat.com>
17071 From Filip Miletic:
17075 - Serbian translation added
17077 2005-05-15 Dan Williams <dcbw@redhat.com>
17079 * dispatcher-daemon/NetworkManagerDispatcher.c
17080 - (main): sync arguments with NetworkManager and the applet, now use
17081 "--no-daemon" rather than "daemon=no"
17082 - (nmd_print_usage): Fix script path in usage message
17084 2005-05-15 Dan Williams <dcbw@redhat.com>
17086 * src/NetworkManagerDevice.[ch]
17087 src/NetworkManagerPolicy.c
17088 src/NetworkManager.c
17090 - Remove the "just_added" parameter from nm_device_deactivate(). We no
17091 longer send the DeviceNoLongerActive signal unconditionally, but only
17092 when the device is actually active.
17094 * dispatcher-daemon/NetworkManagerDispatcher.c
17095 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
17096 and simplify the logic
17097 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
17098 we free it later on
17100 * initscript/RedHat/Makefile.am
17101 initscript/RedHat/NetworkManagerDispatcher
17102 - Add initscript for NetworkManagerDispatcher
17105 Patch from Bill Moss:
17106 * dispatcher-daemon/NetworkManagerDispatcher.c
17107 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
17109 * src/NetworkManagerDbus.c
17110 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
17111 and DeviceNowActive gets signaled, then the device has a new IP address
17112 anyway. There's no need for a separate signal.
17114 * src/NetworkManagerDevice.c
17115 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
17117 * src/NetworkManagerPolicy.c
17118 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
17119 activates successfully. This kind of went missing when I reworked the
17122 2005-05-15 Dan Williams <dcbw@redhat.com>
17125 - Check for dhcdbd and error if its not found
17127 * src/dhcp-manager/Makefile.am
17128 src/dhcp-manager/nm-dhcp-manager.c
17129 - Use path to dhcdbd that configure found
17131 2005-05-14 Dan Williams <dcbw@redhat.com>
17133 * gnome/applet/nm-device.c
17134 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17135 sort wireless networks alphabetically
17137 * gnome/applet/applet-dbus-devices.c
17138 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17139 before copying them over to the GUI
17141 2005-05-14 Dan Williams <dcbw@redhat.com>
17143 * src/NetworkManager.c
17144 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17145 fixes a deadlock on shutdown with a VPN connection active. This function locks
17146 the device list, as does nm_get_active_device() which is called from
17147 nm_vpn_manager_deactivate_vpn_connection().
17149 2005-05-14 Dan Williams <dcbw@redhat.com>
17152 - Add signals for VPN Launch and Connect failures
17154 * gnome/applet/applet-dbus.c
17155 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17157 * gnome/applet/applet.c
17158 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17159 function to handle all VPN failure messages
17160 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17161 function to hanlde all VPN failure messages
17162 - (show_warning_dialog): work around focus-stealing prevention
17164 * gnome/applet/other-network-dialog.c
17165 gnome/applet/passphrase-dialog.c
17166 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17167 problem where it never enabled for ASCII Key and Hex Key types
17169 * gnome/applet/wireless-applet.glade
17170 - Add window title to Other Wireless Network Dialog
17172 * src/vpn-manager/nm-dbus-vpn.c
17173 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17174 function to handle all VPN failure messages
17176 * src/vpn-manager/nm-vpn-manager.c
17177 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17179 * vpn-daemons/vpnc/nm-vpnc-service.c
17180 - (nm_vpnc_dbus_signal_launch_failed): new function
17181 - (nm_vpnc_dbus_signal_connect_failed): new function
17182 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17183 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17184 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17185 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17187 2005-05-11 Dan Williams <dcbw@redhat.com>
17189 * vpn-daemons/vpnc/nm-vpnc-service.c
17190 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17191 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17192 file exists before trying to write it out.
17194 2005-05-10 Dan Williams <dcbw@redhat.com>
17196 * gnome/applet/applet-dbus-device.c
17197 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17198 prevented just entering ESSID and leaving key and key type up to
17199 NetworkManager (which should have them already cached)
17201 2005-05-08 Dan Williams <dcbw@redhat.com>
17203 * src/NetworkManagerPolicy.c
17204 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17205 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17206 fix a situation where NM is told to terminate and the device stops activation,
17207 but the main thread isn't aware of that because it would never have run
17208 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17211 * src/NetworkManagerDevice.c
17212 - (nm_device_probe_wired_link_state): cosmetic fixes
17213 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17214 we've failed to activate or been canceled.
17215 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17217 2005-05-08 Dan Williams <dcbw@redhat.com>
17219 * src/NetworkManagerWireless.c
17220 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17221 value of WEXT quality structures, and add a debug message when we cannot
17222 determine any quality % at all
17224 2005-05-08 Dan Williams <dcbw@redhat.com>
17226 * src/dhcp-manager/nm-dhcp-manager.c
17227 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17230 2005-05-06 Dan Williams <dcbw@redhat.com>
17232 * gnome/applet/applet-dbus-device.c
17233 gnome/applet/applet-dbus-info.c
17234 gnome/applet/applet-dbus.c
17235 gnome/applet/applet.c
17236 gnome/applet/applet.h
17237 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17239 * gnome/applet/applet-dbus.c
17240 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17241 so we notice when wired device's carriers come back on. Should
17242 fix issue with wired devices being grayed out even if the cable
17243 is in, for devices that support carrier detection.
17245 * gnome/applet/applet.c
17246 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17247 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17249 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17250 Fix situation where applet wouldn't respond to menu selections
17252 * src/NetworkManager.c
17253 src/NetworkManagerDevice.c
17254 src/NetworkManagerDbus.c
17255 src/NetworkManagerDbus.h
17256 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17258 * src/NetworkManagerDbus.c
17259 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17260 Remove, no longer used or relevant
17261 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17262 - (nm_dbus_schedule_device_status_change_signal): add
17264 * src/NetworkManagerDevice.c
17265 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17266 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17267 ie don't deactivate them unless explicitly told to by the user. Also send
17268 CARRIER_OFF / CARRIER_ON signals when link changes
17269 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17270 Don't print error message when device is no longer around
17271 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17272 not just during activation
17274 * src/NetworkManagerPolicy.c
17275 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17276 auto-device-selection.
17277 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17279 * src/NetworkManagerSystem.c
17280 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17281 is no longer present (Bill Moss)
17283 * src/backends/shvar.c
17284 - (svOpenFile): Open read-only to make SELinux happy
17286 * src/backends/NetworkManagerRedHat.c
17287 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17288 the path to the ifcfg-* files
17290 2005-05-05 Dan Williams <dcbw@redhat.com>
17292 * Expose activation stages to NetworkManager clients, like the applet
17293 * Add Diana's progress icons to the applet, cued off NM activation stage
17294 * Use more descriptive tooltips, cued off NM activation stage
17296 2005-05-05 Ray Strode <rstrode@redhat.com>
17298 * src/nm-netlink-monitor.c:
17299 - Use clear_event_source instead of g_nullify_pointer() again.
17301 2005-05-05 Dan Williams <dcbw@redhat.com>
17303 * gnome/applet/main.c
17304 - Fix session management so the applet is actually managed now
17306 * gnome/applet/passphrase-dialog.c
17307 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17309 2005-05-05 Dan Williams <dcbw@redhat.com>
17311 Patch from Bill Moss:
17312 * gnome/libnm_glib/libnm_glib.c
17313 - Fix for dbus-0.33
17315 2005-05-05 Dan Williams <dcbw@redhat.com>
17317 Suggestion from Bill Moss:
17318 * src/NetworkManagerSystem.c
17319 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17322 * src/NetworkManager.c
17323 - (nm_data_free): move destruction of the various managers after
17324 release of device list, because deactivating and freeing a device
17325 requires at least the named manager
17326 - (nm_poll_and_update_wireless_link_state):
17327 (nm_device_link_activated):
17328 (nm_device_link_deactivated):
17329 don't grab the device list lock when actually updating device
17330 link status or strength, since nm_device_set_link_active()
17331 needs to call nm_get_active_device(), which also locks the device list.
17333 * src/NetworkManagerDevice.c
17334 - (nm_device_set_link_active): if a device's link switches from off->on,
17335 and it's wired, and the active device is wireless (or there is no
17336 active device), activate the new device whose link just came on
17337 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17338 my only calling the link to the current ap "failed" when more than 2
17339 consecutive link checks have failed
17341 2005-05-04 Dan Williams <dcbw@redhat.com>
17343 * src/NetworkManagerDevice.c
17344 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17345 but let link_to_specific_ap() do the locking where it needs
17347 Patch from Bill Moss:
17348 * src/NetworkManagerSystem.c
17349 - Set MTU of VPN devices to 1412
17351 2005-05-04 Dan Williams <dcbw@redhat.com>
17353 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17355 * Fix some holes in device activation and retaining the currently connected
17358 2005-05-03 Dan Williams <dcbw@redhat.com>
17360 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17361 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17362 means you need dhcdbd, which you can get here (get the latest one):
17364 http://people.redhat.com/jvdias/dhcdbd/
17366 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17367 interface as dhcdbd.
17369 * Rewrite device activation to facilitate the new DHCP infrastructure and
17370 future improvements. Its now "activation request" based, ie there is a single
17371 activation request composed of the device, access point, and other info which
17372 follows the entire activation process. There are 5 stages of the activation
17373 process which correspond to:
17375 1) Device preparation
17376 2) Device configuration (bring it up, set ESSID/Key/etc)
17377 3) IP Config Start (fire off DHCP if we're using it)
17378 4) IP Config Get (grab config from DHCP or static config files)
17379 5) IP Config Commit (set device's IP address, DNS, etc)
17381 Note that there is no longer a "scanning" step, since the access point must
17382 be known _before_ activation starts. If the access point drops out or does
17383 not exist for some reason, the entire activation process fails and must be
17384 restarted for a different access point or device.
17386 Patch from Bill Moss:
17387 * gnome/applet/applet.c
17388 - Fix type of vpn_failure dialog -> vpn_banner dialog
17390 2005-04-27 Dan Williams <dcbw@redhat.com>
17392 * gnome/applet/applet-dbus-vpn.c
17393 gnome/applet/applet.c
17394 gnome/applet/applet.h
17395 - Fix up active VPN handling so that we reliably know when a VPN
17396 connection has been deactivated
17398 * src/vpn-manager/nm-vpn-manager.c
17399 - Remove duplicate VPNConnectionChange signal
17401 2005-04-27 Dan Williams <dcbw@redhat.com>
17403 Patch from Peter Jones:
17404 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17406 Patch from Bill Moss:
17407 * src/NetworkManagerSystem.c
17408 - Fix checking of return value from ioctl()
17410 2005-04-27 Dan Williams <dcbw@redhat.com>
17412 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17413 * Warn and exit if icons cannot be found
17415 2005-04-27 Dan Williams <dcbw@redhat.com>
17417 Patch from Tom Parker:
17418 * Update debian backend
17420 2005-04-27 Dan Williams <dcbw@redhat.com>
17422 * Merge the applet and the info-daemon, and move the converged
17423 applet under gnome/applet
17424 * Move libnm_glib to gnome/libnm_glib
17425 * Convert most dbus calls between the applet, info-daemon, and NM
17427 * Fix a few things valgrind noticed
17428 * Make NM broadcast state more reliably
17430 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17432 * configure.in: Added ne in ALL_LINGUAS
17434 2005-04-15 Dan Williams <dcbw@redhat.com>
17436 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17437 code for dbus 0.2x versions
17439 2005-04-15 Dan Williams <dcbw@redhat.com>
17441 Patches from Tom Parker:
17443 - Join with worker thread rather than polling for its exit
17445 Patch from Bill Moss:
17446 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17448 2005-04-15 Dan Williams <dcbw@redhat.com>
17450 - Fixes to pass 'make distcheck'
17452 2005-04-15 Dan Williams <dcbw@redhat.com>
17454 Initial VPN Support
17456 - reworks device IP configuration, backend files have changed and will need
17457 to be updated for all distributions. I will try to do what I can for
17458 them, but I cannot test them.
17460 - Move named directory to src/named-manager
17461 - Make backends directory self-contained
17463 2005-04-06 Dan Williams <dcbw@redhat.com>
17465 Add debug code for socket/file descriptor leaks. We register every socket
17466 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17467 list of sockets that we forgot to close on shutdown. This also consolidates
17468 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17470 2005-04-06 Dan Williams <dcbw@redhat.com>
17473 - (dhcp_interface_free): fix a file descriptor leak that may have
17474 caused network drivers to not unload due to refcounts > 0
17476 2005-04-04 Dan Williams <dcbw@redhat.com>
17478 * panel-applet/NMWirelessAppletDbus.c
17479 - (nmwa_dbus_call_nm_method): remove some commented code
17481 * src/NetworkManagerAPList.[ch]
17482 - (nm_ap_list_remove_ap_by_essid): new function
17484 * src/NetworkManagerDevice.c
17485 - (nm_device_wireless_force_use): remove access points from the ignore list
17486 when the user forces them
17488 * src/nm-dbus-device.c
17489 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17491 2005-04-04 Dan Williams <dcbw@redhat.com>
17493 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17495 2005-04-04 Dan Williams <dcbw@redhat.com>
17497 * src/NetworkManagerDevice.c:
17498 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17499 of only erroring after the second consecutive scan times out. Also
17500 don't exit when the card requires more time than we can give it, just
17501 log the event and continue.
17503 2005-04-01 Steve Murphy <murf@e-tools.com>
17505 * configure.in: Added "rw" to ALL_LINGUAS.
17507 2005-04-01 Dan Williams <dcbw@redhat.com>
17509 Perform scans during device activation, if needed. Both activation
17510 and scans run in the same GMainContext. Therefore, if an access point
17511 is not found by the time the device starts activation, it will not
17512 be available until after activation. We now try to scan during
17513 activation (in nm_wa_test) every 15s so that all available access
17514 points are more likely to be found and available for the activation
17517 Also change nm_wireless_link_state_handle() to only update the "best"
17518 AP if we are not forcing a device and if we are not about to change
17519 state. This attempts to work around a race when forcing a device,
17520 where the forced AP would get cleared out too soon by the link state
17521 checking timeout in the main thread, and the activation attempt with
17522 that AP would fail.
17524 2005-04-01 Dan Williams <dcbw@redhat.com>
17527 - Update with new translatables
17529 2005-03-31 Dan Williams <dcbw@redhat.com>
17531 * panel-applet/NMWirelessAppletDbus.c
17532 - Fix device names now that hal has changed device parenting for
17535 2005-03-31 Dan Williams <dcbw@redhat.com>
17537 Tighten up handling of wireless devices that don't support wireless
17538 scanning (ie, Orinoco). Due to restructuring of code, these devices
17539 hadn't been doing pseudo-scanning for a while either and would just
17540 spin waiting for an access point. They are now manual devices where
17541 the user must choose the access point from the menu every time. All
17542 "allowed" access points are listed in the applet's menu regardless
17543 of whether or not they can be seen by the card, since it can't scan
17546 * src/NetworkManager.c
17547 - (nm_wireless_link_state_handle): new function, but only update
17548 the "best" ap for non-scanning devices when its not activating,
17549 and when no device is being forced on the card
17550 - (nm_link_state_monitor): split wireless link state handling out
17551 into separate function
17553 * src/NetworkManagerDevice.c
17554 - (nm_device_copy_allowed_to_dev_list): new function
17555 - (nm_device_new): populate non-scanning cards' AP lists with
17556 access points from the "allowed" list
17557 - (nm_device_new): don't start a scanning timeout for devices that
17559 - (nm_device_activation_schedule_finish): new parameter, should be
17560 the AP that failed to be connected to, pass it on to the
17561 activation finish function in NetworkManagerPolicy.c
17562 - (nm_device_activate_wireless): don't ever try to get a new AP
17563 for non-scanning devices, just fail. The user must choose
17564 a new access point manually.
17565 - (nm_device_activate): grab the AP that failed connection and
17567 - (nm_device_update_best_ap): Clear the best AP if we don't have
17568 a link to it, user must manually choose a new one
17569 - (nm_device_do_pseudo_scan): remove function
17570 - (nm_device_wireless_process_scan_results): remove bits for non-
17571 scanning cards since they never get here
17572 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17573 and fake the scan list for test devices a bit earlier
17575 * src/NetworkManagerPolicy.c
17576 - (nm_policy_activation_finish): use the failed_ap that we get
17577 passed rather than getting the best_ap from the card, which
17578 may have changed since we were scheduled
17579 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17580 update their scan list directly from the allowed list when
17581 we get updates to the allowed list from NetworkManagerInfo
17583 * src/NetworkManagerPolicy.h
17584 - New member for failed access point in NMActivationResult
17586 -------------------------------------
17588 Driver Notification patch: notifies the user when their driver
17589 sucks. Gives them the option to ignore further insertions
17590 of the card that has the sucky driver.
17593 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17594 enum and replace it with NO_CARRIER_DETECT and
17597 * panel-applet/NMWirelessApplet.[ch]
17598 - Merge essid.glade -> wireless-applet.glade
17599 - Implement the "Your driver sucks" notification dialog
17601 * panel-applet/NMWirelessAppletDbus.c
17602 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17603 - Grab hardware address for each device from NM too
17604 - Check whether the driver for each device sucks or not whenever
17605 a new device is noticed
17607 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17608 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17610 * src/NetworkManager.c
17611 - Fix a double-unref on device removal
17613 * src/NetworkManagerUtils.c
17614 - Set appropriate driver support level on a device that doesn't
17615 support scanning or carrier detection
17617 * src/nm-dbus-device.c
17618 - New "getHWAddress" dbus method on devices
17619 - getSupportsCarrierDetect -> getDriverSupportLevel
17621 2005-03-31 Dan Williams <dcbw@redhat.com>
17623 * src/NetworkManagerDevice.c
17624 - (nm_device_wireless_scan): Fix leak of scan results in some
17627 2005-03-29 Dan Williams <dcbw@redhat.com>
17629 * src/NetworkManager.c
17630 - (nm_poll_and_update_wireless_link_state): make code less indented
17632 Patch from Bill Moss:
17633 * src/NetworkManager.c
17634 - (nm_device_update_link_state): Update signal strength on wireless
17635 devices every time we update link state too.
17637 2005-03-29 Dan Williams <dcbw@redhat.com>
17639 * src/NetworkManagerDevice.c
17640 - (nm_device_set_essid): Work around Orinoco cards which need
17641 extra time after setting the ESSID
17643 2005-03-29 Dan Williams <dcbw@redhat.com>
17645 * src/NetworkManagerDevice.c
17646 - Merge one more bit of Peter Jones' completion patch
17648 2005-03-29 Dan Williams <dcbw@redhat.com>
17650 * src/NetworkManagerDevice.c
17651 - (nm_device_force_use): Fix possible segfault
17653 2005-03-29 Dan Williams <dcbw@redhat.com>
17655 * src/NetworkManagerDevice.c
17656 - Use iw_get_ext() where we should rather than iw_set_ext()
17658 2005-03-29 Dan Williams <dcbw@redhat.com>
17660 * src/NetworkManagerDevice.c
17661 - (nm_device_set_up_down): remove check for unsupported devices
17662 that caused NM to not bring devices up when they were
17663 added to the device list.
17665 2005-03-28 Dan Williams <dcbw@redhat.com>
17667 * src/NetworkManagerDevice.c
17668 - (mdio_read): Fix two bugs that caused all devices to fail
17669 the MII carrier detection support checks
17671 2005-03-26 Dan Williams <dcbw@redhat.com>
17673 * src/NetworkManagerDevice.c
17674 - (nm_device_wireless_scan): Remove duplicated scanning code
17676 2005-03-25 Dan Williams <dcbw@redhat.com>
17678 * panel-applet/NMWirelessApplet.c
17679 - (nmwa_about_cb): Add some more contributors
17680 - (nmwa_update_state): show the applet when there's no connection
17681 - Enable the "Stop/Resume all wireless devices" option in the
17683 - New "no connection" icon
17685 * src/NetworkManager.c
17686 - (nm_poll_and_update_wireless_link_state): don't do anything if
17687 wireless is disabled or we're asleep
17689 * src/NetworkManagerDHCP.c
17690 - Remove trailing "\n" on debug messages
17692 * src/NetworkManagerDbus.c
17693 - (nm_dbus_network_status_from_data): new state "asleep"
17695 * src/NetworkManagerDevice.c
17696 - Merge most of Peter Jones' "completion" patch that greatly reduces
17697 latency and wait times for most operations
17698 - (nm_device_wireless_scan): Don't scan when asleep
17700 * src/NetworkManagerPolicy.c
17701 - (nm_policy_get_best_device): return no device when asleep
17702 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17703 for all wireless devices on update, not just active device
17705 * src/NetworkManagerUtils.c
17706 - Merge Peter Jones' "completion" patch
17709 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17710 we're told to disable them
17711 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17714 - New variants of the warn/info/error/debug print functions that can take
17715 variables rather than static strings
17717 2005-03-24 Dan Williams <dcbw@redhat.com>
17719 * src/NetworkManagerUtils.c
17720 - (nm_get_device_driver_name): driver names are now on the parents of
17721 "Network Interface" objects, so look for them there
17723 2005-03-24 Dan Williams <dcbw@redhat.com>
17726 - Escape some forgotten object paths before we shove them through dbus
17728 2005-03-24 Dan Williams <dcbw@redhat.com>
17730 * dhcpcd/dhcpcd.[ch]
17731 src/NetworkManagerDHCP.c
17732 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17733 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17735 * src/NetworkManagerDbus.c
17738 * src/nm-dbus-dhcp.c
17739 - Make the API suck less. There is now only 1 type of each function,
17740 ie only "getInteger" and no longer also "getIntegerv". All types
17741 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17742 that will never have more than 1 element. This should simplify
17745 * test/nm-dhcp-opt-test.c
17746 - Make the tool not segfault
17747 - adapt to new DHCP Options API
17749 2005-03-22 Dan Williams <dcbw@redhat.com>
17751 * src/NetworkManager.c
17752 - (nm_wired_link_deactivated): actually ignore netlink events from
17755 2005-03-22 Dan Williams <dcbw@redhat.com>
17757 * src/NetworkManager.c
17758 - (nm_wired_link_activated): actually ignore netlink events from
17761 2005-03-17 Dan Williams <dcbw@redhat.com>
17763 Patch from Tom Parker:
17764 * src/nm-netlink-monitor.c
17766 * info-daemon/NetworkManagerInfoDbus.c
17767 - (nmi_dbus_update_network_auth_method): free GConf values
17769 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17770 * src/NetworkManagerDevice.c
17771 - (nm_device_set_wireless_config): wait for successful
17772 association longer for some cards (Atheros a/b/g)
17774 2005-03-15 Ray Strode <rstrode@redhat.com>
17776 * src/NetworkManager.c:
17777 (sigterm_pipe_handler):
17780 2005-03-15 Ray Strode <rstrode@redhat.com>
17782 * src/NetworkManagerDbus.c:
17783 Fix some sign weirdness that gcc4 doesn't like,
17784 and add a header file so PPC can hopefully find
17787 2005-03-14 Ray Strode <rstrode@redhat.com>
17789 Fourth (probably working) cut at porting to
17790 dbus 0.30 api and new hal. This cut adds
17791 some new logging macros to make debugging
17794 * dispatcher-daemon/NetworkManagerDispatcher.c:
17795 * info-daemon/NetworkmanagerInfo.c:
17796 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17797 * info-daemon/NetworkManagerInfoVPN.c:
17798 * src/NetworkManager.c:
17799 * src/NetworkManagerAP.c:
17800 * src/NetworkManagerAPList.c:
17801 * src/NetworkManagerDHCP.c:
17802 * src/NetworkManagerDbus.c:
17803 * src/NetworkManagerDevice.c:
17804 * src/NetworkManagerPolicy.c:
17805 * src/NetworkManagerSystem.c:
17806 * src/NetworkManagerUtils.c:
17807 * src/NetworkManagerWireless.c:
17809 * src/nm-dbus-nm.c:
17810 * src/backends/NetworkManagerDebian.c:
17811 * src/backends/NetworkManagerGentoo.c:
17812 * src/backends/NetworkManagerRedHat.c:
17813 * src/backends/NetworkManagerSlackware.c:
17814 use new logging macros.
17816 * dispatcher-daemon/NetworkManagerDispatcher.c:
17817 (nmd_dbus_filter): s/dbus_free/g_free/
17819 * info-daemon/Makefile.am: link in utils library.
17820 * info-daemon/NetworkmanagerInfo.c: use new logging
17822 (nmi_dbus_get_network): don't assume enumerations
17824 (nmi_dbus_nmi_message_handler): don't free what
17825 doesn't belong to us.
17827 * libnm_glib/libnm_glib.c:
17828 (libnm_glib_get_nm_status):
17829 (libnm_glib_init): don't free what doesn't
17831 (libnm_glib_dbus): strdup result, so it doesn't get
17832 lost when message is unref'd.
17834 * panel-applet/NMWirelessAppletDbus.c:
17835 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17837 * src/NetworkManager.c:
17838 (nm_monitor_wired_link_state): request initial status
17839 dump of all cards when we start up, instead of relying
17840 on /sys/.../carrier.
17841 (nm_info_handler), (nm_set_up_log_handlers):
17842 log handlers to specify what syslog priorites
17843 the logging macros default to.
17845 * src/NetworkManagerAPList.c:
17846 (nm_ap_list_populate_from_nmi):
17847 s/dbus_free_string_array/g_strfreev/
17849 * src/NetworkManagerDbus.c:
17850 (nm_dbus_get_network_object):
17851 validate d-bus message argument types.
17852 Advance message iterator after reading argument,
17853 prepend instead of append to GSList.
17855 * src/NetworkManagerDevice.c:
17856 (nm_device_probe_wired_link_status):
17857 remove redundant /sys in /sys path. remove wrong
17858 contents == NULL means has carrier assumption.
17860 * src/nm-netlink-monitor.c
17861 (nm_netlink_monitor_request_status): implement
17862 function to ask kernel to dump interface link
17863 status over netlink socket.
17865 * test/*.c: s/dbus_free/g_free/
17867 * utils/nm-utils.h:
17868 (nm_print_backtrace): new macro to print backtrace.
17869 (nm_get_timestamp): new macro to get sub-second precise
17871 (nm_info), (nm_debug), (nm_warning), (nm_error):
17872 new logging functions. nm_info just prints,
17873 nm_debug includes timestamp and function,
17874 nm_warning includes function, nm_error includes
17875 backtrace and sigtrap.
17877 2005-03-11 Ray Strode <rstrode@redhat.com>
17879 Third (unfinished, partially working) cut at porting to
17880 dbus 0.30 api and new hal.
17882 * info-daemon/NetworkManagerInfoDbus.c:
17883 don't free null arrays.
17885 * panel-applet/NMWirelessAppletDbus.c:
17886 * src/nm-dbus-device.c:
17887 * src/nm-dbus-net.c:
17888 * src/NetworkManagerDbus.c: more
17889 STRING -> OBJECT_PATH fun
17890 * src/NetworkManagerDevice.c:
17891 * src/NetworkManagerDevice.h:
17892 (rename nm_device_get_link_active): rename to
17893 nm_device_has_active_link
17894 (nm_device_wireless_link_active): rename to
17895 nm_device_probe_wireless_link_state
17896 (nm_device_wired_link_active): rename to
17897 nm_device_probe_wired_link_state. Rewrite to
17898 use carrier file since hal doesn't maintain
17899 link state anymore.
17900 (nm_device_update_link_active): rename to
17901 nm_device_update_link_state
17902 * src/NetworkManagerPolicy.c
17903 (nm_policy_activation_finish): check for NULL
17907 * src/NetworkManagerMain.h:
17908 * src/NetworkManager.c:
17909 * src/nm-netlink-monitor.c:
17910 * src/nm-netlink-monitor.h: New class to support
17911 monitoring wired ethernet link status, since HAL
17912 doesn't export that information anymore.
17914 2005-03-09 Ray Strode <rstrode@redhat.com>
17916 Second (unfinished, unworking) cut at porting to
17919 * dispatcher-daemon/NetworkManagerDispatcher.c:
17920 * info-daemon/NetworkManagerInfoDbus.c:
17921 * panel-applet/NMWirelessAppletDbus.c:
17922 * src/NetworkManagerDbusUtils.c:
17923 * src/NetworkManagerDbusUtils.h:
17924 * src/nm-dbus-device.c:
17925 * src/nm-dbus-nm.c:
17926 * test/nmtest.c: support dbus "object path" type
17930 * info-daemon/Makefile.am:
17931 * libnm_glib/Makefile.am:
17932 * panel-applet/Makefile.am:
17933 * dispatcher-daemon/Makefile.am
17935 * test/Makefile.am:
17936 * utils/Makefile.am:
17937 * utils/nm-utils.c:
17938 * utils/nm-utils.h: new utils static lib
17940 2005-03-07 Ray Strode <rstrode@redhat.com>
17942 * info-daemon/NetworkManagerInfoDbus.c:
17943 * libnm_glib/libnm_glib.c:
17944 * panel-applet/NMWirelessAppletDbus.c:
17945 * src/NetworkManager.c:
17946 * src/NetworkManagerDbus.c:
17947 * src/NetworkManagerDevice.c:
17948 * src/NetworkManagerUtils.c:
17949 * src/nm-dbus-device.c:
17950 * src/nm-dbus-dhcp.c:
17951 * src/nm-dbus-net.c:
17952 * src/nm-dbus-nm.c:
17953 * test/nminfotest.c:
17954 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17956 2005-03-04 Dan Williams <dcbw@redhat.com>
17961 2005-03-04 Dan Williams <dcbw@redhat.com>
17963 Patch from Peter Jones:
17964 - Make stuff work with gcc 4.0
17966 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17968 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17970 2005-02-27 Jim Huang <jserv@kaffe.org>
17972 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17974 2005-02-27 Dan Williams <dcbw@redhat.com>
17976 Patch from Bill Moss:
17977 * panel-applet/NMWirelessAppletDbus.c
17978 - Make sure strength for current access point is up-to-date when we
17979 update the gui data model
17981 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17983 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17985 2005-02-27 Dan Williams <dcbw@redhat.com>
17987 * src/backends/NetworkManagerRedHat.c
17988 - (nm_system_init): Kill any dhclient processes lying around as well
17989 as stopping 'nifd' if its already been started. NetworkManager
17990 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17992 2005-02-27 Dan Williams <dcbw@redhat.com>
17994 * panel-applet/NMWirelessApplet.c
17995 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17996 dbus data model, not the GUI data model twice.
17998 2005-02-27 Dan Williams <dcbw@redhat.com>
18000 * panel-applet/NMWirelessApplet.[ch]
18001 panel-applet/NMWirelessAppletDbus.[ch]
18002 - Move to incremental network updates. Instead of blowing away our list
18003 of devices every time we get a signal from NetworkManager, we now
18004 incrementally add/remove networks when NetworkManager notifies us that
18005 a new network has appeared or disappered. Strength updates now happen
18006 on-the-fly for each access point as well. There are now two copies of
18007 data from NetworkManager: one for the dbus side, and one for the gui side.
18008 When the dbus side data is modified, it is copied over to the gui side
18009 so we don't have to hold the data_mutex for long periods of time (and
18010 therefore block animation of the applet's icon).
18011 - Clean up some memleaks too
18013 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18014 - Minor code beautification
18016 * src/NetworkManagerAPList.c
18017 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
18018 completely new and whether or not an existing one's strength was updated.
18019 Try to fix multiple access points and signal strength by using the highest
18020 signal strength in each scan for any given ESSID.
18022 * src/NetworkManagerDbus.[ch]
18023 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
18024 wireless networks; now we have only WirelessNetworkUpdate which includes
18025 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
18026 - Kill usage of DbusMessageIter
18028 * src/NetworkManagerDevice.c
18029 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
18030 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
18031 AP rather than all-at-once. Also don't ever remove the AP a card is
18032 currently associated with from the network list.
18033 - Update for new signals during scan, send out Appeared, Disappeared, or
18034 StrengthChanged when necessary.
18036 2005-02-25 Dan Williams <dcbw@redhat.com>
18039 - Line break the README
18041 2005-02-25 Dan Williams <dcbw@redhat.com>
18043 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
18044 - Remove usage of gtk_window_set_default_size()
18046 * panel-applet/essid.glade
18047 - Stick default size here
18048 - Add in random crap that current glade wants to add in now
18050 2005-02-25 Dan Williams <dcbw@redhat.com>
18052 * src/backends/NetworkManagerRedHat.c
18053 - For non-caching-nameserver/non-named case, ensure that nscd is running
18054 and that we actually tell nscd to reload the hosts cache when it changes
18056 2005-02-25 Dan Williams <dcbw@redhat.com>
18058 * info-daemon/NetworkManagerInfoDbus.c
18059 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
18061 * test/nminfotest.c
18062 - Whack usage of DbusMessageIter
18063 - Clean up DbusError and DbusMessage handling and freeing
18064 - Remove unused unregister handler
18067 - Whack usage of DbusMessageIter
18069 * test/nmtestdevices.c
18070 - Whack usage of DbusMessageIter
18072 2005-02-25 Dan Williams <dcbw@redhat.com>
18075 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
18078 2005-02-25 Dan Williams <dcbw@redhat.com>
18080 * named/nm-named-manager.c
18081 - Ensure that pid and watch variables for child named process get cleared out
18082 when the child goes away.
18084 2005-02-22 Dan Williams <dcbw@redhat.com>
18086 * src/NetworkManagerPolicy.c
18087 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
18088 and NULL out data->active_device so that we have to choose another one.
18089 This may make NetworkManager keep attempting to connect to a wired network
18090 if it fails, but if it keeps failing the wired network has more problems than
18091 just NetworkManager.
18093 * src/backends/NetworkManagerRedHat.c
18094 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
18097 * named/nm-named-manager.c
18098 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
18099 named so that the distro can flush whatever name service caching
18102 2005-02-21 Dan Williams <dcbw@redhat.com>
18104 * src/NetworkManagerDHCP.[ch]
18105 - (nm_device_dhcp_remove_timeouts): new function
18107 * src/NetworkManagerDevice.c
18108 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
18109 remove the DHCP timeouts.
18111 2005-02-21 Dan Williams <dcbw@redhat.com>
18113 * panel-applet/NMWirelessApplet.[ch]
18114 panel-applet/menu-info.[ch]
18115 - Give the panel applet some major love: menu items are no longer
18116 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
18117 This allows the applet to actually reflect theme changes correctly,
18118 since themeing of subclassed items in GTK _sucks_.
18120 2005-02-18 Dan Williams <dcbw@redhat.com>
18122 * libnm_glib/libnm_glib.[ch]
18123 test/libnm_glib_test.c
18124 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
18125 and its data, and doesn't have to free the callback data anymore
18127 2005-02-18 Dan Williams <dcbw@redhat.com>
18129 * panel-applet/NMWirelessApplet.c
18130 - Revert 2005-02-18 William Jon McCann fix for standard
18131 copyright string until it passes 'make distcheck'.
18132 With standard copyright string, xgettext complains
18133 about "Non-ASCII string at ...".
18135 2005-02-18 Dan Williams <dcbw@redhat.com>
18137 * panel-applet/essid.glade
18138 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18139 - Correct spelling of "adaptor"->"adapter"
18141 2005-02-18 William Jon McCann <mccann@jhu.edu>
18143 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18144 (nmwa_about_cb): Use standard copyright string. Update comment
18145 text to reflect that it is a notification area applet. Remove
18146 leading newline in authors list.
18147 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18148 instead of on parent menu item activation. Fixes #167550.
18150 2005-02-18 William Jon McCann <mccann@jhu.edu>
18152 * panel-applet/essid.glade: Capitalize items as per HIG.
18155 2005-02-16 William Jon McCann <mccann@jhu.edu>
18157 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18158 files for GTK 2.4 or lower, since now public in GTK 2.6.
18160 * panel-applet/essid.glade: Don't specify window size.
18162 2005-02-17 Dan Williams <dcbw@redhat.com>
18164 Caught by Bill Moss:
18166 - Time remaining for DHCP transaction calculation was incorrectly
18167 inside a #ifdef DEBUG
18169 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18171 * configure.in: Added fr (French) to ALL_LINGUAS.
18173 2005-02-14 Dan Williams <dcbw@redhat.com>
18175 * src/NetworkManagerDHCP.c
18176 - (set_domain_searches): Fix free of invalid pointer
18178 2005-02-14 Dan Williams <dcbw@redhat.com>
18180 Patch from Peter Jones:
18182 - Ensure we return RET_DHCP_CEASED everywhere we should
18183 * dhcpcd/udpipgen.c
18184 - Use faster TOS for IP packets
18185 - Don't set ip_id since we're UDP
18187 Patch from Tomislav Vujec:
18188 * src/nm-dbus-dhcp.c
18189 test/nm-dhcp-opt-test.c
18190 - Clean up warnings to enable cvs tree compilation.
18192 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18196 - Add the Croatian locale.
18198 2005-02-14 Colin Walters <walters@verbum.org>
18200 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18201 list of domains to search.
18203 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18205 2005-02-13 Dan Williams <dcbw@redhat.com>
18208 - Debug output cleanups of DHCP option printing and parsing.
18210 2005-02-13 Dan Williams <dcbw@redhat.com>
18212 Patch from Dan Reed: DHCP options D-BUS API
18213 Exposes the DHCP options that a device receives to clients over D-BUS.
18219 - Correct names, option length, and types for DHCP options
18221 * dhcpcd/dhcpcd.[ch]
18222 - Clarify function names that access DHCP options & data
18224 * src/NetworkManagerDHCP.c
18225 - Use new DHCP data access functions
18227 * src/NetworkManagerDbus.c
18228 - Message handler for DHCP functions
18230 * src/nm-dbus-dhcp.[ch] (new)
18231 - DHCP dbus methods
18233 * test/nm-dhcp-opt-test.c
18234 - Test DHCP D-BUS API and return all present DHCP options
18236 2005-02-12 Dan Williams <dcbw@redhat.com>
18239 test/nmclienttest.c
18241 - Move nmclienttest.c -> nmtest.c
18243 2005-02-12 Dan Williams <dcbw@redhat.com>
18245 * dhcpcd/buildmsg.c
18246 - Pad DHCP packets until they are at least 300 bytes in size.
18248 2005-02-11 Dan Williams <dcbw@redhat.com>
18251 - (dhcp_init): only print out client ID and class ID if they are specified
18253 * src/NetworkManagerDbus.[ch]
18254 src/nm-dbus-nm.[ch]
18255 src/nm-dbus-device.[ch]
18256 src/nm-dbus-net.[ch]
18257 - Move NM, Device, and Net functions to separate files and use the
18258 dbus method list stuff in NetworkManagerDbusUtils.c to do
18261 * src/NetworkManagerDbusUtils.c
18262 - Add new validate_method called before each dispatch (if present)
18263 that can validate the method call
18265 * src/NetworkManagerWireless.c
18266 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18267 levels never to be evaluated
18269 Patch from j@bootlab.org
18270 * src/NetworkManagerDevice.c
18271 - Add typedef for "u64"
18273 * src/backends/NetworkManagerDebian.c
18274 - Copy in Dave Woodhouse's fixes for IPv6
18276 2005-02-11 Dan Williams <dcbw@redhat.com>
18278 Patch from Dave Woodhouse for IPv6:
18279 * src/NetworkManagerUtils.c
18280 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18281 and multicast addresses
18283 * src/NetworkManagerDevice.c
18284 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18285 after bringing up a card.
18287 2005-02-10 Dan Williams <dcbw@redhat.com>
18289 Patch from Dave Woodhouse:
18290 * src/NetworkManagerSystem.h
18291 src/backends/NetworkManagerDebian.c
18292 src/backends/NetworkManagerGentoo.c
18293 src/backends/NetworkManagerSlackware.c
18294 - New nm_system_device_add_ip6_link_address() function to add link-local
18295 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18297 * src/backends/NetworkManagerRedHat.c
18298 - (nm_system_device_add_ip6_link_address): implement
18299 - (nm_system_device_flush_addresses): revert to previous behavior of
18300 flushing all addresses
18302 2005-02-10 Dan Williams <dcbw@redhat.com>
18304 Patch from Tom Parker:
18305 * src/NetworkManagerDevice.c
18306 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18307 mii.h headers are broken, and instead use our own typedefs
18309 2005-02-10 Dan Williams <dcbw@redhat.com>
18311 * dhcpcd/buildmsg.c
18312 - (fill_host_and_class_id): only fill in client and class IDs if
18313 they are set by callers.
18316 - (class_id_setup): don't autogenerate a class ID, only use one
18317 we're given, if any.
18318 - (client_id_setup): don't autogenerate a client ID, only use one
18319 we're given, if any.
18322 - (dhcp_interface_init): ensure that client options are correctly
18325 * src/NetworkManagerDHCP.c
18326 - (nm_device_dhcp_request): pass hostname to dhcp library
18328 2005-02-10 Dan Williams <dcbw@redhat.com>
18331 - #rh147661# Don't send kernel version in DHCP requests
18333 * src/NetworkManagerSystem.h
18334 src/backends/NetworkManagerDebian.c
18335 src/backends/NetworkManagerGentoo.c
18336 src/backends/NetworkManagerRedHat.c
18337 src/backends/NetworkManagerSlackware.c
18338 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18339 functions, they are no longer used anyway
18341 * src/backends/NetworkManagerRedHat.c
18342 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18343 addresses in an attempt to keep IPv6 local-scope addresses around
18345 2005-02-10 Dan Williams <dcbw@redhat.com>
18347 * src/NetworkManager.c
18348 - (nm_create_device_and_add_to_list): change the add message slightly
18350 * src/NetworkManagerUtils.c
18351 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18352 Return driver name to calling function
18353 - (nm_get_driver_support_level): print out the driver a device is using
18354 during the support check
18356 Patch from Dave Woodhouse:
18357 * dhcpcd/udpipgen.c
18358 - (in_cksum): copy last byte of odd-sized packets into a
18359 'u_short' rather than a 'u_char', should fix wrong checksums
18360 on big-endian platforms
18362 2005-02-09 Dan Williams <dcbw@redhat.com>
18364 * Clean up usage of GSList objects and looping through their members
18365 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18367 * Fix problem where even if scanning was turned off, card would still
18368 cycle through frequencies.
18370 2005-02-08 Dan Williams <dcbw@redhat.com>
18372 * panel-applet/NMWirelessApplet.c
18375 2005-02-08 Dan Williams <dcbw@redhat.com>
18377 Patch from Bill Moss
18378 * panel-applet/NMWirelessApplet.c
18379 - Restore correct ESSID in tooltips
18381 2005-02-07 Dan Williams <dcbw@redhat.com>
18383 * panel-applet/NMWirelessApplet.[ch]
18384 - Add a context menu that contains:
18385 Pause/Resume Wireless Scanning
18386 Stop/Start All Wireless Devices
18388 - Grab active device strength off active device,
18391 * panel-applet/NMWirelessAppletDbus.[ch]
18392 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18393 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18394 - Update active device strength every 2 seconds, not every 1 second
18396 * panel-applet/menu-info.c
18397 - Only disable wired devices in the menu when they support carrier detection,
18398 and don't currently have a link. Non-carrier-detect devices will always
18402 src/NetworkManagerDbusUtils.[ch]
18403 - Add new new dbus utils sources
18405 * src/NetworkManager.c
18406 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18407 with the boolean parameter
18408 - Set scanning_enabled & wireless_enabled to TRUE
18410 * src/NetworkManagerDbus.c
18411 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18412 - Implement scanning & wireless enable/disable calls
18413 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18415 * src/NetworkManagerDevice.c
18416 - New link detection stuff again...
18417 o Create device's mainloop earlier (but don't run it earlier)
18418 o Hook up new carrier-detect support stuff
18419 o Add in the ethtool & mii support detection code
18420 - Don't scan if scanning is disabled
18422 * src/NetworkManagerPolicy.c
18423 - Never automatically choose a device that doesn't support carrier detection
18424 - Don't automatically choose a wireless device if wireless is disabled
18426 2005-02-07 Dan Williams <dcbw@redhat.com>
18428 * libnm_glib/libnm_glib.c
18429 - Small cleanup in element list iteration
18431 2005-02-07 Dan Williams <dcbw@redhat.com>
18433 * src/NetworkManagerWireless.c
18434 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18435 to be in line with the WEXT quality specification
18437 2005-02-02 Dan Williams <dcbw@redhat.com>
18439 Patch from Nathan Fredrickson <nathan@silverorange.com>
18440 * Fix up compile for deprecation of libgnomeui
18441 - Switch to <glib/gi18n.h> from <libintl.h>
18442 - Remove <libgnomeui/libgnomeui.h> includes
18443 - Use gtk_window_set_default_icon_from_file() rather than
18444 gnome_window_set_default_icon_from_file()
18446 * named/nm-named-manager.c
18447 - (generate_named_conf): Fix return-nothing in non-void
18450 2005-02-02 Dan Williams <dcbw@redhat.com>
18452 * Clean up unused variables and the like
18454 2005-02-02 Dan Williams <dcbw@redhat.com>
18456 * src/NetworkManagerAPList.c
18457 - (nm_ap_list_merge_scanned_ap): merge strength too
18459 * src/NetworkManagerUtils.c
18460 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18461 of locking issues by printing out prettier information than g_mutex_lock
18462 - Print out names of mutexes registered with nm_register_mutex_desc()
18463 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18464 us to seemingly block here for too long
18466 * src/NetworkManager.c
18467 src/NetworkManagerAPList.c
18468 src/NetworkManagerDevice.c
18469 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18470 so we get better debug information printed
18472 * src/NetworkManagerDbus.c
18473 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18474 since it sometimes has locking side effects
18475 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18477 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18478 we don't need a switch. This gets called often enough that we can't block
18479 until the scan mutex is acquired, because we'll block on device activation
18480 and a few other things, which hangs main thread for too long.
18482 * src/NetworkManagerPolicy.c
18483 - (nm_policy_auto_get_best_device): reduce the possiblity that
18484 nm_device_need_ap_switch() will be called
18486 2005-02-02 Dan Williams <dcbw@redhat.com>
18488 * panel-applet/NMWirelessApplet.c
18489 - Display name of wireless network we are connecting to or connected to
18490 in the tooltip of the applet
18492 2005-02-02 Dan Williams <dcbw@redhat.com>
18494 * src/NetworkManagerDHCP.c
18495 - Hopefully fix double-default-route problem by cleaning up the default
18496 route added by DHCP code right before the DHCP transaction begins
18498 2005-02-02 Dan Williams <dcbw@redhat.com>
18500 * named/nm-named-manager.c
18501 - Write out valid resolv.conf when we exit
18503 2005-02-01 Dan Williams <dcbw@redhat.com>
18505 Patch from Colin Walters:
18506 * named/nm-named-manager.c
18507 - Make multi-domain search options work
18509 2005-01-31 Dan Williams <dcbw@redhat.com>
18511 * info-daemon/NetworkManagerInfoDbus.c
18512 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18514 * src/NetworkManagerDevice.c
18515 - (nm_device_new): Don't store the entire range struct, use only what we need
18516 (which is currently avg_quality, max_quality, and frequencies). Also
18517 zero device structure when we've free'd it to maybe expose errors down
18519 - (nm_device_update_signal_strength): grab the scan mutex before getting
18520 quality data from the card since quality will be useless during a scan.
18521 Call updated wireless qual-to-percent function with values stored in
18522 nm_device_new() earlier.
18523 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18524 nm_device_get_bad_crypt_packets())
18525 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18527 - (get_initial_auth_method): always use the Auth method that's in the allowed
18528 list if available. Problem was this: when the WEP key is wrong, NM will
18529 try OS then SK modes, and then get stuck in SK mode after that. This
18531 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18534 * src/NetworkManagerWireless.c
18535 - (nm_wireless_qual_to_percent): try to make this function actually work and
18536 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18537 if that's all present, otherwise fall back to signal-to-noise ratios.
18539 2005-01-29 Dan Williams <dcbw@redhat.com>
18541 * initscript/RedHat/NetworkManager
18542 - Don't spit out sysctl stuff to console
18544 * libnm_glib/libnm_glib.c
18545 - (libnm_glib_init): call dbus_g_thread_init()
18547 * panel-applet/NMWirelessAppletDbus.c
18548 - (nmwa_dbus_worker): call dbus_g_thread_init()
18550 * src/NetworkManager.c
18551 - (main): call dbus_g_thread_init()
18553 * src/NetworkManagerAPList.c
18554 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18555 so we can actually see what's there in a normal syslog
18557 * src/NetworkManagerDevice.c
18558 - (nm_device_activate_wireless): print out the "waiting for access point"
18559 message only once, then say what access point we actually got after
18561 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18562 function, wait until the scan is done. Scans may change the ESSID of
18563 the card, making this function think we need to switch access points
18564 - (nm_device_wireless_process_scan_results): for artificial access points
18565 don't check against the card's ESSID, but the best_ap's ESSID. This
18566 prevents collisions with the scanning code, which may change the card's
18567 ESSID and cause the access point to get dropped from the device's AP
18568 list. Also increase the keep-around time to 2m from 60s since the max
18569 scan interval could be 60s in some cases.
18571 * src/NetworkManagerPolicy.c
18572 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18573 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18574 the new properties and ESSIDs to the device's AP list. Fixes some races
18575 between NM and NMI.
18577 2005-01-27 Dan Williams <dcbw@redhat.com>
18579 * info-daemon/NetworkManagerInfoDbus.c
18580 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18581 GConf, make a minimal entry for it (essid & timestamp)
18583 * src/NetworkManagerAPList.c
18584 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18585 NetworkManagerInfo isn't running
18587 * src/NetworkManagerDbus.[ch]
18588 - (nm_dbus_nmi_is_running): new function
18590 * src/NetworkManagerDevice.c
18591 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18592 address to garbage.
18594 * src/NetworkManagerPolicy.c
18595 - (nm_policy_activation_finish): On successful activation, make sure
18596 the "best" AP has a MAC address, and don't tell NMI to add the
18597 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18598 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18599 access point after refreshing our allowed list if it doesn't already
18600 have a "best" access point.
18602 2005-01-25 Dan Williams <dcbw@redhat.com>
18604 * panel-applet/NMWirelessAppletDbus.c
18605 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18606 so we check for NM_DBUS_SERVICE rather than not for it
18608 * libnm_glib/libnm_glib.c
18609 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18610 ServiceOwnerChanged signal
18612 2005-01-25 Dan Williams <dcbw@redhat.com>
18615 - Check DBUS version in configure, and set the C macros
18616 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18618 * info-daemon/NetworkManagerInfoDbus.c
18619 - Remove #if 0-d section of code that quit NMI if NM went away.
18621 * panel-applet/NMWirelessAppletDbus.c
18622 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18624 * src/NetworkManager.c
18625 src/NetworkManagerMain.h
18626 src/NetworkManagerDbus.c
18627 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18628 - Make updating of our Allowed Wireless Network lists from NMI
18629 an idle function in the main thread now, with a high priority.
18631 2005-01-24 Dan Williams <dcbw@redhat.com>
18633 * panel-applet/gtkcellview.[ch]
18634 panel-applet/menu-info.c
18635 - Fix GTK version checks to be <= rather than <
18638 - Include the libtool archive of libnm_glib rather than
18639 trying to pull in the .so
18641 2005-01-24 Dan Williams <dcbw@redhat.com>
18643 * src/NetworkManagerDevice.c
18644 src/NetworkManagerDevicePrivate.h
18645 - Block nm_device_new() until our device's worker thread has had a
18646 chance to start up. Fixes a race between main thread and worker
18647 thread starting that caused activation requests to get lost.
18649 2005-01-24 Dan Williams <dcbw@redhat.com>
18651 * initscript/RedHat/NetworkManager
18652 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18653 to add the NM startup script at priority 50, which was
18656 2005-01-24 Colin Walters <walters@redhat.com>
18658 * named/named.conf: Use any port for query source instead of
18659 restricting to port 53.
18661 2005-01-24 Dan Williams <dcbw@redhat.com>
18663 * initscript/RedHat/NetworkManager
18664 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18665 to add the NM startup script at priority 50, which was
18668 2005-01-24 Dan Williams <dcbw@redhat.com>
18670 Patch from Tom Parker <palfrey@tevp.net>
18671 * Fix up compile warnings & errors in the wireless applet
18673 2005-01-24 Dan Williams <dcbw@redhat.com>
18675 * panel-applet/NMWirelessApplet.c
18676 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18678 2005-01-24 Dan Williams <dcbw@redhat.com>
18680 * panel-applet/gtkcellview.[ch]
18681 - Only compile these files for GTK 2.4 or lower, since
18682 GtkCellView is now public in GTK 2.6. Fixes crasher
18683 when choosing "Other Wireless Networks" from the panel
18686 2005-01-21 Dan Williams <dcbw@redhat.com>
18688 * src/NetworkManager.c
18689 - Daemonize earlier so that glib doesn't get confused (?)
18691 2005-01-21 Dan Williams <dcbw@redhat.com>
18693 * panel-applet/NMWirelessApplet.[ch]
18694 panel-applet/NMWirelessAppletDbus.c
18695 panel-applet/menu-info.c
18696 src/NetworkManagerDevice.c
18697 - Disable wired devices in the menu when they have no link.
18699 2005-01-21 Dan Williams <dcbw@redhat.com>
18701 * Cache last-known-good wireless authentication method in
18702 NetworkManagerInfo, and use that method first during
18703 wireless device activation. Should speed up devices that
18704 need Shared Key authentication method since Open System is
18707 * Remove the hack to not do full activation on wired connections
18708 that are active when we launch, it causes too many problems
18709 with name resolution and was a hack in the first place.
18711 * Re-work wireless device activation again somewhat to have a
18712 clearer chain of events and to use last-known-good
18713 authentication method of the access point. Also provide
18714 better status throughout activation to ensure the applet
18715 can tell the user exactly what's going on.
18717 * Remove the "find wireless network" code and now simply attempt
18718 to activate with that access point. This reduces the delay
18719 between selecting "Other wireless Network" and actually
18720 connecting to that network.
18722 * Correctly stop the device's worker thread when its removed.
18724 2005-01-21 Dan Williams <dcbw@redhat.com>
18727 - Clean up some of the debug messages
18729 2005-01-21 Dan Williams <dcbw@redhat.com>
18731 * Add new icons, more frames of animation
18732 * Remove some hacks to get the panel applet to display correct
18733 status, an NM update will soon follow that will fix the
18736 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18738 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18739 the first include for working i18n. Also, don't include it in .h files
18740 * panel-applet/NMWirelessApplet.h: Same
18741 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18742 * panel-applet/menu-info.c: Same
18744 2005-01-18 Dan Williams <dcbw@redhat.com>
18747 - Remove some debug messages
18748 - Wrap others in #ifdef DEBUG/#endif
18750 * src/NetworkManager.c
18751 - Remove some debug messages
18752 - Clarify some debug messages
18753 - Remove code related to old single-thread wireless scanning
18755 * src/NetworkManagerAP.[ch]
18756 - New AP property "last_seen" to track how recently an AP was
18758 - Start using 'const' more in function arguments
18760 * src/NetworkManagerAPList.[ch]
18761 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18762 of an AP found in an AP list from a source AP, or if not found
18763 in the list add the source AP
18764 - (nm_ap_list_combine): remove, no longer needed
18766 * src/NetworkManagerDevice.c
18767 - Each device now has a "worker" thread from start to end of its life.
18768 Scanning for wireless devices now happens in that thread,
18769 not in a single "wireless scanning thread" for all devices as
18770 previously. Activation consists of adding an idle handler to the
18771 thread's main loop/context, which gets run at the next available
18773 - Wireless scanning is also simplified, there is now only one list of
18774 access points per wireless device, and APs older than 60s are
18775 removed from the list. Previously, we kept results for the last
18776 3 scans and merged whole lists, which was complicated.
18777 - Cleaned up activation debug messages.
18778 - Wireless activation and access-point search routines now use Open System
18779 authentication before trying Shared Key.
18780 - Removed some code in nm_device_update_best_ap() that could cause cards
18781 to loose their link to the access point.
18782 - Scanning now uses a backoff algorithm, where the inverval becomes
18783 progressively longer between scans when the list of scanned access
18784 points doesn't change. A change will revert to the shortest scan
18787 * src/NetworkManagerWireless.[ch]
18788 - Remove code related to old single-thread wireless scanning
18790 2005-01-18 Colin Walters <walters@redhat.com>
18792 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18793 of older nameservers.
18795 2005-01-18 Colin Walters <walters@redhat.com>
18797 * named/nm-named-manager.c (generate_named_conf): Many fixes
18798 to config file generation.
18799 (safer_kill): Remove, was too much trouble for little gain.
18800 (nm_named_manager_start): Run named as NM_NAMED_USER.
18802 * configure.in: Add option --with-named-user.
18804 2005-01-14 Colin Walters <walters@redhat.com>
18806 Patch from ed@catmur.co.uk (Ed Catmur)
18808 * named/nm-named-manager.c: Add "context" property.
18809 Use it to add child watch source in specific GMainContext.
18811 * src/NetworkManager.c (nm_data_new): Initialize
18812 named with correct main context. Start named only
18815 2005-01-14 Colin Walters <walters@redhat.com>
18817 * named/nm-named-manager.c (generate_named_conf): Write config
18818 and pid files into NM_NAMED_DATA_DIR; this allows things to
18819 work better with FC3 named SELinux policy. Also fix up silly
18822 * configure.in: Add --with-named-dir option.
18824 2005-01-14 Colin Walters <walters@redhat.com>
18826 * configure.in: Make named support require passing --with-named.
18828 * named/nm-named-manager.c: Support writing resolv.conf directly
18829 without running named.
18831 2005-01-13 Dan Williams <dcbw@redhat.com>
18833 * named/nm-named-manager.c
18834 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18836 * src/NetworkManagerDevice.c
18837 - Rework wireless link detection code to be more reliable
18839 2005-01-12 Dan Williams <dcbw@redhat.com>
18841 * initscripts/RedHat/NetworkManager
18842 - Change initial level to "-" rather than "345" so that
18843 we don't activate ourselves by default on install
18845 2005-01-12 Dan Williams <dcbw@redhat.com>
18848 - Client library for applications using glib
18852 - Split NM_CFLAGS and NM_LIBS into separate variables
18853 like DBUS_*, HAL_* and GLIB_*
18855 * src/NetworkManager.c
18856 src/NetworkManagerMain.h
18857 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18858 broadcast a status changed signal over DBUS from the main thread.
18859 Still unused anywhere for the moment.
18861 Patch from j@bootlab.org
18862 * panel_applet/NMWirelessAppletDbus.c
18863 src/NetworkManagerDbus.c
18864 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18865 for the "getMode" method call
18867 2005-01-10 Dan Williams <dcbw@redhat.com>
18869 * src/NetworkManagerDevice.c
18870 - Minor fixups & corrections to "auto" frequency mode, make it
18871 less chatty with syslog
18873 2005-01-10 Dan Williams <dcbw@redhat.com>
18875 * src/NetworkManagerDevice.c
18876 - Implement "auto" frequency/channel support, since cards like Atheros
18877 can't use other frequencies at all when you've told it to use a
18878 specific one, even for scanning.
18879 - Grab the scan mutex around places where we can't tolerate wireless
18880 settings changing underneath us, like nm_device_wireless_network_exists()
18881 and nm_device_activate_wireless()
18883 * src/NetworkManagerWireless.c
18884 - Back scan interval off to 20s instead of 14s
18886 2005-01-09 Dan Williams <dcbw@redhat.com>
18888 * src/NetworkManagerDevice.c
18889 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18890 already set. Stops some drivers like Atmel from continually
18891 reloading the firmware, which they do upon every configuration
18894 2005-01-09 Dan Williams <dcbw@redhat.com>
18897 - Use correct timeout value
18899 * info-daemon/NetworkManagerInfoDbus.c
18900 src/NetworkManagerDbus.c
18901 - Consolidate communication between NM and NMI by doing only 1 dbus
18902 method call to get Wireless Network info from NMI instead of 6
18904 * src/NetworkManager.c
18905 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18906 when we didn't have an AP to use, we'd wait for one forever without
18909 * src/NetworkManagerDevice.c
18910 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18911 activation, dhcp might not have started yet but we don't quit activation
18912 before starting it, so the quit signal gets lost
18914 2005-01-07 Dan Williams <dcbw@redhat.com>
18917 - Rework the DHCP client code to be much less chatty when
18918 it receives non-DHCP UDP packets during the DHCP run
18919 (reported by and preliminary patches from Bill Moss)
18921 * Move wireless scanning to a separate thread. This thread forwards the
18922 results to the main thread when done where they are integrated into
18923 the device's access point lists. This keeps the main thread (which
18924 does all the DBUS communication) from being blocked for long periods
18925 of time by wireless scanning.
18927 * Make state modification an idle routine in the main loop, and trigger
18928 state changes rather than polling for them.
18930 * src/backends/NetworkManagerGentoo.c
18931 - Fix up invalid C90 code (reported by Christoph Ruessler)
18933 * src/NetworkManagerDevice.c
18934 - Revert IPv6 patch for wired devices from 2004-12-22 for
18935 router advertisements, causing problems and infinite loop
18936 during "best" device determination due to link going up/down
18937 (reported by Bill Moss)
18939 Apply patch from Peter Jones
18940 * src/NetworkManagerDevice.c
18941 - Shortcut for link-checking for ipw2x00 cards
18942 - Split out association check into separate routine
18944 2004-01-05 Colin Walters <walters@redhat.com>
18946 * named/named.conf: Add PID_FILE.
18948 * named/nm-named-manager.c: Always generate a pid
18949 file, since older BIND versions don't support
18952 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18954 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18956 2004-12-22 Dan Williams <dcbw@redhat.com>
18958 * src/NetworkManagerDevice.c
18959 - Silently fail when setting bitrate doesn't work
18962 Patches from j@bootlab.org:
18963 * src/backends/NetworkManagerDebian
18964 - Update backend to match functionality in RedHat backend
18965 * src/NetworkManagerDevice.c
18966 - Take down then bring up wired devices after connection so
18967 they send out ipv6 router advertisements
18969 2004-12-21 Colin Walters <walters@verbum.org>
18971 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18972 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18974 2004-12-21 Colin Walters <walters@redhat.com>
18976 * configure.in: Correct named detection.
18978 2004-12-21 Colin Walters <walters@redhat.com>
18980 * src/NetworkManager.c (nm_data_new): Initialize named.
18981 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18982 the mainloop when these signals are received.
18983 (nm_data_free): Unref named.
18984 (sigterm_handler, sigterm_pipe_handler): New functions for
18987 * src/NetworkManagerMain.h (NMData): Add signal handling and
18990 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18993 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18994 set nameservers from DHCP response data.
18995 (set_domain_search): Set domain search from DHCP response.
18996 (nm_device_dhcp_configure): Invoke them.
18998 * src/NetworkManagerSystem.c
18999 (nm_system_device_update_resolv_conf): Delete. Deleting
19000 code is totally sweet.
19002 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
19004 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
19005 implements an object which controls a nameserver. Currently
19008 * configure.in: Check for named.
19010 * Makefile.am (SUBDIRS): Add named dir.
19012 * named/named.conf: New template config file.
19014 2004-12-20 Colin Walters <walters@redhat.com>
19016 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
19019 2004-12-17 Dan Williams <dcbw@redhat.com>
19021 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
19022 link-local addresses instead of doing DHCP.
19024 * In the panel applet, there's a new "Create new Wireless Network..." item
19026 * The panel applet also sticks around now even if NetworkManager dies, but
19027 it doesn't hide its icon when NM isn't around. Not hiding the icon is
19028 a bug, I'll fix that later.
19030 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
19031 lookups after a switch rather than actually doing them.
19033 * Clean up some of those warnings in nm_ap_list_* functions
19035 * Delay between scans changed to 15s instead of 10s
19037 2004-12-15 Dan Williams <dcbw@redhat.com>
19039 Patch from Tom Parker
19040 * Add autoip/Link Local Addressing support when we fail to get a DHCP
19043 * Longer pause after setting ESSID on cards that support a larger number
19044 of channels to give the card time to find the right channel
19046 * Add system hook to restart mDNSResponder (or whatever the local implementation
19047 of Multicast DNS is) when we activate interfaces
19049 2004-12-15 Dan Williams <dcbw@redhat.com>
19051 * Rework the DHCP code again to revert to sending full ethernet frames
19052 rather then relying on the kernel to do the right thing with our
19055 2004-12-06 Dan Williams <dcbw@redhat.com>
19058 - Fix some minor errors in dhcp_handle_transaction() that caused
19059 unexpected early timeouts of DHCP transactions
19062 - DHCP retransmit time from 4s -> 5s
19064 2004-12-05 Dan Williams <dcbw@redhat.com>
19066 * Major rework of the DHCP code, taking some cues from pump. We don't
19067 write raw Ethernet packets anymore, which simplifies the code quite
19068 a bit. The new code should be more robust, not hang in recvfrom()
19069 as much, and generally work better. This also means that we need
19070 to force HAL/dbus to use a created GMainContext rather than the
19071 default context, since having the DHCP renew/rebind thread using
19072 its own GMainContext seemed to give dbus a fit. There is also more
19073 debugging information printed from the DHCP loop to help with future
19076 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
19077 assume that the default gateway should be the DHCP server.
19079 Patch from Matthew Schick <matt oss-institute org>
19080 * src/backends/NetworkManagerGentoo.c
19081 - Fix compilation error due to missing "ip4_broadcast"
19083 2004-12-03 Dan Williams <dcbw@redhat.com>
19085 * initscript/Makefile.am
19086 * initscript/Debian/NetworkManager
19087 * initscript/Gentoo/NetworkManager
19088 * initscript/RedHat/NetworkManager
19089 * initscript/NMLaunchHelper.c
19090 - Remove NMLaunchHelper, if you need to wait until the network
19091 comes up, use the dead code from CVS.
19093 2004-12-01 Colin Walters <walters@redhat.com>
19095 * configure.in: Suck in gcc warnings code from Rhythmbox,
19096 but use fewer default flags, and in particular add -Wno-unused,
19097 since the codebase has a lot of unused variables.
19099 * test/nmtestdevices.c (create_device):
19100 * test/nminfotest.c (get_network_string_property)
19101 (get_networks_of_type):
19102 * test/nmclienttest.c (main):
19103 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
19104 * initscript/NMLaunchHelper.c (get_nm_status):
19105 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
19106 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
19107 Fix declarations after statements.
19109 2004-12-01 Colin Walters <walters@redhat.com>
19111 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
19112 (nmi_dbus_get_vpn_userpass): New method.
19113 (nmi_dbus_nmi_message_handler): Invoke it.
19115 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
19117 * info-daemon/NetworkManagerInfoVPN.h,
19118 info-daemon/NetworkManagerInfoVPN.c: New files; responds
19119 to requests for VPN passwords.
19121 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
19123 2004-12-01 Colin Walters <walters@redhat.com>
19125 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19128 2004-12-01 Colin Walters <walters@redhat.com>
19130 * panel-applet/NMWirelessAppletDbus.c
19131 (nmwa_dbus_update_active_device_strength): Fix missing
19134 2004-12-01 Colin Walters <walters@redhat.com>
19136 * panel-applet/NMWirelessApplet.c: Add missing include.
19138 2004-12-01 Colin Walters <walters@redhat.com>
19140 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19141 Remove useless CLAMP (); the value is unsigned, and the case tests
19142 qual->qual < 100, so the value must always be between 0 and 100.
19144 2004-12-01 Colin Walters <walters@redhat.com>
19146 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19148 2004-11-22 Colin Walters <walters@verbum.org>
19150 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19151 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19152 which is essentially a noop since nscd caches hosts on disk too.
19154 2004-11-22 Colin Walters <walters@redhat.com>
19156 * src/Makefile.am (NetworkManager_SOURCES): Add
19157 NetworkManagerDevicePrivate.h.
19159 2004-11-22 Dan Williams <dcbw@redhat.com>
19161 * src/NetworkManagerDevicePrivate.h
19162 - Split out the NMDevice struct to a different file so that stuff like
19163 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19167 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19168 need to cancel the dhcp request during the send and recv
19171 - Move the DHCP option enum to dhcpcd.h
19173 * src/NetworkManagerDHCP.c
19174 - Split out the actual IP/netmask/etc setting code
19175 - New Renew/Rebind functions
19176 - New timer setup function for renew/rebind operations
19178 * src/NetworkManagerDevice.c
19179 - For device activation, if we are using DHCP then keep the activation thread
19180 alive until device deactivation. We need to renew/rebind the DHCP address
19181 after the T1 (renew) and T2 (rebind) times have expired.
19182 - Increase some timeouts after bringing wireless cards up/down
19184 2004-11-17 Dan Williams <dcbw@redhat.com>
19186 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19187 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19188 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19189 show known access points that don't broadcast their ESSID in the menus without
19190 any user intervention whatsoever.
19192 * info-daemon/NetworkManagerInfoDbus.c
19193 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19194 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19196 * src/NetworkManagerAP.[ch]
19197 - Add a "user_addresses" data member to the NMAccessPoint structure
19198 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19199 the user_addresses data member
19201 * src/NetworkManagerAPList.c
19202 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19203 the AP's reported address
19204 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19206 * src/NetworkManagerDHCP.c
19207 - Increase DHCP timeout from 25s -> 30s
19209 * src/NetworkManagerDbus.[ch]
19210 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19213 * src/NetworkManagerDevice.c
19214 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19215 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19216 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19217 So, we take the card down to clear it out.
19218 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19219 too, since that's where the user_addresses are
19221 * src/NetworkManagerPolicy.c
19222 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19223 that wireless networks' user_addresses list upon successful activation
19225 2004-11-16 Dan Williams <dcbw@redhat.com>
19227 * src/NetworkManagerDevice.[ch]
19228 - (nm_device_clear_activation_fail): new function
19230 * src/NetworkManagerPolicy.c
19231 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19232 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19234 2004-11-16 Dan Williams <dcbw@redhat.com>
19236 * src/NetworkManagerDevice.c
19237 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19238 leak the structure, better updating of now_scanning status
19239 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19241 2004-11-15 Dan Williams <dcbw@redhat.com>
19243 Major rework of link detection code. We now use DHCP
19244 as part of the link detection which proves to be much more robust,
19245 and also supports Open System authentication for wireless networks.
19247 We no longer use external DHCP client programs. Instead, we use
19248 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19249 which was written by:
19250 Yoichi Hariguchi <yoichi@fore.com>
19251 Sergei Viznyuk <sv@phystech.com>
19252 http://www.phystech.com/download/
19253 It resides in the "dhcpcd" directory and was refactored into a general
19254 purpose DHCP client library by me.
19256 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19257 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19259 2004-11-15 Dan Williams <dcbw@redhat.com>
19261 Patch from Tom Parker <palfrey@tevp.net>:
19263 * src/NetworkManagerDevice.c
19264 - Less output to console when no access
19265 points are found during a scan
19267 2004-11-15 Dan Williams <dcbw@redhat.com>
19269 Patch from Tom Parker <palfrey@tevp.net>:
19271 * src/backends/interface_parser.c
19273 - Check for inp == NULL
19276 2004-11-13 Colin Walters <walters@redhat.com>
19278 Patch from Tom Parker <palfrey@tevp.net>:
19280 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19282 * src/backends/NetworkManagerRedHat.c: Switch to
19283 including shvar.h instead of shvar.c.
19285 * src/backends/NetworkManagerDebian.c: Don't include
19286 interface_parser.c in source file.
19288 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19289 and interface_parser.[ch].
19290 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19291 Include shvar.c and shvar.h here.
19292 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19293 interface_parser.c and interface_parser.h here.
19295 2004-11-12 Colin Walters <walters@redhat.com>
19297 * configure.in: Strip out TARGET_DISTRO and
19298 SYSTEM_BACKEND_FILE variables. Switch to Automake
19301 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19302 (libnmbackend_la_SOURCES): Use Automake conditionals
19303 to add distro-specific files.
19305 * initscript/Makefile.am (SUBDIRS): Update to
19308 2004-11-12 Colin Walters <walters@redhat.com>
19310 Patches from j bootlab org
19312 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19313 Add interface_parser.[ch].
19315 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19316 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19318 2004-11-12 Colin Walters <walters@redhat.com>
19320 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19321 call to nmi_dbus_is_running too, not necessary anymore.
19322 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19325 2004-11-11 Colin Walters <walters@verbum.org>
19327 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19329 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19330 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19331 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19332 This avoids a race condition that made it pretty easily
19333 possible to get two NetworkManagerInfo daemons running.
19335 2004-11-11 Colin Walters <walters@verbum.org>
19337 * src/NetworkManager.c (main): Use daemon(3).
19339 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19341 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19343 2004-11-10 Dan Williams <dcbw@redhat.com>
19345 Patches from j bootlab org
19346 * src/NetworkManagerDevice.c
19347 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19348 whether the card has a link or not, some cards are slow
19349 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19351 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19352 - Disable the "Login" button on the passphrase dialog until the user
19353 enters a valid passphrase or key
19355 Patches from Tom Parker <palfrey tevp net>
19356 * src/backends/NetworkManagerDebian.c
19357 - Add static IP support to the debian backend
19359 * src/backends/interface_parser.[ch]
19360 - Parse debian interface config files
19362 2004-11-08 Dan Williams <dcbw@redhat.com>
19364 * src/NetworkManagerDevice.c
19365 - Some random fprintf->syslog conversions
19366 - (nm_device_wireless_network_exists): double-check for network
19367 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19369 * src/NetworkManagerWireless.[ch]
19370 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19371 so that the binary->ascii conversion works (if unsigned, the bitshift
19372 will fill with zeros, which is what's required). Also mask bitshift
19373 result with 0xF for futher assurance.
19375 2004-11-06 Dan Williams <dcbw@redhat.com>
19377 * src/NetworkManagerUtils.c
19378 - (nm_get_wireless_driver_support_level): default to
19379 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19380 flip this when changing from whitelist->blacklist of
19383 2004-11-05 Dan Williams <dcbw@redhat.com>
19385 Patch from Robert Paskowitz:
19386 * src/backends/NetworkManagerGentoo.c
19387 - Update static IP config code
19389 2004-11-05 Dan Williams <dcbw@redhat.com>
19391 * info-daemon/NetworkManagerInfoDbus.c
19392 src/NetworkManagerDbus.[ch]
19393 src/NetworkManagerDevice.c
19394 - Keep track of the # of attempts to get the WEP key
19395 from the user and pass that along to the info daemon
19397 2004-11-05 Dan Williams <dcbw@redhat.com>
19399 * src/NetworkManagerUtils.c
19400 - Blacklist wireless cards rather than whitelisting them.
19401 - Grab driver name from HAL rather than trying to find it
19404 2004-11-03 Dan Williams <dcbw@redhat.com>
19406 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19407 - Disable OK button until valid data is entered
19408 for encryption stuff too
19410 * panel-applet/NMWirelessApplet.c
19411 - Report card strength for current AP if the card
19412 doesn't report strength data for scanned access
19415 * src/NetworkManagerDevice.c
19416 - Smooth out cards reported quality, Atmel card was
19417 intermittently reporting no quality data but soon
19420 * src/NetworkManagerWireless.c
19421 - Better quality data percentage calculation. Atmel
19422 cards (mine at least) seem to report the quality
19423 in percentage format already, so honor that
19425 Patch from <j@bootlab.org>
19427 info-daemon/NetworkManagerInfoPassphraseDialog.c
19428 info-daemon/passphrase.glade
19429 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19430 panel-applet/essid.glade
19431 src/NetworkManagerAP.c
19432 src/NetworkManagerDevice.c
19433 src/NetworkManagerWireless.[ch]
19434 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19436 2004-11-03 Dan Williams <dcbw@redhat.com>
19438 * src/NetworkManagerDevice.[ch]
19439 - (nm_device_set_enc_key): Add parameter to set Authentication
19440 Mode (Open System, Shared Key, or None). We're still using
19441 Shared Key for now though.
19443 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19445 * panel-applet/menu-info.c: change from bold text to light
19446 colored, may cause problems with some themes, i've tested a lot
19447 and they seem fine.
19449 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19451 2004-11-01 Colin Walters <walters@verbum.org>
19453 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19454 (nm_wireless_128bit_key_from_passphrase): Add const.
19456 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19457 (nm_ap_set_enc_key_source): Add const.
19459 2004-11-01 Colin Walters <walters@verbum.org>
19461 * .cvsignore: Update.
19463 2004-10-29 Dan Williams <dcbw@redhat.com>
19465 * src/NetworkManagerDevice.c
19466 - (nm_device_wireless_network_exists): Actually use the encryption
19467 key we got from the applet when attempting to find a wireless network
19468 - Don't bring devices down so much since on some cards it triggers
19469 firmware hotplugs each time
19471 * src/NetworkManagerDbus.c
19472 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19475 2004-10-29 Dan Williams <dcbw@redhat.com>
19477 * src/NetworkManager.c
19478 - (nm_hal_device_property_modified): unlock a locked active
19479 wireless device when a wired connection gets a link.
19480 (Means you'll switch to wired whenever you plug in no
19483 2004-10-29 Dan Williams <dcbw@redhat.com>
19485 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19486 - New files, implement the "Other wireless network" dialog
19488 * panel-applet/NMWirelessApplet.c
19489 - Move "other wireless network" dialog to separate file
19491 * panel-applet/NMWirelessAppletDbus.[ch]
19492 - Take key and key_type paramaters for the set_device function
19494 * panel-applet/essid.glade
19495 - Add UI bits for encryption settings
19497 * src/NetworkManagerDbus.c
19498 - Retrieve key and key_type params for "setActiveDevice" method call
19500 - unref AP returned from nm_device_get_best_ap() when needed
19502 * src/NetworkManagerDevice.c
19503 - (nm_device_get_best_ap): ref the ap before returning it
19504 - unref AP returned from nm_device_get_best_ap() when needed
19505 - (nm_device_activate_wireless): add "ap" parameter so we don't
19506 need to call nm_device_get_best_ap() here, it was pretty much
19508 - (AP_NEED_KEY): break second link check condition out into separate
19509 function, and fix segfault when ap->enc_key_source was NULL
19510 - (nm_device_find_and_use_essid): take key and key_type parameters and
19511 pass them along to nm_device_wireless_network_exists(). If the
19512 network does exist, set the passed-in key+key_type on the AP
19514 * src/NetworkManagerPolicy.c
19515 - unref AP returned from nm_device_get_best_ap() when needed
19517 2004-10-28 Dan Williams <dcbw@redhat.com>
19519 * src/NetworkManagerUtils.c
19520 - (nm_spawn_process): Fix a potential dereference of NULL
19522 Patches from Peter Jones:
19524 * src/NetworkManagerDevice.c
19525 - (nm_device_test_wireless_extensions): Better check for
19528 * src/NetworkManagerUtils.c
19529 - (nm_spawn_process): Pass in valid stdout and stderr so
19530 executed programs don't randomly SIGPIPE and fail
19531 - (nm_get_wired_driver_support_level): quash hal warning
19532 when checking for USB ethernet device
19534 2004-10-27 Dan Williams <dcbw@redhat.com>
19536 * info-daemon/NetworkManagerInfo.c
19537 info-daemon/NetworkManagerInfoDbus.c
19538 info-daemon/NetworkManagerInfoPassphraseDialog.c
19539 panel-applet/NMWirelessApplet.c
19540 - Properly escape gconf keys
19542 * src/NetworkManager.c
19543 - remove unused variables
19545 * src/NetworkManagerAP.c
19546 - (nm_ap_new_from_ap): Don't redundantly set new APs
19547 refcount since it got set in nm_ap_new()
19549 * src/NetworkManagerAPList.c
19550 - (nm_ap_list_combine): Give up ownership of newly created
19551 access points to the ap list, fixes memleak
19553 * src/NetworkManagerDevice.c
19554 - Remove cached_ap_list4 member since its not really needed
19555 - (nm_device_wireless_network_exists): Try to get correct
19556 encryption status of a found AP if its already in our
19558 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19559 memory allocs/deallocs a bit clearer and shorter-lived
19561 2004-10-26 Ray Strode <rstrode@redhat.com>
19563 * panel-applet/NMWirelessApplet.c:
19564 (custom_essid_item_selected): kill some compiler
19567 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19569 * info-daemon/NetworkManagerInfoDbus.c
19570 - (nmi_dbus_is_running): New function for determining if nmi is already running
19571 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19573 2004-10-23 Dan Williams <dcbw@redhat.com>
19575 * info-daemon/NetworkManagerInfoDbus.c
19576 - Trap the "DeviceActivationFailed" signal
19578 * docs/NetworkManager DBUS API.txt
19579 - Add "DeviceActivationFailed" signal
19581 * panel-applet/NMWirelessAppletDbus.c
19582 - Quash the "NetworkManager service not available" message
19584 * src/NetworkManagerDbus.[ch]
19585 - Add the "DeviceActivationFailed" signal
19587 * src/NetworkManagerDevice.c
19588 - Add support for activation_failed flag
19589 - Fix deadlock where activation thread didn't clean itself up, making
19590 main thread still believe it was alive forever (didn't reset activation
19591 flags like activating, just_activated, etc when IP configuration
19594 * src/NetworkManagerPolicy.c
19595 - Implement logic for DeviceActivationFailed signal, and when activation fails
19596 for wireless networks, try to fall back to some other access point
19598 2004-10-23 Dan Williams <dcbw@redhat.com>
19600 * panel-applet/NMWirelessApplet.[ch]
19601 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19602 to the applet object, so we can get tooltips
19603 - Add tooltips (RH #136866)
19605 * src/NetworkManagerDevice.c
19606 - When trying to find a wireless network, try to connect with encryption
19607 turned on first, so that we can more accurately detect whether or not
19608 we need to use encryption for the actual association later on
19610 2004-10-21 Dan Williams <dcbw@redhat.com>
19612 * Add some support for telling NetworkManagerInfo to tell the user
19613 that they are using a device that's not fully supported
19615 * Fix some assertions in debug messages due to null access point args
19617 2004-10-21 Dan Williams <dcbw@redhat.com>
19619 * src/NetworkManagerDevice.c
19620 - Don't try to activate/bring up/down unsupported
19623 * src/NetworkManagerUtils.c
19624 - Fix case of PCI ID checks for driver support levels
19626 2004-10-21 Dan Williams <dcbw@redhat.com>
19629 - New file, now contains commonly used structures and bits
19630 for the dbus API of NetworkManager
19633 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19635 * src/NetworkManager.h
19636 - Rename -> src/NetworkManagerMain.c
19638 * Various fixups all around to use NetworkManager.h and new
19639 src/NetworkManagerMain.h, remove redundant bits that got
19640 moved into NetworkManager.h
19642 * src/NetworkManagerDevice.[ch]
19643 src/NetworkManagerUtils.[ch]
19644 src/NetworkManagerPolicy.c
19645 src/NetworkManagerDbus.c
19646 - Whitelist wireless drivers, and blacklist some wired
19647 drivers. Also blacklist cipsec and ethernet-over-usb
19648 devices at this time (RH #135722, RH #135648)
19649 - Don't leak unsupported devices out over dbus, or allow
19650 them to be set as the active device. Skip over them
19651 during automatic device picking
19653 * test/nmclienttest.c
19654 - Clean up the dbus code a lot
19656 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19658 * configure.in: post release bump.
19660 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19663 * NEWS: Released NetworkManager-0.3.1
19665 2004-10-18 Dan Williams <dcbw@redhat.com>
19667 Patches from Thom May:
19668 * test/nmtestdevices.c
19669 - Include <string.h>
19670 * src/backends/NetworkManagerDebian.c:
19671 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19672 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19673 Move to using g_strdup_printf rather than arbitrary buffers
19674 - (nm_system_device_setup_static_ip4_config) Implement function.
19675 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19677 2004-10-17 Dan Williams <dcbw@redhat.com>
19679 * info-daemon/NetworkManagerInfoDbus.c
19680 - Display name of network in the "network not found" dialog
19682 * panel-applet/NMWirelessAppletDbus.c
19683 - (nmwa_dbus_call_nm_method): new function replaces all other
19684 nmwa_dbus_get_[string|string_array|int|boolean] methods
19685 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19686 consolidated into nmwa_dbus_get_object_name()
19688 2004-10-15 Dan Williams <dcbw@redhat.com>
19690 * src/NetworkManagerDbus.c
19691 info-daemon/NetworkManagerInfoDbus.c
19692 - Display an error dialog when the user tries to use an
19693 "Other wireless network" that's not found.
19695 2004-10-15 Dan Williams <dcbw@redhat.com>
19697 * panel-applet/NMWirelessApplet.[ch]
19698 - Fix up corner cases in applet state, making it
19699 look more responsive. Change state to "connecting" when
19700 the user is forcing a device too.
19702 2004-10-15 Dan Williams <dcbw@redhat.com>
19704 * src/NetworkManagerAPList.c
19705 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19707 * src/NetworkManagerDbus.c
19708 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19710 * src/NetworkManagerDevice.c
19711 - Disown APs after the device's AP list takes ownership
19713 2004-10-15 Dan Williams <dcbw@redhat.com>
19715 * panel-applet/NMWirelessApplet.c
19716 - Update our applet state from the GUI thread
19718 * panel-applet/NMWirelessAppletDbus.c
19719 - Greatly simplify the locking to make the GUI thread
19720 smoother. Update a private copy of the device list
19721 and active device and only when done talking to
19722 NetworkManager turn it over to the GUI thread.
19724 2004-10-15 Dan Williams <dcbw@redhat.com>
19726 * src/NetworkManagerAP.[ch]
19727 - Add "artificial" get/set functions, set for APs that
19728 aren't discovered as part of a scan but instead
19729 discovered by force-setting the ESSID
19731 * src/NetworkManagerDevice.[ch]
19732 - (nm_device_wireless_network_exists): pass back whether
19733 or not the discovered AP was encrypted. Also, try
19734 falling back to encrypted mode on the card if unencrypted
19735 association doesn't work
19736 - (nm_device_find_and_use_essid): If the network requested
19737 did in fact exists, but it wasn't in our scan list, add
19738 an "artificial" entry for it. Some Cisco cards don't
19739 see non-ESSID-broadcasting APs in their scan but can still
19740 associate with them if you know the ESSID, this works around
19742 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19743 to scan if the card is currently associated with that AP
19745 2004-10-15 Dan Williams <dcbw@redhat.com>
19747 ---- We have a website ----
19748 http://people.redhat.com/dcbw/NetworkManager
19750 Patch from Robert Paskowitz:
19751 * src/NetworkManager.c
19752 - (main): Make sure we are run as root
19753 * src/NetworkManagerDevice.c
19754 - Fix type in ad-hoc setting function
19756 Patch from Thom May:
19757 * src/backends/NetworkManagerDebian.c
19758 - Make Debian backend compile again
19760 2004-10-14 Dan Williams <dcbw@redhat.com>
19762 * Tagged NetworkManager-0_3
19764 2004-10-14 Dan Williams <dcbw@redhat.com>
19766 Patch from Robert Paskowitz:
19768 src/NetworkManagerDevice.[ch]
19769 src/backends/NetworkManagerDebian.c
19770 src/backends/NetworkManagerGentoo.c
19771 src/backends/NetworkManagerRedHat.c
19772 src/backends/NetworkManagerSlackware.c
19773 - Add support for grabbing and using a broadcast address
19774 from system config files
19775 - Some Gentoo backend fixes for grabbing network config
19776 - Fix LOG_WARN->LOG_WARNING
19778 2004-10-14 Dan Williams <dcbw@redhat.com>
19780 * NEWS: a few small fixes in the credits
19782 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19784 * NEWS: prep for release.
19786 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19788 * panel-applet/NMWirelessAppletDbus.c
19789 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19791 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19793 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19794 applet->state == APPLET_STATE_NO_NM animation.
19796 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19797 set the text correctly.
19799 2004-10-14 Dan Williams <dcbw@redhat.com>
19801 * src/NetworkManager.c
19802 - Only accept and manager 802.3 and 802.11 devices
19804 * src/NetworkManagerDbus.[ch]
19805 - (nm_dbus_nm_set_active_device): move most of the actual activation
19806 logic into NetworkManagerDevice.c
19807 - (nm_dbus_network_status_from_data): new function
19808 - (nm_dbus_signal_network_status_change): new function, unused for now
19809 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19811 * src/NetworkManagerDevice.[ch]
19812 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19815 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19817 * info-daemon/NetworkManagerInfo.c
19818 - (main): Added session management
19820 2004-10-14 Dan Williams <dcbw@redhat.com>
19822 * panel-applet/NMWirelessAppletDbus.[ch]
19823 - Expose network_device_[un]ref()
19824 - Expose wireless_network_[un]ref()
19825 - (wireless_network_new_with_essid): new function, create and return
19826 a wireless network with a particular essid
19828 * panel-applet/NMWirelessApplet.c
19829 - Hook up the "other network" dialog to do something
19831 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19833 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19834 doesn't work yet, but it looks okay.
19836 * panel-applet/icons/*png: Resize to 22x22 and install in the
19839 2004-10-13 Dan Williams <dcbw@redhat.com>
19841 * panel-applet/NMWirelessApplet.c
19842 - Add function to print out applet_state in a readable
19845 * src/NetworkManager.c
19846 - (main): Don't segfault when nm_dbus_init() fails, we had
19847 a left-over call to hal_shutdown() into which we passed NULL
19849 * src/NetworkManagerAP.c
19850 - (nm_ap_set_essid): Allow NULL essids
19852 * src/NetworkManagerAPList.[ch]
19853 - More use of nm_ap_list_[un]lock ()
19854 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19855 network/essid, just return nothing. Also skip over NULL
19856 essid access points in the list when searching
19857 - (nm_ap_list_get_ap_by_address): new function
19858 - (nm_ap_list_update_network): set the access point's key source to
19859 NULL when the key returned from NetworkManagerInfo is NULL or
19861 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19862 copy timestamp over too
19863 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19864 find the correct ESSID for a blank-essid access point by searching
19865 through another list and matching access point MAC addresses
19866 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19868 * src/NetworkManagerDbus.c
19869 - (nm_dbus_nm_set_active_device): deal with random networks the user
19870 may specify. This is mainly for access points that don't
19871 broadcast their essid. So if the user tells us to associate with
19872 some random ESSID that's not in our access point list, we find
19873 out if the access point does in fact exist (by attempting association
19874 and then matching that access point's MAC address with the essid the
19875 user gave us) and then we switch to it.
19876 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19877 to the returned list of networks for the "getNetworks" method
19879 * src/NetworkManagerDevice.[ch]
19880 - Extra debugging info for link detection
19881 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19882 based on MAC address
19883 - (nm_device_get_path_for_ap): ignore blank-essid access points
19884 - (nm_device_wireless_network_exists): new function, find out whether
19885 a random ESSID exists by attempting to associate with it
19886 - (nm_device_do_normal_scan): allow blank-essid access points in our
19887 device list as long as they have an AP MAC address we can use.
19888 Also send WirelessNetwork[Dis]Appeared signals for non-active
19889 devices too. Lets the applet update more frequently.
19891 * src/backends/NetworkManagerGentoo.c
19892 - Patch from: Robert Paskowitz
19893 - Update backend code for Gentoo
19894 - Implement nm_system_device_update_config_info ()
19896 * test/nmclienttest.c
19897 - (set_network_device): new function, takes a command-line argument
19898 and tells NetworkManager to use that wireless network
19900 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19902 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19903 if the notification icon crashes 5 times within 5 seconds of each respawn
19905 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19907 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19910 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19912 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19914 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19915 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19916 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19917 Change the name of the icons.
19919 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19920 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19921 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19922 (nm_menu_wireless_expose_event): Really bad hack to get the style
19923 to draw in the right color.
19925 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19927 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19928 Notification if it crashes
19930 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19932 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19933 (nmwa_dbus_get_string): remove unused functions
19935 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19936 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19937 remove unused functions
19939 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19941 2004-10-12 Dan Williams <dcbw@redhat.com>
19943 * panel-applet/NMWirelessAppletDbus.c
19945 wireless_network_new
19946 wireless_network_copy
19948 network_device_copy
19950 * src/NetworkManagerDevice.[ch]
19952 nm_device_set_mode_managed
19953 nm_device_set_mode_adhoc
19954 - Use these functions where appropriate
19955 - When creating a new wireless device, force the card
19956 to managed/Infrastructure mode as soon as possible
19958 2004-10-12 Dan Williams <dcbw@redhat.com>
19960 * src/NetworkManagerDevice.c
19961 - Force wireless cards into Infrastructure mode before we use them
19963 2004-10-12 Dan Williams <dcbw@redhat.com>
19966 - Remove bit about static IP address support
19968 * src/NetworkManagerUtils.c
19969 - (nm_spawn_process): Add some error reporting
19971 * src/NetworkManagerDevice.c
19972 - (nm_device_activation_configure_ip): hook up to the static config
19973 routines in the backends
19975 * src/backends/NetworkManagerRedHat.c
19976 - (nm_system_device_update_config_info): use shvar.c routines to
19977 parse the config file iformation, not our own
19978 - (nm_system_device_setup_static_ip4_config): new function, based
19979 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19980 with a static IP address and gateway
19982 * src/backends/shvar.[ch]
19983 - Parser (filched from initscripts package) for ifcfg-* files
19985 * src/backends/NetworkManagerSystem.h
19986 src/backends/NetworkManagerGentoo.c
19987 src/backends/NetworkManagerDebian.c
19988 src/backends/NetworkManagerSlackware.c
19989 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19991 2004-10-11 Dan Williams <dcbw@redhat.com>
19994 - Remove bit about more robust AP diffing since I just implemented it
19996 2004-10-11 Dan Williams <dcbw@redhat.com>
19998 * src/NetworkManagerAP.c
19999 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
20000 enough RAM to allocate new AP structures, but return NULL instead
20002 * src/NetworkManagerAPList.[ch]
20003 - (nm_ap_list_is_empty): new function
20004 - (nm_ap_list_combine): new function, combine two access point lists
20005 - (nm_ap_list_copy_keys): new function, copy keys from one list
20008 * src/NetworkManagerDevice.[ch]
20009 - Rename some functions to be clearer:
20010 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
20011 nm_device_just_activated -> nm_device_is_just_activated
20012 nm_device_activating -> nm_device_is_activating
20013 nm_device_now_scanning -> nm_device_is_scanning
20014 - Cache the last 4 scans so that the access point list is more stable.
20015 We combine the lastest two scans and use that as the AP list,
20016 and diff that combined list against the combination of the earliest
20017 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
20019 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20021 * info-daemon/NWManagerInfo.h
20022 - (struct NetworkManagerInfo): add shutdown_timeout GSource
20024 * info-daemon/NWManagerInfoDbus.c
20025 - (shutdown_callback): new function
20026 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
20027 if NetworkManager goes away. Kill the timeout
20028 if NetworkManager restarts before the 30 seconds
20030 - (nmi_dbus_service_init):
20031 - call gtk_main_quit if NetworkManager is not running
20032 - add filters to monitor dbus service creations and
20035 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
20037 * panel-applet/NMWirelessApplet.c
20038 - (nmwa_update_state): Hide notification icon if we are only
20039 showing one wired card and no wireless interfaces
20040 (Red Hat Bug #134895)
20042 * panel-applet/NMWirelessAppletDbus.c
20043 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
20045 * info-daemon/NWManagerInfo.c
20046 - (main): Terminated the notification_icon_cmd array with a NULL
20048 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
20050 * configure.in (ALL_LINGUAS): Added de (German).
20052 2004-10-08 Dan Williams <dcbw@redaht.com>
20054 * src/NetworkManagerDevice.c
20055 - Be a bit more robust about link checking, ie make sure that
20056 the WEP key we were given actually has some data in it
20058 2004-10-08 Dan Williams <dcbw@redhat.com>
20060 * info-daemon/NetworkManagerInfo.c (main):
20061 - Initialize GError object to NULL
20063 2004-10-08 Dan Williams <dcbw@redhat.com>
20065 * panel-applet/NMWirelessAppletDbus.c
20066 - Die if NetworkManagerInfo dies, since it manages our lifetime
20068 2004-10-08 Dan Williams <dcbw@redhat.com>
20070 * info-daemon/NetworkManagerInfo.[ch]
20071 info-dameon/NetworkManagerInfoDbus.[ch]
20072 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
20073 - Preserve original label text in the passphrase dialog so that
20074 it actually gets updated with the new network name the next
20075 time around. Previously, we were overwriting it so you'd get
20076 the wrong network name to enter a key for
20077 - Add a "Key Type" combo to the passphrase dialog, user selects
20078 encryption key type now, type is stored in GConf too
20079 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
20081 * src/NetworkManagerAP.[ch]
20082 - Remove all the encyption method magic. It's now set by the user
20083 and NetworkManager retrieves the type of encryption key from
20086 * src/NetworkManagerAPList.[ch]
20087 src/NetworkManagerDbus.[ch]
20088 - Adjust to new way of setting encryption key and method
20089 - Pull encryption method down from NMI along with key
20091 * src/NetworkManagerDevice.[ch]
20092 - Removed encryption method fallback magic as the method is now
20093 determined by the user. This greatly simplifies the connection
20095 - More robust connection/link logic. Besides removing the encryption
20096 method fallback magic, check whether or not the card is receiving
20097 invalidly encrypted packets, which usually indicates that we have
20099 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
20101 * test/nminfotest.c
20102 - Test out new "Key Type" stuff in the NMI passphrase dialog
20104 2004-10-07 Dan Williams <dcbw@redhat.com>
20106 * info-daemon/NetworkManagerInfo.conf
20107 - Allow root user to run NMI too
20109 2004-10-06 Dan Williams <dcbw@redhat.com>
20111 * src/NetworkManagerDevice.[ch]
20112 src/NetworkManagerDbus.c
20113 doc/NetworkManager DBUS API.txt
20114 - Add a new status tag "scanning", which is set when there
20115 is no active network connection, but NetworkManager is
20116 looking for an access point to associate with
20118 * panel-applet/main.c
20119 - Cast the applet appropriately for gtk_widget_show_all ()
20121 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
20123 * panel-applet/eggtrayicon.[ch]:
20124 * panel-applet/main.c: Add missing file
20126 2004-10-04 Dan Williams <dcbw@redhat.com>
20128 * src/NetworkManagerDevice.[ch]
20129 - Add a slightly more robust method of determining if the WEP key
20130 is correct or not, by checking the WEP-discarded packet count
20133 * info-daemon/NetworkManagerInfo.c
20134 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20135 un-escape values we pull out rather than escaping them
20137 2004-10-03 Marcel Telka <marcel@telka.sk>
20139 * configure.in (ALL_LINGUAS): Added sk.
20141 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20143 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20144 and feel. We should be back to working, and have a good, clean
20147 2004-09-30 Dan Williams <dcbw@redhat.com>
20149 * info-daemon/NetworkManagerInfo.c
20150 info-daemon/NetworkManagerInfoDbus.c
20152 - Escape ESSIDs in gconf
20154 * src/NetworkManagerDevice.c
20155 - Fix pseudo-scanning to use netowrk list from info daemon
20157 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20159 * configure.in: Add a temporary --enable-notification-icon. This
20160 will prolly go away.
20162 * info-daemon/Makefile.am:
20163 * info-daemon/NetworkManagerInfo.c:
20164 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20166 * panel-applet/Makefile.am:
20167 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20168 * panel-applet/NMWirelessApplet.h:
20170 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20172 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20173 before 'select custom ESSID'.
20175 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20176 fully complete, but syncing in prep for merge.
20178 * panel-applet/icons/*png: New images
20180 2004-09-28 Dan Williams <dcbw@redhat.com>
20182 * src/NetworkManager.c
20183 src/NetworkManagerDevice.c
20184 src/NetworkManagerPolicy.c
20185 - Don't blow away an active wired connection on startup
20187 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20191 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20193 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20196 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20198 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20199 have a wireless card.
20201 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20203 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20204 Also, get the right device strings.
20206 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20208 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20209 the logic to make this right.
20211 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20212 devices so that wired networks are always first.
20214 2004-09-22 <clarkbw@cvs.gnome.org>
20216 * initscript/Debian/.cvsignore:
20217 * initscript/Slackware/.cvsignore:
20218 Added new cvsignores for Makefile, Makefile.in
20221 Added nmtestdevices
20223 * src/NetworkManagerDevice.c:
20224 * src/NetworkManager.c:
20225 Updated the wireless/wired HAL device strings from net.ethernet to
20226 net.80203 or net.80211 depending on wired or wireless respectively
20228 * examples/python/NetworkManager.py:
20229 s/Quality/Strength/
20231 * examples/python/systray/network_tray.py:
20232 Lots of little changes and fixes. been rotting for a while so I
20233 figured I'd finally sync them all with CVS
20235 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20237 * configure.in: Add graphics
20239 * panel-applet/Makefile.am: Add graphics
20241 * panel-applet/icons/*: Add graphics
20243 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20244 the icons fully lined up.
20246 * panel-applet/menu-info.c:
20247 * panel-applet/menu-info.h: Add another menu type.
20249 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20251 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20253 * panel-applet/menu-item.[ch]: Wireless menu item.
20255 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20257 * info-daemon/NetworkManagerInfo.conf
20258 - Created a more robust security policy for the DBus service
20259 - everything is denied by default
20260 - root can own and send to the service
20261 - users logged in at the console can send to the service
20263 2004-09-13 Dan Williams <dcbw@redhat.com>
20265 * src/NetworkManagerDevice.c
20266 - (nm_device_get_essid): use iw_get_basic_config() rather than
20267 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20270 2004-09-13 Dan Williams <dcbw@redhat.com>
20274 * docs/NetworkManager DBUS API.txt
20275 - Update for new signal strength changes
20277 * panel-applet/NMWirelessApplet.c
20278 - Make panel icon show strength of the current connection
20279 - Cleanups and memleak fixes
20281 * panel-applet/NMWirelessApplet.h
20282 - Add data members for signal strength on devices and networks
20284 * panel-applet/NMWirelessAppletDbus.c
20285 - Free more DBusErrors
20286 - Update for new signal strength changes
20287 - Make devices and networks more like real objects, use ref/unref methods
20288 - Actually unlock the mutex when updating the active device
20290 * src/NetworkManagerAP.c
20291 - Change AP functions and data members from "quality"->"strength"
20293 * src/NetworkManagerDbus.c
20294 - Kill "getMaxQuality" and "getQuality" methods
20295 - Add "getStrength" methods for Networks and Devices
20297 * src/NetworkManagerDevice.[ch]
20298 - Add accessors for device strength
20299 - Add functions to update strength for a device. Note that not all drivers
20300 actually support signal strength for scanned access points (Atmel drivers
20302 - Calculate signal strength for each AP during scan
20304 * src/NetworkManagerWireless.[ch]
20305 - Add function to return signal strength % from a device and a raw quality struct
20307 * test/nmclienttest.c
20308 - Update for new signal strength changes
20310 2004-09-11 Dan Williams <dcbw@redhat.com>
20312 * src/NetworkManager.c
20313 - Fix race condition between initscripts and NM on card insertion
20314 which could cause a card to keep an IP address and routes around
20315 even when it was not the active device
20317 * src/NetworkManagerDbus.c
20318 - Fix compile errors, free more DBusErrors
20320 2004-09-11 Dan Williams <dcbw@redhat.com>
20322 * docs/NetworkManager DBUS API.txt
20323 - Add an explanation of NM's API
20325 * src/NetworkManagerDbus.c
20326 - Free some more DBusErrors if needed
20328 2004-09-11 Dan Williams <dcbw@redhat.com>
20330 * panel-applet/NMWirelessApplet.c
20331 panel-applet/NMWirelessAppletDbus.c
20332 - Start using NetworkDevice/WirelessNetwork structures in more places
20333 - Update for unified device/network forcing in NetworkManager
20335 * src/NetworkManager.c
20336 - some code consolidation
20338 * src/NetworkManagerDbus.c
20339 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20340 or two arguments: the first is the NM ID of the device to switch to,
20341 and the second (optional) argument is the ESSID of a wireless network
20343 - Get rid of "setNetwork" method due to above change
20345 * src/NetworkManagerDevice.c
20346 - (nm_device_new): perform scan and update best AP on device creation
20347 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20348 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20349 spin waiting for cancellation to finish before returning
20351 * src/NetworkManagerPolicy.c
20352 - Changes here clarify the situations in which a device switch occurs, and
20353 make sure to keep using a forced device and network if the user gives
20355 - Remove old unused code
20357 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20359 * configure.in: Added Danish (da) to ALL_LINGUAS.
20361 2004-09-09 Dan Williams <dcbw@redhat.com>
20363 * panel-applet/NMWirelessAppletDbus.c
20364 - Pull fresh devices and networks from NM when wireless networks
20365 change. Provides faster feedback of a forced wireless network
20367 * src/NetworkManagerDbus.c
20368 - Return error when "getMaxQuality" is called on a wired device
20369 - Make best_ap freezing actually work again, and signal cancellation
20370 of activation if there's already a device activation when the user
20371 freezes the best_ap
20373 * src/NetworkManagerDevice.c
20374 - Don't clear out the best_ap for wireless devices when the link goes
20375 down, that's done elsewhere
20376 - Kill any dhcp daemons when cancelling device activation since they
20377 may be stuck waiting for a DHCP address, and since we're cancelling
20378 activation we don't care about that anymore
20380 * src/NetworkManagerPolicy.c
20381 - Make sure to unref the device we ref earlier (we refed it to make sure
20382 it stuck around during device activation and such)
20383 - If we were going to change the best device, but its activating currently
20384 (and therefore the change didn't occur due to the check earlier)
20385 we mark the state changed to we come back to it later when device
20386 activation has canceled and its no longer activating
20388 * src/backends/NetworkManagerRedHat.c
20389 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20391 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20393 * info-daemon/passphrase.glade:
20394 set passphrase input to activates_default : True
20396 * examples/python/systray/network_tray.py
20397 (network_tray.sort_networks):
20399 Added support for having wireless always scanning
20401 2004-09-09 Dan Williams <dcbw@redhat.com>
20403 NOTE: this commit changes the behavior of wireless devices in
20404 NetworkManager. They are now up all the time, scanning all
20405 the time. Only the active device has an IP address and routing
20406 information set up however. Also, NetworkManager will no longer
20407 opportunistically switch wireless networks when a better one
20408 comes in range, it will remain associated with one wireless network
20409 until that one drops out.
20411 * panel-applet/NMWirelessApplet.c
20412 panel-applet/NMWirelessAppletDbus.c
20413 - List all wireless cards and their respective networks
20415 * src/NMLoadModules
20416 - Use full path to /sbin/ip
20418 * src/NetworkManager.c
20419 - Keep wireless devices up all the time so they can scan
20421 * src/NetworkManagerDbus.c
20422 - On a WirelessNetworkUpdate signal from NMI, don't update
20425 * src/NetworkManagerDevice.c
20426 - (nm_device_set_link_active): clear out the best ap for
20427 wireless devices when the link is set to FALSE
20428 - Scan on all wireless cards, all the time
20429 - (nm_device_activation_worker): split out the wireless card
20430 link-waiting code to a separate function
20431 - Keep wireless cards up even if device activation fails
20432 - Don't update the "best" ap as much
20434 * src/NetworkManagerPolicy.c
20435 - Don't update the best ap when checking if its frozen,
20436 let link checking clear out a frozen best ap for us
20438 * src/NetworkManagerWireless.c
20439 - Scan on all wireless cards, all the time
20441 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20443 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20445 2004-09-09 Ankit Patel <ankit@redhat.com>
20447 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20449 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20451 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20453 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20455 * examples/python/NetworkManager.py:
20456 added CONNECTED, CONNECTING, and DISCONNECTED states
20457 added methods to return number of devices of a single type
20459 * examples/python/systray/network_tray.py:
20460 did some tweaks to get the menu looking near what it is supposed
20461 to look like. Also did a Airo card hack to make it show the
20464 2004-09-08 Dan Williams <dcbw@redhat.com>
20466 * panel-applet/no-networkmanager.png
20467 panel-applet/Makefile.am
20468 panel-applet/NMWirelessApplet.c
20469 - Add a "NetworkManager not running" icon and use it
20470 - Use new consolidated GConf keys rather than Preferred/Trusted
20474 * info-daemon/NetworkManagerInfo.c
20475 info-daemon/NetworkManagerInfoDbus.[ch]
20476 info-daemon/NetworkManagerInfoPassphraseDialog.c
20477 - There are now no longer two separate lists of wireless networks,
20478 but one list where each network is "trusted" or not trusted
20479 - Add a "getNetworkTrusted" dbus method
20480 - "WirelessNetworkUpdate" signal now sent rather than
20481 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20482 - Start freeing some dbus errors (not completed yet)
20484 * info-daemon/passphrase.glade
20485 - Remove the "don't show" hints for pager and taskbar
20486 - Add a title since its going to be in the taskbar
20488 * src/NetworkManager.[ch]
20489 src/NetworkManagerAPList.[ch]
20490 - There are now no longer two separate lists of wireless networks,
20491 but one list where each network is "trusted" or not trusted
20493 * src/NetworkManagerAP.[ch]
20494 - Add get/set "trusted" accessors and data bit
20496 * src/NetworkManagerDbus.[ch]
20497 - Add function to get "trusted" status of a network from NetworkManagerInfo
20498 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20500 * src/NetworkManagerDevice.[ch]
20501 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20502 - (nm_device_new): Get device config from backend when initializing devices
20503 - (nm_device_activation_worker): Split out device configuration on
20504 activation to deal with static/dynamic IP differences, and try encryption
20505 fallbacks on a device if the encryption method for the best AP is not good
20506 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20507 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20509 * src/NetworkManagerWireless.c
20510 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20512 * src/backends/NetworkManagerRedHat.c
20513 src/backends/NetworkManagerSystem.h
20514 - (nm_system_device_update_config_info): Add function to get device configuration
20515 from system data in ifcfg-* files
20517 * src/backends/NetworkManagerDebian.c
20518 src/backends/NetworkManagerGentoo.c
20519 src/backends/NetworkManagerSlackware.c
20520 - Add stub functions for getting device configuration
20522 2004-09-07 Dan Williams <dcbw@redhat.com>
20524 * src/backends/NetworkManagerRedhat.c
20525 src/backends/NetworkManagerSlackware.c
20526 - Use full path to /sbin/ip everywhere
20528 2004-09-07 Dan Williams <dcbw@redhat.com>
20530 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20533 initscript/Makefile.am
20534 initscript/Slackware/Makfile.am
20535 initscript/Slackware/rc.networkmanager
20537 src/backends/NetworkManagerSlackware.c
20538 - Add Slackware support
20540 2004-09-07 Dan Williams <dcbw@redhat.com>
20542 Patches below from:
20544 Mark Roach <mrroach@okmaybe.com>
20545 Thom May <thom@debian.org>
20548 initscript/Debian/NetworkManager
20549 initscript/Debian/Makefile.am
20550 - Initscript for Debian
20552 * src/backends/NetworkManagerDebian.c
20553 - Add missing system init function to allow compilation
20556 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20558 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20560 2004-09-03 Akagic Amila <bono@linux.org.ba>
20562 * configure.in: Added 'bs' to ALL_LINGUAS.
20564 2004-09-02 Colin Walters <walters@verbum.org>
20566 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20567 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20568 g_strdup_printf instead of arbitrarily sized buffers.
20570 2004-09-01 Colin Walters <walters@verbum.org>
20572 * NetworkManager.pc.in: New file.
20574 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20576 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20578 * configure.in: Punjabi(pa) is added to po/.
20580 2004-08-31 Dan Williams <dcbw@redhat.com>
20582 * Remove 'debug' extern global from all files since we now
20585 * src/NetworkManager.[ch]
20586 - Break out routine that get the net.interface property from HAL,
20587 removing that logic from nm_create_device_and_add_to_list()
20588 - (nm_create_device_and_add_to_list): make this a bit more general so
20589 it doesn't do the talking to HAL. Also add arguments to facilitate
20590 the create of test devices.
20591 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20592 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20593 which makes NetworkManager listen for dbus commands to create test
20594 devices, which have no backing hardware. Use when you're on a plane
20595 for example, and/or forgot your wireless card at home. Test devices
20596 _cannot_ be created unless NM is started with --enable-test-devices.
20598 * src/NetworkManagerDbus.[ch]
20599 - New "getLinkActive" method for devices
20600 - New "setLinkActive" method for devices (only works on test devices)
20601 - New "createTestDevice" method on NetworkManager object to create a test
20602 device of a specified type (ie wired, wireless). UDI is created from
20603 scratch, as is the interface name. Only works when NM is started with
20604 --enable-test-devices switch.
20605 - New "removeTestDevice" method on NetworkManager object which removes a
20606 test device. Only works when NM is started with --enable-test-devices
20608 * src/NetworkManagerDevice.[ch]
20609 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20610 whether a device is a test device or not, and what its link status is.
20611 - Deal with test devices in most functions. For those that work directly on hardware
20612 special-case test devices.
20613 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20615 - (nm_device_update_link_active): split out logic for wired and wireless device link
20616 checking to separate functions to facilitate test device link checking.
20617 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20618 don't make a distinction between System Authentication and Encryption
20619 (namely Cisco aironet), we use Open System auth when setting a WEP key
20620 on the card. We don't deal with Shared Key auth yet.
20621 - (nm_device_activation_worker): split the activation cancel check logic out into
20622 a separate routine nm_device_activation_cancel_if_needed()
20623 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20624 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20625 a list of fake access points that they can "see"
20626 - (nm_device_is_test_device): return whether or not a device is a test device
20628 * src/NetworkManagerPolicy.c
20629 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20630 previously if you "locked"/forced NM to use a wireless device but then
20631 selected a wireless network for NM to use, it would switch to a wired device.
20632 So, if the active device is wireless and it has a "forced" best AP, use it
20633 if the "forced" best AP is still valid
20634 - (nm_state_modification_monitor): deal with NULL best devices, for example
20635 there were no usable network devices, or the last one was removed
20637 * src/backends/NetworkManager*.c
20638 - Deal with test devices, mostly just return success for operations like getting
20641 * test/nmtestdevices.c
20642 - Test tool to create/remove/link-switch test devices
20644 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20646 * examples/python/NetworkManager.py:
20647 added convience functions has_wired_device and has_wireless_device
20649 * examples/python/systray/network_tray.py:
20650 cleaned up a bunch of cruft, added support for listing wireless
20651 networks just like the real applet. This is probably all I'm
20652 going to work on this applet from now on.
20653 TODO: add support for actually changing networks and devices
20655 * examples/python/NetworkManager.py (NetworkManager.get_device):
20656 changed "nm.networks" into a dict from a list so I can store all
20657 the cool information about networks in there
20659 * examples/python/systray/network_tray.py:
20660 Added nice message when you try to run without running make first
20662 * examples/python/NetworkManager.py:
20663 Bug fixes to the code so we get all the device information
20664 that we need in get_device()
20666 * examples/python/NMTester.py:
20667 Fixed _print_device_list to print_device_list
20669 2004-08-29 Seth Nickell <seth@gnome.org>
20673 Actually properly setup the Debian backend in configure.
20675 2004-08-29 Colin Walters <walters@verbum.org>
20677 * test/nminfotest.c: Include string.h and stdlib.h.
20678 (get_network_string_property, get_networks_of_type): Return NULL.
20680 * test/nmclienttest.c (get_device_name, get_active_device): Return
20683 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20684 use strlen, fgets always NULL-terminates the string.
20686 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20687 dbus_message_get_member): Remove /* in comment.
20689 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20691 * src/NetworkManager.c (quit): Unused, delete.
20692 (nm_data_free): Cast arg to GFunc.
20694 * panel-applet/NMWirelessAppletDbus.c: Need to include
20695 string.h, and dbus-glib-lowlevel.h (the latter is needed
20696 for dbus_connection_setup_with_g_main at present).
20697 (nmwa_dbus_update_wireless_network_list): Parenthesize
20698 assignment in conditional.
20699 (nmwa_dbus_worker): Return NULL.
20701 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20702 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20703 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20704 (nmwa_populate_menu): Return NULL on failure, instead of just
20707 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20709 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20712 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20715 2004-08-29 Colin Walters <walters@verbum.org>
20717 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20718 a GTimeVal instead of time_t. This is easier to work with,
20719 since time_t may be a long or double, we don't know.
20721 * src/NetworkManagerDbus.h: Update prototype.
20723 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20725 (nm_ap_get_timestamp): Update to return GTimeVal.
20726 (nm_ap_set_timestamp): Update to take GTimeVal.
20728 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20729 to handle GTimeVal.
20731 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20733 (nm_ap_list_print_members): Fix warnings in printf format.
20735 2004-08-29 Colin Walters <walters@verbum.org>
20737 * panel-applet/NMWirelessApplet.c: Include config.h.
20739 2004-08-29 Colin Walters <walters@verbum.org>
20741 * configure.in: Generate config.h.
20743 * configure.in: Dump dependency on OpenSSL; we can't
20744 use it since this package is GPL:
20745 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20746 Instead, check for libgcrypt, use it if available,
20747 otherwise use included MD5 code.
20749 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20750 Suck in from gnome-keyring, munge a bit.
20752 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20753 gnome-keyring-md5.h gnome-keyring-md5.c.
20754 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20756 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20757 libgcrypt or included gnome-keyring md5 bits.
20758 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20760 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20762 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20764 2004-08-27 Bryan Clark <bclark@redhat.com>
20766 * examples/python/systray/Makefile:
20768 Updated the clean section
20770 * examples/python/systray/trayiconmodule.c:
20771 * examples/python/systray/trayicon.override:
20772 * examples/python/systray/network_tray.py:
20773 * examples/python/systray/eggtrayicon.h:
20774 * examples/python/systray/eggtrayicon.c:
20775 * examples/python/systray/Makefile:
20776 * examples/python/README:
20777 * examples/python/NetworkManager.py:
20778 * examples/python/NMTester.py:
20780 Initial commit of these python example files
20782 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20784 * panel-applet/NMWirelessApplet.c
20785 - Make current device bold
20786 - Show more user-friendly device name if we got one from hal
20788 * panel-applet/NMWirelessAppletDbus.c
20789 - Grab "info.product" key from hal for network devices
20790 - Cache the current active device
20792 2004-08-27 Adam Weinberger <adamw@gnome.org>
20794 * configure.in: Added en_CA to ALL_LINGUAS.
20796 2004-08-27 Christian Rose <menthos@menthos.com>
20798 * configure.in: Added "sv" to ALL_LINGUAS.
20800 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20802 * Tag NetworkManager-0.2
20804 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20806 * initscripts/Makefile.am
20807 * configure.in: Make pass distcheck
20809 * po/ChangeLog: added
20811 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20813 * panel-applet/NMWirelessApplet.c
20814 - Remove debugging code
20815 - Enable device switching from menus
20817 * panel-applet/NMWirelessAppletDbus.[ch]
20818 - Method for asking NM to switch devices
20820 * src/NetworkManagerDevice.c
20821 - Set dev->activating earlier, avoids race between
20822 the dbus signal of "DeviceActivating" and setting
20823 dev->activating (which is what NM's "status" method call
20826 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20828 * panel-applet/NMWirelessApplet.[ch]
20829 - Rework menu code to add devices to menu, and to show
20830 signal strength for each access point. Code cleanups
20833 * panel-applet/NMWirelessAppletDbus.c
20834 - Grab network devices from NetworkManager too
20835 - Grab quality information from NM for wireless networks
20837 * src/NetworkManagerDbus.[ch]
20838 - Add dbus methods for getting the HAL UDI from a device and
20839 for getting its base quality, if its wireless
20840 - Consolidate some functions (wireless network notifications,
20841 device notifications)
20842 - Add method for requesting NM to use a particular device
20844 * src/NetworkManager.c
20845 - Change for function consolidations from NetworkManagerDbus.c
20846 - Implement active device locking and user-requested devices
20847 (ie, tell NM to use a particular device instead of the one
20850 * src/NetworkManagerDevice.c
20851 - Add method for getting the base quality of a device, if its
20853 - Grab device base quailty info from iwlib during scans
20855 * src/NetworkManagerPolicy.c
20856 - Use a user-requested device rather than the auto-chosen device
20859 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20861 * Makefile.am: add po as a supdir
20863 * autogen.sh: use gnome-autogen.sh
20865 * initscript/Gentoo/.cvsignore:
20866 * initscript/RedHat/.cvsignore: Shut up cvs
20868 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20870 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20871 (nmwa_fill): Use gettext.
20873 * configure.in: add gettext support
20875 * po/NetworkManager.pot:
20878 2004-08-26 Seth Nickell <seth@gnome.org>
20880 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20881 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20882 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20883 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20884 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20885 * panel-applet/NMWirelessApplet.h:
20887 Use a menu bar instead of a button for the main clickable
20890 2004-08-25 Dan Williams <dcbw@redhat.com>
20892 * src/NetworkManagerDevice.c
20893 - (nm_device_set_enc_key): always set device to "open" mode instead of
20894 turning encryption off, because the Cisco driver doesn't associate
20895 with WEP-enabled access points unless we are in "open"
20897 2004-08-25 Dan Williams <dcbw@redhat.com>
20899 * src/NetworkManagerWireless.c
20900 - Don't try to defererence blank passphrases
20902 2004-08-25 Dan Williams <dcbw@redhat.com>
20904 * panel-applet/NMWirelessApplet.c
20905 - Rebuild the menu whenever a user clicks
20907 2004-08-25 Dan Williams <dcbw@redhat.com>
20909 * panel-applet/NMWirelessApplet.c
20910 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20911 when NM isn't around or when its not connected
20913 * src/NetworkManagerDevice.c
20914 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20917 2004-08-25 Dan Williams <dcbw@redhat.com>
20919 * panel-applet/NMWirelessAppletDbus.c
20920 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20921 for getting encryption, and don't stop on "val" once we've gotten it
20922 from NetworkManager. Short form: encryption should now show up.
20924 2004-08-25 Dan Williams <dcbw@redhat.com>
20926 * panel-applet/NMWirelessApplet.c
20927 - Set ESSID on a gconf trusted network too when force-setting the wireless
20928 network to associate with
20930 2004-08-25 Dan Williams <dcbw@redhat.com>
20933 - Rework the panel applet to do all DBUS communication in a separate
20936 2004-08-25 Dan Williams <dcbw@redhat.com>
20938 * info-daemon/NetworkManagerInfo.[ch]
20939 - Remove "get_next_priority" function
20941 * info-daemon/NetworkManagerInfoDbus.[ch]
20942 - Convert "priority" functions to "timestamp"
20944 2004-08-25 Dan Williams <dcbw@redhat.com>
20946 * src/NetworkManagerAP.[ch]
20947 - Add a "enc_method_good" member and accessors to an Access Point
20948 to signal when we've found the correct encryption method
20949 for an access point
20950 - Add a "timestamp" member and accessors, remove "priority" member
20951 and accessors (use timestamps instead)
20952 - Rename "wep_key"->"enc_key"
20953 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20954 for a specified encryption method using the access points
20955 source encryption key/passphrase
20957 * src/NetworkManagerAPList.c
20958 - When updating a network with dbus, grab timestamp now instead of
20961 * src/NetworkManagerDBus.[ch]
20962 - Add signal for "DeviceActivating"
20963 - Switch priority->timestamp
20965 * src/NetworkManagerDevice.c
20966 - Change references of "wep_key" -> "enc_key" or "key"
20967 - Signal DeviceActivating when starting activation
20968 - When activating a wireless device, if the access point we are connecting
20969 to is encrypted, and we have a source key, try to generate a mangled
20970 key and use that (ie, generate real WEP key from a passphrase)
20971 - Rework device activation to fallback to other encryption methods if
20972 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20973 first, then if that doesn't work fall back to direct hex key).
20974 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20975 priority. We now prefer the latest access point used, rather than using
20977 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20978 points we've just discovered, and merge in correct info from the global
20981 2004-08-25 Seth Nickell <seth@gnome.org>
20983 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20987 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20988 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20989 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20990 (nm_system_delete_default_route),
20991 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20992 (nm_system_load_device_modules):
20994 2004-08-24 Dan Willemsen <dan@willemsen.us>
20996 * src/NetworkManager.c
20997 src/backends/NetworkManagerGentoo.c
20998 src/backends/NetworkManagerRedHat.c
20999 src/backends/NetworkManagerSystem.h
21000 - Implement preliminary Gentoo support, adding a
21001 nm_system_init function to the backend specification
21004 - Distribution auto-detection, lowercase any user-fed
21007 * initscript/.cvsignore
21008 initscript/Makefile.am
21009 initscript/RedHat/Makefile.am
21010 initscript/RedHat/NetworkManager
21011 initscript/Gentoo/Makefile.am
21012 initscript/Gentoo/NetworkManager
21013 - Refactored initscript code separately for each
21016 2004-08-23 Dan Williams <dcbw@redhat.com>
21020 src/NetworkManagerDevice.c
21021 src/NetworkManager.c
21022 src/NetworkManagerUtils.[ch]
21023 src/backends/NetworkManagerSystem.h
21024 src/backends/NetworkManagerRedHat.c
21025 src/backends/NetworkManagerGentoo.c
21026 - Refactor system-specific code into separate backends for
21029 2004-08-23 Dan Willemsen <dan@willemsen.us>
21031 * dispatcher-daemon/NetworkManagerDispatcher.c
21032 info-daemon/NetworkManagerInfo.[ch]
21033 info-daemon/NetworkManagerInfoDbus.c
21034 info-daemon/NetworkManagerInfoPassphraseDialog.c
21035 src/NetworkManager.c
21036 src/NetworkManagerAP.c
21037 src/NetworkManagerAPList.c
21038 src/NetworkManagerDbus.c
21039 src/NetworkManagerDevice.c
21040 src/NetworkManagerPolicy.c
21041 src/NetworkManagerUtils.[ch]
21042 src/NetworkManagerWireless.c
21043 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
21045 * src/NetworkManager.c
21046 - Fixed usage wording for --no-daemon
21048 2004-08-23 Dan Williams <dcbw@redhat.com>
21050 * panel-applet/NMWirelessApplet.c
21051 - Update our state every second to get more responsive panel icon
21052 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
21053 was causing our marching ants status blips to never move when
21054 looking for a wireless network
21056 * src/NetworkManagerDevice.c
21057 - (nm_device_activation_begin): return if activation has already begun
21058 - (nm_device_do_normal_scan): merge WEP key and priority from the
21059 trusted/preferred network into the device's access point when the
21060 scan list is processed
21062 2004-08-23 Dan Williams <dcbw@redhat.com>
21064 * initscript/NetworkManager
21065 - Use NMLaunchHelper rather than sleeping
21067 * initscript/NMLaunchHelper.c
21069 - Add helper program that exits only when NM activates a device,
21070 or 10 seconds have passed, whichever happens first. This
21071 stops the boot processes until we have a network connection,
21072 which NM can't do because it daemonizes and brings the connection
21073 up in the background. Allows stuff like NFS to not die.
21075 2004-08-20 Dan Williams <dcbw@redhat.com>
21077 * info-daemon/NetworkManagerInfoPassphraseDialog.c
21078 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
21079 for a network, set the essid as well since it may not exist yet
21080 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
21081 since WEP keys/passphrases are long and prone to entry-error
21083 * panel-applet/Makefile.am
21084 panel-applet/wired.png
21085 - Add (pulled from system-config-network temporarily)
21087 * panel-applet/NMWirelessApplet.[ch]
21088 - Show wired picture when a wired connection is used
21089 - Rename wireless icon enums, adding WIRELESS
21091 * src/NetworkManagerDevice.c
21092 - (nm_device_activate_wireless): unset encryption before bringing
21093 down the card and setting the essid
21094 - (nm_device_activatin_worker): request a key from the user if the
21095 AP we are connecting to is encrypted but we don't have a key
21097 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
21098 strcmp() that prevented a user-entered key from actually getting
21101 2004-08-16 Dan Williams <dcbw@redhat.com>
21103 * initscript/NetworkManager
21104 - Check for /sbin/ip
21105 - Do sysctl magic that network service does
21106 - sleep 4s after start to allow network time to come up [hack]
21110 - Load all network device kernel modules (hal doesn't know devices
21111 are ethernet until the module is loaded, and therefore we don't know)
21113 * src/NetworkManager.c
21114 - (main): daemonize later, launch NMLoadModules to alert HAL of our
21115 network devices, and bring up the loopback device explicitly
21117 * src/NetworkManagerUtils.[ch]
21118 - (nm_enable_loopback): new function
21120 2004-08-13 Dan Williams <dcbw@redhat.com>
21123 panel-applet/Makefile.am
21124 - Fix up cleanfiles and server_DATA/server_in_files
21127 - Update with some comments on theory of operation
21133 2004-08-12 Dan Williams <dcbw@redhat.com>
21135 * info-daemon/passphrase.glade
21136 - Set window title to " "
21138 * panel-applet/Makefile.am
21139 panel-applet/keyring.png
21140 - Deliver to correct place
21142 * panel-applet/NMWirelessApplet.[ch]
21144 - Remove applet->have_active_device as its no longer used
21145 - (nmwa_load_theme): load keyring.png too
21146 - (error_dialog): remove
21147 - (show_warning_dialog): subsume functionality of error dialog too
21148 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21149 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21151 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21152 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21153 and when we get broadcasts of changed wireless access points only, not when the
21154 user clicks on the button to display the menu (too long of a wait)
21155 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21156 networks that are encrypted
21157 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21158 menu item with g_object_set_data()
21160 * panel-applet/NMWirelessAppletDbus.[ch]
21161 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21162 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21163 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21164 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21165 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21166 activation/deactivation signals and rebuild the menu when they happen
21168 * src/NetworkManager.c
21169 - (main): use new nm_spawn_process() rather than system()
21171 * src/NetworkManagerDbus.c
21172 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21173 instead. Since we can now force best_aps to stick around, the AP structure to which
21174 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21175 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21176 to freeze the best_ap.
21178 * src/NetworkManagerDevice.[ch]
21179 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21180 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21181 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21184 * src/NetworkManagerUtils.[ch]
21185 - (nm_spawn_process): add replacement for system() usage
21187 2004-08-11 Dan Williams <dcbw@redhat.com>
21189 * panel-applet/NMWirelessApplet.[ch]
21190 - Fix up copyright and credits to include Bastien and Eskil,
21191 who created the gnome-applets wireless applet, from whose
21192 skeleton this one was created
21193 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21194 pixmap to draw is computed during nmwa_update_state()
21195 - Applet now shows itself all the time due to panel packing issues
21196 which caused the applet to previously never come back after hiding.
21197 When a wired device is the active device, the applet shows "not connected"
21199 * panel-applet/NMWirelessAppletDbus.[ch]
21200 - Clean up error messages and show what function they are from
21201 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21202 - Add new device type getters, and a status getter
21204 * src/NetworkManagerDbus.c
21205 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21206 network is actually in the device's ap list
21207 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21209 * src/NetworkManagerDevice.c
21210 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21213 * test/nmclienttest.c
21214 - Report status of NetworkManager too
21216 2004-08-11 Dan Williams <dcbw@redhat.com>
21218 * info-daemon/NetworkManagerInfo.c:
21219 - (main): clean up Seth's code style
21221 * info-daemon/NetworkManagerInfoDbus.c:
21222 - Use the more aptly-named path/service/interface constants from NetworkManager
21223 - Don't return empty strings ("") as object paths ever, instead return errors
21225 * panel-applet/NMWirelessApplet.c:
21226 - Clean up Seth's code style
21228 * src/NetworkManager.[ch]
21229 - (nm_remove_device_from_list): remove anything having to do with pending_device
21230 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21232 * src/NetworkManagerAPList.[ch]
21233 - Move Iter struct right above the iter functions to preserve opacity
21234 - (nm_ap_list_remove_ap): implement
21235 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21236 remove AP if NetworkManagerInfo doesn't know anything about it
21237 - (nm_ap_list_diff): user NMAPList iterators
21238 - (nm_ap_list_print_members): implement debugging function
21240 * src/NetworkManagerDbus.[ch]
21241 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21242 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21243 and move the actual key setting stuff into NetworkManagerDevice.c
21244 - (nm_dbus_get_network_priority): return -1 now on errors
21245 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21246 get lost, and force the active device to update its "best" ap when AP lists change
21247 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21248 method call due to pending_device member removal
21250 * src/NetworkManagerDevice.[ch]
21251 - Move NMDevice structure to the top
21252 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21253 - Remove Pending Action stuff from everywhere
21254 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21255 activation for us. This thread blocks until all conditions for activation have
21256 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21257 then setup up the interface and runs dhclient. We have to do this because there
21258 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21259 run our main loop and respond to dbus method calls or HAL device removals/inserts
21260 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21261 can tell nm_device_activation_worker() that we've got a key
21262 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21263 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21264 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21265 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21267 * src/NetworkManagerPolicy.c
21268 - Remove anything to do with pending_device
21269 - Adjust device activation to deal with activation-in-worker-thread
21271 * src/NetworkManagerUtils.c
21272 - Clean up locking debugging a bit
21274 * src/NetworkManagerWireless.[ch]
21275 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21276 was badly named and is better as a device function
21278 * panel-applet/.cvsignore: add
21280 2004-08-09 Seth Nickell <seth@gnome.org>
21282 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21283 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21285 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21287 Don't load the menus until clicked on (also removes a call outside
21288 normal code paths at first load).
21290 Hide applet when NM is not present.
21292 Improve printf debugging stuff.
21294 2004-08-09 Dan Williams <dcbw@redhat.com>
21296 * dispatcher-daemon/NetworkManagerDispatcher.c:
21297 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21298 - Use constants for NetworkManager interface, service, and path
21300 2004-08-09 Dan Williams <dcbw@redhat.com>
21302 * src/NetworkManagerDbus.c:
21303 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21304 instead return an error message
21305 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21306 on a wired device. Also never return an empty object path, instead return an error message
21308 2004-08-06 Seth Nickell <seth@gnome.org>
21310 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21312 Check the error code when getting a connection.
21314 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21316 Check if the NM service exists when initializing (rather than
21317 assuming it does not).
21319 * src/NetworkManagerDbus.c: (nm_dbus_init):
21321 Don't acquire the well-known service name until we have
21322 registered object/path handlers and can actually receive
21325 2004-08-06 Dan Williams <dcbw@redhat.com>
21330 * src/NetworkManagerPolicy.c
21331 src/NetworkManager.c
21332 - Get access point lists from NetworkManagerInfo on-demand,
21333 and look for ServiceCreate/ServiceDeleted signals to see when
21334 we should query NMI for lists
21335 * src/NetworkManagerAPList.c
21336 - Make sure to init the list's mutex
21337 - Convert traversals of the list over to the list iter functions
21339 * src/NetworkManagerDbus.[ch]
21340 - Use more aptly-named path/service/interface constants
21341 - Treat both active and pending devices the same for "getActiveDevice"
21342 - Add a "status" method returning "connected", "connecting", or "disconnected"
21344 * src/NetworkManagerDevice.c
21345 - Honor "ignored" network list when picking best ap to use
21347 2004-08-06 Seth Nickell <seth@gnome.org>
21351 Autogenerated, remove from CVS.
21355 Don't hardcode automake version.
21358 * info-daemon/Makefile.am:
21359 * info-daemon/NetworkManagerInfo.c: (main):
21361 Use GnomeProgram et al. for doing session management.
21362 Use popt stuff for argument parsing rather than doing
21365 2004-08-05 Dan Williams <dcbw@redhat.com>
21367 * test/nminfotest.c
21368 - Update to new NMI dbus API, check different network types
21370 * info-daemon/NetworkManagerInfoDbus.c
21371 - Update to new NM dbus API, ie network type sent in query message
21373 2004-08-05 Dan Williams <dcbw@redhat.com>
21375 * An assload of changes
21377 2004-08-02 Dan Williams <dcbw@redhat.com>
21380 - new task: proper logging support
21382 * info-daemon/NetworkManagerInfo.c
21383 - Correct spelling of "canceled"
21384 - Correct casting of objects for g_signal_connect()
21386 * info-daemon/NetworkManagerInfoDbus.c
21387 - Add defines for NetworkManager namespace and object path, and use them
21388 - Add filter function to trap new signals from NetworkManager:
21389 WirelessNetworkAppeared, WirelessNetworkDisappeared
21391 * info-daemon/passphrase.glade
21392 - Change name of "ok" button to "Login to Network..."
21395 * src/NetworkManager.c
21396 - Code and debug message cleanups
21397 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21398 - (nm_add_initial_devices) Check returned string array of devices
21399 and don't try to add devices if array is NULL
21400 - (main) Initialize libhal a bit later, make code a bit clearer
21402 * src/NetworkManagerAP.[ch]
21403 - New accessor and data member "matched": used to speed up AP list
21405 - New accessor and data member "enc_method": will be used during key
21406 fallback to cache which passphrase->key conversion actually works
21407 so we don't have to do it every time
21409 * src/NetworkManagerAPList.[ch]
21410 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21411 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21412 between them, and send WirelessNetworkAppeared/Disappeared signals over
21413 dbus in response to those differences
21415 * src/NetworkManagerDbus.[ch]
21416 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21417 make an object path for that access point (NOTE that we don't yet check to
21418 make sure that access point is actually in the device's AP list yet)
21419 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21420 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21421 New: signal appearance/disappearance of wireless networks
21422 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21425 * src/NetworkManagerDevice.[ch]
21426 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21427 - (nm_device_ap_list_get) New: return the AP list (static function)
21428 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21429 new one resulting from the scan with the old one
21431 * src/NetworkManagerWireless.c
21432 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21434 * test/nminfotest.c
21435 - #define object paths and namespaces and use the #defines rather than static strings
21436 - Test out user-key functionality of NetworkManagerInfo too
21438 2004-07-29 Dan Williams <dcbw@redhat.com>
21440 * info-daemon/NetworkManagerInfoDbus.c
21441 src/NetworkManagerDbus.c
21442 - Update to current DBus (ie don't use decomposed paths when registering
21443 object paths/fallbacks)
21445 2004-07-27 Dan Williams <dcbw@redhat.com>
21447 * Remove various Makefile.in files
21450 - Add some more items
21453 - Add checks for OpenSSL/md5 headers and libs
21456 - Use OpenSSL CFLAGS
21458 * src/NetworkManagerAP.[ch]
21459 - Remove 'stamp' functions, replace with 'invalid' functions
21460 to support user cancelling WEP key entry
21462 * src/NetworkManagerDbus.c
21463 - Remove 'stamp' return functions
21464 - Treat returned user key as a passphrase and convert to a WEP key,
21465 but don't actually use the WEP key yet. We use the returned user
21466 key as a hexadecimal WEP key until we can figure out a UI for
21467 passphrase-vs-hex key
21469 * src/NetworkManagerWireless.[ch]
21470 - Add passphrase-to-128bit-key function
21472 2004-07-27 Dan Williams <dcbw@redhat.com>
21475 - Add a couple of items
21477 2004-07-27 Dan Williams <dcbw@redhat.com>
21479 * info-daemon/NetworkManagerInfo.c
21480 - Update allowed network's GConf key when user enters a WEP key explicitly
21482 * info-daemon/NetworkManagerDbus.c
21483 - Fix some comments
21484 - nmi_dbus_get_allowed_networks(): kill warning
21486 2004-07-27 Dan Williams <dcbw@redhat.com>
21488 * initscript/Makefile.in
21491 * initscript/Makefile.am
21492 - Add correct rules to install the init.d initscript
21494 * info-daemon/NetworkManagerInfoDbus.c
21495 - Remove debug fprintf
21497 * src/NetworkManagerDbus.[ch]
21498 - Remove debug fprintfs
21499 - Add macros for NetworkManagerInfo object path/namespace
21500 - Use said macros instead of constant strings
21502 2004-07-27 Dan Williams <dcbw@redhat.com>
21504 * initscript/.cvsignore
21507 * info-daemon/Makefile.am
21508 - Install .glade files and keyring.png
21509 - Fix stupid omission of a \ that caused half the flags not to be
21512 * info-daemon/NetworkManagerInfo.c
21513 - gtk_signal_connect->g_signal_connect
21514 - Alert NetworkManagerInfo to new glade file location
21516 2004-07-27 Dan Williams <dcbw@redhat.com>
21518 * test/nmclienttest.c
21520 - Add missing <dbus/dbus.h> headers
21521 - Add GPL message at top
21523 2004-07-27 Dan Williams <dcbw@redhat.com>
21525 * src/NetworkManagerAPList.[ch]
21527 - Add. Deal with allowed network list additions, deletions, and updates
21529 * dispatcher-daemon/NetworkManagerDispatcher.c
21530 - Add missing <dbus/dbus.h> header
21532 * info-daemon/NetworkManagerInfo.[ch]
21533 - Add missing <dbus/dbus.h> header
21534 - Implement the GConf notify callback to signal NetworkManager of an allowed
21536 - Better error checking
21538 * info-daemon/NetworkManagerInfoDbus.[ch]
21539 - Add missing <dbus/dbus.h> header
21540 - Convert to using dbus_message_append_args/dbus_message_get_args
21541 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21542 that an allowed network changed. We don't want to signal on individual
21543 keys _inside_ an allowed network really, just want NM to query the info
21544 daemon for updated info on all keys.
21545 - Better error checking
21547 * src/NetworkManager.[ch]
21548 - Add missing <dbus/dbus.h> header
21549 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21550 - Zero out NMData structure on free
21551 - No longer use a thread for allowed_ap_list updating, instead its now done
21552 through dbus queries against NetworkManagerInfo
21553 - Populate allowed_ap_list initially before adding existing network devices
21554 to the device list, so wireless devices can get their "best" AP
21556 * src/NetworkManagerDbus.[ch]
21557 - Convert to using dbus_message_append_args/dbus_message_get_args
21558 - Better error checking
21559 - Implement Allowed Network info functions to request allowed network
21560 info from NetworkManagerInfo
21561 - Implement the filter function to process signals from NetworkManagerInfo
21562 about changing allowed networks
21564 * src/NetworkManagerDevice.c
21565 - Fix file descriptor leak in nm_device_update_ip4_address()
21567 2004-07-27 Dan Williams <dcbw@redhat.com>
21572 dispatcher-daemon/.cvsignore
21573 info-daemon/.cvsignore
21574 - Add .cvsignore files to reduce noise when diffing
21576 2004-07-24 Dan Williams <dcbw@redhat.com>
21578 * src/NetworkManager.[ch]
21579 src/NetworkManagerDbus.[ch]
21580 src/NetworkManagerDevice.[ch]
21581 src/NetworkManagerPolicy.c
21582 src/NetworkManagerWireless.[ch]
21583 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21584 - Pass the NMData application data structure through all calls
21585 that need it so we can get rid of nm_get_global_data()
21586 - Change deallocation of the allowed_ap_list GSList in preparation
21587 for not completely clearing it every time we get an update,
21588 but instead getting incremental updates via GConf/dbus
21590 2004-07-22 Dan Williams <dcbw@redhat.com>
21593 - Add checks for GConf libs & headers & flags
21595 * info-daemon/Makefile.am
21596 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21598 * info-daemon/NetworkManagerInfo.[ch]
21599 - Don't use gquarks for data storage, just use normal data storage
21600 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21602 * info-daemon/NetworkManagerDbus.[ch]
21603 - Add method call for getting allowed networks
21604 - Add method calls for getting an allowed network's essid, priority, and key
21605 - Hook the method calls up to GConf
21606 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21607 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21609 * src/NetworkManagerDbus.[ch]
21610 - Switch for enumeration of networks to using essid instead
21614 - Add test program for NetworkManagerInfo
21616 2004-07-19 Dan Williams <dcbw@redhat.com>
21618 * src/NetworkManagerDbus.c
21619 - Switch from indexed device paths to names. Less code, more efficient.
21620 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21622 2004-07-19 Dan Williams <dcbw@redhat.com>
21624 * dispatcher-daemon/NetworkManagerDispatcher.c
21625 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21627 2004-07-19 Dan Williams <dcbw@redhat.com>
21630 - Add info-daemon directory
21633 - Check for glade libs and headers
21634 - Add info-daemon directory
21636 * src/NetworkManagerAP.c
21637 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21638 copied over to the new AP.
21640 * src/NetworkManagerDbus.c
21641 src/NetworkManagerDbus.h
21642 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21643 - Remove nm_dbus_signal_need_key_for_network()
21644 - Add disabled code for asynchronous user wep key callbacks
21645 - Add functions for getting, setting, and cancelling user key operations
21646 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21647 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21649 * src/NetworkManagerDevice.c
21650 src/NetworkManagerDevice.h
21651 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21652 logic is in device activation now
21653 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21654 key is wrong) trigger get-user-key pending action
21655 - Implement get-user-key pending action stuff, tie to dbus messages
21656 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21657 - Add nm_device_ap_list_get_ap_by_essid()
21658 - Instead of copying "best" access points, ref them instead so that the key we set
21661 * src/NetworkManagerPolicy.c
21662 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21663 - Don't cancel pending actions on a device if its the same device as last iteration
21664 - Only promote pending_device->active_device if activation was successfull
21667 - Rename nmclienttest->nmtest
21669 * info-daemon/Makefile.am
21670 info-daemon/NetworkManagerInfo.c
21671 info-daemon/NetworkManagerInfo.h
21672 info-daemon/NetworkManagerInfoDbus.c
21673 info-daemon/NetworkManagerInfoDbus.h
21674 info-daemon/passphrase.glade
21675 info-daemon/NetworkManagerInfo.conf
21676 info-daemon/keyring.png
21677 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21678 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21679 lists to NetworkManager by proxying user's GConf
21682 2004-07-15 Dan Williams <dcbw@redhat.com>
21687 * src/NetworkManager.c
21688 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21689 that doing the deactivation ourselves
21690 - Cancel an pending actions on a device if its being removed
21691 - Break up link state checking a bit, make non-active wireless cards
21692 deactivated to save power
21693 - Remove unused variables
21695 * src/NetworkManager.h
21696 - Add support for "pending" device
21698 * src/NetworkManagerAP.h
21699 src/NetworkManagerAP.c
21700 - Add support for determining whether and AP has encryption enabled or not
21701 - AP address is now "struct ether_addr" rather than a string
21703 * src/NetworkManagerDbus.h
21704 src/NetworkManagerDbus.c
21705 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21706 - Changes for AP address from struct ether_addr->string
21708 * src/NetworkManagerDevice.h
21709 src/NetworkManagerDevice.c
21710 - Remove unused variables, fix warnings
21711 - Add support for Pending Actions (things that block a device from being "active"
21712 until they are completed).
21713 - First pending action: Get a WEP key from the user
21714 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21715 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21716 - Update wireless link checking to try to determine if the AP we are associated
21717 with is correct, but the WEP key we are using is just wrong. If its wrong,
21718 trigger the GetUserKey pending action on the device
21719 - If dhclient can't get an IP address, it brings the device down. Bring it back
21720 up in that case, otherwise we can't scan or link-check on it
21721 - Add IP address change notifications at appropriate points (still needs some work)
21722 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21724 * src/NetworkManagerPolicy.h
21725 src/NetworkManagerPolicy.c
21726 - Split out "best" access point determiniation into separate function
21727 - Make device activation 2-stage: first the device is pending, then
21728 in the next iteration through it becomes "active" unless it has
21731 * src/NetworkManagerUtils.h
21732 src/NetworkManagerUtils.c
21733 - Clean up unused variables and warnings
21734 - Wrap our debug macros in {} to prevent possible confusion
21736 * src/NetworkManagerWireless.c
21737 - Forgot to return current best priority, which lead to last available AP always
21738 being chosen no matter what its priority was. Corrected.
21740 2004-07-15 Dan Williams <dcbw@redhat.com>
21742 * dispatcher-daemon/Makefile.am
21745 * dispatcher-daemon/NetworkManagerDispatcher.c
21746 - Remove unused variables due to warnings
21747 - Fix some comments
21748 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21750 2004-07-06 Dan Williams <dcbw@redhat.com>
21752 * src/NetworkManager.c
21753 - Add IPv4 address update for active device during link state check
21754 - Don't allow wireless cards to be powered up when they are not the
21757 * src/NetworkManagerDbus.c
21758 src/NetworkManagerDbus.h
21759 - Add DBUS IPv4 address change signal
21760 - Add DBUS IPv4 address get method for devices
21762 * src/NetworkManagerDevice.c
21763 - Make setting the WEP key actually work
21764 - Move IP address get/set/update stuff here, per-device
21765 - Power down/bring down wireless device when deactivated
21766 - For scanning wireless devices, if first scan returned ENODATA, try again
21768 * src/NetworkManagerPolicy.c
21769 - Only set the WEP key for an allowed access point if there is one.
21770 We were setting it to be blank if one wasn't specified.
21772 * src/NetworkManagerUtils.h
21773 src/NetworkManagerUtils.c
21774 - Move the IP address stuff to NetworkManagerDevice.c
21776 * dispatcher-daemon/NetworkManagerDispatcher.c
21777 - Add device IPv4 address change notification stuff
21779 2004-07-05 Dan Williams <dcbw@redhat.com>
21781 * dispatcher-daemon/NetworkManagerDispatcher.c
21782 - A bit more descriptive state message
21783 - Don't segfault when reading directory
21785 * src/NetworkManager.h
21786 - Remove NMData desired_ap member, its now
21787 per-device rather than global
21789 * src/NetworkManager.c
21790 - Remove references to desired_ap
21791 - Move the allowed AP list refresh stuff into a thread
21793 * src/NetworkManagerDevice.c
21794 src/NetworkManagerDevice.h
21795 - Each wireless device now has a "best ap"
21796 - Make device activate/deactivate functions per-device
21797 - Make wireless scanning per-device
21798 - Add IPv4 address discover functions, stub IPv6 ones
21799 - Move ethernet address validation functions to NetworkManagerUtils.c
21800 - Add wireless access point accessor function
21801 - Get/Set functions for "best ap"
21803 * src/NetworkManagerPolicy.c
21804 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21805 - Deal with per-device "best ap" rather than data->desired_apa
21806 - Implement allowed access point worker thread
21807 - Add nm_policy_essid_is_allowed() function
21809 * src/NetworkManagerUtils.c
21810 src/NetworkManagerUtils.h
21811 - Add nm_ethernet_address_is_valid() function
21812 - Add IPv4/IPv6 address get functions
21814 * src/NetworkManagerWireless.c
21815 src/NetworkManagerWireless.h
21816 - Move scanning stuff into NetworkManagerDevice.c, per-device
21818 2004-06-29 Dan Williams <dcbw@redhat.com>
21820 * dispatcher-daemon/NetworkManagerDispatcher.c
21821 - Implement script callout functionality
21823 2004-06-24 Dan Williams <dcbw@redhat.com>
21827 - Flush device routes and ip addresses when added to the device list
21829 * NetworkManagerDbus.c
21831 - Add missing returns in the two signal functions
21833 * NetworkManagerPolicy.c
21834 - Spacing and variable cleanups
21836 2004-06-24 Dan Williams <dcbw@redhat.com>
21841 dispatcher-daemon/Makefile.am
21842 dispatcher-daemon/Makefile.in
21843 dispatcher-daemon/NetworkManagerDispatcher.c
21844 - Add a daemon that receives signals from NetworkManager
21845 and will (eventually) call scripts in /etc/somewhere
21846 when devices go up or down.
21850 - Flush device routes and ip addresses when added to the device list
21852 * NetworkManagerDbus.c
21854 - Add missing returns in the two signal functions
21856 * NetworkManagerPolicy.c
21857 - Spacing and variable cleanups
21858 - Rename nm_policy_switch_interface->nm_policy_switch_device
21859 - nm_policy_switch_device():
21860 Use kill (pid) instead of system ("kill <pid>")
21861 - nm_state_modification_monitor():
21862 Add wireless essid to output of debug statements
21863 Correct typo in device compare to switch or not (should be !=)
21864 Don't sleep after sending "no longer active" signal, was useless
21866 2004-06-24 Dan Williams <dcbw@redhat.com>