1 2008-11-05 Dan Williams <dcbw@redhat.com>
3 * src/NetworkManagerPolicy.c
4 - (update_etc_hosts): only add newline if not the last line of the file
7 2008-11-05 Dan Williams <dcbw@redhat.com>
9 * src/dhcp-manager/nm-dhcp-dhclient.c
10 - (get_leasefile_for_iface): move lease files back to where dhclient
13 2008-11-05 Michael Biebl <mbiebl@gmail.com>
15 * initscripts/Debian/NetworkManager
16 - Update to what Debian is actually using
18 2008-11-05 Tambet Ingo <tambet@gmail.com>
20 * libnm-util/nm-setting-8021x.c: Verify PEAP settings as well.
22 2008-11-03 Dan Williams <dcbw@redhat.com>
24 * system-settings/src/main.c
25 - (add_default_dhcp_connection): make the fallback connection read-only
27 * libnm-glib/nm-settings.c
28 libnm-glib/nm-settings.h
30 - (impl_exported_connection_update, impl_exported_connection_delete):
31 return an error if the connection is read-only
33 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
34 system-settings/plugins/keyfile/nm-keyfile-connection.c
35 system-settings/src/main.c
36 - Use more detailed errors
38 * system-settings/src/nm-system-config-error.c
39 system-settings/src/nm-system-config-error.h
40 system-settings/src/dbus-settings.c
41 - Remove NM_SYSCONFIG_SETTINGS_ERROR_INVALID_CONNECTION, replaced by
42 NM_SETTINGS_ERROR_INVALID_CONNECTION
44 2008-11-02 Dan Williams <dcbw@redhat.com>
46 * Add license headers to everything in src/
48 2008-11-02 Dan Williams <dcbw@redhat.com>
52 2008-11-02 Dan Williams <dcbw@redhat.com>
54 * src/NetworkManagerAP.c
55 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
56 setting as unencrypted; fixes a bug where NM wouldn't ask for new
57 secrets when connecting to an encrypted network failed
59 2008-10-30 Dan Williams <dcbw@redhat.com>
61 * libnm-util/libnm-util.ver
62 libnm-util/nm-setting-ip6-config.c
63 libnm-util/nm-setting-ip6-config.h
64 libnm-util/Makefile.am
65 - Make properties private and add accessor functions
66 - Hide IPv6 stuff from public API, it's incomplete and completely unused
68 * libnm-util/nm-connection.c
71 - Ignore IPv6 stuff for now
73 2008-10-30 Dan Williams <dcbw@redhat.com>
75 * libnm-util/libnm-util.ver
76 libnm-util/nm-setting-8021x.c
77 libnm-util/nm-setting-8021x.h
78 - Make properties private and add accessor functions
80 * src/supplicant-manager/nm-supplicant-config.c
81 system-settings/plugins/ifcfg-suse/parser.c
82 - Use 802.1x setting accessors
84 2008-10-30 Dan Williams <dcbw@redhat.com>
86 * libnm-util/libnm-util.ver
87 libnm-util/nm-setting-wireless-security.c
88 libnm-util/nm-setting-wireless-security.h
89 - Make properties private and add accessor functions
91 * libnm-util/nm-setting-wireless.c
92 src/NetworkManagerAP.c
94 src/supplicant-manager/nm-supplicant-config.c
95 system-settings/plugins/ifcfg-fedora/reader.c
96 system-settings/plugins/ifcfg-suse/parser.c
97 - Use wireless security accessors
99 2008-10-30 Dan Williams <dcbw@redhat.com>
101 * src/nm-device-ethernet.c
104 src/ppp-manager/nm-ppp-manager.c
105 - Harmonize return checking of ioctl
107 * system-settings/plugins/ifcfg-fedora/reader.c
108 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
110 2008-10-30 Dan Williams <dcbw@redhat.com>
112 * src/ppp-manager/nm-ppp-manager.c
113 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
114 ppp_generic module to create it (bgo #533064)
116 2008-10-30 Dan Williams <dcbw@redhat.com>
118 Patch from Alexander Sack <asac@canonical.com>
120 Fix "ppp connections don't honour ip4 connection settings"
122 * src/nm-device-ethernet.c
123 - (real_act_stage4_get_ip4_config): merge ip4config settings
124 with results from ppp manager
126 * src/nm-serial-device.c
127 - (real_act_stage4_get_ip4_config): merge ip4config settings
128 with results from ppp manager
130 2008-10-29 Dan Williams <dcbw@redhat.com>
132 * libnm-util/libnm-util.ver
133 libnm-util/nm-setting-ip4-config.c
134 libnm-util/nm-setting-ip4-config.h
135 - Make properties private and add accessor functions
137 * callouts/nm-dispatcher-action.c
138 libnm-glib/libnm-glib-test.c
139 libnm-util/nm-utils.c
140 src/NetworkManagerPolicy.c
141 src/NetworkManagerSystem.c
142 src/NetworkManagerUtils.c
143 src/dhcp-manager/nm-dhcp-dhclient.c
144 src/dhcp-manager/nm-dhcp-manager.c
145 src/dnsmasq-manager/nm-dnsmasq-manager.c
148 src/nm-hso-gsm-device.c
151 src/ppp-manager/nm-ppp-manager.c
152 src/vpn-manager/nm-vpn-connection.c
153 system-settings/plugins/ifcfg-fedora/reader.c
154 system-settings/plugins/ifcfg-suse/parser.c
155 system-settings/plugins/ifcfg-suse/plugin.c
156 system-settings/plugins/ifupdown/parser.c
158 vpn-daemons/vpnc/properties/nm-vpnc.c
159 - Use IP4 accessor functions
161 2008-10-29 Tambet Ingo <tambet@gmail.com>
163 Half of it by Dan Williams <dcbw@redhat.com>
165 * libnm-util/libnm-util.ver
166 libnm-util/nm-setting-vpn.c
167 libnm-util/nm-setting-vpn.h
168 - Make properties private and add accessor functions.
170 * src/vpn-manager/nm-vpn-connection.c
171 src/vpn-manager/nm-vpn-manager.c
172 system-settings/plugins/keyfile/reader.c
173 vpn-daemons/openvpn/properties/auth-helpers.c
174 vpn-daemons/openvpn/properties/import-export.c
175 vpn-daemons/openvpn/properties/nm-openvpn.c
176 vpn-daemons/openvpn/src/nm-openvpn-service.c
177 vpn-daemons/pptp/auth-dialog/main.c
178 vpn-daemons/pptp/properties/advanced-dialog.c
179 vpn-daemons/pptp/properties/nm-pptp.c
180 vpn-daemons/pptp/src/nm-pptp-service.c
181 vpn-daemons/vpnc/properties/nm-vpnc.c
182 vpn-daemons/vpnc/src/nm-vpnc-service.c
183 - Use VPN setting accessors.
185 2008-10-28 Dan Williams <dcbw@redhat.com>
187 Patch from Tambet Ingo <tambet@gmail.com>
189 * libnm-util/libnm-util.ver
190 libnm-util/nm-setting-wireless.c
191 libnm-util/nm-setting-wireless.h
192 - Make properties private and add accessor functions
194 * src/NetworkManagerAP.c
197 src/supplicant-manager/nm-supplicant-config.c
198 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
199 system-settings/plugins/ifcfg-fedora/reader.c
200 system-settings/plugins/ifcfg-suse/parser.c
201 system-settings/plugins/ifupdown/parser.c
202 - Use wireless setting accessors
204 2008-10-27 Dan Williams <dcbw@redhat.com>
206 Patch from Tambet Ingo <tambet@gmail.com>
208 * libnm-util/libnm-util.ver
209 libnm-util/nm-setting-ppp.c
210 libnm-util/nm-setting-ppp.h
211 - Make properties private and add accessor functions
213 * src/ppp-manager/nm-ppp-manager.c
214 - Use ppp setting accessors
216 2008-10-27 Dan Williams <dcbw@redhat.com>
218 Patch from Tambet Ingo <tambet@gmail.com>
220 * libnm-util/nm-setting.h
221 libnm-util/nm-setting.c
222 - Make properties private and add accessor functions
224 * libnm-util/nm-connection.c
225 libnm-util/nm-setting-8021x.c
226 libnm-util/nm-setting-cdma.c
227 libnm-util/nm-setting-connection.c
228 libnm-util/nm-setting-gsm.c
229 libnm-util/nm-setting-ip4-config.c
230 libnm-util/nm-setting-ip6-config.c
231 libnm-util/nm-setting-ppp.c
232 libnm-util/nm-setting-pppoe.c
233 libnm-util/nm-setting-serial.c
234 libnm-util/nm-setting-template.c
235 libnm-util/nm-setting-vpn.c
236 libnm-util/nm-setting-wired.c
237 libnm-util/nm-setting-wireless-security.c
238 libnm-util/nm-setting-wireless.c
239 system-settings/plugins/keyfile/reader.c
240 system-settings/plugins/keyfile/writer.c
241 - Use setting accessors
243 2008-10-27 Dan Williams <dcbw@redhat.com>
245 * libnm-util/libnm-util.ver
246 libnm-util/nm-setting-connection.c
247 libnm-util/nm-setting-connection.h
248 - Add a 'read-only' property that indicates the connection cannot be
251 * system-settings/plugins/ifcfg-fedora/reader.c
252 system-settings/plugins/ifcfg-suse/parser.c
253 system-settings/plugins/ifupdown/parser.c
254 - These plugins are read-only at the moment
256 * system-settings/plugins/keyfile/reader.c
257 system-settings/plugins/keyfile/writer.c
258 - Read-only shouldn't get saved out to files or read in from them
260 2008-10-27 Tambet Ingo <tambet@gmail.com>
262 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
263 correct speed reporting for fast devices (kernel >= 2.6.27).
265 2008-10-26 Dan Williams <dcbw@redhat.com>
267 Attempt to compensate for modems that don't enable full AT parsing before
268 the PIN has been entered.
270 * src/nm-gsm-device.c
271 - (init_modem): accept different init strings
272 - (init_done): try different init strings on failure
273 - (check_pin_done): on PIN success, do full modem init
275 2008-10-26 Dan Williams <dcbw@redhat.com>
277 Patch from Tambet Ingo <tambet@gmail.com>
279 * libnm-util/libnm-util.ver
280 libnm-util/nm-setting-connection.c
281 libnm-util/nm-setting-connection.h
282 - Make properties private and add accessor functions
284 * src/NetworkManagerPolicy.c
286 src/nm-device-ethernet.c
287 src/nm-device-interface.c
291 src/ppp-manager/nm-ppp-manager.c
292 src/vpn-manager/nm-vpn-connection.c
293 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
294 system-settings/plugins/ifcfg-fedora/plugin.c
295 system-settings/plugins/ifcfg-fedora/reader.c
296 system-settings/plugins/ifcfg-suse/parser.c
297 system-settings/plugins/ifupdown/parser.c
298 system-settings/plugins/keyfile/nm-keyfile-connection.c
299 system-settings/plugins/keyfile/plugin.c
300 system-settings/plugins/keyfile/writer.c
301 system-settings/src/main.c
302 - Use those accessors
304 2008-10-26 Dan Williams <dcbw@redhat.com>
306 Patch from Tambet Ingo <tambet@gmail.com>
308 * libnm-util/libnm-util.ver
309 libnm-util/nm-setting-gsm.c
310 libnm-util/nm-setting-gsm.h
311 - Make properties private and add accessor functions
313 * src/nm-gsm-device.c
314 src/nm-hso-gsm-device.c
315 src/ppp-manager/nm-ppp-manager.c
316 - Use those accessors
318 2008-10-26 Dan Williams <dcbw@redhat.com>
320 Patch from Tambet Ingo <tambet@gmail.com>
322 * libnm-util/libnm-util.ver
323 libnm-util/nm-setting-cdma.c
324 libnm-util/nm-setting-cdma.h
325 - Make properties private and add accessor functions
327 * src/nm-cdma-device.c
328 src/ppp-manager/nm-ppp-manager.c
329 - Use those accessors
331 2008-10-26 Dan Williams <dcbw@redhat.com>
333 Patch from Tambet Ingo <tambet@gmail.com>
335 * libnm-util/libnm-util.ver
336 libnm-util/nm-setting-pppoe.c
337 libnm-util/nm-setting-pppoe.h
338 - Make properties private and add accessor functions
340 * src/nm-device-ethernet.c
341 src/ppp-manager/nm-ppp-manager.c
342 - Use those accessors
344 2008-10-26 Dan Williams <dcbw@redhat.com>
346 Patch from Tambet Ingo <tambet@gmail.com>
348 * libnm-util/libnm-util.ver
349 libnm-util/nm-setting-wired.c
350 libnm-util/nm-setting-wired.h
351 - Make properties private and add accessor functions
353 * src/nm-device-ethernet.c
354 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
355 system-settings/plugins/ifcfg-suse/parser.c
356 system-settings/src/main.c
357 - Use those accessors
359 2008-10-26 Dan Williams <dcbw@redhat.com>
361 Patch from Tambet Ingo <tambet@gmail.com>
363 * libnm-util/libnm-util.ver
364 libnm-util/nm-setting-serial.c
365 libnm-util/nm-setting-serial.h
366 src/nm-serial-device.c
367 - Make properties private and use accessors instead
369 2008-10-26 Dan Williams <dcbw@redhat.com>
371 * src/supplicant-manager/nm-supplicant-interface.c
372 src/supplicant-manager/nm-supplicant-interface.h
373 src/supplicant-manager/nm-supplicant-manager.c
374 src/supplicant-manager/nm-supplicant-manager.h
375 - Add state-to-string conversion functions
377 * src/nm-device-wifi.c
378 src/nm-device-ethernet.c
379 - Normalize state info logging and use strings instead of numbers
381 2008-10-26 Dan Williams <dcbw@redhat.com>
383 * src/NetworkManagerPolicy.c
384 - (update_routing_and_dns): ignore host routes when determining whether
385 a VPN connection should own the default route (bgo #552594)
387 2008-10-24 Dan Williams <dcbw@redhat.com>
389 * src/nm-gsm-device.c
390 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
392 2008-10-23 Dan Williams <dcbw@redhat.com>
394 * src/ppp-manager/nm-ppp-manager.c
395 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
396 add really important stuff to the command line to ensure that NM
397 overrides /etc/ppp/options (bgo #556781)
399 2008-10-22 Dan Williams <dcbw@redhat.com>
401 * src/NetworkManagerSystem.c
403 - Use the device's IP interface where appropriate (Per Hallsmark)
405 2008-10-22 Dan Williams <dcbw@redhat.com>
407 * src/nm-gsm-device.c
408 - (schedule_automatic_registration_again): use a short timeout here
409 instead of an idle handler to avoid using too much CPU polling for
410 something we should be waiting a bit for anyway
412 2008-10-22 Dan Williams <dcbw@redhat.com>
414 * include/NetworkManager.h
415 introspection/nm-device.xml
416 - Add device state change reason for carrier changes
418 * src/nm-device-ethernet.c
419 - (set_carrier): use the carrier change reason when changing device
420 state in response to carrier changes
422 2008-10-21 Dan Williams <dcbw@redhat.com>
424 * src/NetworkManagerPolicy.c
425 - (update_etc_hosts): don't leak errors, and ensure that
426 g_file_set_contents() gets a valid error placeholder (rh #461933)
428 2008-10-21 Dan Williams <dcbw@redhat.com>
431 - (free_get_settings_info): don't use the DBusGProxy which could be
432 disposed of by the time the function is called
433 - (internal_new_connection_cb): save connection scope
434 - (connection_get_settings_cb): don't replace a connection unless it's
435 actually different from the existing one; fixes an issue where
436 killing the settings service wouldn't deactivate an active connection
437 provided by that settings service, because it was using a connection
438 that had already been replaced in the system or user hash
440 2008-10-21 Dan Williams <dcbw@redhat.com>
442 * src/NetworkManager.c
443 - (main): keep the DHCP manager around since it's a singleton; fixes
444 a use-after-free exposed by r4196 since the DHCP manager singleton
445 variable isn't cleared when the DHCP manager object is finalized
447 2008-10-20 Dan Williams <dcbw@redhat.com>
449 * libnm-util/nm-setting-wireless-security.c
450 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
452 2008-10-20 Dan Williams <dcbw@redhat.com>
454 * src/supplicant-manager/nm-supplicant-config.c
455 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
457 2008-10-20 Dan Williams <dcbw@redhat.com>
459 * src/dhcp-manager/nm-dhcp-manager.c
460 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
461 manager object already refs it once
462 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
463 also get cleaned up by nm_dhcp_device_destroy() to prevent
466 2008-10-20 Dan Williams <dcbw@redhat.com>
469 - (initial_get_connections): use private dbus manager, don't keep
470 ref-ing the singleton. Fixes mismatched refcounts of the dbus
473 2008-10-18 Dan Williams <dcbw@redhat.com>
475 * libnm-glib/nm-settings.c
476 libnm-glib/nm-settings.h
477 - Rename the "get_secrets" virtual function "service_get_secrets" to
478 clarify when it's used; NMExportedConnetion is a base-class for both
479 the client and service side, which is sort of confusing, and
480 get_secrets only makes sense on the service side.
482 * libnm-glib/nm-dbus-connection.c
483 - (get_secrets): remove, unused, and clients need to do extra work to
484 get secrets anyway since the call can block on the remote side
486 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
487 system-settings/plugins/keyfile/nm-keyfile-connection.c
488 - Fix up for get_secrets -> service_get_secrets
490 2008-10-16 Dan Williams <dcbw@redhat.com>
492 * src/nm-device-wifi.c
493 - (constructor): correctly determine encryption capabilities
495 2008-10-15 Dan Williams <dcbw@redhat.com>
497 * src/nm-device-wifi.c
498 - (wireless_qual_to_percent): fix quality calculation in a fallback case
501 2008-10-15 Dan Williams <dcbw@redhat.com>
503 * src/NetworkManagerSystem.c
504 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
505 if the ip4_dest is in a smaller subnet contained within a subnet
506 the machine is currently on, the destination is in the same subnet
507 - (nm_system_device_set_ip4_route): move subnet checks to callers
508 - (add_vpn_gateway_route): check if the VPN gateway is in the same
509 subnet as the parent device, and if so, don't add the direct
510 host route via the parent device's gateway (bgo #481620)
511 - (nm_system_apply_ip4_config): check whether the route to be added
512 is contained within a subnet the device is already on
514 2008-10-11 Dan Williams <dcbw@redhat.com>
516 * include/NetworkManager.h
517 introspection/nm-device.xml
518 include/NetworkManagerVPN.h
519 - Add a few more state reasons for the device deactivated state
521 * src/nm-device-interface.c
522 src/nm-device-interface.h
523 - (nm_device_interface_deactivate): add a 'reason' argument
527 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
528 - (nm_device_state_changed): pass the state change reason to
529 nm_device_take_down()
530 - (nm_device_set_managed): take a 'reason' argument, and pass it along
531 to the state change function
535 - (remove_one_device, handle_unmanaged_devices, sync_devices,
536 impl_manager_sleep): pass a reason code to nm_device_set_managed()
537 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
538 something reasonable along to VPN deactivation
540 * src/vpn-manager/nm-vpn-manager.c
541 src/vpn-manager/nm-vpn-manager.h
542 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
543 pass that along to nm_vpn_connection_disconnect()
545 2008-10-11 Dan Williams <dcbw@redhat.com>
547 * src/nm-device-wifi.c
548 - (can_scan): remove old madwifi hack for not scanning while connected
550 2008-10-11 Dan Williams <dcbw@redhat.com>
552 Add support for VPN subnet gateways (bgo #549196)
554 * include/NetworkManager.h
555 - Add key for internal VPN subnet gateway
557 * src/vpn-manager/nm-vpn-connection.c
558 - (ip_address_to_string): return a const from a static buffer so we
559 don't leak a lot of strings
560 - (print_vpn_config): print internal VPN gateway as well
561 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
563 - (nm_vpn_connection_get_ip4_internal_gateway): new function
565 * src/NetworkManagerSystem.c
566 src/NetworkManagerSystem.h
567 - (nm_system_device_replace_default_ip4_route): split into two, one for
568 VPN connections and one for normal devices
569 - (replace_default_ip4_route): break out route stuff into its own function
570 - (nm_system_replace_default_ip4_route_vpn,
571 nm_system_replace_default_ip4_route): simplify by having two cases,
572 one for VPNs and one for normal devices
574 * src/NetworkManagerPolicy.c
575 - (update_routing_and_dns): simplify, use split default route replacement
578 2008-10-10 Dan Williams <dcbw@redhat.com>
580 Rework default route handling to consolidate decisions in the policy,
581 and to take active VPN connections into account when changing the default
584 * src/NetworkManager.c
585 - (main): pass the vpn_manager to the policy so it knows about active
586 VPN connections; clean up the named manager which wasn't done before
588 * src/NetworkManagerPolicy.c
589 src/NetworkManagerPolicy.h
590 - (nm_policy_new): get a clue about the vpn_manager
591 - (update_default_route): remove, fold into update_routing_and_dns()
592 - (update_routing_and_dns): handle active VPN connections too; an
593 active VPN connection becomes the default route if it does not have
594 server-specified or user-specified custom routes. Otherwise, the
595 best active device gets the default route
596 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
597 nm_policy_destroy): track VPN connection activation and deactivation
598 and update the default route when appropriate
600 * src/NetworkManagerSystem.c
601 src/NetworkManagerSystem.h
602 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
603 in the VPN connection itself
604 - (nm_system_vpn_device_set_from_ip4_config,
605 nm_system_device_set_from_ip4_config): merge together to make
606 nm_system_apply_ip4_config()
607 - (add_vpn_gateway_route): add a route to the VPN's external gateway
608 via the parent device
609 - (nm_system_apply_ip4_config): simplify
610 - (add_ip4_route_to_gateway): new function; add a direct route to the
612 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
613 route stuff out into add_ip4_route_to_gateway() for clarity
616 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
618 * src/vpn-manager/nm-vpn-connection.c
619 src/vpn-manager/nm-vpn-connection.h
620 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
621 nm_vpn_connection_get_parent_device): add
622 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
624 - (connection_state_changed): update the named manager now that
625 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
628 * src/vpn-manager/nm-vpn-manager.c
629 src/vpn-manager/nm-vpn-manager.h
630 - Add a 'connection-activated' signal
631 - (nm_vpn_manager_get_active_connections): new function; mainly for the
632 policy to find out about active VPN connections
634 2008-10-10 Tambet Ingo <tambet@gmail.com>
636 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
637 a daemon to prevent NM logging spew on console on startup and shutdown (due
638 to dependency loop between NM and syslog).
640 2008-10-10 Alexander Sack <asac@ubuntu.com>
642 Implement managed mode. We bind devices configured in /etc/network/interfaces
643 to their connections by updating wired/wireless setting with the
644 mac address of the device.
646 * system-settings/plugins/ifupdown/plugin.c
647 - (get_net_address_for_udi): implement function to retrieve MAC
648 address of udi from hal in GByteArray format
649 - (bind_device_to_connection): bind mac address of device to
650 wired/wireless system connection
651 - (hal_device_added_cb): call bind_device_to_connection for
652 system connections with a matching interface.name
653 - (hal_device_added_cb): ensure that all code paths
654 properly free the "iface" string.
656 2008-10-10 Alexander Sack <asac@ubuntu.com>
658 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
659 mode of the ifupdown system config plugin.
661 * system-settings/plugins/ifupdown/plugin.c
662 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
663 private unmanage_well_known state field accordingly
665 2008-10-10 Alexander Sack <asac@ubuntu.com>
667 Implement unmanaged mode that will prevent all devices in the
668 well_known_udis set from being touched by NetworkManager
670 * system-settings/plugins/ifupdown/plugin.c
671 - (typedef struct SCPluginIfupdownPrivate): add gboolean
672 unmanage_well_known field used to turn on/off unmanaged
674 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
675 signal when well_known_udis get added/removed
676 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
677 if we are in unmanaged mode
679 2008-10-10 Alexander Sack <asac@ubuntu.com>
681 Add support to track network devices that have a configuration
682 with a matching interface.name in /etc/network/interfaces
684 * system-settings/plugins/ifupdown/plugin.c
685 - (typedef struct SCPluginIfupdownPrivate): add hash table
686 to track |well_known_udis|
687 - (get_iface_for_udi): helper function to get interface.name
689 - (hal_device_added_cb, hal_device_removed_cb): callbacks
690 that add and remove devices to and from the well_known_udis
691 set depending on whether their |interface.name| matches
692 any interface definition in /etc/network/interfaces
693 - (SCPluginIfupdown_init): connect callbacks from above with
694 hal_mgr and setup well_known_udis hashtable
695 - (GObject__dispose): destroy well_known_udis hashtable
696 - (hal_device_added_cb2): implement wrapper callback with GFunc
697 signature. user_data is supposed to be a triple (hal_mgr,
699 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
700 startup and call hal_device_added_cb2
702 2008-10-10 Alexander Sack <asac@ubuntu.com>
704 Remove implementation for not used NMSystemConfigInterface callback functions
707 * system-settings/plugins/ifupdown/plugin.c
708 - (SCPluginIfupdown_unmanaged_devices_changed): removed
709 - (SCPluginIfupdown_connection_added): removed
711 2008-10-08 Dan Williams <dcbw@redhat.com>
713 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
715 * src/NetworkManagerUtils.c
716 - (nm_utils_call_dispatcher): add a 'hostname' action
718 * src/NetworkManagerPolicy.c
719 - (set_system_hostname): dispatch hostname changes
721 * callouts/nm-dispatcher-action.c
722 - (nm_dispatcher_action): handle 'hostname' actions
724 2008-10-08 Dan Williams <dcbw@redhat.com>
726 * src/NetworkManagerSystem.c
727 - (find_route): ref the route so it doesn't get destroyed when the cache
729 - (nm_system_device_set_priority): unref the route here after it's done
732 2008-10-08 Dan Williams <dcbw@redhat.com>
734 * src/nm-serial-device.c
735 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
737 2008-10-08 Tambet Ingo <tambet@gmail.com>
739 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
740 connection with new settings before saving it.
742 2008-10-06 Dan Williams <dcbw@redhat.com>
744 * src/nm-ip4-config.c
746 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
748 * src/nm-device-interface.c
749 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
750 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
751 by using '/' for the object path
754 - (src/nm-device.c): marshal missing/unexported ip4-config through
755 dbus as '/' since dbus-glib can't handle NULL objects nor can
756 dbus handle NULL object paths
758 2008-10-03 Alexander Sack <asac@ubuntu.com>
760 Implement system hostname support for debian/ubuntu
762 * system-settings/plugins/ifupdown/plugin.c
763 - (GObject__get_property): extend announced capabilities; add
764 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
765 - (GObject__set_property,write_system_hostname): implement
766 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
767 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
768 update_system_hostname, get_hostname):
769 implement hostname property that watches and
772 2008-10-03 Alexander Sack <asac@ubuntu.com>
774 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
775 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
776 system-settings/plugins/ifcfg-fedora/Makefile.am
777 system-settings/src/nm-inotify-helper.c
778 system-settings/src/nm-inotify-helper.h
780 - Move ifcfg-fedora inotify helpers to the system settings service so
781 they are available to all plugins
783 2008-10-03 Alexander Sack <asac@ubuntu.com>
785 Implement support for wep-tx-keyidx in ifupdown system
788 * system-settings/plugins/ifupdown/parser.c
789 - (update_wireless_security_setting_from_if_block): introduce
790 free_type_mapping func table; rename a few local
791 variables to improve readability; add wpa security mapping
792 for wep-tx-keyidx property
793 - (string_to_gpointerint): new function used for the auto_type_mapping
794 of new wep-tx-keyidx property
795 - (slist_free_all): free func used for mapped slist types
797 2008-10-03 Alexander Sack <asac@ubuntu.com>
799 * system-settings/src/main.c:
800 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
801 always used as the hash key; fixes a crash when removing wired
804 2008-10-02 Dan Williams <dcbw@redhat.com>
806 * src/nm-gsm-device.c
807 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
808 pass the required GSM secret along via user_data rather than keeping
809 it around in the private data where it sometimes didn't get cleared
810 - (real_get_ppp_name): implement using the GSM username
812 2008-10-02 Dan Williams <dcbw@redhat.com>
814 * src/ppp-manager/nm-ppp-manager.c
815 src/ppp-manager/nm-ppp-manager.h
816 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
817 the settings daemon for completely new ones
818 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
819 local PPP peer name; allow PPP debuging by launching NM with
820 the environment variable NM_PPP_DEBUG defined
821 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
822 create_pppd_cmd_line()
824 * src/nm-serial-device.c
825 src/nm-serial-device.h
826 - New 'get_ppp_name' function for subclasses to implement to return the
828 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
829 and pass that name to the PPP manager
831 * src/nm-device-ethernet.c
832 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
835 * src/nm-cdma-device.c
836 - (real_get_ppp_name): implement using the CDMA username
838 2008-10-02 Dan Williams <dcbw@redhat.com>
840 Patch from Alexander Sack <asac ubuntu com>
842 * system-settings/plugins/ifupdown/parser.c
843 - Implement more graceful ip4 config parsing for cases where
844 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
845 by using default values
847 2008-10-02 Dan Williams <dcbw@redhat.com>
849 * src/NetworkManagerPolicy.c
850 - (device_state_changed): when marking a connection invalid, clear its
851 secrets too so that fresh secrets get requested the next time
853 2008-10-01 Dan Williams <dcbw@redhat.com>
855 * system-settings/src/dbus-settings.c
856 - (nm_sysconfig_settings_init): cache system hostname on startup as
857 a fallback if no plugin provides a hostname
858 - (get_property): fall back to cached hostname if no plugin provides
861 2008-10-01 Dan Williams <dcbw@redhat.com>
863 Fix setting value comparison issue that caused some settings to look the
864 same when they were really different (rh #464417)
866 * libnm-util/nm-param-spec-specialized.c
867 - (type_is_fixed_size): return fundamental size of the fixed type too
868 - (nm_gvalues_compare_collection): use the fundamental fixed type size
869 in the comparison so that the _entire_ fixed type collection gets
870 compared rather than just the first 'len1' bytes
872 2008-09-30 Dan Williams <dcbw@redhat.com>
874 * src/NetworkManagerPolicy.c
875 - (lookup_thread_worker): don't store the idle handler ID becuase the
876 idle handler could have already run and freed the LookupThread
879 2008-09-30 Tambet Ingo <tambet@gmail.com>
881 * src/nm-device.c (nm_device_get_priority): Implement.
882 (nm_device_set_ip4_config): Send the device priority to system ip4
885 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
886 Add priority argument and if it's >= 0, set the priority of the network
887 route added automatically by netlink (or kernel?).
888 (nm_system_device_set_priority): Implement.
890 * src/NetworkManagerPolicy.c (get_best_device): Use
891 nm_device_get_priority() instead of home-grown version. Revert the
892 meaning, best priority is the lowest one.
894 2008-09-29 Dan Williams <dcbw@redhat.com>
896 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
897 when it returns EAGAIN (rh #362421)
899 * src/nm-device-wifi.c
900 - (wireless_get_range): try GIWRANGE a few times until the card responds
901 - (real_get_generic_capabilities, constructor): use wireless_get_range()
903 2008-09-28 Dan Williams <dcbw@redhat.com>
905 * src/nm-serial-device.c
906 src/nm-serial-device.h
907 - (nm_serial_device_close): stop PPP manager here so that PPP gets
908 cleaned at the right times when subclasses close the serial port too
909 - (nm_serial_device_send_command): use a default send delay; don't
910 spin forever on EAGAIN
911 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
912 remove, no longer used
913 - (find_response): return the matched response if any
914 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
916 - (wait_for_reply_done): pass the matched response to the callback
917 - (wait_for_reply_got_data): save the matched response; simplify timeout
919 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
920 const since they never get modified
921 - (cleanup_device): split out common cleanup stuff to a new function
922 - (real_deactivate_quickly, finalize): use cleanup_device()
924 * src/nm-gsm-device.c
925 - (modem_get_reply): remove, unused
926 - (set_apn): give the card a bit more time to respond
927 - (manual_registration_again, schedule_manual_registration_again,
928 manual_registration_response, manual_registration): handle manual
929 registration timeouts better by retrying registration a few times
930 because cards are a bit slow after CFUN=1
931 - (automatic_registration_get_network, get_network_response): use
932 modem_wait_for_reply() because it interacts better with the serial
933 buffer and does more intelligent matching; need to wait for 'OK'
934 rather than just matching terminators
935 - (schedule_automatic_registration_again,
936 automatic_registration_response, automatic_registration): retry
937 registration a few times on timeout or "searching" because cards
938 take a bit to find a network after being powered up with CFUN=1
939 - (power_up_response, power_up, init_full_done, enter_pin,
940 check_pin_done): power up the card with CFUN=1 before trying to
941 register with the network
942 - (init_modem_full, init_modem): use more standard 3G init strings
944 * src/nm-hso-gsm-device.c
945 - (modem_get_reply): remove, unused
946 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
947 modem_wait_for_reply() to match actual responses instead of single
948 termination characters; it doesn't leave stuff in the serial buffer
949 that might confuse later calls
950 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
951 to ensure that the call is really disconnected and not leave extra
952 stuff in the serial buffer
954 * src/nm-cdma-device.c
955 - (power_up_response, power_up, init_done): try Sierra-style modem
956 power up before attempting to connect
958 2008-09-27 Dan Williams <dcbw@redhat.com>
960 * libnm-util/nm-setting-gsm.c
961 - (verify): verify GSM network ID
963 2008-09-25 Dan Williams <dcbw@redhat.com>
965 * libnm-util/nm-setting-gsm.c
966 libnm-util/nm-setting-gsm.h
967 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
968 technology terms (bgo #551361)
970 2008-09-25 Dan Williams <dcbw@redhat.com>
972 Fix bgo #549401 (inspired by patch from Alexander Sack)
974 * src/nm-device-ethernet.c
975 - (finish_supplicant_task): clean up scheduled tasks and free memory
976 - (remove_supplicant_interface_error_handler): remove the supplicant
977 error idle callback too
978 - (supplicant_interface_release): rename from supplicant_interface_clean
979 to match nm-device-wifi.c; clean up supplicant interface-related
980 state tasks when the supplicant interface is disposed of
981 - (schedule_state_handler): add scheduled tasks to a list so they can
983 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
984 supplicant_iface_connection_state_cb_handler): use
985 finish_supplicant_task() to clean up each completed task
986 - (supplicant_iface_connection_error_cb_handler,
987 supplicant_connection_timeout_cb): clear source id when the task is
989 - (supplicant_iface_connection_error_cb): save scheduled task id for
991 - (nm_device_ethernet_dispose): clean up any pending supplicant state
994 * src/nm-device-wifi.c
995 - (finish_supplicant_task): clean up scheduled tasks and free memory
996 - (remove_supplicant_interface_error_handler): remove the supplicant
997 error idle callback too
998 - (supplicant_interface_release): clean up supplicant interface-related
999 state tasks when the supplicant interface is disposed of
1000 - (schedule_state_handler): add scheduled tasks to a list so they can
1002 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
1003 supplicant_iface_connection_state_cb_handler): use
1004 finish_supplicant_task() to clean up each completed task
1005 - (supplicant_iface_connection_error_cb_handler): clear source id when
1006 the task is complete
1007 - (supplicant_iface_connection_error_cb): save scheduled task id for
1009 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
1011 2008-09-24 Tambet Ingo <tambet@gmail.com>
1013 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
1014 method and get/set hostname property.
1016 2008-09-24 Tambet Ingo <tambet@gmail.com>
1018 * src/supplicant-manager/nm-supplicant-interface.c
1019 (nm_supplicant_interface_disconnect): Don't increment the reference
1020 count when disconnecting. The problem is on shutdown, when the replies
1021 to these commands do not arrive before NM exits, resulting on never
1022 calling supplicant interface's dispose(), which removes the interface
1025 2008-09-24 Tambet Ingo <tambet@gmail.com>
1027 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
1028 all the public function arguments.
1030 2008-09-22 Tambet Ingo <tambet@gmail.com>
1032 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
1033 "Failure" signal from VPN plugins, store the failure reason, and
1034 use it when the state is changed to failure.
1036 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
1039 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
1040 reason to the end of the list to not break the API.
1041 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
1042 so it can be shared by plugins and daemon.
1044 2008-09-18 Dan Williams <dcbw@redhat.com>
1046 Patch from Alexander Sack <asac@ubuntu.com>
1049 system-settings/plugins/Makefile.am
1050 system-settings/plugins/ifupdown/Makefile.am
1051 system-settings/plugins/ifupdown/interface_parser.c
1052 system-settings/plugins/ifupdown/interface_parser.h
1053 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1054 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1055 system-settings/plugins/ifupdown/parser.c
1056 system-settings/plugins/ifupdown/parser.h
1057 system-settings/plugins/ifupdown/plugin.c
1058 system-settings/plugins/ifupdown/plugin.h
1059 - Implement a Debian/Ubuntu legacy network configuration plugin
1062 2008-09-18 Dan Williams <dcbw@redhat.com>
1064 Implement support for honoring configured and automatic hostnames, and for
1065 setting the configured hostname.
1067 * introspection/nm-ip4-config.xml
1070 src/dhcp-manager/nm-dhcp-manager.c
1071 - Remove useless hostname property; it's not really part of the IPv4
1074 * introspection/nm-settings-system.xml
1075 libnm-glib/nm-dbus-settings-system.c
1076 libnm-glib/nm-dbus-settings-system.h
1077 - Add SetHostname() call to system settings D-Bus interface
1078 - Add Hostname property to system settings D-Bus interface
1079 - (nm_dbus_settings_system_save_hostname,
1080 nm_dbus_settings_system_get_hostname): implement
1084 - (nm_device_get_dhcp4_config): implement
1088 - Fetch and track system settings service hostname changes, and proxy
1089 the changes via a GObject property of the manager
1091 * system-settings/src/nm-system-config-interface.c
1092 system-settings/src/nm-system-config-interface.h
1093 - Replace nm_system_config_interface_supports_add() with a capabilities
1096 * system-settings/src/nm-system-config-error.c
1097 system-settings/src/nm-system-config-error.h
1098 - Add additional errors
1100 * system-settings/src/dbus-settings.c
1101 system-settings/src/dbus-settings.h
1102 - (get_property, nm_sysconfig_settings_class_init): add hostname
1103 property; first plugin returning a hostname wins
1104 - (impl_settings_add_connection): use plugin capabilities instead of
1105 nm_system_config_interface_supports_add()
1106 - (impl_settings_save_hostname): implement hostname saving
1108 * src/NetworkManagerPolicy.c
1109 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1110 lookup_thread_die): implement an asynchronous hostname lookup thread
1111 which given an IPv4 address tries to look up the hostname for that
1112 address with reverse DNS
1113 - (get_best_device): split out best device code from
1114 update_routing_and_dns()
1115 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1116 to preserve the 127.0.0.1 reverse mapping that so many things require
1117 - (set_system_hostname): set a given hostname
1118 - (update_system_hostname): implement hostname policy; a configured
1119 hostname (from the system settings service) is used if available,
1120 otherwise an automatically determined hostname from DHCP, VPN, etc.
1121 If there was no automatically determined hostname, reverse DNS of
1122 the best device's IP address will be used, and as a last resort the
1123 hostname 'localhost.localdomain' is set.
1124 - (update_routing_and_dns): use get_best_device(); update the system
1125 hostname when the network config changes
1126 - (hostname_changed): update system hostname if the system settings
1127 service signals a hostname change
1128 - (nm_policy_new): list for system settings service hostname changes
1129 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1132 * system-settings/plugins/keyfile/plugin.c
1133 system-settings/plugins/ifcfg-suse/plugin.c
1134 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1135 capabilities properties
1137 * system-settings/plugins/ifcfg-fedora/shvar.c
1138 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1139 writes out /etc/sysconfig/network now
1141 * system-settings/plugins/ifcfg-fedora/plugin.c
1142 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1143 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1144 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1145 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1146 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1147 hostname get/set and capabilities get
1149 2008-09-18 Dan Williams <dcbw@redhat.com>
1151 * libnm-util/nm-setting-wireless.c
1152 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1153 group ciphers if the wireless-security setting explicitly specified
1154 them, effectively making the default be "all ciphers" (idea from
1157 2008-09-15 Dan Williams <dcbw@redhat.com>
1159 Patch from Alexander Sack <asac@ubuntu.com>
1161 * src/named-manager/nm-named-manager.c
1162 - (dispatch_resolvconf): respect resolvconf exit code
1164 2008-09-12 Tambet Ingo <tambet@gmail.com>
1166 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1167 again. Add some debugging.
1169 2008-09-11 Dan Williams <dcbw@redhat.com>
1171 * system-settings/plugins/keyfile/plugin.c
1172 - (update_connection_settings): update connection manually, since
1173 nm_exported_connection_update() does authentication
1174 - (dir_changed): update_connection_settings() doesn't need to return
1177 2008-09-09 Dan Williams <dcbw@redhat.com>
1179 * libnm-glib/nm-vpn-plugin-ui-interface.c
1180 libnm-glib/nm-vpn-plugin-ui-interface.h
1181 libnm-glib/libnm_glib_vpn.ver
1182 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1183 should clean up resources related to the connection (like keyring
1185 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1186 should save user-scope secrets (like to the keyring)
1188 2008-09-08 Dan Williams <dcbw@redhat.com>
1190 Patch from Alexander Sack <asac@ubuntu.com>
1192 * libnm-util/crypto_gnutls.c
1193 libnm-util/crypto_nss.c
1194 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1196 * libnm-util/nm-utils.c
1197 libnm-util/nm-utils.h
1198 libnm-util/libnm-util.ver
1199 - (nm_utils_init): initialize libnm-util
1200 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1202 * libnm-util/nm-setting-8021x.c
1203 - (nm_setting_802_1x_class_init): init libnm-util when needed
1205 2008-09-05 Dan Williams <dcbw@redhat.com>
1207 Patch from Roy Marples <roy@marples.name> and others
1210 src/named-manager/nm-named-manager.c
1211 - Add support for resolvconf; use --with-resolvconf at configure time
1214 2008-09-05 Dan Williams <dcbw@redhat.com>
1216 * libnm-util/crypto_nss.c
1217 libnm-util/crypto_gnutls.c
1219 - (crypto_init): return error when init fails
1221 2008-09-05 Dan Williams <dcbw@redhat.com>
1223 * libnm-glib/nm-device-wifi.c
1224 - (access_point_removed_proxy): clean up the active access point too
1225 just in case the active ap changed signal didn't come through yet
1226 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1228 2008-09-05 Dan Williams <dcbw@redhat.com>
1230 * libnm-glib/nm-client.c
1231 - (constructor): get initial state after we know whether NM is running
1234 2008-09-05 Dan Williams <dcbw@redhat.com>
1236 * libnm-glib/nm-ip4-config.c
1237 libnm-glib/nm-dhcp4-config.c
1238 - (finalize): clean up the DBusGProxy
1240 2008-09-04 Dan Williams <dcbw@redhat.com>
1242 * src/nm-ip4-config.c
1244 - (nm_ip4_config_new): don't export over D-Bus here
1245 - (nm_ip4_config_export): new function; export the config over D-Bus
1246 - (nm_ip4_config_is_exported): new function
1249 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1250 objects by balancing the IP4Config constructor; the device holds
1251 a reference to the IP4Config already
1252 - (nm_device_set_ip4_config): export the IP4Config when needed
1254 2008-09-04 Dan Williams <dcbw@redhat.com>
1256 * src/supplicant-manager/nm-supplicant-settings-verify.c
1257 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1259 2008-09-04 Dan Williams <dcbw@redhat.com>
1261 * libnm-util/nm-setting-vpn.c
1262 libnm-util/nm-setting-vpn.h
1263 - Split VPN secrets from VPN data so that settings services can actually
1264 figure out that they are secrets and store them accordingly
1266 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1267 system-settings/plugins/keyfile/reader.c
1268 system-settings/plugins/keyfile/reader.h
1269 system-settings/plugins/keyfile/writer.c
1270 - Store VPN secrets separately from VPN data so that they can be fetched
1272 - Implement the get_secrets() call so that (a) secrets don't leak out
1273 to unprivileged callers, and (b) secrets can be sent to privileged
1276 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1277 - Handle split VPN secrets
1279 2008-08-27 Dan Williams <dcbw@redhat.com>
1281 * system-settings/plugins/ifcfg-fedora/reader.c
1282 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1284 2008-08-27 Dan Williams <dcbw@redhat.com>
1286 Ensure zombie children get cleaned up. To get notifications when children
1287 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1288 that requires calling waitpid() yourself if you've removed the child watch
1289 handler before the process has actually died, which NM needs to do in a few
1290 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1291 cleans up after the child when required. Should fix problems trying to
1292 activate mobile broadband connections after a previous failure.
1294 * src/dhcp-manager/nm-dhcp-dhclient.c
1295 src/dhcp-manager/nm-dhcp-dhcpcd.c
1296 - Use G_SPAWN_DO_NOT_REAP_CHILD
1298 * src/dhcp-manager/nm-dhcp-manager.c
1299 - (nm_dhcp_device_destroy): ensure child is cleaned up
1300 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1301 block on child quitting, since the non-blocking functionality was
1304 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1305 - (dm_watch_cb): child is already reaped here
1306 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1309 - (aipd_cleanup): block until child is dead
1311 * src/named-manager/nm-named-manager.c
1312 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1313 event bothering to watch the child
1315 * src/ppp-manager/nm-ppp-manager.c
1316 - (ppp_watch_cb): child is already reaped here
1317 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1319 * src/vpn-manager/nm-vpn-service.c
1320 - (vpn_service_watch_cb): child is already reaped here
1321 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1322 status of the child is actually tracked
1323 - (ensure_killed, finalize): block until child is dead
1325 2008-08-26 Dan Williams <dcbw@redhat.com>
1327 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1328 - (update): Update filename of the connection if the connection id
1331 * system-settings/plugins/keyfile/plugin.c
1332 - (dir_changed): first pass at handling connection renames correctly
1334 * system-settings/plugins/keyfile/writer.c
1335 system-settings/plugins/keyfile/writer.h
1336 - (write_connection): replace '/' with '*' when writing out the filename
1337 from the connection id
1339 2008-08-26 Dan Williams <dcbw@redhat.com>
1341 Add connection UUIDs, since connection names can be changed, and since
1342 old-style connection IDs could change over the life of the connection. The
1343 UUID should be assigned at connection creation time, be stable for a given
1344 connection, and should be unique among all connections for a given settings
1348 libnm-util/Makefile.am
1351 * introspection/nm-exported-connection.xml
1352 - Remove "GetID" method
1354 * libnm-glib/nm-dbus-connection.c
1355 libnm-glib/nm-settings.c
1356 libnm-glib/nm-settings.h
1357 - Remove id-related stuff
1359 * libnm-util/nm-utils.c
1360 libnm-util/nm-utils.h
1361 libnm-util/libnm-util.ver
1362 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1363 utility functions to generate UUIDs
1365 * libnm-util/nm-setting-connection.c
1366 libnm-util/nm-setting-connection.h
1367 - Add 'uuid' member to the connection setting
1368 - (verify): require valid 'uuid' for a valid connection
1370 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1371 system-settings/plugins/ifcfg-fedora/reader.c
1372 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1373 system-settings/plugins/ifcfg-suse/parser.c
1374 system-settings/plugins/keyfile/nm-keyfile-connection.c
1375 system-settings/src/main.c
1376 - Remove id-related stuff
1377 - Give connections UUIDs where needed
1379 2008-08-25 Dan Williams <dcbw@redhat.com>
1381 * libnm-util/crypto_gnutls.c
1382 libnm-util/crypto_nss.c
1383 - (crypto_init, crypto_deinit): refcount init/deinit
1384 - (crypto_md5_hash): allow NULL salt
1386 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1388 * libnm-glib/Makefile.am
1389 libnm-util/Makefile.am
1390 libnm-glib/libnm_glib.ver
1391 libnm-glib/libnm_glib_vpn.ver
1392 libnm-util/libnm-util.ver
1393 - Use linker version scripts to control the list of exported
1394 symbols. List each exported symbol explicitely.
1395 * libnm-util/Makefile.am
1396 - Fix compilation of the test-crypto binary. The crypto
1397 functions are no longer part of the libnm-util API. Add
1398 crypto_*.c to test_crypto_SOURCES and link against the correct
1401 2008-08-19 Dan Williams <dcbw@redhat.com>
1405 - Don't build test/test-common
1406 - Remove unused stuff
1408 * test/nm-set-fallback
1409 test/nmtestdevices.c
1410 test/test-common/.cvsignore
1411 test/test-common/Makefile.am
1412 test/test-common/test-common.c
1413 test/test-common/test-common.h
1416 2008-08-18 Dan Williams <dcbw@redhat.com>
1418 * libnm-util/nm-utils.c
1419 libnm-util/nm-utils.h
1420 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1421 export anything that needs to be converted with this function
1423 * src/dhcp-manager/nm-dhcp-manager.c
1424 - (garray_to_string): convert a byte array to a UTF-8 string with
1425 minimal validation; the DHCP client sends it in ASCII anyway
1426 - (get_option, copy_option): use garray_to_string()
1428 2008-08-18 Dan Williams <dcbw@redhat.com>
1430 * include/NetworkManager.h
1431 introspection/nm-device.xml
1432 - Add a "missing firmware" device state reason
1434 * src/NetworkManagerSystem.c
1435 src/NetworkManagerSystem.h
1436 - (nm_system_device_set_up_down): add a no_firmware argument
1437 - (nm_system_device_set_up_down_with_iface): if the result of setting
1438 IFF_UP is ENOENT, that almost always means missing firmware
1440 * src/backends/NetworkManagerGeneric.c
1441 src/nm-device-ethernet.c
1442 src/nm-device-private.h
1443 src/nm-device-wifi.c
1446 src/nm-hso-gsm-device.c
1447 src/vpn-manager/nm-vpn-connection.c
1448 - Pass no_firmware along; check it where appropriate
1450 2008-08-18 Dan Williams <dcbw@redhat.com>
1452 Patch from Robert Buchholz <rbu@gentoo.org>
1456 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1457 1003.1-1988, allowing for file names longer than 99 characters
1459 2008-08-17 Dan Williams <dcbw@redhat.com>
1461 * include/NetworkManager.h
1462 introspection/nm-device.xml
1464 - Finer-grained GSM registration failure error codes
1466 2008-08-17 Dan Williams <dcbw@redhat.com>
1468 * callouts/Makefile.am
1470 - Move dispatcher directory creation to callouts/Makefile.am
1472 * system-settings/plugins/keyfile/Makefile.am
1473 - Create keyfile connections directory in DESTDIR (bgo #546833)
1475 2008-08-15 Dan Williams <dcbw@redhat.com>
1477 Do connection sharing in a cleaner manner; all required iptables rules
1478 are now stored in the activation request and pertain only to the device
1479 which is being shared to other computers. (rh #458625)
1481 * src/nm-activation-request.c
1482 src/nm-activation-request.h
1483 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1484 the activation request which will get torn down automatically when
1485 the activation request dies
1486 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1487 is started, and tear them down when sharing is stopped
1490 - (start_sharing): start up sharing by doing the required iptables magic
1491 - (share_init): poke the right bits of the kernel and load the right
1493 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1494 connection if it's a 'shared' connection
1496 * src/NetworkManagerPolicy.c
1497 - Remove all sharing stuff; done in the device code itself
1499 2008-08-15 Dan Williams <dcbw@redhat.com>
1501 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1502 - (create_dm_cmd_line): send the right router address
1504 2008-08-15 Dan Williams <dcbw@redhat.com>
1506 * src/ppp-manager/nm-ppp-manager.c
1507 - (pppd_timed_out): ensure timeouts fail the connection
1509 2008-08-14 Dan Williams <dcbw@redhat.com>
1511 * src/nm-properties-changed-signal.c
1512 src/nm-properties-changed-signal.h
1513 - Add a property spec flag for "don't export this property" in
1514 property changed signals
1516 * src/nm-hso-gsm-device.c
1518 src/nm-cdma-device.c
1519 - Don't export monitor interface or netdev interface properties
1521 2008-08-14 Dan Williams <dcbw@redhat.com>
1523 * src/NetworkManagerPolicy.c
1524 - (update_routing_and_dns): 'hso' devices can be default even if they
1525 don't have a gateway
1527 2008-08-14 Dan Williams <dcbw@redhat.com>
1530 - (nm_device_deactivate_quickly): tear down activation request after
1531 calling device-specific deactivation
1533 * src/nm-hso-gsm-device.c
1534 - (real_deactivate_quickly): terminate connection when deactivating
1536 2008-08-14 Dan Williams <dcbw@redhat.com>
1538 * src/nm-activation-request.h
1539 - Add HSO secrets caller
1541 * src/nm-gsm-device.c
1543 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1544 something to the callback function
1545 - (set_apn, set_apn_done): call class dial function, not a static one
1546 - (nm_gsm_device_class_init): add a class 'dial' function
1548 * src/nm-hal-manager.c
1549 - (get_hso_netdev): find the hso-driven hardware's net device
1550 - (modem_device_creator): recognize hso-driven hardware and create the
1551 right type of device object for it
1554 src/nm-hso-gsm-device.c
1555 src/nm-hso-gsm-device.h
1556 - Implement support for devices driven by the 'hso' driver as a subclass
1559 2008-08-14 Dan Williams <dcbw@redhat.com>
1561 * src/NetworkManagerSystem.c
1562 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1563 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1564 success if the operation really was successful
1566 2008-08-14 Dan Williams <dcbw@redhat.com>
1568 * src/nm-netlink-monitor.c
1569 src/nm-netlink-monitor.h
1570 src/nm-device-ethernet.c
1571 - (nm_netlink_monitor_request_status): return an error on failure
1572 - (constructor): don't segfault on missing error
1574 2008-08-13 Dan Williams <dcbw@redhat.com>
1576 * callouts/nm-dispatcher-action.c
1577 - Add IP4 config info to script environment
1579 2008-08-12 Dan Williams <dcbw@redhat.com>
1582 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1583 that want to use DHCP hostnames should use dispatcher scripts
1586 * src/NetworkManagerSystem.h
1587 src/backends/NetworkManagerArch.c
1588 src/backends/NetworkManagerDebian.c
1589 src/backends/NetworkManagerFrugalware.c
1590 src/backends/NetworkManagerGeneric.c
1591 src/backends/NetworkManagerGeneric.h
1592 src/backends/NetworkManagerGentoo.c
1593 src/backends/NetworkManagerMandriva.c
1594 src/backends/NetworkManagerPaldo.c
1595 src/backends/NetworkManagerRedHat.c
1596 src/backends/NetworkManagerSlackware.c
1597 src/backends/NetworkManagerSuSE.c
1598 - Remove nm_system_set_hostname(), no longer used
1600 * src/backends/Makefile.am
1601 src/backends/shvar.c
1602 src/backends/shvar.h
1603 - Remove shvar.*; no longer used
1605 2008-08-12 Dan Williams <dcbw@redhat.com>
1607 Revert most of the 'hostname' patch. Too much stuff still breaks when
1608 hostname is updated at runtime. Distros or users who want hostname updates
1609 can use dispatcher scripts to update the hostname if they need it.
1611 2008-08-12 Dan Williams <dcbw@redhat.com>
1613 * introspection/nm-settings-system.xml
1614 system-settings/src/dbus-settings.c
1615 system-settings/src/dbus-settings.h
1616 - Add a 'Hostname' property (rw) which represents the configured
1617 hostname and domain of the system, if any
1619 * system-settings/src/nm-system-config-error.c
1620 system-settings/src/nm-system-config-error.h
1621 system-settings/src/nm-system-config-interface.c
1622 system-settings/src/nm-system-config-interface.h
1623 - Add a 'hostname' property to the plugin interface
1624 - Add a method to send updated hostname to plugins to save in their
1625 backing configuration store
1627 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1628 system-settings/plugins/keyfile/plugin.c
1629 system-settings/plugins/keyfile/writer.c
1630 system-settings/plugins/keyfile/writer.h
1631 system-settings/plugins/ifcfg-suse/plugin.c
1632 - Add minimal hostname support
1634 * system-settings/plugins/ifcfg-fedora/plugin.c
1635 - Add support for updating system hostname in /etc/sysconfig/network
1637 2008-08-12 Dan Williams <dcbw@redhat.com>
1639 * system-settings/plugins/ifcfg-fedora/shvar.c
1640 system-settings/plugins/ifcfg-fedora/shvar.c
1641 - Fix double-free caused by svSetValue() followed by svCloseFile()
1643 2008-08-12 Tambet Ingo <tambet@gmail.com>
1645 * Makefile.am: Fix distcheck.
1647 2008-08-12 Tambet Ingo <tambet@gmail.com>
1649 * libnm-glib/*.c. Document some more.
1651 2008-08-12 Tambet Ingo <tambet@gmail.com>
1653 Start documenting libnm-glib public API using gtk-doc.
1655 * libnm-glib/nm-serial-device.c:
1656 * libnm-glib/nm-object.c:
1657 * libnm-glib/nm-gsm-device.c:
1658 * libnm-glib/nm-device.c:
1659 * libnm-glib/nm-device-wifi.c:
1660 * libnm-glib/nm-device-ethernet.c:
1661 * libnm-glib/nm-client.c:
1662 * libnm-glib/nm-cdma-device.c: Document the public API.
1664 * docs/libnm-glib/libnm-glib.types: Implement.
1666 * docs/libnm-glib/Makefile.am: Implement.
1670 * Makefile.am: Add gtk-doc support.
1672 2008-08-12 Tambet Ingo <tambet@gmail.com>
1674 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1676 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1677 the composite result of all the IP4 configurations and call a distro
1678 specific update_resolv_conf().
1679 (update_resolv_conf): Implement one for directly writing to
1680 /etc/resolv.conf and one for opensuse to call netconfig.
1682 2008-08-11 Dan Williams <dcbw@redhat.com>
1684 * src/ppp-manager/nm-ppp-manager.c
1685 - (impl_ppp_manager_need_secrets): pass interface as required
1687 2008-08-11 Dan Williams <dcbw@redhat.com>
1689 Merge the vpn-properties setting with the vpn setting since it was pointless
1690 to keep both of them around. Convert the vpn 'data' hash table to a hash
1691 of string:string (instead of string:variant) so that system settings plugins
1692 can have an easier time dealing with the arbitrary key/value pairs.
1694 2008-08-11 Dan Williams <dcbw@redhat.com>
1696 * libnm-util/nm-utils.c
1697 - (nm_utils_register_value_transformations): add value transform for
1698 a hash table of string:string
1700 2008-08-10 Dan Williams <dcbw@redhat.com>
1702 * libnm-glib/nm-vpn-plugin.c
1703 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1704 an idle handler so the Connect reply gets delivered before the
1705 stop StateChanged signal
1707 2008-08-10 Dan Williams <dcbw@redhat.com>
1709 * src/nm-ip4-config.c
1710 - (get_property): use common ip4 address/route conversion functions
1711 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1712 copy the new route here, not take ownership
1714 2008-08-08 Tambet Ingo <tambet@gmail.com>
1716 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1717 Update the IP4 setting's method name.
1719 2008-08-07 Dan Williams <dcbw@redhat.com>
1721 * introspection/nm-ip4-config.xml
1722 libnm-glib/libnm-glib-test.c
1723 libnm-glib/nm-ip4-config.c
1724 libnm-glib/nm-ip4-config.h
1725 src/NetworkManagerSystem.h
1726 src/backends/NetworkManagerArch.c
1727 src/backends/NetworkManagerDebian.c
1728 src/backends/NetworkManagerFrugalware.c
1729 src/backends/NetworkManagerGeneric.c
1730 src/backends/NetworkManagerGeneric.h
1731 src/backends/NetworkManagerGentoo.c
1732 src/backends/NetworkManagerMandriva.c
1733 src/backends/NetworkManagerPaldo.c
1734 src/backends/NetworkManagerRedHat.c
1735 src/backends/NetworkManagerSlackware.c
1736 src/backends/NetworkManagerSuSE.c
1737 src/dhcp-manager/nm-dhcp-manager.c
1741 - Remove NIS logic; should be done from dispatcher scripts instead
1743 2008-08-07 Dan Williams <dcbw@redhat.com>
1745 * src/dhcp-manager/nm-dhcp-manager.c
1746 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1747 mis-handling of DHCP responses that returned more than one router
1748 (found by Grant Williamson)
1750 2008-08-07 Dan Williams <dcbw@redhat.com>
1752 * callouts/nm-dispatcher-action.c
1753 - (nm_dispatcher_action): grab device path and create the device; pass
1754 the device's DHCP4 config to script caller
1755 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1758 * libnm-glib/nm-dhcp4-config.c
1759 libnm-glib/nm-dhcp4-config.h
1760 - (nm_dhcp4_config_get_options): expose
1761 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1763 2008-08-07 Dan Williams <dcbw@redhat.com>
1765 * include/NetworkManager.h
1766 - Add the DHCP4Config D-Bus interface
1768 * libnm-glib/Makefile.am
1769 libnm-glib/nm-dhcp4-config.c
1770 libnm-glib/nm-dhcp4-config.h
1771 - Handle DHCP4 config objects exported by NM over D-Bus
1773 * libnm-glib/nm-device.c
1774 libnm-glib/nm-device.h
1775 - Add a 'dhcp4-config' property
1777 * libnm-glib/libnm-glib-test.c
1778 - Print out DHCP4 config for devices
1779 - Fix some crashes when no connections are active
1781 * src/nm-device-interface.c
1783 src/nm-dhcp4-config.c
1784 src/nm-dhcp4-config.h
1785 - Treat dhcp4-config object as an object path at the D-Bus interface so
1786 that when it doesn't exist we can proxy it as "/" which dbus-glib
1787 doesn't let us do when the property type is G_TYPE_OBJECT
1789 2008-08-07 Dan Williams <dcbw@redhat.com>
1791 * src/NetworkManager.c
1792 src/NetworkManagerSystem.h
1793 src/backends/NetworkManagerArch.c
1794 src/backends/NetworkManagerDebian.c
1795 src/backends/NetworkManagerFrugalware.c
1796 src/backends/NetworkManagerGeneric.c
1797 src/backends/NetworkManagerGeneric.h
1798 src/backends/NetworkManagerGentoo.c
1799 src/backends/NetworkManagerMandriva.c
1800 src/backends/NetworkManagerPaldo.c
1801 src/backends/NetworkManagerRedHat.c
1802 src/backends/NetworkManagerSlackware.c
1803 src/backends/NetworkManagerSuSE.c
1804 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1806 2008-08-06 Dan Williams <dcbw@redhat.com>
1808 * libnm-glib/nm-ip4-config.c
1809 libnm-glib/nm-ip4-config.h
1810 - Add 'routes' property
1812 * libnm-util/nm-setting-vpn.c
1813 libnm-util/nm-setting-vpn.h
1814 - Remove 'routes' property
1816 * libnm-util/nm-setting-ip4-config.c
1817 libnm-util/nm-setting-ip4-config.h
1818 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1819 - Add 'ignore-auto-routes' property
1820 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1821 accomodate route metrics
1822 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1824 * libnm-util/nm-utils.c
1825 libnm-util/nm-utils.h
1826 - Add helpers for marshalling IP4 routes
1828 * src/NetworkManagerUtils.c
1829 - (nm_utils_merge_ip4_config): handle property renames and new route
1832 * src/NetworkManagerSystem.c
1833 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1834 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1836 * src/dhcp-manager/nm-dhcp-manager.c
1837 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1839 * system-settings/plugins/ifcfg-fedora/reader.c
1840 system-settings/plugins/ifcfg-fedora/writer.c
1841 - Handle routes separately from addresses now that routes have a different
1844 * introspection/nm-ip4-config.xml
1847 - Rename internal routing functions
1848 - 'static-routes' renamed to 'routes'
1850 2008-08-04 Dan Williams <dcbw@redhat.com>
1852 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1854 * src/NetworkManager.c
1857 - More explicitly make the NMManager a singleton
1859 2008-08-04 Dan Williams <dcbw@redhat.com>
1861 * libnm-util/nm-connection.c
1862 libnm-util/nm-connection.h
1863 - (nm_connection_verify): return error on missing 'connection' setting
1864 (found by Sjoerd Simons)
1866 2008-08-04 Dan Williams <dcbw@redhat.com>
1868 Handle multiple concurrent PPP connections.
1870 * src/ppp-manager/nm-ppp-manager.c
1871 src/ppp-manager/nm-ppp-manager.h
1872 - (constructor): only PPP Manager request bus name once; each
1873 NMPPPManager object gets a unique object path
1874 - (nm_ppp_manager_class_init, get_property, set_property,
1875 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1877 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1878 remove timeout until PPP manager gets an IP4 config
1879 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1880 the plugin can call back to this specific PPP manager instance
1882 * src/nm-device-ethernet.c
1883 src/nm-serial-device.c
1884 - Pass parent device in nm_ppp_manager_new()
1886 * src/nm-gsm-device.c
1887 src/nm-cdma-device.c
1888 - (device_state_changed): don't close serial device on NEED_AUTH
1889 state changed, that's not a failure case like the rest are
1891 * src/ppp-manager/nm-pppd-plugin.c
1892 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1893 binds one interface to any pppd process, thus the correct index
1894 is always 0; send PHASE_DEAD on error to alert NM immediately of
1895 problems; try harder to get a peer address in spite of pppd
1896 - (plugin_init): use 'ipparam' as the object path back to our specific
1897 PPP manager instance
1899 2008-08-04 Dan Williams <dcbw@redhat.com>
1901 * src/ppp-manager/nm-ppp-manager.c
1902 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1903 since the GSM and CDMA settings now implement need_secrets, we can
1904 rely on them to do the right thing. Where secrets are not required,
1905 just pass empty strings back to the pppd plugin.
1906 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1907 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1908 on successful IP4 config receipt
1910 2008-08-04 Dan Williams <dcbw@redhat.com>
1912 * libnm-util/nm-setting-cdma.c
1913 libnm-util/nm-setting-gsm.c
1914 - (verify): validate username & password if they exist
1915 - (need_secrets): if username given, require a password too
1917 2008-08-04 Dan Williams <dcbw@redhat.com>
1919 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1920 - (create_dm_cmd_line): really don't listen on lo, despite what the
1921 manpage says about --listen-address without --interface
1924 2008-08-01 Dan Williams <dcbw@redhat.com>
1926 * libnm-glib/nm-device.c
1927 - (proxy_get_string): util function for querying a HAL property
1928 - (get_ancestor_device): split out from get_product_and_vendor()
1929 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1930 from PCI devices by querying subsys properties
1931 - (nm_device_update_description): simplify
1933 2008-08-01 Dan Williams <dcbw@redhat.com>
1935 * libnm-util/nm-setting-ip4-config.c
1936 libnm-util/nm-setting-ip4-config.h
1937 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1938 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1939 settings, and they don't necessarily use DHCP.
1941 * src/NetworkManagerPolicy.c
1943 system-settings/plugins/ifcfg-fedora/reader.c
1944 system-settings/plugins/ifcfg-suse/parser.c
1945 - Fixup for method changes
1947 2008-07-31 Dan Williams <dcbw@redhat.com>
1949 * src/nm-activation-request.c
1950 src/vpn-manager/nm-vpn-connection.c
1951 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1952 itself should be attached to the activation request or the VPN
1953 connection, not the NMConnection object, since the call is not
1954 expected to live as long as the NMConnection itself
1956 2008-07-31 Dan Williams <dcbw@redhat.com>
1958 * src/nm-device-wifi.c
1959 - (real_act_stage2_config): fix issue where association would continue
1960 even though secrets were needed; 'goto out' was in wrong scope and
1961 result of handle_auth_or_fail() should have been dumped directly to
1962 'ret' to ensure that the association was postponed until secrets
1965 2008-07-31 Dan Williams <dcbw@redhat.com>
1967 * system-settings/plugins/ifcfg-fedora/plugin.c
1968 system-settings/plugins/ifcfg-fedora/reader.c
1969 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1972 2008-07-29 Dan Williams <dcbw@redhat.com>
1974 * src/nm-gsm-device.c
1975 - (automatic_registration_response, automatic_registration): recognize
1976 denied registration and reorder responses
1978 2008-07-29 Dan Williams <dcbw@redhat.com>
1980 * src/nm-serial-device.c
1981 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1982 time(2) is used for current time, which returns seconds, we shouldn't
1983 be multiplying by 1000.
1985 2008-07-28 Dan Williams <dcbw@redhat.com>
1987 Patch from Fabrice Bellet <fabrice@bellet.info>
1989 * src/NetworkManagerSystem.c
1990 - (route_in_same_subnet): mask addresses and compare them so that the
1991 function actually does what it says it's going to do (rh #456685)
1993 2008-07-27 Dan Williams <dcbw@redhat.com>
1995 * libnm-util/nm-setting-ip6-config.c
1996 - (set_property): add missing break that caused routes to be overwritten
1999 * libnm-util/nm-setting-ip6-config.c
2000 - (verify): validate routes and return GError everywhere on invalid setting
2001 - (finalize): don't leak routes
2002 - (set_property): add missing break that caused routes to be overwritten
2005 2008-07-27 Dan Williams <dcbw@redhat.com>
2008 - Relicense to LGPLv2+
2010 2008-07-27 Dan Williams <dcbw@redhat.com>
2012 * system-settings/plugins/ifcfg-fedora/reader.c
2013 - (make_ip4_setting): fix parsing automatic configs
2015 2008-07-27 Dan Williams <dcbw@redhat.com>
2017 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2019 src/ppp-manager/nm-ppp-manager.c
2020 - Ensure child process gets reaped. The child watch function may be
2021 removed from the mainloop before the child gets killed, so we have
2022 to make sure the child is reaped when it's told to die intentionally
2024 2008-07-27 Dan Williams <dcbw@redhat.com>
2026 Patch from Roy Marples <roy@marples.name>
2028 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2029 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
2031 2008-07-27 Dan Williams <dcbw@redhat.com>
2033 * src/nm-gsm-device.c
2034 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
2035 Huawei devices turn echo back on after CPIN (rh #456770)
2037 2008-07-24 Tambet Ingo <tambet@gmail.com>
2039 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
2040 format argument to g_set_error() call.
2042 * src/backends/interface_parser.[ch]: Remove.
2044 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
2046 2008-07-21 Dan Williams <dcbw@redhat.com>
2048 * src/ppp-manager/nm-ppp-manager.c
2049 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2050 to prevent pppd from picking up some random local address from an
2051 interface that doesn't have anything to do with the one we're
2052 interested in (rh #455348)
2054 2008-07-17 Dan Williams <dcbw@redhat.com>
2056 * libnm-util/nm-utils.c
2057 - (string_to_utf8): general function for conversion to UTF-8 assisted
2059 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2060 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2062 2008-07-17 Dan Williams <dcbw@redhat.com>
2064 * introspection/Makefile.am
2065 introspection/nm-device.xml
2066 introspection/nm-dhcp4-config.xml
2067 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2069 * src/nm-device-interface.c
2070 src/nm-device-interface.h
2071 - Add the DHCP4Config property
2074 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2075 D-Bus clients when it changes
2077 * src/nm-dhcp4-config.c
2078 src/nm-dhcp4-config.h
2079 - Simple object to store DHCP4 options, export them over D-Bus, and
2080 notify when they change
2082 * src/dhcp-manager/nm-dhcp-manager.c
2083 src/dhcp-manager/nm-dhcp-manager.h
2084 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2085 filter server-returned DHCP options into an NMDHCP4Config object
2087 2008-07-16 Dan Williams <dcbw@redhat.com>
2089 * introspection/nm-device.xml
2090 - Add device state reasons
2092 2008-07-16 Dan Williams <dcbw@redhat.com>
2094 Patch from Roy Marples <roy@marples.name>
2097 - Add --with-dhcp-client option
2099 * src/dhcp-manager/Makefile.am
2100 - pass DHCP_CLIENT_PATH on compile line
2102 * src/dhcp-manager/nm-dhcp-manager.c
2103 src/dhcp-manager/nm-dhcp-manager.h
2104 - Genericize for both dhcpcd and dhclient
2106 * src/dhcp-manager/nm-dhcp-dhclient.c
2107 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2109 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2110 - Implement support for dhcpcd too
2112 2008-07-16 Tambet Ingo <tambet@gmail.com>
2114 * system-settings/src/nm-system-config-interface.c
2115 (nm_system_config_interface_supports_add): Implement.
2116 (nm_system_config_interface_add_connection): Return a boolean to notify
2119 * system-settings/src/nm-polkit-helpers.c:
2120 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2123 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2124 Return an error when none of the plugins support add or if addition
2125 failed for some reason.
2127 * system-settings/src/nm-system-config-error.h:
2128 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2129 here from nm-polkit-helpers.[ch].
2131 * system-settings/src/Makefile.am: Build new files.
2133 * system-settings/plugins/keyfile/reader.c
2134 (read_array_of_array_of_uint): Make it more general so that it would
2135 work for routes as well.
2137 * system-settings/plugins/keyfile/writer.c
2138 (write_array_of_array_of_uint): Ditto.
2139 Fix the netmask/prefix writing.
2141 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2142 boolean to notify errors.
2144 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2145 Return more specific error.
2148 2008-07-11 Dan Williams <dcbw@redhat.com>
2150 Modify the NMDevice::state-changed signal to include the previous state
2151 and reason. Enables the applet to provide more information why device
2154 2008-07-09 Dan Williams <dcbw@redhat.com>
2156 * callouts/Makefile.am
2157 callouts/nm-avahi-autoipd-action.c
2158 callouts/nm-avahi-autoipd.conf
2159 - avahi-autoipd callout to send options back to NM
2166 src/nm-device-private.h
2168 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2171 2008-07-07 Dan Williams <dcbw@redhat.com>
2173 * system-settings/plugins/ifcfg-fedora/reader.c
2174 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2175 handle PREFIX too; clean up
2177 2008-07-07 Dan Williams <dcbw@redhat.com>
2179 Convert to using IPv4 prefixes instead of netmasks.
2181 2008-07-03 Dan Williams <dcbw@redhat.com>
2183 * libnm-util/nm-setting-ip4-config.c
2184 libnm-util/nm-setting-ip4-config.h
2185 - Add properties for DHCP Client Identifier and DHCP Hostname
2187 * src/dhcp-manager/nm-dhcp-manager.c
2188 src/dhcp-manager/nm-dhcp-manager.h
2189 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2190 setting as an argument to pass on to the dhclient config file
2192 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2194 - (dhclient_run): punt config file handling to create_dhclient_config()
2195 - (create_dhclient_config): create an interface-specific dhclient
2196 config file since there may need to be interface-specific options
2198 - (merge_dhclient_config): merge normal distro dhclient config file and
2199 add options from the connection
2200 - (nm_dhcp_device_new): generate the interface specific dhclient
2201 config file path once
2202 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2203 dhclient config file path
2206 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2207 DHCP manager when starting DHCP
2209 2008-07-02 Dan Williams <dcbw@redhat.com>
2211 * libnm-util/nm-setting-8021x.c
2212 - (verify): allow forcing the PEAP label to 0
2214 2008-07-02 Dan Williams <dcbw@redhat.com>
2216 * introspection/nm-active-connection.xml
2217 introspection/nm-vpn-connection.xml
2218 libnm-glib/nm-active-connection.c
2219 src/nm-activation-request.c
2220 src/nm-active-connection.h
2221 src/vpn-manager/nm-vpn-connection.c
2222 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2223 and libnm-glib API since sharing didn't get implemented that way
2225 2008-07-02 Dan Williams <dcbw@redhat.com>
2227 * src/nm-device-wifi.c
2228 - (can_scan): don't scan when a shared connection is activated since
2229 that makes drivers mad (causing disconnects); also NM doesn't need
2230 to hedge against disconnects by keeping up-to-date network topology
2231 because the connection originates from the local machine, and thus
2232 there should be no disconnects
2234 2008-07-01 Dan Williams <dcbw@redhat.com>
2236 Fix mobile broadband username/password issues. NM was never requesting
2237 mobile broadband secrets, nor was it passing back the username and password
2240 * marshallers/nm-marshal.list
2241 - Add some new types for activation request objects
2243 * src/nm-activation-request.c
2244 src/nm-activation-request.h
2245 - (get_secrets_cb): pass the caller type in the signal
2246 - (nm_act_request_request_connection_secrets): take a caller type, so
2247 that GetSecrets() reply handlers know who asked for the secrets in
2248 the first place; use secret hints too so the settings service can
2249 figure out exactly what NM wants (ie, PIN or the PPP password)
2251 * src/ppp-manager/nm-ppp-manager.c
2252 src/ppp-manager/nm-ppp-manager.h
2253 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2254 detect needed secrets when the secret could be blank, like GSM/CDMA
2255 passwords. So always ask for secrets, and send a hint as to what
2256 secret we really want.
2257 - (nm_ppp_manager_update_secrets): make function more generic by making
2258 the device specific class figure out the username and password, and
2259 accept an error argument to return back over D-Bus
2261 * src/nm-device-wifi.c
2262 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2263 nm_act_request_request_connection_secrets()
2264 - (real_connection_secrets_updated): update for 'caller' changes
2268 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2269 for 'caller' changes
2271 * src/nm-device-ethernet.c
2272 - (real_connection_secrets_updated): update for 'caller' changes and
2273 move logic for getting PPPoE username and password here before
2274 calling nm_ppp_manager_update_secrets()
2275 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2276 nm_act_request_request_connection_secrets()
2278 * src/nm-cdma-device.c
2279 - (real_connection_secrets_updated): pass username and password back
2280 to the PPP manager when required
2282 * src/nm-gsm-device.c
2283 - (enter_pin): send the required secret name to the settings service
2284 - (real_connection_secrets_updated): pass username and password back
2285 to the PPP manager when required
2287 2008-06-30 Dan Williams <dcbw@redhat.com>
2289 * src/nm-device-wifi.c
2290 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2292 2008-06-30 Dan Williams <dcbw@redhat.com>
2294 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2295 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2296 priv->supplicant.iface. When either condition is false, the device should
2297 transition back to UNAVAILABLE because it cannot be used.
2299 * src/nm-device-wifi.c
2300 - (constructor): cleanup; connect to supplicant manager here since the
2301 supplicant manager is always around
2302 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2303 ensure the supplicant manager is in the IDLE state
2304 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2305 cancel any pending scans too
2306 - (real_bring_up): don't set up the supplicnat interface here, because
2307 we need the supplicant interface at times when the device may not
2309 - (real_take_down): just remove the periodic source
2310 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2311 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2312 do anything if there's no supplicant interface
2313 - (cleanup_association_attempt): cleanup
2314 - (supplicant_iface_state_cb_handler): request an immediate scan when
2315 the interface enters the READY state; transition to UNAVAILABLE
2316 state when the interface goes down because the device can't be used
2317 without a supplicant interface
2318 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2319 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2320 acquire the supplicant interface and transition to DISCONNECTED
2321 if the radio isn't killed
2322 - (nm_device_wifi_dispose): move most of device_cleanup() here
2323 - (state_changed_cb): release any existing supplicant interface; if the
2324 radio is enabled then try to acquire a new supplicant interface;
2325 if the radio is enabled and a supplicant interface has been acquired,
2326 we can transition to DISCONNECTED
2327 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2328 don't enable the radio, because HAL probably lied to us about the
2329 killswitch being off. If bringing the hardware up worked, then
2330 try to grab a supplicant interface, and if that was successful,
2331 transition to DISCONNECTED
2333 2008-06-30 Dan Williams <dcbw@redhat.com>
2335 * src/supplicant-manager/nm-supplicant-interface.c
2336 - (request_scan_results, nm_supplicant_interface_dispose,
2337 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2338 the id of the timeout, not a GSource
2340 2008-06-30 Tambet Ingo <tambet@gmail.com>
2342 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2343 bunch of typoes introduced by "Patch from David Cantrell
2344 <dcantrell@redhat.com> and me".
2346 2008-06-30 Tambet Ingo <tambet@gmail.com>
2348 * src/nm-serial-device.c:
2349 * src/nm-gsm-device.c:
2350 * src/nm-cdma-device.c: Move the pending call handling to a common location
2351 in serial device. Handle setting device state to failed in one place as well.
2353 2008-06-29 Dan Williams <dcbw@redhat.com>
2355 * src/nm-hal-manager.c
2356 - Rework killswitch handling to query killswitch status immediately
2357 when the first killswitch is added, so that rfkill state is
2358 known as early as possible
2359 - Also treat failure of GetPower() as rfkill when the dbus method
2360 call times out (but not when the HAL callout returns an error)
2362 2008-06-26 Dan Williams <dcbw@redhat.com>
2364 Patch from David Cantrell <dcantrell@redhat.com> and me
2366 * include/nm-dbus-glib-types.h
2367 - Add IP6 address types
2369 * libnm-util/Makefile.am
2370 libnm-util/nm-setting-ip6-config.c
2371 libnm-util/nm-setting-ip6-config.h
2372 - Add IP6 settings object
2374 * libnm-util/nm-connection.c
2375 - (register_default_settings): register ip6 settings object
2377 * libnm-util/nm-utils.c
2378 libnm-util/nm-utils.h
2379 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2380 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2381 ip6 address conversion functions
2383 2008-06-26 Dan Williams <dcbw@redhat.com>
2385 Patch from David Cantrell <dcantrell@redhat.com>
2387 * Use inet_ntop() and inet_pton() everwhere and check for errors
2389 2008-06-26 Dan Williams <dcbw@redhat.com>
2391 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2393 2008-06-26 Dan Williams <dcbw@redhat.com>
2395 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2397 * src/nm-device-wifi.c
2398 - (link_timeout_cb): don't ignore disconnects due to scanning
2399 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2400 a longer timeout when scanning; avoids case where supplicant can't
2401 find the AP and just keeps scanning forever but isn't connected
2403 2008-06-26 Dan Williams <dcbw@redhat.com>
2405 Patch from Michael Biebl <biebl@debian.org>
2407 * Clean up build system stuff
2409 2008-06-23 Christian Persch <chpe@gnome.org>
2411 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2412 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2413 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2415 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2417 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2418 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2419 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2421 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2422 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2423 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2424 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2425 * vpn-daemons/pptp/properties/vpnui_opt.c:
2426 (vpnui_opt_connect_signals):
2427 * vpn-daemons/pptp/properties/vpnui_opt.h:
2428 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2429 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2430 deprecated gtk type macros. Bug #539325.
2432 2008-06-20 Dan Williams <dcbw@redhat.com>
2434 * libnm-glib/nm-vpn-plugin-ui-interface.c
2435 libnm-glib/nm-vpn-plugin-ui-interface.h
2436 - 'validity-changed' -> 'changed' to work better with the connection
2437 editor. Plugin UI widgets should emit 'changed' whenever their
2438 UI values change in a meaningful way.
2439 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2440 update_connection member now returns validity of the UI widget
2442 2008-06-20 Tambet Ingo <tambet@gmail.com>
2444 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2446 2008-06-17 Dan Williams <dcbw@redhat.com>
2448 * libnm-glib/nm-vpn-plugin-ui-interface.c
2449 libnm-glib/nm-vpn-plugin-ui-interface.h
2450 - Add "desc" property for longer descriptions of the VPN plugin
2452 2008-06-16 Dan Williams <dcbw@redhat.com>
2455 libnm-glib/libnm_glib_vpn.pc.in
2456 - add a .pc file for libnm_glib_vpn
2458 * libnm-glib/nm-vpn-plugin-ui-interface.c
2459 libnm-glib/nm-vpn-plugin-ui-interface.h
2460 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2461 rework it substantially
2463 2008-06-12 Dan Williams <dcbw@redhat.com>
2465 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2466 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2467 returns a descriptive GError when verification fails.
2469 2008-06-11 Dan Williams <dcbw@redhat.com>
2471 Patch from Tambet Ingo <tambet@gmail.com>
2473 * libnm-util/nm-setting-gsm.c
2474 - (verify): validate APN
2476 * src/nm-gsm-device.c
2477 - (manual_registration_done): start setting APN if needed
2478 - (set_apn, set_apn_done): set the APN
2479 - (do_dial): use the APN when dialing
2481 2008-06-11 Dan Williams <dcbw@redhat.com>
2483 * src/NetworkManagerSystem.c
2484 - (nm_system_device_set_ip4_route,
2485 nm_system_device_replace_default_ip4_route): check for the right
2486 return value from rtnl_route_add() to know when to add a gateway
2489 2008-06-11 Dan Williams <dcbw@redhat.com>
2491 * src/NetworkManagerPolicy.c
2492 - do_ipt_cmd -> do_cmd
2493 - (sharing_init): use do_cmd() instead of system()
2495 2008-06-10 Dan Williams <dcbw@redhat.com>
2497 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2498 and use "wifi" everwhere instead.
2500 2008-06-10 Dan Williams <dcbw@redhat.com>
2502 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2504 2008-06-10 Dan Williams <dcbw@redhat.com>
2506 Patch from Tambet Ingo <tambet@gmail.com>
2508 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2511 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2512 a signal to emit these changes over dbus.
2514 * src/Makefile.am: Genereate nm-serial-device-glue.
2516 * libnm-glib/nm-serial-device.[ch]: Implement.
2518 * libnm-glib/nm-cdma-device.[ch]
2519 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2521 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2523 * introspection/nm-device-serial.xml: Implement.
2525 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2527 * introspection/Makefile.am: Add nm-device-serial.xml.
2529 * include/NetworkManager.h: Add a DBus interface for serial device.
2531 2008-06-10 Dan Williams <dcbw@redhat.com>
2534 - Add TARGET_* define to config.h to distinguish distros
2536 * src/dhcp-manager/nm-dhcp-manager.c
2537 - (dhclient_run): use distro-specific path for dhclient config file
2539 2008-06-09 Dan Williams <dcbw@redhat.com>
2541 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2542 src/dnsmasq-manager/nm-dnsmasq-manager.h
2543 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2544 calculate the addresses passed to dnsmasq instead of hard-coding
2548 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2549 IP addresses for shared connections to guard against shared
2550 connection address collisions
2551 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2553 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2556 2008-06-09 Dan Williams <dcbw@redhat.com>
2558 * src/NetworkManagerPolicy.c
2559 - (update_routing_and_dns): set the default connection _after_ unsetting
2560 default on all non-default connections so that two connections can
2561 never be default at the same time
2562 - (device_state_changed): start and stop connection sharing when
2564 - (active_connection_default_changed): restart or stop sharing when
2565 the default connection changes to keep shared connections always
2566 NAT-ed through the default connection
2567 - (check_sharing): handle activation/deactivation of shared connections
2568 - (sharing_restart): atom-bomb approach to connection sharing until we
2569 can use libnl; reinit all sharing when the default connection or
2570 shared connections change
2571 - (sharing_init, sharing_stop): evil functions that init and deinit
2574 2008-06-09 Dan Williams <dcbw@redhat.com>
2576 * src/nm-activation-request.c
2577 src/nm-activation-request.h
2578 - (nm_act_request_set_shared, nm_act_request_get_shared,
2579 nm_act_request_get_device): new functions to facilitate connection
2582 2008-06-09 Dan Williams <dcbw@redhat.com>
2585 - (clear_act_request): unset the 'default' property of the activation
2586 request when clearing it to ensure the property changed signal gets
2587 delivered and handled
2589 2008-06-09 Dan Williams <dcbw@redhat.com>
2591 * libnm-glib/nm-device-802-11-wireless.c
2592 - (access_point_removed_proxy): actually unref the AP after removing
2593 it from the device's AP list. Fixes refcounting bug for APs that
2594 caused them to get mixed up in the applet's menu.
2596 2008-06-09 Tambet Ingo <tambet@gmail.com>
2598 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2599 (nm_dhcp_device_destroy): Destroy the device options hash table.
2601 2008-06-06 Dan Williams <dcbw@redhat.com>
2603 * system-settings/src/nm-polkit-helpers.c
2604 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2605 unref the context if the initialization fails; also avoid spew when
2608 2008-06-06 Dan Williams <dcbw@redhat.com>
2610 Patch from Tambet Ingo <tambet@gmail.com>
2612 * src/NetworkManagerSystem.c
2613 src/NetworkManagerSystem.h
2614 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2615 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2616 - (nm_system_device_set_ip4_route): clean up
2617 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2620 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2622 * src/vpn-manager/nm-vpn-connection.c
2623 - (ip_address_to_string): new function
2624 - (print_vpn_config): use ip_address_to_string
2625 - (merge_vpn_routes): add user-defined routes to the ip4 config
2626 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2628 * include/NetworkManagerVPN.h
2631 2008-06-05 Dan Williams <dcbw@redhat.com>
2633 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2636 - Show which device is the default device
2638 2008-06-05 Tambet Ingo <tambet@gmail.com>
2642 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2643 Free data returned from dbus method call.
2645 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2646 dbus_g_method_get_sender() returns a duplicated string, free it
2648 (check_polkit_privileges): Looks like policykit sometimes returns
2649 error and non-null return value, don't leak errors in that case.
2651 * system-settings/src/main.c (find_plugin): Don't leak existing
2653 (load_stuff): Don't leak device list and list items.
2654 (have_connection_for_device): Don't leak connection list.
2656 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2657 Free the data received from g_keyfile_get_*.
2659 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2660 the key when the security object is updated.
2662 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2663 Free data returned from dbus method call.
2664 (iface_state_cb): Ditto.
2665 (add_network_cb): Ditto.
2666 (nm_supplicant_interface_add_cb): Don't make another copy of already
2667 duplicated object path.
2668 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2671 * src/supplicant-manager/nm-supplicant-config.c
2672 (ADD_STRING_LIST_VAL): Fix a memory leak.
2674 * src/nm-manager.c (free_get_settings_info): Free the allocated
2676 (list_connections_cb): Free data returned from dbus method call.
2677 (system_settings_get_unmanaged_devices_cb): Ditto.
2679 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2681 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2682 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2683 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2686 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2687 arguments after the object is created.
2689 2008-06-04 Dan Williams <dcbw@redhat.com>
2691 * libnm-util/Makefile.am
2692 - Don't distribute nm-param-spec-specialized.h
2694 2008-06-02 Tambet Ingo <tambet@gmail.com>
2696 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2698 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2699 NMIP4Address, update the getters and setters.
2701 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2702 Use the updated NMIP4Config routes api.
2704 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2705 static routes as well.
2707 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2708 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2711 2008-05-30 Dan Williams <dcbw@redhat.com>
2713 * src/named-manager/nm-named-manager.c
2714 src/named-manager/nm-named-manager.h
2715 - Remove stale/obsolete bits for controlling bind over DBus
2717 2008-05-29 Dan Williams <dcbw@redhat.com>
2719 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2720 src/dnsmasq-manager/nm-dnsmasq-manager.h
2721 - (nm_dnsmasq_manager_new): move iface argument here
2722 - (constructor): remove, not needed
2723 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2724 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2727 - (real_act_stage4_get_ip4_config,
2728 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2731 2008-05-29 Dan Williams <dcbw@redhat.com>
2734 - (dnsmasq_state_changed_cb): new function; fail the connection if
2735 something happens to dnsmasq
2736 - (nm_device_new_ip4_shared_config): new function; create a new
2737 ip4-config for shared connections. Shared connections always use a
2738 fixed static IP address.
2739 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2740 autoip connections by actually using the returned ip4-config and
2742 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2744 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2747 2008-05-29 Dan Williams <dcbw@redhat.com>
2749 * src/nm-device-802-11-wireless.c
2750 - (real_get_best_auto_connection): auto-activate 'shared' method
2753 2008-05-29 Dan Williams <dcbw@redhat.com>
2755 * libnm-util/nm-setting-ip4-config.c
2756 libnm-util/nm-setting-ip4-config.h
2757 - Add a 'shared' method to indicate that this connection should be
2758 brought up with a DHCP and proxy DNS server to facilitate
2760 - (verify): 'shared' method doesn't allow DNS or searches either
2762 2008-05-29 Dan Williams <dcbw@redhat.com>
2766 src/dnsmasq-manager/Makefile.am
2767 src/dnsmasq-manager/nm-dnsmasq-manager.c
2768 src/dnsmasq-manager/nm-dnsmasq-manager.h
2769 - Add a dnsmasq daemon manager to facilitate connection sharing
2771 2008-05-29 Dan Williams <dcbw@redhat.com>
2773 * src/nm-device-private.h
2774 - Remove unused prototypes and clean up
2777 - Remove anything related to system_config_data, which is no longer used
2778 - (nm_device_new_ip4_autoip_config): make static
2780 2008-05-29 Tambet Ingo <tambet@gmail.com>
2782 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2783 (file_changed): Fix a bug where suse system settings plugin didn't
2784 update the connections automatically when the files changed.
2786 2008-05-28 Dan Williams <dcbw@redhat.com>
2788 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2790 2008-05-28 Dan Williams <dcbw@redhat.com>
2792 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2794 * src/NetworkManagerSystem.c
2795 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2796 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2797 was causing -EINVAL errors since the libnl code actually does flush
2798 the routes on VPN interfaces now
2800 * src/backends/NetworkManagerArch.c
2801 src/backends/NetworkManagerDebian.c
2802 src/backends/NetworkManagerFrugalware.c
2803 src/backends/NetworkManagerGeneric.c
2804 src/backends/NetworkManagerGentoo.c
2805 src/backends/NetworkManagerMandriva.c
2806 src/backends/NetworkManagerPaldo.c
2807 src/backends/NetworkManagerRedHat.c
2808 src/backends/NetworkManagerSlackware.c
2809 src/backends/NetworkManagerSuSE.c
2810 - (nm_system_device_flush_ip4_routes,
2811 nm_system_device_flush_ip4_routes_with_iface): remove
2813 2008-05-28 Dan Williams <dcbw@redhat.com>
2815 * libnm-util/nm-setting-wireless.c
2816 libnm-util/nm-setting-wireless.h
2817 - (set_property, get_property, nm_setting_wireless_class_init): add the
2818 'adhoc-create' property, which when TRUE indicates that NM should
2819 create this connection as an adhoc wifi network if it's not found
2820 as an adhoc network during scanning. Can be used to auto-create
2821 adhoc networks when used in combination with autoconnect.
2823 2008-05-28 Tambet Ingo <tambet@gmail.com>
2825 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2827 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2828 checked, it doesn't work on some devices.
2830 2008-05-28 Tambet Ingo <tambet@gmail.com>
2832 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2833 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2835 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2836 Use inet_aton() everywhere to improve error detection.
2837 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2840 2008-05-26 Tambet Ingo <tambet@gmail.com>
2842 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2845 2008-05-26 Tambet Ingo <tambet@gmail.com>
2847 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2848 reference counting issue.
2850 2008-05-23 Dan Williams <dcbw@redhat.com>
2852 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2854 * src/backends/NetworkManagerGeneric.c
2855 - (nm_generic_enable_loopback): use libnl
2857 2008-05-23 Dan Williams <dcbw@redhat.com>
2859 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2861 * src/NetworkManagerSystem.h
2862 src/backends/NetworkManagerArch.c
2863 src/backends/NetworkManagerDebian.c
2864 src/backends/NetworkManagerFrugalware.c
2865 src/backends/NetworkManagerGentoo.c
2866 src/backends/NetworkManagerMandriva.c
2867 src/backends/NetworkManagerPaldo.c
2868 src/backends/NetworkManagerRedHat.c
2869 src/backends/NetworkManagerSlackware.c
2870 src/backends/NetworkManagerSuSE.c
2871 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2872 nm_system_flush_arp_cache): remove, unused
2874 * src/backends/NetworkManagerGeneric.c
2875 src/backends/NetworkManagerGeneric.h
2876 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2877 nm_generic_flush_arp_cache): remove, unused
2879 2008-05-23 Dan Williams <dcbw@redhat.com>
2881 * system-settings/plugins/ifcfg-fedora/reader.c
2882 - (make_ip4_setting): honor PEERDNS setting
2884 2008-05-23 Dan Williams <dcbw@redhat.com>
2886 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2888 * src/NetworkManagerSystem.c
2889 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2892 * src/backends/NetworkManagerArch.c
2893 src/backends/NetworkManagerDebian.c
2894 src/backends/NetworkManagerFrugalware.c
2895 src/backends/NetworkManagerGentoo.c
2896 src/backends/NetworkManagerMandriva.c
2897 src/backends/NetworkManagerPaldo.c
2898 src/backends/NetworkManagerRedHat.c
2899 src/backends/NetworkManagerSlackware.c
2900 src/backends/NetworkManagerSuSE.c
2901 - (nm_system_device_flush_ip4_addresses,
2902 nm_system_device_flush_ip4_addresses_with_iface): remove
2904 * src/backends/NetworkManagerGeneric.c
2905 - (nm_generic_device_flush_ip4_addresses,
2906 nm_generic_device_flush_ip4_addresses_with_iface): remove
2908 2008-05-23 Dan Williams <dcbw@redhat.com>
2910 * src/supplicant-manager/nm-supplicant-settings-verify.c
2911 - Switch 'bssid' from bytes to keyword type
2912 - (validate_type_keyword): allow NULL keyword lists
2914 * src/supplicant-manager/nm-supplicant-config.c
2915 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2916 a byte array to string form, which is what the supplicant expects
2918 2008-05-23 Tambet Ingo <tambet@gmail.com>
2920 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2921 information received from DHCP.
2923 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2924 to make it possible to ignore the DNS information (both servers and
2925 searches) returned by DHCP server.
2927 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2928 name servers and searches if "ignore_dhcp_dns" is set.
2930 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2931 (nm_ip4_config_reset_searches): Implement.
2933 2008-05-22 Dan Williams <dcbw@redhat.com>
2935 Remove anything mDNS related. This is better done from a distro-specific
2936 dispatcher script. Plus, any distro using avahi doesn't need to restart
2937 avahi, since avahi can handle interface changes just fine using netlink.
2940 - Remove --with-mdns-provider
2942 * src/NetworkManagerPolicy.c
2943 - (global_state_changed): don't restart the mdns provider
2945 * src/NetworkManagerSystem.h
2946 src/backends/NetworkManagerArch.c
2947 src/backends/NetworkManagerDebian.c
2948 src/backends/NetworkManagerFrugalware.c
2949 src/backends/NetworkManagerGentoo.c
2950 src/backends/NetworkManagerMandriva.c
2951 src/backends/NetworkManagerPaldo.c
2952 src/backends/NetworkManagerRedHat.c
2953 src/backends/NetworkManagerSlackware.c
2954 src/backends/NetworkManagerSuSE.c
2955 - (nm_system_restart_mdns_responder): remove
2957 * src/backends/NetworkManagerGeneric.c
2958 src/backends/NetworkManagerGeneric.h
2959 - (nm_generic_restart_mdns_responder): remove
2961 2008-05-22 Dan Williams <dcbw@redhat.com>
2964 - clean up crypto options; just use --with-crypto=nss or
2965 --with-crypto=gnutls
2967 2008-05-22 Tambet Ingo <tambet@gmail.com>
2969 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2970 anymore, do it right away.
2972 2008-05-22 Tambet Ingo <tambet@gmail.com>
2974 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2975 serial device open when we're not connecting or connected.
2977 * src/nm-cdma-device.c (device_state_changed): Ditto.
2979 2008-05-22 Tambet Ingo <tambet@gmail.com>
2981 Don't remove all devices on waking up, sync with HAL.
2983 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2984 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2985 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2987 2008-05-21 Tambet Ingo <tambet@gmail.com>
2989 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2990 If the default gateway is unreachable, add a route to gateway and try
2993 2008-05-20 Dan Williams <dcbw@redhat.com>
2995 * system-settings/plugins/ifcfg-fedora/reader.c
2996 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2998 2008-05-19 Dan Williams <dcbw@redhat.com>
3000 * system-settings/plugins/ifcfg-fedora/reader.c
3001 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
3002 if the ifcfg doesn't specify one (rh #446527)
3004 2008-05-19 Dan Williams <dcbw@redhat.com>
3006 Make the system settings service exit when the bus goes away. Since it's
3007 a bus-activated service, it's lifetime is limited to the bus that activated
3010 * system-settings/src/Makefile.am
3011 system-settings/src/nm-system-config-hal-manager-private.h
3012 - Remove nm-system-config-hal-manager-private.h
3014 * system-settings/src/nm-system-config-hal-manager.c
3015 - (nm_system_config_hal_manager_reinit_dbus,
3016 nm_system_config_hal_manager_deinit_dbus): remove
3018 * system-settings/src/main.c
3019 - (dbus_reconnect): remove
3020 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
3021 - (destroy_cb): just quit when the bus goes away
3022 - (start_dbus_service, dbus_init): simplify
3023 - (main): destroy the wired devices hash table after destroying
3024 the HAL manager so we don't have to disconnect signals from the
3027 2008-05-15 Tambet Ingo <tambet@gmail.com>
3029 Move crypto functions from nm-applet to libnm-util.
3031 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
3032 (nm_setting_802_1x_set_client_cert)
3033 (nm_setting_802_1x_set_phase2_ca_cert)
3034 (nm_setting_802_1x_set_phase2_client_cert)
3035 (nm_setting_802_1x_set_private_key)
3036 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
3037 file (or private key and it's password), read the certificate data.
3039 * libnm-util/crypto_nss.c:
3040 * libnm-util/crypto_gnutls.c:
3041 * libnm-util/crypto.[ch]: Move here from nm-applet.
3043 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
3045 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
3046 Imlement WPA-EAP configuration reading from sysconfig.
3048 2008-05-16 Dan Williams <dcbw@redhat.com>
3050 * src/nm-device-802-11-wireless.c
3051 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3054 2008-05-14 Dan Williams <dcbw@redhat.com>
3056 Fix Linus' bug in rh #134886
3058 * src/nm-device-802-3-ethernet.c
3059 - (constructor): request initial carrier state
3061 * src/nm-netlink-monitor.c
3062 - (nm_netlink_monitor_request_status): schedule emission of carrier
3063 signals after refilling the link cache. Because the refill is a
3064 synchronous operation, the normal message hander won't get called
3065 since libnl has already consumed the messages.
3066 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3068 2008-05-14 Dan Williams <dcbw@redhat.com>
3070 * src/NetworkManagerSystem.c
3071 - (nm_system_device_is_up_with_iface): clean up
3073 2008-05-13 Dan Williams <dcbw@redhat.com>
3075 Fix refcounting issues over sleep/wake when a VPN connection was active that
3076 caused NM to try registering an object path for a device upon wake that was
3077 the same as an already registered object path.
3080 - (nm_device_take_down): properly handle cases where the device is
3081 no longer active but was just active, and therefore must be
3082 deactivated. When a device moves to unmanaged mode, this function
3083 previously would not deactivate the device, because the state was
3084 already unmanaged by the time this function was called.
3086 * src/vpn-manager/nm-vpn-connection.c
3087 - (device_state_changed): properly handle multiple devices states in
3088 which the device is now deactivated. Code previously didn't handle
3089 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3092 2008-05-13 Dan Williams <dcbw@redhat.com>
3094 * src/nm-device-private.h
3096 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3098 * src/nm-device-802-11-wireless.c
3099 - (nm_device_802_11_wireless_set_enabled): take devices up
3100 and down as appropriate for the rfkill state
3102 2008-05-13 Dan Williams <dcbw@redhat.com>
3104 * marshallers/nm-marshal.list
3105 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3107 * system-settings/plugins/ifcfg-fedora/Makefile.am
3108 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3109 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3110 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3111 events. Solely for use watching ifcfg files to pick up changes
3112 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3114 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3115 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3116 file contents change
3117 - (finalize): clean up inotify watches
3118 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3119 and the connection ifcfg for changes on their hardlinks
3120 - (files_changed_cb): proxy the changed signal back out to listeners
3122 * system-settings/plugins/ifcfg-fedora/plugin.c
3124 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3126 - (read_one_connection): connect to change signals on the new connection
3127 - (dir_changed, connection_changed_handler,
3128 handle_connection_remove_or_new): break out connection change
3129 handling and connection new/remove handling so it can be used from
3130 both the GFileMonitor callback and the NMIfcfgConnection changed
3133 * system-settings/plugins/ifcfg-fedora/reader.c
3134 system-settings/plugins/ifcfg-fedora/reader.h
3135 - (connection_from_file): return the keyfile path the connection would use
3137 2008-05-13 Tambet Ingo <tambet@gmail.com>
3139 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3140 single PolKitContext which is shared by all. PolKitContext::unref leaks
3141 just about everything, including all open file descriptiors and results
3142 in 99% cpu usage when data arrives to any of the fds that don't belong
3143 to any context anymore.
3145 2008-05-12 Dan Williams <dcbw@redhat.com>
3147 * gfilemonitor/glocaldirectorymonitor.c
3148 gfilemonitor/glocaldirectorymonitor.h
3149 - (g_local_directory_monitor_constructor): actually subscribe to the
3151 - (_g_local_directory_monitor_new): ensure that inotify is started up
3153 * gfilemonitor/glocalfilemonitor.c
3154 gfilemonitor/glocalfilemonitor.h
3155 - (g_local_file_monitor_constructor): actually subscribe to the watch
3156 - (_g_local_file_monitor_new): ensure that inotify is started up
3158 2008-05-11 Dan Williams <dcbw@redhat.com>
3161 - record PolicyKit version
3163 * system-settings/src/nm-polkit-helpers.c
3164 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3165 with PolicyKit <= 0.6
3167 2008-05-11 Dan Williams <dcbw@redhat.com>
3169 Update Fedora system-settings plugin to support latest API and use
3170 GFileMonitor rather than home-rolled inotify code.
3172 * system-settings/plugins/ifcfg-fedora/Makefile.am
3173 system-settings/plugins/ifcfg-fedora/common.h
3174 system-settings/plugins/ifcfg-fedora/plugin.c
3175 - Update to latest system settings plugin API; use GIO instead of
3176 custom inotify code; use NMIfcfgConnection objects instead of
3177 ConnectionData structures tacked onto NMConnection objects
3179 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3180 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3181 - Implement an NMExportedConnection subclass mapping ifcfg files to
3184 * system-settings/plugins/ifcfg-fedora/reader.c
3185 system-settings/plugins/ifcfg-fedora/reader.h
3186 - Move ifcfg parsing bits here from parser.c
3188 * system-settings/plugins/ifcfg-fedora/parser.c
3189 system-settings/plugins/ifcfg-fedora/parser.h
3190 - Remove; most code moved to reader.c
3192 2008-05-11 Dan Williams <dcbw@redhat.com>
3197 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3198 implementation, so that the same change monitoring code can be used
3199 on systems without glib-2.14 (like Fedora 8)
3201 * system-settings/plugins/keyfile/Makefile.am
3202 system-settings/plugins/keyfile/plugin.c
3203 system-settings/plugins/ifcfg-suse/Makefile.am
3204 system-settings/plugins/ifcfg-suse/plugin.c
3205 - Use private gfilemonitor code if GIO is not present
3207 2008-05-09 Tambet Ingo <tambet@gmail.com>
3209 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3210 NMExportedConnection's 'update' and 'delete' and return error with
3211 descriptive message.
3213 2008-05-08 Dan Williams <dcbw@redhat.com>
3215 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3217 * src/nm-gsm-device.c
3218 src/nm-cdma-device.c
3219 - (real_get_best_auto_connection): implement; allow autoconnection
3220 to GSM & CDMA devices
3222 2008-05-08 Tambet Ingo <tambet@gmail.com>
3224 Use PolicyKit to authorize the system settings' AddConnection method
3225 and the system settings connections' Update and Delete methods.
3227 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3228 (impl_exported_connection_delete, nm_exported_connection_update)
3229 (nm_exported_connection_delete): Return boolean and fill GError
3230 to notify the callers of the reasons why it might have failed.
3232 * libnm-glib/nm-dbus-settings-system.c
3233 (nm_dbus_settings_system_add_connection): Return the error from dbus
3234 call so that the callers can see why it failed.
3236 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3239 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3241 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3242 abstract base class that checks PolicyKit permissions.
3244 * system-settings/src/dbus-settings.c:
3245 (impl_settings_add_connection): Check the policy before carring out
3248 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3249 Inherit from NMSysconfigConnection, check the policies before
3250 allowing updating or removing.
3252 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3253 Inherit from NMSysconfigConnection.
3255 * introspection/nm-exported-connection.xml: Annotate "Update" and
3256 "Delete" methods with async flag so that the implementations can get
3257 access to DBusGMethodInvocation.
3259 * system-settings/src/dbus-settings.c
3260 (settings_add_connection_check_privileges): Implement.
3261 (impl_settings_add_connection): Check the privileges before adding a new
3262 connection. Improve error reporting.
3264 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3265 async so that the implementation can access DBusGMethodInvocation.
3267 * configure.in: Check for PolicyKit.
3269 * policy/org.freedesktop.network-manager-settings.system.policy:
3272 * policy/Makefile.am: Install the policy file.
3274 * configure.in: Add 'policy' subdir.
3276 2008-05-08 Tambet Ingo <tambet@gmail.com>
3278 Rewrite the suse system settings plugin.
3280 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3282 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3284 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3286 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3288 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3290 * system-settings/src/main.c (load_plugins): Improve error reporting.
3292 * system-settings/src/sha1.[ch] Add.
3294 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3296 2008-05-07 Dan Williams <dcbw@redhat.com>
3298 * system-settings/plugins/keyfile/reader.c
3299 - (read_one_setting_value): handle IP address items separately
3300 - (read_array_of_uint): read IPv4 DNS option as a string array
3301 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3304 * system-settings/plugins/keyfile/writer.c
3305 - (write_setting_value): handle IP address items separately
3306 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3307 not an array of uint, so that it's user-editable
3308 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3309 arrays, so they are user-editable
3311 2008-05-07 Dan Williams <dcbw@redhat.com>
3313 * system-settings/plugins/keyfile/Makefile.am
3314 - Change location of the keyfile plugin settings to
3315 /etc/NetworkManager/system-connections
3317 2008-05-05 Tambet Ingo <tambet@gmail.com>
3319 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3321 * system-settings/plugins/keyfile/plugin.c: Work with
3322 NMKeyfileConnections.
3324 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3325 Plugins are supposed to return NMExportedConnections now and handle the
3326 updated(), removed(), and GetSecrets().
3327 Store the internal list of connections in hash table to make it easier
3330 2008-05-07 Tambet Ingo <tambet@gmail.com>
3332 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3333 for multiple IP addresses.
3335 2008-05-07 Tambet Ingo <tambet@gmail.com>
3337 Patch from André Lemos.
3339 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3342 2008-05-06 Dan Williams <dcbw@redhat.com>
3344 * src/dhcp-manager/nm-dhcp-manager.c
3345 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3346 NMIP4Config to support multiple IP addresses
3348 * src/NetworkManagerUtils.c
3349 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3351 * src/nm-ip4-config.c
3353 - Store a list of IPv4 address/netmask/gateway tuples
3354 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3355 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3356 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3357 nm_ip4_config_set_address): remove
3358 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3359 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3360 new functions; handle multiple IPv4 addresses
3363 src/ppp-manager/nm-ppp-manager.c
3364 src/vpn-manager/nm-vpn-connection.c
3365 src/NetworkManagerPolicy.c
3367 libnm-glib/libnm-glib-test.c
3368 - update for changes to NMIP4Config for multiple IPv4 addresses
3370 * src/NetworkManagerSystem.c
3371 - (nm_system_device_set_ip4_route): don't add the route if any address
3372 is on the same subnet as the destination
3373 - (check_one_address): ignore the exact match, just match family and
3375 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3377 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3378 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3380 * introspection/nm-ip4-config.xml
3381 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3382 - Add 'addresses' property which is an array of (uuu) tuples of
3383 address/netmask/gateway
3385 * libnm-util/nm-setting-ip4-config.c
3386 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3388 * libnm-glib/nm-ip4-config.c
3389 libnm-glib/nm-ip4-config.h
3390 - Handle D-Bus interface changes to support multiple IP addresses
3392 2008-05-06 Dan Williams <dcbw@redhat.com>
3394 * libnm-util/nm-utils.c
3395 libnm-util/nm-utils.h
3396 - (nm_utils_ip4_addresses_from_gvalue,
3397 nm_utils_ip4_addresses_to_gvalue): new functions
3399 2008-05-06 Tambet Ingo <tambet@gmail.com>
3401 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3402 the returned connection paths.
3404 2008-05-05 Tambet Ingo <tambet@gmail.com>
3406 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3407 "PropertiesChanged" signal signature.
3409 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3410 defined in nm-dbus-glib-types.h.
3411 Don't register the connection on dbus, we're a proxy class to
3412 communicate with an already registered connection over dbus.
3414 2008-04-30 Tambet Ingo <tambet@gmail.com>
3416 Implement new subclasses of NMSettings and NMExportedConnection to make
3417 it easier for the applet to access and modify system settings.
3419 * libnm-glib/nm-dbus-connection.[ch]:
3420 * libnm-glib/nm-dbus-settings.[ch]:
3421 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3423 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3426 * include/NetworkManager.h: Define the system settings DBus interface.
3428 2008-04-30 Tambet Ingo <tambet@gmail.com>
3430 Implement additional C API for exported connections to make them identical
3431 with the DBus API. Change the (list_connections) virtual function to be
3432 more usable from C - instead of requiring implementers to return a GPtrArray
3433 of dbus paths, return a list of connections.
3435 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3436 (nm_settings_list_connections):
3437 (nm_exported_connection_new):
3438 (nm_exported_connection_update):
3439 (nm_exported_connection_delete): Implement.
3441 (impl_settings_list_connections):
3442 (impl_exported_connection_update):
3443 (impl_exported_connection_delete): Use the new public functions to make
3444 sure the C and dbus interfaces stay in sync.
3446 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3449 2008-05-02 Dan Williams <dcbw@redhat.com>
3451 * system-settings/plugins/ifcfg-fedora/plugin.c
3452 - (dispose): use right unref call on the DBusGConnection
3454 2008-05-02 Dan Williams <dcbw@redhat.com>
3456 * src/nm-serial-device.c
3457 - (find_terminator): don't compare the whole line, just the size of the
3458 terminator, since some modems put stuff after the terminator, like
3461 2008-05-01 Dan Williams <dcbw@redhat.com>
3463 Patch from Michael Biebl <biebl@debian.org>
3465 * callouts/Makefile.am
3466 callouts/org.freedesktop.nm_dispatcher.service.in
3467 system-settings/src/Makefile.am
3468 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3469 - use the right install location for dbus-activated stuff
3471 2008-04-30 Dan Williams <dcbw@redhat.com>
3473 * src/nm-gsm-device.c
3474 - (enter_pin): fix setting name passed to applets when asking for a GSM
3477 2008-04-30 Dan Williams <dcbw@redhat.com>
3480 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3482 2008-04-30 Dan Williams <dcbw@redhat.com>
3484 * src/nm-device-802-3-ethernet.c
3485 src/nm-device-802-11-wireless.c
3486 - (real_is_up): return true instead of chaining up to unimplemented
3489 2008-04-30 Dan Williams <dcbw@redhat.com>
3491 * src/NetworkManagerSystem.c
3492 src/NetworkManagerSystem.h
3493 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3494 functions to check device flags for IFF_UP
3496 * src/nm-serial-device.c
3497 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3500 * src/nm-device-802-3-ethernet.c
3501 src/nm-device-802-11-wireless.c
3502 - (real_hw_is_up): call nm_system_device_is_up()
3505 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3506 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3509 2008-04-29 Dan Williams <dcbw@redhat.com>
3511 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3513 * marshallers/nm-marshal.list
3516 * src/NetworkManager.c
3517 - (main): let the NMManager handle the NMHalManager
3519 * src/nm-hal-manager.c
3520 src/nm-hal-manager.h
3521 - convert to a GObject, and emit singals when stuff changes. Let the
3522 NMManager handle the signals, instead of the NMHalManager calling
3527 - (remove_one_device): consolidate device removals here
3528 - (dispose): use remove_one_device()
3529 - (nm_manager_get_device_by_udi): make static
3530 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3531 manager for devices at startup or wakeup time
3532 - (nm_manager_new): create and monitor the HAL manager
3533 - (hal_manager_udi_added_cb): new function; do what
3534 nm_manager_add_device() used to do when signalled by the hal manager
3535 - (hal_manager_udi_removed_cb): new function; do what
3536 nm_manager_remove_device() used to do when signalled by the hal
3538 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3540 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3541 in our device list that aren't known to HAL
3542 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3543 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3545 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3546 nm_manager_activation_pending, nm_manager_wireless_enabled,
3547 nm_manager_wireless_hardware_enabled,
3548 nm_manager_set_wireless_hardware_enabled): remove, unused
3550 2008-04-28 Dan Williams <dcbw@redhat.com>
3552 Fix the device up/down ambiguities. Up/down state used to be a
3553 conglomeration of hardware state (IFF_UP) and any device-specific things
3554 (supplicant, periodic timers, etc) that the device used to indicate
3555 readiness. Unfortunately, if the hardware was already IFF_UP for some
3556 reason, then the device specific stuff wouldn't get run, and the device
3561 - Create hw_is_up, hw_bring_up, and hw_take_down
3562 - Rename bring_down -> take_down
3563 - (real_hw_is_up): check interface flags for IFF_UP
3564 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3565 - (nm_device_is_up): make static; only used locally
3566 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3567 if the device is already up; if the device isn't up, bring it up
3568 - (nm_device_hw_take_down): just take down hardware
3569 - (nm_device_bring_up): bring up HW first, then device specific stuff
3570 - (nm_device_take_down): always deactivate device when called; always
3571 try to take hardware down too
3572 - (nm_device_state_changed): take device down when entering unmanaged
3573 state from a higher state
3575 * src/nm-device-802-11-wireless.c
3576 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3578 - (real_take_down, supplicant_iface_state_cb_handler,
3579 supplicant_iface_connection_state_cb_handler,
3580 supplicant_mgr_state_cb_handler): fix some messages
3582 * src/nm-device-802-3-ethernet.c
3583 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3586 2008-04-28 Dan Williams <dcbw@redhat.com>
3590 - (nm_manager_error_get_type): add new error
3591 - (nm_manager_remove_device): don't bother taking down the device here,
3592 the state change from unmanaging the device will do it
3593 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3594 uses it; when going to sleep, just unmanage the device instead of
3595 taking it down, because stuff will cleaned up correctly when the
3596 device gets unmanaged
3598 2008-04-28 Dan Williams <dcbw@redhat.com>
3600 * src/nm-hal-manager.c
3601 - (add_initial_devices): convert to a GSourceFunc prototype
3602 - (nm_manager_state_changed): when coming out of sleep, punt the
3603 device re-addition to an idle handler to let D-Bus events go out
3604 first, fixing a potential dbus-glib assert if the old device was
3605 not yet disposed (due to references held while emitting the D-Bus
3606 signals) but the new device was found, because the mainloop didn't
3607 run between signal emission and add_initial_devices()
3609 2008-04-27 Dan Williams <dcbw@redhat.com>
3611 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3613 * initscript/paldo/NetworkManager.in
3614 initscript/SUSE/networkmanager.in
3615 - Remove last bits of dhcdbd
3617 2008-04-27 Dan Williams <dcbw@redhat.com>
3619 * src/nm-device-802-11-wireless.c
3620 - (link_timeout_cb): don't ask for secrets when disconnected during
3621 association/authentication phase, drivers are still just too crappy
3623 2008-04-27 Dan Williams <dcbw@redhat.com>
3627 dispatcher-daemon/Makefile.am
3628 dispatcher-daemon/NetworkManagerDispatcher.c
3629 initscript/Arch/Makefile.am
3630 initscript/Arch/networkmanager-dispatcher.in
3631 initscript/Gentoo/Makefile.am
3632 initscript/Gentoo/NetworkManagerDispatcher.in
3633 initscript/Mandriva/Makefile.am
3634 initscript/Mandriva/networkmanagerdispatcher.in
3635 initscript/RedHat/Makefile.am
3636 initscript/RedHat/NetworkManagerDispatcher.in
3637 initscript/SUSE/Makefile.am
3638 initscript/SUSE/networkmanager-dispatcher.in
3639 initscript/Slackware/Makefile.am
3640 initscript/Slackware/rc.networkmanager-dispatcher.in
3641 initscript/paldo/Makefile.am
3642 initscript/paldo/NetworkManagerDispatcher.in
3644 man/NetworkManagerDispatcher.8.in
3645 - Remove the dispatcher daemon
3647 2008-04-27 Dan Williams <dcbw@redhat.com>
3649 * callouts/Makefile.am
3650 callouts/nm-dispatcher-action.c
3651 callouts/nm-dispatcher-action.h
3652 callouts/nm-dispatcher.conf
3653 callouts/nm-dispatcher.xml
3654 callouts/org.freedesktop.nm_dispatcher.service
3655 - Re-implement the dispatcher as a system-bus activated service that
3656 NM calls on-demand, rather than an always running daemon
3659 - Add callouts dir to includes to pick up dispatcher defines
3662 - (nm_device_state_changed): call dispatcher on device activated/
3665 * src/vpn-manager/nm-vpn-connection.c
3666 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3669 * src/NetworkManagerUtils.c
3670 src/NetworkManagerUtils.h
3671 - (nm_utils_call_dispatcher): helper to call dispatcher
3673 2008-04-27 Dan Williams <dcbw@redhat.com>
3675 * src/NetworkManagerUtils.c
3676 src/NetworkManagerUtils.h
3677 - remove unneeded includes
3678 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3679 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3680 nm_timeval_cmp, nm_timeval_add): remove, unused
3681 - clean up formatting
3682 - (nm_spawn_process): de-uglify
3684 * src/nm-device-802-11-wireless.c
3685 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3687 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3689 * initscript/Gentoo/NetworkManager.in:
3690 Fix for starting the daemon.
3692 2008-04-25 Dan Williams <dcbw@redhat.com>
3694 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3696 * src/NetworkManagerSystem.c
3697 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3699 2008-04-25 Dan Williams <dcbw@redhat.com>
3701 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3703 * src/NetworkManagerSystem.c
3704 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3705 implementation of nm_system_device_replace_default_route()
3707 * src/NetworkManagerPolicy.c
3708 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3710 * src/backends/NetworkManagerArch.c
3711 src/backends/NetworkManagerDebian.c
3712 src/backends/NetworkManagerFrugalware.c
3713 src/backends/NetworkManagerGeneric.c
3714 src/backends/NetworkManagerGeneric.h
3715 src/backends/NetworkManagerGentoo.c
3716 src/backends/NetworkManagerMandriva.c
3717 src/backends/NetworkManagerPaldo.c
3718 src/backends/NetworkManagerRedHat.c
3719 src/backends/NetworkManagerSlackware.c
3720 src/backends/NetworkManagerSuSE.c
3721 - (nm_system_device_replace_default_route): remove
3723 2008-04-25 Dan Williams <dcbw@redhat.com>
3725 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3727 * src/NetworkManagerSystem.c
3728 - (validate_ip4_route): remove; use nl_addr_parse() instead
3729 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3730 replace nm_system_device_add_route_via_device_with_iface() in the
3733 * src/backends/NetworkManagerArch.c
3734 src/backends/NetworkManagerDebian.c
3735 src/backends/NetworkManagerFrugalware.c
3736 src/backends/NetworkManagerGeneric.c
3737 src/backends/NetworkManagerGeneric.h
3738 src/backends/NetworkManagerGentoo.c
3739 src/backends/NetworkManagerMandriva.c
3740 src/backends/NetworkManagerPaldo.c
3741 src/backends/NetworkManagerRedHat.c
3742 src/backends/NetworkManagerSlackware.c
3743 src/backends/NetworkManagerSuSE.c
3744 - Remove nm_system_device_add_route_via_device_with_iface()
3746 2008-04-25 Dan Williams <dcbw@redhat.com>
3748 * system-settings/plugins/ifcfg-fedora/parser.c
3749 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3751 2008-04-24 Dan Williams <dcbw@redhat.com>
3753 * dispatcher-daemon/NetworkManagerDispatcher.c
3754 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3756 2008-04-24 Dan Williams <dcbw@redhat.com>
3758 * initscript/RedHat/NetworkManager.in
3759 initscript/RedHat/NetworkManagerDispatcher.in
3760 - Be active at runlevel 2
3761 - Adjust priorities earlier
3763 2008-04-22 Dan Williams <dcbw@redhat.com>
3765 * src/NetworkManagerPolicy.c
3766 - (update_routing_and_dns): when checking for a gateway, look at the
3767 composite IP4 config, not the connection's ip4-config setting, which
3768 doesn't include DHCP-returned information
3770 2008-04-22 Tambet Ingo <tambet@gmail.com>
3772 Implement GKeyFile system settings plugin.
3773 Implement writing system settings (currently supported only by GKeyFile plugin).
3775 * system-settings/src/main.c:
3776 * system-settings/src/dbus-settings.c: Move the communication with plugins
3777 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3778 plugins for adding/updating/removing connections.
3780 * system-settings/src/nm-system-config-interface.c
3781 (nm_system_config_interface_add_connection): Implement
3782 (nm_system_config_interface_update_connection): Implement.
3783 (nm_system_config_interface_remove_connection): Implement.
3785 * system-settings/plugins/keyfile/Makefile.am:
3786 * system-settings/plugins/keyfile/plugin.[ch]:
3787 * system-settings/plugins/keyfile/writer.[ch]:
3788 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3790 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3792 * configure.in: Generate GKeyFile Makefile.
3794 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3795 corruption, need to duplicate the returned string.
3796 (impl_exported_connection_update): Implement.
3797 (impl_exported_connection_delete): Implement.
3799 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3801 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3803 2008-04-22 Dan Williams <dcbw@redhat.com>
3805 Patch from Charles R. Anderson (cra@wpi.edu)
3807 * src/NetworkManagerPolicy.c
3808 - (update_routing_and_dns): don't select devices without a gateway
3809 as having the default route (rh #437338)
3811 2008-04-21 Dan Williams <dcbw@redhat.com>
3813 * src/nm-activation-request.c
3814 src/nm-activation-request.h
3815 - (dispose): ensure to disconnect from the device's state-changed signal
3816 when appropriate so the signal doesn't get handled by an already
3817 disposed NMActRequest
3818 - (device_state_changed): update is_default here too just to make sure
3819 default is only True when the child device is activated
3820 - (nm_act_request_set_default): new function
3822 * src/NetworkManagerPolicy.c
3823 - (update_routing_and_dns): set 'default' on the active connection which
3824 has the default route and DNS
3826 2008-04-21 Dan Williams <dcbw@redhat.com>
3828 * src/NetworkManagerPolicy.c
3829 - (device_state_changed): update routing and DNS when a device goes
3830 into unmanaged or unavailable states too (like rfkill or carrier loss)
3832 2008-04-21 Dan Williams <dcbw@redhat.com>
3834 * include/NetworkManager.h
3835 - Add NMActiveConnectionState enum
3837 * introspection/nm-active-connection.xml
3838 introspection/nm-vpn-connection.xml
3839 - Add 'State' property for overall active connection state
3840 - Add 'Default' property, when True means this active connection
3841 has the default route
3842 - Add PropertyChanged signals so changes actually go out over the bus
3844 * src/nm-active-connection.h
3845 - Add defines for State & Default properties
3847 * src/nm-activation-request.c
3848 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3849 signal to determine active connection state
3851 * src/vpn-manager/nm-vpn-connection.c
3852 src/vpn-manager/nm-vpn-connection.h
3853 src/vpn-manager/nm-vpn-manager.c
3854 src/vpn-manager/nm-vpn-service.c
3855 - Rename old 'state' to 'vpn-state'
3856 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3857 - Add 'state' and 'default' properties, hook up to the vpn connection's
3858 'vpn-state-changed' signal
3860 * libnm-glib/nm-active-connection.c
3861 libnm-glib/nm-active-connection.h
3862 - Add new 'state' and 'default' properties and accessors
3864 * libnm-glib/nm-vpn-connection.c
3865 libnm-glib/nm-vpn-connection.h
3866 - Rename old 'state' property to 'vpn-state'
3867 - Add new 'state' and 'default' properties and accessors
3869 2008-04-21 Dan Williams <dcbw@redhat.com>
3871 * src/nm-ip4-config.c
3872 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3873 not specified (rh #443474)
3875 2008-04-20 Dan Williams <dcbw@redhat.com>
3877 * src/NetworkManagerUtils.c
3878 src/NetworkManagerUtils.h
3879 - (nm_utils_merge_ip4_config): new function; merge settings from an
3880 NMSettingIP4Config to an NMIP4Config object
3883 - (merge_ip4_config): move to NetworkManagerUtils.c
3885 * src/vpn-manager/nm-vpn-connection.c
3886 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3889 2008-04-18 Dan Williams <dcbw@redhat.com>
3891 * libnm-util/nm-setting-ppp.c
3892 libnm-util/nm-setting-ppp.h
3893 - Add 'no-vj-comp' option for TCP header compression
3894 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3897 2008-04-18 Dan Williams <dcbw@redhat.com>
3899 * libnm-util/nm-setting-ppp.c
3900 libnm-util/nm-setting-ppp.h
3901 src/ppp-manager/nm-ppp-manager.c
3902 - Add 'refuse-pap' and 'refuse-mschapv2' options
3904 2008-04-18 Dan Williams <dcbw@redhat.com>
3906 * libnm-util/nm-setting-ppp.c
3907 libnm-util/nm-setting-ppp.h
3908 src/ppp-manager/nm-ppp-manager.c
3909 - Remove the 'usepeerdns' option and always request DNS servers from
3910 the PPP server; the connection chooses to use/override/ignore the
3911 DNS servers returned from the PPP server
3913 2008-04-18 Dan Williams <dcbw@redhat.com>
3915 * libnm-util/nm-setting-ppp.c
3916 libnm-util/nm-setting-ppp.h
3917 src/ppp-manager/nm-ppp-manager.c
3918 - Remove the 'require-mppc' option, because pppd doesn't support it and
3919 it seems to have been an erroneous addition to the PPTP plugin in
3920 the first place (from which the ppp-manager is derived)
3922 2008-04-17 Dan Williams <dcbw@redhat.com>
3924 * libnm-util/nm-setting-pppoe.c
3925 - (verify): require a PPP setting too
3927 * src/ppp-manager/nm-ppp-manager.c
3928 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3931 2008-04-17 Dan Williams <dcbw@redhat.com>
3934 - (nm_device_state_changed): do deactivation and and promotion to
3935 unavailable here, so that the device gets cleaned up before the
3936 manager runs and starts emitting signals; do the
3937 FAILED->DISCONNECTED transition from an idle handler rather than
3938 immediately to guard against recursion
3939 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3940 FAILED->DISCONNECTED handler if it's scheduled
3942 2008-04-17 Dan Williams <dcbw@redhat.com>
3944 * src/nm-device-802-11-wireless.c
3945 - (state_changed_cb): clear AP list when device transitions to
3946 unavailable or unmanaged
3947 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3948 since this is already done in device_cleanup()
3949 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3950 isn't available or managed
3951 - (device_cleanup): use remove_all_aps()
3952 - (remove_all_aps): consolidate code removing all APs
3954 2008-04-17 Dan Williams <dcbw@redhat.com>
3956 * src/nm-serial-device.c
3957 src/nm-serial-device.h
3958 - (wait_for_reply_got_data): break input into lines, and search each
3959 line for responses _and_ terminator strings; also make sure that
3960 the read loop doesn't continue after the timeout is supposed to fire
3961 - (nm_serial_device_wait_for_reply): take an array of terminators too
3963 * src/nm-gsm-device.c
3964 src/nm-cdma-device.c
3965 - Send terminators to nm_serial_device_wait_for_reply()
3967 2008-04-16 Dan Williams <dcbw@redhat.com>
3969 Patch from 陈鑫 <znscnchen@gmail.com>
3971 * src/ppp-manager/nm-pppd-plugin.c
3972 - (get_credentials): return correct value for success; handle case where
3973 pppd just does some checking but doesn't want a password
3974 - (plugin_init): make CHAP work too
3976 2008-04-16 Dan Williams <dcbw@redhat.com>
3978 Patch from 陈鑫 <znscnchen@gmail.com>
3980 * src/ppp-manager/nm-ppp-manager.c
3981 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3983 2008-04-16 Dan Williams <dcbw@redhat.com>
3985 Patch from 陈鑫 <znscnchen@gmail.com>
3987 * src/nm-device-802-3-ethernet.c
3988 - (real_deactivate_quickly): clear the IP interface name on
3989 deactivation, otherwise the wrong interface might get used later
3990 for routing and IP management
3992 2008-04-15 Dan Williams <dcbw@redhat.com>
3994 * libnm-glib/nm-device.c
3995 - (get_product_and_vendor): handle serial devices correctly
3996 - (nm_device_update_description): pass device to get_product_and_vendor()
3998 2008-04-15 Dan Williams <dcbw@redhat.com>
4000 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4002 * src/NetworkManagerSystem.h
4003 src/backends/NetworkManagerArch.c
4004 src/backends/NetworkManagerDebian.c
4005 src/backends/NetworkManagerFrugalware.c
4006 src/backends/NetworkManagerGeneric.c
4007 src/backends/NetworkManagerGeneric.h
4008 src/backends/NetworkManagerGentoo.c
4009 src/backends/NetworkManagerMandriva.c
4010 src/backends/NetworkManagerPaldo.c
4011 src/backends/NetworkManagerRedHat.c
4012 src/backends/NetworkManagerSlackware.c
4013 src/backends/NetworkManagerSuSE.c
4015 - (nm_generic_device_add_ip6_link_address,
4016 nm_system_device_add_ip6_link_address): remove
4018 2008-04-15 Dan Williams <dcbw@redhat.com>
4020 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
4022 * src/backends/NetworkManagerArch.c
4023 src/backends/NetworkManagerDebian.c
4024 src/backends/NetworkManagerFrugalware.c
4025 src/backends/NetworkManagerGeneric.c
4026 src/backends/NetworkManagerGeneric.h
4027 src/backends/NetworkManagerGentoo.c
4028 src/backends/NetworkManagerMandriva.c
4029 src/backends/NetworkManagerPaldo.c
4030 src/backends/NetworkManagerRedHat.c
4031 src/backends/NetworkManagerSlackware.c
4032 src/backends/NetworkManagerSuSE.c
4033 src/NetworkManagerSystem.h
4034 - flush_routes -> flush_ip4_routes
4035 - flush_addresses -> flush_ip4_addresses
4037 * src/NetworkManagerSystem.c
4039 src/vpn-manager/nm-vpn-connection.c
4040 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
4042 2008-04-15 Dan Williams <dcbw@redhat.com>
4044 Remove exposure of wireless-tools mode types in the API.
4046 * include/NetworkManager.h
4047 - Define NM80211Mode enum
4049 * introspection/generic-types.xml
4050 - Describe NM_802_11_MODE enum
4051 - Remove IW_MODE_* enum
4053 * introspection/nm-access-point.xml
4054 libnm-glib/nm-access-point.c
4055 libnm-glib/nm-access-point.h
4056 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4058 * introspection/nm-device-802-11-wireless.xml
4059 libnm-glib/nm-device-802-11-wireless.c
4060 libnm-glib/nm-device-802-11-wireless.h
4061 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4063 * libnm-util/nm-setting-wireless.c
4064 src/NetworkManagerAP.c
4065 src/NetworkManagerAP.h
4066 src/nm-device-802-11-wireless.c
4067 src/nm-device-802-11-wireless.h
4069 - Use NM80211Mode not IW_MODE_*
4071 2008-04-15 Dan Williams <dcbw@redhat.com>
4073 Enhance nm-online based on a patch from Bill Nottingham.
4077 - Add help messages and option summary
4078 - Add long-format options
4079 - Add a '-x' option to exit if NM isn't running or isn't connecting
4081 2008-04-15 Tambet Ingo <tambet@gmail.com>
4083 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4085 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4087 2008-04-15 Dan Williams <dcbw@redhat.com>
4089 * nm-setting-ip4-config.c
4090 - (ip4_addresses_from_gvalue): handle NULL address array
4092 * nm-setting-8021x.c
4093 - (verify_tls, verify_ttls): warn on failed verification
4095 2008-04-10 Dan Williams <dcbw@redhat.com>
4097 * src/nm-gsm-device.c
4098 - (automatic_registration): accept "+CREG: 0,0"
4099 - (automatic_registration_response): fail on "+CREG: 0,0"
4101 2008-04-10 Tambet Ingo <tambet@gmail.com>
4103 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4105 2008-04-10 Tambet Ingo <tambet@gmail.com>
4107 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4108 Make it compile again by commenting out broken code that at first didn't work and
4109 now didn't compile either.
4111 2008-04-08 Dan Williams <dcbw@redhat.com>
4113 * libnm-glib/nm-object-cache.c
4114 libnm-glib/nm-settings.c
4115 src/dhcp-manager/nm-dhcp-manager.c
4116 system-settings/plugins/ifcfg-fedora/plugin.c
4117 system-settings/plugins/ifcfg-suse/plugin.c
4118 system-settings/src/nm-system-config-hal-manager.c
4119 libnm-util/nm-utils.c
4120 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4121 not threadsafe anyway
4123 2008-04-08 Dan Williams <dcbw@redhat.com>
4125 * system-settings/src/main.c
4126 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4127 callbacks take a device type too
4129 2008-04-08 Dan Williams <dcbw@redhat.com>
4131 The system settings service will now create a new default DHCP connection
4132 for wired devices that have no existing applicable connection.
4134 * system-settings/src/nm-system-config-hal-manager.c
4135 system-settings/src/nm-system-config-hal-manager.h
4136 - (nm_system_config_hal_manager_get_type_for_udi): new function
4138 * system-settings/src/dbus-settings.c
4139 system-settings/src/dbus-settings.h
4140 - (nm_sysconfig_settings_get_connections): new function
4141 - (nm_sysconfig_settings_is_device_managed): new function
4143 * system-settings/src/main.c
4144 - (load_stuff): check for wired devices that need a default connection
4145 - (get_details_for_udi): get interface and MAC address from HAL
4146 - (add_default_dhcp_connection): add a default connection for a wired
4148 - (device_added_cb, device_removed_cb): do the right thing with
4149 wired devices and their default connections on HAL device events
4151 2008-04-07 Dan Williams <dcbw@redhat.com>
4153 * libnm-glib/nm-device.c
4154 libnm-glib/nm-device.h
4155 - Proxy the 'managed' property
4157 2008-04-07 Dan Williams <dcbw@redhat.com>
4159 * src/nm-gsm-device.c
4160 src/nm-cdma-device.c
4161 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4162 handler to transition to DISCONNECTED
4164 2008-04-07 Dan Williams <dcbw@redhat.com>
4166 Patch from Bill Nottingham
4168 * dispatcher-daemon/NetworkManagerDispatcher.c
4169 - ignore backup/packaging crufy (rh #440143)
4171 2008-04-07 Dan Williams <dcbw@redhat.com>
4173 * include/NetworkManager.h
4174 - Remove the DOWN and CANCELLED device states
4175 - Add UNMANAGED and UNAVAILABLE device states
4176 - Document the device states
4178 * introspection/nm-device.xml
4179 src/nm-device-interface.c
4180 src/nm-device-interface.h
4181 - Add the 'managed' property
4184 - (detail_device): print out device state
4186 * src/NetworkManagerSystem.h
4187 src/backends/NetworkManagerArch.c
4188 src/backends/NetworkManagerDebian.c
4189 src/backends/NetworkManagerFrugalware.c
4190 src/backends/NetworkManagerGentoo.c
4191 src/backends/NetworkManagerMandriva.c
4192 src/backends/NetworkManagerPaldo.c
4193 src/backends/NetworkManagerRedHat.c
4194 src/backends/NetworkManagerSlackware.c
4195 src/backends/NetworkManagerSuSE.c
4196 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4197 nm_system_device_free_system_config): remove; they were unused and
4198 their functionality should be re-implemented in each distro's
4199 system settings service plugin
4201 * src/nm-gsm-device.c
4203 src/nm-cdma-device.c
4204 src/nm-cdma-device.h
4205 - (*_new): take the 'managed' argument
4208 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4209 - (nm_device_init): start in unmanaged state, not disconnected
4210 - (constructor): don't start device until the system settings service
4211 has had a chance to figure out if the device is managed or not
4212 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4213 don't set device state here, let callers handle that as appropriate
4214 - (nm_device_dispose): don't touch the device if it's not managed
4215 - (set_property, get_property, nm_device_class_init): implement the
4217 - (nm_device_state_changed): bring the device up if its now managed,
4218 and deactivate it if it used to be active
4219 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4220 with the managed state
4222 * src/nm-hal-manager.c
4223 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4224 take initial managed state and pass it along to device constructors
4225 - (create_device_and_add_to_list): get managed state and pass to
4228 * src/nm-device-802-11-wireless.c
4229 - (real_can_activate): fold in most of
4230 nm_device_802_11_wireless_can_activate()
4231 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4232 - (link_timeout_cb): instead of deactivating, change device state and
4233 let the device state handler to it
4234 - (real_update_hw_address): clean up
4235 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4236 handler to transition to DISCONNECTED if the device isn't rfkilled
4238 * src/nm-device-802-3-ethernet.c
4239 - (set_carrier): move above callers and get rid of prototype
4240 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4241 idle handler to transition to DISCONNECTED if the device has a
4243 - (real_update_hw_address): clean up
4244 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4245 deactivation directly as deactivation doesn't change state anymore
4247 * src/NetworkManagerPolicy.c
4248 - (schedule_activate_check): yay, remove wireless_enabled hack since
4249 the NMManager and wireless devices work that out themselves now
4250 - (device_state_changed): change to a switch and update for new device
4252 - (device_carrier_changed): remove; device handles this now through
4254 - (device_added): don't care about carrier any more; the initial
4255 activation check will happen when the device transitions to
4259 - (dispose): clear unmanaged devices
4260 - (handle_unmanaged_devices): update unmanaged device list and toggle
4261 the managed property on each device when needed
4262 - (system_settings_properties_changed_cb): handle signals from the
4263 system settings service
4264 - (system_settings_get_unmanaged_devices_cb): handle callback from
4265 getting the unmanaged device list method call
4266 - (query_unmanaged_devices): ask the system settings service for its
4267 list of unmanaged devices
4268 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4270 - (manager_set_wireless_enabled): push rfkill state down to wireless
4271 devices directly and let them handle the necessary state transitions
4272 - (manager_device_state_changed): update for new device states
4273 - (nm_manager_add_device): set initial rfkill state on wireless devices
4274 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4275 - (nm_manager_activate_connection): return error if the device is
4277 - (nm_manager_sleep): handle new device states correctly; don't change
4278 the state of unavailable/unmanaged devices
4280 * libnm-glib/nm-device-802-11-wireless.c
4281 - (state_changed_cb): update for new device states
4283 2008-04-07 Dan Williams <dcbw@redhat.com>
4285 * marshallers/nm-marshal.list
4286 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4288 2008-04-07 Dan Williams <dcbw@redhat.com>
4290 * system-settings/src/main.c
4291 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4292 plugins to the dbus settings object
4293 - (load_stuff): start the dbus service after grabbing unmanaged devices
4294 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4295 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4296 - (main): switch default logging to syslog with a 'debug' option to
4297 output to console; start up the HAL manager
4299 2008-04-07 Dan Williams <dcbw@redhat.com>
4301 * introspection/nm-settings-system.xml
4302 introspection/Makefile.am
4303 - Define the unmanaged devices interface for the system settings service
4305 * system-settings/src/nm-system-config-hal-manager.c
4306 system-settings/src/nm-system-config-hal-manager.h
4307 system-settings/src/nm-system-config-hal-manager-private.h
4308 system-settings/src/Makefile.am
4309 - Add a lightweight HAL manager object for tracking network devices for
4310 the purpose of determining unmanaged devices and which devices need
4311 the default DHCP connections
4313 * system-settings/src/nm-system-config-interface.c
4314 system-settings/src/nm-system-config-interface.h
4315 - (nm_system_config_interface_init): add the HAL manager as an argument
4316 - (nm_system_config_interface_get_unmanaged_devices): implement
4317 - Define 'unmanaged-devices-changed' signal
4319 * system-settings/src/dbus-settings.c
4320 system-settings/src/dbus-settings.h
4321 - Implement the unmanaged devices interface; some cleanups
4323 * system-settings/plugins/ifcfg-suse/plugin.c
4324 - Fixup for plugin interface changes
4326 * system-settings/plugins/ifcfg-fedora/plugin.c
4327 - (get_ether_device_udi): new function; find the device that has
4328 a specified MAC address and return its UDI
4329 - (get_udi_for_connection): new function; try to find the specific
4330 device a connection is locked to, if any
4331 - (device_added_cb, device_removed_cb): update unmanaged device list in
4332 response to HAL events
4333 - (get_unmanaged_devices): new function; return unmanaged device list
4334 - (build_one_connection): set the connection's locked device, if any
4335 - (write_auto_wired_connection): remove
4336 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4337 - (handle_connection_changed): alert listeners that the unmanaged device
4339 - (init): fixup for plugin interface changes, implement unmanaged devices
4341 * system-settings/plugins/ifcfg-fedora/parser.c
4342 system-settings/plugins/ifcfg-fedora/parser.h
4343 - (connection_data_free): clean up connection UDI
4345 2008-04-07 Dan Williams <dcbw@redhat.com>
4347 * system-settings/plugins/ifcfg-fedora/parser.c
4348 - (make_ip4_setting): fix parsing of DNS servers
4350 2008-04-05 Dan Williams <dcbw@redhat.com>
4354 marshallers/Makefile.am
4355 marshallers/nm-marshal-main.c
4356 marshallers/nm-marshal.list
4357 - Consolidate marshallers
4359 * libnm-glib/nm-marshal-main.c
4360 libnm-glib/nm-marshal.list
4361 src/marshallers/Makefile.am
4362 src/marshallers/nm-marshal-main.c
4363 src/marshallers/nm-marshal.list
4366 * libnm-glib/Makefile.am
4368 src/dhcp-manager/Makefile.am
4369 src/ppp-manager/Makefile.am
4370 src/supplicant-manager/Makefile.am
4371 src/vpn-manager/Makefile.am
4372 - Use consolidated marshallers
4374 2008-04-04 Dan Williams <dcbw@redhat.com>
4376 * src/nm-hal-manager.c
4377 src/nm-hal-manager.h
4378 - (hal_init): don't look for hardware here
4379 - (nm_hal_manager_start): new function; look for hardware here instead,
4380 which can be done at a later time than hal_init()
4382 * src/NetworkManager.c
4383 - (main): start HAL manager after entering the main loop
4385 2008-04-03 Dan Williams <dcbw@redhat.com>
4387 * libnm-glib/nm-settings.c
4388 libnm-glib/nm-settings.h
4389 - (nm_exported_connection_get_id): new function
4390 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4392 2008-04-02 Dan Williams <dcbw@redhat.com>
4394 * src/nm-device-interface.c
4395 src/nm-device-interface.h
4398 - Rename check_connection_conflicts() to check_connection_compatible()
4400 * src/nm-device-802-11-wireless.c
4401 - (real_check_connection_conflicts): remove
4402 - (real_check_connection_compatible): implement; match MAC address
4404 * src/nm-device-802-3-ethernet.c
4405 - (real_check_connection_conflicts): remove
4406 - (real_check_connection_compatible): implement; match MAC address
4407 - (real_get_best_auto_connection): correctly handle PPPoE cases
4410 - (check_connection_allowed): remove; unused until PolicyKit integration
4411 - (internal_activate_device): check whether the connection is compatible
4412 with the device before trying to activate it
4414 2008-04-02 Dan Williams <dcbw@redhat.com>
4416 * system-settings/plugins/ifcfg-fedora/parser.c
4417 - (read_mac_address): new function; read in MAC address and stuff it
4419 - (add_one_wep_key): remove debug spew
4420 - (make_wireless_security_setting): validate the default TX key; don't
4421 add the wireless-security setting if the connection doesn't need
4422 security; don't leak the keys shvarFile on error cases
4423 - (make_wireless_setting, make_wired_setting): populate device's MAC
4426 2008-04-02 Dan Williams <dcbw@redhat.com>
4428 * libnm-util/nm-setting-connection.c
4429 libnm-util/nm-setting-connection.h
4430 - (set_property, get_property, nm_setting_connection_class_init): remove
4431 the 'lockdown' property; it's functionality will be replaced by
4434 2008-04-01 Dan Williams <dcbw@redhat.com>
4436 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4439 initscript/Makefile.am
4440 initscript/Mandriva/Makefile.am
4441 initscript/Mandriva/networkmanager.in
4442 initscript/Mandriva/networkmanagerdispatcher.in
4443 src/backends/Makefile.am
4444 src/backends/NetworkManagerMandriva.c
4445 system-settings/plugins/Makefile.am
4446 - Add Mandriva support
4448 2008-03-31 Dan Williams <dcbw@redhat.com>
4450 * src/vpn-manager/nm-vpn-service.c
4451 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4452 errors can be passed back to the caller; also no longer scheduled
4453 as an idle handler, but called directly; and bump up VPN service
4454 spawn timeout, 2s is really short
4455 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4456 but call it directly so that errors are reported on return from
4457 ActivateConnection() and don't get lost. If scheduled as an idle
4458 handler, clients don't have the time to query NM for the new VPN
4459 connection's properties before the VPN connection is torn down again
4460 if the service couldn't be launched, and therefore launch errors
4463 2008-03-31 Dan Williams <dcbw@redhat.com>
4465 * src/vpn-manager/nm-vpn-connection.c
4466 - (device_state_changed): send correct state on device failure too
4467 - (plugin_state_changed): failed state means unexpected disconnection,
4468 thus if the service goes away while the VPN connection is activated
4469 that's a failure too
4471 2008-03-31 Dan Williams <dcbw@redhat.com>
4473 * src/vpn-manager/nm-vpn-manager.c
4474 src/vpn-manager/nm-vpn-manager.h
4475 - Make VPNManager errors more available; add a service-start-failed error
4477 2008-03-31 Dan Williams <dcbw@redhat.com>
4479 * libnm-glib/nm-client.c
4480 libnm-glib/nm-client.h
4481 - (activate_cb): pass the new active connection to callback; fix
4482 message when no callback is specified
4484 2008-03-30 Dan Williams <dcbw@redhat.com>
4486 * libnm-util/nm-setting-wireless-security.c
4487 - (need_secrets): only require key0 if the transmit key index is also
4489 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4491 2008-03-29 Dan Williams <dcbw@redhat.com>
4493 * libnm-util/nm-setting-8021x.c
4494 libnm-util/nm-setting-ip4-config.c
4495 libnm-util/nm-setting-vpn-properties.c
4496 libnm-util/nm-setting-vpn.c
4497 libnm-util/nm-setting-wireless-security.c
4498 libnm-util/nm-setting-wireless.c
4499 libnm-util/nm-utils.c
4500 src/dhcp-manager/nm-dhcp-manager.c
4501 src/nm-activation-request.c
4504 src/nm-properties-changed-signal.c
4505 src/ppp-manager/nm-pppd-plugin.c
4506 src/supplicant-manager/nm-supplicant-interface.c
4507 src/vpn-manager/nm-vpn-connection.c
4508 - consistently use nm-dbus-glib-types.h
4510 2008-03-29 Dan Williams <dcbw@redhat.com>
4512 * src/vpn-manager/nm-vpn-connection.c
4513 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4516 * src/nm-activation-request.c
4517 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4520 2008-03-29 Dan Williams <dcbw@redhat.com>
4522 * libnm-glib/nm-device-802-11-wireless.c
4523 - (access_point_added_proxy): create new APs if not found
4525 2008-03-29 Dan Williams <dcbw@redhat.com>
4527 * libnm-glib/nm-client.c
4528 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4531 2008-03-29 Dan Williams <dcbw@redhat.com>
4533 * system-settings/plugins/ifcfg-fedora/parser.c
4534 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4535 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4537 2008-03-29 Dan Williams <dcbw@redhat.com>
4539 * system-settings/plugins/ifcfg-fedora/parser.c
4540 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4542 2008-03-27 Dan Williams <dcbw@redhat.com>
4545 - (nm_object_queue_notify): don't notify multiple times for the same
4548 * nm-object-private.h
4549 - (handle_ptr_array_return): return NULL if the given array is NULL or
4550 if it has zero elements
4553 - (finalize): use g_ptr_array_foreach() when freeing domains
4554 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4556 * nm-active-connection.c
4557 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4559 * nm-device-802-11-wireless.c
4560 nm-device-802-11-wireless.h
4561 - (nm_device_802_11_wireless_get_access_points): return const; use
4562 handle_ptr_array_return()
4565 - (nm_object_array_demarshal): always create an array, even of length
4566 zero, to distinguish between "NM returned no items" and "haven't
4570 - (dispose): free active connections too
4571 - (proxy_name_owner_changed): free active connections too when NM goes
4573 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4574 - (nm_client_get_active_connections): use handle_ptr_array_return()
4576 2008-03-26 Dan Williams <dcbw@redhat.com>
4578 Rework VPN connection handling for a more consistent D-Bus API. The
4579 VPNManager object has been removed, and active VPN connections are now the
4580 same as any other active connection. The Manager object's ActivateConnection
4581 and DeactivateConnection methods are used to start and stop a VPN connection,
4582 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4583 When activating a VPN connection, pass the path of the active connection
4584 to which the VPN connection is tied in the 'specific_object' argument.
4586 Consequently, the libnm-glib API has been reworked to match this arrangement,
4587 with the VPNManager object removed, and the NMVPNConnection objects now
4588 being subclasses of NMActiveConnection.
4590 2008-03-25 Dan Williams <dcbw@redhat.com>
4592 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4594 * initscript/Arch/networkmanager.in
4595 initscript/Arch/networkmanager-dispatcher.in
4596 - Updates for Arch Linux (gnome.org #523701)
4598 2008-03-25 Dan Williams <dcbw@redhat.com>
4600 * libnm-glib/nm-ip4-config.c
4601 libnm-glib/nm-active-connection.c
4602 libnm-glib/nm-access-point.c
4603 - Use nm_object_queue_notify() instead of g_object_notify()
4605 * libnm-glib/nm-device.c
4606 - (demarshal_ip4_config): distinguish between successful but missing
4607 ip4-config request, and unsuccessful and missing ip4-config request
4608 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4610 - Use nm_object_queue_notify() instead of g_object_notify()
4612 * libnm-glib/nm-device-802-11-wireless.c
4613 - (demarshal_active_ap): distinguish between successfull but missing
4614 active-ap request, and unsuccessful and missing active-ap request
4615 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4617 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4618 for the NMClient to notify the device that wireless is disabled,
4619 and therefore to clear the AP list and active AP
4620 - Use nm_object_queue_notify() instead of g_object_notify()
4622 * libnm-glib/nm-client.c
4623 - (poke_wireless_devices_with_rf_status): new function
4624 - (update_wireless_status): notify wireless devices of the rfkill status
4625 so they can clean up if needed
4626 - Use nm_object_queue_notify() instead of g_object_notify()
4628 2008-03-25 Dan Williams <dcbw@redhat.com>
4630 * libnm-glib/nm-object.c
4631 libnm-glib/nm-object-private.h
4632 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4633 signals to an idle handler
4634 - (nm_object_get_property): add a timeout to the D-Bus method call
4636 2008-03-25 Dan Williams <dcbw@redhat.com>
4638 * introspection/nm-device-cdma.xml
4639 introspection/nm-device-gsm.xml
4640 introspection/Makefile.am
4641 introspection/all.xml
4642 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4644 * src/nm-gsm-device.h
4646 src/nm-cdma-device.h
4647 src/nm-cdma-device.c
4649 - Implement PropertiesChanged signals
4651 * libnm-glib/nm-cdma-device.c
4652 libnm-glib/nm-cdma-device.c
4653 - Attach to PropertiesChanged signals
4655 2008-03-24 Dan Williams <dcbw@redhat.com>
4657 * libnm-glib/nm-client.c
4658 - (client_device_added_proxy): add new devices to the internal device
4659 list so they appear to clients
4661 2008-03-24 Dan Williams <dcbw@redhat.com>
4663 Massive fixup of libnm-glib to:
4664 a) have all objects (with the exception of VPN) cache their properties and
4665 update them asynchronously on PropertiesChanged signals from NM
4666 b) return internal const data for most attributes/properties instead of
4667 allocated values that the caller must free
4668 c) cache wrapped objects such that a given D-Bus path will always map to the
4669 same GObject returned by libnm-glib
4670 d) remove a few signals and move them to GObject property notifications
4671 e) match recent NM D-Bus API changes for activation/deactivation
4672 f) remove some private functions from libnm-glib headers
4674 2008-03-20 Dan Williams <dcbw@redhat.com>
4677 - (nm_manager_update_state, manager_device_state_changed,
4678 nm_manager_activate_device, connection_added_default_handler,
4679 impl_manager_activate_connection, impl_manager_deactivate_connection):
4680 queue PropertyChanged singals when the active connections change
4682 2008-03-20 Dan Williams <dcbw@redhat.com>
4684 * introspection/nm-manager.xml
4685 introspection/nm-manager-client.xml
4686 - (ActivateConnection): return the object path of the active connection
4688 - (GetActiveConnections): remove
4689 - (DeactivateConnection): new function; deactivate a currently active
4691 - Add an ActiveConnections property which returns an array of
4692 active connection object paths
4694 * introspection/nm-device.xml
4695 - (Deactivate): remove
4697 * introspection/all.xml
4698 - Add ActiveConnection introspection
4700 * introspection/nm-active-connection.xml
4701 - Add the ActiveConnection object
4703 * include/NetworkManager.h
4704 - Add the Connection.Active D-Bus interface
4706 * src/nm-device-interface.c
4707 - (impl_device_deactivate): remove
4709 * src/nm-activation-request.c
4710 src/nm-activation-request.c
4712 - Implement the Connection.Active D-Bus interface
4715 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4716 - (nm_manager_activate_device): return the active connection path
4717 - (connection_added_default_handler, impl_manager_activate_connection):
4718 return the active connection to the caller
4719 - (add_one_connection_element, impl_manager_get_active_connections):
4721 - (impl_manager_deactivate_connection): new function; deactivate an
4724 * libnm-glib/nm-device.c
4725 libnm-glib/nm-device.h
4726 - Remove Deactivate() function
4728 2008-03-19 Dan Williams <dcbw@redhat.com>
4730 * introspection/nm-manager.xml
4731 introspection/nm-manager-client.xml
4732 - Rename the ActivateDevice method to ActivateConnection to better
4733 reflect it's usage; it's arguments get reordered a bit too
4734 - Convert GetActiveConnections method return from a struct to a dict
4736 * include/NetworkManager.h
4737 - Define the dict keys for return value of GetActiveConnections
4740 - impl_manager_activate_device -> impl_manager_activate_connection
4741 - (add_one_connection_element): return a populated hash table, not
4744 * libnm-glib/nm-client.c
4745 libnm-glib/nm-client.h
4746 - nm_client_activate_device -> nm_client_activate_connection
4747 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4748 - (nm_client_get_active_connections): return a GSList of GHashTables,
4749 instead of the custom structures. Each element of the returned list
4750 must be freed with nm_client_free_active_connections_element()
4752 2008-03-18 Dan Williams <dcbw@redhat.com>
4754 * system-settings/plugins/ifcfg-fedora/parser.c
4755 system-settings/plugins/ifcfg-fedora/parser.h
4756 system-settings/plugins/ifcfg-fedora/plugin.c
4757 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4758 profiles. DNS servers and searches must now be stored in the ifcfg
4761 2008-03-18 Tambet Ingo <tambet@gmail.com>
4763 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4764 print out username and password, it's supposed to be a secret.
4766 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4767 request and set the device state accordingly.
4769 2008-03-18 Tambet Ingo <tambet@gmail.com>
4771 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4773 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4775 2008-03-18 Dan Williams <dcbw@redhat.com>
4777 * src/vpn-manager/nm-vpn-connection.c
4778 - (get_secrets_cb): handle new GetSecrets return format
4780 2008-03-18 Dan Williams <dcbw@redhat.com>
4782 Adapt system settings service for split 802.1x.
4784 * system-settings/src/nm-system-config-interface.h
4785 - clarify return value of get_secrets()
4787 * system-settings/src/dbus-settings.c
4788 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4789 - (check_for_secrets): check if there actually secrets returned by a
4791 - (exported_connection_get_secrets): just return the plugin-returned
4792 hash of settings' secrets if it looks valid
4794 * system-settings/plugins/ifcfg-fedora/plugin.c
4795 - (get_secrets): add split secrets with correct format to reply hash
4797 * system-settings/plugins/ifcfg-fedora/parser.c
4798 system-settings/plugins/ifcfg-fedora/parser.h
4799 - (copy_one_cdata_secret, connection_data_copy_secrets,
4800 connection_data_free, connection_data_add): keep secrets for
4801 different settings in different hashes
4803 2008-03-17 Tambet Ingo <tambet@gmail.com>
4805 Clean up activating device deactivation.
4807 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4808 should be done whether the device activation gets cancelled or the device
4809 is just getting deactivated.
4810 (nm_device_activation_cancel): Remove.
4811 (nm_device_deactivate_quickly): Handle the case where device is activating.
4813 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4814 It does the exact same thing as real_deactivate_quickly().
4816 2008-03-17 Dan Williams <dcbw@redhat.com>
4818 Split the 802.1x bits out of the wireless-security setting so they are
4819 generalized enough for wired 802.1x to use too.
4821 * introspection/nm-exported-connection.xml
4822 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4823 of just a hash of the secrets for one setting
4825 * libnm-util/nm-setting-wireless-security.c
4826 libnm-util/nm-setting-wireless-security.h
4827 - Remove 802.1x-specific stuff
4828 - Added leap-username and leap-password properties for old-school LEAP
4832 - (connection_secrets_updated_cb): take a list of updated settings names,
4835 * src/supplicant-manager/nm-supplicant-config.c
4836 src/supplicant-manager/nm-supplicant-config.h
4837 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4838 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4839 to nm_supplicant_config_add_setting_8021x()
4840 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4841 the supplicant config
4843 * src/nm-device-802-11-wireless.c
4844 - (build_supplicant_config): pass in the 802.1x setting too, if any
4845 - (real_connection_secrets_updated): take a list of updated settings
4848 * src/nm-device-802-3-ethernet.c
4849 src/nm-cdma-device.c
4851 - (real_connection_secrets_updated_cb): take a list of updated settings
4854 * src/nm-activation-request.c
4855 src/nm-activation-request.h
4856 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4857 now passes a list of updated settings names, not just one
4858 - (update_one_setting): new function; handle one updated setting
4859 - (get_secrets_cb): handle multiple settings returned from the
4860 settings service; have to be careful of ordering here as there are
4861 some dependencies between settings (ex. wireless-security and 802.1x
4864 * src/marshallers/nm-marshal.list
4865 - new marshaller for connection-secrets-updated signal
4867 * libnm-util/nm-setting-8021x.c
4868 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4870 - (verify): a valid 'eap' property is now required
4872 * libnm-util/nm-connection.c
4873 - (register_default_settings): add priorities to settings; there are
4874 some dependencies between settings, and during the need_secrets
4875 calls this priority needs to be respected. For example, only the
4876 wireless-security setting knows whether or not the connection is
4877 going to use 802.1x or now, so it must be asked for secrets before
4878 any existing 802.1x setting is
4879 - (nm_connection_lookup_setting_type): expose
4881 * libnm-util/nm-setting-wireless.c
4882 - (verify): should verify even if all_settings is NULL; otherwise won't
4883 catch the case where there is missing security
4885 * libnm-util/nm-setting-wireless-security.c
4886 - Remove everything to do with 802.1x
4887 - Add old-school LEAP specific properties for username and password
4888 - (need_secrets): rework LEAP secrets checking
4889 - (verify): rework for LEAP and 802.1x verification
4891 2008-03-17 Dan Williams <dcbw@redhat.com>
4893 * src/NetworkManagerPolicy.c
4894 - (auto_activate_device): always remove the current activation check
4895 from the pending activation list, otherwise when the policy gets
4896 destroyed on NM exit it will attempt to free the already freed
4899 2008-03-14 Tambet Ingo <tambet@gmail.com>
4901 * src/backends/NetworkManagerSlackware.c
4902 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4904 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4906 2008-03-14 Dan Williams <dcbw@redhat.com>
4909 - (nm_device_interface_get_iface): g_object_get() will return an
4910 allocated value, so this function must not return const
4911 - (nm_device_interface_activate): free returned iface
4913 2008-03-14 Tambet Ingo <tambet@gmail.com>
4915 * libnm-util/Makefile.am: Add new files to build.
4917 * libnm-util/nm-connection.c: Register NMSetting8021x.
4919 * libnm-util/nm-setting-8021x.c
4920 * libnm-util/nm-setting-8021x.h: Implement.
4922 2008-03-14 Tambet Ingo <tambet@gmail.com>
4924 * libnm-util/Makefile.am: Add new files to build.
4926 * libnm-util/nm-connection.c: Register NMSetting8021x.
4928 * libnm-util/nm-setting-8021x.c
4929 * libnm-util/nm-setting-8021x.h: Implement.
4931 2008-03-14 Tambet Ingo <tambet@gmail.com>
4933 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4936 2008-03-14 Dan Williams <dcbw@redhat.com>
4938 * include/wireless-helper.h
4940 - One place for all the junk needed for #including wireless.h
4943 src/NetworkManagerAP.c
4946 libnm-util/nm-utils.c
4947 libnm-util/nm-setting-wireless.c
4948 libnm-glib/nm-device-802-11-wireless.c
4949 libnm-glib/nm-access-point.c
4950 libnm-glib/libnm-glib-test.c
4951 - include wireless-helper.h, not iwlib.h
4954 - Don't need libiw really, just need to check for wireless.h
4956 * src/kernel-types.h
4957 - Remove; used types moved into wpa.c
4959 * src/nm-device-802-11-wireless.c
4960 - (nm_device_802_11_wireless_update_signal_strength,
4961 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4962 nm_device_802_11_wireless_set_mode,
4963 nm_device_802_11_wireless_get_frequency,
4964 nm_device_802_11_wireless_get_ssid,
4965 nm_device_802_11_wireless_set_ssid,
4966 nm_device_802_11_wireless_get_bitrate,
4967 nm_device_802_11_wireless_get_bssid,
4968 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4969 instead of iwlib functions
4971 2008-03-14 Dan Williams <dcbw@redhat.com>
4973 * src/ppp-manager/nm-ppp-manager.c
4974 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4975 should only take the DBusGMethodInvocation argument, not user/pass
4976 too. With dbus-glib, async functions only take 2 C arguments since
4977 the real dbus method arguments get passed back with
4978 dbus_g_method_return()
4980 2008-03-13 Tambet Ingo <tambet@gmail.com>
4982 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4983 Adapt the changes of NMSettingIP4Config.
4985 2008-03-13 Dan Williams <dcbw@redhat.com>
4987 * src/NetworkManagerUtils.c
4988 src/NetworkManagerUtils.h
4989 - (nm_ether_ntop): replacement for iw_ether_ntop()
4991 * src/NetworkManagerAP.c
4992 src/nm-device-802-11-wireless.c
4993 src/nm-device-802-3-ethernet.c
4994 - s/iw_ether_ntop/nm_ether_ntop/g
4996 2008-03-13 Dan Williams <dcbw@redhat.com>
4998 * src/NetworkManagerPolicy.c
4999 - (update_routing_and_dns): never set the default route through an
5000 IPv4LL addressed device
5002 2008-03-13 Dan Williams <dcbw@redhat.com>
5004 * NetworkManagerUtils.c
5005 NetworkManagerUtils.h
5006 - Remove NMSock stuff
5007 - Remove the completion stuff
5012 NetworkManagerSystem.c
5014 nm-device-802-11-wireless.c
5015 nm-device-802-3-ethernet.c
5016 - Remove NMSock and completion stuff
5017 - Remove nm_ioctl_info()
5019 2008-03-12 Dan Williams <dcbw@redhat.com>
5022 - (merge_ip4_config): avoid duplicates
5024 2008-03-12 Dan Williams <dcbw@redhat.com>
5026 * libnm-util/nm-setting-ip4-config.c
5027 libnm-util/nm-setting-ip4-config.h
5028 - Remove 'manual' and 'autoip' properties
5029 - Add 'method' property
5030 - (verify): fix verification with 'method'
5031 - (finalize): free 'method'
5032 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
5036 - (real_act_stage3_ip_config_start): check IP4Config method
5037 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
5039 - (merge_ip4_config): IP settings are valid with DHCP too
5040 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
5041 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
5043 * src/nm-device-802-11-wireless.c
5044 - (real_act_stage3_ip_config_start): remove; autoip only on demand
5045 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5048 * system-settings/plugins/ifcfg-fedora/parser.c
5049 system-settings/plugins/ifcfg-suse/parser.c
5050 - (make_ip4_setting): fix up for 'method'
5052 2008-03-12 Dan Williams <dcbw@redhat.com>
5054 * system-settings/plugins/ifcfg-fedora/parser.c
5055 system-settings/plugins/ifcfg-fedora/parser.h
5056 - (get_ifcfg_name): ignore more file suffixes
5057 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5059 2008-03-12 Dan Williams <dcbw@redhat.com>
5062 - Bring in the bits of gnome-common we actually use (all 15 lines)
5064 2008-03-12 Dan Williams <dcbw@redhat.com>
5066 * system-settings/plugins/ifcfg-fedora/plugin.c
5067 - (write_auto_wired_connection): new function; write out an auto
5068 wired connection file since the applet isn't doing it any more
5069 - (reload_all_connections): write out the auto wired connection file
5070 if there aren't any wired connections already
5071 - (init): don't leak a GError
5073 2008-03-12 Dan Williams <dcbw@redhat.com>
5075 * src/nm-device-interface.c
5076 - (nm_device_interface_activate): print the ID of the connection
5077 that's about to be activated
5079 2008-03-12 Dan Williams <dcbw@redhat.com>
5081 Harmonize the 802.11 bitrate API
5083 * introspection/nm-access-point.xml
5084 - 'Rate' -> 'MaxBitrate'; clarify units
5086 * introspection/nm-device-802-11-wireless.xml
5087 - Clarify units of 'Bitrate'
5089 * src/NetworkManagerAP.c
5090 src/NetworkManagerAP.h
5091 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5092 property to 'max-bitrate'
5093 - (foreach_property_cb): convert rate to Kb/s
5095 * src/nm-device-802-11-wireless.c
5096 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5098 * libnm-glib/nm-access-point.c
5099 libnm-glib/nm-access-point.h
5100 - 'rate' -> 'max-bitrate'
5103 libnm-glib/libnm-glib-test.c
5104 - Fix up for these changes
5106 2008-03-12 Dan Williams <dcbw@redhat.com>
5109 - (nm_device_set_ip4_config): don't send property notifications when
5110 the ip4 config is set to NULL; it causes a PropertyChanged signal
5111 which dbus-glib can't parse because the value is NULL, which isn't
5112 a legal object path. Setting the IP4 config to NULL is only
5113 valid when deactivating a device anyway, so the device state change
5114 will alert listeners that the ip4 config is invalid.
5116 2008-03-12 Dan Williams <dcbw@redhat.com>
5118 * src/nm-properties-changed-signal.c
5119 - (add_to_string): better handling of NULL objects
5121 2008-03-12 Dan Williams <dcbw@redhat.com>
5123 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5124 convert the libnm-glib NMDevice8023Ethernet to cached properties
5126 * introspection/nm-device-802-3-ethernet.xml
5127 - New 'Carrier' property
5128 - New 'PropertiesChanged' signal
5130 * introspection/nm-device.xml
5131 - Remove 'Carrier' property
5132 - Remove 'CarrierChanged' signal
5134 * src/nm-device-interface.c
5135 src/nm-device-interface.h
5136 - (nm_device_interface_init): remove 'carrier' property and
5137 'carrier-changed' signal
5141 - (nm_device_get_carrier, nm_device_set_carrier): remove
5142 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5143 the link here; wired device will handle that
5144 - (handle_dhcp_lease_change): don't bother updating link here
5145 - (get_property, nm_device_class_init): remove carrier property
5147 * src/nm-device-802-11-wireless.c
5148 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5149 real_update_link(); wireless devices don't use carrier at all
5150 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5151 supplicant_iface_connection_state_cb_handler,
5152 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5154 * src/nm-device-802-3-ethernet.c
5155 src/nm-device-802-3-ethernet.h
5156 - (nm_device_802_3_ethernet_carrier_on,
5157 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5158 instead of nm_device_set_carrier()
5159 - (device_state_changed): update link from sysfs on activation;
5160 replaces real_update_link()
5161 - (real_update_link): remove, replaced by device_state_changed()
5162 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5163 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5164 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5165 new get_carrier function
5166 - (get_property): add 'carrier' property
5167 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5168 hook into property-changed signal helper
5170 * src/NetworkManagerPolicy.c
5171 - (device_carrier_changed): will only ever be called with a wired device
5172 - (device_added): only hook up to carrier-changed for wired devices
5174 * libnm-glib/nm-device.c
5175 libnm-glib/nm-device.h
5176 - (constructor, nm_device_class_init): remove carrier-changed signal
5177 - (device_carrier_changed_proxy): remove; unused
5178 - (nm_device_get_carrier): remove; carrier a property of wired devices
5180 * libnm-glib/nm-device-802-3-ethernet.c
5181 libnm-glib/nm-device-802-3-ethernet.h
5182 - Convert to cached properties like AP and Wireless objects
5183 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5184 instead of a 'char *', return value should not be freed
5185 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5186 - (constructor): hook into properties-changed helper
5187 - (set_property, get_property): new functions
5188 - (nm_device_802_3_ethernet_class_init): export GObject properties
5191 - (detail_device): strdup the wired hardware address too since it's
5194 * libnm-glib/libnm-glib-test.c
5195 - (dump_wired): strdup the wired hardware address too since it's
5198 2008-03-12 Dan Williams <dcbw@redhat.com>
5200 * libnm-util/nm-setting-ip4-config.c
5201 libnm-util/nm-setting-ip4-config.h
5202 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5203 the 'autoip' property from the spec
5205 2008-03-11 Dan Williams <dcbw@redhat.com>
5207 * src/backends/NetworkManagerGeneric.c
5208 src/backends/NetworkManagerGeneric.h
5209 - (nm_generic_device_get_use_dhcp): remove
5211 2008-03-11 Dan Williams <dcbw@redhat.com>
5214 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5215 already in nm_device_set_ip4_config()
5216 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5217 due to a DHCP rebind fails
5218 - (nm_device_set_ip4_config): send property notifications when the
5220 - (get_property): only report IP4Config property during valid states
5222 * src/NetworkManagerPolicy.c
5223 - (update_routing_and_dns): ignore devices that don't have an ip4
5224 config; add parameter 'force_update' to allow callers to specify
5225 that changes should be made even if the default device doesn't change
5226 - (device_ip4_config_changed): update DNS and routing when the device's
5227 IP4Config changes, like for DHCP updates
5228 - (device_added): listen for ip4-config property changes
5230 2008-03-11 Dan Williams <dcbw@redhat.com>
5232 Fix address handling as a result of DHCP rebind/renew/reboot.
5234 * src/NetworkManagerSystem.c
5235 - (check_one_address): delete an address if it doesn't match a given
5236 one for the same interface
5237 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5238 be smarter about flushing addresses (only flush ones that don't
5239 match the one we're about to apply)
5241 * src/backends/NetworkManagerDebian.c
5242 src/backends/NetworkManagerSuSE.c
5243 src/backends/NetworkManagerArch.c
5244 src/backends/NetworkManagerSlackware.c
5245 src/backends/NetworkManagerRedHat.c
5246 src/backends/NetworkManagerPaldo.c
5247 src/backends/NetworkManagerFrugalware.c
5248 src/backends/NetworkManagerGentoo.c
5249 - (nm_system_delete_default_route): remove
5251 * src/backends/NetworkManagerGeneric.c
5252 src/backends/NetworkManagerGeneric.h
5253 - (nm_generic_enable_loopback): fix the loopback device label
5254 - (nm_generic_delete_default_route): remove; no longer used
5256 2008-03-11 Dan Williams <dcbw@redhat.com>
5258 * src/nm-device-interface.h
5259 - Delimit property name words with '-', otherwise g_object_notify()
5260 doesn't work the way we expect
5262 2008-03-11 Tambet Ingo <tambet@gmail.com>
5264 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5266 2008-03-11 Dan Williams <dcbw@redhat.com>
5268 * src/NetworkManagerPolicy.c
5269 - (update_routing_and_dns): don't change anything if the default device
5270 hasn't changed; print something out when switching the default route
5273 2008-03-10 Tambet Ingo <tambet@gmail.com>
5277 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5278 setting. Use "nic-$eth".
5280 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5281 the device is activating here to fix a race condition.
5283 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5285 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5286 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5287 (nm_ppp_manager_start): Take activation request instead of connection, we might
5288 need it for asking secrets.
5289 (nm_ppp_manager_update_secrets): Implement.
5291 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5292 ppp manager start. It might be needed for asking secrets.
5294 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5295 (ppp_state_changed): Handle pppd daemon disappearing.
5296 (pppoe_stage2_config): Send activation request to ppp manager start.
5298 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5300 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5301 username and password.
5303 2008-03-10 Dan Williams <dcbw@redhat.com>
5306 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5307 response to a DHCP lease change
5308 - (dhcp_state_changed): handle DHCP lease changes while activated
5309 - (nm_device_set_ip4_config): remove a previously set named config
5310 when setting an ip4 config
5312 2008-03-10 Dan Williams <dcbw@redhat.com>
5314 * src/nm-serial-device.c
5315 - (nm_serial_device_send_command): report errno on error
5316 - (get_reply_got_data): limit the size of the overall buffer
5317 - (wait_for_reply_info_destroy): destroy result string
5318 - (wait_for_reply_got_data): append received data to an overall buffer
5319 until timeout, filled buffer, or error instead of keeping a per-call
5320 buffer. Some devices send data slowly enough that this function
5321 gets called multiple times for the same command stream.
5322 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5323 wait_for_reply_got_data() here
5325 2008-03-10 Dan Williams <dcbw@redhat.com>
5327 * src/nm-cdma-device.c
5328 - (do_dial, init_modem): handle errors from
5329 nm_serial_device_send_command_string()
5331 * src/nm-gsm-device.c
5332 - (do_dial, manual_registration, automatic_registration_get_network,
5333 automatic_registration, enter_pin, check_pin, init_modem): handle
5334 errors from nm_serial_device_send_command_string()
5336 2008-03-10 Dan Williams <dcbw@redhat.com>
5338 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5340 * src/named-manager/nm-named-manager.c
5341 - (compute_searches): prefer searches before domains
5342 - (compute_domain): new function
5343 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5344 - (merge_one_ip4_config): if there are no searches in the source config,
5345 merge domains of the source config into the target config
5346 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5348 2008-03-10 Dan Williams <dcbw@redhat.com>
5350 * src/nm-serial-device.c
5351 - (get_reply_got_data): clean up indentation, shrink serial buffer
5352 - (wait_for_reply_got_data): try to handle slower serial devices where
5353 the reply is broken up into multiple reads by concatenating replies
5354 together until either an error is received or the search string is
5357 2008-03-10 Dan Williams <dcbw@redhat.com>
5360 - (nm_device_bring_down): deactivate the device if it's activating too,
5361 not just if it's already activated. This makes sure that everything
5362 from an association attempt is cleaned up (like DHCP for example)
5364 2008-03-10 Dan Williams <dcbw@redhat.com>
5366 * src/nm-serial-device.c
5367 - (config_fd): report error from TCSETA
5368 - (nm_serial_device_open): fail when config_fd() fails
5370 2008-03-10 Dan Williams <dcbw@redhat.com>
5372 * src/nm-ip4-config.c
5373 - (nm_ip4_config_init): allocate searches list
5374 - (finalize): free searches list
5376 2008-03-09 Dan Williams <dcbw@redhat.com>
5378 Patch from Bas Zoetekouw <bas@debian.org>
5380 * src/dhcp-manager/nm-dhcp-manager.c
5381 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5383 2008-03-09 Dan Williams <dcbw@redhat.com>
5385 Patch from Bas Zoetekouw <bas@debian.org>
5387 * src/nm-ip4-config.c
5389 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5390 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5391 domains. 'searches' is the correct way to store multiple search
5392 domains, whereas 'domains' is really just supposed to store one
5393 domain. Some sites abuse the DHCP 'domain-name' option to push
5394 search domains to the client.
5395 - (nm_ip4_config_add_domain): group with related functions (my patch)
5397 2008-03-09 Dan Williams <dcbw@redhat.com>
5399 * src/dhcp-manager/nm-dhcp-manager.c
5400 - (dhclient_run): send interface-specific config files to dhclient
5402 2008-03-07 Dan Williams <dcbw@redhat.com>
5404 * system-settings/plugins/ifcfg-fedora/parser.c
5405 - (is_wireless_device): new function; test a device for wireless
5407 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5408 test the device for wireless extensions to determine the type
5410 2008-03-07 Dan Williams <dcbw@redhat.com>
5412 Change manager's StateChange signal to StateChanged for consistency.
5414 * introspection/nm-manager.xml
5415 - Add 'StateChanged' signal
5416 - Move 'StateChange' down to the deprecated section
5418 * src/nm-hal-manager.c
5419 - (nm_hal_manager_new): connect to 'state-changed' instead
5421 * src/NetworkManagerPolicy.c
5422 - (nm_policy_new): connect to 'state-changed' instead
5426 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5427 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5430 * libnm-glib/nm-client.c
5431 libnm-glib/nm-client.h
5432 - (constructor, nm_client_class_init, client_state_changed_proxy):
5433 track and proxy 'state-changed' instead of 'state-change'
5435 2008-03-07 Dan Williams <dcbw@redhat.com>
5437 First pass of multiple active device support. Expect bugs.
5439 * src/nm-ip4-config.c
5441 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5442 there are better ways to do this in the named manager
5446 - (nm_device_can_activate): return whether the device can activate a
5447 connection right now; taking into account things like carrier state
5449 - (nm_device_get_best_auto_connection): renamed from
5450 nm_device_get_best_connection
5451 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5452 device subclasses themselves, so that each device can override the
5453 MTU from it's NMSetting subclass if needed
5454 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5455 in NetworkManagerSystem.c, not here
5457 * src/named-manager/nm-named-manager.c
5458 src/named-manager/nm-named-manager.h
5459 - (nm_named_manager_name_owner_changed,
5460 nm_named_manager_dbus_connection_changed): fix for changes to
5461 rewrite_resolv_conf()
5462 - (compute_nameservers): don't need the NMNamedManager at all, remove
5464 - (merge_one_ip4_config): new function; merge ip4 configs together
5465 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5466 ip4 configs; the VPN config takes precedence, then the best
5467 device config, then the rest of the configs
5468 - (get_domain_for_config): take the NMNamedManager as an argument
5469 to check whether the config is the VPN config
5470 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5471 attribute from ip4 configs
5472 - (add_all_ip4_configs_to_named): add all the configs in priority order
5473 - (remove_ip4_config_from_named): fix for changes to
5474 get_domain_for_config()
5475 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5476 based on its type; callers must pass in the type now
5477 - (get_last_default_domain): remove, unused
5478 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5480 * src/nm-device-802-11-wireless.c
5481 - (real_can_activate): new function
5482 - (real_get_best_auto_connection): renamed from real_get_best_connection
5483 - (real_act_stage4_get_ip4_config): handle MTU override
5485 * src/nm-device-802-3-ethernet.c
5486 - (real_can_activate): new function
5487 - (real_get_best_auto_connection): renamed from real_get_best_connection
5488 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5490 * src/vpn-manager/nm-vpn-connection.c
5491 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5492 attribute on the ip4 config
5494 * src/NetworkManagerPolicy.c
5495 - (nm_policy_auto_get_best_device): remove
5496 - (nm_policy_device_change_check): remove
5497 - (update_default_route): new function; set the default route via
5498 the specified device
5499 - (get_device_priority): new function; return the priority number of
5500 a device type WRT which one should have the default route. Order is
5501 (highest to lowest) wired, wireless, GSM, CDMA.
5502 - (update_routing_and_dns): new function; determine which device should
5503 have the default route, then update the routing table and DNS
5504 - (maybe_auto_activate_device): new function; if a device is now
5505 available for activation, find out what connection it would like to
5507 - (schedule_activate_check): new function; if a device can be activated
5508 now, schedule the activation. Each device may have only one
5509 pending activation at a given time.
5510 - (device_state_changed): if activation was canceled, try again,
5511 possibly with another connection; if the device was activated,
5512 update routing and DNS; if the device was deactivated, try again
5513 with another connection
5514 - (device_carrier_changed): if there is no carrier, deactivate the
5515 device; otherwise schedule an activation check for the device
5516 - (wireless_networks_changed): schedule an activation check for the
5518 - (device_added): keep track of the signal handler IDs so they can
5519 be removed when the device goes away
5520 - (device_removed): remove any signal handlers that might be attached
5521 to the device; update routing and DNS
5522 - (schedule_activate_all): new function
5523 - (connections_added, connection_added, connection_updated): when
5524 connections change, schedule all devices for an activation check
5525 - (connection_removed): when a device is deactivated because its
5526 connection was removed, schedule another activation check for it
5527 - (nm_policy_destroy): destroy pending activations and disconnect
5528 all device signal handlers
5531 - (nm_manager_activate_device): if the device was already actived,
5533 - (deactivate_old_device): remove
5534 - (connection_added_default_handler, impl_manager_activate_device):
5535 don't deactivate other devices when activating this one
5537 * src/backends/NetworkManagerGentoo.c
5538 src/backends/NetworkManagerFrugalware.c
5539 src/backends/NetworkManagerPaldo.c
5540 src/backends/NetworkManagerRedHat.c
5541 src/backends/NetworkManagerSlackware.c
5542 src/backends/NetworkManagerArch.c
5543 src/backends/NetworkManagerSuSE.c
5544 src/backends/NetworkManagerDebian.c
5545 - (nm_system_get_mtu): remove; MTU should be provided through the
5546 distro's system settings service plugin instead
5547 - (nm_system_device_add_default_route_via_device): remove
5548 - (nm_system_device_add_default_route_via_device_with_iface): remove
5549 - (nm_system_device_replace_default_route): new function; call
5550 generic implementation
5552 * src/backends/NetworkManagerGeneric.c
5553 src/backends/NetworkManagerGeneric.h
5554 - (nm_generic_device_add_default_route_via_device,
5555 nm_generic_device_add_default_route_via_device_with_iface): remove
5556 - (nm_generic_device_replace_default_route): replace the default route
5557 with the given route via some gateway
5559 * src/NetworkManagerSystem.c
5560 src/NetworkManagerSystem.h
5561 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5562 to routing and DNS; but set the MTU here
5563 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5564 ip_iface of the active device; use the standard MTU setting function
5565 - (nm_system_set_mtu): remove
5566 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5568 2008-03-07 Tambet Ingo <tambet@gmail.com>
5570 Rework the interaction between ppp manager and pppd plugin. Register a well
5571 known DBUS service in manager and let the plugin call it's methods instead
5572 of listening plugin's signals.
5574 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5575 of emitting signals.
5577 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5579 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5581 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5582 nm_ppp_manager_start().
5584 * introspection/nm-ppp-manager.xml: New file.
5586 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5587 the case correctly where driver is trying to send -1 for the speed, which gets
5588 casted to u16 and thus is always > 0.
5590 2008-03-07 Dan Williams <dcbw@redhat.com>
5592 * src/nm-hal-manager.c
5593 - (nm_get_device_driver_name): use net.originating_device first, fall
5594 back to physical device. HAL has deprecated physical_device.
5596 * libnm-glib/nm-device.c
5597 - (get_product_and_vendor): use net.originating_device first, fall
5598 back to physical device. HAL has deprecated physical_device.
5599 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5601 2008-03-07 Dan Williams <dcbw@redhat.com>
5604 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5605 last commit; fix that
5606 - (get_link_cache): print error string
5608 2008-03-07 Dan Williams <dcbw@redhat.com>
5611 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5612 don't need this hack any more (Benoit Boissinot)
5614 2008-03-06 Dan Williams <dcbw@redhat.com>
5617 - Die gnome-common, die
5619 2008-03-04 Dan Williams <dcbw@redhat.com>
5621 Patch from Michael Biebl <biebl@debian.org>
5623 * NetworkManager.pc.in
5624 - doesn't actually depend on dbus-1
5626 * libnm-util/nm-utils.h
5627 - remove unused #include <dbus/dbus.h>
5629 * libnm-glib/libnm_glib.pc.in
5630 - depends on glib and dbus-glib
5632 2008-03-02 Dan Williams <dcbw@redhat.com>
5634 * src/NetworkManagerPolicy.c
5635 - s/device_state_changed_idle_id/update_state_id/
5637 2008-03-02 Dan Williams <dcbw@redhat.com>
5641 src/nm-device-802-11-wireless.c
5642 src/nm-device-802-3-ethernet.c
5643 src/NetworkManagerPolicy.c
5644 - s/link_active/carrier
5645 - nm_device_set_active_link() -> nm_device_set_carrier()
5646 - nm_device_has_active_link() -> nm_device_get_carrier()
5648 2008-03-02 Dan Williams <dcbw@redhat.com>
5650 * system-settings/plugins/ifcfg-fedora/parser.c
5651 - (make_wireless_setting): fail connection creation on missing SSID
5653 2008-02-29 Dan Williams <dcbw@redhat.com>
5655 * src/NetworkManagerPolicy.c
5656 - (nm_policy_device_change_check): ensure that a previously active
5657 device with a system connection has a link before denying a switch
5658 to a user connection
5660 2008-02-29 Dan Williams <dcbw@redhat.com>
5662 * src/nm-device-802-11-wireless.c
5663 - (link_timeout_cb): try again if scanning; deactivate the device when
5664 activated if the link dies
5665 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5668 2008-02-29 Dan Williams <dcbw@redhat.com>
5670 * src/nm-device-802-11-wireless.c
5671 src/nm-device-802-11-wireless.h
5672 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5673 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5674 - (device_cleanup): reset the scan interval lower when the device
5676 - (can_scan): base decision mostly off device state, not supplicant
5677 interface state since the supplicant interface state isn't a
5678 great indicator of whether the device is active or not
5679 - (request_wireless_scan): clean up; schedule the next scan here
5680 - (schedule_scan): only back the scan interval off if a new scan
5681 actually gets scheduled; and make scan intervals tighter when the
5682 device is disconnected
5683 - (supplicant_iface_state_cb_handler): fold in the bits of
5684 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5686 - (activation_success_handler): reset scan interval to something
5689 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5691 reviewed by: Steev <steev@steev.net>
5694 * src/backends/NetworkManagerGentoo.c:
5695 (nm_system_restart_mdns_responder):
5696 Howl is no longer a supported mDNS provider
5698 2008-02-28 Tambet Ingo <tambet@gmail.com>
5700 Get rid of a bunch of unused distro specific functions.
5702 2008-02-28 Tambet Ingo <tambet@gmail.com>
5704 Implement suse plugin for system settings daemon.
5706 * system-settings/plugins/ifcfg-suse/*: Implement.
5708 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5711 * configure.in: Check (without failing) for gio.
5712 Create ifcfg-suse plugin's Makefile.
5714 2008-02-20 Dan Williams <dcbw@redhat.com>
5716 * libnm-util/nm-connection.c
5717 libnm-util/nm-connection.h
5718 - (nm_connection_compare): accept compare flags and pass them to the
5719 setting compare function
5721 * libnm-util/nm-setting.c
5722 libnm-util/nm-setting.h
5723 - (nm_setting_compare): accept compare flags; ignore properties that are
5726 * libnm-util/nm-setting-connection.c
5727 libnm-util/nm-setting-wireless.c
5728 libnm-util/nm-setting-ppp.c
5729 libnm-util/nm-setting-wired.c
5730 - Mark some setting properties as ignorable when doing a fuzzy compare
5733 - (device_activation_precheck): use exact compare
5735 2008-02-20 Dan Williams <dcbw@redhat.com>
5737 * src/NetworkManagerPolicy.c
5738 - (nm_policy_device_change_check): get scope off the connection, not
5739 using the manager helper
5743 - (get_scope_for_proxy): rename from get_type_for_proxy()
5744 - (connection_get_settings_cb): set scope and path on connection, not
5745 using GObject data items
5746 - (get_connection_for_proxy): don't need to return path, since that
5747 can be gotten from the connection
5748 - (get_connection_for_proxy): get path off the connection, not from
5750 - (connection_removed_cb, connection_updated_cb): don't need to get
5751 path from get_connection_for_proxy(); get scope off the connection
5752 instead of using GObject data items
5753 - (connection_added_default_handler, add_one_connection_element): use
5754 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5755 - (nm_manager_get_connection_dbus_path): remove
5756 - (nm_manager_get_connection_scope): remove
5758 2008-02-20 Dan Williams <dcbw@redhat.com>
5760 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5763 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5764 applet were having to hack this in anyway. Remove the 'path' stuff from
5765 NMExportedConnection
5767 * Internally rename NMConnectionType -> NMConnectionScope
5769 * Provide default implementations of the 'get_id' and 'get_settings' methods
5770 of NMExportedConnection
5772 2008-02-15 Dan Williams <dcbw@redhat.com>
5774 * src/nm-device-802-11-wireless.c
5775 - (device_cleanup): release the AP list here too so that the AP list
5776 doesn't survive across suspend/resume and up/down. There is some
5777 room for optimization, for example blow the list away when the card
5778 brought back up, but only if the device has only been down for a
5781 2008-02-15 Dan Williams <dcbw@redhat.com>
5783 * src/nm-hal-manager.c
5784 - (modem_device_creator): recognize new HAL modem capabilities
5786 2008-02-12 Dan Williams <dcbw@redhat.com>
5788 * system-settings/plugins/ifcfg-fedora/plugin.c
5789 - (watch_path): handle IN_DELETE_SELF too
5790 - (handle_connection_changed): notify when removing a connection
5791 - (stuff_changed): don't warn on unknown inotify watches; handle the
5792 case of a file moving out of the profile directory
5794 2008-02-12 Dan Williams <dcbw@redhat.com>
5796 * system-settings/plugins/ifcfg-fedora/parser.c
5797 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5799 2008-02-12 Dan Williams <dcbw@redhat.com>
5801 * libnm-util/nm-utils.c
5802 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5803 just any empty array
5805 2008-02-12 Dan Williams <dcbw@redhat.com>
5807 * system-settings/src/nm-system-config-interface.c
5808 system-settings/src/nm-system-config-interface.h
5809 - (load_connections): get_connections() should now return an allocated
5810 GSList that the system settings service will free
5812 * system-settings/plugins/ifcfg-fedora/plugin.c
5813 system-settings/plugins/ifcfg-fedora/parser.h
5814 system-settings/plugins/ifcfg-fedora/parser.c
5815 - Fix up inotify issues; handle keys-* files, handle new files appearing
5816 in the profile directory, handle resolv.conf file changes
5818 2008-02-10 Dan Williams <dcbw@redhat.com>
5820 * src/nm-device-802-3-ethernet.c
5821 - (real_bring_up): save the supplicant interface state signal id
5822 - (real_bring_down): disconnect from the supplicant interface state
5825 2008-02-07 Dan Williams <dcbw@redhat.com>
5827 * initscript/RedHat/NetworkManager.in
5828 initscript/RedHat/NetworkManagerDispatcher.in
5829 - Add new-style LSB init headers
5831 2008-02-07 Dan Williams <dcbw@redhat.com>
5833 * system-settings/src/dbus-settings.c
5834 system-settings/src/dbus-settings.h
5835 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5837 - (connection_settings_get_secrets): consolidate error returns into
5838 one place; use the new get_secrets() plugin interface function to
5839 get secrets from the plugin itself rather than using GObject data
5842 * system-settings/src/main.c
5843 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5844 load_connections): keep a private list of the plugin-returned
5845 connections, don't use the plugin's GSList
5847 * system-settings/plugins/ifcfg-fedora/plugin.c
5848 - (watch_path): watch the path, not the filename (duh)
5849 - (reload_all_connections): use the direct hash/equal functions; the
5850 ones for int aren't appropriate here
5851 - (get_secrets, system_config_interface_init): implement the
5852 get_secrets() function
5853 - (build_one_connection, find_connection_by_path): ifcfg file path is
5854 now in the connection's ConnectionData instead of being a GObject
5856 - (handle_profile_item_changed): ifcfg file path is now in the
5857 connection's ConnectionData instead of being a GObject data property;
5858 be sure to copy secrets over from the new connection to the existing
5859 connection when updating the connection's settings
5860 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5863 * system-settings/plugins/ifcfg-fedora/parser.c
5864 system-settings/plugins/ifcfg-fedora/parser.h
5865 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5866 connection_data_copy_secrets, connection_data_free,
5867 connection_data_add): new functions; connection data manipulation
5868 - (make_wireless_security_setting): stuff secrets into the
5869 connection data, not as GObject data items; make sure to close
5871 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5872 connection data to the connection
5874 2008-02-07 Dan Williams <dcbw@redhat.com>
5876 * system-settings/src/nm-system-config-interface.c
5877 system-settings/src/nm-system-config-interface.h
5878 - Add a get_secrets() interface function to retrieve secrets for a
5879 specific setting of a specific connection. Document the interface
5882 2008-02-07 Dan Williams <dcbw@redhat.com>
5884 * src/nm-device-802-11-wireless.c
5885 - (handle_auth_or_fail): new function; consolidate device activation
5886 failure check after a certain number of failures getting secrets
5887 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5888 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5889 the connection if secrets were requested more than a few times
5890 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5891 tries here; otherwise they are cleared before the IP configure
5892 timeout, which happens with open system WEP when key is wrong
5893 - (activation_success_handler): clear wireless secrets tries here too
5895 2008-02-07 Dan Williams <dcbw@redhat.com>
5897 * src/NetworkManagerPolicy.c
5898 - (connection_updated): clear invalid tag when connection gets updated
5899 to allow that connection to be tried again
5900 - (nm_policy_new): save signal ids so they can be disconnected when
5901 the policy is destroyed
5902 - (nm_policy_destroy): stop any in-progress state change idle handler,
5903 and disconnect all signals from the manager object so that none
5904 of the policy functions gets called after the policy is destroyed
5906 2008-02-06 Dan Williams <dcbw@redhat.com>
5909 - (finalize): remove devices a bit earlier; clean up system settings
5911 - (nm_manager_name_owner_changed): clean up system settings poke when
5912 the service appears, and try to restart it if it fails
5913 - (poke_system_settings_daemon_cb): try to get the system settings
5914 service started through D-Bus service activation
5915 - (initial_get_connections): start the system settings daemon if it's
5918 2008-02-05 Dan Williams <dcbw@redhat.com>
5920 * src/supplicant-manager/nm-supplicant-config.c
5921 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5922 broadcast networks too
5924 2008-02-04 Dan Williams <dcbw@redhat.com>
5926 * system-settings/plugins/ifcfg-fedora/parser.c
5927 - (make_wireless_security_setting): fix spelling; unencrypted networks
5928 need key_mgmt set too
5929 - (parser_parse_file): validate ifcfg file name and don't try to parse
5930 .bak files; ensure that an error is set whenever NULL gets returned
5932 2008-02-04 Dan Williams <dcbw@redhat.com>
5934 * system-settings/src/Makefile.am
5935 - Install D-Bus service activation file for the system settings
5938 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5939 - D-Bus service activation file for system settings service
5941 2008-02-04 Dan Williams <dcbw@redhat.com>
5943 * system-settings/src/main.c
5944 - (parse_config_file): parse a config file
5945 - (main): accept --config option and read plugins from config file
5947 2008-02-04 Dan Williams <dcbw@redhat.com>
5949 * system-settings/plugins/ifcfg-fedora/plugin.c
5950 - Change reported name to 'ifcfg-fedora'
5951 - Use IFCFG_PLUGIN_NAME
5953 * system-settings/plugins/ifcfg-fedora/plugin.c
5954 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5956 2008-02-04 Dan Williams <dcbw@redhat.com>
5958 * system-settings/plugins/ifcfg-fedora/parser.c
5959 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5960 - (make_connection_setting): use get_ifcfg_name()
5961 - (make_wireless_security_setting): handle shadow key files
5962 - (get_one_wep_key): treat empty string as NULL
5964 2008-02-04 Dan Williams <dcbw@redhat.com>
5966 * src/supplicant-manager/nm-supplicant-manager.c
5967 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5968 glib automatically reschedule
5969 - (nm_supplicant_manager_init): immediately try to start the supplicant
5970 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5973 2008-02-01 Dan Williams <dcbw@redhat.com>
5975 * src/NetworkManagerPolicy.c
5976 - (device_state_changed): schedule a change check when a device gets
5977 deactivated so something happens if you disconnect GSM/CDMA
5979 2008-01-31 Dan Williams <dcbw@redhat.com>
5981 * src/nm-device-802-11-wireless.h
5982 src/nm-device-802-11-wireless.c
5983 - (ap_list_get_ap_by_ssid, is_associated,
5984 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5985 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5986 - (nm_device_802_11_wireless_get_activation_ap): collapse
5987 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5990 2008-01-30 Dan Williams <dcbw@redhat.com>
5992 * system-settings/plugins/ifcfg
5993 * system-settings/plugins/ifcfg-fedora
5994 - Move the ifcfg plugin to ifcfg-fedora
5996 2008-01-24 Dan Williams <dcbw@redhat.com>
5998 * libnm-glib/nm-device-802-11-wireless.c
5999 - (get_access_point): move the "/" check here; check for invalid path
6001 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
6002 to get_access_point()
6003 - (access_point_added_proxy, access_point_removed_proxy): don't try
6004 to send signals for non-existent access points
6006 2008-01-24 Dan Williams <dcbw@redhat.com>
6008 * libnm-glib/nm-device-802-11-wireless.c
6009 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
6011 2008-01-23 Dan Williams <dcbw@redhat.com>
6013 * libnm-glib/libnm_glib.c
6014 - (libnm_glib_init): make thread joinable
6015 - (libnm_glib_ctx_free): join thread on exit to clean up memory
6017 2008-01-23 Dan Williams <dcbw@redhat.com>
6019 * test/libnm_glib_test.c
6020 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
6021 - (main): set up signal handlers; call libnm_glib_shutdown
6023 2008-01-21 Dan Williams <dcbw@redhat.com>
6025 * include/NetworkManager.h
6026 - Add CDMA mobile broadband card device type
6028 * src/nm-hal-manager.c
6029 - (modem_device_creator): handle both CDMA and GSM modems; the device
6030 must now be tagged with 'cdma' or 'gsm' capability
6032 * src/nm-cdma-device.c
6033 src/nm-cdma-device.h
6035 - Add the CDMA mobile broadband card device class
6037 * libnm-util/nm-connection.c
6038 - (register_default_settings): add NMSettingCdma
6040 * libnm-util/nm-setting-cdma.c
6041 libnm-util/nm-setting-cdma.h
6042 libnm-util/Makefile.am
6043 - Add the CDMA mobile broadband card setting class
6045 * libnm-glib/nm-cdma-device.c
6046 libnm-glib/nm-cdma-device.h
6047 libnm-glib/Makefile.am
6048 - Add the CDMA mobile broadband card GLib proxy class
6050 * libnm-glib/nm-client.c
6051 - (get_device): handle CDMA devices too
6053 2008-01-21 Dan Williams <dcbw@redhat.com>
6055 * src/ppp-manager/nm-ppp-manager.c
6056 - (ip4_config_get): set peer address too
6058 * src/ppp-manager/nm-pppd-plugin.c
6059 - (nm_ip_up): try harder to get the peer's address
6061 * src/NetworkManagerSystem.c
6062 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6063 address, use that too. Otherwise, some PPP connections won't work.
6065 2008-01-19 Dan Williams <dcbw@redhat.com>
6067 * src/NetworkManagerPolicy.c
6068 - (nm_policy_device_change_check): system connections override user
6069 connections; don't activate a user connection if there's a currently
6070 active system connection, and new, better system connections always
6071 interrupt user connections
6073 2008-01-19 Dan Williams <dcbw@redhat.com>
6076 - (nm_manager_get_connection_type): new function
6078 2008-01-19 Dan Williams <dcbw@redhat.com>
6080 * src/nm-device-802-11-wireless.c
6081 - (real_get_best_connection): collapse find_best_connection() into this
6084 2008-01-19 Dan Williams <dcbw@redhat.com>
6086 * src/nm-device-802-3-ethernet.c
6087 - (real_get_best_connection): collapse find_best_connection() into this
6090 2008-01-18 Dan Williams <dcbw@redhat.com>
6092 * src/nm-device-802-3-ethernet.c
6093 - (find_best_connection): check MAC address too
6094 - (real_get_best_connection): let autoconnect=True connections activate
6095 for devices that don't have carrier detection
6097 * src/nm-device-802-11-wireless.c
6098 - (find_best_connection): check MAC address too
6100 2008-01-18 Dan Williams <dcbw@redhat.com>
6102 * system-settings/plugins/ifcfg/parser.c
6103 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6105 2008-01-17 Dan Williams <dcbw@redhat.com>
6107 * src/nm-device-802-3-ethernet.c
6108 - (nm_device_802_3_ethernet_carrier_on,
6109 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6110 carrier events that might come in for devices that don't support
6113 2008-01-17 Dan Williams <dcbw@redhat.com>
6115 * src/nm-device-interface.c
6116 - (nm_device_interface_check_connection_conflicts): need to actually
6117 get the interface, not cast to the object
6120 - (nm_device_check_connection_conflicts): need to get the device class,
6121 not cast the device to the device class
6123 2008-01-17 Dan Williams <dcbw@redhat.com>
6125 * src/nm-device-802-11-wireless.c
6126 - (real_check_connection_conflicts): ignore connections that aren't
6127 wireless connections
6129 2008-01-17 Dan Williams <dcbw@redhat.com>
6131 * src/NetworkManagerPolicy.c
6132 - (nm_policy_device_change_check): clear change check idle here
6133 - (device_change_check_done): remove
6134 - (schedule_change_check): simplify
6136 2008-01-17 Dan Williams <dcbw@redhat.com>
6139 - (check_connection_allowed): take an NMDeviceInterface instead of
6140 an NMDevice object as an argument
6141 - (nm_manager_activate_device): pass an NMDeviceInterface to
6142 check_connection_allowed()
6144 2008-01-13 Dan Williams <dcbw@redhat.com>
6146 * libnm-glib/nm-device-802-11-wireless.c
6147 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6149 2008-01-12 Dan Williams <dcbw@redhat.com>
6151 * src/nm-device-802-11-wireless.c
6152 - (activation_success_handler): if a match was found in the scan list
6153 and that match is a hidden AP, update that AP's SSID
6155 2008-01-11 Dan Williams <dcbw@redhat.com>
6157 * src/NetworkManagerAP.c
6158 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6160 * src/nm-device-802-11-wireless.c
6161 - (get_active_ap): do two passes over the scan list if the caller
6162 requests that hidden APs get matched too; during the second pass
6163 when matching hidden APs, ignore the SSID since hidden APs in the
6164 scan list don't have an SSID yet
6165 - (periodic_update): move some checks to
6166 nm_device_802_11_periodic_update() because not all callers need them
6167 - (nm_device_802_11_periodic_update): move some checks here from
6169 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6170 matching on incoming scan results, because the fake AP's flags
6171 might be slightly different (yet still compatible) with the incoming
6172 scan result's flags and they might actually be the same AP; update
6173 the rate on merged APs too
6174 - (activation_success_handler): update the frequency of the fake AP
6175 on successful connection; match hidden APs too since if the
6176 current AP is fake, there might already be a scan result in the
6177 scan list for the desired AP, just without it's SSID filled in yet
6179 2008-01-10 Dan Williams <dcbw@redhat.com>
6181 * src/NetworkManagerAP.c
6182 - (foreach_property_cb): catch more hidden SSID formats
6184 2008-01-10 Dan Williams <dcbw@redhat.com>
6186 Fix gnome.org #464215. Requires the kernel patch titled
6187 "Introduce WEXT scan capabilities" but will handle the patch not being
6188 present, you'll just continue to have problems with hidden SSIDs when
6189 using mac80211-based drivers.
6191 * src/supplicant-manager/nm-supplicant-config.h
6192 src/supplicant-manager/nm-supplicant-config.c
6193 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6194 whether the driver supports SSID scans or not. If it does, and if
6195 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6197 * src/nm-device-802-11-wireless.c
6198 - (constructor): check whether or not the driver supports SSID scans
6199 - (build_supplicant_config): pass driver SSID scan capability when
6200 building the wireless bits of the supplicant config
6202 2008-01-09 Dan Williams <dcbw@redhat.com>
6206 - (device_activation_precheck, check_connection_complete): remove this
6207 virtual function; incomplete connections should be invalid by
6208 definition, complete-ness should be checked in the setting's
6211 * src/nm-serial-device.c
6213 - (real_check_connection_complete): remove
6215 * libnm-util/nm-setting-serial.c
6216 - (verify): new function; ensure there is a PPP setting too
6218 * libnm-util/nm-setting-gsm.c
6219 - (verify): ensure there is a serial setting too
6221 2008-01-06 Dan Williams <dcbw@redhat.com>
6223 * src/dhcp-manager/nm-dhcp-manager.c
6224 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6227 2008-01-04 Dan Williams <dcbw@redhat.com>
6229 * src/named-manager/nm-named-manager.c
6230 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6231 nameservers if the secondary config doesn't have any
6234 2008-01-02 Tambet Ingo <tambet@gmail.com>
6236 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6237 with G_PARAM_CONSTRUCT so that they get the default values.
6239 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6240 the monitoring device and prints out the output for now. Or more precicely, doesn't
6241 do absolutely anything right now since the montoring device argument is never set.
6243 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6244 requires it's own knob to turn it on.
6245 (config_fd): Add NMSettingSerial to the arguments list.
6246 (nm_serial_device_open): Ditto.
6247 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6248 (nm_serial_device_get_io_channel): Implement.
6250 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6251 a new reference every time (and forgetting to release it sometimes) is a pain and
6252 it's not like NMManager could work without dbus.
6253 (nm_manager_add_device): Register the added device on dbus here.
6255 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6258 * src/nm-device.c (constructor): Don't export the device here, instead export
6259 it when it's added to the NMManager's device list.
6261 2007-12-31 Dan Williams <dcbw@redhat.com>
6263 * src/nm-device-interface.c
6264 src/nm-device-interface.h
6265 - (nm_device_interface_check_connection_conflicts): new function
6269 - (nm_device_check_connection_conflicts): new function
6270 - (device_activation_precheck): don't require subclasses to implement
6271 check_connection_complete()
6272 - check_connection() -> check_connection_complete()
6274 * src/nm-device-802-11-wireless.c
6275 - (real_check_connection): remove; unused
6276 - (real_check_connection_conflicts): implement, handle lockdown for
6279 * src/nm-device-802-3-ethernet.c
6280 - (real_check_connection): remove; unused
6283 - (check_connection_allowed): new function
6284 - (nm_manager_activate_device): ensure the connection being requested
6285 is allowed to be activated
6287 * src/nm-serial-device.c
6289 - real_check_connection() -> real_check_connection_complete()
6291 2007-12-27 Dan Williams <dcbw@redhat.com>
6293 * src/nm-device-interface.c
6294 src/nm-device-interface.h
6295 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6296 normalize and expand errors
6297 - (nm_device_interface_init): register errors so they can be marshalled
6299 - (nm_device_interface_activate): ensure that failure of activation
6304 - (device_activation_precheck): implementations of check_connection()
6305 now take a GError and must fill it in if the check fails. Return
6306 more descriptive error if the requested connection is already
6308 - (nm_device_activate): actually try to return descriptive errors on
6311 * src/nm-device-802-11-wireless.c
6312 src/nm-device-802-3-ethernet.c
6313 src/nm-serial-device.c
6315 - (real_check_connection): return more descriptive errors on failure
6317 * src/NetworkManagerPolicy.c
6318 - (nm_policy_device_change_check): print activation errors in the logs
6321 - (nm_manager_error_quark, nm_manager_error_get_type,
6322 nm_manager_class_init): new errors
6323 - (nm_manager_activate_device): handle errors
6324 - (nm_manager_error_new): removed
6325 - (wait_for_connection_expired, connection_added_default_handler,
6326 impl_manager_activate_device): better error handling
6328 2007-12-27 Dan Williams <dcbw@redhat.com>
6330 Fixes gnome.org #466954
6332 * src/supplicant-manager/nm-supplicant-settings-verify.c
6333 - Allow 'frequency' network property
6335 * src/supplicant-manager/nm-supplicant-config.c
6336 src/supplicant-manager/nm-supplicant-config.h
6337 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6338 for callers to specify the frequency an Ad-Hoc network should operate
6339 on. Some drivers require this to successfully create an Ad-Hoc
6342 * src/nm-device-802-11-wireless.c
6343 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6344 guint32 value in MHz
6345 - (constructor, nm_device_802_11_wireless_get_frequency): use
6347 - (find_supported_frequency): new function; find a free supported
6348 frequency for a user-created Ad-Hoc network
6349 - (build_supplicant_config): if no frequency was specified for a user-
6350 created Ad-Hoc network, find a free one to use
6351 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6352 a specific object as user-created
6354 2007-12-27 Dan Williams <dcbw@redhat.com>
6356 * libnm-util/nm-utils.c
6357 libnm-util/nm-utils.h
6358 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6361 2007-12-24 Dan Williams <dcbw@redhat.com>
6363 * libnm-util/nm-setting-wireless.c
6364 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6365 185, 187, 188, 192, and 196
6367 2007-12-24 Dan Williams <dcbw@redhat.com>
6369 * src/nm-device-802-11-wireless.c
6370 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6371 a channel # instead of a frequency
6373 2007-12-24 Dan Williams <dcbw@redhat.com>
6375 * src/NetworkManagerAP.c
6376 src/NetworkManagerAP.h
6377 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6378 - (freq_to_channel): handle split band tables
6379 - (channel_to_freq): handle split band tables, take a band argument
6381 2007-12-24 Dan Williams <dcbw@redhat.com>
6383 * libnm-util/nm-setting-connection.h
6384 libnm-util/nm-setting-connection.c
6385 - Add 'lockdown' member
6387 2007-12-22 Dan Williams <dcbw@redhat.com>
6389 * libnm-util/nm-setting-wireless.c
6390 - (nm_setting_wireless_class_init): add missing 'rate' property
6393 2007-12-18 Dan Williams <dcbw@redhat.com>
6395 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6397 * src/nm-netlink-monitor.c
6398 src/nm-netlink-monitor.h
6399 - Remove handrolled netlink, use libnl instead
6401 * src/nm-device-802-3-ethernet.c
6402 - (constructor, nm_device_802_3_ethernet_carrier_off,
6403 nm_device_802_3_ethernet_carrier_on): use new names
6405 2007-12-17 Dan Williams <dcbw@redhat.com>
6408 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6409 and fixes memory leaks)
6412 - (nm_netlink_get_default_handle): handle new versions of libnl that
6413 automatically handle the netlink PID
6415 2007-12-17 Dan Williams <dcbw@redhat.com>
6417 Patch from Michael Biebl <biebl@debian.org>
6420 src/ppp-manager/Makefile.am
6421 - fix up install dir of pppd plugin
6422 - clean up configure.in a bit
6424 2007-12-12 Dan Williams <dcbw@redhat.com>
6426 * system-settings/src/nm-system-settings.conf
6427 - Allow non-root clients (like the applet) to read settings
6429 2007-12-10 Tambet Ingo <tambet@gmail.com>
6431 * Replace all occurences of 'UMTS' with 'GSM'.
6433 2007-12-07 Dan Williams <dcbw@redhat.com>
6435 * src/nm-serial-device.c
6436 - (real_is_up): serial devices are always "up"
6438 2007-12-07 Dan Williams <dcbw@redhat.com>
6441 src/NetworkManagerSystem.c
6442 - (new_nl_handle): ensure that the same netlink pid is never chosen
6443 twice (gnome.org #491047)
6444 - Make more robust against allocation-related failures should they occur
6446 2007-12-07 Dan Williams <dcbw@redhat.com>
6448 Noticed by Christian Persch <chpe@gnome.org>
6450 Always chain up to parent object in dispose and finalize handlers.
6453 2007-12-07 Dan Williams <dcbw@redhat.com>
6455 * src/nm-device-802-11-wireless.c
6456 - Wrap #include of linux/mii.h to fix redefined structures due to
6457 incorrect kernel headers (gnome.org #350061)
6459 2007-12-06 Tambet Ingo <tambet@gmail.com>
6461 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6462 before doing anything else.
6463 (init_modem): Move modem initialization here.
6465 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6466 (nm_serial_device_flash): Implement.
6468 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6469 changes signal is "StateChanged" and not "Status".
6470 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6472 2007-12-06 Dan Williams <dcbw@redhat.com>
6474 * src/supplicant-manager/nm-supplicant-config.c
6475 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6476 to only send some options when they make sense; also send phase2
6477 option to the supplicant (possible fix for rh #399631)
6479 2007-12-06 Tambet Ingo <tambet@gmail.com>
6481 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6482 arguments: This whole file shouldn't really know anything about NMDevices, it
6483 should deal only with device interfaces. Devices might have different ifaces for
6484 different stuff and this place shouldn't know anything about it.
6486 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6487 (global_state_changed): Implement. In the current NM it's not really important,
6488 but will be required in the case of multiple active devices. (Or even better,
6489 if stuff like that gets moved out from NM).
6491 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6492 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6495 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6496 devices like serial devices (ttyS0 and ppp0 for example).
6497 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6499 (nm_device_set_ip_iface): Implement.
6500 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6501 after setting ip4_config from here ...
6502 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6503 than this function should call nm_system_device_set_from_ip4_config() because no
6504 other code has enough information on which arguments to use. So instead, other code
6505 could just set the new ip4 config using this function and everyone is happy.
6507 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6508 if we happen to get deactivated while something is pending.
6509 (automatic_registration): Handle the response that indicates pending network
6510 registration and wait until the pending registration is done.
6511 (real_deactivate_quickly): If there's a pending operation, cancel it.
6513 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6514 (real_deactivate_quickly): ... and remove it when it's down.
6515 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6517 (nm_serial_device_wait_for_reply): Ditto.
6519 2007-12-05 Tambet Ingo <tambet@gmail.com>
6521 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6522 (get_network_done): Remove newline, nm_info() does it already.
6523 (real_act_stage1_prepare): Turn the modem echo off.
6525 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6526 device, set the route to the device interface. This is a hack.
6528 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6529 return, no need for a new-line.
6530 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6531 Change the device iface here (ugh).
6532 (real_act_stage4_get_ip4_config): Implement.
6533 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6534 Restore the device iface.
6536 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6537 device is not wired or wireless (eg, automatically upped) device.
6539 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6541 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6543 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6544 before calling it's is_device_fn().
6546 2007-12-05 Dan Williams <dcbw@redhat.com>
6548 * libnm-util/nm-utils.c
6549 - (nm_utils_register_value_transformations,
6550 nm_utils_convert_gvalue_hash_to_string): better debug output of
6551 GHashTables of GValues too
6553 2007-12-04 Dan Williams <dcbw@redhat.com>
6555 * initscript/RedHat/NetworkManager.in
6556 - No longer start named; it's D-Bus interface is going away
6558 2007-12-04 Dan Williams <dcbw@redhat.com>
6560 Patch from Michael Biebl <biebl@debian.org>
6562 * system-settings/plugins/ifcfg/Makefile.am
6563 system-settings/src/main.c
6564 system-settings/src/Makefile.am
6565 - Put system settings plugins in NM plugins dir
6567 * src/ppp-manager/Makefile.am
6568 src/ppp-manager/nm-ppp-manager.c
6569 - Move pppd plugin to NM plugins dir
6571 2007-12-04 Dan Williams <dcbw@redhat.com>
6573 * libnm-util/nm-setting-vpn-properties.h
6574 - Clarify usage of the 'data' member of the setting
6576 * libnm-util/nm-setting-vpn-properties.c
6577 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6578 - (set_property): just remove all the settings; don't recreate the has
6579 - (update_one_secret): don't need to create the hash table here since
6580 it should always be present
6582 2007-12-03 Tambet Ingo <tambet@gmail.com>
6584 Implement PIN and PUK requesting.
6586 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6587 (enter_pin): Handle PIN and PUK requests.
6588 (real_act_stage1_prepare): Clear the secret type.
6589 (real_connection_secrets_updated): Implement this class method to get
6590 notified when new secrets arrive.
6591 (nm_umts_device_class_init): Add private data back to the umts device class
6592 to store the required secret type.
6594 2007-12-01 Dan Williams <dcbw@redhat.com>
6596 * system-settings/plugins/ifcfg/parser.c
6597 - (parser_parse_file): don't try to verify NULL connections
6599 2007-12-01 Dan Williams <dcbw@redhat.com>
6601 * system-settings/src/main.c
6602 - (load_connections, add_connection_to_settings): actually export
6603 plugin-provided connections over D-Bus so NM can get them
6605 2007-12-01 Dan Williams <dcbw@redhat.com>
6607 * system-settings/plugins/ifcfg/parser.c
6608 system-settings/plugins/ifcfg/parser.h
6609 system-settings/plugins/ifcfg/plugin.c
6610 - Hook up more inotify bits (untested)
6612 2007-11-29 Dan Williams <dcbw@redhat.com>
6614 * system-settings/src/nm-system-config-interface.h
6615 system-settings/src/nm-system-config-interface.c
6616 - (nm_system_config_interface_init,
6617 nm_system_config_interface_get_connections): add
6619 * system-settings/src/main.c
6620 - (load_plugins, load_connections, main): use a GSList for plugins
6621 to ensure priority ordering
6623 * system-settings/plugins/ifcfg/parser.c
6624 - (ifcfg_error_quark): move to plugin.c, and rename
6626 * system-settings/plugins/ifcfg/plugin.h
6627 system-settings/plugins/ifcfg/plugin.c
6628 - (ifcfg_plugin_error_quark): move here from parser.c
6629 - rework connection loading and initialization
6630 - Add preliminary inotify support for network profile config file
6632 2007-11-28 Tambet Ingo <tambet@gmail.com>
6634 Merge the beginnings of the new GSM card support.
6636 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6637 ppp watch source before killing pppd - If this happens from g_object_unref()
6638 then the ppp manager is already destroyed by the time the watch callback runs.
6640 * src/nm-hal-manager.c: Add a device_type_name string to the device
6641 creators, so that we can print a nice human readable string when a
6644 * src/nm-umts-device.c (automatic_registration_get_network): Query
6645 for the activated network, not much is done with the result thought.
6647 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6648 (ppp_ip4_config): Change the device state to activated here for now.
6649 (real_check_connection): Make sure the connection includes ppp setting.
6651 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6653 * libnm-glib/Makefile.am: Add the new files to build.
6655 * libnm-glib/nm-umts-device.c:
6656 * libnm-glib/nm-umts-device.h: Implement.
6658 2007-11-26 Tambet Ingo <tambet@gmail.com>
6660 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6661 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6663 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6664 the timeout source - this function is only called when the timeout source has
6666 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6667 to be big enough to contain the terminating zero element as well.
6668 The timeout argument is meant to be in seconds now.
6669 (real_deactivate_quickly): Implement.
6671 * src/NetworkManager.conf: Allow root to own
6672 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6674 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6675 (not unsigned ints).
6677 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6678 small issue with parity bounds - capital letters have lower ascii codes
6679 than lower case letters.
6681 * libnm-util/nm-connection.c (register_default_settings): Register serial
6684 2007-11-22 Tambet Ingo <tambet@gmail.com>
6686 Remove the "index" property from devices as not all device types have this.
6688 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6690 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6691 (wired_device_creator): Get the device interface from hal to create the device.
6692 (wireless_device_creator): Ditto.
6694 * src/nm-device.c (nm_device_init): Remove the index member.
6695 (constructor): Remove the checks for index property, make interface property
6696 a require constructor property.
6697 Use the HAL udi for DBus path for devices.
6698 (nm_device_get_index): Remove.
6699 (set_property): Remove index handling.
6700 (get_property): Ditto.
6701 (nm_device_get_dbus_path): Remove.
6703 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6706 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6707 Access the device index through it's interface.
6708 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6709 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6710 index argument. Add interface argument.
6712 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6713 the useless test_dev argument. Remove index argument. Add interface arugment.
6715 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6716 device index through interface.
6717 (nm_system_set_mtu): Ditto.
6719 * introspection/nm-device.xml: Remove the "Index" property.
6721 2007-11-21 Tambet Ingo <tambet@gmail.com>
6723 * src/nm-serial-device.c:
6724 * src/nm-serial-device.c:
6725 * src/nm-umts-device.c:
6726 * src/nm-umts-device.h: Implement.
6728 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6729 allocated by libhal.
6730 (modem_device_creator): Implement.
6731 (register_built_in_creators): Register the modem creator.
6733 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6734 Remove the unused test_dev argument.
6736 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6738 * src/Makefile.am: Add new files to build.
6739 Link in ppp-manager.
6741 * libnm-util/nm-setting-umts.c:
6742 * libnm-util/nm-setting-umts.h:
6743 * libnm-util/nm-setting-serial.c:
6744 * libnm-util/nm-setting-serial.h: Implement.
6746 * libnm-util/Makefile.am: Add new files to build.
6748 2007-11-28 Dan Williams <dcbw@redhat.com>
6750 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6752 Support DHCP-provided static routes.
6754 * src/nm-ip4-config.h
6756 - Add get/set functions for static routes
6758 * src/dhcp-manager/nm-dhcp-manager.c
6759 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6762 * src/NetworkManagerSystem.c
6763 - (nm_system_device_set_from_ip4_config): set any static routes on the
6764 interface when applying the IP4Config
6766 2007-11-28 Dan Williams <dcbw@redhat.com>
6768 * src/nm-device-802-11-wireless.c
6769 - (real_act_stage1_prepare): mark APs created for hidden networks
6772 2007-11-27 Dan Williams <dcbw@redhat.com>
6774 * system-settings/src/nm-system-config-interface.h
6775 - Note how to store secrets on NMSetting objects
6777 * system-settings/src/dbus-settings.c
6778 - (connection_settings_get_secrets): implement
6780 2007-11-27 Dan Williams <dcbw@redhat.com>
6782 * system-settings/plugins/ifcfg/Makefile.am
6783 system-settings/plugins/ifcfg/parser.c
6784 system-settings/plugins/ifcfg/parser.h
6785 system-settings/plugins/ifcfg/plugin.c
6786 - Parse wireless connections too
6788 * system-settings/src/dbus-settings.c
6789 system-settings/src/dbus-settings.h
6790 system-settings/src/main.c
6791 - Handle connection update/removal if the plugin supports it
6793 2007-11-27 Dan Williams <dcbw@redhat.com>
6795 * src/nm-dbus-manager.h
6796 src/nm-hal-manager.c
6797 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6801 src/NetworkManagerDbusUtils.c
6802 src/NetworkManagerDbusUtils.h
6803 - Remove these two source files; they are unused
6805 2007-11-27 Dan Williams <dcbw@redhat.com>
6807 * src/vpn-manager/nm-vpn-manager.c
6808 - (impl_vpn_manager_connect): fix system settings check (found by
6811 2007-11-26 Dan Williams <dcbw@redhat.com>
6813 * Fix warnings so everything compiles with --enable-more-warnings
6815 2007-11-25 Dan Williams <dcbw@redhat.com>
6818 - Rework structure and code to use GModule-loaded plugins and a plugin
6819 interface that plugins export to the system settings service
6821 2007-11-21 Dan Williams <dcbw@redhat.com>
6824 - Add Soren's system settings service. Needs work for distros other
6825 than Fedora; the backends from NM should mostly migrate to here
6826 and be converted to GObjects
6828 2007-11-21 Dan Williams <dcbw@redhat.com>
6830 * libnm-util/nm-setting-vpn-properties.c
6831 - (set_property): must deep-copy the given settings hash, otherwise
6832 double-free errors occur when the setting is disposed of
6834 2007-11-21 Dan Williams <dcbw@redhat.com>
6836 * src/vpn-manager/nm-vpn-act-request.h
6837 src/vpn-manager/nm-vpn-act-request.c
6840 2007-11-20 Dan Williams <dcbw@redhat.com>
6842 * libnm-util/nm-utils.c
6843 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6844 nm_utils_convert_ip4_addr_struct_array_to_string,
6845 nm_utils_register_value_transformations): print out the readable
6846 values of more types of properties of NMSettings subclasses
6848 2007-11-20 Dan Williams <dcbw@redhat.com>
6850 * libnm-util/nm-setting-ip4-config.c
6851 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6852 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6853 marshal GValueArrays inside collections, so switch to types that it
6854 can actually marshal/demarshal
6856 2007-11-16 Dan Williams <dcbw@redhat.com>
6858 * libnm-util/nm-setting-wireless-security.c
6859 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6860 minimal verification of EAP methods too
6861 - (verify): verify phase1 eap methods too
6863 2007-11-15 Dan Williams <dcbw@redhat.com>
6865 * libnm-glib/nm-device.h
6866 libnm-glib/nm-device.c
6867 - (nm_device_get_product, nm_device_get_vendor): should be returning
6870 2007-11-15 Dan Williams <dcbw@redhat.com>
6872 * libnm-glib/nm-device.c
6873 - (get_product_and_vendor): don't try to free things that should be
6876 2007-11-15 Dan Williams <dcbw@redhat.com>
6878 * src/NetworkManagerUtils.c
6879 - (nm_ethernet_address_is_valid): unbreak previous fix
6881 2007-11-15 Dan Williams <dcbw@redhat.com>
6883 * src/supplicant-manager/nm-supplicant-config.c
6884 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6887 2007-11-15 Dan Williams <dcbw@redhat.com>
6889 * src/NetworkManagerUtils.c
6890 - (nm_ethernet_address_is_valid): fix style, clarify
6891 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6893 * src/nm-device-802-11-wireless.c
6894 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6895 - (nm_device_802_11_wireless_get_ssid,
6896 nm_device_802_11_wireless_get_bssid,
6897 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6898 before calling the ioctl; fixes valgrind-reported jump depends on
6899 uninitialized value errors
6901 2007-11-15 Dan Williams <dcbw@redhat.com>
6903 * libnm-util/nm-setting.c
6904 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6905 unecessary to serialize 'name'
6907 * src/nm-activation-request.c
6908 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6911 2007-11-15 Dan Williams <dcbw@redhat.com>
6913 * libnm-util/nm-setting-connection.h
6914 libnm-util/nm-setting-connection.c
6915 - Rename the 'name' property to 'id', because it conflicted with the
6916 NMSetting superclass' 'name' property.
6918 * libnm-util/nm-setting.c
6919 - (nm_setting_to_hash): serialize the 'name' property
6920 - (one_property_cb): ignore 'name' on deserialization of a connection
6922 * src/nm-device-802-11-wireless.c
6923 src/vpn-manager/nm-vpn-connection.c
6924 src/NetworkManagerPolicy.c
6925 - Fix up for NMSettingConnection 'name'->'id' changes
6927 2007-11-13 Dan Williams <dcbw@redhat.com>
6929 * libnm-glib/nm-device-802-11-wireless.h
6930 libnm-glib/nm-device-802-11-wireless.c
6931 - (nm_device_802_11_wireless_get_hw_address): return should be const
6934 libnm-glib/libnm-glib-test.c
6935 - Fixes for above change
6937 2007-11-12 Dan Williams <dcbw@redhat.com>
6939 * src/supplicant-manager/nm-supplicant-settings-verify.c
6940 - Allow fragment_size option
6942 * src/supplicant-manager/nm-supplicant-settings-verify.c
6943 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6944 EAP fragment size than the default to help some TLS connections
6946 2007-11-12 Dan Williams <dcbw@redhat.com>
6948 Make certs actually work. The private key is now a secret, and should be
6949 decrypted when requested by NM. The private key and phase2 private key
6950 passwords are no longer interesting to NM because they should be used by
6951 the settings service to decrypt the private key itself before passing it
6952 to NM, and hence have been removed as fields.
6954 * libnm-util/nm-setting-wireless-security.h
6955 libnm-util/nm-setting-wireless-security.c
6956 - Remove private-key-passwd and phase2-private-key-passwd from
6958 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6959 need_secrets): use property #defines instead strings to keep things
6961 - (need_secrets_tls): if a client certificate is present but no
6962 private key, request the private key
6963 - (set_property, get_property, nm_setting_wireless_security_class_init):
6964 remove private key password stuff, mark private keys as secret
6966 * src/supplicant-manager/nm-supplicant-settings-verify.c
6967 - Remove private_key_passwd and private_key2_passwd from opt_table
6969 2007-11-09 Dan Williams <dcbw@redhat.com>
6971 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6972 Since the vpn-properties are managed and known by the VPN daemons themselves,
6973 libnm-util doesn't know what's secret and what's in the setting's 'data'
6976 * libnm-util/nm-setting.h
6977 libnm-util/nm-setting.c
6978 - Add the ability for subclasses to override update_one_secret
6980 * libnm-util/nm-setting-vpn-properties.c
6981 - Override update_one_secret and just copy the values into the
6984 2007-11-09 Dan Williams <dcbw@redhat.com>
6986 * libnm-glib/nm-settings.h
6987 libnm-glib/nm-settings.c
6988 - (nm_settings_new_error): remove
6989 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6990 clients should use g_set_error() with NM_SETTINGS_ERROR
6992 2007-11-09 Dan Williams <dcbw@redhat.com>
6994 * src/supplicant-manager/nm-supplicant-config.c
6995 - (nm_supplicant_config_add_setting_wireless_security): private key
6996 passwords are never sent to wpa_supplicant, because the supplicant
6997 should never be reading random files from the disk. Clients like
6998 the applet are required to decrypt the private keys and send NM
6999 the decrypted blobs.
7001 2007-11-08 Dan Williams <dcbw@redhat.com>
7003 * libnm-util/nm-setting-wireless-security.h
7004 libnm-util/nm-setting-wireless-security.c
7005 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
7006 members to 802-11-wireless-security structure. This should be used
7007 to indicate that the values in private-key and phase2-private-key
7008 are already decrypted by the user agent, and that no
7009 private-key-passwd or phase2-private-key-passwd should be expected.
7010 It is not meant to be a stored configuration value, but meant to
7011 be set when the conneciton is sent to NM over dbus.
7013 2007-11-08 Dan Williams <dcbw@redhat.com>
7015 * libnm-util/nm-connection.h
7016 libnm-util/nm-connection.c
7017 - (nm_connection_need_secrets): add argument to return hints
7019 * src/nm-device-802-11-wireless.c
7020 - (link_timeout_cb, supplicant_connection_timeout_cb,
7021 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
7022 nm_connection_need_secrets() change
7024 2007-11-07 Tambet Ingo <tambet@gmail.com>
7026 Rework NMSetting structures: Move each setting to it's own file.
7027 Convert to GObject. Remove home grown setting types and use GTypes.
7028 Use GObject property introspection for hash conversion, enumerating
7031 * libnm-util/nm-setting-connection.[ch]
7032 * libnm-util/nm-setting-ip4-config.[ch]
7033 * libnm-util/nm-setting-ppp.[ch]
7034 * libnm-util/nm-setting-vpn.[ch]
7035 * libnm-util/nm-setting-vpn-properties.[ch]
7036 * libnm-util/nm-setting-wired.[ch]
7037 * libnm-util/nm-setting-wireless.[ch]
7038 * libnm-util/nm-setting-wireless-security.[ch]
7040 New files, each containing a setting.
7042 * libnm-util/nm-setting-template.[ch]: A template for creating new
7043 settings. To use it, just replace 'template' with the new setting
7044 name, and you're half-way done.
7046 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7047 introspection instead of internal types and tables.
7049 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7051 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7052 GValue types defined by dbus-glib for composed types like collections,
7053 structures and maps.
7055 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7056 a setting from connection takes the setting type now. Also, since
7057 the settings are in multiple files, include relevant settings.
7059 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7062 * src/backends/NetworkManagerGentoo.c:
7063 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7064 providers in Gentoo.
7066 2007-10-31 Dan Williams <dcbw@redhat.com>
7068 * libnm-util/nm-connection.c
7069 - (gvalue_to_string): handle UINT32 arrays
7071 2007-10-31 Dan Williams <dcbw@redhat.com>
7073 * libnm-glib/nm-device.h
7074 libnm-glib/nm-device.c
7075 - (nm_device_get_description): remove
7076 - (nm_device_get_product, nm_device_get_vendor): add
7077 - (nm_device_update_description): new function (private); walk HAL
7078 devices to get product and vendor IDs for a specific device
7080 2007-10-31 Dan Williams <dcbw@redhat.com>
7082 * src/nm-device-802-11-wireless.c
7083 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7085 2007-10-29 Dan Williams <dcbw@redhat.com>
7087 * src/nm-hal-manager.c
7088 - (device_added, device_new_capability): ignore device additions while
7089 asleep. Fixes crash caused when NM goes to sleep, a network device
7090 kernel module is unloaded and reloaded and recognized by NM again.
7092 2007-10-26 Dan Williams <dcbw@redhat.com>
7094 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7096 * src/NetworkManagerAP.c
7097 src/NetworkManagerAP.h
7098 libnm-glib/nm-access-point.c
7099 libnm-glib/nm-access-point.h
7100 - Make 'rate' property a guint32 to better match with WEXT and
7101 wpa_supplicant and to allow representation of higher bitrates
7103 * src/nm-device-802-11-wireless.c
7104 introspection/nm-device-802-11-wireless.xml
7105 libnm-glib/nm-device-802-11-wireless.c
7106 libnm-glib/nm-device-802-11-wireless.h
7107 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7109 * src/nm-device-802-3-ethernet.c
7110 src/nm-device-802-3-ethernet.h
7111 introspection/nm-device-802-3-ethernet.xml
7112 libnm-glib/nm-device-802-3-ethernet.c
7113 libnm-glib/nm-device-802-3-ethernet.h
7114 - Make 'speed' property a guint32 to match other speed/rate types
7115 - Make nm_device_802_3_ethernet_get_speed() static
7118 - Update for the changes above
7120 2007-10-26 Dan Williams <dcbw@redhat.com>
7122 * src/named-manager/nm-named-manager.c
7123 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7124 not calling fclose() twice on some error conditions
7126 2007-10-26 Dan Williams <dcbw@redhat.com>
7128 * src/nm-activation-request.c
7129 - (dispose): clean up indentation; get the right DBusGProxy object to
7130 cancel the GetSecrets pending call on. Need to use the Secrets
7131 proxy, not the regular connection proxy. Otherwise the GetSecrets
7132 pending call doesn't get canceled, and pressing Cancel in the
7133 applet's password dialog could cause get_secrets_cb() to be called
7134 after the activation request has already been destroyed
7136 2007-10-24 Dan Williams <dcbw@redhat.com>
7138 * src/supplicant-manager/nm-supplicant-config.c
7139 - (nm_supplicant_config_add_blob): pass blob data and length for
7141 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7143 2007-10-24 Dan Williams <dcbw@redhat.com>
7145 * src/supplicant-manager/nm-supplicant-settings-verify.c
7146 - (opt_table): max length for certificates should be 65536
7148 2007-10-24 Dan Williams <dcbw@redhat.com>
7150 * src/supplicant-manager/nm-supplicant-interface.c
7151 - (blob_free): correctly free blob data after use
7152 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7154 2007-10-24 Dan Williams <dcbw@redhat.com>
7156 * libnm-util/nm-setting.c
7157 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7158 EAP method need secrets
7160 2007-10-24 Dan Williams <dcbw@redhat.com>
7162 * src/backends/NetworkManagerRedHat.c
7163 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7165 2007-10-23 Dan Williams <dcbw@redhat.com>
7167 * libnm-util/nm-setting.c
7168 libnm-util/nm-setting.c
7169 - (nm_setting_compare): implement
7170 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7171 compare_one_hash_gvalue): compare the contents of a setting
7173 * libnm-util/nm-connection.c
7174 - (nm_connection_compare): implement
7176 2007-10-23 Dan Williams <dcbw@redhat.com>
7178 * src/nm-activation-request.c
7179 - (get_secrets_cb): handle getting a setting back that is more than
7180 just secrets (ie, user changed auth or EAP method or something)
7182 2007-10-23 Dan Williams <dcbw@redhat.com>
7184 * libnm-util/nm-setting.c
7185 libnm-util/nm-setting.h
7186 - (nm_setting_verify): new function; verify one setting
7187 - (nm_settings_verify_all): rename from nm_settings_verify()
7188 - (setting_connection_verify, setting_wireless_verify): allow NULL
7191 * libnm-util/nm-connection.c
7192 - (nm_connection_replace_settings, nm_connection_verify,
7193 nm_connection_new_from_hash): handle nm_settings_verify() rename
7195 2007-10-23 Dan Williams <dcbw@redhat.com>
7197 * src/nm-device-802-11-wireless.c
7198 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7201 2007-10-23 Dan Williams <dcbw@redhat.com>
7203 * src/supplicant-manager/nm-supplicant-settings-verify.c
7204 - eap_allowed, phase2_allowed: harmonize with allowed values from
7207 2007-10-23 Dan Williams <dcbw@redhat.com>
7209 * src/nm-device-802-11-wireless.c
7210 - (real_act_stage2_config): after the first association failure,
7211 if the connection still needs secrets ask the user for them
7212 explicitly. After the fourth association failure due to bad
7213 secrets, fail the connection entirely. Handles the GetSecrets
7214 loop that NM gets into when the provided secrets don't match up
7215 with the connection details.
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): only add
7221 WPA-specific options when WPA is in use
7223 2007-10-23 Dan Williams <dcbw@redhat.com>
7225 * src/supplicant-manager/nm-supplicant-config.c
7226 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7227 secret doesn't need to be unhexified
7229 2007-10-23 Dan Williams <dcbw@redhat.com>
7231 * libnm-util/nm-setting.c
7232 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7233 before trying to do something with it
7235 2007-10-23 Dan Williams <dcbw@redhat.com>
7237 * src/nm-device-802-11-wireless.c
7238 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7240 2007-10-23 Dan Williams <dcbw@redhat.com>
7242 * src/nm-device-802-11-wireless.c
7243 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7244 non-SSID-broadcasting APs
7246 2007-10-23 Dan Williams <dcbw@redhat.com>
7248 * src/NetworkManagerAP.c
7249 - (match_cipher, security_compatible): remove
7250 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7253 2007-10-23 Dan Williams <dcbw@redhat.com>
7255 * libnm-util/nm-utils.c
7256 libnm-util/nm-utils.h
7257 - (nm_utils_ap_security_compatible): common function for checking
7258 whether a specific AP is compatible with an NMConnection
7260 2007-10-23 Dan Williams <dcbw@redhat.com>
7262 * libnm-util/nm-setting.c
7263 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7264 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7265 need_secrets_password, setting_wireless_security_verify): fix
7266 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7267 secrets logic for each supported EAP method
7269 2007-10-23 Dan Williams <dcbw@redhat.com>
7271 * src/supplicant-manager/nm-supplicant-config.c
7272 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7273 config option name, should be "private_key2_passwd"
7275 2007-10-22 Tambet Ingo <tambet@gmail.com>
7277 Implement support for static IP addresses, additional/overridden DNS and
7278 DNS domain search lists.
7280 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7281 (ip4_addresses_to_gvalue): Implement.
7282 (convert_array_to_byte_array): Implement.
7283 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7284 NM_S_TYPE_IP4_ADDRESSES.
7285 (nm_setting_hash): Ditto.
7286 (default_setting_clear_secrets): Add a default case for the switch: IP address
7287 shouldn't be secret, ever.
7288 (setting_ip4_config_verify): Update, requires addresses in case of manual
7290 (setting_ip4_config_destroy): Free stuff.
7292 * src/nm-device.c (merge_ip4_config): Implement.
7293 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7295 2007-10-22 Dan Williams <dcbw@redhat.com>
7297 * libnm-util/nm-setting.c
7298 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7299 pairwise cipher options for Dynamic WEP
7301 2007-10-21 Dan Williams <dcbw@redhat.com>
7303 * src/NetworkManagerAP.c
7304 src/NetworkManagerAP.h
7305 - Rename 'articifical' -> 'fake' since that's what they are until
7307 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7308 from the attributes in an NMConnection object
7309 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7311 - (nm_ap_match_in_list): find a matching AP in a scan list
7313 * src/nm-device-802-11-wireless.c
7314 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7315 AP when searching the scan list; match on frequency and mode too
7316 - (nm_device_802_11_wireless_get_frequency): implement
7317 - (merge_scanned_ap): replace duplicate matching logic with
7318 nm_ap_match_in_list()
7319 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7320 the user is trying to connect to a hidden network that is not yet
7321 known from the scan list
7322 - (activation_success_handler): now that the card knows the AP's BSSID,
7323 there may already be a scanned AP in the scan list that is what
7324 we really wanted to connect to, but didn't know at the time. Use
7325 that instead of the 'fake' AP created at activation start and get
7326 rid of the 'fake' AP
7327 - (cull_scan_list): don't remove fake APs
7329 2007-10-21 Dan Williams <dcbw@redhat.com>
7331 * src/nm-activation-request.h
7332 src/nm-activation-request.c
7333 - (nm_act_request_set_specific_object): new function; allow setting the
7334 specific object if one isn't set yet
7336 2007-10-20 Dan Williams <dcbw@redhat.com>
7338 * src/supplicant-manager/nm-supplicant-config.h
7339 src/supplicant-manager/nm-supplicant-config.c
7340 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7341 table to store blobs
7342 - (nm_supplicant_config_add_blob): new function; add blob to internal
7344 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7345 - (nm_supplicant_config_add_setting_wireless_security): handle
7346 options that use certificates (ie, blobs)
7348 * src/nm-device-802-11-wireless.c
7349 - (build_supplicant_config): pass a UID (just use the connection path)
7350 to the supplicant config as now required
7352 * src/supplicant-manager/nm-supplicant-interface.c
7353 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7354 there are any blobs to send to wpa_supplicant, send those first
7355 before sending the network configuration
7357 2007-10-19 Dan Williams <dcbw@redhat.com>
7359 Split the GetSecrets() call off to a separate D-Bus interface so that it
7360 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7361 should be able to call GetSecrets().
7363 * include/NetworkManager.h
7364 - Define the connection secrets D-Bus interface
7366 * src/vpn-manager/nm-vpn-connection.c
7367 - (clear_need_auth): get the right proxy object for the connection
7369 - (get_connection_secrets): use the connection secrets proxy; send
7370 empty hints in get secrets request
7372 * src/nm-activation-request.c
7373 - (nm_act_request_request_connection_secrets): use the connection
7374 secrets proxy; send empty hints in get secrets request
7378 - (connection_get_settings_cb): set the connection secrets proxy on
7379 the connection object too
7380 - (internal_new_connection_cb): create the connection secrets proxy
7382 * introspection/nm-settings-connection.xml
7383 - Define Connection.Secrets interface and move GetSecrets there
7384 - Add a 'hints' argument to GetSecrets
7386 * libnm-glib/nm-settings.c
7387 libnm-glib/nm-settings.h
7388 - (impl_connection_settings_get_secrets): add 'hints' argument
7390 2007-10-19 Dan Williams <dcbw@redhat.com>
7393 - (constructor): add message about what path a device is exported as
7394 to help in debugging rh #339011
7396 2007-10-17 Dan Williams <dcbw@redhat.com>
7398 * libnm-util/nm-utils.h
7399 libnm-util/nm-utils.c
7400 - (nm_utils_security_valid): common function to help find the intersection
7401 of capabilities of devices and (optionally) access points
7403 2007-10-17 Dan Williams <dcbw@redhat.com>
7405 * src/nm-device-802-11-wireless.c
7406 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7407 don't get erroneously cleared
7409 2007-10-17 Dan Williams <dcbw@redhat.com>
7413 src/nm-hal-manager.c
7414 - (device_removed, finalize, nm_manager_remove_device,
7415 nm_manager_sleep): add a 'deactivate' argument to
7416 nm_manager_remove_device() to fully deactivate devices when necessary
7417 (ie, always except when waking up)
7419 2007-10-16 Dan Williams <dcbw@redhat.com>
7421 * libnm-util/nm-setting.c
7422 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7423 also isn't valid phase2 autheap method
7425 2007-10-16 Dan Williams <dcbw@redhat.com>
7427 * libnm-glib/nm-client.c
7428 - (update_wireless_status): consolidate updates of wireless status
7429 - (constructor): use update_wireless_status()
7430 - (manager_running): set wireless status off when NM goes away; requery
7431 the wireless status when NM comes back
7433 2007-10-16 Dan Williams <dcbw@redhat.com>
7435 * libnm-glib/nm-client.c
7436 - (nm_client_activate_device): actually use the fixed-up specific
7439 2007-10-16 Dan Williams <dcbw@redhat.com>
7441 * src/nm-hal-manager.c
7442 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7443 killswitch error messages once
7445 2007-10-16 Dan Williams <dcbw@redhat.com>
7448 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7449 if it's disabled in hardware; don't touch network devices while
7452 2007-10-16 Dan Williams <dcbw@redhat.com>
7454 * libnm-util/nm-client.c
7455 - (nm_client_activate_device): convert NULL specific_object to "/",
7456 which is used in place of NULL
7459 - (impl_manager_activate_device): convert "/" specific_object back into
7462 2007-10-16 Tambet Ingo <tambet@gmail.com>
7464 Implement a generic NMSetting creator from setting name.
7465 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7466 add a virtual function 'populate_fn'.
7468 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7469 (register_default_creators): Register setting creators instead of functions
7470 that create and then populate.
7471 (parse_one_setting): Use the common setting creator and then setting specific
7472 poplulation function.
7474 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7475 they all looked exactly the same.
7476 Add a 'populate_fn' virtual function to NMSetting.
7477 Use default virtual functions in case they are not overriden.
7478 (nm_setting_populate_from_hash): Implement.
7480 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7481 name, use a defined string.
7482 (real_act_stage4_get_ip4_config): Ditto.
7484 2007-10-16 Tambet Ingo <tambet@gmail.com>
7486 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7487 HAL is int, not uint.
7489 2007-10-15 Tambet Ingo <tambet@gmail.com>
7491 Implement killswitch polling through HAL.
7493 * src/nm-manager.c: Add wireless hardware status property. Add
7494 'properties-changed' signal for changes in wireless and wireless hardware
7497 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7498 and update NMManager's wireless hardware state when it has changed.
7499 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7502 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7503 values of wireless state and wireless hardware state. Listen for the
7504 'properties-changed' signals, update the cached values and emit notify.
7506 * include/NetworkManager.h: Fix a typo in a comment.
7508 2007-10-14 Dan Williams <dcbw@redhat.com>
7510 * libnm-util/nm-setting.c
7511 - (setting_wireless_security_need_secrets): handle LEAP secrets
7513 2007-10-13 Dan Williams <dcbw@redhat.com>
7515 * libnm-util/nm-setting.h
7516 libnm-util/nm-setting.c
7517 src/supplicant-manager/nm-supplicant-config.c
7518 - Make the 'proto' field of the 802-11-wireless-security field a
7521 2007-10-12 Tambet Ingo <tambet@gmail.com>
7523 Rework the "properties-changed" signal listening implementation.
7524 Add a generic implementation to NMObject class that listens for
7525 the signal and calls property setters of the target NMObject.
7527 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7529 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7530 code to the end of file so that all the static functions are available
7531 without extra declarations.
7532 Remove the "properties-changed" signal handling and use the framework from
7534 Implement property setters for properties that change with
7535 "properties-changed" signal.
7537 * libnm-glib/nm-access-point.c: Ditto.
7539 2007-10-12 Tambet Ingo <tambet@gmail.com>
7541 Rework the "properties-changed" signal implementation.
7542 In classes that need to use it, just emit "GObject::notify" and the new
7543 framework takes care of the rest to make the signal available on dbus.
7544 The framework queues the notifications and tries to send as many together
7545 in one signal as possible.
7547 * src/nm-properties-changed-signal.c:
7548 * src/nm-properties-changed-signal.h: Implement.
7550 * src/Makefile.am: Add new files to build.
7552 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7555 * src/nm-device-802-11-wireless.c: Ditto.
7557 2007-10-10 Dan Williams <dcbw@redhat.com>
7560 - (wait_for_connection_expired): ensure info is valid
7561 - (connection_added_default_handler): Should only remove pending
7562 connection info when the manager has the connection that it's
7563 waiting for. Fixes segfault in wait_for_connection_info().
7565 2007-10-10 Dan Williams <dcbw@redhat.com>
7567 * libnm-util/nm-setting.c
7568 libnm-util/nm-setting.h
7569 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7570 can use if they choose. Should be filled in by the settings service
7571 on-the-fly with the currently logged in user's username
7573 2007-10-10 Dan Williams <dcbw@redhat.com>
7575 * src/nm-device-802-11-wireless.c
7576 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7577 as such, because even if the manager fills in the SSID, NM still
7578 has to indicate to wpa_supplicant that the AP isn't broadcasting
7581 2007-10-10 Tambet Ingo <tambet@gmail.com>
7583 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7584 code that used NM's own version of dbus signal handling and custom dictionary
7585 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7586 and we get to maintain over 2000 lines less code.
7588 * libnm-util/dbus-dict-helpers.c:
7589 * libnm-util/dbus-dict-helpers.h: Remove.
7591 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7593 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7595 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7598 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7600 * configure.in: Remove test/libnm-util/Makefile creation.
7602 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7604 * test/libnm-util/: Remove the whole directory.
7606 2007-10-10 Tambet Ingo <tambet@gmail.com>
7608 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7609 device_state_changed_idle_id variable or it would contain some random value and the
7610 schedule_change_check calls would not do anything.
7612 2007-10-09 Dan Williams <dcbw@redhat.com>
7614 * src/nm-device-802-11-wireless.c
7615 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7616 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7617 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7618 merging of non-SSID-broadcasting APs
7620 2007-10-09 Tambet Ingo <tambet@gmail.com>
7622 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7623 "guint8 *" since it's usually used with GByteArray->data.
7624 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7626 2007-10-09 Tambet Ingo <tambet@gmail.com>
7628 * src/NetworkManagerUtils.c
7629 (nm_utils_is_empty_ssid):
7630 (nm_utils_escape_ssid):
7631 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7632 lot of places, so they belong to libnm-utils instead.
7634 Now with 100% less compiler warnings:
7636 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7637 (nm_dbus_unescape_object_path): Ditto.
7638 (nm_utils_ssid_to_utf8): Ditto.
7639 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7640 (nm_utils_escape_ssid): Ditto.
7641 (nm_utils_same_ssid): Ditto.
7643 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7644 (add_one_connection_element): Remove an unused variable.
7645 (impl_manager_get_active_connections): Ditto.
7647 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7650 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7651 from the previous commit.
7653 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7654 (real_act_stage1_prepare): Ditto.
7655 (activation_success_handler): Ditto.
7656 (get_property): Ditto.
7658 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7661 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7664 * src/supplicant-manager/nm-supplicant-config.c
7665 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7666 to expected "char *".
7667 (nm_supplicant_config_add_setting_wireless): Ditto.
7668 (nm_supplicant_config_remove_option): Remove, not used.
7670 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7672 (test_wireless_enabled): Ifdef out unused function.
7673 (device_deactivate): Ditto.
7674 (device_state_changed): Ditto.
7675 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7676 (nm_utils_escape_ssid): Ditto.
7678 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7679 (nm_utils_is_empty_ssid): Ditto.
7681 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7684 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7685 (setting_vpn_properties_update_secrets): Ditto.
7686 (int_to_gvalue): Ifdef out for now, not used.
7687 (byte_to_gvalue): Ditto.
7689 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7692 2007-10-08 Tambet Ingo <tambet@gmail.com>
7694 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7695 about dbus manager, not named manager.
7696 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7698 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7699 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7700 However, the same signal is emitted when we destroy it and there's
7701 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7703 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7704 releasing the DBusGConnection, since proxy needs a conneciton.
7705 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7707 2007-10-08 Dan Williams <dcbw@redhat.com>
7709 * src/NetworkManager.c
7710 - (main): error on unknown command-line options
7712 2007-10-08 Dan Williams <dcbw@redhat.com>
7714 Reimplement the invalid connection list. Don't try to re-activate a
7715 connection that just failed or was canceled.
7718 - (connection_secrets_failed_cb): fail device activation, don't just
7719 deactivate the device. Listeners have to know about the failure.
7721 * src/NetworkManagerPolicy.c
7722 - (nm_policy_auto_get_best_device): exclude invalid connections from
7723 the connection list given to a device's get_best_connection()
7725 - (device_state_changed): tag failed connections as invalid; clear the
7726 tag from successful connections
7728 2007-10-08 Dan Williams <dcbw@redhat.com>
7730 Fix problems with interrupted activation. Previously, choosing an AP
7731 from the menu, then choosing another one before the first connection was
7732 successful wouldn't deactivate the device before starting the new connection
7733 on that same device.
7735 * src/NetworkManagerPolicy.c
7736 - (deactivate_old_device, device_state_changed, state_changed,
7737 nm_policy_new): wrong place to deactivate old devices
7740 - (pending_connection_info_destroy, finalize,
7741 wait_for_connection_expired): decouple destruction of the pending
7742 connection info from the manager device
7743 - (connection_added_default_handler): deactivate any active or
7744 activating device before starting a new activation
7745 - (impl_manager_activate_device): deactivate any active or activating
7746 device before starting a new activation; be sure not to leak
7747 pending connection info if a new activation request arrives but
7748 there's already a pending one in-process
7750 2007-10-08 Dan Williams <dcbw@redhat.com>
7752 * src/NetworkManagerAP.h
7753 src/NetworkManagerAP.c
7754 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7755 should handle default SSIDs and whether or not to autoconnect
7758 2007-10-08 Dan Williams <dcbw@redhat.com>
7760 * src/NetworkManagerPolicy.c
7761 - (nm_policy_device_change_check): print out connection name where
7764 2007-10-08 Dan Williams <dcbw@redhat.com>
7766 * src/nm-device-802-11-wireless.c
7767 src/nm-device-802-11-wireless.h
7768 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7769 'hidden-ap-found' signal (for internal use only) that allows the
7770 NMManager to fill in the AP's SSID if a connection has that AP's
7771 BSSID in its seen-bssids list
7774 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7775 wireless device's hidden-ap-found signal and fill in the APs SSID
7778 2007-10-07 Dan Williams <dcbw@redhat.com>
7782 - Add a 'connections-added' signal to batch together updates of large
7783 numbers of connections, like when reading from a settings service
7784 the first time. Otherwise, the policy would just activate the first
7785 suitable connection it saw rather than waiting for the full list
7787 - (nm_manager_class_init): register new signal
7788 - (get_type_for_proxy, connection_get_settings_cb,
7789 get_connection_for_proxy): centralize places where a proxy's setting
7790 service is determined
7791 - (free_get_settings_info): if the call being freed is the last call
7792 in a pending call group, fire off the connections-added signal
7793 - (internal_new_connection_cb): add call to a pending call group if
7795 - (list_connections_cb): always create a call group here, because this
7796 call results in a batch of new connections
7797 - (initial_get_connections): start getting system connections first
7798 - (nm_manager_connections_destroy, emit_removed): actually emit the
7799 removed signal when destroying connections
7801 * src/NetworkManagerPolicy.c
7802 - (nm_policy_new, connections_added): handle connections-added signal
7805 2007-10-06 Dan Williams <dcbw@redhat.com>
7807 * src/nm-device-802-11-wireless.c
7808 - (constructor): fix leaked socket
7810 2007-10-06 Dan Williams <dcbw@redhat.com>
7812 * src/NetworkManagerPolicy.c
7813 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7814 connection in the list returned by nm_manager_get_connections() is
7815 reffed, but they weren't getting unreffed before returning
7817 2007-10-06 Dan Williams <dcbw@redhat.com>
7820 - (connections_to_slist): sort connections first on autoconnect, then
7823 2007-10-06 Dan Williams <dcbw@redhat.com>
7825 * libnm-util/nm-connection.c
7826 - (gvalue_to_string): handle UINT64
7828 2007-10-06 Dan Williams <dcbw@redhat.com>
7830 * src/NetworkManagerPolicy.c
7831 - (connection_updated, nm_policy_new): recheck state when a connection
7834 2007-10-06 Dan Williams <dcbw@redhat.com>
7838 - (nm_manager_get_connection_dbus_path): make static
7839 - (nm_manager_update_connections): remove; unused
7840 - Add a connection-updated signal
7841 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7842 handle connection object updates
7844 2007-10-06 Dan Williams <dcbw@redhat.com>
7846 * src/NetworkManagerPolicy.c
7847 - (connection_removed): deactivate removed connections
7849 2007-10-06 Dan Williams <dcbw@redhat.com>
7851 * libnm-util/nm-connection.c
7852 libnm-util/nm-connection.h
7853 - (nm_connection_replace_settings): new function
7855 2007-10-06 Dan Williams <dcbw@redhat.com>
7857 * libnm-glib/nm-device-802-11-wireless.c
7858 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7859 on error when getting the active access point over D-Bus from NM
7861 2007-10-05 Dan Williams <dcbw@redhat.com>
7863 * libnm-util/nm-setting.c
7864 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7865 to the NMSettingWireless table; it's now a string array not an array
7868 2007-10-05 Dan Williams <dcbw@redhat.com>
7870 * libnm-glib/nm-device-802-11-wireless.c
7871 - Cache properties and update cached properties on D-Bus signals from NM
7873 2007-10-05 Dan Williams <dcbw@redhat.com>
7875 * src/nm-device-802-11-wireless.c
7876 - (set_current_ap): consolidate current_ap handling code into one place
7877 to ensure that PropertiesChanged signals are emitted in all cases
7878 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7879 nm_device_802_11_wireless_dispose): use set_current_ap()
7881 2007-10-05 Dan Williams <dcbw@redhat.com>
7883 * libnm-glib/nm-access-point.c
7884 libnm-glib/nm-access-point.h
7885 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7886 because the value is cached internally now. Callers should not
7887 free the internal value.
7888 - Make signal name defines private
7891 libnm-glib/libnm-glib-test.c
7892 - Don't free value returned from nm_access_point_get_hw_address()
7894 2007-10-04 Dan Williams <dcbw@redhat.com>
7896 * introspection/nm-device-802-11-wireless.xml
7897 src/nm-device-802-11-wireless.h
7898 src/nm-device-802-11-wireless.c
7899 - Add a PropertiesChanged signal for wireless device
7900 - Store currently associated access point
7901 - (periodic_update): generalize; update rate here too and emit the
7902 correct PropertiesChanged signal when stuff changes
7903 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7904 real_activation_cancel_handler): clear current_ap when device is
7906 - (link_to_specific_ap, get_ap_blacklisted,
7907 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7909 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7911 - (real_set_hw_address): emit property changed signal if the card's
7913 - (real_act_stage1_prepare): set the initial current_ap to the AP
7914 the card is supposed to be connecting to
7915 - (activation_success_handler): send out property updates on successful
7917 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7918 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7919 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7920 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7921 is now boxed; add PropertiesChanged signal
7923 2007-10-04 Dan Williams <dcbw@redhat.com>
7925 * libnm-util/nm-connection.c
7926 libnm-util/nm-connection.h
7927 - (nm_connection_verify): new function
7929 2007-10-04 Dan Williams <dcbw@redhat.com>
7931 * libnm-util/nm-setting.c
7932 - (nm_settings_verify): use #defines when possible rather than strings
7933 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7934 - (setting_vpn_verify): tighter validity check on 'service_type'
7936 2007-10-04 Dan Williams <dcbw@redhat.com>
7938 * libnm-glib/nm-settings.c
7939 - (nm_connection_settings_class_init): provide correct type for argument
7940 to the Updated signal so that dbus-glib knows how to marshal it
7942 2007-10-03 Dan Williams <dcbw@redhat.com>
7944 * src/nm-device-802-3-ethernet.c
7945 - (real_get_best_connection): don't create automatic connections
7946 internally; clients should provide a setting that applies to
7947 the device with 'autoconnect: True'. Problem was that these
7948 internally auto-created connections don't have a proxy or service
7949 name becuase they weren't created by a settings daemon, and therefore
7950 clients have no idea what to do with them.
7952 2007-10-03 Dan Williams <dcbw@redhat.com>
7954 * src/nm-device-802-11-wireless.c
7955 src/nm-device-802-11-wireless.h
7956 introspection/nm-device-802-11-wireless.xml
7957 - GetActiveNetworks -> GetAccessPoints
7958 - ActiveNetwork -> ActiveAccessPoint
7959 - NetworkAdded -> AccessPointAdded
7960 - NetowrkRemoved -> AccessPointRemoved
7962 * libnm-glib/nm-device-802-11-wireless.c
7963 libnm-glib/nm-device-802-11-wireless.h
7964 - network-added signal -> access-point-added
7965 - network-removed signal -> access-point-removed
7966 - nm_device_802_11_wireless_get_active_network() ->
7967 nm_device_802_11_wireless_get_active_access_point()
7968 - nm_device_802_11_wireless_get_network_by_path() ->
7969 nm_device_802_11_wireless_get_access_point_by_path()
7970 - nm_device_802_11_wireless_get_networks() ->
7971 nm_device_802_11_wireless_get_access_points()
7973 * libnm-glib/libnm-glib-test.c
7975 src/NetworkManagerPolicy.c
7976 - Fixups for Network -> AccessPoint
7978 2007-10-03 Dan Williams <dcbw@redhat.com>
7980 Add a GetActiveConnections() method on the Manager object.
7984 introspection/nm-manager.xml
7985 - (connection_get_settings_cb): keep connection type around too
7986 - (impl_manager_get_active_connections, add_one_connection_element):
7987 implement; returns all active connections and what devices they
7990 * libnm-glib/nm-client.c
7991 libnm-glib/nm-client.h
7992 introspection/nm-manager-client.xml
7993 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7994 by the caller; free here to avoid memory leak
7995 - (nm_client_get_active_connections): implement; return the list of
7997 - (nm_client_free_active_connection_element): implement; free an element
7998 of the GSList returned by nm_client_get_active_connections()
8000 2007-10-03 Dan Williams <dcbw@redhat.com>
8002 * src/nm-device-802-11-wireless.c
8003 - (nm_device_802_11_wireless_update_bssid): remove
8004 - (get_active_ap): new function; find the AP in the scan list which
8005 matches the current BSSID and SSID of the wireless device
8006 - (nm_device_802_11_periodic_update): get current AP using
8007 get_active_ap() and print AP roam messages
8009 2007-10-01 Dan Williams <dcbw@redhat.com>
8011 * libnm-util/nm-setting.h
8012 - Add a 'timestamp' option to NMSettingConnection
8015 * libnm-util/nm-setting.c
8016 - (uint64_to_gvalue): new function
8017 - (nm_setting_populate_from_hash, nm_setting_hash,
8018 default_setting_clear_secrets): handle UINT64 type
8019 - con_table: add 'timestamp' member
8021 2007-10-01 Dan Williams <dcbw@redhat.com>
8024 - (impl_manager_activate_device): ensure the D-Bus method sends a return
8025 value when the connection can be activated immediately
8027 2007-10-01 Dan Williams <dcbw@redhat.com>
8029 * libnm-glib/nm-device.c
8030 - (nm_device_class_init): actually tell glib about the carrier-changed
8033 2007-10-01 Dan Williams <dcbw@redhat.com>
8036 src/marshallers/Makefile.am
8037 src/marshallers/nm-marshal.list
8038 src/marshallers/nm-marshal-main.c
8039 - Consolidate glib marshallers into one place
8041 * src/dhcp-manager/Makefile.am
8042 src/dhcp-manager/nm-dhcp-manager.c
8043 src/supplicant-manager/Makefile.am
8044 src/supplicant-manager/nm-supplicant-manager.c
8045 src/supplicant-manager/nm-supplicant-interface.c
8046 src/ppp-manager/Makefile.am
8047 src/ppp-manager/nm-ppp-manager.c
8048 src/vpn-manager/Makefile.am
8049 src/vpn-manager/nm-vpn-connection.c
8051 - Use consolidated marshallers
8053 * src/dhcp-manager/nm-dhcp-marshal.list
8054 src/dhcp-manager/nm-dhcp-marshal-main.c
8055 src/supplicant-manager/nm-supplicant-marshal-main.c
8056 src/supplicant-manager/nm-supplicant-marshal.list
8057 src/nm-marshal-main.c
8059 src/ppp-manager/nm-ppp-marshal-main.c
8060 src/ppp-manager/nm-ppp-marshal.list
8061 src/vpn-manager/nm-vpn-marshal-main.c
8062 src/vpn-manager/nm-vpn-marshal.list
8065 2007-10-01 Dan Williams <dcbw@redhat.com>
8067 * include/NetworkManagerVPN.h
8068 - define VPN connection state change reason codes
8070 * src/vpn-manager/Makefile.am
8071 src/vpn-manager/nm-vpn-marshal.list
8072 src/vpn-manager/nm-vpn-marshal-main.c
8073 - Add marshallers for StateChanged signal
8075 * introspection/nm-vpn-connection.xml
8076 - New Banner property
8077 - StateChanged signal now includes a 'reason' argument
8079 * src/vpn-manager/nm-vpn-connection.c
8080 src/vpn-manager/nm-vpn-connection.h
8081 - Add a "Banner" property that contains the returned VPN server login
8082 banner (if any); valid only in the ACTIVATED state
8083 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8084 a 'reason' argument and emits that reason along with the
8085 state-changed signal
8086 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8087 - (nm_vpn_connection_ip4_config_get): save banner for later
8088 - (nm_vpn_connection_get_banner, get_property,
8089 nm_vpn_connection_class_init): implement Banner property
8091 * src/vpn-manager/nm-vpn-service.c
8092 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8093 connection list because elements may get added/removed from it
8094 while iterating over the list
8095 - (connection_state_changed): signal now includes the 'reason' argument
8097 * libnm-glib/nm-vpn-connection.c
8098 libnm-glib/nm-vpn-connection.h
8099 - (nm_vpn_connection_get_banner): new function
8100 - (state_changed_proxy): handle reason argument
8102 2007-09-28 Tambet Ingo <tambet@gmail.com>
8106 Implement device activation through NMManager.
8107 Implement "pending device activation" here - If the connection isn't found,
8108 we try to wait for up to 5 seconds for the connection to be provided.
8109 Add NMConnectionType argument to "connection-added" and "connection-removed"
8111 (nm_manager_get): Remove. Finally.
8113 * src/nm-activation-request.c:
8114 * src/nm-activation-request.h:
8115 Remove all the deferred activation code.
8117 * src/nm-device.c: Remove all the deferred activation code. Once the device
8118 activation is started, it's started. Update the activation virtual function
8121 * src/nm-device-interface.c:
8122 * src/nm-device-interface.h:
8123 Device activation now takes only NMActRequest argument.
8124 Don't expose device activation directly on dbus, it's supposed to go through
8127 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8129 Use the new device activation methods through NMManager.
8131 * introspection/nm-manager-client.xml:
8132 * introspection/nm-manager.xml:
8133 * libnm-glib/nm-client.c:
8134 * libnm-glib/nm-client.h:
8135 Add device activation method.
8137 * libnm-glib/nm-device.c:
8138 * libnm-glib/nm-device.h:
8139 * introspection/nm-device.xml:
8140 Remove device activation method. It's done through NMManager now.
8142 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8143 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8145 2007-09-28 Dan Williams <dcbw@redhat.com>
8147 * libnm-glib/nm-vpn-connection.c
8148 - (nm_vpn_connection_get_state): try to update state if the current
8151 2007-09-27 Dan Williams <dcbw@redhat.com>
8153 Patch from Bill Nottingham
8155 * src/supplicant-manager/nm-supplicant-config.c
8156 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8157 data to the supplicant
8159 2007-09-27 Dan Williams <dcbw@redhat.com>
8161 * src/NetworkManagerSystem.c
8162 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8163 and all address manipulation here should be happening on the
8164 _VPN_ device, not the active device
8166 2007-09-26 Dan Williams <dcbw@redhat.com>
8170 src/nm-activation-request.c
8171 src/nm-activation-request.h
8172 - Move the GetSecrets stuff out of the NMManager instance because it
8173 doesn't really need to be there and complicates things
8176 - (connection_secrets_failed_cb, device_activation_go): connect to the
8177 connection-secrets-failed signal and deactivate the device if
8178 the GetSecrets call fails
8180 * src/nm-device-802-11-wireless.c
8181 - (link_timeout_cb, supplicant_connection_timeout_cb,
8182 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8183 secrets and give correct hints about whether new secrets should be
8184 asked for by the client or not
8186 2007-09-26 Dan Williams <dcbw@redhat.com>
8188 * src/vpn-manager/nm-vpn-connection.c
8189 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8190 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8191 to the secrets-updated signal of the NMConnection since updating
8192 the secrets is done within the scope of the NMVPNConnection object
8194 - (get_connection_secrets): fix an uninialized variable usage error
8196 2007-09-26 Dan Williams <dcbw@redhat.com>
8198 * libnm-util/nm-setting.c
8199 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8200 actually get updated when the user enters them
8202 2007-09-26 Dan Williams <dcbw@redhat.com>
8204 * libnm-glib/nm-vpn-plugin.c
8205 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8207 2007-09-26 Dan Williams <dcbw@redhat.com>
8209 * include/NetworkManagerVPN.h
8210 - Add a NEED_AUTH state
8212 * src/vpn-manager/nm-vpn-connection.c
8213 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8214 the connection needs secrets, and if so, then ask the settings
8215 service to fill in the secrets. Then start the connection.
8217 2007-09-26 Dan Williams <dcbw@redhat.com>
8219 * src/vpn-manager/nm-vpn-manager.c
8220 - (new_vpn_error, impl_vpn_manager_connect): set errors
8222 2007-09-26 Dan Williams <dcbw@redhat.com>
8224 * introspection/nm-vpn-plugin.xml
8225 libnm-glib/nm-vpn-plugin.c
8226 libnm-glib/nm-vpn-plugin.h
8227 - (impl_vpn_plugin_need_secrets): implement a call that should return
8228 the name of the NMSetting in an NMConnection that may require
8229 secrets specific to that VPN plugin
8231 2007-09-26 Dan Williams <dcbw@redhat.com>
8235 - (nm_manager_get_connection_secrets): make static, unused outside
8237 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8239 2007-09-26 Tambet Ingo <tambet@gmail.com>
8241 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8243 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8244 unreference the connection.
8246 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8247 passing properties hash and routes string list, pass NMConnection (in hashed form).
8249 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8250 as GSList, no need to copy stuff around anymore.
8251 (nm_vpn_connection_activate): Update the plugin activation method.
8253 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8254 routes argument to GSList.
8256 2007-09-26 Tambet Ingo <tambet@gmail.com>
8258 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8259 state and try to get the secrets.
8261 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8262 connections from NMManager and let the device to choose the best from the list.
8263 Since the connection list is sorted by system ones first and user ones later,
8264 the devices still prefer system connections like they did before.
8265 (deactivate_old_device): Implement. When a device starts activation, we have a
8266 policy (for now at least) to deactivate any other device that might be either
8267 active or still activating.
8269 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8270 It's set on construction, there will be no other way to access it.
8272 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8273 device events and drive the device, not the other way around.
8275 * src/nm-device-802-3-ethernet.c: Ditto.
8277 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8278 sent along, pass it on to virtual functions.
8280 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8281 for now, but should really be public instead of nm_device_get_iface() since iface
8282 is a property of the DeviceInterface, not Device.
8283 (impl_device_activate): Don't touch NMManager!
8285 2007-09-26 Jürg Billeter <j@bitron.ch>
8287 * initscript/paldo/NetworkManager.in:
8288 * initscript/paldo/NetworkManagerDispatcher.in:
8289 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8290 (nm_system_flush_loopback_routes): update paldo backend
8292 2007-09-26 Tambet Ingo <tambet@gmail.com>
8294 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8295 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8296 which means none of the devices get brought down properly, which in turn leaves
8297 DHCP client running.
8299 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8300 (supplicant_connection_timeout_cb): Ditto.
8302 2007-09-25 Dan Williams <dcbw@redhat.com>
8305 - (device_activation_go): small hack to work around race when
8306 activating deferred connections; should solve this in a better way
8308 2007-09-25 Dan Williams <dcbw@redhat.com>
8310 * introspection/nm-device.xml
8311 libnm-glib/nm-device.c
8312 libnm-glib/nm-device.h
8313 - Add 'Carrier' property to exported NMDevice objects
8315 * src/nm-device-interface.h
8316 src/nm-device-interface.c
8318 - Add a 'carrier' property to internal NMDevice objects
8320 2007-09-25 Dan Williams <dcbw@redhat.com>
8322 * src/nm-device-802-11-wireless.c
8323 - (ap_auth_enforced): also return the encryption status of the AP so
8324 that callers can differentiate easily between unencrypted APs
8325 and encrypted ones, in addition to whether the AP has an
8327 - (link_timeout_cb, supplicant_connection_timeout_cb,
8328 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8329 previously would request secrets from unencrypted APs at times
8331 2007-09-25 Dan Williams <dcbw@redhat.com>
8334 - (nm_manager_update_state): new function; updates state and emits
8335 appropriate signals ensuring a state-change signal for the same state
8336 never gets emitted twice in a row.
8337 - (manager_device_state_changed): handle more device state to get a
8338 better picture of the overall NM state
8340 2007-09-25 Dan Williams <dcbw@redhat.com>
8342 * libnm-glib/nm-settings.c
8343 libnm-glib/nm-settings.h
8344 - (new_error -> nm_settings_new_error): make public so that subclasses
8345 can use the same error domain. Also pass a valid error code to
8346 g_error_new_literal() so that libdbus doesn't assert when converting
8347 the GError into a DBusError
8348 - (impl_settings_list_connections, impl_connection_settings_get_id,
8349 impl_connection_settings_get_settings,
8350 impl_connection_settings_get_secrets): use new error creator
8353 2007-09-25 Dan Williams <dcbw@redhat.com>
8355 * src/NetworkManager.c
8356 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8358 2007-09-25 Dan Williams <dcbw@redhat.com>
8360 * src/supplicant-manager/nm-supplicant-manager.c
8361 - (poke_supplicant_cb, nm_supplicant_manager_init,
8362 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8363 nm_supplicant_manager_startup): when the supplicant isn't running,
8364 try to start it periodically via system bus activation. Fixes
8365 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8366 for the supplicant to come back
8368 2007-09-25 Dan Williams <dcbw@redhat.com>
8370 Ensure that old activation requests are forgotten about; previously
8371 hitting Cancel in the password dialog would deactivate whatever device
8372 that password was requested for, even if that wasn't the currently
8373 activating connection.
8377 - (nm_manager_get_connection_secrets): track the pending call
8378 object so it can be canceled later if needed
8379 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8380 GetSecrets call for a particular connection
8382 * src/nm-activation-request.c
8383 - (dispose): cancel any outstanding GetSecrets calls on the
8386 2007-09-25 Dan Williams <dcbw@redhat.com>
8388 * src/NetworkManagerPolicy.c
8389 - (nm_policy_device_change_check): handle devices that have a
8390 deferred activation. These devices are not really active _yet_,
8391 but need to be treated as such here. Don't interrupt them
8394 * src/nm-device-interface.c
8395 - (impl_device_activate): handle devices that have a deferred activation
8396 like activating or active devices. When multiple active devices
8397 get committed, the device shouldn't be deactivated until the
8398 connection details are available to avoid DoS and such. Currently,
8399 any active, activating, or deferred activation device is deactivated
8400 here before starting the new activation request.
8402 2007-09-25 Dan Williams <dcbw@redhat.com>
8404 Properly re-query secrets from the settings daemon when stuff fails.
8406 * src/nm-device-802-11-wireless.c
8407 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8408 between Shared Key and Open System auth modes
8409 - (link_timeout_cb, supplicant_connection_timeout_cb,
8410 real_act_stage4_ip_config_timeout): clear existing secrets and
8411 request new ones when something fails due to a suspected wrong key
8412 - (real_act_stage2_config): fix for new request_new argument to
8413 nm_manager_get_connection_secrets()
8417 - (nm_manager_get_connection_secrets): return error status; pass
8418 new request_new argument on to the settings daemon
8420 * introspection/nm-settings-connection.xml
8421 - New 'request_new' argument to the GetSecrets call that hints to the
8422 settings daemon to ask the user for completely new secrets
8424 * libnm-glib/nm-settings.c
8425 libnm-glib/nm-settings.h
8426 - (impl_connection_settings_get_secrets): handle new 'request_new'
8429 2007-09-25 Dan Williams <dcbw@redhat.com>
8431 * libnm-util/nm-connection.c
8432 libnm-util/nm-connection.h
8433 - (nm_connection_clear_secrets): new function; clear secrets out of
8434 each NMSetting in an NMConnection
8436 * libnm-util/nm-setting.h
8437 libnm-util/nm-setting.c
8438 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8439 secrets out of an NMSetting
8440 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8441 nm_setting_wired_new, nm_setting_wireless_new,
8442 nm_setting_wireless_security_new, nm_setting_ppp_new,
8443 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8444 to default handler default_setting_clear_secrets()
8446 2007-09-25 Dan Williams <dcbw@redhat.com>
8448 * src/nm-activation-request.c
8449 src/nm-activation-request.h
8450 - (nm_act_request_is_deferred): new function
8452 2007-09-24 Dan Williams <dcbw@redhat.com>
8454 * src/nm-device-802-11-wireless.c
8455 - (activation_success_handler): update signal strength immediately
8458 2007-09-24 Dan Williams <dcbw@redhat.com>
8460 * libnm-util/nm-setting.c
8461 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8463 2007-09-24 Dan Williams <dcbw@redhat.com>
8465 * src/NetworkManagerPolicy.c
8466 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8467 device by deactivating it because it doesn't have a "best connection".
8468 Since autoconnect=False connections aren't automatically chosen,
8469 NM would interrupt activation of such a connection because it
8470 would never be "best" due to autoconnect=False.
8472 2007-09-24 Dan Williams <dcbw@redhat.com>
8475 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8476 actually has some time to enter a key before the GetSecrets call
8479 2007-09-24 Dan Williams <dcbw@redhat.com>
8481 * introspection/nm-manager.xml
8483 - (impl_manager_legacy_state): fix 'state' method call return value
8485 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8487 * test/Makefile.am: Install nm-tool
8489 2007-09-24 Dan Williams <dcbw@redhat.com>
8491 Patch from Ross Burton <ross@burtonini.com>
8494 callouts/nm-dhcp-client-action.c
8496 src/vpn-manager/nm-vpn-connection.c
8497 libnm-glib/libnm-glib-test.c
8500 2007-09-24 Dan Williams <dcbw@redhat.com>
8502 * libnm-util/nm-utils.h
8503 libnm-util/nm-utils.c
8504 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8507 2007-09-23 Dan Williams <dcbw@redhat.com>
8509 * vpn-daemons/vpnc/properties/nm-vpnc.c
8510 - Update for new VPN properties API bits; instead of passing around
8511 a lot of random things, everything goes into the NMConnection
8514 2007-09-23 Dan Williams <dcbw@redhat.com>
8516 * libnm-util/nm-setting.c
8517 - Correctly dispose of settings objects if creating them from a hash
8520 2007-09-23 Dan Williams <dcbw@redhat.com>
8522 * libnm-util/nm-setting.c
8523 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8524 the hash table in a standard manner. Clients of libnm-util should
8525 only call g_hash_table_remove_all(), never destroy the hash table
8528 2007-09-22 Dan Williams <dcbw@redhat.com>
8530 * src/nm-device-802-11-wireless.c
8531 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8532 real reason to do it so often, and reduces wakeups for clients.
8534 2007-09-21 Dan Williams <dcbw@redhat.com>
8536 * src/nm-device-802-11-wireless.c
8537 - (build_supplicant_config): wpa_supplicant requires the option
8538 key_mgmt=NONE for unencrypted networks
8539 - (real_act_stage2_config): clarify log message on activation
8541 2007-09-21 Dan Williams <dcbw@redhat.com>
8543 * test/nm-supplicant-test.c
8545 - Remove supplicant test binary; no longer applicable
8547 2007-09-21 Dan Williams <dcbw@redhat.com>
8549 * src/supplicant-manager/nm-supplicant-manager.c
8550 - (nm_supplicant_manager_init): poke the supplicant at startup to
8551 activate it on the system bus
8553 2007-09-20 Dan Williams <dcbw@redhat.com>
8555 * initscript/RedHat/NetworkManager.in
8556 - dhcdbd is no longer used, so don't try to start it from the initscripts
8558 2007-09-20 Dan Williams <dcbw@redhat.com>
8561 - (nm_device_is_activating): work around a race between auto-activation
8562 and the user activating the same device that is being auto-activated
8564 2007-09-20 Dan Williams <dcbw@redhat.com>
8566 * src/nm-device-interface.c
8567 - (impl_device_activate): until multiple active device support lands,
8568 ensure only one device can be active at a time
8570 2007-09-20 Dan Williams <dcbw@redhat.com>
8572 * src/supplicant-manager/nm-supplicant-config.c
8573 src/supplicant-manager/nm-supplicant-config.h
8574 - (nm_supplicant_config_add_option): hide secrets from system logs
8576 2007-09-20 Dan Williams <dcbw@redhat.com>
8578 * src/NetworkManagerPolicy.c
8579 - (nm_policy_device_change_check): re-enable the wireless device change
8580 checking code; insted of checking for SSIDs, check for the same
8583 2007-09-20 Dan Williams <dcbw@redhat.com>
8585 * src/nm-device-802-11-wireless.c
8586 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8587 composite link state when determining when to start the disconnection
8588 timer; that link state is already based on the supplicant interface's
8589 status which is exactly what's already being examined, plus the link
8590 state is a conglomeration of various things that we don't want here
8592 2007-09-20 Dan Williams <dcbw@redhat.com>
8594 * libnm-glib/nm-access-point.c
8595 - (handle_property_changed): strength is a UCHAR
8597 2007-09-20 Dan Williams <dcbw@redhat.com>
8599 * src/supplicant-manager/nm-supplicant-config.c
8600 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8601 string list keywords too since that's what wpa_supplicant wants
8603 2007-09-20 Dan Williams <dcbw@redhat.com>
8605 * libnm-util/nm-setting.c
8606 - (convert_strv_to_slist): dupe the values in the list because since
8607 the list is a boxed value, it'll get destroyed when it's container
8608 (like a hash table or whatever) gets destroyed
8610 2007-09-20 Tambet Ingo <tambet@gmail.com>
8612 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8615 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8617 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8618 just use (g_object_set_data_full).
8620 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8621 that NMSettingVPN->routes is a GSList, convert it to char **.
8622 (nm_vpn_connection_ip4_config_get): Free routes when done.
8623 (nm_vpn_connection_activate): Ditto.
8625 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8626 (real_act_stage2_config): Use defined setting names.
8628 2007-09-20 Dan Williams <dcbw@redhat.com>
8630 * src/nm-device-802-11-wireless.c
8633 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8634 so that the device can be deactivated if secrets are wrong
8636 2007-09-20 Dan Williams <dcbw@redhat.com>
8638 * introspection/nm-settings-connection.xml
8639 libnm-glib/nm-settings.c
8640 libnm-glib/nm-settings.h
8641 - Make GetSecrets asynchronous on the server side
8643 2007-09-20 Dan Williams <dcbw@redhat.com>
8647 - (nm_device_activate): actually check if a given connection
8648 exists before assuming it doesn't
8650 2007-09-20 Tambet Ingo <tambet@gmail.com>
8652 * libnm-util/nm-connection.c (register_default_creators): Use defined
8653 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8655 * libnm-util/nm-setting.c: Define property name strings, use them.
8656 Implement NMSettingVPN and NMSettingVPNProperties settings.
8657 Implement NM_S_TYPE_GVALUE_HASH.
8658 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8659 (setting_connection_verify): Rename 'devtype' property to 'type'.
8661 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8664 * src/vpn-manager/nm-vpn-service.c: Ditto.
8666 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8668 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8669 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8671 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8672 names. NMSettingConnection->devtype got renamed to 'type'.
8674 * src/nm-device-802-3-ethernet.c (find_best_connection):
8675 (real_get_best_connection): Ditto.
8677 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8679 * libnm-glib/nm-vpn-manager.[ch]: Update.
8681 2007-09-19 Dan Williams <dcbw@redhat.com>
8683 * src/NetworkManagerAP.c
8684 src/NetworkManagerAP.h
8685 introspection/nm-access-point.xml
8686 - Change strength-changed signal into a properties-changed signal
8687 for all properties, not just strength. Export that signal over dbus
8688 so listeners don't have to poll NM for changes.
8689 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8690 get exported over D-Bus, so break up the logic and let other bits
8691 decided when to export the AP
8692 - (nm_ap_new_from_ap): remove, unused
8694 * src/nm-device-802-11-wireless.c
8695 - (merge_scanned_ap): only export APs that are actually on the device
8696 list, not every AP created internally
8698 * libnm-glib/nm-access-point.c
8699 libnm-glib/nm-access-point.h
8700 - Cache properties internally and only hit DBus when needed. Get
8701 property updates from NM signals
8703 2007-09-16 Dan Williams <dcbw@redhat.com>
8705 * libnm-util/nm-connection.c
8706 libnm-util/nm-connection.h
8707 - (nm_connection_for_each_setting_value): new function; iterate over
8708 each setting's value and call a user-provided function with details
8711 * libnm-util/nm-setting.c
8712 libnm-util/nm-setting.h
8713 - (nm_setting_enumerate_values): new function; enumerate the values
8714 of a specific NMSetting subclass for a user-provided function with
8715 details about that value
8716 - Change wep_tx_keyidx to a uint32
8717 - Create settings value tables for each setting defining their type,
8718 key name, offset into the NMSetting subclass' structure, and whether
8719 they are required and/or a secret
8720 - (nm_setting_populate_from_hash): generic function to populate an
8721 NMSetting from a GHash table, make all settings use it
8722 - (nm_setting_hash): generic function to derive a GHashTable from
8723 an NMSetting object, make all settings use it
8725 2007-09-14 Dan Williams <dcbw@redhat.com>
8727 Remove unused stuff in libnm-util
8730 libnm-util/Makefile.am
8731 libnm-util/cipher-private.h
8732 libnm-util/cipher-wep-ascii.c
8733 libnm-util/cipher-wep-ascii.h
8734 libnm-util/cipher-wep-hex.c
8735 libnm-util/cipher-wep-hex.h
8736 libnm-util/cipher-wep-passphrase.c
8737 libnm-util/cipher-wep-passphrase.h
8738 libnm-util/cipher-wpa-psk-hex.c
8739 libnm-util/cipher-wpa-psk-hex.h
8740 libnm-util/cipher-wpa-psk-passphrase.c
8741 libnm-util/cipher-wpa-psk-passphrase.h
8744 libnm-util/dbus-helpers.c
8745 libnm-util/dbus-helpers.h
8746 libnm-util/gnome-keyring-md5.c
8747 libnm-util/gnome-keyring-md5.h
8750 src/nm-device-802-11-wireless.c
8751 test/libnm-util/Makefile.am
8752 test/libnm-util/test-ciphers.c
8753 test/libnm-util/test-dbus-helpers.c
8754 test/libnm-util/test-inputs.h
8757 2007-09-14 Dan Williams <dcbw@redhat.com>
8759 * libnm-util/dbus-method-dispatcher.c
8760 libnm-util/dbus-method-dispatcher.h
8763 2007-09-14 Dan Williams <dcbw@redhat.com>
8765 Implement deferred activation support in the device class.
8767 * src/nm-device-interface.c
8768 src/nm-device-interface.h
8769 - (nm_device_interface_activate): take more arguments to support
8770 deferred activation; callers must pass one of (connection) OR
8771 (service_name, connection_path)
8772 - (impl_device_activate): connection validation is punted to the device
8773 to be able to handle deferred activation. Yes, this means errors
8774 don't get returned from the Activate() dbus call, and yes, that
8775 should be fixed somehow later.
8779 - (clear_act_request): clear additional deferred activation stuff too
8780 - (deferred_activation_timeout_cb): new function; clean up when
8781 deferred activation times out.
8782 - (deferred_activation_start_cb): new function; when the connection
8783 finally becomes available, start device activation
8784 - (nm_device_activate): attach to the right signals of the activation
8785 request if we need to defer activation until the connection is valid
8787 * src/NetworkManagerPolicy.c
8788 - (nm_policy_device_change_check): update for additional arguments
8789 required for nm_device_interface_activate(). Pass NULL for these
8790 though because this function already knows exactly which
8793 2007-09-14 Dan Williams <dcbw@redhat.com>
8795 Implement deferred activation handling in the NMActRequest class. When a
8796 client wants to activate a device but must create the NMConnection details
8797 on the fly, there likely hasn't been enough time yet for NM to receive the
8798 new connection signal and grab all the connection details. So the
8799 activation is deferred (and bounded by a timer) for a while, and if the
8800 connection appears within the window, it is activated.
8802 * src/nm-activation-request.c
8803 src/nm-activation-request.h
8804 - (nm_act_request_class_init): two new signals to support deferred
8805 activation, to allow the listener to handle both timeout and success
8806 - (nm_act_request_new_deferred): new function, starts the deferred
8807 activation timeout handler and listens to the NMManager for
8808 new-connection signals to notice when the connection comes in
8810 2007-09-14 Dan Williams <dcbw@redhat.com>
8814 - (nm_manager_get_connection_service_name,
8815 nm_manager_get_connection_dbus_path): get details about a connection
8816 known internally by the NMManager
8817 - (nm_manager_class_init): fix connection add/remove signal marshalers
8818 because NMConnection is now a GObject subclass
8819 - Use constant for the gobject data tag used on NMConnection objects for
8820 storing the associated DBusGProxy
8822 2007-09-14 Dan Williams <dcbw@redhat.com>
8827 src/supplicant-manager/Makefile.am
8828 src/dhcp-manager/Makefile.am
8829 src/backends/Makefile.am
8830 src/named-manager/Makefile.am
8831 src/ppp-manager/Makefile.am
8832 src/vpn-manager/Makefile.am
8833 test/libnm-util/Makefile.am
8834 test/test-common/Makefile.am
8835 - Remove utils/; it was unused
8837 2007-09-13 Dan Williams <dcbw@redhat.com>
8839 * libnm-glib/nm-vpn-manager.h
8840 libnm-glib/nm-vpn-manager.c
8841 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8843 2007-09-13 Dan Williams <dcbw@redhat.com>
8845 * src/nm-device-802-3-ethernet.c
8846 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8847 netlink monitor carrier signals on dispose, not bring down. The
8848 carrier signals should be handled over the entire lifetime of the
8849 device anyway, not created/destroyed on up or down.
8851 2007-09-13 Dan Williams <dcbw@redhat.com>
8853 * libnm-glib/nm-device.c
8854 libnm-glib/nm-device.h
8855 - (nm_device_activate): take a connection object path rather than an
8856 NMConnection because NMConnection isn't exported over D-Bus and
8857 therefore it dbus-glib can't automatically get an object path from it
8859 2007-09-13 Dan Williams <dcbw@redhat.com>
8861 * libnm-util/nm-setting.c
8862 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8864 2007-09-13 Tambet Ingo <tambet@gmail.com>
8866 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8868 2007-09-12 Tambet Ingo <tambet@gmail.com>
8870 * src/vpn-manager/nm-vpn-connection.[ch]:
8871 * src/vpn-manager/nm-vpn-manager.[ch]:
8872 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8873 dbus-glib, GObjects, signals etc.
8875 * libnm-glib/nm-vpn-manager.[ch]:
8876 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8877 so much, rewrite these too.
8879 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8880 the new introspection files.
8882 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8884 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8885 the header with the same name from libnm-utils.
8887 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8889 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8891 * introspection/nm-vpn-plugin.xml: Implement.
8893 * introspection/nm-vpn-connection.xml: Implement.
8895 * introspection/nm-vpn-manager.xml: Implement.
8897 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8898 the named manager argument, it can just as easily get it as the caller.
8899 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8901 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8903 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8905 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8908 * libnm-util/nm-connection.c: Ditto.
8910 * src/NetworkManagerMain.h: Remove, it's finally empty.
8912 * configure.in: Remove utils/ from build.
8914 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8915 of hard-coded strings.
8917 * utils/: Move it over to libnm-util.
8919 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8921 * dispatcher-daemon/Makefile.am: Ditto.
8923 * src/Makefile.am: Ditto.
8925 2007-09-12 Dan Williams <dcbw@redhat.com>
8927 Wireless connections can be made with config data from the applet now.
8931 * src/supplicant-manager/nm-supplicant-config.h
8932 src/supplicant-manager/nm-supplicant-config.c
8933 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8934 - (nm_supplicant_config_add_setting_wireless,
8935 nm_supplicant_config_add_setting_wireless_security): new functions;
8936 add key/value pairs from the settings objects to the supplicant
8939 * src/nm-device-802-11-wireless.c
8940 - (cull_scan_list): fix check to not prune currently associated AP
8941 - (build_supplicant_config, real_act_stage2_config): call the functions
8942 of the NMSupplicantConfig that parse settings objects rather than
8943 doing it manually here
8945 2007-09-12 Dan Williams <dcbw@redhat.com>
8947 * src/supplicant-manager/nm-supplicant-interface.c
8948 src/supplicant-manager/nm-supplicant-marshal.list
8949 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8950 "connection-error" signal arguments should be STRING not CHAR
8952 2007-09-12 Dan Williams <dcbw@redhat.com>
8954 * src/NetworkManagerUtils.c
8955 src/NetworkManagerUtils.h
8956 - (nm_utils_hexstr2bin): new function
8958 2007-09-11 Dan Williams <dcbw@redhat.com>
8961 - (connection_get_settings_cb): emit connection-added signal
8962 - (connection_removed_cb): uncomment bits for system settings service,
8963 send connection-removed when appropriate
8964 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8965 the stack by trying to g_object_set_data() on something that's
8966 not a GObject; handle case where settings service returns
8967 empty settings hash table
8969 2007-09-11 Dan Williams <dcbw@redhat.com>
8971 * src/NetworkManagerPolicy.c
8972 - (connection_added, connection_removed): trigger device change checks
8973 on connection changes
8975 2007-09-11 Dan Williams <dcbw@redhat.com>
8977 * src/nm-activation-request.c
8978 - (connection_secrets_updated_cb): fix c&p error in signal emission
8980 2007-09-11 Dan Williams <dcbw@redhat.com>
8982 * src/nm-device-802-11-wireless.c
8983 - (real_connection_secrets_updated): fix erroneous check
8985 2007-09-11 Dan Williams <dcbw@redhat.com>
8987 * introspection/nm-device.xml
8988 libnm-glib/nm-device.c
8989 libnm-glib/nm-device.c
8990 - Fix Activate call argument borkage; Activate takes 3 arguments
8992 2007-09-11 Dan Williams <dcbw@redhat.com>
8994 * libnm-glib/nm-access-point.c
8995 libnm-glib/nm-access-point.c
8996 - (nm_access_point_get_frequency): now returns guint32 to match
8997 property change on 2007-09-10
8999 2007-09-11 Dan Williams <dcbw@redhat.com>
9001 * src/nm-device-802-11-wireless.c
9002 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
9003 somewhere defines 'index' and I missed this one when I fixed the
9004 shadow declaration errors earlier
9006 2007-09-11 Dan Williams <dcbw@redhat.com>
9008 * libnm-util/nm-connection.c
9009 - (nm_connection_update_secrets, need_secrets_check): move
9010 802-11-wireless-security need_secrets checks to the setting object
9011 itself, where it belongs
9013 * libnm-util/nm-setting.c
9014 libnm-util/nm-setting.h
9015 - (nm_setting_need_secrets): new function
9016 - (setting_wireless_security_verify,
9017 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
9018 - (setting_wireless_security_need_secrets): mostly copy code over
9019 from nm-connection.c
9021 2007-09-11 Dan Williams <dcbw@redhat.com>
9023 * libnm-util/nm-setting.c
9024 libnm-util/nm-setting.h
9025 - (nm_setting_update_secrets): new function; add a virtual function that
9026 subclasses can implement to update their secrets
9027 - (setting_wireless_security_update_secrets): implement that function
9028 for the 802-11-wireless-security subclass
9030 * libnm-util/nm-connection.c
9031 libnm-util/nm-connection.h
9032 - (nm_connection_update_secrets): update secrets for a Setting and
9033 emit a signal on success
9038 - (connection_get_settings_cb): enable system settings bits
9039 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
9040 to request secrets from the settings dbus service and to
9041 push those secrets to the NMConnection itself
9043 * src/nm-activation-request.c
9044 src/nm-activation-request.h
9045 - Attach to the 'secrets-updated' signal of the NMConnection that's
9046 currently being activated, and proxy that signal to other listeners.
9047 Goes through the activation request because the activation request
9048 is the thing that manages the lifetime of the NMConnection that's
9051 * src/nm-device-802-11-wireless.c
9052 - (real_connection_secrets_updated): implement the connection secrets
9053 updated notification and restart activation when secrets are
9055 - (real_act_stage2_config): request secrets from the settings dbus
9056 service if secrets are needed
9060 - (clear_act_request, nm_device_activation_cancel,
9061 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9062 where the activation request is cleared
9063 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9064 updated secrets signal of activation request and add a function
9065 that subclasses can override to handle it easily
9067 2007-09-11 Tambet Ingo <tambet@gmail.com>
9069 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9070 removal of NetworkManagerAPList.
9072 2007-09-10 Dan Williams <dcbw@redhat.com>
9074 * src/NetworkManagerAP.c
9075 src/NetworkManagerAP.h
9076 introspection/nm-access-point.xml
9077 - Change 'freq' property to a guint32 instead of a double since we
9078 weren't using the floating point bits anyway
9080 2007-09-10 Dan Williams <dcbw@redhat.com>
9082 * NetworkManagerAP.c
9084 NetworkManagerPolicy.c
9085 NetworkManagerSystem.c
9086 NetworkManagerUtils.c
9087 NetworkManagerUtils.h
9088 nm-device-802-11-wireless.c
9089 nm-device-802-3-ethernet.c
9092 vpn-manager/nm-dbus-vpn.c
9093 - Warning fixes; casts and removal of unused variables
9095 2007-09-10 Dan Williams <dcbw@redhat.com>
9097 * include/NetworkManager.h
9098 - Kill NMNetworkType; AP types don't matter any more
9100 * src/NetworkManagerAPList.c
9101 src/NetworkManagerAPList.h
9103 - Kill; NMAccessPointList has outlived it's usefulness
9105 * src/NetworkManagerAP.c
9106 src/NetworkManagerAP.h
9107 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9108 functions; check if an NMConnection object is compatible with the
9110 - (freq_to_channel, channel_to_freq): utility functions for
9111 channel <-> frequency conversion
9115 - (nm_device_get_best_connection): pass the specific object around
9116 (which might be the object path of a specific AP to connect to).
9117 The get_best_connection() call should populate this on return
9118 if needed (wireless does).
9120 * src/nm-device-802-3-ethernet.c
9121 - (real_get_best_connection): handle specific_object argument
9123 * src/NetworkManager.c
9124 src/NetworkManagerMain.h
9125 - Remove unused includes
9127 * src/nm-device-802-11-wireless.c
9128 src/nm-device-802-11-wireless.h
9129 - Convert the ap_list into a GSList from an NMAccessPointList
9130 - No need for caching the 'activation_ap' since this is now determined
9131 from the specific_object of the activation request, which is
9132 populated from the get_best_connection() call or from a user request
9133 - (nm_device_802_11_wireless_update_bssid): fix warning
9134 - (get_wireless_capabilities): fix error message format arguments
9135 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9136 - (find_best_connection, real_get_best_connection): implement
9137 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9138 move here from NetworkManagerAPList
9139 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9140 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9141 already verified earlier
9142 - (real_act_stage2_config): use nm_connection_need_secrets()
9144 * src/NetworkManagerPolicy.c
9145 - (nm_policy_auto_get_best_device): handle specific objects
9146 - (create_connection): remove; automatic connection creation functionality
9147 is handled by the Connection objects
9148 - (nm_policy_device_change_check): handle specific_object
9150 * libnm-util/nm-connection.c
9151 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9153 2007-09-10 Dan Williams <dcbw@redhat.com>
9156 - (query_connections): fix uninitialized variable problem that caused
9158 - (nm_manager_add_device): take devices down on startup so that we can
9159 be assured that nm_device_is_up() won't short-circuit the init
9160 process. Hack until the is_up check gets split into two pieces
9161 that aren't behaviorally confusing.
9163 2007-09-09 Dan Williams <dcbw@redhat.com>
9165 * introspection/nm-device.xml
9166 - The 'Activate' method now takes 3 arguments, a service name for the
9167 settings service (user or system), the object path of the connection
9168 to activate, and the specific object to activate, if any
9170 * src/nm-device-interface.c
9171 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9173 - (impl_device_activate): adapt to new Activate arguments; validate
9174 the service name and get the Connection object from the NMManager
9175 before starting to activate the device with the specified connection
9177 * src/nm-device-802-3-ethernet.c
9178 - (real_get_best_connection): find the best connection, or create a
9179 default one if no existing connections can be used
9181 * src/NetworkManagerPolicy.c
9182 - (nm_policy_auto_get_best_device): Get the device's best connection
9183 and only pick the device if it has one
9184 - (nm_policy_device_change_check): disable wireless bits for now until
9185 wireless get_best_connection() can be implemented (replacing "best_ap");
9186 don't create a default connection here as the device subclass will do
9191 - (nm_manager_get): make NMManager a singleton and expose the getter
9193 - Rework internal NMManager connection handling to use the same
9194 routines for both the system and user settings services. Most calls
9195 take a new NMConnectionType argument specifying either system or user
9197 - (nm_manager_get_connection_by_object_path): new function; get a
9198 connection keyed on its object path
9200 * src/NetworkManager.c
9201 - (main): use nm_manager_get()
9203 2007-09-09 Dan Williams <dcbw@redhat.com>
9207 - (nm_device_get_best_connection): new function; get best connection
9208 for the device at that time
9210 2007-09-09 Dan Williams <dcbw@redhat.com>
9212 * src/nm-device-interface.h
9213 - Add NMDeviceInterfaceError with an UnknownConnection error
9215 2007-09-09 Dan Williams <dcbw@redhat.com>
9217 Stupid mistake on my part; object path and interface for settings service
9218 and connection objects can be the same, only the service name must be
9219 different for the system and user settings services.
9221 * include/NetworkManager.h
9223 introspection/nm-settings-connection.xml
9224 introspection/nm-settings.xml
9225 libnm-glib/nm-settings.c
9226 - (nm_connection_settings_init, query_user_connections,
9227 new_connection_cb): Unify NetworkManagerSettings and Connection
9228 interface name and object path
9230 2007-09-06 Dan Williams <dcbw@redhat.com>
9232 * libnm-glib/nm-object.c
9233 - (nm_object_get_string_property, nm_object_get_object_path_property,
9234 nm_object_get_int_property, nm_object_get_uint_property,
9235 nm_object_get_boolean_property, nm_object_get_byte_property,
9236 nm_object_get_double_property, nm_object_get_byte_array_property):
9237 clear GValues after copying their contents, fixes memory leaks
9238 after every property access because dbus-glib copies the values
9239 from the DBusMessage into the GValue already.
9241 2007-09-06 Dan Williams <dcbw@redhat.com>
9243 * introspection/nm-access-point.xml
9244 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9245 them to be. There's some magic property name parsing going on in
9246 dbus-glib that breaks up property names based on studly-caps and
9247 puts - between words.
9249 * libnm-glib/nm-access-point.c
9250 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9253 2007-09-06 Dan Williams <dcbw@redhat.com>
9256 - (nm_manager_user_connections_destroy): clear the user connections hash
9257 table, don't destroy it
9258 - (finalize): only destroy the hash table on NMManager finalization
9260 2007-09-02 Dan Williams <dcbw@redhat.com>
9262 * include/NetworkManager.h
9263 libnm-glib/nm-settings.c
9264 - defines for the user settings daemon D-Bus bits
9266 * src/NetworkManager.c
9267 - Remove stuff that referred to the old NetworkManagerInfo service
9269 * src/vpn-manager/nm-dbus-vpn.h
9270 - Move old NMI defines to the only place they are used still
9272 * libnm-util/nm-connection.c
9273 libnm-util/nm-connection.h
9274 src/nm-activation-request.c
9275 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9279 - Get connections and their settings from the user settings daemon
9280 at the appropriate times
9282 2007-09-02 Dan Williams <dcbw@redhat.com>
9284 * libnm-util/nm-setting.c
9285 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9286 - (setting_wireless_hash): set the right value on the item
9288 2007-09-02 Dan Williams <dcbw@redhat.com>
9292 - Remove, no longer useful
9294 2007-08-30 Dan Williams <dcbw@redhat.com>
9297 src/NetworkManagerDbus.c
9298 src/NetworkManagerDbus.h
9299 src/vpn-manager/nm-dbus-vpn.c
9300 - Remove, no longer necessary. Move last bits to the only place its
9301 used, in nm-dbus-vpn.c
9303 * src/NetworkManagerAPList.c
9305 src/NetworkManager.c
9306 src/nm-device-802-11-wireless.c
9307 src/vpn-manager/nm-vpn-manager.c
9308 src/vpn-manager/nm-vpn-service.c
9309 src/NetworkManagerPolicy.c
9311 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9312 that was message_is_error()
9314 2007-08-30 Dan Williams <dcbw@redhat.com>
9317 - Include config.h to get defines for endiannes (gnome.org #420216)
9319 2007-08-30 Dan Williams <dcbw@redhat.com>
9321 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9323 * src/ppp-manager/Makefile.am
9324 - use -fPIC (gnome.org #471825)
9326 2007-08-29 Dan Williams <dcbw@redhat.com>
9328 * include/NetworkManager.h
9329 - Keep NMConnection object path in sync
9331 * libnm-glib/nm-settings.c
9332 libnm-glib/nm-settings.h
9333 - Break D-Bus object registration out of the init function, because
9334 every object that's exported over D-Bus needs to use the _same_
9335 DBusConnection. Otherwise, each object would get a different object
9336 path tree and wouldn't be callable.
9338 2007-08-29 Dan Williams <dcbw@redhat.com>
9340 * libnm-util/nm-setting.h
9341 libnm-util/nm-setting.c
9342 libnm-util/nm-connection.c
9343 src/NetworkManagerPolicy.c
9344 - 'info' settings object should be 'connection' says the spec
9345 at NetworkManagerConfigurationSpecification
9347 2007-08-29 Dan Williams <dcbw@redhat.com>
9349 * libnm-glib/nm-settings.c
9350 libnm-glib/nm-settings.h
9351 - make the dbus path a property of the object, and autogenerate it.
9352 It can't be composed of the 'id' field becuase that's not available
9353 yet during the GObject creation in nm_connection_settings_init()
9355 2007-08-29 Dan Williams <dcbw@redhat.com>
9357 * introspection/nm-settings-connection.xml
9358 introspection/nm-settings.xml
9359 - Service name -> NetworkManagerUserSettings because two services
9360 can't share part of the same path. I'm not really sure how we'll use
9361 the same code with the system-settings daemon...
9363 2007-08-28 Dan Williams <dcbw@redhat.com>
9365 * src/nm-device-interface.c
9366 src/nm-device-interface.h
9367 - Kill one more bit of NMData
9369 2007-08-28 Dan Williams <dcbw@redhat.com>
9371 * src/NetworkManagerSystem.h
9374 src/nm-hal-manager.c
9375 src/NetworkManager.c
9376 src/nm-device-802-11-wireless.c
9377 src/nm-hal-manager.h
9378 src/nm-device-802-3-ethernet.c
9379 src/vpn-manager/nm-vpn-service.h
9380 src/vpn-manager/nm-vpn-manager.c
9381 src/vpn-manager/nm-vpn-manager.h
9382 src/vpn-manager/nm-vpn-service.c
9383 src/nm-device-802-11-wireless.h
9384 src/NetworkManagerMain.h
9385 src/nm-device-802-3-ethernet.h
9386 src/backends/NetworkManagerGentoo.c
9387 src/backends/NetworkManagerPaldo.c
9388 src/backends/NetworkManagerFrugalware.c
9389 src/backends/NetworkManagerRedHat.c
9390 src/backends/NetworkManagerSlackware.c
9391 src/backends/NetworkManagerGeneric.c
9392 src/backends/NetworkManagerArch.c
9393 src/backends/NetworkManagerSuSE.c
9394 src/backends/NetworkManagerGeneric.h
9395 src/backends/NetworkManagerDebian.c
9398 2007-08-28 Dan Williams <dcbw@redhat.com>
9400 * src/NetworkManagerMain.h
9401 src/nm-device-802-11-wireless.c
9402 src/NetworkManager.c
9403 - Remove invalid AP list from NMData; need to rework this somewhat, but
9404 for now we should set the 'invalid' property on individual APs, and when
9405 we need to invalidate a whole ESS, set the 'invalid' on every member of
9408 2007-08-28 Dan Williams <dcbw@redhat.com>
9410 * src/NetworkManagerAP.c
9411 src/NetworkManagerAP.h
9412 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9413 'autoconnect' property instead
9415 * src/NetworkManager.c
9416 src/NetworkManagerMain.h
9417 src/NetworkManagerPolicy.c
9418 src/NetworkManagerPolicy.h
9419 - Remove the 'allowed_ap_list', which should be replaced by
9420 NMConnection/NMSettings instead, since _those_ are the allowed
9421 things that NM can connect to
9423 * src/nm-device-802-11-wireless.c
9424 - Remove both allowed_ap_list usage and 'fallback' checking
9426 2007-08-28 Dan Williams <dcbw@redhat.com>
9429 src/named-manager/nm-named-manager.c
9430 src/named-manager/nm-named-manager.h
9431 src/NetworkManager.c
9432 src/vpn-manager/nm-vpn-manager.c
9433 src/NetworkManagerMain.h
9434 src/NetworkManagerSystem.c
9435 - Remove the named-manager object from NMData structure in preparation
9436 for NMData's timely death. Make the NMNamedManager the singleton that
9439 2007-08-28 Dan Williams <dcbw@redhat.com>
9441 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9442 each AP's capabilities, and by NMConnection/NMSettings objects for user
9443 defined connections.
9445 * include/NetworkManager.h
9446 - Redefine 802.11 security properties. There are now device capabilities
9447 and AP flags and AP security flags. It was way to unclear before.
9450 src/nm-ap-security-leap.h
9451 src/nm-ap-security-leap.c
9452 src/nm-ap-security-wpa-eap.c
9453 src/nm-ap-security-wpa-eap.h
9454 src/nm-ap-security-private.h
9455 src/nm-ap-security-wpa-psk.c
9456 src/nm-ap-security-wpa-psk.h
9457 src/nm-ap-security-wep.c
9458 src/nm-ap-security-wep.h
9459 src/nm-ap-security.c
9460 src/nm-ap-security.h
9461 - Removed, to be replaced with NMConnection/NMSettings objects
9465 - Removed, to be replaced by code that talks to the new info daemon
9466 interface and gets NMConnection/NMSettings objects
9468 * src/backends/NetworkManagerSuSE.c
9469 - Remove usage of NMAPSecurity; should be replaced by a system-level
9470 info-daemon that does the same thing but talks the new info-daemon
9473 * src/NetworkManagerAP.h
9474 src/NetworkManagerAP.c
9475 src/NetworkManagerAPList.c
9476 libnm-glib/libnm-glib-test.c
9477 - Remove usage of NMAPSecurity objects and adjust to new flags for
9480 * libnm-glib/nm-access-point.c
9481 libnm-glib/nm-access-point.h
9482 introspection/nm-access-point.xml
9484 - Adjust to new flags for AP security
9488 src/vpn-manager/nm-dbus-vpn.c
9489 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9490 stuff which is the only place it's used
9492 * src/nm-device-interface.c
9493 src/nm-device-interface.h
9494 introspection/nm-device.xml
9495 src/nm-activation-request.c
9496 src/nm-activation-request.h
9498 - Add a new 'specific_object' argument that hints to NM what actual
9499 AP or other device-specific thing the connection should apply to.
9500 NMConnection objects can apply to more than one actual device/AP.
9502 * libnm-util/nm-connection.c
9503 * libnm-util/nm-connection.h
9504 - Add 'have_secrets" call stubs
9506 * libnm-util/cipher.h
9507 - Move NM_AUTH_TYPE_* defines here for now
9509 * src/nm-device-802-11-wireless.c
9510 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9513 * src/NetworkManagerDbus.c
9514 * src/NetworkManagerPolicy.c
9515 - Remove usage of update_allowed_networks, should be pushing data in
9518 2007-08-27 Tambet Ingo <tambet@gmail.com>
9520 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9521 dbus-glib frees it when the call is done.
9523 2007-08-26 Dan Williams <dcbw@redhat.com>
9525 * introspection/nm-device.xml
9526 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9528 2007-08-26 Dan Williams <dcbw@redhat.com>
9530 * src/nm-device-802-3-ethernet.c
9531 - (constructor): move connection of interface-connected/disconnected
9532 signals here from real_bring_up(). Should be listening to netlink
9533 for carrier events no matter what the initial state of the device
9536 2007-08-26 Dan Williams <dcbw@redhat.com>
9538 * src/nm-netlink-monitor.c
9539 - (nm_netlink_monitor_class_init): fix marshalling types for
9540 interface-connected/interface-disconnected
9541 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9544 2007-08-26 Dan Williams <dcbw@redhat.com>
9546 Convert to using interface indexes as the primary method of identifying
9547 devices inside NetworkManager. Indexes are (?) stable, but devices can
9548 be renamed at any time. Device object paths now refer to the device
9549 index rather than the name, and you can map those two manually if you like
9550 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9551 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9552 to use interface indexes rather than names.
9554 2007-08-26 Dan Williams <dcbw@redhat.com>
9556 * src/nm-netlink-monitor.h
9557 - Remove one last bit of wireless-event signal
9559 2007-08-26 Dan Williams <dcbw@redhat.com>
9561 * src/nm-netlink-monitor.c
9562 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9563 don't need the 'wireless-event' signal anymore since that's all
9564 handled by wpa_supplicant
9566 2007-08-25 Dan Williams <dcbw@redhat.com>
9568 It's 2007. Remove support for drivers that don't support wireless scanning.
9571 include/NetworkManager.h
9572 src/NetworkManagerUtils.c
9573 src/NetworkManagerPolicy.c
9574 src/nm-device-802-11-wireless.c
9575 - Remove special handling for non-scanning devices and mark them
9576 as unsupported/unhandled
9578 2007-08-20 Dan Williams <dcbw@redhat.com>
9580 * src/nm-device-802-11-wireless.c
9581 src/nm-device-802-3-ethernet.c
9582 - (real_is_up): move device-specific tests before generic IFF_UP test,
9583 because when the card is pulled or the module removed, the device
9584 is already !IFF_UP and then device-specific cleanup (removing
9585 the supplicant interface, periodic checks, etc) never gets done
9587 2007-08-20 Dan Williams <dcbw@redhat.com>
9590 - (nm_manager_remove_device): bring device down before disconnecting
9591 signal handlers, so that the 'state' signal will get broadcast when
9592 the device enters the DOWN state
9593 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9594 of states that cause the NMManager to recheck its state
9596 2007-08-20 Dan Williams <dcbw@redhat.com>
9598 * src/supplicant-manager/nm-supplicant-interface.c
9599 - (interface_disconnect_done): don't try to dispose of the net proxy
9600 when it may already have been disposed of
9602 2007-08-20 Dan Williams <dcbw@redhat.com>
9604 * src/nm-device-802-11-wireless.c
9605 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9606 the SSID isn't available; this can happen when the card is pulled
9607 or the module unloaded, during the post-removal deactivation
9608 paths, when the ioctl returns ENODEV
9610 2007-08-20 Dan Williams <dcbw@redhat.com>
9612 * src/nm-device-802-11-wireless.c
9613 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9614 frequency, and mode match. Applets are now responsible for grouping
9617 2007-08-20 Dan Williams <dcbw@redhat.com>
9619 * src/NetworkManagerAP.c
9620 * src/NetworkManagerAP.h
9621 - (nm_ap_print_self): new function
9623 * src/NetworkManagerAPList.c
9624 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9627 2007-08-17 Dan Williams <dcbw@redhat.com>
9629 * src/nm-device-802-3-ethernet.c
9630 - (real_bring_down): don't try to dispose of stuff that might not
9633 2007-08-17 Dan Williams <dcbw@redhat.com>
9635 * src/NetworkManagerAP.c
9636 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9637 applet. This ensures that the case between the seen-bssids and
9638 the bssids reported by the driver match.
9640 2007-08-17 Dan Williams <dcbw@redhat.com>
9642 * src/nm-device-802-11-wireless.c
9643 - (device_cleanup): disconnect the interface in wpa_supplicant before
9644 we dispose of the interface proxy in NM
9646 2007-08-16 Dan Williams <dcbw@redhat.com>
9648 * libnm-glib/nm-client.c
9649 - (nm_client_init): create VPN connections hash table with key free
9651 - (proxy_vpn_connection_added): VPN connections hash table key should
9652 be a duplicated value, not the same memory address as the VPN
9653 connection name. This is because the VPN connection name could
9654 potentially be freed and set to something else during the lifetime
9655 of the NMVPNConnection object.
9657 2007-08-16 Tambet Ingo <tambet@gmail.com>
9659 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9660 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9661 with the file descriptors. Send a child setup function to change the pppd
9664 2007-08-15 Dan Williams <dcbw@redhat.com>
9666 * src/supplicant-manager/nm-supplicant-interface.c
9667 - (try_remove_iface): new function, ask wpa_supplicant to remove
9669 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9670 disposing of the NMSupplicantInterface. Otherwise weird stuff
9671 happens on hotplug if wpa_supplicant doesn't tear down and readd
9672 the interface internally
9674 2007-08-15 Dan Williams <dcbw@redhat.com>
9676 * src/nm-device-802-11-wireless.c
9677 - (real_bring_down): move most of this function into device_cleanup()
9678 so that it can be called from elsewhere
9679 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9680 and stuff on dispose. These would normally get cleaned up when
9681 the device is marked down and deactivated, but when the device is
9682 hot-unplugged, it's already down and real_down() never gets run
9684 2007-08-15 Dan Williams <dcbw@redhat.com>
9687 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9688 caused a reference leak on device for which NM requested a key
9690 2007-08-15 Dan Williams <dcbw@redhat.com>
9692 * libnm-glib/nm-client.c
9693 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9695 2007-08-15 Tambet Ingo <tambet@gmail.com>
9697 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9698 nothing is using it at the moment, but it'll be all useful and stuff later on.
9700 * libnm-util/nm-setting.h: Define NMSettingPPP.
9702 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9704 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9706 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9708 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9710 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9712 2007-08-14 Tambet Ingo <tambet@gmail.com>
9714 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9716 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9717 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9718 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9719 name and different arguments and it won't compile anymore. To fix this, we now have
9720 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9721 that is new API + compatibility API and used by the daemon. The other,
9722 nm-manager-client.xml is only the new API without compatibility bits and is used
9723 by libnm-glib to make it compile.
9725 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9727 * src/nm-manager.c (impl_manager_legacy_sleep)
9728 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9729 interface functions for 0.6 branch.
9731 2007-08-14 Dan Williams <dcbw@redhat.com>
9733 * src/NetworkManagerAP.c
9734 - (nm_ap_new_from_properties): fix mistaken check of return value
9735 from memcmp (should expect 0)
9737 2007-08-14 Dan Williams <dcbw@redhat.com>
9739 (force-commit to fix wrong comment and partial commit of r2685; this
9740 commit actually applies to r2685)
9742 * src/NetworkManagerUtils.c
9743 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9744 ignores trailing nulls in the SSID to work around mismatches in
9745 expectations between WEXT and what the info-daemon passes back. The
9746 info-daemon would pass back the correct length, but due to the
9747 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9748 the device would always have an SSID + 1 depending on what versions
9749 of wpa_supplicant, the kernel, and NM you have. This was most often
9750 visible by just quitting the applet and relaunching, which caused
9751 NM to reassociated to the same network over again when reloading
9754 * src/NetworkManagerPolicy.c
9755 src/NetworkManagerUtils.h
9756 src/nm-device-802-11-wireless.c
9757 - Update for new parameter to nm_utils_same_ssid()
9759 2007-08-14 Dan Williams <dcbw@redhat.com>
9761 * src/NetworkManagerAP.c
9762 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9763 I encountered a BSS that wasn't just hiding it's ESSID, it was
9764 setting the BSSID to all 0s. That confused the heck out of NM,
9765 plus it's useless and probably out-of-spec.
9767 2007-08-14 Dan Williams <dcbw@redhat.com>
9769 * callouts/Makefile.am
9770 src/dhcp-manager/nm-dhcp-manager.c
9771 src/dhcp-manager/nm-dhcp-manager.h
9772 src/dhcp-manager/Makefile.am
9773 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9775 2007-08-14 Dan Williams <dcbw@redhat.com>
9777 * src/dhcp-manager/nm-dhcp-manager.c
9778 - (dhclient_run): don't pass -x to dhclient until we figure out if
9779 it's really needed, get rid of unused xtra_args parameter
9781 2007-08-14 Dan Williams <dcbw@redhat.com>
9783 * include/NetworkManagerVPN.h
9784 src/vpn-manager/nm-dbus-vpn.c
9785 src/vpn-manager/nm-dbus-vpn.h
9786 src/vpn-manager/nm-vpn-act-request.c
9787 src/vpn-manager/nm-vpn-act-request.h
9788 src/vpn-manager/nm-vpn-service.c
9789 src/vpn-manager/nm-vpn-service.h
9790 libnm-glib/nm-vpn-connection.c
9791 libnm-glib/nm-vpn-connection.h
9792 libnm-glib/nm-client.h
9793 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9794 NMVPNServiceState to clarify what they apply to
9795 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9796 NMVPNActStage -> NMVPNConnectionState for the same reason
9798 * libnm-glib/nm-client.c
9799 - Constant + type renames from above
9800 - Properly handle NameOwnerChanged/manager_running signals
9801 for NM service; only emit when state really changes
9802 - Use hash tables correctly so that the key (which was previously owned
9803 by the D-Bus message) now has the same lifetime as the value, since
9804 the key is now taken from the the NMVPNConnection itself. This
9805 really fixes the double-VPN names in the applet
9807 2007-08-13 Dan Williams <dcbw@redhat.com>
9809 Patch from Michael Biebl <biebl@debian.org>
9813 - Update for vpn-properties move
9815 2007-08-13 Dan Williams <dcbw@redhat.com>
9817 * libnm-glib/nm-client.c
9818 - Convert internal VPN connection tracking from a list to a hash table
9819 to easily avoid duplicates
9820 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9821 must be freed by the caller, like nm_client_get_devices()
9822 - (nm_client_remove_vpn_connection): don't let the removal signal
9823 leak through for NMVPNConnection objects that aren't actually
9825 - (manager_running): throw away VPN connection list when NM goes away,
9826 like with the device list
9828 2007-08-13 Dan Williams <dcbw@redhat.com>
9830 * src/dhcp-manager/nm-dhcp-manager.c
9831 - Stop any dhclient instance that might be already running for a
9832 particular interface before starting an NM spawned dhclient. Fixes
9833 dhclient processes left over if NM crashes, stuff like that.
9835 2007-08-13 Dan Williams <dcbw@redhat.com>
9837 * src/NetworkManagerAP.c
9838 - (finalize): don't try to g_array_free (NULL, ...), which happened
9839 when the AP wasn't broadcasting it's SSID
9841 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9843 * include/NetworkManager.h: added DBus path for connection settings.
9845 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9846 nm_connection_settings_signal_updated,
9847 nm_connection_settings_signal_removed): new functions to wrap the
9849 (nm_connection_settings_init): register GObject with DBus.
9850 (nm_connection_settings_get_dbus_object_path): new function.
9852 * libnm-glib/Makefile.am: added libnmutil to link flags.
9854 2007-08-13 Tambet Ingo <tambet@gmail.com>
9856 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9858 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9859 libnm_glib directory got merged with libnm-glib/.
9861 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9863 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9864 Rename the library from libnm-glib to libnm_glib to maintain the library API
9865 compatibility with 0.6 branch.
9867 * Makefile.am: Remove gnome/ SUBDIR.
9869 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9871 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9873 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9875 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9877 Remove checks for wpa_supplicant binary, it's used over dbus.
9878 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9880 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9881 Link the binaries with libnm_glib.la.
9883 2007-08-12 Dan Williams <dcbw@redhat.com>
9885 * src/NetworkManagerPolicy.c
9886 - (nm_policy_device_change_check): fix policy to deactivate old device
9887 before activating new one, at least until the multiple active
9888 device support lands
9890 2007-08-12 Dan Williams <dcbw@redhat.com>
9892 * src/NetworkManagerPolicy.c
9893 - (nm_policy_new): hook up to connection-added / connection-removed
9894 signals instead of connections-changed
9896 2007-08-12 Dan Williams <dcbw@redhat.com>
9898 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9899 Robert Frank <rfrank@redhat.com>
9901 * src/dhcp-manager/nm-dhcp-manager.c
9902 src/dhcp-manager/nm-dhcp-manager.c
9904 - Spawn and communicate with dhclient directly, through means of a
9905 custom dhclient callout script. Process callout D-Bus signals
9906 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9907 sent via gobject signals rather than being driven by the dhcp manager
9910 2007-08-12 Dan Williams <dcbw@redhat.com>
9912 * callouts/nm-dhcp-client-action.c
9913 - (build_message): ignore non-DHCP-related environment variables
9915 2007-08-12 Dan Williams <dcbw@redhat.com>
9919 callouts/Makefile.am
9920 callouts/nm-dhcp-client-action.c
9921 callouts/nm-dhcp-client.conf
9922 - Add dhclient-executed callout that takes the place of dhclient-script
9923 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9926 2007-08-09 Tambet Ingo <tambet@gmail.com>
9928 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9930 * libnm-glib/nm-client.h:
9931 * libnm-glib/nm-object.h:
9932 * libnm-glib/nm-vpn-connection.h:
9933 * libnm-glib/nm-settings.h:
9934 * libnm-glib/nm-device.h:
9935 * libnm-glib/nm-ip4-config.h:
9936 * libnm-glib/nm-access-point.h:
9937 * libnm-glib/nm-device-802-3-ethernet.h:
9938 * libnm-util/nm-setting.h:
9939 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9941 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9943 * libnm-glib/nm-access-point.c: Strength has type char.
9945 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9946 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9948 * introspection/nm-access-point.xml: Strength property is char, not int.
9950 * src/NetworkManagerAP.c (set_property): Set strength from char.
9951 (get_property): Handle hidden APs (with empty SSID).
9952 Get strength value from char.
9953 (nm_ap_class_init): Strength property has char type.
9955 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9957 * introspection/Makefile.am:
9958 * introspection/nm-settings.xml:
9959 * introspection/nm-settings-connection.xml: added Settings interfaces.
9961 * libnm-glib/nm-settings.[ch]:
9962 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9963 containing the DBus implementation.
9965 2007-07-26 Dan Williams <dcbw@redhat.com>
9967 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9969 * src/NetworkManagerSystem.c
9970 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9971 same subnet (#437396)
9973 2007-07-26 Dan Williams <dcbw@redhat.com>
9975 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9977 * gnome/vpn-properties/nm-vpn-properties.c
9978 - Fix translatable strings (#445865)
9980 2007-07-26 Dan Williams <dcbw@redhat.com>
9982 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9985 - Remove useless junk (#412530)
9987 2007-07-10 Christopher Aillon <caillon@redhat.com>
9989 Patch from Robert Buchholz <rbu@gentoo.org>:
9993 * introspection/Makefile.am:
9994 Make make distcheck work again.
9996 2007-06-27 Dan Williams <dcbw@redhat.com>
9998 * Make SSIDs GByteArrays everywhere
9999 * Rename "essid" -> "ssid" everywhere that's appropriate
10000 * Refcount activation_ap member of the 802.11 wireless device class
10002 2007-06-27 Tambet Ingo <tambet@ximian.com>
10004 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
10006 2007-06-22 Tambet Ingo <tambet@ximian.com>
10008 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
10009 that we got a new AP when we just update existing AP properties.
10011 2007-06-21 Tambet Ingo <tambet@ximian.com>
10013 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
10015 * nm-utils.[ch]: Remove.
10017 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
10018 objects for easy property access and dbus connection handling.
10020 * libnm-glib/nm-client.c: Derive from NMObject.
10022 * libnm-glib/nm-device.c: Ditto.
10024 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
10026 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
10028 * libnm-glib/nm-ip4-config.c: Ditto.
10030 * libnm-glib/nm-access-point.c: Ditto.
10032 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
10033 comparision. Currently used by the device activation code to determine if the new
10034 activation is the same as the old one.
10036 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
10037 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
10038 able to ask password for the AP.
10040 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
10041 up if the device is already connected, tear down it's connection (if it isn't the
10042 same as new one) and start the activation.
10044 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
10046 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10047 the issue where all APs are always listed as encrypted.
10049 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10050 their own registered paths.
10052 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10053 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10055 2007-06-13 Tambet Ingo <tambet@ximian.com>
10057 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10060 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10061 because the handling code will cause the next state change and signal listeners
10062 get the signals in wrong order.
10064 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10065 correctly in case of pending activation.
10067 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10068 Convert the essid byte array to string correctly, including the terminating NULL.
10070 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10071 mode with correct types.
10073 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10074 constructed info to dbus call instead of the activation request.
10076 2007-06-11 Christopher Aillon <caillon@redhat.com>
10078 Patch from Christian Persch <chpe@gnome.org>
10080 * libnm-glib/Makefile.am:
10081 * dispatcher-daemon/Makefile.am:
10082 Use the correct variables, the correct paths, and correct ordering. (446315)
10084 2007-06-11 Tambet Ingo <tambet@ximian.com>
10086 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10087 argument. The activation request is easy to retrieve.
10089 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10090 just to be a convenient location for devices to store random stuff.
10092 2007-06-11 Christopher Aillon <caillon@redhat.com>
10094 Patch from Alex Smith <alex@alex-smith.me.uk>
10096 * src/backends/NetworkManagerFrugalware.c:
10097 Update the FrugalWare backend to fix a few segfaults. (#392642)
10099 2007-06-08 Tambet Ingo <tambet@ximian.com>
10101 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10103 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10105 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10107 2007-06-06 Tambet Ingo <tambet@ximian.com>
10109 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10111 Implement NMSettingIP4Config.
10112 Finish NMSettingWired by adding all known members.
10113 (setting_wired_verify): Implement.
10114 Finish NMSettingWireless by adding all known members.
10115 (setting_wireless_verify): Implement.
10117 * libnm-util/nm-connection.c: Register "ipv4" setting.
10118 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10119 dump function, we can introspect the GHashTable which is used for sending connections
10122 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10123 Take GByteArray for essid, it's really not a string.
10125 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10126 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10127 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10128 means overriding the values we got from DHCP.
10129 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10130 (nm_device_deactivate_quickly): Ditto.
10132 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10135 2007-05-07 Tambet Ingo <tambet@ximian.com>
10137 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10140 * libnm-glib/nm-device-802-11-wireless.c:
10141 (nm_device_802_3_ethernet_activate): Remove.
10143 * libnm-glib/nm-device-802-3-ethernet.c
10144 (nm_device_802_3_ethernet_activate): Remove.
10146 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10148 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10151 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10152 activation has started.
10153 Implement the new activation using NMConnection.
10155 * src/nm-activation-request.c: Store a generic connection object instead
10156 of a wireless-specific AP.
10158 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10159 on device type, create a device specific connection object suitable for
10162 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10163 specific check to validate the connection and on success start the
10166 * src/nm-device-interface.h: Add a activate virtual function to the
10167 interface definition.
10169 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10170 (impl_device_activate): Implement.
10172 * introspection/nm-device.xml: Add a generic device activation interface
10173 that accepts an abstract NMConnection structure that has device-specific
10176 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10177 activation interface.
10179 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10180 activation interface.
10182 * libnm-util/nm-connection.c:
10183 * libnm-util/nm-connection.h:
10184 * libnm-util/nm-setting.c:
10185 * libnm-util/nm-setting.h: Add.
10187 * libnm-util/Makefile.am: Build the added files.
10189 * src/nm-dbus-manager.c
10190 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10191 DbusConnection argument from 'name-owner-changed' signal. The manager
10192 is already passed as a first argument to the signal and the connection
10193 is easy enough to get from it.
10195 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10196 Update the signature of the function.
10198 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10201 * src/NetworkManager.c: Ditto.
10203 * src/named-manager/nm-named-manager.c
10204 (nm_named_manager_name_owner_changed): Ditto.
10206 * src/supplicant-manager/nm-supplicant-manager.c
10207 (nm_supplicant_manager_name_owner_changed): Ditto.
10209 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10211 * src/dhcp-manager/nm-dhcp-manager.c
10212 (nm_dhcp_manager_name_owner_changed): Ditto.
10214 * src/nm-hal-manager.c: Add a list of device detectors and creators
10215 to make it easier to add new devices. Each device type has it's own
10216 entry in the table so adding new device types is only a matter of
10217 implementing a couple of functions, one for device detection and the
10218 other for device creation.
10220 2007-04-25 Dan Williams <dcbw@redhat.com>
10222 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10223 (gnome.org #432401)
10225 2007-03-30 Dan Williams <dcbw@redhat.com>
10227 * src/NetworkManagerSystem.c
10228 - (nm_system_device_set_ip4_route): clean up and fix argument
10229 to nm_dev_sock_open()
10231 2007-03-28 Tambet Ingo <tambet@ximian.com>
10233 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10234 data to correct types instead of always using string.
10236 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10237 _not_ have NM_802_11_CAP_PROTO_NONE.
10238 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10241 2007-03-27 Tambet Ingo <tambet@ximian.com>
10243 * libnm-glib/Makefile.am: Fix the build issue.
10245 2007-03-26 Tambet Ingo <tambet@ximian.com>
10247 * libnm-glib/nm-vpn-connection.h:
10248 * libnm-glib/nm-vpn-connection.c: Implement.
10250 * libnm-glib/nm-client.c: Add VPN support.
10252 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10255 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10258 2007-03-26 Dan Williams <dcbw@redhat.com>
10260 * src/NetworkManagerAPList.c
10261 * src/nm-device-802-11-wireless.c
10262 * src/NetworkManagerAP.c:
10263 - Store last seen as glong instead of GTimeVal.
10264 - Fix the upper bound of capabilities, it's a bitfield.
10266 2007-03-16 Tambet Ingo <tambet@ximian.com>
10268 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10270 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10271 "manager-running" signal that notifies the appearance/disappearance of NM.
10272 (nm_client_sleep): Implement.
10274 * libnm-glib/nm-device.c:
10275 * libnm-glib/nm-device-802-11-wireless.c:
10276 * libnm-glib/nm-device-802-3-ethernet.c:
10278 Don't inherit from DBusGProxy, add a proxy to private
10279 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10280 for anything but their own dbus interface. DBusGProxy objects support only one
10281 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10282 interface. The nice side effect of this change is that we do not create a new
10283 DBusGProxy object for each property access.
10285 2007-03-15 Tambet Ingo <tambet@ximian.com>
10287 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10288 with zeroes before passing them to functions - the functions never do that and
10289 reading the values back may produce wrong values.
10290 (real_bring_up): Store the signal handler id ...
10291 (real_bring_down): ... So that it can be removed here.
10292 Disconnect the supplicant interface here as well.
10293 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10294 from the access point instead of old $device/Networks/$essid.
10296 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10297 device state is connected (instead of just having link/carrier).
10299 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10300 already easily accessible through the device.
10302 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10303 store it within the object.
10304 (nm_ap_get_dbus_path): Export it to public as well.
10306 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10309 2007-03-12 Dan Williams <dcbw@redhat.com>
10311 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10312 for non-carrier-detect capable devices, and useless for carrier-detect
10313 devices since we get notifications from netlink about carrier status anyway.
10315 * src/nm-device-802-3-ethernet.c
10316 - remove 'link_source_id' member from private data
10317 - (probe_link): remove and collapse into real_update_link()
10318 - (nm_device_802_3_periodic_update): remove
10319 - (real_is_up): check for sup_iface rather than link_source_id
10320 - (real_bring_up): return gboolean for success/fail; require that
10321 sup_iface be valid for device bringup to succeed
10322 - (real_bring_down): zero out link signal ids
10325 - (nm_device_activate_stage2_device_config): fail activation if device
10327 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10329 - (nm_device_bring_up): return success/fail
10332 - bring_up now returns success/fail
10334 * src/nm-device-802-11-wireless.c
10335 - (real_bring_up): return success from bringup
10337 2007-03-07 Dan Williams <dcbw@redhat.com>
10339 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10340 * src/nm-ap-security-wpa-psk.c
10341 - (real_write_supplicant_config): work with PSKs that may contain
10342 zeros in the binary format rather than treating it as a string
10344 2007-03-02 Tambet Ingo <tambet@ximian.com>
10346 * libnm-glib/nm-device-802-11-wireless.c
10347 (nm_device_802_11_wireless_get_capabilities): Implement.
10349 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10351 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10353 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10354 reply only if it's not NULL. Not sure why this started happening right now.
10356 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10357 code paths for when devices get removed on shutdown or when a device is just
10359 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10360 gets freed so any signal from a device (disconnected for instance) would invoke
10361 NMState update which would crash.
10362 (nm_manager_remove_device): Bring the device down when it gets removed.
10364 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10365 the unused dev_type.
10367 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10368 reference to the added device, NMManager will own it (if it wants).
10370 * test/nm-tool.c: Rewrite using libnm-glib.
10372 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10373 We get signalled when it changes.
10375 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10378 * libnm-glib/nm-device.c: Cache the device state property.
10380 * libnm-glib/nm-access-point.c: Cache the strength property.
10382 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10383 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10384 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10385 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10386 the device is down, activating, or activated (in case of A/B/G cards).
10387 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10388 it's all done through supplicant now.
10390 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10391 counting issues with pending calls which caused leaks and crashes when
10392 interface was removed (now that the interface actually gets removed).
10394 * src/nm-call-store.c: Make a copy of data before running a foreach
10395 with user callback on it - The most common usage pattern is to cancel
10396 (and thus remove) all pending calls with foreach which would modify
10397 the hash table we're iterating over.
10399 * src/nm-manager.c: When a device is added, make sure it is "up". When
10400 it's removed or disabled due to disabling wireless or networking, bring
10403 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10405 * src/nm-device-802-11-wireless.c:
10406 * src/nm-device-802-3-ethernet.c:
10408 - Remove "init" virtual function, all gobjects have a place for that
10409 already (constructor).
10410 - Replace "start" virtual function with "bring_up", devices can be
10411 brought up and down more than just on startup now.
10412 - Add "is_up" virtual function.
10413 - Implement one way to bring a device down instead of previous 4 different
10414 ways, each of witch did something different.
10416 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10417 all it needs is the device interface.
10419 Get rid of NMData.dev_list (3 members to go).
10420 Get rif of NMData in a lot of places.
10422 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10424 2007-02-23 Dan Williams <dcbw@redhat.com>
10426 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10428 * src/NetworkManagerAP.c
10429 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10430 OR-ing rather than AND-ing
10432 2007-02-20 Tambet Ingo <tambet@ximian.com>
10434 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10435 "network-removed" signals.
10437 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10439 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10440 when receiving the signal from dbus.
10442 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10445 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10446 deactivation of the previously activated device working again.
10448 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10451 * src/nm-device.c (nm_device_is_activated): Remove.
10452 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10454 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10455 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10456 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10457 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10458 Remove NMNetworkStatus and NMActStage enums.
10460 2007-02-19 Tambet Ingo <tambet@ximian.com>
10462 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10463 Handle device state changes and disconnect VPN if it's device deactivates.
10465 * src/nm-dbus-nm.c:
10466 * src/nm-dbus-nm.h:
10467 * src/nm-dbus-device.c:
10468 * src/nm-dbus-device.c:
10469 * src/nm-dbus-net.c:
10470 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10472 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10474 * src/nm-device.c (nm_device_get_by_udi):
10475 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10476 implemented in the correct location (NMManager).
10477 Rip out all the test_device stuff.
10479 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10480 failure handlers, it's all done by NMDevice already.
10482 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10483 Remove the iochannel hack to route the unix signals to the main thread since
10484 we're not threaded anymore.
10486 * src/NetworkManagerAP.c: Implement HWAddress property.
10488 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10489 automatically with dbus-glib.
10491 * src/nm-netlink-monitor.c:
10492 * src/nm-netlink-monitor.h:
10493 - Move it low in the class hierarchy, don't reference any NM types.
10494 - Remove private data from the header.
10495 - Use type safe checks in public API methods.
10496 - Make it a singleton so we don't have to pass the single reference around.
10498 2007-02-16 Tambet Ingo <tambet@ximian.com>
10500 * introspection/nm-ip4-config.xml: Implement.
10502 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10504 * libnm-glib/nm-ip4-config.c:
10505 * libnm-glib/nm-ip4-config.c: Implement.
10507 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10508 securities. APs reference security.
10510 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10511 be exported over DBUS.
10513 * src/nm-device-802-3-ethernet.c: Ditto.
10515 * src/NetworkManagerAP.c:
10516 * src/NetworkManagerAP.h:
10517 - Convert to GObject, export over DBUS.
10519 * src/nm-ip4-config.h:
10520 * src/nm-ip4-config.h:
10521 - Convert to GObject, export over DBUS.
10523 2007-02-12 Dan Williams <dcbw@redhat.com>
10525 Patch from Helmut Schaa <hschaa@suse.de>
10527 * vpn-daemons/pptp/configure.in
10528 vpn-daemons/pptp/Makefile.am
10529 vpn-daemons/openvpn/configure.in
10530 vpn-daemons/openvpn/Makefile.am
10531 vpn-daemons/vpnc/configure.in
10532 vpn-daemons/vpnc/Makefile.am
10533 - Add --without-gnome switch which disables building gnome bits
10535 2007-02-12 Tambet Ingo <tambet@ximian.com>
10537 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10539 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10541 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10544 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10546 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10548 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10551 - Remove old low-level dbus interface implementations and replace them
10552 with dbus-glib one.
10555 - Require dbus-glib >= 0.72.
10556 - Plug in new sources to build.
10559 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10560 to make it more convenient to use from GObject based programs.
10563 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10565 2007-02-09 Tambet Ingo <tambet@ximian.com>
10567 * src/nm-device-802-11-wireless.c:
10568 - Add "network-added" and "network-removed" signals.
10569 - Use gobject boilerplate macros to define the GObject.
10570 - Implement wireless device activation.
10571 - Remove activation_failure_handler and activation_success_handler
10572 and instead listen on state-changed signals and run the same code
10576 - Implment NMDeviceInterface::deactivate.
10577 - Remove activation_failure_handler and activation_success_handler
10578 virtual methods. Each device which is interested in these events
10579 can just listen on it's state changed signals.
10581 * src/NetworkManagerPolicy.c:
10582 - Move a bit more NMData usage to NMManager.
10583 - Remove activation scheduling bits.
10584 - Add listeners for wireless device's "network-added" and
10585 "network-removed" signals.
10586 - Listen device changed signals and deactivate currently activated
10587 device when another device start activating (for now).
10588 - Remove (nm_policy_schedule_device_change_check): There's never a need
10589 for calling this, the policy code knows exactly when this should happen,
10590 by listening on events from NMManager and NMDevices.
10592 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10595 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10596 method on the specific device instead of going to through policy code
10597 and determining the device type by passed in AP's existance.
10599 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10600 abstract NMDevice deactivation.
10602 2007-02-08 Tambet Ingo <tambet@ximian.com>
10604 * src/NetworkManager.c:
10605 - Set up all the shiny new managers.
10607 * src/NetworkManagerPolicy.c:
10608 - Add the beginnings of new NMPolicy code. Instead of requireing all
10609 classes to call into policy code, make the policy code kind of like
10610 a supervisor that monitors what's going on and drives the whole NM.
10612 * src/nm-hal-manager.c:
10613 * src/nm-hal-manager.h:
10614 - Collect all libhal code scattered around NM to this one class.
10615 - Listen libhal and NMManager events and add/remove devices to
10618 * src/nm-manager.c:
10619 * src/nm-manager.h:
10620 - Implment a replacement for NMData. NMData is now officially
10623 2007-02-05 Tambet Ingo <tambet@ximian.com>
10625 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10626 * src/supplicant-manager/nm-supplicant-interface.h
10627 * src/supplicant-manager/nm-supplicant-interface.c
10628 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10629 argument to boolean from enum.
10631 Make NMDevice abstract class, remove almost all references to it's
10632 subclasses (the last place gets removed with new policy manager). Add
10633 NMDeviceInterface (which NMDevice implements) so that when we have
10634 NMDevice exported over DBUS, there's a common NMDevice interface which
10635 all instances have, plus there's a device specific interface for each
10637 Remove functions (nm_device_is_802_3_ethernet) and
10638 (nm_device_is_802_11_wireless). There are already standard GObject macros
10639 for type safe checks.
10640 Use the updated supplican manager API.
10642 * src/nm-device-interface.h:
10643 * src/nm-device-interface.c:
10644 * src/nm-call-store.h:
10645 * src/nm-call-store.c: Implement.
10647 * src/supplicant-manager/nm-supplicant-interface.c:
10648 * src/supplicant-manager/nm-supplicant-interface.h:
10649 * src/supplicant-manager/nm-supplicant-manager.c:
10650 * src/supplicant-manager/nm-supplicant-manager.h:
10651 - Remove all private data type references from public header files.
10652 - Remove all references to other NM classes, this class is just a
10653 proxy between wpa_supplicant and NM so it doesn't have to know
10655 - Convert to dbus-glib bindings.
10656 - Type safe checks for public methods' arguments.
10657 - Store pending DBUS call ids to NMCallStore.
10659 * src/supplicant-manager/nm-supplicant-config.c:
10660 - Store config values in a GHashTable instead of GSList.
10662 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10664 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10667 * src/nm-device.c: Use the new DHCP manager API.
10669 * src/nm-activation-request.c:
10670 * src/nm-activation-request.h:
10671 - Remove all dhcp related properties and methods.
10673 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10675 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10677 * src/dhcp-manager/nm-dhcp-manager.c:
10678 * src/dhcp-manager/nm-dhcp-manager.h:
10679 - Convert it to GObject since we need to signal state changes.
10680 - Remove all references to other NM classes, this class is one
10681 of the lowest classes in our hierarchy.
10682 - One less class to use NMActRequest.
10683 - Make it singleton, one less user of NMData.
10684 - Remove a couple of sleep() calls.
10685 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10686 One less class to use the NM's custom tailored signal handlig.
10688 * Makefile.am: Generate marshallers, add them to build.
10690 2007-02-02 Dan Williams <dcbw@redhat.com>
10696 - Remove last bits referencing gnome applet
10698 2007-02-02 Dan Williams <dcbw@redhat.com>
10700 * src/vpn-manager/nm-vpn-service.c
10701 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10702 and NBNS server addresses
10704 2007-02-02 Tambet Ingo <tambet@ximian.com>
10706 * src/nm-dbus-manager.c:
10707 * src/nm-dbus-manager.h:
10708 - Convert all internal DBUS code to use dbus-glib bindings.
10709 - Remove GObject properties, we don't need them here.
10710 - Don't explicitly set things to NULL after freeing, glib is
10711 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10712 - Make public API argument checks type safe.
10713 - Remove unnecessary (and wrong) cast to GObject for the first
10714 argument to g_signal_* calls - The first argument is a gpointer.
10715 - Export DBusGConnection to other cool classes that (are going to)
10718 2007-01-26 Dan Williams <dcbw@redhat.com>
10720 * libnm-util/dbus-dict-helpers.c
10721 libnm-util/dbus-dict-helpers.h
10722 - Coordinate style with wpa_supplicant version to minimize diff
10723 - Add uint32 array support
10724 - (nmu_dbus_dict_append_uint32_array): new function
10725 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10726 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10727 version; allow adding string array elements individually
10729 * test/libnm-util/test-dbus-dict-helpers.c
10730 - Test uint32 arrays
10732 2007-01-27 Jürg Billeter <j@bitron.ch>
10734 * src/backends/NetworkManagerPaldo.c
10735 - (nm_system_update_dns): clear nscd hosts cache
10737 2007-01-04 Dan Williams <dcbw@redhat.com>
10739 Threading removal related cleanups:
10741 - Use the glib default main context. Remove the device main context
10742 member from NMDevice, and the main_context member from NMData. Change
10743 all the idle and timeout scheduler functions to use plain
10744 g_idle_add() and g_timeout_add().
10746 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10747 takes an argument; fix that up too.
10749 - Remove all locking, which is useless since we no longer use threads. For
10750 example, nm_get_device_by_iface_locked() has been removed. The global
10751 device list lock, the AP List lock, and all static locks in
10752 NetworkManagerPolicy.c have been removed. The locking utility functions
10753 in NetworkManagerUtils.c have also been removed.
10755 - Other cleanups in spacing and code style
10757 2007-01-01 Dan Williams <dcbw@redhat.com>
10759 Found by Bill Moss:
10761 * src/supplicant-manager/nm-supplicant-interface.c
10762 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10763 the supplicant interface wasn't already disconnected. Always
10764 call removeNetwork and disconnect unless the supplicant interface
10765 is in the DISCONNECTED or INACTIVE state.
10767 2006-12-28 Dan Williams <dcbw@redhat.com>
10769 Use a single thread for everything. With the move to wpa_supplicant
10770 and communication over D-Bus, there's no reason for multiple threads.
10771 Almost all of the blocking code has been removed, with one exception in
10772 the DHCP manager and a few in the VPN manager. This commit removes the
10773 per-device worker thread and fixes activation cancellation in the absence
10774 of threads. Further removal of thread-related code would be removing
10775 any locking code (like the device list lock) and simplification of logic
10776 around areas of code or data structures that are currently locked.
10779 dhcp-manager/nm-dhcp-manager.c
10780 nm-device-802-11-wireless.c
10781 nm-device-802-3-ethernet.c
10784 - Remove usage of multiple threads
10786 2006-12-19 Dan Williams <dcbw@redhat.com>
10788 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10789 plus a few other patches from wpa_supplicant bugzilla.
10792 src/NetworkManagerPolicy.c
10793 src/NetworkManagerUtils.c
10794 src/NetworkManagerUtils.h
10795 src/nm-ap-security-leap.c
10796 src/nm-ap-security-wep.c
10797 src/nm-ap-security-wpa-eap.c
10798 src/nm-ap-security-wpa-psk.c
10799 src/nm-ap-security.c
10800 src/nm-ap-security.h
10801 src/nm-device-802-11-wireless.c
10802 src/nm-device-802-11-wireless.h
10803 src/supplicant-manager/nm-supplicant-config.c
10804 src/supplicant-manager/nm-supplicant-config.h
10805 src/supplicant-manager/nm-supplicant-interface.c
10806 src/supplicant-manager/nm-supplicant-interface.h
10807 src/supplicant-manager/nm-supplicant-marshal.list
10808 src/supplicant-manager/nm-supplicant-settings-verify.c
10809 src/supplicant-manager/nm-supplicant-settings-verify.h
10810 - Move all connection management and association handling to
10811 wpa_supplicant over dbus, rather than spawning a private copy
10813 2006-12-19 Dan Williams <dcbw@redhat.com>
10815 * src/NetworkManagerPolicy.c
10816 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10817 better locking of the device change check handler ID. Incorrect
10818 locking was causing lost device change requests
10820 2006-12-18 Dan Williams <dcbw@redhat.com>
10822 * libnm-util/dbus-dict-helpers.c
10823 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10824 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10825 dbus_message_iter_get_array_len() (Gnome.org #382898)
10827 2006-12-18 Dan Williams <dcbw@redhat.com>
10829 * gnome/libnm_glib/libnm_glib.c
10830 - Change dbus_connection_close() -> dbus_connection_unref()
10832 2006-12-11 Dan Williams <dcbw@redhat.com>
10834 * src/supplicant-manager/nm-supplicant-interface.c
10835 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10836 wpa_supplicant interface state
10837 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10838 state before transitioning to READY state
10840 2006-12-04 Dan Williams <dcbw@redhat.com>
10842 * src/nm-device-802-11-wireless.c
10843 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10844 odd length of ESSID returned from ieee80211 stack-based drivers
10846 2006-12-04 Dan Williams <dcbw@redhat.com>
10848 * src/nm-device-802-11-wireless.c
10849 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10850 IE handling blocks that cause mis-parsing of the IE
10852 2006-12-04 Dan Williams <dcbw@redhat.com>
10854 * src/nm-device-802-11-wireless.c
10855 - (init_supplicant_interface): new function; pull supplicant interface
10856 setup code out into standalone function since it must be called from
10857 two different places
10858 - (real_init): sup_mgr is now in private object data; get and track
10859 the supplicant manager object over the NMDevice subclass' lifetime
10860 and register a signal handler for its state signals; only try to
10861 initialize the supplicant interface if the supplicant manager is in
10862 the IDLE state (and therefore is ready for requests)
10863 - (request_wireless_scan): reschedule the scan request if (a) there is
10864 no supplicant interface yet (meaning wpa_supplicant isn't running
10865 or isn't ready yet), or (b) if the supplicant interface isn't ready
10867 - (supplicant_iface_connection_state_cb): new function; stub for
10868 handling supplicant interface connection state signals
10869 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10871 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10872 supplicant manager object that's being tracked starting with this
10875 2006-12-04 Dan Williams <dcbw@redhat.com>
10877 * src/supplicant-manager/nm-supplicant-interface.c
10878 - (nm_supplicant_interface_set_property): track signal handler ID
10879 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10881 2006-12-04 Dan Williams <dcbw@redhat.com>
10883 * src/supplicant-manager/nm-supplicant-interface.[ch]
10884 - (nm_supplicant_interface_get_state): new function
10886 2006-12-04 Dan Williams <dcbw@redhat.com>
10888 * src/supplicant-manager/nm-supplicant-interface.c
10889 - (bssid_properties_cb): don't treat DBus errors as valid
10890 scanned AP messages
10892 2006-12-04 Dan Williams <dcbw@redhat.com>
10894 * src/supplicant-manager/nm-supplicant-interface.[ch]
10895 - (nm_supplicant_interface_get_connection_state): new function
10896 - define new supplicant connection states
10897 - send a signal when the supplicant connection state changes
10899 2006-12-03 Dan Williams <dcbw@redhat.com>
10901 * src/supplicant-manager/Makefile.am
10902 src/supplicant-manager/nm-supplicant-connection.h
10903 src/supplicant-manager/nm-supplicant-connection.c
10904 src/supplicant-manager/nm-supplicant-config.h
10905 src/supplicant-manager/nm-supplicant-config.c
10906 src/supplicant-manager/nm-supplicant-types.h
10907 src/supplicant-manager/nm-supplicant-interface.h
10908 src/supplicant-manager/nm-supplicant-interface.c
10909 - Rename NMSupplicantConnection -> NMSupplicantConfig
10911 2006-12-03 Dan Williams <dcbw@redhat.com>
10913 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10917 - Move VPN-related translatables to .skip
10919 * vpn-daemons/pptp/po/POTFILES.in
10920 - Update with new translatables
10922 2006-12-02 Dan Williams <dcbw@redhat.com>
10924 Patch from Christian Persch <chpe@gnome.org>
10926 * gnome/applet/Makefile.am
10927 gnome/applet/applet-dbus-devices.c
10928 gnome/applet/applet-notifications.c
10929 gnome/applet/applet.c
10930 gnome/applet/applet.h
10931 gnome/applet/main.c
10932 - Be a GtkStatusIcon on GTK+ >= 2.10
10934 2006-12-02 Dan Williams <dcbw@redhat.com>
10936 * gnome/applet/applet.c
10937 - (nma_update_info): fix two unecessary allocations
10939 2006-12-02 Dan Williams <dcbw@redhat.com>
10941 Patch from Michael Biebl <biebl@teco.edu>
10943 man/NetworkManager.1.in
10944 man/NetworkManagerDispatcher.1.in
10945 man/NetworkManager.8.in
10946 man/NetworkManagerDispatcher.8.in
10947 - Add .SH NAME stanzas
10948 - Move NM & NM Dispatcher manpages to section 8 (admin)
10950 2006-12-02 Dan Williams <dcbw@redhat.com>
10952 Patch from Christian Persch <chpe@gnome.org>
10955 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10957 2006-11-29 Tambet Ingo <tambet@ximian.com>
10959 Patch by Timo Hoenig <thoenig@suse.de>:
10960 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10963 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10964 we can't use the one from the main source directory.
10966 2006-11-27 Dan Williams <dcbw@redhat.com>
10968 Patch from Christian Persch <chpe@gnome.org>
10970 * gnome/applet/applet-dbus-devices.c
10971 - (hal_info_product_cb): fix memleak; free duped string.
10974 2006-11-27 Dan Williams <dcbw@redhat.com>
10976 Patch from Christian Persch <chpe@gnome.org>
10978 * gnome/applet/menu-items.c
10979 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10980 as gtk_progress_set_percentage is deprecated. Should
10981 work as far back as GTK+ 2.4. Gnome.org #379780
10983 2006-11-26 Dan Williams <dcbw@redhat.com>
10985 Scan using wpa_supplicant over DBus.
10987 * src/nm-device-802-11-wireless.c
10988 - remove wireless extensions netlink event handler bits
10989 (wireless_event_helper, nm_device_802_11_wireless_event)
10990 - remove wireless extensions scan event handler bits
10991 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10992 hex2byte, hex2num, request_and_convert_scan_results,
10993 free_process_scan_cb_data, scan_results_timeout,
10994 schedule_scan_results_timeout, cancel_scan_results_timeout)
10995 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10996 and request scans from the supplicant interface rather than directly
10997 - Move functionality of convert_scan_results() to cull_scan_list() and
10998 supplicant_iface_scanned_ap_cb()
10999 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
11000 at the scan interval when the current scan has finished
11001 - (supplicant_iface_state_cb): start scanning when the supplicant
11002 interface enters the READY state, and stop scanning when it
11003 enters the DOWN state
11004 - (cull_scan_list): weed out old access points from the scan list
11005 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
11006 point into an NMAccessPoint and merge it into the device's scan list
11008 * src/supplicant-manager/nm-supplicant-interface.c
11009 src/supplicant-manager/nm-supplicant-interface.h
11010 - Add a new signal "scan-result" which is issued when the supplicant
11011 notifies NM that a scan has completed
11012 - Add a new signal "scanned-ap" that notifies listeners of a new access
11013 point found in the scan. Called once for each access point that
11014 the supplicant interface object receives from the supplicant as a
11015 result of the "scanResults" method call
11016 - (wpas_iface_query_scan_results): don't wait 4s before querying
11017 for the initial scan results
11018 - (scan_request_cb): new function; send listeners the result
11019 (success, error) of a wireless scan request
11020 - (nm_supplicant_interface_request_scan): new function; ask the
11021 supplicant to perform an immediate wireless scan
11023 2006-11-25 Dan Williams <dcbw@redhat.com>
11025 * src/supplicant-manager/Makefile.am
11026 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
11027 add HAL cflags/includes and named-manager includes directory
11029 * src/supplicant-manager/nm-supplicant-interface.h
11030 - New state STARTING to handle transition from INIT to READY where
11031 the addInterface pending call is still outstanding
11033 * src/supplicant-manager/nm-supplicant-interface.c
11034 - track pending calls differently since we may have more than one
11035 going on at any given time
11036 - request scan results from wpa_supplicant; but don't do it more often
11037 than every 4 seconds. Drivers that do background scanning
11038 (like the 'ipw' drivers) send a continuous stream of scan completion
11039 notifications, so we don't want to hammer the supplicant or dbus
11040 with requests for all scan results every time we get a completion
11043 2006-11-25 Dan Williams <dcbw@redhat.com>
11045 * src/supplicant-manager/nm-supplicant-types.h
11046 - new file; move all supplicant manager object typedefs here for
11049 * src/supplicant-manager/nm-supplicant-interface.c
11050 src/supplicant-manager/nm-supplicant-interface.h
11051 - new file; an object that interfaces an NMDevice object to the
11052 supplicant and handles signals from the supplicant. This object
11053 does all necessary DBus communication with wpa_supplicant.
11055 * src/supplicant-manager/nm-supplicant-manager.c
11056 src/supplicant-manager/nm-supplicant-manager.h
11057 - Actually do something. Track the state of the wpa_supplicant service
11058 and deal with its comings & goings. Handle life events of
11059 supplicant interfaces too.
11060 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11062 * src/supplicant-manager/nm-supplicant-connection.h
11063 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11065 * src/supplicant-manager/Makefile.am
11066 - Add new files to build, and add libnm-util to includes
11068 * src/nm-marshal.list
11069 - New marshaler type: VOID:UINT,UINT
11071 * src/nm-device-802-3-ethernet.c
11072 - (real_init): grab a supplicant interface
11073 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11074 - (supplicant_iface_state_cb): new function, stub for handling
11075 supplicant interface state changes
11077 * src/nm-device-802-11-wireless.c
11078 - (real_init): grab a supplicant interface
11079 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11080 - (supplicant_iface_state_cb): new function, stub for handling
11081 supplicant interface state changes
11083 * src/NetworkManager.c
11084 - (main): create and keep the supplicant manager around for the lifetime
11088 - Link to the supplicant manager sub-library and use the supplicant
11091 2006-11-25 Dan Williams <dcbw@redhat.com>
11093 Rework DBus manager signal handling to be more flexible. Previously,
11094 only one signal handler could be registered for a particular interface.
11095 The DBus manager now reference counts DBus bus matches and allows multiple
11096 clients to register signal handlers for the same interface and sender.
11098 * src/NetworkManager.c
11099 - (main): track NMI signal handler ID and remove it when we quit
11101 * src/NetworkManagerMain.h
11102 - Keep track of NMI signal handler ID
11104 * src/nm-dbus-manager.c
11105 src/nm-dbus-manager.h
11106 - rework signal handling; each signal handler references one signal
11107 match, but a signal match may be referenced by one or more
11108 signal handlers. Matches are refcounted and are destroyed when the
11109 last signal handler that references the match is removed. This is
11110 necessary because two signal handlers may end up requiring the same
11111 dbus bus match, so the match must live until the last signal handler
11112 is destroyed (for example, with the wpa_supplicant network interface
11115 * src/dhcp-manager/nm-dhcp-manager.c
11116 - (nm_dhcp_manager_new): track DHCP signal handler id
11117 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11119 * src/vpn-manager/nm-vpn-service.c
11120 - (nm_vpn_service_add_watch): track VPN service signal handler id
11121 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11123 2006-11-25 Dan Williams <dcbw@redhat.com>
11125 Suggested by Helmut Schaa <hschaa@suse.de>
11127 * src/vpn-daemons/nm-vpn-service.c
11128 - (supplicant_child_setup): new function
11129 - (supplicant_exec): make child process use a new process group id
11131 * src/nm-device-802-11-wireless.c
11132 - (nm_vpn_service_child_setup): new function
11133 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11136 2006-11-19 Dan Williams <dcbw@redhat.com>
11138 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11139 * gnome/vpn-properties/nm-vpn-properties.c
11140 - clean up after renamed VPN connection
11142 2006-11-19 Dan Williams <dcbw@redhat.com>
11144 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11145 * gnome/applet/applet-dbus-vpn.c
11146 - (nma_dbus_vpn_properties_cb): sort VPN connections
11148 * gnome/vpn-properties/nm-vpn-properties.c
11149 - (init_app): sort VPN connections
11151 2006-11-09 Dan Williams <dcbw@redhat.com>
11153 * src/NetworkManagerAPList.c
11154 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11155 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11156 from the nm_ap_list_get_ap_by_address() call was incorrect and
11157 broke hidden SSID matching. Found by Bill Moss.
11159 2006-10-25 Dan Williams <dcbw@redhat.com>
11162 - (nm_dbus_nm_set_active_device): return an empty success message on
11163 success, rather than falling through to the error case.
11165 2006-10-25 Dan Williams <dcbw@redhat.com>
11167 * src/NetworkManagerUtils.c
11168 - (nm_utils_supplicant_request_with_check): suppress messages for the
11171 2006-10-24 Dan Williams <dcbw@redhat.com>
11173 Reduce the number of times the Gnome applet wakes up, especially when
11174 it's doing absolutely nothing and is hidden. Initial patch by
11177 * gnome/applet/applet-dbus.c
11178 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11179 kill the redraw timeout. When NM starts up, start the redraw
11180 timeout. Also, if we get kicked off the bus for some reason,
11181 start the reconnection timeout if one's not already running.
11182 - (nma_dbus_init): better handling of error conditions, don't leak
11183 a half-initialized dbus connection
11184 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11185 the applet's data, just call nm_dbus_init_helper()
11186 - (nma_start_dbus_connection_watch): new function, starts a periodic
11187 timeout that calls nma_dbus_connection_watcher()
11188 - (nma_dbus_init_helper): if we get a successful connection, kill the
11189 reconnection timeout, and don't start the reconnection timeout
11190 unconditionally anymore
11192 * gnome/applet/applet-dbus.h
11193 - Expose nma_start_dbus_connection_watch()
11195 * gnome/applet/applet.c
11196 - (nma_update_state): no longer static, called from applet-dbus.c for
11197 immediate UI updates on certain events
11198 - (nma_set_running): new function; take over setting applet->running,
11199 when not running (ie, NM is not active), don't activate the redraw
11200 timeout because we're not showing the applet anyway. When we are
11201 running (ie, NM is active), and only when we're running, start the
11203 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11204 kill any reconnection timeout
11205 - (nma_get_instance): move one-off dbus initialization code here since
11206 nm_dbus_init_helper() gets called more than once, possibly by the
11207 reconnection timeout function too. And, when we start up, if we
11208 can't get a connection to the bus, start the reconnection timeout.
11209 But don't start the redraw timeout yet, only do that when we get
11210 NM's state and find out if it's running or not.
11212 * gnome/applet/applet.h
11213 - Add the reconnection GSource ID
11214 - Add prototypes for nma_set_running() and the no-longer-static
11217 2006-10-24 Dan Williams <dcbw@redhat.com>
11219 * src/vpn-daemons/nm-dbus-vpnc.c
11220 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11221 pending call tracker
11222 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11223 pending call tracker; register one-vpn-connection update pending
11224 call in pending call tracker
11225 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11226 update pending call in pending call tracker
11227 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11228 update pending call in pending call tracker; don't block waiting
11231 2006-10-19 Robert Love <rml@novell.com>
11233 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11236 2006-10-14 Dan Williams <dcbw@redhat.com>
11238 * src/dhcp-manager/nm-dhcp-manager.c
11239 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11240 the dbus connection and the device object path rather than
11241 constructing it inside both functions. Saves a bit of memory
11242 and clarifies a failure path.
11243 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11244 and allocate device path here rather than each of the two
11247 2006-10-13 Dan Williams <dcbw@redhat.com>
11249 * src/NetworkManager.c
11250 - (nm_name_owner_changed_handler): handle NMI coming and going,
11251 this somehow droppout in the refactor
11253 2006-10-13 Dan Williams <dcbw@redhat.com>
11255 * Huge DBus refactor:
11256 - Create a "DBus Manager" object which manages the connection and
11257 sends signals on NameOwnerChanged and connection/disconnection events,
11258 handles reconnection to the bus if NM gets kicked off, and abstracts
11260 - Remove DBusConnection members from places where they are no
11261 longer needed due to the refactor, like the dbus-connection
11262 property of the named manager, and from NMData
11263 - Reformats a bunch of the code to gnome style
11264 (8-space tabs, braces on same line as statement, 80-col width).
11265 Consider it open season to reformat any bits to gnome style.
11266 style that aren't already.
11268 2006-10-13 Dan Williams <dcbw@redhat.com>
11270 * src/supplicant-manager/Makefile.am
11273 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11274 - Make it a minimal GObject
11276 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11277 - Verify settings destined for wpa_supplicant
11279 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11280 - Minimal GObject to track wpa_supplicant controlled device
11283 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11285 * gnome/applet/applet.c: (nma_update_info),
11286 (nma_act_stage_to_pixbuf), (nma_update_state):
11287 Mark missing strings for translation. Fixes bug #343306.
11289 2006-10-01 Dan Williams <dcbw@redhat.com>
11291 * src/vpn-manager/nm-vpn-manager.c
11292 - (nm_vpn_manager_load_services): split and clean up
11293 for readability and correctness. Restrict VPN service
11294 files to ending in ".name", as was meant from the
11295 beginning (but not coded in). Better error reporting.
11297 2006-10-01 Dan Williams <dcbw@redhat.com>
11300 - Clean up formatting of debug/info/warning log messages
11302 2006-09-27 Robert Love <rml@novell.com>
11304 Patch by Tambet Ingo <tambet@ximian.com>:
11305 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11308 2006-09-07 Dan Williams <dcbw@redhat.com>
11311 test/libnm-util/Makefile.am
11312 test/nm-supplicant-test.c
11313 - Add test program emulating the way NM drives wpa_supplicant
11314 to help debug supplicant issues
11316 2006-08-24 Dan Williams <dcbw@redhat.com>
11320 src/supplicant-manager/Makefile.am
11321 src/supplicant-manager/nm-supplicant-manager.c
11322 src/supplicant-manager/nm-supplicant-manager.h
11323 - Add skeleton bits of the wpa_supplicant manager
11325 2006-08-24 Dan Williams <dcbw@redhat.com>
11327 Patch from Ed Catmur:
11328 * src/NetworkManagerUtils.c
11329 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11330 if netmask is 0 (Gnome #352634)
11332 2006-08-17 Robert Love <rml@novell.com>
11334 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11335 package is now DBUS-enabled and listens for the NM signals.
11337 2006-08-14 Dan Williams <dcbw@redhat.com>
11339 * Patch from Christian Persch <chpe gnome org>
11342 vpn-daemons/openvpn/po/LINGUAS
11343 vpn-daemons/openvpn/configure.in
11344 vpn-daemons/pptp/po/LINGUAS
11345 vpn-daemons/pptp/configure.in
11346 vpn-daemons/vpnc/po/LINGUAS
11347 vpn-daemons/vpnc/configure.in
11348 - Convert to LINGUAS method so translators don't have to modify
11349 configure.in, just stuff in po/. Gnome #343132, requires intltool
11352 2006-08-14 Dan Williams <dcbw@redhat.com>
11354 Patch from Alex Smith <alex.extreme2@gmail.com>
11356 src/backends/Makefile.am
11357 src/backends/NetworkManagerFrugalware.c
11358 - Add support for Frugalware
11360 2006-08-13 Dan Williams <dcbw@redhat.com>
11362 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11363 * src/nm-device-802-11-wireless.c
11364 - (supplicant_exec): spawn wpa_supplicant without debug spew
11367 2006-08-13 Dan Williams <dcbw@redhat.com>
11369 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11370 * src/nm-ap-security.c
11371 src/nm-ap-security.h
11372 - Add authentication_required bits for subclasses to specify whether
11373 or not real authentication is required for connections, i.e. whether
11374 the AP rejects us when an encryption key is wrong or not.
11376 * src/nm-ap-security-wep.c
11377 src/nm-ap-security-wpa-eap.c
11378 src/nm-ap-security-wpa-psk.c
11379 src/nm-ap-security-leap.c
11380 - Implement authentication_required appropriately for each method
11382 * src/nm-device-802-11-wireless.c
11383 - Be smarter about when to request a key; for example, using a wrong key
11384 in WEP shared key mode previously just timed out and did not request
11387 2006-08-13 Dan Williams <dcbw@redhat.com>
11389 * gnome/libnm_glib/libnm_glib.c
11390 - dbus_connection_disconnect() -> dbus_connection_close() for
11393 2006-08-07 Dan Williams <dcbw@redhat.com>
11395 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11396 * src/NetworkManagerSystem.c
11397 - Respect specified MTU. Gnome #344967
11399 2006-08-07 Dan Williams <dcbw@redhat.com>
11401 * src/vpn-manager/nm-vpn-service.c
11402 - Simplify print_vpn_config() arguments
11404 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11405 * src/vpn-manager/Makefile.am
11406 src/vpn-manager/nm-vpn-service.c
11407 - Add new API for passing VPN config options as a dict. Gnome #344967
11409 2006-08-06 Dan Williams <dcbw@redhat.com>
11411 * gnome/applet/applet-dbus-devices.c
11412 gnome/applet/applet-dbus-vpn.c
11413 gnome/applet/applet-dbus.c
11414 gnome/applet/applet-dbus.h
11418 - Make pending call tracking code generic,
11419 so we can use it in NM as well as the applet
11421 2006-08-06 Dan Williams <dcbw@redhat.com>
11423 * src/nm-activation-request.c
11424 - Refcount pending call objects
11426 2006-08-06 Dan Williams <dcbw@redhat.com>
11428 Patch from Christan Chiesa <christanc@gmail.com>
11430 - Tell sha1.c to use bigendian mode on PPC
11432 2006-08-04 Robert Love <rml@novell.com>
11434 Glib Memory Slices!
11435 * configure.in: Require glib 2.10 or later.
11436 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11437 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11438 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11439 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11440 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11441 Memory Slices are the greatest thing since bread slices.
11442 * src/NetworkManagerAP.c: Also, fix memory leak.
11444 2006-08-01 Robert Love <rml@novell.com>
11446 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11448 2006-07-31 Robert Love <rml@novell.com>
11450 * src/backends/interface_parser.c: Declarations must begin the block.
11452 2006-07-24 Dan Williams <dcbw@redhat.com>
11454 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11455 * src/backends/Makefile.am
11456 src/backends/NetworkManagerArch.c
11457 src/backends/NetworkManagerDebian.c
11458 src/backends/NetworkManagerGeneric.c
11459 src/backends/NetworkManagerGeneric.h
11460 src/backends/NetworkManagerGentoo.c
11461 src/backends/NetworkManagerPaldo.c
11462 src/backends/NetworkManagerRedHat.c
11463 src/backends/NetworkManagerSlackware.c
11464 src/backends/NetworkManagerSuSE.c
11465 - Genericize common backend functions
11467 2006-07-18 Robert Love <rml@novell.com>
11469 * configure.in: Add "--with-notify" option to allow disabling of
11472 2006-07-13 Dan Williams <dcbw@redhat.com>
11474 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11475 * gnome/applet/applet.glade
11476 gnome/applet/Makefile.am
11477 gnome/applet/nm-gconf-wso.c
11478 gnome/applet/nm-gconf-wso-leap.c
11479 gnome/applet/nm-gconf-wso-leap.h
11480 gnome/applet/wireless-security-manager.c
11481 gnome/applet/wso-leap.c
11482 gnome/applet/wso-leap.h
11483 include/NetworkManager.h
11484 libnm-util/dbus-helpers.c
11485 libnm-util/dbus-helpers.h
11487 src/NetworkManagerAP.c
11488 src/nm-ap-security.c
11489 src/nm-ap-security-leap.c
11490 src/nm-ap-security-leap.h
11491 - Add LEAP authentication support
11493 2006-07-13 Dan Williams <dcbw@redhat.com>
11495 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11497 src/backends/NetworkManagerArch.c
11498 src/backends/NetworkManagerDebian.c
11499 src/backends/NetworkManagerGentoo.c
11500 src/backends/NetworkManagerPaldo.c
11501 src/backends/NetworkManagerRedHat.c
11502 src/backends/NetworkManagerSlackware.c
11503 src/backends/NetworkManagerSuSE.c
11504 - Convert hardcoding of 'ip' path to configure-time
11507 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11509 * configure.in: added ru to ALL_LINGUAS
11511 2006-07-10 Dan Williams <dcbw@redhat.com>
11513 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11515 - (real_act_stage3_ip_config_start): don't infinite loop when
11516 dhcdbd isn't running (Gnome #346845)
11518 2006-07-09 Dan Williams <dcbw@redhat.com>
11520 * gnome/applet/applet.c
11521 - (nma_destroy): don't pass NULL to notify_notification_close
11524 2006-07-09 Dan Williams <dcbw@redhat.com>
11526 * gnome/applet/applet.c
11527 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11529 2006-07-04 Tor Krill <tor@krill.nu>
11531 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11532 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11533 (nm_system_restart_mdns_responder), (ArchReadConfig),
11534 (nm_system_device_get_system_config):
11535 - Explicitly check for DHCP configuration
11536 - Check if daemons are running before starting them
11538 2006-06-25 Dan Williams <dcbw@redhat.com>
11540 * libnm-util/dbus-dict-helpers.[ch]
11541 test/libnm-util/test-dbus-dict-helpers.c
11542 - Add string array support
11544 2006-06-24 Dan Williams <dcbw@redhat.com>
11546 * src/dhcp-manager/nm-dhcp-manager.c
11547 - (nm_dhcp_manager_process_signal): clean up spacing
11549 2006-06-21 Dan Williams <dcbw@redhat.com>
11551 * src/nm-dbus-device.c
11552 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11555 2006-06-21 Raivis Dejus <orvils@gmail.com>
11557 * configure.in: Added 'lv' to ALL_LINGUAS
11559 2006-06-19 Dan Williams <dcbw@redhat.com>
11561 * src/NetworkManagerAP.c
11562 - Clarify usage of user_created
11564 * src/nm-ap-security-wep.c
11565 src/nm-ap-security-wpa-eap.c
11566 src/nm-ap-security-wpa-psk.c
11567 src/nm-ap-security.c
11568 src/nm-ap-security.h
11569 - s/user_created/adhoc, because we really do mean adhoc
11571 Patch from Bernard Blackham <bernard@blackham.com.au>
11572 * src/nm-device-802-11-wireless.c
11573 - (supplicant_send_network_config): instead of user_created,
11574 use adhoc, and do AP_SCAN 2 for adhoc networks
11576 2006-06-18 Robert Love <rml@novell.com>
11578 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11579 we have a value to set. Gconf generates a warning if `val' is NULL.
11580 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11581 unless we actually received a valid private key file passphrase or
11582 password. Otherwise, we don't know to later ask the applet to pull
11583 the key from the keyring.
11585 2006-06-17 Dan Williams <dcbw@redhat.com>
11587 * libnm-util/dbus-dict-helpers.[ch]
11588 test/libnm-util/test-dbus-dict-helpers.c
11589 - Fixes for zero-length byte arrays
11590 - Replace return values of 0 with FALSE for clarity
11591 - Test zero-length byte arrays
11593 2006-06-17 Dan Williams <dcbw@redhat.com>
11595 * libnm-util/dbus-dict-helpers.[ch]
11596 test/libnm-util/test-dbus-dict-helpers.c
11597 - Add helpers for byte arrays
11598 - Rework bits of the testcase
11600 2006-06-16 Dan Williams <dcbw@redhat.com>
11602 * libnm-util/Makefile.am
11603 * libnm-util/dbus-dict-helpers.[ch]
11604 - Add some helpers to take the pain out of using dict types in
11607 * test/libnm-util/Makefile.am
11608 * test/libnm-util/test-dbus-dict-helpers.c
11609 - Test cases for the dict helper functions
11611 2006-06-15 Robert Love <rml@novell.com>
11613 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11614 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11615 if there is no key to pass.
11616 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11617 receiving a non-NULL key.
11619 2006-06-14 Robert Love <rml@novell.com>
11621 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11625 2006-06-14 Dan Williams <dcbw@redhat.com>
11627 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11628 * src/nm-device-802-11-wireless.c
11629 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11630 or ones where the driver is unknown
11631 - (supplicant_exec): don't wait for supplicant startup here
11632 - (supplicant_interface_init): finer grained polling for supplicant
11635 2006-06-13 Robert Love <rml@novell.com>
11637 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11638 if it is currently set to TRUE. Otherwise, we will reset the value
11639 when we connect normally.
11640 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11641 the old BSSID is valid, too. The recently added ESSID check may not be
11642 sufficient (we can remove it?). What we really want to catch is the
11643 case of going from all-zeros to the BSSID of some other network, which
11644 happens on failure.
11646 2006-06-09 Dan Williams <dcbw@redhat.com>
11648 * src/NetworkManagerSystem.[ch]
11649 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11650 it was unused and pointless
11651 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11652 fix for set_up_down_with_iface change
11654 * src/vpn-manager/nm-vpn-connection.c
11655 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11657 * src/backends/NetworkManagerPaldo.c
11658 src/backends/NetworkManagerRedHat.c
11659 src/backends/NetworkManagerSuSE.c
11660 src/backends/NetworkManagerArch.c
11661 src/backends/NetworkManagerDebian.c
11662 src/backends/NetworkManagerGentoo.c
11663 - (nm_system_enable_loopback): use set_up_down_with_iface where
11665 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11668 2006-06-09 Dan Williams <dcbw@redhat.com>
11670 Patch from Peter Jones:
11671 * src/nm-device-802-11-wireless.c
11672 - (nm_device_802_11_wireless_update_bssid): make sure that the
11673 SSID hasn't changed from what we expect before automatically
11674 updating the saved BSSID from a new AP
11676 2006-06-08 Robert Love <rml@novell.com>
11678 Add 'fallback' support. NetworkManager will attempt to brute-force
11679 connect to networks marked as fallback if there are no better wireless
11680 connections available. This is useful as a method of last resort, to
11681 work around driver problems, and for use with hidden networks.
11682 * gnome/applet/applet-dbus-devices.c,
11683 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11684 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11685 pass it on via DBUS.
11686 * gnome/applet/applet.c: No fallback by default.
11687 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11688 Update other-network-dialog to add UI checkbox toggling fallback.
11689 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11690 propery from AP object. Add "fallback" property to AP object.
11691 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11692 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11693 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11694 separate function. Add get_best_fallback_ap() for returning an AP
11695 on which to attempt fallback.
11696 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11697 * test/nm-set-fallback: New file. Sets a given network as fallback.
11699 2006-06-07 Robert Love <rml@novell.com>
11701 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11702 checked that the return type was GCONF_VALUE_STRING, not the correct
11703 GCONF_VALUE_BOOL, and thus it never worked.
11704 * src/NetworkManagerAPList.c: Before concluding that two networks are
11705 identical based on their BSSID, make sure that the BSSID in question
11706 is actually valid. Specifically, an empty or all zero BSSID does not
11708 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11709 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11710 similar invariant clean up.
11712 2006-06-02 Robert Love <rml@novell.com>
11714 * gnome/applet/applet.c: Update copyright years. Add Novell.
11716 2006-05-28 Dan Williams <dcbw@redhat.com>
11718 * gnome/applet/applet.glade
11719 gnome/vpn-properties/nm-vpn-properties.glade
11720 - Set window icons on dialogs (Gnome.org #333420)
11722 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11724 * gnome/vpn-properties/nm-vpn-properties.glade:
11725 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11726 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11727 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11728 - Make the VPN properties pages prettier and more HIG
11729 compliant. Gnome Bug #336913.
11731 2006-05-28 Dan Williams <dcbw@redhat.com>
11733 Patch from Christian Persch <chpe@gnome.org>
11734 * gnome/vpn-properties/nm-vpn-properties.c
11735 * gnome/vpn-properties/nm-vpn-properties.glade
11736 - HIG-ification love (Gnome.org #336846)
11738 2006-05-28 Dan Williams <dcbw@redhat.com>
11740 Patch from Christian Persch <chpe@gnome.org>
11742 gnome/vpn-properties/nm-vpn-properties.c
11743 - (main): Fix option parsing. Gnome.org #336847
11745 2006-05-28 Dan Williams <dcbw@redhat.com>
11747 * gnome/vpn-properties/nm-vpn-properties.c
11748 - (find_vpn_ui_by_service_name): protect against NULL service names
11749 - (update_edit_del_sensitivity): protect against NULL service names
11752 2006-05-28 Dan Williams <dcbw@redhat.com>
11754 Patch from Chris Fuller <crf@grandecom.net>:
11755 * src/nm-device-802-11-wireless.c
11756 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11757 don't dispose of wireless-specific stuff unless it is actually
11758 initialized. Gnome.org #341263
11760 2006-05-28 Dan Williams <dcbw@redhat.com>
11762 * src/NetworkManagerPolicy.c
11763 - (nm_policy_device_change_check): don't switch devices if the "best"
11764 AP is essentially the same as the current activation request, but
11765 the current activation request isn't done activating yet. Fixes
11766 multiple requests for keyring password on startup for Gnome applet.
11769 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11771 * src/NetworkManager.c: use GOptions instead of getopt
11772 * configure.in: bump glib required version to >= 2.6 for GOption
11775 2006-05-25 Robert Love <rml@novell.com>
11777 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11778 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11779 instead of dumping ifdef's throughout the code.
11780 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11781 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11782 use nm_ioctl_info() in lieu.
11784 2006-05-25 Robert Love <rml@novell.com>
11786 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11787 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11788 not using gcrypt. Otherwise, we get a linker error.
11790 2006-05-25 Robert Love <rml@novell.com>
11792 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11793 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11794 configure flag to disable building of the GNOME-based applet.
11796 2006-05-25 Robert Love <rml@novell.com>
11798 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11799 parameter from link, because it shadows a global variable with some
11800 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11801 should never have exported to the entire system a common four letter
11802 word. But we here at NetworkManager are team players. Fixes
11805 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11807 * configure.in: Added mk.po, Macedonian translation.
11809 2006-05-24 Robert Love <rml@novell.com>
11811 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11812 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11813 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11815 2006-05-24 Robert Love <rml@novell.com>
11817 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11818 libnm-util/Makefile.am, src/Makefile.am,
11819 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11820 vpn-daemons/openvpn/properties/Makefile.am,
11821 vpn-daemons/pptp/auth-dialog/Makefile.am,
11822 vpn-daemons/pptp/properties/Makefile.am,
11823 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11824 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11825 user passed for --datadir, if anything, when setting the GNOME locale
11826 directory. It should be a function of the specified datadir and not
11829 2006-05-24 Robert Love <rml@novell.com>
11831 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11832 src/NetworkManager.c: Take care to call bindtextdomain with the
11833 location of msgid files.
11834 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11837 2006-05-22 Robert Love <rml@novell.com>
11839 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11840 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11841 99% of the time there is a real problem with wireless, and a
11842 seemingly successful connection via Zeroconf just confuses the user.
11843 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11845 2006-05-22 Robert Love <rml@novell.com>
11847 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11848 autofs on interface up if NIS is configured. On interface down, do
11851 2006-05-22 Robert Love <rml@novell.com>
11853 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11854 to avoid calling g_object_unref() on stale pointers on error in
11855 nma_icons_free(). This happens because we short-circuit loaded the
11856 icons on the first failure but then free all icons. Normally we have
11857 no issue because the icons were zero'ed out malloc, but we have stale
11858 pointer data after nma_icon_theme_changed().
11859 * gnome/applet/main.c: Return error code if nma_new() failed.
11861 2060-05-21 Dan Williams <dcbw@redhat.com>
11863 * initscript/NetworkManager.in
11864 - Ensure both dhcdbd and named are started before NM
11866 2006-05-21 Dan Williams <dcbw@redhat.com>
11869 - Bump version to 0.7 to signify we are in 0.7 development
11871 2006-05-21 Dan Williams <dcbw@redhat.com>
11873 Patch from Adam Schreiber <sadam@clemson.edu>
11874 * gnome/vpn-properties/nm-vpn-properties.c
11875 - (main): correct Gnome program name (gnome.org #342498)
11877 2006-05-21 Dan Williams <dcbw@redhat.com>
11879 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11881 * src/NetworkManagerDbus.[ch]
11882 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11883 clarify that function's argument should be an escaped dbus object
11884 path, and look for path segment end before returning a match
11885 * src/nm-dbus-nm.c:
11886 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11888 2006-05-17 Robert Love <rml@novell.com>
11890 Functionality to differentiate Ad-Hoc networks from infrastructure
11891 networks in the applet, by displaying a special icon:
11892 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11893 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11894 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11895 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11896 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11897 networks, encrypted or not.
11898 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11899 accessor functions to get and set the mode of a given network,
11900 wireless_network_get_mode() and wireless_network_set_mode().
11902 2006-05-17 Robert Love <rml@novell.com>
11904 Functionality to automatically add BSSIDs to the allowed-MAC list as
11905 one roams from access point to access point on a given network:
11906 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11907 helper function to compare two ether_addr structures and return TRUE
11908 if they contain the same MAC address.
11909 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11911 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11912 stored with the current AP. If the BSSID has indeed changed, we
11913 send it out to the applet, allowing the allowed-MAC list to grow
11914 automatically in response to roaming.
11916 2006-05-16 Robert Love <rml@novell.com>
11918 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11919 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11921 2006-05-13 Dan Williams <dcbw@redhat.com>
11923 * src/nm-device-802-3-ethernet.c
11924 - (real_get_generic_capabilities): Don't ignore devices that can't do
11925 carrier detect (Debian bug #366373)
11927 2006-05-11 Dan Williams <dcbw@redhat.com>
11929 Patch from Michael Biebl <biebl@teco.edu>
11930 * src/backends/NetworkManagerDebian.c
11931 - Debian backend fixups
11933 2006-05-10 Robert Love <rml@novell.com>
11935 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11937 2006-05-09 Robert Love <rml@novell.com>
11939 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11940 private certificate passphrase, if any, in the GNOME Keyring.
11941 * libnm-utils/dbus-helpers.c: Update.
11943 2006-05-05 Dan Williams <dcbw@redhat.com>
11945 * src/nm-device-802-11-wireless.c
11946 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11947 nm_device_802_11_wireless_disable_encryption() since that's all
11948 we use it for anymore; we don't ever set WEP keys ourselves.
11949 - (real_deactivate_quickly): reset SSID and encryption keys
11950 - (real_deactivate): move SSID and encryption key reset to
11951 real_deactivate_quickly(), which gets run before us anyway
11953 2006-05-05 Robert Love <rml@novell.com>
11955 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11956 root has a wacky default of its own (or, more common, a user has a
11957 bad umask and uses su/sudo to restart NetworkManager). Anything
11958 other than 0022 does not do what we want with, for example,
11959 resolv.conf. This problem is amplified by our judicious use of
11960 fopen(), which uses mode 0666 -- implying that the only way to get
11961 the permissions we want is with a umask of 0022.
11963 2006-05-05 Dan Williams <dcbw@redhat.com>
11965 * gnome/libnm_glib/libnm_glib.c
11966 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11967 to reconnect; instead wait a bit more with each reconnect attempt
11968 up to a max of one minute.
11970 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11972 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11973 the WirelessNetwork structure using the proper function instead of
11974 just casting it directly to (const char *) (gnome.org #336991)
11976 2006-05-03 Robert Love <rml@novell.com>
11978 * src/backends/NetworkManagerSuSE.c: Respect the variable
11979 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11980 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11981 to dynamically update /etc/resolv.conf.
11983 2006-05-02 Peter Jones <pjones@redhat.com>
11985 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11987 2006-05-02 Robert Love <rml@novell.com>
11989 Patch by Timo Hoenig;
11990 * tests/nm-online.c: Print pretty status indicator as timeout winds
11991 down. Also fix possible race between DBUS startup and failure
11994 2006-05-01 Robert Love <rml@novell.com>
11996 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11999 2006-04-27 Jeremy Katz <katzj@redhat.com>
12001 * src/nm-device.c (discover_device_type): Actually use the hal
12002 device type instead of ioctl poking
12004 2006-04-26 Robert Love <rml@novell.com>
12006 * tests/nm-online.c: New file. Simple utility that returns exit status
12007 noting whether the connection is offline or online. If offline on
12008 start, it waits 30 seconds (or a command-line given value) for an
12009 online signal. If it times out, it again returns offline. This is
12010 useful for scripts that want to wait for network connections.
12012 2006-04-25 Robert Love <rml@novell.com>
12014 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
12015 key mode (the authentication algorithm), e.g. open or shared, when we
12016 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
12017 only shared was broken. If the user specified a shared key, set it
12018 explicitly, otherwise let wpa_supplicant go with the default.
12020 2006-04-24 Dan Williams <dcbw@redhat.com>
12022 * src/nm-device-802-11-wireless.c
12023 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
12025 2006-04-24 Dan Williams <dcbw@redhat.com>
12027 Commit the async scanning patch
12029 * src/nm-device-802-11-wireless.c
12030 - get rid of scan_mutex
12031 - (wireless_event_helper): act on wireless scan events
12032 - (real_start): schedule a pending scan
12033 - (link_to_specific_ap): fake the link to the AP during a scan
12034 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
12035 strength during scans
12036 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
12037 nm_device_set_bitrate): unused with new scanning code, disable
12038 - (nm_device_wireless_schedule_scan): removed
12039 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
12040 - (request_and_convert_scan_results): new function; retrieve scan
12041 results from the driver and schedule the processing function
12042 - (scan_results_timeout): timeout triggered when card doesn't send
12043 a scan results wireless event during a certain interval
12044 - (schedule_scan_results_timeout): new function; schedule the scan
12046 - (cancel_scan_results_timeout): new function; cancel the scan
12048 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12049 to do the scanning. Otherwise, just request a scan but don't
12050 grab results here; instead schedule a timeout for scan results and
12051 let netlink notify us of scan completion events
12052 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12053 - (cancel_pending_scan): new function; cancel a pending wireless scan
12054 - (supplicant_status_cb): ignore disconnect events while scanning
12055 - (supplicant_exec): wait a bit longer for the supplicant to start up
12056 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12058 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12060 2006-04-24 Dan Williams <dcbw@redhat.com>
12062 * gnome/applet/applet-dbus.c
12063 - Disable the pending call debug stuff, seems under control now
12065 2006-04-20 Robert Love <rml@novell.com>
12067 Fix bug where hidden ESSID's would not show up in the applet, even
12068 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12069 because nm_policy_device_list_update_from_allowed_list() would merge
12070 the data, putting a name to the hidden networks, but never notify NMI
12071 of the changes. Simple fix is to invoke the function
12072 nm_dbus_signal_wireless_network_change() if we make a mapping.
12073 * src/NetworkManagerAPList.c: Call the function
12074 nm_dbus_signal_wireless_network_change() if we made a successful
12075 BSSID to ESSID mapping, notifying the applet of the "new" network.
12076 * src/NetworkManagerAPList.h: Update the prototypes for both
12077 nm_ap_list_copy_essids_by_address() and
12078 nm_ap_list_copy_one_essid_by_address().
12080 2006-04-20 Robert Love <rml@novell.com>
12082 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12083 not set. Just return zero.
12085 2006-04-20 Robert Love <rml@novell.com>
12087 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12088 only one copy of nm-vpn-properties is running at a time via the 'ol
12089 X selection trick. This prevents the user from opening two "VPN
12090 Connections" windows from within the applet, which leads to mass
12092 * clipboard.c: New file, implementing simple X selection logic.
12093 * clipboard.h: New file.
12094 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12096 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12098 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12100 initscript/Gentoo/Makefile.am
12101 initscript/Gentoo/NetworkManagerDispatcher.in
12103 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12106 2006-04-16 Dan Williams <dcbw@redhat.com>
12108 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12110 initscript/Slackware/Makefile.am
12111 initscript/Slackware/rc.networkmanager-dispatcher.in
12112 initscript/Slackware/rc.networkmanager.in
12113 - Update slackware initscripts
12115 2006-04-10 Robert Love <rml@novell.com>
12117 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12118 the "delete_event" signal on the druid's parent window and handle it
12119 our way, lest using the WM to close the druid results in a series of
12120 bloody and ultimately lethal errors.
12122 2006-04-10 Robert Love <rml@novell.com>
12124 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12125 'Back' too or else the 'Forward' option is initially disabled despite
12128 2006-04-06 Robert Love <rml@novell.com>
12130 Fix bad but simple bug where an active modem connection did not update
12131 NM's connection state, breaking any app that did online/offline:
12132 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12133 represented whether a dial up connection is active, or not.
12134 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12135 to modem activation and deactivation.
12136 * src/NetworkManagerDbus.c: When asked our state, do not return
12137 disconnected if the modem is active.
12139 2006-04-04 Robert Love <rml@novell.com>
12141 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12142 applet. It just confuses the crap out of people and does not make a
12143 lot of sense, as the daemon still runs.
12145 2006-04-02 Tor Krill <tor@krill.nu>
12147 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12148 in start of service.
12149 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12150 get Archlinux backend up to date.
12152 2006-03-29 Robert Love <rml@novell.com>
12154 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12155 to add support for per-route MSS and improve support for per-interface
12157 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12158 optionally take an MSS parameter and set it for the given route.
12159 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12160 NMIP4Config's stored MSS, if any.
12161 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12162 the interface's MTU and the route's MSS, respectively. Add functions
12163 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12164 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12166 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12167 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12168 nm_ip4_config_set_mss.
12169 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12171 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12172 Change the retval of nm_system_get_mtu to guint32.
12173 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12174 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12175 servers can specify MTU's, we should set it here if the MTU was not
12178 2006-03-27 Jürg Billeter <j@bitron.ch>
12181 * initscript/Makefile.am:
12182 * initscript/paldo/Makefile.am:
12183 * initscript/paldo/NetworkManager.in:
12184 * initscript/paldo/NetworkManagerDispatcher.in:
12185 * src/backends/Makefile.am:
12186 * src/backends/NetworkManagerPaldo.c:
12187 - Add paldo support
12189 2006-03-27 Dan Williams <dcbw@redhat.com>
12191 Patch from Christian Persch <chpe@gnome.org>
12192 * gnome/applet/applet.glade
12193 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12195 2006-03-27 Dan Williams <dcbw@redhat.com>
12197 Patch from Diffe <diffie@blazebox.homeip.net>
12198 * src/backends/NetworkManagerSlackware.c
12199 - Don't restart howl, since it's been replaced by Avahi
12200 in most distributions
12202 2006-03-27 Dan Williams <dcbw@redhat.com>
12204 Patch from Tor Krill <bugzilla@krill.nu>
12206 initscript/Makefile.am
12207 src/backends/Makefile.am
12208 src/backends/NetworkManagerArch.c
12209 initscript/Arch/Makefile.am
12210 initscript/Arch/networkmanager-dispatcher.in
12211 initscript/Arch/networkmanager.in
12212 - Add Arch Linux support, fixes gnome.org #335147
12214 2006-03-27 Dan Williams <dcbw@redhat.com>
12216 Patch from Diffe <diffie@blazebox.homeip.net>
12217 * initscript/Slackware/rc.networkmanager
12218 - update, fixed gnome.org #333368
12220 2006-03-27 Robert Love <rml@novell.com>
12222 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12223 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12225 2006-03-27 Robert Love <rml@novell.com>
12227 Patch by Jürg Billeter <j@bitron.ch>:
12228 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12230 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12231 as we prefer glibc over kernel headers, if possible.
12233 2006-03-27 Robert Love <rml@novell.com>
12235 Patch by Jon Escombe <list@dresco.co.uk>:
12236 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12237 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12238 fail, don't bail out. We don't expect all of the various WPA-EAP
12239 values to be present.
12240 * src/nm-ap-security.c: We need to match all capabilities for each
12241 encryption type, not any one of them.
12243 2006-03-27 Robert Love <rml@novell.com>
12245 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12246 restart, not reload, ypbind. Unfortunately there is no superior
12249 2006-03-24 Christopher Aillon <caillon@redhat.com>
12251 * gnome/applet/applet-notifications.c:
12252 When displaying a notification, make sure to get rid of the
12253 previous notification so as to not have competing bubbles,
12254 and stop leaking the old one.
12256 * gnome/applet/applet.c:
12257 * gnome/applet/applet.h:
12258 Add a new 'notification' member to the applet, and zero it out
12259 and free it appropriately.
12261 2006-03-23 Robert Love <rml@novell.com>
12263 Patch by j <j@bootlab.org>:
12264 * gnome/applet/applet.glade: Don't set the invisible_char property,
12265 which simply overrides the GTK default. By and by, this behavior
12266 ought to be fixed in Glade.
12268 2006-03-22 Robert Love <rml@novell.com>
12270 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12272 2006-03-22 Robert Love <rml@novell.com>
12274 Bug fix by Timo Hoenig <thoenig@suse.de>:
12275 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12276 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12277 and the applet going AWOL.
12279 2006-03-22 Robert Love <rml@novell.com>
12281 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12282 preprocessor define and use it instead of open-coded the DHCP
12283 timeout, which is currently 25 seconds, everywhere.
12285 2006-03-22 Robert Love <rml@novell.com>
12287 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12288 key exchange via WPA, ostensibly providing good security without
12289 requiring hardware that supports full WPA. Also, add UI elements to
12290 allow the user to select the pairwise & group cipher for WPA Enterprise
12292 * gnome/applet/applet.glade: Update glade file.
12293 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12294 key type, too, to and from gconf.
12295 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12296 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12297 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12298 the capabilities match.
12299 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12301 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12302 serialize from UI to DBUS.
12303 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12305 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12306 nmu_security_serialize_wpa_eap_with_cipher(), and
12307 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12308 serialize/deserialize the key type via DBUS as the new third DBUS
12310 * libnm-util/dbus-helpers.h: Update prototypes.
12311 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12312 too. If the key type is WEP104, do Dynamic WEP, which means
12313 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12314 pairwise and group ciphers (fixes a FIXME).
12316 2006-03-21 Robert Love <rml@novell.com>
12318 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12319 nm_system_get_mtu(), which returns a user-provided or system-mandated
12320 MTU value for a given device, if any, or zero if no such value
12321 exists. Add nm_system_set_mtu() to set the MTU for a given device
12322 if we have a provided value.
12323 * src/nm-device.c: Set the MTU of devices.
12324 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12325 * src/backends/NetworkManagerDebian.c,
12326 src/backends/NetworkManagerGentoo.c,
12327 src/backends/NetworkManagerRedHat.c,
12328 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12330 2006-03-21 Robert Love <rml@novell.com>
12332 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12333 configuration file.
12335 2006-03-17 Robert Love <rml@novell.com>
12337 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12338 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12339 it, in case it is not running in the first place. We just want its
12340 configuration reloaded. Also, do not "rcypbind stop" on device down.
12342 2006-03-15 Robert Love <rml@novell.com>
12344 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12345 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12346 label "WEP 40/128-bit" is inconsistent because the physical key size
12347 is 40 or 104-bits, to which a 24-bit initialisation vector is
12348 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12349 to read "40/104" or "64/128". I do not care much which, but most
12350 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12351 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12352 WEP passphrase support only handles 128-bit keys, and any future
12353 64-bit passphrase support will require a new option (no way to auto-
12354 detect the target key size), explicitly label our passphrase support
12355 "WEP 128-bit Passphrase".
12357 2006-03-15 Robert Love <rml@novell.com>
12359 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12360 the system init scripts (or some other mechanism) starting it (or a
12361 compatible DBUS service) before NetworkManager runs. This means that
12362 distributions might need to update their init scripts. This fixes
12363 possible races and is quite a bit cleaner.
12364 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12365 starting the NetworkManager daemon.
12368 2006-03-14 Robert Love <rml@novell.com>
12370 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12371 before adding anything.
12373 2006-03-13 Robert Love <rml@novell.com>
12375 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12376 widgets, too, if they exist, in case the user hit the back button.
12377 Fixes a bug where the details page contains the widgets of multiple
12378 VPN modules (Novell bug #157048).
12380 2006-03-13 Robert Love <rml@novell.com>
12382 Patch by Timo Hoenig <thoenig@suse.de>:
12383 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12384 daemon survive DBUS restarts, too.
12386 2006-03-10 Robert Love <rml@novell.com>
12388 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12390 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12391 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12392 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12393 in response to "toggled" signal on new toggle.
12395 2006-03-10 Robert Love <rml@novell.com>
12397 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12398 serialization if strings are NULL, lest DBUS get angry.
12400 2006-03-10 Robert Love <rml@novell.com>
12402 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12404 2006-03-09 Robert Love <rml@novell.com>
12406 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12409 2006-03-09 Dan Williams <dcbw@redhat.com>
12411 Track pending call requests in the applet, and report how many are
12412 outstanding, and how long each completed one takes.
12414 * gnome/applet/applet-dbus-devices.c
12415 gnome/applet/applet-dbus-vpn.c
12416 - Track pending calls
12418 * gnome/applet/applet-dbus.[ch]
12419 - Remove some unused enums
12420 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12421 new functions to track dbus pending calls and spit out some
12422 statistics about them
12424 2006-03-09 Robert Love <rml@novell.com>
12426 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12427 nm_ap_set_timestamp() take the second and micro-second parameters as
12428 direct arguments, which avoids both a dynamic memory allocation and a
12429 structure-to-structure copy! Add a new interface, the aptly named
12430 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12431 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12432 the return from nm_ap_get_timestamp(). New users should use the new
12433 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12434 the extreme benefit to performance.
12435 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12436 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12438 2006-03-08 Robert Love <rml@novell.com>
12440 * gnome/applet/applet.glade: Hide the password entry text with
12443 2006-03-08 Robert Love <rml@novell.com>
12445 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12446 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12447 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12448 a second argument, NMData.
12449 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12450 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12451 config files as trusted.
12453 2006-03-06 Robert Love <rml@novell.com>
12455 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12456 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12457 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12458 Rivera, detect if the applet was auto-started. If so, ask the user
12459 if he or she would like to stop automatically running the applet on
12460 login. If so, disable autostart.
12462 2006-03-06 Robert Love <rml@novell.com>
12464 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12465 directory in CFLAGS so developers can actually use NetworkManager.h.
12467 2006-03-06 Robert Love <rml@novell.com>
12469 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12470 open-coded integer constants. Add state_to_string() to map a given
12471 state to a textual description, and provide that when notifying of
12473 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12474 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12475 this header directly, but it is currently not installed on most
12478 2006-03-05 Dan Williams <dcbw@redhat.com>
12480 Process netlink messages in device subclasses rather than in
12481 NetworkManager.c. Also add support for recognizing Wireless Events.
12484 - Find GLIB_GENMARSHAL
12487 - Since we're marshalling custom types for wireless event signals,
12488 we get to create our own marshallers using GLIB_GENMARSHAL
12490 * src/NetworkManager.c
12491 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12492 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12493 cut down somewhat. We no longer process signals here.
12494 - (nm_data_new): create the netlink monitor here, and remove a
12495 useless call to nm_policy_schedule_device_change_check()
12496 - (nm_data_free): get rid of the netlink monitor here
12497 - (nm_device_link_activated, nm_device_link_deactivated): removed
12498 - (main): don't create the netlink monitor here, let nm_data_new
12499 do that. Call nm_policy_schedule_device_change_check() right
12500 before we jump to the mainloop to figure out which device
12503 * src/NetworkManagerSystem.[ch]
12504 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12505 convert back and forth from interface names to interface
12508 * src/nm-device-802-11-wireless.c
12509 - (real_init): connect to wireless-event signals from the netlink
12511 - (nm_device_802_11_wireless_event): new function, schedule handler
12512 for wireless event signals from the netlink monitor object. We
12513 want the handler to run in the device's context
12514 - (wireless_event_helper): handle wireless-event signals from netlink
12515 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12518 * src/nm-device-802-11-wireless.h
12519 - remove unused prototype for nm_device_802_11_wireless_new
12521 * src/nm-device-802-3-ethernet.c
12522 - (real_init): new function; set up signal handlers for link events
12523 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12524 handler for netlink link activated events on device's main loop
12525 - (link_activated_helper): when we get a link activated event, set
12526 the device's link to be active
12527 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12528 handler for netlink link deactivated events on device's main loop
12529 - (link_deactivated_helper): when we get a link deactivated event, set
12530 the device's link to be inactive
12531 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12534 * src/nm-device-802-3-ethernet.h
12535 - remove unused prototype for nm_device_802_3_ethernet_new
12537 * src/nm-device.[ch]
12538 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12539 but locks the device list
12540 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12542 * src/nm-netlink-monitor.[ch]
12543 - (nm_netlink_monitor_class_install_signals): New signal
12545 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12547 - (nm_netlink_monitor_event_handler): expand for wireless events too
12549 * src/nm-marshal-main.c
12550 - Include generated nm-marshal.c and nm-marshal.h
12552 * src/nm-marshal.list
12553 - List of custom marshal functions
12555 2006-03-05 Dan Williams <dcbw@redhat.com>
12557 * gnome/applet/applet-notifications.h
12558 - Protect prototype of nma_send_event_notification() because it
12559 includes libnotify-specific types
12560 - Include libnotify/libnotify.h too, since we technically need it
12562 * gnome/applet/applet.c
12563 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12564 - (nma_show_vpn_login_banner_dialog): add some error checking
12566 2006-03-04 Dan Williams <dcbw@redhat.com>
12568 Clean up activation cancellation. Should be a lot faster now. Observed
12569 an issue with wireless devices between stage 2 and 3 of activation, where
12570 activation would be cancelled, but the device thread wouldn't notice until
12571 the supplicant association timed out. Reorganize activation such that
12572 a cancellation handler gets immediately scheduled in the device's thread,
12573 and devices have a chance to perform any custom cleanup too.
12575 * src/nm-device.[ch]
12576 - (activation_cancel_handler): new device-type-specific function
12577 for cleaning up device-type-specific stuff on cancellation
12578 - (cancel_activation): removed
12579 - (nm_device_activation_cancel): subsume functionality of
12580 real_cancel_activation, but instead of doing anything, punt
12581 operation to a handler that's run in device-thread context
12582 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12584 - (activation_handle_cancel_helper): cancellation handler run in
12585 device-thread context, calls device-type-specific cancelation,
12586 then tears down the activation request
12587 - (real_activation_cancel_handler): generic cancellation handler,
12588 deals with cancelling any in-process DHCP request
12589 - (nm_device_activate_stage1_device_prepare,
12590 nm_device_activate_stage2_device_config,
12591 nm_device_activate_stage3_ip_config_start,
12592 nm_device_activate_stage4_ip_config_get,
12593 nm_device_activate_stage4_ip_config_timeout,
12594 nm_device_activate_stage5_ip_commit): don't call
12595 nm_device_schedule_activation_handle_cancel() any more, since
12596 cancellation will have been already scheduled for us by
12597 nm_device_activation_cancel(). Just exit the function and
12598 assume that the cancel handler will be called next.
12600 * src/nm-device-802-3-ethernet.c
12601 - (real_act_stage2_config): remove; didn't do anything anyway
12603 * src/nm-device-802-11-wireless.c
12604 - (supplicant_status_cb): ensure we don't do anything if the activation
12606 - (real_activation_cancel_handler): implement; cancel user key request
12607 on activation cancellation
12609 2006-03-04 Dan Williams <dcbw@redhat.com>
12611 * src/nm-device-802-11-wireless.c
12612 - (supplicant_send_network_config): assume that drivers that don't
12613 support WPA pretty much suck, and can't handle NM scanning
12614 along with wpa_supplicant.
12616 2006-03-03 Robert Love <rml@novell.com>
12618 * configure.in: Bump version to 0.6.0.
12621 2006-03-03 Robert Love <rml@novell.com>
12623 * configure.in: Require DBUS 0.60 or later.
12625 2006-03-03 Dan Williams <dcbw@redhat.com>
12627 Fix a crash if an "Other wireless network" was chosen, failed, then
12628 chosen again from the applet's menu. If the other network wasn't
12629 noticed in a scan, it wouldn't have any capabilities, but would still
12630 be listed because the user forced the network. To fix this, we set
12631 sensible capabilities on the forced network, which will get overwritten
12632 with the correct ones if the network shows up later in a scan.
12634 * src/nm-ap-security.h
12635 - Add a new "get_default_capabilities_func" member to the
12638 * src/nm-ap-security.c
12639 - (nm_ap_security_get_default_capabilities): new function
12641 * src/nm-ap-security.c
12642 src/nm-ap-security-wep.c
12643 src/nm-ap-security-wpa-psk.c
12644 src/nm-ap-security-wpa-eap.c
12645 - Implement get_default_capabilities_func() for all, which
12646 uses the information contained in a specific NMAPSecurity
12647 object to determine default AP capabilites necessary
12648 to support that object
12650 As a secondary measure, we now prune artificial access points that fail
12651 to be activated right away. The thing failed, and we have no scan data for
12652 it, so it's pretty much useless since security information is only saved
12653 in the applets when a connection is successful.
12655 * src/NetworkManagerAPList.c
12656 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12657 not artificial. If we see it, it's no longer a figment of the
12658 user's imagination :)
12660 * src/NetworkManagerPolicy.c
12661 - (nm_policy_activation_failed): send along the failed AP if we
12664 * src/nm-device-802-11-wireless.c
12665 - (real_activation_failure_handler): remove artificial APs from
12666 the device list, because activation failed
12668 2006-03-02 Robert Love <rml@novell.com>
12670 Add support for retrieving both the per-device speed and the
12671 per-network maximum supported rate. Then change the getProperties
12672 DBUS API for both networks and devices to report this informaiton.
12673 Finally, display the information via both nm-applet and nm-tool:
12674 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12676 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12677 Information' dialog.
12678 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12679 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12680 network_device_get_speed() and network_device_set_speed() for
12681 retrieving and setting, respectively, a network device's current
12683 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12684 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12685 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12686 not matter (yet) what the units are, because we only feed it its own
12687 output. Implement SIOCGIRATE and set the per-network maximum
12688 supported rate during scanning.
12689 * src/nm-device-802-11-wireless.h: Export the function
12690 nm_device_802_11_wireless_get_bitrate().
12691 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12692 function nm_device_802_3_ethernet_get_speed() for returning an
12693 802.3's current speed, in Mb/s.
12694 * test/nm-tool.c: Display the per-device current speed, if available,
12695 and the per-network maximum rate.
12697 2006-03-02 Dan Williams <dcbw@redhat.com>
12699 * src/nm-device-802-11-wireless.c
12700 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12701 card when it gets initialized. Since devices don't get added to
12702 the scan list until they are initialized, this function wasn't
12703 setting the intitial scan interval correctly, and was leaving
12704 it at 0. This caused cards to get many scan requests in a short
12705 amount of time when they were initialized
12707 2006-03-02 Robert Love <rml@novell.com>
12709 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12710 active device. But do not do what we used to do and override the
12711 state, which caused the dreaded icon race of '05.
12713 2006-03-02 Robert Love <rml@novell.com>
12715 Commit Dan's update of my previous commit:
12716 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12717 set_mode() function itself does the check. But do only set the
12718 frequency if in Ad-Hoc mode.
12720 2006-03-02 Robert Love <rml@novell.com>
12722 Patch by Brian Magnuson <magnuson@rcn.com>:
12723 * src/nm-device-802-11-wireless.c: During scanning, only set the
12724 wireless mode to infrastructure if it is not currently in
12725 infrastructure mode. For some driver, setting the mode is a costly
12726 operation, apparently.
12728 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12730 * Makefile.am: use the correct dir for autostart mechanism.
12732 2006-02-28 Dan Williams <dcbw@redhat.com>
12734 Patch from Brian Magnuson <magnuson@rcn.com>
12735 * gnome/applet/applet.c
12736 - (nma_show_vpn_failure_dialog): fix errors left over from
12737 libnotify support changes
12739 2006-02-28 Dan Williams <dcbw@redhat.com>
12741 * src/vpn-manager/nm-vpn-act-request.[ch]
12742 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12744 - (nm_vpn_act_request_is_failed): new function; return whether or
12745 not the vpn activation request has failed
12747 * src/vpn-manager/nm-vpn-manager.c
12748 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12749 daemon to kill the connection when the activation request fails.
12750 Fixes issue where NM would get confused if the VPN activation
12751 request timed out, and would not allow further VPN connections
12754 2006-02-28 Dan Williams <dcbw@redhat.com>
12756 * gnome/applet/applet.c
12757 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12758 overlapping connection requests, disable all VPN menu items
12759 but the active VPN connection
12761 2006-02-28 Dan Williams <dcbw@redhat.com>
12763 * src/vpn-manager/nm-vpn-connection.c
12764 - (nm_vpn_connection_set_parent_device): fix C&P error which
12765 called g_object_unref() on the connection's parent device
12766 when it should have been ref-ed instead. Fixes crash with
12767 repeated vpn connect requests
12769 2006-02-28 Christopher Aillon <caillon@redhat.com>
12771 * gnome/applet/applet.glade:
12772 Mark a few strings non-translatable, since they shouldn't be.
12774 2006-02-28 Dan Williams <dcbw@redhat.com>
12776 * src/vpn-manager/nm-vpn-service.c
12777 - (nm_vpn_service_start_connection): if the vpn service daemon is
12778 already running, don't blindly ask it to connect, but wait until
12779 it's in the STOPPED state first. Fixes an assertion when user
12780 starts a second vpn connection without stopping the first.
12781 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12782 dbus service exists before continuing with the connection
12783 process, and reduce latency while waiting for it to become
12785 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12786 waiting for the vpn service daemon to become available
12787 - General log message cleanups; show progress via "Stage x of 4"
12788 rather than not telling anyone how many stages there are
12790 2006-02-28 Robert Love <rml@novell.com>
12792 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12793 * src/backends/NetworkManagerSuSE.c: Implement the interface
12794 nm_system_should_modify_resolv_conf() for SUSE.
12795 * src/backends/NetworkManagerDebian.c,
12796 src/backends/NetworkManagerGentoo.c,
12797 src/backends/NetworkManagerRedHat.c,
12798 src/backends/NetworkManagerSlackware.c: Add stub.
12799 * src/named-manager/Makefile.am: Grab includes from src.
12800 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12801 automatic updating of resolv.conf. This is useful for testing,
12802 broken static configurations, and administrator lock-down.
12804 2006-02-28 Dan Williams <dcbw@redhat.com>
12806 * src/nm-device-802-11-wireless.c
12807 - Move all the wpa_supplicant-related management stuff into its
12808 own struct, just for oranization's sake
12809 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12810 to a GIOChannel/GSource
12811 - (supplicant_log_stdout): new function; grab output from the
12812 wpa_supplicant stdout pipe and write it to our logs.
12814 2006-02-27 Christopher Aillon <caillon@redhat.com>
12816 * src/nm-device-802-11-wireless.c:
12817 Err, fix thinko in my previous commit.
12819 2006-02-28 Robert Love <rml@novell.com>
12821 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12823 2006-02-28 Robert Love <rml@novell.com>
12825 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12826 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12827 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12828 deserializers are responsible for freeing the returned DBUS strings.
12830 2006-02-27 Christopher Aillon <caillon@redhat.com>
12832 * src/nm-device-802-11-wireless.c:
12833 The scan list is being pruned prematurely. We should prune after
12834 the device has gone MIA for three scans, not one. Split out the
12835 interval to realtime seconds function to better serve this.
12837 2006-02-27 Robert Love <rml@novell.com>
12839 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12840 Open the pid file O_TRUNC, so if it already exists we truncate it to
12841 zero length. Also, be more verbose about warnings generated during
12842 writing out the pid file. Finally, always write out the pid file if
12843 in daemon mode. Use "--pid-file" to override the default.
12845 2006-02-27 Robert Love <rml@novell.com>
12847 Patch by R. Vinay <rvinay@novell.com>:
12848 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12849 'last_attempt_success' when removing a VPN connection, too. (Fixes
12850 Novell bug #153628).
12852 2006-02-27 Robert Love <rml@novell.com>
12854 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12855 entry so user can hit <ENTER> after entering passphrase (Novell bug
12858 2006-02-27 Dan Williams <dcbw@redhat.com>
12861 - Mass search/replace of:
12863 NMWirelessApplet -> NMApplet
12864 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12865 (it ain't just for wireless anymore, ma!)
12866 - Fix duplicate function name printing when using nm_warning
12867 - wireless-applet.glade -> applet.glade
12869 2006-02-27 Dan Williams <dcbw@redhat.com>
12871 * dispatcher-daemon/NetworkManagerDispatcher.c
12872 - Accept --pid-file with a path to a pidfile, write it out on
12873 startup, and delete it on shutdown
12875 * src/NetworkManager.c
12876 - Accept --pid-file with a path to a pidfile, write it out on
12877 startup, and delete it on shutdown
12878 - Move nm_print_usage() lower
12880 * initscripts/RedHat/NetworkManager.in
12881 - Use new --pid-file option
12882 - Fix service stopping to wait a bit for NM to quit
12884 * initscripts/RedHat/NetworkManagerDispatcher.in
12885 - Use new --pid-file option
12887 2006-02-26 Dan Williams <dcbw@redhat.com>
12890 - make and install nm-crash-logger
12892 * src/nm-logging.[ch]
12893 - New files; consolidate logging and crash handling
12895 * src/nm-crash-logger.c
12897 - Standalong crashlogger for NM, grab a backtrace
12900 * src/NetworkManager.[ch]
12901 - Remove signal handling and put it into nm-logging.c
12903 2006-02-26 Dan Williams <dcbw@redhat.com>
12906 gnome/applet/Makefile.am
12907 - Conditionalize all the notify stuff
12909 Merge most of Chris Aillon's notification patch:
12911 * gnome/applet/applet-notifications.[ch]
12912 - New files; show a notification
12914 * gnome/applet/applet-dbus-devices.[ch]
12915 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12916 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12917 new functions, do the right thing when a device change occurs
12919 * gnome/applet/applet-dbus.c
12920 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12921 signals, so we can handle them specially
12923 * gnome/applet/applet.[ch]
12924 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12925 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12926 - (nmwa_notify_state): remove
12927 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12928 notification work is now done when the appropriate dbus signals
12930 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12931 defer execution of the notification/dialog stuff. That was an
12932 artifact of the previous multi-threaded nature of the applet
12933 and is now pointless.
12934 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12935 no longer needed. Function folded into applet-notifications.c
12937 * src/NetworkManagerPolicy.c
12938 - (nm_policy_activation_finish): send the AP along with the device
12939 status change signal, if the connection is wireless. Should
12940 fix the race where applet would show a connection to "unknown"
12942 2006-02-25 Robert Love <rml@novell.com>
12944 Add WPA Enterprise support:
12945 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12946 nm-gconf-wso-wpa-eap.h.
12947 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12948 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12949 serialization and deserialization.
12950 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12951 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12952 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12953 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12954 settings related to WPA Enterprise.
12955 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12956 instantiate WPA Enterprise wireless-security-option.
12957 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12958 Implement WPA Enterprise wireless-security-option object.
12959 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12961 * libnm-util/cipher-wpa-psk-hex.c,
12962 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12963 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12964 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12965 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12966 including the cipher to DBUS method, and
12967 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12969 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12970 nm-ap-security-wpa-eap.h
12971 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12972 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12973 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12974 files. Implement NMAPSecurityWPA_EAP object.
12975 * src/nm-ap-security-wpa-psk.c: Cleanup.
12976 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12977 an NMAPSecurityWPA_EAP object via the method
12978 nm_ap_security_wpa_eap_new_deserialize().
12979 * src/nm-dbus-nm.c: Cleanup.
12980 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12981 WPA Enterprise support.
12983 2006-02-24 Robert Love <rml@novell.com>
12985 Patch from Timo Hoenig <thoenig@suse.de>:
12986 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12988 2006-02-24 Robert Love <rml@novell.com>
12990 Patch from Dan Winship <danw@novell.com>:
12991 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12992 area to transparent.
12994 2006-02-21 Dan Williams <dcbw@redhat.com>
12996 * gnome/applet/applet.[ch]
12997 gnome/applet/applet-dbus.c
12998 - Implement notification support for VPN messages too
13000 2006-02-21 Dan Williams <dcbw@redhat.com>
13002 * gnome/applet/applet-dbus-info.c
13003 - Clean up warning messages to not double-print the function
13005 2006-02-21 Dan Williams <dcbw@redhat.com>
13007 * gnome/applet/applet-compat.c
13008 - (convert_one_entry): accept entries without a key_type and
13009 convert them to unencrypted networks
13011 2006-02-21 Dan Williams <dcbw@redhat.com>
13013 * gnome/libnm_glib/libnm_glib.c
13014 - Use __func__ everywhere we can
13016 - Use dbus pending calls rather than blocking
13017 - Reduce busywaits for our thread to start and stop
13018 (gnome.org #330562)
13019 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
13020 stomp on others using the default shared dbus connection.
13021 Fixes #rh177546# and gnome.org #326572
13023 2006-02-21 Dan Williams <dcbw@redhat.com>
13025 Patch from Rodney Dawes <dobey@novell.com>
13027 gnome/applet/Makefile.am
13028 gnome/applet/applet.c
13029 - Add libnotify support if '--enable-notify=yes' is passed
13032 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
13034 * configure.in (ALL_LINGUAS): ko added. (Korean)
13036 2006-02-15 Robert Love <rml@novell.com>
13038 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
13039 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
13040 and WPA_SUPPLICANT_CONTROL_SOCKET.
13042 2006-02-15 Robert Love <rml@novell.com>
13044 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
13045 information about what connection stage we are at, provide the total
13046 number of stages, e.g. "Stage 2 of 5", so users know how far along
13047 they are if they experience problems.
13049 2006-02-15 Robert Love <rml@novell.com>
13051 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13052 define to $sysconfdir.
13053 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13054 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13055 type of VPN and then editing another results in a mangled dialog
13056 box containing the widgets from both VPNs (fixes Novell #150854).
13057 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13059 2006-02-14 Robert Love <rml@novell.com>
13061 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13062 syslog's file descriptor.
13064 2006-02-14 Robert Love <rml@novell.com>
13066 Fix bug around since the change to "deal with APs changing settings on
13067 us," checked in on the fifth of February in the year of the dog,
13068 wherein connecting to non-broadcast encrypted networks always fails
13069 because nm_ap_get_encrypted() always returns FALSE, even when the user
13070 provided a key, because the newly-created fake AP does not have any
13071 capabilities set, which is a sypmtom of security settings not matching
13072 capabilities (Novell bug #150784):
13073 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13074 nm_ap_add_capabilities_from_security(), which sets the given AP's
13075 capabilities off the given security settings. Also improve our
13076 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13077 NM_AUTH_CIPHER_AUTO.
13078 * src/nm-device-802-11-wireless.c: Call the function
13079 nm_ap_add_capabilities_from_security() to ensure that capabilities
13080 match newly updated security settings.
13082 2006-02-14 Robert Love <rml@novell.com>
13084 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13085 error as a string, not an integer, if possible; do not print the
13086 function name twice; always give the interface, if possible; misc.
13089 2006-02-12 Dan Williams <dcbw@redhat.com>
13091 Patch from Tom Parker <palfrey@tevp.net>
13092 * src/NetworkManagerSystem.h
13093 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13096 * src/backends/NetworkManagerDebian.c
13097 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13100 2006-02-12 Dan Williams <dcbw@redhat.com>
13102 * vpn-daemons/openvpn/intltool-extract.in
13103 vpn-daemons/openvpn/intltool-merge.in
13104 vpn-daemons/openvpn/intltool-update.in
13105 vpn-daemons/pptp/intltool-extract.in
13106 vpn-daemons/pptp/intltool-merge.in
13107 vpn-daemons/pptp/intltool-update.in
13108 - Remove from CVS, they should get created by intltoolize,
13111 2006-02-12 Dan Williams <dcbw@redhat.com>
13113 * vpn-daemons/pptp/src/pppd/patchlevel.h
13114 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13115 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13116 Makefile-defined VERSION
13118 2006-02-09 Dan Williams <dcbw@redhat.com>
13120 Patch from: Vinay A R <rvinay@novell.com>
13121 * src/vpn-manager/nm-vpn-act-request.[ch]
13122 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13123 IPSec VPNs require them for std gateway.
13124 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13125 and 'user_routes_count'
13126 - (nm_vpn_act_request_get_user_routes): new function; gets user
13127 defined routes from NMVPNActRequest object, returns the string
13130 * src/vpn-manager/nm-vpn-manager.[ch]
13131 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13132 for 'user_routes' and 'user_routes_count'
13134 * src/vpn-manager/nm-dbus-vpn.c
13135 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13136 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13138 * src/vpn-manager/nm-vpn-service.c
13139 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13142 Modifications by Dan:
13143 * src/vpn-manager/nm-vpn-service.c
13144 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13147 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13148 * vpn-daemons/pptp/src/nm-pptp-service.c
13149 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13150 - Grab user routes from dbus message
13151 - Free all string arrays we got from dbus
13153 2006-02-07 Robert Love <rml@novell.com>
13155 Patch by Stefan Seyfried <seife@suse.de>:
13156 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13158 2006-02-06 Robert Love <rml@novell.com>
13160 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13162 2006-02-06 Robert Love <rml@novell.com>
13164 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13165 test ">=" is never false. If no newline is found, we loop forever.
13166 We can just check for ">" because the following if() will see the
13167 zero-th argument if the while() gets that far.
13169 2006-02-05 Dan Williams <dcbw@redhat.com>
13171 Refine handling of non-broadcast networks.
13173 * src/NetworkManagerAPList.c
13174 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13175 property from scanned AP to the AP from the device list
13177 * src/nm-device-802-11-wireless.c
13178 - (supplicant_send_network_config): use ap_scan=1 for all networks
13179 except non-SSID-broadcasting and Ad-Hoc networks. Use
13180 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13181 networks since those don't have APs.
13182 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13183 AP as non-SSID-broadcasting
13184 - (process_scan_results): don't handle non-SSID-broadcasting here
13186 2006-02-05 Dan Williams <dcbw@redhat.com>
13188 * src/nm-device-802-11-wireless.c
13189 - (get_supplicant_timeout): new function; return
13190 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13191 14 channels. These are likely a/b/g cards, like Atheros, and
13192 slow as hell to scan.
13193 - (supplicant_timeout_cb, supplicant_monitor_start): use
13194 get_supplicant_timeout()
13196 2006-02-05 Dan Williams <dcbw@redhat.com>
13198 * src/dhcp-manager/nm-dhcp-manager.c
13199 - Loose a commit race with Robert; make sure size check
13200 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13202 2006-02-05 Robert Love <rml@novell.com>
13204 Patch by Christoph Brill <chrisbrill@gmx.net>:
13205 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13206 with DHCP_SERVICE_NAME.
13208 2006-02-05 Dan Williams <dcbw@redhat.com>
13210 Remove anything having to do with device_setup_func from the
13211 AP security objects, since it's no longer used.
13213 * src/nm-ap-security.h
13214 - Kill device_setup_func and nm_ap_security_device_setup()
13216 * src/nm-ap-security-wep.c
13217 src/nm-ap-security-wpa-psk.c
13218 - (real_device_setup): remove
13220 * src/nm-ap-security.c
13221 - (real_device_setup): remove
13222 - (nm_ap_security_device_setup): remove
13224 * src/nm-device-802-11-wireless.[ch]
13225 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13226 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13227 and done by wpa_supplicant now anyway
13229 2006-02-05 Dan Williams <dcbw@redhat.com>
13231 * src/nm-device-802-11-wireless.c
13232 - (ap_need_key, real_act_stage2_config): deal with APs changing
13233 settings on us. Previously NM would loop asking for the
13234 key but getting the same one back. Now, if the NMI-supplied
13235 cipher doesn't overlap with the scanned AP capabilities,
13236 we request a completely new key from the user.
13238 2006-02-05 Dan Williams <dcbw@redhat.com>
13240 * src/NetworkManagerUtils.c
13241 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13242 Handle newline killing better
13244 2006-02-05 Dan Williams <dcbw@redhat.com>
13246 * gnome/applet/nm-gconf-wso.c
13247 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13248 of unencrypted access point security info.
13250 2006-02-03 Robert Love <rml@novell.com>
13252 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13253 user's encryption key, so we print the err_msg_cmd not the command,
13254 if available. So long as SUPPLICANT_DEBUG is default, this makes
13257 2006-02-03 Christopher Aillon <caillon@redhat.com>
13259 * initscript/RedHat/NetworkManagerDispatcher.in:
13260 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13261 Patch from Dan Walsh <dwalsh@redhat.com>
13263 2006-02-03 Robert Love <rml@novell.com>
13265 * dispatcher-daemon/NetworkManagerDispatcher.c,
13266 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13267 but use the sysconfdir.
13269 2006-02-03 Robert Love <rml@novell.com>
13271 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13272 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13274 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13275 nm_ip4_config_get_hostname() and
13276 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13277 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13278 leak g_strdup() result.
13280 2006-02-03 Robert Love <rml@novell.com>
13282 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13283 broadcast == TRUE. Also, copy broadcast and artificial properties
13284 from source network to destination in nm_ap_copy().
13285 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13286 since we now default new networks to non-hidden.
13288 2006-02-03 Dan Williams <dcbw@redhat.com>
13290 * gnome/applet/main.c
13291 - (main): change the NEVER->ALWAYS so we start at the
13292 beginning of the session, if being session-managed
13294 2006-02-03 Dan Williams <dcbw@redhat.com>
13296 * gnome/applet/main.c
13297 - (main): in a variation on Robert's patch, change
13298 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13301 2006-02-02 Robert Love <rml@novell.com>
13303 * src/Makefile.am: If we aren't going to create the run directory at,
13304 uh, run-time, create it during install. Then users just doing
13305 'make install' are cool, too. While we are here, create the
13306 dispatcher.d directory, too.
13307 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13308 the exact run directory.
13309 * Makefile.am: Install nm-applet.desktop.
13311 2006-02-02 Robert Love <rml@novell.com>
13313 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13314 structure, which denotes whether or not the AP is hidden. This is a
13315 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13316 can show up in the scan list. Add nm_ap_get_broadcast() and
13317 nm_ap_set_broadcast() accessor interfaces.
13318 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13319 nm_ap_set_broadcast().
13320 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13321 "getProperties" method, which denotes whether or not the given
13323 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13324 an artificial network. Set broadcast to TRUE when scanning returns
13325 an ESSID and FALSE when not.
13326 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13327 from "getProperties" method on a network. Possible TODO is to
13328 somehow display this.
13329 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13331 2006-02-02 Dan Williams <dcbw@redhat.com>
13333 * src/nm-device-802-11-wireless.c
13334 - (supplicant_interface_init): don't try to create
13335 /var/run/NetworkManager, since that should be done by
13336 the distro package. Causes problems for stuff like SELinux
13338 2006-02-02 Robert Love <rml@novell.com>
13340 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13341 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13342 Check for and handle empty string for iface.
13344 2006-02-01 Robert Love <rml@novell.com>
13346 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13349 2006-01-31 Dan Williams <dcbw@redhat.com>
13351 * nm-applet.desktop
13352 - Add --sm-disable to Exec arguments, presuming that when
13353 using autostart, we don't want session management
13355 2006-01-31 Robert Love <rml@novell.com>
13357 * src/NetworkManagerAP.c: Add two new manufacturer default network
13358 names: linksys-a and linksys-g. These are found (at least) on the
13359 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13362 2006-01-31 Robert Love <rml@novell.com>
13364 * src/NetworkManagerAP.c: Optimize the function
13365 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13366 machine code. This is the first in a series of code tweaks aiming to
13367 generate better machine code and make NetworkManager all the better.
13368 Just kidding. Who has time to go through the assembly generated for
13369 every function? I certainly don't. I have a wife, a kid, a job,
13370 a mortgage, a mistress. But this function was so bad, I was called
13371 to arms. Like the book.
13373 2006-01-31 Robert Love <rml@novell.com>
13375 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13376 AP is not broadcasting, to scan with probe request frames. Required
13377 for non-broadcast networks.
13379 2006-01-31 Robert Love <rml@novell.com>
13381 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13382 preprocessor define (still 20s). Fix message text in nm_info()
13383 s/too too/took too/.
13385 2006-01-30 Dan Williams <dcbw@redhat.com>
13387 * src/nm-device-802-11-wireless.c
13388 - (supplicant_monitor_start): increase connect/auth timeout to
13389 20 seconds from 10 seconds
13391 2006-01-30 Dan Williams <dcbw@redhat.com>
13394 - Define LOCALSTATEDIR
13396 * src/nm-device-802-11-wireless.c
13397 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13398 socket where we want it to
13400 * src/wpa_ctrl.[ch]
13401 - (wpa_ctrl_open): accept location to put local control socket
13403 2006-01-30 Robert Love <rml@novell.com>
13405 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13406 get_ip4_string() for "domain_name".
13408 2006-01-30 Robert Love <rml@novell.com>
13410 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13411 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13412 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13413 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13414 support for "Automatic" pairwise and group cipher configuration by
13415 letting wpa_supplicant handle the details. Add UI elements, new
13416 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13417 charm. Note this does more than add a nice feature, it fixes a bug.
13418 Apparently, some people have AP's where the pairwise cipher does not
13419 match the group cipher. Insane, but true.
13421 2006-01-30 Dan Williams <dcbw@redhat.com>
13423 * gnome/applet/applet-dbus-devices.c
13424 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13425 functions, grab device driver name from NetworkManager
13426 - (nmwa_dbus_device_properties_cb): call functions to get driver
13428 * gnome/applet/applet.c
13429 - (nmwa_update_info): show driver name in Connection Information
13432 * gnome/applet/nm-device.[ch]
13433 - (network_device_get_driver, network_device_set_driver): add
13434 accessors for driver name
13436 * gnome/applet/wireless-applet.glade
13437 - Add line for driver name to Connection Information dialog
13439 * src/nm-dbus-device.c
13440 - (nm_dbus_device_get_driver): new function to return driver name
13441 - (nm_dbus_device_methods): hook up driver name function to dbus
13444 - (get_driver_name): new function
13445 - (detail_device): grab and show driver name
13447 2006-01-30 Robert Love <rml@novell.com>
13449 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13450 does not parse the markup if it is not part of the format.
13452 2006-01-30 Robert Love <rml@novell.com>
13454 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13455 FALSE, we have no security options for this dialog, so we throw up
13456 an error dialog instead of a broken passphrase dialog. Fixes
13458 * gnome/applet/wireless-security-manager.c,
13459 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13460 does not add any security options, not even NONE, print a warning
13461 and return FALSE. This let's functions constructing a dialog bail
13462 out if the device's capabilities and the network's requirements have
13465 2006-01-27 Robert Love <rml@novell.com>
13467 * configure.in: Require wpa_supplicant. Detect location of binary and
13468 use it. Override with "--with-wpa_supplicant=foo".
13469 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13470 path to wpa_supplicant but use the auto-detected or user-provided
13471 value from configure.
13473 2006-01-27 Robert Love <rml@novell.com>
13475 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13476 but the DHCP server did not return a hostname, try to look up our
13477 name via DNS and set the system hostname to that.
13479 2006-01-27 Dan Williams <dcbw@redhat.com>
13481 * src/backends/NetworkManagerRedHat.c
13482 - Add NM_CONTROLLED system network script support for RH/Fedora
13484 2006-01-27 Dan Williams <dcbw@redhat.com>
13486 * src/backends/NetworkManagerGentoo.c
13487 - (nm_system_device_get_disabled): add missing function.
13490 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13492 * configure.in: Added vi in ALL_LINGUAS line.
13494 2006-01-26 Robert Love <rml@novell.com>
13496 * src/Makefile.am, src/kernel-types.h: Now that two different source
13497 files are feeling the crack-addled leakage of kernel types such as
13498 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13499 types in user-space -- define a header and include it as needed.
13500 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13501 * src/nm-device-802-3-ethernet.h: Remove defines.
13502 * src/wpa.c: Remove defines and include kernel-types.h.
13504 2006-01-26 Robert Love <rml@novell.com>
13506 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13509 2006-01-26 Robert Love <rml@novell.com>
13511 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13512 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13513 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13514 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13515 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13516 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13517 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13518 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13519 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13520 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13521 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13522 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13523 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13524 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13525 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13526 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13527 Kill unused variables, labels, and static functions. Don't pass
13528 string literals as the format string for printf-like functions.
13530 2006-01-25 Dan Williams <dcbw@redhat.com>
13532 * gnome/applet/wireless-applet.glade
13533 - Remove WPA2 Checkbox
13535 * gnome/applet/wireless-security-manager.c
13536 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13537 This means the Wireless Security menu now has two WPA options,
13538 one for "WPA Personal" and one for "WPA2 Personal"
13540 * gnome/applet/wso-wpa-psk.[ch]
13541 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13542 'wpa2' argument to determine WPA version to use
13543 - (append_dbus_params_func): pass stored WPA version to cipher
13544 rather than using the (removed) checkbox
13546 2006-01-24 Robert Love <rml@novell.com>
13548 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13549 before we g_strdup(), not the ultimate string.
13551 2006-01-23 Dan Williams <dcbw@redhat.com>
13553 * src/NetworkManagerAP.[ch]
13554 - (nm_ap_new_from_ap): copy original essid too
13555 - (nm_ap_unref): free original essid
13556 - (nm_ap_get_orig_essid): new function
13557 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13558 but keep original essid around too
13560 * src/nm-device-802-11-wireless.c
13561 - (supplicant_send_network_config): send wpa_supplicant the
13562 _original_ essid, and not as a string, but in hex. Should
13563 allow us to connect to more APs that use wierd character
13564 encodings for their essids
13566 * utils/nm-utils.[ch]
13567 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13568 to UTF-8. If it's not already valid UTF-8, we check LANG and
13569 use the current locale as a hint for what encoding the essid
13570 might be in. Obviously not 100% accurate, but the idea here is
13571 that if a user's locale is ex. ja_JP, they are more likely than
13572 not to be in Japan, where access points will likely be in some
13575 2006-01-23 Dan Williams <dcbw@redhat.com>
13577 * libnm-util/cipher-private.h
13578 libnm-util/cipher.c
13579 libnm-util/cipher.h
13580 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13582 2006-01-23 Robert Love <rml@novell.com>
13584 Patch by Timo Hoenig <thoenig@suse.de>:
13585 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13586 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13587 by DHCP and pass it to the backends, allowing distribution-specific
13588 behavior with respect to the DHCP-supplied hostname (if nothing else,
13589 some distributions might not want to set the hostname).
13590 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13591 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13592 Also update our NIS behavior.
13593 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13594 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13595 Add stub functions.
13597 2006-01-23 Robert Love <rml@novell.com>
13599 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13600 gnome-session does autostart. TODO: We need to install this to
13601 $prefix/share/autostart/.
13603 2006-01-22 Dan Williams <dcbw@redhat.com>
13605 * src/NetworkManagerAP.[ch]
13607 src/nm-device-802-11-wireless.c
13608 - Make nm_ap_get_essid return "const char *"
13610 2006-01-22 Dan Williams <dcbw@redhat.com>
13612 * src/NetworkManagerAP.[ch]
13613 - (nm_ap_get_matched, nm_ap_set_matched): remove
13615 * src/NetworkManagerAPList.[ch]
13616 - (nm_ap_list_diff): removed
13617 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13618 deal with access points changing essids on us
13620 * src/nm-device-802-11-wireless.c
13621 - (add_new_ap_to_device_list): move AP dbus signal logic to
13622 src/NetworkManagerAPList.c
13623 - (real_can_interrupt_activation): new function; allow interruption
13624 of device activation if we are waiting for a network key
13626 * src/NetworkManagerPolicy.c
13627 - (nm_policy_device_change_check): allow interruption of currently
13628 activating devices if the device allows it. Previous behavior
13629 would refuse to activate a just-plugged wired device if a
13630 wireless device was waiting for a key.
13632 * src/nm-device.[ch]
13633 - (nm_device_can_interrupt_activation): new function; ask devices
13634 whether their activation can be interrupted
13636 2006-01-20 Robert Love <rml@novell.com>
13638 * Makefile.am, configure.in: Add new man subdirectory.
13639 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13640 man/Makefile.am: Add man pages for NetworkManager and its
13641 crime-solving bumbling buddy, NetworkManagerDispatcher.
13642 * man/.cvsignore: Add.
13643 * initscript/Debian/NetworkManager,
13644 initscript/Gentoo/NetworkManager.in,
13645 initscript/RedHat/NetworkManager.in,
13646 initscript/RedHat/NetworkManagerDispatcher.in,
13647 initscript/SUSE/networkmanager-dispatcher.in,
13648 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13650 2006-01-20 Robert Love <rml@novell.com>
13652 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13653 instead of queuing. This prevents the running of multiple NM
13654 daemons concurrently, which does not work whatsoever and results in
13655 neither daemon working correctly. Also, we don't handle queuing and
13656 name-owner-changes, anyhow.
13658 2006-01-20 Robert Love <rml@novell.com>
13660 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13661 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13664 2006-01-19 Robert Love <rml@novell.com>
13666 * configure.in: Require hal 0.5.0 or later.
13668 2006-01-18 Robert Love <rml@novell.com>
13670 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13671 Allow backends to flag a device (in whatever distro-dependent way
13672 they so desire) as disabled. NM will ignore any such device.
13673 * src/backends/NetworkManagerDebian.c,
13674 src/backends/NetworkManagerRedHat.c,
13675 src/backends/NetworkManagerSlackware.c: Add stub function
13676 nm_system_device_get_disabled() that always returns FALSE (enabled).
13677 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13678 SUSE-specific configuration structure. Fill it in from the
13679 NM_CONTROLLED variable in the system networking scripts. If this var
13680 exists and is "no", we ignore the device.
13682 2006-01-17 Robert Love <rml@novell.com>
13684 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13685 identical for NM. For a full discussion, see the thread at
13686 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13688 2006-01-17 Dan Williams <dcbw@redhat.com>
13691 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13692 function. Fixes crash when wired DHCP fails.
13694 2006-01-16 Robert Love <rml@novell.com>
13696 * src/Makefile.am: Don't install NMLoadModules
13697 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13698 from src/ to test/ as no one uses it anymore. Note that I would be
13699 fine with removing it altogether.
13701 2006-01-16 Robert Love <rml@novell.com>
13703 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13704 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13705 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13706 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13707 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13708 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13709 declarations, ever.
13710 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13711 NM_STATE_DISCONNECTED is zero).
13713 2006-01-16 Robert Love <rml@novell.com>
13715 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13716 uninitialized parameter and buffer overflow. Novell #143496.
13718 2006-01-16 Dan Williams <dcbw@redhat.com>
13720 Apply the PtP Address bits of a patch from Tim Niemueller
13722 * src/nm-ip4-config.[ch]
13723 - Add ip4_ptp_address member to object
13724 - (nm_ip4_config_copy): copy ptp address too
13725 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13727 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13728 rather than local tunnel ip address
13730 * src/vpn-manager/nm-vpn-service.c
13731 - (print_vpn_config): update for PtP address
13732 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13733 DBusMessageIters in preparation for getting routes from the VPN
13734 service daemons too
13736 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13737 - (send_config_info): update for PtP address, clean up code
13738 - (main): update for PtP address, clean up code, fix typo
13740 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13741 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13743 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13744 - (pptp_ip_up): update for PtP address
13746 * vpn-daemons/pptp/src/nm-pptp-service.c
13747 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13749 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13750 - (print_vpn_config): update for PtP address
13751 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13753 2006-01-16 Dan Williams <dcbw@redhat.com>
13755 * gnome/applet/applet.c
13756 - (nmwa_add_networks_helper): don't indicate an active network
13757 if NM is disconnected or asleep
13759 2006-01-16 Dan Williams <dcbw@redhat.com>
13761 * src/NetworkManagerPolicy.c
13762 - (nm_policy_device_change_check): switch devices if we lose the link
13763 on an ethernet device.
13765 2006-01-16 Dan Williams <dcbw@redhat.com>
13767 * gnome/applet/wso-wpa-psk-hex.[ch]
13768 - Renamed -> wso-wpa-psk.[ch]
13770 * gnome/applet/wso-wpa-psk.[ch]
13773 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13774 - Removed, rolled into wso-wpa-psk.[ch]
13776 * gnome/applet/Makefile.am
13777 - Updated for above changes
13779 * gnome/applet/wireless-applet.glade
13780 - Consolidate WPA-PSK options into one notebook
13781 widget, and make dialogs invisible by default
13782 to fix screen oddities
13784 * gnome/applet/wireless-security-manager.c
13785 - (wsm_set_capabilities): create the new wpa-psk widget rather
13786 than both the old hex & passphrase ones
13788 2006-01-16 Dan Williams <dcbw@redhat.com>
13790 * gnome/applet/other-network-dialog.c
13791 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13793 2006-01-16 Dan Williams <dcbw@redhat.com>
13795 * gnome/applet/applet.c
13796 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13797 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13798 prevention to realize window before trying to get server
13801 * gnome/applet/other-network-dialog.c
13802 - (nmwa_other_network_dialog_run): fix up focus-stealing
13803 prevention to realize window before trying to get server
13806 * gnome/applet/passphrase-dialog.c
13807 - (nmi_passphrase_dialog_new): fix up focus-stealing
13808 prevention to realize window before trying to get server
13811 2006-01-16 Robert Love <rml@novell.com>
13813 Patch from Timo Hoenig <thoenig@suse.de:
13814 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13815 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13816 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13817 libnm-util/dbus-helpers.h: add checks whether headers are used
13818 within a C++ build.
13820 2006-01-16 Dan Williams <dcbw@redhat.com>
13822 * gnome/applet/wireless-security-option.c
13823 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13825 2006-01-16 Dan Williams <dcbw@redhat.com>
13827 * libnm-util/cipher-wpa-psk-passphrase.c
13828 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13829 be 8 - 63 characters inclusive
13831 2006-01-16 Dan Williams <dcbw@redhat.com>
13834 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13836 2006-01-13 Robert Love <rml@novell.com>
13838 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13839 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13840 modules that do not use an interface.
13842 2006-01-13 Dan Williams <dcbw@redhat.com>
13846 - Allow subclasses to implement deactivate_quickly()
13847 - (nm_device_deactivate_quickly): call subclass
13848 deactivate_quickly() methods
13849 - (nm_device_set_active_link): small cleanups, and don't
13850 deactivate the device right away because we risk a deadlock
13851 when called from device thread, waiting for the device
13852 thread to cancel activation
13854 * src/nm-device-802-11-wireless.c
13855 - (real_deactivate_quickly): new function
13856 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13857 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13858 so that we kill the supplicant when we sleep too
13859 - (supplicant_interface_init): work around naive naming attempts of
13860 wpa_ctrl when naming sockets
13862 2006-01-13 Dan Williams <dcbw@redhat.com>
13864 * src/nm-device-802-11-wireless.c
13865 - (supplicant_cleanup): delete old device control sockets too
13866 - (supplicant_get_device_socket_path): new function to consolidate
13867 locations that need a path to a device's control socket
13869 2006-01-12 Robert Love <rml@novell.com>
13871 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13872 description so that the description is unique for each
13873 pair (device,provider). Fixes Novell #142773.
13875 2006-01-12 Dan Williams <dcbw@redhat.com>
13877 * src/nm-device-802-11-wireless.c
13878 - (supplicant_exec): ensure GError is correctly initialized
13879 Reported by Diego González (gnome.org #326708)
13881 2006-01-11 Robert Love <rml@novell.com>
13883 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13884 define if_mii(), open code the same results, and do so without any
13887 2006-01-11 Robert Love <rml@novell.com>
13889 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13890 that wso_foo_new() returned non-NULL. Instead, only append the new
13891 wso to wsm->options if the wso is non-NULL. The crux is that we
13892 assume that the relevant key types are implied by WEP and WPA as
13893 appropriate. To be sure, they should be, but we should not expect
13894 drivers to not be oozing piles of wolf fecal matter.
13896 2006-01-11 Robert Love <rml@novell.com>
13898 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13899 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13900 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13901 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13902 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13903 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13904 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13905 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13906 comparing values within DBL_EPSILON. Also fix shadowed variable
13909 2006-01-11 Dan Williams <dcbw@redhat.com>
13911 Add options for WPA2 and WPA1+CCMP (AES).
13913 * gnome/applet/wireless-applet.glade
13914 - Add UI bits for WPA+CCMP
13916 * gnome/applet/other-network-dialog.c
13917 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13918 and don't allow creation of WPA2 Ad-Hoc networks since
13919 wpa_supplicant doesn't support them
13921 * gnome/applet/wireless-security-manager.c
13922 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13923 on to the specific wireless security option being created
13925 * gnome/applet/wireless-security-option.[ch]
13926 - (wso_wpa_create_key_type_model): new utility function to create
13927 the model required for WPA Key Type combo box
13929 * gnome/applet/wso-private.h
13930 gnome/applet/wireless-security-option.h
13931 - Move private function prototypes into wso-private.h
13933 * gnome/applet/wso-wpa-psk-hex.[ch]
13934 gnome/applet/wso-wpa-psk-passphrase.[ch]
13935 - (append_dbus_params_func): get WPA version from checkbox and pass
13936 it to the dbus serialization helper
13937 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13938 key type combo changes
13939 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13942 * libnm-util/cipher-wpa-psk-hex.c
13943 libnm-util/cipher-wpa-psk-passphrase.c
13944 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13945 new function; allow the cipher to be changed after object creation
13947 * src/nm-ap-security-wpa-psk.c
13948 - (set_description): Do WPA2 descriptions too
13950 * src/nm-ap-security.c
13951 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13953 2006-01-11 Robert Love <rml@novell.com>
13955 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13956 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13957 from the ifreq structure in lieu of an open coded solution. Removes
13958 a life-threatening type-punning.
13959 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13960 types, ever, whatsoever, baby.
13962 2006-01-11 Robert Love <rml@novell.com>
13964 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13965 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13966 assignments to applet->nm_state into a new nmwa_set_state() function
13967 for both cleanliness and to help debugging.
13969 2006-01-10 Robert Love <rml@novell.com>
13971 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13972 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13973 seconds, exclusive. That is, we want to sleep x seconds such that
13976 2006-01-10 Robert Love <rml@novell.com>
13978 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13979 the attr fields according to the example in the email available at
13980 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13981 Conversely, we do have to free 'name', so we do so, fixing a leak.
13983 2006-01-10 Robert Love <rml@novell.com>
13985 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13986 sure that we close the socket!
13988 2006-01-10 Robert Love <rml@novell.com>
13990 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13991 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13992 src/nm-device.c: Fix a FIXME! Reimplement the function
13993 nm_device_update_hw_address() in device subclass variants,
13994 nm_device_802_3_ethernet_set_address() and
13995 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13996 This fixes the existing bug where MAC addresses are all zeros.
13998 2006-01-10 Robert Love <rml@novell.com>
14000 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
14001 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
14002 option to give users ability to globally disconnect and put NM to
14003 sleep. This is useful as a 'lockdown mode' for flying, security, and
14006 2006-01-09 Robert Love <rml@novell.com>
14008 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
14009 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
14010 User-space does not supply these types, so we have to define them
14011 ourselves. The relevant kernel maintainer refused to accept a patch
14012 switching these headers to the proper C99 types.
14014 2006-01-09 Dan Williams <dcbw@redhat.com>
14016 Apply Robert's 'tray icon redo' patch with fixes
14017 * gnome/applet/applet.c
14018 gnome/applet/applet.h
14019 - Instead of using a menu bar + menu item, simulate menu
14020 behavior using a popup menu. Highlight the area around
14021 the icon more like a menu too, by playing with the
14022 applet's size requisition
14024 2006-01-09 Timo Hoenig <thoenig@suse.de>
14025 * libnm-util/dbus-helpers.c
14026 libnm-util/dbus-helpers.h
14027 - (nmu_create_dbus_error_message): rename parameter 'namespace'
14028 to 'exception_namespace' (:namespace is a keyword in
14031 2006-01-09 Dan Williams <dcbw@redhat.com>
14033 * src/NetworkManagerPolicy.c
14034 - (nm_policy_device_change_check): don't autoswitch away from
14035 Ad-Hoc networks, since there's really no concept of
14039 - (nm_dbus_nm_create_wireless_network): mark created networks
14042 * src/nm-device-802-11-wireless.c
14043 - (real_activation_success_handler): add user-created Ad-Hoc
14044 networks to the device's scan list
14046 2006-01-08 Dan Williams <dcbw@redhat.com>
14048 We now require a patch for wpa_supplicant to support Ad-Hoc
14050 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14052 * src/nm-device-802-11-wireless.c
14053 - (supplicant_send_network_config): turn off wpa_supplicant's
14054 scanning. Fixes Ad-Hoc networks.
14056 2006-01-08 Dan Williams <dcbw@redhat.com>
14058 * src/nm-ap-security.c
14059 src/nm-ap-security.h
14060 - Add a user_created argument to the write_supplicant_config
14063 * src/nm-ap-security-wep.c
14064 src/nm-ap-security-wpa-psk.c
14065 src/nm-device-802-11-wireless.c
14066 - Make Ad-Hoc mode somewhat work, at least write the
14067 correct options to wpa_supplicant
14069 2006-01-08 Dan Williams <dcbw@redhat.com>
14071 * src/nm-device-802-11-wireless.c
14072 - Remove unused code from the old device activation path
14074 2006-01-08 Dan Williams <dcbw@redhat.com>
14076 * libnm-util/dbus-helpers.c
14077 - (nmu_security_serialize_wpa_psk): pass a blank key through
14078 dbus when key == NULL
14080 2006-01-08 Dan Williams <dcbw@redhat.com>
14082 * gnome/applet/nm-gconf-wso-wpa-psk.c
14083 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14084 correct arguments to nmu_security_deserialize_wpa_psk()
14086 * src/nm-ap-security-wpa-psk.c
14087 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14088 arguments to nmu_security_deserialize_wpa_psk()
14090 2006-01-08 Dan Williams <dcbw@redhat.com>
14092 * gnome/applet/wso-wpa-psk-hex.c
14093 gnome/applet/wso-wpa-psk-passphrase.c
14094 - Hook up the append_dbus_params_func() function
14096 2006-01-08 Dan Williams <dcbw@redhat.com>
14098 * src/nm-device-802-11-wireless.c
14099 - (get_wireless_capabilities): correctly detect driver WPA
14102 2006-01-08 Dan Williams <dcbw@redhat.com>
14104 * gnome/applet/Makefile.am
14105 gnome/applet/wso-wpa-psk-hex.c
14106 gnome/applet/wso-wpa-psk-hex.h
14107 - New files, implement WPA-PSK Hex key input
14109 * gnome/applet/wireless-applet.glade
14110 - Change existing wpa-psk stuff to wpa-psk-hex
14111 - Add new widgets for wpa-psk-passphrase
14113 * gnome/applet/wireless-security-manager.c
14114 - (wsm_set_capabilities): enable WPA options
14116 * gnome/applet/wso-wpa-psk-passphrase.c
14117 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14118 for WPA-PSK passphrase
14120 2006-01-08 Dan Williams <dcbw@redhat.com>
14122 * include/NetworkManager.h
14123 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14124 applet/info-daemons
14126 * gnome/applet/passphrase-dialog.c
14127 - Use the constant. Fixes a bug where the arguments to
14128 dbus_message_new_error() were incorrect
14130 * src/nm-dbus-nmi.c
14133 2006-01-07 Dan Williams <dcbw@redhat.com>
14135 * src/nm-device-802-11-wireless.c
14136 - Add a link timeout so we allow the supplicant time to
14137 reassociate if it can, before we deactivate the card
14138 - Fix up link status and link updating so things work better
14140 2006-01-07 Dan Williams <dcbw@redhat.com>
14142 * src/nm-device-802-11-wireless.c
14143 - Switch over to using wpa_supplicant
14144 - Add a timeout of 10s for association of the supplicant
14145 - Start the monitor callback of the supplicant
14147 2006-01-07 Dan Williams <dcbw@redhat.com>
14149 * src/NetworkManagerUtils.c
14150 - (nm_utils_supplicant_request,
14151 nm_utils_supplicant_request_with_check):
14152 pass correct buffer length to wpa_ctrl_request()
14154 2006-01-07 Dan Williams <dcbw@redhat.com>
14156 * src/nm-device-private.h
14158 - (nm_device_activate_schedule_stage3_ip_config_start): make
14159 this function available to subclasses
14161 2006-01-06 Robert Love <rml@novell.com>
14163 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14164 user plugging in a network cable signals their preference for to
14165 switch, unless the user explicitly selected a wireless network and
14166 therefore signaled their preference for said wireless network over
14167 wired. In other words, do exactly what makes sense.
14169 2006-01-06 Robert Love <rml@novell.com>
14171 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14172 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14173 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14174 showing up in my greps.
14176 2006-01-06 Robert Love <rml@novell.com>
14178 * gnome/applet/applet-dbus-devices.c,
14179 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14180 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14181 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14182 New Network' both failed in the non-encrypted case because we were
14183 not appending the security options to the DBUS message. And
14184 'Connect to Other' was also failing in the encrypted case because
14185 we were not incrementing to the next DBUS parameter. All fixed.
14186 Thanks to dcdw for some debugging help.
14188 2006-01-06 Robert Love <rml@novell.com>
14190 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14191 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14192 hangup code and add per-device hangup. Tie last commit into the
14193 GNOME applet. TODO: Save, understand, and respond to the state of
14194 each dialup device.
14196 2006-01-06 Robert Love <rml@novell.com>
14198 Patch by Timo Hoenig <thoenig@suse.de>:
14199 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14200 hangup specific dialup devices.
14201 * src/backends/NetworkManagerDebian.c,
14202 src/backends/NetworkManagerGentoo.c,
14203 src/backends/NetworkManagerRedHat.c,
14204 src/backends/NetworkManagerSlackware.c: Add stub backend.
14205 * src/backends/NetworkManagerRedHat.c,
14206 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14207 hangup specific dialup devices.
14209 2006-01-04 Robert Love <rml@novell.com>
14211 * gnome/applet/applet-dbus-devices.c,
14212 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14213 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14216 2006-01-04 Dan Williams <dcbw@redhat.com>
14218 First dump of wpa_supplicant-related code. It's not hooked up to
14219 anything yet though. Thanks to Kay Sievers for
14220 wpa_supplicant_wrapper.c, which formed the basis for this work,
14221 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14225 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14227 * src/NetworkManagerUtils.[ch]
14228 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14229 Add convenience functions for talking to wpa_supplicant
14231 * src/nm-ap-security.[ch]
14232 src/nm-ap-security-wep.c
14233 src/nm-ap-security-wpa-psk.[ch]
14234 - Update and implement real_write_supplicant_config functions
14235 in all security types
14236 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14237 nm-ap-security-wpa-psk.c
14239 * src/nm-device-802-11-wireless.c
14240 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14241 wpa_supplicant_start, wpa_supplicant_interface_init,
14242 wpa_supplicant_send_network_config): add functions to talk to
14243 wpa_supplicant and write network config to it
14245 2006-01-04 Robert Love <rml@novell.com>
14247 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14248 values so that distribution-backends can differentiate between the
14249 various types (modem, ISDN, et cetera) of dialup device that they
14251 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14254 2006-01-03 Dan Williams <dcbw@redhat.com>
14256 * src/NetworkManagerPolicy.c
14258 src/nm-device-802-11-wireless.c
14259 - Move wireless-specific activation failure and success code
14260 into wireless device class
14262 2006-01-03 Robert Love <rml@novell.com>
14264 Patch by Preggna S:
14265 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14266 IPsec does not require that a VPN client be bound to an interface,
14267 due to the use of the in-kernel IPSec bits. So make the tunnel
14270 2006-01-03 Dan Williams <dcbw@redhat.com>
14272 * src/NetworkManagerAP.c
14273 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14274 the WPA IE specifies that WEP is supported
14276 * src/nm-device-802-11-wireless.c
14277 - (process_scan_results): don't mark an AP as supporting WEP
14278 if there's already other encryption capability info
14280 2006-01-03 Dan Williams <dcbw@redhat.com>
14282 * src/dhcp-manager/nm-dhcp-manager.c
14283 - Recognize activation cancellation when waiting for DHCP
14284 configuration from dhcdbd
14285 - Ignore non-dhcdbd messages
14288 - (real_act_stage3_ip_config_start): return to correct behavior
14289 of letting the dhcp-manager notify us of failure or
14290 success rather than incorrectly doing that ourselves
14291 - (nm_device_activate_stage4_ip_config_get): deal with
14292 activation cancellation a bit earlier
14294 2006-01-03 Dan Williams <dcbw@redhat.com>
14296 * src/nm-device-802-11-wireless.c
14298 - Add hooks to subclasses for stage3_ip_config_start and
14299 stage4_ip_config_timeout
14301 * src/nm-device-802-3-ethernet.c
14302 - (real_get_generic_capabilities): make devices NM-supported
14305 2006-01-03 Robert Love <rml@novell.com>
14307 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14308 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14309 latter cannot differentiate between error and the address -1; misc.
14312 2006-01-03 Dan Williams <dcbw@redhat.com>
14314 * src/NetworkManager.c
14315 - Move link-checking/probing into the device subclasses
14318 * src/nm-device.[ch]
14319 src/nm-device-802-11-wireless.c
14320 src/nm-device-802-3-ethernet.c
14321 - Do periodic link checking in device subclasses rather
14322 than being triggered from NetworkManager.c
14323 - discover_wireless_capabilities -> get_wireless_capabilities
14324 - discover_generic_capabilities -> get_generic_capabilities
14325 - Device subclass activation routines now return a value of type
14326 NMActStageReturn to indicate what step to perform next
14327 - Devices now override stage4_get_ip4_config if they choose
14329 2006-01-01 Dan Williams <dcbw@redhat.com>
14331 * src/nm-device-802-11-wireless.c
14332 - (real_init): don't chain up to parent init because we don't
14333 need to do that anymore
14336 - (discover_device_type): fix arguments to ioctl() to correctly
14337 pass interface name
14338 - (nm_device_new): consolidate generic device initialization into
14340 - (real_init): remove, consolidated to nm_device_new()
14341 - (nm_device_deactivate, real_deactivate): consolidate
14343 2006-01-01 Dan Williams <dcbw@redhat.com>
14345 * src/nm-activation-request.c
14346 - Change dhcp_state member of the NMActRequest structure
14347 from guint8 to guint32
14349 * src/dhcp-manager/nm-dhcp-manager.[ch]
14350 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14351 than guint8 to match the dbus argument. Turns out we were
14352 overwriting memory since we were passing in only a guint8
14354 2005-12-31 Dan Williams <dcbw@redhat.com>
14356 * refactor NMDevice into a GObject-based framework with separate
14357 objects for wired and wireless. The following files are no
14358 longer used but should stick around for a bit so we don't
14359 loose code through the cracks:
14360 NetworkManagerDevice.c
14361 NetworkManagerDevice.h
14362 NetworkManagerWireless.c
14363 NetworkManagerWireless.h
14365 The intent here is to allow each device type to manage its own
14366 connection & activation life-cycle, ie to allow wireless devices
14367 to interface with wpa_supplicant, etc. There's a fair bit of
14368 encapsulation breakage right now that should gradually get pulled
14369 back into each device, along with things like periodic property
14370 updates and link probing.
14372 2005-12-29 Dan Williams <dcbw@redhat.com>
14374 * include/NetworkManager.h
14375 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14376 between networks that don't have any encryption at all
14378 2005-12-29 Dan Williams <dcbw@redhat.com>
14380 * test/test-common.c
14383 - Move to a test-common subdirectory
14385 * test/libnm-util/test-ciphers.c
14386 - Move test data to test-inputs.h
14387 - Test WPA ciphers too
14389 * test/libnm-util/test-dbus-helpers.c
14390 - Test serialization/deserialization of ciphers
14392 2005-12-29 Dan Williams <dcbw@redhat.com>
14394 * gnome/applet/applet-dbus-devices.c
14395 - Replace 'enc' parameter with 'capabilities' for wireless networks
14396 in dbus calls to NM
14397 - Set capabilities on WirelessNetwork objects
14398 - Receive and save type-specific device capabilities too
14400 * gnome/applet/applet-dbus-info.c
14401 gnome/applet/applet-dbus.c
14402 - Passphrase dialog no longer a singleton; new instance gets created
14403 on each request. Updates to deal with that.
14405 * gnome/applet/applet.c
14406 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14407 than single 'encrypted' flag
14408 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14410 - Passphrase dialog updates per above
14412 * gnome/applet/menu-items.c
14413 - (network_menu_item_update): use AP capabilities to determine
14416 * gnome/applet/nm-device.[ch]
14417 - Add accessors for type-specific device capabilities
14419 * gnome/applet/other-network-dialog.c
14420 - Rework to respect device capabilities. i.e., if the device doesn't
14421 support WPA, remove that option from the security dropdown
14423 * gnome/applet/passphrase-dialog.c
14424 - Massive rework so that a new instance is created each time
14425 it's used, to support wireless network capabilities
14427 * gnome/applet/wireless-network.[ch]
14428 - Add accessors and members for wireless network capabilities
14430 * gnome/applet/wireless-security-manager.[ch]
14431 - (wsm_set_capabilities): called after creation to set which
14432 security options get shown to the user
14434 2005-12-29 Dan Williams <dcbw@redhat.com>
14436 * libnm-util/cipher-wpa-psk-passphrase.c
14437 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14440 2005-12-23 Dan Williams <dcbw@redhat.com>
14442 * gnome/applet/applet-dbus-info.c
14443 - (nmi_dbus_get_key_for_network): if there's no entry in
14444 GConf for a network, assume we want a new key
14445 - (nmi_save_network_info): serialize wireless security info
14446 into GConf so its saved
14449 - Fix warning as we may not be passed security info when
14450 connecting to a wireless network
14452 2005-12-23 Dan Williams <dcbw@redhat.com>
14454 * gnome/applet/applet-compat.c
14455 - Fix bugs in GConf entry conversion
14457 * gnome/applet/applet-dbus-info.c
14458 - (nmi_dbus_get_network_properties): handle case of the BSSID
14459 list being zero-length
14461 * libnm-util/cipher-*
14462 libnm-util/dbus-helpers.c
14463 - All ciphers must now return hashed keys as UTF-8 valid
14464 hexadecimal strings, ie "8f3dae4023". They are pushed
14465 through dbus as strings too.
14466 - Consolidate various functions that do bin->hex and hex->bin
14467 conversion into cipher.c
14469 * src/nm-ap-security-wep.c
14470 src/nm-ap-security-wpa-psk.c
14471 - Handle NULL keys since we may not know keys right away
14473 * src/nm-dbus-nmi.c
14474 - (nm_dbus_get_network_data_cb): actually advance to the start
14475 of the wireless security info before we try to deserialize it
14477 * libnm-util/test-ciphers.c
14478 - Update cipher tests for the change to UTF-8 hexadecimal strings
14480 2005-12-22 Dan Williams <dcbw@redhat.com>
14482 * gnome/applet/applet-compat.[ch]
14483 - Convert old-format GConf and keyring entries
14484 when the applet starts up.
14486 * gnome/applet/applet.c
14487 - (nmwa_get_instance): Call the conversion function
14488 on startup before dbus is initialized
14490 2005-12-22 Dan Williams <dcbw@redhat.com>
14492 * gnome/applet/applet-dbus-info.c
14493 - Remove nmi_dbus_create_error_message() in favor of
14494 nmu_create_dbus_error_message()
14495 - (nmi_dbus_get_network_properties): Error message cleanups
14496 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14497 gconf key rather than 'addresses', since they really are BSSIDs
14498 - (nmi_dbus_get_network_properties): Dispose of the security
14499 object when we're done with it
14501 2005-12-21 Dan Williams <dcbw@redhat.com>
14503 * Consolidate the info-daemon's "updateNetworkInfo" and
14504 "addNetworkAddress" calls into just "updateNetworkInfo"
14506 2005-12-21 Dan Williams <dcbw@redhat.com>
14508 * Make connection after key retrieval work again
14510 2005-12-21 Dan Williams <dcbw@redhat.com>
14512 * gnome/applet/nm-gconf-wso*
14513 - Make the serialize functions return gboolean
14516 * gnome/applet/nm-gconf-wso.c
14517 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14518 parent class handling so we don't segfault
14520 * src/NetworkManagerAP.[ch]
14521 - (nm_ap_get_capabilities): new function, return capabilities
14522 now that something can use them
14523 - (nm_ap_set_encrypted): assume that an access point supports
14524 both WEP104 and WEP40 if its set encrypted. FIXME: can
14525 we even tell whether it just supports WEP40?
14527 * src/NetworkManagerDevice.c
14528 - (ap_need_key): resurrect and update for the New World Order
14529 - (nm_device_wireless_get_activation_ap): if we're not given
14530 security info to use, create some based on access point
14533 * src/nm-ap-security-wep.c
14534 - (nm_ap_security_wep_new_from_ap): create a new object
14535 based on a certain access point's capabilities
14537 * src/nm-ap-security.c
14538 - (nm_ap_security_new_from_ap): delegate creation of a new
14539 object based on access point capabilities to a subclass
14540 - (nm_ap_security_copy_properties): don't segfault if we
14541 don't have a key yet
14544 - (nm_dbus_nm_set_active_device): provide more informative
14545 output when errors occur. Also construct security info
14546 for a given access point if we weren't given any
14548 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14550 * configure.in: Added Lithuanian to ALL_LINGUAS.
14552 2005-12-21 Dan Williams <dcbw@redhat.com>
14555 - Add some testcases for WEP ciphers
14557 2005-12-17 Dan Williams <dcbw@redhat.com>
14561 2005-12-17 Dan Williams <dcbw@redhat.com>
14563 * include/NetworkManager.h
14564 - Finally kill NMEncKeyType
14566 * gnome/applet/applet-dbus-info.c
14567 - (nmi_save_network_info): convert to NMGConfWSO
14569 * gnome/applet/nm-gconf-wso-*.c
14570 - Implement gconf serialization functions
14572 * src/NetworkManagerPolicy.c
14573 - (nm_policy_activation_finish): fix up meaning of
14574 automatic/user_requested
14576 2005-12-17 Dan Williams <dcbw@redhat.com>
14579 - More applet cleanups
14580 - Use the dbus-method-dispatcher
14582 * libnm-util/dbus-method-dispatcher.[ch]
14583 - Generalize the implementation from NM in
14584 NetworkManagerUtils.c
14586 2005-12-16 Dan Williams <dcbw@redhat.com>
14589 - Fix up the passphrase dialog to use all the
14590 WirelessSecurityOption stuff (untested)
14592 2005-12-16 Dan Williams <dcbw@redhat.com>
14594 * Move nm_gconf_get_*_helper() functions to separate files,
14595 gconf-helpers.c & gconf-helpers.h
14597 * New NMGConfWSO objects for managing the gconf side of things.
14598 Eventually these should be merged with the
14599 WirelessSecurityOption objects and a common base (that can
14600 serialize/deserialize from dbus & gconf) should be
14601 refactored out, but for now they are separate.
14603 2005-12-16 Robert Love <rml@novell.com>
14605 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14606 binaries unless they exist (nm_spawn_process() emits a warning if
14607 asked to spawn a non-existant process).
14609 2005-12-16 Dan Williams <dcbw@redhat.com>
14611 * gnome/applet/applet-dbus-info.c
14612 - Clean up lots of gconf-related code
14614 2005-12-16 Robert Love <rml@novell.com>
14616 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14618 2005-12-16 Dan Williams <dcbw@redhat.com>
14620 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14622 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14623 bits still to be done)
14625 2005-12-16 Dan Williams <dcbw@redhat.com>
14627 * Finally move info-daemon related stuff out of
14628 NetworkManagerDbus.c to nm-dbus-nmi.c
14630 2005-12-16 Dan Williams <dcbw@redhat.com>
14632 * Kill auth_method for access points, since that's now done
14633 by NMAPSecurity objects
14635 * Add a copy-constructor of sorts to NMAPSecurity
14636 (how do you do this properly in glib???)
14638 2005-12-15 Dan Williams <dcbw@redhat.com>
14640 * Exorcise encryption key hashing on APs
14641 * Use libnm-util's serialization/deserialization in both the
14643 * Random other stuff
14645 2005-12-15 Robert Love <rml@novell.com>
14647 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14648 is being added to the icon naming spec, so let's use that (Tango CVS
14649 has the icon). Because it is new, however, we fall back to the
14650 current "gnome-lockscreen" if the new icon is not around, thus
14651 behavior is the same.
14652 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14655 2005-12-15 Robert Love <rml@novell.com>
14657 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14658 well, help to give. Couple other misc. bits.
14660 2005-12-15 Dan Williams <dcbw@redhat.com>
14662 * libnm-util/dbus-helpers.[ch]
14663 - Make this the one-stop-shop for serializing/deserializing
14664 AP & connection security settings over dbus. Both NM
14665 and applets should use this to ensure consistent dbus
14666 API going forwared.
14668 2005-12-15 Robert Love <rml@novell.com>
14670 Patch by Timo Hoenig <thoenig@suse.de>:
14671 * src/NetworkManagerDbus.c
14672 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14673 if HAL jumps off the system bus. Otherwise libdbus
14674 (dbus_connection_dispatch) will try to run the filter
14675 function of our libhal context which is already freed.
14677 2005-12-15 Alexander Shopov <ash@contact.bg>
14679 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14681 2005-12-14 Dan Williams <dcbw@redhat.com>
14683 * include/NetworkManager.h
14684 src/NetworkManagerWireless.c
14685 - Rearrange 802.11 wireless-specific capabilities again
14688 - Forgot to add wpa.c/wpa.h to the makefiles
14690 * src/NetworkManagerAP.[ch]
14691 - Implement access point capabilities and parse the
14692 WPA/RSN IEs into the capability bitfield
14693 - Switch the "encrypted" attribute to utilize the bitfield
14694 and capabilities rather than being independent
14696 * src/NetworkManagerDevice.c
14697 - (nm_device_wireless_get_activation_ap): break it horribly
14698 until we can push NMAPSecurity objects into access point
14699 objects and through the activation chain
14700 - Stuff WPA & RSN IEs into AP capabilities
14703 - Take a shot at actually making setActiveDevice work
14706 - Make the API a bit saner
14708 2005-12-14 Dan Williams <dcbw@redhat.com>
14710 * include/NetworkManager.h
14711 - Add 802.11-specific capability for 802.1x key
14715 - Pull in WPA IE and RSN IE parsing code from
14716 wpa_supplicant so we can determine access point
14718 - Move WPA-related constants here from NetworkManagerAP.h
14719 and NetworkManagerDevice.c
14721 * src/NetworkManagerDevice.c
14722 src/NetworkManagerAP.[ch]
14723 - Use WPA-related constants from wpa.h
14725 2005-12-14 Dan Williams <dcbw@redhat.com>
14727 * include/NetworkManager.h
14728 - Update and split 802.11 wireless-specific capabilities from
14729 generic device capabilities
14731 * src/NetworkManagerDevice.c
14732 src/NetworkManagerDevicePrivate.h
14733 - (nm_device_wireless_discover_capabilities): Move 802.11
14734 wireless-specific capability checks to
14735 NetworkManagerWireless.c
14736 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14737 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14739 * src/NetworkManagerWireless.[ch]
14740 - (nm_802_11_wireless_discover_capabilities): Check extended
14741 802.11 wireless-specific capabilities of the driver
14743 2005-12-14 Robert Love <rml@novell.com>
14745 Patch from Stefan Scheler <sscheler@suse.de>:
14746 * src/NetworkManagerDevice.c: call backend code to activate and
14748 * src/NetworkManagerSystem.h: add new NIS interfaces.
14749 * src/backends/NetworkManagerDebian.c,
14750 src/backends/NetworkManagerGentoo.c,
14751 src/backends/NetworkManagerRedHat.c,
14752 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14754 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14756 2005-12-14 Dan Williams <dcbw@redhat.com>
14758 * src/nm-ap-security*.[ch]
14759 - Add AP security abstractions to NetworkManager
14761 * src/nm-dbus-device.c
14762 - Begin to parse new format dbus messages from the applet
14763 and construct an AP security object from the message
14765 * libnm-util/dbus-helpers.c
14766 - Use message iters so we can append the key as a fixed
14767 array of bytes, which actually works rather than
14768 using dbus_message_append_args() as we were before
14770 2005-12-14 Dan Williams <dcbw@redhat.com>
14772 * src/NetworkManagerDbus.c
14773 gnome/applet/applet-dbus.c
14774 - Fix up dbus service replacement options. The applet
14775 should allow replacement, NM itself should not.
14777 2005-12-13 Robert Love <rml@novell.com>
14779 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14780 Instead, fail silently if config is NULL by not asserting and not
14781 returning FALSE. Also, make sure we always fclose() the file.
14783 2005-12-13 Robert Love <rml@novell.com>
14785 Patch by Stefan Scheler <sscheler@suse.de>:
14786 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14787 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14788 via DHCP. Still need the backends to commit the NIS domain name and
14789 and servers to yp.conf as needed.
14791 2005-12-13 Robert Love <rml@novell.com>
14793 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14794 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14796 2005-12-13 Robert Love <rml@novell.com>
14798 * src/named-manager/nm-named-manager.c: Don't unref the config until
14799 after we call rewrite_resolv_conf(), because get_last_default_domain()
14800 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14801 `config != NULL' failed" assertion failures and "Could not commit DNS
14804 2005-12-12 Dan Williams <dcbw@redhat.com>
14806 * libnm-util/dbus-helpers.[ch]
14807 libnm-util/Makefile.am
14808 - new helper calls to consolidate locations where
14809 NM's setDevice method is called
14811 * gnome/applet/applet-dbus-devices.c
14812 gnome/applet/wireless-security-option.c
14814 - Implement dbus message param append function for
14815 all wireless security options
14817 2005-12-12 Robert Love <rml@novell.com>
14819 * libnm-util/cipher-wep-passphrase.c,
14820 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14821 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14822 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14823 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14824 When handling keys, we don't care what the sign is. The compiler
14825 guarantees us that we get our 8-bits, which is all we care about.
14826 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14828 2005-12-12 Dan Williams <dcbw@redhat.com>
14830 * gnome/applet/applet-dbus-devices.[ch]
14831 gnome/applet/applet.c
14832 gnome/applet/other-network-dialog.c
14833 gnome/applet/wireless-security-manager.[ch]
14834 gnome/applet/wireless-security-option.[ch]
14836 - Push the wireless security options further into the applet
14838 2005-12-12 Robert Love <rml@novell.com>
14840 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14841 return any name servers. That is perfectly valid. (Novell #134369).
14843 2005-12-11 Dan Williams <dcbw@redhat.com>
14845 * gnome/applet/wso-*
14846 gnome/applet/wireless-security-option.*
14847 gnome/applet/Makefile.am
14848 - split each security option out so we can eventually
14849 have each one build up their own dbus message
14850 arguments to send to NM
14852 2005-12-11 Dan Williams <dcbw@redhat.com>
14854 * Make validation of the key work correctly
14856 2005-12-11 Dan Williams <dcbw@redhat.com>
14858 * Hook more bits of the Other Network Dialog up to the
14859 wireless security manager stuff, and restructure
14860 bits of the dialog so there's less code.
14862 2005-12-10 Dan Williams <dcbw@redhat.com>
14864 * gnome/applet/Makefile.am
14865 - Add libnm-util to includes
14866 - Add libnm-util to link list
14867 - Add wireless-security-common.* to compile list
14869 * gnome/applet/other-network-dialog.c
14870 - Convert to using the WirelessSecurityManager code and
14873 * gnome/applet/passphrase-dialog.c
14874 - Comment out references to stuff in the glade file that
14875 cause runtime errors until it can be fixed up
14876 to use the WirelessSecurityManager code
14878 * gnome/applet/wireless-applet.glade
14879 - Rename some widgets
14880 - Add widgets for the WirelessSecurityManager code
14881 - Remove passphrase-related stuff since that's now
14882 handled by the WirelessSecurityManager code
14884 2005-12-10 Dan Williams <dcbw@redhat.com>
14886 * gnome/applet/applet-dbus-devices.c
14887 - Print out error message details for dbus pending call callbacks
14888 - Move nmwa_dbus_update_devices() up
14890 * gnome/applet/applet-dbus-vpn.c
14891 - Print out error message details for dbus pending call callbacks
14893 2005-12-10 Dan Williams <dcbw@redhat.com>
14897 - Remove cipher-manager.* because we don't need it
14898 - Forgot to add gnome-keyring-md5 files to compile list
14900 2005-12-09 Dan Williams <dcbw@redhat.com>
14905 - Add a utility library for clients of NetworkManager. It's
14906 only targetted at applets for the moment, and contains
14907 a generalized 802.11 cipher framework for different
14908 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14910 2005-12-09 Robert Love <rml@novell.com>
14912 * src/NetworkManagerDevice.c: handle error better in
14913 nm_device_set_mode().
14915 2005-12-08 Robert Love <rml@novell.com>
14917 * include/NetworkManager.h: add WPA capabilities constants
14918 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14919 or WPA2 and add the capabilities bits as appropriate.
14921 2005-12-08 Robert Love <rml@novell.com>
14923 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14924 NetworkManagerDispatcher.
14925 * configure.in, initscript/SUSE/.cvsignore,
14926 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14929 2005-12-08 Robert Love <rml@novell.com>
14931 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14933 2005-12-08 Robert Love <rml@novell.com>
14935 * src/NetworkManagerDevice.c: We want to fall back on and default to
14936 IW_MODE_AUTO, not -1, which is more in line with our previous
14937 behavior. Otherwise, we try to set the wireless mode to -1 in
14938 nm_device_set_mode().
14940 2005-12-07 Robert Love <rml@novell.com>
14942 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14943 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14944 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14945 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14946 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14947 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14950 2005-12-07 Robert Love <rml@novell.com>
14952 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14953 supplied IP is invalid, fall back to DHCP.
14955 2005-12-07 Dan Williams <dcbw@redhat.com>
14957 * Convert NETWORK_MODE_* constants to IW_MODE_*
14958 * Make all the get_mode/set_mode functions take and return 'int'
14959 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14961 2005-12-07 Robert Love <rml@novell.com>
14963 * src/NetworkManagerDevice.c: strncpy() buffer check.
14964 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14966 2005-12-06 Dan Williams <dcbw@redhat.com>
14968 * gnome/applet/applet-dbus.c
14969 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14971 * gnome/applet/applet-dbus-vpn.c
14972 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14973 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14974 to TRUE here if stage was ACTIVATED
14976 2005-12-06 Dan Williams <dcbw@redhat.com>
14978 * Change nm_device_is_* functions to better names:
14979 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14980 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14982 2005-12-06 Dan Williams <dcbw@redhat.com>
14984 * Change naming of NMDeviceType to something more sensible:
14985 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14986 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14987 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14989 2005-12-06 Dan Williams <dcbw@redhat.com>
14991 * Move NetworkManager.h -> include/NetworkManager.h
14992 * Split out VPN stuff into include/NetworkManagerVPN.h
14993 * Fix up makefiles to include new location
14994 * Fix up sources to include NetworkManagerVPN.h
14996 2005-12-06 Dan Williams <dcbw@redhat.com>
14998 Various changes in the applet to move VPN connection "state" -> "stage",
14999 which it actually is. I'd like to change the signal as well when we
15000 break compat in the near future.
15002 2005-12-06 Dan Williams <dcbw@redhat.com>
15004 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
15005 * initscript/Slackware/rc.networkmanager
15008 * src/backends/NetworkManagerSlackware.c
15009 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
15012 2005-12-05 Robert Love <rml@novell.com>
15014 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
15015 to free, particularly here as it just barfs.
15017 2005-12-05 Dan Williams <dcbw@redhat.com>
15019 * gnome/applet/applet-dbus.c
15020 - Work with dbus 0.6 too
15022 2005-12-03 Dan Williams <dcbw@redhat.com>
15024 * src/NetworkManagerUtils.[ch]
15025 src/nm-ip4-config.c
15026 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
15027 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
15029 2005-12-01 Robert Love <rml@novell.com>
15031 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
15032 need a NULL for the '...' parameter, too, to fill the so-called
15035 2005-12-01 Robert Love <rml@novell.com>
15037 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
15038 interface is already gone, so don't call rtnl_link_change() to down
15039 it (which will segfault, anyhow).
15041 2005-11-22 Robert Love <rml@novell.com>
15043 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
15044 gateway is not set, just print a little note. Configurations without
15045 gateways are valid.
15047 2005-11-22 Robert Love <rml@novell.com>
15051 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15053 * configure.in: Added Finnish translation to ALL_LINGUAS
15055 2005-11-14 Robert Love <rml@novell.com>
15057 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15058 Niemueller <tim@niemueller.de>.
15060 2005-11-08 Dan Williams <dcbw@redhat.com>
15062 Patch from Bill Moss <bmoss@clemson.edu>
15063 * src/NetworkManagerDevice.c
15064 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15065 of nm_policy_schedule_activation_finish() to prevent a
15066 race condition that causes the link to be dropped
15068 2005-11-08 Dan Williams <dcbw@redhat.com>
15070 Patch from Bill Moss <bmoss@clemson.edu>
15071 * src/NetworkManagerAPList.c
15072 src/NetworkManagerDevice.c
15073 src/NetworkManagerDbus.c
15074 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15075 we get more readable ether/mac addresses
15077 2005-11-02 Christopher Aillon <caillon@redhat.com>
15079 * gnome/applet/main.c: Don't set the restart command. This fixes
15080 the issue where the restart command was getting copies of all its
15081 arguments for each time the applet was restarted.
15083 2005-11-02 Robert Love <rml@novell.com>
15085 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15086 if the widget state differs from our saved state. This ensures we
15087 do not enter an endless loop of death and destruction. Also, this
15088 guarantees us that we enforce the widget state.
15090 2005-11-02 Robert Love <rml@novell.com>
15092 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15093 * gnome/applet/applet-dbus-devices.c: invoke the new function
15094 nmwa_enable_wireless_set_active() to ensure that the state of the
15095 'Enable Wireless' checkbox matches the daemon's state. This is a
15096 concern because the daemon remembers the state.
15098 2005-11-02 Robert Love <rml@novell.com>
15100 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15101 Enabled", as checkboxes should be actions/commands not positive
15102 statements, otherwise they are confusing in the unselected case. See
15103 examples in GNOME HIG, Chapter 6.
15105 2005-11-02 Robert Love <rml@novell.com>
15107 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15108 show a list of wireless networks or the wireless devices or the
15109 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15110 a bad bug: If wireless is disabled and the user picks a wireless
15111 network, NM will switch to the network, only to immediately switch
15112 back, as wireless is disabled. This also reassures people that NM
15113 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15115 2005-11-02 Christopher Aillon <caillon@redhat.com>
15117 * gnome/applet/applet.c:
15118 * gnome/applet/applet.h:
15119 Partial backout of Dan's timeout animation patch.
15120 Timeout IDs cannot legally be 0, so revert the code in place to handle
15121 a timeout ID of 0 to denote the timeout isn't running.
15123 2005-11-02 Christopher Aillon <caillon@redhat.com>
15125 * src/NetworkManagerPolicy.c:
15126 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15128 2005-10-28 Robert Love <rml@novell.com>
15130 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15131 "Import Saved Configuration..." to make it clear that importing is
15132 not the next step, but an option. As an aside, a nice TODO would be
15133 to move Importing out of the vpn-specific dialog and into the main
15134 property editor, as Importing goes with Adding, but that will require
15135 some rearchitecting of the VPN stuff I suspect.
15137 2005-10-27 Dan Williams <dcbw@redhat.com>
15139 Start using libnl. You need 1.0-pre3 or higher. Eventually
15140 we should replace most of the distro-specific backend code
15143 Get it here: http://people.suug.ch/~tgr/libnl/
15147 - Add checks for libnl pkgconfig file
15148 - Use LIBNL_LIBS & LIBNL_CFLAGS
15150 * src/NetworkManagerSystem.c
15151 src/nm-ip4-config.[ch]
15152 - Use libnl rather than ioctl() for most things
15153 - Remove unused functions
15155 2005-10-27 Robert Love <rml@novell.com>
15157 * src/backends/NetworkManagerSuSE.c: fix warning message text
15159 2005-10-27 Christopher Aillon <caillon@redhat.com>
15161 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15163 2005-10-27 Christopher Aillon <caillon@redhat.com>
15165 * gnome/applet/applet.c: The applet's about dialog can advertise our
15166 project page <http://www.gnome.org/projects/NetworkManager/>
15168 2005-10-26 Christopher Aillon <caillon@redhat.com>
15170 * gnome/applet.c: Also use translator credits if we don't have
15171 the new GtkAboutDialog (older versions of GTK+)
15173 2005-10-26 Robert Love <rml@novell.com>
15175 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15176 failure; correct usage text for "--no-daemon"
15178 2005-10-25 Dan Williams <dcbw@redhat.com>
15180 * src/NetworkManagerDevice.c
15181 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15183 - (free_process_scan_cb_data): unref the device when freeing results
15184 - (nm_device_wireless_process_scan_results): free scan results a bit later
15185 so we don't unref the device underneath ourselves
15187 2005-10-25 Dan Williams <dcbw@redhat.com>
15189 * Back out 2005-10-24 commit from Tor Krill. Patch
15190 causes nameservers never to be removed from named.
15192 2005-10-24 Dan Williams <dcbw@redhat.com>
15194 Clean up wireless scanning and wireless link probing.
15196 * src/NetworkManagerDevice.c
15197 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15198 just see if there's an activation request on the device, and check the
15199 current link against the activation request access point's ESSID.
15200 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15201 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15202 don't call process_scan_results() on zero-length data
15203 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15204 15 seconds (from 10)
15206 2005-10-24 Dan Williams <dcbw@redhat.com>
15208 Cleanup some applet stuff:
15210 - Animation timeouts. If NM died while the applet was animating,
15211 the applet would not hide itself. This is now fixed.
15213 - Remove some dead code
15215 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15216 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15218 - Track animation timeout using a gboolean rather than the timeout's
15219 ID, since timeout IDs can legally be 0.
15221 2005-10-24 Dan Williams <dcbw@redhat.com>
15223 * src/backends/interface_parser.c
15224 - Add void to function declarations that need it
15225 to match patch from Engin AYDOGAN
15227 * src/backends/interface_parser.h
15228 - Remove unused prototype for ifparser_interfaces()
15230 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15231 * src/backends/interface_parser.h:
15232 - Compile fixes for gcc 4.0.2 (add void)
15234 2005-10-24 Dan Williams <dcbw@redhat.com>
15236 Patch from Tor Krill <tor@krill.nu>
15237 * src/named-manager/nm-named-manager.c
15238 - Write more than just the first nameserver to /etc/resolv.conf
15239 - Write out valid /etc/resolv.conf on exit
15241 2005-10-21 Christopher Aillon <caillon@redhat.com>
15243 * gnome/applet/applet-dbus-vpn.c:
15244 Get rid of spurious newlines in debug console output
15246 2005-10-21 Christopher Aillon <caillon@redhat.com>
15248 * src/backends/NetworkManagerGentoo.c:
15249 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15251 2005-10-20 Robert Love <rml@novell.com>
15253 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15254 direct comparison of floating point values, which is never correct.
15255 Also some misc. cleanup.
15257 2005-10-19 Robert Love <rml@novell.com>
15259 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15261 2005-10-19 Robert Love <rml@novell.com>
15263 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15264 sensitivity of the buttons. Specificaly, do the right thing if
15265 there are no entries.
15267 2005-10-19 Christopher Aillon <caillon@redhat.com>
15269 * configure.in: Update check for adequate wireless-tools
15270 with an AC_TRY_COMPILE for the new symbols we use.
15272 2005-10-19 Dan Williams <dcbw@redhat.com>
15274 * src/NetworkManagerDevice.c
15275 - (process_scan_results): don't drop the last (or only)
15276 access point we see
15278 2005-10-19 Christopher Aillon <caillon@redhat.com>
15280 * src/backends/NetworkManagerSlackware.c:
15281 Patch from Nico <lordllucifer@gmail.com>
15282 - Update the Slackware backend.
15284 2005-10-18 Christopher Aillon <caillon@redhat.com>
15286 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15287 if we've got GLib 2.8.0
15289 2005-10-18 Robert Love <rml@novell.com>
15291 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15292 function nm_schedule_state_change_signal_broadcast() when we
15293 deactivate a device, too.
15295 2005-10-18 Robert Love <rml@novell.com>
15297 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15298 be used uninitialized.
15300 2005-10-18 Christopher Aillon <caillon@redhat.com>
15302 * test/libnm_glib_test.c: Test unregistering, too.
15304 2005-10-17 Christopher Aillon <caillon@redhat.com>
15306 * configure.in: Bump to 0.5.0
15308 2005-10-17 Dan Williams <dcbw@redhat.com>
15311 - Remove WPA-related constants so they aren't part of the
15314 2005-10-17 Christopher Aillon <caillon@redhat.com>
15316 * gnome/applet/applet.c:
15317 * gnome/applet/applet.h:
15318 Desensitize the 'Connection Information' menu item when there is
15319 no active connection.
15321 2005-10-17 Christopher Aillon <caillon@redhat.com>
15323 * gnome/libnm_glib/libnm_glib.c:
15324 Make libnm_glib_unregister_callback () actually unregister the callback
15326 2005-10-17 Robert Love <rml@novell.com>
15328 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15329 two seconds -- tries is updated every 1/10 of a second, not every
15332 2005-10-17 Christopher Aillon <caillon@redhat.com>
15334 * gnome/applet/applet-dbus-info.c:
15335 Let D-BUS know that we haven't handled a message when we haven't.
15337 2005-10-17 Robert Love <rml@novell.com>
15339 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15340 in order to remain 64-bit clean.
15342 2005-10-17 Christopher Aillon <caillon@redhat.com>
15344 * gnome/applet/applet-dbus-info.c:
15345 Find network encryption keys asynchronously
15347 2005-10-17 Robert Love <rml@novell.com>
15349 * src/backends/NetworkManagerDebian.c,
15350 src/backends/NetworkManagerRedHat,
15351 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15354 2005-10-17 Robert Love <rml@novell.com>
15356 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15359 2005-10-17 Christopher Aillon <caillon@redhat.com>
15361 * src/NetworkManagerDevice.c: (process_scan_results)
15362 Fix logic that checks to see whether we have an ESSID.
15364 2005-10-15 Dan Williams <dcbw@redhat.com>
15366 Move scanning code into NetworkManager rather than use iwlib's
15367 iw_scan() function, so that we can figure out AP capabilities.
15370 - Add AP capability bits
15372 * src/NetworkManagerAP.[ch]
15373 - Add capability field to NMAccessPoint structure
15374 - Add WPA & RSN Information Element fields and accessor
15375 functions to NMAccessPoint
15377 * src/NetworkManagerDevice.c
15378 - Remove usage of iw_scan
15379 - Add scanning code to NetworkManager rather than use
15380 iw_scan() from iwlib
15382 * src/NetworkManagerUtils.[ch]
15383 - (nm_dispose_scan_results): remove, unused
15385 2005-10-14 Christopher Aillon <caillon@redhat.com>
15387 * gnome/libnm_glib/libnm_glib.c:
15388 * gnome/libnm_glib/libnm_glib.h:
15389 Use guint instead of gint for callback IDs.
15391 2005-10-12 Christopher Aillon <caillon@redhat.com>
15393 * gnome/applet/applet.c:
15394 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15395 every 1000ms. It will unconditionally call nmwa_update_state which
15396 kills the existing animation timeout and registers a new one with a
15397 callback to draw a new frame every 100ms. There are 11 connecting
15398 icon frames, so the last 2 frames kept getting dropped. Only reset
15399 the animation timeout if we aren't animating.
15401 2005-10-11 Dan Williams <dcbw@redhat.com>
15403 * gnome/applet/applet-dbus-devices.c
15404 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15405 We want to grab the product & vendor from net.physical_dev
15406 rather than info.parent.
15408 2005-10-11 Dan Williams <dcbw@redhat.com>
15410 * src/NetworkManagerDevice.c
15411 - Use the driver's WE version for scanning rather than
15412 the WE version NM was compiled with. Fixes random
15413 crashes in iw_scan () in iwlib.
15415 2005-10-10 Dan Williams <dcbw@redhat.com>
15417 * Remove nm_system_load_device_modules() from backend files
15418 and from NetworkManager.c
15420 2005-10-10 Dan Williams <dcbw@redhat.com>
15422 * src/NetworkManagerPolicy.c
15423 - Fix some bugs introduced by the capabilities patch
15425 2005-10-10 Dan Williams <dcbw@redhat.com>
15427 * gnome/applet/applet-dbus-info.c
15428 - (nmi_dbus_get_network_key): hide the menu when putting up
15429 the keyring dialog. (not sure if the code is right...)
15431 2005-10-09 Dan Williams <dcbw@redhat.com>
15433 Patch from Bill Moss <bmoss@clemson.edu>
15434 * src/NetworkManagerDevice.c
15435 - (nm_device_set_user_key_for_network): don't try to set auth
15436 mode on the AP from the allowed list if it's NULL
15438 2005-10-09 Dan Williams <dcbw@redhat.com>
15440 * Replace the "driver support level" stuff with capabilities. The
15441 capability field is a bitfield that is more flexible than the
15442 old driver support level thing. It's mostly so we can easily
15443 figure out what supports WPA and what doesn't, but should be
15444 quite useful later.
15446 2005-10-09 Dan Williams <dcbw@redhat.com>
15453 - Added new "nm-tool" tool that gives quite a bit more
15456 2005-10-07 Robert Love <rml@novell.com>
15458 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15459 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15460 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15461 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15464 2005-10-07 Robert Love <rml@novell.com>
15466 * configure.in: Change our compile flags for the betterment of mankind.
15467 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15468 prototype is very bad on 64-bit platforms as types default to int but
15469 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15470 "-Wmissing-declarations" to warn if we define an exported function
15471 but fail to put it in a header.
15473 2005-10-07 Robert Love <rml@novell.com>
15475 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15476 by the name nm_update_device_wireless_timeouts() and once tried,
15477 without success, to steal my pet turtle.
15479 2005-10-07 Robert Love <rml@novell.com>
15481 * Cleanup prototypes: put some functions in header files and mark
15482 others as 'static' -- feel free to invert
15483 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15484 nm_vpn_manager_vpn_connection_list_copy()
15485 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15486 nm_vpn_service_get_dbus_connection()
15487 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15488 nm_vpn_manager_vpn_connection_list_copy()
15489 * src/vpn-manager/nm-vpn-service.c: make
15490 nm_vpn_service_act_request_failed() and
15491 nm_vpn_service_stage2_daemon_wait() static
15492 * src/vpn-manager/nm-vpn-service.h: add prototype for
15493 nm_vpn_service_get_dbus_connection()
15495 2005-10-06 Christopher Aillon <caillon@redhat.com>
15497 * gnome/applet/applet.c:
15498 * gnome/applet/applet.h:
15499 * gnome/applet/icons/Makefile.am:
15500 Convey information about the current connection stage in the
15501 icons themselves instead of creating a separate progress bar.
15503 2005-10-04 Robert Love <rml@novell.com>
15505 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15506 convert an ether_addr structure's MAC into a string, because the
15507 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15508 versus 07:3B:04, while the former will not.
15510 2005-10-04 Robert Love <rml@novell.com>
15512 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15513 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15514 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15515 default route in the 'Connection Information' dialog, send primary
15516 and secondary name servers in in "getProperties" DBUS method, add
15517 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15518 secondary domain name servers are crucial pieces of information
15519 that a user might need in debugging a network problem.
15521 2005-10-04 Robert Love <rml@novell.com>
15523 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15524 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15525 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15526 default route in the 'Connection Information' dialog, send default
15527 route in "getProperties" DBUS method, add network_device_set_route(),
15528 and network_device_get_route(). The Gateway is a crucial piece of
15529 connection-related information that a user might need in debugging a
15532 2005-10-03 Robert Love <rml@novell.com>
15534 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15537 2005-10-02 Dan Williams <dcbw@redhat.com>
15539 * Shorten time taken to sleep by fastpathing bits of device deactivation
15540 necessary for sleep.
15542 * Fix issue where deactivating a device might deactivate the active
15543 VPN connection, even if the VPN was not using the device.
15545 2005-10-02 Dan Williams <dcbw@redhat.com>
15547 * gnome/applet/applet.c
15548 - Adjust signal strength -> icon mapping values slightly
15549 (so that 51% signal doesn't show a 75% icon) by adding
15550 5% to the values. ex: > 5% now shows 25% icon, > 30%
15551 shows 50% icon, etc.
15553 2005-09-29 Robert Love <rml@novell.com>
15555 * src/NetworkManager.c: removed unused variable.
15557 2005-09-28 Dan Williams <dcbw@redhat.com>
15559 Support for named + DBus, using Red Hat DBus patches for named. You
15560 can find those patches here, with "dbus" in the patch's filename:
15562 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15564 Don't forget the named dbus service file either.
15566 Instead of writing a config file and spawing a named process, NM will
15567 use an already-running dbus-enabled named if it finds one. NM will
15568 update named's forwarder configuration on the fly using dbus.
15570 If there is no dbus-enabled named running, NM will automatically fall
15571 back to writing the most-recent DNS server information to /etc/resolv.conf
15572 and calling nm_system_update_dns() to kick the system's resolver.
15574 Accordingly, all named-related configure-time options have been removed.
15576 2005-09-26 Robert Love <rml@novell.com>
15578 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15580 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15581 bug in error path if "ASKPASSWORD" is "no".
15583 2005-09-26 Robert Love <rml@novell.com>
15585 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15586 comment in /etc/resolv.conf -- ';' is not.
15588 2005-09-19 Dan Williams <dcbw@redhat.com>
15590 * src/backends/NetworkManagerRedHat.c:
15591 * src/backends/NetworkManagerDebian.c:
15592 * src/backends/NetworkManagerSlackware.c:
15593 * src/backends/NetworkManagerGentoo.c:
15594 * src/backends/NetworkManagerSUSE.c:
15595 Fix invocations of "/sbin/ip address" to use short form instead
15597 2005-09-19 Christopher Aillon <caillon@redhat.com>
15599 * src/nm-dbus-device.c: Don't assert when getting
15600 addresses of a not yet connected interface.
15602 * gnome/applet/applet.c: Free icons if loading fails.
15603 Use translator-credits so translators can make themselves known.
15605 2005-09-15 Christopher Aillon <caillon@redhat.com>
15607 * src/NetworkManagerAP.c:
15608 * src/NetworkManagerAP.h:
15609 * src/NetworkManagerDevice.c:
15610 Set a blacklist for certain common manufacturer default ESSIDs:
15611 APs with these ESSIDs are extremely likely to be completely
15612 different networks: connecting to one should not make NM
15613 auto-connect to every other AP with the same default ESSID.
15615 2005-09-12 Christopher Aillon <caillon@redhat.com>
15617 * gnome/applet/wireless-applet.glade:
15618 The passphrase entry should also activate the default
15620 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15622 * gnome/applet/applet-dbus-devices.c:
15623 * gnome/applet/applet.c:
15624 * gnome/applet/nm-device.c:
15625 * gnome/applet/nm-device.h:
15626 * src/NetworkManagerUtils.c:
15627 * src/NetworkManagerUtils.h:
15628 * src/nm-dbus-device.c:
15629 I've got a fever, and the only cure for it is less ioctl.
15630 Make NM push IP data rather than make the applet open a socket
15633 2005-09-10 Christopher Aillon <caillon@redhat.com>
15635 * gnome/applet/applet.c:
15636 * gnome/applet/applet-dbus-devices.c:
15637 * gnome/applet/applet-dbus-info.c:
15638 * gnome/applet/passphrase-dialog.c:
15639 * gnome/libnm_glib/libnm_glib.c:
15640 * gnome/vpn-properties/nm-vpn-properties.c:
15642 * src/backends/NetworkManagerRedHat.c:
15643 * src/named-manager/nm-named-manager.c:
15644 * src/NetworkManagerAPList.c:
15645 * src/NetworkManager.c:
15646 * src/NetworkManagerDbus.c:
15647 * src/NetworkManagerDevice.c:
15648 * src/NetworkManagerPolicy.c:
15649 * src/NetworkManagerSystem.c:
15650 * src/nm-dbus-device.c:
15651 * src/nm-dbus-nm.c:
15652 * src/vpn-manager/nm-vpn-manager.c:
15653 * src/vpn-manager/nm-vpn-service.c:
15654 * test/libnm_glib_test.c:
15655 * test/nminfotest.c:
15656 * test/nmtestdevices.c:
15657 Fix a bunch of 'unused variable' compiler warnings
15659 * NetworkManager.h:
15660 * gnome/applet/applet-dbus-info.c:
15661 * gnome/applet/applet-dbus-info.h:
15662 * gnome/applet/applet.c:
15663 * gnome/applet/applet.h:
15664 * src/NetworkManager.c:
15665 * src/NetworkManagerDbus.c:
15666 * src/NetworkManagerDbus.h:
15667 * src/NetworkManagerDevice.c:
15668 * src/NetworkManagerDevice.h:
15669 * src/NetworkManagerMain.h:
15670 * src/NetworkManagerWireless.c:
15671 * src/NetworkManagerWireless.h:
15672 * src/nm-dbus-nm.c:
15673 Make NetworkManager be smart about how frequently to scan
15674 based on its current state. Remove the UI for choosing when
15675 to scan. Scanning still may disabled completely by the user
15676 via the "Wireless Enabled" menu item.
15678 2005-09-09 Christopher Aillon <caillon@redhat.com>
15680 * gnome/applet/applet.c:
15681 Also overlay the vpn connecting icons onto the wired icon,
15684 * gnome/vpn-properties/nm-vpn-properties.glade:
15685 Clean up a few strings to use better grammar and proper casing.
15687 2005-09-08 Christopher Aillon <caillon@redhat.com>
15689 * gnome/applet/vpn-connection.c:
15690 * gnome/applet/vpn-connection.h:
15691 Add nmwa_vpn_connection_is_activating ()
15693 * gnome/applet/applet.c:
15694 * gnome/applet/applet.h:
15695 * gnome/applet/icons/nm-vpn-connecting*.png:
15696 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15697 the user know something's happening between clicking the VPN item and it
15698 actually being connected.
15700 2005-09-07 Christopher Aillon <caillon@redhat.com>
15702 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15703 failure case as well.
15705 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15707 * gnome/panel/eggtrayicon.[ch]:
15708 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15710 2005-09-07 Dan Williams <dcbw@redhat.com>
15712 Patch from Bill Moss <bmoss@clemson.edu>
15713 * src/applet-dbus.c
15714 - (nmwa_dbus_filter): strip whitespace from beginning
15715 and end of VPN login banner
15717 2005-09-07 Dan Williams <dcbw@redhat.com>
15719 * The great VPN Manager rewrite of 2005
15721 2005-09-07 Christopher Aillon <caillon@redhat.com>
15723 * gnome/applet/menu-items.c:
15724 * gnome/applet/nm-device.c:
15725 * gnome/applet/wireless-network.c:
15726 * gnome/libnm_glib/libnm_glib.c:
15727 * src/NetworkManagerDbusUtils.c:
15728 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15729 g_malloc0 doesn't return NULL
15731 2005-09-06 Dan Williams <dcbw@redhat.com>
15733 Patch from Tomislav Vujec <tvujec@redhat.com>
15734 * src/NetworkManagerDevice.c
15735 - (nm_get_device_by_udi): don't return a device when we
15736 actually didn't find what we were looking for
15738 2005-09-06 Christopher Aillon <caillon@redhat.com>
15740 * gnome/applet/applet-dbus-devices.c:
15741 * gnome/applet/applet-dbus-devices.h:
15742 * gnome/applet/applet-dbus.c:
15743 * src/NetworkManagerDbus.c:
15744 * src/NetworkManagerDbus.h:
15745 * src/NetworkManagerDevice.c:
15746 * src/nm-dbus-device.c:
15747 Make NM push updates about active device strength when it changes,
15748 rather than having the applet poll every 2s.
15750 2005-09-05 Christopher Aillon <caillon@redhat.com>
15752 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15753 network_device_set_strength
15755 2005-09-04 Dan Williams <dcbw@redhat.com>
15757 Patch from Bill Nottingham <notting@redhat.com>
15758 * src/NetworkManagerDevice.c
15759 - (nm_device_activation_cancel): reset the quit_activation flag
15761 2005-09-04 Dan Williams <dcbw@redhat.com>
15763 * src/nm-activation-request.c
15764 - (nm_act_request_unref): actually free the structure,
15765 which we didn't seem to be doing before
15767 2005-09-04 Dan Williams <dcbw@redhat.com>
15769 Patch from John Palmieri <johnp@redhat.com>
15770 * gnome/applet/applet-dbus-devices.c
15771 - Fix up unreffing of DBusMessage objects
15773 2005-09-04 Dan Williams <dcbw@redhat.com>
15775 Patch from John Palmieri <johnp@redhat.com>
15776 * gnome/applet/nm-device.c
15777 - (nm_device_unref): clear network_device's memory _before_ freeing it
15779 2005-09-02 Christopher Aillon <caillon@redhat.com>
15781 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15783 2005-09-02 Bill Nottingham <notting@redhat.com>
15785 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15787 2005-09-01 Dan Williams <dcbw@redhat.com>
15789 * src/NetworkManager.c
15790 - (nm_remove_device_from_list): rename to nm_remove_device
15791 - (nm_hal_device_removed): call nm_remove_device()
15793 * src/NetworkManagerDevice.c
15794 - Change the NMWirelessScanCB member 'reschedule' which
15795 wasn't used to 'force' to indicate that we need to
15796 force a scan when adding a device
15799 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15800 from the device list
15801 - (nm_dbus_nm_wake): Re-add all devices to the device list
15803 2005-09-01 Robert Love <rml@novell.com>
15805 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15806 and the check "!iface" in the error case is probably never true.
15808 2005-09-01 Dan Williams <dcbw@redhat.com>
15810 Patch from Bill Nottingham <notting@redhat.com>
15811 * src/backends/NetworkManagerRedHat.c
15812 - Add initial dialup support to Red Hat/Fedora backend
15814 2005-09-01 Dan Williams <dcbw@redhat.com>
15816 * gnome/applet/applet-dbus-devices.c
15817 - Sort both wireless networks and devices again, which got
15818 broken when removing threading
15820 2005-09-01 Christopher Aillon <caillon@redhat.com>
15822 * gnome/applet/applet.c:
15823 Only show the "Stop/Start All Wireless Devices" menuitem
15824 if we actually have wireless devices.
15826 * gnome/applet/applet-dbus-info.c:
15827 * gnome/applet/applet.c:
15828 * gnome/applet/other-network-dialog.c:
15829 * gnome/applet/vpn-password-dialog.c:
15830 Drop the gtk_dialog_run () calls in favor of connecting to
15831 "response" signals, needed now that the applet is not threaded.
15833 2005-08-31 Dan Williams <dcbw@redhat.com>
15835 Patch from Bill Moss <bmoss@clemson.edu>
15836 * src/NetworkManagerDevice.c
15837 - (nm_device_wireless_scan): fix scan timeout values
15839 2005-08-30 Dan Williams <dcbw@redhat.com>
15841 * gnome/applet/wireless-applet.glade
15842 - HIG-ify the Other Wireless Networks dialog a bit more
15843 - Fix some potential segfaults in the info dialog
15845 2005-08-30 Dan Williams <dcbw@redhat.com>
15847 * gnome/applet/applet-dbus-devices.c
15848 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15850 2005-08-30 Dan Williams <dcbw@redhat.com>
15852 * gnome/applet/applet-dbus.[ch]
15853 - Remove all the nmwa_dbus_call_method_xxxx functions since
15854 they weren't being used anyway
15856 2005-08-30 Bastien Nocera <hadess@hadess.net>
15858 * test/nmtestdevices.c: (print_usage), (main):
15859 Check the number of arguments, and fix a typo
15861 2005-08-29 Dan Williams <dcbw@redhat.com>
15863 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15864 * gnome/applet/applet.c
15865 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15867 2005-08-29 Dan Williams <dcbw@redhat.com>
15870 - Don't use threads any more. Anything that blocks
15871 (like gtk_dialog_run()) will have to get fixed up which
15872 should happen quickly. We really only had threads to make
15873 the animation smooth, and when everything got converted over
15874 to DBus Pending Calls, the need for threads kind of went away
15876 2005-08-29 Christopher Aillon <caillon@redhat.com>
15878 * gnome/applet/applet.c: Draw VPN connections as radio items
15879 since we don't yet support multiple VPNs.
15880 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15881 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15883 2005-08-29 Dan Williams <dcbw@redhat.com>
15885 Patch from j@bootlab.org
15886 - Make --without-named work
15887 - Make --with-dhcdbd work correctly
15889 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15891 * configure.in: Added "ca" to ALL_LINGUAS.
15893 2005-08-26 Christopher Aillon <caillon@redhat.com>
15895 * Fix up VPN state handling between the applet and NetworkManager,
15896 so that the applet doesn't show a VPN as connected when one
15898 - The applet no longer has a pointer to the active VPN's
15899 name, but tracks each VPNs state individually
15900 - NM no longer has a "getActiveVPNConnection" method
15901 - NM no longer broadcasts the "VPNConnectionChange" signal
15902 - NM now broadcasts a "VPNConnectionStateChange" signal
15903 whenever the state of a VPN changes
15905 2005-08-26 Dan Williams <dcbw@redhat.com>
15907 * gnome/applet/applet-dbus-devices.c
15908 gnome/applet/applet-dbus-vpn.c
15909 - Remove calls to dbus_pending_call_ref() because we already
15910 "own" the pending call
15911 - Remove calls to dbus_pending_call_get_completed() because
15912 when we are in the callback, the pending call is completed
15915 2005-08-22 Dan Williams <dcbw@redhat.com>
15917 Patch by Bill Moss <bmoss@clemson.edu>
15918 * src/dhcp-manager/nm-dhcp-manager.c
15919 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15920 some time to send out a RELEASE if they like
15922 2005-08-22 Dan Williams <dcbw@redhat.com>
15924 Noticed by Bill Moss <bmoss@clemson.edu>
15925 * src/NetworkManagerDbus.c
15926 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15927 instead of just cancelling its activation
15929 * src/NetworkManagerDevice.c
15930 - (nm_device_deactivate): some small cleanups
15931 - (nm_device_set_user_key_for_network): deactivate the device
15932 instead of just cancelling its activation
15934 2005-08-22 Dan Williams <dcbw@redhat.com>
15936 Noticed by Bill Moss <bmoss@clemson.edu>
15937 * src/NetworkManagerDevice.c
15938 - (nm_device_wireless_scan): fix scan timeout, we were
15939 waiting way too long for scans to complete
15941 2005-08-22 Dan Williams <dcbw@redhat.com>
15943 Patch from j@bootlab.org:
15944 * src/backends/NetworkManagerDebian.c
15945 - Make the Debian backend work for static IP again
15947 2005-08-20 Christopher Aillon <caillon@redhat.com>
15949 * gnome/applet/other-network-dialog.c:
15950 The "Create New Network" and "Connect to Other Network"
15951 dialogs share alot of code, but shouldn't share a window
15952 title. Give them different ones.
15954 * gnome/applet/wireless-applet.glade:
15955 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15956 Some more minor UI tweaks.
15958 2005-08-19 Christopher Aillon <caillon@redhat.com>
15960 * gnome/applet/other-network-dialog.c:
15961 * gnome/applet/wireless-applet.glade:
15962 Also need mnemonic widgets, and underline enabled.
15964 2005-08-19 Dan Williams <dcbw@redhat.com>
15966 * vpn-daemons/vpnc/nm-vpnc-service.c
15967 - (vpnc_watch_cb): remove no-longer-relevant comment
15968 - (write_config_option): new function, helper to write
15969 config options to vpnc's stdin
15970 - (nm_vpnc_config_write): use the new helper, make the
15973 2005-08-19 Christopher Aillon <caillon@redhat.com>
15975 * gnome/applet/passphrase-dialog.c:
15976 * gnome/applet/wireless-applet.glade:
15977 Make the passphrase dialog response based, and treat
15978 responses other than OK (such as Esc, [X]) as a cancel.
15980 2005-08-18 Christopher Aillon <caillon@redhat.com>
15982 * initscript/Gentoo/NetworkManager:
15983 * initscript/RedHat/NetworkManager:
15984 * initscript/RedHat/NetworkManagerDispatcher:
15985 * initscript/SUSE/networkmanager:
15986 CVS remove these in place of .in replacements
15989 * initscript/Gentoo/NetworkManager.in:
15990 * initscript/RedHat/NetworkManager.in:
15991 * initscript/RedHat/NetworkManagerDispatcher.in:
15992 * initscript/SUSE/networkmanager.in:
15993 These scripts now are generated so they work still when
15994 NM is built using a bindir other than /usr/bin
15996 2005-08-18 Dan Williams <dcbw@redhat.com>
15998 * gnome/applet/main.c
15999 - Revert previous change for --no-session since
16000 --sm-disable does the same thing
16002 2005-08-18 Dan Williams <dcbw@redhat.com>
16004 * gnome/applet/applet-dbus-info.c
16005 - (nmi_dbus_create_error_message): new function
16006 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
16007 functions. Also don't check for both device _and_ network before
16008 asking for a user's key, because we may not have gotten all our
16009 networks back from NM quite yet (due to the dbus pending calls
16010 coming in later). Fixes a hang in NM/nm-applet.
16012 * src/NetworkManagerDbus.c
16013 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
16014 slightly more sane manner, even though we are still broken for
16015 certain other error conditions.
16016 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
16017 to the info-daemon too
16019 * src/NetworkManagerDevice.c
16020 - Fix some debug messages to be info messages instead
16022 2005-08-18 Dan Williams <dcbw@redhat.com>
16024 * gnome/applet/main.c
16025 - Add new "--no-session" parameter that disables applet
16026 session management, ie for testing
16028 2005-08-18 Christopher Aillon <caillon@redhat.com>
16030 * gnome/applet/other-network-dialog.c:
16031 * gnome/applet/wireless-applet.glade: More mnemonics
16033 2005-08-17 Robert Love <rml@novell.com>
16035 * initscript/SUSE/networkmanager: update
16037 2005-08-17 Dan Williams <dcbw@redhat.com>
16039 * Tag NM_0_4_1_RELEASE
16041 2005-08-17 Christopher Aillon <caillon@redhat.com>
16043 * gnome/applet/applet.c: More translatable string cleanup
16046 2005-08-17 Dan Williams <dcbw@redhat.com>
16048 * gnome/applet/applet-dbus-info.c
16049 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16050 from the dbus message, which tells us to unconditionally
16051 ask the user for a new key. Otherwise, we pull the key from
16052 the keyring and return it. If we fail to get the key from the
16053 keyring, we ask the user for a new key.
16054 - (nmi_dbus_get_network_key): new function to grab the key for
16055 an essid from the keyring.
16056 - (nmi_dbus_get_network_properties): don't access the keyring here.
16057 Also, don't return any key in the dbus message.
16059 * src/NetworkManagerDbus.[ch]
16060 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16061 indicate that we unconditionally want a new key. This function
16062 is now also used to get keys from the info-daemon which are
16063 pre-stored, not just for asking the user for a new key. The
16064 "new_key" parameter indicates whether or not we wish to ask the
16065 user for a new key.
16066 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16067 info-daemon in the return message, so use NULL instead. The
16068 key will be filled in at connect time by calling
16069 nm_dbus_get_user_key_for_network()
16071 * src/NetworkManagerDevice.c
16072 - (nm_device_wireless_configure): update for "new_key" param to
16073 nm_dbus_get_user_key_for_network(). We initially set new_key
16074 to FALSE to see if we have a stored key in the info-daemon, but
16075 if the connection is unsuccessful at this stage we request a
16078 2005-08-17 Dan Williams <dcbw@redhat.com>
16080 * gnome/applet/icons/nm-no-connection.png
16081 gnome/applet/icons/nm-device-wired.png
16082 - Use Diana's new RJ45 connector icons
16084 2005-08-17 Dan Williams <dcbw@redhat.com>
16086 * src/NetworkManagerPolicy.c
16087 - (nm_policy_device_change_check): clarify switching rules if
16088 both new and old devices are valid; mainly, don't switch
16089 away from user-requested wireless connection back to a wired
16092 2005-08-17 Dan Williams <dcbw@redhat.com>
16094 * gnome/applet/Makefile.am
16095 - Relocate the applet to /usr/bin since it is no longer
16096 executed by anything, but directly by the user
16098 2005-08-17 Dan Williams <dcbw@redhat.com>
16100 Patch from Bill Moss <bmoss@clemson.edu>
16102 * gnome/applet/applet-dbus-info.[ch]
16103 - (nmi_save_network_info): save timestamp for network if it
16104 was a change requested by the user
16105 - (nmi_dbus_update_network_info): get user_requested from dbus
16106 message and pass to nmi_save_network_info()
16108 * gnome/applet/applet.c
16109 - (nmwa_update_network_timestamp): remove
16110 - (nmwa_menu_item_activate): don't set timestamp on networks
16111 here, only after a successful connect in nmi_save_network_info()
16113 * src/NetworkManagerDbus.[ch]
16114 - (nm_dbus_update_network_info): pass user_requested into the
16117 * src/NetworkManagerPolicy.c
16118 - (nm_policy_activation_finish): pass user_requested to
16119 nm_dbus_update_network_info()
16121 2005-08-16 Robert Love <rml@novell.com>
16123 * gnome/applet/applet.c: Better "Dial Up" menu item.
16125 2005-08-16 Robert Love <rml@novell.com>
16127 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16128 "Connection Information" menu item.
16130 2005-08-16 Dan Williams <dcbw@redhat.com>
16132 Patch from j@bootlab.org
16133 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16135 * configure.in: allow specifying the path to dhcdbd
16137 2005-08-16 Robert Love <rml@novell.com>
16139 Patch from j@bootlab.org
16140 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16141 src/backends/interface_parser.h: Debian dialup support.
16143 2005-08-16 Christopher Aillon <caillon@redhat.com>
16145 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16146 * gnome/applet/applet.c: Add some mnemonics for VPNC
16148 * vpn-daemons/.cvsignore: fix this up a little bit
16150 2005-08-16 Robert Love <rml@novell.com>
16152 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16155 2005-08-16 Christopher Aillon <caillon@redhat.com>
16157 * gnome/applet/applet.c: Split markup out of translatable strings
16158 and clean up logic a little bit. (fixes #309012)
16160 2005-08-15 Christopher Aillon <caillon@redhat.com>
16162 * gnome/vpn-properties/nm-vpn-properties.c:
16163 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16164 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16165 Makeshift fix to remove newlines from translatable strings.
16166 Note that we now return an allocated string, so callers of
16167 get_confirmation_details () must now call g_free () on the
16168 result. (fixes #309033).
16170 2005-08-12 Robert Love <rml@novell.com>
16172 * gnome/applet/applet-dbus.c: remove newlines from translatable
16173 strings--not needed here anyway. (fix b.g.o #309011)
16174 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16176 2005-08-11 Robert Love <rml@novell.com>
16178 * gnome/applet/applet.c: mark string as translatable.
16180 2005-08-11 Robert Love <rml@novell.com>
16182 * initscript/SUSE/networkmanager: update.
16184 2005-08-11 Dan Williams <dcbw@redhat.com>
16186 * src/nm-dhcp-manager.c
16187 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16188 an gateway returned from DHCP, try to use the address of the DHCP
16189 server as the gateway instead. Found by Ralf Ertzinger.
16191 2005-08-10 Robert Love <rml@novell.com>
16193 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16194 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16196 2005-08-10 Dan Williams <dcbw@redhat.com>
16198 Patch from Bill Moss <bmoss@clemson.edu>
16199 * Consolidate writes of access point information updates to the info daemon
16200 so that we only do it when the connection to the access point was
16201 successful. Also consolidates updates to GConf in the Gnome applet.
16203 * src/nm-netlink-monitor.c
16204 - Silence compile warning when calling g_object_new()
16206 2005-08-08 Dan Williams <dcbw@redhat.com>
16208 Patch from Steev <steev@steev.net>:
16209 * src/backends/NetworkManagerGentoo.c
16210 - Stub new dialup backend functions
16212 2005-08-08 Dan Williams <dcbw@redhat.com>
16214 Patch from Colin Slater:
16215 * src/backends/NetworkManagerGentoo.c
16216 - (nm_system_update_dns): Fix exit status check for restarting
16219 2005-08-05 Robert Love <rml@novell.com>
16221 * NetworkManager.h,
16222 gnome/applet/applet-dbus-devices.c,
16223 gnome/applet/applet-dbus-devices.h,
16224 gnome/applet/applet-dbus.c,
16225 gnome/applet/applet.c,
16226 gnome/applet/applet.h,
16227 src/NetworkManager.c,
16228 src/NetworkManagerMain.h,
16229 src/NetworkManagerSystem.h,
16230 src/backends/NetworkManagerRedHat.c,
16231 src/backends/NetworkManagerSuSE.c,
16232 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16234 2005-08-05 Robert Love <rml@novell.com>
16236 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16237 machine's hostname to make adhoc creation idiot-proof.
16239 2005-08-04 Robert Love <rml@novell.com>
16241 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16244 2005-08-04 Dan Williams <dcbw@redhat.com>
16246 * gnome/applet/applet-dbus-info.c
16247 gnome/applet/applet-dbus-info.h
16248 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16249 to store key, key type, and auth method rather than just auth method
16250 - (nmi_dbus_update_network_info): new function
16251 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16253 * gnome/applet/passphrase-dialog.c
16254 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16255 of saving the info ourselves
16257 * gnome/libnm_glib/libnm_glib.c
16258 - Remove the stupid version check for dbus
16260 * src/NetworkManagerAP.c
16261 src/NetworkManagerAP.h
16262 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16264 * src/NetworkManagerDbus.c
16265 src/NetworkManagerDbus.h
16266 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16267 more than just the auth method
16269 * src/NetworkManagerDevice.c
16270 - Update network info at the appropriate times
16272 2005-07-29 Ray Strode <rstrode@redhat.com>
16274 * src/NetworkManager.c (nm_info_handler): don't use input as format
16275 string (Spotted by Ian Jackson).
16277 2005-07-27 Dan Williams <dcbw@redhat.com>
16281 - Random cleanups of spacing
16283 * gnome/applet/applet.h
16284 gnome/applet/other-network-dialog.c
16285 gnome/applet/passphrase-dialog.c
16286 - Conslidate usage of NMWAEncryptionKeyTypes enum
16288 Patch from Bill Moss:
16289 - Make Other Wireless Networks work again with encryption keys
16291 2005-07-26 Dan Williams <dcbw@redhat.com>
16293 Patch from Steev <steev@steev.net>:
16294 * src/backends/NetworkManagerGentoo.c
16295 src/backends/Makefile.am
16296 - Fix up Gentoo backend
16298 2005-07-26 Robert Love <rml@novell.com>
16300 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16302 2005-07-25 Robert Love <rml@novell.com>
16304 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16305 in the same group as the wireless networks, since they are all
16306 mutually exclusive.
16308 2005-07-24 Ray Strode <rstrode@redhat.com>
16310 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16311 remove unneeded NULL arg from g_object_new(). Any
16312 warnings caused by not having the extra NULL are just a
16313 result of a bug in glib 2.7.0 - 2.7.2.
16315 2005-07-22 Robert Love <rml@novell.com>
16317 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16319 2005-07-22 Robert Love <rml@novell.com>
16321 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16322 parameters (gcc 4.0.2 warning fix).
16324 2005-07-18 Robert Love <rml@novell.com>
16326 Suggested by Aaron Bockover (abockover@novell.com)
16327 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16329 * gnome/applet/passphrase-dialog.c: ditto
16330 * gnome/applet/wireless-applet.glade: ditto
16332 2005-07-13 Dan Williams <dcbw@redhat.com>
16334 Patch from Ray Strode <halfline@gmail.com>
16335 * vpn-daemons/vpnc/nm-vpnc-service.c
16336 - Don't let vpnc daemonize, fixes some races with PID file reading
16338 2005-07-13 Dan Williams <dcbw@redhat.com>
16340 Patch from Ray Strode <halfline@gmail.com>
16341 * Random cleanups for strict CFLAGS
16343 2005-07-07 Dan Williams <dcbw@redhat.com>
16345 Patch from Derek Atkins <warlord@MIT.EDU>
16346 * src/nm-dbus-net.c:
16347 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16349 2005-07-07 Dan Williams <dcbw@redhat.com>
16351 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16352 * src/backends/NetworkManagerGentoo.c
16353 - Gentoo backend Static IP nameserver fixes
16354 - General Gentoo backend goodness
16356 2005-07-07 Dan Williams <dcbw@redhat.com>
16358 Patch from Bastien Nocera:
16359 * gnome/applet/applet.c
16360 - Fix up error reporting when icons or glade files are missing
16362 2005-07-07 Robert Love <rml@novell.com>
16364 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16365 are not any VPN connections above it.
16367 2005-07-07 Robert Love <rml@novell.com>
16369 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16371 2005-07-05 Robert Love <rml@novell.com>
16373 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16376 2005-07-05 Robert Love <rml@novell.com>
16378 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16379 on wired or unencrypted wireless.
16381 2005-07-01 Robert Love <rml@novell.com>
16383 * src/NetworkManagerSystem.c: Print the error via strerror().
16385 2005-06-30 Robert Love <rml@novell.com>
16387 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16388 then exit if the glade file is not found. currently the application
16391 2005-06-30 Robert Love <rml@novell.com>
16393 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16394 explicitly up all interfaces on wake from sleep.
16396 2005-06-30 Robert Love <rml@novell.com>
16398 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16399 with information about the currently active connection.
16400 * gnome/applet/applet.h: (ditto)
16401 * gnome/applet/wireless-applet.glade: (ditto), new file
16403 2005-06-30 Robert Love <rml@novell.com>
16405 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16406 * src/nm-dbus-nm.c: print when we sleep and wake up.
16407 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16408 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16409 in /sbin unless D-BUS is, folks).
16410 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16412 2005-06-27 Robert Love <rml@novell.com>
16414 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16417 2005-06-27 Robert Love <rml@novell.com>
16419 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16422 2005-06-26 Robert Love <rml@novell.com>
16424 * src/NetworkManagerDevice.c: be specific about which device in
16427 2005-06-23 Adam Weinberger <adamw@gnome.org>
16429 * src/nm-netlink-monitor.c: correct spelling error.
16431 2005-06-23 Robert Love <rml@novell.com>
16433 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16434 * gnome/applet/passphrase-dialog.c: more of that keyring!
16436 2005-06-23 Robert Love <rml@novell.com>
16438 * configure.in: remove extraneous GNOMEKEYRING directives.
16439 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16440 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16441 * gnome/applet/passphrase-dialog.c: whitespace.
16443 2005-06-23 Robert Love <rml@novell.com>
16445 * src/NetworkManagerDevice.c: division in assignment was flipped.
16447 2005-06-23 David Zeuthen <david@fubar.dk>
16449 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16450 signal to the child to indicate that we got what we wanted when we
16451 see two new-lines right after each other.
16452 (nmwa_vpn_request_password): Pass a structure with several members
16453 instead of just the passwords
16455 2005-06-23 Dan Williams <dcbw@redhat.com>
16457 * src/NetworkManager.c
16458 src/NetworkManagerMain.h
16459 - (nm_get_hal_ctx): new function, move Hal initialization code here
16460 - (nm_hal_init): new function, init libhal context then add devices
16461 - (nm_hal_deinit): new function, clean up libhal context
16462 - (nm_data_free): Move Hal cleanup here
16463 - (main): check whether Hal is running, and if so, get a list of
16464 network devices from it
16466 * src/NetworkManagerDbus.c
16467 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16468 and when it appears, get a list of network devices from it. If
16469 Hal goes away, clean up the libhal context
16471 2005-06-22 Robert Love <rml@novell.com>
16473 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16474 permissions of scripts before executing.
16476 2005-06-21 Robert Love <rml@novell.com>
16478 * initscript/SUSE/networkmanager: update.
16479 * src/backends/NetworkManagerSuSE.c: cleanup.
16481 2005-06-21 Robert Love <rml@novell.com>
16483 * gnome/applet/applet.c: use menu mnemonics.
16484 * gnome/applet/menu-items.c: (ditto)
16486 2005-06-21 Robert Love <rml@novell.com>
16488 * applet/applet-dbus-devices.c: mark non-static functions static.
16489 * applet/applet-dbus-vpn.c: (ditto)
16490 * applet/applet.c: (ditto)
16491 * applet/nm-device.h: (ditto)
16492 * applet/other-network-dialog.c: (ditto)
16493 * applet/passphrase-dialog.c: (ditto)
16494 * NetworkManager.c: (ditto)
16495 * NetworkManagerDbus.c: (ditto)
16496 * NetworkManagerDevice.c: (ditto)
16497 * NetworkManagerPolicy.c: (ditto)
16498 * NetworkManagerUtils.c: (ditto)
16499 * NetworkManagerWireless.c: (ditto)
16500 * NetworkManagerWireless.h: (ditto)
16501 * nm-netlink-monitor.c: (ditto)
16502 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16503 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16504 * autoip.c: include autoip.h.
16505 * autoip.h: new file. define get_autoip().
16506 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16507 * NetworkManagerDbus.h: remove duplicate definitions.
16509 2005-06-20 Robert Love <rml@novell.com>
16511 * Makefile.am: Add missing intltool-foo.in generated files to
16512 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16513 with the start of stuff to cleanup on 'distclea'.
16514 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16515 stuff right and 'distcheck' works.
16516 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16517 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16518 Makefile.am for each. And systray/Makefile needs to be redone.
16520 2005-06-19 Dan Williams <dcbw@redhat.com>
16522 * src/NetworkManagerDevice.c
16523 - (nm_device_wireless_process_scan_results): scan every 20s when
16524 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16526 2005-06-19 Dan Williams <dcbw@redhat.com>
16528 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16530 2005-06-18 Ray Strode <rstrode@redhat.com>
16532 * src/nm-netlink-monitor.c
16533 (nm_netlink_monitor_event_handler): check for the presence
16534 of either error condition not both.
16536 (nm_netlink_monitor_error_handler): emit error signal if
16539 (nm_netlink_monitor_event_handler),
16540 (nm_netlink_monitor_error_handler),
16541 (nm_netlink_monitor_disconnect_handler): if an
16542 assertion fails disconnect the event handler to prevent
16545 * src/nm-netlink-monitor.h: add new error condition
16546 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16548 2005-06-18 Ray Strode <rstrode@redhat.com>
16550 * src/nm-netlink-monitor.c
16551 (nm_netlink_monitor_event_handler): remove bogus < 0
16552 check on unsigned value and return early if the kernel
16553 didn't send any bytes.
16555 2005-06-17 Robert Love <rml@novell.com>
16557 * initscript/SUSE/networkmanager: Change the Provides and default
16560 2005-06-16 Dan Williams <dcbw@redhat.com>
16562 Patch from Robert Love:
16563 * gnome/applet/applet.c
16564 - Beautify some applet menu item names
16566 2005-06-17 David Zeuthen <davidz@redhat.com>
16568 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16569 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16570 Also add new methods can_export, import_file and export.
16572 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16575 * gnome/vpn-properties/nm-vpn-properties.c:
16576 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16577 nm-vpn-ui-interface.h.
16578 (update_edit_del_sensitivity): Also update "Export" sensitivity
16579 (add_vpn_connection): Also add new SVC_NAME column
16580 (import_settings): New function
16581 (retrieve_data_from_selected_connection): New function
16582 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16584 (export_cb): New function
16585 (init_app): Also setup the "export" widget
16586 (main): Support the --import-service and --import-file commandline
16589 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16592 2005-06-16 Dan Williams <dcbw@redhat.com>
16594 Patch from Robert Love:
16595 * gnome/applet/menu-items.c
16596 - (network_menu_item_new): pass -1 as wireless network
16597 menu items height size request rather than ascent / 2
16599 2005-06-16 Dan Williams <dcbw@redhat.com>
16601 * Clean up wording in Wireless Scan Methods menu items and constants
16603 2005-06-16 Robert Love <rml@novell.com>
16606 - remove gtkcell* files
16608 2005-06-15 Dan Williams <dcbw@redhat.com>
16610 Patch from Robert Love: make the applet stetic
16612 * gnome/applet/Makefile.am
16613 - Don't compile the gtkcellview and gtkcellrendererprogress files
16615 * gnome/applet/gtkcellview.h
16616 gnome/applet/gtkcellview.c
16617 gnome/applet/gtkcellrendererprogress.h
16618 gnome/applet/gtkcellrendererprogress.c
16621 * gnome/applet/menu-items.c
16622 - Progress bars are 5:1 size ratio
16623 - Use GTK progress bars rather than internal ones
16625 2005-06-15 Dan Williams <dcbw@redhat.com>
16627 Patch from Robert Love:
16628 * initscript/SUSE/networkmanager
16631 2005-06-15 Dan Williams <dcbw@redhat.com>
16633 * src/backends/NetworkManagerSuSE.c
16634 src/backends/NetworkManagerRedHat.c
16635 src/backends/NetworkManagerDebian.c
16636 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16638 2005-06-15 Dan Williams <dcbw@redhat.com>
16640 * src/backends/NetworkManagerDebian.c
16641 - Add nm_system_device_get_use_dhcp() to debian backend
16643 Patch from Kay Sievers:
16644 * src/backends/NetworkManagerSuSE.c
16645 - Update debian backend for static IP nameservers
16647 * src/NetworkManagerDevice.c
16648 - Actually set the device to use static IP or DHCP rather
16651 2005-06-15 Dan Williams <dcbw@redhat.com>
16653 Patch from Thom May:
16654 * src/backends/NetworkManagerDebian.c
16655 - Update debian backend for static IP nameservers
16657 2005-06-15 Dan Williams <dcbw@redhat.com>
16659 Patches from Robert Love:
16660 * gnome/applet/wireless-applet.glade
16661 - Tighten up wording
16663 * src/NetworkManagerDevice.c
16664 - Remove misplaced ';'
16667 initscript/Makefile.am
16668 initscript/SUSE/Makefile.am
16669 initscript/SUSE/networkmanager
16670 - Add SUSE initscript
16672 2005-06-12 David Zeuthen <davidz@redhat.com>
16674 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16676 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16678 * gnome/vpn-properties/nm-vpn-properties.c: New file
16680 * gnome/vpn-properties/Makefile.am: New file
16682 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16685 * src/vpn-manager/nm-vpn-manager.c
16686 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16687 instead of just a single one
16689 * src/vpn-manager/nm-dbus-vpn.c:
16690 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16692 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16694 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16695 Change the interface here to give a list of passwords. Also, don't
16696 require username, but do require service
16698 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16699 the binary for the auth-dialog and use that instead of putting up a
16700 dialog asking for a single password
16702 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16703 however do remember the service
16705 * gnome/applet/main.c (main): Setup i18n
16707 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16708 connection to '%s'" to the tooltip if we are connected using VPN
16709 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16710 key to determine whether we the auth-dialog needs to
16711 reprompt. Also cope with the fact that the auth-dialog now returns
16712 an array of passwords.
16713 (nmwa_menu_configure_vpn_item_activate): New handler for
16714 "Configure VPN..." menu item
16715 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16716 (is_vpn_available): New function to determine if we got any
16717 NM-compatible VPN software installed
16718 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16719 items only if we have NM-compatible VPN software installed
16720 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16721 logic for detecting when VPN connections are removed
16723 * gnome/applet/applet-dbus.h: Removed the prototypes for
16724 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16725 since these are defined elsewhere
16727 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16728 function used to keep track of whether the last attempt succeded
16729 (nmwa_dbus_filter): Update last_attempt according to whether the
16730 VPN connection could be established or not
16732 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16733 Change prototype to take an array of passwords, not just a single
16736 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16737 update service, not user
16738 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16739 dbus_active_vpn_name is not NULL before using it
16740 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16741 string array instead of assuming a single password
16743 * gnome/applet/applet-dbus-info.c:
16744 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16745 user name; don't read from gconf
16747 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16750 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16752 * configure.in: Add checks for gmodule-2.0.
16753 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16754 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16755 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16758 * vpn-daemons/Makefile.am: Removed
16760 * vpn-daemons/README: New file to describe extensions points for VPN
16763 2005-06-10 Dan Williams <dcbw@redhat.com>
16765 * src/backends/NetworkManagerRedHat.c
16766 - (get_current_profile_name): new function, grab current network profile name from
16767 /etc/sysconfig/network
16768 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16769 update an IP4 Config structure's settings from it
16770 - (nm_system_device_get_system_config): if we're using static IP on this device,
16771 get DNS info from current network profile
16773 2005-06-09 Dan Williams <dcbw@redhat.com>
16775 Patch from Robert Love:
16776 * src/NetworkManagerDevice.c
16777 src/NetworkManagerUtils.c
16778 - 64-bit build fixes
16780 2005-06-09 Dan Williams <dcbw@redhat.com>
16782 Patch from Kay Sievers and Robert Love:
16784 src/backends/Makefile.am
16785 src/backends/NetworkManagerSuSE.c
16788 2005-06-09 Dan Williams <dcbw@redhat.com>
16791 - Add NMWirelessScanMethod enum for scan methods
16793 * gnome/applet/applet-dbus-devices.c
16794 - (nmwa_dbus_update_scanning_enabled_cb): remove
16795 - (nmwa_dbus_update_scanning_enabled): remove
16796 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16797 since it got removed
16798 - (nmwa_dbus_enable_scanning): remove
16800 * gnome/applet/applet-dbus-info.c
16801 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16802 update the wireless scanning method from NMI
16803 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16804 method value to NetworkManager
16805 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16807 * gnome/applet/applet-dbus-info.h
16808 - Add prototype for nmi_dbus_signal_update_scan_method
16810 * gnome/applet/applet.c
16811 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16812 Wireless Scanning menu based on current wireless scan method
16813 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16814 signal for Wireless Scanning menu items, tell NetworkManager the new method
16815 and update our menu items to make sure the right one is checked
16816 - (nmwa_set_scanning_enabled_cb): remove
16817 - (nmwa_context_menu_update): remove references to pause_scanning_item
16818 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16820 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16822 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16823 so we get notified of preference values too
16824 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16826 * gnome/applet/applet.h
16827 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16828 - Add wireless scan method member to applet data
16829 - Remove pause_scanning_item, add Wireless Scanning submenu
16831 * src/NetworkManager.c
16832 - (nm_data_new): default to NM_SCAN_METHOD_ON
16833 - (main): grab scanning method from NMI if we can
16835 * src/NetworkManagerDbus.c
16836 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16837 nm_dbus_update_wireless_scan_method()
16838 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16840 - (nm_dbus_nmi_is_running): redundant function, removed
16841 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16842 when NMI comes back
16844 * src/NetworkManagerDevice.c
16845 - (nm_device_is_activated): return TRUE if the device is activated
16846 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16847 and we are activated
16850 - (nm_dbus_nm_set_scanning_enabled): removed
16851 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16852 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16854 2005-06-09 Dan Williams <dcbw@redhat.com>
16857 src/vpn-manager/nm-vpn-service.c
16858 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16860 2005-05-27 Dan Williams <dcbw@redhat.com>
16862 * vpn-daemons/vpnc/nm-vpnc-service.c
16863 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16864 Should fix the bug where the VPN connection terminates the first time.
16866 2005-05-20 Dan Williams <dcbw@redhat.com>
16869 - Differentiate VPN config signals between bad VPN config options
16872 * gnome/applet/applet-dbus-info.h
16873 - Add prototypes for wireless network and vpn connection update functions
16875 * gnome/applet/applet-dbus.c
16876 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16878 * gnome/applet/applet.c
16879 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16881 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16882 propogation to NetworkManager
16883 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16884 notify propogation to NetworkManager
16886 * src/NetworkManagerDbus.c
16887 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16888 are updating so a network can be removed from it if necessary
16890 * src/vpn-manager/nm-vpn-manager.c
16891 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16893 * vpn-daemons/vpnc/nm-vpnc-service.c
16894 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16895 - (nm_vpnc_dbus_signal_launch_failed): remove
16896 - (nm_vpnc_dbus_signal_connect_failed): remove
16897 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16898 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16899 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16900 for new generalized error signal function, remove config file stuff
16901 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16902 we can write configuration options to it
16903 - (nm_vpnc_config_file_generate): removed
16904 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16905 - (nm_vpnc_config_options_validate): validate the config options we receive
16906 from NetworkManager to block potential exploits
16907 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16909 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16912 2005-05-16 Dan Williams <dcbw@redhat.com>
16914 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16915 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16918 2005-05-16 Dan Williams <dcbw@redhat.com>
16920 Patch from Tomislav Vujec <tvujec@redhat.com>
16921 * gnome/applet/applet-dbus-info.c
16922 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16923 GConf and pass them to NetworkManager. New key is 'routes' under
16924 the VPN connection, and should be a string list
16926 * src/NetworkManagerSystem.c
16927 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16928 set them on the device when we set the rest of the VPN config. Ensure
16929 they are in the correct format since they are passed directly to the
16932 * src/backends/NetworkManagerRedHat.c
16933 src/backends/NetworkManagerDebian.c
16934 - (nm_system_device_add_route_via_device_with_iface): new function
16936 * src/vpn-manager/nm-dbus-vpn.c
16937 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16939 * src/vpn-manager/nm-vpn-manager.c
16940 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16941 them into the IP4 config functions
16943 2005-05-15 Dan Williams <dcbw@redhat.com>
16945 From Filip Miletic:
16949 - Serbian translation added
16951 2005-05-15 Dan Williams <dcbw@redhat.com>
16953 * dispatcher-daemon/NetworkManagerDispatcher.c
16954 - (main): sync arguments with NetworkManager and the applet, now use
16955 "--no-daemon" rather than "daemon=no"
16956 - (nmd_print_usage): Fix script path in usage message
16958 2005-05-15 Dan Williams <dcbw@redhat.com>
16960 * src/NetworkManagerDevice.[ch]
16961 src/NetworkManagerPolicy.c
16962 src/NetworkManager.c
16964 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16965 longer send the DeviceNoLongerActive signal unconditionally, but only
16966 when the device is actually active.
16968 * dispatcher-daemon/NetworkManagerDispatcher.c
16969 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16970 and simplify the logic
16971 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16972 we free it later on
16974 * initscript/RedHat/Makefile.am
16975 initscript/RedHat/NetworkManagerDispatcher
16976 - Add initscript for NetworkManagerDispatcher
16979 Patch from Bill Moss:
16980 * dispatcher-daemon/NetworkManagerDispatcher.c
16981 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16983 * src/NetworkManagerDbus.c
16984 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16985 and DeviceNowActive gets signaled, then the device has a new IP address
16986 anyway. There's no need for a separate signal.
16988 * src/NetworkManagerDevice.c
16989 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16991 * src/NetworkManagerPolicy.c
16992 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16993 activates successfully. This kind of went missing when I reworked the
16996 2005-05-15 Dan Williams <dcbw@redhat.com>
16999 - Check for dhcdbd and error if its not found
17001 * src/dhcp-manager/Makefile.am
17002 src/dhcp-manager/nm-dhcp-manager.c
17003 - Use path to dhcdbd that configure found
17005 2005-05-14 Dan Williams <dcbw@redhat.com>
17007 * gnome/applet/nm-device.c
17008 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
17009 sort wireless networks alphabetically
17011 * gnome/applet/applet-dbus-devices.c
17012 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
17013 before copying them over to the GUI
17015 2005-05-14 Dan Williams <dcbw@redhat.com>
17017 * src/NetworkManager.c
17018 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
17019 fixes a deadlock on shutdown with a VPN connection active. This function locks
17020 the device list, as does nm_get_active_device() which is called from
17021 nm_vpn_manager_deactivate_vpn_connection().
17023 2005-05-14 Dan Williams <dcbw@redhat.com>
17026 - Add signals for VPN Launch and Connect failures
17028 * gnome/applet/applet-dbus.c
17029 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
17031 * gnome/applet/applet.c
17032 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
17033 function to handle all VPN failure messages
17034 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
17035 function to hanlde all VPN failure messages
17036 - (show_warning_dialog): work around focus-stealing prevention
17038 * gnome/applet/other-network-dialog.c
17039 gnome/applet/passphrase-dialog.c
17040 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
17041 problem where it never enabled for ASCII Key and Hex Key types
17043 * gnome/applet/wireless-applet.glade
17044 - Add window title to Other Wireless Network Dialog
17046 * src/vpn-manager/nm-dbus-vpn.c
17047 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17048 function to handle all VPN failure messages
17050 * src/vpn-manager/nm-vpn-manager.c
17051 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17053 * vpn-daemons/vpnc/nm-vpnc-service.c
17054 - (nm_vpnc_dbus_signal_launch_failed): new function
17055 - (nm_vpnc_dbus_signal_connect_failed): new function
17056 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17057 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17058 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17059 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17061 2005-05-11 Dan Williams <dcbw@redhat.com>
17063 * vpn-daemons/vpnc/nm-vpnc-service.c
17064 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17065 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17066 file exists before trying to write it out.
17068 2005-05-10 Dan Williams <dcbw@redhat.com>
17070 * gnome/applet/applet-dbus-device.c
17071 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17072 prevented just entering ESSID and leaving key and key type up to
17073 NetworkManager (which should have them already cached)
17075 2005-05-08 Dan Williams <dcbw@redhat.com>
17077 * src/NetworkManagerPolicy.c
17078 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17079 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17080 fix a situation where NM is told to terminate and the device stops activation,
17081 but the main thread isn't aware of that because it would never have run
17082 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17085 * src/NetworkManagerDevice.c
17086 - (nm_device_probe_wired_link_state): cosmetic fixes
17087 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17088 we've failed to activate or been canceled.
17089 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17091 2005-05-08 Dan Williams <dcbw@redhat.com>
17093 * src/NetworkManagerWireless.c
17094 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17095 value of WEXT quality structures, and add a debug message when we cannot
17096 determine any quality % at all
17098 2005-05-08 Dan Williams <dcbw@redhat.com>
17100 * src/dhcp-manager/nm-dhcp-manager.c
17101 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17104 2005-05-06 Dan Williams <dcbw@redhat.com>
17106 * gnome/applet/applet-dbus-device.c
17107 gnome/applet/applet-dbus-info.c
17108 gnome/applet/applet-dbus.c
17109 gnome/applet/applet.c
17110 gnome/applet/applet.h
17111 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17113 * gnome/applet/applet-dbus.c
17114 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17115 so we notice when wired device's carriers come back on. Should
17116 fix issue with wired devices being grayed out even if the cable
17117 is in, for devices that support carrier detection.
17119 * gnome/applet/applet.c
17120 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17121 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17123 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17124 Fix situation where applet wouldn't respond to menu selections
17126 * src/NetworkManager.c
17127 src/NetworkManagerDevice.c
17128 src/NetworkManagerDbus.c
17129 src/NetworkManagerDbus.h
17130 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17132 * src/NetworkManagerDbus.c
17133 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17134 Remove, no longer used or relevant
17135 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17136 - (nm_dbus_schedule_device_status_change_signal): add
17138 * src/NetworkManagerDevice.c
17139 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17140 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17141 ie don't deactivate them unless explicitly told to by the user. Also send
17142 CARRIER_OFF / CARRIER_ON signals when link changes
17143 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17144 Don't print error message when device is no longer around
17145 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17146 not just during activation
17148 * src/NetworkManagerPolicy.c
17149 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17150 auto-device-selection.
17151 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17153 * src/NetworkManagerSystem.c
17154 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17155 is no longer present (Bill Moss)
17157 * src/backends/shvar.c
17158 - (svOpenFile): Open read-only to make SELinux happy
17160 * src/backends/NetworkManagerRedHat.c
17161 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17162 the path to the ifcfg-* files
17164 2005-05-05 Dan Williams <dcbw@redhat.com>
17166 * Expose activation stages to NetworkManager clients, like the applet
17167 * Add Diana's progress icons to the applet, cued off NM activation stage
17168 * Use more descriptive tooltips, cued off NM activation stage
17170 2005-05-05 Ray Strode <rstrode@redhat.com>
17172 * src/nm-netlink-monitor.c:
17173 - Use clear_event_source instead of g_nullify_pointer() again.
17175 2005-05-05 Dan Williams <dcbw@redhat.com>
17177 * gnome/applet/main.c
17178 - Fix session management so the applet is actually managed now
17180 * gnome/applet/passphrase-dialog.c
17181 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17183 2005-05-05 Dan Williams <dcbw@redhat.com>
17185 Patch from Bill Moss:
17186 * gnome/libnm_glib/libnm_glib.c
17187 - Fix for dbus-0.33
17189 2005-05-05 Dan Williams <dcbw@redhat.com>
17191 Suggestion from Bill Moss:
17192 * src/NetworkManagerSystem.c
17193 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17196 * src/NetworkManager.c
17197 - (nm_data_free): move destruction of the various managers after
17198 release of device list, because deactivating and freeing a device
17199 requires at least the named manager
17200 - (nm_poll_and_update_wireless_link_state):
17201 (nm_device_link_activated):
17202 (nm_device_link_deactivated):
17203 don't grab the device list lock when actually updating device
17204 link status or strength, since nm_device_set_link_active()
17205 needs to call nm_get_active_device(), which also locks the device list.
17207 * src/NetworkManagerDevice.c
17208 - (nm_device_set_link_active): if a device's link switches from off->on,
17209 and it's wired, and the active device is wireless (or there is no
17210 active device), activate the new device whose link just came on
17211 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17212 my only calling the link to the current ap "failed" when more than 2
17213 consecutive link checks have failed
17215 2005-05-04 Dan Williams <dcbw@redhat.com>
17217 * src/NetworkManagerDevice.c
17218 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17219 but let link_to_specific_ap() do the locking where it needs
17221 Patch from Bill Moss:
17222 * src/NetworkManagerSystem.c
17223 - Set MTU of VPN devices to 1412
17225 2005-05-04 Dan Williams <dcbw@redhat.com>
17227 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17229 * Fix some holes in device activation and retaining the currently connected
17232 2005-05-03 Dan Williams <dcbw@redhat.com>
17234 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17235 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17236 means you need dhcdbd, which you can get here (get the latest one):
17238 http://people.redhat.com/jvdias/dhcdbd/
17240 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17241 interface as dhcdbd.
17243 * Rewrite device activation to facilitate the new DHCP infrastructure and
17244 future improvements. Its now "activation request" based, ie there is a single
17245 activation request composed of the device, access point, and other info which
17246 follows the entire activation process. There are 5 stages of the activation
17247 process which correspond to:
17249 1) Device preparation
17250 2) Device configuration (bring it up, set ESSID/Key/etc)
17251 3) IP Config Start (fire off DHCP if we're using it)
17252 4) IP Config Get (grab config from DHCP or static config files)
17253 5) IP Config Commit (set device's IP address, DNS, etc)
17255 Note that there is no longer a "scanning" step, since the access point must
17256 be known _before_ activation starts. If the access point drops out or does
17257 not exist for some reason, the entire activation process fails and must be
17258 restarted for a different access point or device.
17260 Patch from Bill Moss:
17261 * gnome/applet/applet.c
17262 - Fix type of vpn_failure dialog -> vpn_banner dialog
17264 2005-04-27 Dan Williams <dcbw@redhat.com>
17266 * gnome/applet/applet-dbus-vpn.c
17267 gnome/applet/applet.c
17268 gnome/applet/applet.h
17269 - Fix up active VPN handling so that we reliably know when a VPN
17270 connection has been deactivated
17272 * src/vpn-manager/nm-vpn-manager.c
17273 - Remove duplicate VPNConnectionChange signal
17275 2005-04-27 Dan Williams <dcbw@redhat.com>
17277 Patch from Peter Jones:
17278 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17280 Patch from Bill Moss:
17281 * src/NetworkManagerSystem.c
17282 - Fix checking of return value from ioctl()
17284 2005-04-27 Dan Williams <dcbw@redhat.com>
17286 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17287 * Warn and exit if icons cannot be found
17289 2005-04-27 Dan Williams <dcbw@redhat.com>
17291 Patch from Tom Parker:
17292 * Update debian backend
17294 2005-04-27 Dan Williams <dcbw@redhat.com>
17296 * Merge the applet and the info-daemon, and move the converged
17297 applet under gnome/applet
17298 * Move libnm_glib to gnome/libnm_glib
17299 * Convert most dbus calls between the applet, info-daemon, and NM
17301 * Fix a few things valgrind noticed
17302 * Make NM broadcast state more reliably
17304 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17306 * configure.in: Added ne in ALL_LINGUAS
17308 2005-04-15 Dan Williams <dcbw@redhat.com>
17310 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17311 code for dbus 0.2x versions
17313 2005-04-15 Dan Williams <dcbw@redhat.com>
17315 Patches from Tom Parker:
17317 - Join with worker thread rather than polling for its exit
17319 Patch from Bill Moss:
17320 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17322 2005-04-15 Dan Williams <dcbw@redhat.com>
17324 - Fixes to pass 'make distcheck'
17326 2005-04-15 Dan Williams <dcbw@redhat.com>
17328 Initial VPN Support
17330 - reworks device IP configuration, backend files have changed and will need
17331 to be updated for all distributions. I will try to do what I can for
17332 them, but I cannot test them.
17334 - Move named directory to src/named-manager
17335 - Make backends directory self-contained
17337 2005-04-06 Dan Williams <dcbw@redhat.com>
17339 Add debug code for socket/file descriptor leaks. We register every socket
17340 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17341 list of sockets that we forgot to close on shutdown. This also consolidates
17342 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17344 2005-04-06 Dan Williams <dcbw@redhat.com>
17347 - (dhcp_interface_free): fix a file descriptor leak that may have
17348 caused network drivers to not unload due to refcounts > 0
17350 2005-04-04 Dan Williams <dcbw@redhat.com>
17352 * panel-applet/NMWirelessAppletDbus.c
17353 - (nmwa_dbus_call_nm_method): remove some commented code
17355 * src/NetworkManagerAPList.[ch]
17356 - (nm_ap_list_remove_ap_by_essid): new function
17358 * src/NetworkManagerDevice.c
17359 - (nm_device_wireless_force_use): remove access points from the ignore list
17360 when the user forces them
17362 * src/nm-dbus-device.c
17363 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17365 2005-04-04 Dan Williams <dcbw@redhat.com>
17367 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17369 2005-04-04 Dan Williams <dcbw@redhat.com>
17371 * src/NetworkManagerDevice.c:
17372 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17373 of only erroring after the second consecutive scan times out. Also
17374 don't exit when the card requires more time than we can give it, just
17375 log the event and continue.
17377 2005-04-01 Steve Murphy <murf@e-tools.com>
17379 * configure.in: Added "rw" to ALL_LINGUAS.
17381 2005-04-01 Dan Williams <dcbw@redhat.com>
17383 Perform scans during device activation, if needed. Both activation
17384 and scans run in the same GMainContext. Therefore, if an access point
17385 is not found by the time the device starts activation, it will not
17386 be available until after activation. We now try to scan during
17387 activation (in nm_wa_test) every 15s so that all available access
17388 points are more likely to be found and available for the activation
17391 Also change nm_wireless_link_state_handle() to only update the "best"
17392 AP if we are not forcing a device and if we are not about to change
17393 state. This attempts to work around a race when forcing a device,
17394 where the forced AP would get cleared out too soon by the link state
17395 checking timeout in the main thread, and the activation attempt with
17396 that AP would fail.
17398 2005-04-01 Dan Williams <dcbw@redhat.com>
17401 - Update with new translatables
17403 2005-03-31 Dan Williams <dcbw@redhat.com>
17405 * panel-applet/NMWirelessAppletDbus.c
17406 - Fix device names now that hal has changed device parenting for
17409 2005-03-31 Dan Williams <dcbw@redhat.com>
17411 Tighten up handling of wireless devices that don't support wireless
17412 scanning (ie, Orinoco). Due to restructuring of code, these devices
17413 hadn't been doing pseudo-scanning for a while either and would just
17414 spin waiting for an access point. They are now manual devices where
17415 the user must choose the access point from the menu every time. All
17416 "allowed" access points are listed in the applet's menu regardless
17417 of whether or not they can be seen by the card, since it can't scan
17420 * src/NetworkManager.c
17421 - (nm_wireless_link_state_handle): new function, but only update
17422 the "best" ap for non-scanning devices when its not activating,
17423 and when no device is being forced on the card
17424 - (nm_link_state_monitor): split wireless link state handling out
17425 into separate function
17427 * src/NetworkManagerDevice.c
17428 - (nm_device_copy_allowed_to_dev_list): new function
17429 - (nm_device_new): populate non-scanning cards' AP lists with
17430 access points from the "allowed" list
17431 - (nm_device_new): don't start a scanning timeout for devices that
17433 - (nm_device_activation_schedule_finish): new parameter, should be
17434 the AP that failed to be connected to, pass it on to the
17435 activation finish function in NetworkManagerPolicy.c
17436 - (nm_device_activate_wireless): don't ever try to get a new AP
17437 for non-scanning devices, just fail. The user must choose
17438 a new access point manually.
17439 - (nm_device_activate): grab the AP that failed connection and
17441 - (nm_device_update_best_ap): Clear the best AP if we don't have
17442 a link to it, user must manually choose a new one
17443 - (nm_device_do_pseudo_scan): remove function
17444 - (nm_device_wireless_process_scan_results): remove bits for non-
17445 scanning cards since they never get here
17446 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17447 and fake the scan list for test devices a bit earlier
17449 * src/NetworkManagerPolicy.c
17450 - (nm_policy_activation_finish): use the failed_ap that we get
17451 passed rather than getting the best_ap from the card, which
17452 may have changed since we were scheduled
17453 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17454 update their scan list directly from the allowed list when
17455 we get updates to the allowed list from NetworkManagerInfo
17457 * src/NetworkManagerPolicy.h
17458 - New member for failed access point in NMActivationResult
17460 -------------------------------------
17462 Driver Notification patch: notifies the user when their driver
17463 sucks. Gives them the option to ignore further insertions
17464 of the card that has the sucky driver.
17467 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17468 enum and replace it with NO_CARRIER_DETECT and
17471 * panel-applet/NMWirelessApplet.[ch]
17472 - Merge essid.glade -> wireless-applet.glade
17473 - Implement the "Your driver sucks" notification dialog
17475 * panel-applet/NMWirelessAppletDbus.c
17476 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17477 - Grab hardware address for each device from NM too
17478 - Check whether the driver for each device sucks or not whenever
17479 a new device is noticed
17481 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17482 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17484 * src/NetworkManager.c
17485 - Fix a double-unref on device removal
17487 * src/NetworkManagerUtils.c
17488 - Set appropriate driver support level on a device that doesn't
17489 support scanning or carrier detection
17491 * src/nm-dbus-device.c
17492 - New "getHWAddress" dbus method on devices
17493 - getSupportsCarrierDetect -> getDriverSupportLevel
17495 2005-03-31 Dan Williams <dcbw@redhat.com>
17497 * src/NetworkManagerDevice.c
17498 - (nm_device_wireless_scan): Fix leak of scan results in some
17501 2005-03-29 Dan Williams <dcbw@redhat.com>
17503 * src/NetworkManager.c
17504 - (nm_poll_and_update_wireless_link_state): make code less indented
17506 Patch from Bill Moss:
17507 * src/NetworkManager.c
17508 - (nm_device_update_link_state): Update signal strength on wireless
17509 devices every time we update link state too.
17511 2005-03-29 Dan Williams <dcbw@redhat.com>
17513 * src/NetworkManagerDevice.c
17514 - (nm_device_set_essid): Work around Orinoco cards which need
17515 extra time after setting the ESSID
17517 2005-03-29 Dan Williams <dcbw@redhat.com>
17519 * src/NetworkManagerDevice.c
17520 - Merge one more bit of Peter Jones' completion patch
17522 2005-03-29 Dan Williams <dcbw@redhat.com>
17524 * src/NetworkManagerDevice.c
17525 - (nm_device_force_use): Fix possible segfault
17527 2005-03-29 Dan Williams <dcbw@redhat.com>
17529 * src/NetworkManagerDevice.c
17530 - Use iw_get_ext() where we should rather than iw_set_ext()
17532 2005-03-29 Dan Williams <dcbw@redhat.com>
17534 * src/NetworkManagerDevice.c
17535 - (nm_device_set_up_down): remove check for unsupported devices
17536 that caused NM to not bring devices up when they were
17537 added to the device list.
17539 2005-03-28 Dan Williams <dcbw@redhat.com>
17541 * src/NetworkManagerDevice.c
17542 - (mdio_read): Fix two bugs that caused all devices to fail
17543 the MII carrier detection support checks
17545 2005-03-26 Dan Williams <dcbw@redhat.com>
17547 * src/NetworkManagerDevice.c
17548 - (nm_device_wireless_scan): Remove duplicated scanning code
17550 2005-03-25 Dan Williams <dcbw@redhat.com>
17552 * panel-applet/NMWirelessApplet.c
17553 - (nmwa_about_cb): Add some more contributors
17554 - (nmwa_update_state): show the applet when there's no connection
17555 - Enable the "Stop/Resume all wireless devices" option in the
17557 - New "no connection" icon
17559 * src/NetworkManager.c
17560 - (nm_poll_and_update_wireless_link_state): don't do anything if
17561 wireless is disabled or we're asleep
17563 * src/NetworkManagerDHCP.c
17564 - Remove trailing "\n" on debug messages
17566 * src/NetworkManagerDbus.c
17567 - (nm_dbus_network_status_from_data): new state "asleep"
17569 * src/NetworkManagerDevice.c
17570 - Merge most of Peter Jones' "completion" patch that greatly reduces
17571 latency and wait times for most operations
17572 - (nm_device_wireless_scan): Don't scan when asleep
17574 * src/NetworkManagerPolicy.c
17575 - (nm_policy_get_best_device): return no device when asleep
17576 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17577 for all wireless devices on update, not just active device
17579 * src/NetworkManagerUtils.c
17580 - Merge Peter Jones' "completion" patch
17583 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17584 we're told to disable them
17585 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17588 - New variants of the warn/info/error/debug print functions that can take
17589 variables rather than static strings
17591 2005-03-24 Dan Williams <dcbw@redhat.com>
17593 * src/NetworkManagerUtils.c
17594 - (nm_get_device_driver_name): driver names are now on the parents of
17595 "Network Interface" objects, so look for them there
17597 2005-03-24 Dan Williams <dcbw@redhat.com>
17600 - Escape some forgotten object paths before we shove them through dbus
17602 2005-03-24 Dan Williams <dcbw@redhat.com>
17604 * dhcpcd/dhcpcd.[ch]
17605 src/NetworkManagerDHCP.c
17606 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17607 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17609 * src/NetworkManagerDbus.c
17612 * src/nm-dbus-dhcp.c
17613 - Make the API suck less. There is now only 1 type of each function,
17614 ie only "getInteger" and no longer also "getIntegerv". All types
17615 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17616 that will never have more than 1 element. This should simplify
17619 * test/nm-dhcp-opt-test.c
17620 - Make the tool not segfault
17621 - adapt to new DHCP Options API
17623 2005-03-22 Dan Williams <dcbw@redhat.com>
17625 * src/NetworkManager.c
17626 - (nm_wired_link_deactivated): actually ignore netlink events from
17629 2005-03-22 Dan Williams <dcbw@redhat.com>
17631 * src/NetworkManager.c
17632 - (nm_wired_link_activated): actually ignore netlink events from
17635 2005-03-17 Dan Williams <dcbw@redhat.com>
17637 Patch from Tom Parker:
17638 * src/nm-netlink-monitor.c
17640 * info-daemon/NetworkManagerInfoDbus.c
17641 - (nmi_dbus_update_network_auth_method): free GConf values
17643 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17644 * src/NetworkManagerDevice.c
17645 - (nm_device_set_wireless_config): wait for successful
17646 association longer for some cards (Atheros a/b/g)
17648 2005-03-15 Ray Strode <rstrode@redhat.com>
17650 * src/NetworkManager.c:
17651 (sigterm_pipe_handler):
17654 2005-03-15 Ray Strode <rstrode@redhat.com>
17656 * src/NetworkManagerDbus.c:
17657 Fix some sign weirdness that gcc4 doesn't like,
17658 and add a header file so PPC can hopefully find
17661 2005-03-14 Ray Strode <rstrode@redhat.com>
17663 Fourth (probably working) cut at porting to
17664 dbus 0.30 api and new hal. This cut adds
17665 some new logging macros to make debugging
17668 * dispatcher-daemon/NetworkManagerDispatcher.c:
17669 * info-daemon/NetworkmanagerInfo.c:
17670 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17671 * info-daemon/NetworkManagerInfoVPN.c:
17672 * src/NetworkManager.c:
17673 * src/NetworkManagerAP.c:
17674 * src/NetworkManagerAPList.c:
17675 * src/NetworkManagerDHCP.c:
17676 * src/NetworkManagerDbus.c:
17677 * src/NetworkManagerDevice.c:
17678 * src/NetworkManagerPolicy.c:
17679 * src/NetworkManagerSystem.c:
17680 * src/NetworkManagerUtils.c:
17681 * src/NetworkManagerWireless.c:
17683 * src/nm-dbus-nm.c:
17684 * src/backends/NetworkManagerDebian.c:
17685 * src/backends/NetworkManagerGentoo.c:
17686 * src/backends/NetworkManagerRedHat.c:
17687 * src/backends/NetworkManagerSlackware.c:
17688 use new logging macros.
17690 * dispatcher-daemon/NetworkManagerDispatcher.c:
17691 (nmd_dbus_filter): s/dbus_free/g_free/
17693 * info-daemon/Makefile.am: link in utils library.
17694 * info-daemon/NetworkmanagerInfo.c: use new logging
17696 (nmi_dbus_get_network): don't assume enumerations
17698 (nmi_dbus_nmi_message_handler): don't free what
17699 doesn't belong to us.
17701 * libnm_glib/libnm_glib.c:
17702 (libnm_glib_get_nm_status):
17703 (libnm_glib_init): don't free what doesn't
17705 (libnm_glib_dbus): strdup result, so it doesn't get
17706 lost when message is unref'd.
17708 * panel-applet/NMWirelessAppletDbus.c:
17709 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17711 * src/NetworkManager.c:
17712 (nm_monitor_wired_link_state): request initial status
17713 dump of all cards when we start up, instead of relying
17714 on /sys/.../carrier.
17715 (nm_info_handler), (nm_set_up_log_handlers):
17716 log handlers to specify what syslog priorites
17717 the logging macros default to.
17719 * src/NetworkManagerAPList.c:
17720 (nm_ap_list_populate_from_nmi):
17721 s/dbus_free_string_array/g_strfreev/
17723 * src/NetworkManagerDbus.c:
17724 (nm_dbus_get_network_object):
17725 validate d-bus message argument types.
17726 Advance message iterator after reading argument,
17727 prepend instead of append to GSList.
17729 * src/NetworkManagerDevice.c:
17730 (nm_device_probe_wired_link_status):
17731 remove redundant /sys in /sys path. remove wrong
17732 contents == NULL means has carrier assumption.
17734 * src/nm-netlink-monitor.c
17735 (nm_netlink_monitor_request_status): implement
17736 function to ask kernel to dump interface link
17737 status over netlink socket.
17739 * test/*.c: s/dbus_free/g_free/
17741 * utils/nm-utils.h:
17742 (nm_print_backtrace): new macro to print backtrace.
17743 (nm_get_timestamp): new macro to get sub-second precise
17745 (nm_info), (nm_debug), (nm_warning), (nm_error):
17746 new logging functions. nm_info just prints,
17747 nm_debug includes timestamp and function,
17748 nm_warning includes function, nm_error includes
17749 backtrace and sigtrap.
17751 2005-03-11 Ray Strode <rstrode@redhat.com>
17753 Third (unfinished, partially working) cut at porting to
17754 dbus 0.30 api and new hal.
17756 * info-daemon/NetworkManagerInfoDbus.c:
17757 don't free null arrays.
17759 * panel-applet/NMWirelessAppletDbus.c:
17760 * src/nm-dbus-device.c:
17761 * src/nm-dbus-net.c:
17762 * src/NetworkManagerDbus.c: more
17763 STRING -> OBJECT_PATH fun
17764 * src/NetworkManagerDevice.c:
17765 * src/NetworkManagerDevice.h:
17766 (rename nm_device_get_link_active): rename to
17767 nm_device_has_active_link
17768 (nm_device_wireless_link_active): rename to
17769 nm_device_probe_wireless_link_state
17770 (nm_device_wired_link_active): rename to
17771 nm_device_probe_wired_link_state. Rewrite to
17772 use carrier file since hal doesn't maintain
17773 link state anymore.
17774 (nm_device_update_link_active): rename to
17775 nm_device_update_link_state
17776 * src/NetworkManagerPolicy.c
17777 (nm_policy_activation_finish): check for NULL
17781 * src/NetworkManagerMain.h:
17782 * src/NetworkManager.c:
17783 * src/nm-netlink-monitor.c:
17784 * src/nm-netlink-monitor.h: New class to support
17785 monitoring wired ethernet link status, since HAL
17786 doesn't export that information anymore.
17788 2005-03-09 Ray Strode <rstrode@redhat.com>
17790 Second (unfinished, unworking) cut at porting to
17793 * dispatcher-daemon/NetworkManagerDispatcher.c:
17794 * info-daemon/NetworkManagerInfoDbus.c:
17795 * panel-applet/NMWirelessAppletDbus.c:
17796 * src/NetworkManagerDbusUtils.c:
17797 * src/NetworkManagerDbusUtils.h:
17798 * src/nm-dbus-device.c:
17799 * src/nm-dbus-nm.c:
17800 * test/nmtest.c: support dbus "object path" type
17804 * info-daemon/Makefile.am:
17805 * libnm_glib/Makefile.am:
17806 * panel-applet/Makefile.am:
17807 * dispatcher-daemon/Makefile.am
17809 * test/Makefile.am:
17810 * utils/Makefile.am:
17811 * utils/nm-utils.c:
17812 * utils/nm-utils.h: new utils static lib
17814 2005-03-07 Ray Strode <rstrode@redhat.com>
17816 * info-daemon/NetworkManagerInfoDbus.c:
17817 * libnm_glib/libnm_glib.c:
17818 * panel-applet/NMWirelessAppletDbus.c:
17819 * src/NetworkManager.c:
17820 * src/NetworkManagerDbus.c:
17821 * src/NetworkManagerDevice.c:
17822 * src/NetworkManagerUtils.c:
17823 * src/nm-dbus-device.c:
17824 * src/nm-dbus-dhcp.c:
17825 * src/nm-dbus-net.c:
17826 * src/nm-dbus-nm.c:
17827 * test/nminfotest.c:
17828 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17830 2005-03-04 Dan Williams <dcbw@redhat.com>
17835 2005-03-04 Dan Williams <dcbw@redhat.com>
17837 Patch from Peter Jones:
17838 - Make stuff work with gcc 4.0
17840 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17842 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17844 2005-02-27 Jim Huang <jserv@kaffe.org>
17846 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17848 2005-02-27 Dan Williams <dcbw@redhat.com>
17850 Patch from Bill Moss:
17851 * panel-applet/NMWirelessAppletDbus.c
17852 - Make sure strength for current access point is up-to-date when we
17853 update the gui data model
17855 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17857 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17859 2005-02-27 Dan Williams <dcbw@redhat.com>
17861 * src/backends/NetworkManagerRedHat.c
17862 - (nm_system_init): Kill any dhclient processes lying around as well
17863 as stopping 'nifd' if its already been started. NetworkManager
17864 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17866 2005-02-27 Dan Williams <dcbw@redhat.com>
17868 * panel-applet/NMWirelessApplet.c
17869 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17870 dbus data model, not the GUI data model twice.
17872 2005-02-27 Dan Williams <dcbw@redhat.com>
17874 * panel-applet/NMWirelessApplet.[ch]
17875 panel-applet/NMWirelessAppletDbus.[ch]
17876 - Move to incremental network updates. Instead of blowing away our list
17877 of devices every time we get a signal from NetworkManager, we now
17878 incrementally add/remove networks when NetworkManager notifies us that
17879 a new network has appeared or disappered. Strength updates now happen
17880 on-the-fly for each access point as well. There are now two copies of
17881 data from NetworkManager: one for the dbus side, and one for the gui side.
17882 When the dbus side data is modified, it is copied over to the gui side
17883 so we don't have to hold the data_mutex for long periods of time (and
17884 therefore block animation of the applet's icon).
17885 - Clean up some memleaks too
17887 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17888 - Minor code beautification
17890 * src/NetworkManagerAPList.c
17891 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17892 completely new and whether or not an existing one's strength was updated.
17893 Try to fix multiple access points and signal strength by using the highest
17894 signal strength in each scan for any given ESSID.
17896 * src/NetworkManagerDbus.[ch]
17897 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17898 wireless networks; now we have only WirelessNetworkUpdate which includes
17899 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17900 - Kill usage of DbusMessageIter
17902 * src/NetworkManagerDevice.c
17903 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17904 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17905 AP rather than all-at-once. Also don't ever remove the AP a card is
17906 currently associated with from the network list.
17907 - Update for new signals during scan, send out Appeared, Disappeared, or
17908 StrengthChanged when necessary.
17910 2005-02-25 Dan Williams <dcbw@redhat.com>
17913 - Line break the README
17915 2005-02-25 Dan Williams <dcbw@redhat.com>
17917 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17918 - Remove usage of gtk_window_set_default_size()
17920 * panel-applet/essid.glade
17921 - Stick default size here
17922 - Add in random crap that current glade wants to add in now
17924 2005-02-25 Dan Williams <dcbw@redhat.com>
17926 * src/backends/NetworkManagerRedHat.c
17927 - For non-caching-nameserver/non-named case, ensure that nscd is running
17928 and that we actually tell nscd to reload the hosts cache when it changes
17930 2005-02-25 Dan Williams <dcbw@redhat.com>
17932 * info-daemon/NetworkManagerInfoDbus.c
17933 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17935 * test/nminfotest.c
17936 - Whack usage of DbusMessageIter
17937 - Clean up DbusError and DbusMessage handling and freeing
17938 - Remove unused unregister handler
17941 - Whack usage of DbusMessageIter
17943 * test/nmtestdevices.c
17944 - Whack usage of DbusMessageIter
17946 2005-02-25 Dan Williams <dcbw@redhat.com>
17949 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17952 2005-02-25 Dan Williams <dcbw@redhat.com>
17954 * named/nm-named-manager.c
17955 - Ensure that pid and watch variables for child named process get cleared out
17956 when the child goes away.
17958 2005-02-22 Dan Williams <dcbw@redhat.com>
17960 * src/NetworkManagerPolicy.c
17961 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17962 and NULL out data->active_device so that we have to choose another one.
17963 This may make NetworkManager keep attempting to connect to a wired network
17964 if it fails, but if it keeps failing the wired network has more problems than
17965 just NetworkManager.
17967 * src/backends/NetworkManagerRedHat.c
17968 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17971 * named/nm-named-manager.c
17972 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17973 named so that the distro can flush whatever name service caching
17976 2005-02-21 Dan Williams <dcbw@redhat.com>
17978 * src/NetworkManagerDHCP.[ch]
17979 - (nm_device_dhcp_remove_timeouts): new function
17981 * src/NetworkManagerDevice.c
17982 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17983 remove the DHCP timeouts.
17985 2005-02-21 Dan Williams <dcbw@redhat.com>
17987 * panel-applet/NMWirelessApplet.[ch]
17988 panel-applet/menu-info.[ch]
17989 - Give the panel applet some major love: menu items are no longer
17990 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17991 This allows the applet to actually reflect theme changes correctly,
17992 since themeing of subclassed items in GTK _sucks_.
17994 2005-02-18 Dan Williams <dcbw@redhat.com>
17996 * libnm_glib/libnm_glib.[ch]
17997 test/libnm_glib_test.c
17998 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17999 and its data, and doesn't have to free the callback data anymore
18001 2005-02-18 Dan Williams <dcbw@redhat.com>
18003 * panel-applet/NMWirelessApplet.c
18004 - Revert 2005-02-18 William Jon McCann fix for standard
18005 copyright string until it passes 'make distcheck'.
18006 With standard copyright string, xgettext complains
18007 about "Non-ASCII string at ...".
18009 2005-02-18 Dan Williams <dcbw@redhat.com>
18011 * panel-applet/essid.glade
18012 panel-applet/NMWirelessAppletOtherNetworksDialog.c
18013 - Correct spelling of "adaptor"->"adapter"
18015 2005-02-18 William Jon McCann <mccann@jhu.edu>
18017 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
18018 (nmwa_about_cb): Use standard copyright string. Update comment
18019 text to reflect that it is a notification area applet. Remove
18020 leading newline in authors list.
18021 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
18022 instead of on parent menu item activation. Fixes #167550.
18024 2005-02-18 William Jon McCann <mccann@jhu.edu>
18026 * panel-applet/essid.glade: Capitalize items as per HIG.
18029 2005-02-16 William Jon McCann <mccann@jhu.edu>
18031 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
18032 files for GTK 2.4 or lower, since now public in GTK 2.6.
18034 * panel-applet/essid.glade: Don't specify window size.
18036 2005-02-17 Dan Williams <dcbw@redhat.com>
18038 Caught by Bill Moss:
18040 - Time remaining for DHCP transaction calculation was incorrectly
18041 inside a #ifdef DEBUG
18043 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
18045 * configure.in: Added fr (French) to ALL_LINGUAS.
18047 2005-02-14 Dan Williams <dcbw@redhat.com>
18049 * src/NetworkManagerDHCP.c
18050 - (set_domain_searches): Fix free of invalid pointer
18052 2005-02-14 Dan Williams <dcbw@redhat.com>
18054 Patch from Peter Jones:
18056 - Ensure we return RET_DHCP_CEASED everywhere we should
18057 * dhcpcd/udpipgen.c
18058 - Use faster TOS for IP packets
18059 - Don't set ip_id since we're UDP
18061 Patch from Tomislav Vujec:
18062 * src/nm-dbus-dhcp.c
18063 test/nm-dhcp-opt-test.c
18064 - Clean up warnings to enable cvs tree compilation.
18066 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18070 - Add the Croatian locale.
18072 2005-02-14 Colin Walters <walters@verbum.org>
18074 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18075 list of domains to search.
18077 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18079 2005-02-13 Dan Williams <dcbw@redhat.com>
18082 - Debug output cleanups of DHCP option printing and parsing.
18084 2005-02-13 Dan Williams <dcbw@redhat.com>
18086 Patch from Dan Reed: DHCP options D-BUS API
18087 Exposes the DHCP options that a device receives to clients over D-BUS.
18093 - Correct names, option length, and types for DHCP options
18095 * dhcpcd/dhcpcd.[ch]
18096 - Clarify function names that access DHCP options & data
18098 * src/NetworkManagerDHCP.c
18099 - Use new DHCP data access functions
18101 * src/NetworkManagerDbus.c
18102 - Message handler for DHCP functions
18104 * src/nm-dbus-dhcp.[ch] (new)
18105 - DHCP dbus methods
18107 * test/nm-dhcp-opt-test.c
18108 - Test DHCP D-BUS API and return all present DHCP options
18110 2005-02-12 Dan Williams <dcbw@redhat.com>
18113 test/nmclienttest.c
18115 - Move nmclienttest.c -> nmtest.c
18117 2005-02-12 Dan Williams <dcbw@redhat.com>
18119 * dhcpcd/buildmsg.c
18120 - Pad DHCP packets until they are at least 300 bytes in size.
18122 2005-02-11 Dan Williams <dcbw@redhat.com>
18125 - (dhcp_init): only print out client ID and class ID if they are specified
18127 * src/NetworkManagerDbus.[ch]
18128 src/nm-dbus-nm.[ch]
18129 src/nm-dbus-device.[ch]
18130 src/nm-dbus-net.[ch]
18131 - Move NM, Device, and Net functions to separate files and use the
18132 dbus method list stuff in NetworkManagerDbusUtils.c to do
18135 * src/NetworkManagerDbusUtils.c
18136 - Add new validate_method called before each dispatch (if present)
18137 that can validate the method call
18139 * src/NetworkManagerWireless.c
18140 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18141 levels never to be evaluated
18143 Patch from j@bootlab.org
18144 * src/NetworkManagerDevice.c
18145 - Add typedef for "u64"
18147 * src/backends/NetworkManagerDebian.c
18148 - Copy in Dave Woodhouse's fixes for IPv6
18150 2005-02-11 Dan Williams <dcbw@redhat.com>
18152 Patch from Dave Woodhouse for IPv6:
18153 * src/NetworkManagerUtils.c
18154 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18155 and multicast addresses
18157 * src/NetworkManagerDevice.c
18158 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18159 after bringing up a card.
18161 2005-02-10 Dan Williams <dcbw@redhat.com>
18163 Patch from Dave Woodhouse:
18164 * src/NetworkManagerSystem.h
18165 src/backends/NetworkManagerDebian.c
18166 src/backends/NetworkManagerGentoo.c
18167 src/backends/NetworkManagerSlackware.c
18168 - New nm_system_device_add_ip6_link_address() function to add link-local
18169 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18171 * src/backends/NetworkManagerRedHat.c
18172 - (nm_system_device_add_ip6_link_address): implement
18173 - (nm_system_device_flush_addresses): revert to previous behavior of
18174 flushing all addresses
18176 2005-02-10 Dan Williams <dcbw@redhat.com>
18178 Patch from Tom Parker:
18179 * src/NetworkManagerDevice.c
18180 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18181 mii.h headers are broken, and instead use our own typedefs
18183 2005-02-10 Dan Williams <dcbw@redhat.com>
18185 * dhcpcd/buildmsg.c
18186 - (fill_host_and_class_id): only fill in client and class IDs if
18187 they are set by callers.
18190 - (class_id_setup): don't autogenerate a class ID, only use one
18191 we're given, if any.
18192 - (client_id_setup): don't autogenerate a client ID, only use one
18193 we're given, if any.
18196 - (dhcp_interface_init): ensure that client options are correctly
18199 * src/NetworkManagerDHCP.c
18200 - (nm_device_dhcp_request): pass hostname to dhcp library
18202 2005-02-10 Dan Williams <dcbw@redhat.com>
18205 - #rh147661# Don't send kernel version in DHCP requests
18207 * src/NetworkManagerSystem.h
18208 src/backends/NetworkManagerDebian.c
18209 src/backends/NetworkManagerGentoo.c
18210 src/backends/NetworkManagerRedHat.c
18211 src/backends/NetworkManagerSlackware.c
18212 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18213 functions, they are no longer used anyway
18215 * src/backends/NetworkManagerRedHat.c
18216 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18217 addresses in an attempt to keep IPv6 local-scope addresses around
18219 2005-02-10 Dan Williams <dcbw@redhat.com>
18221 * src/NetworkManager.c
18222 - (nm_create_device_and_add_to_list): change the add message slightly
18224 * src/NetworkManagerUtils.c
18225 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18226 Return driver name to calling function
18227 - (nm_get_driver_support_level): print out the driver a device is using
18228 during the support check
18230 Patch from Dave Woodhouse:
18231 * dhcpcd/udpipgen.c
18232 - (in_cksum): copy last byte of odd-sized packets into a
18233 'u_short' rather than a 'u_char', should fix wrong checksums
18234 on big-endian platforms
18236 2005-02-09 Dan Williams <dcbw@redhat.com>
18238 * Clean up usage of GSList objects and looping through their members
18239 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18241 * Fix problem where even if scanning was turned off, card would still
18242 cycle through frequencies.
18244 2005-02-08 Dan Williams <dcbw@redhat.com>
18246 * panel-applet/NMWirelessApplet.c
18249 2005-02-08 Dan Williams <dcbw@redhat.com>
18251 Patch from Bill Moss
18252 * panel-applet/NMWirelessApplet.c
18253 - Restore correct ESSID in tooltips
18255 2005-02-07 Dan Williams <dcbw@redhat.com>
18257 * panel-applet/NMWirelessApplet.[ch]
18258 - Add a context menu that contains:
18259 Pause/Resume Wireless Scanning
18260 Stop/Start All Wireless Devices
18262 - Grab active device strength off active device,
18265 * panel-applet/NMWirelessAppletDbus.[ch]
18266 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18267 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18268 - Update active device strength every 2 seconds, not every 1 second
18270 * panel-applet/menu-info.c
18271 - Only disable wired devices in the menu when they support carrier detection,
18272 and don't currently have a link. Non-carrier-detect devices will always
18276 src/NetworkManagerDbusUtils.[ch]
18277 - Add new new dbus utils sources
18279 * src/NetworkManager.c
18280 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18281 with the boolean parameter
18282 - Set scanning_enabled & wireless_enabled to TRUE
18284 * src/NetworkManagerDbus.c
18285 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18286 - Implement scanning & wireless enable/disable calls
18287 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18289 * src/NetworkManagerDevice.c
18290 - New link detection stuff again...
18291 o Create device's mainloop earlier (but don't run it earlier)
18292 o Hook up new carrier-detect support stuff
18293 o Add in the ethtool & mii support detection code
18294 - Don't scan if scanning is disabled
18296 * src/NetworkManagerPolicy.c
18297 - Never automatically choose a device that doesn't support carrier detection
18298 - Don't automatically choose a wireless device if wireless is disabled
18300 2005-02-07 Dan Williams <dcbw@redhat.com>
18302 * libnm_glib/libnm_glib.c
18303 - Small cleanup in element list iteration
18305 2005-02-07 Dan Williams <dcbw@redhat.com>
18307 * src/NetworkManagerWireless.c
18308 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18309 to be in line with the WEXT quality specification
18311 2005-02-02 Dan Williams <dcbw@redhat.com>
18313 Patch from Nathan Fredrickson <nathan@silverorange.com>
18314 * Fix up compile for deprecation of libgnomeui
18315 - Switch to <glib/gi18n.h> from <libintl.h>
18316 - Remove <libgnomeui/libgnomeui.h> includes
18317 - Use gtk_window_set_default_icon_from_file() rather than
18318 gnome_window_set_default_icon_from_file()
18320 * named/nm-named-manager.c
18321 - (generate_named_conf): Fix return-nothing in non-void
18324 2005-02-02 Dan Williams <dcbw@redhat.com>
18326 * Clean up unused variables and the like
18328 2005-02-02 Dan Williams <dcbw@redhat.com>
18330 * src/NetworkManagerAPList.c
18331 - (nm_ap_list_merge_scanned_ap): merge strength too
18333 * src/NetworkManagerUtils.c
18334 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18335 of locking issues by printing out prettier information than g_mutex_lock
18336 - Print out names of mutexes registered with nm_register_mutex_desc()
18337 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18338 us to seemingly block here for too long
18340 * src/NetworkManager.c
18341 src/NetworkManagerAPList.c
18342 src/NetworkManagerDevice.c
18343 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18344 so we get better debug information printed
18346 * src/NetworkManagerDbus.c
18347 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18348 since it sometimes has locking side effects
18349 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18351 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18352 we don't need a switch. This gets called often enough that we can't block
18353 until the scan mutex is acquired, because we'll block on device activation
18354 and a few other things, which hangs main thread for too long.
18356 * src/NetworkManagerPolicy.c
18357 - (nm_policy_auto_get_best_device): reduce the possiblity that
18358 nm_device_need_ap_switch() will be called
18360 2005-02-02 Dan Williams <dcbw@redhat.com>
18362 * panel-applet/NMWirelessApplet.c
18363 - Display name of wireless network we are connecting to or connected to
18364 in the tooltip of the applet
18366 2005-02-02 Dan Williams <dcbw@redhat.com>
18368 * src/NetworkManagerDHCP.c
18369 - Hopefully fix double-default-route problem by cleaning up the default
18370 route added by DHCP code right before the DHCP transaction begins
18372 2005-02-02 Dan Williams <dcbw@redhat.com>
18374 * named/nm-named-manager.c
18375 - Write out valid resolv.conf when we exit
18377 2005-02-01 Dan Williams <dcbw@redhat.com>
18379 Patch from Colin Walters:
18380 * named/nm-named-manager.c
18381 - Make multi-domain search options work
18383 2005-01-31 Dan Williams <dcbw@redhat.com>
18385 * info-daemon/NetworkManagerInfoDbus.c
18386 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18388 * src/NetworkManagerDevice.c
18389 - (nm_device_new): Don't store the entire range struct, use only what we need
18390 (which is currently avg_quality, max_quality, and frequencies). Also
18391 zero device structure when we've free'd it to maybe expose errors down
18393 - (nm_device_update_signal_strength): grab the scan mutex before getting
18394 quality data from the card since quality will be useless during a scan.
18395 Call updated wireless qual-to-percent function with values stored in
18396 nm_device_new() earlier.
18397 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18398 nm_device_get_bad_crypt_packets())
18399 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18401 - (get_initial_auth_method): always use the Auth method that's in the allowed
18402 list if available. Problem was this: when the WEP key is wrong, NM will
18403 try OS then SK modes, and then get stuck in SK mode after that. This
18405 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18408 * src/NetworkManagerWireless.c
18409 - (nm_wireless_qual_to_percent): try to make this function actually work and
18410 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18411 if that's all present, otherwise fall back to signal-to-noise ratios.
18413 2005-01-29 Dan Williams <dcbw@redhat.com>
18415 * initscript/RedHat/NetworkManager
18416 - Don't spit out sysctl stuff to console
18418 * libnm_glib/libnm_glib.c
18419 - (libnm_glib_init): call dbus_g_thread_init()
18421 * panel-applet/NMWirelessAppletDbus.c
18422 - (nmwa_dbus_worker): call dbus_g_thread_init()
18424 * src/NetworkManager.c
18425 - (main): call dbus_g_thread_init()
18427 * src/NetworkManagerAPList.c
18428 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18429 so we can actually see what's there in a normal syslog
18431 * src/NetworkManagerDevice.c
18432 - (nm_device_activate_wireless): print out the "waiting for access point"
18433 message only once, then say what access point we actually got after
18435 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18436 function, wait until the scan is done. Scans may change the ESSID of
18437 the card, making this function think we need to switch access points
18438 - (nm_device_wireless_process_scan_results): for artificial access points
18439 don't check against the card's ESSID, but the best_ap's ESSID. This
18440 prevents collisions with the scanning code, which may change the card's
18441 ESSID and cause the access point to get dropped from the device's AP
18442 list. Also increase the keep-around time to 2m from 60s since the max
18443 scan interval could be 60s in some cases.
18445 * src/NetworkManagerPolicy.c
18446 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18447 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18448 the new properties and ESSIDs to the device's AP list. Fixes some races
18449 between NM and NMI.
18451 2005-01-27 Dan Williams <dcbw@redhat.com>
18453 * info-daemon/NetworkManagerInfoDbus.c
18454 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18455 GConf, make a minimal entry for it (essid & timestamp)
18457 * src/NetworkManagerAPList.c
18458 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18459 NetworkManagerInfo isn't running
18461 * src/NetworkManagerDbus.[ch]
18462 - (nm_dbus_nmi_is_running): new function
18464 * src/NetworkManagerDevice.c
18465 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18466 address to garbage.
18468 * src/NetworkManagerPolicy.c
18469 - (nm_policy_activation_finish): On successful activation, make sure
18470 the "best" AP has a MAC address, and don't tell NMI to add the
18471 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18472 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18473 access point after refreshing our allowed list if it doesn't already
18474 have a "best" access point.
18476 2005-01-25 Dan Williams <dcbw@redhat.com>
18478 * panel-applet/NMWirelessAppletDbus.c
18479 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18480 so we check for NM_DBUS_SERVICE rather than not for it
18482 * libnm_glib/libnm_glib.c
18483 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18484 ServiceOwnerChanged signal
18486 2005-01-25 Dan Williams <dcbw@redhat.com>
18489 - Check DBUS version in configure, and set the C macros
18490 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18492 * info-daemon/NetworkManagerInfoDbus.c
18493 - Remove #if 0-d section of code that quit NMI if NM went away.
18495 * panel-applet/NMWirelessAppletDbus.c
18496 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18498 * src/NetworkManager.c
18499 src/NetworkManagerMain.h
18500 src/NetworkManagerDbus.c
18501 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18502 - Make updating of our Allowed Wireless Network lists from NMI
18503 an idle function in the main thread now, with a high priority.
18505 2005-01-24 Dan Williams <dcbw@redhat.com>
18507 * panel-applet/gtkcellview.[ch]
18508 panel-applet/menu-info.c
18509 - Fix GTK version checks to be <= rather than <
18512 - Include the libtool archive of libnm_glib rather than
18513 trying to pull in the .so
18515 2005-01-24 Dan Williams <dcbw@redhat.com>
18517 * src/NetworkManagerDevice.c
18518 src/NetworkManagerDevicePrivate.h
18519 - Block nm_device_new() until our device's worker thread has had a
18520 chance to start up. Fixes a race between main thread and worker
18521 thread starting that caused activation requests to get lost.
18523 2005-01-24 Dan Williams <dcbw@redhat.com>
18525 * initscript/RedHat/NetworkManager
18526 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18527 to add the NM startup script at priority 50, which was
18530 2005-01-24 Colin Walters <walters@redhat.com>
18532 * named/named.conf: Use any port for query source instead of
18533 restricting to port 53.
18535 2005-01-24 Dan Williams <dcbw@redhat.com>
18537 * initscript/RedHat/NetworkManager
18538 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18539 to add the NM startup script at priority 50, which was
18542 2005-01-24 Dan Williams <dcbw@redhat.com>
18544 Patch from Tom Parker <palfrey@tevp.net>
18545 * Fix up compile warnings & errors in the wireless applet
18547 2005-01-24 Dan Williams <dcbw@redhat.com>
18549 * panel-applet/NMWirelessApplet.c
18550 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18552 2005-01-24 Dan Williams <dcbw@redhat.com>
18554 * panel-applet/gtkcellview.[ch]
18555 - Only compile these files for GTK 2.4 or lower, since
18556 GtkCellView is now public in GTK 2.6. Fixes crasher
18557 when choosing "Other Wireless Networks" from the panel
18560 2005-01-21 Dan Williams <dcbw@redhat.com>
18562 * src/NetworkManager.c
18563 - Daemonize earlier so that glib doesn't get confused (?)
18565 2005-01-21 Dan Williams <dcbw@redhat.com>
18567 * panel-applet/NMWirelessApplet.[ch]
18568 panel-applet/NMWirelessAppletDbus.c
18569 panel-applet/menu-info.c
18570 src/NetworkManagerDevice.c
18571 - Disable wired devices in the menu when they have no link.
18573 2005-01-21 Dan Williams <dcbw@redhat.com>
18575 * Cache last-known-good wireless authentication method in
18576 NetworkManagerInfo, and use that method first during
18577 wireless device activation. Should speed up devices that
18578 need Shared Key authentication method since Open System is
18581 * Remove the hack to not do full activation on wired connections
18582 that are active when we launch, it causes too many problems
18583 with name resolution and was a hack in the first place.
18585 * Re-work wireless device activation again somewhat to have a
18586 clearer chain of events and to use last-known-good
18587 authentication method of the access point. Also provide
18588 better status throughout activation to ensure the applet
18589 can tell the user exactly what's going on.
18591 * Remove the "find wireless network" code and now simply attempt
18592 to activate with that access point. This reduces the delay
18593 between selecting "Other wireless Network" and actually
18594 connecting to that network.
18596 * Correctly stop the device's worker thread when its removed.
18598 2005-01-21 Dan Williams <dcbw@redhat.com>
18601 - Clean up some of the debug messages
18603 2005-01-21 Dan Williams <dcbw@redhat.com>
18605 * Add new icons, more frames of animation
18606 * Remove some hacks to get the panel applet to display correct
18607 status, an NM update will soon follow that will fix the
18610 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18612 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18613 the first include for working i18n. Also, don't include it in .h files
18614 * panel-applet/NMWirelessApplet.h: Same
18615 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18616 * panel-applet/menu-info.c: Same
18618 2005-01-18 Dan Williams <dcbw@redhat.com>
18621 - Remove some debug messages
18622 - Wrap others in #ifdef DEBUG/#endif
18624 * src/NetworkManager.c
18625 - Remove some debug messages
18626 - Clarify some debug messages
18627 - Remove code related to old single-thread wireless scanning
18629 * src/NetworkManagerAP.[ch]
18630 - New AP property "last_seen" to track how recently an AP was
18632 - Start using 'const' more in function arguments
18634 * src/NetworkManagerAPList.[ch]
18635 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18636 of an AP found in an AP list from a source AP, or if not found
18637 in the list add the source AP
18638 - (nm_ap_list_combine): remove, no longer needed
18640 * src/NetworkManagerDevice.c
18641 - Each device now has a "worker" thread from start to end of its life.
18642 Scanning for wireless devices now happens in that thread,
18643 not in a single "wireless scanning thread" for all devices as
18644 previously. Activation consists of adding an idle handler to the
18645 thread's main loop/context, which gets run at the next available
18647 - Wireless scanning is also simplified, there is now only one list of
18648 access points per wireless device, and APs older than 60s are
18649 removed from the list. Previously, we kept results for the last
18650 3 scans and merged whole lists, which was complicated.
18651 - Cleaned up activation debug messages.
18652 - Wireless activation and access-point search routines now use Open System
18653 authentication before trying Shared Key.
18654 - Removed some code in nm_device_update_best_ap() that could cause cards
18655 to loose their link to the access point.
18656 - Scanning now uses a backoff algorithm, where the inverval becomes
18657 progressively longer between scans when the list of scanned access
18658 points doesn't change. A change will revert to the shortest scan
18661 * src/NetworkManagerWireless.[ch]
18662 - Remove code related to old single-thread wireless scanning
18664 2005-01-18 Colin Walters <walters@redhat.com>
18666 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18667 of older nameservers.
18669 2005-01-18 Colin Walters <walters@redhat.com>
18671 * named/nm-named-manager.c (generate_named_conf): Many fixes
18672 to config file generation.
18673 (safer_kill): Remove, was too much trouble for little gain.
18674 (nm_named_manager_start): Run named as NM_NAMED_USER.
18676 * configure.in: Add option --with-named-user.
18678 2005-01-14 Colin Walters <walters@redhat.com>
18680 Patch from ed@catmur.co.uk (Ed Catmur)
18682 * named/nm-named-manager.c: Add "context" property.
18683 Use it to add child watch source in specific GMainContext.
18685 * src/NetworkManager.c (nm_data_new): Initialize
18686 named with correct main context. Start named only
18689 2005-01-14 Colin Walters <walters@redhat.com>
18691 * named/nm-named-manager.c (generate_named_conf): Write config
18692 and pid files into NM_NAMED_DATA_DIR; this allows things to
18693 work better with FC3 named SELinux policy. Also fix up silly
18696 * configure.in: Add --with-named-dir option.
18698 2005-01-14 Colin Walters <walters@redhat.com>
18700 * configure.in: Make named support require passing --with-named.
18702 * named/nm-named-manager.c: Support writing resolv.conf directly
18703 without running named.
18705 2005-01-13 Dan Williams <dcbw@redhat.com>
18707 * named/nm-named-manager.c
18708 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18710 * src/NetworkManagerDevice.c
18711 - Rework wireless link detection code to be more reliable
18713 2005-01-12 Dan Williams <dcbw@redhat.com>
18715 * initscripts/RedHat/NetworkManager
18716 - Change initial level to "-" rather than "345" so that
18717 we don't activate ourselves by default on install
18719 2005-01-12 Dan Williams <dcbw@redhat.com>
18722 - Client library for applications using glib
18726 - Split NM_CFLAGS and NM_LIBS into separate variables
18727 like DBUS_*, HAL_* and GLIB_*
18729 * src/NetworkManager.c
18730 src/NetworkManagerMain.h
18731 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18732 broadcast a status changed signal over DBUS from the main thread.
18733 Still unused anywhere for the moment.
18735 Patch from j@bootlab.org
18736 * panel_applet/NMWirelessAppletDbus.c
18737 src/NetworkManagerDbus.c
18738 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18739 for the "getMode" method call
18741 2005-01-10 Dan Williams <dcbw@redhat.com>
18743 * src/NetworkManagerDevice.c
18744 - Minor fixups & corrections to "auto" frequency mode, make it
18745 less chatty with syslog
18747 2005-01-10 Dan Williams <dcbw@redhat.com>
18749 * src/NetworkManagerDevice.c
18750 - Implement "auto" frequency/channel support, since cards like Atheros
18751 can't use other frequencies at all when you've told it to use a
18752 specific one, even for scanning.
18753 - Grab the scan mutex around places where we can't tolerate wireless
18754 settings changing underneath us, like nm_device_wireless_network_exists()
18755 and nm_device_activate_wireless()
18757 * src/NetworkManagerWireless.c
18758 - Back scan interval off to 20s instead of 14s
18760 2005-01-09 Dan Williams <dcbw@redhat.com>
18762 * src/NetworkManagerDevice.c
18763 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18764 already set. Stops some drivers like Atmel from continually
18765 reloading the firmware, which they do upon every configuration
18768 2005-01-09 Dan Williams <dcbw@redhat.com>
18771 - Use correct timeout value
18773 * info-daemon/NetworkManagerInfoDbus.c
18774 src/NetworkManagerDbus.c
18775 - Consolidate communication between NM and NMI by doing only 1 dbus
18776 method call to get Wireless Network info from NMI instead of 6
18778 * src/NetworkManager.c
18779 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18780 when we didn't have an AP to use, we'd wait for one forever without
18783 * src/NetworkManagerDevice.c
18784 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18785 activation, dhcp might not have started yet but we don't quit activation
18786 before starting it, so the quit signal gets lost
18788 2005-01-07 Dan Williams <dcbw@redhat.com>
18791 - Rework the DHCP client code to be much less chatty when
18792 it receives non-DHCP UDP packets during the DHCP run
18793 (reported by and preliminary patches from Bill Moss)
18795 * Move wireless scanning to a separate thread. This thread forwards the
18796 results to the main thread when done where they are integrated into
18797 the device's access point lists. This keeps the main thread (which
18798 does all the DBUS communication) from being blocked for long periods
18799 of time by wireless scanning.
18801 * Make state modification an idle routine in the main loop, and trigger
18802 state changes rather than polling for them.
18804 * src/backends/NetworkManagerGentoo.c
18805 - Fix up invalid C90 code (reported by Christoph Ruessler)
18807 * src/NetworkManagerDevice.c
18808 - Revert IPv6 patch for wired devices from 2004-12-22 for
18809 router advertisements, causing problems and infinite loop
18810 during "best" device determination due to link going up/down
18811 (reported by Bill Moss)
18813 Apply patch from Peter Jones
18814 * src/NetworkManagerDevice.c
18815 - Shortcut for link-checking for ipw2x00 cards
18816 - Split out association check into separate routine
18818 2004-01-05 Colin Walters <walters@redhat.com>
18820 * named/named.conf: Add PID_FILE.
18822 * named/nm-named-manager.c: Always generate a pid
18823 file, since older BIND versions don't support
18826 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18828 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18830 2004-12-22 Dan Williams <dcbw@redhat.com>
18832 * src/NetworkManagerDevice.c
18833 - Silently fail when setting bitrate doesn't work
18836 Patches from j@bootlab.org:
18837 * src/backends/NetworkManagerDebian
18838 - Update backend to match functionality in RedHat backend
18839 * src/NetworkManagerDevice.c
18840 - Take down then bring up wired devices after connection so
18841 they send out ipv6 router advertisements
18843 2004-12-21 Colin Walters <walters@verbum.org>
18845 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18846 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18848 2004-12-21 Colin Walters <walters@redhat.com>
18850 * configure.in: Correct named detection.
18852 2004-12-21 Colin Walters <walters@redhat.com>
18854 * src/NetworkManager.c (nm_data_new): Initialize named.
18855 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18856 the mainloop when these signals are received.
18857 (nm_data_free): Unref named.
18858 (sigterm_handler, sigterm_pipe_handler): New functions for
18861 * src/NetworkManagerMain.h (NMData): Add signal handling and
18864 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18867 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18868 set nameservers from DHCP response data.
18869 (set_domain_search): Set domain search from DHCP response.
18870 (nm_device_dhcp_configure): Invoke them.
18872 * src/NetworkManagerSystem.c
18873 (nm_system_device_update_resolv_conf): Delete. Deleting
18874 code is totally sweet.
18876 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18878 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18879 implements an object which controls a nameserver. Currently
18882 * configure.in: Check for named.
18884 * Makefile.am (SUBDIRS): Add named dir.
18886 * named/named.conf: New template config file.
18888 2004-12-20 Colin Walters <walters@redhat.com>
18890 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18893 2004-12-17 Dan Williams <dcbw@redhat.com>
18895 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18896 link-local addresses instead of doing DHCP.
18898 * In the panel applet, there's a new "Create new Wireless Network..." item
18900 * The panel applet also sticks around now even if NetworkManager dies, but
18901 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18902 a bug, I'll fix that later.
18904 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18905 lookups after a switch rather than actually doing them.
18907 * Clean up some of those warnings in nm_ap_list_* functions
18909 * Delay between scans changed to 15s instead of 10s
18911 2004-12-15 Dan Williams <dcbw@redhat.com>
18913 Patch from Tom Parker
18914 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18917 * Longer pause after setting ESSID on cards that support a larger number
18918 of channels to give the card time to find the right channel
18920 * Add system hook to restart mDNSResponder (or whatever the local implementation
18921 of Multicast DNS is) when we activate interfaces
18923 2004-12-15 Dan Williams <dcbw@redhat.com>
18925 * Rework the DHCP code again to revert to sending full ethernet frames
18926 rather then relying on the kernel to do the right thing with our
18929 2004-12-06 Dan Williams <dcbw@redhat.com>
18932 - Fix some minor errors in dhcp_handle_transaction() that caused
18933 unexpected early timeouts of DHCP transactions
18936 - DHCP retransmit time from 4s -> 5s
18938 2004-12-05 Dan Williams <dcbw@redhat.com>
18940 * Major rework of the DHCP code, taking some cues from pump. We don't
18941 write raw Ethernet packets anymore, which simplifies the code quite
18942 a bit. The new code should be more robust, not hang in recvfrom()
18943 as much, and generally work better. This also means that we need
18944 to force HAL/dbus to use a created GMainContext rather than the
18945 default context, since having the DHCP renew/rebind thread using
18946 its own GMainContext seemed to give dbus a fit. There is also more
18947 debugging information printed from the DHCP loop to help with future
18950 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18951 assume that the default gateway should be the DHCP server.
18953 Patch from Matthew Schick <matt oss-institute org>
18954 * src/backends/NetworkManagerGentoo.c
18955 - Fix compilation error due to missing "ip4_broadcast"
18957 2004-12-03 Dan Williams <dcbw@redhat.com>
18959 * initscript/Makefile.am
18960 * initscript/Debian/NetworkManager
18961 * initscript/Gentoo/NetworkManager
18962 * initscript/RedHat/NetworkManager
18963 * initscript/NMLaunchHelper.c
18964 - Remove NMLaunchHelper, if you need to wait until the network
18965 comes up, use the dead code from CVS.
18967 2004-12-01 Colin Walters <walters@redhat.com>
18969 * configure.in: Suck in gcc warnings code from Rhythmbox,
18970 but use fewer default flags, and in particular add -Wno-unused,
18971 since the codebase has a lot of unused variables.
18973 * test/nmtestdevices.c (create_device):
18974 * test/nminfotest.c (get_network_string_property)
18975 (get_networks_of_type):
18976 * test/nmclienttest.c (main):
18977 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18978 * initscript/NMLaunchHelper.c (get_nm_status):
18979 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18980 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18981 Fix declarations after statements.
18983 2004-12-01 Colin Walters <walters@redhat.com>
18985 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18986 (nmi_dbus_get_vpn_userpass): New method.
18987 (nmi_dbus_nmi_message_handler): Invoke it.
18989 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18991 * info-daemon/NetworkManagerInfoVPN.h,
18992 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18993 to requests for VPN passwords.
18995 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18997 2004-12-01 Colin Walters <walters@redhat.com>
18999 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
19002 2004-12-01 Colin Walters <walters@redhat.com>
19004 * panel-applet/NMWirelessAppletDbus.c
19005 (nmwa_dbus_update_active_device_strength): Fix missing
19008 2004-12-01 Colin Walters <walters@redhat.com>
19010 * panel-applet/NMWirelessApplet.c: Add missing include.
19012 2004-12-01 Colin Walters <walters@redhat.com>
19014 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
19015 Remove useless CLAMP (); the value is unsigned, and the case tests
19016 qual->qual < 100, so the value must always be between 0 and 100.
19018 2004-12-01 Colin Walters <walters@redhat.com>
19020 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
19022 2004-11-22 Colin Walters <walters@verbum.org>
19024 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
19025 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
19026 which is essentially a noop since nscd caches hosts on disk too.
19028 2004-11-22 Colin Walters <walters@redhat.com>
19030 * src/Makefile.am (NetworkManager_SOURCES): Add
19031 NetworkManagerDevicePrivate.h.
19033 2004-11-22 Dan Williams <dcbw@redhat.com>
19035 * src/NetworkManagerDevicePrivate.h
19036 - Split out the NMDevice struct to a different file so that stuff like
19037 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
19041 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
19042 need to cancel the dhcp request during the send and recv
19045 - Move the DHCP option enum to dhcpcd.h
19047 * src/NetworkManagerDHCP.c
19048 - Split out the actual IP/netmask/etc setting code
19049 - New Renew/Rebind functions
19050 - New timer setup function for renew/rebind operations
19052 * src/NetworkManagerDevice.c
19053 - For device activation, if we are using DHCP then keep the activation thread
19054 alive until device deactivation. We need to renew/rebind the DHCP address
19055 after the T1 (renew) and T2 (rebind) times have expired.
19056 - Increase some timeouts after bringing wireless cards up/down
19058 2004-11-17 Dan Williams <dcbw@redhat.com>
19060 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19061 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19062 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19063 show known access points that don't broadcast their ESSID in the menus without
19064 any user intervention whatsoever.
19066 * info-daemon/NetworkManagerInfoDbus.c
19067 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19068 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19070 * src/NetworkManagerAP.[ch]
19071 - Add a "user_addresses" data member to the NMAccessPoint structure
19072 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19073 the user_addresses data member
19075 * src/NetworkManagerAPList.c
19076 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19077 the AP's reported address
19078 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19080 * src/NetworkManagerDHCP.c
19081 - Increase DHCP timeout from 25s -> 30s
19083 * src/NetworkManagerDbus.[ch]
19084 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19087 * src/NetworkManagerDevice.c
19088 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19089 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19090 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19091 So, we take the card down to clear it out.
19092 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19093 too, since that's where the user_addresses are
19095 * src/NetworkManagerPolicy.c
19096 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19097 that wireless networks' user_addresses list upon successful activation
19099 2004-11-16 Dan Williams <dcbw@redhat.com>
19101 * src/NetworkManagerDevice.[ch]
19102 - (nm_device_clear_activation_fail): new function
19104 * src/NetworkManagerPolicy.c
19105 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19106 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19108 2004-11-16 Dan Williams <dcbw@redhat.com>
19110 * src/NetworkManagerDevice.c
19111 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19112 leak the structure, better updating of now_scanning status
19113 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19115 2004-11-15 Dan Williams <dcbw@redhat.com>
19117 Major rework of link detection code. We now use DHCP
19118 as part of the link detection which proves to be much more robust,
19119 and also supports Open System authentication for wireless networks.
19121 We no longer use external DHCP client programs. Instead, we use
19122 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19123 which was written by:
19124 Yoichi Hariguchi <yoichi@fore.com>
19125 Sergei Viznyuk <sv@phystech.com>
19126 http://www.phystech.com/download/
19127 It resides in the "dhcpcd" directory and was refactored into a general
19128 purpose DHCP client library by me.
19130 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19131 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19133 2004-11-15 Dan Williams <dcbw@redhat.com>
19135 Patch from Tom Parker <palfrey@tevp.net>:
19137 * src/NetworkManagerDevice.c
19138 - Less output to console when no access
19139 points are found during a scan
19141 2004-11-15 Dan Williams <dcbw@redhat.com>
19143 Patch from Tom Parker <palfrey@tevp.net>:
19145 * src/backends/interface_parser.c
19147 - Check for inp == NULL
19150 2004-11-13 Colin Walters <walters@redhat.com>
19152 Patch from Tom Parker <palfrey@tevp.net>:
19154 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19156 * src/backends/NetworkManagerRedHat.c: Switch to
19157 including shvar.h instead of shvar.c.
19159 * src/backends/NetworkManagerDebian.c: Don't include
19160 interface_parser.c in source file.
19162 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19163 and interface_parser.[ch].
19164 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19165 Include shvar.c and shvar.h here.
19166 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19167 interface_parser.c and interface_parser.h here.
19169 2004-11-12 Colin Walters <walters@redhat.com>
19171 * configure.in: Strip out TARGET_DISTRO and
19172 SYSTEM_BACKEND_FILE variables. Switch to Automake
19175 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19176 (libnmbackend_la_SOURCES): Use Automake conditionals
19177 to add distro-specific files.
19179 * initscript/Makefile.am (SUBDIRS): Update to
19182 2004-11-12 Colin Walters <walters@redhat.com>
19184 Patches from j bootlab org
19186 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19187 Add interface_parser.[ch].
19189 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19190 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19192 2004-11-12 Colin Walters <walters@redhat.com>
19194 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19195 call to nmi_dbus_is_running too, not necessary anymore.
19196 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19199 2004-11-11 Colin Walters <walters@verbum.org>
19201 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19203 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19204 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19205 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19206 This avoids a race condition that made it pretty easily
19207 possible to get two NetworkManagerInfo daemons running.
19209 2004-11-11 Colin Walters <walters@verbum.org>
19211 * src/NetworkManager.c (main): Use daemon(3).
19213 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19215 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19217 2004-11-10 Dan Williams <dcbw@redhat.com>
19219 Patches from j bootlab org
19220 * src/NetworkManagerDevice.c
19221 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19222 whether the card has a link or not, some cards are slow
19223 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19225 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19226 - Disable the "Login" button on the passphrase dialog until the user
19227 enters a valid passphrase or key
19229 Patches from Tom Parker <palfrey tevp net>
19230 * src/backends/NetworkManagerDebian.c
19231 - Add static IP support to the debian backend
19233 * src/backends/interface_parser.[ch]
19234 - Parse debian interface config files
19236 2004-11-08 Dan Williams <dcbw@redhat.com>
19238 * src/NetworkManagerDevice.c
19239 - Some random fprintf->syslog conversions
19240 - (nm_device_wireless_network_exists): double-check for network
19241 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19243 * src/NetworkManagerWireless.[ch]
19244 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19245 so that the binary->ascii conversion works (if unsigned, the bitshift
19246 will fill with zeros, which is what's required). Also mask bitshift
19247 result with 0xF for futher assurance.
19249 2004-11-06 Dan Williams <dcbw@redhat.com>
19251 * src/NetworkManagerUtils.c
19252 - (nm_get_wireless_driver_support_level): default to
19253 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19254 flip this when changing from whitelist->blacklist of
19257 2004-11-05 Dan Williams <dcbw@redhat.com>
19259 Patch from Robert Paskowitz:
19260 * src/backends/NetworkManagerGentoo.c
19261 - Update static IP config code
19263 2004-11-05 Dan Williams <dcbw@redhat.com>
19265 * info-daemon/NetworkManagerInfoDbus.c
19266 src/NetworkManagerDbus.[ch]
19267 src/NetworkManagerDevice.c
19268 - Keep track of the # of attempts to get the WEP key
19269 from the user and pass that along to the info daemon
19271 2004-11-05 Dan Williams <dcbw@redhat.com>
19273 * src/NetworkManagerUtils.c
19274 - Blacklist wireless cards rather than whitelisting them.
19275 - Grab driver name from HAL rather than trying to find it
19278 2004-11-03 Dan Williams <dcbw@redhat.com>
19280 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19281 - Disable OK button until valid data is entered
19282 for encryption stuff too
19284 * panel-applet/NMWirelessApplet.c
19285 - Report card strength for current AP if the card
19286 doesn't report strength data for scanned access
19289 * src/NetworkManagerDevice.c
19290 - Smooth out cards reported quality, Atmel card was
19291 intermittently reporting no quality data but soon
19294 * src/NetworkManagerWireless.c
19295 - Better quality data percentage calculation. Atmel
19296 cards (mine at least) seem to report the quality
19297 in percentage format already, so honor that
19299 Patch from <j@bootlab.org>
19301 info-daemon/NetworkManagerInfoPassphraseDialog.c
19302 info-daemon/passphrase.glade
19303 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19304 panel-applet/essid.glade
19305 src/NetworkManagerAP.c
19306 src/NetworkManagerDevice.c
19307 src/NetworkManagerWireless.[ch]
19308 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19310 2004-11-03 Dan Williams <dcbw@redhat.com>
19312 * src/NetworkManagerDevice.[ch]
19313 - (nm_device_set_enc_key): Add parameter to set Authentication
19314 Mode (Open System, Shared Key, or None). We're still using
19315 Shared Key for now though.
19317 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19319 * panel-applet/menu-info.c: change from bold text to light
19320 colored, may cause problems with some themes, i've tested a lot
19321 and they seem fine.
19323 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19325 2004-11-01 Colin Walters <walters@verbum.org>
19327 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19328 (nm_wireless_128bit_key_from_passphrase): Add const.
19330 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19331 (nm_ap_set_enc_key_source): Add const.
19333 2004-11-01 Colin Walters <walters@verbum.org>
19335 * .cvsignore: Update.
19337 2004-10-29 Dan Williams <dcbw@redhat.com>
19339 * src/NetworkManagerDevice.c
19340 - (nm_device_wireless_network_exists): Actually use the encryption
19341 key we got from the applet when attempting to find a wireless network
19342 - Don't bring devices down so much since on some cards it triggers
19343 firmware hotplugs each time
19345 * src/NetworkManagerDbus.c
19346 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19349 2004-10-29 Dan Williams <dcbw@redhat.com>
19351 * src/NetworkManager.c
19352 - (nm_hal_device_property_modified): unlock a locked active
19353 wireless device when a wired connection gets a link.
19354 (Means you'll switch to wired whenever you plug in no
19357 2004-10-29 Dan Williams <dcbw@redhat.com>
19359 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19360 - New files, implement the "Other wireless network" dialog
19362 * panel-applet/NMWirelessApplet.c
19363 - Move "other wireless network" dialog to separate file
19365 * panel-applet/NMWirelessAppletDbus.[ch]
19366 - Take key and key_type paramaters for the set_device function
19368 * panel-applet/essid.glade
19369 - Add UI bits for encryption settings
19371 * src/NetworkManagerDbus.c
19372 - Retrieve key and key_type params for "setActiveDevice" method call
19374 - unref AP returned from nm_device_get_best_ap() when needed
19376 * src/NetworkManagerDevice.c
19377 - (nm_device_get_best_ap): ref the ap before returning it
19378 - unref AP returned from nm_device_get_best_ap() when needed
19379 - (nm_device_activate_wireless): add "ap" parameter so we don't
19380 need to call nm_device_get_best_ap() here, it was pretty much
19382 - (AP_NEED_KEY): break second link check condition out into separate
19383 function, and fix segfault when ap->enc_key_source was NULL
19384 - (nm_device_find_and_use_essid): take key and key_type parameters and
19385 pass them along to nm_device_wireless_network_exists(). If the
19386 network does exist, set the passed-in key+key_type on the AP
19388 * src/NetworkManagerPolicy.c
19389 - unref AP returned from nm_device_get_best_ap() when needed
19391 2004-10-28 Dan Williams <dcbw@redhat.com>
19393 * src/NetworkManagerUtils.c
19394 - (nm_spawn_process): Fix a potential dereference of NULL
19396 Patches from Peter Jones:
19398 * src/NetworkManagerDevice.c
19399 - (nm_device_test_wireless_extensions): Better check for
19402 * src/NetworkManagerUtils.c
19403 - (nm_spawn_process): Pass in valid stdout and stderr so
19404 executed programs don't randomly SIGPIPE and fail
19405 - (nm_get_wired_driver_support_level): quash hal warning
19406 when checking for USB ethernet device
19408 2004-10-27 Dan Williams <dcbw@redhat.com>
19410 * info-daemon/NetworkManagerInfo.c
19411 info-daemon/NetworkManagerInfoDbus.c
19412 info-daemon/NetworkManagerInfoPassphraseDialog.c
19413 panel-applet/NMWirelessApplet.c
19414 - Properly escape gconf keys
19416 * src/NetworkManager.c
19417 - remove unused variables
19419 * src/NetworkManagerAP.c
19420 - (nm_ap_new_from_ap): Don't redundantly set new APs
19421 refcount since it got set in nm_ap_new()
19423 * src/NetworkManagerAPList.c
19424 - (nm_ap_list_combine): Give up ownership of newly created
19425 access points to the ap list, fixes memleak
19427 * src/NetworkManagerDevice.c
19428 - Remove cached_ap_list4 member since its not really needed
19429 - (nm_device_wireless_network_exists): Try to get correct
19430 encryption status of a found AP if its already in our
19432 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19433 memory allocs/deallocs a bit clearer and shorter-lived
19435 2004-10-26 Ray Strode <rstrode@redhat.com>
19437 * panel-applet/NMWirelessApplet.c:
19438 (custom_essid_item_selected): kill some compiler
19441 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19443 * info-daemon/NetworkManagerInfoDbus.c
19444 - (nmi_dbus_is_running): New function for determining if nmi is already running
19445 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19447 2004-10-23 Dan Williams <dcbw@redhat.com>
19449 * info-daemon/NetworkManagerInfoDbus.c
19450 - Trap the "DeviceActivationFailed" signal
19452 * docs/NetworkManager DBUS API.txt
19453 - Add "DeviceActivationFailed" signal
19455 * panel-applet/NMWirelessAppletDbus.c
19456 - Quash the "NetworkManager service not available" message
19458 * src/NetworkManagerDbus.[ch]
19459 - Add the "DeviceActivationFailed" signal
19461 * src/NetworkManagerDevice.c
19462 - Add support for activation_failed flag
19463 - Fix deadlock where activation thread didn't clean itself up, making
19464 main thread still believe it was alive forever (didn't reset activation
19465 flags like activating, just_activated, etc when IP configuration
19468 * src/NetworkManagerPolicy.c
19469 - Implement logic for DeviceActivationFailed signal, and when activation fails
19470 for wireless networks, try to fall back to some other access point
19472 2004-10-23 Dan Williams <dcbw@redhat.com>
19474 * panel-applet/NMWirelessApplet.[ch]
19475 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19476 to the applet object, so we can get tooltips
19477 - Add tooltips (RH #136866)
19479 * src/NetworkManagerDevice.c
19480 - When trying to find a wireless network, try to connect with encryption
19481 turned on first, so that we can more accurately detect whether or not
19482 we need to use encryption for the actual association later on
19484 2004-10-21 Dan Williams <dcbw@redhat.com>
19486 * Add some support for telling NetworkManagerInfo to tell the user
19487 that they are using a device that's not fully supported
19489 * Fix some assertions in debug messages due to null access point args
19491 2004-10-21 Dan Williams <dcbw@redhat.com>
19493 * src/NetworkManagerDevice.c
19494 - Don't try to activate/bring up/down unsupported
19497 * src/NetworkManagerUtils.c
19498 - Fix case of PCI ID checks for driver support levels
19500 2004-10-21 Dan Williams <dcbw@redhat.com>
19503 - New file, now contains commonly used structures and bits
19504 for the dbus API of NetworkManager
19507 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19509 * src/NetworkManager.h
19510 - Rename -> src/NetworkManagerMain.c
19512 * Various fixups all around to use NetworkManager.h and new
19513 src/NetworkManagerMain.h, remove redundant bits that got
19514 moved into NetworkManager.h
19516 * src/NetworkManagerDevice.[ch]
19517 src/NetworkManagerUtils.[ch]
19518 src/NetworkManagerPolicy.c
19519 src/NetworkManagerDbus.c
19520 - Whitelist wireless drivers, and blacklist some wired
19521 drivers. Also blacklist cipsec and ethernet-over-usb
19522 devices at this time (RH #135722, RH #135648)
19523 - Don't leak unsupported devices out over dbus, or allow
19524 them to be set as the active device. Skip over them
19525 during automatic device picking
19527 * test/nmclienttest.c
19528 - Clean up the dbus code a lot
19530 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19532 * configure.in: post release bump.
19534 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19537 * NEWS: Released NetworkManager-0.3.1
19539 2004-10-18 Dan Williams <dcbw@redhat.com>
19541 Patches from Thom May:
19542 * test/nmtestdevices.c
19543 - Include <string.h>
19544 * src/backends/NetworkManagerDebian.c:
19545 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19546 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19547 Move to using g_strdup_printf rather than arbitrary buffers
19548 - (nm_system_device_setup_static_ip4_config) Implement function.
19549 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19551 2004-10-17 Dan Williams <dcbw@redhat.com>
19553 * info-daemon/NetworkManagerInfoDbus.c
19554 - Display name of network in the "network not found" dialog
19556 * panel-applet/NMWirelessAppletDbus.c
19557 - (nmwa_dbus_call_nm_method): new function replaces all other
19558 nmwa_dbus_get_[string|string_array|int|boolean] methods
19559 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19560 consolidated into nmwa_dbus_get_object_name()
19562 2004-10-15 Dan Williams <dcbw@redhat.com>
19564 * src/NetworkManagerDbus.c
19565 info-daemon/NetworkManagerInfoDbus.c
19566 - Display an error dialog when the user tries to use an
19567 "Other wireless network" that's not found.
19569 2004-10-15 Dan Williams <dcbw@redhat.com>
19571 * panel-applet/NMWirelessApplet.[ch]
19572 - Fix up corner cases in applet state, making it
19573 look more responsive. Change state to "connecting" when
19574 the user is forcing a device too.
19576 2004-10-15 Dan Williams <dcbw@redhat.com>
19578 * src/NetworkManagerAPList.c
19579 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19581 * src/NetworkManagerDbus.c
19582 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19584 * src/NetworkManagerDevice.c
19585 - Disown APs after the device's AP list takes ownership
19587 2004-10-15 Dan Williams <dcbw@redhat.com>
19589 * panel-applet/NMWirelessApplet.c
19590 - Update our applet state from the GUI thread
19592 * panel-applet/NMWirelessAppletDbus.c
19593 - Greatly simplify the locking to make the GUI thread
19594 smoother. Update a private copy of the device list
19595 and active device and only when done talking to
19596 NetworkManager turn it over to the GUI thread.
19598 2004-10-15 Dan Williams <dcbw@redhat.com>
19600 * src/NetworkManagerAP.[ch]
19601 - Add "artificial" get/set functions, set for APs that
19602 aren't discovered as part of a scan but instead
19603 discovered by force-setting the ESSID
19605 * src/NetworkManagerDevice.[ch]
19606 - (nm_device_wireless_network_exists): pass back whether
19607 or not the discovered AP was encrypted. Also, try
19608 falling back to encrypted mode on the card if unencrypted
19609 association doesn't work
19610 - (nm_device_find_and_use_essid): If the network requested
19611 did in fact exists, but it wasn't in our scan list, add
19612 an "artificial" entry for it. Some Cisco cards don't
19613 see non-ESSID-broadcasting APs in their scan but can still
19614 associate with them if you know the ESSID, this works around
19616 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19617 to scan if the card is currently associated with that AP
19619 2004-10-15 Dan Williams <dcbw@redhat.com>
19621 ---- We have a website ----
19622 http://people.redhat.com/dcbw/NetworkManager
19624 Patch from Robert Paskowitz:
19625 * src/NetworkManager.c
19626 - (main): Make sure we are run as root
19627 * src/NetworkManagerDevice.c
19628 - Fix type in ad-hoc setting function
19630 Patch from Thom May:
19631 * src/backends/NetworkManagerDebian.c
19632 - Make Debian backend compile again
19634 2004-10-14 Dan Williams <dcbw@redhat.com>
19636 * Tagged NetworkManager-0_3
19638 2004-10-14 Dan Williams <dcbw@redhat.com>
19640 Patch from Robert Paskowitz:
19642 src/NetworkManagerDevice.[ch]
19643 src/backends/NetworkManagerDebian.c
19644 src/backends/NetworkManagerGentoo.c
19645 src/backends/NetworkManagerRedHat.c
19646 src/backends/NetworkManagerSlackware.c
19647 - Add support for grabbing and using a broadcast address
19648 from system config files
19649 - Some Gentoo backend fixes for grabbing network config
19650 - Fix LOG_WARN->LOG_WARNING
19652 2004-10-14 Dan Williams <dcbw@redhat.com>
19654 * NEWS: a few small fixes in the credits
19656 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19658 * NEWS: prep for release.
19660 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19662 * panel-applet/NMWirelessAppletDbus.c
19663 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19665 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19667 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19668 applet->state == APPLET_STATE_NO_NM animation.
19670 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19671 set the text correctly.
19673 2004-10-14 Dan Williams <dcbw@redhat.com>
19675 * src/NetworkManager.c
19676 - Only accept and manager 802.3 and 802.11 devices
19678 * src/NetworkManagerDbus.[ch]
19679 - (nm_dbus_nm_set_active_device): move most of the actual activation
19680 logic into NetworkManagerDevice.c
19681 - (nm_dbus_network_status_from_data): new function
19682 - (nm_dbus_signal_network_status_change): new function, unused for now
19683 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19685 * src/NetworkManagerDevice.[ch]
19686 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19689 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19691 * info-daemon/NetworkManagerInfo.c
19692 - (main): Added session management
19694 2004-10-14 Dan Williams <dcbw@redhat.com>
19696 * panel-applet/NMWirelessAppletDbus.[ch]
19697 - Expose network_device_[un]ref()
19698 - Expose wireless_network_[un]ref()
19699 - (wireless_network_new_with_essid): new function, create and return
19700 a wireless network with a particular essid
19702 * panel-applet/NMWirelessApplet.c
19703 - Hook up the "other network" dialog to do something
19705 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19707 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19708 doesn't work yet, but it looks okay.
19710 * panel-applet/icons/*png: Resize to 22x22 and install in the
19713 2004-10-13 Dan Williams <dcbw@redhat.com>
19715 * panel-applet/NMWirelessApplet.c
19716 - Add function to print out applet_state in a readable
19719 * src/NetworkManager.c
19720 - (main): Don't segfault when nm_dbus_init() fails, we had
19721 a left-over call to hal_shutdown() into which we passed NULL
19723 * src/NetworkManagerAP.c
19724 - (nm_ap_set_essid): Allow NULL essids
19726 * src/NetworkManagerAPList.[ch]
19727 - More use of nm_ap_list_[un]lock ()
19728 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19729 network/essid, just return nothing. Also skip over NULL
19730 essid access points in the list when searching
19731 - (nm_ap_list_get_ap_by_address): new function
19732 - (nm_ap_list_update_network): set the access point's key source to
19733 NULL when the key returned from NetworkManagerInfo is NULL or
19735 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19736 copy timestamp over too
19737 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19738 find the correct ESSID for a blank-essid access point by searching
19739 through another list and matching access point MAC addresses
19740 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19742 * src/NetworkManagerDbus.c
19743 - (nm_dbus_nm_set_active_device): deal with random networks the user
19744 may specify. This is mainly for access points that don't
19745 broadcast their essid. So if the user tells us to associate with
19746 some random ESSID that's not in our access point list, we find
19747 out if the access point does in fact exist (by attempting association
19748 and then matching that access point's MAC address with the essid the
19749 user gave us) and then we switch to it.
19750 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19751 to the returned list of networks for the "getNetworks" method
19753 * src/NetworkManagerDevice.[ch]
19754 - Extra debugging info for link detection
19755 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19756 based on MAC address
19757 - (nm_device_get_path_for_ap): ignore blank-essid access points
19758 - (nm_device_wireless_network_exists): new function, find out whether
19759 a random ESSID exists by attempting to associate with it
19760 - (nm_device_do_normal_scan): allow blank-essid access points in our
19761 device list as long as they have an AP MAC address we can use.
19762 Also send WirelessNetwork[Dis]Appeared signals for non-active
19763 devices too. Lets the applet update more frequently.
19765 * src/backends/NetworkManagerGentoo.c
19766 - Patch from: Robert Paskowitz
19767 - Update backend code for Gentoo
19768 - Implement nm_system_device_update_config_info ()
19770 * test/nmclienttest.c
19771 - (set_network_device): new function, takes a command-line argument
19772 and tells NetworkManager to use that wireless network
19774 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19776 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19777 if the notification icon crashes 5 times within 5 seconds of each respawn
19779 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19781 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19784 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19786 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19788 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19789 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19790 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19791 Change the name of the icons.
19793 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19794 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19795 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19796 (nm_menu_wireless_expose_event): Really bad hack to get the style
19797 to draw in the right color.
19799 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19801 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19802 Notification if it crashes
19804 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19806 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19807 (nmwa_dbus_get_string): remove unused functions
19809 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19810 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19811 remove unused functions
19813 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19815 2004-10-12 Dan Williams <dcbw@redhat.com>
19817 * panel-applet/NMWirelessAppletDbus.c
19819 wireless_network_new
19820 wireless_network_copy
19822 network_device_copy
19824 * src/NetworkManagerDevice.[ch]
19826 nm_device_set_mode_managed
19827 nm_device_set_mode_adhoc
19828 - Use these functions where appropriate
19829 - When creating a new wireless device, force the card
19830 to managed/Infrastructure mode as soon as possible
19832 2004-10-12 Dan Williams <dcbw@redhat.com>
19834 * src/NetworkManagerDevice.c
19835 - Force wireless cards into Infrastructure mode before we use them
19837 2004-10-12 Dan Williams <dcbw@redhat.com>
19840 - Remove bit about static IP address support
19842 * src/NetworkManagerUtils.c
19843 - (nm_spawn_process): Add some error reporting
19845 * src/NetworkManagerDevice.c
19846 - (nm_device_activation_configure_ip): hook up to the static config
19847 routines in the backends
19849 * src/backends/NetworkManagerRedHat.c
19850 - (nm_system_device_update_config_info): use shvar.c routines to
19851 parse the config file iformation, not our own
19852 - (nm_system_device_setup_static_ip4_config): new function, based
19853 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19854 with a static IP address and gateway
19856 * src/backends/shvar.[ch]
19857 - Parser (filched from initscripts package) for ifcfg-* files
19859 * src/backends/NetworkManagerSystem.h
19860 src/backends/NetworkManagerGentoo.c
19861 src/backends/NetworkManagerDebian.c
19862 src/backends/NetworkManagerSlackware.c
19863 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19865 2004-10-11 Dan Williams <dcbw@redhat.com>
19868 - Remove bit about more robust AP diffing since I just implemented it
19870 2004-10-11 Dan Williams <dcbw@redhat.com>
19872 * src/NetworkManagerAP.c
19873 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19874 enough RAM to allocate new AP structures, but return NULL instead
19876 * src/NetworkManagerAPList.[ch]
19877 - (nm_ap_list_is_empty): new function
19878 - (nm_ap_list_combine): new function, combine two access point lists
19879 - (nm_ap_list_copy_keys): new function, copy keys from one list
19882 * src/NetworkManagerDevice.[ch]
19883 - Rename some functions to be clearer:
19884 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19885 nm_device_just_activated -> nm_device_is_just_activated
19886 nm_device_activating -> nm_device_is_activating
19887 nm_device_now_scanning -> nm_device_is_scanning
19888 - Cache the last 4 scans so that the access point list is more stable.
19889 We combine the lastest two scans and use that as the AP list,
19890 and diff that combined list against the combination of the earliest
19891 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19893 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19895 * info-daemon/NWManagerInfo.h
19896 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19898 * info-daemon/NWManagerInfoDbus.c
19899 - (shutdown_callback): new function
19900 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19901 if NetworkManager goes away. Kill the timeout
19902 if NetworkManager restarts before the 30 seconds
19904 - (nmi_dbus_service_init):
19905 - call gtk_main_quit if NetworkManager is not running
19906 - add filters to monitor dbus service creations and
19909 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19911 * panel-applet/NMWirelessApplet.c
19912 - (nmwa_update_state): Hide notification icon if we are only
19913 showing one wired card and no wireless interfaces
19914 (Red Hat Bug #134895)
19916 * panel-applet/NMWirelessAppletDbus.c
19917 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19919 * info-daemon/NWManagerInfo.c
19920 - (main): Terminated the notification_icon_cmd array with a NULL
19922 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19924 * configure.in (ALL_LINGUAS): Added de (German).
19926 2004-10-08 Dan Williams <dcbw@redaht.com>
19928 * src/NetworkManagerDevice.c
19929 - Be a bit more robust about link checking, ie make sure that
19930 the WEP key we were given actually has some data in it
19932 2004-10-08 Dan Williams <dcbw@redhat.com>
19934 * info-daemon/NetworkManagerInfo.c (main):
19935 - Initialize GError object to NULL
19937 2004-10-08 Dan Williams <dcbw@redhat.com>
19939 * panel-applet/NMWirelessAppletDbus.c
19940 - Die if NetworkManagerInfo dies, since it manages our lifetime
19942 2004-10-08 Dan Williams <dcbw@redhat.com>
19944 * info-daemon/NetworkManagerInfo.[ch]
19945 info-dameon/NetworkManagerInfoDbus.[ch]
19946 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19947 - Preserve original label text in the passphrase dialog so that
19948 it actually gets updated with the new network name the next
19949 time around. Previously, we were overwriting it so you'd get
19950 the wrong network name to enter a key for
19951 - Add a "Key Type" combo to the passphrase dialog, user selects
19952 encryption key type now, type is stored in GConf too
19953 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19955 * src/NetworkManagerAP.[ch]
19956 - Remove all the encyption method magic. It's now set by the user
19957 and NetworkManager retrieves the type of encryption key from
19960 * src/NetworkManagerAPList.[ch]
19961 src/NetworkManagerDbus.[ch]
19962 - Adjust to new way of setting encryption key and method
19963 - Pull encryption method down from NMI along with key
19965 * src/NetworkManagerDevice.[ch]
19966 - Removed encryption method fallback magic as the method is now
19967 determined by the user. This greatly simplifies the connection
19969 - More robust connection/link logic. Besides removing the encryption
19970 method fallback magic, check whether or not the card is receiving
19971 invalidly encrypted packets, which usually indicates that we have
19973 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19975 * test/nminfotest.c
19976 - Test out new "Key Type" stuff in the NMI passphrase dialog
19978 2004-10-07 Dan Williams <dcbw@redhat.com>
19980 * info-daemon/NetworkManagerInfo.conf
19981 - Allow root user to run NMI too
19983 2004-10-06 Dan Williams <dcbw@redhat.com>
19985 * src/NetworkManagerDevice.[ch]
19986 src/NetworkManagerDbus.c
19987 doc/NetworkManager DBUS API.txt
19988 - Add a new status tag "scanning", which is set when there
19989 is no active network connection, but NetworkManager is
19990 looking for an access point to associate with
19992 * panel-applet/main.c
19993 - Cast the applet appropriately for gtk_widget_show_all ()
19995 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19997 * panel-applet/eggtrayicon.[ch]:
19998 * panel-applet/main.c: Add missing file
20000 2004-10-04 Dan Williams <dcbw@redhat.com>
20002 * src/NetworkManagerDevice.[ch]
20003 - Add a slightly more robust method of determining if the WEP key
20004 is correct or not, by checking the WEP-discarded packet count
20007 * info-daemon/NetworkManagerInfo.c
20008 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
20009 un-escape values we pull out rather than escaping them
20011 2004-10-03 Marcel Telka <marcel@telka.sk>
20013 * configure.in (ALL_LINGUAS): Added sk.
20015 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
20017 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
20018 and feel. We should be back to working, and have a good, clean
20021 2004-09-30 Dan Williams <dcbw@redhat.com>
20023 * info-daemon/NetworkManagerInfo.c
20024 info-daemon/NetworkManagerInfoDbus.c
20026 - Escape ESSIDs in gconf
20028 * src/NetworkManagerDevice.c
20029 - Fix pseudo-scanning to use netowrk list from info daemon
20031 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
20033 * configure.in: Add a temporary --enable-notification-icon. This
20034 will prolly go away.
20036 * info-daemon/Makefile.am:
20037 * info-daemon/NetworkManagerInfo.c:
20038 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
20040 * panel-applet/Makefile.am:
20041 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
20042 * panel-applet/NMWirelessApplet.h:
20044 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
20046 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20047 before 'select custom ESSID'.
20049 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20050 fully complete, but syncing in prep for merge.
20052 * panel-applet/icons/*png: New images
20054 2004-09-28 Dan Williams <dcbw@redhat.com>
20056 * src/NetworkManager.c
20057 src/NetworkManagerDevice.c
20058 src/NetworkManagerPolicy.c
20059 - Don't blow away an active wired connection on startup
20061 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20065 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20067 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20070 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20072 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20073 have a wireless card.
20075 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20077 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20078 Also, get the right device strings.
20080 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20082 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20083 the logic to make this right.
20085 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20086 devices so that wired networks are always first.
20088 2004-09-22 <clarkbw@cvs.gnome.org>
20090 * initscript/Debian/.cvsignore:
20091 * initscript/Slackware/.cvsignore:
20092 Added new cvsignores for Makefile, Makefile.in
20095 Added nmtestdevices
20097 * src/NetworkManagerDevice.c:
20098 * src/NetworkManager.c:
20099 Updated the wireless/wired HAL device strings from net.ethernet to
20100 net.80203 or net.80211 depending on wired or wireless respectively
20102 * examples/python/NetworkManager.py:
20103 s/Quality/Strength/
20105 * examples/python/systray/network_tray.py:
20106 Lots of little changes and fixes. been rotting for a while so I
20107 figured I'd finally sync them all with CVS
20109 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20111 * configure.in: Add graphics
20113 * panel-applet/Makefile.am: Add graphics
20115 * panel-applet/icons/*: Add graphics
20117 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20118 the icons fully lined up.
20120 * panel-applet/menu-info.c:
20121 * panel-applet/menu-info.h: Add another menu type.
20123 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20125 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20127 * panel-applet/menu-item.[ch]: Wireless menu item.
20129 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20131 * info-daemon/NetworkManagerInfo.conf
20132 - Created a more robust security policy for the DBus service
20133 - everything is denied by default
20134 - root can own and send to the service
20135 - users logged in at the console can send to the service
20137 2004-09-13 Dan Williams <dcbw@redhat.com>
20139 * src/NetworkManagerDevice.c
20140 - (nm_device_get_essid): use iw_get_basic_config() rather than
20141 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20144 2004-09-13 Dan Williams <dcbw@redhat.com>
20148 * docs/NetworkManager DBUS API.txt
20149 - Update for new signal strength changes
20151 * panel-applet/NMWirelessApplet.c
20152 - Make panel icon show strength of the current connection
20153 - Cleanups and memleak fixes
20155 * panel-applet/NMWirelessApplet.h
20156 - Add data members for signal strength on devices and networks
20158 * panel-applet/NMWirelessAppletDbus.c
20159 - Free more DBusErrors
20160 - Update for new signal strength changes
20161 - Make devices and networks more like real objects, use ref/unref methods
20162 - Actually unlock the mutex when updating the active device
20164 * src/NetworkManagerAP.c
20165 - Change AP functions and data members from "quality"->"strength"
20167 * src/NetworkManagerDbus.c
20168 - Kill "getMaxQuality" and "getQuality" methods
20169 - Add "getStrength" methods for Networks and Devices
20171 * src/NetworkManagerDevice.[ch]
20172 - Add accessors for device strength
20173 - Add functions to update strength for a device. Note that not all drivers
20174 actually support signal strength for scanned access points (Atmel drivers
20176 - Calculate signal strength for each AP during scan
20178 * src/NetworkManagerWireless.[ch]
20179 - Add function to return signal strength % from a device and a raw quality struct
20181 * test/nmclienttest.c
20182 - Update for new signal strength changes
20184 2004-09-11 Dan Williams <dcbw@redhat.com>
20186 * src/NetworkManager.c
20187 - Fix race condition between initscripts and NM on card insertion
20188 which could cause a card to keep an IP address and routes around
20189 even when it was not the active device
20191 * src/NetworkManagerDbus.c
20192 - Fix compile errors, free more DBusErrors
20194 2004-09-11 Dan Williams <dcbw@redhat.com>
20196 * docs/NetworkManager DBUS API.txt
20197 - Add an explanation of NM's API
20199 * src/NetworkManagerDbus.c
20200 - Free some more DBusErrors if needed
20202 2004-09-11 Dan Williams <dcbw@redhat.com>
20204 * panel-applet/NMWirelessApplet.c
20205 panel-applet/NMWirelessAppletDbus.c
20206 - Start using NetworkDevice/WirelessNetwork structures in more places
20207 - Update for unified device/network forcing in NetworkManager
20209 * src/NetworkManager.c
20210 - some code consolidation
20212 * src/NetworkManagerDbus.c
20213 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20214 or two arguments: the first is the NM ID of the device to switch to,
20215 and the second (optional) argument is the ESSID of a wireless network
20217 - Get rid of "setNetwork" method due to above change
20219 * src/NetworkManagerDevice.c
20220 - (nm_device_new): perform scan and update best AP on device creation
20221 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20222 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20223 spin waiting for cancellation to finish before returning
20225 * src/NetworkManagerPolicy.c
20226 - Changes here clarify the situations in which a device switch occurs, and
20227 make sure to keep using a forced device and network if the user gives
20229 - Remove old unused code
20231 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20233 * configure.in: Added Danish (da) to ALL_LINGUAS.
20235 2004-09-09 Dan Williams <dcbw@redhat.com>
20237 * panel-applet/NMWirelessAppletDbus.c
20238 - Pull fresh devices and networks from NM when wireless networks
20239 change. Provides faster feedback of a forced wireless network
20241 * src/NetworkManagerDbus.c
20242 - Return error when "getMaxQuality" is called on a wired device
20243 - Make best_ap freezing actually work again, and signal cancellation
20244 of activation if there's already a device activation when the user
20245 freezes the best_ap
20247 * src/NetworkManagerDevice.c
20248 - Don't clear out the best_ap for wireless devices when the link goes
20249 down, that's done elsewhere
20250 - Kill any dhcp daemons when cancelling device activation since they
20251 may be stuck waiting for a DHCP address, and since we're cancelling
20252 activation we don't care about that anymore
20254 * src/NetworkManagerPolicy.c
20255 - Make sure to unref the device we ref earlier (we refed it to make sure
20256 it stuck around during device activation and such)
20257 - If we were going to change the best device, but its activating currently
20258 (and therefore the change didn't occur due to the check earlier)
20259 we mark the state changed to we come back to it later when device
20260 activation has canceled and its no longer activating
20262 * src/backends/NetworkManagerRedHat.c
20263 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20265 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20267 * info-daemon/passphrase.glade:
20268 set passphrase input to activates_default : True
20270 * examples/python/systray/network_tray.py
20271 (network_tray.sort_networks):
20273 Added support for having wireless always scanning
20275 2004-09-09 Dan Williams <dcbw@redhat.com>
20277 NOTE: this commit changes the behavior of wireless devices in
20278 NetworkManager. They are now up all the time, scanning all
20279 the time. Only the active device has an IP address and routing
20280 information set up however. Also, NetworkManager will no longer
20281 opportunistically switch wireless networks when a better one
20282 comes in range, it will remain associated with one wireless network
20283 until that one drops out.
20285 * panel-applet/NMWirelessApplet.c
20286 panel-applet/NMWirelessAppletDbus.c
20287 - List all wireless cards and their respective networks
20289 * src/NMLoadModules
20290 - Use full path to /sbin/ip
20292 * src/NetworkManager.c
20293 - Keep wireless devices up all the time so they can scan
20295 * src/NetworkManagerDbus.c
20296 - On a WirelessNetworkUpdate signal from NMI, don't update
20299 * src/NetworkManagerDevice.c
20300 - (nm_device_set_link_active): clear out the best ap for
20301 wireless devices when the link is set to FALSE
20302 - Scan on all wireless cards, all the time
20303 - (nm_device_activation_worker): split out the wireless card
20304 link-waiting code to a separate function
20305 - Keep wireless cards up even if device activation fails
20306 - Don't update the "best" ap as much
20308 * src/NetworkManagerPolicy.c
20309 - Don't update the best ap when checking if its frozen,
20310 let link checking clear out a frozen best ap for us
20312 * src/NetworkManagerWireless.c
20313 - Scan on all wireless cards, all the time
20315 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20317 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20319 2004-09-09 Ankit Patel <ankit@redhat.com>
20321 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20323 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20325 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20327 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20329 * examples/python/NetworkManager.py:
20330 added CONNECTED, CONNECTING, and DISCONNECTED states
20331 added methods to return number of devices of a single type
20333 * examples/python/systray/network_tray.py:
20334 did some tweaks to get the menu looking near what it is supposed
20335 to look like. Also did a Airo card hack to make it show the
20338 2004-09-08 Dan Williams <dcbw@redhat.com>
20340 * panel-applet/no-networkmanager.png
20341 panel-applet/Makefile.am
20342 panel-applet/NMWirelessApplet.c
20343 - Add a "NetworkManager not running" icon and use it
20344 - Use new consolidated GConf keys rather than Preferred/Trusted
20348 * info-daemon/NetworkManagerInfo.c
20349 info-daemon/NetworkManagerInfoDbus.[ch]
20350 info-daemon/NetworkManagerInfoPassphraseDialog.c
20351 - There are now no longer two separate lists of wireless networks,
20352 but one list where each network is "trusted" or not trusted
20353 - Add a "getNetworkTrusted" dbus method
20354 - "WirelessNetworkUpdate" signal now sent rather than
20355 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20356 - Start freeing some dbus errors (not completed yet)
20358 * info-daemon/passphrase.glade
20359 - Remove the "don't show" hints for pager and taskbar
20360 - Add a title since its going to be in the taskbar
20362 * src/NetworkManager.[ch]
20363 src/NetworkManagerAPList.[ch]
20364 - There are now no longer two separate lists of wireless networks,
20365 but one list where each network is "trusted" or not trusted
20367 * src/NetworkManagerAP.[ch]
20368 - Add get/set "trusted" accessors and data bit
20370 * src/NetworkManagerDbus.[ch]
20371 - Add function to get "trusted" status of a network from NetworkManagerInfo
20372 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20374 * src/NetworkManagerDevice.[ch]
20375 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20376 - (nm_device_new): Get device config from backend when initializing devices
20377 - (nm_device_activation_worker): Split out device configuration on
20378 activation to deal with static/dynamic IP differences, and try encryption
20379 fallbacks on a device if the encryption method for the best AP is not good
20380 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20381 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20383 * src/NetworkManagerWireless.c
20384 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20386 * src/backends/NetworkManagerRedHat.c
20387 src/backends/NetworkManagerSystem.h
20388 - (nm_system_device_update_config_info): Add function to get device configuration
20389 from system data in ifcfg-* files
20391 * src/backends/NetworkManagerDebian.c
20392 src/backends/NetworkManagerGentoo.c
20393 src/backends/NetworkManagerSlackware.c
20394 - Add stub functions for getting device configuration
20396 2004-09-07 Dan Williams <dcbw@redhat.com>
20398 * src/backends/NetworkManagerRedhat.c
20399 src/backends/NetworkManagerSlackware.c
20400 - Use full path to /sbin/ip everywhere
20402 2004-09-07 Dan Williams <dcbw@redhat.com>
20404 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20407 initscript/Makefile.am
20408 initscript/Slackware/Makfile.am
20409 initscript/Slackware/rc.networkmanager
20411 src/backends/NetworkManagerSlackware.c
20412 - Add Slackware support
20414 2004-09-07 Dan Williams <dcbw@redhat.com>
20416 Patches below from:
20418 Mark Roach <mrroach@okmaybe.com>
20419 Thom May <thom@debian.org>
20422 initscript/Debian/NetworkManager
20423 initscript/Debian/Makefile.am
20424 - Initscript for Debian
20426 * src/backends/NetworkManagerDebian.c
20427 - Add missing system init function to allow compilation
20430 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20432 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20434 2004-09-03 Akagic Amila <bono@linux.org.ba>
20436 * configure.in: Added 'bs' to ALL_LINGUAS.
20438 2004-09-02 Colin Walters <walters@verbum.org>
20440 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20441 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20442 g_strdup_printf instead of arbitrarily sized buffers.
20444 2004-09-01 Colin Walters <walters@verbum.org>
20446 * NetworkManager.pc.in: New file.
20448 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20450 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20452 * configure.in: Punjabi(pa) is added to po/.
20454 2004-08-31 Dan Williams <dcbw@redhat.com>
20456 * Remove 'debug' extern global from all files since we now
20459 * src/NetworkManager.[ch]
20460 - Break out routine that get the net.interface property from HAL,
20461 removing that logic from nm_create_device_and_add_to_list()
20462 - (nm_create_device_and_add_to_list): make this a bit more general so
20463 it doesn't do the talking to HAL. Also add arguments to facilitate
20464 the create of test devices.
20465 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20466 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20467 which makes NetworkManager listen for dbus commands to create test
20468 devices, which have no backing hardware. Use when you're on a plane
20469 for example, and/or forgot your wireless card at home. Test devices
20470 _cannot_ be created unless NM is started with --enable-test-devices.
20472 * src/NetworkManagerDbus.[ch]
20473 - New "getLinkActive" method for devices
20474 - New "setLinkActive" method for devices (only works on test devices)
20475 - New "createTestDevice" method on NetworkManager object to create a test
20476 device of a specified type (ie wired, wireless). UDI is created from
20477 scratch, as is the interface name. Only works when NM is started with
20478 --enable-test-devices switch.
20479 - New "removeTestDevice" method on NetworkManager object which removes a
20480 test device. Only works when NM is started with --enable-test-devices
20482 * src/NetworkManagerDevice.[ch]
20483 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20484 whether a device is a test device or not, and what its link status is.
20485 - Deal with test devices in most functions. For those that work directly on hardware
20486 special-case test devices.
20487 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20489 - (nm_device_update_link_active): split out logic for wired and wireless device link
20490 checking to separate functions to facilitate test device link checking.
20491 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20492 don't make a distinction between System Authentication and Encryption
20493 (namely Cisco aironet), we use Open System auth when setting a WEP key
20494 on the card. We don't deal with Shared Key auth yet.
20495 - (nm_device_activation_worker): split the activation cancel check logic out into
20496 a separate routine nm_device_activation_cancel_if_needed()
20497 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20498 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20499 a list of fake access points that they can "see"
20500 - (nm_device_is_test_device): return whether or not a device is a test device
20502 * src/NetworkManagerPolicy.c
20503 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20504 previously if you "locked"/forced NM to use a wireless device but then
20505 selected a wireless network for NM to use, it would switch to a wired device.
20506 So, if the active device is wireless and it has a "forced" best AP, use it
20507 if the "forced" best AP is still valid
20508 - (nm_state_modification_monitor): deal with NULL best devices, for example
20509 there were no usable network devices, or the last one was removed
20511 * src/backends/NetworkManager*.c
20512 - Deal with test devices, mostly just return success for operations like getting
20515 * test/nmtestdevices.c
20516 - Test tool to create/remove/link-switch test devices
20518 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20520 * examples/python/NetworkManager.py:
20521 added convience functions has_wired_device and has_wireless_device
20523 * examples/python/systray/network_tray.py:
20524 cleaned up a bunch of cruft, added support for listing wireless
20525 networks just like the real applet. This is probably all I'm
20526 going to work on this applet from now on.
20527 TODO: add support for actually changing networks and devices
20529 * examples/python/NetworkManager.py (NetworkManager.get_device):
20530 changed "nm.networks" into a dict from a list so I can store all
20531 the cool information about networks in there
20533 * examples/python/systray/network_tray.py:
20534 Added nice message when you try to run without running make first
20536 * examples/python/NetworkManager.py:
20537 Bug fixes to the code so we get all the device information
20538 that we need in get_device()
20540 * examples/python/NMTester.py:
20541 Fixed _print_device_list to print_device_list
20543 2004-08-29 Seth Nickell <seth@gnome.org>
20547 Actually properly setup the Debian backend in configure.
20549 2004-08-29 Colin Walters <walters@verbum.org>
20551 * test/nminfotest.c: Include string.h and stdlib.h.
20552 (get_network_string_property, get_networks_of_type): Return NULL.
20554 * test/nmclienttest.c (get_device_name, get_active_device): Return
20557 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20558 use strlen, fgets always NULL-terminates the string.
20560 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20561 dbus_message_get_member): Remove /* in comment.
20563 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20565 * src/NetworkManager.c (quit): Unused, delete.
20566 (nm_data_free): Cast arg to GFunc.
20568 * panel-applet/NMWirelessAppletDbus.c: Need to include
20569 string.h, and dbus-glib-lowlevel.h (the latter is needed
20570 for dbus_connection_setup_with_g_main at present).
20571 (nmwa_dbus_update_wireless_network_list): Parenthesize
20572 assignment in conditional.
20573 (nmwa_dbus_worker): Return NULL.
20575 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20576 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20577 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20578 (nmwa_populate_menu): Return NULL on failure, instead of just
20581 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20583 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20586 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20589 2004-08-29 Colin Walters <walters@verbum.org>
20591 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20592 a GTimeVal instead of time_t. This is easier to work with,
20593 since time_t may be a long or double, we don't know.
20595 * src/NetworkManagerDbus.h: Update prototype.
20597 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20599 (nm_ap_get_timestamp): Update to return GTimeVal.
20600 (nm_ap_set_timestamp): Update to take GTimeVal.
20602 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20603 to handle GTimeVal.
20605 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20607 (nm_ap_list_print_members): Fix warnings in printf format.
20609 2004-08-29 Colin Walters <walters@verbum.org>
20611 * panel-applet/NMWirelessApplet.c: Include config.h.
20613 2004-08-29 Colin Walters <walters@verbum.org>
20615 * configure.in: Generate config.h.
20617 * configure.in: Dump dependency on OpenSSL; we can't
20618 use it since this package is GPL:
20619 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20620 Instead, check for libgcrypt, use it if available,
20621 otherwise use included MD5 code.
20623 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20624 Suck in from gnome-keyring, munge a bit.
20626 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20627 gnome-keyring-md5.h gnome-keyring-md5.c.
20628 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20630 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20631 libgcrypt or included gnome-keyring md5 bits.
20632 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20634 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20636 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20638 2004-08-27 Bryan Clark <bclark@redhat.com>
20640 * examples/python/systray/Makefile:
20642 Updated the clean section
20644 * examples/python/systray/trayiconmodule.c:
20645 * examples/python/systray/trayicon.override:
20646 * examples/python/systray/network_tray.py:
20647 * examples/python/systray/eggtrayicon.h:
20648 * examples/python/systray/eggtrayicon.c:
20649 * examples/python/systray/Makefile:
20650 * examples/python/README:
20651 * examples/python/NetworkManager.py:
20652 * examples/python/NMTester.py:
20654 Initial commit of these python example files
20656 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20658 * panel-applet/NMWirelessApplet.c
20659 - Make current device bold
20660 - Show more user-friendly device name if we got one from hal
20662 * panel-applet/NMWirelessAppletDbus.c
20663 - Grab "info.product" key from hal for network devices
20664 - Cache the current active device
20666 2004-08-27 Adam Weinberger <adamw@gnome.org>
20668 * configure.in: Added en_CA to ALL_LINGUAS.
20670 2004-08-27 Christian Rose <menthos@menthos.com>
20672 * configure.in: Added "sv" to ALL_LINGUAS.
20674 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20676 * Tag NetworkManager-0.2
20678 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20680 * initscripts/Makefile.am
20681 * configure.in: Make pass distcheck
20683 * po/ChangeLog: added
20685 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20687 * panel-applet/NMWirelessApplet.c
20688 - Remove debugging code
20689 - Enable device switching from menus
20691 * panel-applet/NMWirelessAppletDbus.[ch]
20692 - Method for asking NM to switch devices
20694 * src/NetworkManagerDevice.c
20695 - Set dev->activating earlier, avoids race between
20696 the dbus signal of "DeviceActivating" and setting
20697 dev->activating (which is what NM's "status" method call
20700 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20702 * panel-applet/NMWirelessApplet.[ch]
20703 - Rework menu code to add devices to menu, and to show
20704 signal strength for each access point. Code cleanups
20707 * panel-applet/NMWirelessAppletDbus.c
20708 - Grab network devices from NetworkManager too
20709 - Grab quality information from NM for wireless networks
20711 * src/NetworkManagerDbus.[ch]
20712 - Add dbus methods for getting the HAL UDI from a device and
20713 for getting its base quality, if its wireless
20714 - Consolidate some functions (wireless network notifications,
20715 device notifications)
20716 - Add method for requesting NM to use a particular device
20718 * src/NetworkManager.c
20719 - Change for function consolidations from NetworkManagerDbus.c
20720 - Implement active device locking and user-requested devices
20721 (ie, tell NM to use a particular device instead of the one
20724 * src/NetworkManagerDevice.c
20725 - Add method for getting the base quality of a device, if its
20727 - Grab device base quailty info from iwlib during scans
20729 * src/NetworkManagerPolicy.c
20730 - Use a user-requested device rather than the auto-chosen device
20733 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20735 * Makefile.am: add po as a supdir
20737 * autogen.sh: use gnome-autogen.sh
20739 * initscript/Gentoo/.cvsignore:
20740 * initscript/RedHat/.cvsignore: Shut up cvs
20742 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20744 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20745 (nmwa_fill): Use gettext.
20747 * configure.in: add gettext support
20749 * po/NetworkManager.pot:
20752 2004-08-26 Seth Nickell <seth@gnome.org>
20754 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20755 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20756 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20757 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20758 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20759 * panel-applet/NMWirelessApplet.h:
20761 Use a menu bar instead of a button for the main clickable
20764 2004-08-25 Dan Williams <dcbw@redhat.com>
20766 * src/NetworkManagerDevice.c
20767 - (nm_device_set_enc_key): always set device to "open" mode instead of
20768 turning encryption off, because the Cisco driver doesn't associate
20769 with WEP-enabled access points unless we are in "open"
20771 2004-08-25 Dan Williams <dcbw@redhat.com>
20773 * src/NetworkManagerWireless.c
20774 - Don't try to defererence blank passphrases
20776 2004-08-25 Dan Williams <dcbw@redhat.com>
20778 * panel-applet/NMWirelessApplet.c
20779 - Rebuild the menu whenever a user clicks
20781 2004-08-25 Dan Williams <dcbw@redhat.com>
20783 * panel-applet/NMWirelessApplet.c
20784 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20785 when NM isn't around or when its not connected
20787 * src/NetworkManagerDevice.c
20788 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20791 2004-08-25 Dan Williams <dcbw@redhat.com>
20793 * panel-applet/NMWirelessAppletDbus.c
20794 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20795 for getting encryption, and don't stop on "val" once we've gotten it
20796 from NetworkManager. Short form: encryption should now show up.
20798 2004-08-25 Dan Williams <dcbw@redhat.com>
20800 * panel-applet/NMWirelessApplet.c
20801 - Set ESSID on a gconf trusted network too when force-setting the wireless
20802 network to associate with
20804 2004-08-25 Dan Williams <dcbw@redhat.com>
20807 - Rework the panel applet to do all DBUS communication in a separate
20810 2004-08-25 Dan Williams <dcbw@redhat.com>
20812 * info-daemon/NetworkManagerInfo.[ch]
20813 - Remove "get_next_priority" function
20815 * info-daemon/NetworkManagerInfoDbus.[ch]
20816 - Convert "priority" functions to "timestamp"
20818 2004-08-25 Dan Williams <dcbw@redhat.com>
20820 * src/NetworkManagerAP.[ch]
20821 - Add a "enc_method_good" member and accessors to an Access Point
20822 to signal when we've found the correct encryption method
20823 for an access point
20824 - Add a "timestamp" member and accessors, remove "priority" member
20825 and accessors (use timestamps instead)
20826 - Rename "wep_key"->"enc_key"
20827 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20828 for a specified encryption method using the access points
20829 source encryption key/passphrase
20831 * src/NetworkManagerAPList.c
20832 - When updating a network with dbus, grab timestamp now instead of
20835 * src/NetworkManagerDBus.[ch]
20836 - Add signal for "DeviceActivating"
20837 - Switch priority->timestamp
20839 * src/NetworkManagerDevice.c
20840 - Change references of "wep_key" -> "enc_key" or "key"
20841 - Signal DeviceActivating when starting activation
20842 - When activating a wireless device, if the access point we are connecting
20843 to is encrypted, and we have a source key, try to generate a mangled
20844 key and use that (ie, generate real WEP key from a passphrase)
20845 - Rework device activation to fallback to other encryption methods if
20846 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20847 first, then if that doesn't work fall back to direct hex key).
20848 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20849 priority. We now prefer the latest access point used, rather than using
20851 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20852 points we've just discovered, and merge in correct info from the global
20855 2004-08-25 Seth Nickell <seth@gnome.org>
20857 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20861 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20862 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20863 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20864 (nm_system_delete_default_route),
20865 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20866 (nm_system_load_device_modules):
20868 2004-08-24 Dan Willemsen <dan@willemsen.us>
20870 * src/NetworkManager.c
20871 src/backends/NetworkManagerGentoo.c
20872 src/backends/NetworkManagerRedHat.c
20873 src/backends/NetworkManagerSystem.h
20874 - Implement preliminary Gentoo support, adding a
20875 nm_system_init function to the backend specification
20878 - Distribution auto-detection, lowercase any user-fed
20881 * initscript/.cvsignore
20882 initscript/Makefile.am
20883 initscript/RedHat/Makefile.am
20884 initscript/RedHat/NetworkManager
20885 initscript/Gentoo/Makefile.am
20886 initscript/Gentoo/NetworkManager
20887 - Refactored initscript code separately for each
20890 2004-08-23 Dan Williams <dcbw@redhat.com>
20894 src/NetworkManagerDevice.c
20895 src/NetworkManager.c
20896 src/NetworkManagerUtils.[ch]
20897 src/backends/NetworkManagerSystem.h
20898 src/backends/NetworkManagerRedHat.c
20899 src/backends/NetworkManagerGentoo.c
20900 - Refactor system-specific code into separate backends for
20903 2004-08-23 Dan Willemsen <dan@willemsen.us>
20905 * dispatcher-daemon/NetworkManagerDispatcher.c
20906 info-daemon/NetworkManagerInfo.[ch]
20907 info-daemon/NetworkManagerInfoDbus.c
20908 info-daemon/NetworkManagerInfoPassphraseDialog.c
20909 src/NetworkManager.c
20910 src/NetworkManagerAP.c
20911 src/NetworkManagerAPList.c
20912 src/NetworkManagerDbus.c
20913 src/NetworkManagerDevice.c
20914 src/NetworkManagerPolicy.c
20915 src/NetworkManagerUtils.[ch]
20916 src/NetworkManagerWireless.c
20917 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20919 * src/NetworkManager.c
20920 - Fixed usage wording for --no-daemon
20922 2004-08-23 Dan Williams <dcbw@redhat.com>
20924 * panel-applet/NMWirelessApplet.c
20925 - Update our state every second to get more responsive panel icon
20926 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20927 was causing our marching ants status blips to never move when
20928 looking for a wireless network
20930 * src/NetworkManagerDevice.c
20931 - (nm_device_activation_begin): return if activation has already begun
20932 - (nm_device_do_normal_scan): merge WEP key and priority from the
20933 trusted/preferred network into the device's access point when the
20934 scan list is processed
20936 2004-08-23 Dan Williams <dcbw@redhat.com>
20938 * initscript/NetworkManager
20939 - Use NMLaunchHelper rather than sleeping
20941 * initscript/NMLaunchHelper.c
20943 - Add helper program that exits only when NM activates a device,
20944 or 10 seconds have passed, whichever happens first. This
20945 stops the boot processes until we have a network connection,
20946 which NM can't do because it daemonizes and brings the connection
20947 up in the background. Allows stuff like NFS to not die.
20949 2004-08-20 Dan Williams <dcbw@redhat.com>
20951 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20952 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20953 for a network, set the essid as well since it may not exist yet
20954 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20955 since WEP keys/passphrases are long and prone to entry-error
20957 * panel-applet/Makefile.am
20958 panel-applet/wired.png
20959 - Add (pulled from system-config-network temporarily)
20961 * panel-applet/NMWirelessApplet.[ch]
20962 - Show wired picture when a wired connection is used
20963 - Rename wireless icon enums, adding WIRELESS
20965 * src/NetworkManagerDevice.c
20966 - (nm_device_activate_wireless): unset encryption before bringing
20967 down the card and setting the essid
20968 - (nm_device_activatin_worker): request a key from the user if the
20969 AP we are connecting to is encrypted but we don't have a key
20971 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20972 strcmp() that prevented a user-entered key from actually getting
20975 2004-08-16 Dan Williams <dcbw@redhat.com>
20977 * initscript/NetworkManager
20978 - Check for /sbin/ip
20979 - Do sysctl magic that network service does
20980 - sleep 4s after start to allow network time to come up [hack]
20984 - Load all network device kernel modules (hal doesn't know devices
20985 are ethernet until the module is loaded, and therefore we don't know)
20987 * src/NetworkManager.c
20988 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20989 network devices, and bring up the loopback device explicitly
20991 * src/NetworkManagerUtils.[ch]
20992 - (nm_enable_loopback): new function
20994 2004-08-13 Dan Williams <dcbw@redhat.com>
20997 panel-applet/Makefile.am
20998 - Fix up cleanfiles and server_DATA/server_in_files
21001 - Update with some comments on theory of operation
21007 2004-08-12 Dan Williams <dcbw@redhat.com>
21009 * info-daemon/passphrase.glade
21010 - Set window title to " "
21012 * panel-applet/Makefile.am
21013 panel-applet/keyring.png
21014 - Deliver to correct place
21016 * panel-applet/NMWirelessApplet.[ch]
21018 - Remove applet->have_active_device as its no longer used
21019 - (nmwa_load_theme): load keyring.png too
21020 - (error_dialog): remove
21021 - (show_warning_dialog): subsume functionality of error dialog too
21022 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
21023 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
21025 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
21026 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
21027 and when we get broadcasts of changed wireless access points only, not when the
21028 user clicks on the button to display the menu (too long of a wait)
21029 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
21030 networks that are encrypted
21031 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
21032 menu item with g_object_set_data()
21034 * panel-applet/NMWirelessAppletDbus.[ch]
21035 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
21036 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
21037 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
21038 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
21039 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
21040 activation/deactivation signals and rebuild the menu when they happen
21042 * src/NetworkManager.c
21043 - (main): use new nm_spawn_process() rather than system()
21045 * src/NetworkManagerDbus.c
21046 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21047 instead. Since we can now force best_aps to stick around, the AP structure to which
21048 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21049 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21050 to freeze the best_ap.
21052 * src/NetworkManagerDevice.[ch]
21053 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21054 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21055 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21058 * src/NetworkManagerUtils.[ch]
21059 - (nm_spawn_process): add replacement for system() usage
21061 2004-08-11 Dan Williams <dcbw@redhat.com>
21063 * panel-applet/NMWirelessApplet.[ch]
21064 - Fix up copyright and credits to include Bastien and Eskil,
21065 who created the gnome-applets wireless applet, from whose
21066 skeleton this one was created
21067 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21068 pixmap to draw is computed during nmwa_update_state()
21069 - Applet now shows itself all the time due to panel packing issues
21070 which caused the applet to previously never come back after hiding.
21071 When a wired device is the active device, the applet shows "not connected"
21073 * panel-applet/NMWirelessAppletDbus.[ch]
21074 - Clean up error messages and show what function they are from
21075 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21076 - Add new device type getters, and a status getter
21078 * src/NetworkManagerDbus.c
21079 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21080 network is actually in the device's ap list
21081 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21083 * src/NetworkManagerDevice.c
21084 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21087 * test/nmclienttest.c
21088 - Report status of NetworkManager too
21090 2004-08-11 Dan Williams <dcbw@redhat.com>
21092 * info-daemon/NetworkManagerInfo.c:
21093 - (main): clean up Seth's code style
21095 * info-daemon/NetworkManagerInfoDbus.c:
21096 - Use the more aptly-named path/service/interface constants from NetworkManager
21097 - Don't return empty strings ("") as object paths ever, instead return errors
21099 * panel-applet/NMWirelessApplet.c:
21100 - Clean up Seth's code style
21102 * src/NetworkManager.[ch]
21103 - (nm_remove_device_from_list): remove anything having to do with pending_device
21104 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21106 * src/NetworkManagerAPList.[ch]
21107 - Move Iter struct right above the iter functions to preserve opacity
21108 - (nm_ap_list_remove_ap): implement
21109 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21110 remove AP if NetworkManagerInfo doesn't know anything about it
21111 - (nm_ap_list_diff): user NMAPList iterators
21112 - (nm_ap_list_print_members): implement debugging function
21114 * src/NetworkManagerDbus.[ch]
21115 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21116 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21117 and move the actual key setting stuff into NetworkManagerDevice.c
21118 - (nm_dbus_get_network_priority): return -1 now on errors
21119 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21120 get lost, and force the active device to update its "best" ap when AP lists change
21121 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21122 method call due to pending_device member removal
21124 * src/NetworkManagerDevice.[ch]
21125 - Move NMDevice structure to the top
21126 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21127 - Remove Pending Action stuff from everywhere
21128 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21129 activation for us. This thread blocks until all conditions for activation have
21130 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21131 then setup up the interface and runs dhclient. We have to do this because there
21132 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21133 run our main loop and respond to dbus method calls or HAL device removals/inserts
21134 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21135 can tell nm_device_activation_worker() that we've got a key
21136 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21137 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21138 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21139 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21141 * src/NetworkManagerPolicy.c
21142 - Remove anything to do with pending_device
21143 - Adjust device activation to deal with activation-in-worker-thread
21145 * src/NetworkManagerUtils.c
21146 - Clean up locking debugging a bit
21148 * src/NetworkManagerWireless.[ch]
21149 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21150 was badly named and is better as a device function
21152 * panel-applet/.cvsignore: add
21154 2004-08-09 Seth Nickell <seth@gnome.org>
21156 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21157 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21159 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21161 Don't load the menus until clicked on (also removes a call outside
21162 normal code paths at first load).
21164 Hide applet when NM is not present.
21166 Improve printf debugging stuff.
21168 2004-08-09 Dan Williams <dcbw@redhat.com>
21170 * dispatcher-daemon/NetworkManagerDispatcher.c:
21171 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21172 - Use constants for NetworkManager interface, service, and path
21174 2004-08-09 Dan Williams <dcbw@redhat.com>
21176 * src/NetworkManagerDbus.c:
21177 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21178 instead return an error message
21179 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21180 on a wired device. Also never return an empty object path, instead return an error message
21182 2004-08-06 Seth Nickell <seth@gnome.org>
21184 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21186 Check the error code when getting a connection.
21188 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21190 Check if the NM service exists when initializing (rather than
21191 assuming it does not).
21193 * src/NetworkManagerDbus.c: (nm_dbus_init):
21195 Don't acquire the well-known service name until we have
21196 registered object/path handlers and can actually receive
21199 2004-08-06 Dan Williams <dcbw@redhat.com>
21204 * src/NetworkManagerPolicy.c
21205 src/NetworkManager.c
21206 - Get access point lists from NetworkManagerInfo on-demand,
21207 and look for ServiceCreate/ServiceDeleted signals to see when
21208 we should query NMI for lists
21209 * src/NetworkManagerAPList.c
21210 - Make sure to init the list's mutex
21211 - Convert traversals of the list over to the list iter functions
21213 * src/NetworkManagerDbus.[ch]
21214 - Use more aptly-named path/service/interface constants
21215 - Treat both active and pending devices the same for "getActiveDevice"
21216 - Add a "status" method returning "connected", "connecting", or "disconnected"
21218 * src/NetworkManagerDevice.c
21219 - Honor "ignored" network list when picking best ap to use
21221 2004-08-06 Seth Nickell <seth@gnome.org>
21225 Autogenerated, remove from CVS.
21229 Don't hardcode automake version.
21232 * info-daemon/Makefile.am:
21233 * info-daemon/NetworkManagerInfo.c: (main):
21235 Use GnomeProgram et al. for doing session management.
21236 Use popt stuff for argument parsing rather than doing
21239 2004-08-05 Dan Williams <dcbw@redhat.com>
21241 * test/nminfotest.c
21242 - Update to new NMI dbus API, check different network types
21244 * info-daemon/NetworkManagerInfoDbus.c
21245 - Update to new NM dbus API, ie network type sent in query message
21247 2004-08-05 Dan Williams <dcbw@redhat.com>
21249 * An assload of changes
21251 2004-08-02 Dan Williams <dcbw@redhat.com>
21254 - new task: proper logging support
21256 * info-daemon/NetworkManagerInfo.c
21257 - Correct spelling of "canceled"
21258 - Correct casting of objects for g_signal_connect()
21260 * info-daemon/NetworkManagerInfoDbus.c
21261 - Add defines for NetworkManager namespace and object path, and use them
21262 - Add filter function to trap new signals from NetworkManager:
21263 WirelessNetworkAppeared, WirelessNetworkDisappeared
21265 * info-daemon/passphrase.glade
21266 - Change name of "ok" button to "Login to Network..."
21269 * src/NetworkManager.c
21270 - Code and debug message cleanups
21271 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21272 - (nm_add_initial_devices) Check returned string array of devices
21273 and don't try to add devices if array is NULL
21274 - (main) Initialize libhal a bit later, make code a bit clearer
21276 * src/NetworkManagerAP.[ch]
21277 - New accessor and data member "matched": used to speed up AP list
21279 - New accessor and data member "enc_method": will be used during key
21280 fallback to cache which passphrase->key conversion actually works
21281 so we don't have to do it every time
21283 * src/NetworkManagerAPList.[ch]
21284 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21285 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21286 between them, and send WirelessNetworkAppeared/Disappeared signals over
21287 dbus in response to those differences
21289 * src/NetworkManagerDbus.[ch]
21290 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21291 make an object path for that access point (NOTE that we don't yet check to
21292 make sure that access point is actually in the device's AP list yet)
21293 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21294 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21295 New: signal appearance/disappearance of wireless networks
21296 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21299 * src/NetworkManagerDevice.[ch]
21300 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21301 - (nm_device_ap_list_get) New: return the AP list (static function)
21302 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21303 new one resulting from the scan with the old one
21305 * src/NetworkManagerWireless.c
21306 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21308 * test/nminfotest.c
21309 - #define object paths and namespaces and use the #defines rather than static strings
21310 - Test out user-key functionality of NetworkManagerInfo too
21312 2004-07-29 Dan Williams <dcbw@redhat.com>
21314 * info-daemon/NetworkManagerInfoDbus.c
21315 src/NetworkManagerDbus.c
21316 - Update to current DBus (ie don't use decomposed paths when registering
21317 object paths/fallbacks)
21319 2004-07-27 Dan Williams <dcbw@redhat.com>
21321 * Remove various Makefile.in files
21324 - Add some more items
21327 - Add checks for OpenSSL/md5 headers and libs
21330 - Use OpenSSL CFLAGS
21332 * src/NetworkManagerAP.[ch]
21333 - Remove 'stamp' functions, replace with 'invalid' functions
21334 to support user cancelling WEP key entry
21336 * src/NetworkManagerDbus.c
21337 - Remove 'stamp' return functions
21338 - Treat returned user key as a passphrase and convert to a WEP key,
21339 but don't actually use the WEP key yet. We use the returned user
21340 key as a hexadecimal WEP key until we can figure out a UI for
21341 passphrase-vs-hex key
21343 * src/NetworkManagerWireless.[ch]
21344 - Add passphrase-to-128bit-key function
21346 2004-07-27 Dan Williams <dcbw@redhat.com>
21349 - Add a couple of items
21351 2004-07-27 Dan Williams <dcbw@redhat.com>
21353 * info-daemon/NetworkManagerInfo.c
21354 - Update allowed network's GConf key when user enters a WEP key explicitly
21356 * info-daemon/NetworkManagerDbus.c
21357 - Fix some comments
21358 - nmi_dbus_get_allowed_networks(): kill warning
21360 2004-07-27 Dan Williams <dcbw@redhat.com>
21362 * initscript/Makefile.in
21365 * initscript/Makefile.am
21366 - Add correct rules to install the init.d initscript
21368 * info-daemon/NetworkManagerInfoDbus.c
21369 - Remove debug fprintf
21371 * src/NetworkManagerDbus.[ch]
21372 - Remove debug fprintfs
21373 - Add macros for NetworkManagerInfo object path/namespace
21374 - Use said macros instead of constant strings
21376 2004-07-27 Dan Williams <dcbw@redhat.com>
21378 * initscript/.cvsignore
21381 * info-daemon/Makefile.am
21382 - Install .glade files and keyring.png
21383 - Fix stupid omission of a \ that caused half the flags not to be
21386 * info-daemon/NetworkManagerInfo.c
21387 - gtk_signal_connect->g_signal_connect
21388 - Alert NetworkManagerInfo to new glade file location
21390 2004-07-27 Dan Williams <dcbw@redhat.com>
21392 * test/nmclienttest.c
21394 - Add missing <dbus/dbus.h> headers
21395 - Add GPL message at top
21397 2004-07-27 Dan Williams <dcbw@redhat.com>
21399 * src/NetworkManagerAPList.[ch]
21401 - Add. Deal with allowed network list additions, deletions, and updates
21403 * dispatcher-daemon/NetworkManagerDispatcher.c
21404 - Add missing <dbus/dbus.h> header
21406 * info-daemon/NetworkManagerInfo.[ch]
21407 - Add missing <dbus/dbus.h> header
21408 - Implement the GConf notify callback to signal NetworkManager of an allowed
21410 - Better error checking
21412 * info-daemon/NetworkManagerInfoDbus.[ch]
21413 - Add missing <dbus/dbus.h> header
21414 - Convert to using dbus_message_append_args/dbus_message_get_args
21415 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21416 that an allowed network changed. We don't want to signal on individual
21417 keys _inside_ an allowed network really, just want NM to query the info
21418 daemon for updated info on all keys.
21419 - Better error checking
21421 * src/NetworkManager.[ch]
21422 - Add missing <dbus/dbus.h> header
21423 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21424 - Zero out NMData structure on free
21425 - No longer use a thread for allowed_ap_list updating, instead its now done
21426 through dbus queries against NetworkManagerInfo
21427 - Populate allowed_ap_list initially before adding existing network devices
21428 to the device list, so wireless devices can get their "best" AP
21430 * src/NetworkManagerDbus.[ch]
21431 - Convert to using dbus_message_append_args/dbus_message_get_args
21432 - Better error checking
21433 - Implement Allowed Network info functions to request allowed network
21434 info from NetworkManagerInfo
21435 - Implement the filter function to process signals from NetworkManagerInfo
21436 about changing allowed networks
21438 * src/NetworkManagerDevice.c
21439 - Fix file descriptor leak in nm_device_update_ip4_address()
21441 2004-07-27 Dan Williams <dcbw@redhat.com>
21446 dispatcher-daemon/.cvsignore
21447 info-daemon/.cvsignore
21448 - Add .cvsignore files to reduce noise when diffing
21450 2004-07-24 Dan Williams <dcbw@redhat.com>
21452 * src/NetworkManager.[ch]
21453 src/NetworkManagerDbus.[ch]
21454 src/NetworkManagerDevice.[ch]
21455 src/NetworkManagerPolicy.c
21456 src/NetworkManagerWireless.[ch]
21457 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21458 - Pass the NMData application data structure through all calls
21459 that need it so we can get rid of nm_get_global_data()
21460 - Change deallocation of the allowed_ap_list GSList in preparation
21461 for not completely clearing it every time we get an update,
21462 but instead getting incremental updates via GConf/dbus
21464 2004-07-22 Dan Williams <dcbw@redhat.com>
21467 - Add checks for GConf libs & headers & flags
21469 * info-daemon/Makefile.am
21470 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21472 * info-daemon/NetworkManagerInfo.[ch]
21473 - Don't use gquarks for data storage, just use normal data storage
21474 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21476 * info-daemon/NetworkManagerDbus.[ch]
21477 - Add method call for getting allowed networks
21478 - Add method calls for getting an allowed network's essid, priority, and key
21479 - Hook the method calls up to GConf
21480 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21481 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21483 * src/NetworkManagerDbus.[ch]
21484 - Switch for enumeration of networks to using essid instead
21488 - Add test program for NetworkManagerInfo
21490 2004-07-19 Dan Williams <dcbw@redhat.com>
21492 * src/NetworkManagerDbus.c
21493 - Switch from indexed device paths to names. Less code, more efficient.
21494 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21496 2004-07-19 Dan Williams <dcbw@redhat.com>
21498 * dispatcher-daemon/NetworkManagerDispatcher.c
21499 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21501 2004-07-19 Dan Williams <dcbw@redhat.com>
21504 - Add info-daemon directory
21507 - Check for glade libs and headers
21508 - Add info-daemon directory
21510 * src/NetworkManagerAP.c
21511 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21512 copied over to the new AP.
21514 * src/NetworkManagerDbus.c
21515 src/NetworkManagerDbus.h
21516 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21517 - Remove nm_dbus_signal_need_key_for_network()
21518 - Add disabled code for asynchronous user wep key callbacks
21519 - Add functions for getting, setting, and cancelling user key operations
21520 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21521 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21523 * src/NetworkManagerDevice.c
21524 src/NetworkManagerDevice.h
21525 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21526 logic is in device activation now
21527 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21528 key is wrong) trigger get-user-key pending action
21529 - Implement get-user-key pending action stuff, tie to dbus messages
21530 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21531 - Add nm_device_ap_list_get_ap_by_essid()
21532 - Instead of copying "best" access points, ref them instead so that the key we set
21535 * src/NetworkManagerPolicy.c
21536 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21537 - Don't cancel pending actions on a device if its the same device as last iteration
21538 - Only promote pending_device->active_device if activation was successfull
21541 - Rename nmclienttest->nmtest
21543 * info-daemon/Makefile.am
21544 info-daemon/NetworkManagerInfo.c
21545 info-daemon/NetworkManagerInfo.h
21546 info-daemon/NetworkManagerInfoDbus.c
21547 info-daemon/NetworkManagerInfoDbus.h
21548 info-daemon/passphrase.glade
21549 info-daemon/NetworkManagerInfo.conf
21550 info-daemon/keyring.png
21551 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21552 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21553 lists to NetworkManager by proxying user's GConf
21556 2004-07-15 Dan Williams <dcbw@redhat.com>
21561 * src/NetworkManager.c
21562 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21563 that doing the deactivation ourselves
21564 - Cancel an pending actions on a device if its being removed
21565 - Break up link state checking a bit, make non-active wireless cards
21566 deactivated to save power
21567 - Remove unused variables
21569 * src/NetworkManager.h
21570 - Add support for "pending" device
21572 * src/NetworkManagerAP.h
21573 src/NetworkManagerAP.c
21574 - Add support for determining whether and AP has encryption enabled or not
21575 - AP address is now "struct ether_addr" rather than a string
21577 * src/NetworkManagerDbus.h
21578 src/NetworkManagerDbus.c
21579 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21580 - Changes for AP address from struct ether_addr->string
21582 * src/NetworkManagerDevice.h
21583 src/NetworkManagerDevice.c
21584 - Remove unused variables, fix warnings
21585 - Add support for Pending Actions (things that block a device from being "active"
21586 until they are completed).
21587 - First pending action: Get a WEP key from the user
21588 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21589 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21590 - Update wireless link checking to try to determine if the AP we are associated
21591 with is correct, but the WEP key we are using is just wrong. If its wrong,
21592 trigger the GetUserKey pending action on the device
21593 - If dhclient can't get an IP address, it brings the device down. Bring it back
21594 up in that case, otherwise we can't scan or link-check on it
21595 - Add IP address change notifications at appropriate points (still needs some work)
21596 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21598 * src/NetworkManagerPolicy.h
21599 src/NetworkManagerPolicy.c
21600 - Split out "best" access point determiniation into separate function
21601 - Make device activation 2-stage: first the device is pending, then
21602 in the next iteration through it becomes "active" unless it has
21605 * src/NetworkManagerUtils.h
21606 src/NetworkManagerUtils.c
21607 - Clean up unused variables and warnings
21608 - Wrap our debug macros in {} to prevent possible confusion
21610 * src/NetworkManagerWireless.c
21611 - Forgot to return current best priority, which lead to last available AP always
21612 being chosen no matter what its priority was. Corrected.
21614 2004-07-15 Dan Williams <dcbw@redhat.com>
21616 * dispatcher-daemon/Makefile.am
21619 * dispatcher-daemon/NetworkManagerDispatcher.c
21620 - Remove unused variables due to warnings
21621 - Fix some comments
21622 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21624 2004-07-06 Dan Williams <dcbw@redhat.com>
21626 * src/NetworkManager.c
21627 - Add IPv4 address update for active device during link state check
21628 - Don't allow wireless cards to be powered up when they are not the
21631 * src/NetworkManagerDbus.c
21632 src/NetworkManagerDbus.h
21633 - Add DBUS IPv4 address change signal
21634 - Add DBUS IPv4 address get method for devices
21636 * src/NetworkManagerDevice.c
21637 - Make setting the WEP key actually work
21638 - Move IP address get/set/update stuff here, per-device
21639 - Power down/bring down wireless device when deactivated
21640 - For scanning wireless devices, if first scan returned ENODATA, try again
21642 * src/NetworkManagerPolicy.c
21643 - Only set the WEP key for an allowed access point if there is one.
21644 We were setting it to be blank if one wasn't specified.
21646 * src/NetworkManagerUtils.h
21647 src/NetworkManagerUtils.c
21648 - Move the IP address stuff to NetworkManagerDevice.c
21650 * dispatcher-daemon/NetworkManagerDispatcher.c
21651 - Add device IPv4 address change notification stuff
21653 2004-07-05 Dan Williams <dcbw@redhat.com>
21655 * dispatcher-daemon/NetworkManagerDispatcher.c
21656 - A bit more descriptive state message
21657 - Don't segfault when reading directory
21659 * src/NetworkManager.h
21660 - Remove NMData desired_ap member, its now
21661 per-device rather than global
21663 * src/NetworkManager.c
21664 - Remove references to desired_ap
21665 - Move the allowed AP list refresh stuff into a thread
21667 * src/NetworkManagerDevice.c
21668 src/NetworkManagerDevice.h
21669 - Each wireless device now has a "best ap"
21670 - Make device activate/deactivate functions per-device
21671 - Make wireless scanning per-device
21672 - Add IPv4 address discover functions, stub IPv6 ones
21673 - Move ethernet address validation functions to NetworkManagerUtils.c
21674 - Add wireless access point accessor function
21675 - Get/Set functions for "best ap"
21677 * src/NetworkManagerPolicy.c
21678 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21679 - Deal with per-device "best ap" rather than data->desired_apa
21680 - Implement allowed access point worker thread
21681 - Add nm_policy_essid_is_allowed() function
21683 * src/NetworkManagerUtils.c
21684 src/NetworkManagerUtils.h
21685 - Add nm_ethernet_address_is_valid() function
21686 - Add IPv4/IPv6 address get functions
21688 * src/NetworkManagerWireless.c
21689 src/NetworkManagerWireless.h
21690 - Move scanning stuff into NetworkManagerDevice.c, per-device
21692 2004-06-29 Dan Williams <dcbw@redhat.com>
21694 * dispatcher-daemon/NetworkManagerDispatcher.c
21695 - Implement script callout functionality
21697 2004-06-24 Dan Williams <dcbw@redhat.com>
21701 - Flush device routes and ip addresses when added to the device list
21703 * NetworkManagerDbus.c
21705 - Add missing returns in the two signal functions
21707 * NetworkManagerPolicy.c
21708 - Spacing and variable cleanups
21710 2004-06-24 Dan Williams <dcbw@redhat.com>
21715 dispatcher-daemon/Makefile.am
21716 dispatcher-daemon/Makefile.in
21717 dispatcher-daemon/NetworkManagerDispatcher.c
21718 - Add a daemon that receives signals from NetworkManager
21719 and will (eventually) call scripts in /etc/somewhere
21720 when devices go up or down.
21724 - Flush device routes and ip addresses when added to the device list
21726 * NetworkManagerDbus.c
21728 - Add missing returns in the two signal functions
21730 * NetworkManagerPolicy.c
21731 - Spacing and variable cleanups
21732 - Rename nm_policy_switch_interface->nm_policy_switch_device
21733 - nm_policy_switch_device():
21734 Use kill (pid) instead of system ("kill <pid>")
21735 - nm_state_modification_monitor():
21736 Add wireless essid to output of debug statements
21737 Correct typo in device compare to switch or not (should be !=)
21738 Don't sleep after sending "no longer active" signal, was useless
21740 2004-06-24 Dan Williams <dcbw@redhat.com>