1 2008-11-05 Dan Williams <dcbw@redhat.com>
3 * src/dhcp-manager/nm-dhcp-dhclient.c
4 - (get_leasefile_for_iface): move lease files back to where dhclient
7 2008-11-05 Michael Biebl <mbiebl@gmail.com>
9 * initscripts/Debian/NetworkManager
10 - Update to what Debian is actually using
12 2008-11-05 Tambet Ingo <tambet@gmail.com>
14 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
16 2008-11-03 Dan Williams <dcbw@redhat.com>
18 * system-settings/src/main.c
19 - (add_default_dhcp_connection): make the fallback connection read-only
21 * libnm-glib/nm-settings.c
22 libnm-glib/nm-settings.h
24 - (impl_exported_connection_update, impl_exported_connection_delete):
25 return an error if the connection is read-only
27 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
28 system-settings/plugins/keyfile/nm-keyfile-connection.c
29 system-settings/src/main.c
30 - Use more detailed errors
32 * system-settings/src/nm-system-config-error.c
33 system-settings/src/nm-system-config-error.h
34 system-settings/src/dbus-settings.c
35 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
36 NM_SETTINGS_ERROR_INVALID_CONNECTION
38 2008-11-02 Dan Williams <dcbw@redhat.com>
40 * Add license headers to everything in src/
42 2008-11-02 Dan Williams <dcbw@redhat.com>
46 2008-11-02 Dan Williams <dcbw@redhat.com>
48 * src/NetworkManagerAP.c
49 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
50 setting as unencrypted; fixes a bug where NM wouldn't ask for new
51 secrets when connecting to an encrypted network failed
53 2008-10-30 Dan Williams <dcbw@redhat.com>
55 * libnm-util/libnm-util.ver
56 libnm-util/nm-setting-ip6-config.c
57 libnm-util/nm-setting-ip6-config.h
58 libnm-util/Makefile.am
59 - Make properties private and add accessor functions
60 - Hide IPv6 stuff from public API, it's incomplete and completely unused
62 * libnm-util/nm-connection.c
65 - Ignore IPv6 stuff for now
67 2008-10-30 Dan Williams <dcbw@redhat.com>
69 * libnm-util/libnm-util.ver
70 libnm-util/nm-setting-8021x.c
71 libnm-util/nm-setting-8021x.h
72 - Make properties private and add accessor functions
74 * src/supplicant-manager/nm-supplicant-config.c
75 system-settings/plugins/ifcfg-suse/parser.c
76 - Use 802.1x setting accessors
78 2008-10-30 Dan Williams <dcbw@redhat.com>
80 * libnm-util/libnm-util.ver
81 libnm-util/nm-setting-wireless-security.c
82 libnm-util/nm-setting-wireless-security.h
83 - Make properties private and add accessor functions
85 * libnm-util/nm-setting-wireless.c
86 src/NetworkManagerAP.c
88 src/supplicant-manager/nm-supplicant-config.c
89 system-settings/plugins/ifcfg-fedora/reader.c
90 system-settings/plugins/ifcfg-suse/parser.c
91 - Use wireless security accessors
93 2008-10-30 Dan Williams <dcbw@redhat.com>
95 * src/nm-device-ethernet.c
98 src/ppp-manager/nm-ppp-manager.c
99 - Harmonize return checking of ioctl
101 * system-settings/plugins/ifcfg-fedora/reader.c
102 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
104 2008-10-30 Dan Williams <dcbw@redhat.com>
106 * src/ppp-manager/nm-ppp-manager.c
107 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
108 ppp_generic module to create it (bgo #533064)
110 2008-10-30 Dan Williams <dcbw@redhat.com>
112 Patch from Alexander Sack <asac@canonical.com>
114 Fix "ppp connections don't honour ip4 connection settings"
116 * src/nm-device-ethernet.c
117 - (real_act_stage4_get_ip4_config): merge ip4config settings
118 with results from ppp manager
120 * src/nm-serial-device.c
121 - (real_act_stage4_get_ip4_config): merge ip4config settings
122 with results from ppp manager
124 2008-10-29 Dan Williams <dcbw@redhat.com>
126 * libnm-util/libnm-util.ver
127 libnm-util/nm-setting-ip4-config.c
128 libnm-util/nm-setting-ip4-config.h
129 - Make properties private and add accessor functions
131 * callouts/nm-dispatcher-action.c
132 libnm-glib/libnm-glib-test.c
133 libnm-util/nm-utils.c
134 src/NetworkManagerPolicy.c
135 src/NetworkManagerSystem.c
136 src/NetworkManagerUtils.c
137 src/dhcp-manager/nm-dhcp-dhclient.c
138 src/dhcp-manager/nm-dhcp-manager.c
139 src/dnsmasq-manager/nm-dnsmasq-manager.c
142 src/nm-hso-gsm-device.c
145 src/ppp-manager/nm-ppp-manager.c
146 src/vpn-manager/nm-vpn-connection.c
147 system-settings/plugins/ifcfg-fedora/reader.c
148 system-settings/plugins/ifcfg-suse/parser.c
149 system-settings/plugins/ifcfg-suse/plugin.c
150 system-settings/plugins/ifupdown/parser.c
152 vpn-daemons/vpnc/properties/nm-vpnc.c
153 - Use IP4 accessor functions
155 2008-10-29 Tambet Ingo <tambet@gmail.com>
157 Half of it by Dan Williams <dcbw@redhat.com>
159 * libnm-util/libnm-util.ver
160 libnm-util/nm-setting-vpn.c
161 libnm-util/nm-setting-vpn.h
162 - Make properties private and add accessor functions.
164 * src/vpn-manager/nm-vpn-connection.c
165 src/vpn-manager/nm-vpn-manager.c
166 system-settings/plugins/keyfile/reader.c
167 vpn-daemons/openvpn/properties/auth-helpers.c
168 vpn-daemons/openvpn/properties/import-export.c
169 vpn-daemons/openvpn/properties/nm-openvpn.c
170 vpn-daemons/openvpn/src/nm-openvpn-service.c
171 vpn-daemons/pptp/auth-dialog/main.c
172 vpn-daemons/pptp/properties/advanced-dialog.c
173 vpn-daemons/pptp/properties/nm-pptp.c
174 vpn-daemons/pptp/src/nm-pptp-service.c
175 vpn-daemons/vpnc/properties/nm-vpnc.c
176 vpn-daemons/vpnc/src/nm-vpnc-service.c
177 - Use VPN setting accessors.
179 2008-10-28 Dan Williams <dcbw@redhat.com>
181 Patch from Tambet Ingo <tambet@gmail.com>
183 * libnm-util/libnm-util.ver
184 libnm-util/nm-setting-wireless.c
185 libnm-util/nm-setting-wireless.h
186 - Make properties private and add accessor functions
188 * src/NetworkManagerAP.c
191 src/supplicant-manager/nm-supplicant-config.c
192 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
193 system-settings/plugins/ifcfg-fedora/reader.c
194 system-settings/plugins/ifcfg-suse/parser.c
195 system-settings/plugins/ifupdown/parser.c
196 - Use wireless setting accessors
198 2008-10-27 Dan Williams <dcbw@redhat.com>
200 Patch from Tambet Ingo <tambet@gmail.com>
202 * libnm-util/libnm-util.ver
203 libnm-util/nm-setting-ppp.c
204 libnm-util/nm-setting-ppp.h
205 - Make properties private and add accessor functions
207 * src/ppp-manager/nm-ppp-manager.c
208 - Use ppp setting accessors
210 2008-10-27 Dan Williams <dcbw@redhat.com>
212 Patch from Tambet Ingo <tambet@gmail.com>
214 * libnm-util/nm-setting.h
215 libnm-util/nm-setting.c
216 - Make properties private and add accessor functions
218 * libnm-util/nm-connection.c
219 libnm-util/nm-setting-8021x.c
220 libnm-util/nm-setting-cdma.c
221 libnm-util/nm-setting-connection.c
222 libnm-util/nm-setting-gsm.c
223 libnm-util/nm-setting-ip4-config.c
224 libnm-util/nm-setting-ip6-config.c
225 libnm-util/nm-setting-ppp.c
226 libnm-util/nm-setting-pppoe.c
227 libnm-util/nm-setting-serial.c
228 libnm-util/nm-setting-template.c
229 libnm-util/nm-setting-vpn.c
230 libnm-util/nm-setting-wired.c
231 libnm-util/nm-setting-wireless-security.c
232 libnm-util/nm-setting-wireless.c
233 system-settings/plugins/keyfile/reader.c
234 system-settings/plugins/keyfile/writer.c
235 - Use setting accessors
237 2008-10-27 Dan Williams <dcbw@redhat.com>
239 * libnm-util/libnm-util.ver
240 libnm-util/nm-setting-connection.c
241 libnm-util/nm-setting-connection.h
242 - Add a 'read-only' property that indicates the connection cannot be
245 * system-settings/plugins/ifcfg-fedora/reader.c
246 system-settings/plugins/ifcfg-suse/parser.c
247 system-settings/plugins/ifupdown/parser.c
248 - These plugins are read-only at the moment
250 * system-settings/plugins/keyfile/reader.c
251 system-settings/plugins/keyfile/writer.c
252 - Read-only shouldn't get saved out to files or read in from them
254 2008-10-27 Tambet Ingo <tambet@gmail.com>
256 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
257 correct speed reporting for fast devices (kernel >= 2.6.27).
259 2008-10-26 Dan Williams <dcbw@redhat.com>
261 Attempt to compensate for modems that don't enable full AT parsing before
262 the PIN has been entered.
264 * src/nm-gsm-device.c
265 - (init_modem): accept different init strings
266 - (init_done): try different init strings on failure
267 - (check_pin_done): on PIN success, do full modem init
269 2008-10-26 Dan Williams <dcbw@redhat.com>
271 Patch from Tambet Ingo <tambet@gmail.com>
273 * libnm-util/libnm-util.ver
274 libnm-util/nm-setting-connection.c
275 libnm-util/nm-setting-connection.h
276 - Make properties private and add accessor functions
278 * src/NetworkManagerPolicy.c
280 src/nm-device-ethernet.c
281 src/nm-device-interface.c
285 src/ppp-manager/nm-ppp-manager.c
286 src/vpn-manager/nm-vpn-connection.c
287 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
288 system-settings/plugins/ifcfg-fedora/plugin.c
289 system-settings/plugins/ifcfg-fedora/reader.c
290 system-settings/plugins/ifcfg-suse/parser.c
291 system-settings/plugins/ifupdown/parser.c
292 system-settings/plugins/keyfile/nm-keyfile-connection.c
293 system-settings/plugins/keyfile/plugin.c
294 system-settings/plugins/keyfile/writer.c
295 system-settings/src/main.c
296 - Use those accessors
298 2008-10-26 Dan Williams <dcbw@redhat.com>
300 Patch from Tambet Ingo <tambet@gmail.com>
302 * libnm-util/libnm-util.ver
303 libnm-util/nm-setting-gsm.c
304 libnm-util/nm-setting-gsm.h
305 - Make properties private and add accessor functions
307 * src/nm-gsm-device.c
308 src/nm-hso-gsm-device.c
309 src/ppp-manager/nm-ppp-manager.c
310 - Use those accessors
312 2008-10-26 Dan Williams <dcbw@redhat.com>
314 Patch from Tambet Ingo <tambet@gmail.com>
316 * libnm-util/libnm-util.ver
317 libnm-util/nm-setting-cdma.c
318 libnm-util/nm-setting-cdma.h
319 - Make properties private and add accessor functions
321 * src/nm-cdma-device.c
322 src/ppp-manager/nm-ppp-manager.c
323 - Use those accessors
325 2008-10-26 Dan Williams <dcbw@redhat.com>
327 Patch from Tambet Ingo <tambet@gmail.com>
329 * libnm-util/libnm-util.ver
330 libnm-util/nm-setting-pppoe.c
331 libnm-util/nm-setting-pppoe.h
332 - Make properties private and add accessor functions
334 * src/nm-device-ethernet.c
335 src/ppp-manager/nm-ppp-manager.c
336 - Use those accessors
338 2008-10-26 Dan Williams <dcbw@redhat.com>
340 Patch from Tambet Ingo <tambet@gmail.com>
342 * libnm-util/libnm-util.ver
343 libnm-util/nm-setting-wired.c
344 libnm-util/nm-setting-wired.h
345 - Make properties private and add accessor functions
347 * src/nm-device-ethernet.c
348 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
349 system-settings/plugins/ifcfg-suse/parser.c
350 system-settings/src/main.c
351 - Use those accessors
353 2008-10-26 Dan Williams <dcbw@redhat.com>
355 Patch from Tambet Ingo <tambet@gmail.com>
357 * libnm-util/libnm-util.ver
358 libnm-util/nm-setting-serial.c
359 libnm-util/nm-setting-serial.h
360 src/nm-serial-device.c
361 - Make properties private and use accessors instead
363 2008-10-26 Dan Williams <dcbw@redhat.com>
365 * src/supplicant-manager/nm-supplicant-interface.c
366 src/supplicant-manager/nm-supplicant-interface.h
367 src/supplicant-manager/nm-supplicant-manager.c
368 src/supplicant-manager/nm-supplicant-manager.h
369 - Add state-to-string conversion functions
371 * src/nm-device-wifi.c
372 src/nm-device-ethernet.c
373 - Normalize state info logging and use strings instead of numbers
375 2008-10-26 Dan Williams <dcbw@redhat.com>
377 * src/NetworkManagerPolicy.c
378 - (update_routing_and_dns): ignore host routes when determining whether
379 a VPN connection should own the default route (bgo #552594)
381 2008-10-24 Dan Williams <dcbw@redhat.com>
383 * src/nm-gsm-device.c
384 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
386 2008-10-23 Dan Williams <dcbw@redhat.com>
388 * src/ppp-manager/nm-ppp-manager.c
389 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
390 add really important stuff to the command line to ensure that NM
391 overrides /etc/ppp/options (bgo #556781)
393 2008-10-22 Dan Williams <dcbw@redhat.com>
395 * src/NetworkManagerSystem.c
397 - Use the device's IP interface where appropriate (Per Hallsmark)
399 2008-10-22 Dan Williams <dcbw@redhat.com>
401 * src/nm-gsm-device.c
402 - (schedule_automatic_registration_again): use a short timeout here
403 instead of an idle handler to avoid using too much CPU polling for
404 something we should be waiting a bit for anyway
406 2008-10-22 Dan Williams <dcbw@redhat.com>
408 * include/NetworkManager.h
409 introspection/nm-device.xml
410 - Add device state change reason for carrier changes
412 * src/nm-device-ethernet.c
413 - (set_carrier): use the carrier change reason when changing device
414 state in response to carrier changes
416 2008-10-21 Dan Williams <dcbw@redhat.com>
418 * src/NetworkManagerPolicy.c
419 - (update_etc_hosts): don't leak errors, and ensure that
420 g_file_set_contents() gets a valid error placeholder (rh #461933)
422 2008-10-21 Dan Williams <dcbw@redhat.com>
425 - (free_get_settings_info): don't use the DBusGProxy which could be
426 disposed of by the time the function is called
427 - (internal_new_connection_cb): save connection scope
428 - (connection_get_settings_cb): don't replace a connection unless it's
429 actually different from the existing one; fixes an issue where
430 killing the settings service wouldn't deactivate an active connection
431 provided by that settings service, because it was using a connection
432 that had already been replaced in the system or user hash
434 2008-10-21 Dan Williams <dcbw@redhat.com>
436 * src/NetworkManager.c
437 - (main): keep the DHCP manager around since it's a singleton; fixes
438 a use-after-free exposed by r4196 since the DHCP manager singleton
439 variable isn't cleared when the DHCP manager object is finalized
441 2008-10-20 Dan Williams <dcbw@redhat.com>
443 * libnm-util/nm-setting-wireless-security.c
444 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
446 2008-10-20 Dan Williams <dcbw@redhat.com>
448 * src/supplicant-manager/nm-supplicant-config.c
449 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
451 2008-10-20 Dan Williams <dcbw@redhat.com>
453 * src/dhcp-manager/nm-dhcp-manager.c
454 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
455 manager object already refs it once
456 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
457 also get cleaned up by nm_dhcp_device_destroy() to prevent
460 2008-10-20 Dan Williams <dcbw@redhat.com>
463 - (initial_get_connections): use private dbus manager, don't keep
464 ref-ing the singleton. Fixes mismatched refcounts of the dbus
467 2008-10-18 Dan Williams <dcbw@redhat.com>
469 * libnm-glib/nm-settings.c
470 libnm-glib/nm-settings.h
471 - Rename the "get_secrets" virtual function "service_get_secrets" to
472 clarify when it's used; NMExportedConnetion is a base-class for both
473 the client and service side, which is sort of confusing, and
474 get_secrets only makes sense on the service side.
476 * libnm-glib/nm-dbus-connection.c
477 - (get_secrets): remove, unused, and clients need to do extra work to
478 get secrets anyway since the call can block on the remote side
480 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
481 system-settings/plugins/keyfile/nm-keyfile-connection.c
482 - Fix up for get_secrets -> service_get_secrets
484 2008-10-16 Dan Williams <dcbw@redhat.com>
486 * src/nm-device-wifi.c
487 - (constructor): correctly determine encryption capabilities
489 2008-10-15 Dan Williams <dcbw@redhat.com>
491 * src/nm-device-wifi.c
492 - (wireless_qual_to_percent): fix quality calculation in a fallback case
495 2008-10-15 Dan Williams <dcbw@redhat.com>
497 * src/NetworkManagerSystem.c
498 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
499 if the ip4_dest is in a smaller subnet contained within a subnet
500 the machine is currently on, the destination is in the same subnet
501 - (nm_system_device_set_ip4_route): move subnet checks to callers
502 - (add_vpn_gateway_route): check if the VPN gateway is in the same
503 subnet as the parent device, and if so, don't add the direct
504 host route via the parent device's gateway (bgo #481620)
505 - (nm_system_apply_ip4_config): check whether the route to be added
506 is contained within a subnet the device is already on
508 2008-10-11 Dan Williams <dcbw@redhat.com>
510 * include/NetworkManager.h
511 introspection/nm-device.xml
512 include/NetworkManagerVPN.h
513 - Add a few more state reasons for the device deactivated state
515 * src/nm-device-interface.c
516 src/nm-device-interface.h
517 - (nm_device_interface_deactivate): add a 'reason' argument
521 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
522 - (nm_device_state_changed): pass the state change reason to
523 nm_device_take_down()
524 - (nm_device_set_managed): take a 'reason' argument, and pass it along
525 to the state change function
529 - (remove_one_device, handle_unmanaged_devices, sync_devices,
530 impl_manager_sleep): pass a reason code to nm_device_set_managed()
531 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
532 something reasonable along to VPN deactivation
534 * src/vpn-manager/nm-vpn-manager.c
535 src/vpn-manager/nm-vpn-manager.h
536 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
537 pass that along to nm_vpn_connection_disconnect()
539 2008-10-11 Dan Williams <dcbw@redhat.com>
541 * src/nm-device-wifi.c
542 - (can_scan): remove old madwifi hack for not scanning while connected
544 2008-10-11 Dan Williams <dcbw@redhat.com>
546 Add support for VPN subnet gateways (bgo #549196)
548 * include/NetworkManager.h
549 - Add key for internal VPN subnet gateway
551 * src/vpn-manager/nm-vpn-connection.c
552 - (ip_address_to_string): return a const from a static buffer so we
553 don't leak a lot of strings
554 - (print_vpn_config): print internal VPN gateway as well
555 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
557 - (nm_vpn_connection_get_ip4_internal_gateway): new function
559 * src/NetworkManagerSystem.c
560 src/NetworkManagerSystem.h
561 - (nm_system_device_replace_default_ip4_route): split into two, one for
562 VPN connections and one for normal devices
563 - (replace_default_ip4_route): break out route stuff into its own function
564 - (nm_system_replace_default_ip4_route_vpn,
565 nm_system_replace_default_ip4_route): simplify by having two cases,
566 one for VPNs and one for normal devices
568 * src/NetworkManagerPolicy.c
569 - (update_routing_and_dns): simplify, use split default route replacement
572 2008-10-10 Dan Williams <dcbw@redhat.com>
574 Rework default route handling to consolidate decisions in the policy,
575 and to take active VPN connections into account when changing the default
578 * src/NetworkManager.c
579 - (main): pass the vpn_manager to the policy so it knows about active
580 VPN connections; clean up the named manager which wasn't done before
582 * src/NetworkManagerPolicy.c
583 src/NetworkManagerPolicy.h
584 - (nm_policy_new): get a clue about the vpn_manager
585 - (update_default_route): remove, fold into update_routing_and_dns()
586 - (update_routing_and_dns): handle active VPN connections too; an
587 active VPN connection becomes the default route if it does not have
588 server-specified or user-specified custom routes. Otherwise, the
589 best active device gets the default route
590 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
591 nm_policy_destroy): track VPN connection activation and deactivation
592 and update the default route when appropriate
594 * src/NetworkManagerSystem.c
595 src/NetworkManagerSystem.h
596 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
597 in the VPN connection itself
598 - (nm_system_vpn_device_set_from_ip4_config,
599 nm_system_device_set_from_ip4_config): merge together to make
600 nm_system_apply_ip4_config()
601 - (add_vpn_gateway_route): add a route to the VPN's external gateway
602 via the parent device
603 - (nm_system_apply_ip4_config): simplify
604 - (add_ip4_route_to_gateway): new function; add a direct route to the
606 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
607 route stuff out into add_ip4_route_to_gateway() for clarity
610 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
612 * src/vpn-manager/nm-vpn-connection.c
613 src/vpn-manager/nm-vpn-connection.h
614 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
615 nm_vpn_connection_get_parent_device): add
616 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
618 - (connection_state_changed): update the named manager now that
619 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
622 * src/vpn-manager/nm-vpn-manager.c
623 src/vpn-manager/nm-vpn-manager.h
624 - Add a 'connection-activated' signal
625 - (nm_vpn_manager_get_active_connections): new function; mainly for the
626 policy to find out about active VPN connections
628 2008-10-10 Tambet Ingo <tambet@gmail.com>
630 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
631 a daemon to prevent NM logging spew on console on startup and shutdown (due
632 to dependency loop between NM and syslog).
634 2008-10-10 Alexander Sack <asac@ubuntu.com>
636 Implement managed mode. We bind devices configured in /etc/network/interfaces
637 to their connections by updating wired/wireless setting with the
638 mac address of the device.
640 * system-settings/plugins/ifupdown/plugin.c
641 - (get_net_address_for_udi): implement function to retrieve MAC
642 address of udi from hal in GByteArray format
643 - (bind_device_to_connection): bind mac address of device to
644 wired/wireless system connection
645 - (hal_device_added_cb): call bind_device_to_connection for
646 system connections with a matching interface.name
647 - (hal_device_added_cb): ensure that all code paths
648 properly free the "iface" string.
650 2008-10-10 Alexander Sack <asac@ubuntu.com>
652 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
653 mode of the ifupdown system config plugin.
655 * system-settings/plugins/ifupdown/plugin.c
656 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
657 private unmanage_well_known state field accordingly
659 2008-10-10 Alexander Sack <asac@ubuntu.com>
661 Implement unmanaged mode that will prevent all devices in the
662 well_known_udis set from being touched by NetworkManager
664 * system-settings/plugins/ifupdown/plugin.c
665 - (typedef struct SCPluginIfupdownPrivate): add gboolean
666 unmanage_well_known field used to turn on/off unmanaged
668 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
669 signal when well_known_udis get added/removed
670 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
671 if we are in unmanaged mode
673 2008-10-10 Alexander Sack <asac@ubuntu.com>
675 Add support to track network devices that have a configuration
676 with a matching interface.name in /etc/network/interfaces
678 * system-settings/plugins/ifupdown/plugin.c
679 - (typedef struct SCPluginIfupdownPrivate): add hash table
680 to track |well_known_udis|
681 - (get_iface_for_udi): helper function to get interface.name
683 - (hal_device_added_cb, hal_device_removed_cb): callbacks
684 that add and remove devices to and from the well_known_udis
685 set depending on whether their |interface.name| matches
686 any interface definition in /etc/network/interfaces
687 - (SCPluginIfupdown_init): connect callbacks from above with
688 hal_mgr and setup well_known_udis hashtable
689 - (GObject__dispose): destroy well_known_udis hashtable
690 - (hal_device_added_cb2): implement wrapper callback with GFunc
691 signature. user_data is supposed to be a triple (hal_mgr,
693 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
694 startup and call hal_device_added_cb2
696 2008-10-10 Alexander Sack <asac@ubuntu.com>
698 Remove implementation for not used NMSystemConfigInterface callback functions
701 * system-settings/plugins/ifupdown/plugin.c
702 - (SCPluginIfupdown_unmanaged_devices_changed): removed
703 - (SCPluginIfupdown_connection_added): removed
705 2008-10-08 Dan Williams <dcbw@redhat.com>
707 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
709 * src/NetworkManagerUtils.c
710 - (nm_utils_call_dispatcher): add a 'hostname' action
712 * src/NetworkManagerPolicy.c
713 - (set_system_hostname): dispatch hostname changes
715 * callouts/nm-dispatcher-action.c
716 - (nm_dispatcher_action): handle 'hostname' actions
718 2008-10-08 Dan Williams <dcbw@redhat.com>
720 * src/NetworkManagerSystem.c
721 - (find_route): ref the route so it doesn't get destroyed when the cache
723 - (nm_system_device_set_priority): unref the route here after it's done
726 2008-10-08 Dan Williams <dcbw@redhat.com>
728 * src/nm-serial-device.c
729 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
731 2008-10-08 Tambet Ingo <tambet@gmail.com>
733 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
734 connection with new settings before saving it.
736 2008-10-06 Dan Williams <dcbw@redhat.com>
738 * src/nm-ip4-config.c
740 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
742 * src/nm-device-interface.c
743 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
744 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
745 by using '/' for the object path
748 - (src/nm-device.c): marshal missing/unexported ip4-config through
749 dbus as '/' since dbus-glib can't handle NULL objects nor can
750 dbus handle NULL object paths
752 2008-10-03 Alexander Sack <asac@ubuntu.com>
754 Implement system hostname support for debian/ubuntu
756 * system-settings/plugins/ifupdown/plugin.c
757 - (GObject__get_property): extend announced capabilities; add
758 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
759 - (GObject__set_property,write_system_hostname): implement
760 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
761 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
762 update_system_hostname, get_hostname):
763 implement hostname property that watches and
766 2008-10-03 Alexander Sack <asac@ubuntu.com>
768 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
769 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
770 system-settings/plugins/ifcfg-fedora/Makefile.am
771 system-settings/src/nm-inotify-helper.c
772 system-settings/src/nm-inotify-helper.h
774 - Move ifcfg-fedora inotify helpers to the system settings service so
775 they are available to all plugins
777 2008-10-03 Alexander Sack <asac@ubuntu.com>
779 Implement support for wep-tx-keyidx in ifupdown system
782 * system-settings/plugins/ifupdown/parser.c
783 - (update_wireless_security_setting_from_if_block): introduce
784 free_type_mapping func table; rename a few local
785 variables to improve readability; add wpa security mapping
786 for wep-tx-keyidx property
787 - (string_to_gpointerint): new function used for the auto_type_mapping
788 of new wep-tx-keyidx property
789 - (slist_free_all): free func used for mapped slist types
791 2008-10-03 Alexander Sack <asac@ubuntu.com>
793 * system-settings/src/main.c:
794 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
795 always used as the hash key; fixes a crash when removing wired
798 2008-10-02 Dan Williams <dcbw@redhat.com>
800 * src/nm-gsm-device.c
801 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
802 pass the required GSM secret along via user_data rather than keeping
803 it around in the private data where it sometimes didn't get cleared
804 - (real_get_ppp_name): implement using the GSM username
806 2008-10-02 Dan Williams <dcbw@redhat.com>
808 * src/ppp-manager/nm-ppp-manager.c
809 src/ppp-manager/nm-ppp-manager.h
810 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
811 the settings daemon for completely new ones
812 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
813 local PPP peer name; allow PPP debuging by launching NM with
814 the environment variable NM_PPP_DEBUG defined
815 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
816 create_pppd_cmd_line()
818 * src/nm-serial-device.c
819 src/nm-serial-device.h
820 - New 'get_ppp_name' function for subclasses to implement to return the
822 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
823 and pass that name to the PPP manager
825 * src/nm-device-ethernet.c
826 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
829 * src/nm-cdma-device.c
830 - (real_get_ppp_name): implement using the CDMA username
832 2008-10-02 Dan Williams <dcbw@redhat.com>
834 Patch from Alexander Sack <asac ubuntu com>
836 * system-settings/plugins/ifupdown/parser.c
837 - Implement more graceful ip4 config parsing for cases where
838 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
839 by using default values
841 2008-10-02 Dan Williams <dcbw@redhat.com>
843 * src/NetworkManagerPolicy.c
844 - (device_state_changed): when marking a connection invalid, clear its
845 secrets too so that fresh secrets get requested the next time
847 2008-10-01 Dan Williams <dcbw@redhat.com>
849 * system-settings/src/dbus-settings.c
850 - (nm_sysconfig_settings_init): cache system hostname on startup as
851 a fallback if no plugin provides a hostname
852 - (get_property): fall back to cached hostname if no plugin provides
855 2008-10-01 Dan Williams <dcbw@redhat.com>
857 Fix setting value comparison issue that caused some settings to look the
858 same when they were really different (rh #464417)
860 * libnm-util/nm-param-spec-specialized.c
861 - (type_is_fixed_size): return fundamental size of the fixed type too
862 - (nm_gvalues_compare_collection): use the fundamental fixed type size
863 in the comparison so that the _entire_ fixed type collection gets
864 compared rather than just the first 'len1' bytes
866 2008-09-30 Dan Williams <dcbw@redhat.com>
868 * src/NetworkManagerPolicy.c
869 - (lookup_thread_worker): don't store the idle handler ID becuase the
870 idle handler could have already run and freed the LookupThread
873 2008-09-30 Tambet Ingo <tambet@gmail.com>
875 * src/nm-device.c (nm_device_get_priority): Implement.
876 (nm_device_set_ip4_config): Send the device priority to system ip4
879 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
880 Add priority argument and if it's >= 0, set the priority of the network
881 route added automatically by netlink (or kernel?).
882 (nm_system_device_set_priority): Implement.
884 * src/NetworkManagerPolicy.c (get_best_device): Use
885 nm_device_get_priority() instead of home-grown version. Revert the
886 meaning, best priority is the lowest one.
888 2008-09-29 Dan Williams <dcbw@redhat.com>
890 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
891 when it returns EAGAIN (rh #362421)
893 * src/nm-device-wifi.c
894 - (wireless_get_range): try GIWRANGE a few times until the card responds
895 - (real_get_generic_capabilities, constructor): use wireless_get_range()
897 2008-09-28 Dan Williams <dcbw@redhat.com>
899 * src/nm-serial-device.c
900 src/nm-serial-device.h
901 - (nm_serial_device_close): stop PPP manager here so that PPP gets
902 cleaned at the right times when subclasses close the serial port too
903 - (nm_serial_device_send_command): use a default send delay; don't
904 spin forever on EAGAIN
905 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
906 remove, no longer used
907 - (find_response): return the matched response if any
908 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
910 - (wait_for_reply_done): pass the matched response to the callback
911 - (wait_for_reply_got_data): save the matched response; simplify timeout
913 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
914 const since they never get modified
915 - (cleanup_device): split out common cleanup stuff to a new function
916 - (real_deactivate_quickly, finalize): use cleanup_device()
918 * src/nm-gsm-device.c
919 - (modem_get_reply): remove, unused
920 - (set_apn): give the card a bit more time to respond
921 - (manual_registration_again, schedule_manual_registration_again,
922 manual_registration_response, manual_registration): handle manual
923 registration timeouts better by retrying registration a few times
924 because cards are a bit slow after CFUN=1
925 - (automatic_registration_get_network, get_network_response): use
926 modem_wait_for_reply() because it interacts better with the serial
927 buffer and does more intelligent matching; need to wait for 'OK'
928 rather than just matching terminators
929 - (schedule_automatic_registration_again,
930 automatic_registration_response, automatic_registration): retry
931 registration a few times on timeout or "searching" because cards
932 take a bit to find a network after being powered up with CFUN=1
933 - (power_up_response, power_up, init_full_done, enter_pin,
934 check_pin_done): power up the card with CFUN=1 before trying to
935 register with the network
936 - (init_modem_full, init_modem): use more standard 3G init strings
938 * src/nm-hso-gsm-device.c
939 - (modem_get_reply): remove, unused
940 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
941 modem_wait_for_reply() to match actual responses instead of single
942 termination characters; it doesn't leave stuff in the serial buffer
943 that might confuse later calls
944 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
945 to ensure that the call is really disconnected and not leave extra
946 stuff in the serial buffer
948 * src/nm-cdma-device.c
949 - (power_up_response, power_up, init_done): try Sierra-style modem
950 power up before attempting to connect
952 2008-09-27 Dan Williams <dcbw@redhat.com>
954 * libnm-util/nm-setting-gsm.c
955 - (verify): verify GSM network ID
957 2008-09-25 Dan Williams <dcbw@redhat.com>
959 * libnm-util/nm-setting-gsm.c
960 libnm-util/nm-setting-gsm.h
961 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
962 technology terms (bgo #551361)
964 2008-09-25 Dan Williams <dcbw@redhat.com>
966 Fix bgo #549401 (inspired by patch from Alexander Sack)
968 * src/nm-device-ethernet.c
969 - (finish_supplicant_task): clean up scheduled tasks and free memory
970 - (remove_supplicant_interface_error_handler): remove the supplicant
971 error idle callback too
972 - (supplicant_interface_release): rename from supplicant_interface_clean
973 to match nm-device-wifi.c; clean up supplicant interface-related
974 state tasks when the supplicant interface is disposed of
975 - (schedule_state_handler): add scheduled tasks to a list so they can
977 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
978 supplicant_iface_connection_state_cb_handler): use
979 finish_supplicant_task() to clean up each completed task
980 - (supplicant_iface_connection_error_cb_handler,
981 supplicant_connection_timeout_cb): clear source id when the task is
983 - (supplicant_iface_connection_error_cb): save scheduled task id for
985 - (nm_device_ethernet_dispose): clean up any pending supplicant state
988 * src/nm-device-wifi.c
989 - (finish_supplicant_task): clean up scheduled tasks and free memory
990 - (remove_supplicant_interface_error_handler): remove the supplicant
991 error idle callback too
992 - (supplicant_interface_release): clean up supplicant interface-related
993 state tasks when the supplicant interface is disposed of
994 - (schedule_state_handler): add scheduled tasks to a list so they can
996 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
997 supplicant_iface_connection_state_cb_handler): use
998 finish_supplicant_task() to clean up each completed task
999 - (supplicant_iface_connection_error_cb_handler): clear source id when
1000 the task is complete
1001 - (supplicant_iface_connection_error_cb): save scheduled task id for
1003 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1005 2008-09-24 Tambet Ingo <tambet@gmail.com>
1007 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1008 method and get/set hostname property.
1010 2008-09-24 Tambet Ingo <tambet@gmail.com>
1012 * src/supplicant-manager/nm-supplicant-interface.c
1013 (nm_supplicant_interface_disconnect): Don't increment the reference
1014 count when disconnecting. The problem is on shutdown, when the replies
1015 to these commands do not arrive before NM exits, resulting on never
1016 calling supplicant interface's dispose(), which removes the interface
1019 2008-09-24 Tambet Ingo <tambet@gmail.com>
1021 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1022 all the public function arguments.
1024 2008-09-22 Tambet Ingo <tambet@gmail.com>
1026 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1027 "Failure" signal from VPN plugins, store the failure reason, and
1028 use it when the state is changed to failure.
1030 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1033 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1034 reason to the end of the list to not break the API.
1035 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1036 so it can be shared by plugins and daemon.
1038 2008-09-18 Dan Williams <dcbw@redhat.com>
1040 Patch from Alexander Sack <asac@ubuntu.com>
1043 system-settings/plugins/Makefile.am
1044 system-settings/plugins/ifupdown/Makefile.am
1045 system-settings/plugins/ifupdown/interface_parser.c
1046 system-settings/plugins/ifupdown/interface_parser.h
1047 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1048 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1049 system-settings/plugins/ifupdown/parser.c
1050 system-settings/plugins/ifupdown/parser.h
1051 system-settings/plugins/ifupdown/plugin.c
1052 system-settings/plugins/ifupdown/plugin.h
1053 - Implement a Debian/Ubuntu legacy network configuration plugin
1056 2008-09-18 Dan Williams <dcbw@redhat.com>
1058 Implement support for honoring configured and automatic hostnames, and for
1059 setting the configured hostname.
1061 * introspection/nm-ip4-config.xml
1064 src/dhcp-manager/nm-dhcp-manager.c
1065 - Remove useless hostname property; it's not really part of the IPv4
1068 * introspection/nm-settings-system.xml
1069 libnm-glib/nm-dbus-settings-system.c
1070 libnm-glib/nm-dbus-settings-system.h
1071 - Add SetHostname() call to system settings D-Bus interface
1072 - Add Hostname property to system settings D-Bus interface
1073 - (nm_dbus_settings_system_save_hostname,
1074 nm_dbus_settings_system_get_hostname): implement
1078 - (nm_device_get_dhcp4_config): implement
1082 - Fetch and track system settings service hostname changes, and proxy
1083 the changes via a GObject property of the manager
1085 * system-settings/src/nm-system-config-interface.c
1086 system-settings/src/nm-system-config-interface.h
1087 - Replace nm_system_config_interface_supports_add() with a capabilities
1090 * system-settings/src/nm-system-config-error.c
1091 system-settings/src/nm-system-config-error.h
1092 - Add additional errors
1094 * system-settings/src/dbus-settings.c
1095 system-settings/src/dbus-settings.h
1096 - (get_property, nm_sysconfig_settings_class_init): add hostname
1097 property; first plugin returning a hostname wins
1098 - (impl_settings_add_connection): use plugin capabilities instead of
1099 nm_system_config_interface_supports_add()
1100 - (impl_settings_save_hostname): implement hostname saving
1102 * src/NetworkManagerPolicy.c
1103 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1104 lookup_thread_die): implement an asynchronous hostname lookup thread
1105 which given an IPv4 address tries to look up the hostname for that
1106 address with reverse DNS
1107 - (get_best_device): split out best device code from
1108 update_routing_and_dns()
1109 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1110 to preserve the 127.0.0.1 reverse mapping that so many things require
1111 - (set_system_hostname): set a given hostname
1112 - (update_system_hostname): implement hostname policy; a configured
1113 hostname (from the system settings service) is used if available,
1114 otherwise an automatically determined hostname from DHCP, VPN, etc.
1115 If there was no automatically determined hostname, reverse DNS of
1116 the best device's IP address will be used, and as a last resort the
1117 hostname 'localhost.localdomain' is set.
1118 - (update_routing_and_dns): use get_best_device(); update the system
1119 hostname when the network config changes
1120 - (hostname_changed): update system hostname if the system settings
1121 service signals a hostname change
1122 - (nm_policy_new): list for system settings service hostname changes
1123 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1126 * system-settings/plugins/keyfile/plugin.c
1127 system-settings/plugins/ifcfg-suse/plugin.c
1128 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1129 capabilities properties
1131 * system-settings/plugins/ifcfg-fedora/shvar.c
1132 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1133 writes out /etc/sysconfig/network now
1135 * system-settings/plugins/ifcfg-fedora/plugin.c
1136 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1137 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1138 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1139 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1140 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1141 hostname get/set and capabilities get
1143 2008-09-18 Dan Williams <dcbw@redhat.com>
1145 * libnm-util/nm-setting-wireless.c
1146 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1147 group ciphers if the wireless-security setting explicitly specified
1148 them, effectively making the default be "all ciphers" (idea from
1151 2008-09-15 Dan Williams <dcbw@redhat.com>
1153 Patch from Alexander Sack <asac@ubuntu.com>
1155 * src/named-manager/nm-named-manager.c
1156 - (dispatch_resolvconf): respect resolvconf exit code
1158 2008-09-12 Tambet Ingo <tambet@gmail.com>
1160 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1161 again. Add some debugging.
1163 2008-09-11 Dan Williams <dcbw@redhat.com>
1165 * system-settings/plugins/keyfile/plugin.c
1166 - (update_connection_settings): update connection manually, since
1167 nm_exported_connection_update() does authentication
1168 - (dir_changed): update_connection_settings() doesn't need to return
1171 2008-09-09 Dan Williams <dcbw@redhat.com>
1173 * libnm-glib/nm-vpn-plugin-ui-interface.c
1174 libnm-glib/nm-vpn-plugin-ui-interface.h
1175 libnm-glib/libnm_glib_vpn.ver
1176 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1177 should clean up resources related to the connection (like keyring
1179 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1180 should save user-scope secrets (like to the keyring)
1182 2008-09-08 Dan Williams <dcbw@redhat.com>
1184 Patch from Alexander Sack <asac@ubuntu.com>
1186 * libnm-util/crypto_gnutls.c
1187 libnm-util/crypto_nss.c
1188 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1190 * libnm-util/nm-utils.c
1191 libnm-util/nm-utils.h
1192 libnm-util/libnm-util.ver
1193 - (nm_utils_init): initialize libnm-util
1194 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1196 * libnm-util/nm-setting-8021x.c
1197 - (nm_setting_802_1x_class_init): init libnm-util when needed
1199 2008-09-05 Dan Williams <dcbw@redhat.com>
1201 Patch from Roy Marples <roy@marples.name> and others
1204 src/named-manager/nm-named-manager.c
1205 - Add support for resolvconf; use --with-resolvconf at configure time
1208 2008-09-05 Dan Williams <dcbw@redhat.com>
1210 * libnm-util/crypto_nss.c
1211 libnm-util/crypto_gnutls.c
1213 - (crypto_init): return error when init fails
1215 2008-09-05 Dan Williams <dcbw@redhat.com>
1217 * libnm-glib/nm-device-wifi.c
1218 - (access_point_removed_proxy): clean up the active access point too
1219 just in case the active ap changed signal didn't come through yet
1220 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1222 2008-09-05 Dan Williams <dcbw@redhat.com>
1224 * libnm-glib/nm-client.c
1225 - (constructor): get initial state after we know whether NM is running
1228 2008-09-05 Dan Williams <dcbw@redhat.com>
1230 * libnm-glib/nm-ip4-config.c
1231 libnm-glib/nm-dhcp4-config.c
1232 - (finalize): clean up the DBusGProxy
1234 2008-09-04 Dan Williams <dcbw@redhat.com>
1236 * src/nm-ip4-config.c
1238 - (nm_ip4_config_new): don't export over D-Bus here
1239 - (nm_ip4_config_export): new function; export the config over D-Bus
1240 - (nm_ip4_config_is_exported): new function
1243 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1244 objects by balancing the IP4Config constructor; the device holds
1245 a reference to the IP4Config already
1246 - (nm_device_set_ip4_config): export the IP4Config when needed
1248 2008-09-04 Dan Williams <dcbw@redhat.com>
1250 * src/supplicant-manager/nm-supplicant-settings-verify.c
1251 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1253 2008-09-04 Dan Williams <dcbw@redhat.com>
1255 * libnm-util/nm-setting-vpn.c
1256 libnm-util/nm-setting-vpn.h
1257 - Split VPN secrets from VPN data so that settings services can actually
1258 figure out that they are secrets and store them accordingly
1260 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1261 system-settings/plugins/keyfile/reader.c
1262 system-settings/plugins/keyfile/reader.h
1263 system-settings/plugins/keyfile/writer.c
1264 - Store VPN secrets separately from VPN data so that they can be fetched
1266 - Implement the get_secrets() call so that (a) secrets don't leak out
1267 to unprivileged callers, and (b) secrets can be sent to privileged
1270 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1271 - Handle split VPN secrets
1273 2008-08-27 Dan Williams <dcbw@redhat.com>
1275 * system-settings/plugins/ifcfg-fedora/reader.c
1276 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1278 2008-08-27 Dan Williams <dcbw@redhat.com>
1280 Ensure zombie children get cleaned up. To get notifications when children
1281 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1282 that requires calling waitpid() yourself if you've removed the child watch
1283 handler before the process has actually died, which NM needs to do in a few
1284 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1285 cleans up after the child when required. Should fix problems trying to
1286 activate mobile broadband connections after a previous failure.
1288 * src/dhcp-manager/nm-dhcp-dhclient.c
1289 src/dhcp-manager/nm-dhcp-dhcpcd.c
1290 - Use G_SPAWN_DO_NOT_REAP_CHILD
1292 * src/dhcp-manager/nm-dhcp-manager.c
1293 - (nm_dhcp_device_destroy): ensure child is cleaned up
1294 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1295 block on child quitting, since the non-blocking functionality was
1298 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1299 - (dm_watch_cb): child is already reaped here
1300 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1303 - (aipd_cleanup): block until child is dead
1305 * src/named-manager/nm-named-manager.c
1306 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1307 event bothering to watch the child
1309 * src/ppp-manager/nm-ppp-manager.c
1310 - (ppp_watch_cb): child is already reaped here
1311 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1313 * src/vpn-manager/nm-vpn-service.c
1314 - (vpn_service_watch_cb): child is already reaped here
1315 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1316 status of the child is actually tracked
1317 - (ensure_killed, finalize): block until child is dead
1319 2008-08-26 Dan Williams <dcbw@redhat.com>
1321 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1322 - (update): Update filename of the connection if the connection id
1325 * system-settings/plugins/keyfile/plugin.c
1326 - (dir_changed): first pass at handling connection renames correctly
1328 * system-settings/plugins/keyfile/writer.c
1329 system-settings/plugins/keyfile/writer.h
1330 - (write_connection): replace '/' with '*' when writing out the filename
1331 from the connection id
1333 2008-08-26 Dan Williams <dcbw@redhat.com>
1335 Add connection UUIDs, since connection names can be changed, and since
1336 old-style connection IDs could change over the life of the connection. The
1337 UUID should be assigned at connection creation time, be stable for a given
1338 connection, and should be unique among all connections for a given settings
1342 libnm-util/Makefile.am
1345 * introspection/nm-exported-connection.xml
1346 - Remove "GetID" method
1348 * libnm-glib/nm-dbus-connection.c
1349 libnm-glib/nm-settings.c
1350 libnm-glib/nm-settings.h
1351 - Remove id-related stuff
1353 * libnm-util/nm-utils.c
1354 libnm-util/nm-utils.h
1355 libnm-util/libnm-util.ver
1356 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1357 utility functions to generate UUIDs
1359 * libnm-util/nm-setting-connection.c
1360 libnm-util/nm-setting-connection.h
1361 - Add 'uuid' member to the connection setting
1362 - (verify): require valid 'uuid' for a valid connection
1364 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1365 system-settings/plugins/ifcfg-fedora/reader.c
1366 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1367 system-settings/plugins/ifcfg-suse/parser.c
1368 system-settings/plugins/keyfile/nm-keyfile-connection.c
1369 system-settings/src/main.c
1370 - Remove id-related stuff
1371 - Give connections UUIDs where needed
1373 2008-08-25 Dan Williams <dcbw@redhat.com>
1375 * libnm-util/crypto_gnutls.c
1376 libnm-util/crypto_nss.c
1377 - (crypto_init, crypto_deinit): refcount init/deinit
1378 - (crypto_md5_hash): allow NULL salt
1380 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1382 * libnm-glib/Makefile.am
1383 libnm-util/Makefile.am
1384 libnm-glib/libnm_glib.ver
1385 libnm-glib/libnm_glib_vpn.ver
1386 libnm-util/libnm-util.ver
1387 - Use linker version scripts to control the list of exported
1388 symbols. List each exported symbol explicitely.
1389 * libnm-util/Makefile.am
1390 - Fix compilation of the test-crypto binary. The crypto
1391 functions are no longer part of the libnm-util API. Add
1392 crypto_*.c to test_crypto_SOURCES and link against the correct
1395 2008-08-19 Dan Williams <dcbw@redhat.com>
1399 - Don't build test/test-common
1400 - Remove unused stuff
1402 * test/nm-set-fallback
1403 test/nmtestdevices.c
1404 test/test-common/.cvsignore
1405 test/test-common/Makefile.am
1406 test/test-common/test-common.c
1407 test/test-common/test-common.h
1410 2008-08-18 Dan Williams <dcbw@redhat.com>
1412 * libnm-util/nm-utils.c
1413 libnm-util/nm-utils.h
1414 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1415 export anything that needs to be converted with this function
1417 * src/dhcp-manager/nm-dhcp-manager.c
1418 - (garray_to_string): convert a byte array to a UTF-8 string with
1419 minimal validation; the DHCP client sends it in ASCII anyway
1420 - (get_option, copy_option): use garray_to_string()
1422 2008-08-18 Dan Williams <dcbw@redhat.com>
1424 * include/NetworkManager.h
1425 introspection/nm-device.xml
1426 - Add a "missing firmware" device state reason
1428 * src/NetworkManagerSystem.c
1429 src/NetworkManagerSystem.h
1430 - (nm_system_device_set_up_down): add a no_firmware argument
1431 - (nm_system_device_set_up_down_with_iface): if the result of setting
1432 IFF_UP is ENOENT, that almost always means missing firmware
1434 * src/backends/NetworkManagerGeneric.c
1435 src/nm-device-ethernet.c
1436 src/nm-device-private.h
1437 src/nm-device-wifi.c
1440 src/nm-hso-gsm-device.c
1441 src/vpn-manager/nm-vpn-connection.c
1442 - Pass no_firmware along; check it where appropriate
1444 2008-08-18 Dan Williams <dcbw@redhat.com>
1446 Patch from Robert Buchholz <rbu@gentoo.org>
1450 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1451 1003.1-1988, allowing for file names longer than 99 characters
1453 2008-08-17 Dan Williams <dcbw@redhat.com>
1455 * include/NetworkManager.h
1456 introspection/nm-device.xml
1458 - Finer-grained GSM registration failure error codes
1460 2008-08-17 Dan Williams <dcbw@redhat.com>
1462 * callouts/Makefile.am
1464 - Move dispatcher directory creation to callouts/Makefile.am
1466 * system-settings/plugins/keyfile/Makefile.am
1467 - Create keyfile connections directory in DESTDIR (bgo #546833)
1469 2008-08-15 Dan Williams <dcbw@redhat.com>
1471 Do connection sharing in a cleaner manner; all required iptables rules
1472 are now stored in the activation request and pertain only to the device
1473 which is being shared to other computers. (rh #458625)
1475 * src/nm-activation-request.c
1476 src/nm-activation-request.h
1477 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1478 the activation request which will get torn down automatically when
1479 the activation request dies
1480 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1481 is started, and tear them down when sharing is stopped
1484 - (start_sharing): start up sharing by doing the required iptables magic
1485 - (share_init): poke the right bits of the kernel and load the right
1487 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1488 connection if it's a 'shared' connection
1490 * src/NetworkManagerPolicy.c
1491 - Remove all sharing stuff; done in the device code itself
1493 2008-08-15 Dan Williams <dcbw@redhat.com>
1495 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1496 - (create_dm_cmd_line): send the right router address
1498 2008-08-15 Dan Williams <dcbw@redhat.com>
1500 * src/ppp-manager/nm-ppp-manager.c
1501 - (pppd_timed_out): ensure timeouts fail the connection
1503 2008-08-14 Dan Williams <dcbw@redhat.com>
1505 * src/nm-properties-changed-signal.c
1506 src/nm-properties-changed-signal.h
1507 - Add a property spec flag for "don't export this property" in
1508 property changed signals
1510 * src/nm-hso-gsm-device.c
1512 src/nm-cdma-device.c
1513 - Don't export monitor interface or netdev interface properties
1515 2008-08-14 Dan Williams <dcbw@redhat.com>
1517 * src/NetworkManagerPolicy.c
1518 - (update_routing_and_dns): 'hso' devices can be default even if they
1519 don't have a gateway
1521 2008-08-14 Dan Williams <dcbw@redhat.com>
1524 - (nm_device_deactivate_quickly): tear down activation request after
1525 calling device-specific deactivation
1527 * src/nm-hso-gsm-device.c
1528 - (real_deactivate_quickly): terminate connection when deactivating
1530 2008-08-14 Dan Williams <dcbw@redhat.com>
1532 * src/nm-activation-request.h
1533 - Add HSO secrets caller
1535 * src/nm-gsm-device.c
1537 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1538 something to the callback function
1539 - (set_apn, set_apn_done): call class dial function, not a static one
1540 - (nm_gsm_device_class_init): add a class 'dial' function
1542 * src/nm-hal-manager.c
1543 - (get_hso_netdev): find the hso-driven hardware's net device
1544 - (modem_device_creator): recognize hso-driven hardware and create the
1545 right type of device object for it
1548 src/nm-hso-gsm-device.c
1549 src/nm-hso-gsm-device.h
1550 - Implement support for devices driven by the 'hso' driver as a subclass
1553 2008-08-14 Dan Williams <dcbw@redhat.com>
1555 * src/NetworkManagerSystem.c
1556 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1557 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1558 success if the operation really was successful
1560 2008-08-14 Dan Williams <dcbw@redhat.com>
1562 * src/nm-netlink-monitor.c
1563 src/nm-netlink-monitor.h
1564 src/nm-device-ethernet.c
1565 - (nm_netlink_monitor_request_status): return an error on failure
1566 - (constructor): don't segfault on missing error
1568 2008-08-13 Dan Williams <dcbw@redhat.com>
1570 * callouts/nm-dispatcher-action.c
1571 - Add IP4 config info to script environment
1573 2008-08-12 Dan Williams <dcbw@redhat.com>
1576 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1577 that want to use DHCP hostnames should use dispatcher scripts
1580 * src/NetworkManagerSystem.h
1581 src/backends/NetworkManagerArch.c
1582 src/backends/NetworkManagerDebian.c
1583 src/backends/NetworkManagerFrugalware.c
1584 src/backends/NetworkManagerGeneric.c
1585 src/backends/NetworkManagerGeneric.h
1586 src/backends/NetworkManagerGentoo.c
1587 src/backends/NetworkManagerMandriva.c
1588 src/backends/NetworkManagerPaldo.c
1589 src/backends/NetworkManagerRedHat.c
1590 src/backends/NetworkManagerSlackware.c
1591 src/backends/NetworkManagerSuSE.c
1592 - Remove nm_system_set_hostname(), no longer used
1594 * src/backends/Makefile.am
1595 src/backends/shvar.c
1596 src/backends/shvar.h
1597 - Remove shvar.*; no longer used
1599 2008-08-12 Dan Williams <dcbw@redhat.com>
1601 Revert most of the 'hostname' patch. Too much stuff still breaks when
1602 hostname is updated at runtime. Distros or users who want hostname updates
1603 can use dispatcher scripts to update the hostname if they need it.
1605 2008-08-12 Dan Williams <dcbw@redhat.com>
1607 * introspection/nm-settings-system.xml
1608 system-settings/src/dbus-settings.c
1609 system-settings/src/dbus-settings.h
1610 - Add a 'Hostname' property (rw) which represents the configured
1611 hostname and domain of the system, if any
1613 * system-settings/src/nm-system-config-error.c
1614 system-settings/src/nm-system-config-error.h
1615 system-settings/src/nm-system-config-interface.c
1616 system-settings/src/nm-system-config-interface.h
1617 - Add a 'hostname' property to the plugin interface
1618 - Add a method to send updated hostname to plugins to save in their
1619 backing configuration store
1621 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1622 system-settings/plugins/keyfile/plugin.c
1623 system-settings/plugins/keyfile/writer.c
1624 system-settings/plugins/keyfile/writer.h
1625 system-settings/plugins/ifcfg-suse/plugin.c
1626 - Add minimal hostname support
1628 * system-settings/plugins/ifcfg-fedora/plugin.c
1629 - Add support for updating system hostname in /etc/sysconfig/network
1631 2008-08-12 Dan Williams <dcbw@redhat.com>
1633 * system-settings/plugins/ifcfg-fedora/shvar.c
1634 system-settings/plugins/ifcfg-fedora/shvar.c
1635 - Fix double-free caused by svSetValue() followed by svCloseFile()
1637 2008-08-12 Tambet Ingo <tambet@gmail.com>
1639 * Makefile.am: Fix distcheck.
1641 2008-08-12 Tambet Ingo <tambet@gmail.com>
1643 * libnm-glib/*.c. Document some more.
1645 2008-08-12 Tambet Ingo <tambet@gmail.com>
1647 Start documenting libnm-glib public API using gtk-doc.
1649 * libnm-glib/nm-serial-device.c:
1650 * libnm-glib/nm-object.c:
1651 * libnm-glib/nm-gsm-device.c:
1652 * libnm-glib/nm-device.c:
1653 * libnm-glib/nm-device-wifi.c:
1654 * libnm-glib/nm-device-ethernet.c:
1655 * libnm-glib/nm-client.c:
1656 * libnm-glib/nm-cdma-device.c: Document the public API.
1658 * docs/libnm-glib/libnm-glib.types: Implement.
1660 * docs/libnm-glib/Makefile.am: Implement.
1664 * Makefile.am: Add gtk-doc support.
1666 2008-08-12 Tambet Ingo <tambet@gmail.com>
1668 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1670 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1671 the composite result of all the IP4 configurations and call a distro
1672 specific update_resolv_conf().
1673 (update_resolv_conf): Implement one for directly writing to
1674 /etc/resolv.conf and one for opensuse to call netconfig.
1676 2008-08-11 Dan Williams <dcbw@redhat.com>
1678 * src/ppp-manager/nm-ppp-manager.c
1679 - (impl_ppp_manager_need_secrets): pass interface as required
1681 2008-08-11 Dan Williams <dcbw@redhat.com>
1683 Merge the vpn-properties setting with the vpn setting since it was pointless
1684 to keep both of them around. Convert the vpn 'data' hash table to a hash
1685 of string:string (instead of string:variant) so that system settings plugins
1686 can have an easier time dealing with the arbitrary key/value pairs.
1688 2008-08-11 Dan Williams <dcbw@redhat.com>
1690 * libnm-util/nm-utils.c
1691 - (nm_utils_register_value_transformations): add value transform for
1692 a hash table of string:string
1694 2008-08-10 Dan Williams <dcbw@redhat.com>
1696 * libnm-glib/nm-vpn-plugin.c
1697 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1698 an idle handler so the Connect reply gets delivered before the
1699 stop StateChanged signal
1701 2008-08-10 Dan Williams <dcbw@redhat.com>
1703 * src/nm-ip4-config.c
1704 - (get_property): use common ip4 address/route conversion functions
1705 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1706 copy the new route here, not take ownership
1708 2008-08-08 Tambet Ingo <tambet@gmail.com>
1710 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1711 Update the IP4 setting's method name.
1713 2008-08-07 Dan Williams <dcbw@redhat.com>
1715 * introspection/nm-ip4-config.xml
1716 libnm-glib/libnm-glib-test.c
1717 libnm-glib/nm-ip4-config.c
1718 libnm-glib/nm-ip4-config.h
1719 src/NetworkManagerSystem.h
1720 src/backends/NetworkManagerArch.c
1721 src/backends/NetworkManagerDebian.c
1722 src/backends/NetworkManagerFrugalware.c
1723 src/backends/NetworkManagerGeneric.c
1724 src/backends/NetworkManagerGeneric.h
1725 src/backends/NetworkManagerGentoo.c
1726 src/backends/NetworkManagerMandriva.c
1727 src/backends/NetworkManagerPaldo.c
1728 src/backends/NetworkManagerRedHat.c
1729 src/backends/NetworkManagerSlackware.c
1730 src/backends/NetworkManagerSuSE.c
1731 src/dhcp-manager/nm-dhcp-manager.c
1735 - Remove NIS logic; should be done from dispatcher scripts instead
1737 2008-08-07 Dan Williams <dcbw@redhat.com>
1739 * src/dhcp-manager/nm-dhcp-manager.c
1740 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1741 mis-handling of DHCP responses that returned more than one router
1742 (found by Grant Williamson)
1744 2008-08-07 Dan Williams <dcbw@redhat.com>
1746 * callouts/nm-dispatcher-action.c
1747 - (nm_dispatcher_action): grab device path and create the device; pass
1748 the device's DHCP4 config to script caller
1749 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1752 * libnm-glib/nm-dhcp4-config.c
1753 libnm-glib/nm-dhcp4-config.h
1754 - (nm_dhcp4_config_get_options): expose
1755 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1757 2008-08-07 Dan Williams <dcbw@redhat.com>
1759 * include/NetworkManager.h
1760 - Add the DHCP4Config D-Bus interface
1762 * libnm-glib/Makefile.am
1763 libnm-glib/nm-dhcp4-config.c
1764 libnm-glib/nm-dhcp4-config.h
1765 - Handle DHCP4 config objects exported by NM over D-Bus
1767 * libnm-glib/nm-device.c
1768 libnm-glib/nm-device.h
1769 - Add a 'dhcp4-config' property
1771 * libnm-glib/libnm-glib-test.c
1772 - Print out DHCP4 config for devices
1773 - Fix some crashes when no connections are active
1775 * src/nm-device-interface.c
1777 src/nm-dhcp4-config.c
1778 src/nm-dhcp4-config.h
1779 - Treat dhcp4-config object as an object path at the D-Bus interface so
1780 that when it doesn't exist we can proxy it as "/" which dbus-glib
1781 doesn't let us do when the property type is G_TYPE_OBJECT
1783 2008-08-07 Dan Williams <dcbw@redhat.com>
1785 * src/NetworkManager.c
1786 src/NetworkManagerSystem.h
1787 src/backends/NetworkManagerArch.c
1788 src/backends/NetworkManagerDebian.c
1789 src/backends/NetworkManagerFrugalware.c
1790 src/backends/NetworkManagerGeneric.c
1791 src/backends/NetworkManagerGeneric.h
1792 src/backends/NetworkManagerGentoo.c
1793 src/backends/NetworkManagerMandriva.c
1794 src/backends/NetworkManagerPaldo.c
1795 src/backends/NetworkManagerRedHat.c
1796 src/backends/NetworkManagerSlackware.c
1797 src/backends/NetworkManagerSuSE.c
1798 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1800 2008-08-06 Dan Williams <dcbw@redhat.com>
1802 * libnm-glib/nm-ip4-config.c
1803 libnm-glib/nm-ip4-config.h
1804 - Add 'routes' property
1806 * libnm-util/nm-setting-vpn.c
1807 libnm-util/nm-setting-vpn.h
1808 - Remove 'routes' property
1810 * libnm-util/nm-setting-ip4-config.c
1811 libnm-util/nm-setting-ip4-config.h
1812 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1813 - Add 'ignore-auto-routes' property
1814 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1815 accomodate route metrics
1816 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1818 * libnm-util/nm-utils.c
1819 libnm-util/nm-utils.h
1820 - Add helpers for marshalling IP4 routes
1822 * src/NetworkManagerUtils.c
1823 - (nm_utils_merge_ip4_config): handle property renames and new route
1826 * src/NetworkManagerSystem.c
1827 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1828 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1830 * src/dhcp-manager/nm-dhcp-manager.c
1831 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1833 * system-settings/plugins/ifcfg-fedora/reader.c
1834 system-settings/plugins/ifcfg-fedora/writer.c
1835 - Handle routes separately from addresses now that routes have a different
1838 * introspection/nm-ip4-config.xml
1841 - Rename internal routing functions
1842 - 'static-routes' renamed to 'routes'
1844 2008-08-04 Dan Williams <dcbw@redhat.com>
1846 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1848 * src/NetworkManager.c
1851 - More explicitly make the NMManager a singleton
1853 2008-08-04 Dan Williams <dcbw@redhat.com>
1855 * libnm-util/nm-connection.c
1856 libnm-util/nm-connection.h
1857 - (nm_connection_verify): return error on missing 'connection' setting
1858 (found by Sjoerd Simons)
1860 2008-08-04 Dan Williams <dcbw@redhat.com>
1862 Handle multiple concurrent PPP connections.
1864 * src/ppp-manager/nm-ppp-manager.c
1865 src/ppp-manager/nm-ppp-manager.h
1866 - (constructor): only PPP Manager request bus name once; each
1867 NMPPPManager object gets a unique object path
1868 - (nm_ppp_manager_class_init, get_property, set_property,
1869 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1871 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1872 remove timeout until PPP manager gets an IP4 config
1873 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1874 the plugin can call back to this specific PPP manager instance
1876 * src/nm-device-ethernet.c
1877 src/nm-serial-device.c
1878 - Pass parent device in nm_ppp_manager_new()
1880 * src/nm-gsm-device.c
1881 src/nm-cdma-device.c
1882 - (device_state_changed): don't close serial device on NEED_AUTH
1883 state changed, that's not a failure case like the rest are
1885 * src/ppp-manager/nm-pppd-plugin.c
1886 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1887 binds one interface to any pppd process, thus the correct index
1888 is always 0; send PHASE_DEAD on error to alert NM immediately of
1889 problems; try harder to get a peer address in spite of pppd
1890 - (plugin_init): use 'ipparam' as the object path back to our specific
1891 PPP manager instance
1893 2008-08-04 Dan Williams <dcbw@redhat.com>
1895 * src/ppp-manager/nm-ppp-manager.c
1896 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1897 since the GSM and CDMA settings now implement need_secrets, we can
1898 rely on them to do the right thing. Where secrets are not required,
1899 just pass empty strings back to the pppd plugin.
1900 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1901 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1902 on successful IP4 config receipt
1904 2008-08-04 Dan Williams <dcbw@redhat.com>
1906 * libnm-util/nm-setting-cdma.c
1907 libnm-util/nm-setting-gsm.c
1908 - (verify): validate username & password if they exist
1909 - (need_secrets): if username given, require a password too
1911 2008-08-04 Dan Williams <dcbw@redhat.com>
1913 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1914 - (create_dm_cmd_line): really don't listen on lo, despite what the
1915 manpage says about --listen-address without --interface
1918 2008-08-01 Dan Williams <dcbw@redhat.com>
1920 * libnm-glib/nm-device.c
1921 - (proxy_get_string): util function for querying a HAL property
1922 - (get_ancestor_device): split out from get_product_and_vendor()
1923 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1924 from PCI devices by querying subsys properties
1925 - (nm_device_update_description): simplify
1927 2008-08-01 Dan Williams <dcbw@redhat.com>
1929 * libnm-util/nm-setting-ip4-config.c
1930 libnm-util/nm-setting-ip4-config.h
1931 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1932 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1933 settings, and they don't necessarily use DHCP.
1935 * src/NetworkManagerPolicy.c
1937 system-settings/plugins/ifcfg-fedora/reader.c
1938 system-settings/plugins/ifcfg-suse/parser.c
1939 - Fixup for method changes
1941 2008-07-31 Dan Williams <dcbw@redhat.com>
1943 * src/nm-activation-request.c
1944 src/vpn-manager/nm-vpn-connection.c
1945 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1946 itself should be attached to the activation request or the VPN
1947 connection, not the NMConnection object, since the call is not
1948 expected to live as long as the NMConnection itself
1950 2008-07-31 Dan Williams <dcbw@redhat.com>
1952 * src/nm-device-wifi.c
1953 - (real_act_stage2_config): fix issue where association would continue
1954 even though secrets were needed; 'goto out' was in wrong scope and
1955 result of handle_auth_or_fail() should have been dumped directly to
1956 'ret' to ensure that the association was postponed until secrets
1959 2008-07-31 Dan Williams <dcbw@redhat.com>
1961 * system-settings/plugins/ifcfg-fedora/plugin.c
1962 system-settings/plugins/ifcfg-fedora/reader.c
1963 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1966 2008-07-29 Dan Williams <dcbw@redhat.com>
1968 * src/nm-gsm-device.c
1969 - (automatic_registration_response, automatic_registration): recognize
1970 denied registration and reorder responses
1972 2008-07-29 Dan Williams <dcbw@redhat.com>
1974 * src/nm-serial-device.c
1975 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1976 time(2) is used for current time, which returns seconds, we shouldn't
1977 be multiplying by 1000.
1979 2008-07-28 Dan Williams <dcbw@redhat.com>
1981 Patch from Fabrice Bellet <fabrice@bellet.info>
1983 * src/NetworkManagerSystem.c
1984 - (route_in_same_subnet): mask addresses and compare them so that the
1985 function actually does what it says it's going to do (rh #456685)
1987 2008-07-27 Dan Williams <dcbw@redhat.com>
1989 * libnm-util/nm-setting-ip6-config.c
1990 - (set_property): add missing break that caused routes to be overwritten
1993 * libnm-util/nm-setting-ip6-config.c
1994 - (verify): validate routes and return GError everywhere on invalid setting
1995 - (finalize): don't leak routes
1996 - (set_property): add missing break that caused routes to be overwritten
1999 2008-07-27 Dan Williams <dcbw@redhat.com>
2002 - Relicense to LGPLv2+
2004 2008-07-27 Dan Williams <dcbw@redhat.com>
2006 * system-settings/plugins/ifcfg-fedora/reader.c
2007 - (make_ip4_setting): fix parsing automatic configs
2009 2008-07-27 Dan Williams <dcbw@redhat.com>
2011 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2013 src/ppp-manager/nm-ppp-manager.c
2014 - Ensure child process gets reaped. The child watch function may be
2015 removed from the mainloop before the child gets killed, so we have
2016 to make sure the child is reaped when it's told to die intentionally
2018 2008-07-27 Dan Williams <dcbw@redhat.com>
2020 Patch from Roy Marples <roy@marples.name>
2022 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2023 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2025 2008-07-27 Dan Williams <dcbw@redhat.com>
2027 * src/nm-gsm-device.c
2028 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2029 Huawei devices turn echo back on after CPIN (rh #456770)
2031 2008-07-24 Tambet Ingo <tambet@gmail.com>
2033 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2034 format argument to g_set_error() call.
2036 * src/backends/interface_parser.[ch]: Remove.
2038 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2040 2008-07-21 Dan Williams <dcbw@redhat.com>
2042 * src/ppp-manager/nm-ppp-manager.c
2043 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2044 to prevent pppd from picking up some random local address from an
2045 interface that doesn't have anything to do with the one we're
2046 interested in (rh #455348)
2048 2008-07-17 Dan Williams <dcbw@redhat.com>
2050 * libnm-util/nm-utils.c
2051 - (string_to_utf8): general function for conversion to UTF-8 assisted
2053 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2054 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2056 2008-07-17 Dan Williams <dcbw@redhat.com>
2058 * introspection/Makefile.am
2059 introspection/nm-device.xml
2060 introspection/nm-dhcp4-config.xml
2061 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2063 * src/nm-device-interface.c
2064 src/nm-device-interface.h
2065 - Add the DHCP4Config property
2068 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2069 D-Bus clients when it changes
2071 * src/nm-dhcp4-config.c
2072 src/nm-dhcp4-config.h
2073 - Simple object to store DHCP4 options, export them over D-Bus, and
2074 notify when they change
2076 * src/dhcp-manager/nm-dhcp-manager.c
2077 src/dhcp-manager/nm-dhcp-manager.h
2078 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2079 filter server-returned DHCP options into an NMDHCP4Config object
2081 2008-07-16 Dan Williams <dcbw@redhat.com>
2083 * introspection/nm-device.xml
2084 - Add device state reasons
2086 2008-07-16 Dan Williams <dcbw@redhat.com>
2088 Patch from Roy Marples <roy@marples.name>
2091 - Add --with-dhcp-client option
2093 * src/dhcp-manager/Makefile.am
2094 - pass DHCP_CLIENT_PATH on compile line
2096 * src/dhcp-manager/nm-dhcp-manager.c
2097 src/dhcp-manager/nm-dhcp-manager.h
2098 - Genericize for both dhcpcd and dhclient
2100 * src/dhcp-manager/nm-dhcp-dhclient.c
2101 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2103 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2104 - Implement support for dhcpcd too
2106 2008-07-16 Tambet Ingo <tambet@gmail.com>
2108 * system-settings/src/nm-system-config-interface.c
2109 (nm_system_config_interface_supports_add): Implement.
2110 (nm_system_config_interface_add_connection): Return a boolean to notify
2113 * system-settings/src/nm-polkit-helpers.c:
2114 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2117 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2118 Return an error when none of the plugins support add or if addition
2119 failed for some reason.
2121 * system-settings/src/nm-system-config-error.h:
2122 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2123 here from nm-polkit-helpers.[ch].
2125 * system-settings/src/Makefile.am: Build new files.
2127 * system-settings/plugins/keyfile/reader.c
2128 (read_array_of_array_of_uint): Make it more general so that it would
2129 work for routes as well.
2131 * system-settings/plugins/keyfile/writer.c
2132 (write_array_of_array_of_uint): Ditto.
2133 Fix the netmask/prefix writing.
2135 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2136 boolean to notify errors.
2138 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2139 Return more specific error.
2142 2008-07-11 Dan Williams <dcbw@redhat.com>
2144 Modify the NMDevice::state-changed signal to include the previous state
2145 and reason. Enables the applet to provide more information why device
2148 2008-07-09 Dan Williams <dcbw@redhat.com>
2150 * callouts/Makefile.am
2151 callouts/nm-avahi-autoipd-action.c
2152 callouts/nm-avahi-autoipd.conf
2153 - avahi-autoipd callout to send options back to NM
2160 src/nm-device-private.h
2162 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2165 2008-07-07 Dan Williams <dcbw@redhat.com>
2167 * system-settings/plugins/ifcfg-fedora/reader.c
2168 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2169 handle PREFIX too; clean up
2171 2008-07-07 Dan Williams <dcbw@redhat.com>
2173 Convert to using IPv4 prefixes instead of netmasks.
2175 2008-07-03 Dan Williams <dcbw@redhat.com>
2177 * libnm-util/nm-setting-ip4-config.c
2178 libnm-util/nm-setting-ip4-config.h
2179 - Add properties for DHCP Client Identifier and DHCP Hostname
2181 * src/dhcp-manager/nm-dhcp-manager.c
2182 src/dhcp-manager/nm-dhcp-manager.h
2183 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2184 setting as an argument to pass on to the dhclient config file
2186 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2188 - (dhclient_run): punt config file handling to create_dhclient_config()
2189 - (create_dhclient_config): create an interface-specific dhclient
2190 config file since there may need to be interface-specific options
2192 - (merge_dhclient_config): merge normal distro dhclient config file and
2193 add options from the connection
2194 - (nm_dhcp_device_new): generate the interface specific dhclient
2195 config file path once
2196 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2197 dhclient config file path
2200 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2201 DHCP manager when starting DHCP
2203 2008-07-02 Dan Williams <dcbw@redhat.com>
2205 * libnm-util/nm-setting-8021x.c
2206 - (verify): allow forcing the PEAP label to 0
2208 2008-07-02 Dan Williams <dcbw@redhat.com>
2210 * introspection/nm-active-connection.xml
2211 introspection/nm-vpn-connection.xml
2212 libnm-glib/nm-active-connection.c
2213 src/nm-activation-request.c
2214 src/nm-active-connection.h
2215 src/vpn-manager/nm-vpn-connection.c
2216 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2217 and libnm-glib API since sharing didn't get implemented that way
2219 2008-07-02 Dan Williams <dcbw@redhat.com>
2221 * src/nm-device-wifi.c
2222 - (can_scan): don't scan when a shared connection is activated since
2223 that makes drivers mad (causing disconnects); also NM doesn't need
2224 to hedge against disconnects by keeping up-to-date network topology
2225 because the connection originates from the local machine, and thus
2226 there should be no disconnects
2228 2008-07-01 Dan Williams <dcbw@redhat.com>
2230 Fix mobile broadband username/password issues. NM was never requesting
2231 mobile broadband secrets, nor was it passing back the username and password
2234 * marshallers/nm-marshal.list
2235 - Add some new types for activation request objects
2237 * src/nm-activation-request.c
2238 src/nm-activation-request.h
2239 - (get_secrets_cb): pass the caller type in the signal
2240 - (nm_act_request_request_connection_secrets): take a caller type, so
2241 that GetSecrets() reply handlers know who asked for the secrets in
2242 the first place; use secret hints too so the settings service can
2243 figure out exactly what NM wants (ie, PIN or the PPP password)
2245 * src/ppp-manager/nm-ppp-manager.c
2246 src/ppp-manager/nm-ppp-manager.h
2247 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2248 detect needed secrets when the secret could be blank, like GSM/CDMA
2249 passwords. So always ask for secrets, and send a hint as to what
2250 secret we really want.
2251 - (nm_ppp_manager_update_secrets): make function more generic by making
2252 the device specific class figure out the username and password, and
2253 accept an error argument to return back over D-Bus
2255 * src/nm-device-wifi.c
2256 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2257 nm_act_request_request_connection_secrets()
2258 - (real_connection_secrets_updated): update for 'caller' changes
2262 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2263 for 'caller' changes
2265 * src/nm-device-ethernet.c
2266 - (real_connection_secrets_updated): update for 'caller' changes and
2267 move logic for getting PPPoE username and password here before
2268 calling nm_ppp_manager_update_secrets()
2269 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2270 nm_act_request_request_connection_secrets()
2272 * src/nm-cdma-device.c
2273 - (real_connection_secrets_updated): pass username and password back
2274 to the PPP manager when required
2276 * src/nm-gsm-device.c
2277 - (enter_pin): send the required secret name to the settings service
2278 - (real_connection_secrets_updated): pass username and password back
2279 to the PPP manager when required
2281 2008-06-30 Dan Williams <dcbw@redhat.com>
2283 * src/nm-device-wifi.c
2284 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2286 2008-06-30 Dan Williams <dcbw@redhat.com>
2288 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2289 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2290 priv->supplicant.iface. When either condition is false, the device should
2291 transition back to UNAVAILABLE because it cannot be used.
2293 * src/nm-device-wifi.c
2294 - (constructor): cleanup; connect to supplicant manager here since the
2295 supplicant manager is always around
2296 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2297 ensure the supplicant manager is in the IDLE state
2298 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2299 cancel any pending scans too
2300 - (real_bring_up): don't set up the supplicnat interface here, because
2301 we need the supplicant interface at times when the device may not
2303 - (real_take_down): just remove the periodic source
2304 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2305 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2306 do anything if there's no supplicant interface
2307 - (cleanup_association_attempt): cleanup
2308 - (supplicant_iface_state_cb_handler): request an immediate scan when
2309 the interface enters the READY state; transition to UNAVAILABLE
2310 state when the interface goes down because the device can't be used
2311 without a supplicant interface
2312 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2313 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2314 acquire the supplicant interface and transition to DISCONNECTED
2315 if the radio isn't killed
2316 - (nm_device_wifi_dispose): move most of device_cleanup() here
2317 - (state_changed_cb): release any existing supplicant interface; if the
2318 radio is enabled then try to acquire a new supplicant interface;
2319 if the radio is enabled and a supplicant interface has been acquired,
2320 we can transition to DISCONNECTED
2321 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2322 don't enable the radio, because HAL probably lied to us about the
2323 killswitch being off. If bringing the hardware up worked, then
2324 try to grab a supplicant interface, and if that was successful,
2325 transition to DISCONNECTED
2327 2008-06-30 Dan Williams <dcbw@redhat.com>
2329 * src/supplicant-manager/nm-supplicant-interface.c
2330 - (request_scan_results, nm_supplicant_interface_dispose,
2331 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2332 the id of the timeout, not a GSource
2334 2008-06-30 Tambet Ingo <tambet@gmail.com>
2336 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2337 bunch of typoes introduced by "Patch from David Cantrell
2338 <dcantrell@redhat.com> and me".
2340 2008-06-30 Tambet Ingo <tambet@gmail.com>
2342 * src/nm-serial-device.c:
2343 * src/nm-gsm-device.c:
2344 * src/nm-cdma-device.c: Move the pending call handling to a common location
2345 in serial device. Handle setting device state to failed in one place as well.
2347 2008-06-29 Dan Williams <dcbw@redhat.com>
2349 * src/nm-hal-manager.c
2350 - Rework killswitch handling to query killswitch status immediately
2351 when the first killswitch is added, so that rfkill state is
2352 known as early as possible
2353 - Also treat failure of GetPower() as rfkill when the dbus method
2354 call times out (but not when the HAL callout returns an error)
2356 2008-06-26 Dan Williams <dcbw@redhat.com>
2358 Patch from David Cantrell <dcantrell@redhat.com> and me
2360 * include/nm-dbus-glib-types.h
2361 - Add IP6 address types
2363 * libnm-util/Makefile.am
2364 libnm-util/nm-setting-ip6-config.c
2365 libnm-util/nm-setting-ip6-config.h
2366 - Add IP6 settings object
2368 * libnm-util/nm-connection.c
2369 - (register_default_settings): register ip6 settings object
2371 * libnm-util/nm-utils.c
2372 libnm-util/nm-utils.h
2373 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2374 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2375 ip6 address conversion functions
2377 2008-06-26 Dan Williams <dcbw@redhat.com>
2379 Patch from David Cantrell <dcantrell@redhat.com>
2381 * Use inet_ntop() and inet_pton() everwhere and check for errors
2383 2008-06-26 Dan Williams <dcbw@redhat.com>
2385 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2387 2008-06-26 Dan Williams <dcbw@redhat.com>
2389 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2391 * src/nm-device-wifi.c
2392 - (link_timeout_cb): don't ignore disconnects due to scanning
2393 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2394 a longer timeout when scanning; avoids case where supplicant can't
2395 find the AP and just keeps scanning forever but isn't connected
2397 2008-06-26 Dan Williams <dcbw@redhat.com>
2399 Patch from Michael Biebl <biebl@debian.org>
2401 * Clean up build system stuff
2403 2008-06-23 Christian Persch <chpe@gnome.org>
2405 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2406 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2407 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2409 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2411 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2412 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2413 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2415 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2416 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2417 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2418 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2419 * vpn-daemons/pptp/properties/vpnui_opt.c:
2420 (vpnui_opt_connect_signals):
2421 * vpn-daemons/pptp/properties/vpnui_opt.h:
2422 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2423 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2424 deprecated gtk type macros. Bug #539325.
2426 2008-06-20 Dan Williams <dcbw@redhat.com>
2428 * libnm-glib/nm-vpn-plugin-ui-interface.c
2429 libnm-glib/nm-vpn-plugin-ui-interface.h
2430 - 'validity-changed' -> 'changed' to work better with the connection
2431 editor. Plugin UI widgets should emit 'changed' whenever their
2432 UI values change in a meaningful way.
2433 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2434 update_connection member now returns validity of the UI widget
2436 2008-06-20 Tambet Ingo <tambet@gmail.com>
2438 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2440 2008-06-17 Dan Williams <dcbw@redhat.com>
2442 * libnm-glib/nm-vpn-plugin-ui-interface.c
2443 libnm-glib/nm-vpn-plugin-ui-interface.h
2444 - Add "desc" property for longer descriptions of the VPN plugin
2446 2008-06-16 Dan Williams <dcbw@redhat.com>
2449 libnm-glib/libnm_glib_vpn.pc.in
2450 - add a .pc file for libnm_glib_vpn
2452 * libnm-glib/nm-vpn-plugin-ui-interface.c
2453 libnm-glib/nm-vpn-plugin-ui-interface.h
2454 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2455 rework it substantially
2457 2008-06-12 Dan Williams <dcbw@redhat.com>
2459 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2460 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2461 returns a descriptive GError when verification fails.
2463 2008-06-11 Dan Williams <dcbw@redhat.com>
2465 Patch from Tambet Ingo <tambet@gmail.com>
2467 * libnm-util/nm-setting-gsm.c
2468 - (verify): validate APN
2470 * src/nm-gsm-device.c
2471 - (manual_registration_done): start setting APN if needed
2472 - (set_apn, set_apn_done): set the APN
2473 - (do_dial): use the APN when dialing
2475 2008-06-11 Dan Williams <dcbw@redhat.com>
2477 * src/NetworkManagerSystem.c
2478 - (nm_system_device_set_ip4_route,
2479 nm_system_device_replace_default_ip4_route): check for the right
2480 return value from rtnl_route_add() to know when to add a gateway
2483 2008-06-11 Dan Williams <dcbw@redhat.com>
2485 * src/NetworkManagerPolicy.c
2486 - do_ipt_cmd -> do_cmd
2487 - (sharing_init): use do_cmd() instead of system()
2489 2008-06-10 Dan Williams <dcbw@redhat.com>
2491 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2492 and use "wifi" everwhere instead.
2494 2008-06-10 Dan Williams <dcbw@redhat.com>
2496 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2498 2008-06-10 Dan Williams <dcbw@redhat.com>
2500 Patch from Tambet Ingo <tambet@gmail.com>
2502 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2505 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2506 a signal to emit these changes over dbus.
2508 * src/Makefile.am: Genereate nm-serial-device-glue.
2510 * libnm-glib/nm-serial-device.[ch]: Implement.
2512 * libnm-glib/nm-cdma-device.[ch]
2513 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2515 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2517 * introspection/nm-device-serial.xml: Implement.
2519 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2521 * introspection/Makefile.am: Add nm-device-serial.xml.
2523 * include/NetworkManager.h: Add a DBus interface for serial device.
2525 2008-06-10 Dan Williams <dcbw@redhat.com>
2528 - Add TARGET_* define to config.h to distinguish distros
2530 * src/dhcp-manager/nm-dhcp-manager.c
2531 - (dhclient_run): use distro-specific path for dhclient config file
2533 2008-06-09 Dan Williams <dcbw@redhat.com>
2535 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2536 src/dnsmasq-manager/nm-dnsmasq-manager.h
2537 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2538 calculate the addresses passed to dnsmasq instead of hard-coding
2542 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2543 IP addresses for shared connections to guard against shared
2544 connection address collisions
2545 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2547 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2550 2008-06-09 Dan Williams <dcbw@redhat.com>
2552 * src/NetworkManagerPolicy.c
2553 - (update_routing_and_dns): set the default connection _after_ unsetting
2554 default on all non-default connections so that two connections can
2555 never be default at the same time
2556 - (device_state_changed): start and stop connection sharing when
2558 - (active_connection_default_changed): restart or stop sharing when
2559 the default connection changes to keep shared connections always
2560 NAT-ed through the default connection
2561 - (check_sharing): handle activation/deactivation of shared connections
2562 - (sharing_restart): atom-bomb approach to connection sharing until we
2563 can use libnl; reinit all sharing when the default connection or
2564 shared connections change
2565 - (sharing_init, sharing_stop): evil functions that init and deinit
2568 2008-06-09 Dan Williams <dcbw@redhat.com>
2570 * src/nm-activation-request.c
2571 src/nm-activation-request.h
2572 - (nm_act_request_set_shared, nm_act_request_get_shared,
2573 nm_act_request_get_device): new functions to facilitate connection
2576 2008-06-09 Dan Williams <dcbw@redhat.com>
2579 - (clear_act_request): unset the 'default' property of the activation
2580 request when clearing it to ensure the property changed signal gets
2581 delivered and handled
2583 2008-06-09 Dan Williams <dcbw@redhat.com>
2585 * libnm-glib/nm-device-802-11-wireless.c
2586 - (access_point_removed_proxy): actually unref the AP after removing
2587 it from the device's AP list. Fixes refcounting bug for APs that
2588 caused them to get mixed up in the applet's menu.
2590 2008-06-09 Tambet Ingo <tambet@gmail.com>
2592 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2593 (nm_dhcp_device_destroy): Destroy the device options hash table.
2595 2008-06-06 Dan Williams <dcbw@redhat.com>
2597 * system-settings/src/nm-polkit-helpers.c
2598 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2599 unref the context if the initialization fails; also avoid spew when
2602 2008-06-06 Dan Williams <dcbw@redhat.com>
2604 Patch from Tambet Ingo <tambet@gmail.com>
2606 * src/NetworkManagerSystem.c
2607 src/NetworkManagerSystem.h
2608 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2609 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2610 - (nm_system_device_set_ip4_route): clean up
2611 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2614 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2616 * src/vpn-manager/nm-vpn-connection.c
2617 - (ip_address_to_string): new function
2618 - (print_vpn_config): use ip_address_to_string
2619 - (merge_vpn_routes): add user-defined routes to the ip4 config
2620 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2622 * include/NetworkManagerVPN.h
2625 2008-06-05 Dan Williams <dcbw@redhat.com>
2627 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2630 - Show which device is the default device
2632 2008-06-05 Tambet Ingo <tambet@gmail.com>
2636 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2637 Free data returned from dbus method call.
2639 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2640 dbus_g_method_get_sender() returns a duplicated string, free it
2642 (check_polkit_privileges): Looks like policykit sometimes returns
2643 error and non-null return value, don't leak errors in that case.
2645 * system-settings/src/main.c (find_plugin): Don't leak existing
2647 (load_stuff): Don't leak device list and list items.
2648 (have_connection_for_device): Don't leak connection list.
2650 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2651 Free the data received from g_keyfile_get_*.
2653 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2654 the key when the security object is updated.
2656 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2657 Free data returned from dbus method call.
2658 (iface_state_cb): Ditto.
2659 (add_network_cb): Ditto.
2660 (nm_supplicant_interface_add_cb): Don't make another copy of already
2661 duplicated object path.
2662 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2665 * src/supplicant-manager/nm-supplicant-config.c
2666 (ADD_STRING_LIST_VAL): Fix a memory leak.
2668 * src/nm-manager.c (free_get_settings_info): Free the allocated
2670 (list_connections_cb): Free data returned from dbus method call.
2671 (system_settings_get_unmanaged_devices_cb): Ditto.
2673 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2675 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2676 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2677 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2680 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2681 arguments after the object is created.
2683 2008-06-04 Dan Williams <dcbw@redhat.com>
2685 * libnm-util/Makefile.am
2686 - Don't distribute nm-param-spec-specialized.h
2688 2008-06-02 Tambet Ingo <tambet@gmail.com>
2690 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2692 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2693 NMIP4Address, update the getters and setters.
2695 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2696 Use the updated NMIP4Config routes api.
2698 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2699 static routes as well.
2701 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2702 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2705 2008-05-30 Dan Williams <dcbw@redhat.com>
2707 * src/named-manager/nm-named-manager.c
2708 src/named-manager/nm-named-manager.h
2709 - Remove stale/obsolete bits for controlling bind over DBus
2711 2008-05-29 Dan Williams <dcbw@redhat.com>
2713 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2714 src/dnsmasq-manager/nm-dnsmasq-manager.h
2715 - (nm_dnsmasq_manager_new): move iface argument here
2716 - (constructor): remove, not needed
2717 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2718 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2721 - (real_act_stage4_get_ip4_config,
2722 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2725 2008-05-29 Dan Williams <dcbw@redhat.com>
2728 - (dnsmasq_state_changed_cb): new function; fail the connection if
2729 something happens to dnsmasq
2730 - (nm_device_new_ip4_shared_config): new function; create a new
2731 ip4-config for shared connections. Shared connections always use a
2732 fixed static IP address.
2733 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2734 autoip connections by actually using the returned ip4-config and
2736 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2738 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2741 2008-05-29 Dan Williams <dcbw@redhat.com>
2743 * src/nm-device-802-11-wireless.c
2744 - (real_get_best_auto_connection): auto-activate 'shared' method
2747 2008-05-29 Dan Williams <dcbw@redhat.com>
2749 * libnm-util/nm-setting-ip4-config.c
2750 libnm-util/nm-setting-ip4-config.h
2751 - Add a 'shared' method to indicate that this connection should be
2752 brought up with a DHCP and proxy DNS server to facilitate
2754 - (verify): 'shared' method doesn't allow DNS or searches either
2756 2008-05-29 Dan Williams <dcbw@redhat.com>
2760 src/dnsmasq-manager/Makefile.am
2761 src/dnsmasq-manager/nm-dnsmasq-manager.c
2762 src/dnsmasq-manager/nm-dnsmasq-manager.h
2763 - Add a dnsmasq daemon manager to facilitate connection sharing
2765 2008-05-29 Dan Williams <dcbw@redhat.com>
2767 * src/nm-device-private.h
2768 - Remove unused prototypes and clean up
2771 - Remove anything related to system_config_data, which is no longer used
2772 - (nm_device_new_ip4_autoip_config): make static
2774 2008-05-29 Tambet Ingo <tambet@gmail.com>
2776 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2777 (file_changed): Fix a bug where suse system settings plugin didn't
2778 update the connections automatically when the files changed.
2780 2008-05-28 Dan Williams <dcbw@redhat.com>
2782 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2784 2008-05-28 Dan Williams <dcbw@redhat.com>
2786 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2788 * src/NetworkManagerSystem.c
2789 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2790 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2791 was causing -EINVAL errors since the libnl code actually does flush
2792 the routes on VPN interfaces now
2794 * src/backends/NetworkManagerArch.c
2795 src/backends/NetworkManagerDebian.c
2796 src/backends/NetworkManagerFrugalware.c
2797 src/backends/NetworkManagerGeneric.c
2798 src/backends/NetworkManagerGentoo.c
2799 src/backends/NetworkManagerMandriva.c
2800 src/backends/NetworkManagerPaldo.c
2801 src/backends/NetworkManagerRedHat.c
2802 src/backends/NetworkManagerSlackware.c
2803 src/backends/NetworkManagerSuSE.c
2804 - (nm_system_device_flush_ip4_routes,
2805 nm_system_device_flush_ip4_routes_with_iface): remove
2807 2008-05-28 Dan Williams <dcbw@redhat.com>
2809 * libnm-util/nm-setting-wireless.c
2810 libnm-util/nm-setting-wireless.h
2811 - (set_property, get_property, nm_setting_wireless_class_init): add the
2812 'adhoc-create' property, which when TRUE indicates that NM should
2813 create this connection as an adhoc wifi network if it's not found
2814 as an adhoc network during scanning. Can be used to auto-create
2815 adhoc networks when used in combination with autoconnect.
2817 2008-05-28 Tambet Ingo <tambet@gmail.com>
2819 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2821 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2822 checked, it doesn't work on some devices.
2824 2008-05-28 Tambet Ingo <tambet@gmail.com>
2826 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2827 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2829 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2830 Use inet_aton() everywhere to improve error detection.
2831 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2834 2008-05-26 Tambet Ingo <tambet@gmail.com>
2836 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2839 2008-05-26 Tambet Ingo <tambet@gmail.com>
2841 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2842 reference counting issue.
2844 2008-05-23 Dan Williams <dcbw@redhat.com>
2846 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2848 * src/backends/NetworkManagerGeneric.c
2849 - (nm_generic_enable_loopback): use libnl
2851 2008-05-23 Dan Williams <dcbw@redhat.com>
2853 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2855 * src/NetworkManagerSystem.h
2856 src/backends/NetworkManagerArch.c
2857 src/backends/NetworkManagerDebian.c
2858 src/backends/NetworkManagerFrugalware.c
2859 src/backends/NetworkManagerGentoo.c
2860 src/backends/NetworkManagerMandriva.c
2861 src/backends/NetworkManagerPaldo.c
2862 src/backends/NetworkManagerRedHat.c
2863 src/backends/NetworkManagerSlackware.c
2864 src/backends/NetworkManagerSuSE.c
2865 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2866 nm_system_flush_arp_cache): remove, unused
2868 * src/backends/NetworkManagerGeneric.c
2869 src/backends/NetworkManagerGeneric.h
2870 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2871 nm_generic_flush_arp_cache): remove, unused
2873 2008-05-23 Dan Williams <dcbw@redhat.com>
2875 * system-settings/plugins/ifcfg-fedora/reader.c
2876 - (make_ip4_setting): honor PEERDNS setting
2878 2008-05-23 Dan Williams <dcbw@redhat.com>
2880 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2882 * src/NetworkManagerSystem.c
2883 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2886 * src/backends/NetworkManagerArch.c
2887 src/backends/NetworkManagerDebian.c
2888 src/backends/NetworkManagerFrugalware.c
2889 src/backends/NetworkManagerGentoo.c
2890 src/backends/NetworkManagerMandriva.c
2891 src/backends/NetworkManagerPaldo.c
2892 src/backends/NetworkManagerRedHat.c
2893 src/backends/NetworkManagerSlackware.c
2894 src/backends/NetworkManagerSuSE.c
2895 - (nm_system_device_flush_ip4_addresses,
2896 nm_system_device_flush_ip4_addresses_with_iface): remove
2898 * src/backends/NetworkManagerGeneric.c
2899 - (nm_generic_device_flush_ip4_addresses,
2900 nm_generic_device_flush_ip4_addresses_with_iface): remove
2902 2008-05-23 Dan Williams <dcbw@redhat.com>
2904 * src/supplicant-manager/nm-supplicant-settings-verify.c
2905 - Switch 'bssid' from bytes to keyword type
2906 - (validate_type_keyword): allow NULL keyword lists
2908 * src/supplicant-manager/nm-supplicant-config.c
2909 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2910 a byte array to string form, which is what the supplicant expects
2912 2008-05-23 Tambet Ingo <tambet@gmail.com>
2914 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2915 information received from DHCP.
2917 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2918 to make it possible to ignore the DNS information (both servers and
2919 searches) returned by DHCP server.
2921 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2922 name servers and searches if "ignore_dhcp_dns" is set.
2924 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2925 (nm_ip4_config_reset_searches): Implement.
2927 2008-05-22 Dan Williams <dcbw@redhat.com>
2929 Remove anything mDNS related. This is better done from a distro-specific
2930 dispatcher script. Plus, any distro using avahi doesn't need to restart
2931 avahi, since avahi can handle interface changes just fine using netlink.
2934 - Remove --with-mdns-provider
2936 * src/NetworkManagerPolicy.c
2937 - (global_state_changed): don't restart the mdns provider
2939 * src/NetworkManagerSystem.h
2940 src/backends/NetworkManagerArch.c
2941 src/backends/NetworkManagerDebian.c
2942 src/backends/NetworkManagerFrugalware.c
2943 src/backends/NetworkManagerGentoo.c
2944 src/backends/NetworkManagerMandriva.c
2945 src/backends/NetworkManagerPaldo.c
2946 src/backends/NetworkManagerRedHat.c
2947 src/backends/NetworkManagerSlackware.c
2948 src/backends/NetworkManagerSuSE.c
2949 - (nm_system_restart_mdns_responder): remove
2951 * src/backends/NetworkManagerGeneric.c
2952 src/backends/NetworkManagerGeneric.h
2953 - (nm_generic_restart_mdns_responder): remove
2955 2008-05-22 Dan Williams <dcbw@redhat.com>
2958 - clean up crypto options; just use --with-crypto=nss or
2959 --with-crypto=gnutls
2961 2008-05-22 Tambet Ingo <tambet@gmail.com>
2963 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2964 anymore, do it right away.
2966 2008-05-22 Tambet Ingo <tambet@gmail.com>
2968 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2969 serial device open when we're not connecting or connected.
2971 * src/nm-cdma-device.c (device_state_changed): Ditto.
2973 2008-05-22 Tambet Ingo <tambet@gmail.com>
2975 Don't remove all devices on waking up, sync with HAL.
2977 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2978 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2979 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2981 2008-05-21 Tambet Ingo <tambet@gmail.com>
2983 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2984 If the default gateway is unreachable, add a route to gateway and try
2987 2008-05-20 Dan Williams <dcbw@redhat.com>
2989 * system-settings/plugins/ifcfg-fedora/reader.c
2990 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2992 2008-05-19 Dan Williams <dcbw@redhat.com>
2994 * system-settings/plugins/ifcfg-fedora/reader.c
2995 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2996 if the ifcfg doesn't specify one (rh #446527)
2998 2008-05-19 Dan Williams <dcbw@redhat.com>
3000 Make the system settings service exit when the bus goes away. Since it's
3001 a bus-activated service, it's lifetime is limited to the bus that activated
3004 * system-settings/src/Makefile.am
3005 system-settings/src/nm-system-config-hal-manager-private.h
3006 - Remove nm-system-config-hal-manager-private.h
3008 * system-settings/src/nm-system-config-hal-manager.c
3009 - (nm_system_config_hal_manager_reinit_dbus,
3010 nm_system_config_hal_manager_deinit_dbus): remove
3012 * system-settings/src/main.c
3013 - (dbus_reconnect): remove
3014 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3015 - (destroy_cb): just quit when the bus goes away
3016 - (start_dbus_service, dbus_init): simplify
3017 - (main): destroy the wired devices hash table after destroying
3018 the HAL manager so we don't have to disconnect signals from the
3021 2008-05-15 Tambet Ingo <tambet@gmail.com>
3023 Move crypto functions from nm-applet to libnm-util.
3025 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3026 (nm_setting_802_1x_set_client_cert)
3027 (nm_setting_802_1x_set_phase2_ca_cert)
3028 (nm_setting_802_1x_set_phase2_client_cert)
3029 (nm_setting_802_1x_set_private_key)
3030 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3031 file (or private key and it's password), read the certificate data.
3033 * libnm-util/crypto_nss.c:
3034 * libnm-util/crypto_gnutls.c:
3035 * libnm-util/crypto.[ch]: Move here from nm-applet.
3037 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3039 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3040 Imlement WPA-EAP configuration reading from sysconfig.
3042 2008-05-16 Dan Williams <dcbw@redhat.com>
3044 * src/nm-device-802-11-wireless.c
3045 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3048 2008-05-14 Dan Williams <dcbw@redhat.com>
3050 Fix Linus' bug in rh #134886
3052 * src/nm-device-802-3-ethernet.c
3053 - (constructor): request initial carrier state
3055 * src/nm-netlink-monitor.c
3056 - (nm_netlink_monitor_request_status): schedule emission of carrier
3057 signals after refilling the link cache. Because the refill is a
3058 synchronous operation, the normal message hander won't get called
3059 since libnl has already consumed the messages.
3060 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3062 2008-05-14 Dan Williams <dcbw@redhat.com>
3064 * src/NetworkManagerSystem.c
3065 - (nm_system_device_is_up_with_iface): clean up
3067 2008-05-13 Dan Williams <dcbw@redhat.com>
3069 Fix refcounting issues over sleep/wake when a VPN connection was active that
3070 caused NM to try registering an object path for a device upon wake that was
3071 the same as an already registered object path.
3074 - (nm_device_take_down): properly handle cases where the device is
3075 no longer active but was just active, and therefore must be
3076 deactivated. When a device moves to unmanaged mode, this function
3077 previously would not deactivate the device, because the state was
3078 already unmanaged by the time this function was called.
3080 * src/vpn-manager/nm-vpn-connection.c
3081 - (device_state_changed): properly handle multiple devices states in
3082 which the device is now deactivated. Code previously didn't handle
3083 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3086 2008-05-13 Dan Williams <dcbw@redhat.com>
3088 * src/nm-device-private.h
3090 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3092 * src/nm-device-802-11-wireless.c
3093 - (nm_device_802_11_wireless_set_enabled): take devices up
3094 and down as appropriate for the rfkill state
3096 2008-05-13 Dan Williams <dcbw@redhat.com>
3098 * marshallers/nm-marshal.list
3099 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3101 * system-settings/plugins/ifcfg-fedora/Makefile.am
3102 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3103 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3104 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3105 events. Solely for use watching ifcfg files to pick up changes
3106 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3108 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3109 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3110 file contents change
3111 - (finalize): clean up inotify watches
3112 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3113 and the connection ifcfg for changes on their hardlinks
3114 - (files_changed_cb): proxy the changed signal back out to listeners
3116 * system-settings/plugins/ifcfg-fedora/plugin.c
3118 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3120 - (read_one_connection): connect to change signals on the new connection
3121 - (dir_changed, connection_changed_handler,
3122 handle_connection_remove_or_new): break out connection change
3123 handling and connection new/remove handling so it can be used from
3124 both the GFileMonitor callback and the NMIfcfgConnection changed
3127 * system-settings/plugins/ifcfg-fedora/reader.c
3128 system-settings/plugins/ifcfg-fedora/reader.h
3129 - (connection_from_file): return the keyfile path the connection would use
3131 2008-05-13 Tambet Ingo <tambet@gmail.com>
3133 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3134 single PolKitContext which is shared by all. PolKitContext::unref leaks
3135 just about everything, including all open file descriptiors and results
3136 in 99% cpu usage when data arrives to any of the fds that don't belong
3137 to any context anymore.
3139 2008-05-12 Dan Williams <dcbw@redhat.com>
3141 * gfilemonitor/glocaldirectorymonitor.c
3142 gfilemonitor/glocaldirectorymonitor.h
3143 - (g_local_directory_monitor_constructor): actually subscribe to the
3145 - (_g_local_directory_monitor_new): ensure that inotify is started up
3147 * gfilemonitor/glocalfilemonitor.c
3148 gfilemonitor/glocalfilemonitor.h
3149 - (g_local_file_monitor_constructor): actually subscribe to the watch
3150 - (_g_local_file_monitor_new): ensure that inotify is started up
3152 2008-05-11 Dan Williams <dcbw@redhat.com>
3155 - record PolicyKit version
3157 * system-settings/src/nm-polkit-helpers.c
3158 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3159 with PolicyKit <= 0.6
3161 2008-05-11 Dan Williams <dcbw@redhat.com>
3163 Update Fedora system-settings plugin to support latest API and use
3164 GFileMonitor rather than home-rolled inotify code.
3166 * system-settings/plugins/ifcfg-fedora/Makefile.am
3167 system-settings/plugins/ifcfg-fedora/common.h
3168 system-settings/plugins/ifcfg-fedora/plugin.c
3169 - Update to latest system settings plugin API; use GIO instead of
3170 custom inotify code; use NMIfcfgConnection objects instead of
3171 ConnectionData structures tacked onto NMConnection objects
3173 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3174 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3175 - Implement an NMExportedConnection subclass mapping ifcfg files to
3178 * system-settings/plugins/ifcfg-fedora/reader.c
3179 system-settings/plugins/ifcfg-fedora/reader.h
3180 - Move ifcfg parsing bits here from parser.c
3182 * system-settings/plugins/ifcfg-fedora/parser.c
3183 system-settings/plugins/ifcfg-fedora/parser.h
3184 - Remove; most code moved to reader.c
3186 2008-05-11 Dan Williams <dcbw@redhat.com>
3191 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3192 implementation, so that the same change monitoring code can be used
3193 on systems without glib-2.14 (like Fedora 8)
3195 * system-settings/plugins/keyfile/Makefile.am
3196 system-settings/plugins/keyfile/plugin.c
3197 system-settings/plugins/ifcfg-suse/Makefile.am
3198 system-settings/plugins/ifcfg-suse/plugin.c
3199 - Use private gfilemonitor code if GIO is not present
3201 2008-05-09 Tambet Ingo <tambet@gmail.com>
3203 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3204 NMExportedConnection's 'update' and 'delete' and return error with
3205 descriptive message.
3207 2008-05-08 Dan Williams <dcbw@redhat.com>
3209 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3211 * src/nm-gsm-device.c
3212 src/nm-cdma-device.c
3213 - (real_get_best_auto_connection): implement; allow autoconnection
3214 to GSM & CDMA devices
3216 2008-05-08 Tambet Ingo <tambet@gmail.com>
3218 Use PolicyKit to authorize the system settings' AddConnection method
3219 and the system settings connections' Update and Delete methods.
3221 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3222 (impl_exported_connection_delete, nm_exported_connection_update)
3223 (nm_exported_connection_delete): Return boolean and fill GError
3224 to notify the callers of the reasons why it might have failed.
3226 * libnm-glib/nm-dbus-settings-system.c
3227 (nm_dbus_settings_system_add_connection): Return the error from dbus
3228 call so that the callers can see why it failed.
3230 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3233 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3235 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3236 abstract base class that checks PolicyKit permissions.
3238 * system-settings/src/dbus-settings.c:
3239 (impl_settings_add_connection): Check the policy before carring out
3242 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3243 Inherit from NMSysconfigConnection, check the policies before
3244 allowing updating or removing.
3246 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3247 Inherit from NMSysconfigConnection.
3249 * introspection/nm-exported-connection.xml: Annotate "Update" and
3250 "Delete" methods with async flag so that the implementations can get
3251 access to DBusGMethodInvocation.
3253 * system-settings/src/dbus-settings.c
3254 (settings_add_connection_check_privileges): Implement.
3255 (impl_settings_add_connection): Check the privileges before adding a new
3256 connection. Improve error reporting.
3258 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3259 async so that the implementation can access DBusGMethodInvocation.
3261 * configure.in: Check for PolicyKit.
3263 * policy/org.freedesktop.network-manager-settings.system.policy:
3266 * policy/Makefile.am: Install the policy file.
3268 * configure.in: Add 'policy' subdir.
3270 2008-05-08 Tambet Ingo <tambet@gmail.com>
3272 Rewrite the suse system settings plugin.
3274 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3276 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3278 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3280 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3282 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3284 * system-settings/src/main.c (load_plugins): Improve error reporting.
3286 * system-settings/src/sha1.[ch] Add.
3288 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3290 2008-05-07 Dan Williams <dcbw@redhat.com>
3292 * system-settings/plugins/keyfile/reader.c
3293 - (read_one_setting_value): handle IP address items separately
3294 - (read_array_of_uint): read IPv4 DNS option as a string array
3295 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3298 * system-settings/plugins/keyfile/writer.c
3299 - (write_setting_value): handle IP address items separately
3300 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3301 not an array of uint, so that it's user-editable
3302 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3303 arrays, so they are user-editable
3305 2008-05-07 Dan Williams <dcbw@redhat.com>
3307 * system-settings/plugins/keyfile/Makefile.am
3308 - Change location of the keyfile plugin settings to
3309 /etc/NetworkManager/system-connections
3311 2008-05-05 Tambet Ingo <tambet@gmail.com>
3313 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3315 * system-settings/plugins/keyfile/plugin.c: Work with
3316 NMKeyfileConnections.
3318 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3319 Plugins are supposed to return NMExportedConnections now and handle the
3320 updated(), removed(), and GetSecrets().
3321 Store the internal list of connections in hash table to make it easier
3324 2008-05-07 Tambet Ingo <tambet@gmail.com>
3326 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3327 for multiple IP addresses.
3329 2008-05-07 Tambet Ingo <tambet@gmail.com>
3331 Patch from André Lemos.
3333 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3336 2008-05-06 Dan Williams <dcbw@redhat.com>
3338 * src/dhcp-manager/nm-dhcp-manager.c
3339 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3340 NMIP4Config to support multiple IP addresses
3342 * src/NetworkManagerUtils.c
3343 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3345 * src/nm-ip4-config.c
3347 - Store a list of IPv4 address/netmask/gateway tuples
3348 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3349 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3350 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3351 nm_ip4_config_set_address): remove
3352 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3353 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3354 new functions; handle multiple IPv4 addresses
3357 src/ppp-manager/nm-ppp-manager.c
3358 src/vpn-manager/nm-vpn-connection.c
3359 src/NetworkManagerPolicy.c
3361 libnm-glib/libnm-glib-test.c
3362 - update for changes to NMIP4Config for multiple IPv4 addresses
3364 * src/NetworkManagerSystem.c
3365 - (nm_system_device_set_ip4_route): don't add the route if any address
3366 is on the same subnet as the destination
3367 - (check_one_address): ignore the exact match, just match family and
3369 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3371 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3372 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3374 * introspection/nm-ip4-config.xml
3375 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3376 - Add 'addresses' property which is an array of (uuu) tuples of
3377 address/netmask/gateway
3379 * libnm-util/nm-setting-ip4-config.c
3380 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3382 * libnm-glib/nm-ip4-config.c
3383 libnm-glib/nm-ip4-config.h
3384 - Handle D-Bus interface changes to support multiple IP addresses
3386 2008-05-06 Dan Williams <dcbw@redhat.com>
3388 * libnm-util/nm-utils.c
3389 libnm-util/nm-utils.h
3390 - (nm_utils_ip4_addresses_from_gvalue,
3391 nm_utils_ip4_addresses_to_gvalue): new functions
3393 2008-05-06 Tambet Ingo <tambet@gmail.com>
3395 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3396 the returned connection paths.
3398 2008-05-05 Tambet Ingo <tambet@gmail.com>
3400 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3401 "PropertiesChanged" signal signature.
3403 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3404 defined in nm-dbus-glib-types.h.
3405 Don't register the connection on dbus, we're a proxy class to
3406 communicate with an already registered connection over dbus.
3408 2008-04-30 Tambet Ingo <tambet@gmail.com>
3410 Implement new subclasses of NMSettings and NMExportedConnection to make
3411 it easier for the applet to access and modify system settings.
3413 * libnm-glib/nm-dbus-connection.[ch]:
3414 * libnm-glib/nm-dbus-settings.[ch]:
3415 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3417 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3420 * include/NetworkManager.h: Define the system settings DBus interface.
3422 2008-04-30 Tambet Ingo <tambet@gmail.com>
3424 Implement additional C API for exported connections to make them identical
3425 with the DBus API. Change the (list_connections) virtual function to be
3426 more usable from C - instead of requiring implementers to return a GPtrArray
3427 of dbus paths, return a list of connections.
3429 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3430 (nm_settings_list_connections):
3431 (nm_exported_connection_new):
3432 (nm_exported_connection_update):
3433 (nm_exported_connection_delete): Implement.
3435 (impl_settings_list_connections):
3436 (impl_exported_connection_update):
3437 (impl_exported_connection_delete): Use the new public functions to make
3438 sure the C and dbus interfaces stay in sync.
3440 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3443 2008-05-02 Dan Williams <dcbw@redhat.com>
3445 * system-settings/plugins/ifcfg-fedora/plugin.c
3446 - (dispose): use right unref call on the DBusGConnection
3448 2008-05-02 Dan Williams <dcbw@redhat.com>
3450 * src/nm-serial-device.c
3451 - (find_terminator): don't compare the whole line, just the size of the
3452 terminator, since some modems put stuff after the terminator, like
3455 2008-05-01 Dan Williams <dcbw@redhat.com>
3457 Patch from Michael Biebl <biebl@debian.org>
3459 * callouts/Makefile.am
3460 callouts/org.freedesktop.nm_dispatcher.service.in
3461 system-settings/src/Makefile.am
3462 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3463 - use the right install location for dbus-activated stuff
3465 2008-04-30 Dan Williams <dcbw@redhat.com>
3467 * src/nm-gsm-device.c
3468 - (enter_pin): fix setting name passed to applets when asking for a GSM
3471 2008-04-30 Dan Williams <dcbw@redhat.com>
3474 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3476 2008-04-30 Dan Williams <dcbw@redhat.com>
3478 * src/nm-device-802-3-ethernet.c
3479 src/nm-device-802-11-wireless.c
3480 - (real_is_up): return true instead of chaining up to unimplemented
3483 2008-04-30 Dan Williams <dcbw@redhat.com>
3485 * src/NetworkManagerSystem.c
3486 src/NetworkManagerSystem.h
3487 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3488 functions to check device flags for IFF_UP
3490 * src/nm-serial-device.c
3491 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3494 * src/nm-device-802-3-ethernet.c
3495 src/nm-device-802-11-wireless.c
3496 - (real_hw_is_up): call nm_system_device_is_up()
3499 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3500 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3503 2008-04-29 Dan Williams <dcbw@redhat.com>
3505 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3507 * marshallers/nm-marshal.list
3510 * src/NetworkManager.c
3511 - (main): let the NMManager handle the NMHalManager
3513 * src/nm-hal-manager.c
3514 src/nm-hal-manager.h
3515 - convert to a GObject, and emit singals when stuff changes. Let the
3516 NMManager handle the signals, instead of the NMHalManager calling
3521 - (remove_one_device): consolidate device removals here
3522 - (dispose): use remove_one_device()
3523 - (nm_manager_get_device_by_udi): make static
3524 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3525 manager for devices at startup or wakeup time
3526 - (nm_manager_new): create and monitor the HAL manager
3527 - (hal_manager_udi_added_cb): new function; do what
3528 nm_manager_add_device() used to do when signalled by the hal manager
3529 - (hal_manager_udi_removed_cb): new function; do what
3530 nm_manager_remove_device() used to do when signalled by the hal
3532 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3534 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3535 in our device list that aren't known to HAL
3536 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3537 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3539 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3540 nm_manager_activation_pending, nm_manager_wireless_enabled,
3541 nm_manager_wireless_hardware_enabled,
3542 nm_manager_set_wireless_hardware_enabled): remove, unused
3544 2008-04-28 Dan Williams <dcbw@redhat.com>
3546 Fix the device up/down ambiguities. Up/down state used to be a
3547 conglomeration of hardware state (IFF_UP) and any device-specific things
3548 (supplicant, periodic timers, etc) that the device used to indicate
3549 readiness. Unfortunately, if the hardware was already IFF_UP for some
3550 reason, then the device specific stuff wouldn't get run, and the device
3555 - Create hw_is_up, hw_bring_up, and hw_take_down
3556 - Rename bring_down -> take_down
3557 - (real_hw_is_up): check interface flags for IFF_UP
3558 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3559 - (nm_device_is_up): make static; only used locally
3560 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3561 if the device is already up; if the device isn't up, bring it up
3562 - (nm_device_hw_take_down): just take down hardware
3563 - (nm_device_bring_up): bring up HW first, then device specific stuff
3564 - (nm_device_take_down): always deactivate device when called; always
3565 try to take hardware down too
3566 - (nm_device_state_changed): take device down when entering unmanaged
3567 state from a higher state
3569 * src/nm-device-802-11-wireless.c
3570 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3572 - (real_take_down, supplicant_iface_state_cb_handler,
3573 supplicant_iface_connection_state_cb_handler,
3574 supplicant_mgr_state_cb_handler): fix some messages
3576 * src/nm-device-802-3-ethernet.c
3577 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3580 2008-04-28 Dan Williams <dcbw@redhat.com>
3584 - (nm_manager_error_get_type): add new error
3585 - (nm_manager_remove_device): don't bother taking down the device here,
3586 the state change from unmanaging the device will do it
3587 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3588 uses it; when going to sleep, just unmanage the device instead of
3589 taking it down, because stuff will cleaned up correctly when the
3590 device gets unmanaged
3592 2008-04-28 Dan Williams <dcbw@redhat.com>
3594 * src/nm-hal-manager.c
3595 - (add_initial_devices): convert to a GSourceFunc prototype
3596 - (nm_manager_state_changed): when coming out of sleep, punt the
3597 device re-addition to an idle handler to let D-Bus events go out
3598 first, fixing a potential dbus-glib assert if the old device was
3599 not yet disposed (due to references held while emitting the D-Bus
3600 signals) but the new device was found, because the mainloop didn't
3601 run between signal emission and add_initial_devices()
3603 2008-04-27 Dan Williams <dcbw@redhat.com>
3605 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3607 * initscript/paldo/NetworkManager.in
3608 initscript/SUSE/networkmanager.in
3609 - Remove last bits of dhcdbd
3611 2008-04-27 Dan Williams <dcbw@redhat.com>
3613 * src/nm-device-802-11-wireless.c
3614 - (link_timeout_cb): don't ask for secrets when disconnected during
3615 association/authentication phase, drivers are still just too crappy
3617 2008-04-27 Dan Williams <dcbw@redhat.com>
3621 dispatcher-daemon/Makefile.am
3622 dispatcher-daemon/NetworkManagerDispatcher.c
3623 initscript/Arch/Makefile.am
3624 initscript/Arch/networkmanager-dispatcher.in
3625 initscript/Gentoo/Makefile.am
3626 initscript/Gentoo/NetworkManagerDispatcher.in
3627 initscript/Mandriva/Makefile.am
3628 initscript/Mandriva/networkmanagerdispatcher.in
3629 initscript/RedHat/Makefile.am
3630 initscript/RedHat/NetworkManagerDispatcher.in
3631 initscript/SUSE/Makefile.am
3632 initscript/SUSE/networkmanager-dispatcher.in
3633 initscript/Slackware/Makefile.am
3634 initscript/Slackware/rc.networkmanager-dispatcher.in
3635 initscript/paldo/Makefile.am
3636 initscript/paldo/NetworkManagerDispatcher.in
3638 man/NetworkManagerDispatcher.8.in
3639 - Remove the dispatcher daemon
3641 2008-04-27 Dan Williams <dcbw@redhat.com>
3643 * callouts/Makefile.am
3644 callouts/nm-dispatcher-action.c
3645 callouts/nm-dispatcher-action.h
3646 callouts/nm-dispatcher.conf
3647 callouts/nm-dispatcher.xml
3648 callouts/org.freedesktop.nm_dispatcher.service
3649 - Re-implement the dispatcher as a system-bus activated service that
3650 NM calls on-demand, rather than an always running daemon
3653 - Add callouts dir to includes to pick up dispatcher defines
3656 - (nm_device_state_changed): call dispatcher on device activated/
3659 * src/vpn-manager/nm-vpn-connection.c
3660 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3663 * src/NetworkManagerUtils.c
3664 src/NetworkManagerUtils.h
3665 - (nm_utils_call_dispatcher): helper to call dispatcher
3667 2008-04-27 Dan Williams <dcbw@redhat.com>
3669 * src/NetworkManagerUtils.c
3670 src/NetworkManagerUtils.h
3671 - remove unneeded includes
3672 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3673 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3674 nm_timeval_cmp, nm_timeval_add): remove, unused
3675 - clean up formatting
3676 - (nm_spawn_process): de-uglify
3678 * src/nm-device-802-11-wireless.c
3679 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3681 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3683 * initscript/Gentoo/NetworkManager.in:
3684 Fix for starting the daemon.
3686 2008-04-25 Dan Williams <dcbw@redhat.com>
3688 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3690 * src/NetworkManagerSystem.c
3691 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3693 2008-04-25 Dan Williams <dcbw@redhat.com>
3695 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3697 * src/NetworkManagerSystem.c
3698 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3699 implementation of nm_system_device_replace_default_route()
3701 * src/NetworkManagerPolicy.c
3702 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3704 * src/backends/NetworkManagerArch.c
3705 src/backends/NetworkManagerDebian.c
3706 src/backends/NetworkManagerFrugalware.c
3707 src/backends/NetworkManagerGeneric.c
3708 src/backends/NetworkManagerGeneric.h
3709 src/backends/NetworkManagerGentoo.c
3710 src/backends/NetworkManagerMandriva.c
3711 src/backends/NetworkManagerPaldo.c
3712 src/backends/NetworkManagerRedHat.c
3713 src/backends/NetworkManagerSlackware.c
3714 src/backends/NetworkManagerSuSE.c
3715 - (nm_system_device_replace_default_route): remove
3717 2008-04-25 Dan Williams <dcbw@redhat.com>
3719 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3721 * src/NetworkManagerSystem.c
3722 - (validate_ip4_route): remove; use nl_addr_parse() instead
3723 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3724 replace nm_system_device_add_route_via_device_with_iface() in the
3727 * src/backends/NetworkManagerArch.c
3728 src/backends/NetworkManagerDebian.c
3729 src/backends/NetworkManagerFrugalware.c
3730 src/backends/NetworkManagerGeneric.c
3731 src/backends/NetworkManagerGeneric.h
3732 src/backends/NetworkManagerGentoo.c
3733 src/backends/NetworkManagerMandriva.c
3734 src/backends/NetworkManagerPaldo.c
3735 src/backends/NetworkManagerRedHat.c
3736 src/backends/NetworkManagerSlackware.c
3737 src/backends/NetworkManagerSuSE.c
3738 - Remove nm_system_device_add_route_via_device_with_iface()
3740 2008-04-25 Dan Williams <dcbw@redhat.com>
3742 * system-settings/plugins/ifcfg-fedora/parser.c
3743 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3745 2008-04-24 Dan Williams <dcbw@redhat.com>
3747 * dispatcher-daemon/NetworkManagerDispatcher.c
3748 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3750 2008-04-24 Dan Williams <dcbw@redhat.com>
3752 * initscript/RedHat/NetworkManager.in
3753 initscript/RedHat/NetworkManagerDispatcher.in
3754 - Be active at runlevel 2
3755 - Adjust priorities earlier
3757 2008-04-22 Dan Williams <dcbw@redhat.com>
3759 * src/NetworkManagerPolicy.c
3760 - (update_routing_and_dns): when checking for a gateway, look at the
3761 composite IP4 config, not the connection's ip4-config setting, which
3762 doesn't include DHCP-returned information
3764 2008-04-22 Tambet Ingo <tambet@gmail.com>
3766 Implement GKeyFile system settings plugin.
3767 Implement writing system settings (currently supported only by GKeyFile plugin).
3769 * system-settings/src/main.c:
3770 * system-settings/src/dbus-settings.c: Move the communication with plugins
3771 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3772 plugins for adding/updating/removing connections.
3774 * system-settings/src/nm-system-config-interface.c
3775 (nm_system_config_interface_add_connection): Implement
3776 (nm_system_config_interface_update_connection): Implement.
3777 (nm_system_config_interface_remove_connection): Implement.
3779 * system-settings/plugins/keyfile/Makefile.am:
3780 * system-settings/plugins/keyfile/plugin.[ch]:
3781 * system-settings/plugins/keyfile/writer.[ch]:
3782 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3784 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3786 * configure.in: Generate GKeyFile Makefile.
3788 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3789 corruption, need to duplicate the returned string.
3790 (impl_exported_connection_update): Implement.
3791 (impl_exported_connection_delete): Implement.
3793 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3795 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3797 2008-04-22 Dan Williams <dcbw@redhat.com>
3799 Patch from Charles R. Anderson (cra@wpi.edu)
3801 * src/NetworkManagerPolicy.c
3802 - (update_routing_and_dns): don't select devices without a gateway
3803 as having the default route (rh #437338)
3805 2008-04-21 Dan Williams <dcbw@redhat.com>
3807 * src/nm-activation-request.c
3808 src/nm-activation-request.h
3809 - (dispose): ensure to disconnect from the device's state-changed signal
3810 when appropriate so the signal doesn't get handled by an already
3811 disposed NMActRequest
3812 - (device_state_changed): update is_default here too just to make sure
3813 default is only True when the child device is activated
3814 - (nm_act_request_set_default): new function
3816 * src/NetworkManagerPolicy.c
3817 - (update_routing_and_dns): set 'default' on the active connection which
3818 has the default route and DNS
3820 2008-04-21 Dan Williams <dcbw@redhat.com>
3822 * src/NetworkManagerPolicy.c
3823 - (device_state_changed): update routing and DNS when a device goes
3824 into unmanaged or unavailable states too (like rfkill or carrier loss)
3826 2008-04-21 Dan Williams <dcbw@redhat.com>
3828 * include/NetworkManager.h
3829 - Add NMActiveConnectionState enum
3831 * introspection/nm-active-connection.xml
3832 introspection/nm-vpn-connection.xml
3833 - Add 'State' property for overall active connection state
3834 - Add 'Default' property, when True means this active connection
3835 has the default route
3836 - Add PropertyChanged signals so changes actually go out over the bus
3838 * src/nm-active-connection.h
3839 - Add defines for State & Default properties
3841 * src/nm-activation-request.c
3842 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3843 signal to determine active connection state
3845 * src/vpn-manager/nm-vpn-connection.c
3846 src/vpn-manager/nm-vpn-connection.h
3847 src/vpn-manager/nm-vpn-manager.c
3848 src/vpn-manager/nm-vpn-service.c
3849 - Rename old 'state' to 'vpn-state'
3850 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3851 - Add 'state' and 'default' properties, hook up to the vpn connection's
3852 'vpn-state-changed' signal
3854 * libnm-glib/nm-active-connection.c
3855 libnm-glib/nm-active-connection.h
3856 - Add new 'state' and 'default' properties and accessors
3858 * libnm-glib/nm-vpn-connection.c
3859 libnm-glib/nm-vpn-connection.h
3860 - Rename old 'state' property to 'vpn-state'
3861 - Add new 'state' and 'default' properties and accessors
3863 2008-04-21 Dan Williams <dcbw@redhat.com>
3865 * src/nm-ip4-config.c
3866 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3867 not specified (rh #443474)
3869 2008-04-20 Dan Williams <dcbw@redhat.com>
3871 * src/NetworkManagerUtils.c
3872 src/NetworkManagerUtils.h
3873 - (nm_utils_merge_ip4_config): new function; merge settings from an
3874 NMSettingIP4Config to an NMIP4Config object
3877 - (merge_ip4_config): move to NetworkManagerUtils.c
3879 * src/vpn-manager/nm-vpn-connection.c
3880 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3883 2008-04-18 Dan Williams <dcbw@redhat.com>
3885 * libnm-util/nm-setting-ppp.c
3886 libnm-util/nm-setting-ppp.h
3887 - Add 'no-vj-comp' option for TCP header compression
3888 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3891 2008-04-18 Dan Williams <dcbw@redhat.com>
3893 * libnm-util/nm-setting-ppp.c
3894 libnm-util/nm-setting-ppp.h
3895 src/ppp-manager/nm-ppp-manager.c
3896 - Add 'refuse-pap' and 'refuse-mschapv2' options
3898 2008-04-18 Dan Williams <dcbw@redhat.com>
3900 * libnm-util/nm-setting-ppp.c
3901 libnm-util/nm-setting-ppp.h
3902 src/ppp-manager/nm-ppp-manager.c
3903 - Remove the 'usepeerdns' option and always request DNS servers from
3904 the PPP server; the connection chooses to use/override/ignore the
3905 DNS servers returned from the PPP server
3907 2008-04-18 Dan Williams <dcbw@redhat.com>
3909 * libnm-util/nm-setting-ppp.c
3910 libnm-util/nm-setting-ppp.h
3911 src/ppp-manager/nm-ppp-manager.c
3912 - Remove the 'require-mppc' option, because pppd doesn't support it and
3913 it seems to have been an erroneous addition to the PPTP plugin in
3914 the first place (from which the ppp-manager is derived)
3916 2008-04-17 Dan Williams <dcbw@redhat.com>
3918 * libnm-util/nm-setting-pppoe.c
3919 - (verify): require a PPP setting too
3921 * src/ppp-manager/nm-ppp-manager.c
3922 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3925 2008-04-17 Dan Williams <dcbw@redhat.com>
3928 - (nm_device_state_changed): do deactivation and and promotion to
3929 unavailable here, so that the device gets cleaned up before the
3930 manager runs and starts emitting signals; do the
3931 FAILED->DISCONNECTED transition from an idle handler rather than
3932 immediately to guard against recursion
3933 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3934 FAILED->DISCONNECTED handler if it's scheduled
3936 2008-04-17 Dan Williams <dcbw@redhat.com>
3938 * src/nm-device-802-11-wireless.c
3939 - (state_changed_cb): clear AP list when device transitions to
3940 unavailable or unmanaged
3941 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3942 since this is already done in device_cleanup()
3943 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3944 isn't available or managed
3945 - (device_cleanup): use remove_all_aps()
3946 - (remove_all_aps): consolidate code removing all APs
3948 2008-04-17 Dan Williams <dcbw@redhat.com>
3950 * src/nm-serial-device.c
3951 src/nm-serial-device.h
3952 - (wait_for_reply_got_data): break input into lines, and search each
3953 line for responses _and_ terminator strings; also make sure that
3954 the read loop doesn't continue after the timeout is supposed to fire
3955 - (nm_serial_device_wait_for_reply): take an array of terminators too
3957 * src/nm-gsm-device.c
3958 src/nm-cdma-device.c
3959 - Send terminators to nm_serial_device_wait_for_reply()
3961 2008-04-16 Dan Williams <dcbw@redhat.com>
3963 Patch from 陈鑫 <znscnchen@gmail.com>
3965 * src/ppp-manager/nm-pppd-plugin.c
3966 - (get_credentials): return correct value for success; handle case where
3967 pppd just does some checking but doesn't want a password
3968 - (plugin_init): make CHAP work too
3970 2008-04-16 Dan Williams <dcbw@redhat.com>
3972 Patch from 陈鑫 <znscnchen@gmail.com>
3974 * src/ppp-manager/nm-ppp-manager.c
3975 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3977 2008-04-16 Dan Williams <dcbw@redhat.com>
3979 Patch from 陈鑫 <znscnchen@gmail.com>
3981 * src/nm-device-802-3-ethernet.c
3982 - (real_deactivate_quickly): clear the IP interface name on
3983 deactivation, otherwise the wrong interface might get used later
3984 for routing and IP management
3986 2008-04-15 Dan Williams <dcbw@redhat.com>
3988 * libnm-glib/nm-device.c
3989 - (get_product_and_vendor): handle serial devices correctly
3990 - (nm_device_update_description): pass device to get_product_and_vendor()
3992 2008-04-15 Dan Williams <dcbw@redhat.com>
3994 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3996 * src/NetworkManagerSystem.h
3997 src/backends/NetworkManagerArch.c
3998 src/backends/NetworkManagerDebian.c
3999 src/backends/NetworkManagerFrugalware.c
4000 src/backends/NetworkManagerGeneric.c
4001 src/backends/NetworkManagerGeneric.h
4002 src/backends/NetworkManagerGentoo.c
4003 src/backends/NetworkManagerMandriva.c
4004 src/backends/NetworkManagerPaldo.c
4005 src/backends/NetworkManagerRedHat.c
4006 src/backends/NetworkManagerSlackware.c
4007 src/backends/NetworkManagerSuSE.c
4009 - (nm_generic_device_add_ip6_link_address,
4010 nm_system_device_add_ip6_link_address): remove
4012 2008-04-15 Dan Williams <dcbw@redhat.com>
4014 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4016 * src/backends/NetworkManagerArch.c
4017 src/backends/NetworkManagerDebian.c
4018 src/backends/NetworkManagerFrugalware.c
4019 src/backends/NetworkManagerGeneric.c
4020 src/backends/NetworkManagerGeneric.h
4021 src/backends/NetworkManagerGentoo.c
4022 src/backends/NetworkManagerMandriva.c
4023 src/backends/NetworkManagerPaldo.c
4024 src/backends/NetworkManagerRedHat.c
4025 src/backends/NetworkManagerSlackware.c
4026 src/backends/NetworkManagerSuSE.c
4027 src/NetworkManagerSystem.h
4028 - flush_routes -> flush_ip4_routes
4029 - flush_addresses -> flush_ip4_addresses
4031 * src/NetworkManagerSystem.c
4033 src/vpn-manager/nm-vpn-connection.c
4034 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4036 2008-04-15 Dan Williams <dcbw@redhat.com>
4038 Remove exposure of wireless-tools mode types in the API.
4040 * include/NetworkManager.h
4041 - Define NM80211Mode enum
4043 * introspection/generic-types.xml
4044 - Describe NM_802_11_MODE enum
4045 - Remove IW_MODE_* enum
4047 * introspection/nm-access-point.xml
4048 libnm-glib/nm-access-point.c
4049 libnm-glib/nm-access-point.h
4050 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4052 * introspection/nm-device-802-11-wireless.xml
4053 libnm-glib/nm-device-802-11-wireless.c
4054 libnm-glib/nm-device-802-11-wireless.h
4055 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4057 * libnm-util/nm-setting-wireless.c
4058 src/NetworkManagerAP.c
4059 src/NetworkManagerAP.h
4060 src/nm-device-802-11-wireless.c
4061 src/nm-device-802-11-wireless.h
4063 - Use NM80211Mode not IW_MODE_*
4065 2008-04-15 Dan Williams <dcbw@redhat.com>
4067 Enhance nm-online based on a patch from Bill Nottingham.
4071 - Add help messages and option summary
4072 - Add long-format options
4073 - Add a '-x' option to exit if NM isn't running or isn't connecting
4075 2008-04-15 Tambet Ingo <tambet@gmail.com>
4077 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4079 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4081 2008-04-15 Dan Williams <dcbw@redhat.com>
4083 * nm-setting-ip4-config.c
4084 - (ip4_addresses_from_gvalue): handle NULL address array
4086 * nm-setting-8021x.c
4087 - (verify_tls, verify_ttls): warn on failed verification
4089 2008-04-10 Dan Williams <dcbw@redhat.com>
4091 * src/nm-gsm-device.c
4092 - (automatic_registration): accept "+CREG: 0,0"
4093 - (automatic_registration_response): fail on "+CREG: 0,0"
4095 2008-04-10 Tambet Ingo <tambet@gmail.com>
4097 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4099 2008-04-10 Tambet Ingo <tambet@gmail.com>
4101 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4102 Make it compile again by commenting out broken code that at first didn't work and
4103 now didn't compile either.
4105 2008-04-08 Dan Williams <dcbw@redhat.com>
4107 * libnm-glib/nm-object-cache.c
4108 libnm-glib/nm-settings.c
4109 src/dhcp-manager/nm-dhcp-manager.c
4110 system-settings/plugins/ifcfg-fedora/plugin.c
4111 system-settings/plugins/ifcfg-suse/plugin.c
4112 system-settings/src/nm-system-config-hal-manager.c
4113 libnm-util/nm-utils.c
4114 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4115 not threadsafe anyway
4117 2008-04-08 Dan Williams <dcbw@redhat.com>
4119 * system-settings/src/main.c
4120 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4121 callbacks take a device type too
4123 2008-04-08 Dan Williams <dcbw@redhat.com>
4125 The system settings service will now create a new default DHCP connection
4126 for wired devices that have no existing applicable connection.
4128 * system-settings/src/nm-system-config-hal-manager.c
4129 system-settings/src/nm-system-config-hal-manager.h
4130 - (nm_system_config_hal_manager_get_type_for_udi): new function
4132 * system-settings/src/dbus-settings.c
4133 system-settings/src/dbus-settings.h
4134 - (nm_sysconfig_settings_get_connections): new function
4135 - (nm_sysconfig_settings_is_device_managed): new function
4137 * system-settings/src/main.c
4138 - (load_stuff): check for wired devices that need a default connection
4139 - (get_details_for_udi): get interface and MAC address from HAL
4140 - (add_default_dhcp_connection): add a default connection for a wired
4142 - (device_added_cb, device_removed_cb): do the right thing with
4143 wired devices and their default connections on HAL device events
4145 2008-04-07 Dan Williams <dcbw@redhat.com>
4147 * libnm-glib/nm-device.c
4148 libnm-glib/nm-device.h
4149 - Proxy the 'managed' property
4151 2008-04-07 Dan Williams <dcbw@redhat.com>
4153 * src/nm-gsm-device.c
4154 src/nm-cdma-device.c
4155 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4156 handler to transition to DISCONNECTED
4158 2008-04-07 Dan Williams <dcbw@redhat.com>
4160 Patch from Bill Nottingham
4162 * dispatcher-daemon/NetworkManagerDispatcher.c
4163 - ignore backup/packaging crufy (rh #440143)
4165 2008-04-07 Dan Williams <dcbw@redhat.com>
4167 * include/NetworkManager.h
4168 - Remove the DOWN and CANCELLED device states
4169 - Add UNMANAGED and UNAVAILABLE device states
4170 - Document the device states
4172 * introspection/nm-device.xml
4173 src/nm-device-interface.c
4174 src/nm-device-interface.h
4175 - Add the 'managed' property
4178 - (detail_device): print out device state
4180 * src/NetworkManagerSystem.h
4181 src/backends/NetworkManagerArch.c
4182 src/backends/NetworkManagerDebian.c
4183 src/backends/NetworkManagerFrugalware.c
4184 src/backends/NetworkManagerGentoo.c
4185 src/backends/NetworkManagerMandriva.c
4186 src/backends/NetworkManagerPaldo.c
4187 src/backends/NetworkManagerRedHat.c
4188 src/backends/NetworkManagerSlackware.c
4189 src/backends/NetworkManagerSuSE.c
4190 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4191 nm_system_device_free_system_config): remove; they were unused and
4192 their functionality should be re-implemented in each distro's
4193 system settings service plugin
4195 * src/nm-gsm-device.c
4197 src/nm-cdma-device.c
4198 src/nm-cdma-device.h
4199 - (*_new): take the 'managed' argument
4202 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4203 - (nm_device_init): start in unmanaged state, not disconnected
4204 - (constructor): don't start device until the system settings service
4205 has had a chance to figure out if the device is managed or not
4206 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4207 don't set device state here, let callers handle that as appropriate
4208 - (nm_device_dispose): don't touch the device if it's not managed
4209 - (set_property, get_property, nm_device_class_init): implement the
4211 - (nm_device_state_changed): bring the device up if its now managed,
4212 and deactivate it if it used to be active
4213 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4214 with the managed state
4216 * src/nm-hal-manager.c
4217 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4218 take initial managed state and pass it along to device constructors
4219 - (create_device_and_add_to_list): get managed state and pass to
4222 * src/nm-device-802-11-wireless.c
4223 - (real_can_activate): fold in most of
4224 nm_device_802_11_wireless_can_activate()
4225 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4226 - (link_timeout_cb): instead of deactivating, change device state and
4227 let the device state handler to it
4228 - (real_update_hw_address): clean up
4229 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4230 handler to transition to DISCONNECTED if the device isn't rfkilled
4232 * src/nm-device-802-3-ethernet.c
4233 - (set_carrier): move above callers and get rid of prototype
4234 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4235 idle handler to transition to DISCONNECTED if the device has a
4237 - (real_update_hw_address): clean up
4238 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4239 deactivation directly as deactivation doesn't change state anymore
4241 * src/NetworkManagerPolicy.c
4242 - (schedule_activate_check): yay, remove wireless_enabled hack since
4243 the NMManager and wireless devices work that out themselves now
4244 - (device_state_changed): change to a switch and update for new device
4246 - (device_carrier_changed): remove; device handles this now through
4248 - (device_added): don't care about carrier any more; the initial
4249 activation check will happen when the device transitions to
4253 - (dispose): clear unmanaged devices
4254 - (handle_unmanaged_devices): update unmanaged device list and toggle
4255 the managed property on each device when needed
4256 - (system_settings_properties_changed_cb): handle signals from the
4257 system settings service
4258 - (system_settings_get_unmanaged_devices_cb): handle callback from
4259 getting the unmanaged device list method call
4260 - (query_unmanaged_devices): ask the system settings service for its
4261 list of unmanaged devices
4262 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4264 - (manager_set_wireless_enabled): push rfkill state down to wireless
4265 devices directly and let them handle the necessary state transitions
4266 - (manager_device_state_changed): update for new device states
4267 - (nm_manager_add_device): set initial rfkill state on wireless devices
4268 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4269 - (nm_manager_activate_connection): return error if the device is
4271 - (nm_manager_sleep): handle new device states correctly; don't change
4272 the state of unavailable/unmanaged devices
4274 * libnm-glib/nm-device-802-11-wireless.c
4275 - (state_changed_cb): update for new device states
4277 2008-04-07 Dan Williams <dcbw@redhat.com>
4279 * marshallers/nm-marshal.list
4280 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4282 2008-04-07 Dan Williams <dcbw@redhat.com>
4284 * system-settings/src/main.c
4285 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4286 plugins to the dbus settings object
4287 - (load_stuff): start the dbus service after grabbing unmanaged devices
4288 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4289 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4290 - (main): switch default logging to syslog with a 'debug' option to
4291 output to console; start up the HAL manager
4293 2008-04-07 Dan Williams <dcbw@redhat.com>
4295 * introspection/nm-settings-system.xml
4296 introspection/Makefile.am
4297 - Define the unmanaged devices interface for the system settings service
4299 * system-settings/src/nm-system-config-hal-manager.c
4300 system-settings/src/nm-system-config-hal-manager.h
4301 system-settings/src/nm-system-config-hal-manager-private.h
4302 system-settings/src/Makefile.am
4303 - Add a lightweight HAL manager object for tracking network devices for
4304 the purpose of determining unmanaged devices and which devices need
4305 the default DHCP connections
4307 * system-settings/src/nm-system-config-interface.c
4308 system-settings/src/nm-system-config-interface.h
4309 - (nm_system_config_interface_init): add the HAL manager as an argument
4310 - (nm_system_config_interface_get_unmanaged_devices): implement
4311 - Define 'unmanaged-devices-changed' signal
4313 * system-settings/src/dbus-settings.c
4314 system-settings/src/dbus-settings.h
4315 - Implement the unmanaged devices interface; some cleanups
4317 * system-settings/plugins/ifcfg-suse/plugin.c
4318 - Fixup for plugin interface changes
4320 * system-settings/plugins/ifcfg-fedora/plugin.c
4321 - (get_ether_device_udi): new function; find the device that has
4322 a specified MAC address and return its UDI
4323 - (get_udi_for_connection): new function; try to find the specific
4324 device a connection is locked to, if any
4325 - (device_added_cb, device_removed_cb): update unmanaged device list in
4326 response to HAL events
4327 - (get_unmanaged_devices): new function; return unmanaged device list
4328 - (build_one_connection): set the connection's locked device, if any
4329 - (write_auto_wired_connection): remove
4330 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4331 - (handle_connection_changed): alert listeners that the unmanaged device
4333 - (init): fixup for plugin interface changes, implement unmanaged devices
4335 * system-settings/plugins/ifcfg-fedora/parser.c
4336 system-settings/plugins/ifcfg-fedora/parser.h
4337 - (connection_data_free): clean up connection UDI
4339 2008-04-07 Dan Williams <dcbw@redhat.com>
4341 * system-settings/plugins/ifcfg-fedora/parser.c
4342 - (make_ip4_setting): fix parsing of DNS servers
4344 2008-04-05 Dan Williams <dcbw@redhat.com>
4348 marshallers/Makefile.am
4349 marshallers/nm-marshal-main.c
4350 marshallers/nm-marshal.list
4351 - Consolidate marshallers
4353 * libnm-glib/nm-marshal-main.c
4354 libnm-glib/nm-marshal.list
4355 src/marshallers/Makefile.am
4356 src/marshallers/nm-marshal-main.c
4357 src/marshallers/nm-marshal.list
4360 * libnm-glib/Makefile.am
4362 src/dhcp-manager/Makefile.am
4363 src/ppp-manager/Makefile.am
4364 src/supplicant-manager/Makefile.am
4365 src/vpn-manager/Makefile.am
4366 - Use consolidated marshallers
4368 2008-04-04 Dan Williams <dcbw@redhat.com>
4370 * src/nm-hal-manager.c
4371 src/nm-hal-manager.h
4372 - (hal_init): don't look for hardware here
4373 - (nm_hal_manager_start): new function; look for hardware here instead,
4374 which can be done at a later time than hal_init()
4376 * src/NetworkManager.c
4377 - (main): start HAL manager after entering the main loop
4379 2008-04-03 Dan Williams <dcbw@redhat.com>
4381 * libnm-glib/nm-settings.c
4382 libnm-glib/nm-settings.h
4383 - (nm_exported_connection_get_id): new function
4384 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4386 2008-04-02 Dan Williams <dcbw@redhat.com>
4388 * src/nm-device-interface.c
4389 src/nm-device-interface.h
4392 - Rename check_connection_conflicts() to check_connection_compatible()
4394 * src/nm-device-802-11-wireless.c
4395 - (real_check_connection_conflicts): remove
4396 - (real_check_connection_compatible): implement; match MAC address
4398 * src/nm-device-802-3-ethernet.c
4399 - (real_check_connection_conflicts): remove
4400 - (real_check_connection_compatible): implement; match MAC address
4401 - (real_get_best_auto_connection): correctly handle PPPoE cases
4404 - (check_connection_allowed): remove; unused until PolicyKit integration
4405 - (internal_activate_device): check whether the connection is compatible
4406 with the device before trying to activate it
4408 2008-04-02 Dan Williams <dcbw@redhat.com>
4410 * system-settings/plugins/ifcfg-fedora/parser.c
4411 - (read_mac_address): new function; read in MAC address and stuff it
4413 - (add_one_wep_key): remove debug spew
4414 - (make_wireless_security_setting): validate the default TX key; don't
4415 add the wireless-security setting if the connection doesn't need
4416 security; don't leak the keys shvarFile on error cases
4417 - (make_wireless_setting, make_wired_setting): populate device's MAC
4420 2008-04-02 Dan Williams <dcbw@redhat.com>
4422 * libnm-util/nm-setting-connection.c
4423 libnm-util/nm-setting-connection.h
4424 - (set_property, get_property, nm_setting_connection_class_init): remove
4425 the 'lockdown' property; it's functionality will be replaced by
4428 2008-04-01 Dan Williams <dcbw@redhat.com>
4430 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4433 initscript/Makefile.am
4434 initscript/Mandriva/Makefile.am
4435 initscript/Mandriva/networkmanager.in
4436 initscript/Mandriva/networkmanagerdispatcher.in
4437 src/backends/Makefile.am
4438 src/backends/NetworkManagerMandriva.c
4439 system-settings/plugins/Makefile.am
4440 - Add Mandriva support
4442 2008-03-31 Dan Williams <dcbw@redhat.com>
4444 * src/vpn-manager/nm-vpn-service.c
4445 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4446 errors can be passed back to the caller; also no longer scheduled
4447 as an idle handler, but called directly; and bump up VPN service
4448 spawn timeout, 2s is really short
4449 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4450 but call it directly so that errors are reported on return from
4451 ActivateConnection() and don't get lost. If scheduled as an idle
4452 handler, clients don't have the time to query NM for the new VPN
4453 connection's properties before the VPN connection is torn down again
4454 if the service couldn't be launched, and therefore launch errors
4457 2008-03-31 Dan Williams <dcbw@redhat.com>
4459 * src/vpn-manager/nm-vpn-connection.c
4460 - (device_state_changed): send correct state on device failure too
4461 - (plugin_state_changed): failed state means unexpected disconnection,
4462 thus if the service goes away while the VPN connection is activated
4463 that's a failure too
4465 2008-03-31 Dan Williams <dcbw@redhat.com>
4467 * src/vpn-manager/nm-vpn-manager.c
4468 src/vpn-manager/nm-vpn-manager.h
4469 - Make VPNManager errors more available; add a service-start-failed error
4471 2008-03-31 Dan Williams <dcbw@redhat.com>
4473 * libnm-glib/nm-client.c
4474 libnm-glib/nm-client.h
4475 - (activate_cb): pass the new active connection to callback; fix
4476 message when no callback is specified
4478 2008-03-30 Dan Williams <dcbw@redhat.com>
4480 * libnm-util/nm-setting-wireless-security.c
4481 - (need_secrets): only require key0 if the transmit key index is also
4483 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4485 2008-03-29 Dan Williams <dcbw@redhat.com>
4487 * libnm-util/nm-setting-8021x.c
4488 libnm-util/nm-setting-ip4-config.c
4489 libnm-util/nm-setting-vpn-properties.c
4490 libnm-util/nm-setting-vpn.c
4491 libnm-util/nm-setting-wireless-security.c
4492 libnm-util/nm-setting-wireless.c
4493 libnm-util/nm-utils.c
4494 src/dhcp-manager/nm-dhcp-manager.c
4495 src/nm-activation-request.c
4498 src/nm-properties-changed-signal.c
4499 src/ppp-manager/nm-pppd-plugin.c
4500 src/supplicant-manager/nm-supplicant-interface.c
4501 src/vpn-manager/nm-vpn-connection.c
4502 - consistently use nm-dbus-glib-types.h
4504 2008-03-29 Dan Williams <dcbw@redhat.com>
4506 * src/vpn-manager/nm-vpn-connection.c
4507 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4510 * src/nm-activation-request.c
4511 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4514 2008-03-29 Dan Williams <dcbw@redhat.com>
4516 * libnm-glib/nm-device-802-11-wireless.c
4517 - (access_point_added_proxy): create new APs if not found
4519 2008-03-29 Dan Williams <dcbw@redhat.com>
4521 * libnm-glib/nm-client.c
4522 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4525 2008-03-29 Dan Williams <dcbw@redhat.com>
4527 * system-settings/plugins/ifcfg-fedora/parser.c
4528 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4529 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4531 2008-03-29 Dan Williams <dcbw@redhat.com>
4533 * system-settings/plugins/ifcfg-fedora/parser.c
4534 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4536 2008-03-27 Dan Williams <dcbw@redhat.com>
4539 - (nm_object_queue_notify): don't notify multiple times for the same
4542 * nm-object-private.h
4543 - (handle_ptr_array_return): return NULL if the given array is NULL or
4544 if it has zero elements
4547 - (finalize): use g_ptr_array_foreach() when freeing domains
4548 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4550 * nm-active-connection.c
4551 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4553 * nm-device-802-11-wireless.c
4554 nm-device-802-11-wireless.h
4555 - (nm_device_802_11_wireless_get_access_points): return const; use
4556 handle_ptr_array_return()
4559 - (nm_object_array_demarshal): always create an array, even of length
4560 zero, to distinguish between "NM returned no items" and "haven't
4564 - (dispose): free active connections too
4565 - (proxy_name_owner_changed): free active connections too when NM goes
4567 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4568 - (nm_client_get_active_connections): use handle_ptr_array_return()
4570 2008-03-26 Dan Williams <dcbw@redhat.com>
4572 Rework VPN connection handling for a more consistent D-Bus API. The
4573 VPNManager object has been removed, and active VPN connections are now the
4574 same as any other active connection. The Manager object's ActivateConnection
4575 and DeactivateConnection methods are used to start and stop a VPN connection,
4576 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4577 When activating a VPN connection, pass the path of the active connection
4578 to which the VPN connection is tied in the 'specific_object' argument.
4580 Consequently, the libnm-glib API has been reworked to match this arrangement,
4581 with the VPNManager object removed, and the NMVPNConnection objects now
4582 being subclasses of NMActiveConnection.
4584 2008-03-25 Dan Williams <dcbw@redhat.com>
4586 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4588 * initscript/Arch/networkmanager.in
4589 initscript/Arch/networkmanager-dispatcher.in
4590 - Updates for Arch Linux (gnome.org #523701)
4592 2008-03-25 Dan Williams <dcbw@redhat.com>
4594 * libnm-glib/nm-ip4-config.c
4595 libnm-glib/nm-active-connection.c
4596 libnm-glib/nm-access-point.c
4597 - Use nm_object_queue_notify() instead of g_object_notify()
4599 * libnm-glib/nm-device.c
4600 - (demarshal_ip4_config): distinguish between successful but missing
4601 ip4-config request, and unsuccessful and missing ip4-config request
4602 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4604 - Use nm_object_queue_notify() instead of g_object_notify()
4606 * libnm-glib/nm-device-802-11-wireless.c
4607 - (demarshal_active_ap): distinguish between successfull but missing
4608 active-ap request, and unsuccessful and missing active-ap request
4609 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4611 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4612 for the NMClient to notify the device that wireless is disabled,
4613 and therefore to clear the AP list and active AP
4614 - Use nm_object_queue_notify() instead of g_object_notify()
4616 * libnm-glib/nm-client.c
4617 - (poke_wireless_devices_with_rf_status): new function
4618 - (update_wireless_status): notify wireless devices of the rfkill status
4619 so they can clean up if needed
4620 - Use nm_object_queue_notify() instead of g_object_notify()
4622 2008-03-25 Dan Williams <dcbw@redhat.com>
4624 * libnm-glib/nm-object.c
4625 libnm-glib/nm-object-private.h
4626 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4627 signals to an idle handler
4628 - (nm_object_get_property): add a timeout to the D-Bus method call
4630 2008-03-25 Dan Williams <dcbw@redhat.com>
4632 * introspection/nm-device-cdma.xml
4633 introspection/nm-device-gsm.xml
4634 introspection/Makefile.am
4635 introspection/all.xml
4636 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4638 * src/nm-gsm-device.h
4640 src/nm-cdma-device.h
4641 src/nm-cdma-device.c
4643 - Implement PropertiesChanged signals
4645 * libnm-glib/nm-cdma-device.c
4646 libnm-glib/nm-cdma-device.c
4647 - Attach to PropertiesChanged signals
4649 2008-03-24 Dan Williams <dcbw@redhat.com>
4651 * libnm-glib/nm-client.c
4652 - (client_device_added_proxy): add new devices to the internal device
4653 list so they appear to clients
4655 2008-03-24 Dan Williams <dcbw@redhat.com>
4657 Massive fixup of libnm-glib to:
4658 a) have all objects (with the exception of VPN) cache their properties and
4659 update them asynchronously on PropertiesChanged signals from NM
4660 b) return internal const data for most attributes/properties instead of
4661 allocated values that the caller must free
4662 c) cache wrapped objects such that a given D-Bus path will always map to the
4663 same GObject returned by libnm-glib
4664 d) remove a few signals and move them to GObject property notifications
4665 e) match recent NM D-Bus API changes for activation/deactivation
4666 f) remove some private functions from libnm-glib headers
4668 2008-03-20 Dan Williams <dcbw@redhat.com>
4671 - (nm_manager_update_state, manager_device_state_changed,
4672 nm_manager_activate_device, connection_added_default_handler,
4673 impl_manager_activate_connection, impl_manager_deactivate_connection):
4674 queue PropertyChanged singals when the active connections change
4676 2008-03-20 Dan Williams <dcbw@redhat.com>
4678 * introspection/nm-manager.xml
4679 introspection/nm-manager-client.xml
4680 - (ActivateConnection): return the object path of the active connection
4682 - (GetActiveConnections): remove
4683 - (DeactivateConnection): new function; deactivate a currently active
4685 - Add an ActiveConnections property which returns an array of
4686 active connection object paths
4688 * introspection/nm-device.xml
4689 - (Deactivate): remove
4691 * introspection/all.xml
4692 - Add ActiveConnection introspection
4694 * introspection/nm-active-connection.xml
4695 - Add the ActiveConnection object
4697 * include/NetworkManager.h
4698 - Add the Connection.Active D-Bus interface
4700 * src/nm-device-interface.c
4701 - (impl_device_deactivate): remove
4703 * src/nm-activation-request.c
4704 src/nm-activation-request.c
4706 - Implement the Connection.Active D-Bus interface
4709 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4710 - (nm_manager_activate_device): return the active connection path
4711 - (connection_added_default_handler, impl_manager_activate_connection):
4712 return the active connection to the caller
4713 - (add_one_connection_element, impl_manager_get_active_connections):
4715 - (impl_manager_deactivate_connection): new function; deactivate an
4718 * libnm-glib/nm-device.c
4719 libnm-glib/nm-device.h
4720 - Remove Deactivate() function
4722 2008-03-19 Dan Williams <dcbw@redhat.com>
4724 * introspection/nm-manager.xml
4725 introspection/nm-manager-client.xml
4726 - Rename the ActivateDevice method to ActivateConnection to better
4727 reflect it's usage; it's arguments get reordered a bit too
4728 - Convert GetActiveConnections method return from a struct to a dict
4730 * include/NetworkManager.h
4731 - Define the dict keys for return value of GetActiveConnections
4734 - impl_manager_activate_device -> impl_manager_activate_connection
4735 - (add_one_connection_element): return a populated hash table, not
4738 * libnm-glib/nm-client.c
4739 libnm-glib/nm-client.h
4740 - nm_client_activate_device -> nm_client_activate_connection
4741 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4742 - (nm_client_get_active_connections): return a GSList of GHashTables,
4743 instead of the custom structures. Each element of the returned list
4744 must be freed with nm_client_free_active_connections_element()
4746 2008-03-18 Dan Williams <dcbw@redhat.com>
4748 * system-settings/plugins/ifcfg-fedora/parser.c
4749 system-settings/plugins/ifcfg-fedora/parser.h
4750 system-settings/plugins/ifcfg-fedora/plugin.c
4751 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4752 profiles. DNS servers and searches must now be stored in the ifcfg
4755 2008-03-18 Tambet Ingo <tambet@gmail.com>
4757 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4758 print out username and password, it's supposed to be a secret.
4760 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4761 request and set the device state accordingly.
4763 2008-03-18 Tambet Ingo <tambet@gmail.com>
4765 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4767 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4769 2008-03-18 Dan Williams <dcbw@redhat.com>
4771 * src/vpn-manager/nm-vpn-connection.c
4772 - (get_secrets_cb): handle new GetSecrets return format
4774 2008-03-18 Dan Williams <dcbw@redhat.com>
4776 Adapt system settings service for split 802.1x.
4778 * system-settings/src/nm-system-config-interface.h
4779 - clarify return value of get_secrets()
4781 * system-settings/src/dbus-settings.c
4782 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4783 - (check_for_secrets): check if there actually secrets returned by a
4785 - (exported_connection_get_secrets): just return the plugin-returned
4786 hash of settings' secrets if it looks valid
4788 * system-settings/plugins/ifcfg-fedora/plugin.c
4789 - (get_secrets): add split secrets with correct format to reply hash
4791 * system-settings/plugins/ifcfg-fedora/parser.c
4792 system-settings/plugins/ifcfg-fedora/parser.h
4793 - (copy_one_cdata_secret, connection_data_copy_secrets,
4794 connection_data_free, connection_data_add): keep secrets for
4795 different settings in different hashes
4797 2008-03-17 Tambet Ingo <tambet@gmail.com>
4799 Clean up activating device deactivation.
4801 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4802 should be done whether the device activation gets cancelled or the device
4803 is just getting deactivated.
4804 (nm_device_activation_cancel): Remove.
4805 (nm_device_deactivate_quickly): Handle the case where device is activating.
4807 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4808 It does the exact same thing as real_deactivate_quickly().
4810 2008-03-17 Dan Williams <dcbw@redhat.com>
4812 Split the 802.1x bits out of the wireless-security setting so they are
4813 generalized enough for wired 802.1x to use too.
4815 * introspection/nm-exported-connection.xml
4816 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4817 of just a hash of the secrets for one setting
4819 * libnm-util/nm-setting-wireless-security.c
4820 libnm-util/nm-setting-wireless-security.h
4821 - Remove 802.1x-specific stuff
4822 - Added leap-username and leap-password properties for old-school LEAP
4826 - (connection_secrets_updated_cb): take a list of updated settings names,
4829 * src/supplicant-manager/nm-supplicant-config.c
4830 src/supplicant-manager/nm-supplicant-config.h
4831 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4832 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4833 to nm_supplicant_config_add_setting_8021x()
4834 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4835 the supplicant config
4837 * src/nm-device-802-11-wireless.c
4838 - (build_supplicant_config): pass in the 802.1x setting too, if any
4839 - (real_connection_secrets_updated): take a list of updated settings
4842 * src/nm-device-802-3-ethernet.c
4843 src/nm-cdma-device.c
4845 - (real_connection_secrets_updated_cb): take a list of updated settings
4848 * src/nm-activation-request.c
4849 src/nm-activation-request.h
4850 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4851 now passes a list of updated settings names, not just one
4852 - (update_one_setting): new function; handle one updated setting
4853 - (get_secrets_cb): handle multiple settings returned from the
4854 settings service; have to be careful of ordering here as there are
4855 some dependencies between settings (ex. wireless-security and 802.1x
4858 * src/marshallers/nm-marshal.list
4859 - new marshaller for connection-secrets-updated signal
4861 * libnm-util/nm-setting-8021x.c
4862 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4864 - (verify): a valid 'eap' property is now required
4866 * libnm-util/nm-connection.c
4867 - (register_default_settings): add priorities to settings; there are
4868 some dependencies between settings, and during the need_secrets
4869 calls this priority needs to be respected. For example, only the
4870 wireless-security setting knows whether or not the connection is
4871 going to use 802.1x or now, so it must be asked for secrets before
4872 any existing 802.1x setting is
4873 - (nm_connection_lookup_setting_type): expose
4875 * libnm-util/nm-setting-wireless.c
4876 - (verify): should verify even if all_settings is NULL; otherwise won't
4877 catch the case where there is missing security
4879 * libnm-util/nm-setting-wireless-security.c
4880 - Remove everything to do with 802.1x
4881 - Add old-school LEAP specific properties for username and password
4882 - (need_secrets): rework LEAP secrets checking
4883 - (verify): rework for LEAP and 802.1x verification
4885 2008-03-17 Dan Williams <dcbw@redhat.com>
4887 * src/NetworkManagerPolicy.c
4888 - (auto_activate_device): always remove the current activation check
4889 from the pending activation list, otherwise when the policy gets
4890 destroyed on NM exit it will attempt to free the already freed
4893 2008-03-14 Tambet Ingo <tambet@gmail.com>
4895 * src/backends/NetworkManagerSlackware.c
4896 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4898 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4900 2008-03-14 Dan Williams <dcbw@redhat.com>
4903 - (nm_device_interface_get_iface): g_object_get() will return an
4904 allocated value, so this function must not return const
4905 - (nm_device_interface_activate): free returned iface
4907 2008-03-14 Tambet Ingo <tambet@gmail.com>
4909 * libnm-util/Makefile.am: Add new files to build.
4911 * libnm-util/nm-connection.c: Register NMSetting8021x.
4913 * libnm-util/nm-setting-8021x.c
4914 * libnm-util/nm-setting-8021x.h: Implement.
4916 2008-03-14 Tambet Ingo <tambet@gmail.com>
4918 * libnm-util/Makefile.am: Add new files to build.
4920 * libnm-util/nm-connection.c: Register NMSetting8021x.
4922 * libnm-util/nm-setting-8021x.c
4923 * libnm-util/nm-setting-8021x.h: Implement.
4925 2008-03-14 Tambet Ingo <tambet@gmail.com>
4927 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4930 2008-03-14 Dan Williams <dcbw@redhat.com>
4932 * include/wireless-helper.h
4934 - One place for all the junk needed for #including wireless.h
4937 src/NetworkManagerAP.c
4940 libnm-util/nm-utils.c
4941 libnm-util/nm-setting-wireless.c
4942 libnm-glib/nm-device-802-11-wireless.c
4943 libnm-glib/nm-access-point.c
4944 libnm-glib/libnm-glib-test.c
4945 - include wireless-helper.h, not iwlib.h
4948 - Don't need libiw really, just need to check for wireless.h
4950 * src/kernel-types.h
4951 - Remove; used types moved into wpa.c
4953 * src/nm-device-802-11-wireless.c
4954 - (nm_device_802_11_wireless_update_signal_strength,
4955 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4956 nm_device_802_11_wireless_set_mode,
4957 nm_device_802_11_wireless_get_frequency,
4958 nm_device_802_11_wireless_get_ssid,
4959 nm_device_802_11_wireless_set_ssid,
4960 nm_device_802_11_wireless_get_bitrate,
4961 nm_device_802_11_wireless_get_bssid,
4962 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4963 instead of iwlib functions
4965 2008-03-14 Dan Williams <dcbw@redhat.com>
4967 * src/ppp-manager/nm-ppp-manager.c
4968 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4969 should only take the DBusGMethodInvocation argument, not user/pass
4970 too. With dbus-glib, async functions only take 2 C arguments since
4971 the real dbus method arguments get passed back with
4972 dbus_g_method_return()
4974 2008-03-13 Tambet Ingo <tambet@gmail.com>
4976 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4977 Adapt the changes of NMSettingIP4Config.
4979 2008-03-13 Dan Williams <dcbw@redhat.com>
4981 * src/NetworkManagerUtils.c
4982 src/NetworkManagerUtils.h
4983 - (nm_ether_ntop): replacement for iw_ether_ntop()
4985 * src/NetworkManagerAP.c
4986 src/nm-device-802-11-wireless.c
4987 src/nm-device-802-3-ethernet.c
4988 - s/iw_ether_ntop/nm_ether_ntop/g
4990 2008-03-13 Dan Williams <dcbw@redhat.com>
4992 * src/NetworkManagerPolicy.c
4993 - (update_routing_and_dns): never set the default route through an
4994 IPv4LL addressed device
4996 2008-03-13 Dan Williams <dcbw@redhat.com>
4998 * NetworkManagerUtils.c
4999 NetworkManagerUtils.h
5000 - Remove NMSock stuff
5001 - Remove the completion stuff
5006 NetworkManagerSystem.c
5008 nm-device-802-11-wireless.c
5009 nm-device-802-3-ethernet.c
5010 - Remove NMSock and completion stuff
5011 - Remove nm_ioctl_info()
5013 2008-03-12 Dan Williams <dcbw@redhat.com>
5016 - (merge_ip4_config): avoid duplicates
5018 2008-03-12 Dan Williams <dcbw@redhat.com>
5020 * libnm-util/nm-setting-ip4-config.c
5021 libnm-util/nm-setting-ip4-config.h
5022 - Remove 'manual' and 'autoip' properties
5023 - Add 'method' property
5024 - (verify): fix verification with 'method'
5025 - (finalize): free 'method'
5026 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5030 - (real_act_stage3_ip_config_start): check IP4Config method
5031 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5033 - (merge_ip4_config): IP settings are valid with DHCP too
5034 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5035 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5037 * src/nm-device-802-11-wireless.c
5038 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5039 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5042 * system-settings/plugins/ifcfg-fedora/parser.c
5043 system-settings/plugins/ifcfg-suse/parser.c
5044 - (make_ip4_setting): fix up for 'method'
5046 2008-03-12 Dan Williams <dcbw@redhat.com>
5048 * system-settings/plugins/ifcfg-fedora/parser.c
5049 system-settings/plugins/ifcfg-fedora/parser.h
5050 - (get_ifcfg_name): ignore more file suffixes
5051 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5053 2008-03-12 Dan Williams <dcbw@redhat.com>
5056 - Bring in the bits of gnome-common we actually use (all 15 lines)
5058 2008-03-12 Dan Williams <dcbw@redhat.com>
5060 * system-settings/plugins/ifcfg-fedora/plugin.c
5061 - (write_auto_wired_connection): new function; write out an auto
5062 wired connection file since the applet isn't doing it any more
5063 - (reload_all_connections): write out the auto wired connection file
5064 if there aren't any wired connections already
5065 - (init): don't leak a GError
5067 2008-03-12 Dan Williams <dcbw@redhat.com>
5069 * src/nm-device-interface.c
5070 - (nm_device_interface_activate): print the ID of the connection
5071 that's about to be activated
5073 2008-03-12 Dan Williams <dcbw@redhat.com>
5075 Harmonize the 802.11 bitrate API
5077 * introspection/nm-access-point.xml
5078 - 'Rate' -> 'MaxBitrate'; clarify units
5080 * introspection/nm-device-802-11-wireless.xml
5081 - Clarify units of 'Bitrate'
5083 * src/NetworkManagerAP.c
5084 src/NetworkManagerAP.h
5085 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5086 property to 'max-bitrate'
5087 - (foreach_property_cb): convert rate to Kb/s
5089 * src/nm-device-802-11-wireless.c
5090 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5092 * libnm-glib/nm-access-point.c
5093 libnm-glib/nm-access-point.h
5094 - 'rate' -> 'max-bitrate'
5097 libnm-glib/libnm-glib-test.c
5098 - Fix up for these changes
5100 2008-03-12 Dan Williams <dcbw@redhat.com>
5103 - (nm_device_set_ip4_config): don't send property notifications when
5104 the ip4 config is set to NULL; it causes a PropertyChanged signal
5105 which dbus-glib can't parse because the value is NULL, which isn't
5106 a legal object path. Setting the IP4 config to NULL is only
5107 valid when deactivating a device anyway, so the device state change
5108 will alert listeners that the ip4 config is invalid.
5110 2008-03-12 Dan Williams <dcbw@redhat.com>
5112 * src/nm-properties-changed-signal.c
5113 - (add_to_string): better handling of NULL objects
5115 2008-03-12 Dan Williams <dcbw@redhat.com>
5117 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5118 convert the libnm-glib NMDevice8023Ethernet to cached properties
5120 * introspection/nm-device-802-3-ethernet.xml
5121 - New 'Carrier' property
5122 - New 'PropertiesChanged' signal
5124 * introspection/nm-device.xml
5125 - Remove 'Carrier' property
5126 - Remove 'CarrierChanged' signal
5128 * src/nm-device-interface.c
5129 src/nm-device-interface.h
5130 - (nm_device_interface_init): remove 'carrier' property and
5131 'carrier-changed' signal
5135 - (nm_device_get_carrier, nm_device_set_carrier): remove
5136 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5137 the link here; wired device will handle that
5138 - (handle_dhcp_lease_change): don't bother updating link here
5139 - (get_property, nm_device_class_init): remove carrier property
5141 * src/nm-device-802-11-wireless.c
5142 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5143 real_update_link(); wireless devices don't use carrier at all
5144 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5145 supplicant_iface_connection_state_cb_handler,
5146 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5148 * src/nm-device-802-3-ethernet.c
5149 src/nm-device-802-3-ethernet.h
5150 - (nm_device_802_3_ethernet_carrier_on,
5151 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5152 instead of nm_device_set_carrier()
5153 - (device_state_changed): update link from sysfs on activation;
5154 replaces real_update_link()
5155 - (real_update_link): remove, replaced by device_state_changed()
5156 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5157 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5158 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5159 new get_carrier function
5160 - (get_property): add 'carrier' property
5161 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5162 hook into property-changed signal helper
5164 * src/NetworkManagerPolicy.c
5165 - (device_carrier_changed): will only ever be called with a wired device
5166 - (device_added): only hook up to carrier-changed for wired devices
5168 * libnm-glib/nm-device.c
5169 libnm-glib/nm-device.h
5170 - (constructor, nm_device_class_init): remove carrier-changed signal
5171 - (device_carrier_changed_proxy): remove; unused
5172 - (nm_device_get_carrier): remove; carrier a property of wired devices
5174 * libnm-glib/nm-device-802-3-ethernet.c
5175 libnm-glib/nm-device-802-3-ethernet.h
5176 - Convert to cached properties like AP and Wireless objects
5177 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5178 instead of a 'char *', return value should not be freed
5179 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5180 - (constructor): hook into properties-changed helper
5181 - (set_property, get_property): new functions
5182 - (nm_device_802_3_ethernet_class_init): export GObject properties
5185 - (detail_device): strdup the wired hardware address too since it's
5188 * libnm-glib/libnm-glib-test.c
5189 - (dump_wired): strdup the wired hardware address too since it's
5192 2008-03-12 Dan Williams <dcbw@redhat.com>
5194 * libnm-util/nm-setting-ip4-config.c
5195 libnm-util/nm-setting-ip4-config.h
5196 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5197 the 'autoip' property from the spec
5199 2008-03-11 Dan Williams <dcbw@redhat.com>
5201 * src/backends/NetworkManagerGeneric.c
5202 src/backends/NetworkManagerGeneric.h
5203 - (nm_generic_device_get_use_dhcp): remove
5205 2008-03-11 Dan Williams <dcbw@redhat.com>
5208 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5209 already in nm_device_set_ip4_config()
5210 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5211 due to a DHCP rebind fails
5212 - (nm_device_set_ip4_config): send property notifications when the
5214 - (get_property): only report IP4Config property during valid states
5216 * src/NetworkManagerPolicy.c
5217 - (update_routing_and_dns): ignore devices that don't have an ip4
5218 config; add parameter 'force_update' to allow callers to specify
5219 that changes should be made even if the default device doesn't change
5220 - (device_ip4_config_changed): update DNS and routing when the device's
5221 IP4Config changes, like for DHCP updates
5222 - (device_added): listen for ip4-config property changes
5224 2008-03-11 Dan Williams <dcbw@redhat.com>
5226 Fix address handling as a result of DHCP rebind/renew/reboot.
5228 * src/NetworkManagerSystem.c
5229 - (check_one_address): delete an address if it doesn't match a given
5230 one for the same interface
5231 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5232 be smarter about flushing addresses (only flush ones that don't
5233 match the one we're about to apply)
5235 * src/backends/NetworkManagerDebian.c
5236 src/backends/NetworkManagerSuSE.c
5237 src/backends/NetworkManagerArch.c
5238 src/backends/NetworkManagerSlackware.c
5239 src/backends/NetworkManagerRedHat.c
5240 src/backends/NetworkManagerPaldo.c
5241 src/backends/NetworkManagerFrugalware.c
5242 src/backends/NetworkManagerGentoo.c
5243 - (nm_system_delete_default_route): remove
5245 * src/backends/NetworkManagerGeneric.c
5246 src/backends/NetworkManagerGeneric.h
5247 - (nm_generic_enable_loopback): fix the loopback device label
5248 - (nm_generic_delete_default_route): remove; no longer used
5250 2008-03-11 Dan Williams <dcbw@redhat.com>
5252 * src/nm-device-interface.h
5253 - Delimit property name words with '-', otherwise g_object_notify()
5254 doesn't work the way we expect
5256 2008-03-11 Tambet Ingo <tambet@gmail.com>
5258 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5260 2008-03-11 Dan Williams <dcbw@redhat.com>
5262 * src/NetworkManagerPolicy.c
5263 - (update_routing_and_dns): don't change anything if the default device
5264 hasn't changed; print something out when switching the default route
5267 2008-03-10 Tambet Ingo <tambet@gmail.com>
5271 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5272 setting. Use "nic-$eth".
5274 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5275 the device is activating here to fix a race condition.
5277 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5279 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5280 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5281 (nm_ppp_manager_start): Take activation request instead of connection, we might
5282 need it for asking secrets.
5283 (nm_ppp_manager_update_secrets): Implement.
5285 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5286 ppp manager start. It might be needed for asking secrets.
5288 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5289 (ppp_state_changed): Handle pppd daemon disappearing.
5290 (pppoe_stage2_config): Send activation request to ppp manager start.
5292 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5294 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5295 username and password.
5297 2008-03-10 Dan Williams <dcbw@redhat.com>
5300 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5301 response to a DHCP lease change
5302 - (dhcp_state_changed): handle DHCP lease changes while activated
5303 - (nm_device_set_ip4_config): remove a previously set named config
5304 when setting an ip4 config
5306 2008-03-10 Dan Williams <dcbw@redhat.com>
5308 * src/nm-serial-device.c
5309 - (nm_serial_device_send_command): report errno on error
5310 - (get_reply_got_data): limit the size of the overall buffer
5311 - (wait_for_reply_info_destroy): destroy result string
5312 - (wait_for_reply_got_data): append received data to an overall buffer
5313 until timeout, filled buffer, or error instead of keeping a per-call
5314 buffer. Some devices send data slowly enough that this function
5315 gets called multiple times for the same command stream.
5316 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5317 wait_for_reply_got_data() here
5319 2008-03-10 Dan Williams <dcbw@redhat.com>
5321 * src/nm-cdma-device.c
5322 - (do_dial, init_modem): handle errors from
5323 nm_serial_device_send_command_string()
5325 * src/nm-gsm-device.c
5326 - (do_dial, manual_registration, automatic_registration_get_network,
5327 automatic_registration, enter_pin, check_pin, init_modem): handle
5328 errors from nm_serial_device_send_command_string()
5330 2008-03-10 Dan Williams <dcbw@redhat.com>
5332 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5334 * src/named-manager/nm-named-manager.c
5335 - (compute_searches): prefer searches before domains
5336 - (compute_domain): new function
5337 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5338 - (merge_one_ip4_config): if there are no searches in the source config,
5339 merge domains of the source config into the target config
5340 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5342 2008-03-10 Dan Williams <dcbw@redhat.com>
5344 * src/nm-serial-device.c
5345 - (get_reply_got_data): clean up indentation, shrink serial buffer
5346 - (wait_for_reply_got_data): try to handle slower serial devices where
5347 the reply is broken up into multiple reads by concatenating replies
5348 together until either an error is received or the search string is
5351 2008-03-10 Dan Williams <dcbw@redhat.com>
5354 - (nm_device_bring_down): deactivate the device if it's activating too,
5355 not just if it's already activated. This makes sure that everything
5356 from an association attempt is cleaned up (like DHCP for example)
5358 2008-03-10 Dan Williams <dcbw@redhat.com>
5360 * src/nm-serial-device.c
5361 - (config_fd): report error from TCSETA
5362 - (nm_serial_device_open): fail when config_fd() fails
5364 2008-03-10 Dan Williams <dcbw@redhat.com>
5366 * src/nm-ip4-config.c
5367 - (nm_ip4_config_init): allocate searches list
5368 - (finalize): free searches list
5370 2008-03-09 Dan Williams <dcbw@redhat.com>
5372 Patch from Bas Zoetekouw <bas@debian.org>
5374 * src/dhcp-manager/nm-dhcp-manager.c
5375 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5377 2008-03-09 Dan Williams <dcbw@redhat.com>
5379 Patch from Bas Zoetekouw <bas@debian.org>
5381 * src/nm-ip4-config.c
5383 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5384 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5385 domains. 'searches' is the correct way to store multiple search
5386 domains, whereas 'domains' is really just supposed to store one
5387 domain. Some sites abuse the DHCP 'domain-name' option to push
5388 search domains to the client.
5389 - (nm_ip4_config_add_domain): group with related functions (my patch)
5391 2008-03-09 Dan Williams <dcbw@redhat.com>
5393 * src/dhcp-manager/nm-dhcp-manager.c
5394 - (dhclient_run): send interface-specific config files to dhclient
5396 2008-03-07 Dan Williams <dcbw@redhat.com>
5398 * system-settings/plugins/ifcfg-fedora/parser.c
5399 - (is_wireless_device): new function; test a device for wireless
5401 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5402 test the device for wireless extensions to determine the type
5404 2008-03-07 Dan Williams <dcbw@redhat.com>
5406 Change manager's StateChange signal to StateChanged for consistency.
5408 * introspection/nm-manager.xml
5409 - Add 'StateChanged' signal
5410 - Move 'StateChange' down to the deprecated section
5412 * src/nm-hal-manager.c
5413 - (nm_hal_manager_new): connect to 'state-changed' instead
5415 * src/NetworkManagerPolicy.c
5416 - (nm_policy_new): connect to 'state-changed' instead
5420 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5421 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5424 * libnm-glib/nm-client.c
5425 libnm-glib/nm-client.h
5426 - (constructor, nm_client_class_init, client_state_changed_proxy):
5427 track and proxy 'state-changed' instead of 'state-change'
5429 2008-03-07 Dan Williams <dcbw@redhat.com>
5431 First pass of multiple active device support. Expect bugs.
5433 * src/nm-ip4-config.c
5435 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5436 there are better ways to do this in the named manager
5440 - (nm_device_can_activate): return whether the device can activate a
5441 connection right now; taking into account things like carrier state
5443 - (nm_device_get_best_auto_connection): renamed from
5444 nm_device_get_best_connection
5445 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5446 device subclasses themselves, so that each device can override the
5447 MTU from it's NMSetting subclass if needed
5448 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5449 in NetworkManagerSystem.c, not here
5451 * src/named-manager/nm-named-manager.c
5452 src/named-manager/nm-named-manager.h
5453 - (nm_named_manager_name_owner_changed,
5454 nm_named_manager_dbus_connection_changed): fix for changes to
5455 rewrite_resolv_conf()
5456 - (compute_nameservers): don't need the NMNamedManager at all, remove
5458 - (merge_one_ip4_config): new function; merge ip4 configs together
5459 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5460 ip4 configs; the VPN config takes precedence, then the best
5461 device config, then the rest of the configs
5462 - (get_domain_for_config): take the NMNamedManager as an argument
5463 to check whether the config is the VPN config
5464 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5465 attribute from ip4 configs
5466 - (add_all_ip4_configs_to_named): add all the configs in priority order
5467 - (remove_ip4_config_from_named): fix for changes to
5468 get_domain_for_config()
5469 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5470 based on its type; callers must pass in the type now
5471 - (get_last_default_domain): remove, unused
5472 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5474 * src/nm-device-802-11-wireless.c
5475 - (real_can_activate): new function
5476 - (real_get_best_auto_connection): renamed from real_get_best_connection
5477 - (real_act_stage4_get_ip4_config): handle MTU override
5479 * src/nm-device-802-3-ethernet.c
5480 - (real_can_activate): new function
5481 - (real_get_best_auto_connection): renamed from real_get_best_connection
5482 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5484 * src/vpn-manager/nm-vpn-connection.c
5485 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5486 attribute on the ip4 config
5488 * src/NetworkManagerPolicy.c
5489 - (nm_policy_auto_get_best_device): remove
5490 - (nm_policy_device_change_check): remove
5491 - (update_default_route): new function; set the default route via
5492 the specified device
5493 - (get_device_priority): new function; return the priority number of
5494 a device type WRT which one should have the default route. Order is
5495 (highest to lowest) wired, wireless, GSM, CDMA.
5496 - (update_routing_and_dns): new function; determine which device should
5497 have the default route, then update the routing table and DNS
5498 - (maybe_auto_activate_device): new function; if a device is now
5499 available for activation, find out what connection it would like to
5501 - (schedule_activate_check): new function; if a device can be activated
5502 now, schedule the activation. Each device may have only one
5503 pending activation at a given time.
5504 - (device_state_changed): if activation was canceled, try again,
5505 possibly with another connection; if the device was activated,
5506 update routing and DNS; if the device was deactivated, try again
5507 with another connection
5508 - (device_carrier_changed): if there is no carrier, deactivate the
5509 device; otherwise schedule an activation check for the device
5510 - (wireless_networks_changed): schedule an activation check for the
5512 - (device_added): keep track of the signal handler IDs so they can
5513 be removed when the device goes away
5514 - (device_removed): remove any signal handlers that might be attached
5515 to the device; update routing and DNS
5516 - (schedule_activate_all): new function
5517 - (connections_added, connection_added, connection_updated): when
5518 connections change, schedule all devices for an activation check
5519 - (connection_removed): when a device is deactivated because its
5520 connection was removed, schedule another activation check for it
5521 - (nm_policy_destroy): destroy pending activations and disconnect
5522 all device signal handlers
5525 - (nm_manager_activate_device): if the device was already actived,
5527 - (deactivate_old_device): remove
5528 - (connection_added_default_handler, impl_manager_activate_device):
5529 don't deactivate other devices when activating this one
5531 * src/backends/NetworkManagerGentoo.c
5532 src/backends/NetworkManagerFrugalware.c
5533 src/backends/NetworkManagerPaldo.c
5534 src/backends/NetworkManagerRedHat.c
5535 src/backends/NetworkManagerSlackware.c
5536 src/backends/NetworkManagerArch.c
5537 src/backends/NetworkManagerSuSE.c
5538 src/backends/NetworkManagerDebian.c
5539 - (nm_system_get_mtu): remove; MTU should be provided through the
5540 distro's system settings service plugin instead
5541 - (nm_system_device_add_default_route_via_device): remove
5542 - (nm_system_device_add_default_route_via_device_with_iface): remove
5543 - (nm_system_device_replace_default_route): new function; call
5544 generic implementation
5546 * src/backends/NetworkManagerGeneric.c
5547 src/backends/NetworkManagerGeneric.h
5548 - (nm_generic_device_add_default_route_via_device,
5549 nm_generic_device_add_default_route_via_device_with_iface): remove
5550 - (nm_generic_device_replace_default_route): replace the default route
5551 with the given route via some gateway
5553 * src/NetworkManagerSystem.c
5554 src/NetworkManagerSystem.h
5555 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5556 to routing and DNS; but set the MTU here
5557 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5558 ip_iface of the active device; use the standard MTU setting function
5559 - (nm_system_set_mtu): remove
5560 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5562 2008-03-07 Tambet Ingo <tambet@gmail.com>
5564 Rework the interaction between ppp manager and pppd plugin. Register a well
5565 known DBUS service in manager and let the plugin call it's methods instead
5566 of listening plugin's signals.
5568 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5569 of emitting signals.
5571 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5573 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5575 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5576 nm_ppp_manager_start().
5578 * introspection/nm-ppp-manager.xml: New file.
5580 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5581 the case correctly where driver is trying to send -1 for the speed, which gets
5582 casted to u16 and thus is always > 0.
5584 2008-03-07 Dan Williams <dcbw@redhat.com>
5586 * src/nm-hal-manager.c
5587 - (nm_get_device_driver_name): use net.originating_device first, fall
5588 back to physical device. HAL has deprecated physical_device.
5590 * libnm-glib/nm-device.c
5591 - (get_product_and_vendor): use net.originating_device first, fall
5592 back to physical device. HAL has deprecated physical_device.
5593 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5595 2008-03-07 Dan Williams <dcbw@redhat.com>
5598 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5599 last commit; fix that
5600 - (get_link_cache): print error string
5602 2008-03-07 Dan Williams <dcbw@redhat.com>
5605 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5606 don't need this hack any more (Benoit Boissinot)
5608 2008-03-06 Dan Williams <dcbw@redhat.com>
5611 - Die gnome-common, die
5613 2008-03-04 Dan Williams <dcbw@redhat.com>
5615 Patch from Michael Biebl <biebl@debian.org>
5617 * NetworkManager.pc.in
5618 - doesn't actually depend on dbus-1
5620 * libnm-util/nm-utils.h
5621 - remove unused #include <dbus/dbus.h>
5623 * libnm-glib/libnm_glib.pc.in
5624 - depends on glib and dbus-glib
5626 2008-03-02 Dan Williams <dcbw@redhat.com>
5628 * src/NetworkManagerPolicy.c
5629 - s/device_state_changed_idle_id/update_state_id/
5631 2008-03-02 Dan Williams <dcbw@redhat.com>
5635 src/nm-device-802-11-wireless.c
5636 src/nm-device-802-3-ethernet.c
5637 src/NetworkManagerPolicy.c
5638 - s/link_active/carrier
5639 - nm_device_set_active_link() -> nm_device_set_carrier()
5640 - nm_device_has_active_link() -> nm_device_get_carrier()
5642 2008-03-02 Dan Williams <dcbw@redhat.com>
5644 * system-settings/plugins/ifcfg-fedora/parser.c
5645 - (make_wireless_setting): fail connection creation on missing SSID
5647 2008-02-29 Dan Williams <dcbw@redhat.com>
5649 * src/NetworkManagerPolicy.c
5650 - (nm_policy_device_change_check): ensure that a previously active
5651 device with a system connection has a link before denying a switch
5652 to a user connection
5654 2008-02-29 Dan Williams <dcbw@redhat.com>
5656 * src/nm-device-802-11-wireless.c
5657 - (link_timeout_cb): try again if scanning; deactivate the device when
5658 activated if the link dies
5659 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5662 2008-02-29 Dan Williams <dcbw@redhat.com>
5664 * src/nm-device-802-11-wireless.c
5665 src/nm-device-802-11-wireless.h
5666 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5667 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5668 - (device_cleanup): reset the scan interval lower when the device
5670 - (can_scan): base decision mostly off device state, not supplicant
5671 interface state since the supplicant interface state isn't a
5672 great indicator of whether the device is active or not
5673 - (request_wireless_scan): clean up; schedule the next scan here
5674 - (schedule_scan): only back the scan interval off if a new scan
5675 actually gets scheduled; and make scan intervals tighter when the
5676 device is disconnected
5677 - (supplicant_iface_state_cb_handler): fold in the bits of
5678 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5680 - (activation_success_handler): reset scan interval to something
5683 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5685 reviewed by: Steev <steev@steev.net>
5688 * src/backends/NetworkManagerGentoo.c:
5689 (nm_system_restart_mdns_responder):
5690 Howl is no longer a supported mDNS provider
5692 2008-02-28 Tambet Ingo <tambet@gmail.com>
5694 Get rid of a bunch of unused distro specific functions.
5696 2008-02-28 Tambet Ingo <tambet@gmail.com>
5698 Implement suse plugin for system settings daemon.
5700 * system-settings/plugins/ifcfg-suse/*: Implement.
5702 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5705 * configure.in: Check (without failing) for gio.
5706 Create ifcfg-suse plugin's Makefile.
5708 2008-02-20 Dan Williams <dcbw@redhat.com>
5710 * libnm-util/nm-connection.c
5711 libnm-util/nm-connection.h
5712 - (nm_connection_compare): accept compare flags and pass them to the
5713 setting compare function
5715 * libnm-util/nm-setting.c
5716 libnm-util/nm-setting.h
5717 - (nm_setting_compare): accept compare flags; ignore properties that are
5720 * libnm-util/nm-setting-connection.c
5721 libnm-util/nm-setting-wireless.c
5722 libnm-util/nm-setting-ppp.c
5723 libnm-util/nm-setting-wired.c
5724 - Mark some setting properties as ignorable when doing a fuzzy compare
5727 - (device_activation_precheck): use exact compare
5729 2008-02-20 Dan Williams <dcbw@redhat.com>
5731 * src/NetworkManagerPolicy.c
5732 - (nm_policy_device_change_check): get scope off the connection, not
5733 using the manager helper
5737 - (get_scope_for_proxy): rename from get_type_for_proxy()
5738 - (connection_get_settings_cb): set scope and path on connection, not
5739 using GObject data items
5740 - (get_connection_for_proxy): don't need to return path, since that
5741 can be gotten from the connection
5742 - (get_connection_for_proxy): get path off the connection, not from
5744 - (connection_removed_cb, connection_updated_cb): don't need to get
5745 path from get_connection_for_proxy(); get scope off the connection
5746 instead of using GObject data items
5747 - (connection_added_default_handler, add_one_connection_element): use
5748 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5749 - (nm_manager_get_connection_dbus_path): remove
5750 - (nm_manager_get_connection_scope): remove
5752 2008-02-20 Dan Williams <dcbw@redhat.com>
5754 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5757 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5758 applet were having to hack this in anyway. Remove the 'path' stuff from
5759 NMExportedConnection
5761 * Internally rename NMConnectionType -> NMConnectionScope
5763 * Provide default implementations of the 'get_id' and 'get_settings' methods
5764 of NMExportedConnection
5766 2008-02-15 Dan Williams <dcbw@redhat.com>
5768 * src/nm-device-802-11-wireless.c
5769 - (device_cleanup): release the AP list here too so that the AP list
5770 doesn't survive across suspend/resume and up/down. There is some
5771 room for optimization, for example blow the list away when the card
5772 brought back up, but only if the device has only been down for a
5775 2008-02-15 Dan Williams <dcbw@redhat.com>
5777 * src/nm-hal-manager.c
5778 - (modem_device_creator): recognize new HAL modem capabilities
5780 2008-02-12 Dan Williams <dcbw@redhat.com>
5782 * system-settings/plugins/ifcfg-fedora/plugin.c
5783 - (watch_path): handle IN_DELETE_SELF too
5784 - (handle_connection_changed): notify when removing a connection
5785 - (stuff_changed): don't warn on unknown inotify watches; handle the
5786 case of a file moving out of the profile directory
5788 2008-02-12 Dan Williams <dcbw@redhat.com>
5790 * system-settings/plugins/ifcfg-fedora/parser.c
5791 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5793 2008-02-12 Dan Williams <dcbw@redhat.com>
5795 * libnm-util/nm-utils.c
5796 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5797 just any empty array
5799 2008-02-12 Dan Williams <dcbw@redhat.com>
5801 * system-settings/src/nm-system-config-interface.c
5802 system-settings/src/nm-system-config-interface.h
5803 - (load_connections): get_connections() should now return an allocated
5804 GSList that the system settings service will free
5806 * system-settings/plugins/ifcfg-fedora/plugin.c
5807 system-settings/plugins/ifcfg-fedora/parser.h
5808 system-settings/plugins/ifcfg-fedora/parser.c
5809 - Fix up inotify issues; handle keys-* files, handle new files appearing
5810 in the profile directory, handle resolv.conf file changes
5812 2008-02-10 Dan Williams <dcbw@redhat.com>
5814 * src/nm-device-802-3-ethernet.c
5815 - (real_bring_up): save the supplicant interface state signal id
5816 - (real_bring_down): disconnect from the supplicant interface state
5819 2008-02-07 Dan Williams <dcbw@redhat.com>
5821 * initscript/RedHat/NetworkManager.in
5822 initscript/RedHat/NetworkManagerDispatcher.in
5823 - Add new-style LSB init headers
5825 2008-02-07 Dan Williams <dcbw@redhat.com>
5827 * system-settings/src/dbus-settings.c
5828 system-settings/src/dbus-settings.h
5829 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5831 - (connection_settings_get_secrets): consolidate error returns into
5832 one place; use the new get_secrets() plugin interface function to
5833 get secrets from the plugin itself rather than using GObject data
5836 * system-settings/src/main.c
5837 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5838 load_connections): keep a private list of the plugin-returned
5839 connections, don't use the plugin's GSList
5841 * system-settings/plugins/ifcfg-fedora/plugin.c
5842 - (watch_path): watch the path, not the filename (duh)
5843 - (reload_all_connections): use the direct hash/equal functions; the
5844 ones for int aren't appropriate here
5845 - (get_secrets, system_config_interface_init): implement the
5846 get_secrets() function
5847 - (build_one_connection, find_connection_by_path): ifcfg file path is
5848 now in the connection's ConnectionData instead of being a GObject
5850 - (handle_profile_item_changed): ifcfg file path is now in the
5851 connection's ConnectionData instead of being a GObject data property;
5852 be sure to copy secrets over from the new connection to the existing
5853 connection when updating the connection's settings
5854 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5857 * system-settings/plugins/ifcfg-fedora/parser.c
5858 system-settings/plugins/ifcfg-fedora/parser.h
5859 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5860 connection_data_copy_secrets, connection_data_free,
5861 connection_data_add): new functions; connection data manipulation
5862 - (make_wireless_security_setting): stuff secrets into the
5863 connection data, not as GObject data items; make sure to close
5865 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5866 connection data to the connection
5868 2008-02-07 Dan Williams <dcbw@redhat.com>
5870 * system-settings/src/nm-system-config-interface.c
5871 system-settings/src/nm-system-config-interface.h
5872 - Add a get_secrets() interface function to retrieve secrets for a
5873 specific setting of a specific connection. Document the interface
5876 2008-02-07 Dan Williams <dcbw@redhat.com>
5878 * src/nm-device-802-11-wireless.c
5879 - (handle_auth_or_fail): new function; consolidate device activation
5880 failure check after a certain number of failures getting secrets
5881 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5882 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5883 the connection if secrets were requested more than a few times
5884 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5885 tries here; otherwise they are cleared before the IP configure
5886 timeout, which happens with open system WEP when key is wrong
5887 - (activation_success_handler): clear wireless secrets tries here too
5889 2008-02-07 Dan Williams <dcbw@redhat.com>
5891 * src/NetworkManagerPolicy.c
5892 - (connection_updated): clear invalid tag when connection gets updated
5893 to allow that connection to be tried again
5894 - (nm_policy_new): save signal ids so they can be disconnected when
5895 the policy is destroyed
5896 - (nm_policy_destroy): stop any in-progress state change idle handler,
5897 and disconnect all signals from the manager object so that none
5898 of the policy functions gets called after the policy is destroyed
5900 2008-02-06 Dan Williams <dcbw@redhat.com>
5903 - (finalize): remove devices a bit earlier; clean up system settings
5905 - (nm_manager_name_owner_changed): clean up system settings poke when
5906 the service appears, and try to restart it if it fails
5907 - (poke_system_settings_daemon_cb): try to get the system settings
5908 service started through D-Bus service activation
5909 - (initial_get_connections): start the system settings daemon if it's
5912 2008-02-05 Dan Williams <dcbw@redhat.com>
5914 * src/supplicant-manager/nm-supplicant-config.c
5915 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5916 broadcast networks too
5918 2008-02-04 Dan Williams <dcbw@redhat.com>
5920 * system-settings/plugins/ifcfg-fedora/parser.c
5921 - (make_wireless_security_setting): fix spelling; unencrypted networks
5922 need key_mgmt set too
5923 - (parser_parse_file): validate ifcfg file name and don't try to parse
5924 .bak files; ensure that an error is set whenever NULL gets returned
5926 2008-02-04 Dan Williams <dcbw@redhat.com>
5928 * system-settings/src/Makefile.am
5929 - Install D-Bus service activation file for the system settings
5932 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5933 - D-Bus service activation file for system settings service
5935 2008-02-04 Dan Williams <dcbw@redhat.com>
5937 * system-settings/src/main.c
5938 - (parse_config_file): parse a config file
5939 - (main): accept --config option and read plugins from config file
5941 2008-02-04 Dan Williams <dcbw@redhat.com>
5943 * system-settings/plugins/ifcfg-fedora/plugin.c
5944 - Change reported name to 'ifcfg-fedora'
5945 - Use IFCFG_PLUGIN_NAME
5947 * system-settings/plugins/ifcfg-fedora/plugin.c
5948 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5950 2008-02-04 Dan Williams <dcbw@redhat.com>
5952 * system-settings/plugins/ifcfg-fedora/parser.c
5953 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5954 - (make_connection_setting): use get_ifcfg_name()
5955 - (make_wireless_security_setting): handle shadow key files
5956 - (get_one_wep_key): treat empty string as NULL
5958 2008-02-04 Dan Williams <dcbw@redhat.com>
5960 * src/supplicant-manager/nm-supplicant-manager.c
5961 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5962 glib automatically reschedule
5963 - (nm_supplicant_manager_init): immediately try to start the supplicant
5964 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5967 2008-02-01 Dan Williams <dcbw@redhat.com>
5969 * src/NetworkManagerPolicy.c
5970 - (device_state_changed): schedule a change check when a device gets
5971 deactivated so something happens if you disconnect GSM/CDMA
5973 2008-01-31 Dan Williams <dcbw@redhat.com>
5975 * src/nm-device-802-11-wireless.h
5976 src/nm-device-802-11-wireless.c
5977 - (ap_list_get_ap_by_ssid, is_associated,
5978 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5979 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5980 - (nm_device_802_11_wireless_get_activation_ap): collapse
5981 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5984 2008-01-30 Dan Williams <dcbw@redhat.com>
5986 * system-settings/plugins/ifcfg
5987 * system-settings/plugins/ifcfg-fedora
5988 - Move the ifcfg plugin to ifcfg-fedora
5990 2008-01-24 Dan Williams <dcbw@redhat.com>
5992 * libnm-glib/nm-device-802-11-wireless.c
5993 - (get_access_point): move the "/" check here; check for invalid path
5995 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5996 to get_access_point()
5997 - (access_point_added_proxy, access_point_removed_proxy): don't try
5998 to send signals for non-existent access points
6000 2008-01-24 Dan Williams <dcbw@redhat.com>
6002 * libnm-glib/nm-device-802-11-wireless.c
6003 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6005 2008-01-23 Dan Williams <dcbw@redhat.com>
6007 * libnm-glib/libnm_glib.c
6008 - (libnm_glib_init): make thread joinable
6009 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6011 2008-01-23 Dan Williams <dcbw@redhat.com>
6013 * test/libnm_glib_test.c
6014 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6015 - (main): set up signal handlers; call libnm_glib_shutdown
6017 2008-01-21 Dan Williams <dcbw@redhat.com>
6019 * include/NetworkManager.h
6020 - Add CDMA mobile broadband card device type
6022 * src/nm-hal-manager.c
6023 - (modem_device_creator): handle both CDMA and GSM modems; the device
6024 must now be tagged with 'cdma' or 'gsm' capability
6026 * src/nm-cdma-device.c
6027 src/nm-cdma-device.h
6029 - Add the CDMA mobile broadband card device class
6031 * libnm-util/nm-connection.c
6032 - (register_default_settings): add NMSettingCdma
6034 * libnm-util/nm-setting-cdma.c
6035 libnm-util/nm-setting-cdma.h
6036 libnm-util/Makefile.am
6037 - Add the CDMA mobile broadband card setting class
6039 * libnm-glib/nm-cdma-device.c
6040 libnm-glib/nm-cdma-device.h
6041 libnm-glib/Makefile.am
6042 - Add the CDMA mobile broadband card GLib proxy class
6044 * libnm-glib/nm-client.c
6045 - (get_device): handle CDMA devices too
6047 2008-01-21 Dan Williams <dcbw@redhat.com>
6049 * src/ppp-manager/nm-ppp-manager.c
6050 - (ip4_config_get): set peer address too
6052 * src/ppp-manager/nm-pppd-plugin.c
6053 - (nm_ip_up): try harder to get the peer's address
6055 * src/NetworkManagerSystem.c
6056 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6057 address, use that too. Otherwise, some PPP connections won't work.
6059 2008-01-19 Dan Williams <dcbw@redhat.com>
6061 * src/NetworkManagerPolicy.c
6062 - (nm_policy_device_change_check): system connections override user
6063 connections; don't activate a user connection if there's a currently
6064 active system connection, and new, better system connections always
6065 interrupt user connections
6067 2008-01-19 Dan Williams <dcbw@redhat.com>
6070 - (nm_manager_get_connection_type): new function
6072 2008-01-19 Dan Williams <dcbw@redhat.com>
6074 * src/nm-device-802-11-wireless.c
6075 - (real_get_best_connection): collapse find_best_connection() into this
6078 2008-01-19 Dan Williams <dcbw@redhat.com>
6080 * src/nm-device-802-3-ethernet.c
6081 - (real_get_best_connection): collapse find_best_connection() into this
6084 2008-01-18 Dan Williams <dcbw@redhat.com>
6086 * src/nm-device-802-3-ethernet.c
6087 - (find_best_connection): check MAC address too
6088 - (real_get_best_connection): let autoconnect=True connections activate
6089 for devices that don't have carrier detection
6091 * src/nm-device-802-11-wireless.c
6092 - (find_best_connection): check MAC address too
6094 2008-01-18 Dan Williams <dcbw@redhat.com>
6096 * system-settings/plugins/ifcfg/parser.c
6097 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6099 2008-01-17 Dan Williams <dcbw@redhat.com>
6101 * src/nm-device-802-3-ethernet.c
6102 - (nm_device_802_3_ethernet_carrier_on,
6103 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6104 carrier events that might come in for devices that don't support
6107 2008-01-17 Dan Williams <dcbw@redhat.com>
6109 * src/nm-device-interface.c
6110 - (nm_device_interface_check_connection_conflicts): need to actually
6111 get the interface, not cast to the object
6114 - (nm_device_check_connection_conflicts): need to get the device class,
6115 not cast the device to the device class
6117 2008-01-17 Dan Williams <dcbw@redhat.com>
6119 * src/nm-device-802-11-wireless.c
6120 - (real_check_connection_conflicts): ignore connections that aren't
6121 wireless connections
6123 2008-01-17 Dan Williams <dcbw@redhat.com>
6125 * src/NetworkManagerPolicy.c
6126 - (nm_policy_device_change_check): clear change check idle here
6127 - (device_change_check_done): remove
6128 - (schedule_change_check): simplify
6130 2008-01-17 Dan Williams <dcbw@redhat.com>
6133 - (check_connection_allowed): take an NMDeviceInterface instead of
6134 an NMDevice object as an argument
6135 - (nm_manager_activate_device): pass an NMDeviceInterface to
6136 check_connection_allowed()
6138 2008-01-13 Dan Williams <dcbw@redhat.com>
6140 * libnm-glib/nm-device-802-11-wireless.c
6141 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6143 2008-01-12 Dan Williams <dcbw@redhat.com>
6145 * src/nm-device-802-11-wireless.c
6146 - (activation_success_handler): if a match was found in the scan list
6147 and that match is a hidden AP, update that AP's SSID
6149 2008-01-11 Dan Williams <dcbw@redhat.com>
6151 * src/NetworkManagerAP.c
6152 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6154 * src/nm-device-802-11-wireless.c
6155 - (get_active_ap): do two passes over the scan list if the caller
6156 requests that hidden APs get matched too; during the second pass
6157 when matching hidden APs, ignore the SSID since hidden APs in the
6158 scan list don't have an SSID yet
6159 - (periodic_update): move some checks to
6160 nm_device_802_11_periodic_update() because not all callers need them
6161 - (nm_device_802_11_periodic_update): move some checks here from
6163 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6164 matching on incoming scan results, because the fake AP's flags
6165 might be slightly different (yet still compatible) with the incoming
6166 scan result's flags and they might actually be the same AP; update
6167 the rate on merged APs too
6168 - (activation_success_handler): update the frequency of the fake AP
6169 on successful connection; match hidden APs too since if the
6170 current AP is fake, there might already be a scan result in the
6171 scan list for the desired AP, just without it's SSID filled in yet
6173 2008-01-10 Dan Williams <dcbw@redhat.com>
6175 * src/NetworkManagerAP.c
6176 - (foreach_property_cb): catch more hidden SSID formats
6178 2008-01-10 Dan Williams <dcbw@redhat.com>
6180 Fix gnome.org #464215. Requires the kernel patch titled
6181 "Introduce WEXT scan capabilities" but will handle the patch not being
6182 present, you'll just continue to have problems with hidden SSIDs when
6183 using mac80211-based drivers.
6185 * src/supplicant-manager/nm-supplicant-config.h
6186 src/supplicant-manager/nm-supplicant-config.c
6187 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6188 whether the driver supports SSID scans or not. If it does, and if
6189 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6191 * src/nm-device-802-11-wireless.c
6192 - (constructor): check whether or not the driver supports SSID scans
6193 - (build_supplicant_config): pass driver SSID scan capability when
6194 building the wireless bits of the supplicant config
6196 2008-01-09 Dan Williams <dcbw@redhat.com>
6200 - (device_activation_precheck, check_connection_complete): remove this
6201 virtual function; incomplete connections should be invalid by
6202 definition, complete-ness should be checked in the setting's
6205 * src/nm-serial-device.c
6207 - (real_check_connection_complete): remove
6209 * libnm-util/nm-setting-serial.c
6210 - (verify): new function; ensure there is a PPP setting too
6212 * libnm-util/nm-setting-gsm.c
6213 - (verify): ensure there is a serial setting too
6215 2008-01-06 Dan Williams <dcbw@redhat.com>
6217 * src/dhcp-manager/nm-dhcp-manager.c
6218 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6221 2008-01-04 Dan Williams <dcbw@redhat.com>
6223 * src/named-manager/nm-named-manager.c
6224 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6225 nameservers if the secondary config doesn't have any
6228 2008-01-02 Tambet Ingo <tambet@gmail.com>
6230 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6231 with G_PARAM_CONSTRUCT so that they get the default values.
6233 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6234 the monitoring device and prints out the output for now. Or more precicely, doesn't
6235 do absolutely anything right now since the montoring device argument is never set.
6237 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6238 requires it's own knob to turn it on.
6239 (config_fd): Add NMSettingSerial to the arguments list.
6240 (nm_serial_device_open): Ditto.
6241 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6242 (nm_serial_device_get_io_channel): Implement.
6244 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6245 a new reference every time (and forgetting to release it sometimes) is a pain and
6246 it's not like NMManager could work without dbus.
6247 (nm_manager_add_device): Register the added device on dbus here.
6249 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6252 * src/nm-device.c (constructor): Don't export the device here, instead export
6253 it when it's added to the NMManager's device list.
6255 2007-12-31 Dan Williams <dcbw@redhat.com>
6257 * src/nm-device-interface.c
6258 src/nm-device-interface.h
6259 - (nm_device_interface_check_connection_conflicts): new function
6263 - (nm_device_check_connection_conflicts): new function
6264 - (device_activation_precheck): don't require subclasses to implement
6265 check_connection_complete()
6266 - check_connection() -> check_connection_complete()
6268 * src/nm-device-802-11-wireless.c
6269 - (real_check_connection): remove; unused
6270 - (real_check_connection_conflicts): implement, handle lockdown for
6273 * src/nm-device-802-3-ethernet.c
6274 - (real_check_connection): remove; unused
6277 - (check_connection_allowed): new function
6278 - (nm_manager_activate_device): ensure the connection being requested
6279 is allowed to be activated
6281 * src/nm-serial-device.c
6283 - real_check_connection() -> real_check_connection_complete()
6285 2007-12-27 Dan Williams <dcbw@redhat.com>
6287 * src/nm-device-interface.c
6288 src/nm-device-interface.h
6289 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6290 normalize and expand errors
6291 - (nm_device_interface_init): register errors so they can be marshalled
6293 - (nm_device_interface_activate): ensure that failure of activation
6298 - (device_activation_precheck): implementations of check_connection()
6299 now take a GError and must fill it in if the check fails. Return
6300 more descriptive error if the requested connection is already
6302 - (nm_device_activate): actually try to return descriptive errors on
6305 * src/nm-device-802-11-wireless.c
6306 src/nm-device-802-3-ethernet.c
6307 src/nm-serial-device.c
6309 - (real_check_connection): return more descriptive errors on failure
6311 * src/NetworkManagerPolicy.c
6312 - (nm_policy_device_change_check): print activation errors in the logs
6315 - (nm_manager_error_quark, nm_manager_error_get_type,
6316 nm_manager_class_init): new errors
6317 - (nm_manager_activate_device): handle errors
6318 - (nm_manager_error_new): removed
6319 - (wait_for_connection_expired, connection_added_default_handler,
6320 impl_manager_activate_device): better error handling
6322 2007-12-27 Dan Williams <dcbw@redhat.com>
6324 Fixes gnome.org #466954
6326 * src/supplicant-manager/nm-supplicant-settings-verify.c
6327 - Allow 'frequency' network property
6329 * src/supplicant-manager/nm-supplicant-config.c
6330 src/supplicant-manager/nm-supplicant-config.h
6331 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6332 for callers to specify the frequency an Ad-Hoc network should operate
6333 on. Some drivers require this to successfully create an Ad-Hoc
6336 * src/nm-device-802-11-wireless.c
6337 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6338 guint32 value in MHz
6339 - (constructor, nm_device_802_11_wireless_get_frequency): use
6341 - (find_supported_frequency): new function; find a free supported
6342 frequency for a user-created Ad-Hoc network
6343 - (build_supplicant_config): if no frequency was specified for a user-
6344 created Ad-Hoc network, find a free one to use
6345 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6346 a specific object as user-created
6348 2007-12-27 Dan Williams <dcbw@redhat.com>
6350 * libnm-util/nm-utils.c
6351 libnm-util/nm-utils.h
6352 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6355 2007-12-24 Dan Williams <dcbw@redhat.com>
6357 * libnm-util/nm-setting-wireless.c
6358 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6359 185, 187, 188, 192, and 196
6361 2007-12-24 Dan Williams <dcbw@redhat.com>
6363 * src/nm-device-802-11-wireless.c
6364 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6365 a channel # instead of a frequency
6367 2007-12-24 Dan Williams <dcbw@redhat.com>
6369 * src/NetworkManagerAP.c
6370 src/NetworkManagerAP.h
6371 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6372 - (freq_to_channel): handle split band tables
6373 - (channel_to_freq): handle split band tables, take a band argument
6375 2007-12-24 Dan Williams <dcbw@redhat.com>
6377 * libnm-util/nm-setting-connection.h
6378 libnm-util/nm-setting-connection.c
6379 - Add 'lockdown' member
6381 2007-12-22 Dan Williams <dcbw@redhat.com>
6383 * libnm-util/nm-setting-wireless.c
6384 - (nm_setting_wireless_class_init): add missing 'rate' property
6387 2007-12-18 Dan Williams <dcbw@redhat.com>
6389 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6391 * src/nm-netlink-monitor.c
6392 src/nm-netlink-monitor.h
6393 - Remove handrolled netlink, use libnl instead
6395 * src/nm-device-802-3-ethernet.c
6396 - (constructor, nm_device_802_3_ethernet_carrier_off,
6397 nm_device_802_3_ethernet_carrier_on): use new names
6399 2007-12-17 Dan Williams <dcbw@redhat.com>
6402 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6403 and fixes memory leaks)
6406 - (nm_netlink_get_default_handle): handle new versions of libnl that
6407 automatically handle the netlink PID
6409 2007-12-17 Dan Williams <dcbw@redhat.com>
6411 Patch from Michael Biebl <biebl@debian.org>
6414 src/ppp-manager/Makefile.am
6415 - fix up install dir of pppd plugin
6416 - clean up configure.in a bit
6418 2007-12-12 Dan Williams <dcbw@redhat.com>
6420 * system-settings/src/nm-system-settings.conf
6421 - Allow non-root clients (like the applet) to read settings
6423 2007-12-10 Tambet Ingo <tambet@gmail.com>
6425 * Replace all occurences of 'UMTS' with 'GSM'.
6427 2007-12-07 Dan Williams <dcbw@redhat.com>
6429 * src/nm-serial-device.c
6430 - (real_is_up): serial devices are always "up"
6432 2007-12-07 Dan Williams <dcbw@redhat.com>
6435 src/NetworkManagerSystem.c
6436 - (new_nl_handle): ensure that the same netlink pid is never chosen
6437 twice (gnome.org #491047)
6438 - Make more robust against allocation-related failures should they occur
6440 2007-12-07 Dan Williams <dcbw@redhat.com>
6442 Noticed by Christian Persch <chpe@gnome.org>
6444 Always chain up to parent object in dispose and finalize handlers.
6447 2007-12-07 Dan Williams <dcbw@redhat.com>
6449 * src/nm-device-802-11-wireless.c
6450 - Wrap #include of linux/mii.h to fix redefined structures due to
6451 incorrect kernel headers (gnome.org #350061)
6453 2007-12-06 Tambet Ingo <tambet@gmail.com>
6455 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6456 before doing anything else.
6457 (init_modem): Move modem initialization here.
6459 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6460 (nm_serial_device_flash): Implement.
6462 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6463 changes signal is "StateChanged" and not "Status".
6464 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6466 2007-12-06 Dan Williams <dcbw@redhat.com>
6468 * src/supplicant-manager/nm-supplicant-config.c
6469 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6470 to only send some options when they make sense; also send phase2
6471 option to the supplicant (possible fix for rh #399631)
6473 2007-12-06 Tambet Ingo <tambet@gmail.com>
6475 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6476 arguments: This whole file shouldn't really know anything about NMDevices, it
6477 should deal only with device interfaces. Devices might have different ifaces for
6478 different stuff and this place shouldn't know anything about it.
6480 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6481 (global_state_changed): Implement. In the current NM it's not really important,
6482 but will be required in the case of multiple active devices. (Or even better,
6483 if stuff like that gets moved out from NM).
6485 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6486 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6489 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6490 devices like serial devices (ttyS0 and ppp0 for example).
6491 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6493 (nm_device_set_ip_iface): Implement.
6494 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6495 after setting ip4_config from here ...
6496 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6497 than this function should call nm_system_device_set_from_ip4_config() because no
6498 other code has enough information on which arguments to use. So instead, other code
6499 could just set the new ip4 config using this function and everyone is happy.
6501 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6502 if we happen to get deactivated while something is pending.
6503 (automatic_registration): Handle the response that indicates pending network
6504 registration and wait until the pending registration is done.
6505 (real_deactivate_quickly): If there's a pending operation, cancel it.
6507 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6508 (real_deactivate_quickly): ... and remove it when it's down.
6509 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6511 (nm_serial_device_wait_for_reply): Ditto.
6513 2007-12-05 Tambet Ingo <tambet@gmail.com>
6515 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6516 (get_network_done): Remove newline, nm_info() does it already.
6517 (real_act_stage1_prepare): Turn the modem echo off.
6519 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6520 device, set the route to the device interface. This is a hack.
6522 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6523 return, no need for a new-line.
6524 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6525 Change the device iface here (ugh).
6526 (real_act_stage4_get_ip4_config): Implement.
6527 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6528 Restore the device iface.
6530 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6531 device is not wired or wireless (eg, automatically upped) device.
6533 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6535 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6537 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6538 before calling it's is_device_fn().
6540 2007-12-05 Dan Williams <dcbw@redhat.com>
6542 * libnm-util/nm-utils.c
6543 - (nm_utils_register_value_transformations,
6544 nm_utils_convert_gvalue_hash_to_string): better debug output of
6545 GHashTables of GValues too
6547 2007-12-04 Dan Williams <dcbw@redhat.com>
6549 * initscript/RedHat/NetworkManager.in
6550 - No longer start named; it's D-Bus interface is going away
6552 2007-12-04 Dan Williams <dcbw@redhat.com>
6554 Patch from Michael Biebl <biebl@debian.org>
6556 * system-settings/plugins/ifcfg/Makefile.am
6557 system-settings/src/main.c
6558 system-settings/src/Makefile.am
6559 - Put system settings plugins in NM plugins dir
6561 * src/ppp-manager/Makefile.am
6562 src/ppp-manager/nm-ppp-manager.c
6563 - Move pppd plugin to NM plugins dir
6565 2007-12-04 Dan Williams <dcbw@redhat.com>
6567 * libnm-util/nm-setting-vpn-properties.h
6568 - Clarify usage of the 'data' member of the setting
6570 * libnm-util/nm-setting-vpn-properties.c
6571 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6572 - (set_property): just remove all the settings; don't recreate the has
6573 - (update_one_secret): don't need to create the hash table here since
6574 it should always be present
6576 2007-12-03 Tambet Ingo <tambet@gmail.com>
6578 Implement PIN and PUK requesting.
6580 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6581 (enter_pin): Handle PIN and PUK requests.
6582 (real_act_stage1_prepare): Clear the secret type.
6583 (real_connection_secrets_updated): Implement this class method to get
6584 notified when new secrets arrive.
6585 (nm_umts_device_class_init): Add private data back to the umts device class
6586 to store the required secret type.
6588 2007-12-01 Dan Williams <dcbw@redhat.com>
6590 * system-settings/plugins/ifcfg/parser.c
6591 - (parser_parse_file): don't try to verify NULL connections
6593 2007-12-01 Dan Williams <dcbw@redhat.com>
6595 * system-settings/src/main.c
6596 - (load_connections, add_connection_to_settings): actually export
6597 plugin-provided connections over D-Bus so NM can get them
6599 2007-12-01 Dan Williams <dcbw@redhat.com>
6601 * system-settings/plugins/ifcfg/parser.c
6602 system-settings/plugins/ifcfg/parser.h
6603 system-settings/plugins/ifcfg/plugin.c
6604 - Hook up more inotify bits (untested)
6606 2007-11-29 Dan Williams <dcbw@redhat.com>
6608 * system-settings/src/nm-system-config-interface.h
6609 system-settings/src/nm-system-config-interface.c
6610 - (nm_system_config_interface_init,
6611 nm_system_config_interface_get_connections): add
6613 * system-settings/src/main.c
6614 - (load_plugins, load_connections, main): use a GSList for plugins
6615 to ensure priority ordering
6617 * system-settings/plugins/ifcfg/parser.c
6618 - (ifcfg_error_quark): move to plugin.c, and rename
6620 * system-settings/plugins/ifcfg/plugin.h
6621 system-settings/plugins/ifcfg/plugin.c
6622 - (ifcfg_plugin_error_quark): move here from parser.c
6623 - rework connection loading and initialization
6624 - Add preliminary inotify support for network profile config file
6626 2007-11-28 Tambet Ingo <tambet@gmail.com>
6628 Merge the beginnings of the new GSM card support.
6630 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6631 ppp watch source before killing pppd - If this happens from g_object_unref()
6632 then the ppp manager is already destroyed by the time the watch callback runs.
6634 * src/nm-hal-manager.c: Add a device_type_name string to the device
6635 creators, so that we can print a nice human readable string when a
6638 * src/nm-umts-device.c (automatic_registration_get_network): Query
6639 for the activated network, not much is done with the result thought.
6641 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6642 (ppp_ip4_config): Change the device state to activated here for now.
6643 (real_check_connection): Make sure the connection includes ppp setting.
6645 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6647 * libnm-glib/Makefile.am: Add the new files to build.
6649 * libnm-glib/nm-umts-device.c:
6650 * libnm-glib/nm-umts-device.h: Implement.
6652 2007-11-26 Tambet Ingo <tambet@gmail.com>
6654 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6655 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6657 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6658 the timeout source - this function is only called when the timeout source has
6660 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6661 to be big enough to contain the terminating zero element as well.
6662 The timeout argument is meant to be in seconds now.
6663 (real_deactivate_quickly): Implement.
6665 * src/NetworkManager.conf: Allow root to own
6666 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6668 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6669 (not unsigned ints).
6671 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6672 small issue with parity bounds - capital letters have lower ascii codes
6673 than lower case letters.
6675 * libnm-util/nm-connection.c (register_default_settings): Register serial
6678 2007-11-22 Tambet Ingo <tambet@gmail.com>
6680 Remove the "index" property from devices as not all device types have this.
6682 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6684 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6685 (wired_device_creator): Get the device interface from hal to create the device.
6686 (wireless_device_creator): Ditto.
6688 * src/nm-device.c (nm_device_init): Remove the index member.
6689 (constructor): Remove the checks for index property, make interface property
6690 a require constructor property.
6691 Use the HAL udi for DBus path for devices.
6692 (nm_device_get_index): Remove.
6693 (set_property): Remove index handling.
6694 (get_property): Ditto.
6695 (nm_device_get_dbus_path): Remove.
6697 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6700 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6701 Access the device index through it's interface.
6702 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6703 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6704 index argument. Add interface argument.
6706 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6707 the useless test_dev argument. Remove index argument. Add interface arugment.
6709 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6710 device index through interface.
6711 (nm_system_set_mtu): Ditto.
6713 * introspection/nm-device.xml: Remove the "Index" property.
6715 2007-11-21 Tambet Ingo <tambet@gmail.com>
6717 * src/nm-serial-device.c:
6718 * src/nm-serial-device.c:
6719 * src/nm-umts-device.c:
6720 * src/nm-umts-device.h: Implement.
6722 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6723 allocated by libhal.
6724 (modem_device_creator): Implement.
6725 (register_built_in_creators): Register the modem creator.
6727 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6728 Remove the unused test_dev argument.
6730 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6732 * src/Makefile.am: Add new files to build.
6733 Link in ppp-manager.
6735 * libnm-util/nm-setting-umts.c:
6736 * libnm-util/nm-setting-umts.h:
6737 * libnm-util/nm-setting-serial.c:
6738 * libnm-util/nm-setting-serial.h: Implement.
6740 * libnm-util/Makefile.am: Add new files to build.
6742 2007-11-28 Dan Williams <dcbw@redhat.com>
6744 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6746 Support DHCP-provided static routes.
6748 * src/nm-ip4-config.h
6750 - Add get/set functions for static routes
6752 * src/dhcp-manager/nm-dhcp-manager.c
6753 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6756 * src/NetworkManagerSystem.c
6757 - (nm_system_device_set_from_ip4_config): set any static routes on the
6758 interface when applying the IP4Config
6760 2007-11-28 Dan Williams <dcbw@redhat.com>
6762 * src/nm-device-802-11-wireless.c
6763 - (real_act_stage1_prepare): mark APs created for hidden networks
6766 2007-11-27 Dan Williams <dcbw@redhat.com>
6768 * system-settings/src/nm-system-config-interface.h
6769 - Note how to store secrets on NMSetting objects
6771 * system-settings/src/dbus-settings.c
6772 - (connection_settings_get_secrets): implement
6774 2007-11-27 Dan Williams <dcbw@redhat.com>
6776 * system-settings/plugins/ifcfg/Makefile.am
6777 system-settings/plugins/ifcfg/parser.c
6778 system-settings/plugins/ifcfg/parser.h
6779 system-settings/plugins/ifcfg/plugin.c
6780 - Parse wireless connections too
6782 * system-settings/src/dbus-settings.c
6783 system-settings/src/dbus-settings.h
6784 system-settings/src/main.c
6785 - Handle connection update/removal if the plugin supports it
6787 2007-11-27 Dan Williams <dcbw@redhat.com>
6789 * src/nm-dbus-manager.h
6790 src/nm-hal-manager.c
6791 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6795 src/NetworkManagerDbusUtils.c
6796 src/NetworkManagerDbusUtils.h
6797 - Remove these two source files; they are unused
6799 2007-11-27 Dan Williams <dcbw@redhat.com>
6801 * src/vpn-manager/nm-vpn-manager.c
6802 - (impl_vpn_manager_connect): fix system settings check (found by
6805 2007-11-26 Dan Williams <dcbw@redhat.com>
6807 * Fix warnings so everything compiles with --enable-more-warnings
6809 2007-11-25 Dan Williams <dcbw@redhat.com>
6812 - Rework structure and code to use GModule-loaded plugins and a plugin
6813 interface that plugins export to the system settings service
6815 2007-11-21 Dan Williams <dcbw@redhat.com>
6818 - Add Soren's system settings service. Needs work for distros other
6819 than Fedora; the backends from NM should mostly migrate to here
6820 and be converted to GObjects
6822 2007-11-21 Dan Williams <dcbw@redhat.com>
6824 * libnm-util/nm-setting-vpn-properties.c
6825 - (set_property): must deep-copy the given settings hash, otherwise
6826 double-free errors occur when the setting is disposed of
6828 2007-11-21 Dan Williams <dcbw@redhat.com>
6830 * src/vpn-manager/nm-vpn-act-request.h
6831 src/vpn-manager/nm-vpn-act-request.c
6834 2007-11-20 Dan Williams <dcbw@redhat.com>
6836 * libnm-util/nm-utils.c
6837 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6838 nm_utils_convert_ip4_addr_struct_array_to_string,
6839 nm_utils_register_value_transformations): print out the readable
6840 values of more types of properties of NMSettings subclasses
6842 2007-11-20 Dan Williams <dcbw@redhat.com>
6844 * libnm-util/nm-setting-ip4-config.c
6845 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6846 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6847 marshal GValueArrays inside collections, so switch to types that it
6848 can actually marshal/demarshal
6850 2007-11-16 Dan Williams <dcbw@redhat.com>
6852 * libnm-util/nm-setting-wireless-security.c
6853 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6854 minimal verification of EAP methods too
6855 - (verify): verify phase1 eap methods too
6857 2007-11-15 Dan Williams <dcbw@redhat.com>
6859 * libnm-glib/nm-device.h
6860 libnm-glib/nm-device.c
6861 - (nm_device_get_product, nm_device_get_vendor): should be returning
6864 2007-11-15 Dan Williams <dcbw@redhat.com>
6866 * libnm-glib/nm-device.c
6867 - (get_product_and_vendor): don't try to free things that should be
6870 2007-11-15 Dan Williams <dcbw@redhat.com>
6872 * src/NetworkManagerUtils.c
6873 - (nm_ethernet_address_is_valid): unbreak previous fix
6875 2007-11-15 Dan Williams <dcbw@redhat.com>
6877 * src/supplicant-manager/nm-supplicant-config.c
6878 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6881 2007-11-15 Dan Williams <dcbw@redhat.com>
6883 * src/NetworkManagerUtils.c
6884 - (nm_ethernet_address_is_valid): fix style, clarify
6885 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6887 * src/nm-device-802-11-wireless.c
6888 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6889 - (nm_device_802_11_wireless_get_ssid,
6890 nm_device_802_11_wireless_get_bssid,
6891 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6892 before calling the ioctl; fixes valgrind-reported jump depends on
6893 uninitialized value errors
6895 2007-11-15 Dan Williams <dcbw@redhat.com>
6897 * libnm-util/nm-setting.c
6898 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6899 unecessary to serialize 'name'
6901 * src/nm-activation-request.c
6902 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6905 2007-11-15 Dan Williams <dcbw@redhat.com>
6907 * libnm-util/nm-setting-connection.h
6908 libnm-util/nm-setting-connection.c
6909 - Rename the 'name' property to 'id', because it conflicted with the
6910 NMSetting superclass' 'name' property.
6912 * libnm-util/nm-setting.c
6913 - (nm_setting_to_hash): serialize the 'name' property
6914 - (one_property_cb): ignore 'name' on deserialization of a connection
6916 * src/nm-device-802-11-wireless.c
6917 src/vpn-manager/nm-vpn-connection.c
6918 src/NetworkManagerPolicy.c
6919 - Fix up for NMSettingConnection 'name'->'id' changes
6921 2007-11-13 Dan Williams <dcbw@redhat.com>
6923 * libnm-glib/nm-device-802-11-wireless.h
6924 libnm-glib/nm-device-802-11-wireless.c
6925 - (nm_device_802_11_wireless_get_hw_address): return should be const
6928 libnm-glib/libnm-glib-test.c
6929 - Fixes for above change
6931 2007-11-12 Dan Williams <dcbw@redhat.com>
6933 * src/supplicant-manager/nm-supplicant-settings-verify.c
6934 - Allow fragment_size option
6936 * src/supplicant-manager/nm-supplicant-settings-verify.c
6937 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6938 EAP fragment size than the default to help some TLS connections
6940 2007-11-12 Dan Williams <dcbw@redhat.com>
6942 Make certs actually work. The private key is now a secret, and should be
6943 decrypted when requested by NM. The private key and phase2 private key
6944 passwords are no longer interesting to NM because they should be used by
6945 the settings service to decrypt the private key itself before passing it
6946 to NM, and hence have been removed as fields.
6948 * libnm-util/nm-setting-wireless-security.h
6949 libnm-util/nm-setting-wireless-security.c
6950 - Remove private-key-passwd and phase2-private-key-passwd from
6952 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6953 need_secrets): use property #defines instead strings to keep things
6955 - (need_secrets_tls): if a client certificate is present but no
6956 private key, request the private key
6957 - (set_property, get_property, nm_setting_wireless_security_class_init):
6958 remove private key password stuff, mark private keys as secret
6960 * src/supplicant-manager/nm-supplicant-settings-verify.c
6961 - Remove private_key_passwd and private_key2_passwd from opt_table
6963 2007-11-09 Dan Williams <dcbw@redhat.com>
6965 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6966 Since the vpn-properties are managed and known by the VPN daemons themselves,
6967 libnm-util doesn't know what's secret and what's in the setting's 'data'
6970 * libnm-util/nm-setting.h
6971 libnm-util/nm-setting.c
6972 - Add the ability for subclasses to override update_one_secret
6974 * libnm-util/nm-setting-vpn-properties.c
6975 - Override update_one_secret and just copy the values into the
6978 2007-11-09 Dan Williams <dcbw@redhat.com>
6980 * libnm-glib/nm-settings.h
6981 libnm-glib/nm-settings.c
6982 - (nm_settings_new_error): remove
6983 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6984 clients should use g_set_error() with NM_SETTINGS_ERROR
6986 2007-11-09 Dan Williams <dcbw@redhat.com>
6988 * src/supplicant-manager/nm-supplicant-config.c
6989 - (nm_supplicant_config_add_setting_wireless_security): private key
6990 passwords are never sent to wpa_supplicant, because the supplicant
6991 should never be reading random files from the disk. Clients like
6992 the applet are required to decrypt the private keys and send NM
6993 the decrypted blobs.
6995 2007-11-08 Dan Williams <dcbw@redhat.com>
6997 * libnm-util/nm-setting-wireless-security.h
6998 libnm-util/nm-setting-wireless-security.c
6999 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7000 members to 802-11-wireless-security structure. This should be used
7001 to indicate that the values in private-key and phase2-private-key
7002 are already decrypted by the user agent, and that no
7003 private-key-passwd or phase2-private-key-passwd should be expected.
7004 It is not meant to be a stored configuration value, but meant to
7005 be set when the conneciton is sent to NM over dbus.
7007 2007-11-08 Dan Williams <dcbw@redhat.com>
7009 * libnm-util/nm-connection.h
7010 libnm-util/nm-connection.c
7011 - (nm_connection_need_secrets): add argument to return hints
7013 * src/nm-device-802-11-wireless.c
7014 - (link_timeout_cb, supplicant_connection_timeout_cb,
7015 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7016 nm_connection_need_secrets() change
7018 2007-11-07 Tambet Ingo <tambet@gmail.com>
7020 Rework NMSetting structures: Move each setting to it's own file.
7021 Convert to GObject. Remove home grown setting types and use GTypes.
7022 Use GObject property introspection for hash conversion, enumerating
7025 * libnm-util/nm-setting-connection.[ch]
7026 * libnm-util/nm-setting-ip4-config.[ch]
7027 * libnm-util/nm-setting-ppp.[ch]
7028 * libnm-util/nm-setting-vpn.[ch]
7029 * libnm-util/nm-setting-vpn-properties.[ch]
7030 * libnm-util/nm-setting-wired.[ch]
7031 * libnm-util/nm-setting-wireless.[ch]
7032 * libnm-util/nm-setting-wireless-security.[ch]
7034 New files, each containing a setting.
7036 * libnm-util/nm-setting-template.[ch]: A template for creating new
7037 settings. To use it, just replace 'template' with the new setting
7038 name, and you're half-way done.
7040 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7041 introspection instead of internal types and tables.
7043 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7045 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7046 GValue types defined by dbus-glib for composed types like collections,
7047 structures and maps.
7049 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7050 a setting from connection takes the setting type now. Also, since
7051 the settings are in multiple files, include relevant settings.
7053 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7056 * src/backends/NetworkManagerGentoo.c:
7057 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7058 providers in Gentoo.
7060 2007-10-31 Dan Williams <dcbw@redhat.com>
7062 * libnm-util/nm-connection.c
7063 - (gvalue_to_string): handle UINT32 arrays
7065 2007-10-31 Dan Williams <dcbw@redhat.com>
7067 * libnm-glib/nm-device.h
7068 libnm-glib/nm-device.c
7069 - (nm_device_get_description): remove
7070 - (nm_device_get_product, nm_device_get_vendor): add
7071 - (nm_device_update_description): new function (private); walk HAL
7072 devices to get product and vendor IDs for a specific device
7074 2007-10-31 Dan Williams <dcbw@redhat.com>
7076 * src/nm-device-802-11-wireless.c
7077 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7079 2007-10-29 Dan Williams <dcbw@redhat.com>
7081 * src/nm-hal-manager.c
7082 - (device_added, device_new_capability): ignore device additions while
7083 asleep. Fixes crash caused when NM goes to sleep, a network device
7084 kernel module is unloaded and reloaded and recognized by NM again.
7086 2007-10-26 Dan Williams <dcbw@redhat.com>
7088 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7090 * src/NetworkManagerAP.c
7091 src/NetworkManagerAP.h
7092 libnm-glib/nm-access-point.c
7093 libnm-glib/nm-access-point.h
7094 - Make 'rate' property a guint32 to better match with WEXT and
7095 wpa_supplicant and to allow representation of higher bitrates
7097 * src/nm-device-802-11-wireless.c
7098 introspection/nm-device-802-11-wireless.xml
7099 libnm-glib/nm-device-802-11-wireless.c
7100 libnm-glib/nm-device-802-11-wireless.h
7101 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7103 * src/nm-device-802-3-ethernet.c
7104 src/nm-device-802-3-ethernet.h
7105 introspection/nm-device-802-3-ethernet.xml
7106 libnm-glib/nm-device-802-3-ethernet.c
7107 libnm-glib/nm-device-802-3-ethernet.h
7108 - Make 'speed' property a guint32 to match other speed/rate types
7109 - Make nm_device_802_3_ethernet_get_speed() static
7112 - Update for the changes above
7114 2007-10-26 Dan Williams <dcbw@redhat.com>
7116 * src/named-manager/nm-named-manager.c
7117 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7118 not calling fclose() twice on some error conditions
7120 2007-10-26 Dan Williams <dcbw@redhat.com>
7122 * src/nm-activation-request.c
7123 - (dispose): clean up indentation; get the right DBusGProxy object to
7124 cancel the GetSecrets pending call on. Need to use the Secrets
7125 proxy, not the regular connection proxy. Otherwise the GetSecrets
7126 pending call doesn't get canceled, and pressing Cancel in the
7127 applet's password dialog could cause get_secrets_cb() to be called
7128 after the activation request has already been destroyed
7130 2007-10-24 Dan Williams <dcbw@redhat.com>
7132 * src/supplicant-manager/nm-supplicant-config.c
7133 - (nm_supplicant_config_add_blob): pass blob data and length for
7135 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7137 2007-10-24 Dan Williams <dcbw@redhat.com>
7139 * src/supplicant-manager/nm-supplicant-settings-verify.c
7140 - (opt_table): max length for certificates should be 65536
7142 2007-10-24 Dan Williams <dcbw@redhat.com>
7144 * src/supplicant-manager/nm-supplicant-interface.c
7145 - (blob_free): correctly free blob data after use
7146 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7148 2007-10-24 Dan Williams <dcbw@redhat.com>
7150 * libnm-util/nm-setting.c
7151 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7152 EAP method need secrets
7154 2007-10-24 Dan Williams <dcbw@redhat.com>
7156 * src/backends/NetworkManagerRedHat.c
7157 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7159 2007-10-23 Dan Williams <dcbw@redhat.com>
7161 * libnm-util/nm-setting.c
7162 libnm-util/nm-setting.c
7163 - (nm_setting_compare): implement
7164 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7165 compare_one_hash_gvalue): compare the contents of a setting
7167 * libnm-util/nm-connection.c
7168 - (nm_connection_compare): implement
7170 2007-10-23 Dan Williams <dcbw@redhat.com>
7172 * src/nm-activation-request.c
7173 - (get_secrets_cb): handle getting a setting back that is more than
7174 just secrets (ie, user changed auth or EAP method or something)
7176 2007-10-23 Dan Williams <dcbw@redhat.com>
7178 * libnm-util/nm-setting.c
7179 libnm-util/nm-setting.h
7180 - (nm_setting_verify): new function; verify one setting
7181 - (nm_settings_verify_all): rename from nm_settings_verify()
7182 - (setting_connection_verify, setting_wireless_verify): allow NULL
7185 * libnm-util/nm-connection.c
7186 - (nm_connection_replace_settings, nm_connection_verify,
7187 nm_connection_new_from_hash): handle nm_settings_verify() rename
7189 2007-10-23 Dan Williams <dcbw@redhat.com>
7191 * src/nm-device-802-11-wireless.c
7192 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7195 2007-10-23 Dan Williams <dcbw@redhat.com>
7197 * src/supplicant-manager/nm-supplicant-settings-verify.c
7198 - eap_allowed, phase2_allowed: harmonize with allowed values from
7201 2007-10-23 Dan Williams <dcbw@redhat.com>
7203 * src/nm-device-802-11-wireless.c
7204 - (real_act_stage2_config): after the first association failure,
7205 if the connection still needs secrets ask the user for them
7206 explicitly. After the fourth association failure due to bad
7207 secrets, fail the connection entirely. Handles the GetSecrets
7208 loop that NM gets into when the provided secrets don't match up
7209 with the connection details.
7211 2007-10-23 Dan Williams <dcbw@redhat.com>
7213 * src/supplicant-manager/nm-supplicant-config.c
7214 - (nm_supplicant_config_add_setting_wireless_security): only add
7215 WPA-specific options when WPA is in use
7217 2007-10-23 Dan Williams <dcbw@redhat.com>
7219 * src/supplicant-manager/nm-supplicant-config.c
7220 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7221 secret doesn't need to be unhexified
7223 2007-10-23 Dan Williams <dcbw@redhat.com>
7225 * libnm-util/nm-setting.c
7226 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7227 before trying to do something with it
7229 2007-10-23 Dan Williams <dcbw@redhat.com>
7231 * src/nm-device-802-11-wireless.c
7232 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7234 2007-10-23 Dan Williams <dcbw@redhat.com>
7236 * src/nm-device-802-11-wireless.c
7237 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7238 non-SSID-broadcasting APs
7240 2007-10-23 Dan Williams <dcbw@redhat.com>
7242 * src/NetworkManagerAP.c
7243 - (match_cipher, security_compatible): remove
7244 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7247 2007-10-23 Dan Williams <dcbw@redhat.com>
7249 * libnm-util/nm-utils.c
7250 libnm-util/nm-utils.h
7251 - (nm_utils_ap_security_compatible): common function for checking
7252 whether a specific AP is compatible with an NMConnection
7254 2007-10-23 Dan Williams <dcbw@redhat.com>
7256 * libnm-util/nm-setting.c
7257 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7258 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7259 need_secrets_password, setting_wireless_security_verify): fix
7260 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7261 secrets logic for each supported EAP method
7263 2007-10-23 Dan Williams <dcbw@redhat.com>
7265 * src/supplicant-manager/nm-supplicant-config.c
7266 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7267 config option name, should be "private_key2_passwd"
7269 2007-10-22 Tambet Ingo <tambet@gmail.com>
7271 Implement support for static IP addresses, additional/overridden DNS and
7272 DNS domain search lists.
7274 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7275 (ip4_addresses_to_gvalue): Implement.
7276 (convert_array_to_byte_array): Implement.
7277 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7278 NM_S_TYPE_IP4_ADDRESSES.
7279 (nm_setting_hash): Ditto.
7280 (default_setting_clear_secrets): Add a default case for the switch: IP address
7281 shouldn't be secret, ever.
7282 (setting_ip4_config_verify): Update, requires addresses in case of manual
7284 (setting_ip4_config_destroy): Free stuff.
7286 * src/nm-device.c (merge_ip4_config): Implement.
7287 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7289 2007-10-22 Dan Williams <dcbw@redhat.com>
7291 * libnm-util/nm-setting.c
7292 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7293 pairwise cipher options for Dynamic WEP
7295 2007-10-21 Dan Williams <dcbw@redhat.com>
7297 * src/NetworkManagerAP.c
7298 src/NetworkManagerAP.h
7299 - Rename 'articifical' -> 'fake' since that's what they are until
7301 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7302 from the attributes in an NMConnection object
7303 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7305 - (nm_ap_match_in_list): find a matching AP in a scan list
7307 * src/nm-device-802-11-wireless.c
7308 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7309 AP when searching the scan list; match on frequency and mode too
7310 - (nm_device_802_11_wireless_get_frequency): implement
7311 - (merge_scanned_ap): replace duplicate matching logic with
7312 nm_ap_match_in_list()
7313 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7314 the user is trying to connect to a hidden network that is not yet
7315 known from the scan list
7316 - (activation_success_handler): now that the card knows the AP's BSSID,
7317 there may already be a scanned AP in the scan list that is what
7318 we really wanted to connect to, but didn't know at the time. Use
7319 that instead of the 'fake' AP created at activation start and get
7320 rid of the 'fake' AP
7321 - (cull_scan_list): don't remove fake APs
7323 2007-10-21 Dan Williams <dcbw@redhat.com>
7325 * src/nm-activation-request.h
7326 src/nm-activation-request.c
7327 - (nm_act_request_set_specific_object): new function; allow setting the
7328 specific object if one isn't set yet
7330 2007-10-20 Dan Williams <dcbw@redhat.com>
7332 * src/supplicant-manager/nm-supplicant-config.h
7333 src/supplicant-manager/nm-supplicant-config.c
7334 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7335 table to store blobs
7336 - (nm_supplicant_config_add_blob): new function; add blob to internal
7338 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7339 - (nm_supplicant_config_add_setting_wireless_security): handle
7340 options that use certificates (ie, blobs)
7342 * src/nm-device-802-11-wireless.c
7343 - (build_supplicant_config): pass a UID (just use the connection path)
7344 to the supplicant config as now required
7346 * src/supplicant-manager/nm-supplicant-interface.c
7347 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7348 there are any blobs to send to wpa_supplicant, send those first
7349 before sending the network configuration
7351 2007-10-19 Dan Williams <dcbw@redhat.com>
7353 Split the GetSecrets() call off to a separate D-Bus interface so that it
7354 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7355 should be able to call GetSecrets().
7357 * include/NetworkManager.h
7358 - Define the connection secrets D-Bus interface
7360 * src/vpn-manager/nm-vpn-connection.c
7361 - (clear_need_auth): get the right proxy object for the connection
7363 - (get_connection_secrets): use the connection secrets proxy; send
7364 empty hints in get secrets request
7366 * src/nm-activation-request.c
7367 - (nm_act_request_request_connection_secrets): use the connection
7368 secrets proxy; send empty hints in get secrets request
7372 - (connection_get_settings_cb): set the connection secrets proxy on
7373 the connection object too
7374 - (internal_new_connection_cb): create the connection secrets proxy
7376 * introspection/nm-settings-connection.xml
7377 - Define Connection.Secrets interface and move GetSecrets there
7378 - Add a 'hints' argument to GetSecrets
7380 * libnm-glib/nm-settings.c
7381 libnm-glib/nm-settings.h
7382 - (impl_connection_settings_get_secrets): add 'hints' argument
7384 2007-10-19 Dan Williams <dcbw@redhat.com>
7387 - (constructor): add message about what path a device is exported as
7388 to help in debugging rh #339011
7390 2007-10-17 Dan Williams <dcbw@redhat.com>
7392 * libnm-util/nm-utils.h
7393 libnm-util/nm-utils.c
7394 - (nm_utils_security_valid): common function to help find the intersection
7395 of capabilities of devices and (optionally) access points
7397 2007-10-17 Dan Williams <dcbw@redhat.com>
7399 * src/nm-device-802-11-wireless.c
7400 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7401 don't get erroneously cleared
7403 2007-10-17 Dan Williams <dcbw@redhat.com>
7407 src/nm-hal-manager.c
7408 - (device_removed, finalize, nm_manager_remove_device,
7409 nm_manager_sleep): add a 'deactivate' argument to
7410 nm_manager_remove_device() to fully deactivate devices when necessary
7411 (ie, always except when waking up)
7413 2007-10-16 Dan Williams <dcbw@redhat.com>
7415 * libnm-util/nm-setting.c
7416 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7417 also isn't valid phase2 autheap method
7419 2007-10-16 Dan Williams <dcbw@redhat.com>
7421 * libnm-glib/nm-client.c
7422 - (update_wireless_status): consolidate updates of wireless status
7423 - (constructor): use update_wireless_status()
7424 - (manager_running): set wireless status off when NM goes away; requery
7425 the wireless status when NM comes back
7427 2007-10-16 Dan Williams <dcbw@redhat.com>
7429 * libnm-glib/nm-client.c
7430 - (nm_client_activate_device): actually use the fixed-up specific
7433 2007-10-16 Dan Williams <dcbw@redhat.com>
7435 * src/nm-hal-manager.c
7436 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7437 killswitch error messages once
7439 2007-10-16 Dan Williams <dcbw@redhat.com>
7442 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7443 if it's disabled in hardware; don't touch network devices while
7446 2007-10-16 Dan Williams <dcbw@redhat.com>
7448 * libnm-util/nm-client.c
7449 - (nm_client_activate_device): convert NULL specific_object to "/",
7450 which is used in place of NULL
7453 - (impl_manager_activate_device): convert "/" specific_object back into
7456 2007-10-16 Tambet Ingo <tambet@gmail.com>
7458 Implement a generic NMSetting creator from setting name.
7459 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7460 add a virtual function 'populate_fn'.
7462 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7463 (register_default_creators): Register setting creators instead of functions
7464 that create and then populate.
7465 (parse_one_setting): Use the common setting creator and then setting specific
7466 poplulation function.
7468 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7469 they all looked exactly the same.
7470 Add a 'populate_fn' virtual function to NMSetting.
7471 Use default virtual functions in case they are not overriden.
7472 (nm_setting_populate_from_hash): Implement.
7474 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7475 name, use a defined string.
7476 (real_act_stage4_get_ip4_config): Ditto.
7478 2007-10-16 Tambet Ingo <tambet@gmail.com>
7480 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7481 HAL is int, not uint.
7483 2007-10-15 Tambet Ingo <tambet@gmail.com>
7485 Implement killswitch polling through HAL.
7487 * src/nm-manager.c: Add wireless hardware status property. Add
7488 'properties-changed' signal for changes in wireless and wireless hardware
7491 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7492 and update NMManager's wireless hardware state when it has changed.
7493 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7496 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7497 values of wireless state and wireless hardware state. Listen for the
7498 'properties-changed' signals, update the cached values and emit notify.
7500 * include/NetworkManager.h: Fix a typo in a comment.
7502 2007-10-14 Dan Williams <dcbw@redhat.com>
7504 * libnm-util/nm-setting.c
7505 - (setting_wireless_security_need_secrets): handle LEAP secrets
7507 2007-10-13 Dan Williams <dcbw@redhat.com>
7509 * libnm-util/nm-setting.h
7510 libnm-util/nm-setting.c
7511 src/supplicant-manager/nm-supplicant-config.c
7512 - Make the 'proto' field of the 802-11-wireless-security field a
7515 2007-10-12 Tambet Ingo <tambet@gmail.com>
7517 Rework the "properties-changed" signal listening implementation.
7518 Add a generic implementation to NMObject class that listens for
7519 the signal and calls property setters of the target NMObject.
7521 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7523 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7524 code to the end of file so that all the static functions are available
7525 without extra declarations.
7526 Remove the "properties-changed" signal handling and use the framework from
7528 Implement property setters for properties that change with
7529 "properties-changed" signal.
7531 * libnm-glib/nm-access-point.c: Ditto.
7533 2007-10-12 Tambet Ingo <tambet@gmail.com>
7535 Rework the "properties-changed" signal implementation.
7536 In classes that need to use it, just emit "GObject::notify" and the new
7537 framework takes care of the rest to make the signal available on dbus.
7538 The framework queues the notifications and tries to send as many together
7539 in one signal as possible.
7541 * src/nm-properties-changed-signal.c:
7542 * src/nm-properties-changed-signal.h: Implement.
7544 * src/Makefile.am: Add new files to build.
7546 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7549 * src/nm-device-802-11-wireless.c: Ditto.
7551 2007-10-10 Dan Williams <dcbw@redhat.com>
7554 - (wait_for_connection_expired): ensure info is valid
7555 - (connection_added_default_handler): Should only remove pending
7556 connection info when the manager has the connection that it's
7557 waiting for. Fixes segfault in wait_for_connection_info().
7559 2007-10-10 Dan Williams <dcbw@redhat.com>
7561 * libnm-util/nm-setting.c
7562 libnm-util/nm-setting.h
7563 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7564 can use if they choose. Should be filled in by the settings service
7565 on-the-fly with the currently logged in user's username
7567 2007-10-10 Dan Williams <dcbw@redhat.com>
7569 * src/nm-device-802-11-wireless.c
7570 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7571 as such, because even if the manager fills in the SSID, NM still
7572 has to indicate to wpa_supplicant that the AP isn't broadcasting
7575 2007-10-10 Tambet Ingo <tambet@gmail.com>
7577 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7578 code that used NM's own version of dbus signal handling and custom dictionary
7579 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7580 and we get to maintain over 2000 lines less code.
7582 * libnm-util/dbus-dict-helpers.c:
7583 * libnm-util/dbus-dict-helpers.h: Remove.
7585 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7587 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7589 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7592 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7594 * configure.in: Remove test/libnm-util/Makefile creation.
7596 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7598 * test/libnm-util/: Remove the whole directory.
7600 2007-10-10 Tambet Ingo <tambet@gmail.com>
7602 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7603 device_state_changed_idle_id variable or it would contain some random value and the
7604 schedule_change_check calls would not do anything.
7606 2007-10-09 Dan Williams <dcbw@redhat.com>
7608 * src/nm-device-802-11-wireless.c
7609 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7610 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7611 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7612 merging of non-SSID-broadcasting APs
7614 2007-10-09 Tambet Ingo <tambet@gmail.com>
7616 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7617 "guint8 *" since it's usually used with GByteArray->data.
7618 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7620 2007-10-09 Tambet Ingo <tambet@gmail.com>
7622 * src/NetworkManagerUtils.c
7623 (nm_utils_is_empty_ssid):
7624 (nm_utils_escape_ssid):
7625 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7626 lot of places, so they belong to libnm-utils instead.
7628 Now with 100% less compiler warnings:
7630 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7631 (nm_dbus_unescape_object_path): Ditto.
7632 (nm_utils_ssid_to_utf8): Ditto.
7633 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7634 (nm_utils_escape_ssid): Ditto.
7635 (nm_utils_same_ssid): Ditto.
7637 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7638 (add_one_connection_element): Remove an unused variable.
7639 (impl_manager_get_active_connections): Ditto.
7641 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7644 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7645 from the previous commit.
7647 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7648 (real_act_stage1_prepare): Ditto.
7649 (activation_success_handler): Ditto.
7650 (get_property): Ditto.
7652 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7655 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7658 * src/supplicant-manager/nm-supplicant-config.c
7659 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7660 to expected "char *".
7661 (nm_supplicant_config_add_setting_wireless): Ditto.
7662 (nm_supplicant_config_remove_option): Remove, not used.
7664 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7666 (test_wireless_enabled): Ifdef out unused function.
7667 (device_deactivate): Ditto.
7668 (device_state_changed): Ditto.
7669 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7670 (nm_utils_escape_ssid): Ditto.
7672 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7673 (nm_utils_is_empty_ssid): Ditto.
7675 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7678 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7679 (setting_vpn_properties_update_secrets): Ditto.
7680 (int_to_gvalue): Ifdef out for now, not used.
7681 (byte_to_gvalue): Ditto.
7683 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7686 2007-10-08 Tambet Ingo <tambet@gmail.com>
7688 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7689 about dbus manager, not named manager.
7690 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7692 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7693 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7694 However, the same signal is emitted when we destroy it and there's
7695 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7697 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7698 releasing the DBusGConnection, since proxy needs a conneciton.
7699 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7701 2007-10-08 Dan Williams <dcbw@redhat.com>
7703 * src/NetworkManager.c
7704 - (main): error on unknown command-line options
7706 2007-10-08 Dan Williams <dcbw@redhat.com>
7708 Reimplement the invalid connection list. Don't try to re-activate a
7709 connection that just failed or was canceled.
7712 - (connection_secrets_failed_cb): fail device activation, don't just
7713 deactivate the device. Listeners have to know about the failure.
7715 * src/NetworkManagerPolicy.c
7716 - (nm_policy_auto_get_best_device): exclude invalid connections from
7717 the connection list given to a device's get_best_connection()
7719 - (device_state_changed): tag failed connections as invalid; clear the
7720 tag from successful connections
7722 2007-10-08 Dan Williams <dcbw@redhat.com>
7724 Fix problems with interrupted activation. Previously, choosing an AP
7725 from the menu, then choosing another one before the first connection was
7726 successful wouldn't deactivate the device before starting the new connection
7727 on that same device.
7729 * src/NetworkManagerPolicy.c
7730 - (deactivate_old_device, device_state_changed, state_changed,
7731 nm_policy_new): wrong place to deactivate old devices
7734 - (pending_connection_info_destroy, finalize,
7735 wait_for_connection_expired): decouple destruction of the pending
7736 connection info from the manager device
7737 - (connection_added_default_handler): deactivate any active or
7738 activating device before starting a new activation
7739 - (impl_manager_activate_device): deactivate any active or activating
7740 device before starting a new activation; be sure not to leak
7741 pending connection info if a new activation request arrives but
7742 there's already a pending one in-process
7744 2007-10-08 Dan Williams <dcbw@redhat.com>
7746 * src/NetworkManagerAP.h
7747 src/NetworkManagerAP.c
7748 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7749 should handle default SSIDs and whether or not to autoconnect
7752 2007-10-08 Dan Williams <dcbw@redhat.com>
7754 * src/NetworkManagerPolicy.c
7755 - (nm_policy_device_change_check): print out connection name where
7758 2007-10-08 Dan Williams <dcbw@redhat.com>
7760 * src/nm-device-802-11-wireless.c
7761 src/nm-device-802-11-wireless.h
7762 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7763 'hidden-ap-found' signal (for internal use only) that allows the
7764 NMManager to fill in the AP's SSID if a connection has that AP's
7765 BSSID in its seen-bssids list
7768 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7769 wireless device's hidden-ap-found signal and fill in the APs SSID
7772 2007-10-07 Dan Williams <dcbw@redhat.com>
7776 - Add a 'connections-added' signal to batch together updates of large
7777 numbers of connections, like when reading from a settings service
7778 the first time. Otherwise, the policy would just activate the first
7779 suitable connection it saw rather than waiting for the full list
7781 - (nm_manager_class_init): register new signal
7782 - (get_type_for_proxy, connection_get_settings_cb,
7783 get_connection_for_proxy): centralize places where a proxy's setting
7784 service is determined
7785 - (free_get_settings_info): if the call being freed is the last call
7786 in a pending call group, fire off the connections-added signal
7787 - (internal_new_connection_cb): add call to a pending call group if
7789 - (list_connections_cb): always create a call group here, because this
7790 call results in a batch of new connections
7791 - (initial_get_connections): start getting system connections first
7792 - (nm_manager_connections_destroy, emit_removed): actually emit the
7793 removed signal when destroying connections
7795 * src/NetworkManagerPolicy.c
7796 - (nm_policy_new, connections_added): handle connections-added signal
7799 2007-10-06 Dan Williams <dcbw@redhat.com>
7801 * src/nm-device-802-11-wireless.c
7802 - (constructor): fix leaked socket
7804 2007-10-06 Dan Williams <dcbw@redhat.com>
7806 * src/NetworkManagerPolicy.c
7807 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7808 connection in the list returned by nm_manager_get_connections() is
7809 reffed, but they weren't getting unreffed before returning
7811 2007-10-06 Dan Williams <dcbw@redhat.com>
7814 - (connections_to_slist): sort connections first on autoconnect, then
7817 2007-10-06 Dan Williams <dcbw@redhat.com>
7819 * libnm-util/nm-connection.c
7820 - (gvalue_to_string): handle UINT64
7822 2007-10-06 Dan Williams <dcbw@redhat.com>
7824 * src/NetworkManagerPolicy.c
7825 - (connection_updated, nm_policy_new): recheck state when a connection
7828 2007-10-06 Dan Williams <dcbw@redhat.com>
7832 - (nm_manager_get_connection_dbus_path): make static
7833 - (nm_manager_update_connections): remove; unused
7834 - Add a connection-updated signal
7835 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7836 handle connection object updates
7838 2007-10-06 Dan Williams <dcbw@redhat.com>
7840 * src/NetworkManagerPolicy.c
7841 - (connection_removed): deactivate removed connections
7843 2007-10-06 Dan Williams <dcbw@redhat.com>
7845 * libnm-util/nm-connection.c
7846 libnm-util/nm-connection.h
7847 - (nm_connection_replace_settings): new function
7849 2007-10-06 Dan Williams <dcbw@redhat.com>
7851 * libnm-glib/nm-device-802-11-wireless.c
7852 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7853 on error when getting the active access point over D-Bus from NM
7855 2007-10-05 Dan Williams <dcbw@redhat.com>
7857 * libnm-util/nm-setting.c
7858 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7859 to the NMSettingWireless table; it's now a string array not an array
7862 2007-10-05 Dan Williams <dcbw@redhat.com>
7864 * libnm-glib/nm-device-802-11-wireless.c
7865 - Cache properties and update cached properties on D-Bus signals from NM
7867 2007-10-05 Dan Williams <dcbw@redhat.com>
7869 * src/nm-device-802-11-wireless.c
7870 - (set_current_ap): consolidate current_ap handling code into one place
7871 to ensure that PropertiesChanged signals are emitted in all cases
7872 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7873 nm_device_802_11_wireless_dispose): use set_current_ap()
7875 2007-10-05 Dan Williams <dcbw@redhat.com>
7877 * libnm-glib/nm-access-point.c
7878 libnm-glib/nm-access-point.h
7879 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7880 because the value is cached internally now. Callers should not
7881 free the internal value.
7882 - Make signal name defines private
7885 libnm-glib/libnm-glib-test.c
7886 - Don't free value returned from nm_access_point_get_hw_address()
7888 2007-10-04 Dan Williams <dcbw@redhat.com>
7890 * introspection/nm-device-802-11-wireless.xml
7891 src/nm-device-802-11-wireless.h
7892 src/nm-device-802-11-wireless.c
7893 - Add a PropertiesChanged signal for wireless device
7894 - Store currently associated access point
7895 - (periodic_update): generalize; update rate here too and emit the
7896 correct PropertiesChanged signal when stuff changes
7897 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7898 real_activation_cancel_handler): clear current_ap when device is
7900 - (link_to_specific_ap, get_ap_blacklisted,
7901 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7903 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7905 - (real_set_hw_address): emit property changed signal if the card's
7907 - (real_act_stage1_prepare): set the initial current_ap to the AP
7908 the card is supposed to be connecting to
7909 - (activation_success_handler): send out property updates on successful
7911 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7912 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7913 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7914 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7915 is now boxed; add PropertiesChanged signal
7917 2007-10-04 Dan Williams <dcbw@redhat.com>
7919 * libnm-util/nm-connection.c
7920 libnm-util/nm-connection.h
7921 - (nm_connection_verify): new function
7923 2007-10-04 Dan Williams <dcbw@redhat.com>
7925 * libnm-util/nm-setting.c
7926 - (nm_settings_verify): use #defines when possible rather than strings
7927 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7928 - (setting_vpn_verify): tighter validity check on 'service_type'
7930 2007-10-04 Dan Williams <dcbw@redhat.com>
7932 * libnm-glib/nm-settings.c
7933 - (nm_connection_settings_class_init): provide correct type for argument
7934 to the Updated signal so that dbus-glib knows how to marshal it
7936 2007-10-03 Dan Williams <dcbw@redhat.com>
7938 * src/nm-device-802-3-ethernet.c
7939 - (real_get_best_connection): don't create automatic connections
7940 internally; clients should provide a setting that applies to
7941 the device with 'autoconnect: True'. Problem was that these
7942 internally auto-created connections don't have a proxy or service
7943 name becuase they weren't created by a settings daemon, and therefore
7944 clients have no idea what to do with them.
7946 2007-10-03 Dan Williams <dcbw@redhat.com>
7948 * src/nm-device-802-11-wireless.c
7949 src/nm-device-802-11-wireless.h
7950 introspection/nm-device-802-11-wireless.xml
7951 - GetActiveNetworks -> GetAccessPoints
7952 - ActiveNetwork -> ActiveAccessPoint
7953 - NetworkAdded -> AccessPointAdded
7954 - NetowrkRemoved -> AccessPointRemoved
7956 * libnm-glib/nm-device-802-11-wireless.c
7957 libnm-glib/nm-device-802-11-wireless.h
7958 - network-added signal -> access-point-added
7959 - network-removed signal -> access-point-removed
7960 - nm_device_802_11_wireless_get_active_network() ->
7961 nm_device_802_11_wireless_get_active_access_point()
7962 - nm_device_802_11_wireless_get_network_by_path() ->
7963 nm_device_802_11_wireless_get_access_point_by_path()
7964 - nm_device_802_11_wireless_get_networks() ->
7965 nm_device_802_11_wireless_get_access_points()
7967 * libnm-glib/libnm-glib-test.c
7969 src/NetworkManagerPolicy.c
7970 - Fixups for Network -> AccessPoint
7972 2007-10-03 Dan Williams <dcbw@redhat.com>
7974 Add a GetActiveConnections() method on the Manager object.
7978 introspection/nm-manager.xml
7979 - (connection_get_settings_cb): keep connection type around too
7980 - (impl_manager_get_active_connections, add_one_connection_element):
7981 implement; returns all active connections and what devices they
7984 * libnm-glib/nm-client.c
7985 libnm-glib/nm-client.h
7986 introspection/nm-manager-client.xml
7987 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7988 by the caller; free here to avoid memory leak
7989 - (nm_client_get_active_connections): implement; return the list of
7991 - (nm_client_free_active_connection_element): implement; free an element
7992 of the GSList returned by nm_client_get_active_connections()
7994 2007-10-03 Dan Williams <dcbw@redhat.com>
7996 * src/nm-device-802-11-wireless.c
7997 - (nm_device_802_11_wireless_update_bssid): remove
7998 - (get_active_ap): new function; find the AP in the scan list which
7999 matches the current BSSID and SSID of the wireless device
8000 - (nm_device_802_11_periodic_update): get current AP using
8001 get_active_ap() and print AP roam messages
8003 2007-10-01 Dan Williams <dcbw@redhat.com>
8005 * libnm-util/nm-setting.h
8006 - Add a 'timestamp' option to NMSettingConnection
8009 * libnm-util/nm-setting.c
8010 - (uint64_to_gvalue): new function
8011 - (nm_setting_populate_from_hash, nm_setting_hash,
8012 default_setting_clear_secrets): handle UINT64 type
8013 - con_table: add 'timestamp' member
8015 2007-10-01 Dan Williams <dcbw@redhat.com>
8018 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8019 value when the connection can be activated immediately
8021 2007-10-01 Dan Williams <dcbw@redhat.com>
8023 * libnm-glib/nm-device.c
8024 - (nm_device_class_init): actually tell glib about the carrier-changed
8027 2007-10-01 Dan Williams <dcbw@redhat.com>
8030 src/marshallers/Makefile.am
8031 src/marshallers/nm-marshal.list
8032 src/marshallers/nm-marshal-main.c
8033 - Consolidate glib marshallers into one place
8035 * src/dhcp-manager/Makefile.am
8036 src/dhcp-manager/nm-dhcp-manager.c
8037 src/supplicant-manager/Makefile.am
8038 src/supplicant-manager/nm-supplicant-manager.c
8039 src/supplicant-manager/nm-supplicant-interface.c
8040 src/ppp-manager/Makefile.am
8041 src/ppp-manager/nm-ppp-manager.c
8042 src/vpn-manager/Makefile.am
8043 src/vpn-manager/nm-vpn-connection.c
8045 - Use consolidated marshallers
8047 * src/dhcp-manager/nm-dhcp-marshal.list
8048 src/dhcp-manager/nm-dhcp-marshal-main.c
8049 src/supplicant-manager/nm-supplicant-marshal-main.c
8050 src/supplicant-manager/nm-supplicant-marshal.list
8051 src/nm-marshal-main.c
8053 src/ppp-manager/nm-ppp-marshal-main.c
8054 src/ppp-manager/nm-ppp-marshal.list
8055 src/vpn-manager/nm-vpn-marshal-main.c
8056 src/vpn-manager/nm-vpn-marshal.list
8059 2007-10-01 Dan Williams <dcbw@redhat.com>
8061 * include/NetworkManagerVPN.h
8062 - define VPN connection state change reason codes
8064 * src/vpn-manager/Makefile.am
8065 src/vpn-manager/nm-vpn-marshal.list
8066 src/vpn-manager/nm-vpn-marshal-main.c
8067 - Add marshallers for StateChanged signal
8069 * introspection/nm-vpn-connection.xml
8070 - New Banner property
8071 - StateChanged signal now includes a 'reason' argument
8073 * src/vpn-manager/nm-vpn-connection.c
8074 src/vpn-manager/nm-vpn-connection.h
8075 - Add a "Banner" property that contains the returned VPN server login
8076 banner (if any); valid only in the ACTIVATED state
8077 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8078 a 'reason' argument and emits that reason along with the
8079 state-changed signal
8080 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8081 - (nm_vpn_connection_ip4_config_get): save banner for later
8082 - (nm_vpn_connection_get_banner, get_property,
8083 nm_vpn_connection_class_init): implement Banner property
8085 * src/vpn-manager/nm-vpn-service.c
8086 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8087 connection list because elements may get added/removed from it
8088 while iterating over the list
8089 - (connection_state_changed): signal now includes the 'reason' argument
8091 * libnm-glib/nm-vpn-connection.c
8092 libnm-glib/nm-vpn-connection.h
8093 - (nm_vpn_connection_get_banner): new function
8094 - (state_changed_proxy): handle reason argument
8096 2007-09-28 Tambet Ingo <tambet@gmail.com>
8100 Implement device activation through NMManager.
8101 Implement "pending device activation" here - If the connection isn't found,
8102 we try to wait for up to 5 seconds for the connection to be provided.
8103 Add NMConnectionType argument to "connection-added" and "connection-removed"
8105 (nm_manager_get): Remove. Finally.
8107 * src/nm-activation-request.c:
8108 * src/nm-activation-request.h:
8109 Remove all the deferred activation code.
8111 * src/nm-device.c: Remove all the deferred activation code. Once the device
8112 activation is started, it's started. Update the activation virtual function
8115 * src/nm-device-interface.c:
8116 * src/nm-device-interface.h:
8117 Device activation now takes only NMActRequest argument.
8118 Don't expose device activation directly on dbus, it's supposed to go through
8121 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8123 Use the new device activation methods through NMManager.
8125 * introspection/nm-manager-client.xml:
8126 * introspection/nm-manager.xml:
8127 * libnm-glib/nm-client.c:
8128 * libnm-glib/nm-client.h:
8129 Add device activation method.
8131 * libnm-glib/nm-device.c:
8132 * libnm-glib/nm-device.h:
8133 * introspection/nm-device.xml:
8134 Remove device activation method. It's done through NMManager now.
8136 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8137 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8139 2007-09-28 Dan Williams <dcbw@redhat.com>
8141 * libnm-glib/nm-vpn-connection.c
8142 - (nm_vpn_connection_get_state): try to update state if the current
8145 2007-09-27 Dan Williams <dcbw@redhat.com>
8147 Patch from Bill Nottingham
8149 * src/supplicant-manager/nm-supplicant-config.c
8150 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8151 data to the supplicant
8153 2007-09-27 Dan Williams <dcbw@redhat.com>
8155 * src/NetworkManagerSystem.c
8156 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8157 and all address manipulation here should be happening on the
8158 _VPN_ device, not the active device
8160 2007-09-26 Dan Williams <dcbw@redhat.com>
8164 src/nm-activation-request.c
8165 src/nm-activation-request.h
8166 - Move the GetSecrets stuff out of the NMManager instance because it
8167 doesn't really need to be there and complicates things
8170 - (connection_secrets_failed_cb, device_activation_go): connect to the
8171 connection-secrets-failed signal and deactivate the device if
8172 the GetSecrets call fails
8174 * src/nm-device-802-11-wireless.c
8175 - (link_timeout_cb, supplicant_connection_timeout_cb,
8176 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8177 secrets and give correct hints about whether new secrets should be
8178 asked for by the client or not
8180 2007-09-26 Dan Williams <dcbw@redhat.com>
8182 * src/vpn-manager/nm-vpn-connection.c
8183 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8184 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8185 to the secrets-updated signal of the NMConnection since updating
8186 the secrets is done within the scope of the NMVPNConnection object
8188 - (get_connection_secrets): fix an uninialized variable usage error
8190 2007-09-26 Dan Williams <dcbw@redhat.com>
8192 * libnm-util/nm-setting.c
8193 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8194 actually get updated when the user enters them
8196 2007-09-26 Dan Williams <dcbw@redhat.com>
8198 * libnm-glib/nm-vpn-plugin.c
8199 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8201 2007-09-26 Dan Williams <dcbw@redhat.com>
8203 * include/NetworkManagerVPN.h
8204 - Add a NEED_AUTH state
8206 * src/vpn-manager/nm-vpn-connection.c
8207 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8208 the connection needs secrets, and if so, then ask the settings
8209 service to fill in the secrets. Then start the connection.
8211 2007-09-26 Dan Williams <dcbw@redhat.com>
8213 * src/vpn-manager/nm-vpn-manager.c
8214 - (new_vpn_error, impl_vpn_manager_connect): set errors
8216 2007-09-26 Dan Williams <dcbw@redhat.com>
8218 * introspection/nm-vpn-plugin.xml
8219 libnm-glib/nm-vpn-plugin.c
8220 libnm-glib/nm-vpn-plugin.h
8221 - (impl_vpn_plugin_need_secrets): implement a call that should return
8222 the name of the NMSetting in an NMConnection that may require
8223 secrets specific to that VPN plugin
8225 2007-09-26 Dan Williams <dcbw@redhat.com>
8229 - (nm_manager_get_connection_secrets): make static, unused outside
8231 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8233 2007-09-26 Tambet Ingo <tambet@gmail.com>
8235 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8237 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8238 unreference the connection.
8240 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8241 passing properties hash and routes string list, pass NMConnection (in hashed form).
8243 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8244 as GSList, no need to copy stuff around anymore.
8245 (nm_vpn_connection_activate): Update the plugin activation method.
8247 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8248 routes argument to GSList.
8250 2007-09-26 Tambet Ingo <tambet@gmail.com>
8252 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8253 state and try to get the secrets.
8255 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8256 connections from NMManager and let the device to choose the best from the list.
8257 Since the connection list is sorted by system ones first and user ones later,
8258 the devices still prefer system connections like they did before.
8259 (deactivate_old_device): Implement. When a device starts activation, we have a
8260 policy (for now at least) to deactivate any other device that might be either
8261 active or still activating.
8263 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8264 It's set on construction, there will be no other way to access it.
8266 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8267 device events and drive the device, not the other way around.
8269 * src/nm-device-802-3-ethernet.c: Ditto.
8271 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8272 sent along, pass it on to virtual functions.
8274 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8275 for now, but should really be public instead of nm_device_get_iface() since iface
8276 is a property of the DeviceInterface, not Device.
8277 (impl_device_activate): Don't touch NMManager!
8279 2007-09-26 Jürg Billeter <j@bitron.ch>
8281 * initscript/paldo/NetworkManager.in:
8282 * initscript/paldo/NetworkManagerDispatcher.in:
8283 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8284 (nm_system_flush_loopback_routes): update paldo backend
8286 2007-09-26 Tambet Ingo <tambet@gmail.com>
8288 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8289 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8290 which means none of the devices get brought down properly, which in turn leaves
8291 DHCP client running.
8293 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8294 (supplicant_connection_timeout_cb): Ditto.
8296 2007-09-25 Dan Williams <dcbw@redhat.com>
8299 - (device_activation_go): small hack to work around race when
8300 activating deferred connections; should solve this in a better way
8302 2007-09-25 Dan Williams <dcbw@redhat.com>
8304 * introspection/nm-device.xml
8305 libnm-glib/nm-device.c
8306 libnm-glib/nm-device.h
8307 - Add 'Carrier' property to exported NMDevice objects
8309 * src/nm-device-interface.h
8310 src/nm-device-interface.c
8312 - Add a 'carrier' property to internal NMDevice objects
8314 2007-09-25 Dan Williams <dcbw@redhat.com>
8316 * src/nm-device-802-11-wireless.c
8317 - (ap_auth_enforced): also return the encryption status of the AP so
8318 that callers can differentiate easily between unencrypted APs
8319 and encrypted ones, in addition to whether the AP has an
8321 - (link_timeout_cb, supplicant_connection_timeout_cb,
8322 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8323 previously would request secrets from unencrypted APs at times
8325 2007-09-25 Dan Williams <dcbw@redhat.com>
8328 - (nm_manager_update_state): new function; updates state and emits
8329 appropriate signals ensuring a state-change signal for the same state
8330 never gets emitted twice in a row.
8331 - (manager_device_state_changed): handle more device state to get a
8332 better picture of the overall NM state
8334 2007-09-25 Dan Williams <dcbw@redhat.com>
8336 * libnm-glib/nm-settings.c
8337 libnm-glib/nm-settings.h
8338 - (new_error -> nm_settings_new_error): make public so that subclasses
8339 can use the same error domain. Also pass a valid error code to
8340 g_error_new_literal() so that libdbus doesn't assert when converting
8341 the GError into a DBusError
8342 - (impl_settings_list_connections, impl_connection_settings_get_id,
8343 impl_connection_settings_get_settings,
8344 impl_connection_settings_get_secrets): use new error creator
8347 2007-09-25 Dan Williams <dcbw@redhat.com>
8349 * src/NetworkManager.c
8350 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8352 2007-09-25 Dan Williams <dcbw@redhat.com>
8354 * src/supplicant-manager/nm-supplicant-manager.c
8355 - (poke_supplicant_cb, nm_supplicant_manager_init,
8356 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8357 nm_supplicant_manager_startup): when the supplicant isn't running,
8358 try to start it periodically via system bus activation. Fixes
8359 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8360 for the supplicant to come back
8362 2007-09-25 Dan Williams <dcbw@redhat.com>
8364 Ensure that old activation requests are forgotten about; previously
8365 hitting Cancel in the password dialog would deactivate whatever device
8366 that password was requested for, even if that wasn't the currently
8367 activating connection.
8371 - (nm_manager_get_connection_secrets): track the pending call
8372 object so it can be canceled later if needed
8373 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8374 GetSecrets call for a particular connection
8376 * src/nm-activation-request.c
8377 - (dispose): cancel any outstanding GetSecrets calls on the
8380 2007-09-25 Dan Williams <dcbw@redhat.com>
8382 * src/NetworkManagerPolicy.c
8383 - (nm_policy_device_change_check): handle devices that have a
8384 deferred activation. These devices are not really active _yet_,
8385 but need to be treated as such here. Don't interrupt them
8388 * src/nm-device-interface.c
8389 - (impl_device_activate): handle devices that have a deferred activation
8390 like activating or active devices. When multiple active devices
8391 get committed, the device shouldn't be deactivated until the
8392 connection details are available to avoid DoS and such. Currently,
8393 any active, activating, or deferred activation device is deactivated
8394 here before starting the new activation request.
8396 2007-09-25 Dan Williams <dcbw@redhat.com>
8398 Properly re-query secrets from the settings daemon when stuff fails.
8400 * src/nm-device-802-11-wireless.c
8401 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8402 between Shared Key and Open System auth modes
8403 - (link_timeout_cb, supplicant_connection_timeout_cb,
8404 real_act_stage4_ip_config_timeout): clear existing secrets and
8405 request new ones when something fails due to a suspected wrong key
8406 - (real_act_stage2_config): fix for new request_new argument to
8407 nm_manager_get_connection_secrets()
8411 - (nm_manager_get_connection_secrets): return error status; pass
8412 new request_new argument on to the settings daemon
8414 * introspection/nm-settings-connection.xml
8415 - New 'request_new' argument to the GetSecrets call that hints to the
8416 settings daemon to ask the user for completely new secrets
8418 * libnm-glib/nm-settings.c
8419 libnm-glib/nm-settings.h
8420 - (impl_connection_settings_get_secrets): handle new 'request_new'
8423 2007-09-25 Dan Williams <dcbw@redhat.com>
8425 * libnm-util/nm-connection.c
8426 libnm-util/nm-connection.h
8427 - (nm_connection_clear_secrets): new function; clear secrets out of
8428 each NMSetting in an NMConnection
8430 * libnm-util/nm-setting.h
8431 libnm-util/nm-setting.c
8432 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8433 secrets out of an NMSetting
8434 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8435 nm_setting_wired_new, nm_setting_wireless_new,
8436 nm_setting_wireless_security_new, nm_setting_ppp_new,
8437 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8438 to default handler default_setting_clear_secrets()
8440 2007-09-25 Dan Williams <dcbw@redhat.com>
8442 * src/nm-activation-request.c
8443 src/nm-activation-request.h
8444 - (nm_act_request_is_deferred): new function
8446 2007-09-24 Dan Williams <dcbw@redhat.com>
8448 * src/nm-device-802-11-wireless.c
8449 - (activation_success_handler): update signal strength immediately
8452 2007-09-24 Dan Williams <dcbw@redhat.com>
8454 * libnm-util/nm-setting.c
8455 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8457 2007-09-24 Dan Williams <dcbw@redhat.com>
8459 * src/NetworkManagerPolicy.c
8460 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8461 device by deactivating it because it doesn't have a "best connection".
8462 Since autoconnect=False connections aren't automatically chosen,
8463 NM would interrupt activation of such a connection because it
8464 would never be "best" due to autoconnect=False.
8466 2007-09-24 Dan Williams <dcbw@redhat.com>
8469 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8470 actually has some time to enter a key before the GetSecrets call
8473 2007-09-24 Dan Williams <dcbw@redhat.com>
8475 * introspection/nm-manager.xml
8477 - (impl_manager_legacy_state): fix 'state' method call return value
8479 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8481 * test/Makefile.am: Install nm-tool
8483 2007-09-24 Dan Williams <dcbw@redhat.com>
8485 Patch from Ross Burton <ross@burtonini.com>
8488 callouts/nm-dhcp-client-action.c
8490 src/vpn-manager/nm-vpn-connection.c
8491 libnm-glib/libnm-glib-test.c
8494 2007-09-24 Dan Williams <dcbw@redhat.com>
8496 * libnm-util/nm-utils.h
8497 libnm-util/nm-utils.c
8498 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8501 2007-09-23 Dan Williams <dcbw@redhat.com>
8503 * vpn-daemons/vpnc/properties/nm-vpnc.c
8504 - Update for new VPN properties API bits; instead of passing around
8505 a lot of random things, everything goes into the NMConnection
8508 2007-09-23 Dan Williams <dcbw@redhat.com>
8510 * libnm-util/nm-setting.c
8511 - Correctly dispose of settings objects if creating them from a hash
8514 2007-09-23 Dan Williams <dcbw@redhat.com>
8516 * libnm-util/nm-setting.c
8517 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8518 the hash table in a standard manner. Clients of libnm-util should
8519 only call g_hash_table_remove_all(), never destroy the hash table
8522 2007-09-22 Dan Williams <dcbw@redhat.com>
8524 * src/nm-device-802-11-wireless.c
8525 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8526 real reason to do it so often, and reduces wakeups for clients.
8528 2007-09-21 Dan Williams <dcbw@redhat.com>
8530 * src/nm-device-802-11-wireless.c
8531 - (build_supplicant_config): wpa_supplicant requires the option
8532 key_mgmt=NONE for unencrypted networks
8533 - (real_act_stage2_config): clarify log message on activation
8535 2007-09-21 Dan Williams <dcbw@redhat.com>
8537 * test/nm-supplicant-test.c
8539 - Remove supplicant test binary; no longer applicable
8541 2007-09-21 Dan Williams <dcbw@redhat.com>
8543 * src/supplicant-manager/nm-supplicant-manager.c
8544 - (nm_supplicant_manager_init): poke the supplicant at startup to
8545 activate it on the system bus
8547 2007-09-20 Dan Williams <dcbw@redhat.com>
8549 * initscript/RedHat/NetworkManager.in
8550 - dhcdbd is no longer used, so don't try to start it from the initscripts
8552 2007-09-20 Dan Williams <dcbw@redhat.com>
8555 - (nm_device_is_activating): work around a race between auto-activation
8556 and the user activating the same device that is being auto-activated
8558 2007-09-20 Dan Williams <dcbw@redhat.com>
8560 * src/nm-device-interface.c
8561 - (impl_device_activate): until multiple active device support lands,
8562 ensure only one device can be active at a time
8564 2007-09-20 Dan Williams <dcbw@redhat.com>
8566 * src/supplicant-manager/nm-supplicant-config.c
8567 src/supplicant-manager/nm-supplicant-config.h
8568 - (nm_supplicant_config_add_option): hide secrets from system logs
8570 2007-09-20 Dan Williams <dcbw@redhat.com>
8572 * src/NetworkManagerPolicy.c
8573 - (nm_policy_device_change_check): re-enable the wireless device change
8574 checking code; insted of checking for SSIDs, check for the same
8577 2007-09-20 Dan Williams <dcbw@redhat.com>
8579 * src/nm-device-802-11-wireless.c
8580 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8581 composite link state when determining when to start the disconnection
8582 timer; that link state is already based on the supplicant interface's
8583 status which is exactly what's already being examined, plus the link
8584 state is a conglomeration of various things that we don't want here
8586 2007-09-20 Dan Williams <dcbw@redhat.com>
8588 * libnm-glib/nm-access-point.c
8589 - (handle_property_changed): strength is a UCHAR
8591 2007-09-20 Dan Williams <dcbw@redhat.com>
8593 * src/supplicant-manager/nm-supplicant-config.c
8594 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8595 string list keywords too since that's what wpa_supplicant wants
8597 2007-09-20 Dan Williams <dcbw@redhat.com>
8599 * libnm-util/nm-setting.c
8600 - (convert_strv_to_slist): dupe the values in the list because since
8601 the list is a boxed value, it'll get destroyed when it's container
8602 (like a hash table or whatever) gets destroyed
8604 2007-09-20 Tambet Ingo <tambet@gmail.com>
8606 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8609 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8611 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8612 just use (g_object_set_data_full).
8614 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8615 that NMSettingVPN->routes is a GSList, convert it to char **.
8616 (nm_vpn_connection_ip4_config_get): Free routes when done.
8617 (nm_vpn_connection_activate): Ditto.
8619 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8620 (real_act_stage2_config): Use defined setting names.
8622 2007-09-20 Dan Williams <dcbw@redhat.com>
8624 * src/nm-device-802-11-wireless.c
8627 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8628 so that the device can be deactivated if secrets are wrong
8630 2007-09-20 Dan Williams <dcbw@redhat.com>
8632 * introspection/nm-settings-connection.xml
8633 libnm-glib/nm-settings.c
8634 libnm-glib/nm-settings.h
8635 - Make GetSecrets asynchronous on the server side
8637 2007-09-20 Dan Williams <dcbw@redhat.com>
8641 - (nm_device_activate): actually check if a given connection
8642 exists before assuming it doesn't
8644 2007-09-20 Tambet Ingo <tambet@gmail.com>
8646 * libnm-util/nm-connection.c (register_default_creators): Use defined
8647 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8649 * libnm-util/nm-setting.c: Define property name strings, use them.
8650 Implement NMSettingVPN and NMSettingVPNProperties settings.
8651 Implement NM_S_TYPE_GVALUE_HASH.
8652 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8653 (setting_connection_verify): Rename 'devtype' property to 'type'.
8655 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8658 * src/vpn-manager/nm-vpn-service.c: Ditto.
8660 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8662 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8663 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8665 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8666 names. NMSettingConnection->devtype got renamed to 'type'.
8668 * src/nm-device-802-3-ethernet.c (find_best_connection):
8669 (real_get_best_connection): Ditto.
8671 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8673 * libnm-glib/nm-vpn-manager.[ch]: Update.
8675 2007-09-19 Dan Williams <dcbw@redhat.com>
8677 * src/NetworkManagerAP.c
8678 src/NetworkManagerAP.h
8679 introspection/nm-access-point.xml
8680 - Change strength-changed signal into a properties-changed signal
8681 for all properties, not just strength. Export that signal over dbus
8682 so listeners don't have to poll NM for changes.
8683 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8684 get exported over D-Bus, so break up the logic and let other bits
8685 decided when to export the AP
8686 - (nm_ap_new_from_ap): remove, unused
8688 * src/nm-device-802-11-wireless.c
8689 - (merge_scanned_ap): only export APs that are actually on the device
8690 list, not every AP created internally
8692 * libnm-glib/nm-access-point.c
8693 libnm-glib/nm-access-point.h
8694 - Cache properties internally and only hit DBus when needed. Get
8695 property updates from NM signals
8697 2007-09-16 Dan Williams <dcbw@redhat.com>
8699 * libnm-util/nm-connection.c
8700 libnm-util/nm-connection.h
8701 - (nm_connection_for_each_setting_value): new function; iterate over
8702 each setting's value and call a user-provided function with details
8705 * libnm-util/nm-setting.c
8706 libnm-util/nm-setting.h
8707 - (nm_setting_enumerate_values): new function; enumerate the values
8708 of a specific NMSetting subclass for a user-provided function with
8709 details about that value
8710 - Change wep_tx_keyidx to a uint32
8711 - Create settings value tables for each setting defining their type,
8712 key name, offset into the NMSetting subclass' structure, and whether
8713 they are required and/or a secret
8714 - (nm_setting_populate_from_hash): generic function to populate an
8715 NMSetting from a GHash table, make all settings use it
8716 - (nm_setting_hash): generic function to derive a GHashTable from
8717 an NMSetting object, make all settings use it
8719 2007-09-14 Dan Williams <dcbw@redhat.com>
8721 Remove unused stuff in libnm-util
8724 libnm-util/Makefile.am
8725 libnm-util/cipher-private.h
8726 libnm-util/cipher-wep-ascii.c
8727 libnm-util/cipher-wep-ascii.h
8728 libnm-util/cipher-wep-hex.c
8729 libnm-util/cipher-wep-hex.h
8730 libnm-util/cipher-wep-passphrase.c
8731 libnm-util/cipher-wep-passphrase.h
8732 libnm-util/cipher-wpa-psk-hex.c
8733 libnm-util/cipher-wpa-psk-hex.h
8734 libnm-util/cipher-wpa-psk-passphrase.c
8735 libnm-util/cipher-wpa-psk-passphrase.h
8738 libnm-util/dbus-helpers.c
8739 libnm-util/dbus-helpers.h
8740 libnm-util/gnome-keyring-md5.c
8741 libnm-util/gnome-keyring-md5.h
8744 src/nm-device-802-11-wireless.c
8745 test/libnm-util/Makefile.am
8746 test/libnm-util/test-ciphers.c
8747 test/libnm-util/test-dbus-helpers.c
8748 test/libnm-util/test-inputs.h
8751 2007-09-14 Dan Williams <dcbw@redhat.com>
8753 * libnm-util/dbus-method-dispatcher.c
8754 libnm-util/dbus-method-dispatcher.h
8757 2007-09-14 Dan Williams <dcbw@redhat.com>
8759 Implement deferred activation support in the device class.
8761 * src/nm-device-interface.c
8762 src/nm-device-interface.h
8763 - (nm_device_interface_activate): take more arguments to support
8764 deferred activation; callers must pass one of (connection) OR
8765 (service_name, connection_path)
8766 - (impl_device_activate): connection validation is punted to the device
8767 to be able to handle deferred activation. Yes, this means errors
8768 don't get returned from the Activate() dbus call, and yes, that
8769 should be fixed somehow later.
8773 - (clear_act_request): clear additional deferred activation stuff too
8774 - (deferred_activation_timeout_cb): new function; clean up when
8775 deferred activation times out.
8776 - (deferred_activation_start_cb): new function; when the connection
8777 finally becomes available, start device activation
8778 - (nm_device_activate): attach to the right signals of the activation
8779 request if we need to defer activation until the connection is valid
8781 * src/NetworkManagerPolicy.c
8782 - (nm_policy_device_change_check): update for additional arguments
8783 required for nm_device_interface_activate(). Pass NULL for these
8784 though because this function already knows exactly which
8787 2007-09-14 Dan Williams <dcbw@redhat.com>
8789 Implement deferred activation handling in the NMActRequest class. When a
8790 client wants to activate a device but must create the NMConnection details
8791 on the fly, there likely hasn't been enough time yet for NM to receive the
8792 new connection signal and grab all the connection details. So the
8793 activation is deferred (and bounded by a timer) for a while, and if the
8794 connection appears within the window, it is activated.
8796 * src/nm-activation-request.c
8797 src/nm-activation-request.h
8798 - (nm_act_request_class_init): two new signals to support deferred
8799 activation, to allow the listener to handle both timeout and success
8800 - (nm_act_request_new_deferred): new function, starts the deferred
8801 activation timeout handler and listens to the NMManager for
8802 new-connection signals to notice when the connection comes in
8804 2007-09-14 Dan Williams <dcbw@redhat.com>
8808 - (nm_manager_get_connection_service_name,
8809 nm_manager_get_connection_dbus_path): get details about a connection
8810 known internally by the NMManager
8811 - (nm_manager_class_init): fix connection add/remove signal marshalers
8812 because NMConnection is now a GObject subclass
8813 - Use constant for the gobject data tag used on NMConnection objects for
8814 storing the associated DBusGProxy
8816 2007-09-14 Dan Williams <dcbw@redhat.com>
8821 src/supplicant-manager/Makefile.am
8822 src/dhcp-manager/Makefile.am
8823 src/backends/Makefile.am
8824 src/named-manager/Makefile.am
8825 src/ppp-manager/Makefile.am
8826 src/vpn-manager/Makefile.am
8827 test/libnm-util/Makefile.am
8828 test/test-common/Makefile.am
8829 - Remove utils/; it was unused
8831 2007-09-13 Dan Williams <dcbw@redhat.com>
8833 * libnm-glib/nm-vpn-manager.h
8834 libnm-glib/nm-vpn-manager.c
8835 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8837 2007-09-13 Dan Williams <dcbw@redhat.com>
8839 * src/nm-device-802-3-ethernet.c
8840 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8841 netlink monitor carrier signals on dispose, not bring down. The
8842 carrier signals should be handled over the entire lifetime of the
8843 device anyway, not created/destroyed on up or down.
8845 2007-09-13 Dan Williams <dcbw@redhat.com>
8847 * libnm-glib/nm-device.c
8848 libnm-glib/nm-device.h
8849 - (nm_device_activate): take a connection object path rather than an
8850 NMConnection because NMConnection isn't exported over D-Bus and
8851 therefore it dbus-glib can't automatically get an object path from it
8853 2007-09-13 Dan Williams <dcbw@redhat.com>
8855 * libnm-util/nm-setting.c
8856 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8858 2007-09-13 Tambet Ingo <tambet@gmail.com>
8860 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8862 2007-09-12 Tambet Ingo <tambet@gmail.com>
8864 * src/vpn-manager/nm-vpn-connection.[ch]:
8865 * src/vpn-manager/nm-vpn-manager.[ch]:
8866 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8867 dbus-glib, GObjects, signals etc.
8869 * libnm-glib/nm-vpn-manager.[ch]:
8870 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8871 so much, rewrite these too.
8873 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8874 the new introspection files.
8876 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8878 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8879 the header with the same name from libnm-utils.
8881 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8883 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8885 * introspection/nm-vpn-plugin.xml: Implement.
8887 * introspection/nm-vpn-connection.xml: Implement.
8889 * introspection/nm-vpn-manager.xml: Implement.
8891 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8892 the named manager argument, it can just as easily get it as the caller.
8893 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8895 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8897 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8899 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8902 * libnm-util/nm-connection.c: Ditto.
8904 * src/NetworkManagerMain.h: Remove, it's finally empty.
8906 * configure.in: Remove utils/ from build.
8908 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8909 of hard-coded strings.
8911 * utils/: Move it over to libnm-util.
8913 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8915 * dispatcher-daemon/Makefile.am: Ditto.
8917 * src/Makefile.am: Ditto.
8919 2007-09-12 Dan Williams <dcbw@redhat.com>
8921 Wireless connections can be made with config data from the applet now.
8925 * src/supplicant-manager/nm-supplicant-config.h
8926 src/supplicant-manager/nm-supplicant-config.c
8927 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8928 - (nm_supplicant_config_add_setting_wireless,
8929 nm_supplicant_config_add_setting_wireless_security): new functions;
8930 add key/value pairs from the settings objects to the supplicant
8933 * src/nm-device-802-11-wireless.c
8934 - (cull_scan_list): fix check to not prune currently associated AP
8935 - (build_supplicant_config, real_act_stage2_config): call the functions
8936 of the NMSupplicantConfig that parse settings objects rather than
8937 doing it manually here
8939 2007-09-12 Dan Williams <dcbw@redhat.com>
8941 * src/supplicant-manager/nm-supplicant-interface.c
8942 src/supplicant-manager/nm-supplicant-marshal.list
8943 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8944 "connection-error" signal arguments should be STRING not CHAR
8946 2007-09-12 Dan Williams <dcbw@redhat.com>
8948 * src/NetworkManagerUtils.c
8949 src/NetworkManagerUtils.h
8950 - (nm_utils_hexstr2bin): new function
8952 2007-09-11 Dan Williams <dcbw@redhat.com>
8955 - (connection_get_settings_cb): emit connection-added signal
8956 - (connection_removed_cb): uncomment bits for system settings service,
8957 send connection-removed when appropriate
8958 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8959 the stack by trying to g_object_set_data() on something that's
8960 not a GObject; handle case where settings service returns
8961 empty settings hash table
8963 2007-09-11 Dan Williams <dcbw@redhat.com>
8965 * src/NetworkManagerPolicy.c
8966 - (connection_added, connection_removed): trigger device change checks
8967 on connection changes
8969 2007-09-11 Dan Williams <dcbw@redhat.com>
8971 * src/nm-activation-request.c
8972 - (connection_secrets_updated_cb): fix c&p error in signal emission
8974 2007-09-11 Dan Williams <dcbw@redhat.com>
8976 * src/nm-device-802-11-wireless.c
8977 - (real_connection_secrets_updated): fix erroneous check
8979 2007-09-11 Dan Williams <dcbw@redhat.com>
8981 * introspection/nm-device.xml
8982 libnm-glib/nm-device.c
8983 libnm-glib/nm-device.c
8984 - Fix Activate call argument borkage; Activate takes 3 arguments
8986 2007-09-11 Dan Williams <dcbw@redhat.com>
8988 * libnm-glib/nm-access-point.c
8989 libnm-glib/nm-access-point.c
8990 - (nm_access_point_get_frequency): now returns guint32 to match
8991 property change on 2007-09-10
8993 2007-09-11 Dan Williams <dcbw@redhat.com>
8995 * src/nm-device-802-11-wireless.c
8996 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8997 somewhere defines 'index' and I missed this one when I fixed the
8998 shadow declaration errors earlier
9000 2007-09-11 Dan Williams <dcbw@redhat.com>
9002 * libnm-util/nm-connection.c
9003 - (nm_connection_update_secrets, need_secrets_check): move
9004 802-11-wireless-security need_secrets checks to the setting object
9005 itself, where it belongs
9007 * libnm-util/nm-setting.c
9008 libnm-util/nm-setting.h
9009 - (nm_setting_need_secrets): new function
9010 - (setting_wireless_security_verify,
9011 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9012 - (setting_wireless_security_need_secrets): mostly copy code over
9013 from nm-connection.c
9015 2007-09-11 Dan Williams <dcbw@redhat.com>
9017 * libnm-util/nm-setting.c
9018 libnm-util/nm-setting.h
9019 - (nm_setting_update_secrets): new function; add a virtual function that
9020 subclasses can implement to update their secrets
9021 - (setting_wireless_security_update_secrets): implement that function
9022 for the 802-11-wireless-security subclass
9024 * libnm-util/nm-connection.c
9025 libnm-util/nm-connection.h
9026 - (nm_connection_update_secrets): update secrets for a Setting and
9027 emit a signal on success
9032 - (connection_get_settings_cb): enable system settings bits
9033 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9034 to request secrets from the settings dbus service and to
9035 push those secrets to the NMConnection itself
9037 * src/nm-activation-request.c
9038 src/nm-activation-request.h
9039 - Attach to the 'secrets-updated' signal of the NMConnection that's
9040 currently being activated, and proxy that signal to other listeners.
9041 Goes through the activation request because the activation request
9042 is the thing that manages the lifetime of the NMConnection that's
9045 * src/nm-device-802-11-wireless.c
9046 - (real_connection_secrets_updated): implement the connection secrets
9047 updated notification and restart activation when secrets are
9049 - (real_act_stage2_config): request secrets from the settings dbus
9050 service if secrets are needed
9054 - (clear_act_request, nm_device_activation_cancel,
9055 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9056 where the activation request is cleared
9057 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9058 updated secrets signal of activation request and add a function
9059 that subclasses can override to handle it easily
9061 2007-09-11 Tambet Ingo <tambet@gmail.com>
9063 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9064 removal of NetworkManagerAPList.
9066 2007-09-10 Dan Williams <dcbw@redhat.com>
9068 * src/NetworkManagerAP.c
9069 src/NetworkManagerAP.h
9070 introspection/nm-access-point.xml
9071 - Change 'freq' property to a guint32 instead of a double since we
9072 weren't using the floating point bits anyway
9074 2007-09-10 Dan Williams <dcbw@redhat.com>
9076 * NetworkManagerAP.c
9078 NetworkManagerPolicy.c
9079 NetworkManagerSystem.c
9080 NetworkManagerUtils.c
9081 NetworkManagerUtils.h
9082 nm-device-802-11-wireless.c
9083 nm-device-802-3-ethernet.c
9086 vpn-manager/nm-dbus-vpn.c
9087 - Warning fixes; casts and removal of unused variables
9089 2007-09-10 Dan Williams <dcbw@redhat.com>
9091 * include/NetworkManager.h
9092 - Kill NMNetworkType; AP types don't matter any more
9094 * src/NetworkManagerAPList.c
9095 src/NetworkManagerAPList.h
9097 - Kill; NMAccessPointList has outlived it's usefulness
9099 * src/NetworkManagerAP.c
9100 src/NetworkManagerAP.h
9101 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9102 functions; check if an NMConnection object is compatible with the
9104 - (freq_to_channel, channel_to_freq): utility functions for
9105 channel <-> frequency conversion
9109 - (nm_device_get_best_connection): pass the specific object around
9110 (which might be the object path of a specific AP to connect to).
9111 The get_best_connection() call should populate this on return
9112 if needed (wireless does).
9114 * src/nm-device-802-3-ethernet.c
9115 - (real_get_best_connection): handle specific_object argument
9117 * src/NetworkManager.c
9118 src/NetworkManagerMain.h
9119 - Remove unused includes
9121 * src/nm-device-802-11-wireless.c
9122 src/nm-device-802-11-wireless.h
9123 - Convert the ap_list into a GSList from an NMAccessPointList
9124 - No need for caching the 'activation_ap' since this is now determined
9125 from the specific_object of the activation request, which is
9126 populated from the get_best_connection() call or from a user request
9127 - (nm_device_802_11_wireless_update_bssid): fix warning
9128 - (get_wireless_capabilities): fix error message format arguments
9129 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9130 - (find_best_connection, real_get_best_connection): implement
9131 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9132 move here from NetworkManagerAPList
9133 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9134 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9135 already verified earlier
9136 - (real_act_stage2_config): use nm_connection_need_secrets()
9138 * src/NetworkManagerPolicy.c
9139 - (nm_policy_auto_get_best_device): handle specific objects
9140 - (create_connection): remove; automatic connection creation functionality
9141 is handled by the Connection objects
9142 - (nm_policy_device_change_check): handle specific_object
9144 * libnm-util/nm-connection.c
9145 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9147 2007-09-10 Dan Williams <dcbw@redhat.com>
9150 - (query_connections): fix uninitialized variable problem that caused
9152 - (nm_manager_add_device): take devices down on startup so that we can
9153 be assured that nm_device_is_up() won't short-circuit the init
9154 process. Hack until the is_up check gets split into two pieces
9155 that aren't behaviorally confusing.
9157 2007-09-09 Dan Williams <dcbw@redhat.com>
9159 * introspection/nm-device.xml
9160 - The 'Activate' method now takes 3 arguments, a service name for the
9161 settings service (user or system), the object path of the connection
9162 to activate, and the specific object to activate, if any
9164 * src/nm-device-interface.c
9165 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9167 - (impl_device_activate): adapt to new Activate arguments; validate
9168 the service name and get the Connection object from the NMManager
9169 before starting to activate the device with the specified connection
9171 * src/nm-device-802-3-ethernet.c
9172 - (real_get_best_connection): find the best connection, or create a
9173 default one if no existing connections can be used
9175 * src/NetworkManagerPolicy.c
9176 - (nm_policy_auto_get_best_device): Get the device's best connection
9177 and only pick the device if it has one
9178 - (nm_policy_device_change_check): disable wireless bits for now until
9179 wireless get_best_connection() can be implemented (replacing "best_ap");
9180 don't create a default connection here as the device subclass will do
9185 - (nm_manager_get): make NMManager a singleton and expose the getter
9187 - Rework internal NMManager connection handling to use the same
9188 routines for both the system and user settings services. Most calls
9189 take a new NMConnectionType argument specifying either system or user
9191 - (nm_manager_get_connection_by_object_path): new function; get a
9192 connection keyed on its object path
9194 * src/NetworkManager.c
9195 - (main): use nm_manager_get()
9197 2007-09-09 Dan Williams <dcbw@redhat.com>
9201 - (nm_device_get_best_connection): new function; get best connection
9202 for the device at that time
9204 2007-09-09 Dan Williams <dcbw@redhat.com>
9206 * src/nm-device-interface.h
9207 - Add NMDeviceInterfaceError with an UnknownConnection error
9209 2007-09-09 Dan Williams <dcbw@redhat.com>
9211 Stupid mistake on my part; object path and interface for settings service
9212 and connection objects can be the same, only the service name must be
9213 different for the system and user settings services.
9215 * include/NetworkManager.h
9217 introspection/nm-settings-connection.xml
9218 introspection/nm-settings.xml
9219 libnm-glib/nm-settings.c
9220 - (nm_connection_settings_init, query_user_connections,
9221 new_connection_cb): Unify NetworkManagerSettings and Connection
9222 interface name and object path
9224 2007-09-06 Dan Williams <dcbw@redhat.com>
9226 * libnm-glib/nm-object.c
9227 - (nm_object_get_string_property, nm_object_get_object_path_property,
9228 nm_object_get_int_property, nm_object_get_uint_property,
9229 nm_object_get_boolean_property, nm_object_get_byte_property,
9230 nm_object_get_double_property, nm_object_get_byte_array_property):
9231 clear GValues after copying their contents, fixes memory leaks
9232 after every property access because dbus-glib copies the values
9233 from the DBusMessage into the GValue already.
9235 2007-09-06 Dan Williams <dcbw@redhat.com>
9237 * introspection/nm-access-point.xml
9238 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9239 them to be. There's some magic property name parsing going on in
9240 dbus-glib that breaks up property names based on studly-caps and
9241 puts - between words.
9243 * libnm-glib/nm-access-point.c
9244 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9247 2007-09-06 Dan Williams <dcbw@redhat.com>
9250 - (nm_manager_user_connections_destroy): clear the user connections hash
9251 table, don't destroy it
9252 - (finalize): only destroy the hash table on NMManager finalization
9254 2007-09-02 Dan Williams <dcbw@redhat.com>
9256 * include/NetworkManager.h
9257 libnm-glib/nm-settings.c
9258 - defines for the user settings daemon D-Bus bits
9260 * src/NetworkManager.c
9261 - Remove stuff that referred to the old NetworkManagerInfo service
9263 * src/vpn-manager/nm-dbus-vpn.h
9264 - Move old NMI defines to the only place they are used still
9266 * libnm-util/nm-connection.c
9267 libnm-util/nm-connection.h
9268 src/nm-activation-request.c
9269 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9273 - Get connections and their settings from the user settings daemon
9274 at the appropriate times
9276 2007-09-02 Dan Williams <dcbw@redhat.com>
9278 * libnm-util/nm-setting.c
9279 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9280 - (setting_wireless_hash): set the right value on the item
9282 2007-09-02 Dan Williams <dcbw@redhat.com>
9286 - Remove, no longer useful
9288 2007-08-30 Dan Williams <dcbw@redhat.com>
9291 src/NetworkManagerDbus.c
9292 src/NetworkManagerDbus.h
9293 src/vpn-manager/nm-dbus-vpn.c
9294 - Remove, no longer necessary. Move last bits to the only place its
9295 used, in nm-dbus-vpn.c
9297 * src/NetworkManagerAPList.c
9299 src/NetworkManager.c
9300 src/nm-device-802-11-wireless.c
9301 src/vpn-manager/nm-vpn-manager.c
9302 src/vpn-manager/nm-vpn-service.c
9303 src/NetworkManagerPolicy.c
9305 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9306 that was message_is_error()
9308 2007-08-30 Dan Williams <dcbw@redhat.com>
9311 - Include config.h to get defines for endiannes (gnome.org #420216)
9313 2007-08-30 Dan Williams <dcbw@redhat.com>
9315 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9317 * src/ppp-manager/Makefile.am
9318 - use -fPIC (gnome.org #471825)
9320 2007-08-29 Dan Williams <dcbw@redhat.com>
9322 * include/NetworkManager.h
9323 - Keep NMConnection object path in sync
9325 * libnm-glib/nm-settings.c
9326 libnm-glib/nm-settings.h
9327 - Break D-Bus object registration out of the init function, because
9328 every object that's exported over D-Bus needs to use the _same_
9329 DBusConnection. Otherwise, each object would get a different object
9330 path tree and wouldn't be callable.
9332 2007-08-29 Dan Williams <dcbw@redhat.com>
9334 * libnm-util/nm-setting.h
9335 libnm-util/nm-setting.c
9336 libnm-util/nm-connection.c
9337 src/NetworkManagerPolicy.c
9338 - 'info' settings object should be 'connection' says the spec
9339 at NetworkManagerConfigurationSpecification
9341 2007-08-29 Dan Williams <dcbw@redhat.com>
9343 * libnm-glib/nm-settings.c
9344 libnm-glib/nm-settings.h
9345 - make the dbus path a property of the object, and autogenerate it.
9346 It can't be composed of the 'id' field becuase that's not available
9347 yet during the GObject creation in nm_connection_settings_init()
9349 2007-08-29 Dan Williams <dcbw@redhat.com>
9351 * introspection/nm-settings-connection.xml
9352 introspection/nm-settings.xml
9353 - Service name -> NetworkManagerUserSettings because two services
9354 can't share part of the same path. I'm not really sure how we'll use
9355 the same code with the system-settings daemon...
9357 2007-08-28 Dan Williams <dcbw@redhat.com>
9359 * src/nm-device-interface.c
9360 src/nm-device-interface.h
9361 - Kill one more bit of NMData
9363 2007-08-28 Dan Williams <dcbw@redhat.com>
9365 * src/NetworkManagerSystem.h
9368 src/nm-hal-manager.c
9369 src/NetworkManager.c
9370 src/nm-device-802-11-wireless.c
9371 src/nm-hal-manager.h
9372 src/nm-device-802-3-ethernet.c
9373 src/vpn-manager/nm-vpn-service.h
9374 src/vpn-manager/nm-vpn-manager.c
9375 src/vpn-manager/nm-vpn-manager.h
9376 src/vpn-manager/nm-vpn-service.c
9377 src/nm-device-802-11-wireless.h
9378 src/NetworkManagerMain.h
9379 src/nm-device-802-3-ethernet.h
9380 src/backends/NetworkManagerGentoo.c
9381 src/backends/NetworkManagerPaldo.c
9382 src/backends/NetworkManagerFrugalware.c
9383 src/backends/NetworkManagerRedHat.c
9384 src/backends/NetworkManagerSlackware.c
9385 src/backends/NetworkManagerGeneric.c
9386 src/backends/NetworkManagerArch.c
9387 src/backends/NetworkManagerSuSE.c
9388 src/backends/NetworkManagerGeneric.h
9389 src/backends/NetworkManagerDebian.c
9392 2007-08-28 Dan Williams <dcbw@redhat.com>
9394 * src/NetworkManagerMain.h
9395 src/nm-device-802-11-wireless.c
9396 src/NetworkManager.c
9397 - Remove invalid AP list from NMData; need to rework this somewhat, but
9398 for now we should set the 'invalid' property on individual APs, and when
9399 we need to invalidate a whole ESS, set the 'invalid' on every member of
9402 2007-08-28 Dan Williams <dcbw@redhat.com>
9404 * src/NetworkManagerAP.c
9405 src/NetworkManagerAP.h
9406 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9407 'autoconnect' property instead
9409 * src/NetworkManager.c
9410 src/NetworkManagerMain.h
9411 src/NetworkManagerPolicy.c
9412 src/NetworkManagerPolicy.h
9413 - Remove the 'allowed_ap_list', which should be replaced by
9414 NMConnection/NMSettings instead, since _those_ are the allowed
9415 things that NM can connect to
9417 * src/nm-device-802-11-wireless.c
9418 - Remove both allowed_ap_list usage and 'fallback' checking
9420 2007-08-28 Dan Williams <dcbw@redhat.com>
9423 src/named-manager/nm-named-manager.c
9424 src/named-manager/nm-named-manager.h
9425 src/NetworkManager.c
9426 src/vpn-manager/nm-vpn-manager.c
9427 src/NetworkManagerMain.h
9428 src/NetworkManagerSystem.c
9429 - Remove the named-manager object from NMData structure in preparation
9430 for NMData's timely death. Make the NMNamedManager the singleton that
9433 2007-08-28 Dan Williams <dcbw@redhat.com>
9435 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9436 each AP's capabilities, and by NMConnection/NMSettings objects for user
9437 defined connections.
9439 * include/NetworkManager.h
9440 - Redefine 802.11 security properties. There are now device capabilities
9441 and AP flags and AP security flags. It was way to unclear before.
9444 src/nm-ap-security-leap.h
9445 src/nm-ap-security-leap.c
9446 src/nm-ap-security-wpa-eap.c
9447 src/nm-ap-security-wpa-eap.h
9448 src/nm-ap-security-private.h
9449 src/nm-ap-security-wpa-psk.c
9450 src/nm-ap-security-wpa-psk.h
9451 src/nm-ap-security-wep.c
9452 src/nm-ap-security-wep.h
9453 src/nm-ap-security.c
9454 src/nm-ap-security.h
9455 - Removed, to be replaced with NMConnection/NMSettings objects
9459 - Removed, to be replaced by code that talks to the new info daemon
9460 interface and gets NMConnection/NMSettings objects
9462 * src/backends/NetworkManagerSuSE.c
9463 - Remove usage of NMAPSecurity; should be replaced by a system-level
9464 info-daemon that does the same thing but talks the new info-daemon
9467 * src/NetworkManagerAP.h
9468 src/NetworkManagerAP.c
9469 src/NetworkManagerAPList.c
9470 libnm-glib/libnm-glib-test.c
9471 - Remove usage of NMAPSecurity objects and adjust to new flags for
9474 * libnm-glib/nm-access-point.c
9475 libnm-glib/nm-access-point.h
9476 introspection/nm-access-point.xml
9478 - Adjust to new flags for AP security
9482 src/vpn-manager/nm-dbus-vpn.c
9483 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9484 stuff which is the only place it's used
9486 * src/nm-device-interface.c
9487 src/nm-device-interface.h
9488 introspection/nm-device.xml
9489 src/nm-activation-request.c
9490 src/nm-activation-request.h
9492 - Add a new 'specific_object' argument that hints to NM what actual
9493 AP or other device-specific thing the connection should apply to.
9494 NMConnection objects can apply to more than one actual device/AP.
9496 * libnm-util/nm-connection.c
9497 * libnm-util/nm-connection.h
9498 - Add 'have_secrets" call stubs
9500 * libnm-util/cipher.h
9501 - Move NM_AUTH_TYPE_* defines here for now
9503 * src/nm-device-802-11-wireless.c
9504 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9507 * src/NetworkManagerDbus.c
9508 * src/NetworkManagerPolicy.c
9509 - Remove usage of update_allowed_networks, should be pushing data in
9512 2007-08-27 Tambet Ingo <tambet@gmail.com>
9514 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9515 dbus-glib frees it when the call is done.
9517 2007-08-26 Dan Williams <dcbw@redhat.com>
9519 * introspection/nm-device.xml
9520 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9522 2007-08-26 Dan Williams <dcbw@redhat.com>
9524 * src/nm-device-802-3-ethernet.c
9525 - (constructor): move connection of interface-connected/disconnected
9526 signals here from real_bring_up(). Should be listening to netlink
9527 for carrier events no matter what the initial state of the device
9530 2007-08-26 Dan Williams <dcbw@redhat.com>
9532 * src/nm-netlink-monitor.c
9533 - (nm_netlink_monitor_class_init): fix marshalling types for
9534 interface-connected/interface-disconnected
9535 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9538 2007-08-26 Dan Williams <dcbw@redhat.com>
9540 Convert to using interface indexes as the primary method of identifying
9541 devices inside NetworkManager. Indexes are (?) stable, but devices can
9542 be renamed at any time. Device object paths now refer to the device
9543 index rather than the name, and you can map those two manually if you like
9544 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9545 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9546 to use interface indexes rather than names.
9548 2007-08-26 Dan Williams <dcbw@redhat.com>
9550 * src/nm-netlink-monitor.h
9551 - Remove one last bit of wireless-event signal
9553 2007-08-26 Dan Williams <dcbw@redhat.com>
9555 * src/nm-netlink-monitor.c
9556 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9557 don't need the 'wireless-event' signal anymore since that's all
9558 handled by wpa_supplicant
9560 2007-08-25 Dan Williams <dcbw@redhat.com>
9562 It's 2007. Remove support for drivers that don't support wireless scanning.
9565 include/NetworkManager.h
9566 src/NetworkManagerUtils.c
9567 src/NetworkManagerPolicy.c
9568 src/nm-device-802-11-wireless.c
9569 - Remove special handling for non-scanning devices and mark them
9570 as unsupported/unhandled
9572 2007-08-20 Dan Williams <dcbw@redhat.com>
9574 * src/nm-device-802-11-wireless.c
9575 src/nm-device-802-3-ethernet.c
9576 - (real_is_up): move device-specific tests before generic IFF_UP test,
9577 because when the card is pulled or the module removed, the device
9578 is already !IFF_UP and then device-specific cleanup (removing
9579 the supplicant interface, periodic checks, etc) never gets done
9581 2007-08-20 Dan Williams <dcbw@redhat.com>
9584 - (nm_manager_remove_device): bring device down before disconnecting
9585 signal handlers, so that the 'state' signal will get broadcast when
9586 the device enters the DOWN state
9587 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9588 of states that cause the NMManager to recheck its state
9590 2007-08-20 Dan Williams <dcbw@redhat.com>
9592 * src/supplicant-manager/nm-supplicant-interface.c
9593 - (interface_disconnect_done): don't try to dispose of the net proxy
9594 when it may already have been disposed of
9596 2007-08-20 Dan Williams <dcbw@redhat.com>
9598 * src/nm-device-802-11-wireless.c
9599 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9600 the SSID isn't available; this can happen when the card is pulled
9601 or the module unloaded, during the post-removal deactivation
9602 paths, when the ioctl returns ENODEV
9604 2007-08-20 Dan Williams <dcbw@redhat.com>
9606 * src/nm-device-802-11-wireless.c
9607 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9608 frequency, and mode match. Applets are now responsible for grouping
9611 2007-08-20 Dan Williams <dcbw@redhat.com>
9613 * src/NetworkManagerAP.c
9614 * src/NetworkManagerAP.h
9615 - (nm_ap_print_self): new function
9617 * src/NetworkManagerAPList.c
9618 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9621 2007-08-17 Dan Williams <dcbw@redhat.com>
9623 * src/nm-device-802-3-ethernet.c
9624 - (real_bring_down): don't try to dispose of stuff that might not
9627 2007-08-17 Dan Williams <dcbw@redhat.com>
9629 * src/NetworkManagerAP.c
9630 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9631 applet. This ensures that the case between the seen-bssids and
9632 the bssids reported by the driver match.
9634 2007-08-17 Dan Williams <dcbw@redhat.com>
9636 * src/nm-device-802-11-wireless.c
9637 - (device_cleanup): disconnect the interface in wpa_supplicant before
9638 we dispose of the interface proxy in NM
9640 2007-08-16 Dan Williams <dcbw@redhat.com>
9642 * libnm-glib/nm-client.c
9643 - (nm_client_init): create VPN connections hash table with key free
9645 - (proxy_vpn_connection_added): VPN connections hash table key should
9646 be a duplicated value, not the same memory address as the VPN
9647 connection name. This is because the VPN connection name could
9648 potentially be freed and set to something else during the lifetime
9649 of the NMVPNConnection object.
9651 2007-08-16 Tambet Ingo <tambet@gmail.com>
9653 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9654 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9655 with the file descriptors. Send a child setup function to change the pppd
9658 2007-08-15 Dan Williams <dcbw@redhat.com>
9660 * src/supplicant-manager/nm-supplicant-interface.c
9661 - (try_remove_iface): new function, ask wpa_supplicant to remove
9663 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9664 disposing of the NMSupplicantInterface. Otherwise weird stuff
9665 happens on hotplug if wpa_supplicant doesn't tear down and readd
9666 the interface internally
9668 2007-08-15 Dan Williams <dcbw@redhat.com>
9670 * src/nm-device-802-11-wireless.c
9671 - (real_bring_down): move most of this function into device_cleanup()
9672 so that it can be called from elsewhere
9673 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9674 and stuff on dispose. These would normally get cleaned up when
9675 the device is marked down and deactivated, but when the device is
9676 hot-unplugged, it's already down and real_down() never gets run
9678 2007-08-15 Dan Williams <dcbw@redhat.com>
9681 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9682 caused a reference leak on device for which NM requested a key
9684 2007-08-15 Dan Williams <dcbw@redhat.com>
9686 * libnm-glib/nm-client.c
9687 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9689 2007-08-15 Tambet Ingo <tambet@gmail.com>
9691 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9692 nothing is using it at the moment, but it'll be all useful and stuff later on.
9694 * libnm-util/nm-setting.h: Define NMSettingPPP.
9696 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9698 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9700 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9702 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9704 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9706 2007-08-14 Tambet Ingo <tambet@gmail.com>
9708 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9710 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9711 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9712 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9713 name and different arguments and it won't compile anymore. To fix this, we now have
9714 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9715 that is new API + compatibility API and used by the daemon. The other,
9716 nm-manager-client.xml is only the new API without compatibility bits and is used
9717 by libnm-glib to make it compile.
9719 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9721 * src/nm-manager.c (impl_manager_legacy_sleep)
9722 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9723 interface functions for 0.6 branch.
9725 2007-08-14 Dan Williams <dcbw@redhat.com>
9727 * src/NetworkManagerAP.c
9728 - (nm_ap_new_from_properties): fix mistaken check of return value
9729 from memcmp (should expect 0)
9731 2007-08-14 Dan Williams <dcbw@redhat.com>
9733 (force-commit to fix wrong comment and partial commit of r2685; this
9734 commit actually applies to r2685)
9736 * src/NetworkManagerUtils.c
9737 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9738 ignores trailing nulls in the SSID to work around mismatches in
9739 expectations between WEXT and what the info-daemon passes back. The
9740 info-daemon would pass back the correct length, but due to the
9741 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9742 the device would always have an SSID + 1 depending on what versions
9743 of wpa_supplicant, the kernel, and NM you have. This was most often
9744 visible by just quitting the applet and relaunching, which caused
9745 NM to reassociated to the same network over again when reloading
9748 * src/NetworkManagerPolicy.c
9749 src/NetworkManagerUtils.h
9750 src/nm-device-802-11-wireless.c
9751 - Update for new parameter to nm_utils_same_ssid()
9753 2007-08-14 Dan Williams <dcbw@redhat.com>
9755 * src/NetworkManagerAP.c
9756 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9757 I encountered a BSS that wasn't just hiding it's ESSID, it was
9758 setting the BSSID to all 0s. That confused the heck out of NM,
9759 plus it's useless and probably out-of-spec.
9761 2007-08-14 Dan Williams <dcbw@redhat.com>
9763 * callouts/Makefile.am
9764 src/dhcp-manager/nm-dhcp-manager.c
9765 src/dhcp-manager/nm-dhcp-manager.h
9766 src/dhcp-manager/Makefile.am
9767 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9769 2007-08-14 Dan Williams <dcbw@redhat.com>
9771 * src/dhcp-manager/nm-dhcp-manager.c
9772 - (dhclient_run): don't pass -x to dhclient until we figure out if
9773 it's really needed, get rid of unused xtra_args parameter
9775 2007-08-14 Dan Williams <dcbw@redhat.com>
9777 * include/NetworkManagerVPN.h
9778 src/vpn-manager/nm-dbus-vpn.c
9779 src/vpn-manager/nm-dbus-vpn.h
9780 src/vpn-manager/nm-vpn-act-request.c
9781 src/vpn-manager/nm-vpn-act-request.h
9782 src/vpn-manager/nm-vpn-service.c
9783 src/vpn-manager/nm-vpn-service.h
9784 libnm-glib/nm-vpn-connection.c
9785 libnm-glib/nm-vpn-connection.h
9786 libnm-glib/nm-client.h
9787 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9788 NMVPNServiceState to clarify what they apply to
9789 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9790 NMVPNActStage -> NMVPNConnectionState for the same reason
9792 * libnm-glib/nm-client.c
9793 - Constant + type renames from above
9794 - Properly handle NameOwnerChanged/manager_running signals
9795 for NM service; only emit when state really changes
9796 - Use hash tables correctly so that the key (which was previously owned
9797 by the D-Bus message) now has the same lifetime as the value, since
9798 the key is now taken from the the NMVPNConnection itself. This
9799 really fixes the double-VPN names in the applet
9801 2007-08-13 Dan Williams <dcbw@redhat.com>
9803 Patch from Michael Biebl <biebl@debian.org>
9807 - Update for vpn-properties move
9809 2007-08-13 Dan Williams <dcbw@redhat.com>
9811 * libnm-glib/nm-client.c
9812 - Convert internal VPN connection tracking from a list to a hash table
9813 to easily avoid duplicates
9814 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9815 must be freed by the caller, like nm_client_get_devices()
9816 - (nm_client_remove_vpn_connection): don't let the removal signal
9817 leak through for NMVPNConnection objects that aren't actually
9819 - (manager_running): throw away VPN connection list when NM goes away,
9820 like with the device list
9822 2007-08-13 Dan Williams <dcbw@redhat.com>
9824 * src/dhcp-manager/nm-dhcp-manager.c
9825 - Stop any dhclient instance that might be already running for a
9826 particular interface before starting an NM spawned dhclient. Fixes
9827 dhclient processes left over if NM crashes, stuff like that.
9829 2007-08-13 Dan Williams <dcbw@redhat.com>
9831 * src/NetworkManagerAP.c
9832 - (finalize): don't try to g_array_free (NULL, ...), which happened
9833 when the AP wasn't broadcasting it's SSID
9835 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9837 * include/NetworkManager.h: added DBus path for connection settings.
9839 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9840 nm_connection_settings_signal_updated,
9841 nm_connection_settings_signal_removed): new functions to wrap the
9843 (nm_connection_settings_init): register GObject with DBus.
9844 (nm_connection_settings_get_dbus_object_path): new function.
9846 * libnm-glib/Makefile.am: added libnmutil to link flags.
9848 2007-08-13 Tambet Ingo <tambet@gmail.com>
9850 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9852 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9853 libnm_glib directory got merged with libnm-glib/.
9855 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9857 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9858 Rename the library from libnm-glib to libnm_glib to maintain the library API
9859 compatibility with 0.6 branch.
9861 * Makefile.am: Remove gnome/ SUBDIR.
9863 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9865 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9867 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9869 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9871 Remove checks for wpa_supplicant binary, it's used over dbus.
9872 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9874 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9875 Link the binaries with libnm_glib.la.
9877 2007-08-12 Dan Williams <dcbw@redhat.com>
9879 * src/NetworkManagerPolicy.c
9880 - (nm_policy_device_change_check): fix policy to deactivate old device
9881 before activating new one, at least until the multiple active
9882 device support lands
9884 2007-08-12 Dan Williams <dcbw@redhat.com>
9886 * src/NetworkManagerPolicy.c
9887 - (nm_policy_new): hook up to connection-added / connection-removed
9888 signals instead of connections-changed
9890 2007-08-12 Dan Williams <dcbw@redhat.com>
9892 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9893 Robert Frank <rfrank@redhat.com>
9895 * src/dhcp-manager/nm-dhcp-manager.c
9896 src/dhcp-manager/nm-dhcp-manager.c
9898 - Spawn and communicate with dhclient directly, through means of a
9899 custom dhclient callout script. Process callout D-Bus signals
9900 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9901 sent via gobject signals rather than being driven by the dhcp manager
9904 2007-08-12 Dan Williams <dcbw@redhat.com>
9906 * callouts/nm-dhcp-client-action.c
9907 - (build_message): ignore non-DHCP-related environment variables
9909 2007-08-12 Dan Williams <dcbw@redhat.com>
9913 callouts/Makefile.am
9914 callouts/nm-dhcp-client-action.c
9915 callouts/nm-dhcp-client.conf
9916 - Add dhclient-executed callout that takes the place of dhclient-script
9917 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9920 2007-08-09 Tambet Ingo <tambet@gmail.com>
9922 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9924 * libnm-glib/nm-client.h:
9925 * libnm-glib/nm-object.h:
9926 * libnm-glib/nm-vpn-connection.h:
9927 * libnm-glib/nm-settings.h:
9928 * libnm-glib/nm-device.h:
9929 * libnm-glib/nm-ip4-config.h:
9930 * libnm-glib/nm-access-point.h:
9931 * libnm-glib/nm-device-802-3-ethernet.h:
9932 * libnm-util/nm-setting.h:
9933 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9935 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9937 * libnm-glib/nm-access-point.c: Strength has type char.
9939 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9940 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9942 * introspection/nm-access-point.xml: Strength property is char, not int.
9944 * src/NetworkManagerAP.c (set_property): Set strength from char.
9945 (get_property): Handle hidden APs (with empty SSID).
9946 Get strength value from char.
9947 (nm_ap_class_init): Strength property has char type.
9949 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9951 * introspection/Makefile.am:
9952 * introspection/nm-settings.xml:
9953 * introspection/nm-settings-connection.xml: added Settings interfaces.
9955 * libnm-glib/nm-settings.[ch]:
9956 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9957 containing the DBus implementation.
9959 2007-07-26 Dan Williams <dcbw@redhat.com>
9961 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9963 * src/NetworkManagerSystem.c
9964 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9965 same subnet (#437396)
9967 2007-07-26 Dan Williams <dcbw@redhat.com>
9969 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9971 * gnome/vpn-properties/nm-vpn-properties.c
9972 - Fix translatable strings (#445865)
9974 2007-07-26 Dan Williams <dcbw@redhat.com>
9976 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9979 - Remove useless junk (#412530)
9981 2007-07-10 Christopher Aillon <caillon@redhat.com>
9983 Patch from Robert Buchholz <rbu@gentoo.org>:
9987 * introspection/Makefile.am:
9988 Make make distcheck work again.
9990 2007-06-27 Dan Williams <dcbw@redhat.com>
9992 * Make SSIDs GByteArrays everywhere
9993 * Rename "essid" -> "ssid" everywhere that's appropriate
9994 * Refcount activation_ap member of the 802.11 wireless device class
9996 2007-06-27 Tambet Ingo <tambet@ximian.com>
9998 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10000 2007-06-22 Tambet Ingo <tambet@ximian.com>
10002 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10003 that we got a new AP when we just update existing AP properties.
10005 2007-06-21 Tambet Ingo <tambet@ximian.com>
10007 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10009 * nm-utils.[ch]: Remove.
10011 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10012 objects for easy property access and dbus connection handling.
10014 * libnm-glib/nm-client.c: Derive from NMObject.
10016 * libnm-glib/nm-device.c: Ditto.
10018 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10020 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10022 * libnm-glib/nm-ip4-config.c: Ditto.
10024 * libnm-glib/nm-access-point.c: Ditto.
10026 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10027 comparision. Currently used by the device activation code to determine if the new
10028 activation is the same as the old one.
10030 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10031 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10032 able to ask password for the AP.
10034 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10035 up if the device is already connected, tear down it's connection (if it isn't the
10036 same as new one) and start the activation.
10038 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10040 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10041 the issue where all APs are always listed as encrypted.
10043 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10044 their own registered paths.
10046 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10047 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10049 2007-06-13 Tambet Ingo <tambet@ximian.com>
10051 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10054 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10055 because the handling code will cause the next state change and signal listeners
10056 get the signals in wrong order.
10058 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10059 correctly in case of pending activation.
10061 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10062 Convert the essid byte array to string correctly, including the terminating NULL.
10064 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10065 mode with correct types.
10067 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10068 constructed info to dbus call instead of the activation request.
10070 2007-06-11 Christopher Aillon <caillon@redhat.com>
10072 Patch from Christian Persch <chpe@gnome.org>
10074 * libnm-glib/Makefile.am:
10075 * dispatcher-daemon/Makefile.am:
10076 Use the correct variables, the correct paths, and correct ordering. (446315)
10078 2007-06-11 Tambet Ingo <tambet@ximian.com>
10080 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10081 argument. The activation request is easy to retrieve.
10083 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10084 just to be a convenient location for devices to store random stuff.
10086 2007-06-11 Christopher Aillon <caillon@redhat.com>
10088 Patch from Alex Smith <alex@alex-smith.me.uk>
10090 * src/backends/NetworkManagerFrugalware.c:
10091 Update the FrugalWare backend to fix a few segfaults. (#392642)
10093 2007-06-08 Tambet Ingo <tambet@ximian.com>
10095 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10097 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10099 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10101 2007-06-06 Tambet Ingo <tambet@ximian.com>
10103 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10105 Implement NMSettingIP4Config.
10106 Finish NMSettingWired by adding all known members.
10107 (setting_wired_verify): Implement.
10108 Finish NMSettingWireless by adding all known members.
10109 (setting_wireless_verify): Implement.
10111 * libnm-util/nm-connection.c: Register "ipv4" setting.
10112 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10113 dump function, we can introspect the GHashTable which is used for sending connections
10116 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10117 Take GByteArray for essid, it's really not a string.
10119 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10120 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10121 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10122 means overriding the values we got from DHCP.
10123 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10124 (nm_device_deactivate_quickly): Ditto.
10126 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10129 2007-05-07 Tambet Ingo <tambet@ximian.com>
10131 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10134 * libnm-glib/nm-device-802-11-wireless.c:
10135 (nm_device_802_3_ethernet_activate): Remove.
10137 * libnm-glib/nm-device-802-3-ethernet.c
10138 (nm_device_802_3_ethernet_activate): Remove.
10140 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10142 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10145 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10146 activation has started.
10147 Implement the new activation using NMConnection.
10149 * src/nm-activation-request.c: Store a generic connection object instead
10150 of a wireless-specific AP.
10152 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10153 on device type, create a device specific connection object suitable for
10156 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10157 specific check to validate the connection and on success start the
10160 * src/nm-device-interface.h: Add a activate virtual function to the
10161 interface definition.
10163 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10164 (impl_device_activate): Implement.
10166 * introspection/nm-device.xml: Add a generic device activation interface
10167 that accepts an abstract NMConnection structure that has device-specific
10170 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10171 activation interface.
10173 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10174 activation interface.
10176 * libnm-util/nm-connection.c:
10177 * libnm-util/nm-connection.h:
10178 * libnm-util/nm-setting.c:
10179 * libnm-util/nm-setting.h: Add.
10181 * libnm-util/Makefile.am: Build the added files.
10183 * src/nm-dbus-manager.c
10184 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10185 DbusConnection argument from 'name-owner-changed' signal. The manager
10186 is already passed as a first argument to the signal and the connection
10187 is easy enough to get from it.
10189 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10190 Update the signature of the function.
10192 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10195 * src/NetworkManager.c: Ditto.
10197 * src/named-manager/nm-named-manager.c
10198 (nm_named_manager_name_owner_changed): Ditto.
10200 * src/supplicant-manager/nm-supplicant-manager.c
10201 (nm_supplicant_manager_name_owner_changed): Ditto.
10203 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10205 * src/dhcp-manager/nm-dhcp-manager.c
10206 (nm_dhcp_manager_name_owner_changed): Ditto.
10208 * src/nm-hal-manager.c: Add a list of device detectors and creators
10209 to make it easier to add new devices. Each device type has it's own
10210 entry in the table so adding new device types is only a matter of
10211 implementing a couple of functions, one for device detection and the
10212 other for device creation.
10214 2007-04-25 Dan Williams <dcbw@redhat.com>
10216 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10217 (gnome.org #432401)
10219 2007-03-30 Dan Williams <dcbw@redhat.com>
10221 * src/NetworkManagerSystem.c
10222 - (nm_system_device_set_ip4_route): clean up and fix argument
10223 to nm_dev_sock_open()
10225 2007-03-28 Tambet Ingo <tambet@ximian.com>
10227 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10228 data to correct types instead of always using string.
10230 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10231 _not_ have NM_802_11_CAP_PROTO_NONE.
10232 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10235 2007-03-27 Tambet Ingo <tambet@ximian.com>
10237 * libnm-glib/Makefile.am: Fix the build issue.
10239 2007-03-26 Tambet Ingo <tambet@ximian.com>
10241 * libnm-glib/nm-vpn-connection.h:
10242 * libnm-glib/nm-vpn-connection.c: Implement.
10244 * libnm-glib/nm-client.c: Add VPN support.
10246 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10249 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10252 2007-03-26 Dan Williams <dcbw@redhat.com>
10254 * src/NetworkManagerAPList.c
10255 * src/nm-device-802-11-wireless.c
10256 * src/NetworkManagerAP.c:
10257 - Store last seen as glong instead of GTimeVal.
10258 - Fix the upper bound of capabilities, it's a bitfield.
10260 2007-03-16 Tambet Ingo <tambet@ximian.com>
10262 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10264 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10265 "manager-running" signal that notifies the appearance/disappearance of NM.
10266 (nm_client_sleep): Implement.
10268 * libnm-glib/nm-device.c:
10269 * libnm-glib/nm-device-802-11-wireless.c:
10270 * libnm-glib/nm-device-802-3-ethernet.c:
10272 Don't inherit from DBusGProxy, add a proxy to private
10273 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10274 for anything but their own dbus interface. DBusGProxy objects support only one
10275 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10276 interface. The nice side effect of this change is that we do not create a new
10277 DBusGProxy object for each property access.
10279 2007-03-15 Tambet Ingo <tambet@ximian.com>
10281 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10282 with zeroes before passing them to functions - the functions never do that and
10283 reading the values back may produce wrong values.
10284 (real_bring_up): Store the signal handler id ...
10285 (real_bring_down): ... So that it can be removed here.
10286 Disconnect the supplicant interface here as well.
10287 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10288 from the access point instead of old $device/Networks/$essid.
10290 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10291 device state is connected (instead of just having link/carrier).
10293 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10294 already easily accessible through the device.
10296 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10297 store it within the object.
10298 (nm_ap_get_dbus_path): Export it to public as well.
10300 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10303 2007-03-12 Dan Williams <dcbw@redhat.com>
10305 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10306 for non-carrier-detect capable devices, and useless for carrier-detect
10307 devices since we get notifications from netlink about carrier status anyway.
10309 * src/nm-device-802-3-ethernet.c
10310 - remove 'link_source_id' member from private data
10311 - (probe_link): remove and collapse into real_update_link()
10312 - (nm_device_802_3_periodic_update): remove
10313 - (real_is_up): check for sup_iface rather than link_source_id
10314 - (real_bring_up): return gboolean for success/fail; require that
10315 sup_iface be valid for device bringup to succeed
10316 - (real_bring_down): zero out link signal ids
10319 - (nm_device_activate_stage2_device_config): fail activation if device
10321 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10323 - (nm_device_bring_up): return success/fail
10326 - bring_up now returns success/fail
10328 * src/nm-device-802-11-wireless.c
10329 - (real_bring_up): return success from bringup
10331 2007-03-07 Dan Williams <dcbw@redhat.com>
10333 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10334 * src/nm-ap-security-wpa-psk.c
10335 - (real_write_supplicant_config): work with PSKs that may contain
10336 zeros in the binary format rather than treating it as a string
10338 2007-03-02 Tambet Ingo <tambet@ximian.com>
10340 * libnm-glib/nm-device-802-11-wireless.c
10341 (nm_device_802_11_wireless_get_capabilities): Implement.
10343 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10345 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10347 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10348 reply only if it's not NULL. Not sure why this started happening right now.
10350 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10351 code paths for when devices get removed on shutdown or when a device is just
10353 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10354 gets freed so any signal from a device (disconnected for instance) would invoke
10355 NMState update which would crash.
10356 (nm_manager_remove_device): Bring the device down when it gets removed.
10358 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10359 the unused dev_type.
10361 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10362 reference to the added device, NMManager will own it (if it wants).
10364 * test/nm-tool.c: Rewrite using libnm-glib.
10366 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10367 We get signalled when it changes.
10369 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10372 * libnm-glib/nm-device.c: Cache the device state property.
10374 * libnm-glib/nm-access-point.c: Cache the strength property.
10376 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10377 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10378 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10379 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10380 the device is down, activating, or activated (in case of A/B/G cards).
10381 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10382 it's all done through supplicant now.
10384 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10385 counting issues with pending calls which caused leaks and crashes when
10386 interface was removed (now that the interface actually gets removed).
10388 * src/nm-call-store.c: Make a copy of data before running a foreach
10389 with user callback on it - The most common usage pattern is to cancel
10390 (and thus remove) all pending calls with foreach which would modify
10391 the hash table we're iterating over.
10393 * src/nm-manager.c: When a device is added, make sure it is "up". When
10394 it's removed or disabled due to disabling wireless or networking, bring
10397 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10399 * src/nm-device-802-11-wireless.c:
10400 * src/nm-device-802-3-ethernet.c:
10402 - Remove "init" virtual function, all gobjects have a place for that
10403 already (constructor).
10404 - Replace "start" virtual function with "bring_up", devices can be
10405 brought up and down more than just on startup now.
10406 - Add "is_up" virtual function.
10407 - Implement one way to bring a device down instead of previous 4 different
10408 ways, each of witch did something different.
10410 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10411 all it needs is the device interface.
10413 Get rid of NMData.dev_list (3 members to go).
10414 Get rif of NMData in a lot of places.
10416 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10418 2007-02-23 Dan Williams <dcbw@redhat.com>
10420 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10422 * src/NetworkManagerAP.c
10423 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10424 OR-ing rather than AND-ing
10426 2007-02-20 Tambet Ingo <tambet@ximian.com>
10428 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10429 "network-removed" signals.
10431 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10433 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10434 when receiving the signal from dbus.
10436 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10439 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10440 deactivation of the previously activated device working again.
10442 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10445 * src/nm-device.c (nm_device_is_activated): Remove.
10446 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10448 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10449 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10450 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10451 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10452 Remove NMNetworkStatus and NMActStage enums.
10454 2007-02-19 Tambet Ingo <tambet@ximian.com>
10456 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10457 Handle device state changes and disconnect VPN if it's device deactivates.
10459 * src/nm-dbus-nm.c:
10460 * src/nm-dbus-nm.h:
10461 * src/nm-dbus-device.c:
10462 * src/nm-dbus-device.c:
10463 * src/nm-dbus-net.c:
10464 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10466 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10468 * src/nm-device.c (nm_device_get_by_udi):
10469 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10470 implemented in the correct location (NMManager).
10471 Rip out all the test_device stuff.
10473 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10474 failure handlers, it's all done by NMDevice already.
10476 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10477 Remove the iochannel hack to route the unix signals to the main thread since
10478 we're not threaded anymore.
10480 * src/NetworkManagerAP.c: Implement HWAddress property.
10482 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10483 automatically with dbus-glib.
10485 * src/nm-netlink-monitor.c:
10486 * src/nm-netlink-monitor.h:
10487 - Move it low in the class hierarchy, don't reference any NM types.
10488 - Remove private data from the header.
10489 - Use type safe checks in public API methods.
10490 - Make it a singleton so we don't have to pass the single reference around.
10492 2007-02-16 Tambet Ingo <tambet@ximian.com>
10494 * introspection/nm-ip4-config.xml: Implement.
10496 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10498 * libnm-glib/nm-ip4-config.c:
10499 * libnm-glib/nm-ip4-config.c: Implement.
10501 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10502 securities. APs reference security.
10504 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10505 be exported over DBUS.
10507 * src/nm-device-802-3-ethernet.c: Ditto.
10509 * src/NetworkManagerAP.c:
10510 * src/NetworkManagerAP.h:
10511 - Convert to GObject, export over DBUS.
10513 * src/nm-ip4-config.h:
10514 * src/nm-ip4-config.h:
10515 - Convert to GObject, export over DBUS.
10517 2007-02-12 Dan Williams <dcbw@redhat.com>
10519 Patch from Helmut Schaa <hschaa@suse.de>
10521 * vpn-daemons/pptp/configure.in
10522 vpn-daemons/pptp/Makefile.am
10523 vpn-daemons/openvpn/configure.in
10524 vpn-daemons/openvpn/Makefile.am
10525 vpn-daemons/vpnc/configure.in
10526 vpn-daemons/vpnc/Makefile.am
10527 - Add --without-gnome switch which disables building gnome bits
10529 2007-02-12 Tambet Ingo <tambet@ximian.com>
10531 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10533 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10535 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10538 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10540 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10542 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10545 - Remove old low-level dbus interface implementations and replace them
10546 with dbus-glib one.
10549 - Require dbus-glib >= 0.72.
10550 - Plug in new sources to build.
10553 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10554 to make it more convenient to use from GObject based programs.
10557 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10559 2007-02-09 Tambet Ingo <tambet@ximian.com>
10561 * src/nm-device-802-11-wireless.c:
10562 - Add "network-added" and "network-removed" signals.
10563 - Use gobject boilerplate macros to define the GObject.
10564 - Implement wireless device activation.
10565 - Remove activation_failure_handler and activation_success_handler
10566 and instead listen on state-changed signals and run the same code
10570 - Implment NMDeviceInterface::deactivate.
10571 - Remove activation_failure_handler and activation_success_handler
10572 virtual methods. Each device which is interested in these events
10573 can just listen on it's state changed signals.
10575 * src/NetworkManagerPolicy.c:
10576 - Move a bit more NMData usage to NMManager.
10577 - Remove activation scheduling bits.
10578 - Add listeners for wireless device's "network-added" and
10579 "network-removed" signals.
10580 - Listen device changed signals and deactivate currently activated
10581 device when another device start activating (for now).
10582 - Remove (nm_policy_schedule_device_change_check): There's never a need
10583 for calling this, the policy code knows exactly when this should happen,
10584 by listening on events from NMManager and NMDevices.
10586 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10589 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10590 method on the specific device instead of going to through policy code
10591 and determining the device type by passed in AP's existance.
10593 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10594 abstract NMDevice deactivation.
10596 2007-02-08 Tambet Ingo <tambet@ximian.com>
10598 * src/NetworkManager.c:
10599 - Set up all the shiny new managers.
10601 * src/NetworkManagerPolicy.c:
10602 - Add the beginnings of new NMPolicy code. Instead of requireing all
10603 classes to call into policy code, make the policy code kind of like
10604 a supervisor that monitors what's going on and drives the whole NM.
10606 * src/nm-hal-manager.c:
10607 * src/nm-hal-manager.h:
10608 - Collect all libhal code scattered around NM to this one class.
10609 - Listen libhal and NMManager events and add/remove devices to
10612 * src/nm-manager.c:
10613 * src/nm-manager.h:
10614 - Implment a replacement for NMData. NMData is now officially
10617 2007-02-05 Tambet Ingo <tambet@ximian.com>
10619 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10620 * src/supplicant-manager/nm-supplicant-interface.h
10621 * src/supplicant-manager/nm-supplicant-interface.c
10622 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10623 argument to boolean from enum.
10625 Make NMDevice abstract class, remove almost all references to it's
10626 subclasses (the last place gets removed with new policy manager). Add
10627 NMDeviceInterface (which NMDevice implements) so that when we have
10628 NMDevice exported over DBUS, there's a common NMDevice interface which
10629 all instances have, plus there's a device specific interface for each
10631 Remove functions (nm_device_is_802_3_ethernet) and
10632 (nm_device_is_802_11_wireless). There are already standard GObject macros
10633 for type safe checks.
10634 Use the updated supplican manager API.
10636 * src/nm-device-interface.h:
10637 * src/nm-device-interface.c:
10638 * src/nm-call-store.h:
10639 * src/nm-call-store.c: Implement.
10641 * src/supplicant-manager/nm-supplicant-interface.c:
10642 * src/supplicant-manager/nm-supplicant-interface.h:
10643 * src/supplicant-manager/nm-supplicant-manager.c:
10644 * src/supplicant-manager/nm-supplicant-manager.h:
10645 - Remove all private data type references from public header files.
10646 - Remove all references to other NM classes, this class is just a
10647 proxy between wpa_supplicant and NM so it doesn't have to know
10649 - Convert to dbus-glib bindings.
10650 - Type safe checks for public methods' arguments.
10651 - Store pending DBUS call ids to NMCallStore.
10653 * src/supplicant-manager/nm-supplicant-config.c:
10654 - Store config values in a GHashTable instead of GSList.
10656 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10658 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10661 * src/nm-device.c: Use the new DHCP manager API.
10663 * src/nm-activation-request.c:
10664 * src/nm-activation-request.h:
10665 - Remove all dhcp related properties and methods.
10667 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10669 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10671 * src/dhcp-manager/nm-dhcp-manager.c:
10672 * src/dhcp-manager/nm-dhcp-manager.h:
10673 - Convert it to GObject since we need to signal state changes.
10674 - Remove all references to other NM classes, this class is one
10675 of the lowest classes in our hierarchy.
10676 - One less class to use NMActRequest.
10677 - Make it singleton, one less user of NMData.
10678 - Remove a couple of sleep() calls.
10679 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10680 One less class to use the NM's custom tailored signal handlig.
10682 * Makefile.am: Generate marshallers, add them to build.
10684 2007-02-02 Dan Williams <dcbw@redhat.com>
10690 - Remove last bits referencing gnome applet
10692 2007-02-02 Dan Williams <dcbw@redhat.com>
10694 * src/vpn-manager/nm-vpn-service.c
10695 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10696 and NBNS server addresses
10698 2007-02-02 Tambet Ingo <tambet@ximian.com>
10700 * src/nm-dbus-manager.c:
10701 * src/nm-dbus-manager.h:
10702 - Convert all internal DBUS code to use dbus-glib bindings.
10703 - Remove GObject properties, we don't need them here.
10704 - Don't explicitly set things to NULL after freeing, glib is
10705 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10706 - Make public API argument checks type safe.
10707 - Remove unnecessary (and wrong) cast to GObject for the first
10708 argument to g_signal_* calls - The first argument is a gpointer.
10709 - Export DBusGConnection to other cool classes that (are going to)
10712 2007-01-26 Dan Williams <dcbw@redhat.com>
10714 * libnm-util/dbus-dict-helpers.c
10715 libnm-util/dbus-dict-helpers.h
10716 - Coordinate style with wpa_supplicant version to minimize diff
10717 - Add uint32 array support
10718 - (nmu_dbus_dict_append_uint32_array): new function
10719 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10720 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10721 version; allow adding string array elements individually
10723 * test/libnm-util/test-dbus-dict-helpers.c
10724 - Test uint32 arrays
10726 2007-01-27 Jürg Billeter <j@bitron.ch>
10728 * src/backends/NetworkManagerPaldo.c
10729 - (nm_system_update_dns): clear nscd hosts cache
10731 2007-01-04 Dan Williams <dcbw@redhat.com>
10733 Threading removal related cleanups:
10735 - Use the glib default main context. Remove the device main context
10736 member from NMDevice, and the main_context member from NMData. Change
10737 all the idle and timeout scheduler functions to use plain
10738 g_idle_add() and g_timeout_add().
10740 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10741 takes an argument; fix that up too.
10743 - Remove all locking, which is useless since we no longer use threads. For
10744 example, nm_get_device_by_iface_locked() has been removed. The global
10745 device list lock, the AP List lock, and all static locks in
10746 NetworkManagerPolicy.c have been removed. The locking utility functions
10747 in NetworkManagerUtils.c have also been removed.
10749 - Other cleanups in spacing and code style
10751 2007-01-01 Dan Williams <dcbw@redhat.com>
10753 Found by Bill Moss:
10755 * src/supplicant-manager/nm-supplicant-interface.c
10756 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10757 the supplicant interface wasn't already disconnected. Always
10758 call removeNetwork and disconnect unless the supplicant interface
10759 is in the DISCONNECTED or INACTIVE state.
10761 2006-12-28 Dan Williams <dcbw@redhat.com>
10763 Use a single thread for everything. With the move to wpa_supplicant
10764 and communication over D-Bus, there's no reason for multiple threads.
10765 Almost all of the blocking code has been removed, with one exception in
10766 the DHCP manager and a few in the VPN manager. This commit removes the
10767 per-device worker thread and fixes activation cancellation in the absence
10768 of threads. Further removal of thread-related code would be removing
10769 any locking code (like the device list lock) and simplification of logic
10770 around areas of code or data structures that are currently locked.
10773 dhcp-manager/nm-dhcp-manager.c
10774 nm-device-802-11-wireless.c
10775 nm-device-802-3-ethernet.c
10778 - Remove usage of multiple threads
10780 2006-12-19 Dan Williams <dcbw@redhat.com>
10782 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10783 plus a few other patches from wpa_supplicant bugzilla.
10786 src/NetworkManagerPolicy.c
10787 src/NetworkManagerUtils.c
10788 src/NetworkManagerUtils.h
10789 src/nm-ap-security-leap.c
10790 src/nm-ap-security-wep.c
10791 src/nm-ap-security-wpa-eap.c
10792 src/nm-ap-security-wpa-psk.c
10793 src/nm-ap-security.c
10794 src/nm-ap-security.h
10795 src/nm-device-802-11-wireless.c
10796 src/nm-device-802-11-wireless.h
10797 src/supplicant-manager/nm-supplicant-config.c
10798 src/supplicant-manager/nm-supplicant-config.h
10799 src/supplicant-manager/nm-supplicant-interface.c
10800 src/supplicant-manager/nm-supplicant-interface.h
10801 src/supplicant-manager/nm-supplicant-marshal.list
10802 src/supplicant-manager/nm-supplicant-settings-verify.c
10803 src/supplicant-manager/nm-supplicant-settings-verify.h
10804 - Move all connection management and association handling to
10805 wpa_supplicant over dbus, rather than spawning a private copy
10807 2006-12-19 Dan Williams <dcbw@redhat.com>
10809 * src/NetworkManagerPolicy.c
10810 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10811 better locking of the device change check handler ID. Incorrect
10812 locking was causing lost device change requests
10814 2006-12-18 Dan Williams <dcbw@redhat.com>
10816 * libnm-util/dbus-dict-helpers.c
10817 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10818 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10819 dbus_message_iter_get_array_len() (Gnome.org #382898)
10821 2006-12-18 Dan Williams <dcbw@redhat.com>
10823 * gnome/libnm_glib/libnm_glib.c
10824 - Change dbus_connection_close() -> dbus_connection_unref()
10826 2006-12-11 Dan Williams <dcbw@redhat.com>
10828 * src/supplicant-manager/nm-supplicant-interface.c
10829 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10830 wpa_supplicant interface state
10831 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10832 state before transitioning to READY state
10834 2006-12-04 Dan Williams <dcbw@redhat.com>
10836 * src/nm-device-802-11-wireless.c
10837 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10838 odd length of ESSID returned from ieee80211 stack-based drivers
10840 2006-12-04 Dan Williams <dcbw@redhat.com>
10842 * src/nm-device-802-11-wireless.c
10843 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10844 IE handling blocks that cause mis-parsing of the IE
10846 2006-12-04 Dan Williams <dcbw@redhat.com>
10848 * src/nm-device-802-11-wireless.c
10849 - (init_supplicant_interface): new function; pull supplicant interface
10850 setup code out into standalone function since it must be called from
10851 two different places
10852 - (real_init): sup_mgr is now in private object data; get and track
10853 the supplicant manager object over the NMDevice subclass' lifetime
10854 and register a signal handler for its state signals; only try to
10855 initialize the supplicant interface if the supplicant manager is in
10856 the IDLE state (and therefore is ready for requests)
10857 - (request_wireless_scan): reschedule the scan request if (a) there is
10858 no supplicant interface yet (meaning wpa_supplicant isn't running
10859 or isn't ready yet), or (b) if the supplicant interface isn't ready
10861 - (supplicant_iface_connection_state_cb): new function; stub for
10862 handling supplicant interface connection state signals
10863 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10865 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10866 supplicant manager object that's being tracked starting with this
10869 2006-12-04 Dan Williams <dcbw@redhat.com>
10871 * src/supplicant-manager/nm-supplicant-interface.c
10872 - (nm_supplicant_interface_set_property): track signal handler ID
10873 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10875 2006-12-04 Dan Williams <dcbw@redhat.com>
10877 * src/supplicant-manager/nm-supplicant-interface.[ch]
10878 - (nm_supplicant_interface_get_state): new function
10880 2006-12-04 Dan Williams <dcbw@redhat.com>
10882 * src/supplicant-manager/nm-supplicant-interface.c
10883 - (bssid_properties_cb): don't treat DBus errors as valid
10884 scanned AP messages
10886 2006-12-04 Dan Williams <dcbw@redhat.com>
10888 * src/supplicant-manager/nm-supplicant-interface.[ch]
10889 - (nm_supplicant_interface_get_connection_state): new function
10890 - define new supplicant connection states
10891 - send a signal when the supplicant connection state changes
10893 2006-12-03 Dan Williams <dcbw@redhat.com>
10895 * src/supplicant-manager/Makefile.am
10896 src/supplicant-manager/nm-supplicant-connection.h
10897 src/supplicant-manager/nm-supplicant-connection.c
10898 src/supplicant-manager/nm-supplicant-config.h
10899 src/supplicant-manager/nm-supplicant-config.c
10900 src/supplicant-manager/nm-supplicant-types.h
10901 src/supplicant-manager/nm-supplicant-interface.h
10902 src/supplicant-manager/nm-supplicant-interface.c
10903 - Rename NMSupplicantConnection -> NMSupplicantConfig
10905 2006-12-03 Dan Williams <dcbw@redhat.com>
10907 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10911 - Move VPN-related translatables to .skip
10913 * vpn-daemons/pptp/po/POTFILES.in
10914 - Update with new translatables
10916 2006-12-02 Dan Williams <dcbw@redhat.com>
10918 Patch from Christian Persch <chpe@gnome.org>
10920 * gnome/applet/Makefile.am
10921 gnome/applet/applet-dbus-devices.c
10922 gnome/applet/applet-notifications.c
10923 gnome/applet/applet.c
10924 gnome/applet/applet.h
10925 gnome/applet/main.c
10926 - Be a GtkStatusIcon on GTK+ >= 2.10
10928 2006-12-02 Dan Williams <dcbw@redhat.com>
10930 * gnome/applet/applet.c
10931 - (nma_update_info): fix two unecessary allocations
10933 2006-12-02 Dan Williams <dcbw@redhat.com>
10935 Patch from Michael Biebl <biebl@teco.edu>
10937 man/NetworkManager.1.in
10938 man/NetworkManagerDispatcher.1.in
10939 man/NetworkManager.8.in
10940 man/NetworkManagerDispatcher.8.in
10941 - Add .SH NAME stanzas
10942 - Move NM & NM Dispatcher manpages to section 8 (admin)
10944 2006-12-02 Dan Williams <dcbw@redhat.com>
10946 Patch from Christian Persch <chpe@gnome.org>
10949 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10951 2006-11-29 Tambet Ingo <tambet@ximian.com>
10953 Patch by Timo Hoenig <thoenig@suse.de>:
10954 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10957 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10958 we can't use the one from the main source directory.
10960 2006-11-27 Dan Williams <dcbw@redhat.com>
10962 Patch from Christian Persch <chpe@gnome.org>
10964 * gnome/applet/applet-dbus-devices.c
10965 - (hal_info_product_cb): fix memleak; free duped string.
10968 2006-11-27 Dan Williams <dcbw@redhat.com>
10970 Patch from Christian Persch <chpe@gnome.org>
10972 * gnome/applet/menu-items.c
10973 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10974 as gtk_progress_set_percentage is deprecated. Should
10975 work as far back as GTK+ 2.4. Gnome.org #379780
10977 2006-11-26 Dan Williams <dcbw@redhat.com>
10979 Scan using wpa_supplicant over DBus.
10981 * src/nm-device-802-11-wireless.c
10982 - remove wireless extensions netlink event handler bits
10983 (wireless_event_helper, nm_device_802_11_wireless_event)
10984 - remove wireless extensions scan event handler bits
10985 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10986 hex2byte, hex2num, request_and_convert_scan_results,
10987 free_process_scan_cb_data, scan_results_timeout,
10988 schedule_scan_results_timeout, cancel_scan_results_timeout)
10989 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10990 and request scans from the supplicant interface rather than directly
10991 - Move functionality of convert_scan_results() to cull_scan_list() and
10992 supplicant_iface_scanned_ap_cb()
10993 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10994 at the scan interval when the current scan has finished
10995 - (supplicant_iface_state_cb): start scanning when the supplicant
10996 interface enters the READY state, and stop scanning when it
10997 enters the DOWN state
10998 - (cull_scan_list): weed out old access points from the scan list
10999 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11000 point into an NMAccessPoint and merge it into the device's scan list
11002 * src/supplicant-manager/nm-supplicant-interface.c
11003 src/supplicant-manager/nm-supplicant-interface.h
11004 - Add a new signal "scan-result" which is issued when the supplicant
11005 notifies NM that a scan has completed
11006 - Add a new signal "scanned-ap" that notifies listeners of a new access
11007 point found in the scan. Called once for each access point that
11008 the supplicant interface object receives from the supplicant as a
11009 result of the "scanResults" method call
11010 - (wpas_iface_query_scan_results): don't wait 4s before querying
11011 for the initial scan results
11012 - (scan_request_cb): new function; send listeners the result
11013 (success, error) of a wireless scan request
11014 - (nm_supplicant_interface_request_scan): new function; ask the
11015 supplicant to perform an immediate wireless scan
11017 2006-11-25 Dan Williams <dcbw@redhat.com>
11019 * src/supplicant-manager/Makefile.am
11020 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11021 add HAL cflags/includes and named-manager includes directory
11023 * src/supplicant-manager/nm-supplicant-interface.h
11024 - New state STARTING to handle transition from INIT to READY where
11025 the addInterface pending call is still outstanding
11027 * src/supplicant-manager/nm-supplicant-interface.c
11028 - track pending calls differently since we may have more than one
11029 going on at any given time
11030 - request scan results from wpa_supplicant; but don't do it more often
11031 than every 4 seconds. Drivers that do background scanning
11032 (like the 'ipw' drivers) send a continuous stream of scan completion
11033 notifications, so we don't want to hammer the supplicant or dbus
11034 with requests for all scan results every time we get a completion
11037 2006-11-25 Dan Williams <dcbw@redhat.com>
11039 * src/supplicant-manager/nm-supplicant-types.h
11040 - new file; move all supplicant manager object typedefs here for
11043 * src/supplicant-manager/nm-supplicant-interface.c
11044 src/supplicant-manager/nm-supplicant-interface.h
11045 - new file; an object that interfaces an NMDevice object to the
11046 supplicant and handles signals from the supplicant. This object
11047 does all necessary DBus communication with wpa_supplicant.
11049 * src/supplicant-manager/nm-supplicant-manager.c
11050 src/supplicant-manager/nm-supplicant-manager.h
11051 - Actually do something. Track the state of the wpa_supplicant service
11052 and deal with its comings & goings. Handle life events of
11053 supplicant interfaces too.
11054 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11056 * src/supplicant-manager/nm-supplicant-connection.h
11057 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11059 * src/supplicant-manager/Makefile.am
11060 - Add new files to build, and add libnm-util to includes
11062 * src/nm-marshal.list
11063 - New marshaler type: VOID:UINT,UINT
11065 * src/nm-device-802-3-ethernet.c
11066 - (real_init): grab a supplicant interface
11067 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11068 - (supplicant_iface_state_cb): new function, stub for handling
11069 supplicant interface state changes
11071 * src/nm-device-802-11-wireless.c
11072 - (real_init): grab a supplicant interface
11073 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11074 - (supplicant_iface_state_cb): new function, stub for handling
11075 supplicant interface state changes
11077 * src/NetworkManager.c
11078 - (main): create and keep the supplicant manager around for the lifetime
11082 - Link to the supplicant manager sub-library and use the supplicant
11085 2006-11-25 Dan Williams <dcbw@redhat.com>
11087 Rework DBus manager signal handling to be more flexible. Previously,
11088 only one signal handler could be registered for a particular interface.
11089 The DBus manager now reference counts DBus bus matches and allows multiple
11090 clients to register signal handlers for the same interface and sender.
11092 * src/NetworkManager.c
11093 - (main): track NMI signal handler ID and remove it when we quit
11095 * src/NetworkManagerMain.h
11096 - Keep track of NMI signal handler ID
11098 * src/nm-dbus-manager.c
11099 src/nm-dbus-manager.h
11100 - rework signal handling; each signal handler references one signal
11101 match, but a signal match may be referenced by one or more
11102 signal handlers. Matches are refcounted and are destroyed when the
11103 last signal handler that references the match is removed. This is
11104 necessary because two signal handlers may end up requiring the same
11105 dbus bus match, so the match must live until the last signal handler
11106 is destroyed (for example, with the wpa_supplicant network interface
11109 * src/dhcp-manager/nm-dhcp-manager.c
11110 - (nm_dhcp_manager_new): track DHCP signal handler id
11111 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11113 * src/vpn-manager/nm-vpn-service.c
11114 - (nm_vpn_service_add_watch): track VPN service signal handler id
11115 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11117 2006-11-25 Dan Williams <dcbw@redhat.com>
11119 Suggested by Helmut Schaa <hschaa@suse.de>
11121 * src/vpn-daemons/nm-vpn-service.c
11122 - (supplicant_child_setup): new function
11123 - (supplicant_exec): make child process use a new process group id
11125 * src/nm-device-802-11-wireless.c
11126 - (nm_vpn_service_child_setup): new function
11127 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11130 2006-11-19 Dan Williams <dcbw@redhat.com>
11132 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11133 * gnome/vpn-properties/nm-vpn-properties.c
11134 - clean up after renamed VPN connection
11136 2006-11-19 Dan Williams <dcbw@redhat.com>
11138 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11139 * gnome/applet/applet-dbus-vpn.c
11140 - (nma_dbus_vpn_properties_cb): sort VPN connections
11142 * gnome/vpn-properties/nm-vpn-properties.c
11143 - (init_app): sort VPN connections
11145 2006-11-09 Dan Williams <dcbw@redhat.com>
11147 * src/NetworkManagerAPList.c
11148 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11149 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11150 from the nm_ap_list_get_ap_by_address() call was incorrect and
11151 broke hidden SSID matching. Found by Bill Moss.
11153 2006-10-25 Dan Williams <dcbw@redhat.com>
11156 - (nm_dbus_nm_set_active_device): return an empty success message on
11157 success, rather than falling through to the error case.
11159 2006-10-25 Dan Williams <dcbw@redhat.com>
11161 * src/NetworkManagerUtils.c
11162 - (nm_utils_supplicant_request_with_check): suppress messages for the
11165 2006-10-24 Dan Williams <dcbw@redhat.com>
11167 Reduce the number of times the Gnome applet wakes up, especially when
11168 it's doing absolutely nothing and is hidden. Initial patch by
11171 * gnome/applet/applet-dbus.c
11172 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11173 kill the redraw timeout. When NM starts up, start the redraw
11174 timeout. Also, if we get kicked off the bus for some reason,
11175 start the reconnection timeout if one's not already running.
11176 - (nma_dbus_init): better handling of error conditions, don't leak
11177 a half-initialized dbus connection
11178 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11179 the applet's data, just call nm_dbus_init_helper()
11180 - (nma_start_dbus_connection_watch): new function, starts a periodic
11181 timeout that calls nma_dbus_connection_watcher()
11182 - (nma_dbus_init_helper): if we get a successful connection, kill the
11183 reconnection timeout, and don't start the reconnection timeout
11184 unconditionally anymore
11186 * gnome/applet/applet-dbus.h
11187 - Expose nma_start_dbus_connection_watch()
11189 * gnome/applet/applet.c
11190 - (nma_update_state): no longer static, called from applet-dbus.c for
11191 immediate UI updates on certain events
11192 - (nma_set_running): new function; take over setting applet->running,
11193 when not running (ie, NM is not active), don't activate the redraw
11194 timeout because we're not showing the applet anyway. When we are
11195 running (ie, NM is active), and only when we're running, start the
11197 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11198 kill any reconnection timeout
11199 - (nma_get_instance): move one-off dbus initialization code here since
11200 nm_dbus_init_helper() gets called more than once, possibly by the
11201 reconnection timeout function too. And, when we start up, if we
11202 can't get a connection to the bus, start the reconnection timeout.
11203 But don't start the redraw timeout yet, only do that when we get
11204 NM's state and find out if it's running or not.
11206 * gnome/applet/applet.h
11207 - Add the reconnection GSource ID
11208 - Add prototypes for nma_set_running() and the no-longer-static
11211 2006-10-24 Dan Williams <dcbw@redhat.com>
11213 * src/vpn-daemons/nm-dbus-vpnc.c
11214 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11215 pending call tracker
11216 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11217 pending call tracker; register one-vpn-connection update pending
11218 call in pending call tracker
11219 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11220 update pending call in pending call tracker
11221 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11222 update pending call in pending call tracker; don't block waiting
11225 2006-10-19 Robert Love <rml@novell.com>
11227 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11230 2006-10-14 Dan Williams <dcbw@redhat.com>
11232 * src/dhcp-manager/nm-dhcp-manager.c
11233 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11234 the dbus connection and the device object path rather than
11235 constructing it inside both functions. Saves a bit of memory
11236 and clarifies a failure path.
11237 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11238 and allocate device path here rather than each of the two
11241 2006-10-13 Dan Williams <dcbw@redhat.com>
11243 * src/NetworkManager.c
11244 - (nm_name_owner_changed_handler): handle NMI coming and going,
11245 this somehow droppout in the refactor
11247 2006-10-13 Dan Williams <dcbw@redhat.com>
11249 * Huge DBus refactor:
11250 - Create a "DBus Manager" object which manages the connection and
11251 sends signals on NameOwnerChanged and connection/disconnection events,
11252 handles reconnection to the bus if NM gets kicked off, and abstracts
11254 - Remove DBusConnection members from places where they are no
11255 longer needed due to the refactor, like the dbus-connection
11256 property of the named manager, and from NMData
11257 - Reformats a bunch of the code to gnome style
11258 (8-space tabs, braces on same line as statement, 80-col width).
11259 Consider it open season to reformat any bits to gnome style.
11260 style that aren't already.
11262 2006-10-13 Dan Williams <dcbw@redhat.com>
11264 * src/supplicant-manager/Makefile.am
11267 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11268 - Make it a minimal GObject
11270 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11271 - Verify settings destined for wpa_supplicant
11273 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11274 - Minimal GObject to track wpa_supplicant controlled device
11277 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11279 * gnome/applet/applet.c: (nma_update_info),
11280 (nma_act_stage_to_pixbuf), (nma_update_state):
11281 Mark missing strings for translation. Fixes bug #343306.
11283 2006-10-01 Dan Williams <dcbw@redhat.com>
11285 * src/vpn-manager/nm-vpn-manager.c
11286 - (nm_vpn_manager_load_services): split and clean up
11287 for readability and correctness. Restrict VPN service
11288 files to ending in ".name", as was meant from the
11289 beginning (but not coded in). Better error reporting.
11291 2006-10-01 Dan Williams <dcbw@redhat.com>
11294 - Clean up formatting of debug/info/warning log messages
11296 2006-09-27 Robert Love <rml@novell.com>
11298 Patch by Tambet Ingo <tambet@ximian.com>:
11299 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11302 2006-09-07 Dan Williams <dcbw@redhat.com>
11305 test/libnm-util/Makefile.am
11306 test/nm-supplicant-test.c
11307 - Add test program emulating the way NM drives wpa_supplicant
11308 to help debug supplicant issues
11310 2006-08-24 Dan Williams <dcbw@redhat.com>
11314 src/supplicant-manager/Makefile.am
11315 src/supplicant-manager/nm-supplicant-manager.c
11316 src/supplicant-manager/nm-supplicant-manager.h
11317 - Add skeleton bits of the wpa_supplicant manager
11319 2006-08-24 Dan Williams <dcbw@redhat.com>
11321 Patch from Ed Catmur:
11322 * src/NetworkManagerUtils.c
11323 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11324 if netmask is 0 (Gnome #352634)
11326 2006-08-17 Robert Love <rml@novell.com>
11328 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11329 package is now DBUS-enabled and listens for the NM signals.
11331 2006-08-14 Dan Williams <dcbw@redhat.com>
11333 * Patch from Christian Persch <chpe gnome org>
11336 vpn-daemons/openvpn/po/LINGUAS
11337 vpn-daemons/openvpn/configure.in
11338 vpn-daemons/pptp/po/LINGUAS
11339 vpn-daemons/pptp/configure.in
11340 vpn-daemons/vpnc/po/LINGUAS
11341 vpn-daemons/vpnc/configure.in
11342 - Convert to LINGUAS method so translators don't have to modify
11343 configure.in, just stuff in po/. Gnome #343132, requires intltool
11346 2006-08-14 Dan Williams <dcbw@redhat.com>
11348 Patch from Alex Smith <alex.extreme2@gmail.com>
11350 src/backends/Makefile.am
11351 src/backends/NetworkManagerFrugalware.c
11352 - Add support for Frugalware
11354 2006-08-13 Dan Williams <dcbw@redhat.com>
11356 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11357 * src/nm-device-802-11-wireless.c
11358 - (supplicant_exec): spawn wpa_supplicant without debug spew
11361 2006-08-13 Dan Williams <dcbw@redhat.com>
11363 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11364 * src/nm-ap-security.c
11365 src/nm-ap-security.h
11366 - Add authentication_required bits for subclasses to specify whether
11367 or not real authentication is required for connections, i.e. whether
11368 the AP rejects us when an encryption key is wrong or not.
11370 * src/nm-ap-security-wep.c
11371 src/nm-ap-security-wpa-eap.c
11372 src/nm-ap-security-wpa-psk.c
11373 src/nm-ap-security-leap.c
11374 - Implement authentication_required appropriately for each method
11376 * src/nm-device-802-11-wireless.c
11377 - Be smarter about when to request a key; for example, using a wrong key
11378 in WEP shared key mode previously just timed out and did not request
11381 2006-08-13 Dan Williams <dcbw@redhat.com>
11383 * gnome/libnm_glib/libnm_glib.c
11384 - dbus_connection_disconnect() -> dbus_connection_close() for
11387 2006-08-07 Dan Williams <dcbw@redhat.com>
11389 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11390 * src/NetworkManagerSystem.c
11391 - Respect specified MTU. Gnome #344967
11393 2006-08-07 Dan Williams <dcbw@redhat.com>
11395 * src/vpn-manager/nm-vpn-service.c
11396 - Simplify print_vpn_config() arguments
11398 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11399 * src/vpn-manager/Makefile.am
11400 src/vpn-manager/nm-vpn-service.c
11401 - Add new API for passing VPN config options as a dict. Gnome #344967
11403 2006-08-06 Dan Williams <dcbw@redhat.com>
11405 * gnome/applet/applet-dbus-devices.c
11406 gnome/applet/applet-dbus-vpn.c
11407 gnome/applet/applet-dbus.c
11408 gnome/applet/applet-dbus.h
11412 - Make pending call tracking code generic,
11413 so we can use it in NM as well as the applet
11415 2006-08-06 Dan Williams <dcbw@redhat.com>
11417 * src/nm-activation-request.c
11418 - Refcount pending call objects
11420 2006-08-06 Dan Williams <dcbw@redhat.com>
11422 Patch from Christan Chiesa <christanc@gmail.com>
11424 - Tell sha1.c to use bigendian mode on PPC
11426 2006-08-04 Robert Love <rml@novell.com>
11428 Glib Memory Slices!
11429 * configure.in: Require glib 2.10 or later.
11430 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11431 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11432 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11433 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11434 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11435 Memory Slices are the greatest thing since bread slices.
11436 * src/NetworkManagerAP.c: Also, fix memory leak.
11438 2006-08-01 Robert Love <rml@novell.com>
11440 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11442 2006-07-31 Robert Love <rml@novell.com>
11444 * src/backends/interface_parser.c: Declarations must begin the block.
11446 2006-07-24 Dan Williams <dcbw@redhat.com>
11448 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11449 * src/backends/Makefile.am
11450 src/backends/NetworkManagerArch.c
11451 src/backends/NetworkManagerDebian.c
11452 src/backends/NetworkManagerGeneric.c
11453 src/backends/NetworkManagerGeneric.h
11454 src/backends/NetworkManagerGentoo.c
11455 src/backends/NetworkManagerPaldo.c
11456 src/backends/NetworkManagerRedHat.c
11457 src/backends/NetworkManagerSlackware.c
11458 src/backends/NetworkManagerSuSE.c
11459 - Genericize common backend functions
11461 2006-07-18 Robert Love <rml@novell.com>
11463 * configure.in: Add "--with-notify" option to allow disabling of
11466 2006-07-13 Dan Williams <dcbw@redhat.com>
11468 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11469 * gnome/applet/applet.glade
11470 gnome/applet/Makefile.am
11471 gnome/applet/nm-gconf-wso.c
11472 gnome/applet/nm-gconf-wso-leap.c
11473 gnome/applet/nm-gconf-wso-leap.h
11474 gnome/applet/wireless-security-manager.c
11475 gnome/applet/wso-leap.c
11476 gnome/applet/wso-leap.h
11477 include/NetworkManager.h
11478 libnm-util/dbus-helpers.c
11479 libnm-util/dbus-helpers.h
11481 src/NetworkManagerAP.c
11482 src/nm-ap-security.c
11483 src/nm-ap-security-leap.c
11484 src/nm-ap-security-leap.h
11485 - Add LEAP authentication support
11487 2006-07-13 Dan Williams <dcbw@redhat.com>
11489 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11491 src/backends/NetworkManagerArch.c
11492 src/backends/NetworkManagerDebian.c
11493 src/backends/NetworkManagerGentoo.c
11494 src/backends/NetworkManagerPaldo.c
11495 src/backends/NetworkManagerRedHat.c
11496 src/backends/NetworkManagerSlackware.c
11497 src/backends/NetworkManagerSuSE.c
11498 - Convert hardcoding of 'ip' path to configure-time
11501 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11503 * configure.in: added ru to ALL_LINGUAS
11505 2006-07-10 Dan Williams <dcbw@redhat.com>
11507 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11509 - (real_act_stage3_ip_config_start): don't infinite loop when
11510 dhcdbd isn't running (Gnome #346845)
11512 2006-07-09 Dan Williams <dcbw@redhat.com>
11514 * gnome/applet/applet.c
11515 - (nma_destroy): don't pass NULL to notify_notification_close
11518 2006-07-09 Dan Williams <dcbw@redhat.com>
11520 * gnome/applet/applet.c
11521 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11523 2006-07-04 Tor Krill <tor@krill.nu>
11525 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11526 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11527 (nm_system_restart_mdns_responder), (ArchReadConfig),
11528 (nm_system_device_get_system_config):
11529 - Explicitly check for DHCP configuration
11530 - Check if daemons are running before starting them
11532 2006-06-25 Dan Williams <dcbw@redhat.com>
11534 * libnm-util/dbus-dict-helpers.[ch]
11535 test/libnm-util/test-dbus-dict-helpers.c
11536 - Add string array support
11538 2006-06-24 Dan Williams <dcbw@redhat.com>
11540 * src/dhcp-manager/nm-dhcp-manager.c
11541 - (nm_dhcp_manager_process_signal): clean up spacing
11543 2006-06-21 Dan Williams <dcbw@redhat.com>
11545 * src/nm-dbus-device.c
11546 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11549 2006-06-21 Raivis Dejus <orvils@gmail.com>
11551 * configure.in: Added 'lv' to ALL_LINGUAS
11553 2006-06-19 Dan Williams <dcbw@redhat.com>
11555 * src/NetworkManagerAP.c
11556 - Clarify usage of user_created
11558 * src/nm-ap-security-wep.c
11559 src/nm-ap-security-wpa-eap.c
11560 src/nm-ap-security-wpa-psk.c
11561 src/nm-ap-security.c
11562 src/nm-ap-security.h
11563 - s/user_created/adhoc, because we really do mean adhoc
11565 Patch from Bernard Blackham <bernard@blackham.com.au>
11566 * src/nm-device-802-11-wireless.c
11567 - (supplicant_send_network_config): instead of user_created,
11568 use adhoc, and do AP_SCAN 2 for adhoc networks
11570 2006-06-18 Robert Love <rml@novell.com>
11572 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11573 we have a value to set. Gconf generates a warning if `val' is NULL.
11574 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11575 unless we actually received a valid private key file passphrase or
11576 password. Otherwise, we don't know to later ask the applet to pull
11577 the key from the keyring.
11579 2006-06-17 Dan Williams <dcbw@redhat.com>
11581 * libnm-util/dbus-dict-helpers.[ch]
11582 test/libnm-util/test-dbus-dict-helpers.c
11583 - Fixes for zero-length byte arrays
11584 - Replace return values of 0 with FALSE for clarity
11585 - Test zero-length byte arrays
11587 2006-06-17 Dan Williams <dcbw@redhat.com>
11589 * libnm-util/dbus-dict-helpers.[ch]
11590 test/libnm-util/test-dbus-dict-helpers.c
11591 - Add helpers for byte arrays
11592 - Rework bits of the testcase
11594 2006-06-16 Dan Williams <dcbw@redhat.com>
11596 * libnm-util/Makefile.am
11597 * libnm-util/dbus-dict-helpers.[ch]
11598 - Add some helpers to take the pain out of using dict types in
11601 * test/libnm-util/Makefile.am
11602 * test/libnm-util/test-dbus-dict-helpers.c
11603 - Test cases for the dict helper functions
11605 2006-06-15 Robert Love <rml@novell.com>
11607 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11608 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11609 if there is no key to pass.
11610 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11611 receiving a non-NULL key.
11613 2006-06-14 Robert Love <rml@novell.com>
11615 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11619 2006-06-14 Dan Williams <dcbw@redhat.com>
11621 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11622 * src/nm-device-802-11-wireless.c
11623 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11624 or ones where the driver is unknown
11625 - (supplicant_exec): don't wait for supplicant startup here
11626 - (supplicant_interface_init): finer grained polling for supplicant
11629 2006-06-13 Robert Love <rml@novell.com>
11631 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11632 if it is currently set to TRUE. Otherwise, we will reset the value
11633 when we connect normally.
11634 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11635 the old BSSID is valid, too. The recently added ESSID check may not be
11636 sufficient (we can remove it?). What we really want to catch is the
11637 case of going from all-zeros to the BSSID of some other network, which
11638 happens on failure.
11640 2006-06-09 Dan Williams <dcbw@redhat.com>
11642 * src/NetworkManagerSystem.[ch]
11643 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11644 it was unused and pointless
11645 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11646 fix for set_up_down_with_iface change
11648 * src/vpn-manager/nm-vpn-connection.c
11649 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11651 * src/backends/NetworkManagerPaldo.c
11652 src/backends/NetworkManagerRedHat.c
11653 src/backends/NetworkManagerSuSE.c
11654 src/backends/NetworkManagerArch.c
11655 src/backends/NetworkManagerDebian.c
11656 src/backends/NetworkManagerGentoo.c
11657 - (nm_system_enable_loopback): use set_up_down_with_iface where
11659 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11662 2006-06-09 Dan Williams <dcbw@redhat.com>
11664 Patch from Peter Jones:
11665 * src/nm-device-802-11-wireless.c
11666 - (nm_device_802_11_wireless_update_bssid): make sure that the
11667 SSID hasn't changed from what we expect before automatically
11668 updating the saved BSSID from a new AP
11670 2006-06-08 Robert Love <rml@novell.com>
11672 Add 'fallback' support. NetworkManager will attempt to brute-force
11673 connect to networks marked as fallback if there are no better wireless
11674 connections available. This is useful as a method of last resort, to
11675 work around driver problems, and for use with hidden networks.
11676 * gnome/applet/applet-dbus-devices.c,
11677 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11678 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11679 pass it on via DBUS.
11680 * gnome/applet/applet.c: No fallback by default.
11681 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11682 Update other-network-dialog to add UI checkbox toggling fallback.
11683 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11684 propery from AP object. Add "fallback" property to AP object.
11685 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11686 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11687 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11688 separate function. Add get_best_fallback_ap() for returning an AP
11689 on which to attempt fallback.
11690 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11691 * test/nm-set-fallback: New file. Sets a given network as fallback.
11693 2006-06-07 Robert Love <rml@novell.com>
11695 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11696 checked that the return type was GCONF_VALUE_STRING, not the correct
11697 GCONF_VALUE_BOOL, and thus it never worked.
11698 * src/NetworkManagerAPList.c: Before concluding that two networks are
11699 identical based on their BSSID, make sure that the BSSID in question
11700 is actually valid. Specifically, an empty or all zero BSSID does not
11702 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11703 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11704 similar invariant clean up.
11706 2006-06-02 Robert Love <rml@novell.com>
11708 * gnome/applet/applet.c: Update copyright years. Add Novell.
11710 2006-05-28 Dan Williams <dcbw@redhat.com>
11712 * gnome/applet/applet.glade
11713 gnome/vpn-properties/nm-vpn-properties.glade
11714 - Set window icons on dialogs (Gnome.org #333420)
11716 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11718 * gnome/vpn-properties/nm-vpn-properties.glade:
11719 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11720 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11721 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11722 - Make the VPN properties pages prettier and more HIG
11723 compliant. Gnome Bug #336913.
11725 2006-05-28 Dan Williams <dcbw@redhat.com>
11727 Patch from Christian Persch <chpe@gnome.org>
11728 * gnome/vpn-properties/nm-vpn-properties.c
11729 * gnome/vpn-properties/nm-vpn-properties.glade
11730 - HIG-ification love (Gnome.org #336846)
11732 2006-05-28 Dan Williams <dcbw@redhat.com>
11734 Patch from Christian Persch <chpe@gnome.org>
11736 gnome/vpn-properties/nm-vpn-properties.c
11737 - (main): Fix option parsing. Gnome.org #336847
11739 2006-05-28 Dan Williams <dcbw@redhat.com>
11741 * gnome/vpn-properties/nm-vpn-properties.c
11742 - (find_vpn_ui_by_service_name): protect against NULL service names
11743 - (update_edit_del_sensitivity): protect against NULL service names
11746 2006-05-28 Dan Williams <dcbw@redhat.com>
11748 Patch from Chris Fuller <crf@grandecom.net>:
11749 * src/nm-device-802-11-wireless.c
11750 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11751 don't dispose of wireless-specific stuff unless it is actually
11752 initialized. Gnome.org #341263
11754 2006-05-28 Dan Williams <dcbw@redhat.com>
11756 * src/NetworkManagerPolicy.c
11757 - (nm_policy_device_change_check): don't switch devices if the "best"
11758 AP is essentially the same as the current activation request, but
11759 the current activation request isn't done activating yet. Fixes
11760 multiple requests for keyring password on startup for Gnome applet.
11763 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11765 * src/NetworkManager.c: use GOptions instead of getopt
11766 * configure.in: bump glib required version to >= 2.6 for GOption
11769 2006-05-25 Robert Love <rml@novell.com>
11771 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11772 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11773 instead of dumping ifdef's throughout the code.
11774 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11775 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11776 use nm_ioctl_info() in lieu.
11778 2006-05-25 Robert Love <rml@novell.com>
11780 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11781 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11782 not using gcrypt. Otherwise, we get a linker error.
11784 2006-05-25 Robert Love <rml@novell.com>
11786 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11787 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11788 configure flag to disable building of the GNOME-based applet.
11790 2006-05-25 Robert Love <rml@novell.com>
11792 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11793 parameter from link, because it shadows a global variable with some
11794 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11795 should never have exported to the entire system a common four letter
11796 word. But we here at NetworkManager are team players. Fixes
11799 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11801 * configure.in: Added mk.po, Macedonian translation.
11803 2006-05-24 Robert Love <rml@novell.com>
11805 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11806 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11807 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11809 2006-05-24 Robert Love <rml@novell.com>
11811 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11812 libnm-util/Makefile.am, src/Makefile.am,
11813 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11814 vpn-daemons/openvpn/properties/Makefile.am,
11815 vpn-daemons/pptp/auth-dialog/Makefile.am,
11816 vpn-daemons/pptp/properties/Makefile.am,
11817 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11818 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11819 user passed for --datadir, if anything, when setting the GNOME locale
11820 directory. It should be a function of the specified datadir and not
11823 2006-05-24 Robert Love <rml@novell.com>
11825 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11826 src/NetworkManager.c: Take care to call bindtextdomain with the
11827 location of msgid files.
11828 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11831 2006-05-22 Robert Love <rml@novell.com>
11833 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11834 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11835 99% of the time there is a real problem with wireless, and a
11836 seemingly successful connection via Zeroconf just confuses the user.
11837 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11839 2006-05-22 Robert Love <rml@novell.com>
11841 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11842 autofs on interface up if NIS is configured. On interface down, do
11845 2006-05-22 Robert Love <rml@novell.com>
11847 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11848 to avoid calling g_object_unref() on stale pointers on error in
11849 nma_icons_free(). This happens because we short-circuit loaded the
11850 icons on the first failure but then free all icons. Normally we have
11851 no issue because the icons were zero'ed out malloc, but we have stale
11852 pointer data after nma_icon_theme_changed().
11853 * gnome/applet/main.c: Return error code if nma_new() failed.
11855 2060-05-21 Dan Williams <dcbw@redhat.com>
11857 * initscript/NetworkManager.in
11858 - Ensure both dhcdbd and named are started before NM
11860 2006-05-21 Dan Williams <dcbw@redhat.com>
11863 - Bump version to 0.7 to signify we are in 0.7 development
11865 2006-05-21 Dan Williams <dcbw@redhat.com>
11867 Patch from Adam Schreiber <sadam@clemson.edu>
11868 * gnome/vpn-properties/nm-vpn-properties.c
11869 - (main): correct Gnome program name (gnome.org #342498)
11871 2006-05-21 Dan Williams <dcbw@redhat.com>
11873 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11875 * src/NetworkManagerDbus.[ch]
11876 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11877 clarify that function's argument should be an escaped dbus object
11878 path, and look for path segment end before returning a match
11879 * src/nm-dbus-nm.c:
11880 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11882 2006-05-17 Robert Love <rml@novell.com>
11884 Functionality to differentiate Ad-Hoc networks from infrastructure
11885 networks in the applet, by displaying a special icon:
11886 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11887 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11888 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11889 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11890 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11891 networks, encrypted or not.
11892 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11893 accessor functions to get and set the mode of a given network,
11894 wireless_network_get_mode() and wireless_network_set_mode().
11896 2006-05-17 Robert Love <rml@novell.com>
11898 Functionality to automatically add BSSIDs to the allowed-MAC list as
11899 one roams from access point to access point on a given network:
11900 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11901 helper function to compare two ether_addr structures and return TRUE
11902 if they contain the same MAC address.
11903 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11905 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11906 stored with the current AP. If the BSSID has indeed changed, we
11907 send it out to the applet, allowing the allowed-MAC list to grow
11908 automatically in response to roaming.
11910 2006-05-16 Robert Love <rml@novell.com>
11912 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11913 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11915 2006-05-13 Dan Williams <dcbw@redhat.com>
11917 * src/nm-device-802-3-ethernet.c
11918 - (real_get_generic_capabilities): Don't ignore devices that can't do
11919 carrier detect (Debian bug #366373)
11921 2006-05-11 Dan Williams <dcbw@redhat.com>
11923 Patch from Michael Biebl <biebl@teco.edu>
11924 * src/backends/NetworkManagerDebian.c
11925 - Debian backend fixups
11927 2006-05-10 Robert Love <rml@novell.com>
11929 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11931 2006-05-09 Robert Love <rml@novell.com>
11933 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11934 private certificate passphrase, if any, in the GNOME Keyring.
11935 * libnm-utils/dbus-helpers.c: Update.
11937 2006-05-05 Dan Williams <dcbw@redhat.com>
11939 * src/nm-device-802-11-wireless.c
11940 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11941 nm_device_802_11_wireless_disable_encryption() since that's all
11942 we use it for anymore; we don't ever set WEP keys ourselves.
11943 - (real_deactivate_quickly): reset SSID and encryption keys
11944 - (real_deactivate): move SSID and encryption key reset to
11945 real_deactivate_quickly(), which gets run before us anyway
11947 2006-05-05 Robert Love <rml@novell.com>
11949 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11950 root has a wacky default of its own (or, more common, a user has a
11951 bad umask and uses su/sudo to restart NetworkManager). Anything
11952 other than 0022 does not do what we want with, for example,
11953 resolv.conf. This problem is amplified by our judicious use of
11954 fopen(), which uses mode 0666 -- implying that the only way to get
11955 the permissions we want is with a umask of 0022.
11957 2006-05-05 Dan Williams <dcbw@redhat.com>
11959 * gnome/libnm_glib/libnm_glib.c
11960 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11961 to reconnect; instead wait a bit more with each reconnect attempt
11962 up to a max of one minute.
11964 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11966 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11967 the WirelessNetwork structure using the proper function instead of
11968 just casting it directly to (const char *) (gnome.org #336991)
11970 2006-05-03 Robert Love <rml@novell.com>
11972 * src/backends/NetworkManagerSuSE.c: Respect the variable
11973 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11974 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11975 to dynamically update /etc/resolv.conf.
11977 2006-05-02 Peter Jones <pjones@redhat.com>
11979 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11981 2006-05-02 Robert Love <rml@novell.com>
11983 Patch by Timo Hoenig;
11984 * tests/nm-online.c: Print pretty status indicator as timeout winds
11985 down. Also fix possible race between DBUS startup and failure
11988 2006-05-01 Robert Love <rml@novell.com>
11990 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11993 2006-04-27 Jeremy Katz <katzj@redhat.com>
11995 * src/nm-device.c (discover_device_type): Actually use the hal
11996 device type instead of ioctl poking
11998 2006-04-26 Robert Love <rml@novell.com>
12000 * tests/nm-online.c: New file. Simple utility that returns exit status
12001 noting whether the connection is offline or online. If offline on
12002 start, it waits 30 seconds (or a command-line given value) for an
12003 online signal. If it times out, it again returns offline. This is
12004 useful for scripts that want to wait for network connections.
12006 2006-04-25 Robert Love <rml@novell.com>
12008 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12009 key mode (the authentication algorithm), e.g. open or shared, when we
12010 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12011 only shared was broken. If the user specified a shared key, set it
12012 explicitly, otherwise let wpa_supplicant go with the default.
12014 2006-04-24 Dan Williams <dcbw@redhat.com>
12016 * src/nm-device-802-11-wireless.c
12017 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12019 2006-04-24 Dan Williams <dcbw@redhat.com>
12021 Commit the async scanning patch
12023 * src/nm-device-802-11-wireless.c
12024 - get rid of scan_mutex
12025 - (wireless_event_helper): act on wireless scan events
12026 - (real_start): schedule a pending scan
12027 - (link_to_specific_ap): fake the link to the AP during a scan
12028 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12029 strength during scans
12030 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12031 nm_device_set_bitrate): unused with new scanning code, disable
12032 - (nm_device_wireless_schedule_scan): removed
12033 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12034 - (request_and_convert_scan_results): new function; retrieve scan
12035 results from the driver and schedule the processing function
12036 - (scan_results_timeout): timeout triggered when card doesn't send
12037 a scan results wireless event during a certain interval
12038 - (schedule_scan_results_timeout): new function; schedule the scan
12040 - (cancel_scan_results_timeout): new function; cancel the scan
12042 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12043 to do the scanning. Otherwise, just request a scan but don't
12044 grab results here; instead schedule a timeout for scan results and
12045 let netlink notify us of scan completion events
12046 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12047 - (cancel_pending_scan): new function; cancel a pending wireless scan
12048 - (supplicant_status_cb): ignore disconnect events while scanning
12049 - (supplicant_exec): wait a bit longer for the supplicant to start up
12050 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12052 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12054 2006-04-24 Dan Williams <dcbw@redhat.com>
12056 * gnome/applet/applet-dbus.c
12057 - Disable the pending call debug stuff, seems under control now
12059 2006-04-20 Robert Love <rml@novell.com>
12061 Fix bug where hidden ESSID's would not show up in the applet, even
12062 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12063 because nm_policy_device_list_update_from_allowed_list() would merge
12064 the data, putting a name to the hidden networks, but never notify NMI
12065 of the changes. Simple fix is to invoke the function
12066 nm_dbus_signal_wireless_network_change() if we make a mapping.
12067 * src/NetworkManagerAPList.c: Call the function
12068 nm_dbus_signal_wireless_network_change() if we made a successful
12069 BSSID to ESSID mapping, notifying the applet of the "new" network.
12070 * src/NetworkManagerAPList.h: Update the prototypes for both
12071 nm_ap_list_copy_essids_by_address() and
12072 nm_ap_list_copy_one_essid_by_address().
12074 2006-04-20 Robert Love <rml@novell.com>
12076 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12077 not set. Just return zero.
12079 2006-04-20 Robert Love <rml@novell.com>
12081 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12082 only one copy of nm-vpn-properties is running at a time via the 'ol
12083 X selection trick. This prevents the user from opening two "VPN
12084 Connections" windows from within the applet, which leads to mass
12086 * clipboard.c: New file, implementing simple X selection logic.
12087 * clipboard.h: New file.
12088 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12090 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12092 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12094 initscript/Gentoo/Makefile.am
12095 initscript/Gentoo/NetworkManagerDispatcher.in
12097 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12100 2006-04-16 Dan Williams <dcbw@redhat.com>
12102 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12104 initscript/Slackware/Makefile.am
12105 initscript/Slackware/rc.networkmanager-dispatcher.in
12106 initscript/Slackware/rc.networkmanager.in
12107 - Update slackware initscripts
12109 2006-04-10 Robert Love <rml@novell.com>
12111 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12112 the "delete_event" signal on the druid's parent window and handle it
12113 our way, lest using the WM to close the druid results in a series of
12114 bloody and ultimately lethal errors.
12116 2006-04-10 Robert Love <rml@novell.com>
12118 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12119 'Back' too or else the 'Forward' option is initially disabled despite
12122 2006-04-06 Robert Love <rml@novell.com>
12124 Fix bad but simple bug where an active modem connection did not update
12125 NM's connection state, breaking any app that did online/offline:
12126 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12127 represented whether a dial up connection is active, or not.
12128 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12129 to modem activation and deactivation.
12130 * src/NetworkManagerDbus.c: When asked our state, do not return
12131 disconnected if the modem is active.
12133 2006-04-04 Robert Love <rml@novell.com>
12135 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12136 applet. It just confuses the crap out of people and does not make a
12137 lot of sense, as the daemon still runs.
12139 2006-04-02 Tor Krill <tor@krill.nu>
12141 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12142 in start of service.
12143 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12144 get Archlinux backend up to date.
12146 2006-03-29 Robert Love <rml@novell.com>
12148 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12149 to add support for per-route MSS and improve support for per-interface
12151 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12152 optionally take an MSS parameter and set it for the given route.
12153 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12154 NMIP4Config's stored MSS, if any.
12155 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12156 the interface's MTU and the route's MSS, respectively. Add functions
12157 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12158 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12160 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12161 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12162 nm_ip4_config_set_mss.
12163 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12165 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12166 Change the retval of nm_system_get_mtu to guint32.
12167 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12168 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12169 servers can specify MTU's, we should set it here if the MTU was not
12172 2006-03-27 Jürg Billeter <j@bitron.ch>
12175 * initscript/Makefile.am:
12176 * initscript/paldo/Makefile.am:
12177 * initscript/paldo/NetworkManager.in:
12178 * initscript/paldo/NetworkManagerDispatcher.in:
12179 * src/backends/Makefile.am:
12180 * src/backends/NetworkManagerPaldo.c:
12181 - Add paldo support
12183 2006-03-27 Dan Williams <dcbw@redhat.com>
12185 Patch from Christian Persch <chpe@gnome.org>
12186 * gnome/applet/applet.glade
12187 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12189 2006-03-27 Dan Williams <dcbw@redhat.com>
12191 Patch from Diffe <diffie@blazebox.homeip.net>
12192 * src/backends/NetworkManagerSlackware.c
12193 - Don't restart howl, since it's been replaced by Avahi
12194 in most distributions
12196 2006-03-27 Dan Williams <dcbw@redhat.com>
12198 Patch from Tor Krill <bugzilla@krill.nu>
12200 initscript/Makefile.am
12201 src/backends/Makefile.am
12202 src/backends/NetworkManagerArch.c
12203 initscript/Arch/Makefile.am
12204 initscript/Arch/networkmanager-dispatcher.in
12205 initscript/Arch/networkmanager.in
12206 - Add Arch Linux support, fixes gnome.org #335147
12208 2006-03-27 Dan Williams <dcbw@redhat.com>
12210 Patch from Diffe <diffie@blazebox.homeip.net>
12211 * initscript/Slackware/rc.networkmanager
12212 - update, fixed gnome.org #333368
12214 2006-03-27 Robert Love <rml@novell.com>
12216 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12217 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12219 2006-03-27 Robert Love <rml@novell.com>
12221 Patch by Jürg Billeter <j@bitron.ch>:
12222 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12224 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12225 as we prefer glibc over kernel headers, if possible.
12227 2006-03-27 Robert Love <rml@novell.com>
12229 Patch by Jon Escombe <list@dresco.co.uk>:
12230 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12231 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12232 fail, don't bail out. We don't expect all of the various WPA-EAP
12233 values to be present.
12234 * src/nm-ap-security.c: We need to match all capabilities for each
12235 encryption type, not any one of them.
12237 2006-03-27 Robert Love <rml@novell.com>
12239 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12240 restart, not reload, ypbind. Unfortunately there is no superior
12243 2006-03-24 Christopher Aillon <caillon@redhat.com>
12245 * gnome/applet/applet-notifications.c:
12246 When displaying a notification, make sure to get rid of the
12247 previous notification so as to not have competing bubbles,
12248 and stop leaking the old one.
12250 * gnome/applet/applet.c:
12251 * gnome/applet/applet.h:
12252 Add a new 'notification' member to the applet, and zero it out
12253 and free it appropriately.
12255 2006-03-23 Robert Love <rml@novell.com>
12257 Patch by j <j@bootlab.org>:
12258 * gnome/applet/applet.glade: Don't set the invisible_char property,
12259 which simply overrides the GTK default. By and by, this behavior
12260 ought to be fixed in Glade.
12262 2006-03-22 Robert Love <rml@novell.com>
12264 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12266 2006-03-22 Robert Love <rml@novell.com>
12268 Bug fix by Timo Hoenig <thoenig@suse.de>:
12269 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12270 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12271 and the applet going AWOL.
12273 2006-03-22 Robert Love <rml@novell.com>
12275 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12276 preprocessor define and use it instead of open-coded the DHCP
12277 timeout, which is currently 25 seconds, everywhere.
12279 2006-03-22 Robert Love <rml@novell.com>
12281 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12282 key exchange via WPA, ostensibly providing good security without
12283 requiring hardware that supports full WPA. Also, add UI elements to
12284 allow the user to select the pairwise & group cipher for WPA Enterprise
12286 * gnome/applet/applet.glade: Update glade file.
12287 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12288 key type, too, to and from gconf.
12289 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12290 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12291 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12292 the capabilities match.
12293 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12295 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12296 serialize from UI to DBUS.
12297 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12299 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12300 nmu_security_serialize_wpa_eap_with_cipher(), and
12301 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12302 serialize/deserialize the key type via DBUS as the new third DBUS
12304 * libnm-util/dbus-helpers.h: Update prototypes.
12305 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12306 too. If the key type is WEP104, do Dynamic WEP, which means
12307 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12308 pairwise and group ciphers (fixes a FIXME).
12310 2006-03-21 Robert Love <rml@novell.com>
12312 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12313 nm_system_get_mtu(), which returns a user-provided or system-mandated
12314 MTU value for a given device, if any, or zero if no such value
12315 exists. Add nm_system_set_mtu() to set the MTU for a given device
12316 if we have a provided value.
12317 * src/nm-device.c: Set the MTU of devices.
12318 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12319 * src/backends/NetworkManagerDebian.c,
12320 src/backends/NetworkManagerGentoo.c,
12321 src/backends/NetworkManagerRedHat.c,
12322 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12324 2006-03-21 Robert Love <rml@novell.com>
12326 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12327 configuration file.
12329 2006-03-17 Robert Love <rml@novell.com>
12331 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12332 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12333 it, in case it is not running in the first place. We just want its
12334 configuration reloaded. Also, do not "rcypbind stop" on device down.
12336 2006-03-15 Robert Love <rml@novell.com>
12338 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12339 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12340 label "WEP 40/128-bit" is inconsistent because the physical key size
12341 is 40 or 104-bits, to which a 24-bit initialisation vector is
12342 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12343 to read "40/104" or "64/128". I do not care much which, but most
12344 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12345 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12346 WEP passphrase support only handles 128-bit keys, and any future
12347 64-bit passphrase support will require a new option (no way to auto-
12348 detect the target key size), explicitly label our passphrase support
12349 "WEP 128-bit Passphrase".
12351 2006-03-15 Robert Love <rml@novell.com>
12353 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12354 the system init scripts (or some other mechanism) starting it (or a
12355 compatible DBUS service) before NetworkManager runs. This means that
12356 distributions might need to update their init scripts. This fixes
12357 possible races and is quite a bit cleaner.
12358 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12359 starting the NetworkManager daemon.
12362 2006-03-14 Robert Love <rml@novell.com>
12364 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12365 before adding anything.
12367 2006-03-13 Robert Love <rml@novell.com>
12369 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12370 widgets, too, if they exist, in case the user hit the back button.
12371 Fixes a bug where the details page contains the widgets of multiple
12372 VPN modules (Novell bug #157048).
12374 2006-03-13 Robert Love <rml@novell.com>
12376 Patch by Timo Hoenig <thoenig@suse.de>:
12377 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12378 daemon survive DBUS restarts, too.
12380 2006-03-10 Robert Love <rml@novell.com>
12382 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12384 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12385 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12386 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12387 in response to "toggled" signal on new toggle.
12389 2006-03-10 Robert Love <rml@novell.com>
12391 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12392 serialization if strings are NULL, lest DBUS get angry.
12394 2006-03-10 Robert Love <rml@novell.com>
12396 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12398 2006-03-09 Robert Love <rml@novell.com>
12400 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12403 2006-03-09 Dan Williams <dcbw@redhat.com>
12405 Track pending call requests in the applet, and report how many are
12406 outstanding, and how long each completed one takes.
12408 * gnome/applet/applet-dbus-devices.c
12409 gnome/applet/applet-dbus-vpn.c
12410 - Track pending calls
12412 * gnome/applet/applet-dbus.[ch]
12413 - Remove some unused enums
12414 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12415 new functions to track dbus pending calls and spit out some
12416 statistics about them
12418 2006-03-09 Robert Love <rml@novell.com>
12420 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12421 nm_ap_set_timestamp() take the second and micro-second parameters as
12422 direct arguments, which avoids both a dynamic memory allocation and a
12423 structure-to-structure copy! Add a new interface, the aptly named
12424 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12425 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12426 the return from nm_ap_get_timestamp(). New users should use the new
12427 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12428 the extreme benefit to performance.
12429 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12430 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12432 2006-03-08 Robert Love <rml@novell.com>
12434 * gnome/applet/applet.glade: Hide the password entry text with
12437 2006-03-08 Robert Love <rml@novell.com>
12439 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12440 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12441 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12442 a second argument, NMData.
12443 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12444 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12445 config files as trusted.
12447 2006-03-06 Robert Love <rml@novell.com>
12449 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12450 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12451 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12452 Rivera, detect if the applet was auto-started. If so, ask the user
12453 if he or she would like to stop automatically running the applet on
12454 login. If so, disable autostart.
12456 2006-03-06 Robert Love <rml@novell.com>
12458 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12459 directory in CFLAGS so developers can actually use NetworkManager.h.
12461 2006-03-06 Robert Love <rml@novell.com>
12463 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12464 open-coded integer constants. Add state_to_string() to map a given
12465 state to a textual description, and provide that when notifying of
12467 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12468 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12469 this header directly, but it is currently not installed on most
12472 2006-03-05 Dan Williams <dcbw@redhat.com>
12474 Process netlink messages in device subclasses rather than in
12475 NetworkManager.c. Also add support for recognizing Wireless Events.
12478 - Find GLIB_GENMARSHAL
12481 - Since we're marshalling custom types for wireless event signals,
12482 we get to create our own marshallers using GLIB_GENMARSHAL
12484 * src/NetworkManager.c
12485 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12486 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12487 cut down somewhat. We no longer process signals here.
12488 - (nm_data_new): create the netlink monitor here, and remove a
12489 useless call to nm_policy_schedule_device_change_check()
12490 - (nm_data_free): get rid of the netlink monitor here
12491 - (nm_device_link_activated, nm_device_link_deactivated): removed
12492 - (main): don't create the netlink monitor here, let nm_data_new
12493 do that. Call nm_policy_schedule_device_change_check() right
12494 before we jump to the mainloop to figure out which device
12497 * src/NetworkManagerSystem.[ch]
12498 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12499 convert back and forth from interface names to interface
12502 * src/nm-device-802-11-wireless.c
12503 - (real_init): connect to wireless-event signals from the netlink
12505 - (nm_device_802_11_wireless_event): new function, schedule handler
12506 for wireless event signals from the netlink monitor object. We
12507 want the handler to run in the device's context
12508 - (wireless_event_helper): handle wireless-event signals from netlink
12509 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12512 * src/nm-device-802-11-wireless.h
12513 - remove unused prototype for nm_device_802_11_wireless_new
12515 * src/nm-device-802-3-ethernet.c
12516 - (real_init): new function; set up signal handlers for link events
12517 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12518 handler for netlink link activated events on device's main loop
12519 - (link_activated_helper): when we get a link activated event, set
12520 the device's link to be active
12521 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12522 handler for netlink link deactivated events on device's main loop
12523 - (link_deactivated_helper): when we get a link deactivated event, set
12524 the device's link to be inactive
12525 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12528 * src/nm-device-802-3-ethernet.h
12529 - remove unused prototype for nm_device_802_3_ethernet_new
12531 * src/nm-device.[ch]
12532 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12533 but locks the device list
12534 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12536 * src/nm-netlink-monitor.[ch]
12537 - (nm_netlink_monitor_class_install_signals): New signal
12539 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12541 - (nm_netlink_monitor_event_handler): expand for wireless events too
12543 * src/nm-marshal-main.c
12544 - Include generated nm-marshal.c and nm-marshal.h
12546 * src/nm-marshal.list
12547 - List of custom marshal functions
12549 2006-03-05 Dan Williams <dcbw@redhat.com>
12551 * gnome/applet/applet-notifications.h
12552 - Protect prototype of nma_send_event_notification() because it
12553 includes libnotify-specific types
12554 - Include libnotify/libnotify.h too, since we technically need it
12556 * gnome/applet/applet.c
12557 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12558 - (nma_show_vpn_login_banner_dialog): add some error checking
12560 2006-03-04 Dan Williams <dcbw@redhat.com>
12562 Clean up activation cancellation. Should be a lot faster now. Observed
12563 an issue with wireless devices between stage 2 and 3 of activation, where
12564 activation would be cancelled, but the device thread wouldn't notice until
12565 the supplicant association timed out. Reorganize activation such that
12566 a cancellation handler gets immediately scheduled in the device's thread,
12567 and devices have a chance to perform any custom cleanup too.
12569 * src/nm-device.[ch]
12570 - (activation_cancel_handler): new device-type-specific function
12571 for cleaning up device-type-specific stuff on cancellation
12572 - (cancel_activation): removed
12573 - (nm_device_activation_cancel): subsume functionality of
12574 real_cancel_activation, but instead of doing anything, punt
12575 operation to a handler that's run in device-thread context
12576 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12578 - (activation_handle_cancel_helper): cancellation handler run in
12579 device-thread context, calls device-type-specific cancelation,
12580 then tears down the activation request
12581 - (real_activation_cancel_handler): generic cancellation handler,
12582 deals with cancelling any in-process DHCP request
12583 - (nm_device_activate_stage1_device_prepare,
12584 nm_device_activate_stage2_device_config,
12585 nm_device_activate_stage3_ip_config_start,
12586 nm_device_activate_stage4_ip_config_get,
12587 nm_device_activate_stage4_ip_config_timeout,
12588 nm_device_activate_stage5_ip_commit): don't call
12589 nm_device_schedule_activation_handle_cancel() any more, since
12590 cancellation will have been already scheduled for us by
12591 nm_device_activation_cancel(). Just exit the function and
12592 assume that the cancel handler will be called next.
12594 * src/nm-device-802-3-ethernet.c
12595 - (real_act_stage2_config): remove; didn't do anything anyway
12597 * src/nm-device-802-11-wireless.c
12598 - (supplicant_status_cb): ensure we don't do anything if the activation
12600 - (real_activation_cancel_handler): implement; cancel user key request
12601 on activation cancellation
12603 2006-03-04 Dan Williams <dcbw@redhat.com>
12605 * src/nm-device-802-11-wireless.c
12606 - (supplicant_send_network_config): assume that drivers that don't
12607 support WPA pretty much suck, and can't handle NM scanning
12608 along with wpa_supplicant.
12610 2006-03-03 Robert Love <rml@novell.com>
12612 * configure.in: Bump version to 0.6.0.
12615 2006-03-03 Robert Love <rml@novell.com>
12617 * configure.in: Require DBUS 0.60 or later.
12619 2006-03-03 Dan Williams <dcbw@redhat.com>
12621 Fix a crash if an "Other wireless network" was chosen, failed, then
12622 chosen again from the applet's menu. If the other network wasn't
12623 noticed in a scan, it wouldn't have any capabilities, but would still
12624 be listed because the user forced the network. To fix this, we set
12625 sensible capabilities on the forced network, which will get overwritten
12626 with the correct ones if the network shows up later in a scan.
12628 * src/nm-ap-security.h
12629 - Add a new "get_default_capabilities_func" member to the
12632 * src/nm-ap-security.c
12633 - (nm_ap_security_get_default_capabilities): new function
12635 * src/nm-ap-security.c
12636 src/nm-ap-security-wep.c
12637 src/nm-ap-security-wpa-psk.c
12638 src/nm-ap-security-wpa-eap.c
12639 - Implement get_default_capabilities_func() for all, which
12640 uses the information contained in a specific NMAPSecurity
12641 object to determine default AP capabilites necessary
12642 to support that object
12644 As a secondary measure, we now prune artificial access points that fail
12645 to be activated right away. The thing failed, and we have no scan data for
12646 it, so it's pretty much useless since security information is only saved
12647 in the applets when a connection is successful.
12649 * src/NetworkManagerAPList.c
12650 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12651 not artificial. If we see it, it's no longer a figment of the
12652 user's imagination :)
12654 * src/NetworkManagerPolicy.c
12655 - (nm_policy_activation_failed): send along the failed AP if we
12658 * src/nm-device-802-11-wireless.c
12659 - (real_activation_failure_handler): remove artificial APs from
12660 the device list, because activation failed
12662 2006-03-02 Robert Love <rml@novell.com>
12664 Add support for retrieving both the per-device speed and the
12665 per-network maximum supported rate. Then change the getProperties
12666 DBUS API for both networks and devices to report this informaiton.
12667 Finally, display the information via both nm-applet and nm-tool:
12668 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12670 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12671 Information' dialog.
12672 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12673 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12674 network_device_get_speed() and network_device_set_speed() for
12675 retrieving and setting, respectively, a network device's current
12677 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12678 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12679 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12680 not matter (yet) what the units are, because we only feed it its own
12681 output. Implement SIOCGIRATE and set the per-network maximum
12682 supported rate during scanning.
12683 * src/nm-device-802-11-wireless.h: Export the function
12684 nm_device_802_11_wireless_get_bitrate().
12685 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12686 function nm_device_802_3_ethernet_get_speed() for returning an
12687 802.3's current speed, in Mb/s.
12688 * test/nm-tool.c: Display the per-device current speed, if available,
12689 and the per-network maximum rate.
12691 2006-03-02 Dan Williams <dcbw@redhat.com>
12693 * src/nm-device-802-11-wireless.c
12694 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12695 card when it gets initialized. Since devices don't get added to
12696 the scan list until they are initialized, this function wasn't
12697 setting the intitial scan interval correctly, and was leaving
12698 it at 0. This caused cards to get many scan requests in a short
12699 amount of time when they were initialized
12701 2006-03-02 Robert Love <rml@novell.com>
12703 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12704 active device. But do not do what we used to do and override the
12705 state, which caused the dreaded icon race of '05.
12707 2006-03-02 Robert Love <rml@novell.com>
12709 Commit Dan's update of my previous commit:
12710 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12711 set_mode() function itself does the check. But do only set the
12712 frequency if in Ad-Hoc mode.
12714 2006-03-02 Robert Love <rml@novell.com>
12716 Patch by Brian Magnuson <magnuson@rcn.com>:
12717 * src/nm-device-802-11-wireless.c: During scanning, only set the
12718 wireless mode to infrastructure if it is not currently in
12719 infrastructure mode. For some driver, setting the mode is a costly
12720 operation, apparently.
12722 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12724 * Makefile.am: use the correct dir for autostart mechanism.
12726 2006-02-28 Dan Williams <dcbw@redhat.com>
12728 Patch from Brian Magnuson <magnuson@rcn.com>
12729 * gnome/applet/applet.c
12730 - (nma_show_vpn_failure_dialog): fix errors left over from
12731 libnotify support changes
12733 2006-02-28 Dan Williams <dcbw@redhat.com>
12735 * src/vpn-manager/nm-vpn-act-request.[ch]
12736 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12738 - (nm_vpn_act_request_is_failed): new function; return whether or
12739 not the vpn activation request has failed
12741 * src/vpn-manager/nm-vpn-manager.c
12742 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12743 daemon to kill the connection when the activation request fails.
12744 Fixes issue where NM would get confused if the VPN activation
12745 request timed out, and would not allow further VPN connections
12748 2006-02-28 Dan Williams <dcbw@redhat.com>
12750 * gnome/applet/applet.c
12751 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12752 overlapping connection requests, disable all VPN menu items
12753 but the active VPN connection
12755 2006-02-28 Dan Williams <dcbw@redhat.com>
12757 * src/vpn-manager/nm-vpn-connection.c
12758 - (nm_vpn_connection_set_parent_device): fix C&P error which
12759 called g_object_unref() on the connection's parent device
12760 when it should have been ref-ed instead. Fixes crash with
12761 repeated vpn connect requests
12763 2006-02-28 Christopher Aillon <caillon@redhat.com>
12765 * gnome/applet/applet.glade:
12766 Mark a few strings non-translatable, since they shouldn't be.
12768 2006-02-28 Dan Williams <dcbw@redhat.com>
12770 * src/vpn-manager/nm-vpn-service.c
12771 - (nm_vpn_service_start_connection): if the vpn service daemon is
12772 already running, don't blindly ask it to connect, but wait until
12773 it's in the STOPPED state first. Fixes an assertion when user
12774 starts a second vpn connection without stopping the first.
12775 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12776 dbus service exists before continuing with the connection
12777 process, and reduce latency while waiting for it to become
12779 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12780 waiting for the vpn service daemon to become available
12781 - General log message cleanups; show progress via "Stage x of 4"
12782 rather than not telling anyone how many stages there are
12784 2006-02-28 Robert Love <rml@novell.com>
12786 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12787 * src/backends/NetworkManagerSuSE.c: Implement the interface
12788 nm_system_should_modify_resolv_conf() for SUSE.
12789 * src/backends/NetworkManagerDebian.c,
12790 src/backends/NetworkManagerGentoo.c,
12791 src/backends/NetworkManagerRedHat.c,
12792 src/backends/NetworkManagerSlackware.c: Add stub.
12793 * src/named-manager/Makefile.am: Grab includes from src.
12794 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12795 automatic updating of resolv.conf. This is useful for testing,
12796 broken static configurations, and administrator lock-down.
12798 2006-02-28 Dan Williams <dcbw@redhat.com>
12800 * src/nm-device-802-11-wireless.c
12801 - Move all the wpa_supplicant-related management stuff into its
12802 own struct, just for oranization's sake
12803 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12804 to a GIOChannel/GSource
12805 - (supplicant_log_stdout): new function; grab output from the
12806 wpa_supplicant stdout pipe and write it to our logs.
12808 2006-02-27 Christopher Aillon <caillon@redhat.com>
12810 * src/nm-device-802-11-wireless.c:
12811 Err, fix thinko in my previous commit.
12813 2006-02-28 Robert Love <rml@novell.com>
12815 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12817 2006-02-28 Robert Love <rml@novell.com>
12819 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12820 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12821 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12822 deserializers are responsible for freeing the returned DBUS strings.
12824 2006-02-27 Christopher Aillon <caillon@redhat.com>
12826 * src/nm-device-802-11-wireless.c:
12827 The scan list is being pruned prematurely. We should prune after
12828 the device has gone MIA for three scans, not one. Split out the
12829 interval to realtime seconds function to better serve this.
12831 2006-02-27 Robert Love <rml@novell.com>
12833 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12834 Open the pid file O_TRUNC, so if it already exists we truncate it to
12835 zero length. Also, be more verbose about warnings generated during
12836 writing out the pid file. Finally, always write out the pid file if
12837 in daemon mode. Use "--pid-file" to override the default.
12839 2006-02-27 Robert Love <rml@novell.com>
12841 Patch by R. Vinay <rvinay@novell.com>:
12842 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12843 'last_attempt_success' when removing a VPN connection, too. (Fixes
12844 Novell bug #153628).
12846 2006-02-27 Robert Love <rml@novell.com>
12848 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12849 entry so user can hit <ENTER> after entering passphrase (Novell bug
12852 2006-02-27 Dan Williams <dcbw@redhat.com>
12855 - Mass search/replace of:
12857 NMWirelessApplet -> NMApplet
12858 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12859 (it ain't just for wireless anymore, ma!)
12860 - Fix duplicate function name printing when using nm_warning
12861 - wireless-applet.glade -> applet.glade
12863 2006-02-27 Dan Williams <dcbw@redhat.com>
12865 * dispatcher-daemon/NetworkManagerDispatcher.c
12866 - Accept --pid-file with a path to a pidfile, write it out on
12867 startup, and delete it on shutdown
12869 * src/NetworkManager.c
12870 - Accept --pid-file with a path to a pidfile, write it out on
12871 startup, and delete it on shutdown
12872 - Move nm_print_usage() lower
12874 * initscripts/RedHat/NetworkManager.in
12875 - Use new --pid-file option
12876 - Fix service stopping to wait a bit for NM to quit
12878 * initscripts/RedHat/NetworkManagerDispatcher.in
12879 - Use new --pid-file option
12881 2006-02-26 Dan Williams <dcbw@redhat.com>
12884 - make and install nm-crash-logger
12886 * src/nm-logging.[ch]
12887 - New files; consolidate logging and crash handling
12889 * src/nm-crash-logger.c
12891 - Standalong crashlogger for NM, grab a backtrace
12894 * src/NetworkManager.[ch]
12895 - Remove signal handling and put it into nm-logging.c
12897 2006-02-26 Dan Williams <dcbw@redhat.com>
12900 gnome/applet/Makefile.am
12901 - Conditionalize all the notify stuff
12903 Merge most of Chris Aillon's notification patch:
12905 * gnome/applet/applet-notifications.[ch]
12906 - New files; show a notification
12908 * gnome/applet/applet-dbus-devices.[ch]
12909 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12910 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12911 new functions, do the right thing when a device change occurs
12913 * gnome/applet/applet-dbus.c
12914 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12915 signals, so we can handle them specially
12917 * gnome/applet/applet.[ch]
12918 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12919 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12920 - (nmwa_notify_state): remove
12921 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12922 notification work is now done when the appropriate dbus signals
12924 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12925 defer execution of the notification/dialog stuff. That was an
12926 artifact of the previous multi-threaded nature of the applet
12927 and is now pointless.
12928 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12929 no longer needed. Function folded into applet-notifications.c
12931 * src/NetworkManagerPolicy.c
12932 - (nm_policy_activation_finish): send the AP along with the device
12933 status change signal, if the connection is wireless. Should
12934 fix the race where applet would show a connection to "unknown"
12936 2006-02-25 Robert Love <rml@novell.com>
12938 Add WPA Enterprise support:
12939 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12940 nm-gconf-wso-wpa-eap.h.
12941 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12942 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12943 serialization and deserialization.
12944 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12945 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12946 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12947 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12948 settings related to WPA Enterprise.
12949 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12950 instantiate WPA Enterprise wireless-security-option.
12951 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12952 Implement WPA Enterprise wireless-security-option object.
12953 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12955 * libnm-util/cipher-wpa-psk-hex.c,
12956 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12957 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12958 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12959 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12960 including the cipher to DBUS method, and
12961 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12963 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12964 nm-ap-security-wpa-eap.h
12965 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12966 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12967 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12968 files. Implement NMAPSecurityWPA_EAP object.
12969 * src/nm-ap-security-wpa-psk.c: Cleanup.
12970 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12971 an NMAPSecurityWPA_EAP object via the method
12972 nm_ap_security_wpa_eap_new_deserialize().
12973 * src/nm-dbus-nm.c: Cleanup.
12974 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12975 WPA Enterprise support.
12977 2006-02-24 Robert Love <rml@novell.com>
12979 Patch from Timo Hoenig <thoenig@suse.de>:
12980 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12982 2006-02-24 Robert Love <rml@novell.com>
12984 Patch from Dan Winship <danw@novell.com>:
12985 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12986 area to transparent.
12988 2006-02-21 Dan Williams <dcbw@redhat.com>
12990 * gnome/applet/applet.[ch]
12991 gnome/applet/applet-dbus.c
12992 - Implement notification support for VPN messages too
12994 2006-02-21 Dan Williams <dcbw@redhat.com>
12996 * gnome/applet/applet-dbus-info.c
12997 - Clean up warning messages to not double-print the function
12999 2006-02-21 Dan Williams <dcbw@redhat.com>
13001 * gnome/applet/applet-compat.c
13002 - (convert_one_entry): accept entries without a key_type and
13003 convert them to unencrypted networks
13005 2006-02-21 Dan Williams <dcbw@redhat.com>
13007 * gnome/libnm_glib/libnm_glib.c
13008 - Use __func__ everywhere we can
13010 - Use dbus pending calls rather than blocking
13011 - Reduce busywaits for our thread to start and stop
13012 (gnome.org #330562)
13013 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13014 stomp on others using the default shared dbus connection.
13015 Fixes #rh177546# and gnome.org #326572
13017 2006-02-21 Dan Williams <dcbw@redhat.com>
13019 Patch from Rodney Dawes <dobey@novell.com>
13021 gnome/applet/Makefile.am
13022 gnome/applet/applet.c
13023 - Add libnotify support if '--enable-notify=yes' is passed
13026 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13028 * configure.in (ALL_LINGUAS): ko added. (Korean)
13030 2006-02-15 Robert Love <rml@novell.com>
13032 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13033 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13034 and WPA_SUPPLICANT_CONTROL_SOCKET.
13036 2006-02-15 Robert Love <rml@novell.com>
13038 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13039 information about what connection stage we are at, provide the total
13040 number of stages, e.g. "Stage 2 of 5", so users know how far along
13041 they are if they experience problems.
13043 2006-02-15 Robert Love <rml@novell.com>
13045 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13046 define to $sysconfdir.
13047 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13048 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13049 type of VPN and then editing another results in a mangled dialog
13050 box containing the widgets from both VPNs (fixes Novell #150854).
13051 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13053 2006-02-14 Robert Love <rml@novell.com>
13055 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13056 syslog's file descriptor.
13058 2006-02-14 Robert Love <rml@novell.com>
13060 Fix bug around since the change to "deal with APs changing settings on
13061 us," checked in on the fifth of February in the year of the dog,
13062 wherein connecting to non-broadcast encrypted networks always fails
13063 because nm_ap_get_encrypted() always returns FALSE, even when the user
13064 provided a key, because the newly-created fake AP does not have any
13065 capabilities set, which is a sypmtom of security settings not matching
13066 capabilities (Novell bug #150784):
13067 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13068 nm_ap_add_capabilities_from_security(), which sets the given AP's
13069 capabilities off the given security settings. Also improve our
13070 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13071 NM_AUTH_CIPHER_AUTO.
13072 * src/nm-device-802-11-wireless.c: Call the function
13073 nm_ap_add_capabilities_from_security() to ensure that capabilities
13074 match newly updated security settings.
13076 2006-02-14 Robert Love <rml@novell.com>
13078 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13079 error as a string, not an integer, if possible; do not print the
13080 function name twice; always give the interface, if possible; misc.
13083 2006-02-12 Dan Williams <dcbw@redhat.com>
13085 Patch from Tom Parker <palfrey@tevp.net>
13086 * src/NetworkManagerSystem.h
13087 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13090 * src/backends/NetworkManagerDebian.c
13091 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13094 2006-02-12 Dan Williams <dcbw@redhat.com>
13096 * vpn-daemons/openvpn/intltool-extract.in
13097 vpn-daemons/openvpn/intltool-merge.in
13098 vpn-daemons/openvpn/intltool-update.in
13099 vpn-daemons/pptp/intltool-extract.in
13100 vpn-daemons/pptp/intltool-merge.in
13101 vpn-daemons/pptp/intltool-update.in
13102 - Remove from CVS, they should get created by intltoolize,
13105 2006-02-12 Dan Williams <dcbw@redhat.com>
13107 * vpn-daemons/pptp/src/pppd/patchlevel.h
13108 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13109 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13110 Makefile-defined VERSION
13112 2006-02-09 Dan Williams <dcbw@redhat.com>
13114 Patch from: Vinay A R <rvinay@novell.com>
13115 * src/vpn-manager/nm-vpn-act-request.[ch]
13116 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13117 IPSec VPNs require them for std gateway.
13118 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13119 and 'user_routes_count'
13120 - (nm_vpn_act_request_get_user_routes): new function; gets user
13121 defined routes from NMVPNActRequest object, returns the string
13124 * src/vpn-manager/nm-vpn-manager.[ch]
13125 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13126 for 'user_routes' and 'user_routes_count'
13128 * src/vpn-manager/nm-dbus-vpn.c
13129 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13130 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13132 * src/vpn-manager/nm-vpn-service.c
13133 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13136 Modifications by Dan:
13137 * src/vpn-manager/nm-vpn-service.c
13138 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13141 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13142 * vpn-daemons/pptp/src/nm-pptp-service.c
13143 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13144 - Grab user routes from dbus message
13145 - Free all string arrays we got from dbus
13147 2006-02-07 Robert Love <rml@novell.com>
13149 Patch by Stefan Seyfried <seife@suse.de>:
13150 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13152 2006-02-06 Robert Love <rml@novell.com>
13154 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13156 2006-02-06 Robert Love <rml@novell.com>
13158 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13159 test ">=" is never false. If no newline is found, we loop forever.
13160 We can just check for ">" because the following if() will see the
13161 zero-th argument if the while() gets that far.
13163 2006-02-05 Dan Williams <dcbw@redhat.com>
13165 Refine handling of non-broadcast networks.
13167 * src/NetworkManagerAPList.c
13168 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13169 property from scanned AP to the AP from the device list
13171 * src/nm-device-802-11-wireless.c
13172 - (supplicant_send_network_config): use ap_scan=1 for all networks
13173 except non-SSID-broadcasting and Ad-Hoc networks. Use
13174 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13175 networks since those don't have APs.
13176 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13177 AP as non-SSID-broadcasting
13178 - (process_scan_results): don't handle non-SSID-broadcasting here
13180 2006-02-05 Dan Williams <dcbw@redhat.com>
13182 * src/nm-device-802-11-wireless.c
13183 - (get_supplicant_timeout): new function; return
13184 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13185 14 channels. These are likely a/b/g cards, like Atheros, and
13186 slow as hell to scan.
13187 - (supplicant_timeout_cb, supplicant_monitor_start): use
13188 get_supplicant_timeout()
13190 2006-02-05 Dan Williams <dcbw@redhat.com>
13192 * src/dhcp-manager/nm-dhcp-manager.c
13193 - Loose a commit race with Robert; make sure size check
13194 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13196 2006-02-05 Robert Love <rml@novell.com>
13198 Patch by Christoph Brill <chrisbrill@gmx.net>:
13199 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13200 with DHCP_SERVICE_NAME.
13202 2006-02-05 Dan Williams <dcbw@redhat.com>
13204 Remove anything having to do with device_setup_func from the
13205 AP security objects, since it's no longer used.
13207 * src/nm-ap-security.h
13208 - Kill device_setup_func and nm_ap_security_device_setup()
13210 * src/nm-ap-security-wep.c
13211 src/nm-ap-security-wpa-psk.c
13212 - (real_device_setup): remove
13214 * src/nm-ap-security.c
13215 - (real_device_setup): remove
13216 - (nm_ap_security_device_setup): remove
13218 * src/nm-device-802-11-wireless.[ch]
13219 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13220 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13221 and done by wpa_supplicant now anyway
13223 2006-02-05 Dan Williams <dcbw@redhat.com>
13225 * src/nm-device-802-11-wireless.c
13226 - (ap_need_key, real_act_stage2_config): deal with APs changing
13227 settings on us. Previously NM would loop asking for the
13228 key but getting the same one back. Now, if the NMI-supplied
13229 cipher doesn't overlap with the scanned AP capabilities,
13230 we request a completely new key from the user.
13232 2006-02-05 Dan Williams <dcbw@redhat.com>
13234 * src/NetworkManagerUtils.c
13235 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13236 Handle newline killing better
13238 2006-02-05 Dan Williams <dcbw@redhat.com>
13240 * gnome/applet/nm-gconf-wso.c
13241 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13242 of unencrypted access point security info.
13244 2006-02-03 Robert Love <rml@novell.com>
13246 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13247 user's encryption key, so we print the err_msg_cmd not the command,
13248 if available. So long as SUPPLICANT_DEBUG is default, this makes
13251 2006-02-03 Christopher Aillon <caillon@redhat.com>
13253 * initscript/RedHat/NetworkManagerDispatcher.in:
13254 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13255 Patch from Dan Walsh <dwalsh@redhat.com>
13257 2006-02-03 Robert Love <rml@novell.com>
13259 * dispatcher-daemon/NetworkManagerDispatcher.c,
13260 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13261 but use the sysconfdir.
13263 2006-02-03 Robert Love <rml@novell.com>
13265 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13266 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13268 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13269 nm_ip4_config_get_hostname() and
13270 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13271 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13272 leak g_strdup() result.
13274 2006-02-03 Robert Love <rml@novell.com>
13276 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13277 broadcast == TRUE. Also, copy broadcast and artificial properties
13278 from source network to destination in nm_ap_copy().
13279 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13280 since we now default new networks to non-hidden.
13282 2006-02-03 Dan Williams <dcbw@redhat.com>
13284 * gnome/applet/main.c
13285 - (main): change the NEVER->ALWAYS so we start at the
13286 beginning of the session, if being session-managed
13288 2006-02-03 Dan Williams <dcbw@redhat.com>
13290 * gnome/applet/main.c
13291 - (main): in a variation on Robert's patch, change
13292 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13295 2006-02-02 Robert Love <rml@novell.com>
13297 * src/Makefile.am: If we aren't going to create the run directory at,
13298 uh, run-time, create it during install. Then users just doing
13299 'make install' are cool, too. While we are here, create the
13300 dispatcher.d directory, too.
13301 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13302 the exact run directory.
13303 * Makefile.am: Install nm-applet.desktop.
13305 2006-02-02 Robert Love <rml@novell.com>
13307 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13308 structure, which denotes whether or not the AP is hidden. This is a
13309 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13310 can show up in the scan list. Add nm_ap_get_broadcast() and
13311 nm_ap_set_broadcast() accessor interfaces.
13312 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13313 nm_ap_set_broadcast().
13314 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13315 "getProperties" method, which denotes whether or not the given
13317 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13318 an artificial network. Set broadcast to TRUE when scanning returns
13319 an ESSID and FALSE when not.
13320 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13321 from "getProperties" method on a network. Possible TODO is to
13322 somehow display this.
13323 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13325 2006-02-02 Dan Williams <dcbw@redhat.com>
13327 * src/nm-device-802-11-wireless.c
13328 - (supplicant_interface_init): don't try to create
13329 /var/run/NetworkManager, since that should be done by
13330 the distro package. Causes problems for stuff like SELinux
13332 2006-02-02 Robert Love <rml@novell.com>
13334 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13335 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13336 Check for and handle empty string for iface.
13338 2006-02-01 Robert Love <rml@novell.com>
13340 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13343 2006-01-31 Dan Williams <dcbw@redhat.com>
13345 * nm-applet.desktop
13346 - Add --sm-disable to Exec arguments, presuming that when
13347 using autostart, we don't want session management
13349 2006-01-31 Robert Love <rml@novell.com>
13351 * src/NetworkManagerAP.c: Add two new manufacturer default network
13352 names: linksys-a and linksys-g. These are found (at least) on the
13353 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13356 2006-01-31 Robert Love <rml@novell.com>
13358 * src/NetworkManagerAP.c: Optimize the function
13359 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13360 machine code. This is the first in a series of code tweaks aiming to
13361 generate better machine code and make NetworkManager all the better.
13362 Just kidding. Who has time to go through the assembly generated for
13363 every function? I certainly don't. I have a wife, a kid, a job,
13364 a mortgage, a mistress. But this function was so bad, I was called
13365 to arms. Like the book.
13367 2006-01-31 Robert Love <rml@novell.com>
13369 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13370 AP is not broadcasting, to scan with probe request frames. Required
13371 for non-broadcast networks.
13373 2006-01-31 Robert Love <rml@novell.com>
13375 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13376 preprocessor define (still 20s). Fix message text in nm_info()
13377 s/too too/took too/.
13379 2006-01-30 Dan Williams <dcbw@redhat.com>
13381 * src/nm-device-802-11-wireless.c
13382 - (supplicant_monitor_start): increase connect/auth timeout to
13383 20 seconds from 10 seconds
13385 2006-01-30 Dan Williams <dcbw@redhat.com>
13388 - Define LOCALSTATEDIR
13390 * src/nm-device-802-11-wireless.c
13391 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13392 socket where we want it to
13394 * src/wpa_ctrl.[ch]
13395 - (wpa_ctrl_open): accept location to put local control socket
13397 2006-01-30 Robert Love <rml@novell.com>
13399 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13400 get_ip4_string() for "domain_name".
13402 2006-01-30 Robert Love <rml@novell.com>
13404 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13405 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13406 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13407 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13408 support for "Automatic" pairwise and group cipher configuration by
13409 letting wpa_supplicant handle the details. Add UI elements, new
13410 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13411 charm. Note this does more than add a nice feature, it fixes a bug.
13412 Apparently, some people have AP's where the pairwise cipher does not
13413 match the group cipher. Insane, but true.
13415 2006-01-30 Dan Williams <dcbw@redhat.com>
13417 * gnome/applet/applet-dbus-devices.c
13418 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13419 functions, grab device driver name from NetworkManager
13420 - (nmwa_dbus_device_properties_cb): call functions to get driver
13422 * gnome/applet/applet.c
13423 - (nmwa_update_info): show driver name in Connection Information
13426 * gnome/applet/nm-device.[ch]
13427 - (network_device_get_driver, network_device_set_driver): add
13428 accessors for driver name
13430 * gnome/applet/wireless-applet.glade
13431 - Add line for driver name to Connection Information dialog
13433 * src/nm-dbus-device.c
13434 - (nm_dbus_device_get_driver): new function to return driver name
13435 - (nm_dbus_device_methods): hook up driver name function to dbus
13438 - (get_driver_name): new function
13439 - (detail_device): grab and show driver name
13441 2006-01-30 Robert Love <rml@novell.com>
13443 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13444 does not parse the markup if it is not part of the format.
13446 2006-01-30 Robert Love <rml@novell.com>
13448 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13449 FALSE, we have no security options for this dialog, so we throw up
13450 an error dialog instead of a broken passphrase dialog. Fixes
13452 * gnome/applet/wireless-security-manager.c,
13453 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13454 does not add any security options, not even NONE, print a warning
13455 and return FALSE. This let's functions constructing a dialog bail
13456 out if the device's capabilities and the network's requirements have
13459 2006-01-27 Robert Love <rml@novell.com>
13461 * configure.in: Require wpa_supplicant. Detect location of binary and
13462 use it. Override with "--with-wpa_supplicant=foo".
13463 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13464 path to wpa_supplicant but use the auto-detected or user-provided
13465 value from configure.
13467 2006-01-27 Robert Love <rml@novell.com>
13469 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13470 but the DHCP server did not return a hostname, try to look up our
13471 name via DNS and set the system hostname to that.
13473 2006-01-27 Dan Williams <dcbw@redhat.com>
13475 * src/backends/NetworkManagerRedHat.c
13476 - Add NM_CONTROLLED system network script support for RH/Fedora
13478 2006-01-27 Dan Williams <dcbw@redhat.com>
13480 * src/backends/NetworkManagerGentoo.c
13481 - (nm_system_device_get_disabled): add missing function.
13484 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13486 * configure.in: Added vi in ALL_LINGUAS line.
13488 2006-01-26 Robert Love <rml@novell.com>
13490 * src/Makefile.am, src/kernel-types.h: Now that two different source
13491 files are feeling the crack-addled leakage of kernel types such as
13492 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13493 types in user-space -- define a header and include it as needed.
13494 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13495 * src/nm-device-802-3-ethernet.h: Remove defines.
13496 * src/wpa.c: Remove defines and include kernel-types.h.
13498 2006-01-26 Robert Love <rml@novell.com>
13500 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13503 2006-01-26 Robert Love <rml@novell.com>
13505 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13506 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13507 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13508 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13509 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13510 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13511 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13512 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13513 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13514 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13515 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13516 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13517 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13518 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13519 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13520 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13521 Kill unused variables, labels, and static functions. Don't pass
13522 string literals as the format string for printf-like functions.
13524 2006-01-25 Dan Williams <dcbw@redhat.com>
13526 * gnome/applet/wireless-applet.glade
13527 - Remove WPA2 Checkbox
13529 * gnome/applet/wireless-security-manager.c
13530 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13531 This means the Wireless Security menu now has two WPA options,
13532 one for "WPA Personal" and one for "WPA2 Personal"
13534 * gnome/applet/wso-wpa-psk.[ch]
13535 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13536 'wpa2' argument to determine WPA version to use
13537 - (append_dbus_params_func): pass stored WPA version to cipher
13538 rather than using the (removed) checkbox
13540 2006-01-24 Robert Love <rml@novell.com>
13542 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13543 before we g_strdup(), not the ultimate string.
13545 2006-01-23 Dan Williams <dcbw@redhat.com>
13547 * src/NetworkManagerAP.[ch]
13548 - (nm_ap_new_from_ap): copy original essid too
13549 - (nm_ap_unref): free original essid
13550 - (nm_ap_get_orig_essid): new function
13551 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13552 but keep original essid around too
13554 * src/nm-device-802-11-wireless.c
13555 - (supplicant_send_network_config): send wpa_supplicant the
13556 _original_ essid, and not as a string, but in hex. Should
13557 allow us to connect to more APs that use wierd character
13558 encodings for their essids
13560 * utils/nm-utils.[ch]
13561 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13562 to UTF-8. If it's not already valid UTF-8, we check LANG and
13563 use the current locale as a hint for what encoding the essid
13564 might be in. Obviously not 100% accurate, but the idea here is
13565 that if a user's locale is ex. ja_JP, they are more likely than
13566 not to be in Japan, where access points will likely be in some
13569 2006-01-23 Dan Williams <dcbw@redhat.com>
13571 * libnm-util/cipher-private.h
13572 libnm-util/cipher.c
13573 libnm-util/cipher.h
13574 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13576 2006-01-23 Robert Love <rml@novell.com>
13578 Patch by Timo Hoenig <thoenig@suse.de>:
13579 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13580 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13581 by DHCP and pass it to the backends, allowing distribution-specific
13582 behavior with respect to the DHCP-supplied hostname (if nothing else,
13583 some distributions might not want to set the hostname).
13584 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13585 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13586 Also update our NIS behavior.
13587 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13588 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13589 Add stub functions.
13591 2006-01-23 Robert Love <rml@novell.com>
13593 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13594 gnome-session does autostart. TODO: We need to install this to
13595 $prefix/share/autostart/.
13597 2006-01-22 Dan Williams <dcbw@redhat.com>
13599 * src/NetworkManagerAP.[ch]
13601 src/nm-device-802-11-wireless.c
13602 - Make nm_ap_get_essid return "const char *"
13604 2006-01-22 Dan Williams <dcbw@redhat.com>
13606 * src/NetworkManagerAP.[ch]
13607 - (nm_ap_get_matched, nm_ap_set_matched): remove
13609 * src/NetworkManagerAPList.[ch]
13610 - (nm_ap_list_diff): removed
13611 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13612 deal with access points changing essids on us
13614 * src/nm-device-802-11-wireless.c
13615 - (add_new_ap_to_device_list): move AP dbus signal logic to
13616 src/NetworkManagerAPList.c
13617 - (real_can_interrupt_activation): new function; allow interruption
13618 of device activation if we are waiting for a network key
13620 * src/NetworkManagerPolicy.c
13621 - (nm_policy_device_change_check): allow interruption of currently
13622 activating devices if the device allows it. Previous behavior
13623 would refuse to activate a just-plugged wired device if a
13624 wireless device was waiting for a key.
13626 * src/nm-device.[ch]
13627 - (nm_device_can_interrupt_activation): new function; ask devices
13628 whether their activation can be interrupted
13630 2006-01-20 Robert Love <rml@novell.com>
13632 * Makefile.am, configure.in: Add new man subdirectory.
13633 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13634 man/Makefile.am: Add man pages for NetworkManager and its
13635 crime-solving bumbling buddy, NetworkManagerDispatcher.
13636 * man/.cvsignore: Add.
13637 * initscript/Debian/NetworkManager,
13638 initscript/Gentoo/NetworkManager.in,
13639 initscript/RedHat/NetworkManager.in,
13640 initscript/RedHat/NetworkManagerDispatcher.in,
13641 initscript/SUSE/networkmanager-dispatcher.in,
13642 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13644 2006-01-20 Robert Love <rml@novell.com>
13646 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13647 instead of queuing. This prevents the running of multiple NM
13648 daemons concurrently, which does not work whatsoever and results in
13649 neither daemon working correctly. Also, we don't handle queuing and
13650 name-owner-changes, anyhow.
13652 2006-01-20 Robert Love <rml@novell.com>
13654 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13655 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13658 2006-01-19 Robert Love <rml@novell.com>
13660 * configure.in: Require hal 0.5.0 or later.
13662 2006-01-18 Robert Love <rml@novell.com>
13664 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13665 Allow backends to flag a device (in whatever distro-dependent way
13666 they so desire) as disabled. NM will ignore any such device.
13667 * src/backends/NetworkManagerDebian.c,
13668 src/backends/NetworkManagerRedHat.c,
13669 src/backends/NetworkManagerSlackware.c: Add stub function
13670 nm_system_device_get_disabled() that always returns FALSE (enabled).
13671 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13672 SUSE-specific configuration structure. Fill it in from the
13673 NM_CONTROLLED variable in the system networking scripts. If this var
13674 exists and is "no", we ignore the device.
13676 2006-01-17 Robert Love <rml@novell.com>
13678 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13679 identical for NM. For a full discussion, see the thread at
13680 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13682 2006-01-17 Dan Williams <dcbw@redhat.com>
13685 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13686 function. Fixes crash when wired DHCP fails.
13688 2006-01-16 Robert Love <rml@novell.com>
13690 * src/Makefile.am: Don't install NMLoadModules
13691 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13692 from src/ to test/ as no one uses it anymore. Note that I would be
13693 fine with removing it altogether.
13695 2006-01-16 Robert Love <rml@novell.com>
13697 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13698 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13699 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13700 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13701 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13702 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13703 declarations, ever.
13704 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13705 NM_STATE_DISCONNECTED is zero).
13707 2006-01-16 Robert Love <rml@novell.com>
13709 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13710 uninitialized parameter and buffer overflow. Novell #143496.
13712 2006-01-16 Dan Williams <dcbw@redhat.com>
13714 Apply the PtP Address bits of a patch from Tim Niemueller
13716 * src/nm-ip4-config.[ch]
13717 - Add ip4_ptp_address member to object
13718 - (nm_ip4_config_copy): copy ptp address too
13719 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13721 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13722 rather than local tunnel ip address
13724 * src/vpn-manager/nm-vpn-service.c
13725 - (print_vpn_config): update for PtP address
13726 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13727 DBusMessageIters in preparation for getting routes from the VPN
13728 service daemons too
13730 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13731 - (send_config_info): update for PtP address, clean up code
13732 - (main): update for PtP address, clean up code, fix typo
13734 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13735 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13737 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13738 - (pptp_ip_up): update for PtP address
13740 * vpn-daemons/pptp/src/nm-pptp-service.c
13741 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13743 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13744 - (print_vpn_config): update for PtP address
13745 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13747 2006-01-16 Dan Williams <dcbw@redhat.com>
13749 * gnome/applet/applet.c
13750 - (nmwa_add_networks_helper): don't indicate an active network
13751 if NM is disconnected or asleep
13753 2006-01-16 Dan Williams <dcbw@redhat.com>
13755 * src/NetworkManagerPolicy.c
13756 - (nm_policy_device_change_check): switch devices if we lose the link
13757 on an ethernet device.
13759 2006-01-16 Dan Williams <dcbw@redhat.com>
13761 * gnome/applet/wso-wpa-psk-hex.[ch]
13762 - Renamed -> wso-wpa-psk.[ch]
13764 * gnome/applet/wso-wpa-psk.[ch]
13767 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13768 - Removed, rolled into wso-wpa-psk.[ch]
13770 * gnome/applet/Makefile.am
13771 - Updated for above changes
13773 * gnome/applet/wireless-applet.glade
13774 - Consolidate WPA-PSK options into one notebook
13775 widget, and make dialogs invisible by default
13776 to fix screen oddities
13778 * gnome/applet/wireless-security-manager.c
13779 - (wsm_set_capabilities): create the new wpa-psk widget rather
13780 than both the old hex & passphrase ones
13782 2006-01-16 Dan Williams <dcbw@redhat.com>
13784 * gnome/applet/other-network-dialog.c
13785 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13787 2006-01-16 Dan Williams <dcbw@redhat.com>
13789 * gnome/applet/applet.c
13790 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13791 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13792 prevention to realize window before trying to get server
13795 * gnome/applet/other-network-dialog.c
13796 - (nmwa_other_network_dialog_run): fix up focus-stealing
13797 prevention to realize window before trying to get server
13800 * gnome/applet/passphrase-dialog.c
13801 - (nmi_passphrase_dialog_new): fix up focus-stealing
13802 prevention to realize window before trying to get server
13805 2006-01-16 Robert Love <rml@novell.com>
13807 Patch from Timo Hoenig <thoenig@suse.de:
13808 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13809 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13810 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13811 libnm-util/dbus-helpers.h: add checks whether headers are used
13812 within a C++ build.
13814 2006-01-16 Dan Williams <dcbw@redhat.com>
13816 * gnome/applet/wireless-security-option.c
13817 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13819 2006-01-16 Dan Williams <dcbw@redhat.com>
13821 * libnm-util/cipher-wpa-psk-passphrase.c
13822 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13823 be 8 - 63 characters inclusive
13825 2006-01-16 Dan Williams <dcbw@redhat.com>
13828 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13830 2006-01-13 Robert Love <rml@novell.com>
13832 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13833 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13834 modules that do not use an interface.
13836 2006-01-13 Dan Williams <dcbw@redhat.com>
13840 - Allow subclasses to implement deactivate_quickly()
13841 - (nm_device_deactivate_quickly): call subclass
13842 deactivate_quickly() methods
13843 - (nm_device_set_active_link): small cleanups, and don't
13844 deactivate the device right away because we risk a deadlock
13845 when called from device thread, waiting for the device
13846 thread to cancel activation
13848 * src/nm-device-802-11-wireless.c
13849 - (real_deactivate_quickly): new function
13850 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13851 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13852 so that we kill the supplicant when we sleep too
13853 - (supplicant_interface_init): work around naive naming attempts of
13854 wpa_ctrl when naming sockets
13856 2006-01-13 Dan Williams <dcbw@redhat.com>
13858 * src/nm-device-802-11-wireless.c
13859 - (supplicant_cleanup): delete old device control sockets too
13860 - (supplicant_get_device_socket_path): new function to consolidate
13861 locations that need a path to a device's control socket
13863 2006-01-12 Robert Love <rml@novell.com>
13865 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13866 description so that the description is unique for each
13867 pair (device,provider). Fixes Novell #142773.
13869 2006-01-12 Dan Williams <dcbw@redhat.com>
13871 * src/nm-device-802-11-wireless.c
13872 - (supplicant_exec): ensure GError is correctly initialized
13873 Reported by Diego González (gnome.org #326708)
13875 2006-01-11 Robert Love <rml@novell.com>
13877 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13878 define if_mii(), open code the same results, and do so without any
13881 2006-01-11 Robert Love <rml@novell.com>
13883 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13884 that wso_foo_new() returned non-NULL. Instead, only append the new
13885 wso to wsm->options if the wso is non-NULL. The crux is that we
13886 assume that the relevant key types are implied by WEP and WPA as
13887 appropriate. To be sure, they should be, but we should not expect
13888 drivers to not be oozing piles of wolf fecal matter.
13890 2006-01-11 Robert Love <rml@novell.com>
13892 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13893 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13894 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13895 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13896 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13897 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13898 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13899 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13900 comparing values within DBL_EPSILON. Also fix shadowed variable
13903 2006-01-11 Dan Williams <dcbw@redhat.com>
13905 Add options for WPA2 and WPA1+CCMP (AES).
13907 * gnome/applet/wireless-applet.glade
13908 - Add UI bits for WPA+CCMP
13910 * gnome/applet/other-network-dialog.c
13911 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13912 and don't allow creation of WPA2 Ad-Hoc networks since
13913 wpa_supplicant doesn't support them
13915 * gnome/applet/wireless-security-manager.c
13916 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13917 on to the specific wireless security option being created
13919 * gnome/applet/wireless-security-option.[ch]
13920 - (wso_wpa_create_key_type_model): new utility function to create
13921 the model required for WPA Key Type combo box
13923 * gnome/applet/wso-private.h
13924 gnome/applet/wireless-security-option.h
13925 - Move private function prototypes into wso-private.h
13927 * gnome/applet/wso-wpa-psk-hex.[ch]
13928 gnome/applet/wso-wpa-psk-passphrase.[ch]
13929 - (append_dbus_params_func): get WPA version from checkbox and pass
13930 it to the dbus serialization helper
13931 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13932 key type combo changes
13933 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13936 * libnm-util/cipher-wpa-psk-hex.c
13937 libnm-util/cipher-wpa-psk-passphrase.c
13938 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13939 new function; allow the cipher to be changed after object creation
13941 * src/nm-ap-security-wpa-psk.c
13942 - (set_description): Do WPA2 descriptions too
13944 * src/nm-ap-security.c
13945 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13947 2006-01-11 Robert Love <rml@novell.com>
13949 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13950 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13951 from the ifreq structure in lieu of an open coded solution. Removes
13952 a life-threatening type-punning.
13953 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13954 types, ever, whatsoever, baby.
13956 2006-01-11 Robert Love <rml@novell.com>
13958 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13959 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13960 assignments to applet->nm_state into a new nmwa_set_state() function
13961 for both cleanliness and to help debugging.
13963 2006-01-10 Robert Love <rml@novell.com>
13965 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13966 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13967 seconds, exclusive. That is, we want to sleep x seconds such that
13970 2006-01-10 Robert Love <rml@novell.com>
13972 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13973 the attr fields according to the example in the email available at
13974 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13975 Conversely, we do have to free 'name', so we do so, fixing a leak.
13977 2006-01-10 Robert Love <rml@novell.com>
13979 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13980 sure that we close the socket!
13982 2006-01-10 Robert Love <rml@novell.com>
13984 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13985 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13986 src/nm-device.c: Fix a FIXME! Reimplement the function
13987 nm_device_update_hw_address() in device subclass variants,
13988 nm_device_802_3_ethernet_set_address() and
13989 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13990 This fixes the existing bug where MAC addresses are all zeros.
13992 2006-01-10 Robert Love <rml@novell.com>
13994 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13995 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13996 option to give users ability to globally disconnect and put NM to
13997 sleep. This is useful as a 'lockdown mode' for flying, security, and
14000 2006-01-09 Robert Love <rml@novell.com>
14002 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14003 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14004 User-space does not supply these types, so we have to define them
14005 ourselves. The relevant kernel maintainer refused to accept a patch
14006 switching these headers to the proper C99 types.
14008 2006-01-09 Dan Williams <dcbw@redhat.com>
14010 Apply Robert's 'tray icon redo' patch with fixes
14011 * gnome/applet/applet.c
14012 gnome/applet/applet.h
14013 - Instead of using a menu bar + menu item, simulate menu
14014 behavior using a popup menu. Highlight the area around
14015 the icon more like a menu too, by playing with the
14016 applet's size requisition
14018 2006-01-09 Timo Hoenig <thoenig@suse.de>
14019 * libnm-util/dbus-helpers.c
14020 libnm-util/dbus-helpers.h
14021 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14022 to 'exception_namespace' (:namespace is a keyword in
14025 2006-01-09 Dan Williams <dcbw@redhat.com>
14027 * src/NetworkManagerPolicy.c
14028 - (nm_policy_device_change_check): don't autoswitch away from
14029 Ad-Hoc networks, since there's really no concept of
14033 - (nm_dbus_nm_create_wireless_network): mark created networks
14036 * src/nm-device-802-11-wireless.c
14037 - (real_activation_success_handler): add user-created Ad-Hoc
14038 networks to the device's scan list
14040 2006-01-08 Dan Williams <dcbw@redhat.com>
14042 We now require a patch for wpa_supplicant to support Ad-Hoc
14044 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14046 * src/nm-device-802-11-wireless.c
14047 - (supplicant_send_network_config): turn off wpa_supplicant's
14048 scanning. Fixes Ad-Hoc networks.
14050 2006-01-08 Dan Williams <dcbw@redhat.com>
14052 * src/nm-ap-security.c
14053 src/nm-ap-security.h
14054 - Add a user_created argument to the write_supplicant_config
14057 * src/nm-ap-security-wep.c
14058 src/nm-ap-security-wpa-psk.c
14059 src/nm-device-802-11-wireless.c
14060 - Make Ad-Hoc mode somewhat work, at least write the
14061 correct options to wpa_supplicant
14063 2006-01-08 Dan Williams <dcbw@redhat.com>
14065 * src/nm-device-802-11-wireless.c
14066 - Remove unused code from the old device activation path
14068 2006-01-08 Dan Williams <dcbw@redhat.com>
14070 * libnm-util/dbus-helpers.c
14071 - (nmu_security_serialize_wpa_psk): pass a blank key through
14072 dbus when key == NULL
14074 2006-01-08 Dan Williams <dcbw@redhat.com>
14076 * gnome/applet/nm-gconf-wso-wpa-psk.c
14077 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14078 correct arguments to nmu_security_deserialize_wpa_psk()
14080 * src/nm-ap-security-wpa-psk.c
14081 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14082 arguments to nmu_security_deserialize_wpa_psk()
14084 2006-01-08 Dan Williams <dcbw@redhat.com>
14086 * gnome/applet/wso-wpa-psk-hex.c
14087 gnome/applet/wso-wpa-psk-passphrase.c
14088 - Hook up the append_dbus_params_func() function
14090 2006-01-08 Dan Williams <dcbw@redhat.com>
14092 * src/nm-device-802-11-wireless.c
14093 - (get_wireless_capabilities): correctly detect driver WPA
14096 2006-01-08 Dan Williams <dcbw@redhat.com>
14098 * gnome/applet/Makefile.am
14099 gnome/applet/wso-wpa-psk-hex.c
14100 gnome/applet/wso-wpa-psk-hex.h
14101 - New files, implement WPA-PSK Hex key input
14103 * gnome/applet/wireless-applet.glade
14104 - Change existing wpa-psk stuff to wpa-psk-hex
14105 - Add new widgets for wpa-psk-passphrase
14107 * gnome/applet/wireless-security-manager.c
14108 - (wsm_set_capabilities): enable WPA options
14110 * gnome/applet/wso-wpa-psk-passphrase.c
14111 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14112 for WPA-PSK passphrase
14114 2006-01-08 Dan Williams <dcbw@redhat.com>
14116 * include/NetworkManager.h
14117 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14118 applet/info-daemons
14120 * gnome/applet/passphrase-dialog.c
14121 - Use the constant. Fixes a bug where the arguments to
14122 dbus_message_new_error() were incorrect
14124 * src/nm-dbus-nmi.c
14127 2006-01-07 Dan Williams <dcbw@redhat.com>
14129 * src/nm-device-802-11-wireless.c
14130 - Add a link timeout so we allow the supplicant time to
14131 reassociate if it can, before we deactivate the card
14132 - Fix up link status and link updating so things work better
14134 2006-01-07 Dan Williams <dcbw@redhat.com>
14136 * src/nm-device-802-11-wireless.c
14137 - Switch over to using wpa_supplicant
14138 - Add a timeout of 10s for association of the supplicant
14139 - Start the monitor callback of the supplicant
14141 2006-01-07 Dan Williams <dcbw@redhat.com>
14143 * src/NetworkManagerUtils.c
14144 - (nm_utils_supplicant_request,
14145 nm_utils_supplicant_request_with_check):
14146 pass correct buffer length to wpa_ctrl_request()
14148 2006-01-07 Dan Williams <dcbw@redhat.com>
14150 * src/nm-device-private.h
14152 - (nm_device_activate_schedule_stage3_ip_config_start): make
14153 this function available to subclasses
14155 2006-01-06 Robert Love <rml@novell.com>
14157 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14158 user plugging in a network cable signals their preference for to
14159 switch, unless the user explicitly selected a wireless network and
14160 therefore signaled their preference for said wireless network over
14161 wired. In other words, do exactly what makes sense.
14163 2006-01-06 Robert Love <rml@novell.com>
14165 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14166 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14167 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14168 showing up in my greps.
14170 2006-01-06 Robert Love <rml@novell.com>
14172 * gnome/applet/applet-dbus-devices.c,
14173 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14174 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14175 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14176 New Network' both failed in the non-encrypted case because we were
14177 not appending the security options to the DBUS message. And
14178 'Connect to Other' was also failing in the encrypted case because
14179 we were not incrementing to the next DBUS parameter. All fixed.
14180 Thanks to dcdw for some debugging help.
14182 2006-01-06 Robert Love <rml@novell.com>
14184 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14185 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14186 hangup code and add per-device hangup. Tie last commit into the
14187 GNOME applet. TODO: Save, understand, and respond to the state of
14188 each dialup device.
14190 2006-01-06 Robert Love <rml@novell.com>
14192 Patch by Timo Hoenig <thoenig@suse.de>:
14193 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14194 hangup specific dialup devices.
14195 * src/backends/NetworkManagerDebian.c,
14196 src/backends/NetworkManagerGentoo.c,
14197 src/backends/NetworkManagerRedHat.c,
14198 src/backends/NetworkManagerSlackware.c: Add stub backend.
14199 * src/backends/NetworkManagerRedHat.c,
14200 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14201 hangup specific dialup devices.
14203 2006-01-04 Robert Love <rml@novell.com>
14205 * gnome/applet/applet-dbus-devices.c,
14206 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14207 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14210 2006-01-04 Dan Williams <dcbw@redhat.com>
14212 First dump of wpa_supplicant-related code. It's not hooked up to
14213 anything yet though. Thanks to Kay Sievers for
14214 wpa_supplicant_wrapper.c, which formed the basis for this work,
14215 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14219 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14221 * src/NetworkManagerUtils.[ch]
14222 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14223 Add convenience functions for talking to wpa_supplicant
14225 * src/nm-ap-security.[ch]
14226 src/nm-ap-security-wep.c
14227 src/nm-ap-security-wpa-psk.[ch]
14228 - Update and implement real_write_supplicant_config functions
14229 in all security types
14230 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14231 nm-ap-security-wpa-psk.c
14233 * src/nm-device-802-11-wireless.c
14234 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14235 wpa_supplicant_start, wpa_supplicant_interface_init,
14236 wpa_supplicant_send_network_config): add functions to talk to
14237 wpa_supplicant and write network config to it
14239 2006-01-04 Robert Love <rml@novell.com>
14241 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14242 values so that distribution-backends can differentiate between the
14243 various types (modem, ISDN, et cetera) of dialup device that they
14245 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14248 2006-01-03 Dan Williams <dcbw@redhat.com>
14250 * src/NetworkManagerPolicy.c
14252 src/nm-device-802-11-wireless.c
14253 - Move wireless-specific activation failure and success code
14254 into wireless device class
14256 2006-01-03 Robert Love <rml@novell.com>
14258 Patch by Preggna S:
14259 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14260 IPsec does not require that a VPN client be bound to an interface,
14261 due to the use of the in-kernel IPSec bits. So make the tunnel
14264 2006-01-03 Dan Williams <dcbw@redhat.com>
14266 * src/NetworkManagerAP.c
14267 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14268 the WPA IE specifies that WEP is supported
14270 * src/nm-device-802-11-wireless.c
14271 - (process_scan_results): don't mark an AP as supporting WEP
14272 if there's already other encryption capability info
14274 2006-01-03 Dan Williams <dcbw@redhat.com>
14276 * src/dhcp-manager/nm-dhcp-manager.c
14277 - Recognize activation cancellation when waiting for DHCP
14278 configuration from dhcdbd
14279 - Ignore non-dhcdbd messages
14282 - (real_act_stage3_ip_config_start): return to correct behavior
14283 of letting the dhcp-manager notify us of failure or
14284 success rather than incorrectly doing that ourselves
14285 - (nm_device_activate_stage4_ip_config_get): deal with
14286 activation cancellation a bit earlier
14288 2006-01-03 Dan Williams <dcbw@redhat.com>
14290 * src/nm-device-802-11-wireless.c
14292 - Add hooks to subclasses for stage3_ip_config_start and
14293 stage4_ip_config_timeout
14295 * src/nm-device-802-3-ethernet.c
14296 - (real_get_generic_capabilities): make devices NM-supported
14299 2006-01-03 Robert Love <rml@novell.com>
14301 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14302 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14303 latter cannot differentiate between error and the address -1; misc.
14306 2006-01-03 Dan Williams <dcbw@redhat.com>
14308 * src/NetworkManager.c
14309 - Move link-checking/probing into the device subclasses
14312 * src/nm-device.[ch]
14313 src/nm-device-802-11-wireless.c
14314 src/nm-device-802-3-ethernet.c
14315 - Do periodic link checking in device subclasses rather
14316 than being triggered from NetworkManager.c
14317 - discover_wireless_capabilities -> get_wireless_capabilities
14318 - discover_generic_capabilities -> get_generic_capabilities
14319 - Device subclass activation routines now return a value of type
14320 NMActStageReturn to indicate what step to perform next
14321 - Devices now override stage4_get_ip4_config if they choose
14323 2006-01-01 Dan Williams <dcbw@redhat.com>
14325 * src/nm-device-802-11-wireless.c
14326 - (real_init): don't chain up to parent init because we don't
14327 need to do that anymore
14330 - (discover_device_type): fix arguments to ioctl() to correctly
14331 pass interface name
14332 - (nm_device_new): consolidate generic device initialization into
14334 - (real_init): remove, consolidated to nm_device_new()
14335 - (nm_device_deactivate, real_deactivate): consolidate
14337 2006-01-01 Dan Williams <dcbw@redhat.com>
14339 * src/nm-activation-request.c
14340 - Change dhcp_state member of the NMActRequest structure
14341 from guint8 to guint32
14343 * src/dhcp-manager/nm-dhcp-manager.[ch]
14344 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14345 than guint8 to match the dbus argument. Turns out we were
14346 overwriting memory since we were passing in only a guint8
14348 2005-12-31 Dan Williams <dcbw@redhat.com>
14350 * refactor NMDevice into a GObject-based framework with separate
14351 objects for wired and wireless. The following files are no
14352 longer used but should stick around for a bit so we don't
14353 loose code through the cracks:
14354 NetworkManagerDevice.c
14355 NetworkManagerDevice.h
14356 NetworkManagerWireless.c
14357 NetworkManagerWireless.h
14359 The intent here is to allow each device type to manage its own
14360 connection & activation life-cycle, ie to allow wireless devices
14361 to interface with wpa_supplicant, etc. There's a fair bit of
14362 encapsulation breakage right now that should gradually get pulled
14363 back into each device, along with things like periodic property
14364 updates and link probing.
14366 2005-12-29 Dan Williams <dcbw@redhat.com>
14368 * include/NetworkManager.h
14369 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14370 between networks that don't have any encryption at all
14372 2005-12-29 Dan Williams <dcbw@redhat.com>
14374 * test/test-common.c
14377 - Move to a test-common subdirectory
14379 * test/libnm-util/test-ciphers.c
14380 - Move test data to test-inputs.h
14381 - Test WPA ciphers too
14383 * test/libnm-util/test-dbus-helpers.c
14384 - Test serialization/deserialization of ciphers
14386 2005-12-29 Dan Williams <dcbw@redhat.com>
14388 * gnome/applet/applet-dbus-devices.c
14389 - Replace 'enc' parameter with 'capabilities' for wireless networks
14390 in dbus calls to NM
14391 - Set capabilities on WirelessNetwork objects
14392 - Receive and save type-specific device capabilities too
14394 * gnome/applet/applet-dbus-info.c
14395 gnome/applet/applet-dbus.c
14396 - Passphrase dialog no longer a singleton; new instance gets created
14397 on each request. Updates to deal with that.
14399 * gnome/applet/applet.c
14400 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14401 than single 'encrypted' flag
14402 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14404 - Passphrase dialog updates per above
14406 * gnome/applet/menu-items.c
14407 - (network_menu_item_update): use AP capabilities to determine
14410 * gnome/applet/nm-device.[ch]
14411 - Add accessors for type-specific device capabilities
14413 * gnome/applet/other-network-dialog.c
14414 - Rework to respect device capabilities. i.e., if the device doesn't
14415 support WPA, remove that option from the security dropdown
14417 * gnome/applet/passphrase-dialog.c
14418 - Massive rework so that a new instance is created each time
14419 it's used, to support wireless network capabilities
14421 * gnome/applet/wireless-network.[ch]
14422 - Add accessors and members for wireless network capabilities
14424 * gnome/applet/wireless-security-manager.[ch]
14425 - (wsm_set_capabilities): called after creation to set which
14426 security options get shown to the user
14428 2005-12-29 Dan Williams <dcbw@redhat.com>
14430 * libnm-util/cipher-wpa-psk-passphrase.c
14431 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14434 2005-12-23 Dan Williams <dcbw@redhat.com>
14436 * gnome/applet/applet-dbus-info.c
14437 - (nmi_dbus_get_key_for_network): if there's no entry in
14438 GConf for a network, assume we want a new key
14439 - (nmi_save_network_info): serialize wireless security info
14440 into GConf so its saved
14443 - Fix warning as we may not be passed security info when
14444 connecting to a wireless network
14446 2005-12-23 Dan Williams <dcbw@redhat.com>
14448 * gnome/applet/applet-compat.c
14449 - Fix bugs in GConf entry conversion
14451 * gnome/applet/applet-dbus-info.c
14452 - (nmi_dbus_get_network_properties): handle case of the BSSID
14453 list being zero-length
14455 * libnm-util/cipher-*
14456 libnm-util/dbus-helpers.c
14457 - All ciphers must now return hashed keys as UTF-8 valid
14458 hexadecimal strings, ie "8f3dae4023". They are pushed
14459 through dbus as strings too.
14460 - Consolidate various functions that do bin->hex and hex->bin
14461 conversion into cipher.c
14463 * src/nm-ap-security-wep.c
14464 src/nm-ap-security-wpa-psk.c
14465 - Handle NULL keys since we may not know keys right away
14467 * src/nm-dbus-nmi.c
14468 - (nm_dbus_get_network_data_cb): actually advance to the start
14469 of the wireless security info before we try to deserialize it
14471 * libnm-util/test-ciphers.c
14472 - Update cipher tests for the change to UTF-8 hexadecimal strings
14474 2005-12-22 Dan Williams <dcbw@redhat.com>
14476 * gnome/applet/applet-compat.[ch]
14477 - Convert old-format GConf and keyring entries
14478 when the applet starts up.
14480 * gnome/applet/applet.c
14481 - (nmwa_get_instance): Call the conversion function
14482 on startup before dbus is initialized
14484 2005-12-22 Dan Williams <dcbw@redhat.com>
14486 * gnome/applet/applet-dbus-info.c
14487 - Remove nmi_dbus_create_error_message() in favor of
14488 nmu_create_dbus_error_message()
14489 - (nmi_dbus_get_network_properties): Error message cleanups
14490 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14491 gconf key rather than 'addresses', since they really are BSSIDs
14492 - (nmi_dbus_get_network_properties): Dispose of the security
14493 object when we're done with it
14495 2005-12-21 Dan Williams <dcbw@redhat.com>
14497 * Consolidate the info-daemon's "updateNetworkInfo" and
14498 "addNetworkAddress" calls into just "updateNetworkInfo"
14500 2005-12-21 Dan Williams <dcbw@redhat.com>
14502 * Make connection after key retrieval work again
14504 2005-12-21 Dan Williams <dcbw@redhat.com>
14506 * gnome/applet/nm-gconf-wso*
14507 - Make the serialize functions return gboolean
14510 * gnome/applet/nm-gconf-wso.c
14511 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14512 parent class handling so we don't segfault
14514 * src/NetworkManagerAP.[ch]
14515 - (nm_ap_get_capabilities): new function, return capabilities
14516 now that something can use them
14517 - (nm_ap_set_encrypted): assume that an access point supports
14518 both WEP104 and WEP40 if its set encrypted. FIXME: can
14519 we even tell whether it just supports WEP40?
14521 * src/NetworkManagerDevice.c
14522 - (ap_need_key): resurrect and update for the New World Order
14523 - (nm_device_wireless_get_activation_ap): if we're not given
14524 security info to use, create some based on access point
14527 * src/nm-ap-security-wep.c
14528 - (nm_ap_security_wep_new_from_ap): create a new object
14529 based on a certain access point's capabilities
14531 * src/nm-ap-security.c
14532 - (nm_ap_security_new_from_ap): delegate creation of a new
14533 object based on access point capabilities to a subclass
14534 - (nm_ap_security_copy_properties): don't segfault if we
14535 don't have a key yet
14538 - (nm_dbus_nm_set_active_device): provide more informative
14539 output when errors occur. Also construct security info
14540 for a given access point if we weren't given any
14542 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14544 * configure.in: Added Lithuanian to ALL_LINGUAS.
14546 2005-12-21 Dan Williams <dcbw@redhat.com>
14549 - Add some testcases for WEP ciphers
14551 2005-12-17 Dan Williams <dcbw@redhat.com>
14555 2005-12-17 Dan Williams <dcbw@redhat.com>
14557 * include/NetworkManager.h
14558 - Finally kill NMEncKeyType
14560 * gnome/applet/applet-dbus-info.c
14561 - (nmi_save_network_info): convert to NMGConfWSO
14563 * gnome/applet/nm-gconf-wso-*.c
14564 - Implement gconf serialization functions
14566 * src/NetworkManagerPolicy.c
14567 - (nm_policy_activation_finish): fix up meaning of
14568 automatic/user_requested
14570 2005-12-17 Dan Williams <dcbw@redhat.com>
14573 - More applet cleanups
14574 - Use the dbus-method-dispatcher
14576 * libnm-util/dbus-method-dispatcher.[ch]
14577 - Generalize the implementation from NM in
14578 NetworkManagerUtils.c
14580 2005-12-16 Dan Williams <dcbw@redhat.com>
14583 - Fix up the passphrase dialog to use all the
14584 WirelessSecurityOption stuff (untested)
14586 2005-12-16 Dan Williams <dcbw@redhat.com>
14588 * Move nm_gconf_get_*_helper() functions to separate files,
14589 gconf-helpers.c & gconf-helpers.h
14591 * New NMGConfWSO objects for managing the gconf side of things.
14592 Eventually these should be merged with the
14593 WirelessSecurityOption objects and a common base (that can
14594 serialize/deserialize from dbus & gconf) should be
14595 refactored out, but for now they are separate.
14597 2005-12-16 Robert Love <rml@novell.com>
14599 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14600 binaries unless they exist (nm_spawn_process() emits a warning if
14601 asked to spawn a non-existant process).
14603 2005-12-16 Dan Williams <dcbw@redhat.com>
14605 * gnome/applet/applet-dbus-info.c
14606 - Clean up lots of gconf-related code
14608 2005-12-16 Robert Love <rml@novell.com>
14610 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14612 2005-12-16 Dan Williams <dcbw@redhat.com>
14614 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14616 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14617 bits still to be done)
14619 2005-12-16 Dan Williams <dcbw@redhat.com>
14621 * Finally move info-daemon related stuff out of
14622 NetworkManagerDbus.c to nm-dbus-nmi.c
14624 2005-12-16 Dan Williams <dcbw@redhat.com>
14626 * Kill auth_method for access points, since that's now done
14627 by NMAPSecurity objects
14629 * Add a copy-constructor of sorts to NMAPSecurity
14630 (how do you do this properly in glib???)
14632 2005-12-15 Dan Williams <dcbw@redhat.com>
14634 * Exorcise encryption key hashing on APs
14635 * Use libnm-util's serialization/deserialization in both the
14637 * Random other stuff
14639 2005-12-15 Robert Love <rml@novell.com>
14641 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14642 is being added to the icon naming spec, so let's use that (Tango CVS
14643 has the icon). Because it is new, however, we fall back to the
14644 current "gnome-lockscreen" if the new icon is not around, thus
14645 behavior is the same.
14646 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14649 2005-12-15 Robert Love <rml@novell.com>
14651 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14652 well, help to give. Couple other misc. bits.
14654 2005-12-15 Dan Williams <dcbw@redhat.com>
14656 * libnm-util/dbus-helpers.[ch]
14657 - Make this the one-stop-shop for serializing/deserializing
14658 AP & connection security settings over dbus. Both NM
14659 and applets should use this to ensure consistent dbus
14660 API going forwared.
14662 2005-12-15 Robert Love <rml@novell.com>
14664 Patch by Timo Hoenig <thoenig@suse.de>:
14665 * src/NetworkManagerDbus.c
14666 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14667 if HAL jumps off the system bus. Otherwise libdbus
14668 (dbus_connection_dispatch) will try to run the filter
14669 function of our libhal context which is already freed.
14671 2005-12-15 Alexander Shopov <ash@contact.bg>
14673 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14675 2005-12-14 Dan Williams <dcbw@redhat.com>
14677 * include/NetworkManager.h
14678 src/NetworkManagerWireless.c
14679 - Rearrange 802.11 wireless-specific capabilities again
14682 - Forgot to add wpa.c/wpa.h to the makefiles
14684 * src/NetworkManagerAP.[ch]
14685 - Implement access point capabilities and parse the
14686 WPA/RSN IEs into the capability bitfield
14687 - Switch the "encrypted" attribute to utilize the bitfield
14688 and capabilities rather than being independent
14690 * src/NetworkManagerDevice.c
14691 - (nm_device_wireless_get_activation_ap): break it horribly
14692 until we can push NMAPSecurity objects into access point
14693 objects and through the activation chain
14694 - Stuff WPA & RSN IEs into AP capabilities
14697 - Take a shot at actually making setActiveDevice work
14700 - Make the API a bit saner
14702 2005-12-14 Dan Williams <dcbw@redhat.com>
14704 * include/NetworkManager.h
14705 - Add 802.11-specific capability for 802.1x key
14709 - Pull in WPA IE and RSN IE parsing code from
14710 wpa_supplicant so we can determine access point
14712 - Move WPA-related constants here from NetworkManagerAP.h
14713 and NetworkManagerDevice.c
14715 * src/NetworkManagerDevice.c
14716 src/NetworkManagerAP.[ch]
14717 - Use WPA-related constants from wpa.h
14719 2005-12-14 Dan Williams <dcbw@redhat.com>
14721 * include/NetworkManager.h
14722 - Update and split 802.11 wireless-specific capabilities from
14723 generic device capabilities
14725 * src/NetworkManagerDevice.c
14726 src/NetworkManagerDevicePrivate.h
14727 - (nm_device_wireless_discover_capabilities): Move 802.11
14728 wireless-specific capability checks to
14729 NetworkManagerWireless.c
14730 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14731 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14733 * src/NetworkManagerWireless.[ch]
14734 - (nm_802_11_wireless_discover_capabilities): Check extended
14735 802.11 wireless-specific capabilities of the driver
14737 2005-12-14 Robert Love <rml@novell.com>
14739 Patch from Stefan Scheler <sscheler@suse.de>:
14740 * src/NetworkManagerDevice.c: call backend code to activate and
14742 * src/NetworkManagerSystem.h: add new NIS interfaces.
14743 * src/backends/NetworkManagerDebian.c,
14744 src/backends/NetworkManagerGentoo.c,
14745 src/backends/NetworkManagerRedHat.c,
14746 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14748 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14750 2005-12-14 Dan Williams <dcbw@redhat.com>
14752 * src/nm-ap-security*.[ch]
14753 - Add AP security abstractions to NetworkManager
14755 * src/nm-dbus-device.c
14756 - Begin to parse new format dbus messages from the applet
14757 and construct an AP security object from the message
14759 * libnm-util/dbus-helpers.c
14760 - Use message iters so we can append the key as a fixed
14761 array of bytes, which actually works rather than
14762 using dbus_message_append_args() as we were before
14764 2005-12-14 Dan Williams <dcbw@redhat.com>
14766 * src/NetworkManagerDbus.c
14767 gnome/applet/applet-dbus.c
14768 - Fix up dbus service replacement options. The applet
14769 should allow replacement, NM itself should not.
14771 2005-12-13 Robert Love <rml@novell.com>
14773 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14774 Instead, fail silently if config is NULL by not asserting and not
14775 returning FALSE. Also, make sure we always fclose() the file.
14777 2005-12-13 Robert Love <rml@novell.com>
14779 Patch by Stefan Scheler <sscheler@suse.de>:
14780 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14781 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14782 via DHCP. Still need the backends to commit the NIS domain name and
14783 and servers to yp.conf as needed.
14785 2005-12-13 Robert Love <rml@novell.com>
14787 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14788 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14790 2005-12-13 Robert Love <rml@novell.com>
14792 * src/named-manager/nm-named-manager.c: Don't unref the config until
14793 after we call rewrite_resolv_conf(), because get_last_default_domain()
14794 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14795 `config != NULL' failed" assertion failures and "Could not commit DNS
14798 2005-12-12 Dan Williams <dcbw@redhat.com>
14800 * libnm-util/dbus-helpers.[ch]
14801 libnm-util/Makefile.am
14802 - new helper calls to consolidate locations where
14803 NM's setDevice method is called
14805 * gnome/applet/applet-dbus-devices.c
14806 gnome/applet/wireless-security-option.c
14808 - Implement dbus message param append function for
14809 all wireless security options
14811 2005-12-12 Robert Love <rml@novell.com>
14813 * libnm-util/cipher-wep-passphrase.c,
14814 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14815 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14816 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14817 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14818 When handling keys, we don't care what the sign is. The compiler
14819 guarantees us that we get our 8-bits, which is all we care about.
14820 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14822 2005-12-12 Dan Williams <dcbw@redhat.com>
14824 * gnome/applet/applet-dbus-devices.[ch]
14825 gnome/applet/applet.c
14826 gnome/applet/other-network-dialog.c
14827 gnome/applet/wireless-security-manager.[ch]
14828 gnome/applet/wireless-security-option.[ch]
14830 - Push the wireless security options further into the applet
14832 2005-12-12 Robert Love <rml@novell.com>
14834 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14835 return any name servers. That is perfectly valid. (Novell #134369).
14837 2005-12-11 Dan Williams <dcbw@redhat.com>
14839 * gnome/applet/wso-*
14840 gnome/applet/wireless-security-option.*
14841 gnome/applet/Makefile.am
14842 - split each security option out so we can eventually
14843 have each one build up their own dbus message
14844 arguments to send to NM
14846 2005-12-11 Dan Williams <dcbw@redhat.com>
14848 * Make validation of the key work correctly
14850 2005-12-11 Dan Williams <dcbw@redhat.com>
14852 * Hook more bits of the Other Network Dialog up to the
14853 wireless security manager stuff, and restructure
14854 bits of the dialog so there's less code.
14856 2005-12-10 Dan Williams <dcbw@redhat.com>
14858 * gnome/applet/Makefile.am
14859 - Add libnm-util to includes
14860 - Add libnm-util to link list
14861 - Add wireless-security-common.* to compile list
14863 * gnome/applet/other-network-dialog.c
14864 - Convert to using the WirelessSecurityManager code and
14867 * gnome/applet/passphrase-dialog.c
14868 - Comment out references to stuff in the glade file that
14869 cause runtime errors until it can be fixed up
14870 to use the WirelessSecurityManager code
14872 * gnome/applet/wireless-applet.glade
14873 - Rename some widgets
14874 - Add widgets for the WirelessSecurityManager code
14875 - Remove passphrase-related stuff since that's now
14876 handled by the WirelessSecurityManager code
14878 2005-12-10 Dan Williams <dcbw@redhat.com>
14880 * gnome/applet/applet-dbus-devices.c
14881 - Print out error message details for dbus pending call callbacks
14882 - Move nmwa_dbus_update_devices() up
14884 * gnome/applet/applet-dbus-vpn.c
14885 - Print out error message details for dbus pending call callbacks
14887 2005-12-10 Dan Williams <dcbw@redhat.com>
14891 - Remove cipher-manager.* because we don't need it
14892 - Forgot to add gnome-keyring-md5 files to compile list
14894 2005-12-09 Dan Williams <dcbw@redhat.com>
14899 - Add a utility library for clients of NetworkManager. It's
14900 only targetted at applets for the moment, and contains
14901 a generalized 802.11 cipher framework for different
14902 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14904 2005-12-09 Robert Love <rml@novell.com>
14906 * src/NetworkManagerDevice.c: handle error better in
14907 nm_device_set_mode().
14909 2005-12-08 Robert Love <rml@novell.com>
14911 * include/NetworkManager.h: add WPA capabilities constants
14912 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14913 or WPA2 and add the capabilities bits as appropriate.
14915 2005-12-08 Robert Love <rml@novell.com>
14917 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14918 NetworkManagerDispatcher.
14919 * configure.in, initscript/SUSE/.cvsignore,
14920 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14923 2005-12-08 Robert Love <rml@novell.com>
14925 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14927 2005-12-08 Robert Love <rml@novell.com>
14929 * src/NetworkManagerDevice.c: We want to fall back on and default to
14930 IW_MODE_AUTO, not -1, which is more in line with our previous
14931 behavior. Otherwise, we try to set the wireless mode to -1 in
14932 nm_device_set_mode().
14934 2005-12-07 Robert Love <rml@novell.com>
14936 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14937 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14938 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14939 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14940 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14941 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14944 2005-12-07 Robert Love <rml@novell.com>
14946 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14947 supplied IP is invalid, fall back to DHCP.
14949 2005-12-07 Dan Williams <dcbw@redhat.com>
14951 * Convert NETWORK_MODE_* constants to IW_MODE_*
14952 * Make all the get_mode/set_mode functions take and return 'int'
14953 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14955 2005-12-07 Robert Love <rml@novell.com>
14957 * src/NetworkManagerDevice.c: strncpy() buffer check.
14958 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14960 2005-12-06 Dan Williams <dcbw@redhat.com>
14962 * gnome/applet/applet-dbus.c
14963 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14965 * gnome/applet/applet-dbus-vpn.c
14966 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14967 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14968 to TRUE here if stage was ACTIVATED
14970 2005-12-06 Dan Williams <dcbw@redhat.com>
14972 * Change nm_device_is_* functions to better names:
14973 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14974 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14976 2005-12-06 Dan Williams <dcbw@redhat.com>
14978 * Change naming of NMDeviceType to something more sensible:
14979 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14980 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14981 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14983 2005-12-06 Dan Williams <dcbw@redhat.com>
14985 * Move NetworkManager.h -> include/NetworkManager.h
14986 * Split out VPN stuff into include/NetworkManagerVPN.h
14987 * Fix up makefiles to include new location
14988 * Fix up sources to include NetworkManagerVPN.h
14990 2005-12-06 Dan Williams <dcbw@redhat.com>
14992 Various changes in the applet to move VPN connection "state" -> "stage",
14993 which it actually is. I'd like to change the signal as well when we
14994 break compat in the near future.
14996 2005-12-06 Dan Williams <dcbw@redhat.com>
14998 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14999 * initscript/Slackware/rc.networkmanager
15002 * src/backends/NetworkManagerSlackware.c
15003 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15006 2005-12-05 Robert Love <rml@novell.com>
15008 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15009 to free, particularly here as it just barfs.
15011 2005-12-05 Dan Williams <dcbw@redhat.com>
15013 * gnome/applet/applet-dbus.c
15014 - Work with dbus 0.6 too
15016 2005-12-03 Dan Williams <dcbw@redhat.com>
15018 * src/NetworkManagerUtils.[ch]
15019 src/nm-ip4-config.c
15020 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15021 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15023 2005-12-01 Robert Love <rml@novell.com>
15025 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15026 need a NULL for the '...' parameter, too, to fill the so-called
15029 2005-12-01 Robert Love <rml@novell.com>
15031 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15032 interface is already gone, so don't call rtnl_link_change() to down
15033 it (which will segfault, anyhow).
15035 2005-11-22 Robert Love <rml@novell.com>
15037 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15038 gateway is not set, just print a little note. Configurations without
15039 gateways are valid.
15041 2005-11-22 Robert Love <rml@novell.com>
15045 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15047 * configure.in: Added Finnish translation to ALL_LINGUAS
15049 2005-11-14 Robert Love <rml@novell.com>
15051 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15052 Niemueller <tim@niemueller.de>.
15054 2005-11-08 Dan Williams <dcbw@redhat.com>
15056 Patch from Bill Moss <bmoss@clemson.edu>
15057 * src/NetworkManagerDevice.c
15058 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15059 of nm_policy_schedule_activation_finish() to prevent a
15060 race condition that causes the link to be dropped
15062 2005-11-08 Dan Williams <dcbw@redhat.com>
15064 Patch from Bill Moss <bmoss@clemson.edu>
15065 * src/NetworkManagerAPList.c
15066 src/NetworkManagerDevice.c
15067 src/NetworkManagerDbus.c
15068 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15069 we get more readable ether/mac addresses
15071 2005-11-02 Christopher Aillon <caillon@redhat.com>
15073 * gnome/applet/main.c: Don't set the restart command. This fixes
15074 the issue where the restart command was getting copies of all its
15075 arguments for each time the applet was restarted.
15077 2005-11-02 Robert Love <rml@novell.com>
15079 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15080 if the widget state differs from our saved state. This ensures we
15081 do not enter an endless loop of death and destruction. Also, this
15082 guarantees us that we enforce the widget state.
15084 2005-11-02 Robert Love <rml@novell.com>
15086 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15087 * gnome/applet/applet-dbus-devices.c: invoke the new function
15088 nmwa_enable_wireless_set_active() to ensure that the state of the
15089 'Enable Wireless' checkbox matches the daemon's state. This is a
15090 concern because the daemon remembers the state.
15092 2005-11-02 Robert Love <rml@novell.com>
15094 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15095 Enabled", as checkboxes should be actions/commands not positive
15096 statements, otherwise they are confusing in the unselected case. See
15097 examples in GNOME HIG, Chapter 6.
15099 2005-11-02 Robert Love <rml@novell.com>
15101 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15102 show a list of wireless networks or the wireless devices or the
15103 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15104 a bad bug: If wireless is disabled and the user picks a wireless
15105 network, NM will switch to the network, only to immediately switch
15106 back, as wireless is disabled. This also reassures people that NM
15107 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15109 2005-11-02 Christopher Aillon <caillon@redhat.com>
15111 * gnome/applet/applet.c:
15112 * gnome/applet/applet.h:
15113 Partial backout of Dan's timeout animation patch.
15114 Timeout IDs cannot legally be 0, so revert the code in place to handle
15115 a timeout ID of 0 to denote the timeout isn't running.
15117 2005-11-02 Christopher Aillon <caillon@redhat.com>
15119 * src/NetworkManagerPolicy.c:
15120 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15122 2005-10-28 Robert Love <rml@novell.com>
15124 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15125 "Import Saved Configuration..." to make it clear that importing is
15126 not the next step, but an option. As an aside, a nice TODO would be
15127 to move Importing out of the vpn-specific dialog and into the main
15128 property editor, as Importing goes with Adding, but that will require
15129 some rearchitecting of the VPN stuff I suspect.
15131 2005-10-27 Dan Williams <dcbw@redhat.com>
15133 Start using libnl. You need 1.0-pre3 or higher. Eventually
15134 we should replace most of the distro-specific backend code
15137 Get it here: http://people.suug.ch/~tgr/libnl/
15141 - Add checks for libnl pkgconfig file
15142 - Use LIBNL_LIBS & LIBNL_CFLAGS
15144 * src/NetworkManagerSystem.c
15145 src/nm-ip4-config.[ch]
15146 - Use libnl rather than ioctl() for most things
15147 - Remove unused functions
15149 2005-10-27 Robert Love <rml@novell.com>
15151 * src/backends/NetworkManagerSuSE.c: fix warning message text
15153 2005-10-27 Christopher Aillon <caillon@redhat.com>
15155 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15157 2005-10-27 Christopher Aillon <caillon@redhat.com>
15159 * gnome/applet/applet.c: The applet's about dialog can advertise our
15160 project page <http://www.gnome.org/projects/NetworkManager/>
15162 2005-10-26 Christopher Aillon <caillon@redhat.com>
15164 * gnome/applet.c: Also use translator credits if we don't have
15165 the new GtkAboutDialog (older versions of GTK+)
15167 2005-10-26 Robert Love <rml@novell.com>
15169 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15170 failure; correct usage text for "--no-daemon"
15172 2005-10-25 Dan Williams <dcbw@redhat.com>
15174 * src/NetworkManagerDevice.c
15175 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15177 - (free_process_scan_cb_data): unref the device when freeing results
15178 - (nm_device_wireless_process_scan_results): free scan results a bit later
15179 so we don't unref the device underneath ourselves
15181 2005-10-25 Dan Williams <dcbw@redhat.com>
15183 * Back out 2005-10-24 commit from Tor Krill. Patch
15184 causes nameservers never to be removed from named.
15186 2005-10-24 Dan Williams <dcbw@redhat.com>
15188 Clean up wireless scanning and wireless link probing.
15190 * src/NetworkManagerDevice.c
15191 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15192 just see if there's an activation request on the device, and check the
15193 current link against the activation request access point's ESSID.
15194 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15195 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15196 don't call process_scan_results() on zero-length data
15197 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15198 15 seconds (from 10)
15200 2005-10-24 Dan Williams <dcbw@redhat.com>
15202 Cleanup some applet stuff:
15204 - Animation timeouts. If NM died while the applet was animating,
15205 the applet would not hide itself. This is now fixed.
15207 - Remove some dead code
15209 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15210 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15212 - Track animation timeout using a gboolean rather than the timeout's
15213 ID, since timeout IDs can legally be 0.
15215 2005-10-24 Dan Williams <dcbw@redhat.com>
15217 * src/backends/interface_parser.c
15218 - Add void to function declarations that need it
15219 to match patch from Engin AYDOGAN
15221 * src/backends/interface_parser.h
15222 - Remove unused prototype for ifparser_interfaces()
15224 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15225 * src/backends/interface_parser.h:
15226 - Compile fixes for gcc 4.0.2 (add void)
15228 2005-10-24 Dan Williams <dcbw@redhat.com>
15230 Patch from Tor Krill <tor@krill.nu>
15231 * src/named-manager/nm-named-manager.c
15232 - Write more than just the first nameserver to /etc/resolv.conf
15233 - Write out valid /etc/resolv.conf on exit
15235 2005-10-21 Christopher Aillon <caillon@redhat.com>
15237 * gnome/applet/applet-dbus-vpn.c:
15238 Get rid of spurious newlines in debug console output
15240 2005-10-21 Christopher Aillon <caillon@redhat.com>
15242 * src/backends/NetworkManagerGentoo.c:
15243 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15245 2005-10-20 Robert Love <rml@novell.com>
15247 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15248 direct comparison of floating point values, which is never correct.
15249 Also some misc. cleanup.
15251 2005-10-19 Robert Love <rml@novell.com>
15253 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15255 2005-10-19 Robert Love <rml@novell.com>
15257 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15258 sensitivity of the buttons. Specificaly, do the right thing if
15259 there are no entries.
15261 2005-10-19 Christopher Aillon <caillon@redhat.com>
15263 * configure.in: Update check for adequate wireless-tools
15264 with an AC_TRY_COMPILE for the new symbols we use.
15266 2005-10-19 Dan Williams <dcbw@redhat.com>
15268 * src/NetworkManagerDevice.c
15269 - (process_scan_results): don't drop the last (or only)
15270 access point we see
15272 2005-10-19 Christopher Aillon <caillon@redhat.com>
15274 * src/backends/NetworkManagerSlackware.c:
15275 Patch from Nico <lordllucifer@gmail.com>
15276 - Update the Slackware backend.
15278 2005-10-18 Christopher Aillon <caillon@redhat.com>
15280 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15281 if we've got GLib 2.8.0
15283 2005-10-18 Robert Love <rml@novell.com>
15285 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15286 function nm_schedule_state_change_signal_broadcast() when we
15287 deactivate a device, too.
15289 2005-10-18 Robert Love <rml@novell.com>
15291 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15292 be used uninitialized.
15294 2005-10-18 Christopher Aillon <caillon@redhat.com>
15296 * test/libnm_glib_test.c: Test unregistering, too.
15298 2005-10-17 Christopher Aillon <caillon@redhat.com>
15300 * configure.in: Bump to 0.5.0
15302 2005-10-17 Dan Williams <dcbw@redhat.com>
15305 - Remove WPA-related constants so they aren't part of the
15308 2005-10-17 Christopher Aillon <caillon@redhat.com>
15310 * gnome/applet/applet.c:
15311 * gnome/applet/applet.h:
15312 Desensitize the 'Connection Information' menu item when there is
15313 no active connection.
15315 2005-10-17 Christopher Aillon <caillon@redhat.com>
15317 * gnome/libnm_glib/libnm_glib.c:
15318 Make libnm_glib_unregister_callback () actually unregister the callback
15320 2005-10-17 Robert Love <rml@novell.com>
15322 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15323 two seconds -- tries is updated every 1/10 of a second, not every
15326 2005-10-17 Christopher Aillon <caillon@redhat.com>
15328 * gnome/applet/applet-dbus-info.c:
15329 Let D-BUS know that we haven't handled a message when we haven't.
15331 2005-10-17 Robert Love <rml@novell.com>
15333 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15334 in order to remain 64-bit clean.
15336 2005-10-17 Christopher Aillon <caillon@redhat.com>
15338 * gnome/applet/applet-dbus-info.c:
15339 Find network encryption keys asynchronously
15341 2005-10-17 Robert Love <rml@novell.com>
15343 * src/backends/NetworkManagerDebian.c,
15344 src/backends/NetworkManagerRedHat,
15345 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15348 2005-10-17 Robert Love <rml@novell.com>
15350 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15353 2005-10-17 Christopher Aillon <caillon@redhat.com>
15355 * src/NetworkManagerDevice.c: (process_scan_results)
15356 Fix logic that checks to see whether we have an ESSID.
15358 2005-10-15 Dan Williams <dcbw@redhat.com>
15360 Move scanning code into NetworkManager rather than use iwlib's
15361 iw_scan() function, so that we can figure out AP capabilities.
15364 - Add AP capability bits
15366 * src/NetworkManagerAP.[ch]
15367 - Add capability field to NMAccessPoint structure
15368 - Add WPA & RSN Information Element fields and accessor
15369 functions to NMAccessPoint
15371 * src/NetworkManagerDevice.c
15372 - Remove usage of iw_scan
15373 - Add scanning code to NetworkManager rather than use
15374 iw_scan() from iwlib
15376 * src/NetworkManagerUtils.[ch]
15377 - (nm_dispose_scan_results): remove, unused
15379 2005-10-14 Christopher Aillon <caillon@redhat.com>
15381 * gnome/libnm_glib/libnm_glib.c:
15382 * gnome/libnm_glib/libnm_glib.h:
15383 Use guint instead of gint for callback IDs.
15385 2005-10-12 Christopher Aillon <caillon@redhat.com>
15387 * gnome/applet/applet.c:
15388 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15389 every 1000ms. It will unconditionally call nmwa_update_state which
15390 kills the existing animation timeout and registers a new one with a
15391 callback to draw a new frame every 100ms. There are 11 connecting
15392 icon frames, so the last 2 frames kept getting dropped. Only reset
15393 the animation timeout if we aren't animating.
15395 2005-10-11 Dan Williams <dcbw@redhat.com>
15397 * gnome/applet/applet-dbus-devices.c
15398 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15399 We want to grab the product & vendor from net.physical_dev
15400 rather than info.parent.
15402 2005-10-11 Dan Williams <dcbw@redhat.com>
15404 * src/NetworkManagerDevice.c
15405 - Use the driver's WE version for scanning rather than
15406 the WE version NM was compiled with. Fixes random
15407 crashes in iw_scan () in iwlib.
15409 2005-10-10 Dan Williams <dcbw@redhat.com>
15411 * Remove nm_system_load_device_modules() from backend files
15412 and from NetworkManager.c
15414 2005-10-10 Dan Williams <dcbw@redhat.com>
15416 * src/NetworkManagerPolicy.c
15417 - Fix some bugs introduced by the capabilities patch
15419 2005-10-10 Dan Williams <dcbw@redhat.com>
15421 * gnome/applet/applet-dbus-info.c
15422 - (nmi_dbus_get_network_key): hide the menu when putting up
15423 the keyring dialog. (not sure if the code is right...)
15425 2005-10-09 Dan Williams <dcbw@redhat.com>
15427 Patch from Bill Moss <bmoss@clemson.edu>
15428 * src/NetworkManagerDevice.c
15429 - (nm_device_set_user_key_for_network): don't try to set auth
15430 mode on the AP from the allowed list if it's NULL
15432 2005-10-09 Dan Williams <dcbw@redhat.com>
15434 * Replace the "driver support level" stuff with capabilities. The
15435 capability field is a bitfield that is more flexible than the
15436 old driver support level thing. It's mostly so we can easily
15437 figure out what supports WPA and what doesn't, but should be
15438 quite useful later.
15440 2005-10-09 Dan Williams <dcbw@redhat.com>
15447 - Added new "nm-tool" tool that gives quite a bit more
15450 2005-10-07 Robert Love <rml@novell.com>
15452 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15453 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15454 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15455 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15458 2005-10-07 Robert Love <rml@novell.com>
15460 * configure.in: Change our compile flags for the betterment of mankind.
15461 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15462 prototype is very bad on 64-bit platforms as types default to int but
15463 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15464 "-Wmissing-declarations" to warn if we define an exported function
15465 but fail to put it in a header.
15467 2005-10-07 Robert Love <rml@novell.com>
15469 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15470 by the name nm_update_device_wireless_timeouts() and once tried,
15471 without success, to steal my pet turtle.
15473 2005-10-07 Robert Love <rml@novell.com>
15475 * Cleanup prototypes: put some functions in header files and mark
15476 others as 'static' -- feel free to invert
15477 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15478 nm_vpn_manager_vpn_connection_list_copy()
15479 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15480 nm_vpn_service_get_dbus_connection()
15481 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15482 nm_vpn_manager_vpn_connection_list_copy()
15483 * src/vpn-manager/nm-vpn-service.c: make
15484 nm_vpn_service_act_request_failed() and
15485 nm_vpn_service_stage2_daemon_wait() static
15486 * src/vpn-manager/nm-vpn-service.h: add prototype for
15487 nm_vpn_service_get_dbus_connection()
15489 2005-10-06 Christopher Aillon <caillon@redhat.com>
15491 * gnome/applet/applet.c:
15492 * gnome/applet/applet.h:
15493 * gnome/applet/icons/Makefile.am:
15494 Convey information about the current connection stage in the
15495 icons themselves instead of creating a separate progress bar.
15497 2005-10-04 Robert Love <rml@novell.com>
15499 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15500 convert an ether_addr structure's MAC into a string, because the
15501 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15502 versus 07:3B:04, while the former will not.
15504 2005-10-04 Robert Love <rml@novell.com>
15506 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15507 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15508 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15509 default route in the 'Connection Information' dialog, send primary
15510 and secondary name servers in in "getProperties" DBUS method, add
15511 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15512 secondary domain name servers are crucial pieces of information
15513 that a user might need in debugging a network problem.
15515 2005-10-04 Robert Love <rml@novell.com>
15517 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15518 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15519 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15520 default route in the 'Connection Information' dialog, send default
15521 route in "getProperties" DBUS method, add network_device_set_route(),
15522 and network_device_get_route(). The Gateway is a crucial piece of
15523 connection-related information that a user might need in debugging a
15526 2005-10-03 Robert Love <rml@novell.com>
15528 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15531 2005-10-02 Dan Williams <dcbw@redhat.com>
15533 * Shorten time taken to sleep by fastpathing bits of device deactivation
15534 necessary for sleep.
15536 * Fix issue where deactivating a device might deactivate the active
15537 VPN connection, even if the VPN was not using the device.
15539 2005-10-02 Dan Williams <dcbw@redhat.com>
15541 * gnome/applet/applet.c
15542 - Adjust signal strength -> icon mapping values slightly
15543 (so that 51% signal doesn't show a 75% icon) by adding
15544 5% to the values. ex: > 5% now shows 25% icon, > 30%
15545 shows 50% icon, etc.
15547 2005-09-29 Robert Love <rml@novell.com>
15549 * src/NetworkManager.c: removed unused variable.
15551 2005-09-28 Dan Williams <dcbw@redhat.com>
15553 Support for named + DBus, using Red Hat DBus patches for named. You
15554 can find those patches here, with "dbus" in the patch's filename:
15556 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15558 Don't forget the named dbus service file either.
15560 Instead of writing a config file and spawing a named process, NM will
15561 use an already-running dbus-enabled named if it finds one. NM will
15562 update named's forwarder configuration on the fly using dbus.
15564 If there is no dbus-enabled named running, NM will automatically fall
15565 back to writing the most-recent DNS server information to /etc/resolv.conf
15566 and calling nm_system_update_dns() to kick the system's resolver.
15568 Accordingly, all named-related configure-time options have been removed.
15570 2005-09-26 Robert Love <rml@novell.com>
15572 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15574 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15575 bug in error path if "ASKPASSWORD" is "no".
15577 2005-09-26 Robert Love <rml@novell.com>
15579 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15580 comment in /etc/resolv.conf -- ';' is not.
15582 2005-09-19 Dan Williams <dcbw@redhat.com>
15584 * src/backends/NetworkManagerRedHat.c:
15585 * src/backends/NetworkManagerDebian.c:
15586 * src/backends/NetworkManagerSlackware.c:
15587 * src/backends/NetworkManagerGentoo.c:
15588 * src/backends/NetworkManagerSUSE.c:
15589 Fix invocations of "/sbin/ip address" to use short form instead
15591 2005-09-19 Christopher Aillon <caillon@redhat.com>
15593 * src/nm-dbus-device.c: Don't assert when getting
15594 addresses of a not yet connected interface.
15596 * gnome/applet/applet.c: Free icons if loading fails.
15597 Use translator-credits so translators can make themselves known.
15599 2005-09-15 Christopher Aillon <caillon@redhat.com>
15601 * src/NetworkManagerAP.c:
15602 * src/NetworkManagerAP.h:
15603 * src/NetworkManagerDevice.c:
15604 Set a blacklist for certain common manufacturer default ESSIDs:
15605 APs with these ESSIDs are extremely likely to be completely
15606 different networks: connecting to one should not make NM
15607 auto-connect to every other AP with the same default ESSID.
15609 2005-09-12 Christopher Aillon <caillon@redhat.com>
15611 * gnome/applet/wireless-applet.glade:
15612 The passphrase entry should also activate the default
15614 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15616 * gnome/applet/applet-dbus-devices.c:
15617 * gnome/applet/applet.c:
15618 * gnome/applet/nm-device.c:
15619 * gnome/applet/nm-device.h:
15620 * src/NetworkManagerUtils.c:
15621 * src/NetworkManagerUtils.h:
15622 * src/nm-dbus-device.c:
15623 I've got a fever, and the only cure for it is less ioctl.
15624 Make NM push IP data rather than make the applet open a socket
15627 2005-09-10 Christopher Aillon <caillon@redhat.com>
15629 * gnome/applet/applet.c:
15630 * gnome/applet/applet-dbus-devices.c:
15631 * gnome/applet/applet-dbus-info.c:
15632 * gnome/applet/passphrase-dialog.c:
15633 * gnome/libnm_glib/libnm_glib.c:
15634 * gnome/vpn-properties/nm-vpn-properties.c:
15636 * src/backends/NetworkManagerRedHat.c:
15637 * src/named-manager/nm-named-manager.c:
15638 * src/NetworkManagerAPList.c:
15639 * src/NetworkManager.c:
15640 * src/NetworkManagerDbus.c:
15641 * src/NetworkManagerDevice.c:
15642 * src/NetworkManagerPolicy.c:
15643 * src/NetworkManagerSystem.c:
15644 * src/nm-dbus-device.c:
15645 * src/nm-dbus-nm.c:
15646 * src/vpn-manager/nm-vpn-manager.c:
15647 * src/vpn-manager/nm-vpn-service.c:
15648 * test/libnm_glib_test.c:
15649 * test/nminfotest.c:
15650 * test/nmtestdevices.c:
15651 Fix a bunch of 'unused variable' compiler warnings
15653 * NetworkManager.h:
15654 * gnome/applet/applet-dbus-info.c:
15655 * gnome/applet/applet-dbus-info.h:
15656 * gnome/applet/applet.c:
15657 * gnome/applet/applet.h:
15658 * src/NetworkManager.c:
15659 * src/NetworkManagerDbus.c:
15660 * src/NetworkManagerDbus.h:
15661 * src/NetworkManagerDevice.c:
15662 * src/NetworkManagerDevice.h:
15663 * src/NetworkManagerMain.h:
15664 * src/NetworkManagerWireless.c:
15665 * src/NetworkManagerWireless.h:
15666 * src/nm-dbus-nm.c:
15667 Make NetworkManager be smart about how frequently to scan
15668 based on its current state. Remove the UI for choosing when
15669 to scan. Scanning still may disabled completely by the user
15670 via the "Wireless Enabled" menu item.
15672 2005-09-09 Christopher Aillon <caillon@redhat.com>
15674 * gnome/applet/applet.c:
15675 Also overlay the vpn connecting icons onto the wired icon,
15678 * gnome/vpn-properties/nm-vpn-properties.glade:
15679 Clean up a few strings to use better grammar and proper casing.
15681 2005-09-08 Christopher Aillon <caillon@redhat.com>
15683 * gnome/applet/vpn-connection.c:
15684 * gnome/applet/vpn-connection.h:
15685 Add nmwa_vpn_connection_is_activating ()
15687 * gnome/applet/applet.c:
15688 * gnome/applet/applet.h:
15689 * gnome/applet/icons/nm-vpn-connecting*.png:
15690 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15691 the user know something's happening between clicking the VPN item and it
15692 actually being connected.
15694 2005-09-07 Christopher Aillon <caillon@redhat.com>
15696 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15697 failure case as well.
15699 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15701 * gnome/panel/eggtrayicon.[ch]:
15702 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15704 2005-09-07 Dan Williams <dcbw@redhat.com>
15706 Patch from Bill Moss <bmoss@clemson.edu>
15707 * src/applet-dbus.c
15708 - (nmwa_dbus_filter): strip whitespace from beginning
15709 and end of VPN login banner
15711 2005-09-07 Dan Williams <dcbw@redhat.com>
15713 * The great VPN Manager rewrite of 2005
15715 2005-09-07 Christopher Aillon <caillon@redhat.com>
15717 * gnome/applet/menu-items.c:
15718 * gnome/applet/nm-device.c:
15719 * gnome/applet/wireless-network.c:
15720 * gnome/libnm_glib/libnm_glib.c:
15721 * src/NetworkManagerDbusUtils.c:
15722 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15723 g_malloc0 doesn't return NULL
15725 2005-09-06 Dan Williams <dcbw@redhat.com>
15727 Patch from Tomislav Vujec <tvujec@redhat.com>
15728 * src/NetworkManagerDevice.c
15729 - (nm_get_device_by_udi): don't return a device when we
15730 actually didn't find what we were looking for
15732 2005-09-06 Christopher Aillon <caillon@redhat.com>
15734 * gnome/applet/applet-dbus-devices.c:
15735 * gnome/applet/applet-dbus-devices.h:
15736 * gnome/applet/applet-dbus.c:
15737 * src/NetworkManagerDbus.c:
15738 * src/NetworkManagerDbus.h:
15739 * src/NetworkManagerDevice.c:
15740 * src/nm-dbus-device.c:
15741 Make NM push updates about active device strength when it changes,
15742 rather than having the applet poll every 2s.
15744 2005-09-05 Christopher Aillon <caillon@redhat.com>
15746 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15747 network_device_set_strength
15749 2005-09-04 Dan Williams <dcbw@redhat.com>
15751 Patch from Bill Nottingham <notting@redhat.com>
15752 * src/NetworkManagerDevice.c
15753 - (nm_device_activation_cancel): reset the quit_activation flag
15755 2005-09-04 Dan Williams <dcbw@redhat.com>
15757 * src/nm-activation-request.c
15758 - (nm_act_request_unref): actually free the structure,
15759 which we didn't seem to be doing before
15761 2005-09-04 Dan Williams <dcbw@redhat.com>
15763 Patch from John Palmieri <johnp@redhat.com>
15764 * gnome/applet/applet-dbus-devices.c
15765 - Fix up unreffing of DBusMessage objects
15767 2005-09-04 Dan Williams <dcbw@redhat.com>
15769 Patch from John Palmieri <johnp@redhat.com>
15770 * gnome/applet/nm-device.c
15771 - (nm_device_unref): clear network_device's memory _before_ freeing it
15773 2005-09-02 Christopher Aillon <caillon@redhat.com>
15775 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15777 2005-09-02 Bill Nottingham <notting@redhat.com>
15779 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15781 2005-09-01 Dan Williams <dcbw@redhat.com>
15783 * src/NetworkManager.c
15784 - (nm_remove_device_from_list): rename to nm_remove_device
15785 - (nm_hal_device_removed): call nm_remove_device()
15787 * src/NetworkManagerDevice.c
15788 - Change the NMWirelessScanCB member 'reschedule' which
15789 wasn't used to 'force' to indicate that we need to
15790 force a scan when adding a device
15793 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15794 from the device list
15795 - (nm_dbus_nm_wake): Re-add all devices to the device list
15797 2005-09-01 Robert Love <rml@novell.com>
15799 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15800 and the check "!iface" in the error case is probably never true.
15802 2005-09-01 Dan Williams <dcbw@redhat.com>
15804 Patch from Bill Nottingham <notting@redhat.com>
15805 * src/backends/NetworkManagerRedHat.c
15806 - Add initial dialup support to Red Hat/Fedora backend
15808 2005-09-01 Dan Williams <dcbw@redhat.com>
15810 * gnome/applet/applet-dbus-devices.c
15811 - Sort both wireless networks and devices again, which got
15812 broken when removing threading
15814 2005-09-01 Christopher Aillon <caillon@redhat.com>
15816 * gnome/applet/applet.c:
15817 Only show the "Stop/Start All Wireless Devices" menuitem
15818 if we actually have wireless devices.
15820 * gnome/applet/applet-dbus-info.c:
15821 * gnome/applet/applet.c:
15822 * gnome/applet/other-network-dialog.c:
15823 * gnome/applet/vpn-password-dialog.c:
15824 Drop the gtk_dialog_run () calls in favor of connecting to
15825 "response" signals, needed now that the applet is not threaded.
15827 2005-08-31 Dan Williams <dcbw@redhat.com>
15829 Patch from Bill Moss <bmoss@clemson.edu>
15830 * src/NetworkManagerDevice.c
15831 - (nm_device_wireless_scan): fix scan timeout values
15833 2005-08-30 Dan Williams <dcbw@redhat.com>
15835 * gnome/applet/wireless-applet.glade
15836 - HIG-ify the Other Wireless Networks dialog a bit more
15837 - Fix some potential segfaults in the info dialog
15839 2005-08-30 Dan Williams <dcbw@redhat.com>
15841 * gnome/applet/applet-dbus-devices.c
15842 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15844 2005-08-30 Dan Williams <dcbw@redhat.com>
15846 * gnome/applet/applet-dbus.[ch]
15847 - Remove all the nmwa_dbus_call_method_xxxx functions since
15848 they weren't being used anyway
15850 2005-08-30 Bastien Nocera <hadess@hadess.net>
15852 * test/nmtestdevices.c: (print_usage), (main):
15853 Check the number of arguments, and fix a typo
15855 2005-08-29 Dan Williams <dcbw@redhat.com>
15857 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15858 * gnome/applet/applet.c
15859 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15861 2005-08-29 Dan Williams <dcbw@redhat.com>
15864 - Don't use threads any more. Anything that blocks
15865 (like gtk_dialog_run()) will have to get fixed up which
15866 should happen quickly. We really only had threads to make
15867 the animation smooth, and when everything got converted over
15868 to DBus Pending Calls, the need for threads kind of went away
15870 2005-08-29 Christopher Aillon <caillon@redhat.com>
15872 * gnome/applet/applet.c: Draw VPN connections as radio items
15873 since we don't yet support multiple VPNs.
15874 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15875 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15877 2005-08-29 Dan Williams <dcbw@redhat.com>
15879 Patch from j@bootlab.org
15880 - Make --without-named work
15881 - Make --with-dhcdbd work correctly
15883 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15885 * configure.in: Added "ca" to ALL_LINGUAS.
15887 2005-08-26 Christopher Aillon <caillon@redhat.com>
15889 * Fix up VPN state handling between the applet and NetworkManager,
15890 so that the applet doesn't show a VPN as connected when one
15892 - The applet no longer has a pointer to the active VPN's
15893 name, but tracks each VPNs state individually
15894 - NM no longer has a "getActiveVPNConnection" method
15895 - NM no longer broadcasts the "VPNConnectionChange" signal
15896 - NM now broadcasts a "VPNConnectionStateChange" signal
15897 whenever the state of a VPN changes
15899 2005-08-26 Dan Williams <dcbw@redhat.com>
15901 * gnome/applet/applet-dbus-devices.c
15902 gnome/applet/applet-dbus-vpn.c
15903 - Remove calls to dbus_pending_call_ref() because we already
15904 "own" the pending call
15905 - Remove calls to dbus_pending_call_get_completed() because
15906 when we are in the callback, the pending call is completed
15909 2005-08-22 Dan Williams <dcbw@redhat.com>
15911 Patch by Bill Moss <bmoss@clemson.edu>
15912 * src/dhcp-manager/nm-dhcp-manager.c
15913 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15914 some time to send out a RELEASE if they like
15916 2005-08-22 Dan Williams <dcbw@redhat.com>
15918 Noticed by Bill Moss <bmoss@clemson.edu>
15919 * src/NetworkManagerDbus.c
15920 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15921 instead of just cancelling its activation
15923 * src/NetworkManagerDevice.c
15924 - (nm_device_deactivate): some small cleanups
15925 - (nm_device_set_user_key_for_network): deactivate the device
15926 instead of just cancelling its activation
15928 2005-08-22 Dan Williams <dcbw@redhat.com>
15930 Noticed by Bill Moss <bmoss@clemson.edu>
15931 * src/NetworkManagerDevice.c
15932 - (nm_device_wireless_scan): fix scan timeout, we were
15933 waiting way too long for scans to complete
15935 2005-08-22 Dan Williams <dcbw@redhat.com>
15937 Patch from j@bootlab.org:
15938 * src/backends/NetworkManagerDebian.c
15939 - Make the Debian backend work for static IP again
15941 2005-08-20 Christopher Aillon <caillon@redhat.com>
15943 * gnome/applet/other-network-dialog.c:
15944 The "Create New Network" and "Connect to Other Network"
15945 dialogs share alot of code, but shouldn't share a window
15946 title. Give them different ones.
15948 * gnome/applet/wireless-applet.glade:
15949 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15950 Some more minor UI tweaks.
15952 2005-08-19 Christopher Aillon <caillon@redhat.com>
15954 * gnome/applet/other-network-dialog.c:
15955 * gnome/applet/wireless-applet.glade:
15956 Also need mnemonic widgets, and underline enabled.
15958 2005-08-19 Dan Williams <dcbw@redhat.com>
15960 * vpn-daemons/vpnc/nm-vpnc-service.c
15961 - (vpnc_watch_cb): remove no-longer-relevant comment
15962 - (write_config_option): new function, helper to write
15963 config options to vpnc's stdin
15964 - (nm_vpnc_config_write): use the new helper, make the
15967 2005-08-19 Christopher Aillon <caillon@redhat.com>
15969 * gnome/applet/passphrase-dialog.c:
15970 * gnome/applet/wireless-applet.glade:
15971 Make the passphrase dialog response based, and treat
15972 responses other than OK (such as Esc, [X]) as a cancel.
15974 2005-08-18 Christopher Aillon <caillon@redhat.com>
15976 * initscript/Gentoo/NetworkManager:
15977 * initscript/RedHat/NetworkManager:
15978 * initscript/RedHat/NetworkManagerDispatcher:
15979 * initscript/SUSE/networkmanager:
15980 CVS remove these in place of .in replacements
15983 * initscript/Gentoo/NetworkManager.in:
15984 * initscript/RedHat/NetworkManager.in:
15985 * initscript/RedHat/NetworkManagerDispatcher.in:
15986 * initscript/SUSE/networkmanager.in:
15987 These scripts now are generated so they work still when
15988 NM is built using a bindir other than /usr/bin
15990 2005-08-18 Dan Williams <dcbw@redhat.com>
15992 * gnome/applet/main.c
15993 - Revert previous change for --no-session since
15994 --sm-disable does the same thing
15996 2005-08-18 Dan Williams <dcbw@redhat.com>
15998 * gnome/applet/applet-dbus-info.c
15999 - (nmi_dbus_create_error_message): new function
16000 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16001 functions. Also don't check for both device _and_ network before
16002 asking for a user's key, because we may not have gotten all our
16003 networks back from NM quite yet (due to the dbus pending calls
16004 coming in later). Fixes a hang in NM/nm-applet.
16006 * src/NetworkManagerDbus.c
16007 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16008 slightly more sane manner, even though we are still broken for
16009 certain other error conditions.
16010 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16011 to the info-daemon too
16013 * src/NetworkManagerDevice.c
16014 - Fix some debug messages to be info messages instead
16016 2005-08-18 Dan Williams <dcbw@redhat.com>
16018 * gnome/applet/main.c
16019 - Add new "--no-session" parameter that disables applet
16020 session management, ie for testing
16022 2005-08-18 Christopher Aillon <caillon@redhat.com>
16024 * gnome/applet/other-network-dialog.c:
16025 * gnome/applet/wireless-applet.glade: More mnemonics
16027 2005-08-17 Robert Love <rml@novell.com>
16029 * initscript/SUSE/networkmanager: update
16031 2005-08-17 Dan Williams <dcbw@redhat.com>
16033 * Tag NM_0_4_1_RELEASE
16035 2005-08-17 Christopher Aillon <caillon@redhat.com>
16037 * gnome/applet/applet.c: More translatable string cleanup
16040 2005-08-17 Dan Williams <dcbw@redhat.com>
16042 * gnome/applet/applet-dbus-info.c
16043 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16044 from the dbus message, which tells us to unconditionally
16045 ask the user for a new key. Otherwise, we pull the key from
16046 the keyring and return it. If we fail to get the key from the
16047 keyring, we ask the user for a new key.
16048 - (nmi_dbus_get_network_key): new function to grab the key for
16049 an essid from the keyring.
16050 - (nmi_dbus_get_network_properties): don't access the keyring here.
16051 Also, don't return any key in the dbus message.
16053 * src/NetworkManagerDbus.[ch]
16054 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16055 indicate that we unconditionally want a new key. This function
16056 is now also used to get keys from the info-daemon which are
16057 pre-stored, not just for asking the user for a new key. The
16058 "new_key" parameter indicates whether or not we wish to ask the
16059 user for a new key.
16060 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16061 info-daemon in the return message, so use NULL instead. The
16062 key will be filled in at connect time by calling
16063 nm_dbus_get_user_key_for_network()
16065 * src/NetworkManagerDevice.c
16066 - (nm_device_wireless_configure): update for "new_key" param to
16067 nm_dbus_get_user_key_for_network(). We initially set new_key
16068 to FALSE to see if we have a stored key in the info-daemon, but
16069 if the connection is unsuccessful at this stage we request a
16072 2005-08-17 Dan Williams <dcbw@redhat.com>
16074 * gnome/applet/icons/nm-no-connection.png
16075 gnome/applet/icons/nm-device-wired.png
16076 - Use Diana's new RJ45 connector icons
16078 2005-08-17 Dan Williams <dcbw@redhat.com>
16080 * src/NetworkManagerPolicy.c
16081 - (nm_policy_device_change_check): clarify switching rules if
16082 both new and old devices are valid; mainly, don't switch
16083 away from user-requested wireless connection back to a wired
16086 2005-08-17 Dan Williams <dcbw@redhat.com>
16088 * gnome/applet/Makefile.am
16089 - Relocate the applet to /usr/bin since it is no longer
16090 executed by anything, but directly by the user
16092 2005-08-17 Dan Williams <dcbw@redhat.com>
16094 Patch from Bill Moss <bmoss@clemson.edu>
16096 * gnome/applet/applet-dbus-info.[ch]
16097 - (nmi_save_network_info): save timestamp for network if it
16098 was a change requested by the user
16099 - (nmi_dbus_update_network_info): get user_requested from dbus
16100 message and pass to nmi_save_network_info()
16102 * gnome/applet/applet.c
16103 - (nmwa_update_network_timestamp): remove
16104 - (nmwa_menu_item_activate): don't set timestamp on networks
16105 here, only after a successful connect in nmi_save_network_info()
16107 * src/NetworkManagerDbus.[ch]
16108 - (nm_dbus_update_network_info): pass user_requested into the
16111 * src/NetworkManagerPolicy.c
16112 - (nm_policy_activation_finish): pass user_requested to
16113 nm_dbus_update_network_info()
16115 2005-08-16 Robert Love <rml@novell.com>
16117 * gnome/applet/applet.c: Better "Dial Up" menu item.
16119 2005-08-16 Robert Love <rml@novell.com>
16121 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16122 "Connection Information" menu item.
16124 2005-08-16 Dan Williams <dcbw@redhat.com>
16126 Patch from j@bootlab.org
16127 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16129 * configure.in: allow specifying the path to dhcdbd
16131 2005-08-16 Robert Love <rml@novell.com>
16133 Patch from j@bootlab.org
16134 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16135 src/backends/interface_parser.h: Debian dialup support.
16137 2005-08-16 Christopher Aillon <caillon@redhat.com>
16139 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16140 * gnome/applet/applet.c: Add some mnemonics for VPNC
16142 * vpn-daemons/.cvsignore: fix this up a little bit
16144 2005-08-16 Robert Love <rml@novell.com>
16146 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16149 2005-08-16 Christopher Aillon <caillon@redhat.com>
16151 * gnome/applet/applet.c: Split markup out of translatable strings
16152 and clean up logic a little bit. (fixes #309012)
16154 2005-08-15 Christopher Aillon <caillon@redhat.com>
16156 * gnome/vpn-properties/nm-vpn-properties.c:
16157 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16158 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16159 Makeshift fix to remove newlines from translatable strings.
16160 Note that we now return an allocated string, so callers of
16161 get_confirmation_details () must now call g_free () on the
16162 result. (fixes #309033).
16164 2005-08-12 Robert Love <rml@novell.com>
16166 * gnome/applet/applet-dbus.c: remove newlines from translatable
16167 strings--not needed here anyway. (fix b.g.o #309011)
16168 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16170 2005-08-11 Robert Love <rml@novell.com>
16172 * gnome/applet/applet.c: mark string as translatable.
16174 2005-08-11 Robert Love <rml@novell.com>
16176 * initscript/SUSE/networkmanager: update.
16178 2005-08-11 Dan Williams <dcbw@redhat.com>
16180 * src/nm-dhcp-manager.c
16181 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16182 an gateway returned from DHCP, try to use the address of the DHCP
16183 server as the gateway instead. Found by Ralf Ertzinger.
16185 2005-08-10 Robert Love <rml@novell.com>
16187 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16188 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16190 2005-08-10 Dan Williams <dcbw@redhat.com>
16192 Patch from Bill Moss <bmoss@clemson.edu>
16193 * Consolidate writes of access point information updates to the info daemon
16194 so that we only do it when the connection to the access point was
16195 successful. Also consolidates updates to GConf in the Gnome applet.
16197 * src/nm-netlink-monitor.c
16198 - Silence compile warning when calling g_object_new()
16200 2005-08-08 Dan Williams <dcbw@redhat.com>
16202 Patch from Steev <steev@steev.net>:
16203 * src/backends/NetworkManagerGentoo.c
16204 - Stub new dialup backend functions
16206 2005-08-08 Dan Williams <dcbw@redhat.com>
16208 Patch from Colin Slater:
16209 * src/backends/NetworkManagerGentoo.c
16210 - (nm_system_update_dns): Fix exit status check for restarting
16213 2005-08-05 Robert Love <rml@novell.com>
16215 * NetworkManager.h,
16216 gnome/applet/applet-dbus-devices.c,
16217 gnome/applet/applet-dbus-devices.h,
16218 gnome/applet/applet-dbus.c,
16219 gnome/applet/applet.c,
16220 gnome/applet/applet.h,
16221 src/NetworkManager.c,
16222 src/NetworkManagerMain.h,
16223 src/NetworkManagerSystem.h,
16224 src/backends/NetworkManagerRedHat.c,
16225 src/backends/NetworkManagerSuSE.c,
16226 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16228 2005-08-05 Robert Love <rml@novell.com>
16230 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16231 machine's hostname to make adhoc creation idiot-proof.
16233 2005-08-04 Robert Love <rml@novell.com>
16235 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16238 2005-08-04 Dan Williams <dcbw@redhat.com>
16240 * gnome/applet/applet-dbus-info.c
16241 gnome/applet/applet-dbus-info.h
16242 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16243 to store key, key type, and auth method rather than just auth method
16244 - (nmi_dbus_update_network_info): new function
16245 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16247 * gnome/applet/passphrase-dialog.c
16248 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16249 of saving the info ourselves
16251 * gnome/libnm_glib/libnm_glib.c
16252 - Remove the stupid version check for dbus
16254 * src/NetworkManagerAP.c
16255 src/NetworkManagerAP.h
16256 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16258 * src/NetworkManagerDbus.c
16259 src/NetworkManagerDbus.h
16260 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16261 more than just the auth method
16263 * src/NetworkManagerDevice.c
16264 - Update network info at the appropriate times
16266 2005-07-29 Ray Strode <rstrode@redhat.com>
16268 * src/NetworkManager.c (nm_info_handler): don't use input as format
16269 string (Spotted by Ian Jackson).
16271 2005-07-27 Dan Williams <dcbw@redhat.com>
16275 - Random cleanups of spacing
16277 * gnome/applet/applet.h
16278 gnome/applet/other-network-dialog.c
16279 gnome/applet/passphrase-dialog.c
16280 - Conslidate usage of NMWAEncryptionKeyTypes enum
16282 Patch from Bill Moss:
16283 - Make Other Wireless Networks work again with encryption keys
16285 2005-07-26 Dan Williams <dcbw@redhat.com>
16287 Patch from Steev <steev@steev.net>:
16288 * src/backends/NetworkManagerGentoo.c
16289 src/backends/Makefile.am
16290 - Fix up Gentoo backend
16292 2005-07-26 Robert Love <rml@novell.com>
16294 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16296 2005-07-25 Robert Love <rml@novell.com>
16298 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16299 in the same group as the wireless networks, since they are all
16300 mutually exclusive.
16302 2005-07-24 Ray Strode <rstrode@redhat.com>
16304 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16305 remove unneeded NULL arg from g_object_new(). Any
16306 warnings caused by not having the extra NULL are just a
16307 result of a bug in glib 2.7.0 - 2.7.2.
16309 2005-07-22 Robert Love <rml@novell.com>
16311 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16313 2005-07-22 Robert Love <rml@novell.com>
16315 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16316 parameters (gcc 4.0.2 warning fix).
16318 2005-07-18 Robert Love <rml@novell.com>
16320 Suggested by Aaron Bockover (abockover@novell.com)
16321 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16323 * gnome/applet/passphrase-dialog.c: ditto
16324 * gnome/applet/wireless-applet.glade: ditto
16326 2005-07-13 Dan Williams <dcbw@redhat.com>
16328 Patch from Ray Strode <halfline@gmail.com>
16329 * vpn-daemons/vpnc/nm-vpnc-service.c
16330 - Don't let vpnc daemonize, fixes some races with PID file reading
16332 2005-07-13 Dan Williams <dcbw@redhat.com>
16334 Patch from Ray Strode <halfline@gmail.com>
16335 * Random cleanups for strict CFLAGS
16337 2005-07-07 Dan Williams <dcbw@redhat.com>
16339 Patch from Derek Atkins <warlord@MIT.EDU>
16340 * src/nm-dbus-net.c:
16341 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16343 2005-07-07 Dan Williams <dcbw@redhat.com>
16345 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16346 * src/backends/NetworkManagerGentoo.c
16347 - Gentoo backend Static IP nameserver fixes
16348 - General Gentoo backend goodness
16350 2005-07-07 Dan Williams <dcbw@redhat.com>
16352 Patch from Bastien Nocera:
16353 * gnome/applet/applet.c
16354 - Fix up error reporting when icons or glade files are missing
16356 2005-07-07 Robert Love <rml@novell.com>
16358 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16359 are not any VPN connections above it.
16361 2005-07-07 Robert Love <rml@novell.com>
16363 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16365 2005-07-05 Robert Love <rml@novell.com>
16367 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16370 2005-07-05 Robert Love <rml@novell.com>
16372 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16373 on wired or unencrypted wireless.
16375 2005-07-01 Robert Love <rml@novell.com>
16377 * src/NetworkManagerSystem.c: Print the error via strerror().
16379 2005-06-30 Robert Love <rml@novell.com>
16381 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16382 then exit if the glade file is not found. currently the application
16385 2005-06-30 Robert Love <rml@novell.com>
16387 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16388 explicitly up all interfaces on wake from sleep.
16390 2005-06-30 Robert Love <rml@novell.com>
16392 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16393 with information about the currently active connection.
16394 * gnome/applet/applet.h: (ditto)
16395 * gnome/applet/wireless-applet.glade: (ditto), new file
16397 2005-06-30 Robert Love <rml@novell.com>
16399 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16400 * src/nm-dbus-nm.c: print when we sleep and wake up.
16401 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16402 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16403 in /sbin unless D-BUS is, folks).
16404 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16406 2005-06-27 Robert Love <rml@novell.com>
16408 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16411 2005-06-27 Robert Love <rml@novell.com>
16413 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16416 2005-06-26 Robert Love <rml@novell.com>
16418 * src/NetworkManagerDevice.c: be specific about which device in
16421 2005-06-23 Adam Weinberger <adamw@gnome.org>
16423 * src/nm-netlink-monitor.c: correct spelling error.
16425 2005-06-23 Robert Love <rml@novell.com>
16427 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16428 * gnome/applet/passphrase-dialog.c: more of that keyring!
16430 2005-06-23 Robert Love <rml@novell.com>
16432 * configure.in: remove extraneous GNOMEKEYRING directives.
16433 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16434 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16435 * gnome/applet/passphrase-dialog.c: whitespace.
16437 2005-06-23 Robert Love <rml@novell.com>
16439 * src/NetworkManagerDevice.c: division in assignment was flipped.
16441 2005-06-23 David Zeuthen <david@fubar.dk>
16443 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16444 signal to the child to indicate that we got what we wanted when we
16445 see two new-lines right after each other.
16446 (nmwa_vpn_request_password): Pass a structure with several members
16447 instead of just the passwords
16449 2005-06-23 Dan Williams <dcbw@redhat.com>
16451 * src/NetworkManager.c
16452 src/NetworkManagerMain.h
16453 - (nm_get_hal_ctx): new function, move Hal initialization code here
16454 - (nm_hal_init): new function, init libhal context then add devices
16455 - (nm_hal_deinit): new function, clean up libhal context
16456 - (nm_data_free): Move Hal cleanup here
16457 - (main): check whether Hal is running, and if so, get a list of
16458 network devices from it
16460 * src/NetworkManagerDbus.c
16461 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16462 and when it appears, get a list of network devices from it. If
16463 Hal goes away, clean up the libhal context
16465 2005-06-22 Robert Love <rml@novell.com>
16467 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16468 permissions of scripts before executing.
16470 2005-06-21 Robert Love <rml@novell.com>
16472 * initscript/SUSE/networkmanager: update.
16473 * src/backends/NetworkManagerSuSE.c: cleanup.
16475 2005-06-21 Robert Love <rml@novell.com>
16477 * gnome/applet/applet.c: use menu mnemonics.
16478 * gnome/applet/menu-items.c: (ditto)
16480 2005-06-21 Robert Love <rml@novell.com>
16482 * applet/applet-dbus-devices.c: mark non-static functions static.
16483 * applet/applet-dbus-vpn.c: (ditto)
16484 * applet/applet.c: (ditto)
16485 * applet/nm-device.h: (ditto)
16486 * applet/other-network-dialog.c: (ditto)
16487 * applet/passphrase-dialog.c: (ditto)
16488 * NetworkManager.c: (ditto)
16489 * NetworkManagerDbus.c: (ditto)
16490 * NetworkManagerDevice.c: (ditto)
16491 * NetworkManagerPolicy.c: (ditto)
16492 * NetworkManagerUtils.c: (ditto)
16493 * NetworkManagerWireless.c: (ditto)
16494 * NetworkManagerWireless.h: (ditto)
16495 * nm-netlink-monitor.c: (ditto)
16496 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16497 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16498 * autoip.c: include autoip.h.
16499 * autoip.h: new file. define get_autoip().
16500 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16501 * NetworkManagerDbus.h: remove duplicate definitions.
16503 2005-06-20 Robert Love <rml@novell.com>
16505 * Makefile.am: Add missing intltool-foo.in generated files to
16506 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16507 with the start of stuff to cleanup on 'distclea'.
16508 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16509 stuff right and 'distcheck' works.
16510 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16511 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16512 Makefile.am for each. And systray/Makefile needs to be redone.
16514 2005-06-19 Dan Williams <dcbw@redhat.com>
16516 * src/NetworkManagerDevice.c
16517 - (nm_device_wireless_process_scan_results): scan every 20s when
16518 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16520 2005-06-19 Dan Williams <dcbw@redhat.com>
16522 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16524 2005-06-18 Ray Strode <rstrode@redhat.com>
16526 * src/nm-netlink-monitor.c
16527 (nm_netlink_monitor_event_handler): check for the presence
16528 of either error condition not both.
16530 (nm_netlink_monitor_error_handler): emit error signal if
16533 (nm_netlink_monitor_event_handler),
16534 (nm_netlink_monitor_error_handler),
16535 (nm_netlink_monitor_disconnect_handler): if an
16536 assertion fails disconnect the event handler to prevent
16539 * src/nm-netlink-monitor.h: add new error condition
16540 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16542 2005-06-18 Ray Strode <rstrode@redhat.com>
16544 * src/nm-netlink-monitor.c
16545 (nm_netlink_monitor_event_handler): remove bogus < 0
16546 check on unsigned value and return early if the kernel
16547 didn't send any bytes.
16549 2005-06-17 Robert Love <rml@novell.com>
16551 * initscript/SUSE/networkmanager: Change the Provides and default
16554 2005-06-16 Dan Williams <dcbw@redhat.com>
16556 Patch from Robert Love:
16557 * gnome/applet/applet.c
16558 - Beautify some applet menu item names
16560 2005-06-17 David Zeuthen <davidz@redhat.com>
16562 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16563 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16564 Also add new methods can_export, import_file and export.
16566 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16569 * gnome/vpn-properties/nm-vpn-properties.c:
16570 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16571 nm-vpn-ui-interface.h.
16572 (update_edit_del_sensitivity): Also update "Export" sensitivity
16573 (add_vpn_connection): Also add new SVC_NAME column
16574 (import_settings): New function
16575 (retrieve_data_from_selected_connection): New function
16576 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16578 (export_cb): New function
16579 (init_app): Also setup the "export" widget
16580 (main): Support the --import-service and --import-file commandline
16583 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16586 2005-06-16 Dan Williams <dcbw@redhat.com>
16588 Patch from Robert Love:
16589 * gnome/applet/menu-items.c
16590 - (network_menu_item_new): pass -1 as wireless network
16591 menu items height size request rather than ascent / 2
16593 2005-06-16 Dan Williams <dcbw@redhat.com>
16595 * Clean up wording in Wireless Scan Methods menu items and constants
16597 2005-06-16 Robert Love <rml@novell.com>
16600 - remove gtkcell* files
16602 2005-06-15 Dan Williams <dcbw@redhat.com>
16604 Patch from Robert Love: make the applet stetic
16606 * gnome/applet/Makefile.am
16607 - Don't compile the gtkcellview and gtkcellrendererprogress files
16609 * gnome/applet/gtkcellview.h
16610 gnome/applet/gtkcellview.c
16611 gnome/applet/gtkcellrendererprogress.h
16612 gnome/applet/gtkcellrendererprogress.c
16615 * gnome/applet/menu-items.c
16616 - Progress bars are 5:1 size ratio
16617 - Use GTK progress bars rather than internal ones
16619 2005-06-15 Dan Williams <dcbw@redhat.com>
16621 Patch from Robert Love:
16622 * initscript/SUSE/networkmanager
16625 2005-06-15 Dan Williams <dcbw@redhat.com>
16627 * src/backends/NetworkManagerSuSE.c
16628 src/backends/NetworkManagerRedHat.c
16629 src/backends/NetworkManagerDebian.c
16630 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16632 2005-06-15 Dan Williams <dcbw@redhat.com>
16634 * src/backends/NetworkManagerDebian.c
16635 - Add nm_system_device_get_use_dhcp() to debian backend
16637 Patch from Kay Sievers:
16638 * src/backends/NetworkManagerSuSE.c
16639 - Update debian backend for static IP nameservers
16641 * src/NetworkManagerDevice.c
16642 - Actually set the device to use static IP or DHCP rather
16645 2005-06-15 Dan Williams <dcbw@redhat.com>
16647 Patch from Thom May:
16648 * src/backends/NetworkManagerDebian.c
16649 - Update debian backend for static IP nameservers
16651 2005-06-15 Dan Williams <dcbw@redhat.com>
16653 Patches from Robert Love:
16654 * gnome/applet/wireless-applet.glade
16655 - Tighten up wording
16657 * src/NetworkManagerDevice.c
16658 - Remove misplaced ';'
16661 initscript/Makefile.am
16662 initscript/SUSE/Makefile.am
16663 initscript/SUSE/networkmanager
16664 - Add SUSE initscript
16666 2005-06-12 David Zeuthen <davidz@redhat.com>
16668 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16670 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16672 * gnome/vpn-properties/nm-vpn-properties.c: New file
16674 * gnome/vpn-properties/Makefile.am: New file
16676 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16679 * src/vpn-manager/nm-vpn-manager.c
16680 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16681 instead of just a single one
16683 * src/vpn-manager/nm-dbus-vpn.c:
16684 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16686 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16688 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16689 Change the interface here to give a list of passwords. Also, don't
16690 require username, but do require service
16692 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16693 the binary for the auth-dialog and use that instead of putting up a
16694 dialog asking for a single password
16696 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16697 however do remember the service
16699 * gnome/applet/main.c (main): Setup i18n
16701 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16702 connection to '%s'" to the tooltip if we are connected using VPN
16703 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16704 key to determine whether we the auth-dialog needs to
16705 reprompt. Also cope with the fact that the auth-dialog now returns
16706 an array of passwords.
16707 (nmwa_menu_configure_vpn_item_activate): New handler for
16708 "Configure VPN..." menu item
16709 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16710 (is_vpn_available): New function to determine if we got any
16711 NM-compatible VPN software installed
16712 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16713 items only if we have NM-compatible VPN software installed
16714 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16715 logic for detecting when VPN connections are removed
16717 * gnome/applet/applet-dbus.h: Removed the prototypes for
16718 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16719 since these are defined elsewhere
16721 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16722 function used to keep track of whether the last attempt succeded
16723 (nmwa_dbus_filter): Update last_attempt according to whether the
16724 VPN connection could be established or not
16726 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16727 Change prototype to take an array of passwords, not just a single
16730 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16731 update service, not user
16732 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16733 dbus_active_vpn_name is not NULL before using it
16734 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16735 string array instead of assuming a single password
16737 * gnome/applet/applet-dbus-info.c:
16738 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16739 user name; don't read from gconf
16741 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16744 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16746 * configure.in: Add checks for gmodule-2.0.
16747 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16748 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16749 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16752 * vpn-daemons/Makefile.am: Removed
16754 * vpn-daemons/README: New file to describe extensions points for VPN
16757 2005-06-10 Dan Williams <dcbw@redhat.com>
16759 * src/backends/NetworkManagerRedHat.c
16760 - (get_current_profile_name): new function, grab current network profile name from
16761 /etc/sysconfig/network
16762 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16763 update an IP4 Config structure's settings from it
16764 - (nm_system_device_get_system_config): if we're using static IP on this device,
16765 get DNS info from current network profile
16767 2005-06-09 Dan Williams <dcbw@redhat.com>
16769 Patch from Robert Love:
16770 * src/NetworkManagerDevice.c
16771 src/NetworkManagerUtils.c
16772 - 64-bit build fixes
16774 2005-06-09 Dan Williams <dcbw@redhat.com>
16776 Patch from Kay Sievers and Robert Love:
16778 src/backends/Makefile.am
16779 src/backends/NetworkManagerSuSE.c
16782 2005-06-09 Dan Williams <dcbw@redhat.com>
16785 - Add NMWirelessScanMethod enum for scan methods
16787 * gnome/applet/applet-dbus-devices.c
16788 - (nmwa_dbus_update_scanning_enabled_cb): remove
16789 - (nmwa_dbus_update_scanning_enabled): remove
16790 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16791 since it got removed
16792 - (nmwa_dbus_enable_scanning): remove
16794 * gnome/applet/applet-dbus-info.c
16795 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16796 update the wireless scanning method from NMI
16797 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16798 method value to NetworkManager
16799 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16801 * gnome/applet/applet-dbus-info.h
16802 - Add prototype for nmi_dbus_signal_update_scan_method
16804 * gnome/applet/applet.c
16805 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16806 Wireless Scanning menu based on current wireless scan method
16807 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16808 signal for Wireless Scanning menu items, tell NetworkManager the new method
16809 and update our menu items to make sure the right one is checked
16810 - (nmwa_set_scanning_enabled_cb): remove
16811 - (nmwa_context_menu_update): remove references to pause_scanning_item
16812 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16814 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16816 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16817 so we get notified of preference values too
16818 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16820 * gnome/applet/applet.h
16821 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16822 - Add wireless scan method member to applet data
16823 - Remove pause_scanning_item, add Wireless Scanning submenu
16825 * src/NetworkManager.c
16826 - (nm_data_new): default to NM_SCAN_METHOD_ON
16827 - (main): grab scanning method from NMI if we can
16829 * src/NetworkManagerDbus.c
16830 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16831 nm_dbus_update_wireless_scan_method()
16832 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16834 - (nm_dbus_nmi_is_running): redundant function, removed
16835 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16836 when NMI comes back
16838 * src/NetworkManagerDevice.c
16839 - (nm_device_is_activated): return TRUE if the device is activated
16840 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16841 and we are activated
16844 - (nm_dbus_nm_set_scanning_enabled): removed
16845 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16846 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16848 2005-06-09 Dan Williams <dcbw@redhat.com>
16851 src/vpn-manager/nm-vpn-service.c
16852 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16854 2005-05-27 Dan Williams <dcbw@redhat.com>
16856 * vpn-daemons/vpnc/nm-vpnc-service.c
16857 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16858 Should fix the bug where the VPN connection terminates the first time.
16860 2005-05-20 Dan Williams <dcbw@redhat.com>
16863 - Differentiate VPN config signals between bad VPN config options
16866 * gnome/applet/applet-dbus-info.h
16867 - Add prototypes for wireless network and vpn connection update functions
16869 * gnome/applet/applet-dbus.c
16870 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16872 * gnome/applet/applet.c
16873 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16875 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16876 propogation to NetworkManager
16877 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16878 notify propogation to NetworkManager
16880 * src/NetworkManagerDbus.c
16881 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16882 are updating so a network can be removed from it if necessary
16884 * src/vpn-manager/nm-vpn-manager.c
16885 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16887 * vpn-daemons/vpnc/nm-vpnc-service.c
16888 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16889 - (nm_vpnc_dbus_signal_launch_failed): remove
16890 - (nm_vpnc_dbus_signal_connect_failed): remove
16891 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16892 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16893 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16894 for new generalized error signal function, remove config file stuff
16895 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16896 we can write configuration options to it
16897 - (nm_vpnc_config_file_generate): removed
16898 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16899 - (nm_vpnc_config_options_validate): validate the config options we receive
16900 from NetworkManager to block potential exploits
16901 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16903 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16906 2005-05-16 Dan Williams <dcbw@redhat.com>
16908 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16909 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16912 2005-05-16 Dan Williams <dcbw@redhat.com>
16914 Patch from Tomislav Vujec <tvujec@redhat.com>
16915 * gnome/applet/applet-dbus-info.c
16916 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16917 GConf and pass them to NetworkManager. New key is 'routes' under
16918 the VPN connection, and should be a string list
16920 * src/NetworkManagerSystem.c
16921 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16922 set them on the device when we set the rest of the VPN config. Ensure
16923 they are in the correct format since they are passed directly to the
16926 * src/backends/NetworkManagerRedHat.c
16927 src/backends/NetworkManagerDebian.c
16928 - (nm_system_device_add_route_via_device_with_iface): new function
16930 * src/vpn-manager/nm-dbus-vpn.c
16931 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16933 * src/vpn-manager/nm-vpn-manager.c
16934 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16935 them into the IP4 config functions
16937 2005-05-15 Dan Williams <dcbw@redhat.com>
16939 From Filip Miletic:
16943 - Serbian translation added
16945 2005-05-15 Dan Williams <dcbw@redhat.com>
16947 * dispatcher-daemon/NetworkManagerDispatcher.c
16948 - (main): sync arguments with NetworkManager and the applet, now use
16949 "--no-daemon" rather than "daemon=no"
16950 - (nmd_print_usage): Fix script path in usage message
16952 2005-05-15 Dan Williams <dcbw@redhat.com>
16954 * src/NetworkManagerDevice.[ch]
16955 src/NetworkManagerPolicy.c
16956 src/NetworkManager.c
16958 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16959 longer send the DeviceNoLongerActive signal unconditionally, but only
16960 when the device is actually active.
16962 * dispatcher-daemon/NetworkManagerDispatcher.c
16963 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16964 and simplify the logic
16965 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16966 we free it later on
16968 * initscript/RedHat/Makefile.am
16969 initscript/RedHat/NetworkManagerDispatcher
16970 - Add initscript for NetworkManagerDispatcher
16973 Patch from Bill Moss:
16974 * dispatcher-daemon/NetworkManagerDispatcher.c
16975 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16977 * src/NetworkManagerDbus.c
16978 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16979 and DeviceNowActive gets signaled, then the device has a new IP address
16980 anyway. There's no need for a separate signal.
16982 * src/NetworkManagerDevice.c
16983 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16985 * src/NetworkManagerPolicy.c
16986 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16987 activates successfully. This kind of went missing when I reworked the
16990 2005-05-15 Dan Williams <dcbw@redhat.com>
16993 - Check for dhcdbd and error if its not found
16995 * src/dhcp-manager/Makefile.am
16996 src/dhcp-manager/nm-dhcp-manager.c
16997 - Use path to dhcdbd that configure found
16999 2005-05-14 Dan Williams <dcbw@redhat.com>
17001 * gnome/applet/nm-device.c
17002 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17003 sort wireless networks alphabetically
17005 * gnome/applet/applet-dbus-devices.c
17006 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17007 before copying them over to the GUI
17009 2005-05-14 Dan Williams <dcbw@redhat.com>
17011 * src/NetworkManager.c
17012 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17013 fixes a deadlock on shutdown with a VPN connection active. This function locks
17014 the device list, as does nm_get_active_device() which is called from
17015 nm_vpn_manager_deactivate_vpn_connection().
17017 2005-05-14 Dan Williams <dcbw@redhat.com>
17020 - Add signals for VPN Launch and Connect failures
17022 * gnome/applet/applet-dbus.c
17023 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17025 * gnome/applet/applet.c
17026 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17027 function to handle all VPN failure messages
17028 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17029 function to hanlde all VPN failure messages
17030 - (show_warning_dialog): work around focus-stealing prevention
17032 * gnome/applet/other-network-dialog.c
17033 gnome/applet/passphrase-dialog.c
17034 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17035 problem where it never enabled for ASCII Key and Hex Key types
17037 * gnome/applet/wireless-applet.glade
17038 - Add window title to Other Wireless Network Dialog
17040 * src/vpn-manager/nm-dbus-vpn.c
17041 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17042 function to handle all VPN failure messages
17044 * src/vpn-manager/nm-vpn-manager.c
17045 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17047 * vpn-daemons/vpnc/nm-vpnc-service.c
17048 - (nm_vpnc_dbus_signal_launch_failed): new function
17049 - (nm_vpnc_dbus_signal_connect_failed): new function
17050 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17051 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17052 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17053 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17055 2005-05-11 Dan Williams <dcbw@redhat.com>
17057 * vpn-daemons/vpnc/nm-vpnc-service.c
17058 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17059 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17060 file exists before trying to write it out.
17062 2005-05-10 Dan Williams <dcbw@redhat.com>
17064 * gnome/applet/applet-dbus-device.c
17065 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17066 prevented just entering ESSID and leaving key and key type up to
17067 NetworkManager (which should have them already cached)
17069 2005-05-08 Dan Williams <dcbw@redhat.com>
17071 * src/NetworkManagerPolicy.c
17072 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17073 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17074 fix a situation where NM is told to terminate and the device stops activation,
17075 but the main thread isn't aware of that because it would never have run
17076 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17079 * src/NetworkManagerDevice.c
17080 - (nm_device_probe_wired_link_state): cosmetic fixes
17081 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17082 we've failed to activate or been canceled.
17083 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17085 2005-05-08 Dan Williams <dcbw@redhat.com>
17087 * src/NetworkManagerWireless.c
17088 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17089 value of WEXT quality structures, and add a debug message when we cannot
17090 determine any quality % at all
17092 2005-05-08 Dan Williams <dcbw@redhat.com>
17094 * src/dhcp-manager/nm-dhcp-manager.c
17095 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17098 2005-05-06 Dan Williams <dcbw@redhat.com>
17100 * gnome/applet/applet-dbus-device.c
17101 gnome/applet/applet-dbus-info.c
17102 gnome/applet/applet-dbus.c
17103 gnome/applet/applet.c
17104 gnome/applet/applet.h
17105 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17107 * gnome/applet/applet-dbus.c
17108 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17109 so we notice when wired device's carriers come back on. Should
17110 fix issue with wired devices being grayed out even if the cable
17111 is in, for devices that support carrier detection.
17113 * gnome/applet/applet.c
17114 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17115 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17117 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17118 Fix situation where applet wouldn't respond to menu selections
17120 * src/NetworkManager.c
17121 src/NetworkManagerDevice.c
17122 src/NetworkManagerDbus.c
17123 src/NetworkManagerDbus.h
17124 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17126 * src/NetworkManagerDbus.c
17127 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17128 Remove, no longer used or relevant
17129 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17130 - (nm_dbus_schedule_device_status_change_signal): add
17132 * src/NetworkManagerDevice.c
17133 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17134 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17135 ie don't deactivate them unless explicitly told to by the user. Also send
17136 CARRIER_OFF / CARRIER_ON signals when link changes
17137 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17138 Don't print error message when device is no longer around
17139 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17140 not just during activation
17142 * src/NetworkManagerPolicy.c
17143 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17144 auto-device-selection.
17145 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17147 * src/NetworkManagerSystem.c
17148 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17149 is no longer present (Bill Moss)
17151 * src/backends/shvar.c
17152 - (svOpenFile): Open read-only to make SELinux happy
17154 * src/backends/NetworkManagerRedHat.c
17155 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17156 the path to the ifcfg-* files
17158 2005-05-05 Dan Williams <dcbw@redhat.com>
17160 * Expose activation stages to NetworkManager clients, like the applet
17161 * Add Diana's progress icons to the applet, cued off NM activation stage
17162 * Use more descriptive tooltips, cued off NM activation stage
17164 2005-05-05 Ray Strode <rstrode@redhat.com>
17166 * src/nm-netlink-monitor.c:
17167 - Use clear_event_source instead of g_nullify_pointer() again.
17169 2005-05-05 Dan Williams <dcbw@redhat.com>
17171 * gnome/applet/main.c
17172 - Fix session management so the applet is actually managed now
17174 * gnome/applet/passphrase-dialog.c
17175 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17177 2005-05-05 Dan Williams <dcbw@redhat.com>
17179 Patch from Bill Moss:
17180 * gnome/libnm_glib/libnm_glib.c
17181 - Fix for dbus-0.33
17183 2005-05-05 Dan Williams <dcbw@redhat.com>
17185 Suggestion from Bill Moss:
17186 * src/NetworkManagerSystem.c
17187 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17190 * src/NetworkManager.c
17191 - (nm_data_free): move destruction of the various managers after
17192 release of device list, because deactivating and freeing a device
17193 requires at least the named manager
17194 - (nm_poll_and_update_wireless_link_state):
17195 (nm_device_link_activated):
17196 (nm_device_link_deactivated):
17197 don't grab the device list lock when actually updating device
17198 link status or strength, since nm_device_set_link_active()
17199 needs to call nm_get_active_device(), which also locks the device list.
17201 * src/NetworkManagerDevice.c
17202 - (nm_device_set_link_active): if a device's link switches from off->on,
17203 and it's wired, and the active device is wireless (or there is no
17204 active device), activate the new device whose link just came on
17205 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17206 my only calling the link to the current ap "failed" when more than 2
17207 consecutive link checks have failed
17209 2005-05-04 Dan Williams <dcbw@redhat.com>
17211 * src/NetworkManagerDevice.c
17212 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17213 but let link_to_specific_ap() do the locking where it needs
17215 Patch from Bill Moss:
17216 * src/NetworkManagerSystem.c
17217 - Set MTU of VPN devices to 1412
17219 2005-05-04 Dan Williams <dcbw@redhat.com>
17221 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17223 * Fix some holes in device activation and retaining the currently connected
17226 2005-05-03 Dan Williams <dcbw@redhat.com>
17228 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17229 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17230 means you need dhcdbd, which you can get here (get the latest one):
17232 http://people.redhat.com/jvdias/dhcdbd/
17234 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17235 interface as dhcdbd.
17237 * Rewrite device activation to facilitate the new DHCP infrastructure and
17238 future improvements. Its now "activation request" based, ie there is a single
17239 activation request composed of the device, access point, and other info which
17240 follows the entire activation process. There are 5 stages of the activation
17241 process which correspond to:
17243 1) Device preparation
17244 2) Device configuration (bring it up, set ESSID/Key/etc)
17245 3) IP Config Start (fire off DHCP if we're using it)
17246 4) IP Config Get (grab config from DHCP or static config files)
17247 5) IP Config Commit (set device's IP address, DNS, etc)
17249 Note that there is no longer a "scanning" step, since the access point must
17250 be known _before_ activation starts. If the access point drops out or does
17251 not exist for some reason, the entire activation process fails and must be
17252 restarted for a different access point or device.
17254 Patch from Bill Moss:
17255 * gnome/applet/applet.c
17256 - Fix type of vpn_failure dialog -> vpn_banner dialog
17258 2005-04-27 Dan Williams <dcbw@redhat.com>
17260 * gnome/applet/applet-dbus-vpn.c
17261 gnome/applet/applet.c
17262 gnome/applet/applet.h
17263 - Fix up active VPN handling so that we reliably know when a VPN
17264 connection has been deactivated
17266 * src/vpn-manager/nm-vpn-manager.c
17267 - Remove duplicate VPNConnectionChange signal
17269 2005-04-27 Dan Williams <dcbw@redhat.com>
17271 Patch from Peter Jones:
17272 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17274 Patch from Bill Moss:
17275 * src/NetworkManagerSystem.c
17276 - Fix checking of return value from ioctl()
17278 2005-04-27 Dan Williams <dcbw@redhat.com>
17280 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17281 * Warn and exit if icons cannot be found
17283 2005-04-27 Dan Williams <dcbw@redhat.com>
17285 Patch from Tom Parker:
17286 * Update debian backend
17288 2005-04-27 Dan Williams <dcbw@redhat.com>
17290 * Merge the applet and the info-daemon, and move the converged
17291 applet under gnome/applet
17292 * Move libnm_glib to gnome/libnm_glib
17293 * Convert most dbus calls between the applet, info-daemon, and NM
17295 * Fix a few things valgrind noticed
17296 * Make NM broadcast state more reliably
17298 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17300 * configure.in: Added ne in ALL_LINGUAS
17302 2005-04-15 Dan Williams <dcbw@redhat.com>
17304 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17305 code for dbus 0.2x versions
17307 2005-04-15 Dan Williams <dcbw@redhat.com>
17309 Patches from Tom Parker:
17311 - Join with worker thread rather than polling for its exit
17313 Patch from Bill Moss:
17314 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17316 2005-04-15 Dan Williams <dcbw@redhat.com>
17318 - Fixes to pass 'make distcheck'
17320 2005-04-15 Dan Williams <dcbw@redhat.com>
17322 Initial VPN Support
17324 - reworks device IP configuration, backend files have changed and will need
17325 to be updated for all distributions. I will try to do what I can for
17326 them, but I cannot test them.
17328 - Move named directory to src/named-manager
17329 - Make backends directory self-contained
17331 2005-04-06 Dan Williams <dcbw@redhat.com>
17333 Add debug code for socket/file descriptor leaks. We register every socket
17334 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17335 list of sockets that we forgot to close on shutdown. This also consolidates
17336 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17338 2005-04-06 Dan Williams <dcbw@redhat.com>
17341 - (dhcp_interface_free): fix a file descriptor leak that may have
17342 caused network drivers to not unload due to refcounts > 0
17344 2005-04-04 Dan Williams <dcbw@redhat.com>
17346 * panel-applet/NMWirelessAppletDbus.c
17347 - (nmwa_dbus_call_nm_method): remove some commented code
17349 * src/NetworkManagerAPList.[ch]
17350 - (nm_ap_list_remove_ap_by_essid): new function
17352 * src/NetworkManagerDevice.c
17353 - (nm_device_wireless_force_use): remove access points from the ignore list
17354 when the user forces them
17356 * src/nm-dbus-device.c
17357 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17359 2005-04-04 Dan Williams <dcbw@redhat.com>
17361 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17363 2005-04-04 Dan Williams <dcbw@redhat.com>
17365 * src/NetworkManagerDevice.c:
17366 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17367 of only erroring after the second consecutive scan times out. Also
17368 don't exit when the card requires more time than we can give it, just
17369 log the event and continue.
17371 2005-04-01 Steve Murphy <murf@e-tools.com>
17373 * configure.in: Added "rw" to ALL_LINGUAS.
17375 2005-04-01 Dan Williams <dcbw@redhat.com>
17377 Perform scans during device activation, if needed. Both activation
17378 and scans run in the same GMainContext. Therefore, if an access point
17379 is not found by the time the device starts activation, it will not
17380 be available until after activation. We now try to scan during
17381 activation (in nm_wa_test) every 15s so that all available access
17382 points are more likely to be found and available for the activation
17385 Also change nm_wireless_link_state_handle() to only update the "best"
17386 AP if we are not forcing a device and if we are not about to change
17387 state. This attempts to work around a race when forcing a device,
17388 where the forced AP would get cleared out too soon by the link state
17389 checking timeout in the main thread, and the activation attempt with
17390 that AP would fail.
17392 2005-04-01 Dan Williams <dcbw@redhat.com>
17395 - Update with new translatables
17397 2005-03-31 Dan Williams <dcbw@redhat.com>
17399 * panel-applet/NMWirelessAppletDbus.c
17400 - Fix device names now that hal has changed device parenting for
17403 2005-03-31 Dan Williams <dcbw@redhat.com>
17405 Tighten up handling of wireless devices that don't support wireless
17406 scanning (ie, Orinoco). Due to restructuring of code, these devices
17407 hadn't been doing pseudo-scanning for a while either and would just
17408 spin waiting for an access point. They are now manual devices where
17409 the user must choose the access point from the menu every time. All
17410 "allowed" access points are listed in the applet's menu regardless
17411 of whether or not they can be seen by the card, since it can't scan
17414 * src/NetworkManager.c
17415 - (nm_wireless_link_state_handle): new function, but only update
17416 the "best" ap for non-scanning devices when its not activating,
17417 and when no device is being forced on the card
17418 - (nm_link_state_monitor): split wireless link state handling out
17419 into separate function
17421 * src/NetworkManagerDevice.c
17422 - (nm_device_copy_allowed_to_dev_list): new function
17423 - (nm_device_new): populate non-scanning cards' AP lists with
17424 access points from the "allowed" list
17425 - (nm_device_new): don't start a scanning timeout for devices that
17427 - (nm_device_activation_schedule_finish): new parameter, should be
17428 the AP that failed to be connected to, pass it on to the
17429 activation finish function in NetworkManagerPolicy.c
17430 - (nm_device_activate_wireless): don't ever try to get a new AP
17431 for non-scanning devices, just fail. The user must choose
17432 a new access point manually.
17433 - (nm_device_activate): grab the AP that failed connection and
17435 - (nm_device_update_best_ap): Clear the best AP if we don't have
17436 a link to it, user must manually choose a new one
17437 - (nm_device_do_pseudo_scan): remove function
17438 - (nm_device_wireless_process_scan_results): remove bits for non-
17439 scanning cards since they never get here
17440 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17441 and fake the scan list for test devices a bit earlier
17443 * src/NetworkManagerPolicy.c
17444 - (nm_policy_activation_finish): use the failed_ap that we get
17445 passed rather than getting the best_ap from the card, which
17446 may have changed since we were scheduled
17447 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17448 update their scan list directly from the allowed list when
17449 we get updates to the allowed list from NetworkManagerInfo
17451 * src/NetworkManagerPolicy.h
17452 - New member for failed access point in NMActivationResult
17454 -------------------------------------
17456 Driver Notification patch: notifies the user when their driver
17457 sucks. Gives them the option to ignore further insertions
17458 of the card that has the sucky driver.
17461 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17462 enum and replace it with NO_CARRIER_DETECT and
17465 * panel-applet/NMWirelessApplet.[ch]
17466 - Merge essid.glade -> wireless-applet.glade
17467 - Implement the "Your driver sucks" notification dialog
17469 * panel-applet/NMWirelessAppletDbus.c
17470 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17471 - Grab hardware address for each device from NM too
17472 - Check whether the driver for each device sucks or not whenever
17473 a new device is noticed
17475 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17476 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17478 * src/NetworkManager.c
17479 - Fix a double-unref on device removal
17481 * src/NetworkManagerUtils.c
17482 - Set appropriate driver support level on a device that doesn't
17483 support scanning or carrier detection
17485 * src/nm-dbus-device.c
17486 - New "getHWAddress" dbus method on devices
17487 - getSupportsCarrierDetect -> getDriverSupportLevel
17489 2005-03-31 Dan Williams <dcbw@redhat.com>
17491 * src/NetworkManagerDevice.c
17492 - (nm_device_wireless_scan): Fix leak of scan results in some
17495 2005-03-29 Dan Williams <dcbw@redhat.com>
17497 * src/NetworkManager.c
17498 - (nm_poll_and_update_wireless_link_state): make code less indented
17500 Patch from Bill Moss:
17501 * src/NetworkManager.c
17502 - (nm_device_update_link_state): Update signal strength on wireless
17503 devices every time we update link state too.
17505 2005-03-29 Dan Williams <dcbw@redhat.com>
17507 * src/NetworkManagerDevice.c
17508 - (nm_device_set_essid): Work around Orinoco cards which need
17509 extra time after setting the ESSID
17511 2005-03-29 Dan Williams <dcbw@redhat.com>
17513 * src/NetworkManagerDevice.c
17514 - Merge one more bit of Peter Jones' completion patch
17516 2005-03-29 Dan Williams <dcbw@redhat.com>
17518 * src/NetworkManagerDevice.c
17519 - (nm_device_force_use): Fix possible segfault
17521 2005-03-29 Dan Williams <dcbw@redhat.com>
17523 * src/NetworkManagerDevice.c
17524 - Use iw_get_ext() where we should rather than iw_set_ext()
17526 2005-03-29 Dan Williams <dcbw@redhat.com>
17528 * src/NetworkManagerDevice.c
17529 - (nm_device_set_up_down): remove check for unsupported devices
17530 that caused NM to not bring devices up when they were
17531 added to the device list.
17533 2005-03-28 Dan Williams <dcbw@redhat.com>
17535 * src/NetworkManagerDevice.c
17536 - (mdio_read): Fix two bugs that caused all devices to fail
17537 the MII carrier detection support checks
17539 2005-03-26 Dan Williams <dcbw@redhat.com>
17541 * src/NetworkManagerDevice.c
17542 - (nm_device_wireless_scan): Remove duplicated scanning code
17544 2005-03-25 Dan Williams <dcbw@redhat.com>
17546 * panel-applet/NMWirelessApplet.c
17547 - (nmwa_about_cb): Add some more contributors
17548 - (nmwa_update_state): show the applet when there's no connection
17549 - Enable the "Stop/Resume all wireless devices" option in the
17551 - New "no connection" icon
17553 * src/NetworkManager.c
17554 - (nm_poll_and_update_wireless_link_state): don't do anything if
17555 wireless is disabled or we're asleep
17557 * src/NetworkManagerDHCP.c
17558 - Remove trailing "\n" on debug messages
17560 * src/NetworkManagerDbus.c
17561 - (nm_dbus_network_status_from_data): new state "asleep"
17563 * src/NetworkManagerDevice.c
17564 - Merge most of Peter Jones' "completion" patch that greatly reduces
17565 latency and wait times for most operations
17566 - (nm_device_wireless_scan): Don't scan when asleep
17568 * src/NetworkManagerPolicy.c
17569 - (nm_policy_get_best_device): return no device when asleep
17570 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17571 for all wireless devices on update, not just active device
17573 * src/NetworkManagerUtils.c
17574 - Merge Peter Jones' "completion" patch
17577 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17578 we're told to disable them
17579 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17582 - New variants of the warn/info/error/debug print functions that can take
17583 variables rather than static strings
17585 2005-03-24 Dan Williams <dcbw@redhat.com>
17587 * src/NetworkManagerUtils.c
17588 - (nm_get_device_driver_name): driver names are now on the parents of
17589 "Network Interface" objects, so look for them there
17591 2005-03-24 Dan Williams <dcbw@redhat.com>
17594 - Escape some forgotten object paths before we shove them through dbus
17596 2005-03-24 Dan Williams <dcbw@redhat.com>
17598 * dhcpcd/dhcpcd.[ch]
17599 src/NetworkManagerDHCP.c
17600 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17601 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17603 * src/NetworkManagerDbus.c
17606 * src/nm-dbus-dhcp.c
17607 - Make the API suck less. There is now only 1 type of each function,
17608 ie only "getInteger" and no longer also "getIntegerv". All types
17609 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17610 that will never have more than 1 element. This should simplify
17613 * test/nm-dhcp-opt-test.c
17614 - Make the tool not segfault
17615 - adapt to new DHCP Options API
17617 2005-03-22 Dan Williams <dcbw@redhat.com>
17619 * src/NetworkManager.c
17620 - (nm_wired_link_deactivated): actually ignore netlink events from
17623 2005-03-22 Dan Williams <dcbw@redhat.com>
17625 * src/NetworkManager.c
17626 - (nm_wired_link_activated): actually ignore netlink events from
17629 2005-03-17 Dan Williams <dcbw@redhat.com>
17631 Patch from Tom Parker:
17632 * src/nm-netlink-monitor.c
17634 * info-daemon/NetworkManagerInfoDbus.c
17635 - (nmi_dbus_update_network_auth_method): free GConf values
17637 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17638 * src/NetworkManagerDevice.c
17639 - (nm_device_set_wireless_config): wait for successful
17640 association longer for some cards (Atheros a/b/g)
17642 2005-03-15 Ray Strode <rstrode@redhat.com>
17644 * src/NetworkManager.c:
17645 (sigterm_pipe_handler):
17648 2005-03-15 Ray Strode <rstrode@redhat.com>
17650 * src/NetworkManagerDbus.c:
17651 Fix some sign weirdness that gcc4 doesn't like,
17652 and add a header file so PPC can hopefully find
17655 2005-03-14 Ray Strode <rstrode@redhat.com>
17657 Fourth (probably working) cut at porting to
17658 dbus 0.30 api and new hal. This cut adds
17659 some new logging macros to make debugging
17662 * dispatcher-daemon/NetworkManagerDispatcher.c:
17663 * info-daemon/NetworkmanagerInfo.c:
17664 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17665 * info-daemon/NetworkManagerInfoVPN.c:
17666 * src/NetworkManager.c:
17667 * src/NetworkManagerAP.c:
17668 * src/NetworkManagerAPList.c:
17669 * src/NetworkManagerDHCP.c:
17670 * src/NetworkManagerDbus.c:
17671 * src/NetworkManagerDevice.c:
17672 * src/NetworkManagerPolicy.c:
17673 * src/NetworkManagerSystem.c:
17674 * src/NetworkManagerUtils.c:
17675 * src/NetworkManagerWireless.c:
17677 * src/nm-dbus-nm.c:
17678 * src/backends/NetworkManagerDebian.c:
17679 * src/backends/NetworkManagerGentoo.c:
17680 * src/backends/NetworkManagerRedHat.c:
17681 * src/backends/NetworkManagerSlackware.c:
17682 use new logging macros.
17684 * dispatcher-daemon/NetworkManagerDispatcher.c:
17685 (nmd_dbus_filter): s/dbus_free/g_free/
17687 * info-daemon/Makefile.am: link in utils library.
17688 * info-daemon/NetworkmanagerInfo.c: use new logging
17690 (nmi_dbus_get_network): don't assume enumerations
17692 (nmi_dbus_nmi_message_handler): don't free what
17693 doesn't belong to us.
17695 * libnm_glib/libnm_glib.c:
17696 (libnm_glib_get_nm_status):
17697 (libnm_glib_init): don't free what doesn't
17699 (libnm_glib_dbus): strdup result, so it doesn't get
17700 lost when message is unref'd.
17702 * panel-applet/NMWirelessAppletDbus.c:
17703 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17705 * src/NetworkManager.c:
17706 (nm_monitor_wired_link_state): request initial status
17707 dump of all cards when we start up, instead of relying
17708 on /sys/.../carrier.
17709 (nm_info_handler), (nm_set_up_log_handlers):
17710 log handlers to specify what syslog priorites
17711 the logging macros default to.
17713 * src/NetworkManagerAPList.c:
17714 (nm_ap_list_populate_from_nmi):
17715 s/dbus_free_string_array/g_strfreev/
17717 * src/NetworkManagerDbus.c:
17718 (nm_dbus_get_network_object):
17719 validate d-bus message argument types.
17720 Advance message iterator after reading argument,
17721 prepend instead of append to GSList.
17723 * src/NetworkManagerDevice.c:
17724 (nm_device_probe_wired_link_status):
17725 remove redundant /sys in /sys path. remove wrong
17726 contents == NULL means has carrier assumption.
17728 * src/nm-netlink-monitor.c
17729 (nm_netlink_monitor_request_status): implement
17730 function to ask kernel to dump interface link
17731 status over netlink socket.
17733 * test/*.c: s/dbus_free/g_free/
17735 * utils/nm-utils.h:
17736 (nm_print_backtrace): new macro to print backtrace.
17737 (nm_get_timestamp): new macro to get sub-second precise
17739 (nm_info), (nm_debug), (nm_warning), (nm_error):
17740 new logging functions. nm_info just prints,
17741 nm_debug includes timestamp and function,
17742 nm_warning includes function, nm_error includes
17743 backtrace and sigtrap.
17745 2005-03-11 Ray Strode <rstrode@redhat.com>
17747 Third (unfinished, partially working) cut at porting to
17748 dbus 0.30 api and new hal.
17750 * info-daemon/NetworkManagerInfoDbus.c:
17751 don't free null arrays.
17753 * panel-applet/NMWirelessAppletDbus.c:
17754 * src/nm-dbus-device.c:
17755 * src/nm-dbus-net.c:
17756 * src/NetworkManagerDbus.c: more
17757 STRING -> OBJECT_PATH fun
17758 * src/NetworkManagerDevice.c:
17759 * src/NetworkManagerDevice.h:
17760 (rename nm_device_get_link_active): rename to
17761 nm_device_has_active_link
17762 (nm_device_wireless_link_active): rename to
17763 nm_device_probe_wireless_link_state
17764 (nm_device_wired_link_active): rename to
17765 nm_device_probe_wired_link_state. Rewrite to
17766 use carrier file since hal doesn't maintain
17767 link state anymore.
17768 (nm_device_update_link_active): rename to
17769 nm_device_update_link_state
17770 * src/NetworkManagerPolicy.c
17771 (nm_policy_activation_finish): check for NULL
17775 * src/NetworkManagerMain.h:
17776 * src/NetworkManager.c:
17777 * src/nm-netlink-monitor.c:
17778 * src/nm-netlink-monitor.h: New class to support
17779 monitoring wired ethernet link status, since HAL
17780 doesn't export that information anymore.
17782 2005-03-09 Ray Strode <rstrode@redhat.com>
17784 Second (unfinished, unworking) cut at porting to
17787 * dispatcher-daemon/NetworkManagerDispatcher.c:
17788 * info-daemon/NetworkManagerInfoDbus.c:
17789 * panel-applet/NMWirelessAppletDbus.c:
17790 * src/NetworkManagerDbusUtils.c:
17791 * src/NetworkManagerDbusUtils.h:
17792 * src/nm-dbus-device.c:
17793 * src/nm-dbus-nm.c:
17794 * test/nmtest.c: support dbus "object path" type
17798 * info-daemon/Makefile.am:
17799 * libnm_glib/Makefile.am:
17800 * panel-applet/Makefile.am:
17801 * dispatcher-daemon/Makefile.am
17803 * test/Makefile.am:
17804 * utils/Makefile.am:
17805 * utils/nm-utils.c:
17806 * utils/nm-utils.h: new utils static lib
17808 2005-03-07 Ray Strode <rstrode@redhat.com>
17810 * info-daemon/NetworkManagerInfoDbus.c:
17811 * libnm_glib/libnm_glib.c:
17812 * panel-applet/NMWirelessAppletDbus.c:
17813 * src/NetworkManager.c:
17814 * src/NetworkManagerDbus.c:
17815 * src/NetworkManagerDevice.c:
17816 * src/NetworkManagerUtils.c:
17817 * src/nm-dbus-device.c:
17818 * src/nm-dbus-dhcp.c:
17819 * src/nm-dbus-net.c:
17820 * src/nm-dbus-nm.c:
17821 * test/nminfotest.c:
17822 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17824 2005-03-04 Dan Williams <dcbw@redhat.com>
17829 2005-03-04 Dan Williams <dcbw@redhat.com>
17831 Patch from Peter Jones:
17832 - Make stuff work with gcc 4.0
17834 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17836 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17838 2005-02-27 Jim Huang <jserv@kaffe.org>
17840 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17842 2005-02-27 Dan Williams <dcbw@redhat.com>
17844 Patch from Bill Moss:
17845 * panel-applet/NMWirelessAppletDbus.c
17846 - Make sure strength for current access point is up-to-date when we
17847 update the gui data model
17849 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17851 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17853 2005-02-27 Dan Williams <dcbw@redhat.com>
17855 * src/backends/NetworkManagerRedHat.c
17856 - (nm_system_init): Kill any dhclient processes lying around as well
17857 as stopping 'nifd' if its already been started. NetworkManager
17858 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17860 2005-02-27 Dan Williams <dcbw@redhat.com>
17862 * panel-applet/NMWirelessApplet.c
17863 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17864 dbus data model, not the GUI data model twice.
17866 2005-02-27 Dan Williams <dcbw@redhat.com>
17868 * panel-applet/NMWirelessApplet.[ch]
17869 panel-applet/NMWirelessAppletDbus.[ch]
17870 - Move to incremental network updates. Instead of blowing away our list
17871 of devices every time we get a signal from NetworkManager, we now
17872 incrementally add/remove networks when NetworkManager notifies us that
17873 a new network has appeared or disappered. Strength updates now happen
17874 on-the-fly for each access point as well. There are now two copies of
17875 data from NetworkManager: one for the dbus side, and one for the gui side.
17876 When the dbus side data is modified, it is copied over to the gui side
17877 so we don't have to hold the data_mutex for long periods of time (and
17878 therefore block animation of the applet's icon).
17879 - Clean up some memleaks too
17881 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17882 - Minor code beautification
17884 * src/NetworkManagerAPList.c
17885 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17886 completely new and whether or not an existing one's strength was updated.
17887 Try to fix multiple access points and signal strength by using the highest
17888 signal strength in each scan for any given ESSID.
17890 * src/NetworkManagerDbus.[ch]
17891 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17892 wireless networks; now we have only WirelessNetworkUpdate which includes
17893 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17894 - Kill usage of DbusMessageIter
17896 * src/NetworkManagerDevice.c
17897 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17898 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17899 AP rather than all-at-once. Also don't ever remove the AP a card is
17900 currently associated with from the network list.
17901 - Update for new signals during scan, send out Appeared, Disappeared, or
17902 StrengthChanged when necessary.
17904 2005-02-25 Dan Williams <dcbw@redhat.com>
17907 - Line break the README
17909 2005-02-25 Dan Williams <dcbw@redhat.com>
17911 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17912 - Remove usage of gtk_window_set_default_size()
17914 * panel-applet/essid.glade
17915 - Stick default size here
17916 - Add in random crap that current glade wants to add in now
17918 2005-02-25 Dan Williams <dcbw@redhat.com>
17920 * src/backends/NetworkManagerRedHat.c
17921 - For non-caching-nameserver/non-named case, ensure that nscd is running
17922 and that we actually tell nscd to reload the hosts cache when it changes
17924 2005-02-25 Dan Williams <dcbw@redhat.com>
17926 * info-daemon/NetworkManagerInfoDbus.c
17927 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17929 * test/nminfotest.c
17930 - Whack usage of DbusMessageIter
17931 - Clean up DbusError and DbusMessage handling and freeing
17932 - Remove unused unregister handler
17935 - Whack usage of DbusMessageIter
17937 * test/nmtestdevices.c
17938 - Whack usage of DbusMessageIter
17940 2005-02-25 Dan Williams <dcbw@redhat.com>
17943 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17946 2005-02-25 Dan Williams <dcbw@redhat.com>
17948 * named/nm-named-manager.c
17949 - Ensure that pid and watch variables for child named process get cleared out
17950 when the child goes away.
17952 2005-02-22 Dan Williams <dcbw@redhat.com>
17954 * src/NetworkManagerPolicy.c
17955 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17956 and NULL out data->active_device so that we have to choose another one.
17957 This may make NetworkManager keep attempting to connect to a wired network
17958 if it fails, but if it keeps failing the wired network has more problems than
17959 just NetworkManager.
17961 * src/backends/NetworkManagerRedHat.c
17962 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17965 * named/nm-named-manager.c
17966 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17967 named so that the distro can flush whatever name service caching
17970 2005-02-21 Dan Williams <dcbw@redhat.com>
17972 * src/NetworkManagerDHCP.[ch]
17973 - (nm_device_dhcp_remove_timeouts): new function
17975 * src/NetworkManagerDevice.c
17976 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17977 remove the DHCP timeouts.
17979 2005-02-21 Dan Williams <dcbw@redhat.com>
17981 * panel-applet/NMWirelessApplet.[ch]
17982 panel-applet/menu-info.[ch]
17983 - Give the panel applet some major love: menu items are no longer
17984 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17985 This allows the applet to actually reflect theme changes correctly,
17986 since themeing of subclassed items in GTK _sucks_.
17988 2005-02-18 Dan Williams <dcbw@redhat.com>
17990 * libnm_glib/libnm_glib.[ch]
17991 test/libnm_glib_test.c
17992 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17993 and its data, and doesn't have to free the callback data anymore
17995 2005-02-18 Dan Williams <dcbw@redhat.com>
17997 * panel-applet/NMWirelessApplet.c
17998 - Revert 2005-02-18 William Jon McCann fix for standard
17999 copyright string until it passes 'make distcheck'.
18000 With standard copyright string, xgettext complains
18001 about "Non-ASCII string at ...".
18003 2005-02-18 Dan Williams <dcbw@redhat.com>
18005 * panel-applet/essid.glade
18006 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18007 - Correct spelling of "adaptor"->"adapter"
18009 2005-02-18 William Jon McCann <mccann@jhu.edu>
18011 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18012 (nmwa_about_cb): Use standard copyright string. Update comment
18013 text to reflect that it is a notification area applet. Remove
18014 leading newline in authors list.
18015 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18016 instead of on parent menu item activation. Fixes #167550.
18018 2005-02-18 William Jon McCann <mccann@jhu.edu>
18020 * panel-applet/essid.glade: Capitalize items as per HIG.
18023 2005-02-16 William Jon McCann <mccann@jhu.edu>
18025 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18026 files for GTK 2.4 or lower, since now public in GTK 2.6.
18028 * panel-applet/essid.glade: Don't specify window size.
18030 2005-02-17 Dan Williams <dcbw@redhat.com>
18032 Caught by Bill Moss:
18034 - Time remaining for DHCP transaction calculation was incorrectly
18035 inside a #ifdef DEBUG
18037 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18039 * configure.in: Added fr (French) to ALL_LINGUAS.
18041 2005-02-14 Dan Williams <dcbw@redhat.com>
18043 * src/NetworkManagerDHCP.c
18044 - (set_domain_searches): Fix free of invalid pointer
18046 2005-02-14 Dan Williams <dcbw@redhat.com>
18048 Patch from Peter Jones:
18050 - Ensure we return RET_DHCP_CEASED everywhere we should
18051 * dhcpcd/udpipgen.c
18052 - Use faster TOS for IP packets
18053 - Don't set ip_id since we're UDP
18055 Patch from Tomislav Vujec:
18056 * src/nm-dbus-dhcp.c
18057 test/nm-dhcp-opt-test.c
18058 - Clean up warnings to enable cvs tree compilation.
18060 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18064 - Add the Croatian locale.
18066 2005-02-14 Colin Walters <walters@verbum.org>
18068 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18069 list of domains to search.
18071 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18073 2005-02-13 Dan Williams <dcbw@redhat.com>
18076 - Debug output cleanups of DHCP option printing and parsing.
18078 2005-02-13 Dan Williams <dcbw@redhat.com>
18080 Patch from Dan Reed: DHCP options D-BUS API
18081 Exposes the DHCP options that a device receives to clients over D-BUS.
18087 - Correct names, option length, and types for DHCP options
18089 * dhcpcd/dhcpcd.[ch]
18090 - Clarify function names that access DHCP options & data
18092 * src/NetworkManagerDHCP.c
18093 - Use new DHCP data access functions
18095 * src/NetworkManagerDbus.c
18096 - Message handler for DHCP functions
18098 * src/nm-dbus-dhcp.[ch] (new)
18099 - DHCP dbus methods
18101 * test/nm-dhcp-opt-test.c
18102 - Test DHCP D-BUS API and return all present DHCP options
18104 2005-02-12 Dan Williams <dcbw@redhat.com>
18107 test/nmclienttest.c
18109 - Move nmclienttest.c -> nmtest.c
18111 2005-02-12 Dan Williams <dcbw@redhat.com>
18113 * dhcpcd/buildmsg.c
18114 - Pad DHCP packets until they are at least 300 bytes in size.
18116 2005-02-11 Dan Williams <dcbw@redhat.com>
18119 - (dhcp_init): only print out client ID and class ID if they are specified
18121 * src/NetworkManagerDbus.[ch]
18122 src/nm-dbus-nm.[ch]
18123 src/nm-dbus-device.[ch]
18124 src/nm-dbus-net.[ch]
18125 - Move NM, Device, and Net functions to separate files and use the
18126 dbus method list stuff in NetworkManagerDbusUtils.c to do
18129 * src/NetworkManagerDbusUtils.c
18130 - Add new validate_method called before each dispatch (if present)
18131 that can validate the method call
18133 * src/NetworkManagerWireless.c
18134 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18135 levels never to be evaluated
18137 Patch from j@bootlab.org
18138 * src/NetworkManagerDevice.c
18139 - Add typedef for "u64"
18141 * src/backends/NetworkManagerDebian.c
18142 - Copy in Dave Woodhouse's fixes for IPv6
18144 2005-02-11 Dan Williams <dcbw@redhat.com>
18146 Patch from Dave Woodhouse for IPv6:
18147 * src/NetworkManagerUtils.c
18148 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18149 and multicast addresses
18151 * src/NetworkManagerDevice.c
18152 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18153 after bringing up a card.
18155 2005-02-10 Dan Williams <dcbw@redhat.com>
18157 Patch from Dave Woodhouse:
18158 * src/NetworkManagerSystem.h
18159 src/backends/NetworkManagerDebian.c
18160 src/backends/NetworkManagerGentoo.c
18161 src/backends/NetworkManagerSlackware.c
18162 - New nm_system_device_add_ip6_link_address() function to add link-local
18163 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18165 * src/backends/NetworkManagerRedHat.c
18166 - (nm_system_device_add_ip6_link_address): implement
18167 - (nm_system_device_flush_addresses): revert to previous behavior of
18168 flushing all addresses
18170 2005-02-10 Dan Williams <dcbw@redhat.com>
18172 Patch from Tom Parker:
18173 * src/NetworkManagerDevice.c
18174 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18175 mii.h headers are broken, and instead use our own typedefs
18177 2005-02-10 Dan Williams <dcbw@redhat.com>
18179 * dhcpcd/buildmsg.c
18180 - (fill_host_and_class_id): only fill in client and class IDs if
18181 they are set by callers.
18184 - (class_id_setup): don't autogenerate a class ID, only use one
18185 we're given, if any.
18186 - (client_id_setup): don't autogenerate a client ID, only use one
18187 we're given, if any.
18190 - (dhcp_interface_init): ensure that client options are correctly
18193 * src/NetworkManagerDHCP.c
18194 - (nm_device_dhcp_request): pass hostname to dhcp library
18196 2005-02-10 Dan Williams <dcbw@redhat.com>
18199 - #rh147661# Don't send kernel version in DHCP requests
18201 * src/NetworkManagerSystem.h
18202 src/backends/NetworkManagerDebian.c
18203 src/backends/NetworkManagerGentoo.c
18204 src/backends/NetworkManagerRedHat.c
18205 src/backends/NetworkManagerSlackware.c
18206 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18207 functions, they are no longer used anyway
18209 * src/backends/NetworkManagerRedHat.c
18210 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18211 addresses in an attempt to keep IPv6 local-scope addresses around
18213 2005-02-10 Dan Williams <dcbw@redhat.com>
18215 * src/NetworkManager.c
18216 - (nm_create_device_and_add_to_list): change the add message slightly
18218 * src/NetworkManagerUtils.c
18219 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18220 Return driver name to calling function
18221 - (nm_get_driver_support_level): print out the driver a device is using
18222 during the support check
18224 Patch from Dave Woodhouse:
18225 * dhcpcd/udpipgen.c
18226 - (in_cksum): copy last byte of odd-sized packets into a
18227 'u_short' rather than a 'u_char', should fix wrong checksums
18228 on big-endian platforms
18230 2005-02-09 Dan Williams <dcbw@redhat.com>
18232 * Clean up usage of GSList objects and looping through their members
18233 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18235 * Fix problem where even if scanning was turned off, card would still
18236 cycle through frequencies.
18238 2005-02-08 Dan Williams <dcbw@redhat.com>
18240 * panel-applet/NMWirelessApplet.c
18243 2005-02-08 Dan Williams <dcbw@redhat.com>
18245 Patch from Bill Moss
18246 * panel-applet/NMWirelessApplet.c
18247 - Restore correct ESSID in tooltips
18249 2005-02-07 Dan Williams <dcbw@redhat.com>
18251 * panel-applet/NMWirelessApplet.[ch]
18252 - Add a context menu that contains:
18253 Pause/Resume Wireless Scanning
18254 Stop/Start All Wireless Devices
18256 - Grab active device strength off active device,
18259 * panel-applet/NMWirelessAppletDbus.[ch]
18260 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18261 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18262 - Update active device strength every 2 seconds, not every 1 second
18264 * panel-applet/menu-info.c
18265 - Only disable wired devices in the menu when they support carrier detection,
18266 and don't currently have a link. Non-carrier-detect devices will always
18270 src/NetworkManagerDbusUtils.[ch]
18271 - Add new new dbus utils sources
18273 * src/NetworkManager.c
18274 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18275 with the boolean parameter
18276 - Set scanning_enabled & wireless_enabled to TRUE
18278 * src/NetworkManagerDbus.c
18279 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18280 - Implement scanning & wireless enable/disable calls
18281 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18283 * src/NetworkManagerDevice.c
18284 - New link detection stuff again...
18285 o Create device's mainloop earlier (but don't run it earlier)
18286 o Hook up new carrier-detect support stuff
18287 o Add in the ethtool & mii support detection code
18288 - Don't scan if scanning is disabled
18290 * src/NetworkManagerPolicy.c
18291 - Never automatically choose a device that doesn't support carrier detection
18292 - Don't automatically choose a wireless device if wireless is disabled
18294 2005-02-07 Dan Williams <dcbw@redhat.com>
18296 * libnm_glib/libnm_glib.c
18297 - Small cleanup in element list iteration
18299 2005-02-07 Dan Williams <dcbw@redhat.com>
18301 * src/NetworkManagerWireless.c
18302 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18303 to be in line with the WEXT quality specification
18305 2005-02-02 Dan Williams <dcbw@redhat.com>
18307 Patch from Nathan Fredrickson <nathan@silverorange.com>
18308 * Fix up compile for deprecation of libgnomeui
18309 - Switch to <glib/gi18n.h> from <libintl.h>
18310 - Remove <libgnomeui/libgnomeui.h> includes
18311 - Use gtk_window_set_default_icon_from_file() rather than
18312 gnome_window_set_default_icon_from_file()
18314 * named/nm-named-manager.c
18315 - (generate_named_conf): Fix return-nothing in non-void
18318 2005-02-02 Dan Williams <dcbw@redhat.com>
18320 * Clean up unused variables and the like
18322 2005-02-02 Dan Williams <dcbw@redhat.com>
18324 * src/NetworkManagerAPList.c
18325 - (nm_ap_list_merge_scanned_ap): merge strength too
18327 * src/NetworkManagerUtils.c
18328 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18329 of locking issues by printing out prettier information than g_mutex_lock
18330 - Print out names of mutexes registered with nm_register_mutex_desc()
18331 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18332 us to seemingly block here for too long
18334 * src/NetworkManager.c
18335 src/NetworkManagerAPList.c
18336 src/NetworkManagerDevice.c
18337 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18338 so we get better debug information printed
18340 * src/NetworkManagerDbus.c
18341 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18342 since it sometimes has locking side effects
18343 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18345 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18346 we don't need a switch. This gets called often enough that we can't block
18347 until the scan mutex is acquired, because we'll block on device activation
18348 and a few other things, which hangs main thread for too long.
18350 * src/NetworkManagerPolicy.c
18351 - (nm_policy_auto_get_best_device): reduce the possiblity that
18352 nm_device_need_ap_switch() will be called
18354 2005-02-02 Dan Williams <dcbw@redhat.com>
18356 * panel-applet/NMWirelessApplet.c
18357 - Display name of wireless network we are connecting to or connected to
18358 in the tooltip of the applet
18360 2005-02-02 Dan Williams <dcbw@redhat.com>
18362 * src/NetworkManagerDHCP.c
18363 - Hopefully fix double-default-route problem by cleaning up the default
18364 route added by DHCP code right before the DHCP transaction begins
18366 2005-02-02 Dan Williams <dcbw@redhat.com>
18368 * named/nm-named-manager.c
18369 - Write out valid resolv.conf when we exit
18371 2005-02-01 Dan Williams <dcbw@redhat.com>
18373 Patch from Colin Walters:
18374 * named/nm-named-manager.c
18375 - Make multi-domain search options work
18377 2005-01-31 Dan Williams <dcbw@redhat.com>
18379 * info-daemon/NetworkManagerInfoDbus.c
18380 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18382 * src/NetworkManagerDevice.c
18383 - (nm_device_new): Don't store the entire range struct, use only what we need
18384 (which is currently avg_quality, max_quality, and frequencies). Also
18385 zero device structure when we've free'd it to maybe expose errors down
18387 - (nm_device_update_signal_strength): grab the scan mutex before getting
18388 quality data from the card since quality will be useless during a scan.
18389 Call updated wireless qual-to-percent function with values stored in
18390 nm_device_new() earlier.
18391 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18392 nm_device_get_bad_crypt_packets())
18393 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18395 - (get_initial_auth_method): always use the Auth method that's in the allowed
18396 list if available. Problem was this: when the WEP key is wrong, NM will
18397 try OS then SK modes, and then get stuck in SK mode after that. This
18399 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18402 * src/NetworkManagerWireless.c
18403 - (nm_wireless_qual_to_percent): try to make this function actually work and
18404 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18405 if that's all present, otherwise fall back to signal-to-noise ratios.
18407 2005-01-29 Dan Williams <dcbw@redhat.com>
18409 * initscript/RedHat/NetworkManager
18410 - Don't spit out sysctl stuff to console
18412 * libnm_glib/libnm_glib.c
18413 - (libnm_glib_init): call dbus_g_thread_init()
18415 * panel-applet/NMWirelessAppletDbus.c
18416 - (nmwa_dbus_worker): call dbus_g_thread_init()
18418 * src/NetworkManager.c
18419 - (main): call dbus_g_thread_init()
18421 * src/NetworkManagerAPList.c
18422 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18423 so we can actually see what's there in a normal syslog
18425 * src/NetworkManagerDevice.c
18426 - (nm_device_activate_wireless): print out the "waiting for access point"
18427 message only once, then say what access point we actually got after
18429 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18430 function, wait until the scan is done. Scans may change the ESSID of
18431 the card, making this function think we need to switch access points
18432 - (nm_device_wireless_process_scan_results): for artificial access points
18433 don't check against the card's ESSID, but the best_ap's ESSID. This
18434 prevents collisions with the scanning code, which may change the card's
18435 ESSID and cause the access point to get dropped from the device's AP
18436 list. Also increase the keep-around time to 2m from 60s since the max
18437 scan interval could be 60s in some cases.
18439 * src/NetworkManagerPolicy.c
18440 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18441 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18442 the new properties and ESSIDs to the device's AP list. Fixes some races
18443 between NM and NMI.
18445 2005-01-27 Dan Williams <dcbw@redhat.com>
18447 * info-daemon/NetworkManagerInfoDbus.c
18448 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18449 GConf, make a minimal entry for it (essid & timestamp)
18451 * src/NetworkManagerAPList.c
18452 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18453 NetworkManagerInfo isn't running
18455 * src/NetworkManagerDbus.[ch]
18456 - (nm_dbus_nmi_is_running): new function
18458 * src/NetworkManagerDevice.c
18459 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18460 address to garbage.
18462 * src/NetworkManagerPolicy.c
18463 - (nm_policy_activation_finish): On successful activation, make sure
18464 the "best" AP has a MAC address, and don't tell NMI to add the
18465 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18466 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18467 access point after refreshing our allowed list if it doesn't already
18468 have a "best" access point.
18470 2005-01-25 Dan Williams <dcbw@redhat.com>
18472 * panel-applet/NMWirelessAppletDbus.c
18473 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18474 so we check for NM_DBUS_SERVICE rather than not for it
18476 * libnm_glib/libnm_glib.c
18477 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18478 ServiceOwnerChanged signal
18480 2005-01-25 Dan Williams <dcbw@redhat.com>
18483 - Check DBUS version in configure, and set the C macros
18484 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18486 * info-daemon/NetworkManagerInfoDbus.c
18487 - Remove #if 0-d section of code that quit NMI if NM went away.
18489 * panel-applet/NMWirelessAppletDbus.c
18490 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18492 * src/NetworkManager.c
18493 src/NetworkManagerMain.h
18494 src/NetworkManagerDbus.c
18495 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18496 - Make updating of our Allowed Wireless Network lists from NMI
18497 an idle function in the main thread now, with a high priority.
18499 2005-01-24 Dan Williams <dcbw@redhat.com>
18501 * panel-applet/gtkcellview.[ch]
18502 panel-applet/menu-info.c
18503 - Fix GTK version checks to be <= rather than <
18506 - Include the libtool archive of libnm_glib rather than
18507 trying to pull in the .so
18509 2005-01-24 Dan Williams <dcbw@redhat.com>
18511 * src/NetworkManagerDevice.c
18512 src/NetworkManagerDevicePrivate.h
18513 - Block nm_device_new() until our device's worker thread has had a
18514 chance to start up. Fixes a race between main thread and worker
18515 thread starting that caused activation requests to get lost.
18517 2005-01-24 Dan Williams <dcbw@redhat.com>
18519 * initscript/RedHat/NetworkManager
18520 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18521 to add the NM startup script at priority 50, which was
18524 2005-01-24 Colin Walters <walters@redhat.com>
18526 * named/named.conf: Use any port for query source instead of
18527 restricting to port 53.
18529 2005-01-24 Dan Williams <dcbw@redhat.com>
18531 * initscript/RedHat/NetworkManager
18532 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18533 to add the NM startup script at priority 50, which was
18536 2005-01-24 Dan Williams <dcbw@redhat.com>
18538 Patch from Tom Parker <palfrey@tevp.net>
18539 * Fix up compile warnings & errors in the wireless applet
18541 2005-01-24 Dan Williams <dcbw@redhat.com>
18543 * panel-applet/NMWirelessApplet.c
18544 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18546 2005-01-24 Dan Williams <dcbw@redhat.com>
18548 * panel-applet/gtkcellview.[ch]
18549 - Only compile these files for GTK 2.4 or lower, since
18550 GtkCellView is now public in GTK 2.6. Fixes crasher
18551 when choosing "Other Wireless Networks" from the panel
18554 2005-01-21 Dan Williams <dcbw@redhat.com>
18556 * src/NetworkManager.c
18557 - Daemonize earlier so that glib doesn't get confused (?)
18559 2005-01-21 Dan Williams <dcbw@redhat.com>
18561 * panel-applet/NMWirelessApplet.[ch]
18562 panel-applet/NMWirelessAppletDbus.c
18563 panel-applet/menu-info.c
18564 src/NetworkManagerDevice.c
18565 - Disable wired devices in the menu when they have no link.
18567 2005-01-21 Dan Williams <dcbw@redhat.com>
18569 * Cache last-known-good wireless authentication method in
18570 NetworkManagerInfo, and use that method first during
18571 wireless device activation. Should speed up devices that
18572 need Shared Key authentication method since Open System is
18575 * Remove the hack to not do full activation on wired connections
18576 that are active when we launch, it causes too many problems
18577 with name resolution and was a hack in the first place.
18579 * Re-work wireless device activation again somewhat to have a
18580 clearer chain of events and to use last-known-good
18581 authentication method of the access point. Also provide
18582 better status throughout activation to ensure the applet
18583 can tell the user exactly what's going on.
18585 * Remove the "find wireless network" code and now simply attempt
18586 to activate with that access point. This reduces the delay
18587 between selecting "Other wireless Network" and actually
18588 connecting to that network.
18590 * Correctly stop the device's worker thread when its removed.
18592 2005-01-21 Dan Williams <dcbw@redhat.com>
18595 - Clean up some of the debug messages
18597 2005-01-21 Dan Williams <dcbw@redhat.com>
18599 * Add new icons, more frames of animation
18600 * Remove some hacks to get the panel applet to display correct
18601 status, an NM update will soon follow that will fix the
18604 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18606 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18607 the first include for working i18n. Also, don't include it in .h files
18608 * panel-applet/NMWirelessApplet.h: Same
18609 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18610 * panel-applet/menu-info.c: Same
18612 2005-01-18 Dan Williams <dcbw@redhat.com>
18615 - Remove some debug messages
18616 - Wrap others in #ifdef DEBUG/#endif
18618 * src/NetworkManager.c
18619 - Remove some debug messages
18620 - Clarify some debug messages
18621 - Remove code related to old single-thread wireless scanning
18623 * src/NetworkManagerAP.[ch]
18624 - New AP property "last_seen" to track how recently an AP was
18626 - Start using 'const' more in function arguments
18628 * src/NetworkManagerAPList.[ch]
18629 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18630 of an AP found in an AP list from a source AP, or if not found
18631 in the list add the source AP
18632 - (nm_ap_list_combine): remove, no longer needed
18634 * src/NetworkManagerDevice.c
18635 - Each device now has a "worker" thread from start to end of its life.
18636 Scanning for wireless devices now happens in that thread,
18637 not in a single "wireless scanning thread" for all devices as
18638 previously. Activation consists of adding an idle handler to the
18639 thread's main loop/context, which gets run at the next available
18641 - Wireless scanning is also simplified, there is now only one list of
18642 access points per wireless device, and APs older than 60s are
18643 removed from the list. Previously, we kept results for the last
18644 3 scans and merged whole lists, which was complicated.
18645 - Cleaned up activation debug messages.
18646 - Wireless activation and access-point search routines now use Open System
18647 authentication before trying Shared Key.
18648 - Removed some code in nm_device_update_best_ap() that could cause cards
18649 to loose their link to the access point.
18650 - Scanning now uses a backoff algorithm, where the inverval becomes
18651 progressively longer between scans when the list of scanned access
18652 points doesn't change. A change will revert to the shortest scan
18655 * src/NetworkManagerWireless.[ch]
18656 - Remove code related to old single-thread wireless scanning
18658 2005-01-18 Colin Walters <walters@redhat.com>
18660 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18661 of older nameservers.
18663 2005-01-18 Colin Walters <walters@redhat.com>
18665 * named/nm-named-manager.c (generate_named_conf): Many fixes
18666 to config file generation.
18667 (safer_kill): Remove, was too much trouble for little gain.
18668 (nm_named_manager_start): Run named as NM_NAMED_USER.
18670 * configure.in: Add option --with-named-user.
18672 2005-01-14 Colin Walters <walters@redhat.com>
18674 Patch from ed@catmur.co.uk (Ed Catmur)
18676 * named/nm-named-manager.c: Add "context" property.
18677 Use it to add child watch source in specific GMainContext.
18679 * src/NetworkManager.c (nm_data_new): Initialize
18680 named with correct main context. Start named only
18683 2005-01-14 Colin Walters <walters@redhat.com>
18685 * named/nm-named-manager.c (generate_named_conf): Write config
18686 and pid files into NM_NAMED_DATA_DIR; this allows things to
18687 work better with FC3 named SELinux policy. Also fix up silly
18690 * configure.in: Add --with-named-dir option.
18692 2005-01-14 Colin Walters <walters@redhat.com>
18694 * configure.in: Make named support require passing --with-named.
18696 * named/nm-named-manager.c: Support writing resolv.conf directly
18697 without running named.
18699 2005-01-13 Dan Williams <dcbw@redhat.com>
18701 * named/nm-named-manager.c
18702 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18704 * src/NetworkManagerDevice.c
18705 - Rework wireless link detection code to be more reliable
18707 2005-01-12 Dan Williams <dcbw@redhat.com>
18709 * initscripts/RedHat/NetworkManager
18710 - Change initial level to "-" rather than "345" so that
18711 we don't activate ourselves by default on install
18713 2005-01-12 Dan Williams <dcbw@redhat.com>
18716 - Client library for applications using glib
18720 - Split NM_CFLAGS and NM_LIBS into separate variables
18721 like DBUS_*, HAL_* and GLIB_*
18723 * src/NetworkManager.c
18724 src/NetworkManagerMain.h
18725 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18726 broadcast a status changed signal over DBUS from the main thread.
18727 Still unused anywhere for the moment.
18729 Patch from j@bootlab.org
18730 * panel_applet/NMWirelessAppletDbus.c
18731 src/NetworkManagerDbus.c
18732 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18733 for the "getMode" method call
18735 2005-01-10 Dan Williams <dcbw@redhat.com>
18737 * src/NetworkManagerDevice.c
18738 - Minor fixups & corrections to "auto" frequency mode, make it
18739 less chatty with syslog
18741 2005-01-10 Dan Williams <dcbw@redhat.com>
18743 * src/NetworkManagerDevice.c
18744 - Implement "auto" frequency/channel support, since cards like Atheros
18745 can't use other frequencies at all when you've told it to use a
18746 specific one, even for scanning.
18747 - Grab the scan mutex around places where we can't tolerate wireless
18748 settings changing underneath us, like nm_device_wireless_network_exists()
18749 and nm_device_activate_wireless()
18751 * src/NetworkManagerWireless.c
18752 - Back scan interval off to 20s instead of 14s
18754 2005-01-09 Dan Williams <dcbw@redhat.com>
18756 * src/NetworkManagerDevice.c
18757 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18758 already set. Stops some drivers like Atmel from continually
18759 reloading the firmware, which they do upon every configuration
18762 2005-01-09 Dan Williams <dcbw@redhat.com>
18765 - Use correct timeout value
18767 * info-daemon/NetworkManagerInfoDbus.c
18768 src/NetworkManagerDbus.c
18769 - Consolidate communication between NM and NMI by doing only 1 dbus
18770 method call to get Wireless Network info from NMI instead of 6
18772 * src/NetworkManager.c
18773 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18774 when we didn't have an AP to use, we'd wait for one forever without
18777 * src/NetworkManagerDevice.c
18778 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18779 activation, dhcp might not have started yet but we don't quit activation
18780 before starting it, so the quit signal gets lost
18782 2005-01-07 Dan Williams <dcbw@redhat.com>
18785 - Rework the DHCP client code to be much less chatty when
18786 it receives non-DHCP UDP packets during the DHCP run
18787 (reported by and preliminary patches from Bill Moss)
18789 * Move wireless scanning to a separate thread. This thread forwards the
18790 results to the main thread when done where they are integrated into
18791 the device's access point lists. This keeps the main thread (which
18792 does all the DBUS communication) from being blocked for long periods
18793 of time by wireless scanning.
18795 * Make state modification an idle routine in the main loop, and trigger
18796 state changes rather than polling for them.
18798 * src/backends/NetworkManagerGentoo.c
18799 - Fix up invalid C90 code (reported by Christoph Ruessler)
18801 * src/NetworkManagerDevice.c
18802 - Revert IPv6 patch for wired devices from 2004-12-22 for
18803 router advertisements, causing problems and infinite loop
18804 during "best" device determination due to link going up/down
18805 (reported by Bill Moss)
18807 Apply patch from Peter Jones
18808 * src/NetworkManagerDevice.c
18809 - Shortcut for link-checking for ipw2x00 cards
18810 - Split out association check into separate routine
18812 2004-01-05 Colin Walters <walters@redhat.com>
18814 * named/named.conf: Add PID_FILE.
18816 * named/nm-named-manager.c: Always generate a pid
18817 file, since older BIND versions don't support
18820 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18822 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18824 2004-12-22 Dan Williams <dcbw@redhat.com>
18826 * src/NetworkManagerDevice.c
18827 - Silently fail when setting bitrate doesn't work
18830 Patches from j@bootlab.org:
18831 * src/backends/NetworkManagerDebian
18832 - Update backend to match functionality in RedHat backend
18833 * src/NetworkManagerDevice.c
18834 - Take down then bring up wired devices after connection so
18835 they send out ipv6 router advertisements
18837 2004-12-21 Colin Walters <walters@verbum.org>
18839 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18840 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18842 2004-12-21 Colin Walters <walters@redhat.com>
18844 * configure.in: Correct named detection.
18846 2004-12-21 Colin Walters <walters@redhat.com>
18848 * src/NetworkManager.c (nm_data_new): Initialize named.
18849 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18850 the mainloop when these signals are received.
18851 (nm_data_free): Unref named.
18852 (sigterm_handler, sigterm_pipe_handler): New functions for
18855 * src/NetworkManagerMain.h (NMData): Add signal handling and
18858 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18861 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18862 set nameservers from DHCP response data.
18863 (set_domain_search): Set domain search from DHCP response.
18864 (nm_device_dhcp_configure): Invoke them.
18866 * src/NetworkManagerSystem.c
18867 (nm_system_device_update_resolv_conf): Delete. Deleting
18868 code is totally sweet.
18870 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18872 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18873 implements an object which controls a nameserver. Currently
18876 * configure.in: Check for named.
18878 * Makefile.am (SUBDIRS): Add named dir.
18880 * named/named.conf: New template config file.
18882 2004-12-20 Colin Walters <walters@redhat.com>
18884 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18887 2004-12-17 Dan Williams <dcbw@redhat.com>
18889 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18890 link-local addresses instead of doing DHCP.
18892 * In the panel applet, there's a new "Create new Wireless Network..." item
18894 * The panel applet also sticks around now even if NetworkManager dies, but
18895 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18896 a bug, I'll fix that later.
18898 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18899 lookups after a switch rather than actually doing them.
18901 * Clean up some of those warnings in nm_ap_list_* functions
18903 * Delay between scans changed to 15s instead of 10s
18905 2004-12-15 Dan Williams <dcbw@redhat.com>
18907 Patch from Tom Parker
18908 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18911 * Longer pause after setting ESSID on cards that support a larger number
18912 of channels to give the card time to find the right channel
18914 * Add system hook to restart mDNSResponder (or whatever the local implementation
18915 of Multicast DNS is) when we activate interfaces
18917 2004-12-15 Dan Williams <dcbw@redhat.com>
18919 * Rework the DHCP code again to revert to sending full ethernet frames
18920 rather then relying on the kernel to do the right thing with our
18923 2004-12-06 Dan Williams <dcbw@redhat.com>
18926 - Fix some minor errors in dhcp_handle_transaction() that caused
18927 unexpected early timeouts of DHCP transactions
18930 - DHCP retransmit time from 4s -> 5s
18932 2004-12-05 Dan Williams <dcbw@redhat.com>
18934 * Major rework of the DHCP code, taking some cues from pump. We don't
18935 write raw Ethernet packets anymore, which simplifies the code quite
18936 a bit. The new code should be more robust, not hang in recvfrom()
18937 as much, and generally work better. This also means that we need
18938 to force HAL/dbus to use a created GMainContext rather than the
18939 default context, since having the DHCP renew/rebind thread using
18940 its own GMainContext seemed to give dbus a fit. There is also more
18941 debugging information printed from the DHCP loop to help with future
18944 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18945 assume that the default gateway should be the DHCP server.
18947 Patch from Matthew Schick <matt oss-institute org>
18948 * src/backends/NetworkManagerGentoo.c
18949 - Fix compilation error due to missing "ip4_broadcast"
18951 2004-12-03 Dan Williams <dcbw@redhat.com>
18953 * initscript/Makefile.am
18954 * initscript/Debian/NetworkManager
18955 * initscript/Gentoo/NetworkManager
18956 * initscript/RedHat/NetworkManager
18957 * initscript/NMLaunchHelper.c
18958 - Remove NMLaunchHelper, if you need to wait until the network
18959 comes up, use the dead code from CVS.
18961 2004-12-01 Colin Walters <walters@redhat.com>
18963 * configure.in: Suck in gcc warnings code from Rhythmbox,
18964 but use fewer default flags, and in particular add -Wno-unused,
18965 since the codebase has a lot of unused variables.
18967 * test/nmtestdevices.c (create_device):
18968 * test/nminfotest.c (get_network_string_property)
18969 (get_networks_of_type):
18970 * test/nmclienttest.c (main):
18971 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18972 * initscript/NMLaunchHelper.c (get_nm_status):
18973 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18974 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18975 Fix declarations after statements.
18977 2004-12-01 Colin Walters <walters@redhat.com>
18979 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18980 (nmi_dbus_get_vpn_userpass): New method.
18981 (nmi_dbus_nmi_message_handler): Invoke it.
18983 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18985 * info-daemon/NetworkManagerInfoVPN.h,
18986 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18987 to requests for VPN passwords.
18989 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18991 2004-12-01 Colin Walters <walters@redhat.com>
18993 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18996 2004-12-01 Colin Walters <walters@redhat.com>
18998 * panel-applet/NMWirelessAppletDbus.c
18999 (nmwa_dbus_update_active_device_strength): Fix missing
19002 2004-12-01 Colin Walters <walters@redhat.com>
19004 * panel-applet/NMWirelessApplet.c: Add missing include.
19006 2004-12-01 Colin Walters <walters@redhat.com>
19008 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19009 Remove useless CLAMP (); the value is unsigned, and the case tests
19010 qual->qual < 100, so the value must always be between 0 and 100.
19012 2004-12-01 Colin Walters <walters@redhat.com>
19014 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19016 2004-11-22 Colin Walters <walters@verbum.org>
19018 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19019 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19020 which is essentially a noop since nscd caches hosts on disk too.
19022 2004-11-22 Colin Walters <walters@redhat.com>
19024 * src/Makefile.am (NetworkManager_SOURCES): Add
19025 NetworkManagerDevicePrivate.h.
19027 2004-11-22 Dan Williams <dcbw@redhat.com>
19029 * src/NetworkManagerDevicePrivate.h
19030 - Split out the NMDevice struct to a different file so that stuff like
19031 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19035 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19036 need to cancel the dhcp request during the send and recv
19039 - Move the DHCP option enum to dhcpcd.h
19041 * src/NetworkManagerDHCP.c
19042 - Split out the actual IP/netmask/etc setting code
19043 - New Renew/Rebind functions
19044 - New timer setup function for renew/rebind operations
19046 * src/NetworkManagerDevice.c
19047 - For device activation, if we are using DHCP then keep the activation thread
19048 alive until device deactivation. We need to renew/rebind the DHCP address
19049 after the T1 (renew) and T2 (rebind) times have expired.
19050 - Increase some timeouts after bringing wireless cards up/down
19052 2004-11-17 Dan Williams <dcbw@redhat.com>
19054 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19055 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19056 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19057 show known access points that don't broadcast their ESSID in the menus without
19058 any user intervention whatsoever.
19060 * info-daemon/NetworkManagerInfoDbus.c
19061 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19062 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19064 * src/NetworkManagerAP.[ch]
19065 - Add a "user_addresses" data member to the NMAccessPoint structure
19066 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19067 the user_addresses data member
19069 * src/NetworkManagerAPList.c
19070 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19071 the AP's reported address
19072 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19074 * src/NetworkManagerDHCP.c
19075 - Increase DHCP timeout from 25s -> 30s
19077 * src/NetworkManagerDbus.[ch]
19078 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19081 * src/NetworkManagerDevice.c
19082 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19083 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19084 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19085 So, we take the card down to clear it out.
19086 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19087 too, since that's where the user_addresses are
19089 * src/NetworkManagerPolicy.c
19090 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19091 that wireless networks' user_addresses list upon successful activation
19093 2004-11-16 Dan Williams <dcbw@redhat.com>
19095 * src/NetworkManagerDevice.[ch]
19096 - (nm_device_clear_activation_fail): new function
19098 * src/NetworkManagerPolicy.c
19099 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19100 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19102 2004-11-16 Dan Williams <dcbw@redhat.com>
19104 * src/NetworkManagerDevice.c
19105 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19106 leak the structure, better updating of now_scanning status
19107 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19109 2004-11-15 Dan Williams <dcbw@redhat.com>
19111 Major rework of link detection code. We now use DHCP
19112 as part of the link detection which proves to be much more robust,
19113 and also supports Open System authentication for wireless networks.
19115 We no longer use external DHCP client programs. Instead, we use
19116 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19117 which was written by:
19118 Yoichi Hariguchi <yoichi@fore.com>
19119 Sergei Viznyuk <sv@phystech.com>
19120 http://www.phystech.com/download/
19121 It resides in the "dhcpcd" directory and was refactored into a general
19122 purpose DHCP client library by me.
19124 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19125 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19127 2004-11-15 Dan Williams <dcbw@redhat.com>
19129 Patch from Tom Parker <palfrey@tevp.net>:
19131 * src/NetworkManagerDevice.c
19132 - Less output to console when no access
19133 points are found during a scan
19135 2004-11-15 Dan Williams <dcbw@redhat.com>
19137 Patch from Tom Parker <palfrey@tevp.net>:
19139 * src/backends/interface_parser.c
19141 - Check for inp == NULL
19144 2004-11-13 Colin Walters <walters@redhat.com>
19146 Patch from Tom Parker <palfrey@tevp.net>:
19148 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19150 * src/backends/NetworkManagerRedHat.c: Switch to
19151 including shvar.h instead of shvar.c.
19153 * src/backends/NetworkManagerDebian.c: Don't include
19154 interface_parser.c in source file.
19156 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19157 and interface_parser.[ch].
19158 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19159 Include shvar.c and shvar.h here.
19160 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19161 interface_parser.c and interface_parser.h here.
19163 2004-11-12 Colin Walters <walters@redhat.com>
19165 * configure.in: Strip out TARGET_DISTRO and
19166 SYSTEM_BACKEND_FILE variables. Switch to Automake
19169 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19170 (libnmbackend_la_SOURCES): Use Automake conditionals
19171 to add distro-specific files.
19173 * initscript/Makefile.am (SUBDIRS): Update to
19176 2004-11-12 Colin Walters <walters@redhat.com>
19178 Patches from j bootlab org
19180 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19181 Add interface_parser.[ch].
19183 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19184 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19186 2004-11-12 Colin Walters <walters@redhat.com>
19188 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19189 call to nmi_dbus_is_running too, not necessary anymore.
19190 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19193 2004-11-11 Colin Walters <walters@verbum.org>
19195 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19197 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19198 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19199 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19200 This avoids a race condition that made it pretty easily
19201 possible to get two NetworkManagerInfo daemons running.
19203 2004-11-11 Colin Walters <walters@verbum.org>
19205 * src/NetworkManager.c (main): Use daemon(3).
19207 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19209 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19211 2004-11-10 Dan Williams <dcbw@redhat.com>
19213 Patches from j bootlab org
19214 * src/NetworkManagerDevice.c
19215 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19216 whether the card has a link or not, some cards are slow
19217 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19219 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19220 - Disable the "Login" button on the passphrase dialog until the user
19221 enters a valid passphrase or key
19223 Patches from Tom Parker <palfrey tevp net>
19224 * src/backends/NetworkManagerDebian.c
19225 - Add static IP support to the debian backend
19227 * src/backends/interface_parser.[ch]
19228 - Parse debian interface config files
19230 2004-11-08 Dan Williams <dcbw@redhat.com>
19232 * src/NetworkManagerDevice.c
19233 - Some random fprintf->syslog conversions
19234 - (nm_device_wireless_network_exists): double-check for network
19235 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19237 * src/NetworkManagerWireless.[ch]
19238 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19239 so that the binary->ascii conversion works (if unsigned, the bitshift
19240 will fill with zeros, which is what's required). Also mask bitshift
19241 result with 0xF for futher assurance.
19243 2004-11-06 Dan Williams <dcbw@redhat.com>
19245 * src/NetworkManagerUtils.c
19246 - (nm_get_wireless_driver_support_level): default to
19247 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19248 flip this when changing from whitelist->blacklist of
19251 2004-11-05 Dan Williams <dcbw@redhat.com>
19253 Patch from Robert Paskowitz:
19254 * src/backends/NetworkManagerGentoo.c
19255 - Update static IP config code
19257 2004-11-05 Dan Williams <dcbw@redhat.com>
19259 * info-daemon/NetworkManagerInfoDbus.c
19260 src/NetworkManagerDbus.[ch]
19261 src/NetworkManagerDevice.c
19262 - Keep track of the # of attempts to get the WEP key
19263 from the user and pass that along to the info daemon
19265 2004-11-05 Dan Williams <dcbw@redhat.com>
19267 * src/NetworkManagerUtils.c
19268 - Blacklist wireless cards rather than whitelisting them.
19269 - Grab driver name from HAL rather than trying to find it
19272 2004-11-03 Dan Williams <dcbw@redhat.com>
19274 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19275 - Disable OK button until valid data is entered
19276 for encryption stuff too
19278 * panel-applet/NMWirelessApplet.c
19279 - Report card strength for current AP if the card
19280 doesn't report strength data for scanned access
19283 * src/NetworkManagerDevice.c
19284 - Smooth out cards reported quality, Atmel card was
19285 intermittently reporting no quality data but soon
19288 * src/NetworkManagerWireless.c
19289 - Better quality data percentage calculation. Atmel
19290 cards (mine at least) seem to report the quality
19291 in percentage format already, so honor that
19293 Patch from <j@bootlab.org>
19295 info-daemon/NetworkManagerInfoPassphraseDialog.c
19296 info-daemon/passphrase.glade
19297 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19298 panel-applet/essid.glade
19299 src/NetworkManagerAP.c
19300 src/NetworkManagerDevice.c
19301 src/NetworkManagerWireless.[ch]
19302 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19304 2004-11-03 Dan Williams <dcbw@redhat.com>
19306 * src/NetworkManagerDevice.[ch]
19307 - (nm_device_set_enc_key): Add parameter to set Authentication
19308 Mode (Open System, Shared Key, or None). We're still using
19309 Shared Key for now though.
19311 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19313 * panel-applet/menu-info.c: change from bold text to light
19314 colored, may cause problems with some themes, i've tested a lot
19315 and they seem fine.
19317 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19319 2004-11-01 Colin Walters <walters@verbum.org>
19321 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19322 (nm_wireless_128bit_key_from_passphrase): Add const.
19324 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19325 (nm_ap_set_enc_key_source): Add const.
19327 2004-11-01 Colin Walters <walters@verbum.org>
19329 * .cvsignore: Update.
19331 2004-10-29 Dan Williams <dcbw@redhat.com>
19333 * src/NetworkManagerDevice.c
19334 - (nm_device_wireless_network_exists): Actually use the encryption
19335 key we got from the applet when attempting to find a wireless network
19336 - Don't bring devices down so much since on some cards it triggers
19337 firmware hotplugs each time
19339 * src/NetworkManagerDbus.c
19340 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19343 2004-10-29 Dan Williams <dcbw@redhat.com>
19345 * src/NetworkManager.c
19346 - (nm_hal_device_property_modified): unlock a locked active
19347 wireless device when a wired connection gets a link.
19348 (Means you'll switch to wired whenever you plug in no
19351 2004-10-29 Dan Williams <dcbw@redhat.com>
19353 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19354 - New files, implement the "Other wireless network" dialog
19356 * panel-applet/NMWirelessApplet.c
19357 - Move "other wireless network" dialog to separate file
19359 * panel-applet/NMWirelessAppletDbus.[ch]
19360 - Take key and key_type paramaters for the set_device function
19362 * panel-applet/essid.glade
19363 - Add UI bits for encryption settings
19365 * src/NetworkManagerDbus.c
19366 - Retrieve key and key_type params for "setActiveDevice" method call
19368 - unref AP returned from nm_device_get_best_ap() when needed
19370 * src/NetworkManagerDevice.c
19371 - (nm_device_get_best_ap): ref the ap before returning it
19372 - unref AP returned from nm_device_get_best_ap() when needed
19373 - (nm_device_activate_wireless): add "ap" parameter so we don't
19374 need to call nm_device_get_best_ap() here, it was pretty much
19376 - (AP_NEED_KEY): break second link check condition out into separate
19377 function, and fix segfault when ap->enc_key_source was NULL
19378 - (nm_device_find_and_use_essid): take key and key_type parameters and
19379 pass them along to nm_device_wireless_network_exists(). If the
19380 network does exist, set the passed-in key+key_type on the AP
19382 * src/NetworkManagerPolicy.c
19383 - unref AP returned from nm_device_get_best_ap() when needed
19385 2004-10-28 Dan Williams <dcbw@redhat.com>
19387 * src/NetworkManagerUtils.c
19388 - (nm_spawn_process): Fix a potential dereference of NULL
19390 Patches from Peter Jones:
19392 * src/NetworkManagerDevice.c
19393 - (nm_device_test_wireless_extensions): Better check for
19396 * src/NetworkManagerUtils.c
19397 - (nm_spawn_process): Pass in valid stdout and stderr so
19398 executed programs don't randomly SIGPIPE and fail
19399 - (nm_get_wired_driver_support_level): quash hal warning
19400 when checking for USB ethernet device
19402 2004-10-27 Dan Williams <dcbw@redhat.com>
19404 * info-daemon/NetworkManagerInfo.c
19405 info-daemon/NetworkManagerInfoDbus.c
19406 info-daemon/NetworkManagerInfoPassphraseDialog.c
19407 panel-applet/NMWirelessApplet.c
19408 - Properly escape gconf keys
19410 * src/NetworkManager.c
19411 - remove unused variables
19413 * src/NetworkManagerAP.c
19414 - (nm_ap_new_from_ap): Don't redundantly set new APs
19415 refcount since it got set in nm_ap_new()
19417 * src/NetworkManagerAPList.c
19418 - (nm_ap_list_combine): Give up ownership of newly created
19419 access points to the ap list, fixes memleak
19421 * src/NetworkManagerDevice.c
19422 - Remove cached_ap_list4 member since its not really needed
19423 - (nm_device_wireless_network_exists): Try to get correct
19424 encryption status of a found AP if its already in our
19426 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19427 memory allocs/deallocs a bit clearer and shorter-lived
19429 2004-10-26 Ray Strode <rstrode@redhat.com>
19431 * panel-applet/NMWirelessApplet.c:
19432 (custom_essid_item_selected): kill some compiler
19435 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19437 * info-daemon/NetworkManagerInfoDbus.c
19438 - (nmi_dbus_is_running): New function for determining if nmi is already running
19439 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19441 2004-10-23 Dan Williams <dcbw@redhat.com>
19443 * info-daemon/NetworkManagerInfoDbus.c
19444 - Trap the "DeviceActivationFailed" signal
19446 * docs/NetworkManager DBUS API.txt
19447 - Add "DeviceActivationFailed" signal
19449 * panel-applet/NMWirelessAppletDbus.c
19450 - Quash the "NetworkManager service not available" message
19452 * src/NetworkManagerDbus.[ch]
19453 - Add the "DeviceActivationFailed" signal
19455 * src/NetworkManagerDevice.c
19456 - Add support for activation_failed flag
19457 - Fix deadlock where activation thread didn't clean itself up, making
19458 main thread still believe it was alive forever (didn't reset activation
19459 flags like activating, just_activated, etc when IP configuration
19462 * src/NetworkManagerPolicy.c
19463 - Implement logic for DeviceActivationFailed signal, and when activation fails
19464 for wireless networks, try to fall back to some other access point
19466 2004-10-23 Dan Williams <dcbw@redhat.com>
19468 * panel-applet/NMWirelessApplet.[ch]
19469 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19470 to the applet object, so we can get tooltips
19471 - Add tooltips (RH #136866)
19473 * src/NetworkManagerDevice.c
19474 - When trying to find a wireless network, try to connect with encryption
19475 turned on first, so that we can more accurately detect whether or not
19476 we need to use encryption for the actual association later on
19478 2004-10-21 Dan Williams <dcbw@redhat.com>
19480 * Add some support for telling NetworkManagerInfo to tell the user
19481 that they are using a device that's not fully supported
19483 * Fix some assertions in debug messages due to null access point args
19485 2004-10-21 Dan Williams <dcbw@redhat.com>
19487 * src/NetworkManagerDevice.c
19488 - Don't try to activate/bring up/down unsupported
19491 * src/NetworkManagerUtils.c
19492 - Fix case of PCI ID checks for driver support levels
19494 2004-10-21 Dan Williams <dcbw@redhat.com>
19497 - New file, now contains commonly used structures and bits
19498 for the dbus API of NetworkManager
19501 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19503 * src/NetworkManager.h
19504 - Rename -> src/NetworkManagerMain.c
19506 * Various fixups all around to use NetworkManager.h and new
19507 src/NetworkManagerMain.h, remove redundant bits that got
19508 moved into NetworkManager.h
19510 * src/NetworkManagerDevice.[ch]
19511 src/NetworkManagerUtils.[ch]
19512 src/NetworkManagerPolicy.c
19513 src/NetworkManagerDbus.c
19514 - Whitelist wireless drivers, and blacklist some wired
19515 drivers. Also blacklist cipsec and ethernet-over-usb
19516 devices at this time (RH #135722, RH #135648)
19517 - Don't leak unsupported devices out over dbus, or allow
19518 them to be set as the active device. Skip over them
19519 during automatic device picking
19521 * test/nmclienttest.c
19522 - Clean up the dbus code a lot
19524 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19526 * configure.in: post release bump.
19528 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19531 * NEWS: Released NetworkManager-0.3.1
19533 2004-10-18 Dan Williams <dcbw@redhat.com>
19535 Patches from Thom May:
19536 * test/nmtestdevices.c
19537 - Include <string.h>
19538 * src/backends/NetworkManagerDebian.c:
19539 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19540 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19541 Move to using g_strdup_printf rather than arbitrary buffers
19542 - (nm_system_device_setup_static_ip4_config) Implement function.
19543 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19545 2004-10-17 Dan Williams <dcbw@redhat.com>
19547 * info-daemon/NetworkManagerInfoDbus.c
19548 - Display name of network in the "network not found" dialog
19550 * panel-applet/NMWirelessAppletDbus.c
19551 - (nmwa_dbus_call_nm_method): new function replaces all other
19552 nmwa_dbus_get_[string|string_array|int|boolean] methods
19553 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19554 consolidated into nmwa_dbus_get_object_name()
19556 2004-10-15 Dan Williams <dcbw@redhat.com>
19558 * src/NetworkManagerDbus.c
19559 info-daemon/NetworkManagerInfoDbus.c
19560 - Display an error dialog when the user tries to use an
19561 "Other wireless network" that's not found.
19563 2004-10-15 Dan Williams <dcbw@redhat.com>
19565 * panel-applet/NMWirelessApplet.[ch]
19566 - Fix up corner cases in applet state, making it
19567 look more responsive. Change state to "connecting" when
19568 the user is forcing a device too.
19570 2004-10-15 Dan Williams <dcbw@redhat.com>
19572 * src/NetworkManagerAPList.c
19573 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19575 * src/NetworkManagerDbus.c
19576 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19578 * src/NetworkManagerDevice.c
19579 - Disown APs after the device's AP list takes ownership
19581 2004-10-15 Dan Williams <dcbw@redhat.com>
19583 * panel-applet/NMWirelessApplet.c
19584 - Update our applet state from the GUI thread
19586 * panel-applet/NMWirelessAppletDbus.c
19587 - Greatly simplify the locking to make the GUI thread
19588 smoother. Update a private copy of the device list
19589 and active device and only when done talking to
19590 NetworkManager turn it over to the GUI thread.
19592 2004-10-15 Dan Williams <dcbw@redhat.com>
19594 * src/NetworkManagerAP.[ch]
19595 - Add "artificial" get/set functions, set for APs that
19596 aren't discovered as part of a scan but instead
19597 discovered by force-setting the ESSID
19599 * src/NetworkManagerDevice.[ch]
19600 - (nm_device_wireless_network_exists): pass back whether
19601 or not the discovered AP was encrypted. Also, try
19602 falling back to encrypted mode on the card if unencrypted
19603 association doesn't work
19604 - (nm_device_find_and_use_essid): If the network requested
19605 did in fact exists, but it wasn't in our scan list, add
19606 an "artificial" entry for it. Some Cisco cards don't
19607 see non-ESSID-broadcasting APs in their scan but can still
19608 associate with them if you know the ESSID, this works around
19610 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19611 to scan if the card is currently associated with that AP
19613 2004-10-15 Dan Williams <dcbw@redhat.com>
19615 ---- We have a website ----
19616 http://people.redhat.com/dcbw/NetworkManager
19618 Patch from Robert Paskowitz:
19619 * src/NetworkManager.c
19620 - (main): Make sure we are run as root
19621 * src/NetworkManagerDevice.c
19622 - Fix type in ad-hoc setting function
19624 Patch from Thom May:
19625 * src/backends/NetworkManagerDebian.c
19626 - Make Debian backend compile again
19628 2004-10-14 Dan Williams <dcbw@redhat.com>
19630 * Tagged NetworkManager-0_3
19632 2004-10-14 Dan Williams <dcbw@redhat.com>
19634 Patch from Robert Paskowitz:
19636 src/NetworkManagerDevice.[ch]
19637 src/backends/NetworkManagerDebian.c
19638 src/backends/NetworkManagerGentoo.c
19639 src/backends/NetworkManagerRedHat.c
19640 src/backends/NetworkManagerSlackware.c
19641 - Add support for grabbing and using a broadcast address
19642 from system config files
19643 - Some Gentoo backend fixes for grabbing network config
19644 - Fix LOG_WARN->LOG_WARNING
19646 2004-10-14 Dan Williams <dcbw@redhat.com>
19648 * NEWS: a few small fixes in the credits
19650 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19652 * NEWS: prep for release.
19654 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19656 * panel-applet/NMWirelessAppletDbus.c
19657 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19659 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19661 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19662 applet->state == APPLET_STATE_NO_NM animation.
19664 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19665 set the text correctly.
19667 2004-10-14 Dan Williams <dcbw@redhat.com>
19669 * src/NetworkManager.c
19670 - Only accept and manager 802.3 and 802.11 devices
19672 * src/NetworkManagerDbus.[ch]
19673 - (nm_dbus_nm_set_active_device): move most of the actual activation
19674 logic into NetworkManagerDevice.c
19675 - (nm_dbus_network_status_from_data): new function
19676 - (nm_dbus_signal_network_status_change): new function, unused for now
19677 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19679 * src/NetworkManagerDevice.[ch]
19680 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19683 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19685 * info-daemon/NetworkManagerInfo.c
19686 - (main): Added session management
19688 2004-10-14 Dan Williams <dcbw@redhat.com>
19690 * panel-applet/NMWirelessAppletDbus.[ch]
19691 - Expose network_device_[un]ref()
19692 - Expose wireless_network_[un]ref()
19693 - (wireless_network_new_with_essid): new function, create and return
19694 a wireless network with a particular essid
19696 * panel-applet/NMWirelessApplet.c
19697 - Hook up the "other network" dialog to do something
19699 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19701 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19702 doesn't work yet, but it looks okay.
19704 * panel-applet/icons/*png: Resize to 22x22 and install in the
19707 2004-10-13 Dan Williams <dcbw@redhat.com>
19709 * panel-applet/NMWirelessApplet.c
19710 - Add function to print out applet_state in a readable
19713 * src/NetworkManager.c
19714 - (main): Don't segfault when nm_dbus_init() fails, we had
19715 a left-over call to hal_shutdown() into which we passed NULL
19717 * src/NetworkManagerAP.c
19718 - (nm_ap_set_essid): Allow NULL essids
19720 * src/NetworkManagerAPList.[ch]
19721 - More use of nm_ap_list_[un]lock ()
19722 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19723 network/essid, just return nothing. Also skip over NULL
19724 essid access points in the list when searching
19725 - (nm_ap_list_get_ap_by_address): new function
19726 - (nm_ap_list_update_network): set the access point's key source to
19727 NULL when the key returned from NetworkManagerInfo is NULL or
19729 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19730 copy timestamp over too
19731 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19732 find the correct ESSID for a blank-essid access point by searching
19733 through another list and matching access point MAC addresses
19734 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19736 * src/NetworkManagerDbus.c
19737 - (nm_dbus_nm_set_active_device): deal with random networks the user
19738 may specify. This is mainly for access points that don't
19739 broadcast their essid. So if the user tells us to associate with
19740 some random ESSID that's not in our access point list, we find
19741 out if the access point does in fact exist (by attempting association
19742 and then matching that access point's MAC address with the essid the
19743 user gave us) and then we switch to it.
19744 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19745 to the returned list of networks for the "getNetworks" method
19747 * src/NetworkManagerDevice.[ch]
19748 - Extra debugging info for link detection
19749 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19750 based on MAC address
19751 - (nm_device_get_path_for_ap): ignore blank-essid access points
19752 - (nm_device_wireless_network_exists): new function, find out whether
19753 a random ESSID exists by attempting to associate with it
19754 - (nm_device_do_normal_scan): allow blank-essid access points in our
19755 device list as long as they have an AP MAC address we can use.
19756 Also send WirelessNetwork[Dis]Appeared signals for non-active
19757 devices too. Lets the applet update more frequently.
19759 * src/backends/NetworkManagerGentoo.c
19760 - Patch from: Robert Paskowitz
19761 - Update backend code for Gentoo
19762 - Implement nm_system_device_update_config_info ()
19764 * test/nmclienttest.c
19765 - (set_network_device): new function, takes a command-line argument
19766 and tells NetworkManager to use that wireless network
19768 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19770 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19771 if the notification icon crashes 5 times within 5 seconds of each respawn
19773 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19775 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19778 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19780 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19782 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19783 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19784 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19785 Change the name of the icons.
19787 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19788 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19789 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19790 (nm_menu_wireless_expose_event): Really bad hack to get the style
19791 to draw in the right color.
19793 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19795 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19796 Notification if it crashes
19798 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19800 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19801 (nmwa_dbus_get_string): remove unused functions
19803 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19804 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19805 remove unused functions
19807 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19809 2004-10-12 Dan Williams <dcbw@redhat.com>
19811 * panel-applet/NMWirelessAppletDbus.c
19813 wireless_network_new
19814 wireless_network_copy
19816 network_device_copy
19818 * src/NetworkManagerDevice.[ch]
19820 nm_device_set_mode_managed
19821 nm_device_set_mode_adhoc
19822 - Use these functions where appropriate
19823 - When creating a new wireless device, force the card
19824 to managed/Infrastructure mode as soon as possible
19826 2004-10-12 Dan Williams <dcbw@redhat.com>
19828 * src/NetworkManagerDevice.c
19829 - Force wireless cards into Infrastructure mode before we use them
19831 2004-10-12 Dan Williams <dcbw@redhat.com>
19834 - Remove bit about static IP address support
19836 * src/NetworkManagerUtils.c
19837 - (nm_spawn_process): Add some error reporting
19839 * src/NetworkManagerDevice.c
19840 - (nm_device_activation_configure_ip): hook up to the static config
19841 routines in the backends
19843 * src/backends/NetworkManagerRedHat.c
19844 - (nm_system_device_update_config_info): use shvar.c routines to
19845 parse the config file iformation, not our own
19846 - (nm_system_device_setup_static_ip4_config): new function, based
19847 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19848 with a static IP address and gateway
19850 * src/backends/shvar.[ch]
19851 - Parser (filched from initscripts package) for ifcfg-* files
19853 * src/backends/NetworkManagerSystem.h
19854 src/backends/NetworkManagerGentoo.c
19855 src/backends/NetworkManagerDebian.c
19856 src/backends/NetworkManagerSlackware.c
19857 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19859 2004-10-11 Dan Williams <dcbw@redhat.com>
19862 - Remove bit about more robust AP diffing since I just implemented it
19864 2004-10-11 Dan Williams <dcbw@redhat.com>
19866 * src/NetworkManagerAP.c
19867 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19868 enough RAM to allocate new AP structures, but return NULL instead
19870 * src/NetworkManagerAPList.[ch]
19871 - (nm_ap_list_is_empty): new function
19872 - (nm_ap_list_combine): new function, combine two access point lists
19873 - (nm_ap_list_copy_keys): new function, copy keys from one list
19876 * src/NetworkManagerDevice.[ch]
19877 - Rename some functions to be clearer:
19878 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19879 nm_device_just_activated -> nm_device_is_just_activated
19880 nm_device_activating -> nm_device_is_activating
19881 nm_device_now_scanning -> nm_device_is_scanning
19882 - Cache the last 4 scans so that the access point list is more stable.
19883 We combine the lastest two scans and use that as the AP list,
19884 and diff that combined list against the combination of the earliest
19885 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19887 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19889 * info-daemon/NWManagerInfo.h
19890 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19892 * info-daemon/NWManagerInfoDbus.c
19893 - (shutdown_callback): new function
19894 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19895 if NetworkManager goes away. Kill the timeout
19896 if NetworkManager restarts before the 30 seconds
19898 - (nmi_dbus_service_init):
19899 - call gtk_main_quit if NetworkManager is not running
19900 - add filters to monitor dbus service creations and
19903 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19905 * panel-applet/NMWirelessApplet.c
19906 - (nmwa_update_state): Hide notification icon if we are only
19907 showing one wired card and no wireless interfaces
19908 (Red Hat Bug #134895)
19910 * panel-applet/NMWirelessAppletDbus.c
19911 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19913 * info-daemon/NWManagerInfo.c
19914 - (main): Terminated the notification_icon_cmd array with a NULL
19916 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19918 * configure.in (ALL_LINGUAS): Added de (German).
19920 2004-10-08 Dan Williams <dcbw@redaht.com>
19922 * src/NetworkManagerDevice.c
19923 - Be a bit more robust about link checking, ie make sure that
19924 the WEP key we were given actually has some data in it
19926 2004-10-08 Dan Williams <dcbw@redhat.com>
19928 * info-daemon/NetworkManagerInfo.c (main):
19929 - Initialize GError object to NULL
19931 2004-10-08 Dan Williams <dcbw@redhat.com>
19933 * panel-applet/NMWirelessAppletDbus.c
19934 - Die if NetworkManagerInfo dies, since it manages our lifetime
19936 2004-10-08 Dan Williams <dcbw@redhat.com>
19938 * info-daemon/NetworkManagerInfo.[ch]
19939 info-dameon/NetworkManagerInfoDbus.[ch]
19940 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19941 - Preserve original label text in the passphrase dialog so that
19942 it actually gets updated with the new network name the next
19943 time around. Previously, we were overwriting it so you'd get
19944 the wrong network name to enter a key for
19945 - Add a "Key Type" combo to the passphrase dialog, user selects
19946 encryption key type now, type is stored in GConf too
19947 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19949 * src/NetworkManagerAP.[ch]
19950 - Remove all the encyption method magic. It's now set by the user
19951 and NetworkManager retrieves the type of encryption key from
19954 * src/NetworkManagerAPList.[ch]
19955 src/NetworkManagerDbus.[ch]
19956 - Adjust to new way of setting encryption key and method
19957 - Pull encryption method down from NMI along with key
19959 * src/NetworkManagerDevice.[ch]
19960 - Removed encryption method fallback magic as the method is now
19961 determined by the user. This greatly simplifies the connection
19963 - More robust connection/link logic. Besides removing the encryption
19964 method fallback magic, check whether or not the card is receiving
19965 invalidly encrypted packets, which usually indicates that we have
19967 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19969 * test/nminfotest.c
19970 - Test out new "Key Type" stuff in the NMI passphrase dialog
19972 2004-10-07 Dan Williams <dcbw@redhat.com>
19974 * info-daemon/NetworkManagerInfo.conf
19975 - Allow root user to run NMI too
19977 2004-10-06 Dan Williams <dcbw@redhat.com>
19979 * src/NetworkManagerDevice.[ch]
19980 src/NetworkManagerDbus.c
19981 doc/NetworkManager DBUS API.txt
19982 - Add a new status tag "scanning", which is set when there
19983 is no active network connection, but NetworkManager is
19984 looking for an access point to associate with
19986 * panel-applet/main.c
19987 - Cast the applet appropriately for gtk_widget_show_all ()
19989 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19991 * panel-applet/eggtrayicon.[ch]:
19992 * panel-applet/main.c: Add missing file
19994 2004-10-04 Dan Williams <dcbw@redhat.com>
19996 * src/NetworkManagerDevice.[ch]
19997 - Add a slightly more robust method of determining if the WEP key
19998 is correct or not, by checking the WEP-discarded packet count
20001 * info-daemon/NetworkManagerInfo.c
20002 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20003 un-escape values we pull out rather than escaping them
20005 2004-10-03 Marcel Telka <marcel@telka.sk>
20007 * configure.in (ALL_LINGUAS): Added sk.
20009 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20011 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20012 and feel. We should be back to working, and have a good, clean
20015 2004-09-30 Dan Williams <dcbw@redhat.com>
20017 * info-daemon/NetworkManagerInfo.c
20018 info-daemon/NetworkManagerInfoDbus.c
20020 - Escape ESSIDs in gconf
20022 * src/NetworkManagerDevice.c
20023 - Fix pseudo-scanning to use netowrk list from info daemon
20025 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20027 * configure.in: Add a temporary --enable-notification-icon. This
20028 will prolly go away.
20030 * info-daemon/Makefile.am:
20031 * info-daemon/NetworkManagerInfo.c:
20032 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20034 * panel-applet/Makefile.am:
20035 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20036 * panel-applet/NMWirelessApplet.h:
20038 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20040 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20041 before 'select custom ESSID'.
20043 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20044 fully complete, but syncing in prep for merge.
20046 * panel-applet/icons/*png: New images
20048 2004-09-28 Dan Williams <dcbw@redhat.com>
20050 * src/NetworkManager.c
20051 src/NetworkManagerDevice.c
20052 src/NetworkManagerPolicy.c
20053 - Don't blow away an active wired connection on startup
20055 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20059 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20061 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20064 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20066 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20067 have a wireless card.
20069 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20071 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20072 Also, get the right device strings.
20074 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20076 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20077 the logic to make this right.
20079 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20080 devices so that wired networks are always first.
20082 2004-09-22 <clarkbw@cvs.gnome.org>
20084 * initscript/Debian/.cvsignore:
20085 * initscript/Slackware/.cvsignore:
20086 Added new cvsignores for Makefile, Makefile.in
20089 Added nmtestdevices
20091 * src/NetworkManagerDevice.c:
20092 * src/NetworkManager.c:
20093 Updated the wireless/wired HAL device strings from net.ethernet to
20094 net.80203 or net.80211 depending on wired or wireless respectively
20096 * examples/python/NetworkManager.py:
20097 s/Quality/Strength/
20099 * examples/python/systray/network_tray.py:
20100 Lots of little changes and fixes. been rotting for a while so I
20101 figured I'd finally sync them all with CVS
20103 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20105 * configure.in: Add graphics
20107 * panel-applet/Makefile.am: Add graphics
20109 * panel-applet/icons/*: Add graphics
20111 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20112 the icons fully lined up.
20114 * panel-applet/menu-info.c:
20115 * panel-applet/menu-info.h: Add another menu type.
20117 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20119 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20121 * panel-applet/menu-item.[ch]: Wireless menu item.
20123 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20125 * info-daemon/NetworkManagerInfo.conf
20126 - Created a more robust security policy for the DBus service
20127 - everything is denied by default
20128 - root can own and send to the service
20129 - users logged in at the console can send to the service
20131 2004-09-13 Dan Williams <dcbw@redhat.com>
20133 * src/NetworkManagerDevice.c
20134 - (nm_device_get_essid): use iw_get_basic_config() rather than
20135 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20138 2004-09-13 Dan Williams <dcbw@redhat.com>
20142 * docs/NetworkManager DBUS API.txt
20143 - Update for new signal strength changes
20145 * panel-applet/NMWirelessApplet.c
20146 - Make panel icon show strength of the current connection
20147 - Cleanups and memleak fixes
20149 * panel-applet/NMWirelessApplet.h
20150 - Add data members for signal strength on devices and networks
20152 * panel-applet/NMWirelessAppletDbus.c
20153 - Free more DBusErrors
20154 - Update for new signal strength changes
20155 - Make devices and networks more like real objects, use ref/unref methods
20156 - Actually unlock the mutex when updating the active device
20158 * src/NetworkManagerAP.c
20159 - Change AP functions and data members from "quality"->"strength"
20161 * src/NetworkManagerDbus.c
20162 - Kill "getMaxQuality" and "getQuality" methods
20163 - Add "getStrength" methods for Networks and Devices
20165 * src/NetworkManagerDevice.[ch]
20166 - Add accessors for device strength
20167 - Add functions to update strength for a device. Note that not all drivers
20168 actually support signal strength for scanned access points (Atmel drivers
20170 - Calculate signal strength for each AP during scan
20172 * src/NetworkManagerWireless.[ch]
20173 - Add function to return signal strength % from a device and a raw quality struct
20175 * test/nmclienttest.c
20176 - Update for new signal strength changes
20178 2004-09-11 Dan Williams <dcbw@redhat.com>
20180 * src/NetworkManager.c
20181 - Fix race condition between initscripts and NM on card insertion
20182 which could cause a card to keep an IP address and routes around
20183 even when it was not the active device
20185 * src/NetworkManagerDbus.c
20186 - Fix compile errors, free more DBusErrors
20188 2004-09-11 Dan Williams <dcbw@redhat.com>
20190 * docs/NetworkManager DBUS API.txt
20191 - Add an explanation of NM's API
20193 * src/NetworkManagerDbus.c
20194 - Free some more DBusErrors if needed
20196 2004-09-11 Dan Williams <dcbw@redhat.com>
20198 * panel-applet/NMWirelessApplet.c
20199 panel-applet/NMWirelessAppletDbus.c
20200 - Start using NetworkDevice/WirelessNetwork structures in more places
20201 - Update for unified device/network forcing in NetworkManager
20203 * src/NetworkManager.c
20204 - some code consolidation
20206 * src/NetworkManagerDbus.c
20207 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20208 or two arguments: the first is the NM ID of the device to switch to,
20209 and the second (optional) argument is the ESSID of a wireless network
20211 - Get rid of "setNetwork" method due to above change
20213 * src/NetworkManagerDevice.c
20214 - (nm_device_new): perform scan and update best AP on device creation
20215 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20216 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20217 spin waiting for cancellation to finish before returning
20219 * src/NetworkManagerPolicy.c
20220 - Changes here clarify the situations in which a device switch occurs, and
20221 make sure to keep using a forced device and network if the user gives
20223 - Remove old unused code
20225 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20227 * configure.in: Added Danish (da) to ALL_LINGUAS.
20229 2004-09-09 Dan Williams <dcbw@redhat.com>
20231 * panel-applet/NMWirelessAppletDbus.c
20232 - Pull fresh devices and networks from NM when wireless networks
20233 change. Provides faster feedback of a forced wireless network
20235 * src/NetworkManagerDbus.c
20236 - Return error when "getMaxQuality" is called on a wired device
20237 - Make best_ap freezing actually work again, and signal cancellation
20238 of activation if there's already a device activation when the user
20239 freezes the best_ap
20241 * src/NetworkManagerDevice.c
20242 - Don't clear out the best_ap for wireless devices when the link goes
20243 down, that's done elsewhere
20244 - Kill any dhcp daemons when cancelling device activation since they
20245 may be stuck waiting for a DHCP address, and since we're cancelling
20246 activation we don't care about that anymore
20248 * src/NetworkManagerPolicy.c
20249 - Make sure to unref the device we ref earlier (we refed it to make sure
20250 it stuck around during device activation and such)
20251 - If we were going to change the best device, but its activating currently
20252 (and therefore the change didn't occur due to the check earlier)
20253 we mark the state changed to we come back to it later when device
20254 activation has canceled and its no longer activating
20256 * src/backends/NetworkManagerRedHat.c
20257 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20259 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20261 * info-daemon/passphrase.glade:
20262 set passphrase input to activates_default : True
20264 * examples/python/systray/network_tray.py
20265 (network_tray.sort_networks):
20267 Added support for having wireless always scanning
20269 2004-09-09 Dan Williams <dcbw@redhat.com>
20271 NOTE: this commit changes the behavior of wireless devices in
20272 NetworkManager. They are now up all the time, scanning all
20273 the time. Only the active device has an IP address and routing
20274 information set up however. Also, NetworkManager will no longer
20275 opportunistically switch wireless networks when a better one
20276 comes in range, it will remain associated with one wireless network
20277 until that one drops out.
20279 * panel-applet/NMWirelessApplet.c
20280 panel-applet/NMWirelessAppletDbus.c
20281 - List all wireless cards and their respective networks
20283 * src/NMLoadModules
20284 - Use full path to /sbin/ip
20286 * src/NetworkManager.c
20287 - Keep wireless devices up all the time so they can scan
20289 * src/NetworkManagerDbus.c
20290 - On a WirelessNetworkUpdate signal from NMI, don't update
20293 * src/NetworkManagerDevice.c
20294 - (nm_device_set_link_active): clear out the best ap for
20295 wireless devices when the link is set to FALSE
20296 - Scan on all wireless cards, all the time
20297 - (nm_device_activation_worker): split out the wireless card
20298 link-waiting code to a separate function
20299 - Keep wireless cards up even if device activation fails
20300 - Don't update the "best" ap as much
20302 * src/NetworkManagerPolicy.c
20303 - Don't update the best ap when checking if its frozen,
20304 let link checking clear out a frozen best ap for us
20306 * src/NetworkManagerWireless.c
20307 - Scan on all wireless cards, all the time
20309 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20311 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20313 2004-09-09 Ankit Patel <ankit@redhat.com>
20315 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20317 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20319 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20321 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20323 * examples/python/NetworkManager.py:
20324 added CONNECTED, CONNECTING, and DISCONNECTED states
20325 added methods to return number of devices of a single type
20327 * examples/python/systray/network_tray.py:
20328 did some tweaks to get the menu looking near what it is supposed
20329 to look like. Also did a Airo card hack to make it show the
20332 2004-09-08 Dan Williams <dcbw@redhat.com>
20334 * panel-applet/no-networkmanager.png
20335 panel-applet/Makefile.am
20336 panel-applet/NMWirelessApplet.c
20337 - Add a "NetworkManager not running" icon and use it
20338 - Use new consolidated GConf keys rather than Preferred/Trusted
20342 * info-daemon/NetworkManagerInfo.c
20343 info-daemon/NetworkManagerInfoDbus.[ch]
20344 info-daemon/NetworkManagerInfoPassphraseDialog.c
20345 - There are now no longer two separate lists of wireless networks,
20346 but one list where each network is "trusted" or not trusted
20347 - Add a "getNetworkTrusted" dbus method
20348 - "WirelessNetworkUpdate" signal now sent rather than
20349 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20350 - Start freeing some dbus errors (not completed yet)
20352 * info-daemon/passphrase.glade
20353 - Remove the "don't show" hints for pager and taskbar
20354 - Add a title since its going to be in the taskbar
20356 * src/NetworkManager.[ch]
20357 src/NetworkManagerAPList.[ch]
20358 - There are now no longer two separate lists of wireless networks,
20359 but one list where each network is "trusted" or not trusted
20361 * src/NetworkManagerAP.[ch]
20362 - Add get/set "trusted" accessors and data bit
20364 * src/NetworkManagerDbus.[ch]
20365 - Add function to get "trusted" status of a network from NetworkManagerInfo
20366 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20368 * src/NetworkManagerDevice.[ch]
20369 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20370 - (nm_device_new): Get device config from backend when initializing devices
20371 - (nm_device_activation_worker): Split out device configuration on
20372 activation to deal with static/dynamic IP differences, and try encryption
20373 fallbacks on a device if the encryption method for the best AP is not good
20374 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20375 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20377 * src/NetworkManagerWireless.c
20378 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20380 * src/backends/NetworkManagerRedHat.c
20381 src/backends/NetworkManagerSystem.h
20382 - (nm_system_device_update_config_info): Add function to get device configuration
20383 from system data in ifcfg-* files
20385 * src/backends/NetworkManagerDebian.c
20386 src/backends/NetworkManagerGentoo.c
20387 src/backends/NetworkManagerSlackware.c
20388 - Add stub functions for getting device configuration
20390 2004-09-07 Dan Williams <dcbw@redhat.com>
20392 * src/backends/NetworkManagerRedhat.c
20393 src/backends/NetworkManagerSlackware.c
20394 - Use full path to /sbin/ip everywhere
20396 2004-09-07 Dan Williams <dcbw@redhat.com>
20398 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20401 initscript/Makefile.am
20402 initscript/Slackware/Makfile.am
20403 initscript/Slackware/rc.networkmanager
20405 src/backends/NetworkManagerSlackware.c
20406 - Add Slackware support
20408 2004-09-07 Dan Williams <dcbw@redhat.com>
20410 Patches below from:
20412 Mark Roach <mrroach@okmaybe.com>
20413 Thom May <thom@debian.org>
20416 initscript/Debian/NetworkManager
20417 initscript/Debian/Makefile.am
20418 - Initscript for Debian
20420 * src/backends/NetworkManagerDebian.c
20421 - Add missing system init function to allow compilation
20424 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20426 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20428 2004-09-03 Akagic Amila <bono@linux.org.ba>
20430 * configure.in: Added 'bs' to ALL_LINGUAS.
20432 2004-09-02 Colin Walters <walters@verbum.org>
20434 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20435 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20436 g_strdup_printf instead of arbitrarily sized buffers.
20438 2004-09-01 Colin Walters <walters@verbum.org>
20440 * NetworkManager.pc.in: New file.
20442 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20444 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20446 * configure.in: Punjabi(pa) is added to po/.
20448 2004-08-31 Dan Williams <dcbw@redhat.com>
20450 * Remove 'debug' extern global from all files since we now
20453 * src/NetworkManager.[ch]
20454 - Break out routine that get the net.interface property from HAL,
20455 removing that logic from nm_create_device_and_add_to_list()
20456 - (nm_create_device_and_add_to_list): make this a bit more general so
20457 it doesn't do the talking to HAL. Also add arguments to facilitate
20458 the create of test devices.
20459 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20460 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20461 which makes NetworkManager listen for dbus commands to create test
20462 devices, which have no backing hardware. Use when you're on a plane
20463 for example, and/or forgot your wireless card at home. Test devices
20464 _cannot_ be created unless NM is started with --enable-test-devices.
20466 * src/NetworkManagerDbus.[ch]
20467 - New "getLinkActive" method for devices
20468 - New "setLinkActive" method for devices (only works on test devices)
20469 - New "createTestDevice" method on NetworkManager object to create a test
20470 device of a specified type (ie wired, wireless). UDI is created from
20471 scratch, as is the interface name. Only works when NM is started with
20472 --enable-test-devices switch.
20473 - New "removeTestDevice" method on NetworkManager object which removes a
20474 test device. Only works when NM is started with --enable-test-devices
20476 * src/NetworkManagerDevice.[ch]
20477 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20478 whether a device is a test device or not, and what its link status is.
20479 - Deal with test devices in most functions. For those that work directly on hardware
20480 special-case test devices.
20481 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20483 - (nm_device_update_link_active): split out logic for wired and wireless device link
20484 checking to separate functions to facilitate test device link checking.
20485 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20486 don't make a distinction between System Authentication and Encryption
20487 (namely Cisco aironet), we use Open System auth when setting a WEP key
20488 on the card. We don't deal with Shared Key auth yet.
20489 - (nm_device_activation_worker): split the activation cancel check logic out into
20490 a separate routine nm_device_activation_cancel_if_needed()
20491 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20492 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20493 a list of fake access points that they can "see"
20494 - (nm_device_is_test_device): return whether or not a device is a test device
20496 * src/NetworkManagerPolicy.c
20497 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20498 previously if you "locked"/forced NM to use a wireless device but then
20499 selected a wireless network for NM to use, it would switch to a wired device.
20500 So, if the active device is wireless and it has a "forced" best AP, use it
20501 if the "forced" best AP is still valid
20502 - (nm_state_modification_monitor): deal with NULL best devices, for example
20503 there were no usable network devices, or the last one was removed
20505 * src/backends/NetworkManager*.c
20506 - Deal with test devices, mostly just return success for operations like getting
20509 * test/nmtestdevices.c
20510 - Test tool to create/remove/link-switch test devices
20512 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20514 * examples/python/NetworkManager.py:
20515 added convience functions has_wired_device and has_wireless_device
20517 * examples/python/systray/network_tray.py:
20518 cleaned up a bunch of cruft, added support for listing wireless
20519 networks just like the real applet. This is probably all I'm
20520 going to work on this applet from now on.
20521 TODO: add support for actually changing networks and devices
20523 * examples/python/NetworkManager.py (NetworkManager.get_device):
20524 changed "nm.networks" into a dict from a list so I can store all
20525 the cool information about networks in there
20527 * examples/python/systray/network_tray.py:
20528 Added nice message when you try to run without running make first
20530 * examples/python/NetworkManager.py:
20531 Bug fixes to the code so we get all the device information
20532 that we need in get_device()
20534 * examples/python/NMTester.py:
20535 Fixed _print_device_list to print_device_list
20537 2004-08-29 Seth Nickell <seth@gnome.org>
20541 Actually properly setup the Debian backend in configure.
20543 2004-08-29 Colin Walters <walters@verbum.org>
20545 * test/nminfotest.c: Include string.h and stdlib.h.
20546 (get_network_string_property, get_networks_of_type): Return NULL.
20548 * test/nmclienttest.c (get_device_name, get_active_device): Return
20551 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20552 use strlen, fgets always NULL-terminates the string.
20554 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20555 dbus_message_get_member): Remove /* in comment.
20557 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20559 * src/NetworkManager.c (quit): Unused, delete.
20560 (nm_data_free): Cast arg to GFunc.
20562 * panel-applet/NMWirelessAppletDbus.c: Need to include
20563 string.h, and dbus-glib-lowlevel.h (the latter is needed
20564 for dbus_connection_setup_with_g_main at present).
20565 (nmwa_dbus_update_wireless_network_list): Parenthesize
20566 assignment in conditional.
20567 (nmwa_dbus_worker): Return NULL.
20569 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20570 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20571 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20572 (nmwa_populate_menu): Return NULL on failure, instead of just
20575 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20577 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20580 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20583 2004-08-29 Colin Walters <walters@verbum.org>
20585 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20586 a GTimeVal instead of time_t. This is easier to work with,
20587 since time_t may be a long or double, we don't know.
20589 * src/NetworkManagerDbus.h: Update prototype.
20591 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20593 (nm_ap_get_timestamp): Update to return GTimeVal.
20594 (nm_ap_set_timestamp): Update to take GTimeVal.
20596 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20597 to handle GTimeVal.
20599 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20601 (nm_ap_list_print_members): Fix warnings in printf format.
20603 2004-08-29 Colin Walters <walters@verbum.org>
20605 * panel-applet/NMWirelessApplet.c: Include config.h.
20607 2004-08-29 Colin Walters <walters@verbum.org>
20609 * configure.in: Generate config.h.
20611 * configure.in: Dump dependency on OpenSSL; we can't
20612 use it since this package is GPL:
20613 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20614 Instead, check for libgcrypt, use it if available,
20615 otherwise use included MD5 code.
20617 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20618 Suck in from gnome-keyring, munge a bit.
20620 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20621 gnome-keyring-md5.h gnome-keyring-md5.c.
20622 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20624 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20625 libgcrypt or included gnome-keyring md5 bits.
20626 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20628 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20630 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20632 2004-08-27 Bryan Clark <bclark@redhat.com>
20634 * examples/python/systray/Makefile:
20636 Updated the clean section
20638 * examples/python/systray/trayiconmodule.c:
20639 * examples/python/systray/trayicon.override:
20640 * examples/python/systray/network_tray.py:
20641 * examples/python/systray/eggtrayicon.h:
20642 * examples/python/systray/eggtrayicon.c:
20643 * examples/python/systray/Makefile:
20644 * examples/python/README:
20645 * examples/python/NetworkManager.py:
20646 * examples/python/NMTester.py:
20648 Initial commit of these python example files
20650 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20652 * panel-applet/NMWirelessApplet.c
20653 - Make current device bold
20654 - Show more user-friendly device name if we got one from hal
20656 * panel-applet/NMWirelessAppletDbus.c
20657 - Grab "info.product" key from hal for network devices
20658 - Cache the current active device
20660 2004-08-27 Adam Weinberger <adamw@gnome.org>
20662 * configure.in: Added en_CA to ALL_LINGUAS.
20664 2004-08-27 Christian Rose <menthos@menthos.com>
20666 * configure.in: Added "sv" to ALL_LINGUAS.
20668 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20670 * Tag NetworkManager-0.2
20672 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20674 * initscripts/Makefile.am
20675 * configure.in: Make pass distcheck
20677 * po/ChangeLog: added
20679 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20681 * panel-applet/NMWirelessApplet.c
20682 - Remove debugging code
20683 - Enable device switching from menus
20685 * panel-applet/NMWirelessAppletDbus.[ch]
20686 - Method for asking NM to switch devices
20688 * src/NetworkManagerDevice.c
20689 - Set dev->activating earlier, avoids race between
20690 the dbus signal of "DeviceActivating" and setting
20691 dev->activating (which is what NM's "status" method call
20694 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20696 * panel-applet/NMWirelessApplet.[ch]
20697 - Rework menu code to add devices to menu, and to show
20698 signal strength for each access point. Code cleanups
20701 * panel-applet/NMWirelessAppletDbus.c
20702 - Grab network devices from NetworkManager too
20703 - Grab quality information from NM for wireless networks
20705 * src/NetworkManagerDbus.[ch]
20706 - Add dbus methods for getting the HAL UDI from a device and
20707 for getting its base quality, if its wireless
20708 - Consolidate some functions (wireless network notifications,
20709 device notifications)
20710 - Add method for requesting NM to use a particular device
20712 * src/NetworkManager.c
20713 - Change for function consolidations from NetworkManagerDbus.c
20714 - Implement active device locking and user-requested devices
20715 (ie, tell NM to use a particular device instead of the one
20718 * src/NetworkManagerDevice.c
20719 - Add method for getting the base quality of a device, if its
20721 - Grab device base quailty info from iwlib during scans
20723 * src/NetworkManagerPolicy.c
20724 - Use a user-requested device rather than the auto-chosen device
20727 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20729 * Makefile.am: add po as a supdir
20731 * autogen.sh: use gnome-autogen.sh
20733 * initscript/Gentoo/.cvsignore:
20734 * initscript/RedHat/.cvsignore: Shut up cvs
20736 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20738 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20739 (nmwa_fill): Use gettext.
20741 * configure.in: add gettext support
20743 * po/NetworkManager.pot:
20746 2004-08-26 Seth Nickell <seth@gnome.org>
20748 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20749 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20750 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20751 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20752 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20753 * panel-applet/NMWirelessApplet.h:
20755 Use a menu bar instead of a button for the main clickable
20758 2004-08-25 Dan Williams <dcbw@redhat.com>
20760 * src/NetworkManagerDevice.c
20761 - (nm_device_set_enc_key): always set device to "open" mode instead of
20762 turning encryption off, because the Cisco driver doesn't associate
20763 with WEP-enabled access points unless we are in "open"
20765 2004-08-25 Dan Williams <dcbw@redhat.com>
20767 * src/NetworkManagerWireless.c
20768 - Don't try to defererence blank passphrases
20770 2004-08-25 Dan Williams <dcbw@redhat.com>
20772 * panel-applet/NMWirelessApplet.c
20773 - Rebuild the menu whenever a user clicks
20775 2004-08-25 Dan Williams <dcbw@redhat.com>
20777 * panel-applet/NMWirelessApplet.c
20778 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20779 when NM isn't around or when its not connected
20781 * src/NetworkManagerDevice.c
20782 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20785 2004-08-25 Dan Williams <dcbw@redhat.com>
20787 * panel-applet/NMWirelessAppletDbus.c
20788 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20789 for getting encryption, and don't stop on "val" once we've gotten it
20790 from NetworkManager. Short form: encryption should now show up.
20792 2004-08-25 Dan Williams <dcbw@redhat.com>
20794 * panel-applet/NMWirelessApplet.c
20795 - Set ESSID on a gconf trusted network too when force-setting the wireless
20796 network to associate with
20798 2004-08-25 Dan Williams <dcbw@redhat.com>
20801 - Rework the panel applet to do all DBUS communication in a separate
20804 2004-08-25 Dan Williams <dcbw@redhat.com>
20806 * info-daemon/NetworkManagerInfo.[ch]
20807 - Remove "get_next_priority" function
20809 * info-daemon/NetworkManagerInfoDbus.[ch]
20810 - Convert "priority" functions to "timestamp"
20812 2004-08-25 Dan Williams <dcbw@redhat.com>
20814 * src/NetworkManagerAP.[ch]
20815 - Add a "enc_method_good" member and accessors to an Access Point
20816 to signal when we've found the correct encryption method
20817 for an access point
20818 - Add a "timestamp" member and accessors, remove "priority" member
20819 and accessors (use timestamps instead)
20820 - Rename "wep_key"->"enc_key"
20821 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20822 for a specified encryption method using the access points
20823 source encryption key/passphrase
20825 * src/NetworkManagerAPList.c
20826 - When updating a network with dbus, grab timestamp now instead of
20829 * src/NetworkManagerDBus.[ch]
20830 - Add signal for "DeviceActivating"
20831 - Switch priority->timestamp
20833 * src/NetworkManagerDevice.c
20834 - Change references of "wep_key" -> "enc_key" or "key"
20835 - Signal DeviceActivating when starting activation
20836 - When activating a wireless device, if the access point we are connecting
20837 to is encrypted, and we have a source key, try to generate a mangled
20838 key and use that (ie, generate real WEP key from a passphrase)
20839 - Rework device activation to fallback to other encryption methods if
20840 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20841 first, then if that doesn't work fall back to direct hex key).
20842 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20843 priority. We now prefer the latest access point used, rather than using
20845 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20846 points we've just discovered, and merge in correct info from the global
20849 2004-08-25 Seth Nickell <seth@gnome.org>
20851 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20855 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20856 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20857 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20858 (nm_system_delete_default_route),
20859 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20860 (nm_system_load_device_modules):
20862 2004-08-24 Dan Willemsen <dan@willemsen.us>
20864 * src/NetworkManager.c
20865 src/backends/NetworkManagerGentoo.c
20866 src/backends/NetworkManagerRedHat.c
20867 src/backends/NetworkManagerSystem.h
20868 - Implement preliminary Gentoo support, adding a
20869 nm_system_init function to the backend specification
20872 - Distribution auto-detection, lowercase any user-fed
20875 * initscript/.cvsignore
20876 initscript/Makefile.am
20877 initscript/RedHat/Makefile.am
20878 initscript/RedHat/NetworkManager
20879 initscript/Gentoo/Makefile.am
20880 initscript/Gentoo/NetworkManager
20881 - Refactored initscript code separately for each
20884 2004-08-23 Dan Williams <dcbw@redhat.com>
20888 src/NetworkManagerDevice.c
20889 src/NetworkManager.c
20890 src/NetworkManagerUtils.[ch]
20891 src/backends/NetworkManagerSystem.h
20892 src/backends/NetworkManagerRedHat.c
20893 src/backends/NetworkManagerGentoo.c
20894 - Refactor system-specific code into separate backends for
20897 2004-08-23 Dan Willemsen <dan@willemsen.us>
20899 * dispatcher-daemon/NetworkManagerDispatcher.c
20900 info-daemon/NetworkManagerInfo.[ch]
20901 info-daemon/NetworkManagerInfoDbus.c
20902 info-daemon/NetworkManagerInfoPassphraseDialog.c
20903 src/NetworkManager.c
20904 src/NetworkManagerAP.c
20905 src/NetworkManagerAPList.c
20906 src/NetworkManagerDbus.c
20907 src/NetworkManagerDevice.c
20908 src/NetworkManagerPolicy.c
20909 src/NetworkManagerUtils.[ch]
20910 src/NetworkManagerWireless.c
20911 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20913 * src/NetworkManager.c
20914 - Fixed usage wording for --no-daemon
20916 2004-08-23 Dan Williams <dcbw@redhat.com>
20918 * panel-applet/NMWirelessApplet.c
20919 - Update our state every second to get more responsive panel icon
20920 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20921 was causing our marching ants status blips to never move when
20922 looking for a wireless network
20924 * src/NetworkManagerDevice.c
20925 - (nm_device_activation_begin): return if activation has already begun
20926 - (nm_device_do_normal_scan): merge WEP key and priority from the
20927 trusted/preferred network into the device's access point when the
20928 scan list is processed
20930 2004-08-23 Dan Williams <dcbw@redhat.com>
20932 * initscript/NetworkManager
20933 - Use NMLaunchHelper rather than sleeping
20935 * initscript/NMLaunchHelper.c
20937 - Add helper program that exits only when NM activates a device,
20938 or 10 seconds have passed, whichever happens first. This
20939 stops the boot processes until we have a network connection,
20940 which NM can't do because it daemonizes and brings the connection
20941 up in the background. Allows stuff like NFS to not die.
20943 2004-08-20 Dan Williams <dcbw@redhat.com>
20945 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20946 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20947 for a network, set the essid as well since it may not exist yet
20948 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20949 since WEP keys/passphrases are long and prone to entry-error
20951 * panel-applet/Makefile.am
20952 panel-applet/wired.png
20953 - Add (pulled from system-config-network temporarily)
20955 * panel-applet/NMWirelessApplet.[ch]
20956 - Show wired picture when a wired connection is used
20957 - Rename wireless icon enums, adding WIRELESS
20959 * src/NetworkManagerDevice.c
20960 - (nm_device_activate_wireless): unset encryption before bringing
20961 down the card and setting the essid
20962 - (nm_device_activatin_worker): request a key from the user if the
20963 AP we are connecting to is encrypted but we don't have a key
20965 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20966 strcmp() that prevented a user-entered key from actually getting
20969 2004-08-16 Dan Williams <dcbw@redhat.com>
20971 * initscript/NetworkManager
20972 - Check for /sbin/ip
20973 - Do sysctl magic that network service does
20974 - sleep 4s after start to allow network time to come up [hack]
20978 - Load all network device kernel modules (hal doesn't know devices
20979 are ethernet until the module is loaded, and therefore we don't know)
20981 * src/NetworkManager.c
20982 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20983 network devices, and bring up the loopback device explicitly
20985 * src/NetworkManagerUtils.[ch]
20986 - (nm_enable_loopback): new function
20988 2004-08-13 Dan Williams <dcbw@redhat.com>
20991 panel-applet/Makefile.am
20992 - Fix up cleanfiles and server_DATA/server_in_files
20995 - Update with some comments on theory of operation
21001 2004-08-12 Dan Williams <dcbw@redhat.com>
21003 * info-daemon/passphrase.glade
21004 - Set window title to " "
21006 * panel-applet/Makefile.am
21007 panel-applet/keyring.png
21008 - Deliver to correct place
21010 * panel-applet/NMWirelessApplet.[ch]
21012 - Remove applet->have_active_device as its no longer used
21013 - (nmwa_load_theme): load keyring.png too
21014 - (error_dialog): remove
21015 - (show_warning_dialog): subsume functionality of error dialog too
21016 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21017 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21019 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21020 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21021 and when we get broadcasts of changed wireless access points only, not when the
21022 user clicks on the button to display the menu (too long of a wait)
21023 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21024 networks that are encrypted
21025 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21026 menu item with g_object_set_data()
21028 * panel-applet/NMWirelessAppletDbus.[ch]
21029 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21030 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21031 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21032 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21033 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21034 activation/deactivation signals and rebuild the menu when they happen
21036 * src/NetworkManager.c
21037 - (main): use new nm_spawn_process() rather than system()
21039 * src/NetworkManagerDbus.c
21040 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21041 instead. Since we can now force best_aps to stick around, the AP structure to which
21042 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21043 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21044 to freeze the best_ap.
21046 * src/NetworkManagerDevice.[ch]
21047 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21048 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21049 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21052 * src/NetworkManagerUtils.[ch]
21053 - (nm_spawn_process): add replacement for system() usage
21055 2004-08-11 Dan Williams <dcbw@redhat.com>
21057 * panel-applet/NMWirelessApplet.[ch]
21058 - Fix up copyright and credits to include Bastien and Eskil,
21059 who created the gnome-applets wireless applet, from whose
21060 skeleton this one was created
21061 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21062 pixmap to draw is computed during nmwa_update_state()
21063 - Applet now shows itself all the time due to panel packing issues
21064 which caused the applet to previously never come back after hiding.
21065 When a wired device is the active device, the applet shows "not connected"
21067 * panel-applet/NMWirelessAppletDbus.[ch]
21068 - Clean up error messages and show what function they are from
21069 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21070 - Add new device type getters, and a status getter
21072 * src/NetworkManagerDbus.c
21073 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21074 network is actually in the device's ap list
21075 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21077 * src/NetworkManagerDevice.c
21078 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21081 * test/nmclienttest.c
21082 - Report status of NetworkManager too
21084 2004-08-11 Dan Williams <dcbw@redhat.com>
21086 * info-daemon/NetworkManagerInfo.c:
21087 - (main): clean up Seth's code style
21089 * info-daemon/NetworkManagerInfoDbus.c:
21090 - Use the more aptly-named path/service/interface constants from NetworkManager
21091 - Don't return empty strings ("") as object paths ever, instead return errors
21093 * panel-applet/NMWirelessApplet.c:
21094 - Clean up Seth's code style
21096 * src/NetworkManager.[ch]
21097 - (nm_remove_device_from_list): remove anything having to do with pending_device
21098 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21100 * src/NetworkManagerAPList.[ch]
21101 - Move Iter struct right above the iter functions to preserve opacity
21102 - (nm_ap_list_remove_ap): implement
21103 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21104 remove AP if NetworkManagerInfo doesn't know anything about it
21105 - (nm_ap_list_diff): user NMAPList iterators
21106 - (nm_ap_list_print_members): implement debugging function
21108 * src/NetworkManagerDbus.[ch]
21109 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21110 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21111 and move the actual key setting stuff into NetworkManagerDevice.c
21112 - (nm_dbus_get_network_priority): return -1 now on errors
21113 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21114 get lost, and force the active device to update its "best" ap when AP lists change
21115 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21116 method call due to pending_device member removal
21118 * src/NetworkManagerDevice.[ch]
21119 - Move NMDevice structure to the top
21120 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21121 - Remove Pending Action stuff from everywhere
21122 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21123 activation for us. This thread blocks until all conditions for activation have
21124 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21125 then setup up the interface and runs dhclient. We have to do this because there
21126 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21127 run our main loop and respond to dbus method calls or HAL device removals/inserts
21128 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21129 can tell nm_device_activation_worker() that we've got a key
21130 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21131 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21132 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21133 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21135 * src/NetworkManagerPolicy.c
21136 - Remove anything to do with pending_device
21137 - Adjust device activation to deal with activation-in-worker-thread
21139 * src/NetworkManagerUtils.c
21140 - Clean up locking debugging a bit
21142 * src/NetworkManagerWireless.[ch]
21143 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21144 was badly named and is better as a device function
21146 * panel-applet/.cvsignore: add
21148 2004-08-09 Seth Nickell <seth@gnome.org>
21150 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21151 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21153 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21155 Don't load the menus until clicked on (also removes a call outside
21156 normal code paths at first load).
21158 Hide applet when NM is not present.
21160 Improve printf debugging stuff.
21162 2004-08-09 Dan Williams <dcbw@redhat.com>
21164 * dispatcher-daemon/NetworkManagerDispatcher.c:
21165 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21166 - Use constants for NetworkManager interface, service, and path
21168 2004-08-09 Dan Williams <dcbw@redhat.com>
21170 * src/NetworkManagerDbus.c:
21171 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21172 instead return an error message
21173 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21174 on a wired device. Also never return an empty object path, instead return an error message
21176 2004-08-06 Seth Nickell <seth@gnome.org>
21178 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21180 Check the error code when getting a connection.
21182 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21184 Check if the NM service exists when initializing (rather than
21185 assuming it does not).
21187 * src/NetworkManagerDbus.c: (nm_dbus_init):
21189 Don't acquire the well-known service name until we have
21190 registered object/path handlers and can actually receive
21193 2004-08-06 Dan Williams <dcbw@redhat.com>
21198 * src/NetworkManagerPolicy.c
21199 src/NetworkManager.c
21200 - Get access point lists from NetworkManagerInfo on-demand,
21201 and look for ServiceCreate/ServiceDeleted signals to see when
21202 we should query NMI for lists
21203 * src/NetworkManagerAPList.c
21204 - Make sure to init the list's mutex
21205 - Convert traversals of the list over to the list iter functions
21207 * src/NetworkManagerDbus.[ch]
21208 - Use more aptly-named path/service/interface constants
21209 - Treat both active and pending devices the same for "getActiveDevice"
21210 - Add a "status" method returning "connected", "connecting", or "disconnected"
21212 * src/NetworkManagerDevice.c
21213 - Honor "ignored" network list when picking best ap to use
21215 2004-08-06 Seth Nickell <seth@gnome.org>
21219 Autogenerated, remove from CVS.
21223 Don't hardcode automake version.
21226 * info-daemon/Makefile.am:
21227 * info-daemon/NetworkManagerInfo.c: (main):
21229 Use GnomeProgram et al. for doing session management.
21230 Use popt stuff for argument parsing rather than doing
21233 2004-08-05 Dan Williams <dcbw@redhat.com>
21235 * test/nminfotest.c
21236 - Update to new NMI dbus API, check different network types
21238 * info-daemon/NetworkManagerInfoDbus.c
21239 - Update to new NM dbus API, ie network type sent in query message
21241 2004-08-05 Dan Williams <dcbw@redhat.com>
21243 * An assload of changes
21245 2004-08-02 Dan Williams <dcbw@redhat.com>
21248 - new task: proper logging support
21250 * info-daemon/NetworkManagerInfo.c
21251 - Correct spelling of "canceled"
21252 - Correct casting of objects for g_signal_connect()
21254 * info-daemon/NetworkManagerInfoDbus.c
21255 - Add defines for NetworkManager namespace and object path, and use them
21256 - Add filter function to trap new signals from NetworkManager:
21257 WirelessNetworkAppeared, WirelessNetworkDisappeared
21259 * info-daemon/passphrase.glade
21260 - Change name of "ok" button to "Login to Network..."
21263 * src/NetworkManager.c
21264 - Code and debug message cleanups
21265 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21266 - (nm_add_initial_devices) Check returned string array of devices
21267 and don't try to add devices if array is NULL
21268 - (main) Initialize libhal a bit later, make code a bit clearer
21270 * src/NetworkManagerAP.[ch]
21271 - New accessor and data member "matched": used to speed up AP list
21273 - New accessor and data member "enc_method": will be used during key
21274 fallback to cache which passphrase->key conversion actually works
21275 so we don't have to do it every time
21277 * src/NetworkManagerAPList.[ch]
21278 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21279 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21280 between them, and send WirelessNetworkAppeared/Disappeared signals over
21281 dbus in response to those differences
21283 * src/NetworkManagerDbus.[ch]
21284 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21285 make an object path for that access point (NOTE that we don't yet check to
21286 make sure that access point is actually in the device's AP list yet)
21287 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21288 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21289 New: signal appearance/disappearance of wireless networks
21290 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21293 * src/NetworkManagerDevice.[ch]
21294 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21295 - (nm_device_ap_list_get) New: return the AP list (static function)
21296 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21297 new one resulting from the scan with the old one
21299 * src/NetworkManagerWireless.c
21300 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21302 * test/nminfotest.c
21303 - #define object paths and namespaces and use the #defines rather than static strings
21304 - Test out user-key functionality of NetworkManagerInfo too
21306 2004-07-29 Dan Williams <dcbw@redhat.com>
21308 * info-daemon/NetworkManagerInfoDbus.c
21309 src/NetworkManagerDbus.c
21310 - Update to current DBus (ie don't use decomposed paths when registering
21311 object paths/fallbacks)
21313 2004-07-27 Dan Williams <dcbw@redhat.com>
21315 * Remove various Makefile.in files
21318 - Add some more items
21321 - Add checks for OpenSSL/md5 headers and libs
21324 - Use OpenSSL CFLAGS
21326 * src/NetworkManagerAP.[ch]
21327 - Remove 'stamp' functions, replace with 'invalid' functions
21328 to support user cancelling WEP key entry
21330 * src/NetworkManagerDbus.c
21331 - Remove 'stamp' return functions
21332 - Treat returned user key as a passphrase and convert to a WEP key,
21333 but don't actually use the WEP key yet. We use the returned user
21334 key as a hexadecimal WEP key until we can figure out a UI for
21335 passphrase-vs-hex key
21337 * src/NetworkManagerWireless.[ch]
21338 - Add passphrase-to-128bit-key function
21340 2004-07-27 Dan Williams <dcbw@redhat.com>
21343 - Add a couple of items
21345 2004-07-27 Dan Williams <dcbw@redhat.com>
21347 * info-daemon/NetworkManagerInfo.c
21348 - Update allowed network's GConf key when user enters a WEP key explicitly
21350 * info-daemon/NetworkManagerDbus.c
21351 - Fix some comments
21352 - nmi_dbus_get_allowed_networks(): kill warning
21354 2004-07-27 Dan Williams <dcbw@redhat.com>
21356 * initscript/Makefile.in
21359 * initscript/Makefile.am
21360 - Add correct rules to install the init.d initscript
21362 * info-daemon/NetworkManagerInfoDbus.c
21363 - Remove debug fprintf
21365 * src/NetworkManagerDbus.[ch]
21366 - Remove debug fprintfs
21367 - Add macros for NetworkManagerInfo object path/namespace
21368 - Use said macros instead of constant strings
21370 2004-07-27 Dan Williams <dcbw@redhat.com>
21372 * initscript/.cvsignore
21375 * info-daemon/Makefile.am
21376 - Install .glade files and keyring.png
21377 - Fix stupid omission of a \ that caused half the flags not to be
21380 * info-daemon/NetworkManagerInfo.c
21381 - gtk_signal_connect->g_signal_connect
21382 - Alert NetworkManagerInfo to new glade file location
21384 2004-07-27 Dan Williams <dcbw@redhat.com>
21386 * test/nmclienttest.c
21388 - Add missing <dbus/dbus.h> headers
21389 - Add GPL message at top
21391 2004-07-27 Dan Williams <dcbw@redhat.com>
21393 * src/NetworkManagerAPList.[ch]
21395 - Add. Deal with allowed network list additions, deletions, and updates
21397 * dispatcher-daemon/NetworkManagerDispatcher.c
21398 - Add missing <dbus/dbus.h> header
21400 * info-daemon/NetworkManagerInfo.[ch]
21401 - Add missing <dbus/dbus.h> header
21402 - Implement the GConf notify callback to signal NetworkManager of an allowed
21404 - Better error checking
21406 * info-daemon/NetworkManagerInfoDbus.[ch]
21407 - Add missing <dbus/dbus.h> header
21408 - Convert to using dbus_message_append_args/dbus_message_get_args
21409 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21410 that an allowed network changed. We don't want to signal on individual
21411 keys _inside_ an allowed network really, just want NM to query the info
21412 daemon for updated info on all keys.
21413 - Better error checking
21415 * src/NetworkManager.[ch]
21416 - Add missing <dbus/dbus.h> header
21417 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21418 - Zero out NMData structure on free
21419 - No longer use a thread for allowed_ap_list updating, instead its now done
21420 through dbus queries against NetworkManagerInfo
21421 - Populate allowed_ap_list initially before adding existing network devices
21422 to the device list, so wireless devices can get their "best" AP
21424 * src/NetworkManagerDbus.[ch]
21425 - Convert to using dbus_message_append_args/dbus_message_get_args
21426 - Better error checking
21427 - Implement Allowed Network info functions to request allowed network
21428 info from NetworkManagerInfo
21429 - Implement the filter function to process signals from NetworkManagerInfo
21430 about changing allowed networks
21432 * src/NetworkManagerDevice.c
21433 - Fix file descriptor leak in nm_device_update_ip4_address()
21435 2004-07-27 Dan Williams <dcbw@redhat.com>
21440 dispatcher-daemon/.cvsignore
21441 info-daemon/.cvsignore
21442 - Add .cvsignore files to reduce noise when diffing
21444 2004-07-24 Dan Williams <dcbw@redhat.com>
21446 * src/NetworkManager.[ch]
21447 src/NetworkManagerDbus.[ch]
21448 src/NetworkManagerDevice.[ch]
21449 src/NetworkManagerPolicy.c
21450 src/NetworkManagerWireless.[ch]
21451 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21452 - Pass the NMData application data structure through all calls
21453 that need it so we can get rid of nm_get_global_data()
21454 - Change deallocation of the allowed_ap_list GSList in preparation
21455 for not completely clearing it every time we get an update,
21456 but instead getting incremental updates via GConf/dbus
21458 2004-07-22 Dan Williams <dcbw@redhat.com>
21461 - Add checks for GConf libs & headers & flags
21463 * info-daemon/Makefile.am
21464 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21466 * info-daemon/NetworkManagerInfo.[ch]
21467 - Don't use gquarks for data storage, just use normal data storage
21468 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21470 * info-daemon/NetworkManagerDbus.[ch]
21471 - Add method call for getting allowed networks
21472 - Add method calls for getting an allowed network's essid, priority, and key
21473 - Hook the method calls up to GConf
21474 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21475 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21477 * src/NetworkManagerDbus.[ch]
21478 - Switch for enumeration of networks to using essid instead
21482 - Add test program for NetworkManagerInfo
21484 2004-07-19 Dan Williams <dcbw@redhat.com>
21486 * src/NetworkManagerDbus.c
21487 - Switch from indexed device paths to names. Less code, more efficient.
21488 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21490 2004-07-19 Dan Williams <dcbw@redhat.com>
21492 * dispatcher-daemon/NetworkManagerDispatcher.c
21493 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21495 2004-07-19 Dan Williams <dcbw@redhat.com>
21498 - Add info-daemon directory
21501 - Check for glade libs and headers
21502 - Add info-daemon directory
21504 * src/NetworkManagerAP.c
21505 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21506 copied over to the new AP.
21508 * src/NetworkManagerDbus.c
21509 src/NetworkManagerDbus.h
21510 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21511 - Remove nm_dbus_signal_need_key_for_network()
21512 - Add disabled code for asynchronous user wep key callbacks
21513 - Add functions for getting, setting, and cancelling user key operations
21514 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21515 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21517 * src/NetworkManagerDevice.c
21518 src/NetworkManagerDevice.h
21519 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21520 logic is in device activation now
21521 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21522 key is wrong) trigger get-user-key pending action
21523 - Implement get-user-key pending action stuff, tie to dbus messages
21524 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21525 - Add nm_device_ap_list_get_ap_by_essid()
21526 - Instead of copying "best" access points, ref them instead so that the key we set
21529 * src/NetworkManagerPolicy.c
21530 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21531 - Don't cancel pending actions on a device if its the same device as last iteration
21532 - Only promote pending_device->active_device if activation was successfull
21535 - Rename nmclienttest->nmtest
21537 * info-daemon/Makefile.am
21538 info-daemon/NetworkManagerInfo.c
21539 info-daemon/NetworkManagerInfo.h
21540 info-daemon/NetworkManagerInfoDbus.c
21541 info-daemon/NetworkManagerInfoDbus.h
21542 info-daemon/passphrase.glade
21543 info-daemon/NetworkManagerInfo.conf
21544 info-daemon/keyring.png
21545 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21546 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21547 lists to NetworkManager by proxying user's GConf
21550 2004-07-15 Dan Williams <dcbw@redhat.com>
21555 * src/NetworkManager.c
21556 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21557 that doing the deactivation ourselves
21558 - Cancel an pending actions on a device if its being removed
21559 - Break up link state checking a bit, make non-active wireless cards
21560 deactivated to save power
21561 - Remove unused variables
21563 * src/NetworkManager.h
21564 - Add support for "pending" device
21566 * src/NetworkManagerAP.h
21567 src/NetworkManagerAP.c
21568 - Add support for determining whether and AP has encryption enabled or not
21569 - AP address is now "struct ether_addr" rather than a string
21571 * src/NetworkManagerDbus.h
21572 src/NetworkManagerDbus.c
21573 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21574 - Changes for AP address from struct ether_addr->string
21576 * src/NetworkManagerDevice.h
21577 src/NetworkManagerDevice.c
21578 - Remove unused variables, fix warnings
21579 - Add support for Pending Actions (things that block a device from being "active"
21580 until they are completed).
21581 - First pending action: Get a WEP key from the user
21582 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21583 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21584 - Update wireless link checking to try to determine if the AP we are associated
21585 with is correct, but the WEP key we are using is just wrong. If its wrong,
21586 trigger the GetUserKey pending action on the device
21587 - If dhclient can't get an IP address, it brings the device down. Bring it back
21588 up in that case, otherwise we can't scan or link-check on it
21589 - Add IP address change notifications at appropriate points (still needs some work)
21590 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21592 * src/NetworkManagerPolicy.h
21593 src/NetworkManagerPolicy.c
21594 - Split out "best" access point determiniation into separate function
21595 - Make device activation 2-stage: first the device is pending, then
21596 in the next iteration through it becomes "active" unless it has
21599 * src/NetworkManagerUtils.h
21600 src/NetworkManagerUtils.c
21601 - Clean up unused variables and warnings
21602 - Wrap our debug macros in {} to prevent possible confusion
21604 * src/NetworkManagerWireless.c
21605 - Forgot to return current best priority, which lead to last available AP always
21606 being chosen no matter what its priority was. Corrected.
21608 2004-07-15 Dan Williams <dcbw@redhat.com>
21610 * dispatcher-daemon/Makefile.am
21613 * dispatcher-daemon/NetworkManagerDispatcher.c
21614 - Remove unused variables due to warnings
21615 - Fix some comments
21616 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21618 2004-07-06 Dan Williams <dcbw@redhat.com>
21620 * src/NetworkManager.c
21621 - Add IPv4 address update for active device during link state check
21622 - Don't allow wireless cards to be powered up when they are not the
21625 * src/NetworkManagerDbus.c
21626 src/NetworkManagerDbus.h
21627 - Add DBUS IPv4 address change signal
21628 - Add DBUS IPv4 address get method for devices
21630 * src/NetworkManagerDevice.c
21631 - Make setting the WEP key actually work
21632 - Move IP address get/set/update stuff here, per-device
21633 - Power down/bring down wireless device when deactivated
21634 - For scanning wireless devices, if first scan returned ENODATA, try again
21636 * src/NetworkManagerPolicy.c
21637 - Only set the WEP key for an allowed access point if there is one.
21638 We were setting it to be blank if one wasn't specified.
21640 * src/NetworkManagerUtils.h
21641 src/NetworkManagerUtils.c
21642 - Move the IP address stuff to NetworkManagerDevice.c
21644 * dispatcher-daemon/NetworkManagerDispatcher.c
21645 - Add device IPv4 address change notification stuff
21647 2004-07-05 Dan Williams <dcbw@redhat.com>
21649 * dispatcher-daemon/NetworkManagerDispatcher.c
21650 - A bit more descriptive state message
21651 - Don't segfault when reading directory
21653 * src/NetworkManager.h
21654 - Remove NMData desired_ap member, its now
21655 per-device rather than global
21657 * src/NetworkManager.c
21658 - Remove references to desired_ap
21659 - Move the allowed AP list refresh stuff into a thread
21661 * src/NetworkManagerDevice.c
21662 src/NetworkManagerDevice.h
21663 - Each wireless device now has a "best ap"
21664 - Make device activate/deactivate functions per-device
21665 - Make wireless scanning per-device
21666 - Add IPv4 address discover functions, stub IPv6 ones
21667 - Move ethernet address validation functions to NetworkManagerUtils.c
21668 - Add wireless access point accessor function
21669 - Get/Set functions for "best ap"
21671 * src/NetworkManagerPolicy.c
21672 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21673 - Deal with per-device "best ap" rather than data->desired_apa
21674 - Implement allowed access point worker thread
21675 - Add nm_policy_essid_is_allowed() function
21677 * src/NetworkManagerUtils.c
21678 src/NetworkManagerUtils.h
21679 - Add nm_ethernet_address_is_valid() function
21680 - Add IPv4/IPv6 address get functions
21682 * src/NetworkManagerWireless.c
21683 src/NetworkManagerWireless.h
21684 - Move scanning stuff into NetworkManagerDevice.c, per-device
21686 2004-06-29 Dan Williams <dcbw@redhat.com>
21688 * dispatcher-daemon/NetworkManagerDispatcher.c
21689 - Implement script callout functionality
21691 2004-06-24 Dan Williams <dcbw@redhat.com>
21695 - Flush device routes and ip addresses when added to the device list
21697 * NetworkManagerDbus.c
21699 - Add missing returns in the two signal functions
21701 * NetworkManagerPolicy.c
21702 - Spacing and variable cleanups
21704 2004-06-24 Dan Williams <dcbw@redhat.com>
21709 dispatcher-daemon/Makefile.am
21710 dispatcher-daemon/Makefile.in
21711 dispatcher-daemon/NetworkManagerDispatcher.c
21712 - Add a daemon that receives signals from NetworkManager
21713 and will (eventually) call scripts in /etc/somewhere
21714 when devices go up or down.
21718 - Flush device routes and ip addresses when added to the device list
21720 * NetworkManagerDbus.c
21722 - Add missing returns in the two signal functions
21724 * NetworkManagerPolicy.c
21725 - Spacing and variable cleanups
21726 - Rename nm_policy_switch_interface->nm_policy_switch_device
21727 - nm_policy_switch_device():
21728 Use kill (pid) instead of system ("kill <pid>")
21729 - nm_state_modification_monitor():
21730 Add wireless essid to output of debug statements
21731 Correct typo in device compare to switch or not (should be !=)
21732 Don't sleep after sending "no longer active" signal, was useless
21734 2004-06-24 Dan Williams <dcbw@redhat.com>