1 2008-10-30 Dan Williams <dcbw@redhat.com>
3 * libnm-util/libnm-util.ver
4 libnm-util/nm-setting-ip6-config.c
5 libnm-util/nm-setting-ip6-config.h
7 - Make properties private and add accessor functions
8 - Hide IPv6 stuff from public API, it's incomplete and completely unused
10 * libnm-util/nm-connection.c
13 - Ignore IPv6 stuff for now
15 2008-10-30 Dan Williams <dcbw@redhat.com>
17 * libnm-util/libnm-util.ver
18 libnm-util/nm-setting-8021x.c
19 libnm-util/nm-setting-8021x.h
20 - Make properties private and add accessor functions
22 * src/supplicant-manager/nm-supplicant-config.c
23 system-settings/plugins/ifcfg-suse/parser.c
24 - Use 802.1x setting accessors
26 2008-10-30 Dan Williams <dcbw@redhat.com>
28 * libnm-util/libnm-util.ver
29 libnm-util/nm-setting-wireless-security.c
30 libnm-util/nm-setting-wireless-security.h
31 - Make properties private and add accessor functions
33 * libnm-util/nm-setting-wireless.c
34 src/NetworkManagerAP.c
36 src/supplicant-manager/nm-supplicant-config.c
37 system-settings/plugins/ifcfg-fedora/reader.c
38 system-settings/plugins/ifcfg-suse/parser.c
39 - Use wireless security accessors
41 2008-10-30 Dan Williams <dcbw@redhat.com>
43 * src/nm-device-ethernet.c
46 src/ppp-manager/nm-ppp-manager.c
47 - Harmonize return checking of ioctl
49 * system-settings/plugins/ifcfg-fedora/reader.c
50 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
52 2008-10-30 Dan Williams <dcbw@redhat.com>
54 * src/ppp-manager/nm-ppp-manager.c
55 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
56 ppp_generic module to create it (bgo #533064)
58 2008-10-30 Dan Williams <dcbw@redhat.com>
60 Patch from Alexander Sack <asac@canonical.com>
62 Fix "ppp connections don't honour ip4 connection settings"
64 * src/nm-device-ethernet.c
65 - (real_act_stage4_get_ip4_config): merge ip4config settings
66 with results from ppp manager
68 * src/nm-serial-device.c
69 - (real_act_stage4_get_ip4_config): merge ip4config settings
70 with results from ppp manager
72 2008-10-29 Dan Williams <dcbw@redhat.com>
74 * libnm-util/libnm-util.ver
75 libnm-util/nm-setting-ip4-config.c
76 libnm-util/nm-setting-ip4-config.h
77 - Make properties private and add accessor functions
79 * callouts/nm-dispatcher-action.c
80 libnm-glib/libnm-glib-test.c
82 src/NetworkManagerPolicy.c
83 src/NetworkManagerSystem.c
84 src/NetworkManagerUtils.c
85 src/dhcp-manager/nm-dhcp-dhclient.c
86 src/dhcp-manager/nm-dhcp-manager.c
87 src/dnsmasq-manager/nm-dnsmasq-manager.c
90 src/nm-hso-gsm-device.c
93 src/ppp-manager/nm-ppp-manager.c
94 src/vpn-manager/nm-vpn-connection.c
95 system-settings/plugins/ifcfg-fedora/reader.c
96 system-settings/plugins/ifcfg-suse/parser.c
97 system-settings/plugins/ifcfg-suse/plugin.c
98 system-settings/plugins/ifupdown/parser.c
100 vpn-daemons/vpnc/properties/nm-vpnc.c
101 - Use IP4 accessor functions
103 2008-10-29 Tambet Ingo <tambet@gmail.com>
105 Half of it by Dan Williams <dcbw@redhat.com>
107 * libnm-util/libnm-util.ver
108 libnm-util/nm-setting-vpn.c
109 libnm-util/nm-setting-vpn.h
110 - Make properties private and add accessor functions.
112 * src/vpn-manager/nm-vpn-connection.c
113 src/vpn-manager/nm-vpn-manager.c
114 system-settings/plugins/keyfile/reader.c
115 vpn-daemons/openvpn/properties/auth-helpers.c
116 vpn-daemons/openvpn/properties/import-export.c
117 vpn-daemons/openvpn/properties/nm-openvpn.c
118 vpn-daemons/openvpn/src/nm-openvpn-service.c
119 vpn-daemons/pptp/auth-dialog/main.c
120 vpn-daemons/pptp/properties/advanced-dialog.c
121 vpn-daemons/pptp/properties/nm-pptp.c
122 vpn-daemons/pptp/src/nm-pptp-service.c
123 vpn-daemons/vpnc/properties/nm-vpnc.c
124 vpn-daemons/vpnc/src/nm-vpnc-service.c
125 - Use VPN setting accessors.
127 2008-10-28 Dan Williams <dcbw@redhat.com>
129 Patch from Tambet Ingo <tambet@gmail.com>
131 * libnm-util/libnm-util.ver
132 libnm-util/nm-setting-wireless.c
133 libnm-util/nm-setting-wireless.h
134 - Make properties private and add accessor functions
136 * src/NetworkManagerAP.c
139 src/supplicant-manager/nm-supplicant-config.c
140 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
141 system-settings/plugins/ifcfg-fedora/reader.c
142 system-settings/plugins/ifcfg-suse/parser.c
143 system-settings/plugins/ifupdown/parser.c
144 - Use wireless setting accessors
146 2008-10-27 Dan Williams <dcbw@redhat.com>
148 Patch from Tambet Ingo <tambet@gmail.com>
150 * libnm-util/libnm-util.ver
151 libnm-util/nm-setting-ppp.c
152 libnm-util/nm-setting-ppp.h
153 - Make properties private and add accessor functions
155 * src/ppp-manager/nm-ppp-manager.c
156 - Use ppp setting accessors
158 2008-10-27 Dan Williams <dcbw@redhat.com>
160 Patch from Tambet Ingo <tambet@gmail.com>
162 * libnm-util/nm-setting.h
163 libnm-util/nm-setting.c
164 - Make properties private and add accessor functions
166 * libnm-util/nm-connection.c
167 libnm-util/nm-setting-8021x.c
168 libnm-util/nm-setting-cdma.c
169 libnm-util/nm-setting-connection.c
170 libnm-util/nm-setting-gsm.c
171 libnm-util/nm-setting-ip4-config.c
172 libnm-util/nm-setting-ip6-config.c
173 libnm-util/nm-setting-ppp.c
174 libnm-util/nm-setting-pppoe.c
175 libnm-util/nm-setting-serial.c
176 libnm-util/nm-setting-template.c
177 libnm-util/nm-setting-vpn.c
178 libnm-util/nm-setting-wired.c
179 libnm-util/nm-setting-wireless-security.c
180 libnm-util/nm-setting-wireless.c
181 system-settings/plugins/keyfile/reader.c
182 system-settings/plugins/keyfile/writer.c
183 - Use setting accessors
185 2008-10-27 Dan Williams <dcbw@redhat.com>
187 * libnm-util/libnm-util.ver
188 libnm-util/nm-setting-connection.c
189 libnm-util/nm-setting-connection.h
190 - Add a 'read-only' property that indicates the connection cannot be
193 * system-settings/plugins/ifcfg-fedora/reader.c
194 system-settings/plugins/ifcfg-suse/parser.c
195 system-settings/plugins/ifupdown/parser.c
196 - These plugins are read-only at the moment
198 * system-settings/plugins/keyfile/reader.c
199 system-settings/plugins/keyfile/writer.c
200 - Read-only shouldn't get saved out to files or read in from them
202 2008-10-27 Tambet Ingo <tambet@gmail.com>
204 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
205 correct speed reporting for fast devices (kernel >= 2.6.27).
207 2008-10-26 Dan Williams <dcbw@redhat.com>
209 Attempt to compensate for modems that don't enable full AT parsing before
210 the PIN has been entered.
212 * src/nm-gsm-device.c
213 - (init_modem): accept different init strings
214 - (init_done): try different init strings on failure
215 - (check_pin_done): on PIN success, do full modem init
217 2008-10-26 Dan Williams <dcbw@redhat.com>
219 Patch from Tambet Ingo <tambet@gmail.com>
221 * libnm-util/libnm-util.ver
222 libnm-util/nm-setting-connection.c
223 libnm-util/nm-setting-connection.h
224 - Make properties private and add accessor functions
226 * src/NetworkManagerPolicy.c
228 src/nm-device-ethernet.c
229 src/nm-device-interface.c
233 src/ppp-manager/nm-ppp-manager.c
234 src/vpn-manager/nm-vpn-connection.c
235 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
236 system-settings/plugins/ifcfg-fedora/plugin.c
237 system-settings/plugins/ifcfg-fedora/reader.c
238 system-settings/plugins/ifcfg-suse/parser.c
239 system-settings/plugins/ifupdown/parser.c
240 system-settings/plugins/keyfile/nm-keyfile-connection.c
241 system-settings/plugins/keyfile/plugin.c
242 system-settings/plugins/keyfile/writer.c
243 system-settings/src/main.c
244 - Use those accessors
246 2008-10-26 Dan Williams <dcbw@redhat.com>
248 Patch from Tambet Ingo <tambet@gmail.com>
250 * libnm-util/libnm-util.ver
251 libnm-util/nm-setting-gsm.c
252 libnm-util/nm-setting-gsm.h
253 - Make properties private and add accessor functions
255 * src/nm-gsm-device.c
256 src/nm-hso-gsm-device.c
257 src/ppp-manager/nm-ppp-manager.c
258 - Use those accessors
260 2008-10-26 Dan Williams <dcbw@redhat.com>
262 Patch from Tambet Ingo <tambet@gmail.com>
264 * libnm-util/libnm-util.ver
265 libnm-util/nm-setting-cdma.c
266 libnm-util/nm-setting-cdma.h
267 - Make properties private and add accessor functions
269 * src/nm-cdma-device.c
270 src/ppp-manager/nm-ppp-manager.c
271 - Use those accessors
273 2008-10-26 Dan Williams <dcbw@redhat.com>
275 Patch from Tambet Ingo <tambet@gmail.com>
277 * libnm-util/libnm-util.ver
278 libnm-util/nm-setting-pppoe.c
279 libnm-util/nm-setting-pppoe.h
280 - Make properties private and add accessor functions
282 * src/nm-device-ethernet.c
283 src/ppp-manager/nm-ppp-manager.c
284 - Use those accessors
286 2008-10-26 Dan Williams <dcbw@redhat.com>
288 Patch from Tambet Ingo <tambet@gmail.com>
290 * libnm-util/libnm-util.ver
291 libnm-util/nm-setting-wired.c
292 libnm-util/nm-setting-wired.h
293 - Make properties private and add accessor functions
295 * src/nm-device-ethernet.c
296 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
297 system-settings/plugins/ifcfg-suse/parser.c
298 system-settings/src/main.c
299 - Use those accessors
301 2008-10-26 Dan Williams <dcbw@redhat.com>
303 Patch from Tambet Ingo <tambet@gmail.com>
305 * libnm-util/libnm-util.ver
306 libnm-util/nm-setting-serial.c
307 libnm-util/nm-setting-serial.h
308 src/nm-serial-device.c
309 - Make properties private and use accessors instead
311 2008-10-26 Dan Williams <dcbw@redhat.com>
313 * src/supplicant-manager/nm-supplicant-interface.c
314 src/supplicant-manager/nm-supplicant-interface.h
315 src/supplicant-manager/nm-supplicant-manager.c
316 src/supplicant-manager/nm-supplicant-manager.h
317 - Add state-to-string conversion functions
319 * src/nm-device-wifi.c
320 src/nm-device-ethernet.c
321 - Normalize state info logging and use strings instead of numbers
323 2008-10-26 Dan Williams <dcbw@redhat.com>
325 * src/NetworkManagerPolicy.c
326 - (update_routing_and_dns): ignore host routes when determining whether
327 a VPN connection should own the default route (bgo #552594)
329 2008-10-24 Dan Williams <dcbw@redhat.com>
331 * src/nm-gsm-device.c
332 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
334 2008-10-23 Dan Williams <dcbw@redhat.com>
336 * src/ppp-manager/nm-ppp-manager.c
337 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
338 add really important stuff to the command line to ensure that NM
339 overrides /etc/ppp/options (bgo #556781)
341 2008-10-22 Dan Williams <dcbw@redhat.com>
343 * src/NetworkManagerSystem.c
345 - Use the device's IP interface where appropriate (Per Hallsmark)
347 2008-10-22 Dan Williams <dcbw@redhat.com>
349 * src/nm-gsm-device.c
350 - (schedule_automatic_registration_again): use a short timeout here
351 instead of an idle handler to avoid using too much CPU polling for
352 something we should be waiting a bit for anyway
354 2008-10-22 Dan Williams <dcbw@redhat.com>
356 * include/NetworkManager.h
357 introspection/nm-device.xml
358 - Add device state change reason for carrier changes
360 * src/nm-device-ethernet.c
361 - (set_carrier): use the carrier change reason when changing device
362 state in response to carrier changes
364 2008-10-21 Dan Williams <dcbw@redhat.com>
366 * src/NetworkManagerPolicy.c
367 - (update_etc_hosts): don't leak errors, and ensure that
368 g_file_set_contents() gets a valid error placeholder (rh #461933)
370 2008-10-21 Dan Williams <dcbw@redhat.com>
373 - (free_get_settings_info): don't use the DBusGProxy which could be
374 disposed of by the time the function is called
375 - (internal_new_connection_cb): save connection scope
376 - (connection_get_settings_cb): don't replace a connection unless it's
377 actually different from the existing one; fixes an issue where
378 killing the settings service wouldn't deactivate an active connection
379 provided by that settings service, because it was using a connection
380 that had already been replaced in the system or user hash
382 2008-10-21 Dan Williams <dcbw@redhat.com>
384 * src/NetworkManager.c
385 - (main): keep the DHCP manager around since it's a singleton; fixes
386 a use-after-free exposed by r4196 since the DHCP manager singleton
387 variable isn't cleared when the DHCP manager object is finalized
389 2008-10-20 Dan Williams <dcbw@redhat.com>
391 * libnm-util/nm-setting-wireless-security.c
392 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
394 2008-10-20 Dan Williams <dcbw@redhat.com>
396 * src/supplicant-manager/nm-supplicant-config.c
397 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
399 2008-10-20 Dan Williams <dcbw@redhat.com>
401 * src/dhcp-manager/nm-dhcp-manager.c
402 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
403 manager object already refs it once
404 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
405 also get cleaned up by nm_dhcp_device_destroy() to prevent
408 2008-10-20 Dan Williams <dcbw@redhat.com>
411 - (initial_get_connections): use private dbus manager, don't keep
412 ref-ing the singleton. Fixes mismatched refcounts of the dbus
415 2008-10-18 Dan Williams <dcbw@redhat.com>
417 * libnm-glib/nm-settings.c
418 libnm-glib/nm-settings.h
419 - Rename the "get_secrets" virtual function "service_get_secrets" to
420 clarify when it's used; NMExportedConnetion is a base-class for both
421 the client and service side, which is sort of confusing, and
422 get_secrets only makes sense on the service side.
424 * libnm-glib/nm-dbus-connection.c
425 - (get_secrets): remove, unused, and clients need to do extra work to
426 get secrets anyway since the call can block on the remote side
428 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
429 system-settings/plugins/keyfile/nm-keyfile-connection.c
430 - Fix up for get_secrets -> service_get_secrets
432 2008-10-16 Dan Williams <dcbw@redhat.com>
434 * src/nm-device-wifi.c
435 - (constructor): correctly determine encryption capabilities
437 2008-10-15 Dan Williams <dcbw@redhat.com>
439 * src/nm-device-wifi.c
440 - (wireless_qual_to_percent): fix quality calculation in a fallback case
443 2008-10-15 Dan Williams <dcbw@redhat.com>
445 * src/NetworkManagerSystem.c
446 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
447 if the ip4_dest is in a smaller subnet contained within a subnet
448 the machine is currently on, the destination is in the same subnet
449 - (nm_system_device_set_ip4_route): move subnet checks to callers
450 - (add_vpn_gateway_route): check if the VPN gateway is in the same
451 subnet as the parent device, and if so, don't add the direct
452 host route via the parent device's gateway (bgo #481620)
453 - (nm_system_apply_ip4_config): check whether the route to be added
454 is contained within a subnet the device is already on
456 2008-10-11 Dan Williams <dcbw@redhat.com>
458 * include/NetworkManager.h
459 introspection/nm-device.xml
460 include/NetworkManagerVPN.h
461 - Add a few more state reasons for the device deactivated state
463 * src/nm-device-interface.c
464 src/nm-device-interface.h
465 - (nm_device_interface_deactivate): add a 'reason' argument
469 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
470 - (nm_device_state_changed): pass the state change reason to
471 nm_device_take_down()
472 - (nm_device_set_managed): take a 'reason' argument, and pass it along
473 to the state change function
477 - (remove_one_device, handle_unmanaged_devices, sync_devices,
478 impl_manager_sleep): pass a reason code to nm_device_set_managed()
479 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
480 something reasonable along to VPN deactivation
482 * src/vpn-manager/nm-vpn-manager.c
483 src/vpn-manager/nm-vpn-manager.h
484 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
485 pass that along to nm_vpn_connection_disconnect()
487 2008-10-11 Dan Williams <dcbw@redhat.com>
489 * src/nm-device-wifi.c
490 - (can_scan): remove old madwifi hack for not scanning while connected
492 2008-10-11 Dan Williams <dcbw@redhat.com>
494 Add support for VPN subnet gateways (bgo #549196)
496 * include/NetworkManager.h
497 - Add key for internal VPN subnet gateway
499 * src/vpn-manager/nm-vpn-connection.c
500 - (ip_address_to_string): return a const from a static buffer so we
501 don't leak a lot of strings
502 - (print_vpn_config): print internal VPN gateway as well
503 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
505 - (nm_vpn_connection_get_ip4_internal_gateway): new function
507 * src/NetworkManagerSystem.c
508 src/NetworkManagerSystem.h
509 - (nm_system_device_replace_default_ip4_route): split into two, one for
510 VPN connections and one for normal devices
511 - (replace_default_ip4_route): break out route stuff into its own function
512 - (nm_system_replace_default_ip4_route_vpn,
513 nm_system_replace_default_ip4_route): simplify by having two cases,
514 one for VPNs and one for normal devices
516 * src/NetworkManagerPolicy.c
517 - (update_routing_and_dns): simplify, use split default route replacement
520 2008-10-10 Dan Williams <dcbw@redhat.com>
522 Rework default route handling to consolidate decisions in the policy,
523 and to take active VPN connections into account when changing the default
526 * src/NetworkManager.c
527 - (main): pass the vpn_manager to the policy so it knows about active
528 VPN connections; clean up the named manager which wasn't done before
530 * src/NetworkManagerPolicy.c
531 src/NetworkManagerPolicy.h
532 - (nm_policy_new): get a clue about the vpn_manager
533 - (update_default_route): remove, fold into update_routing_and_dns()
534 - (update_routing_and_dns): handle active VPN connections too; an
535 active VPN connection becomes the default route if it does not have
536 server-specified or user-specified custom routes. Otherwise, the
537 best active device gets the default route
538 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
539 nm_policy_destroy): track VPN connection activation and deactivation
540 and update the default route when appropriate
542 * src/NetworkManagerSystem.c
543 src/NetworkManagerSystem.h
544 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
545 in the VPN connection itself
546 - (nm_system_vpn_device_set_from_ip4_config,
547 nm_system_device_set_from_ip4_config): merge together to make
548 nm_system_apply_ip4_config()
549 - (add_vpn_gateway_route): add a route to the VPN's external gateway
550 via the parent device
551 - (nm_system_apply_ip4_config): simplify
552 - (add_ip4_route_to_gateway): new function; add a direct route to the
554 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
555 route stuff out into add_ip4_route_to_gateway() for clarity
558 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
560 * src/vpn-manager/nm-vpn-connection.c
561 src/vpn-manager/nm-vpn-connection.h
562 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
563 nm_vpn_connection_get_parent_device): add
564 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
566 - (connection_state_changed): update the named manager now that
567 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
570 * src/vpn-manager/nm-vpn-manager.c
571 src/vpn-manager/nm-vpn-manager.h
572 - Add a 'connection-activated' signal
573 - (nm_vpn_manager_get_active_connections): new function; mainly for the
574 policy to find out about active VPN connections
576 2008-10-10 Tambet Ingo <tambet@gmail.com>
578 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
579 a daemon to prevent NM logging spew on console on startup and shutdown (due
580 to dependency loop between NM and syslog).
582 2008-10-10 Alexander Sack <asac@ubuntu.com>
584 Implement managed mode. We bind devices configured in /etc/network/interfaces
585 to their connections by updating wired/wireless setting with the
586 mac address of the device.
588 * system-settings/plugins/ifupdown/plugin.c
589 - (get_net_address_for_udi): implement function to retrieve MAC
590 address of udi from hal in GByteArray format
591 - (bind_device_to_connection): bind mac address of device to
592 wired/wireless system connection
593 - (hal_device_added_cb): call bind_device_to_connection for
594 system connections with a matching interface.name
595 - (hal_device_added_cb): ensure that all code paths
596 properly free the "iface" string.
598 2008-10-10 Alexander Sack <asac@ubuntu.com>
600 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
601 mode of the ifupdown system config plugin.
603 * system-settings/plugins/ifupdown/plugin.c
604 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
605 private unmanage_well_known state field accordingly
607 2008-10-10 Alexander Sack <asac@ubuntu.com>
609 Implement unmanaged mode that will prevent all devices in the
610 well_known_udis set from being touched by NetworkManager
612 * system-settings/plugins/ifupdown/plugin.c
613 - (typedef struct SCPluginIfupdownPrivate): add gboolean
614 unmanage_well_known field used to turn on/off unmanaged
616 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
617 signal when well_known_udis get added/removed
618 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
619 if we are in unmanaged mode
621 2008-10-10 Alexander Sack <asac@ubuntu.com>
623 Add support to track network devices that have a configuration
624 with a matching interface.name in /etc/network/interfaces
626 * system-settings/plugins/ifupdown/plugin.c
627 - (typedef struct SCPluginIfupdownPrivate): add hash table
628 to track |well_known_udis|
629 - (get_iface_for_udi): helper function to get interface.name
631 - (hal_device_added_cb, hal_device_removed_cb): callbacks
632 that add and remove devices to and from the well_known_udis
633 set depending on whether their |interface.name| matches
634 any interface definition in /etc/network/interfaces
635 - (SCPluginIfupdown_init): connect callbacks from above with
636 hal_mgr and setup well_known_udis hashtable
637 - (GObject__dispose): destroy well_known_udis hashtable
638 - (hal_device_added_cb2): implement wrapper callback with GFunc
639 signature. user_data is supposed to be a triple (hal_mgr,
641 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
642 startup and call hal_device_added_cb2
644 2008-10-10 Alexander Sack <asac@ubuntu.com>
646 Remove implementation for not used NMSystemConfigInterface callback functions
649 * system-settings/plugins/ifupdown/plugin.c
650 - (SCPluginIfupdown_unmanaged_devices_changed): removed
651 - (SCPluginIfupdown_connection_added): removed
653 2008-10-08 Dan Williams <dcbw@redhat.com>
655 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
657 * src/NetworkManagerUtils.c
658 - (nm_utils_call_dispatcher): add a 'hostname' action
660 * src/NetworkManagerPolicy.c
661 - (set_system_hostname): dispatch hostname changes
663 * callouts/nm-dispatcher-action.c
664 - (nm_dispatcher_action): handle 'hostname' actions
666 2008-10-08 Dan Williams <dcbw@redhat.com>
668 * src/NetworkManagerSystem.c
669 - (find_route): ref the route so it doesn't get destroyed when the cache
671 - (nm_system_device_set_priority): unref the route here after it's done
674 2008-10-08 Dan Williams <dcbw@redhat.com>
676 * src/nm-serial-device.c
677 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
679 2008-10-08 Tambet Ingo <tambet@gmail.com>
681 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
682 connection with new settings before saving it.
684 2008-10-06 Dan Williams <dcbw@redhat.com>
686 * src/nm-ip4-config.c
688 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
690 * src/nm-device-interface.c
691 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
692 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
693 by using '/' for the object path
696 - (src/nm-device.c): marshal missing/unexported ip4-config through
697 dbus as '/' since dbus-glib can't handle NULL objects nor can
698 dbus handle NULL object paths
700 2008-10-03 Alexander Sack <asac@ubuntu.com>
702 Implement system hostname support for debian/ubuntu
704 * system-settings/plugins/ifupdown/plugin.c
705 - (GObject__get_property): extend announced capabilities; add
706 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
707 - (GObject__set_property,write_system_hostname): implement
708 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
709 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
710 update_system_hostname, get_hostname):
711 implement hostname property that watches and
714 2008-10-03 Alexander Sack <asac@ubuntu.com>
716 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
717 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
718 system-settings/plugins/ifcfg-fedora/Makefile.am
719 system-settings/src/nm-inotify-helper.c
720 system-settings/src/nm-inotify-helper.h
722 - Move ifcfg-fedora inotify helpers to the system settings service so
723 they are available to all plugins
725 2008-10-03 Alexander Sack <asac@ubuntu.com>
727 Implement support for wep-tx-keyidx in ifupdown system
730 * system-settings/plugins/ifupdown/parser.c
731 - (update_wireless_security_setting_from_if_block): introduce
732 free_type_mapping func table; rename a few local
733 variables to improve readability; add wpa security mapping
734 for wep-tx-keyidx property
735 - (string_to_gpointerint): new function used for the auto_type_mapping
736 of new wep-tx-keyidx property
737 - (slist_free_all): free func used for mapped slist types
739 2008-10-03 Alexander Sack <asac@ubuntu.com>
741 * system-settings/src/main.c:
742 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
743 always used as the hash key; fixes a crash when removing wired
746 2008-10-02 Dan Williams <dcbw@redhat.com>
748 * src/nm-gsm-device.c
749 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
750 pass the required GSM secret along via user_data rather than keeping
751 it around in the private data where it sometimes didn't get cleared
752 - (real_get_ppp_name): implement using the GSM username
754 2008-10-02 Dan Williams <dcbw@redhat.com>
756 * src/ppp-manager/nm-ppp-manager.c
757 src/ppp-manager/nm-ppp-manager.h
758 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
759 the settings daemon for completely new ones
760 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
761 local PPP peer name; allow PPP debuging by launching NM with
762 the environment variable NM_PPP_DEBUG defined
763 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
764 create_pppd_cmd_line()
766 * src/nm-serial-device.c
767 src/nm-serial-device.h
768 - New 'get_ppp_name' function for subclasses to implement to return the
770 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
771 and pass that name to the PPP manager
773 * src/nm-device-ethernet.c
774 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
777 * src/nm-cdma-device.c
778 - (real_get_ppp_name): implement using the CDMA username
780 2008-10-02 Dan Williams <dcbw@redhat.com>
782 Patch from Alexander Sack <asac ubuntu com>
784 * system-settings/plugins/ifupdown/parser.c
785 - Implement more graceful ip4 config parsing for cases where
786 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
787 by using default values
789 2008-10-02 Dan Williams <dcbw@redhat.com>
791 * src/NetworkManagerPolicy.c
792 - (device_state_changed): when marking a connection invalid, clear its
793 secrets too so that fresh secrets get requested the next time
795 2008-10-01 Dan Williams <dcbw@redhat.com>
797 * system-settings/src/dbus-settings.c
798 - (nm_sysconfig_settings_init): cache system hostname on startup as
799 a fallback if no plugin provides a hostname
800 - (get_property): fall back to cached hostname if no plugin provides
803 2008-10-01 Dan Williams <dcbw@redhat.com>
805 Fix setting value comparison issue that caused some settings to look the
806 same when they were really different (rh #464417)
808 * libnm-util/nm-param-spec-specialized.c
809 - (type_is_fixed_size): return fundamental size of the fixed type too
810 - (nm_gvalues_compare_collection): use the fundamental fixed type size
811 in the comparison so that the _entire_ fixed type collection gets
812 compared rather than just the first 'len1' bytes
814 2008-09-30 Dan Williams <dcbw@redhat.com>
816 * src/NetworkManagerPolicy.c
817 - (lookup_thread_worker): don't store the idle handler ID becuase the
818 idle handler could have already run and freed the LookupThread
821 2008-09-30 Tambet Ingo <tambet@gmail.com>
823 * src/nm-device.c (nm_device_get_priority): Implement.
824 (nm_device_set_ip4_config): Send the device priority to system ip4
827 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
828 Add priority argument and if it's >= 0, set the priority of the network
829 route added automatically by netlink (or kernel?).
830 (nm_system_device_set_priority): Implement.
832 * src/NetworkManagerPolicy.c (get_best_device): Use
833 nm_device_get_priority() instead of home-grown version. Revert the
834 meaning, best priority is the lowest one.
836 2008-09-29 Dan Williams <dcbw@redhat.com>
838 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
839 when it returns EAGAIN (rh #362421)
841 * src/nm-device-wifi.c
842 - (wireless_get_range): try GIWRANGE a few times until the card responds
843 - (real_get_generic_capabilities, constructor): use wireless_get_range()
845 2008-09-28 Dan Williams <dcbw@redhat.com>
847 * src/nm-serial-device.c
848 src/nm-serial-device.h
849 - (nm_serial_device_close): stop PPP manager here so that PPP gets
850 cleaned at the right times when subclasses close the serial port too
851 - (nm_serial_device_send_command): use a default send delay; don't
852 spin forever on EAGAIN
853 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
854 remove, no longer used
855 - (find_response): return the matched response if any
856 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
858 - (wait_for_reply_done): pass the matched response to the callback
859 - (wait_for_reply_got_data): save the matched response; simplify timeout
861 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
862 const since they never get modified
863 - (cleanup_device): split out common cleanup stuff to a new function
864 - (real_deactivate_quickly, finalize): use cleanup_device()
866 * src/nm-gsm-device.c
867 - (modem_get_reply): remove, unused
868 - (set_apn): give the card a bit more time to respond
869 - (manual_registration_again, schedule_manual_registration_again,
870 manual_registration_response, manual_registration): handle manual
871 registration timeouts better by retrying registration a few times
872 because cards are a bit slow after CFUN=1
873 - (automatic_registration_get_network, get_network_response): use
874 modem_wait_for_reply() because it interacts better with the serial
875 buffer and does more intelligent matching; need to wait for 'OK'
876 rather than just matching terminators
877 - (schedule_automatic_registration_again,
878 automatic_registration_response, automatic_registration): retry
879 registration a few times on timeout or "searching" because cards
880 take a bit to find a network after being powered up with CFUN=1
881 - (power_up_response, power_up, init_full_done, enter_pin,
882 check_pin_done): power up the card with CFUN=1 before trying to
883 register with the network
884 - (init_modem_full, init_modem): use more standard 3G init strings
886 * src/nm-hso-gsm-device.c
887 - (modem_get_reply): remove, unused
888 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
889 modem_wait_for_reply() to match actual responses instead of single
890 termination characters; it doesn't leave stuff in the serial buffer
891 that might confuse later calls
892 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
893 to ensure that the call is really disconnected and not leave extra
894 stuff in the serial buffer
896 * src/nm-cdma-device.c
897 - (power_up_response, power_up, init_done): try Sierra-style modem
898 power up before attempting to connect
900 2008-09-27 Dan Williams <dcbw@redhat.com>
902 * libnm-util/nm-setting-gsm.c
903 - (verify): verify GSM network ID
905 2008-09-25 Dan Williams <dcbw@redhat.com>
907 * libnm-util/nm-setting-gsm.c
908 libnm-util/nm-setting-gsm.h
909 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
910 technology terms (bgo #551361)
912 2008-09-25 Dan Williams <dcbw@redhat.com>
914 Fix bgo #549401 (inspired by patch from Alexander Sack)
916 * src/nm-device-ethernet.c
917 - (finish_supplicant_task): clean up scheduled tasks and free memory
918 - (remove_supplicant_interface_error_handler): remove the supplicant
919 error idle callback too
920 - (supplicant_interface_release): rename from supplicant_interface_clean
921 to match nm-device-wifi.c; clean up supplicant interface-related
922 state tasks when the supplicant interface is disposed of
923 - (schedule_state_handler): add scheduled tasks to a list so they can
925 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
926 supplicant_iface_connection_state_cb_handler): use
927 finish_supplicant_task() to clean up each completed task
928 - (supplicant_iface_connection_error_cb_handler,
929 supplicant_connection_timeout_cb): clear source id when the task is
931 - (supplicant_iface_connection_error_cb): save scheduled task id for
933 - (nm_device_ethernet_dispose): clean up any pending supplicant state
936 * src/nm-device-wifi.c
937 - (finish_supplicant_task): clean up scheduled tasks and free memory
938 - (remove_supplicant_interface_error_handler): remove the supplicant
939 error idle callback too
940 - (supplicant_interface_release): clean up supplicant interface-related
941 state tasks when the supplicant interface is disposed of
942 - (schedule_state_handler): add scheduled tasks to a list so they can
944 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
945 supplicant_iface_connection_state_cb_handler): use
946 finish_supplicant_task() to clean up each completed task
947 - (supplicant_iface_connection_error_cb_handler): clear source id when
949 - (supplicant_iface_connection_error_cb): save scheduled task id for
951 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
953 2008-09-24 Tambet Ingo <tambet@gmail.com>
955 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
956 method and get/set hostname property.
958 2008-09-24 Tambet Ingo <tambet@gmail.com>
960 * src/supplicant-manager/nm-supplicant-interface.c
961 (nm_supplicant_interface_disconnect): Don't increment the reference
962 count when disconnecting. The problem is on shutdown, when the replies
963 to these commands do not arrive before NM exits, resulting on never
964 calling supplicant interface's dispose(), which removes the interface
967 2008-09-24 Tambet Ingo <tambet@gmail.com>
969 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
970 all the public function arguments.
972 2008-09-22 Tambet Ingo <tambet@gmail.com>
974 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
975 "Failure" signal from VPN plugins, store the failure reason, and
976 use it when the state is changed to failure.
978 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
981 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
982 reason to the end of the list to not break the API.
983 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
984 so it can be shared by plugins and daemon.
986 2008-09-18 Dan Williams <dcbw@redhat.com>
988 Patch from Alexander Sack <asac@ubuntu.com>
991 system-settings/plugins/Makefile.am
992 system-settings/plugins/ifupdown/Makefile.am
993 system-settings/plugins/ifupdown/interface_parser.c
994 system-settings/plugins/ifupdown/interface_parser.h
995 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
996 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
997 system-settings/plugins/ifupdown/parser.c
998 system-settings/plugins/ifupdown/parser.h
999 system-settings/plugins/ifupdown/plugin.c
1000 system-settings/plugins/ifupdown/plugin.h
1001 - Implement a Debian/Ubuntu legacy network configuration plugin
1004 2008-09-18 Dan Williams <dcbw@redhat.com>
1006 Implement support for honoring configured and automatic hostnames, and for
1007 setting the configured hostname.
1009 * introspection/nm-ip4-config.xml
1012 src/dhcp-manager/nm-dhcp-manager.c
1013 - Remove useless hostname property; it's not really part of the IPv4
1016 * introspection/nm-settings-system.xml
1017 libnm-glib/nm-dbus-settings-system.c
1018 libnm-glib/nm-dbus-settings-system.h
1019 - Add SetHostname() call to system settings D-Bus interface
1020 - Add Hostname property to system settings D-Bus interface
1021 - (nm_dbus_settings_system_save_hostname,
1022 nm_dbus_settings_system_get_hostname): implement
1026 - (nm_device_get_dhcp4_config): implement
1030 - Fetch and track system settings service hostname changes, and proxy
1031 the changes via a GObject property of the manager
1033 * system-settings/src/nm-system-config-interface.c
1034 system-settings/src/nm-system-config-interface.h
1035 - Replace nm_system_config_interface_supports_add() with a capabilities
1038 * system-settings/src/nm-system-config-error.c
1039 system-settings/src/nm-system-config-error.h
1040 - Add additional errors
1042 * system-settings/src/dbus-settings.c
1043 system-settings/src/dbus-settings.h
1044 - (get_property, nm_sysconfig_settings_class_init): add hostname
1045 property; first plugin returning a hostname wins
1046 - (impl_settings_add_connection): use plugin capabilities instead of
1047 nm_system_config_interface_supports_add()
1048 - (impl_settings_save_hostname): implement hostname saving
1050 * src/NetworkManagerPolicy.c
1051 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1052 lookup_thread_die): implement an asynchronous hostname lookup thread
1053 which given an IPv4 address tries to look up the hostname for that
1054 address with reverse DNS
1055 - (get_best_device): split out best device code from
1056 update_routing_and_dns()
1057 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1058 to preserve the 127.0.0.1 reverse mapping that so many things require
1059 - (set_system_hostname): set a given hostname
1060 - (update_system_hostname): implement hostname policy; a configured
1061 hostname (from the system settings service) is used if available,
1062 otherwise an automatically determined hostname from DHCP, VPN, etc.
1063 If there was no automatically determined hostname, reverse DNS of
1064 the best device's IP address will be used, and as a last resort the
1065 hostname 'localhost.localdomain' is set.
1066 - (update_routing_and_dns): use get_best_device(); update the system
1067 hostname when the network config changes
1068 - (hostname_changed): update system hostname if the system settings
1069 service signals a hostname change
1070 - (nm_policy_new): list for system settings service hostname changes
1071 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1074 * system-settings/plugins/keyfile/plugin.c
1075 system-settings/plugins/ifcfg-suse/plugin.c
1076 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1077 capabilities properties
1079 * system-settings/plugins/ifcfg-fedora/shvar.c
1080 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1081 writes out /etc/sysconfig/network now
1083 * system-settings/plugins/ifcfg-fedora/plugin.c
1084 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1085 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1086 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1087 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1088 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1089 hostname get/set and capabilities get
1091 2008-09-18 Dan Williams <dcbw@redhat.com>
1093 * libnm-util/nm-setting-wireless.c
1094 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1095 group ciphers if the wireless-security setting explicitly specified
1096 them, effectively making the default be "all ciphers" (idea from
1099 2008-09-15 Dan Williams <dcbw@redhat.com>
1101 Patch from Alexander Sack <asac@ubuntu.com>
1103 * src/named-manager/nm-named-manager.c
1104 - (dispatch_resolvconf): respect resolvconf exit code
1106 2008-09-12 Tambet Ingo <tambet@gmail.com>
1108 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1109 again. Add some debugging.
1111 2008-09-11 Dan Williams <dcbw@redhat.com>
1113 * system-settings/plugins/keyfile/plugin.c
1114 - (update_connection_settings): update connection manually, since
1115 nm_exported_connection_update() does authentication
1116 - (dir_changed): update_connection_settings() doesn't need to return
1119 2008-09-09 Dan Williams <dcbw@redhat.com>
1121 * libnm-glib/nm-vpn-plugin-ui-interface.c
1122 libnm-glib/nm-vpn-plugin-ui-interface.h
1123 libnm-glib/libnm_glib_vpn.ver
1124 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1125 should clean up resources related to the connection (like keyring
1127 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1128 should save user-scope secrets (like to the keyring)
1130 2008-09-08 Dan Williams <dcbw@redhat.com>
1132 Patch from Alexander Sack <asac@ubuntu.com>
1134 * libnm-util/crypto_gnutls.c
1135 libnm-util/crypto_nss.c
1136 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1138 * libnm-util/nm-utils.c
1139 libnm-util/nm-utils.h
1140 libnm-util/libnm-util.ver
1141 - (nm_utils_init): initialize libnm-util
1142 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1144 * libnm-util/nm-setting-8021x.c
1145 - (nm_setting_802_1x_class_init): init libnm-util when needed
1147 2008-09-05 Dan Williams <dcbw@redhat.com>
1149 Patch from Roy Marples <roy@marples.name> and others
1152 src/named-manager/nm-named-manager.c
1153 - Add support for resolvconf; use --with-resolvconf at configure time
1156 2008-09-05 Dan Williams <dcbw@redhat.com>
1158 * libnm-util/crypto_nss.c
1159 libnm-util/crypto_gnutls.c
1161 - (crypto_init): return error when init fails
1163 2008-09-05 Dan Williams <dcbw@redhat.com>
1165 * libnm-glib/nm-device-wifi.c
1166 - (access_point_removed_proxy): clean up the active access point too
1167 just in case the active ap changed signal didn't come through yet
1168 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1170 2008-09-05 Dan Williams <dcbw@redhat.com>
1172 * libnm-glib/nm-client.c
1173 - (constructor): get initial state after we know whether NM is running
1176 2008-09-05 Dan Williams <dcbw@redhat.com>
1178 * libnm-glib/nm-ip4-config.c
1179 libnm-glib/nm-dhcp4-config.c
1180 - (finalize): clean up the DBusGProxy
1182 2008-09-04 Dan Williams <dcbw@redhat.com>
1184 * src/nm-ip4-config.c
1186 - (nm_ip4_config_new): don't export over D-Bus here
1187 - (nm_ip4_config_export): new function; export the config over D-Bus
1188 - (nm_ip4_config_is_exported): new function
1191 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1192 objects by balancing the IP4Config constructor; the device holds
1193 a reference to the IP4Config already
1194 - (nm_device_set_ip4_config): export the IP4Config when needed
1196 2008-09-04 Dan Williams <dcbw@redhat.com>
1198 * src/supplicant-manager/nm-supplicant-settings-verify.c
1199 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1201 2008-09-04 Dan Williams <dcbw@redhat.com>
1203 * libnm-util/nm-setting-vpn.c
1204 libnm-util/nm-setting-vpn.h
1205 - Split VPN secrets from VPN data so that settings services can actually
1206 figure out that they are secrets and store them accordingly
1208 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1209 system-settings/plugins/keyfile/reader.c
1210 system-settings/plugins/keyfile/reader.h
1211 system-settings/plugins/keyfile/writer.c
1212 - Store VPN secrets separately from VPN data so that they can be fetched
1214 - Implement the get_secrets() call so that (a) secrets don't leak out
1215 to unprivileged callers, and (b) secrets can be sent to privileged
1218 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1219 - Handle split VPN secrets
1221 2008-08-27 Dan Williams <dcbw@redhat.com>
1223 * system-settings/plugins/ifcfg-fedora/reader.c
1224 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1226 2008-08-27 Dan Williams <dcbw@redhat.com>
1228 Ensure zombie children get cleaned up. To get notifications when children
1229 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1230 that requires calling waitpid() yourself if you've removed the child watch
1231 handler before the process has actually died, which NM needs to do in a few
1232 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1233 cleans up after the child when required. Should fix problems trying to
1234 activate mobile broadband connections after a previous failure.
1236 * src/dhcp-manager/nm-dhcp-dhclient.c
1237 src/dhcp-manager/nm-dhcp-dhcpcd.c
1238 - Use G_SPAWN_DO_NOT_REAP_CHILD
1240 * src/dhcp-manager/nm-dhcp-manager.c
1241 - (nm_dhcp_device_destroy): ensure child is cleaned up
1242 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1243 block on child quitting, since the non-blocking functionality was
1246 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1247 - (dm_watch_cb): child is already reaped here
1248 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1251 - (aipd_cleanup): block until child is dead
1253 * src/named-manager/nm-named-manager.c
1254 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1255 event bothering to watch the child
1257 * src/ppp-manager/nm-ppp-manager.c
1258 - (ppp_watch_cb): child is already reaped here
1259 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1261 * src/vpn-manager/nm-vpn-service.c
1262 - (vpn_service_watch_cb): child is already reaped here
1263 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1264 status of the child is actually tracked
1265 - (ensure_killed, finalize): block until child is dead
1267 2008-08-26 Dan Williams <dcbw@redhat.com>
1269 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1270 - (update): Update filename of the connection if the connection id
1273 * system-settings/plugins/keyfile/plugin.c
1274 - (dir_changed): first pass at handling connection renames correctly
1276 * system-settings/plugins/keyfile/writer.c
1277 system-settings/plugins/keyfile/writer.h
1278 - (write_connection): replace '/' with '*' when writing out the filename
1279 from the connection id
1281 2008-08-26 Dan Williams <dcbw@redhat.com>
1283 Add connection UUIDs, since connection names can be changed, and since
1284 old-style connection IDs could change over the life of the connection. The
1285 UUID should be assigned at connection creation time, be stable for a given
1286 connection, and should be unique among all connections for a given settings
1290 libnm-util/Makefile.am
1293 * introspection/nm-exported-connection.xml
1294 - Remove "GetID" method
1296 * libnm-glib/nm-dbus-connection.c
1297 libnm-glib/nm-settings.c
1298 libnm-glib/nm-settings.h
1299 - Remove id-related stuff
1301 * libnm-util/nm-utils.c
1302 libnm-util/nm-utils.h
1303 libnm-util/libnm-util.ver
1304 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1305 utility functions to generate UUIDs
1307 * libnm-util/nm-setting-connection.c
1308 libnm-util/nm-setting-connection.h
1309 - Add 'uuid' member to the connection setting
1310 - (verify): require valid 'uuid' for a valid connection
1312 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1313 system-settings/plugins/ifcfg-fedora/reader.c
1314 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1315 system-settings/plugins/ifcfg-suse/parser.c
1316 system-settings/plugins/keyfile/nm-keyfile-connection.c
1317 system-settings/src/main.c
1318 - Remove id-related stuff
1319 - Give connections UUIDs where needed
1321 2008-08-25 Dan Williams <dcbw@redhat.com>
1323 * libnm-util/crypto_gnutls.c
1324 libnm-util/crypto_nss.c
1325 - (crypto_init, crypto_deinit): refcount init/deinit
1326 - (crypto_md5_hash): allow NULL salt
1328 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1330 * libnm-glib/Makefile.am
1331 libnm-util/Makefile.am
1332 libnm-glib/libnm_glib.ver
1333 libnm-glib/libnm_glib_vpn.ver
1334 libnm-util/libnm-util.ver
1335 - Use linker version scripts to control the list of exported
1336 symbols. List each exported symbol explicitely.
1337 * libnm-util/Makefile.am
1338 - Fix compilation of the test-crypto binary. The crypto
1339 functions are no longer part of the libnm-util API. Add
1340 crypto_*.c to test_crypto_SOURCES and link against the correct
1343 2008-08-19 Dan Williams <dcbw@redhat.com>
1347 - Don't build test/test-common
1348 - Remove unused stuff
1350 * test/nm-set-fallback
1351 test/nmtestdevices.c
1352 test/test-common/.cvsignore
1353 test/test-common/Makefile.am
1354 test/test-common/test-common.c
1355 test/test-common/test-common.h
1358 2008-08-18 Dan Williams <dcbw@redhat.com>
1360 * libnm-util/nm-utils.c
1361 libnm-util/nm-utils.h
1362 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1363 export anything that needs to be converted with this function
1365 * src/dhcp-manager/nm-dhcp-manager.c
1366 - (garray_to_string): convert a byte array to a UTF-8 string with
1367 minimal validation; the DHCP client sends it in ASCII anyway
1368 - (get_option, copy_option): use garray_to_string()
1370 2008-08-18 Dan Williams <dcbw@redhat.com>
1372 * include/NetworkManager.h
1373 introspection/nm-device.xml
1374 - Add a "missing firmware" device state reason
1376 * src/NetworkManagerSystem.c
1377 src/NetworkManagerSystem.h
1378 - (nm_system_device_set_up_down): add a no_firmware argument
1379 - (nm_system_device_set_up_down_with_iface): if the result of setting
1380 IFF_UP is ENOENT, that almost always means missing firmware
1382 * src/backends/NetworkManagerGeneric.c
1383 src/nm-device-ethernet.c
1384 src/nm-device-private.h
1385 src/nm-device-wifi.c
1388 src/nm-hso-gsm-device.c
1389 src/vpn-manager/nm-vpn-connection.c
1390 - Pass no_firmware along; check it where appropriate
1392 2008-08-18 Dan Williams <dcbw@redhat.com>
1394 Patch from Robert Buchholz <rbu@gentoo.org>
1398 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1399 1003.1-1988, allowing for file names longer than 99 characters
1401 2008-08-17 Dan Williams <dcbw@redhat.com>
1403 * include/NetworkManager.h
1404 introspection/nm-device.xml
1406 - Finer-grained GSM registration failure error codes
1408 2008-08-17 Dan Williams <dcbw@redhat.com>
1410 * callouts/Makefile.am
1412 - Move dispatcher directory creation to callouts/Makefile.am
1414 * system-settings/plugins/keyfile/Makefile.am
1415 - Create keyfile connections directory in DESTDIR (bgo #546833)
1417 2008-08-15 Dan Williams <dcbw@redhat.com>
1419 Do connection sharing in a cleaner manner; all required iptables rules
1420 are now stored in the activation request and pertain only to the device
1421 which is being shared to other computers. (rh #458625)
1423 * src/nm-activation-request.c
1424 src/nm-activation-request.h
1425 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1426 the activation request which will get torn down automatically when
1427 the activation request dies
1428 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1429 is started, and tear them down when sharing is stopped
1432 - (start_sharing): start up sharing by doing the required iptables magic
1433 - (share_init): poke the right bits of the kernel and load the right
1435 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1436 connection if it's a 'shared' connection
1438 * src/NetworkManagerPolicy.c
1439 - Remove all sharing stuff; done in the device code itself
1441 2008-08-15 Dan Williams <dcbw@redhat.com>
1443 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1444 - (create_dm_cmd_line): send the right router address
1446 2008-08-15 Dan Williams <dcbw@redhat.com>
1448 * src/ppp-manager/nm-ppp-manager.c
1449 - (pppd_timed_out): ensure timeouts fail the connection
1451 2008-08-14 Dan Williams <dcbw@redhat.com>
1453 * src/nm-properties-changed-signal.c
1454 src/nm-properties-changed-signal.h
1455 - Add a property spec flag for "don't export this property" in
1456 property changed signals
1458 * src/nm-hso-gsm-device.c
1460 src/nm-cdma-device.c
1461 - Don't export monitor interface or netdev interface properties
1463 2008-08-14 Dan Williams <dcbw@redhat.com>
1465 * src/NetworkManagerPolicy.c
1466 - (update_routing_and_dns): 'hso' devices can be default even if they
1467 don't have a gateway
1469 2008-08-14 Dan Williams <dcbw@redhat.com>
1472 - (nm_device_deactivate_quickly): tear down activation request after
1473 calling device-specific deactivation
1475 * src/nm-hso-gsm-device.c
1476 - (real_deactivate_quickly): terminate connection when deactivating
1478 2008-08-14 Dan Williams <dcbw@redhat.com>
1480 * src/nm-activation-request.h
1481 - Add HSO secrets caller
1483 * src/nm-gsm-device.c
1485 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1486 something to the callback function
1487 - (set_apn, set_apn_done): call class dial function, not a static one
1488 - (nm_gsm_device_class_init): add a class 'dial' function
1490 * src/nm-hal-manager.c
1491 - (get_hso_netdev): find the hso-driven hardware's net device
1492 - (modem_device_creator): recognize hso-driven hardware and create the
1493 right type of device object for it
1496 src/nm-hso-gsm-device.c
1497 src/nm-hso-gsm-device.h
1498 - Implement support for devices driven by the 'hso' driver as a subclass
1501 2008-08-14 Dan Williams <dcbw@redhat.com>
1503 * src/NetworkManagerSystem.c
1504 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1505 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1506 success if the operation really was successful
1508 2008-08-14 Dan Williams <dcbw@redhat.com>
1510 * src/nm-netlink-monitor.c
1511 src/nm-netlink-monitor.h
1512 src/nm-device-ethernet.c
1513 - (nm_netlink_monitor_request_status): return an error on failure
1514 - (constructor): don't segfault on missing error
1516 2008-08-13 Dan Williams <dcbw@redhat.com>
1518 * callouts/nm-dispatcher-action.c
1519 - Add IP4 config info to script environment
1521 2008-08-12 Dan Williams <dcbw@redhat.com>
1524 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1525 that want to use DHCP hostnames should use dispatcher scripts
1528 * src/NetworkManagerSystem.h
1529 src/backends/NetworkManagerArch.c
1530 src/backends/NetworkManagerDebian.c
1531 src/backends/NetworkManagerFrugalware.c
1532 src/backends/NetworkManagerGeneric.c
1533 src/backends/NetworkManagerGeneric.h
1534 src/backends/NetworkManagerGentoo.c
1535 src/backends/NetworkManagerMandriva.c
1536 src/backends/NetworkManagerPaldo.c
1537 src/backends/NetworkManagerRedHat.c
1538 src/backends/NetworkManagerSlackware.c
1539 src/backends/NetworkManagerSuSE.c
1540 - Remove nm_system_set_hostname(), no longer used
1542 * src/backends/Makefile.am
1543 src/backends/shvar.c
1544 src/backends/shvar.h
1545 - Remove shvar.*; no longer used
1547 2008-08-12 Dan Williams <dcbw@redhat.com>
1549 Revert most of the 'hostname' patch. Too much stuff still breaks when
1550 hostname is updated at runtime. Distros or users who want hostname updates
1551 can use dispatcher scripts to update the hostname if they need it.
1553 2008-08-12 Dan Williams <dcbw@redhat.com>
1555 * introspection/nm-settings-system.xml
1556 system-settings/src/dbus-settings.c
1557 system-settings/src/dbus-settings.h
1558 - Add a 'Hostname' property (rw) which represents the configured
1559 hostname and domain of the system, if any
1561 * system-settings/src/nm-system-config-error.c
1562 system-settings/src/nm-system-config-error.h
1563 system-settings/src/nm-system-config-interface.c
1564 system-settings/src/nm-system-config-interface.h
1565 - Add a 'hostname' property to the plugin interface
1566 - Add a method to send updated hostname to plugins to save in their
1567 backing configuration store
1569 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1570 system-settings/plugins/keyfile/plugin.c
1571 system-settings/plugins/keyfile/writer.c
1572 system-settings/plugins/keyfile/writer.h
1573 system-settings/plugins/ifcfg-suse/plugin.c
1574 - Add minimal hostname support
1576 * system-settings/plugins/ifcfg-fedora/plugin.c
1577 - Add support for updating system hostname in /etc/sysconfig/network
1579 2008-08-12 Dan Williams <dcbw@redhat.com>
1581 * system-settings/plugins/ifcfg-fedora/shvar.c
1582 system-settings/plugins/ifcfg-fedora/shvar.c
1583 - Fix double-free caused by svSetValue() followed by svCloseFile()
1585 2008-08-12 Tambet Ingo <tambet@gmail.com>
1587 * Makefile.am: Fix distcheck.
1589 2008-08-12 Tambet Ingo <tambet@gmail.com>
1591 * libnm-glib/*.c. Document some more.
1593 2008-08-12 Tambet Ingo <tambet@gmail.com>
1595 Start documenting libnm-glib public API using gtk-doc.
1597 * libnm-glib/nm-serial-device.c:
1598 * libnm-glib/nm-object.c:
1599 * libnm-glib/nm-gsm-device.c:
1600 * libnm-glib/nm-device.c:
1601 * libnm-glib/nm-device-wifi.c:
1602 * libnm-glib/nm-device-ethernet.c:
1603 * libnm-glib/nm-client.c:
1604 * libnm-glib/nm-cdma-device.c: Document the public API.
1606 * docs/libnm-glib/libnm-glib.types: Implement.
1608 * docs/libnm-glib/Makefile.am: Implement.
1612 * Makefile.am: Add gtk-doc support.
1614 2008-08-12 Tambet Ingo <tambet@gmail.com>
1616 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1618 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1619 the composite result of all the IP4 configurations and call a distro
1620 specific update_resolv_conf().
1621 (update_resolv_conf): Implement one for directly writing to
1622 /etc/resolv.conf and one for opensuse to call netconfig.
1624 2008-08-11 Dan Williams <dcbw@redhat.com>
1626 * src/ppp-manager/nm-ppp-manager.c
1627 - (impl_ppp_manager_need_secrets): pass interface as required
1629 2008-08-11 Dan Williams <dcbw@redhat.com>
1631 Merge the vpn-properties setting with the vpn setting since it was pointless
1632 to keep both of them around. Convert the vpn 'data' hash table to a hash
1633 of string:string (instead of string:variant) so that system settings plugins
1634 can have an easier time dealing with the arbitrary key/value pairs.
1636 2008-08-11 Dan Williams <dcbw@redhat.com>
1638 * libnm-util/nm-utils.c
1639 - (nm_utils_register_value_transformations): add value transform for
1640 a hash table of string:string
1642 2008-08-10 Dan Williams <dcbw@redhat.com>
1644 * libnm-glib/nm-vpn-plugin.c
1645 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1646 an idle handler so the Connect reply gets delivered before the
1647 stop StateChanged signal
1649 2008-08-10 Dan Williams <dcbw@redhat.com>
1651 * src/nm-ip4-config.c
1652 - (get_property): use common ip4 address/route conversion functions
1653 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1654 copy the new route here, not take ownership
1656 2008-08-08 Tambet Ingo <tambet@gmail.com>
1658 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1659 Update the IP4 setting's method name.
1661 2008-08-07 Dan Williams <dcbw@redhat.com>
1663 * introspection/nm-ip4-config.xml
1664 libnm-glib/libnm-glib-test.c
1665 libnm-glib/nm-ip4-config.c
1666 libnm-glib/nm-ip4-config.h
1667 src/NetworkManagerSystem.h
1668 src/backends/NetworkManagerArch.c
1669 src/backends/NetworkManagerDebian.c
1670 src/backends/NetworkManagerFrugalware.c
1671 src/backends/NetworkManagerGeneric.c
1672 src/backends/NetworkManagerGeneric.h
1673 src/backends/NetworkManagerGentoo.c
1674 src/backends/NetworkManagerMandriva.c
1675 src/backends/NetworkManagerPaldo.c
1676 src/backends/NetworkManagerRedHat.c
1677 src/backends/NetworkManagerSlackware.c
1678 src/backends/NetworkManagerSuSE.c
1679 src/dhcp-manager/nm-dhcp-manager.c
1683 - Remove NIS logic; should be done from dispatcher scripts instead
1685 2008-08-07 Dan Williams <dcbw@redhat.com>
1687 * src/dhcp-manager/nm-dhcp-manager.c
1688 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1689 mis-handling of DHCP responses that returned more than one router
1690 (found by Grant Williamson)
1692 2008-08-07 Dan Williams <dcbw@redhat.com>
1694 * callouts/nm-dispatcher-action.c
1695 - (nm_dispatcher_action): grab device path and create the device; pass
1696 the device's DHCP4 config to script caller
1697 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1700 * libnm-glib/nm-dhcp4-config.c
1701 libnm-glib/nm-dhcp4-config.h
1702 - (nm_dhcp4_config_get_options): expose
1703 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1705 2008-08-07 Dan Williams <dcbw@redhat.com>
1707 * include/NetworkManager.h
1708 - Add the DHCP4Config D-Bus interface
1710 * libnm-glib/Makefile.am
1711 libnm-glib/nm-dhcp4-config.c
1712 libnm-glib/nm-dhcp4-config.h
1713 - Handle DHCP4 config objects exported by NM over D-Bus
1715 * libnm-glib/nm-device.c
1716 libnm-glib/nm-device.h
1717 - Add a 'dhcp4-config' property
1719 * libnm-glib/libnm-glib-test.c
1720 - Print out DHCP4 config for devices
1721 - Fix some crashes when no connections are active
1723 * src/nm-device-interface.c
1725 src/nm-dhcp4-config.c
1726 src/nm-dhcp4-config.h
1727 - Treat dhcp4-config object as an object path at the D-Bus interface so
1728 that when it doesn't exist we can proxy it as "/" which dbus-glib
1729 doesn't let us do when the property type is G_TYPE_OBJECT
1731 2008-08-07 Dan Williams <dcbw@redhat.com>
1733 * src/NetworkManager.c
1734 src/NetworkManagerSystem.h
1735 src/backends/NetworkManagerArch.c
1736 src/backends/NetworkManagerDebian.c
1737 src/backends/NetworkManagerFrugalware.c
1738 src/backends/NetworkManagerGeneric.c
1739 src/backends/NetworkManagerGeneric.h
1740 src/backends/NetworkManagerGentoo.c
1741 src/backends/NetworkManagerMandriva.c
1742 src/backends/NetworkManagerPaldo.c
1743 src/backends/NetworkManagerRedHat.c
1744 src/backends/NetworkManagerSlackware.c
1745 src/backends/NetworkManagerSuSE.c
1746 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1748 2008-08-06 Dan Williams <dcbw@redhat.com>
1750 * libnm-glib/nm-ip4-config.c
1751 libnm-glib/nm-ip4-config.h
1752 - Add 'routes' property
1754 * libnm-util/nm-setting-vpn.c
1755 libnm-util/nm-setting-vpn.h
1756 - Remove 'routes' property
1758 * libnm-util/nm-setting-ip4-config.c
1759 libnm-util/nm-setting-ip4-config.h
1760 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1761 - Add 'ignore-auto-routes' property
1762 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1763 accomodate route metrics
1764 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1766 * libnm-util/nm-utils.c
1767 libnm-util/nm-utils.h
1768 - Add helpers for marshalling IP4 routes
1770 * src/NetworkManagerUtils.c
1771 - (nm_utils_merge_ip4_config): handle property renames and new route
1774 * src/NetworkManagerSystem.c
1775 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1776 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1778 * src/dhcp-manager/nm-dhcp-manager.c
1779 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1781 * system-settings/plugins/ifcfg-fedora/reader.c
1782 system-settings/plugins/ifcfg-fedora/writer.c
1783 - Handle routes separately from addresses now that routes have a different
1786 * introspection/nm-ip4-config.xml
1789 - Rename internal routing functions
1790 - 'static-routes' renamed to 'routes'
1792 2008-08-04 Dan Williams <dcbw@redhat.com>
1794 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1796 * src/NetworkManager.c
1799 - More explicitly make the NMManager a singleton
1801 2008-08-04 Dan Williams <dcbw@redhat.com>
1803 * libnm-util/nm-connection.c
1804 libnm-util/nm-connection.h
1805 - (nm_connection_verify): return error on missing 'connection' setting
1806 (found by Sjoerd Simons)
1808 2008-08-04 Dan Williams <dcbw@redhat.com>
1810 Handle multiple concurrent PPP connections.
1812 * src/ppp-manager/nm-ppp-manager.c
1813 src/ppp-manager/nm-ppp-manager.h
1814 - (constructor): only PPP Manager request bus name once; each
1815 NMPPPManager object gets a unique object path
1816 - (nm_ppp_manager_class_init, get_property, set_property,
1817 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1819 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1820 remove timeout until PPP manager gets an IP4 config
1821 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1822 the plugin can call back to this specific PPP manager instance
1824 * src/nm-device-ethernet.c
1825 src/nm-serial-device.c
1826 - Pass parent device in nm_ppp_manager_new()
1828 * src/nm-gsm-device.c
1829 src/nm-cdma-device.c
1830 - (device_state_changed): don't close serial device on NEED_AUTH
1831 state changed, that's not a failure case like the rest are
1833 * src/ppp-manager/nm-pppd-plugin.c
1834 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1835 binds one interface to any pppd process, thus the correct index
1836 is always 0; send PHASE_DEAD on error to alert NM immediately of
1837 problems; try harder to get a peer address in spite of pppd
1838 - (plugin_init): use 'ipparam' as the object path back to our specific
1839 PPP manager instance
1841 2008-08-04 Dan Williams <dcbw@redhat.com>
1843 * src/ppp-manager/nm-ppp-manager.c
1844 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1845 since the GSM and CDMA settings now implement need_secrets, we can
1846 rely on them to do the right thing. Where secrets are not required,
1847 just pass empty strings back to the pppd plugin.
1848 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1849 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1850 on successful IP4 config receipt
1852 2008-08-04 Dan Williams <dcbw@redhat.com>
1854 * libnm-util/nm-setting-cdma.c
1855 libnm-util/nm-setting-gsm.c
1856 - (verify): validate username & password if they exist
1857 - (need_secrets): if username given, require a password too
1859 2008-08-04 Dan Williams <dcbw@redhat.com>
1861 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1862 - (create_dm_cmd_line): really don't listen on lo, despite what the
1863 manpage says about --listen-address without --interface
1866 2008-08-01 Dan Williams <dcbw@redhat.com>
1868 * libnm-glib/nm-device.c
1869 - (proxy_get_string): util function for querying a HAL property
1870 - (get_ancestor_device): split out from get_product_and_vendor()
1871 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1872 from PCI devices by querying subsys properties
1873 - (nm_device_update_description): simplify
1875 2008-08-01 Dan Williams <dcbw@redhat.com>
1877 * libnm-util/nm-setting-ip4-config.c
1878 libnm-util/nm-setting-ip4-config.h
1879 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1880 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1881 settings, and they don't necessarily use DHCP.
1883 * src/NetworkManagerPolicy.c
1885 system-settings/plugins/ifcfg-fedora/reader.c
1886 system-settings/plugins/ifcfg-suse/parser.c
1887 - Fixup for method changes
1889 2008-07-31 Dan Williams <dcbw@redhat.com>
1891 * src/nm-activation-request.c
1892 src/vpn-manager/nm-vpn-connection.c
1893 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1894 itself should be attached to the activation request or the VPN
1895 connection, not the NMConnection object, since the call is not
1896 expected to live as long as the NMConnection itself
1898 2008-07-31 Dan Williams <dcbw@redhat.com>
1900 * src/nm-device-wifi.c
1901 - (real_act_stage2_config): fix issue where association would continue
1902 even though secrets were needed; 'goto out' was in wrong scope and
1903 result of handle_auth_or_fail() should have been dumped directly to
1904 'ret' to ensure that the association was postponed until secrets
1907 2008-07-31 Dan Williams <dcbw@redhat.com>
1909 * system-settings/plugins/ifcfg-fedora/plugin.c
1910 system-settings/plugins/ifcfg-fedora/reader.c
1911 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1914 2008-07-29 Dan Williams <dcbw@redhat.com>
1916 * src/nm-gsm-device.c
1917 - (automatic_registration_response, automatic_registration): recognize
1918 denied registration and reorder responses
1920 2008-07-29 Dan Williams <dcbw@redhat.com>
1922 * src/nm-serial-device.c
1923 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1924 time(2) is used for current time, which returns seconds, we shouldn't
1925 be multiplying by 1000.
1927 2008-07-28 Dan Williams <dcbw@redhat.com>
1929 Patch from Fabrice Bellet <fabrice@bellet.info>
1931 * src/NetworkManagerSystem.c
1932 - (route_in_same_subnet): mask addresses and compare them so that the
1933 function actually does what it says it's going to do (rh #456685)
1935 2008-07-27 Dan Williams <dcbw@redhat.com>
1937 * libnm-util/nm-setting-ip6-config.c
1938 - (set_property): add missing break that caused routes to be overwritten
1941 * libnm-util/nm-setting-ip6-config.c
1942 - (verify): validate routes and return GError everywhere on invalid setting
1943 - (finalize): don't leak routes
1944 - (set_property): add missing break that caused routes to be overwritten
1947 2008-07-27 Dan Williams <dcbw@redhat.com>
1950 - Relicense to LGPLv2+
1952 2008-07-27 Dan Williams <dcbw@redhat.com>
1954 * system-settings/plugins/ifcfg-fedora/reader.c
1955 - (make_ip4_setting): fix parsing automatic configs
1957 2008-07-27 Dan Williams <dcbw@redhat.com>
1959 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1961 src/ppp-manager/nm-ppp-manager.c
1962 - Ensure child process gets reaped. The child watch function may be
1963 removed from the mainloop before the child gets killed, so we have
1964 to make sure the child is reaped when it's told to die intentionally
1966 2008-07-27 Dan Williams <dcbw@redhat.com>
1968 Patch from Roy Marples <roy@marples.name>
1970 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1971 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1973 2008-07-27 Dan Williams <dcbw@redhat.com>
1975 * src/nm-gsm-device.c
1976 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1977 Huawei devices turn echo back on after CPIN (rh #456770)
1979 2008-07-24 Tambet Ingo <tambet@gmail.com>
1981 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1982 format argument to g_set_error() call.
1984 * src/backends/interface_parser.[ch]: Remove.
1986 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1988 2008-07-21 Dan Williams <dcbw@redhat.com>
1990 * src/ppp-manager/nm-ppp-manager.c
1991 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1992 to prevent pppd from picking up some random local address from an
1993 interface that doesn't have anything to do with the one we're
1994 interested in (rh #455348)
1996 2008-07-17 Dan Williams <dcbw@redhat.com>
1998 * libnm-util/nm-utils.c
1999 - (string_to_utf8): general function for conversion to UTF-8 assisted
2001 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2002 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2004 2008-07-17 Dan Williams <dcbw@redhat.com>
2006 * introspection/Makefile.am
2007 introspection/nm-device.xml
2008 introspection/nm-dhcp4-config.xml
2009 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2011 * src/nm-device-interface.c
2012 src/nm-device-interface.h
2013 - Add the DHCP4Config property
2016 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2017 D-Bus clients when it changes
2019 * src/nm-dhcp4-config.c
2020 src/nm-dhcp4-config.h
2021 - Simple object to store DHCP4 options, export them over D-Bus, and
2022 notify when they change
2024 * src/dhcp-manager/nm-dhcp-manager.c
2025 src/dhcp-manager/nm-dhcp-manager.h
2026 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2027 filter server-returned DHCP options into an NMDHCP4Config object
2029 2008-07-16 Dan Williams <dcbw@redhat.com>
2031 * introspection/nm-device.xml
2032 - Add device state reasons
2034 2008-07-16 Dan Williams <dcbw@redhat.com>
2036 Patch from Roy Marples <roy@marples.name>
2039 - Add --with-dhcp-client option
2041 * src/dhcp-manager/Makefile.am
2042 - pass DHCP_CLIENT_PATH on compile line
2044 * src/dhcp-manager/nm-dhcp-manager.c
2045 src/dhcp-manager/nm-dhcp-manager.h
2046 - Genericize for both dhcpcd and dhclient
2048 * src/dhcp-manager/nm-dhcp-dhclient.c
2049 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2051 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2052 - Implement support for dhcpcd too
2054 2008-07-16 Tambet Ingo <tambet@gmail.com>
2056 * system-settings/src/nm-system-config-interface.c
2057 (nm_system_config_interface_supports_add): Implement.
2058 (nm_system_config_interface_add_connection): Return a boolean to notify
2061 * system-settings/src/nm-polkit-helpers.c:
2062 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2065 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2066 Return an error when none of the plugins support add or if addition
2067 failed for some reason.
2069 * system-settings/src/nm-system-config-error.h:
2070 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2071 here from nm-polkit-helpers.[ch].
2073 * system-settings/src/Makefile.am: Build new files.
2075 * system-settings/plugins/keyfile/reader.c
2076 (read_array_of_array_of_uint): Make it more general so that it would
2077 work for routes as well.
2079 * system-settings/plugins/keyfile/writer.c
2080 (write_array_of_array_of_uint): Ditto.
2081 Fix the netmask/prefix writing.
2083 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2084 boolean to notify errors.
2086 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2087 Return more specific error.
2090 2008-07-11 Dan Williams <dcbw@redhat.com>
2092 Modify the NMDevice::state-changed signal to include the previous state
2093 and reason. Enables the applet to provide more information why device
2096 2008-07-09 Dan Williams <dcbw@redhat.com>
2098 * callouts/Makefile.am
2099 callouts/nm-avahi-autoipd-action.c
2100 callouts/nm-avahi-autoipd.conf
2101 - avahi-autoipd callout to send options back to NM
2108 src/nm-device-private.h
2110 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2113 2008-07-07 Dan Williams <dcbw@redhat.com>
2115 * system-settings/plugins/ifcfg-fedora/reader.c
2116 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2117 handle PREFIX too; clean up
2119 2008-07-07 Dan Williams <dcbw@redhat.com>
2121 Convert to using IPv4 prefixes instead of netmasks.
2123 2008-07-03 Dan Williams <dcbw@redhat.com>
2125 * libnm-util/nm-setting-ip4-config.c
2126 libnm-util/nm-setting-ip4-config.h
2127 - Add properties for DHCP Client Identifier and DHCP Hostname
2129 * src/dhcp-manager/nm-dhcp-manager.c
2130 src/dhcp-manager/nm-dhcp-manager.h
2131 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2132 setting as an argument to pass on to the dhclient config file
2134 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2136 - (dhclient_run): punt config file handling to create_dhclient_config()
2137 - (create_dhclient_config): create an interface-specific dhclient
2138 config file since there may need to be interface-specific options
2140 - (merge_dhclient_config): merge normal distro dhclient config file and
2141 add options from the connection
2142 - (nm_dhcp_device_new): generate the interface specific dhclient
2143 config file path once
2144 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2145 dhclient config file path
2148 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2149 DHCP manager when starting DHCP
2151 2008-07-02 Dan Williams <dcbw@redhat.com>
2153 * libnm-util/nm-setting-8021x.c
2154 - (verify): allow forcing the PEAP label to 0
2156 2008-07-02 Dan Williams <dcbw@redhat.com>
2158 * introspection/nm-active-connection.xml
2159 introspection/nm-vpn-connection.xml
2160 libnm-glib/nm-active-connection.c
2161 src/nm-activation-request.c
2162 src/nm-active-connection.h
2163 src/vpn-manager/nm-vpn-connection.c
2164 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2165 and libnm-glib API since sharing didn't get implemented that way
2167 2008-07-02 Dan Williams <dcbw@redhat.com>
2169 * src/nm-device-wifi.c
2170 - (can_scan): don't scan when a shared connection is activated since
2171 that makes drivers mad (causing disconnects); also NM doesn't need
2172 to hedge against disconnects by keeping up-to-date network topology
2173 because the connection originates from the local machine, and thus
2174 there should be no disconnects
2176 2008-07-01 Dan Williams <dcbw@redhat.com>
2178 Fix mobile broadband username/password issues. NM was never requesting
2179 mobile broadband secrets, nor was it passing back the username and password
2182 * marshallers/nm-marshal.list
2183 - Add some new types for activation request objects
2185 * src/nm-activation-request.c
2186 src/nm-activation-request.h
2187 - (get_secrets_cb): pass the caller type in the signal
2188 - (nm_act_request_request_connection_secrets): take a caller type, so
2189 that GetSecrets() reply handlers know who asked for the secrets in
2190 the first place; use secret hints too so the settings service can
2191 figure out exactly what NM wants (ie, PIN or the PPP password)
2193 * src/ppp-manager/nm-ppp-manager.c
2194 src/ppp-manager/nm-ppp-manager.h
2195 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2196 detect needed secrets when the secret could be blank, like GSM/CDMA
2197 passwords. So always ask for secrets, and send a hint as to what
2198 secret we really want.
2199 - (nm_ppp_manager_update_secrets): make function more generic by making
2200 the device specific class figure out the username and password, and
2201 accept an error argument to return back over D-Bus
2203 * src/nm-device-wifi.c
2204 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2205 nm_act_request_request_connection_secrets()
2206 - (real_connection_secrets_updated): update for 'caller' changes
2210 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2211 for 'caller' changes
2213 * src/nm-device-ethernet.c
2214 - (real_connection_secrets_updated): update for 'caller' changes and
2215 move logic for getting PPPoE username and password here before
2216 calling nm_ppp_manager_update_secrets()
2217 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2218 nm_act_request_request_connection_secrets()
2220 * src/nm-cdma-device.c
2221 - (real_connection_secrets_updated): pass username and password back
2222 to the PPP manager when required
2224 * src/nm-gsm-device.c
2225 - (enter_pin): send the required secret name to the settings service
2226 - (real_connection_secrets_updated): pass username and password back
2227 to the PPP manager when required
2229 2008-06-30 Dan Williams <dcbw@redhat.com>
2231 * src/nm-device-wifi.c
2232 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2234 2008-06-30 Dan Williams <dcbw@redhat.com>
2236 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2237 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2238 priv->supplicant.iface. When either condition is false, the device should
2239 transition back to UNAVAILABLE because it cannot be used.
2241 * src/nm-device-wifi.c
2242 - (constructor): cleanup; connect to supplicant manager here since the
2243 supplicant manager is always around
2244 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2245 ensure the supplicant manager is in the IDLE state
2246 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2247 cancel any pending scans too
2248 - (real_bring_up): don't set up the supplicnat interface here, because
2249 we need the supplicant interface at times when the device may not
2251 - (real_take_down): just remove the periodic source
2252 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2253 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2254 do anything if there's no supplicant interface
2255 - (cleanup_association_attempt): cleanup
2256 - (supplicant_iface_state_cb_handler): request an immediate scan when
2257 the interface enters the READY state; transition to UNAVAILABLE
2258 state when the interface goes down because the device can't be used
2259 without a supplicant interface
2260 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2261 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2262 acquire the supplicant interface and transition to DISCONNECTED
2263 if the radio isn't killed
2264 - (nm_device_wifi_dispose): move most of device_cleanup() here
2265 - (state_changed_cb): release any existing supplicant interface; if the
2266 radio is enabled then try to acquire a new supplicant interface;
2267 if the radio is enabled and a supplicant interface has been acquired,
2268 we can transition to DISCONNECTED
2269 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2270 don't enable the radio, because HAL probably lied to us about the
2271 killswitch being off. If bringing the hardware up worked, then
2272 try to grab a supplicant interface, and if that was successful,
2273 transition to DISCONNECTED
2275 2008-06-30 Dan Williams <dcbw@redhat.com>
2277 * src/supplicant-manager/nm-supplicant-interface.c
2278 - (request_scan_results, nm_supplicant_interface_dispose,
2279 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2280 the id of the timeout, not a GSource
2282 2008-06-30 Tambet Ingo <tambet@gmail.com>
2284 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2285 bunch of typoes introduced by "Patch from David Cantrell
2286 <dcantrell@redhat.com> and me".
2288 2008-06-30 Tambet Ingo <tambet@gmail.com>
2290 * src/nm-serial-device.c:
2291 * src/nm-gsm-device.c:
2292 * src/nm-cdma-device.c: Move the pending call handling to a common location
2293 in serial device. Handle setting device state to failed in one place as well.
2295 2008-06-29 Dan Williams <dcbw@redhat.com>
2297 * src/nm-hal-manager.c
2298 - Rework killswitch handling to query killswitch status immediately
2299 when the first killswitch is added, so that rfkill state is
2300 known as early as possible
2301 - Also treat failure of GetPower() as rfkill when the dbus method
2302 call times out (but not when the HAL callout returns an error)
2304 2008-06-26 Dan Williams <dcbw@redhat.com>
2306 Patch from David Cantrell <dcantrell@redhat.com> and me
2308 * include/nm-dbus-glib-types.h
2309 - Add IP6 address types
2311 * libnm-util/Makefile.am
2312 libnm-util/nm-setting-ip6-config.c
2313 libnm-util/nm-setting-ip6-config.h
2314 - Add IP6 settings object
2316 * libnm-util/nm-connection.c
2317 - (register_default_settings): register ip6 settings object
2319 * libnm-util/nm-utils.c
2320 libnm-util/nm-utils.h
2321 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2322 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2323 ip6 address conversion functions
2325 2008-06-26 Dan Williams <dcbw@redhat.com>
2327 Patch from David Cantrell <dcantrell@redhat.com>
2329 * Use inet_ntop() and inet_pton() everwhere and check for errors
2331 2008-06-26 Dan Williams <dcbw@redhat.com>
2333 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2335 2008-06-26 Dan Williams <dcbw@redhat.com>
2337 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2339 * src/nm-device-wifi.c
2340 - (link_timeout_cb): don't ignore disconnects due to scanning
2341 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2342 a longer timeout when scanning; avoids case where supplicant can't
2343 find the AP and just keeps scanning forever but isn't connected
2345 2008-06-26 Dan Williams <dcbw@redhat.com>
2347 Patch from Michael Biebl <biebl@debian.org>
2349 * Clean up build system stuff
2351 2008-06-23 Christian Persch <chpe@gnome.org>
2353 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2354 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2355 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2357 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2359 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2360 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2361 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2363 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2364 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2365 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2366 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2367 * vpn-daemons/pptp/properties/vpnui_opt.c:
2368 (vpnui_opt_connect_signals):
2369 * vpn-daemons/pptp/properties/vpnui_opt.h:
2370 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2371 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2372 deprecated gtk type macros. Bug #539325.
2374 2008-06-20 Dan Williams <dcbw@redhat.com>
2376 * libnm-glib/nm-vpn-plugin-ui-interface.c
2377 libnm-glib/nm-vpn-plugin-ui-interface.h
2378 - 'validity-changed' -> 'changed' to work better with the connection
2379 editor. Plugin UI widgets should emit 'changed' whenever their
2380 UI values change in a meaningful way.
2381 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2382 update_connection member now returns validity of the UI widget
2384 2008-06-20 Tambet Ingo <tambet@gmail.com>
2386 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2388 2008-06-17 Dan Williams <dcbw@redhat.com>
2390 * libnm-glib/nm-vpn-plugin-ui-interface.c
2391 libnm-glib/nm-vpn-plugin-ui-interface.h
2392 - Add "desc" property for longer descriptions of the VPN plugin
2394 2008-06-16 Dan Williams <dcbw@redhat.com>
2397 libnm-glib/libnm_glib_vpn.pc.in
2398 - add a .pc file for libnm_glib_vpn
2400 * libnm-glib/nm-vpn-plugin-ui-interface.c
2401 libnm-glib/nm-vpn-plugin-ui-interface.h
2402 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2403 rework it substantially
2405 2008-06-12 Dan Williams <dcbw@redhat.com>
2407 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2408 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2409 returns a descriptive GError when verification fails.
2411 2008-06-11 Dan Williams <dcbw@redhat.com>
2413 Patch from Tambet Ingo <tambet@gmail.com>
2415 * libnm-util/nm-setting-gsm.c
2416 - (verify): validate APN
2418 * src/nm-gsm-device.c
2419 - (manual_registration_done): start setting APN if needed
2420 - (set_apn, set_apn_done): set the APN
2421 - (do_dial): use the APN when dialing
2423 2008-06-11 Dan Williams <dcbw@redhat.com>
2425 * src/NetworkManagerSystem.c
2426 - (nm_system_device_set_ip4_route,
2427 nm_system_device_replace_default_ip4_route): check for the right
2428 return value from rtnl_route_add() to know when to add a gateway
2431 2008-06-11 Dan Williams <dcbw@redhat.com>
2433 * src/NetworkManagerPolicy.c
2434 - do_ipt_cmd -> do_cmd
2435 - (sharing_init): use do_cmd() instead of system()
2437 2008-06-10 Dan Williams <dcbw@redhat.com>
2439 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2440 and use "wifi" everwhere instead.
2442 2008-06-10 Dan Williams <dcbw@redhat.com>
2444 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2446 2008-06-10 Dan Williams <dcbw@redhat.com>
2448 Patch from Tambet Ingo <tambet@gmail.com>
2450 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2453 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2454 a signal to emit these changes over dbus.
2456 * src/Makefile.am: Genereate nm-serial-device-glue.
2458 * libnm-glib/nm-serial-device.[ch]: Implement.
2460 * libnm-glib/nm-cdma-device.[ch]
2461 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2463 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2465 * introspection/nm-device-serial.xml: Implement.
2467 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2469 * introspection/Makefile.am: Add nm-device-serial.xml.
2471 * include/NetworkManager.h: Add a DBus interface for serial device.
2473 2008-06-10 Dan Williams <dcbw@redhat.com>
2476 - Add TARGET_* define to config.h to distinguish distros
2478 * src/dhcp-manager/nm-dhcp-manager.c
2479 - (dhclient_run): use distro-specific path for dhclient config file
2481 2008-06-09 Dan Williams <dcbw@redhat.com>
2483 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2484 src/dnsmasq-manager/nm-dnsmasq-manager.h
2485 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2486 calculate the addresses passed to dnsmasq instead of hard-coding
2490 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2491 IP addresses for shared connections to guard against shared
2492 connection address collisions
2493 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2495 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2498 2008-06-09 Dan Williams <dcbw@redhat.com>
2500 * src/NetworkManagerPolicy.c
2501 - (update_routing_and_dns): set the default connection _after_ unsetting
2502 default on all non-default connections so that two connections can
2503 never be default at the same time
2504 - (device_state_changed): start and stop connection sharing when
2506 - (active_connection_default_changed): restart or stop sharing when
2507 the default connection changes to keep shared connections always
2508 NAT-ed through the default connection
2509 - (check_sharing): handle activation/deactivation of shared connections
2510 - (sharing_restart): atom-bomb approach to connection sharing until we
2511 can use libnl; reinit all sharing when the default connection or
2512 shared connections change
2513 - (sharing_init, sharing_stop): evil functions that init and deinit
2516 2008-06-09 Dan Williams <dcbw@redhat.com>
2518 * src/nm-activation-request.c
2519 src/nm-activation-request.h
2520 - (nm_act_request_set_shared, nm_act_request_get_shared,
2521 nm_act_request_get_device): new functions to facilitate connection
2524 2008-06-09 Dan Williams <dcbw@redhat.com>
2527 - (clear_act_request): unset the 'default' property of the activation
2528 request when clearing it to ensure the property changed signal gets
2529 delivered and handled
2531 2008-06-09 Dan Williams <dcbw@redhat.com>
2533 * libnm-glib/nm-device-802-11-wireless.c
2534 - (access_point_removed_proxy): actually unref the AP after removing
2535 it from the device's AP list. Fixes refcounting bug for APs that
2536 caused them to get mixed up in the applet's menu.
2538 2008-06-09 Tambet Ingo <tambet@gmail.com>
2540 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2541 (nm_dhcp_device_destroy): Destroy the device options hash table.
2543 2008-06-06 Dan Williams <dcbw@redhat.com>
2545 * system-settings/src/nm-polkit-helpers.c
2546 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2547 unref the context if the initialization fails; also avoid spew when
2550 2008-06-06 Dan Williams <dcbw@redhat.com>
2552 Patch from Tambet Ingo <tambet@gmail.com>
2554 * src/NetworkManagerSystem.c
2555 src/NetworkManagerSystem.h
2556 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2557 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2558 - (nm_system_device_set_ip4_route): clean up
2559 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2562 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2564 * src/vpn-manager/nm-vpn-connection.c
2565 - (ip_address_to_string): new function
2566 - (print_vpn_config): use ip_address_to_string
2567 - (merge_vpn_routes): add user-defined routes to the ip4 config
2568 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2570 * include/NetworkManagerVPN.h
2573 2008-06-05 Dan Williams <dcbw@redhat.com>
2575 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2578 - Show which device is the default device
2580 2008-06-05 Tambet Ingo <tambet@gmail.com>
2584 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2585 Free data returned from dbus method call.
2587 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2588 dbus_g_method_get_sender() returns a duplicated string, free it
2590 (check_polkit_privileges): Looks like policykit sometimes returns
2591 error and non-null return value, don't leak errors in that case.
2593 * system-settings/src/main.c (find_plugin): Don't leak existing
2595 (load_stuff): Don't leak device list and list items.
2596 (have_connection_for_device): Don't leak connection list.
2598 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2599 Free the data received from g_keyfile_get_*.
2601 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2602 the key when the security object is updated.
2604 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2605 Free data returned from dbus method call.
2606 (iface_state_cb): Ditto.
2607 (add_network_cb): Ditto.
2608 (nm_supplicant_interface_add_cb): Don't make another copy of already
2609 duplicated object path.
2610 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2613 * src/supplicant-manager/nm-supplicant-config.c
2614 (ADD_STRING_LIST_VAL): Fix a memory leak.
2616 * src/nm-manager.c (free_get_settings_info): Free the allocated
2618 (list_connections_cb): Free data returned from dbus method call.
2619 (system_settings_get_unmanaged_devices_cb): Ditto.
2621 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2623 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2624 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2625 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2628 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2629 arguments after the object is created.
2631 2008-06-04 Dan Williams <dcbw@redhat.com>
2633 * libnm-util/Makefile.am
2634 - Don't distribute nm-param-spec-specialized.h
2636 2008-06-02 Tambet Ingo <tambet@gmail.com>
2638 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2640 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2641 NMIP4Address, update the getters and setters.
2643 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2644 Use the updated NMIP4Config routes api.
2646 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2647 static routes as well.
2649 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2650 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2653 2008-05-30 Dan Williams <dcbw@redhat.com>
2655 * src/named-manager/nm-named-manager.c
2656 src/named-manager/nm-named-manager.h
2657 - Remove stale/obsolete bits for controlling bind over DBus
2659 2008-05-29 Dan Williams <dcbw@redhat.com>
2661 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2662 src/dnsmasq-manager/nm-dnsmasq-manager.h
2663 - (nm_dnsmasq_manager_new): move iface argument here
2664 - (constructor): remove, not needed
2665 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2666 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2669 - (real_act_stage4_get_ip4_config,
2670 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2673 2008-05-29 Dan Williams <dcbw@redhat.com>
2676 - (dnsmasq_state_changed_cb): new function; fail the connection if
2677 something happens to dnsmasq
2678 - (nm_device_new_ip4_shared_config): new function; create a new
2679 ip4-config for shared connections. Shared connections always use a
2680 fixed static IP address.
2681 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2682 autoip connections by actually using the returned ip4-config and
2684 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2686 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2689 2008-05-29 Dan Williams <dcbw@redhat.com>
2691 * src/nm-device-802-11-wireless.c
2692 - (real_get_best_auto_connection): auto-activate 'shared' method
2695 2008-05-29 Dan Williams <dcbw@redhat.com>
2697 * libnm-util/nm-setting-ip4-config.c
2698 libnm-util/nm-setting-ip4-config.h
2699 - Add a 'shared' method to indicate that this connection should be
2700 brought up with a DHCP and proxy DNS server to facilitate
2702 - (verify): 'shared' method doesn't allow DNS or searches either
2704 2008-05-29 Dan Williams <dcbw@redhat.com>
2708 src/dnsmasq-manager/Makefile.am
2709 src/dnsmasq-manager/nm-dnsmasq-manager.c
2710 src/dnsmasq-manager/nm-dnsmasq-manager.h
2711 - Add a dnsmasq daemon manager to facilitate connection sharing
2713 2008-05-29 Dan Williams <dcbw@redhat.com>
2715 * src/nm-device-private.h
2716 - Remove unused prototypes and clean up
2719 - Remove anything related to system_config_data, which is no longer used
2720 - (nm_device_new_ip4_autoip_config): make static
2722 2008-05-29 Tambet Ingo <tambet@gmail.com>
2724 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2725 (file_changed): Fix a bug where suse system settings plugin didn't
2726 update the connections automatically when the files changed.
2728 2008-05-28 Dan Williams <dcbw@redhat.com>
2730 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2732 2008-05-28 Dan Williams <dcbw@redhat.com>
2734 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2736 * src/NetworkManagerSystem.c
2737 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2738 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2739 was causing -EINVAL errors since the libnl code actually does flush
2740 the routes on VPN interfaces now
2742 * src/backends/NetworkManagerArch.c
2743 src/backends/NetworkManagerDebian.c
2744 src/backends/NetworkManagerFrugalware.c
2745 src/backends/NetworkManagerGeneric.c
2746 src/backends/NetworkManagerGentoo.c
2747 src/backends/NetworkManagerMandriva.c
2748 src/backends/NetworkManagerPaldo.c
2749 src/backends/NetworkManagerRedHat.c
2750 src/backends/NetworkManagerSlackware.c
2751 src/backends/NetworkManagerSuSE.c
2752 - (nm_system_device_flush_ip4_routes,
2753 nm_system_device_flush_ip4_routes_with_iface): remove
2755 2008-05-28 Dan Williams <dcbw@redhat.com>
2757 * libnm-util/nm-setting-wireless.c
2758 libnm-util/nm-setting-wireless.h
2759 - (set_property, get_property, nm_setting_wireless_class_init): add the
2760 'adhoc-create' property, which when TRUE indicates that NM should
2761 create this connection as an adhoc wifi network if it's not found
2762 as an adhoc network during scanning. Can be used to auto-create
2763 adhoc networks when used in combination with autoconnect.
2765 2008-05-28 Tambet Ingo <tambet@gmail.com>
2767 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2769 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2770 checked, it doesn't work on some devices.
2772 2008-05-28 Tambet Ingo <tambet@gmail.com>
2774 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2775 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2777 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2778 Use inet_aton() everywhere to improve error detection.
2779 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2782 2008-05-26 Tambet Ingo <tambet@gmail.com>
2784 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2787 2008-05-26 Tambet Ingo <tambet@gmail.com>
2789 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2790 reference counting issue.
2792 2008-05-23 Dan Williams <dcbw@redhat.com>
2794 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2796 * src/backends/NetworkManagerGeneric.c
2797 - (nm_generic_enable_loopback): use libnl
2799 2008-05-23 Dan Williams <dcbw@redhat.com>
2801 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2803 * src/NetworkManagerSystem.h
2804 src/backends/NetworkManagerArch.c
2805 src/backends/NetworkManagerDebian.c
2806 src/backends/NetworkManagerFrugalware.c
2807 src/backends/NetworkManagerGentoo.c
2808 src/backends/NetworkManagerMandriva.c
2809 src/backends/NetworkManagerPaldo.c
2810 src/backends/NetworkManagerRedHat.c
2811 src/backends/NetworkManagerSlackware.c
2812 src/backends/NetworkManagerSuSE.c
2813 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2814 nm_system_flush_arp_cache): remove, unused
2816 * src/backends/NetworkManagerGeneric.c
2817 src/backends/NetworkManagerGeneric.h
2818 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2819 nm_generic_flush_arp_cache): remove, unused
2821 2008-05-23 Dan Williams <dcbw@redhat.com>
2823 * system-settings/plugins/ifcfg-fedora/reader.c
2824 - (make_ip4_setting): honor PEERDNS setting
2826 2008-05-23 Dan Williams <dcbw@redhat.com>
2828 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2830 * src/NetworkManagerSystem.c
2831 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2834 * src/backends/NetworkManagerArch.c
2835 src/backends/NetworkManagerDebian.c
2836 src/backends/NetworkManagerFrugalware.c
2837 src/backends/NetworkManagerGentoo.c
2838 src/backends/NetworkManagerMandriva.c
2839 src/backends/NetworkManagerPaldo.c
2840 src/backends/NetworkManagerRedHat.c
2841 src/backends/NetworkManagerSlackware.c
2842 src/backends/NetworkManagerSuSE.c
2843 - (nm_system_device_flush_ip4_addresses,
2844 nm_system_device_flush_ip4_addresses_with_iface): remove
2846 * src/backends/NetworkManagerGeneric.c
2847 - (nm_generic_device_flush_ip4_addresses,
2848 nm_generic_device_flush_ip4_addresses_with_iface): remove
2850 2008-05-23 Dan Williams <dcbw@redhat.com>
2852 * src/supplicant-manager/nm-supplicant-settings-verify.c
2853 - Switch 'bssid' from bytes to keyword type
2854 - (validate_type_keyword): allow NULL keyword lists
2856 * src/supplicant-manager/nm-supplicant-config.c
2857 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2858 a byte array to string form, which is what the supplicant expects
2860 2008-05-23 Tambet Ingo <tambet@gmail.com>
2862 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2863 information received from DHCP.
2865 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2866 to make it possible to ignore the DNS information (both servers and
2867 searches) returned by DHCP server.
2869 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2870 name servers and searches if "ignore_dhcp_dns" is set.
2872 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2873 (nm_ip4_config_reset_searches): Implement.
2875 2008-05-22 Dan Williams <dcbw@redhat.com>
2877 Remove anything mDNS related. This is better done from a distro-specific
2878 dispatcher script. Plus, any distro using avahi doesn't need to restart
2879 avahi, since avahi can handle interface changes just fine using netlink.
2882 - Remove --with-mdns-provider
2884 * src/NetworkManagerPolicy.c
2885 - (global_state_changed): don't restart the mdns provider
2887 * src/NetworkManagerSystem.h
2888 src/backends/NetworkManagerArch.c
2889 src/backends/NetworkManagerDebian.c
2890 src/backends/NetworkManagerFrugalware.c
2891 src/backends/NetworkManagerGentoo.c
2892 src/backends/NetworkManagerMandriva.c
2893 src/backends/NetworkManagerPaldo.c
2894 src/backends/NetworkManagerRedHat.c
2895 src/backends/NetworkManagerSlackware.c
2896 src/backends/NetworkManagerSuSE.c
2897 - (nm_system_restart_mdns_responder): remove
2899 * src/backends/NetworkManagerGeneric.c
2900 src/backends/NetworkManagerGeneric.h
2901 - (nm_generic_restart_mdns_responder): remove
2903 2008-05-22 Dan Williams <dcbw@redhat.com>
2906 - clean up crypto options; just use --with-crypto=nss or
2907 --with-crypto=gnutls
2909 2008-05-22 Tambet Ingo <tambet@gmail.com>
2911 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2912 anymore, do it right away.
2914 2008-05-22 Tambet Ingo <tambet@gmail.com>
2916 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2917 serial device open when we're not connecting or connected.
2919 * src/nm-cdma-device.c (device_state_changed): Ditto.
2921 2008-05-22 Tambet Ingo <tambet@gmail.com>
2923 Don't remove all devices on waking up, sync with HAL.
2925 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2926 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2927 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2929 2008-05-21 Tambet Ingo <tambet@gmail.com>
2931 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2932 If the default gateway is unreachable, add a route to gateway and try
2935 2008-05-20 Dan Williams <dcbw@redhat.com>
2937 * system-settings/plugins/ifcfg-fedora/reader.c
2938 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2940 2008-05-19 Dan Williams <dcbw@redhat.com>
2942 * system-settings/plugins/ifcfg-fedora/reader.c
2943 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2944 if the ifcfg doesn't specify one (rh #446527)
2946 2008-05-19 Dan Williams <dcbw@redhat.com>
2948 Make the system settings service exit when the bus goes away. Since it's
2949 a bus-activated service, it's lifetime is limited to the bus that activated
2952 * system-settings/src/Makefile.am
2953 system-settings/src/nm-system-config-hal-manager-private.h
2954 - Remove nm-system-config-hal-manager-private.h
2956 * system-settings/src/nm-system-config-hal-manager.c
2957 - (nm_system_config_hal_manager_reinit_dbus,
2958 nm_system_config_hal_manager_deinit_dbus): remove
2960 * system-settings/src/main.c
2961 - (dbus_reconnect): remove
2962 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2963 - (destroy_cb): just quit when the bus goes away
2964 - (start_dbus_service, dbus_init): simplify
2965 - (main): destroy the wired devices hash table after destroying
2966 the HAL manager so we don't have to disconnect signals from the
2969 2008-05-15 Tambet Ingo <tambet@gmail.com>
2971 Move crypto functions from nm-applet to libnm-util.
2973 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2974 (nm_setting_802_1x_set_client_cert)
2975 (nm_setting_802_1x_set_phase2_ca_cert)
2976 (nm_setting_802_1x_set_phase2_client_cert)
2977 (nm_setting_802_1x_set_private_key)
2978 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2979 file (or private key and it's password), read the certificate data.
2981 * libnm-util/crypto_nss.c:
2982 * libnm-util/crypto_gnutls.c:
2983 * libnm-util/crypto.[ch]: Move here from nm-applet.
2985 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2987 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2988 Imlement WPA-EAP configuration reading from sysconfig.
2990 2008-05-16 Dan Williams <dcbw@redhat.com>
2992 * src/nm-device-802-11-wireless.c
2993 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2996 2008-05-14 Dan Williams <dcbw@redhat.com>
2998 Fix Linus' bug in rh #134886
3000 * src/nm-device-802-3-ethernet.c
3001 - (constructor): request initial carrier state
3003 * src/nm-netlink-monitor.c
3004 - (nm_netlink_monitor_request_status): schedule emission of carrier
3005 signals after refilling the link cache. Because the refill is a
3006 synchronous operation, the normal message hander won't get called
3007 since libnl has already consumed the messages.
3008 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3010 2008-05-14 Dan Williams <dcbw@redhat.com>
3012 * src/NetworkManagerSystem.c
3013 - (nm_system_device_is_up_with_iface): clean up
3015 2008-05-13 Dan Williams <dcbw@redhat.com>
3017 Fix refcounting issues over sleep/wake when a VPN connection was active that
3018 caused NM to try registering an object path for a device upon wake that was
3019 the same as an already registered object path.
3022 - (nm_device_take_down): properly handle cases where the device is
3023 no longer active but was just active, and therefore must be
3024 deactivated. When a device moves to unmanaged mode, this function
3025 previously would not deactivate the device, because the state was
3026 already unmanaged by the time this function was called.
3028 * src/vpn-manager/nm-vpn-connection.c
3029 - (device_state_changed): properly handle multiple devices states in
3030 which the device is now deactivated. Code previously didn't handle
3031 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3034 2008-05-13 Dan Williams <dcbw@redhat.com>
3036 * src/nm-device-private.h
3038 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3040 * src/nm-device-802-11-wireless.c
3041 - (nm_device_802_11_wireless_set_enabled): take devices up
3042 and down as appropriate for the rfkill state
3044 2008-05-13 Dan Williams <dcbw@redhat.com>
3046 * marshallers/nm-marshal.list
3047 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3049 * system-settings/plugins/ifcfg-fedora/Makefile.am
3050 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3051 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3052 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3053 events. Solely for use watching ifcfg files to pick up changes
3054 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3056 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3057 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3058 file contents change
3059 - (finalize): clean up inotify watches
3060 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3061 and the connection ifcfg for changes on their hardlinks
3062 - (files_changed_cb): proxy the changed signal back out to listeners
3064 * system-settings/plugins/ifcfg-fedora/plugin.c
3066 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3068 - (read_one_connection): connect to change signals on the new connection
3069 - (dir_changed, connection_changed_handler,
3070 handle_connection_remove_or_new): break out connection change
3071 handling and connection new/remove handling so it can be used from
3072 both the GFileMonitor callback and the NMIfcfgConnection changed
3075 * system-settings/plugins/ifcfg-fedora/reader.c
3076 system-settings/plugins/ifcfg-fedora/reader.h
3077 - (connection_from_file): return the keyfile path the connection would use
3079 2008-05-13 Tambet Ingo <tambet@gmail.com>
3081 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3082 single PolKitContext which is shared by all. PolKitContext::unref leaks
3083 just about everything, including all open file descriptiors and results
3084 in 99% cpu usage when data arrives to any of the fds that don't belong
3085 to any context anymore.
3087 2008-05-12 Dan Williams <dcbw@redhat.com>
3089 * gfilemonitor/glocaldirectorymonitor.c
3090 gfilemonitor/glocaldirectorymonitor.h
3091 - (g_local_directory_monitor_constructor): actually subscribe to the
3093 - (_g_local_directory_monitor_new): ensure that inotify is started up
3095 * gfilemonitor/glocalfilemonitor.c
3096 gfilemonitor/glocalfilemonitor.h
3097 - (g_local_file_monitor_constructor): actually subscribe to the watch
3098 - (_g_local_file_monitor_new): ensure that inotify is started up
3100 2008-05-11 Dan Williams <dcbw@redhat.com>
3103 - record PolicyKit version
3105 * system-settings/src/nm-polkit-helpers.c
3106 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3107 with PolicyKit <= 0.6
3109 2008-05-11 Dan Williams <dcbw@redhat.com>
3111 Update Fedora system-settings plugin to support latest API and use
3112 GFileMonitor rather than home-rolled inotify code.
3114 * system-settings/plugins/ifcfg-fedora/Makefile.am
3115 system-settings/plugins/ifcfg-fedora/common.h
3116 system-settings/plugins/ifcfg-fedora/plugin.c
3117 - Update to latest system settings plugin API; use GIO instead of
3118 custom inotify code; use NMIfcfgConnection objects instead of
3119 ConnectionData structures tacked onto NMConnection objects
3121 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3122 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3123 - Implement an NMExportedConnection subclass mapping ifcfg files to
3126 * system-settings/plugins/ifcfg-fedora/reader.c
3127 system-settings/plugins/ifcfg-fedora/reader.h
3128 - Move ifcfg parsing bits here from parser.c
3130 * system-settings/plugins/ifcfg-fedora/parser.c
3131 system-settings/plugins/ifcfg-fedora/parser.h
3132 - Remove; most code moved to reader.c
3134 2008-05-11 Dan Williams <dcbw@redhat.com>
3139 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3140 implementation, so that the same change monitoring code can be used
3141 on systems without glib-2.14 (like Fedora 8)
3143 * system-settings/plugins/keyfile/Makefile.am
3144 system-settings/plugins/keyfile/plugin.c
3145 system-settings/plugins/ifcfg-suse/Makefile.am
3146 system-settings/plugins/ifcfg-suse/plugin.c
3147 - Use private gfilemonitor code if GIO is not present
3149 2008-05-09 Tambet Ingo <tambet@gmail.com>
3151 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3152 NMExportedConnection's 'update' and 'delete' and return error with
3153 descriptive message.
3155 2008-05-08 Dan Williams <dcbw@redhat.com>
3157 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3159 * src/nm-gsm-device.c
3160 src/nm-cdma-device.c
3161 - (real_get_best_auto_connection): implement; allow autoconnection
3162 to GSM & CDMA devices
3164 2008-05-08 Tambet Ingo <tambet@gmail.com>
3166 Use PolicyKit to authorize the system settings' AddConnection method
3167 and the system settings connections' Update and Delete methods.
3169 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3170 (impl_exported_connection_delete, nm_exported_connection_update)
3171 (nm_exported_connection_delete): Return boolean and fill GError
3172 to notify the callers of the reasons why it might have failed.
3174 * libnm-glib/nm-dbus-settings-system.c
3175 (nm_dbus_settings_system_add_connection): Return the error from dbus
3176 call so that the callers can see why it failed.
3178 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3181 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3183 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3184 abstract base class that checks PolicyKit permissions.
3186 * system-settings/src/dbus-settings.c:
3187 (impl_settings_add_connection): Check the policy before carring out
3190 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3191 Inherit from NMSysconfigConnection, check the policies before
3192 allowing updating or removing.
3194 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3195 Inherit from NMSysconfigConnection.
3197 * introspection/nm-exported-connection.xml: Annotate "Update" and
3198 "Delete" methods with async flag so that the implementations can get
3199 access to DBusGMethodInvocation.
3201 * system-settings/src/dbus-settings.c
3202 (settings_add_connection_check_privileges): Implement.
3203 (impl_settings_add_connection): Check the privileges before adding a new
3204 connection. Improve error reporting.
3206 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3207 async so that the implementation can access DBusGMethodInvocation.
3209 * configure.in: Check for PolicyKit.
3211 * policy/org.freedesktop.network-manager-settings.system.policy:
3214 * policy/Makefile.am: Install the policy file.
3216 * configure.in: Add 'policy' subdir.
3218 2008-05-08 Tambet Ingo <tambet@gmail.com>
3220 Rewrite the suse system settings plugin.
3222 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3224 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3226 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3228 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3230 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3232 * system-settings/src/main.c (load_plugins): Improve error reporting.
3234 * system-settings/src/sha1.[ch] Add.
3236 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3238 2008-05-07 Dan Williams <dcbw@redhat.com>
3240 * system-settings/plugins/keyfile/reader.c
3241 - (read_one_setting_value): handle IP address items separately
3242 - (read_array_of_uint): read IPv4 DNS option as a string array
3243 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3246 * system-settings/plugins/keyfile/writer.c
3247 - (write_setting_value): handle IP address items separately
3248 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3249 not an array of uint, so that it's user-editable
3250 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3251 arrays, so they are user-editable
3253 2008-05-07 Dan Williams <dcbw@redhat.com>
3255 * system-settings/plugins/keyfile/Makefile.am
3256 - Change location of the keyfile plugin settings to
3257 /etc/NetworkManager/system-connections
3259 2008-05-05 Tambet Ingo <tambet@gmail.com>
3261 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3263 * system-settings/plugins/keyfile/plugin.c: Work with
3264 NMKeyfileConnections.
3266 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3267 Plugins are supposed to return NMExportedConnections now and handle the
3268 updated(), removed(), and GetSecrets().
3269 Store the internal list of connections in hash table to make it easier
3272 2008-05-07 Tambet Ingo <tambet@gmail.com>
3274 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3275 for multiple IP addresses.
3277 2008-05-07 Tambet Ingo <tambet@gmail.com>
3279 Patch from André Lemos.
3281 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3284 2008-05-06 Dan Williams <dcbw@redhat.com>
3286 * src/dhcp-manager/nm-dhcp-manager.c
3287 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3288 NMIP4Config to support multiple IP addresses
3290 * src/NetworkManagerUtils.c
3291 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3293 * src/nm-ip4-config.c
3295 - Store a list of IPv4 address/netmask/gateway tuples
3296 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3297 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3298 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3299 nm_ip4_config_set_address): remove
3300 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3301 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3302 new functions; handle multiple IPv4 addresses
3305 src/ppp-manager/nm-ppp-manager.c
3306 src/vpn-manager/nm-vpn-connection.c
3307 src/NetworkManagerPolicy.c
3309 libnm-glib/libnm-glib-test.c
3310 - update for changes to NMIP4Config for multiple IPv4 addresses
3312 * src/NetworkManagerSystem.c
3313 - (nm_system_device_set_ip4_route): don't add the route if any address
3314 is on the same subnet as the destination
3315 - (check_one_address): ignore the exact match, just match family and
3317 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3319 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3320 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3322 * introspection/nm-ip4-config.xml
3323 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3324 - Add 'addresses' property which is an array of (uuu) tuples of
3325 address/netmask/gateway
3327 * libnm-util/nm-setting-ip4-config.c
3328 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3330 * libnm-glib/nm-ip4-config.c
3331 libnm-glib/nm-ip4-config.h
3332 - Handle D-Bus interface changes to support multiple IP addresses
3334 2008-05-06 Dan Williams <dcbw@redhat.com>
3336 * libnm-util/nm-utils.c
3337 libnm-util/nm-utils.h
3338 - (nm_utils_ip4_addresses_from_gvalue,
3339 nm_utils_ip4_addresses_to_gvalue): new functions
3341 2008-05-06 Tambet Ingo <tambet@gmail.com>
3343 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3344 the returned connection paths.
3346 2008-05-05 Tambet Ingo <tambet@gmail.com>
3348 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3349 "PropertiesChanged" signal signature.
3351 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3352 defined in nm-dbus-glib-types.h.
3353 Don't register the connection on dbus, we're a proxy class to
3354 communicate with an already registered connection over dbus.
3356 2008-04-30 Tambet Ingo <tambet@gmail.com>
3358 Implement new subclasses of NMSettings and NMExportedConnection to make
3359 it easier for the applet to access and modify system settings.
3361 * libnm-glib/nm-dbus-connection.[ch]:
3362 * libnm-glib/nm-dbus-settings.[ch]:
3363 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3365 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3368 * include/NetworkManager.h: Define the system settings DBus interface.
3370 2008-04-30 Tambet Ingo <tambet@gmail.com>
3372 Implement additional C API for exported connections to make them identical
3373 with the DBus API. Change the (list_connections) virtual function to be
3374 more usable from C - instead of requiring implementers to return a GPtrArray
3375 of dbus paths, return a list of connections.
3377 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3378 (nm_settings_list_connections):
3379 (nm_exported_connection_new):
3380 (nm_exported_connection_update):
3381 (nm_exported_connection_delete): Implement.
3383 (impl_settings_list_connections):
3384 (impl_exported_connection_update):
3385 (impl_exported_connection_delete): Use the new public functions to make
3386 sure the C and dbus interfaces stay in sync.
3388 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3391 2008-05-02 Dan Williams <dcbw@redhat.com>
3393 * system-settings/plugins/ifcfg-fedora/plugin.c
3394 - (dispose): use right unref call on the DBusGConnection
3396 2008-05-02 Dan Williams <dcbw@redhat.com>
3398 * src/nm-serial-device.c
3399 - (find_terminator): don't compare the whole line, just the size of the
3400 terminator, since some modems put stuff after the terminator, like
3403 2008-05-01 Dan Williams <dcbw@redhat.com>
3405 Patch from Michael Biebl <biebl@debian.org>
3407 * callouts/Makefile.am
3408 callouts/org.freedesktop.nm_dispatcher.service.in
3409 system-settings/src/Makefile.am
3410 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3411 - use the right install location for dbus-activated stuff
3413 2008-04-30 Dan Williams <dcbw@redhat.com>
3415 * src/nm-gsm-device.c
3416 - (enter_pin): fix setting name passed to applets when asking for a GSM
3419 2008-04-30 Dan Williams <dcbw@redhat.com>
3422 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3424 2008-04-30 Dan Williams <dcbw@redhat.com>
3426 * src/nm-device-802-3-ethernet.c
3427 src/nm-device-802-11-wireless.c
3428 - (real_is_up): return true instead of chaining up to unimplemented
3431 2008-04-30 Dan Williams <dcbw@redhat.com>
3433 * src/NetworkManagerSystem.c
3434 src/NetworkManagerSystem.h
3435 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3436 functions to check device flags for IFF_UP
3438 * src/nm-serial-device.c
3439 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3442 * src/nm-device-802-3-ethernet.c
3443 src/nm-device-802-11-wireless.c
3444 - (real_hw_is_up): call nm_system_device_is_up()
3447 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3448 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3451 2008-04-29 Dan Williams <dcbw@redhat.com>
3453 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3455 * marshallers/nm-marshal.list
3458 * src/NetworkManager.c
3459 - (main): let the NMManager handle the NMHalManager
3461 * src/nm-hal-manager.c
3462 src/nm-hal-manager.h
3463 - convert to a GObject, and emit singals when stuff changes. Let the
3464 NMManager handle the signals, instead of the NMHalManager calling
3469 - (remove_one_device): consolidate device removals here
3470 - (dispose): use remove_one_device()
3471 - (nm_manager_get_device_by_udi): make static
3472 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3473 manager for devices at startup or wakeup time
3474 - (nm_manager_new): create and monitor the HAL manager
3475 - (hal_manager_udi_added_cb): new function; do what
3476 nm_manager_add_device() used to do when signalled by the hal manager
3477 - (hal_manager_udi_removed_cb): new function; do what
3478 nm_manager_remove_device() used to do when signalled by the hal
3480 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3482 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3483 in our device list that aren't known to HAL
3484 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3485 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3487 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3488 nm_manager_activation_pending, nm_manager_wireless_enabled,
3489 nm_manager_wireless_hardware_enabled,
3490 nm_manager_set_wireless_hardware_enabled): remove, unused
3492 2008-04-28 Dan Williams <dcbw@redhat.com>
3494 Fix the device up/down ambiguities. Up/down state used to be a
3495 conglomeration of hardware state (IFF_UP) and any device-specific things
3496 (supplicant, periodic timers, etc) that the device used to indicate
3497 readiness. Unfortunately, if the hardware was already IFF_UP for some
3498 reason, then the device specific stuff wouldn't get run, and the device
3503 - Create hw_is_up, hw_bring_up, and hw_take_down
3504 - Rename bring_down -> take_down
3505 - (real_hw_is_up): check interface flags for IFF_UP
3506 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3507 - (nm_device_is_up): make static; only used locally
3508 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3509 if the device is already up; if the device isn't up, bring it up
3510 - (nm_device_hw_take_down): just take down hardware
3511 - (nm_device_bring_up): bring up HW first, then device specific stuff
3512 - (nm_device_take_down): always deactivate device when called; always
3513 try to take hardware down too
3514 - (nm_device_state_changed): take device down when entering unmanaged
3515 state from a higher state
3517 * src/nm-device-802-11-wireless.c
3518 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3520 - (real_take_down, supplicant_iface_state_cb_handler,
3521 supplicant_iface_connection_state_cb_handler,
3522 supplicant_mgr_state_cb_handler): fix some messages
3524 * src/nm-device-802-3-ethernet.c
3525 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3528 2008-04-28 Dan Williams <dcbw@redhat.com>
3532 - (nm_manager_error_get_type): add new error
3533 - (nm_manager_remove_device): don't bother taking down the device here,
3534 the state change from unmanaging the device will do it
3535 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3536 uses it; when going to sleep, just unmanage the device instead of
3537 taking it down, because stuff will cleaned up correctly when the
3538 device gets unmanaged
3540 2008-04-28 Dan Williams <dcbw@redhat.com>
3542 * src/nm-hal-manager.c
3543 - (add_initial_devices): convert to a GSourceFunc prototype
3544 - (nm_manager_state_changed): when coming out of sleep, punt the
3545 device re-addition to an idle handler to let D-Bus events go out
3546 first, fixing a potential dbus-glib assert if the old device was
3547 not yet disposed (due to references held while emitting the D-Bus
3548 signals) but the new device was found, because the mainloop didn't
3549 run between signal emission and add_initial_devices()
3551 2008-04-27 Dan Williams <dcbw@redhat.com>
3553 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3555 * initscript/paldo/NetworkManager.in
3556 initscript/SUSE/networkmanager.in
3557 - Remove last bits of dhcdbd
3559 2008-04-27 Dan Williams <dcbw@redhat.com>
3561 * src/nm-device-802-11-wireless.c
3562 - (link_timeout_cb): don't ask for secrets when disconnected during
3563 association/authentication phase, drivers are still just too crappy
3565 2008-04-27 Dan Williams <dcbw@redhat.com>
3569 dispatcher-daemon/Makefile.am
3570 dispatcher-daemon/NetworkManagerDispatcher.c
3571 initscript/Arch/Makefile.am
3572 initscript/Arch/networkmanager-dispatcher.in
3573 initscript/Gentoo/Makefile.am
3574 initscript/Gentoo/NetworkManagerDispatcher.in
3575 initscript/Mandriva/Makefile.am
3576 initscript/Mandriva/networkmanagerdispatcher.in
3577 initscript/RedHat/Makefile.am
3578 initscript/RedHat/NetworkManagerDispatcher.in
3579 initscript/SUSE/Makefile.am
3580 initscript/SUSE/networkmanager-dispatcher.in
3581 initscript/Slackware/Makefile.am
3582 initscript/Slackware/rc.networkmanager-dispatcher.in
3583 initscript/paldo/Makefile.am
3584 initscript/paldo/NetworkManagerDispatcher.in
3586 man/NetworkManagerDispatcher.8.in
3587 - Remove the dispatcher daemon
3589 2008-04-27 Dan Williams <dcbw@redhat.com>
3591 * callouts/Makefile.am
3592 callouts/nm-dispatcher-action.c
3593 callouts/nm-dispatcher-action.h
3594 callouts/nm-dispatcher.conf
3595 callouts/nm-dispatcher.xml
3596 callouts/org.freedesktop.nm_dispatcher.service
3597 - Re-implement the dispatcher as a system-bus activated service that
3598 NM calls on-demand, rather than an always running daemon
3601 - Add callouts dir to includes to pick up dispatcher defines
3604 - (nm_device_state_changed): call dispatcher on device activated/
3607 * src/vpn-manager/nm-vpn-connection.c
3608 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3611 * src/NetworkManagerUtils.c
3612 src/NetworkManagerUtils.h
3613 - (nm_utils_call_dispatcher): helper to call dispatcher
3615 2008-04-27 Dan Williams <dcbw@redhat.com>
3617 * src/NetworkManagerUtils.c
3618 src/NetworkManagerUtils.h
3619 - remove unneeded includes
3620 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3621 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3622 nm_timeval_cmp, nm_timeval_add): remove, unused
3623 - clean up formatting
3624 - (nm_spawn_process): de-uglify
3626 * src/nm-device-802-11-wireless.c
3627 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3629 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3631 * initscript/Gentoo/NetworkManager.in:
3632 Fix for starting the daemon.
3634 2008-04-25 Dan Williams <dcbw@redhat.com>
3636 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3638 * src/NetworkManagerSystem.c
3639 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3641 2008-04-25 Dan Williams <dcbw@redhat.com>
3643 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3645 * src/NetworkManagerSystem.c
3646 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3647 implementation of nm_system_device_replace_default_route()
3649 * src/NetworkManagerPolicy.c
3650 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3652 * src/backends/NetworkManagerArch.c
3653 src/backends/NetworkManagerDebian.c
3654 src/backends/NetworkManagerFrugalware.c
3655 src/backends/NetworkManagerGeneric.c
3656 src/backends/NetworkManagerGeneric.h
3657 src/backends/NetworkManagerGentoo.c
3658 src/backends/NetworkManagerMandriva.c
3659 src/backends/NetworkManagerPaldo.c
3660 src/backends/NetworkManagerRedHat.c
3661 src/backends/NetworkManagerSlackware.c
3662 src/backends/NetworkManagerSuSE.c
3663 - (nm_system_device_replace_default_route): remove
3665 2008-04-25 Dan Williams <dcbw@redhat.com>
3667 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3669 * src/NetworkManagerSystem.c
3670 - (validate_ip4_route): remove; use nl_addr_parse() instead
3671 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3672 replace nm_system_device_add_route_via_device_with_iface() in the
3675 * src/backends/NetworkManagerArch.c
3676 src/backends/NetworkManagerDebian.c
3677 src/backends/NetworkManagerFrugalware.c
3678 src/backends/NetworkManagerGeneric.c
3679 src/backends/NetworkManagerGeneric.h
3680 src/backends/NetworkManagerGentoo.c
3681 src/backends/NetworkManagerMandriva.c
3682 src/backends/NetworkManagerPaldo.c
3683 src/backends/NetworkManagerRedHat.c
3684 src/backends/NetworkManagerSlackware.c
3685 src/backends/NetworkManagerSuSE.c
3686 - Remove nm_system_device_add_route_via_device_with_iface()
3688 2008-04-25 Dan Williams <dcbw@redhat.com>
3690 * system-settings/plugins/ifcfg-fedora/parser.c
3691 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3693 2008-04-24 Dan Williams <dcbw@redhat.com>
3695 * dispatcher-daemon/NetworkManagerDispatcher.c
3696 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3698 2008-04-24 Dan Williams <dcbw@redhat.com>
3700 * initscript/RedHat/NetworkManager.in
3701 initscript/RedHat/NetworkManagerDispatcher.in
3702 - Be active at runlevel 2
3703 - Adjust priorities earlier
3705 2008-04-22 Dan Williams <dcbw@redhat.com>
3707 * src/NetworkManagerPolicy.c
3708 - (update_routing_and_dns): when checking for a gateway, look at the
3709 composite IP4 config, not the connection's ip4-config setting, which
3710 doesn't include DHCP-returned information
3712 2008-04-22 Tambet Ingo <tambet@gmail.com>
3714 Implement GKeyFile system settings plugin.
3715 Implement writing system settings (currently supported only by GKeyFile plugin).
3717 * system-settings/src/main.c:
3718 * system-settings/src/dbus-settings.c: Move the communication with plugins
3719 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3720 plugins for adding/updating/removing connections.
3722 * system-settings/src/nm-system-config-interface.c
3723 (nm_system_config_interface_add_connection): Implement
3724 (nm_system_config_interface_update_connection): Implement.
3725 (nm_system_config_interface_remove_connection): Implement.
3727 * system-settings/plugins/keyfile/Makefile.am:
3728 * system-settings/plugins/keyfile/plugin.[ch]:
3729 * system-settings/plugins/keyfile/writer.[ch]:
3730 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3732 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3734 * configure.in: Generate GKeyFile Makefile.
3736 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3737 corruption, need to duplicate the returned string.
3738 (impl_exported_connection_update): Implement.
3739 (impl_exported_connection_delete): Implement.
3741 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3743 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3745 2008-04-22 Dan Williams <dcbw@redhat.com>
3747 Patch from Charles R. Anderson (cra@wpi.edu)
3749 * src/NetworkManagerPolicy.c
3750 - (update_routing_and_dns): don't select devices without a gateway
3751 as having the default route (rh #437338)
3753 2008-04-21 Dan Williams <dcbw@redhat.com>
3755 * src/nm-activation-request.c
3756 src/nm-activation-request.h
3757 - (dispose): ensure to disconnect from the device's state-changed signal
3758 when appropriate so the signal doesn't get handled by an already
3759 disposed NMActRequest
3760 - (device_state_changed): update is_default here too just to make sure
3761 default is only True when the child device is activated
3762 - (nm_act_request_set_default): new function
3764 * src/NetworkManagerPolicy.c
3765 - (update_routing_and_dns): set 'default' on the active connection which
3766 has the default route and DNS
3768 2008-04-21 Dan Williams <dcbw@redhat.com>
3770 * src/NetworkManagerPolicy.c
3771 - (device_state_changed): update routing and DNS when a device goes
3772 into unmanaged or unavailable states too (like rfkill or carrier loss)
3774 2008-04-21 Dan Williams <dcbw@redhat.com>
3776 * include/NetworkManager.h
3777 - Add NMActiveConnectionState enum
3779 * introspection/nm-active-connection.xml
3780 introspection/nm-vpn-connection.xml
3781 - Add 'State' property for overall active connection state
3782 - Add 'Default' property, when True means this active connection
3783 has the default route
3784 - Add PropertyChanged signals so changes actually go out over the bus
3786 * src/nm-active-connection.h
3787 - Add defines for State & Default properties
3789 * src/nm-activation-request.c
3790 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3791 signal to determine active connection state
3793 * src/vpn-manager/nm-vpn-connection.c
3794 src/vpn-manager/nm-vpn-connection.h
3795 src/vpn-manager/nm-vpn-manager.c
3796 src/vpn-manager/nm-vpn-service.c
3797 - Rename old 'state' to 'vpn-state'
3798 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3799 - Add 'state' and 'default' properties, hook up to the vpn connection's
3800 'vpn-state-changed' signal
3802 * libnm-glib/nm-active-connection.c
3803 libnm-glib/nm-active-connection.h
3804 - Add new 'state' and 'default' properties and accessors
3806 * libnm-glib/nm-vpn-connection.c
3807 libnm-glib/nm-vpn-connection.h
3808 - Rename old 'state' property to 'vpn-state'
3809 - Add new 'state' and 'default' properties and accessors
3811 2008-04-21 Dan Williams <dcbw@redhat.com>
3813 * src/nm-ip4-config.c
3814 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3815 not specified (rh #443474)
3817 2008-04-20 Dan Williams <dcbw@redhat.com>
3819 * src/NetworkManagerUtils.c
3820 src/NetworkManagerUtils.h
3821 - (nm_utils_merge_ip4_config): new function; merge settings from an
3822 NMSettingIP4Config to an NMIP4Config object
3825 - (merge_ip4_config): move to NetworkManagerUtils.c
3827 * src/vpn-manager/nm-vpn-connection.c
3828 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3831 2008-04-18 Dan Williams <dcbw@redhat.com>
3833 * libnm-util/nm-setting-ppp.c
3834 libnm-util/nm-setting-ppp.h
3835 - Add 'no-vj-comp' option for TCP header compression
3836 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3839 2008-04-18 Dan Williams <dcbw@redhat.com>
3841 * libnm-util/nm-setting-ppp.c
3842 libnm-util/nm-setting-ppp.h
3843 src/ppp-manager/nm-ppp-manager.c
3844 - Add 'refuse-pap' and 'refuse-mschapv2' options
3846 2008-04-18 Dan Williams <dcbw@redhat.com>
3848 * libnm-util/nm-setting-ppp.c
3849 libnm-util/nm-setting-ppp.h
3850 src/ppp-manager/nm-ppp-manager.c
3851 - Remove the 'usepeerdns' option and always request DNS servers from
3852 the PPP server; the connection chooses to use/override/ignore the
3853 DNS servers returned from the PPP server
3855 2008-04-18 Dan Williams <dcbw@redhat.com>
3857 * libnm-util/nm-setting-ppp.c
3858 libnm-util/nm-setting-ppp.h
3859 src/ppp-manager/nm-ppp-manager.c
3860 - Remove the 'require-mppc' option, because pppd doesn't support it and
3861 it seems to have been an erroneous addition to the PPTP plugin in
3862 the first place (from which the ppp-manager is derived)
3864 2008-04-17 Dan Williams <dcbw@redhat.com>
3866 * libnm-util/nm-setting-pppoe.c
3867 - (verify): require a PPP setting too
3869 * src/ppp-manager/nm-ppp-manager.c
3870 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3873 2008-04-17 Dan Williams <dcbw@redhat.com>
3876 - (nm_device_state_changed): do deactivation and and promotion to
3877 unavailable here, so that the device gets cleaned up before the
3878 manager runs and starts emitting signals; do the
3879 FAILED->DISCONNECTED transition from an idle handler rather than
3880 immediately to guard against recursion
3881 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3882 FAILED->DISCONNECTED handler if it's scheduled
3884 2008-04-17 Dan Williams <dcbw@redhat.com>
3886 * src/nm-device-802-11-wireless.c
3887 - (state_changed_cb): clear AP list when device transitions to
3888 unavailable or unmanaged
3889 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3890 since this is already done in device_cleanup()
3891 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3892 isn't available or managed
3893 - (device_cleanup): use remove_all_aps()
3894 - (remove_all_aps): consolidate code removing all APs
3896 2008-04-17 Dan Williams <dcbw@redhat.com>
3898 * src/nm-serial-device.c
3899 src/nm-serial-device.h
3900 - (wait_for_reply_got_data): break input into lines, and search each
3901 line for responses _and_ terminator strings; also make sure that
3902 the read loop doesn't continue after the timeout is supposed to fire
3903 - (nm_serial_device_wait_for_reply): take an array of terminators too
3905 * src/nm-gsm-device.c
3906 src/nm-cdma-device.c
3907 - Send terminators to nm_serial_device_wait_for_reply()
3909 2008-04-16 Dan Williams <dcbw@redhat.com>
3911 Patch from 陈鑫 <znscnchen@gmail.com>
3913 * src/ppp-manager/nm-pppd-plugin.c
3914 - (get_credentials): return correct value for success; handle case where
3915 pppd just does some checking but doesn't want a password
3916 - (plugin_init): make CHAP work too
3918 2008-04-16 Dan Williams <dcbw@redhat.com>
3920 Patch from 陈鑫 <znscnchen@gmail.com>
3922 * src/ppp-manager/nm-ppp-manager.c
3923 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3925 2008-04-16 Dan Williams <dcbw@redhat.com>
3927 Patch from 陈鑫 <znscnchen@gmail.com>
3929 * src/nm-device-802-3-ethernet.c
3930 - (real_deactivate_quickly): clear the IP interface name on
3931 deactivation, otherwise the wrong interface might get used later
3932 for routing and IP management
3934 2008-04-15 Dan Williams <dcbw@redhat.com>
3936 * libnm-glib/nm-device.c
3937 - (get_product_and_vendor): handle serial devices correctly
3938 - (nm_device_update_description): pass device to get_product_and_vendor()
3940 2008-04-15 Dan Williams <dcbw@redhat.com>
3942 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3944 * src/NetworkManagerSystem.h
3945 src/backends/NetworkManagerArch.c
3946 src/backends/NetworkManagerDebian.c
3947 src/backends/NetworkManagerFrugalware.c
3948 src/backends/NetworkManagerGeneric.c
3949 src/backends/NetworkManagerGeneric.h
3950 src/backends/NetworkManagerGentoo.c
3951 src/backends/NetworkManagerMandriva.c
3952 src/backends/NetworkManagerPaldo.c
3953 src/backends/NetworkManagerRedHat.c
3954 src/backends/NetworkManagerSlackware.c
3955 src/backends/NetworkManagerSuSE.c
3957 - (nm_generic_device_add_ip6_link_address,
3958 nm_system_device_add_ip6_link_address): remove
3960 2008-04-15 Dan Williams <dcbw@redhat.com>
3962 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3964 * src/backends/NetworkManagerArch.c
3965 src/backends/NetworkManagerDebian.c
3966 src/backends/NetworkManagerFrugalware.c
3967 src/backends/NetworkManagerGeneric.c
3968 src/backends/NetworkManagerGeneric.h
3969 src/backends/NetworkManagerGentoo.c
3970 src/backends/NetworkManagerMandriva.c
3971 src/backends/NetworkManagerPaldo.c
3972 src/backends/NetworkManagerRedHat.c
3973 src/backends/NetworkManagerSlackware.c
3974 src/backends/NetworkManagerSuSE.c
3975 src/NetworkManagerSystem.h
3976 - flush_routes -> flush_ip4_routes
3977 - flush_addresses -> flush_ip4_addresses
3979 * src/NetworkManagerSystem.c
3981 src/vpn-manager/nm-vpn-connection.c
3982 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3984 2008-04-15 Dan Williams <dcbw@redhat.com>
3986 Remove exposure of wireless-tools mode types in the API.
3988 * include/NetworkManager.h
3989 - Define NM80211Mode enum
3991 * introspection/generic-types.xml
3992 - Describe NM_802_11_MODE enum
3993 - Remove IW_MODE_* enum
3995 * introspection/nm-access-point.xml
3996 libnm-glib/nm-access-point.c
3997 libnm-glib/nm-access-point.h
3998 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4000 * introspection/nm-device-802-11-wireless.xml
4001 libnm-glib/nm-device-802-11-wireless.c
4002 libnm-glib/nm-device-802-11-wireless.h
4003 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4005 * libnm-util/nm-setting-wireless.c
4006 src/NetworkManagerAP.c
4007 src/NetworkManagerAP.h
4008 src/nm-device-802-11-wireless.c
4009 src/nm-device-802-11-wireless.h
4011 - Use NM80211Mode not IW_MODE_*
4013 2008-04-15 Dan Williams <dcbw@redhat.com>
4015 Enhance nm-online based on a patch from Bill Nottingham.
4019 - Add help messages and option summary
4020 - Add long-format options
4021 - Add a '-x' option to exit if NM isn't running or isn't connecting
4023 2008-04-15 Tambet Ingo <tambet@gmail.com>
4025 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4027 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4029 2008-04-15 Dan Williams <dcbw@redhat.com>
4031 * nm-setting-ip4-config.c
4032 - (ip4_addresses_from_gvalue): handle NULL address array
4034 * nm-setting-8021x.c
4035 - (verify_tls, verify_ttls): warn on failed verification
4037 2008-04-10 Dan Williams <dcbw@redhat.com>
4039 * src/nm-gsm-device.c
4040 - (automatic_registration): accept "+CREG: 0,0"
4041 - (automatic_registration_response): fail on "+CREG: 0,0"
4043 2008-04-10 Tambet Ingo <tambet@gmail.com>
4045 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4047 2008-04-10 Tambet Ingo <tambet@gmail.com>
4049 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4050 Make it compile again by commenting out broken code that at first didn't work and
4051 now didn't compile either.
4053 2008-04-08 Dan Williams <dcbw@redhat.com>
4055 * libnm-glib/nm-object-cache.c
4056 libnm-glib/nm-settings.c
4057 src/dhcp-manager/nm-dhcp-manager.c
4058 system-settings/plugins/ifcfg-fedora/plugin.c
4059 system-settings/plugins/ifcfg-suse/plugin.c
4060 system-settings/src/nm-system-config-hal-manager.c
4061 libnm-util/nm-utils.c
4062 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4063 not threadsafe anyway
4065 2008-04-08 Dan Williams <dcbw@redhat.com>
4067 * system-settings/src/main.c
4068 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4069 callbacks take a device type too
4071 2008-04-08 Dan Williams <dcbw@redhat.com>
4073 The system settings service will now create a new default DHCP connection
4074 for wired devices that have no existing applicable connection.
4076 * system-settings/src/nm-system-config-hal-manager.c
4077 system-settings/src/nm-system-config-hal-manager.h
4078 - (nm_system_config_hal_manager_get_type_for_udi): new function
4080 * system-settings/src/dbus-settings.c
4081 system-settings/src/dbus-settings.h
4082 - (nm_sysconfig_settings_get_connections): new function
4083 - (nm_sysconfig_settings_is_device_managed): new function
4085 * system-settings/src/main.c
4086 - (load_stuff): check for wired devices that need a default connection
4087 - (get_details_for_udi): get interface and MAC address from HAL
4088 - (add_default_dhcp_connection): add a default connection for a wired
4090 - (device_added_cb, device_removed_cb): do the right thing with
4091 wired devices and their default connections on HAL device events
4093 2008-04-07 Dan Williams <dcbw@redhat.com>
4095 * libnm-glib/nm-device.c
4096 libnm-glib/nm-device.h
4097 - Proxy the 'managed' property
4099 2008-04-07 Dan Williams <dcbw@redhat.com>
4101 * src/nm-gsm-device.c
4102 src/nm-cdma-device.c
4103 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4104 handler to transition to DISCONNECTED
4106 2008-04-07 Dan Williams <dcbw@redhat.com>
4108 Patch from Bill Nottingham
4110 * dispatcher-daemon/NetworkManagerDispatcher.c
4111 - ignore backup/packaging crufy (rh #440143)
4113 2008-04-07 Dan Williams <dcbw@redhat.com>
4115 * include/NetworkManager.h
4116 - Remove the DOWN and CANCELLED device states
4117 - Add UNMANAGED and UNAVAILABLE device states
4118 - Document the device states
4120 * introspection/nm-device.xml
4121 src/nm-device-interface.c
4122 src/nm-device-interface.h
4123 - Add the 'managed' property
4126 - (detail_device): print out device state
4128 * src/NetworkManagerSystem.h
4129 src/backends/NetworkManagerArch.c
4130 src/backends/NetworkManagerDebian.c
4131 src/backends/NetworkManagerFrugalware.c
4132 src/backends/NetworkManagerGentoo.c
4133 src/backends/NetworkManagerMandriva.c
4134 src/backends/NetworkManagerPaldo.c
4135 src/backends/NetworkManagerRedHat.c
4136 src/backends/NetworkManagerSlackware.c
4137 src/backends/NetworkManagerSuSE.c
4138 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4139 nm_system_device_free_system_config): remove; they were unused and
4140 their functionality should be re-implemented in each distro's
4141 system settings service plugin
4143 * src/nm-gsm-device.c
4145 src/nm-cdma-device.c
4146 src/nm-cdma-device.h
4147 - (*_new): take the 'managed' argument
4150 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4151 - (nm_device_init): start in unmanaged state, not disconnected
4152 - (constructor): don't start device until the system settings service
4153 has had a chance to figure out if the device is managed or not
4154 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4155 don't set device state here, let callers handle that as appropriate
4156 - (nm_device_dispose): don't touch the device if it's not managed
4157 - (set_property, get_property, nm_device_class_init): implement the
4159 - (nm_device_state_changed): bring the device up if its now managed,
4160 and deactivate it if it used to be active
4161 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4162 with the managed state
4164 * src/nm-hal-manager.c
4165 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4166 take initial managed state and pass it along to device constructors
4167 - (create_device_and_add_to_list): get managed state and pass to
4170 * src/nm-device-802-11-wireless.c
4171 - (real_can_activate): fold in most of
4172 nm_device_802_11_wireless_can_activate()
4173 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4174 - (link_timeout_cb): instead of deactivating, change device state and
4175 let the device state handler to it
4176 - (real_update_hw_address): clean up
4177 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4178 handler to transition to DISCONNECTED if the device isn't rfkilled
4180 * src/nm-device-802-3-ethernet.c
4181 - (set_carrier): move above callers and get rid of prototype
4182 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4183 idle handler to transition to DISCONNECTED if the device has a
4185 - (real_update_hw_address): clean up
4186 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4187 deactivation directly as deactivation doesn't change state anymore
4189 * src/NetworkManagerPolicy.c
4190 - (schedule_activate_check): yay, remove wireless_enabled hack since
4191 the NMManager and wireless devices work that out themselves now
4192 - (device_state_changed): change to a switch and update for new device
4194 - (device_carrier_changed): remove; device handles this now through
4196 - (device_added): don't care about carrier any more; the initial
4197 activation check will happen when the device transitions to
4201 - (dispose): clear unmanaged devices
4202 - (handle_unmanaged_devices): update unmanaged device list and toggle
4203 the managed property on each device when needed
4204 - (system_settings_properties_changed_cb): handle signals from the
4205 system settings service
4206 - (system_settings_get_unmanaged_devices_cb): handle callback from
4207 getting the unmanaged device list method call
4208 - (query_unmanaged_devices): ask the system settings service for its
4209 list of unmanaged devices
4210 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4212 - (manager_set_wireless_enabled): push rfkill state down to wireless
4213 devices directly and let them handle the necessary state transitions
4214 - (manager_device_state_changed): update for new device states
4215 - (nm_manager_add_device): set initial rfkill state on wireless devices
4216 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4217 - (nm_manager_activate_connection): return error if the device is
4219 - (nm_manager_sleep): handle new device states correctly; don't change
4220 the state of unavailable/unmanaged devices
4222 * libnm-glib/nm-device-802-11-wireless.c
4223 - (state_changed_cb): update for new device states
4225 2008-04-07 Dan Williams <dcbw@redhat.com>
4227 * marshallers/nm-marshal.list
4228 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4230 2008-04-07 Dan Williams <dcbw@redhat.com>
4232 * system-settings/src/main.c
4233 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4234 plugins to the dbus settings object
4235 - (load_stuff): start the dbus service after grabbing unmanaged devices
4236 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4237 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4238 - (main): switch default logging to syslog with a 'debug' option to
4239 output to console; start up the HAL manager
4241 2008-04-07 Dan Williams <dcbw@redhat.com>
4243 * introspection/nm-settings-system.xml
4244 introspection/Makefile.am
4245 - Define the unmanaged devices interface for the system settings service
4247 * system-settings/src/nm-system-config-hal-manager.c
4248 system-settings/src/nm-system-config-hal-manager.h
4249 system-settings/src/nm-system-config-hal-manager-private.h
4250 system-settings/src/Makefile.am
4251 - Add a lightweight HAL manager object for tracking network devices for
4252 the purpose of determining unmanaged devices and which devices need
4253 the default DHCP connections
4255 * system-settings/src/nm-system-config-interface.c
4256 system-settings/src/nm-system-config-interface.h
4257 - (nm_system_config_interface_init): add the HAL manager as an argument
4258 - (nm_system_config_interface_get_unmanaged_devices): implement
4259 - Define 'unmanaged-devices-changed' signal
4261 * system-settings/src/dbus-settings.c
4262 system-settings/src/dbus-settings.h
4263 - Implement the unmanaged devices interface; some cleanups
4265 * system-settings/plugins/ifcfg-suse/plugin.c
4266 - Fixup for plugin interface changes
4268 * system-settings/plugins/ifcfg-fedora/plugin.c
4269 - (get_ether_device_udi): new function; find the device that has
4270 a specified MAC address and return its UDI
4271 - (get_udi_for_connection): new function; try to find the specific
4272 device a connection is locked to, if any
4273 - (device_added_cb, device_removed_cb): update unmanaged device list in
4274 response to HAL events
4275 - (get_unmanaged_devices): new function; return unmanaged device list
4276 - (build_one_connection): set the connection's locked device, if any
4277 - (write_auto_wired_connection): remove
4278 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4279 - (handle_connection_changed): alert listeners that the unmanaged device
4281 - (init): fixup for plugin interface changes, implement unmanaged devices
4283 * system-settings/plugins/ifcfg-fedora/parser.c
4284 system-settings/plugins/ifcfg-fedora/parser.h
4285 - (connection_data_free): clean up connection UDI
4287 2008-04-07 Dan Williams <dcbw@redhat.com>
4289 * system-settings/plugins/ifcfg-fedora/parser.c
4290 - (make_ip4_setting): fix parsing of DNS servers
4292 2008-04-05 Dan Williams <dcbw@redhat.com>
4296 marshallers/Makefile.am
4297 marshallers/nm-marshal-main.c
4298 marshallers/nm-marshal.list
4299 - Consolidate marshallers
4301 * libnm-glib/nm-marshal-main.c
4302 libnm-glib/nm-marshal.list
4303 src/marshallers/Makefile.am
4304 src/marshallers/nm-marshal-main.c
4305 src/marshallers/nm-marshal.list
4308 * libnm-glib/Makefile.am
4310 src/dhcp-manager/Makefile.am
4311 src/ppp-manager/Makefile.am
4312 src/supplicant-manager/Makefile.am
4313 src/vpn-manager/Makefile.am
4314 - Use consolidated marshallers
4316 2008-04-04 Dan Williams <dcbw@redhat.com>
4318 * src/nm-hal-manager.c
4319 src/nm-hal-manager.h
4320 - (hal_init): don't look for hardware here
4321 - (nm_hal_manager_start): new function; look for hardware here instead,
4322 which can be done at a later time than hal_init()
4324 * src/NetworkManager.c
4325 - (main): start HAL manager after entering the main loop
4327 2008-04-03 Dan Williams <dcbw@redhat.com>
4329 * libnm-glib/nm-settings.c
4330 libnm-glib/nm-settings.h
4331 - (nm_exported_connection_get_id): new function
4332 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4334 2008-04-02 Dan Williams <dcbw@redhat.com>
4336 * src/nm-device-interface.c
4337 src/nm-device-interface.h
4340 - Rename check_connection_conflicts() to check_connection_compatible()
4342 * src/nm-device-802-11-wireless.c
4343 - (real_check_connection_conflicts): remove
4344 - (real_check_connection_compatible): implement; match MAC address
4346 * src/nm-device-802-3-ethernet.c
4347 - (real_check_connection_conflicts): remove
4348 - (real_check_connection_compatible): implement; match MAC address
4349 - (real_get_best_auto_connection): correctly handle PPPoE cases
4352 - (check_connection_allowed): remove; unused until PolicyKit integration
4353 - (internal_activate_device): check whether the connection is compatible
4354 with the device before trying to activate it
4356 2008-04-02 Dan Williams <dcbw@redhat.com>
4358 * system-settings/plugins/ifcfg-fedora/parser.c
4359 - (read_mac_address): new function; read in MAC address and stuff it
4361 - (add_one_wep_key): remove debug spew
4362 - (make_wireless_security_setting): validate the default TX key; don't
4363 add the wireless-security setting if the connection doesn't need
4364 security; don't leak the keys shvarFile on error cases
4365 - (make_wireless_setting, make_wired_setting): populate device's MAC
4368 2008-04-02 Dan Williams <dcbw@redhat.com>
4370 * libnm-util/nm-setting-connection.c
4371 libnm-util/nm-setting-connection.h
4372 - (set_property, get_property, nm_setting_connection_class_init): remove
4373 the 'lockdown' property; it's functionality will be replaced by
4376 2008-04-01 Dan Williams <dcbw@redhat.com>
4378 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4381 initscript/Makefile.am
4382 initscript/Mandriva/Makefile.am
4383 initscript/Mandriva/networkmanager.in
4384 initscript/Mandriva/networkmanagerdispatcher.in
4385 src/backends/Makefile.am
4386 src/backends/NetworkManagerMandriva.c
4387 system-settings/plugins/Makefile.am
4388 - Add Mandriva support
4390 2008-03-31 Dan Williams <dcbw@redhat.com>
4392 * src/vpn-manager/nm-vpn-service.c
4393 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4394 errors can be passed back to the caller; also no longer scheduled
4395 as an idle handler, but called directly; and bump up VPN service
4396 spawn timeout, 2s is really short
4397 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4398 but call it directly so that errors are reported on return from
4399 ActivateConnection() and don't get lost. If scheduled as an idle
4400 handler, clients don't have the time to query NM for the new VPN
4401 connection's properties before the VPN connection is torn down again
4402 if the service couldn't be launched, and therefore launch errors
4405 2008-03-31 Dan Williams <dcbw@redhat.com>
4407 * src/vpn-manager/nm-vpn-connection.c
4408 - (device_state_changed): send correct state on device failure too
4409 - (plugin_state_changed): failed state means unexpected disconnection,
4410 thus if the service goes away while the VPN connection is activated
4411 that's a failure too
4413 2008-03-31 Dan Williams <dcbw@redhat.com>
4415 * src/vpn-manager/nm-vpn-manager.c
4416 src/vpn-manager/nm-vpn-manager.h
4417 - Make VPNManager errors more available; add a service-start-failed error
4419 2008-03-31 Dan Williams <dcbw@redhat.com>
4421 * libnm-glib/nm-client.c
4422 libnm-glib/nm-client.h
4423 - (activate_cb): pass the new active connection to callback; fix
4424 message when no callback is specified
4426 2008-03-30 Dan Williams <dcbw@redhat.com>
4428 * libnm-util/nm-setting-wireless-security.c
4429 - (need_secrets): only require key0 if the transmit key index is also
4431 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4433 2008-03-29 Dan Williams <dcbw@redhat.com>
4435 * libnm-util/nm-setting-8021x.c
4436 libnm-util/nm-setting-ip4-config.c
4437 libnm-util/nm-setting-vpn-properties.c
4438 libnm-util/nm-setting-vpn.c
4439 libnm-util/nm-setting-wireless-security.c
4440 libnm-util/nm-setting-wireless.c
4441 libnm-util/nm-utils.c
4442 src/dhcp-manager/nm-dhcp-manager.c
4443 src/nm-activation-request.c
4446 src/nm-properties-changed-signal.c
4447 src/ppp-manager/nm-pppd-plugin.c
4448 src/supplicant-manager/nm-supplicant-interface.c
4449 src/vpn-manager/nm-vpn-connection.c
4450 - consistently use nm-dbus-glib-types.h
4452 2008-03-29 Dan Williams <dcbw@redhat.com>
4454 * src/vpn-manager/nm-vpn-connection.c
4455 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4458 * src/nm-activation-request.c
4459 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4462 2008-03-29 Dan Williams <dcbw@redhat.com>
4464 * libnm-glib/nm-device-802-11-wireless.c
4465 - (access_point_added_proxy): create new APs if not found
4467 2008-03-29 Dan Williams <dcbw@redhat.com>
4469 * libnm-glib/nm-client.c
4470 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4473 2008-03-29 Dan Williams <dcbw@redhat.com>
4475 * system-settings/plugins/ifcfg-fedora/parser.c
4476 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4477 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4479 2008-03-29 Dan Williams <dcbw@redhat.com>
4481 * system-settings/plugins/ifcfg-fedora/parser.c
4482 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4484 2008-03-27 Dan Williams <dcbw@redhat.com>
4487 - (nm_object_queue_notify): don't notify multiple times for the same
4490 * nm-object-private.h
4491 - (handle_ptr_array_return): return NULL if the given array is NULL or
4492 if it has zero elements
4495 - (finalize): use g_ptr_array_foreach() when freeing domains
4496 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4498 * nm-active-connection.c
4499 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4501 * nm-device-802-11-wireless.c
4502 nm-device-802-11-wireless.h
4503 - (nm_device_802_11_wireless_get_access_points): return const; use
4504 handle_ptr_array_return()
4507 - (nm_object_array_demarshal): always create an array, even of length
4508 zero, to distinguish between "NM returned no items" and "haven't
4512 - (dispose): free active connections too
4513 - (proxy_name_owner_changed): free active connections too when NM goes
4515 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4516 - (nm_client_get_active_connections): use handle_ptr_array_return()
4518 2008-03-26 Dan Williams <dcbw@redhat.com>
4520 Rework VPN connection handling for a more consistent D-Bus API. The
4521 VPNManager object has been removed, and active VPN connections are now the
4522 same as any other active connection. The Manager object's ActivateConnection
4523 and DeactivateConnection methods are used to start and stop a VPN connection,
4524 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4525 When activating a VPN connection, pass the path of the active connection
4526 to which the VPN connection is tied in the 'specific_object' argument.
4528 Consequently, the libnm-glib API has been reworked to match this arrangement,
4529 with the VPNManager object removed, and the NMVPNConnection objects now
4530 being subclasses of NMActiveConnection.
4532 2008-03-25 Dan Williams <dcbw@redhat.com>
4534 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4536 * initscript/Arch/networkmanager.in
4537 initscript/Arch/networkmanager-dispatcher.in
4538 - Updates for Arch Linux (gnome.org #523701)
4540 2008-03-25 Dan Williams <dcbw@redhat.com>
4542 * libnm-glib/nm-ip4-config.c
4543 libnm-glib/nm-active-connection.c
4544 libnm-glib/nm-access-point.c
4545 - Use nm_object_queue_notify() instead of g_object_notify()
4547 * libnm-glib/nm-device.c
4548 - (demarshal_ip4_config): distinguish between successful but missing
4549 ip4-config request, and unsuccessful and missing ip4-config request
4550 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4552 - Use nm_object_queue_notify() instead of g_object_notify()
4554 * libnm-glib/nm-device-802-11-wireless.c
4555 - (demarshal_active_ap): distinguish between successfull but missing
4556 active-ap request, and unsuccessful and missing active-ap request
4557 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4559 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4560 for the NMClient to notify the device that wireless is disabled,
4561 and therefore to clear the AP list and active AP
4562 - Use nm_object_queue_notify() instead of g_object_notify()
4564 * libnm-glib/nm-client.c
4565 - (poke_wireless_devices_with_rf_status): new function
4566 - (update_wireless_status): notify wireless devices of the rfkill status
4567 so they can clean up if needed
4568 - Use nm_object_queue_notify() instead of g_object_notify()
4570 2008-03-25 Dan Williams <dcbw@redhat.com>
4572 * libnm-glib/nm-object.c
4573 libnm-glib/nm-object-private.h
4574 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4575 signals to an idle handler
4576 - (nm_object_get_property): add a timeout to the D-Bus method call
4578 2008-03-25 Dan Williams <dcbw@redhat.com>
4580 * introspection/nm-device-cdma.xml
4581 introspection/nm-device-gsm.xml
4582 introspection/Makefile.am
4583 introspection/all.xml
4584 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4586 * src/nm-gsm-device.h
4588 src/nm-cdma-device.h
4589 src/nm-cdma-device.c
4591 - Implement PropertiesChanged signals
4593 * libnm-glib/nm-cdma-device.c
4594 libnm-glib/nm-cdma-device.c
4595 - Attach to PropertiesChanged signals
4597 2008-03-24 Dan Williams <dcbw@redhat.com>
4599 * libnm-glib/nm-client.c
4600 - (client_device_added_proxy): add new devices to the internal device
4601 list so they appear to clients
4603 2008-03-24 Dan Williams <dcbw@redhat.com>
4605 Massive fixup of libnm-glib to:
4606 a) have all objects (with the exception of VPN) cache their properties and
4607 update them asynchronously on PropertiesChanged signals from NM
4608 b) return internal const data for most attributes/properties instead of
4609 allocated values that the caller must free
4610 c) cache wrapped objects such that a given D-Bus path will always map to the
4611 same GObject returned by libnm-glib
4612 d) remove a few signals and move them to GObject property notifications
4613 e) match recent NM D-Bus API changes for activation/deactivation
4614 f) remove some private functions from libnm-glib headers
4616 2008-03-20 Dan Williams <dcbw@redhat.com>
4619 - (nm_manager_update_state, manager_device_state_changed,
4620 nm_manager_activate_device, connection_added_default_handler,
4621 impl_manager_activate_connection, impl_manager_deactivate_connection):
4622 queue PropertyChanged singals when the active connections change
4624 2008-03-20 Dan Williams <dcbw@redhat.com>
4626 * introspection/nm-manager.xml
4627 introspection/nm-manager-client.xml
4628 - (ActivateConnection): return the object path of the active connection
4630 - (GetActiveConnections): remove
4631 - (DeactivateConnection): new function; deactivate a currently active
4633 - Add an ActiveConnections property which returns an array of
4634 active connection object paths
4636 * introspection/nm-device.xml
4637 - (Deactivate): remove
4639 * introspection/all.xml
4640 - Add ActiveConnection introspection
4642 * introspection/nm-active-connection.xml
4643 - Add the ActiveConnection object
4645 * include/NetworkManager.h
4646 - Add the Connection.Active D-Bus interface
4648 * src/nm-device-interface.c
4649 - (impl_device_deactivate): remove
4651 * src/nm-activation-request.c
4652 src/nm-activation-request.c
4654 - Implement the Connection.Active D-Bus interface
4657 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4658 - (nm_manager_activate_device): return the active connection path
4659 - (connection_added_default_handler, impl_manager_activate_connection):
4660 return the active connection to the caller
4661 - (add_one_connection_element, impl_manager_get_active_connections):
4663 - (impl_manager_deactivate_connection): new function; deactivate an
4666 * libnm-glib/nm-device.c
4667 libnm-glib/nm-device.h
4668 - Remove Deactivate() function
4670 2008-03-19 Dan Williams <dcbw@redhat.com>
4672 * introspection/nm-manager.xml
4673 introspection/nm-manager-client.xml
4674 - Rename the ActivateDevice method to ActivateConnection to better
4675 reflect it's usage; it's arguments get reordered a bit too
4676 - Convert GetActiveConnections method return from a struct to a dict
4678 * include/NetworkManager.h
4679 - Define the dict keys for return value of GetActiveConnections
4682 - impl_manager_activate_device -> impl_manager_activate_connection
4683 - (add_one_connection_element): return a populated hash table, not
4686 * libnm-glib/nm-client.c
4687 libnm-glib/nm-client.h
4688 - nm_client_activate_device -> nm_client_activate_connection
4689 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4690 - (nm_client_get_active_connections): return a GSList of GHashTables,
4691 instead of the custom structures. Each element of the returned list
4692 must be freed with nm_client_free_active_connections_element()
4694 2008-03-18 Dan Williams <dcbw@redhat.com>
4696 * system-settings/plugins/ifcfg-fedora/parser.c
4697 system-settings/plugins/ifcfg-fedora/parser.h
4698 system-settings/plugins/ifcfg-fedora/plugin.c
4699 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4700 profiles. DNS servers and searches must now be stored in the ifcfg
4703 2008-03-18 Tambet Ingo <tambet@gmail.com>
4705 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4706 print out username and password, it's supposed to be a secret.
4708 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4709 request and set the device state accordingly.
4711 2008-03-18 Tambet Ingo <tambet@gmail.com>
4713 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4715 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4717 2008-03-18 Dan Williams <dcbw@redhat.com>
4719 * src/vpn-manager/nm-vpn-connection.c
4720 - (get_secrets_cb): handle new GetSecrets return format
4722 2008-03-18 Dan Williams <dcbw@redhat.com>
4724 Adapt system settings service for split 802.1x.
4726 * system-settings/src/nm-system-config-interface.h
4727 - clarify return value of get_secrets()
4729 * system-settings/src/dbus-settings.c
4730 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4731 - (check_for_secrets): check if there actually secrets returned by a
4733 - (exported_connection_get_secrets): just return the plugin-returned
4734 hash of settings' secrets if it looks valid
4736 * system-settings/plugins/ifcfg-fedora/plugin.c
4737 - (get_secrets): add split secrets with correct format to reply hash
4739 * system-settings/plugins/ifcfg-fedora/parser.c
4740 system-settings/plugins/ifcfg-fedora/parser.h
4741 - (copy_one_cdata_secret, connection_data_copy_secrets,
4742 connection_data_free, connection_data_add): keep secrets for
4743 different settings in different hashes
4745 2008-03-17 Tambet Ingo <tambet@gmail.com>
4747 Clean up activating device deactivation.
4749 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4750 should be done whether the device activation gets cancelled or the device
4751 is just getting deactivated.
4752 (nm_device_activation_cancel): Remove.
4753 (nm_device_deactivate_quickly): Handle the case where device is activating.
4755 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4756 It does the exact same thing as real_deactivate_quickly().
4758 2008-03-17 Dan Williams <dcbw@redhat.com>
4760 Split the 802.1x bits out of the wireless-security setting so they are
4761 generalized enough for wired 802.1x to use too.
4763 * introspection/nm-exported-connection.xml
4764 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4765 of just a hash of the secrets for one setting
4767 * libnm-util/nm-setting-wireless-security.c
4768 libnm-util/nm-setting-wireless-security.h
4769 - Remove 802.1x-specific stuff
4770 - Added leap-username and leap-password properties for old-school LEAP
4774 - (connection_secrets_updated_cb): take a list of updated settings names,
4777 * src/supplicant-manager/nm-supplicant-config.c
4778 src/supplicant-manager/nm-supplicant-config.h
4779 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4780 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4781 to nm_supplicant_config_add_setting_8021x()
4782 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4783 the supplicant config
4785 * src/nm-device-802-11-wireless.c
4786 - (build_supplicant_config): pass in the 802.1x setting too, if any
4787 - (real_connection_secrets_updated): take a list of updated settings
4790 * src/nm-device-802-3-ethernet.c
4791 src/nm-cdma-device.c
4793 - (real_connection_secrets_updated_cb): take a list of updated settings
4796 * src/nm-activation-request.c
4797 src/nm-activation-request.h
4798 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4799 now passes a list of updated settings names, not just one
4800 - (update_one_setting): new function; handle one updated setting
4801 - (get_secrets_cb): handle multiple settings returned from the
4802 settings service; have to be careful of ordering here as there are
4803 some dependencies between settings (ex. wireless-security and 802.1x
4806 * src/marshallers/nm-marshal.list
4807 - new marshaller for connection-secrets-updated signal
4809 * libnm-util/nm-setting-8021x.c
4810 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4812 - (verify): a valid 'eap' property is now required
4814 * libnm-util/nm-connection.c
4815 - (register_default_settings): add priorities to settings; there are
4816 some dependencies between settings, and during the need_secrets
4817 calls this priority needs to be respected. For example, only the
4818 wireless-security setting knows whether or not the connection is
4819 going to use 802.1x or now, so it must be asked for secrets before
4820 any existing 802.1x setting is
4821 - (nm_connection_lookup_setting_type): expose
4823 * libnm-util/nm-setting-wireless.c
4824 - (verify): should verify even if all_settings is NULL; otherwise won't
4825 catch the case where there is missing security
4827 * libnm-util/nm-setting-wireless-security.c
4828 - Remove everything to do with 802.1x
4829 - Add old-school LEAP specific properties for username and password
4830 - (need_secrets): rework LEAP secrets checking
4831 - (verify): rework for LEAP and 802.1x verification
4833 2008-03-17 Dan Williams <dcbw@redhat.com>
4835 * src/NetworkManagerPolicy.c
4836 - (auto_activate_device): always remove the current activation check
4837 from the pending activation list, otherwise when the policy gets
4838 destroyed on NM exit it will attempt to free the already freed
4841 2008-03-14 Tambet Ingo <tambet@gmail.com>
4843 * src/backends/NetworkManagerSlackware.c
4844 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4846 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4848 2008-03-14 Dan Williams <dcbw@redhat.com>
4851 - (nm_device_interface_get_iface): g_object_get() will return an
4852 allocated value, so this function must not return const
4853 - (nm_device_interface_activate): free returned iface
4855 2008-03-14 Tambet Ingo <tambet@gmail.com>
4857 * libnm-util/Makefile.am: Add new files to build.
4859 * libnm-util/nm-connection.c: Register NMSetting8021x.
4861 * libnm-util/nm-setting-8021x.c
4862 * libnm-util/nm-setting-8021x.h: Implement.
4864 2008-03-14 Tambet Ingo <tambet@gmail.com>
4866 * libnm-util/Makefile.am: Add new files to build.
4868 * libnm-util/nm-connection.c: Register NMSetting8021x.
4870 * libnm-util/nm-setting-8021x.c
4871 * libnm-util/nm-setting-8021x.h: Implement.
4873 2008-03-14 Tambet Ingo <tambet@gmail.com>
4875 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4878 2008-03-14 Dan Williams <dcbw@redhat.com>
4880 * include/wireless-helper.h
4882 - One place for all the junk needed for #including wireless.h
4885 src/NetworkManagerAP.c
4888 libnm-util/nm-utils.c
4889 libnm-util/nm-setting-wireless.c
4890 libnm-glib/nm-device-802-11-wireless.c
4891 libnm-glib/nm-access-point.c
4892 libnm-glib/libnm-glib-test.c
4893 - include wireless-helper.h, not iwlib.h
4896 - Don't need libiw really, just need to check for wireless.h
4898 * src/kernel-types.h
4899 - Remove; used types moved into wpa.c
4901 * src/nm-device-802-11-wireless.c
4902 - (nm_device_802_11_wireless_update_signal_strength,
4903 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4904 nm_device_802_11_wireless_set_mode,
4905 nm_device_802_11_wireless_get_frequency,
4906 nm_device_802_11_wireless_get_ssid,
4907 nm_device_802_11_wireless_set_ssid,
4908 nm_device_802_11_wireless_get_bitrate,
4909 nm_device_802_11_wireless_get_bssid,
4910 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4911 instead of iwlib functions
4913 2008-03-14 Dan Williams <dcbw@redhat.com>
4915 * src/ppp-manager/nm-ppp-manager.c
4916 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4917 should only take the DBusGMethodInvocation argument, not user/pass
4918 too. With dbus-glib, async functions only take 2 C arguments since
4919 the real dbus method arguments get passed back with
4920 dbus_g_method_return()
4922 2008-03-13 Tambet Ingo <tambet@gmail.com>
4924 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4925 Adapt the changes of NMSettingIP4Config.
4927 2008-03-13 Dan Williams <dcbw@redhat.com>
4929 * src/NetworkManagerUtils.c
4930 src/NetworkManagerUtils.h
4931 - (nm_ether_ntop): replacement for iw_ether_ntop()
4933 * src/NetworkManagerAP.c
4934 src/nm-device-802-11-wireless.c
4935 src/nm-device-802-3-ethernet.c
4936 - s/iw_ether_ntop/nm_ether_ntop/g
4938 2008-03-13 Dan Williams <dcbw@redhat.com>
4940 * src/NetworkManagerPolicy.c
4941 - (update_routing_and_dns): never set the default route through an
4942 IPv4LL addressed device
4944 2008-03-13 Dan Williams <dcbw@redhat.com>
4946 * NetworkManagerUtils.c
4947 NetworkManagerUtils.h
4948 - Remove NMSock stuff
4949 - Remove the completion stuff
4954 NetworkManagerSystem.c
4956 nm-device-802-11-wireless.c
4957 nm-device-802-3-ethernet.c
4958 - Remove NMSock and completion stuff
4959 - Remove nm_ioctl_info()
4961 2008-03-12 Dan Williams <dcbw@redhat.com>
4964 - (merge_ip4_config): avoid duplicates
4966 2008-03-12 Dan Williams <dcbw@redhat.com>
4968 * libnm-util/nm-setting-ip4-config.c
4969 libnm-util/nm-setting-ip4-config.h
4970 - Remove 'manual' and 'autoip' properties
4971 - Add 'method' property
4972 - (verify): fix verification with 'method'
4973 - (finalize): free 'method'
4974 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4978 - (real_act_stage3_ip_config_start): check IP4Config method
4979 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4981 - (merge_ip4_config): IP settings are valid with DHCP too
4982 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4983 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4985 * src/nm-device-802-11-wireless.c
4986 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4987 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4990 * system-settings/plugins/ifcfg-fedora/parser.c
4991 system-settings/plugins/ifcfg-suse/parser.c
4992 - (make_ip4_setting): fix up for 'method'
4994 2008-03-12 Dan Williams <dcbw@redhat.com>
4996 * system-settings/plugins/ifcfg-fedora/parser.c
4997 system-settings/plugins/ifcfg-fedora/parser.h
4998 - (get_ifcfg_name): ignore more file suffixes
4999 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5001 2008-03-12 Dan Williams <dcbw@redhat.com>
5004 - Bring in the bits of gnome-common we actually use (all 15 lines)
5006 2008-03-12 Dan Williams <dcbw@redhat.com>
5008 * system-settings/plugins/ifcfg-fedora/plugin.c
5009 - (write_auto_wired_connection): new function; write out an auto
5010 wired connection file since the applet isn't doing it any more
5011 - (reload_all_connections): write out the auto wired connection file
5012 if there aren't any wired connections already
5013 - (init): don't leak a GError
5015 2008-03-12 Dan Williams <dcbw@redhat.com>
5017 * src/nm-device-interface.c
5018 - (nm_device_interface_activate): print the ID of the connection
5019 that's about to be activated
5021 2008-03-12 Dan Williams <dcbw@redhat.com>
5023 Harmonize the 802.11 bitrate API
5025 * introspection/nm-access-point.xml
5026 - 'Rate' -> 'MaxBitrate'; clarify units
5028 * introspection/nm-device-802-11-wireless.xml
5029 - Clarify units of 'Bitrate'
5031 * src/NetworkManagerAP.c
5032 src/NetworkManagerAP.h
5033 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5034 property to 'max-bitrate'
5035 - (foreach_property_cb): convert rate to Kb/s
5037 * src/nm-device-802-11-wireless.c
5038 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5040 * libnm-glib/nm-access-point.c
5041 libnm-glib/nm-access-point.h
5042 - 'rate' -> 'max-bitrate'
5045 libnm-glib/libnm-glib-test.c
5046 - Fix up for these changes
5048 2008-03-12 Dan Williams <dcbw@redhat.com>
5051 - (nm_device_set_ip4_config): don't send property notifications when
5052 the ip4 config is set to NULL; it causes a PropertyChanged signal
5053 which dbus-glib can't parse because the value is NULL, which isn't
5054 a legal object path. Setting the IP4 config to NULL is only
5055 valid when deactivating a device anyway, so the device state change
5056 will alert listeners that the ip4 config is invalid.
5058 2008-03-12 Dan Williams <dcbw@redhat.com>
5060 * src/nm-properties-changed-signal.c
5061 - (add_to_string): better handling of NULL objects
5063 2008-03-12 Dan Williams <dcbw@redhat.com>
5065 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5066 convert the libnm-glib NMDevice8023Ethernet to cached properties
5068 * introspection/nm-device-802-3-ethernet.xml
5069 - New 'Carrier' property
5070 - New 'PropertiesChanged' signal
5072 * introspection/nm-device.xml
5073 - Remove 'Carrier' property
5074 - Remove 'CarrierChanged' signal
5076 * src/nm-device-interface.c
5077 src/nm-device-interface.h
5078 - (nm_device_interface_init): remove 'carrier' property and
5079 'carrier-changed' signal
5083 - (nm_device_get_carrier, nm_device_set_carrier): remove
5084 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5085 the link here; wired device will handle that
5086 - (handle_dhcp_lease_change): don't bother updating link here
5087 - (get_property, nm_device_class_init): remove carrier property
5089 * src/nm-device-802-11-wireless.c
5090 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5091 real_update_link(); wireless devices don't use carrier at all
5092 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5093 supplicant_iface_connection_state_cb_handler,
5094 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5096 * src/nm-device-802-3-ethernet.c
5097 src/nm-device-802-3-ethernet.h
5098 - (nm_device_802_3_ethernet_carrier_on,
5099 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5100 instead of nm_device_set_carrier()
5101 - (device_state_changed): update link from sysfs on activation;
5102 replaces real_update_link()
5103 - (real_update_link): remove, replaced by device_state_changed()
5104 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5105 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5106 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5107 new get_carrier function
5108 - (get_property): add 'carrier' property
5109 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5110 hook into property-changed signal helper
5112 * src/NetworkManagerPolicy.c
5113 - (device_carrier_changed): will only ever be called with a wired device
5114 - (device_added): only hook up to carrier-changed for wired devices
5116 * libnm-glib/nm-device.c
5117 libnm-glib/nm-device.h
5118 - (constructor, nm_device_class_init): remove carrier-changed signal
5119 - (device_carrier_changed_proxy): remove; unused
5120 - (nm_device_get_carrier): remove; carrier a property of wired devices
5122 * libnm-glib/nm-device-802-3-ethernet.c
5123 libnm-glib/nm-device-802-3-ethernet.h
5124 - Convert to cached properties like AP and Wireless objects
5125 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5126 instead of a 'char *', return value should not be freed
5127 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5128 - (constructor): hook into properties-changed helper
5129 - (set_property, get_property): new functions
5130 - (nm_device_802_3_ethernet_class_init): export GObject properties
5133 - (detail_device): strdup the wired hardware address too since it's
5136 * libnm-glib/libnm-glib-test.c
5137 - (dump_wired): strdup the wired hardware address too since it's
5140 2008-03-12 Dan Williams <dcbw@redhat.com>
5142 * libnm-util/nm-setting-ip4-config.c
5143 libnm-util/nm-setting-ip4-config.h
5144 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5145 the 'autoip' property from the spec
5147 2008-03-11 Dan Williams <dcbw@redhat.com>
5149 * src/backends/NetworkManagerGeneric.c
5150 src/backends/NetworkManagerGeneric.h
5151 - (nm_generic_device_get_use_dhcp): remove
5153 2008-03-11 Dan Williams <dcbw@redhat.com>
5156 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5157 already in nm_device_set_ip4_config()
5158 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5159 due to a DHCP rebind fails
5160 - (nm_device_set_ip4_config): send property notifications when the
5162 - (get_property): only report IP4Config property during valid states
5164 * src/NetworkManagerPolicy.c
5165 - (update_routing_and_dns): ignore devices that don't have an ip4
5166 config; add parameter 'force_update' to allow callers to specify
5167 that changes should be made even if the default device doesn't change
5168 - (device_ip4_config_changed): update DNS and routing when the device's
5169 IP4Config changes, like for DHCP updates
5170 - (device_added): listen for ip4-config property changes
5172 2008-03-11 Dan Williams <dcbw@redhat.com>
5174 Fix address handling as a result of DHCP rebind/renew/reboot.
5176 * src/NetworkManagerSystem.c
5177 - (check_one_address): delete an address if it doesn't match a given
5178 one for the same interface
5179 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5180 be smarter about flushing addresses (only flush ones that don't
5181 match the one we're about to apply)
5183 * src/backends/NetworkManagerDebian.c
5184 src/backends/NetworkManagerSuSE.c
5185 src/backends/NetworkManagerArch.c
5186 src/backends/NetworkManagerSlackware.c
5187 src/backends/NetworkManagerRedHat.c
5188 src/backends/NetworkManagerPaldo.c
5189 src/backends/NetworkManagerFrugalware.c
5190 src/backends/NetworkManagerGentoo.c
5191 - (nm_system_delete_default_route): remove
5193 * src/backends/NetworkManagerGeneric.c
5194 src/backends/NetworkManagerGeneric.h
5195 - (nm_generic_enable_loopback): fix the loopback device label
5196 - (nm_generic_delete_default_route): remove; no longer used
5198 2008-03-11 Dan Williams <dcbw@redhat.com>
5200 * src/nm-device-interface.h
5201 - Delimit property name words with '-', otherwise g_object_notify()
5202 doesn't work the way we expect
5204 2008-03-11 Tambet Ingo <tambet@gmail.com>
5206 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5208 2008-03-11 Dan Williams <dcbw@redhat.com>
5210 * src/NetworkManagerPolicy.c
5211 - (update_routing_and_dns): don't change anything if the default device
5212 hasn't changed; print something out when switching the default route
5215 2008-03-10 Tambet Ingo <tambet@gmail.com>
5219 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5220 setting. Use "nic-$eth".
5222 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5223 the device is activating here to fix a race condition.
5225 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5227 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5228 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5229 (nm_ppp_manager_start): Take activation request instead of connection, we might
5230 need it for asking secrets.
5231 (nm_ppp_manager_update_secrets): Implement.
5233 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5234 ppp manager start. It might be needed for asking secrets.
5236 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5237 (ppp_state_changed): Handle pppd daemon disappearing.
5238 (pppoe_stage2_config): Send activation request to ppp manager start.
5240 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5242 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5243 username and password.
5245 2008-03-10 Dan Williams <dcbw@redhat.com>
5248 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5249 response to a DHCP lease change
5250 - (dhcp_state_changed): handle DHCP lease changes while activated
5251 - (nm_device_set_ip4_config): remove a previously set named config
5252 when setting an ip4 config
5254 2008-03-10 Dan Williams <dcbw@redhat.com>
5256 * src/nm-serial-device.c
5257 - (nm_serial_device_send_command): report errno on error
5258 - (get_reply_got_data): limit the size of the overall buffer
5259 - (wait_for_reply_info_destroy): destroy result string
5260 - (wait_for_reply_got_data): append received data to an overall buffer
5261 until timeout, filled buffer, or error instead of keeping a per-call
5262 buffer. Some devices send data slowly enough that this function
5263 gets called multiple times for the same command stream.
5264 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5265 wait_for_reply_got_data() here
5267 2008-03-10 Dan Williams <dcbw@redhat.com>
5269 * src/nm-cdma-device.c
5270 - (do_dial, init_modem): handle errors from
5271 nm_serial_device_send_command_string()
5273 * src/nm-gsm-device.c
5274 - (do_dial, manual_registration, automatic_registration_get_network,
5275 automatic_registration, enter_pin, check_pin, init_modem): handle
5276 errors from nm_serial_device_send_command_string()
5278 2008-03-10 Dan Williams <dcbw@redhat.com>
5280 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5282 * src/named-manager/nm-named-manager.c
5283 - (compute_searches): prefer searches before domains
5284 - (compute_domain): new function
5285 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5286 - (merge_one_ip4_config): if there are no searches in the source config,
5287 merge domains of the source config into the target config
5288 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5290 2008-03-10 Dan Williams <dcbw@redhat.com>
5292 * src/nm-serial-device.c
5293 - (get_reply_got_data): clean up indentation, shrink serial buffer
5294 - (wait_for_reply_got_data): try to handle slower serial devices where
5295 the reply is broken up into multiple reads by concatenating replies
5296 together until either an error is received or the search string is
5299 2008-03-10 Dan Williams <dcbw@redhat.com>
5302 - (nm_device_bring_down): deactivate the device if it's activating too,
5303 not just if it's already activated. This makes sure that everything
5304 from an association attempt is cleaned up (like DHCP for example)
5306 2008-03-10 Dan Williams <dcbw@redhat.com>
5308 * src/nm-serial-device.c
5309 - (config_fd): report error from TCSETA
5310 - (nm_serial_device_open): fail when config_fd() fails
5312 2008-03-10 Dan Williams <dcbw@redhat.com>
5314 * src/nm-ip4-config.c
5315 - (nm_ip4_config_init): allocate searches list
5316 - (finalize): free searches list
5318 2008-03-09 Dan Williams <dcbw@redhat.com>
5320 Patch from Bas Zoetekouw <bas@debian.org>
5322 * src/dhcp-manager/nm-dhcp-manager.c
5323 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5325 2008-03-09 Dan Williams <dcbw@redhat.com>
5327 Patch from Bas Zoetekouw <bas@debian.org>
5329 * src/nm-ip4-config.c
5331 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5332 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5333 domains. 'searches' is the correct way to store multiple search
5334 domains, whereas 'domains' is really just supposed to store one
5335 domain. Some sites abuse the DHCP 'domain-name' option to push
5336 search domains to the client.
5337 - (nm_ip4_config_add_domain): group with related functions (my patch)
5339 2008-03-09 Dan Williams <dcbw@redhat.com>
5341 * src/dhcp-manager/nm-dhcp-manager.c
5342 - (dhclient_run): send interface-specific config files to dhclient
5344 2008-03-07 Dan Williams <dcbw@redhat.com>
5346 * system-settings/plugins/ifcfg-fedora/parser.c
5347 - (is_wireless_device): new function; test a device for wireless
5349 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5350 test the device for wireless extensions to determine the type
5352 2008-03-07 Dan Williams <dcbw@redhat.com>
5354 Change manager's StateChange signal to StateChanged for consistency.
5356 * introspection/nm-manager.xml
5357 - Add 'StateChanged' signal
5358 - Move 'StateChange' down to the deprecated section
5360 * src/nm-hal-manager.c
5361 - (nm_hal_manager_new): connect to 'state-changed' instead
5363 * src/NetworkManagerPolicy.c
5364 - (nm_policy_new): connect to 'state-changed' instead
5368 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5369 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5372 * libnm-glib/nm-client.c
5373 libnm-glib/nm-client.h
5374 - (constructor, nm_client_class_init, client_state_changed_proxy):
5375 track and proxy 'state-changed' instead of 'state-change'
5377 2008-03-07 Dan Williams <dcbw@redhat.com>
5379 First pass of multiple active device support. Expect bugs.
5381 * src/nm-ip4-config.c
5383 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5384 there are better ways to do this in the named manager
5388 - (nm_device_can_activate): return whether the device can activate a
5389 connection right now; taking into account things like carrier state
5391 - (nm_device_get_best_auto_connection): renamed from
5392 nm_device_get_best_connection
5393 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5394 device subclasses themselves, so that each device can override the
5395 MTU from it's NMSetting subclass if needed
5396 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5397 in NetworkManagerSystem.c, not here
5399 * src/named-manager/nm-named-manager.c
5400 src/named-manager/nm-named-manager.h
5401 - (nm_named_manager_name_owner_changed,
5402 nm_named_manager_dbus_connection_changed): fix for changes to
5403 rewrite_resolv_conf()
5404 - (compute_nameservers): don't need the NMNamedManager at all, remove
5406 - (merge_one_ip4_config): new function; merge ip4 configs together
5407 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5408 ip4 configs; the VPN config takes precedence, then the best
5409 device config, then the rest of the configs
5410 - (get_domain_for_config): take the NMNamedManager as an argument
5411 to check whether the config is the VPN config
5412 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5413 attribute from ip4 configs
5414 - (add_all_ip4_configs_to_named): add all the configs in priority order
5415 - (remove_ip4_config_from_named): fix for changes to
5416 get_domain_for_config()
5417 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5418 based on its type; callers must pass in the type now
5419 - (get_last_default_domain): remove, unused
5420 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5422 * src/nm-device-802-11-wireless.c
5423 - (real_can_activate): new function
5424 - (real_get_best_auto_connection): renamed from real_get_best_connection
5425 - (real_act_stage4_get_ip4_config): handle MTU override
5427 * src/nm-device-802-3-ethernet.c
5428 - (real_can_activate): new function
5429 - (real_get_best_auto_connection): renamed from real_get_best_connection
5430 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5432 * src/vpn-manager/nm-vpn-connection.c
5433 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5434 attribute on the ip4 config
5436 * src/NetworkManagerPolicy.c
5437 - (nm_policy_auto_get_best_device): remove
5438 - (nm_policy_device_change_check): remove
5439 - (update_default_route): new function; set the default route via
5440 the specified device
5441 - (get_device_priority): new function; return the priority number of
5442 a device type WRT which one should have the default route. Order is
5443 (highest to lowest) wired, wireless, GSM, CDMA.
5444 - (update_routing_and_dns): new function; determine which device should
5445 have the default route, then update the routing table and DNS
5446 - (maybe_auto_activate_device): new function; if a device is now
5447 available for activation, find out what connection it would like to
5449 - (schedule_activate_check): new function; if a device can be activated
5450 now, schedule the activation. Each device may have only one
5451 pending activation at a given time.
5452 - (device_state_changed): if activation was canceled, try again,
5453 possibly with another connection; if the device was activated,
5454 update routing and DNS; if the device was deactivated, try again
5455 with another connection
5456 - (device_carrier_changed): if there is no carrier, deactivate the
5457 device; otherwise schedule an activation check for the device
5458 - (wireless_networks_changed): schedule an activation check for the
5460 - (device_added): keep track of the signal handler IDs so they can
5461 be removed when the device goes away
5462 - (device_removed): remove any signal handlers that might be attached
5463 to the device; update routing and DNS
5464 - (schedule_activate_all): new function
5465 - (connections_added, connection_added, connection_updated): when
5466 connections change, schedule all devices for an activation check
5467 - (connection_removed): when a device is deactivated because its
5468 connection was removed, schedule another activation check for it
5469 - (nm_policy_destroy): destroy pending activations and disconnect
5470 all device signal handlers
5473 - (nm_manager_activate_device): if the device was already actived,
5475 - (deactivate_old_device): remove
5476 - (connection_added_default_handler, impl_manager_activate_device):
5477 don't deactivate other devices when activating this one
5479 * src/backends/NetworkManagerGentoo.c
5480 src/backends/NetworkManagerFrugalware.c
5481 src/backends/NetworkManagerPaldo.c
5482 src/backends/NetworkManagerRedHat.c
5483 src/backends/NetworkManagerSlackware.c
5484 src/backends/NetworkManagerArch.c
5485 src/backends/NetworkManagerSuSE.c
5486 src/backends/NetworkManagerDebian.c
5487 - (nm_system_get_mtu): remove; MTU should be provided through the
5488 distro's system settings service plugin instead
5489 - (nm_system_device_add_default_route_via_device): remove
5490 - (nm_system_device_add_default_route_via_device_with_iface): remove
5491 - (nm_system_device_replace_default_route): new function; call
5492 generic implementation
5494 * src/backends/NetworkManagerGeneric.c
5495 src/backends/NetworkManagerGeneric.h
5496 - (nm_generic_device_add_default_route_via_device,
5497 nm_generic_device_add_default_route_via_device_with_iface): remove
5498 - (nm_generic_device_replace_default_route): replace the default route
5499 with the given route via some gateway
5501 * src/NetworkManagerSystem.c
5502 src/NetworkManagerSystem.h
5503 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5504 to routing and DNS; but set the MTU here
5505 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5506 ip_iface of the active device; use the standard MTU setting function
5507 - (nm_system_set_mtu): remove
5508 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5510 2008-03-07 Tambet Ingo <tambet@gmail.com>
5512 Rework the interaction between ppp manager and pppd plugin. Register a well
5513 known DBUS service in manager and let the plugin call it's methods instead
5514 of listening plugin's signals.
5516 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5517 of emitting signals.
5519 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5521 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5523 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5524 nm_ppp_manager_start().
5526 * introspection/nm-ppp-manager.xml: New file.
5528 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5529 the case correctly where driver is trying to send -1 for the speed, which gets
5530 casted to u16 and thus is always > 0.
5532 2008-03-07 Dan Williams <dcbw@redhat.com>
5534 * src/nm-hal-manager.c
5535 - (nm_get_device_driver_name): use net.originating_device first, fall
5536 back to physical device. HAL has deprecated physical_device.
5538 * libnm-glib/nm-device.c
5539 - (get_product_and_vendor): use net.originating_device first, fall
5540 back to physical device. HAL has deprecated physical_device.
5541 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5543 2008-03-07 Dan Williams <dcbw@redhat.com>
5546 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5547 last commit; fix that
5548 - (get_link_cache): print error string
5550 2008-03-07 Dan Williams <dcbw@redhat.com>
5553 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5554 don't need this hack any more (Benoit Boissinot)
5556 2008-03-06 Dan Williams <dcbw@redhat.com>
5559 - Die gnome-common, die
5561 2008-03-04 Dan Williams <dcbw@redhat.com>
5563 Patch from Michael Biebl <biebl@debian.org>
5565 * NetworkManager.pc.in
5566 - doesn't actually depend on dbus-1
5568 * libnm-util/nm-utils.h
5569 - remove unused #include <dbus/dbus.h>
5571 * libnm-glib/libnm_glib.pc.in
5572 - depends on glib and dbus-glib
5574 2008-03-02 Dan Williams <dcbw@redhat.com>
5576 * src/NetworkManagerPolicy.c
5577 - s/device_state_changed_idle_id/update_state_id/
5579 2008-03-02 Dan Williams <dcbw@redhat.com>
5583 src/nm-device-802-11-wireless.c
5584 src/nm-device-802-3-ethernet.c
5585 src/NetworkManagerPolicy.c
5586 - s/link_active/carrier
5587 - nm_device_set_active_link() -> nm_device_set_carrier()
5588 - nm_device_has_active_link() -> nm_device_get_carrier()
5590 2008-03-02 Dan Williams <dcbw@redhat.com>
5592 * system-settings/plugins/ifcfg-fedora/parser.c
5593 - (make_wireless_setting): fail connection creation on missing SSID
5595 2008-02-29 Dan Williams <dcbw@redhat.com>
5597 * src/NetworkManagerPolicy.c
5598 - (nm_policy_device_change_check): ensure that a previously active
5599 device with a system connection has a link before denying a switch
5600 to a user connection
5602 2008-02-29 Dan Williams <dcbw@redhat.com>
5604 * src/nm-device-802-11-wireless.c
5605 - (link_timeout_cb): try again if scanning; deactivate the device when
5606 activated if the link dies
5607 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5610 2008-02-29 Dan Williams <dcbw@redhat.com>
5612 * src/nm-device-802-11-wireless.c
5613 src/nm-device-802-11-wireless.h
5614 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5615 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5616 - (device_cleanup): reset the scan interval lower when the device
5618 - (can_scan): base decision mostly off device state, not supplicant
5619 interface state since the supplicant interface state isn't a
5620 great indicator of whether the device is active or not
5621 - (request_wireless_scan): clean up; schedule the next scan here
5622 - (schedule_scan): only back the scan interval off if a new scan
5623 actually gets scheduled; and make scan intervals tighter when the
5624 device is disconnected
5625 - (supplicant_iface_state_cb_handler): fold in the bits of
5626 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5628 - (activation_success_handler): reset scan interval to something
5631 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5633 reviewed by: Steev <steev@steev.net>
5636 * src/backends/NetworkManagerGentoo.c:
5637 (nm_system_restart_mdns_responder):
5638 Howl is no longer a supported mDNS provider
5640 2008-02-28 Tambet Ingo <tambet@gmail.com>
5642 Get rid of a bunch of unused distro specific functions.
5644 2008-02-28 Tambet Ingo <tambet@gmail.com>
5646 Implement suse plugin for system settings daemon.
5648 * system-settings/plugins/ifcfg-suse/*: Implement.
5650 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5653 * configure.in: Check (without failing) for gio.
5654 Create ifcfg-suse plugin's Makefile.
5656 2008-02-20 Dan Williams <dcbw@redhat.com>
5658 * libnm-util/nm-connection.c
5659 libnm-util/nm-connection.h
5660 - (nm_connection_compare): accept compare flags and pass them to the
5661 setting compare function
5663 * libnm-util/nm-setting.c
5664 libnm-util/nm-setting.h
5665 - (nm_setting_compare): accept compare flags; ignore properties that are
5668 * libnm-util/nm-setting-connection.c
5669 libnm-util/nm-setting-wireless.c
5670 libnm-util/nm-setting-ppp.c
5671 libnm-util/nm-setting-wired.c
5672 - Mark some setting properties as ignorable when doing a fuzzy compare
5675 - (device_activation_precheck): use exact compare
5677 2008-02-20 Dan Williams <dcbw@redhat.com>
5679 * src/NetworkManagerPolicy.c
5680 - (nm_policy_device_change_check): get scope off the connection, not
5681 using the manager helper
5685 - (get_scope_for_proxy): rename from get_type_for_proxy()
5686 - (connection_get_settings_cb): set scope and path on connection, not
5687 using GObject data items
5688 - (get_connection_for_proxy): don't need to return path, since that
5689 can be gotten from the connection
5690 - (get_connection_for_proxy): get path off the connection, not from
5692 - (connection_removed_cb, connection_updated_cb): don't need to get
5693 path from get_connection_for_proxy(); get scope off the connection
5694 instead of using GObject data items
5695 - (connection_added_default_handler, add_one_connection_element): use
5696 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5697 - (nm_manager_get_connection_dbus_path): remove
5698 - (nm_manager_get_connection_scope): remove
5700 2008-02-20 Dan Williams <dcbw@redhat.com>
5702 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5705 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5706 applet were having to hack this in anyway. Remove the 'path' stuff from
5707 NMExportedConnection
5709 * Internally rename NMConnectionType -> NMConnectionScope
5711 * Provide default implementations of the 'get_id' and 'get_settings' methods
5712 of NMExportedConnection
5714 2008-02-15 Dan Williams <dcbw@redhat.com>
5716 * src/nm-device-802-11-wireless.c
5717 - (device_cleanup): release the AP list here too so that the AP list
5718 doesn't survive across suspend/resume and up/down. There is some
5719 room for optimization, for example blow the list away when the card
5720 brought back up, but only if the device has only been down for a
5723 2008-02-15 Dan Williams <dcbw@redhat.com>
5725 * src/nm-hal-manager.c
5726 - (modem_device_creator): recognize new HAL modem capabilities
5728 2008-02-12 Dan Williams <dcbw@redhat.com>
5730 * system-settings/plugins/ifcfg-fedora/plugin.c
5731 - (watch_path): handle IN_DELETE_SELF too
5732 - (handle_connection_changed): notify when removing a connection
5733 - (stuff_changed): don't warn on unknown inotify watches; handle the
5734 case of a file moving out of the profile directory
5736 2008-02-12 Dan Williams <dcbw@redhat.com>
5738 * system-settings/plugins/ifcfg-fedora/parser.c
5739 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5741 2008-02-12 Dan Williams <dcbw@redhat.com>
5743 * libnm-util/nm-utils.c
5744 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5745 just any empty array
5747 2008-02-12 Dan Williams <dcbw@redhat.com>
5749 * system-settings/src/nm-system-config-interface.c
5750 system-settings/src/nm-system-config-interface.h
5751 - (load_connections): get_connections() should now return an allocated
5752 GSList that the system settings service will free
5754 * system-settings/plugins/ifcfg-fedora/plugin.c
5755 system-settings/plugins/ifcfg-fedora/parser.h
5756 system-settings/plugins/ifcfg-fedora/parser.c
5757 - Fix up inotify issues; handle keys-* files, handle new files appearing
5758 in the profile directory, handle resolv.conf file changes
5760 2008-02-10 Dan Williams <dcbw@redhat.com>
5762 * src/nm-device-802-3-ethernet.c
5763 - (real_bring_up): save the supplicant interface state signal id
5764 - (real_bring_down): disconnect from the supplicant interface state
5767 2008-02-07 Dan Williams <dcbw@redhat.com>
5769 * initscript/RedHat/NetworkManager.in
5770 initscript/RedHat/NetworkManagerDispatcher.in
5771 - Add new-style LSB init headers
5773 2008-02-07 Dan Williams <dcbw@redhat.com>
5775 * system-settings/src/dbus-settings.c
5776 system-settings/src/dbus-settings.h
5777 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5779 - (connection_settings_get_secrets): consolidate error returns into
5780 one place; use the new get_secrets() plugin interface function to
5781 get secrets from the plugin itself rather than using GObject data
5784 * system-settings/src/main.c
5785 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5786 load_connections): keep a private list of the plugin-returned
5787 connections, don't use the plugin's GSList
5789 * system-settings/plugins/ifcfg-fedora/plugin.c
5790 - (watch_path): watch the path, not the filename (duh)
5791 - (reload_all_connections): use the direct hash/equal functions; the
5792 ones for int aren't appropriate here
5793 - (get_secrets, system_config_interface_init): implement the
5794 get_secrets() function
5795 - (build_one_connection, find_connection_by_path): ifcfg file path is
5796 now in the connection's ConnectionData instead of being a GObject
5798 - (handle_profile_item_changed): ifcfg file path is now in the
5799 connection's ConnectionData instead of being a GObject data property;
5800 be sure to copy secrets over from the new connection to the existing
5801 connection when updating the connection's settings
5802 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5805 * system-settings/plugins/ifcfg-fedora/parser.c
5806 system-settings/plugins/ifcfg-fedora/parser.h
5807 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5808 connection_data_copy_secrets, connection_data_free,
5809 connection_data_add): new functions; connection data manipulation
5810 - (make_wireless_security_setting): stuff secrets into the
5811 connection data, not as GObject data items; make sure to close
5813 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5814 connection data to the connection
5816 2008-02-07 Dan Williams <dcbw@redhat.com>
5818 * system-settings/src/nm-system-config-interface.c
5819 system-settings/src/nm-system-config-interface.h
5820 - Add a get_secrets() interface function to retrieve secrets for a
5821 specific setting of a specific connection. Document the interface
5824 2008-02-07 Dan Williams <dcbw@redhat.com>
5826 * src/nm-device-802-11-wireless.c
5827 - (handle_auth_or_fail): new function; consolidate device activation
5828 failure check after a certain number of failures getting secrets
5829 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5830 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5831 the connection if secrets were requested more than a few times
5832 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5833 tries here; otherwise they are cleared before the IP configure
5834 timeout, which happens with open system WEP when key is wrong
5835 - (activation_success_handler): clear wireless secrets tries here too
5837 2008-02-07 Dan Williams <dcbw@redhat.com>
5839 * src/NetworkManagerPolicy.c
5840 - (connection_updated): clear invalid tag when connection gets updated
5841 to allow that connection to be tried again
5842 - (nm_policy_new): save signal ids so they can be disconnected when
5843 the policy is destroyed
5844 - (nm_policy_destroy): stop any in-progress state change idle handler,
5845 and disconnect all signals from the manager object so that none
5846 of the policy functions gets called after the policy is destroyed
5848 2008-02-06 Dan Williams <dcbw@redhat.com>
5851 - (finalize): remove devices a bit earlier; clean up system settings
5853 - (nm_manager_name_owner_changed): clean up system settings poke when
5854 the service appears, and try to restart it if it fails
5855 - (poke_system_settings_daemon_cb): try to get the system settings
5856 service started through D-Bus service activation
5857 - (initial_get_connections): start the system settings daemon if it's
5860 2008-02-05 Dan Williams <dcbw@redhat.com>
5862 * src/supplicant-manager/nm-supplicant-config.c
5863 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5864 broadcast networks too
5866 2008-02-04 Dan Williams <dcbw@redhat.com>
5868 * system-settings/plugins/ifcfg-fedora/parser.c
5869 - (make_wireless_security_setting): fix spelling; unencrypted networks
5870 need key_mgmt set too
5871 - (parser_parse_file): validate ifcfg file name and don't try to parse
5872 .bak files; ensure that an error is set whenever NULL gets returned
5874 2008-02-04 Dan Williams <dcbw@redhat.com>
5876 * system-settings/src/Makefile.am
5877 - Install D-Bus service activation file for the system settings
5880 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5881 - D-Bus service activation file for system settings service
5883 2008-02-04 Dan Williams <dcbw@redhat.com>
5885 * system-settings/src/main.c
5886 - (parse_config_file): parse a config file
5887 - (main): accept --config option and read plugins from config file
5889 2008-02-04 Dan Williams <dcbw@redhat.com>
5891 * system-settings/plugins/ifcfg-fedora/plugin.c
5892 - Change reported name to 'ifcfg-fedora'
5893 - Use IFCFG_PLUGIN_NAME
5895 * system-settings/plugins/ifcfg-fedora/plugin.c
5896 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5898 2008-02-04 Dan Williams <dcbw@redhat.com>
5900 * system-settings/plugins/ifcfg-fedora/parser.c
5901 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5902 - (make_connection_setting): use get_ifcfg_name()
5903 - (make_wireless_security_setting): handle shadow key files
5904 - (get_one_wep_key): treat empty string as NULL
5906 2008-02-04 Dan Williams <dcbw@redhat.com>
5908 * src/supplicant-manager/nm-supplicant-manager.c
5909 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5910 glib automatically reschedule
5911 - (nm_supplicant_manager_init): immediately try to start the supplicant
5912 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5915 2008-02-01 Dan Williams <dcbw@redhat.com>
5917 * src/NetworkManagerPolicy.c
5918 - (device_state_changed): schedule a change check when a device gets
5919 deactivated so something happens if you disconnect GSM/CDMA
5921 2008-01-31 Dan Williams <dcbw@redhat.com>
5923 * src/nm-device-802-11-wireless.h
5924 src/nm-device-802-11-wireless.c
5925 - (ap_list_get_ap_by_ssid, is_associated,
5926 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5927 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5928 - (nm_device_802_11_wireless_get_activation_ap): collapse
5929 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5932 2008-01-30 Dan Williams <dcbw@redhat.com>
5934 * system-settings/plugins/ifcfg
5935 * system-settings/plugins/ifcfg-fedora
5936 - Move the ifcfg plugin to ifcfg-fedora
5938 2008-01-24 Dan Williams <dcbw@redhat.com>
5940 * libnm-glib/nm-device-802-11-wireless.c
5941 - (get_access_point): move the "/" check here; check for invalid path
5943 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5944 to get_access_point()
5945 - (access_point_added_proxy, access_point_removed_proxy): don't try
5946 to send signals for non-existent access points
5948 2008-01-24 Dan Williams <dcbw@redhat.com>
5950 * libnm-glib/nm-device-802-11-wireless.c
5951 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5953 2008-01-23 Dan Williams <dcbw@redhat.com>
5955 * libnm-glib/libnm_glib.c
5956 - (libnm_glib_init): make thread joinable
5957 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5959 2008-01-23 Dan Williams <dcbw@redhat.com>
5961 * test/libnm_glib_test.c
5962 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5963 - (main): set up signal handlers; call libnm_glib_shutdown
5965 2008-01-21 Dan Williams <dcbw@redhat.com>
5967 * include/NetworkManager.h
5968 - Add CDMA mobile broadband card device type
5970 * src/nm-hal-manager.c
5971 - (modem_device_creator): handle both CDMA and GSM modems; the device
5972 must now be tagged with 'cdma' or 'gsm' capability
5974 * src/nm-cdma-device.c
5975 src/nm-cdma-device.h
5977 - Add the CDMA mobile broadband card device class
5979 * libnm-util/nm-connection.c
5980 - (register_default_settings): add NMSettingCdma
5982 * libnm-util/nm-setting-cdma.c
5983 libnm-util/nm-setting-cdma.h
5984 libnm-util/Makefile.am
5985 - Add the CDMA mobile broadband card setting class
5987 * libnm-glib/nm-cdma-device.c
5988 libnm-glib/nm-cdma-device.h
5989 libnm-glib/Makefile.am
5990 - Add the CDMA mobile broadband card GLib proxy class
5992 * libnm-glib/nm-client.c
5993 - (get_device): handle CDMA devices too
5995 2008-01-21 Dan Williams <dcbw@redhat.com>
5997 * src/ppp-manager/nm-ppp-manager.c
5998 - (ip4_config_get): set peer address too
6000 * src/ppp-manager/nm-pppd-plugin.c
6001 - (nm_ip_up): try harder to get the peer's address
6003 * src/NetworkManagerSystem.c
6004 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6005 address, use that too. Otherwise, some PPP connections won't work.
6007 2008-01-19 Dan Williams <dcbw@redhat.com>
6009 * src/NetworkManagerPolicy.c
6010 - (nm_policy_device_change_check): system connections override user
6011 connections; don't activate a user connection if there's a currently
6012 active system connection, and new, better system connections always
6013 interrupt user connections
6015 2008-01-19 Dan Williams <dcbw@redhat.com>
6018 - (nm_manager_get_connection_type): new function
6020 2008-01-19 Dan Williams <dcbw@redhat.com>
6022 * src/nm-device-802-11-wireless.c
6023 - (real_get_best_connection): collapse find_best_connection() into this
6026 2008-01-19 Dan Williams <dcbw@redhat.com>
6028 * src/nm-device-802-3-ethernet.c
6029 - (real_get_best_connection): collapse find_best_connection() into this
6032 2008-01-18 Dan Williams <dcbw@redhat.com>
6034 * src/nm-device-802-3-ethernet.c
6035 - (find_best_connection): check MAC address too
6036 - (real_get_best_connection): let autoconnect=True connections activate
6037 for devices that don't have carrier detection
6039 * src/nm-device-802-11-wireless.c
6040 - (find_best_connection): check MAC address too
6042 2008-01-18 Dan Williams <dcbw@redhat.com>
6044 * system-settings/plugins/ifcfg/parser.c
6045 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6047 2008-01-17 Dan Williams <dcbw@redhat.com>
6049 * src/nm-device-802-3-ethernet.c
6050 - (nm_device_802_3_ethernet_carrier_on,
6051 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6052 carrier events that might come in for devices that don't support
6055 2008-01-17 Dan Williams <dcbw@redhat.com>
6057 * src/nm-device-interface.c
6058 - (nm_device_interface_check_connection_conflicts): need to actually
6059 get the interface, not cast to the object
6062 - (nm_device_check_connection_conflicts): need to get the device class,
6063 not cast the device to the device class
6065 2008-01-17 Dan Williams <dcbw@redhat.com>
6067 * src/nm-device-802-11-wireless.c
6068 - (real_check_connection_conflicts): ignore connections that aren't
6069 wireless connections
6071 2008-01-17 Dan Williams <dcbw@redhat.com>
6073 * src/NetworkManagerPolicy.c
6074 - (nm_policy_device_change_check): clear change check idle here
6075 - (device_change_check_done): remove
6076 - (schedule_change_check): simplify
6078 2008-01-17 Dan Williams <dcbw@redhat.com>
6081 - (check_connection_allowed): take an NMDeviceInterface instead of
6082 an NMDevice object as an argument
6083 - (nm_manager_activate_device): pass an NMDeviceInterface to
6084 check_connection_allowed()
6086 2008-01-13 Dan Williams <dcbw@redhat.com>
6088 * libnm-glib/nm-device-802-11-wireless.c
6089 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6091 2008-01-12 Dan Williams <dcbw@redhat.com>
6093 * src/nm-device-802-11-wireless.c
6094 - (activation_success_handler): if a match was found in the scan list
6095 and that match is a hidden AP, update that AP's SSID
6097 2008-01-11 Dan Williams <dcbw@redhat.com>
6099 * src/NetworkManagerAP.c
6100 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6102 * src/nm-device-802-11-wireless.c
6103 - (get_active_ap): do two passes over the scan list if the caller
6104 requests that hidden APs get matched too; during the second pass
6105 when matching hidden APs, ignore the SSID since hidden APs in the
6106 scan list don't have an SSID yet
6107 - (periodic_update): move some checks to
6108 nm_device_802_11_periodic_update() because not all callers need them
6109 - (nm_device_802_11_periodic_update): move some checks here from
6111 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6112 matching on incoming scan results, because the fake AP's flags
6113 might be slightly different (yet still compatible) with the incoming
6114 scan result's flags and they might actually be the same AP; update
6115 the rate on merged APs too
6116 - (activation_success_handler): update the frequency of the fake AP
6117 on successful connection; match hidden APs too since if the
6118 current AP is fake, there might already be a scan result in the
6119 scan list for the desired AP, just without it's SSID filled in yet
6121 2008-01-10 Dan Williams <dcbw@redhat.com>
6123 * src/NetworkManagerAP.c
6124 - (foreach_property_cb): catch more hidden SSID formats
6126 2008-01-10 Dan Williams <dcbw@redhat.com>
6128 Fix gnome.org #464215. Requires the kernel patch titled
6129 "Introduce WEXT scan capabilities" but will handle the patch not being
6130 present, you'll just continue to have problems with hidden SSIDs when
6131 using mac80211-based drivers.
6133 * src/supplicant-manager/nm-supplicant-config.h
6134 src/supplicant-manager/nm-supplicant-config.c
6135 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6136 whether the driver supports SSID scans or not. If it does, and if
6137 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6139 * src/nm-device-802-11-wireless.c
6140 - (constructor): check whether or not the driver supports SSID scans
6141 - (build_supplicant_config): pass driver SSID scan capability when
6142 building the wireless bits of the supplicant config
6144 2008-01-09 Dan Williams <dcbw@redhat.com>
6148 - (device_activation_precheck, check_connection_complete): remove this
6149 virtual function; incomplete connections should be invalid by
6150 definition, complete-ness should be checked in the setting's
6153 * src/nm-serial-device.c
6155 - (real_check_connection_complete): remove
6157 * libnm-util/nm-setting-serial.c
6158 - (verify): new function; ensure there is a PPP setting too
6160 * libnm-util/nm-setting-gsm.c
6161 - (verify): ensure there is a serial setting too
6163 2008-01-06 Dan Williams <dcbw@redhat.com>
6165 * src/dhcp-manager/nm-dhcp-manager.c
6166 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6169 2008-01-04 Dan Williams <dcbw@redhat.com>
6171 * src/named-manager/nm-named-manager.c
6172 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6173 nameservers if the secondary config doesn't have any
6176 2008-01-02 Tambet Ingo <tambet@gmail.com>
6178 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6179 with G_PARAM_CONSTRUCT so that they get the default values.
6181 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6182 the monitoring device and prints out the output for now. Or more precicely, doesn't
6183 do absolutely anything right now since the montoring device argument is never set.
6185 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6186 requires it's own knob to turn it on.
6187 (config_fd): Add NMSettingSerial to the arguments list.
6188 (nm_serial_device_open): Ditto.
6189 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6190 (nm_serial_device_get_io_channel): Implement.
6192 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6193 a new reference every time (and forgetting to release it sometimes) is a pain and
6194 it's not like NMManager could work without dbus.
6195 (nm_manager_add_device): Register the added device on dbus here.
6197 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6200 * src/nm-device.c (constructor): Don't export the device here, instead export
6201 it when it's added to the NMManager's device list.
6203 2007-12-31 Dan Williams <dcbw@redhat.com>
6205 * src/nm-device-interface.c
6206 src/nm-device-interface.h
6207 - (nm_device_interface_check_connection_conflicts): new function
6211 - (nm_device_check_connection_conflicts): new function
6212 - (device_activation_precheck): don't require subclasses to implement
6213 check_connection_complete()
6214 - check_connection() -> check_connection_complete()
6216 * src/nm-device-802-11-wireless.c
6217 - (real_check_connection): remove; unused
6218 - (real_check_connection_conflicts): implement, handle lockdown for
6221 * src/nm-device-802-3-ethernet.c
6222 - (real_check_connection): remove; unused
6225 - (check_connection_allowed): new function
6226 - (nm_manager_activate_device): ensure the connection being requested
6227 is allowed to be activated
6229 * src/nm-serial-device.c
6231 - real_check_connection() -> real_check_connection_complete()
6233 2007-12-27 Dan Williams <dcbw@redhat.com>
6235 * src/nm-device-interface.c
6236 src/nm-device-interface.h
6237 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6238 normalize and expand errors
6239 - (nm_device_interface_init): register errors so they can be marshalled
6241 - (nm_device_interface_activate): ensure that failure of activation
6246 - (device_activation_precheck): implementations of check_connection()
6247 now take a GError and must fill it in if the check fails. Return
6248 more descriptive error if the requested connection is already
6250 - (nm_device_activate): actually try to return descriptive errors on
6253 * src/nm-device-802-11-wireless.c
6254 src/nm-device-802-3-ethernet.c
6255 src/nm-serial-device.c
6257 - (real_check_connection): return more descriptive errors on failure
6259 * src/NetworkManagerPolicy.c
6260 - (nm_policy_device_change_check): print activation errors in the logs
6263 - (nm_manager_error_quark, nm_manager_error_get_type,
6264 nm_manager_class_init): new errors
6265 - (nm_manager_activate_device): handle errors
6266 - (nm_manager_error_new): removed
6267 - (wait_for_connection_expired, connection_added_default_handler,
6268 impl_manager_activate_device): better error handling
6270 2007-12-27 Dan Williams <dcbw@redhat.com>
6272 Fixes gnome.org #466954
6274 * src/supplicant-manager/nm-supplicant-settings-verify.c
6275 - Allow 'frequency' network property
6277 * src/supplicant-manager/nm-supplicant-config.c
6278 src/supplicant-manager/nm-supplicant-config.h
6279 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6280 for callers to specify the frequency an Ad-Hoc network should operate
6281 on. Some drivers require this to successfully create an Ad-Hoc
6284 * src/nm-device-802-11-wireless.c
6285 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6286 guint32 value in MHz
6287 - (constructor, nm_device_802_11_wireless_get_frequency): use
6289 - (find_supported_frequency): new function; find a free supported
6290 frequency for a user-created Ad-Hoc network
6291 - (build_supplicant_config): if no frequency was specified for a user-
6292 created Ad-Hoc network, find a free one to use
6293 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6294 a specific object as user-created
6296 2007-12-27 Dan Williams <dcbw@redhat.com>
6298 * libnm-util/nm-utils.c
6299 libnm-util/nm-utils.h
6300 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6303 2007-12-24 Dan Williams <dcbw@redhat.com>
6305 * libnm-util/nm-setting-wireless.c
6306 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6307 185, 187, 188, 192, and 196
6309 2007-12-24 Dan Williams <dcbw@redhat.com>
6311 * src/nm-device-802-11-wireless.c
6312 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6313 a channel # instead of a frequency
6315 2007-12-24 Dan Williams <dcbw@redhat.com>
6317 * src/NetworkManagerAP.c
6318 src/NetworkManagerAP.h
6319 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6320 - (freq_to_channel): handle split band tables
6321 - (channel_to_freq): handle split band tables, take a band argument
6323 2007-12-24 Dan Williams <dcbw@redhat.com>
6325 * libnm-util/nm-setting-connection.h
6326 libnm-util/nm-setting-connection.c
6327 - Add 'lockdown' member
6329 2007-12-22 Dan Williams <dcbw@redhat.com>
6331 * libnm-util/nm-setting-wireless.c
6332 - (nm_setting_wireless_class_init): add missing 'rate' property
6335 2007-12-18 Dan Williams <dcbw@redhat.com>
6337 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6339 * src/nm-netlink-monitor.c
6340 src/nm-netlink-monitor.h
6341 - Remove handrolled netlink, use libnl instead
6343 * src/nm-device-802-3-ethernet.c
6344 - (constructor, nm_device_802_3_ethernet_carrier_off,
6345 nm_device_802_3_ethernet_carrier_on): use new names
6347 2007-12-17 Dan Williams <dcbw@redhat.com>
6350 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6351 and fixes memory leaks)
6354 - (nm_netlink_get_default_handle): handle new versions of libnl that
6355 automatically handle the netlink PID
6357 2007-12-17 Dan Williams <dcbw@redhat.com>
6359 Patch from Michael Biebl <biebl@debian.org>
6362 src/ppp-manager/Makefile.am
6363 - fix up install dir of pppd plugin
6364 - clean up configure.in a bit
6366 2007-12-12 Dan Williams <dcbw@redhat.com>
6368 * system-settings/src/nm-system-settings.conf
6369 - Allow non-root clients (like the applet) to read settings
6371 2007-12-10 Tambet Ingo <tambet@gmail.com>
6373 * Replace all occurences of 'UMTS' with 'GSM'.
6375 2007-12-07 Dan Williams <dcbw@redhat.com>
6377 * src/nm-serial-device.c
6378 - (real_is_up): serial devices are always "up"
6380 2007-12-07 Dan Williams <dcbw@redhat.com>
6383 src/NetworkManagerSystem.c
6384 - (new_nl_handle): ensure that the same netlink pid is never chosen
6385 twice (gnome.org #491047)
6386 - Make more robust against allocation-related failures should they occur
6388 2007-12-07 Dan Williams <dcbw@redhat.com>
6390 Noticed by Christian Persch <chpe@gnome.org>
6392 Always chain up to parent object in dispose and finalize handlers.
6395 2007-12-07 Dan Williams <dcbw@redhat.com>
6397 * src/nm-device-802-11-wireless.c
6398 - Wrap #include of linux/mii.h to fix redefined structures due to
6399 incorrect kernel headers (gnome.org #350061)
6401 2007-12-06 Tambet Ingo <tambet@gmail.com>
6403 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6404 before doing anything else.
6405 (init_modem): Move modem initialization here.
6407 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6408 (nm_serial_device_flash): Implement.
6410 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6411 changes signal is "StateChanged" and not "Status".
6412 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6414 2007-12-06 Dan Williams <dcbw@redhat.com>
6416 * src/supplicant-manager/nm-supplicant-config.c
6417 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6418 to only send some options when they make sense; also send phase2
6419 option to the supplicant (possible fix for rh #399631)
6421 2007-12-06 Tambet Ingo <tambet@gmail.com>
6423 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6424 arguments: This whole file shouldn't really know anything about NMDevices, it
6425 should deal only with device interfaces. Devices might have different ifaces for
6426 different stuff and this place shouldn't know anything about it.
6428 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6429 (global_state_changed): Implement. In the current NM it's not really important,
6430 but will be required in the case of multiple active devices. (Or even better,
6431 if stuff like that gets moved out from NM).
6433 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6434 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6437 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6438 devices like serial devices (ttyS0 and ppp0 for example).
6439 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6441 (nm_device_set_ip_iface): Implement.
6442 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6443 after setting ip4_config from here ...
6444 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6445 than this function should call nm_system_device_set_from_ip4_config() because no
6446 other code has enough information on which arguments to use. So instead, other code
6447 could just set the new ip4 config using this function and everyone is happy.
6449 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6450 if we happen to get deactivated while something is pending.
6451 (automatic_registration): Handle the response that indicates pending network
6452 registration and wait until the pending registration is done.
6453 (real_deactivate_quickly): If there's a pending operation, cancel it.
6455 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6456 (real_deactivate_quickly): ... and remove it when it's down.
6457 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6459 (nm_serial_device_wait_for_reply): Ditto.
6461 2007-12-05 Tambet Ingo <tambet@gmail.com>
6463 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6464 (get_network_done): Remove newline, nm_info() does it already.
6465 (real_act_stage1_prepare): Turn the modem echo off.
6467 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6468 device, set the route to the device interface. This is a hack.
6470 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6471 return, no need for a new-line.
6472 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6473 Change the device iface here (ugh).
6474 (real_act_stage4_get_ip4_config): Implement.
6475 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6476 Restore the device iface.
6478 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6479 device is not wired or wireless (eg, automatically upped) device.
6481 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6483 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6485 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6486 before calling it's is_device_fn().
6488 2007-12-05 Dan Williams <dcbw@redhat.com>
6490 * libnm-util/nm-utils.c
6491 - (nm_utils_register_value_transformations,
6492 nm_utils_convert_gvalue_hash_to_string): better debug output of
6493 GHashTables of GValues too
6495 2007-12-04 Dan Williams <dcbw@redhat.com>
6497 * initscript/RedHat/NetworkManager.in
6498 - No longer start named; it's D-Bus interface is going away
6500 2007-12-04 Dan Williams <dcbw@redhat.com>
6502 Patch from Michael Biebl <biebl@debian.org>
6504 * system-settings/plugins/ifcfg/Makefile.am
6505 system-settings/src/main.c
6506 system-settings/src/Makefile.am
6507 - Put system settings plugins in NM plugins dir
6509 * src/ppp-manager/Makefile.am
6510 src/ppp-manager/nm-ppp-manager.c
6511 - Move pppd plugin to NM plugins dir
6513 2007-12-04 Dan Williams <dcbw@redhat.com>
6515 * libnm-util/nm-setting-vpn-properties.h
6516 - Clarify usage of the 'data' member of the setting
6518 * libnm-util/nm-setting-vpn-properties.c
6519 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6520 - (set_property): just remove all the settings; don't recreate the has
6521 - (update_one_secret): don't need to create the hash table here since
6522 it should always be present
6524 2007-12-03 Tambet Ingo <tambet@gmail.com>
6526 Implement PIN and PUK requesting.
6528 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6529 (enter_pin): Handle PIN and PUK requests.
6530 (real_act_stage1_prepare): Clear the secret type.
6531 (real_connection_secrets_updated): Implement this class method to get
6532 notified when new secrets arrive.
6533 (nm_umts_device_class_init): Add private data back to the umts device class
6534 to store the required secret type.
6536 2007-12-01 Dan Williams <dcbw@redhat.com>
6538 * system-settings/plugins/ifcfg/parser.c
6539 - (parser_parse_file): don't try to verify NULL connections
6541 2007-12-01 Dan Williams <dcbw@redhat.com>
6543 * system-settings/src/main.c
6544 - (load_connections, add_connection_to_settings): actually export
6545 plugin-provided connections over D-Bus so NM can get them
6547 2007-12-01 Dan Williams <dcbw@redhat.com>
6549 * system-settings/plugins/ifcfg/parser.c
6550 system-settings/plugins/ifcfg/parser.h
6551 system-settings/plugins/ifcfg/plugin.c
6552 - Hook up more inotify bits (untested)
6554 2007-11-29 Dan Williams <dcbw@redhat.com>
6556 * system-settings/src/nm-system-config-interface.h
6557 system-settings/src/nm-system-config-interface.c
6558 - (nm_system_config_interface_init,
6559 nm_system_config_interface_get_connections): add
6561 * system-settings/src/main.c
6562 - (load_plugins, load_connections, main): use a GSList for plugins
6563 to ensure priority ordering
6565 * system-settings/plugins/ifcfg/parser.c
6566 - (ifcfg_error_quark): move to plugin.c, and rename
6568 * system-settings/plugins/ifcfg/plugin.h
6569 system-settings/plugins/ifcfg/plugin.c
6570 - (ifcfg_plugin_error_quark): move here from parser.c
6571 - rework connection loading and initialization
6572 - Add preliminary inotify support for network profile config file
6574 2007-11-28 Tambet Ingo <tambet@gmail.com>
6576 Merge the beginnings of the new GSM card support.
6578 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6579 ppp watch source before killing pppd - If this happens from g_object_unref()
6580 then the ppp manager is already destroyed by the time the watch callback runs.
6582 * src/nm-hal-manager.c: Add a device_type_name string to the device
6583 creators, so that we can print a nice human readable string when a
6586 * src/nm-umts-device.c (automatic_registration_get_network): Query
6587 for the activated network, not much is done with the result thought.
6589 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6590 (ppp_ip4_config): Change the device state to activated here for now.
6591 (real_check_connection): Make sure the connection includes ppp setting.
6593 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6595 * libnm-glib/Makefile.am: Add the new files to build.
6597 * libnm-glib/nm-umts-device.c:
6598 * libnm-glib/nm-umts-device.h: Implement.
6600 2007-11-26 Tambet Ingo <tambet@gmail.com>
6602 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6603 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6605 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6606 the timeout source - this function is only called when the timeout source has
6608 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6609 to be big enough to contain the terminating zero element as well.
6610 The timeout argument is meant to be in seconds now.
6611 (real_deactivate_quickly): Implement.
6613 * src/NetworkManager.conf: Allow root to own
6614 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6616 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6617 (not unsigned ints).
6619 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6620 small issue with parity bounds - capital letters have lower ascii codes
6621 than lower case letters.
6623 * libnm-util/nm-connection.c (register_default_settings): Register serial
6626 2007-11-22 Tambet Ingo <tambet@gmail.com>
6628 Remove the "index" property from devices as not all device types have this.
6630 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6632 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6633 (wired_device_creator): Get the device interface from hal to create the device.
6634 (wireless_device_creator): Ditto.
6636 * src/nm-device.c (nm_device_init): Remove the index member.
6637 (constructor): Remove the checks for index property, make interface property
6638 a require constructor property.
6639 Use the HAL udi for DBus path for devices.
6640 (nm_device_get_index): Remove.
6641 (set_property): Remove index handling.
6642 (get_property): Ditto.
6643 (nm_device_get_dbus_path): Remove.
6645 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6648 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6649 Access the device index through it's interface.
6650 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6651 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6652 index argument. Add interface argument.
6654 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6655 the useless test_dev argument. Remove index argument. Add interface arugment.
6657 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6658 device index through interface.
6659 (nm_system_set_mtu): Ditto.
6661 * introspection/nm-device.xml: Remove the "Index" property.
6663 2007-11-21 Tambet Ingo <tambet@gmail.com>
6665 * src/nm-serial-device.c:
6666 * src/nm-serial-device.c:
6667 * src/nm-umts-device.c:
6668 * src/nm-umts-device.h: Implement.
6670 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6671 allocated by libhal.
6672 (modem_device_creator): Implement.
6673 (register_built_in_creators): Register the modem creator.
6675 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6676 Remove the unused test_dev argument.
6678 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6680 * src/Makefile.am: Add new files to build.
6681 Link in ppp-manager.
6683 * libnm-util/nm-setting-umts.c:
6684 * libnm-util/nm-setting-umts.h:
6685 * libnm-util/nm-setting-serial.c:
6686 * libnm-util/nm-setting-serial.h: Implement.
6688 * libnm-util/Makefile.am: Add new files to build.
6690 2007-11-28 Dan Williams <dcbw@redhat.com>
6692 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6694 Support DHCP-provided static routes.
6696 * src/nm-ip4-config.h
6698 - Add get/set functions for static routes
6700 * src/dhcp-manager/nm-dhcp-manager.c
6701 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6704 * src/NetworkManagerSystem.c
6705 - (nm_system_device_set_from_ip4_config): set any static routes on the
6706 interface when applying the IP4Config
6708 2007-11-28 Dan Williams <dcbw@redhat.com>
6710 * src/nm-device-802-11-wireless.c
6711 - (real_act_stage1_prepare): mark APs created for hidden networks
6714 2007-11-27 Dan Williams <dcbw@redhat.com>
6716 * system-settings/src/nm-system-config-interface.h
6717 - Note how to store secrets on NMSetting objects
6719 * system-settings/src/dbus-settings.c
6720 - (connection_settings_get_secrets): implement
6722 2007-11-27 Dan Williams <dcbw@redhat.com>
6724 * system-settings/plugins/ifcfg/Makefile.am
6725 system-settings/plugins/ifcfg/parser.c
6726 system-settings/plugins/ifcfg/parser.h
6727 system-settings/plugins/ifcfg/plugin.c
6728 - Parse wireless connections too
6730 * system-settings/src/dbus-settings.c
6731 system-settings/src/dbus-settings.h
6732 system-settings/src/main.c
6733 - Handle connection update/removal if the plugin supports it
6735 2007-11-27 Dan Williams <dcbw@redhat.com>
6737 * src/nm-dbus-manager.h
6738 src/nm-hal-manager.c
6739 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6743 src/NetworkManagerDbusUtils.c
6744 src/NetworkManagerDbusUtils.h
6745 - Remove these two source files; they are unused
6747 2007-11-27 Dan Williams <dcbw@redhat.com>
6749 * src/vpn-manager/nm-vpn-manager.c
6750 - (impl_vpn_manager_connect): fix system settings check (found by
6753 2007-11-26 Dan Williams <dcbw@redhat.com>
6755 * Fix warnings so everything compiles with --enable-more-warnings
6757 2007-11-25 Dan Williams <dcbw@redhat.com>
6760 - Rework structure and code to use GModule-loaded plugins and a plugin
6761 interface that plugins export to the system settings service
6763 2007-11-21 Dan Williams <dcbw@redhat.com>
6766 - Add Soren's system settings service. Needs work for distros other
6767 than Fedora; the backends from NM should mostly migrate to here
6768 and be converted to GObjects
6770 2007-11-21 Dan Williams <dcbw@redhat.com>
6772 * libnm-util/nm-setting-vpn-properties.c
6773 - (set_property): must deep-copy the given settings hash, otherwise
6774 double-free errors occur when the setting is disposed of
6776 2007-11-21 Dan Williams <dcbw@redhat.com>
6778 * src/vpn-manager/nm-vpn-act-request.h
6779 src/vpn-manager/nm-vpn-act-request.c
6782 2007-11-20 Dan Williams <dcbw@redhat.com>
6784 * libnm-util/nm-utils.c
6785 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6786 nm_utils_convert_ip4_addr_struct_array_to_string,
6787 nm_utils_register_value_transformations): print out the readable
6788 values of more types of properties of NMSettings subclasses
6790 2007-11-20 Dan Williams <dcbw@redhat.com>
6792 * libnm-util/nm-setting-ip4-config.c
6793 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6794 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6795 marshal GValueArrays inside collections, so switch to types that it
6796 can actually marshal/demarshal
6798 2007-11-16 Dan Williams <dcbw@redhat.com>
6800 * libnm-util/nm-setting-wireless-security.c
6801 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6802 minimal verification of EAP methods too
6803 - (verify): verify phase1 eap methods too
6805 2007-11-15 Dan Williams <dcbw@redhat.com>
6807 * libnm-glib/nm-device.h
6808 libnm-glib/nm-device.c
6809 - (nm_device_get_product, nm_device_get_vendor): should be returning
6812 2007-11-15 Dan Williams <dcbw@redhat.com>
6814 * libnm-glib/nm-device.c
6815 - (get_product_and_vendor): don't try to free things that should be
6818 2007-11-15 Dan Williams <dcbw@redhat.com>
6820 * src/NetworkManagerUtils.c
6821 - (nm_ethernet_address_is_valid): unbreak previous fix
6823 2007-11-15 Dan Williams <dcbw@redhat.com>
6825 * src/supplicant-manager/nm-supplicant-config.c
6826 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6829 2007-11-15 Dan Williams <dcbw@redhat.com>
6831 * src/NetworkManagerUtils.c
6832 - (nm_ethernet_address_is_valid): fix style, clarify
6833 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6835 * src/nm-device-802-11-wireless.c
6836 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6837 - (nm_device_802_11_wireless_get_ssid,
6838 nm_device_802_11_wireless_get_bssid,
6839 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6840 before calling the ioctl; fixes valgrind-reported jump depends on
6841 uninitialized value errors
6843 2007-11-15 Dan Williams <dcbw@redhat.com>
6845 * libnm-util/nm-setting.c
6846 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6847 unecessary to serialize 'name'
6849 * src/nm-activation-request.c
6850 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6853 2007-11-15 Dan Williams <dcbw@redhat.com>
6855 * libnm-util/nm-setting-connection.h
6856 libnm-util/nm-setting-connection.c
6857 - Rename the 'name' property to 'id', because it conflicted with the
6858 NMSetting superclass' 'name' property.
6860 * libnm-util/nm-setting.c
6861 - (nm_setting_to_hash): serialize the 'name' property
6862 - (one_property_cb): ignore 'name' on deserialization of a connection
6864 * src/nm-device-802-11-wireless.c
6865 src/vpn-manager/nm-vpn-connection.c
6866 src/NetworkManagerPolicy.c
6867 - Fix up for NMSettingConnection 'name'->'id' changes
6869 2007-11-13 Dan Williams <dcbw@redhat.com>
6871 * libnm-glib/nm-device-802-11-wireless.h
6872 libnm-glib/nm-device-802-11-wireless.c
6873 - (nm_device_802_11_wireless_get_hw_address): return should be const
6876 libnm-glib/libnm-glib-test.c
6877 - Fixes for above change
6879 2007-11-12 Dan Williams <dcbw@redhat.com>
6881 * src/supplicant-manager/nm-supplicant-settings-verify.c
6882 - Allow fragment_size option
6884 * src/supplicant-manager/nm-supplicant-settings-verify.c
6885 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6886 EAP fragment size than the default to help some TLS connections
6888 2007-11-12 Dan Williams <dcbw@redhat.com>
6890 Make certs actually work. The private key is now a secret, and should be
6891 decrypted when requested by NM. The private key and phase2 private key
6892 passwords are no longer interesting to NM because they should be used by
6893 the settings service to decrypt the private key itself before passing it
6894 to NM, and hence have been removed as fields.
6896 * libnm-util/nm-setting-wireless-security.h
6897 libnm-util/nm-setting-wireless-security.c
6898 - Remove private-key-passwd and phase2-private-key-passwd from
6900 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6901 need_secrets): use property #defines instead strings to keep things
6903 - (need_secrets_tls): if a client certificate is present but no
6904 private key, request the private key
6905 - (set_property, get_property, nm_setting_wireless_security_class_init):
6906 remove private key password stuff, mark private keys as secret
6908 * src/supplicant-manager/nm-supplicant-settings-verify.c
6909 - Remove private_key_passwd and private_key2_passwd from opt_table
6911 2007-11-09 Dan Williams <dcbw@redhat.com>
6913 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6914 Since the vpn-properties are managed and known by the VPN daemons themselves,
6915 libnm-util doesn't know what's secret and what's in the setting's 'data'
6918 * libnm-util/nm-setting.h
6919 libnm-util/nm-setting.c
6920 - Add the ability for subclasses to override update_one_secret
6922 * libnm-util/nm-setting-vpn-properties.c
6923 - Override update_one_secret and just copy the values into the
6926 2007-11-09 Dan Williams <dcbw@redhat.com>
6928 * libnm-glib/nm-settings.h
6929 libnm-glib/nm-settings.c
6930 - (nm_settings_new_error): remove
6931 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6932 clients should use g_set_error() with NM_SETTINGS_ERROR
6934 2007-11-09 Dan Williams <dcbw@redhat.com>
6936 * src/supplicant-manager/nm-supplicant-config.c
6937 - (nm_supplicant_config_add_setting_wireless_security): private key
6938 passwords are never sent to wpa_supplicant, because the supplicant
6939 should never be reading random files from the disk. Clients like
6940 the applet are required to decrypt the private keys and send NM
6941 the decrypted blobs.
6943 2007-11-08 Dan Williams <dcbw@redhat.com>
6945 * libnm-util/nm-setting-wireless-security.h
6946 libnm-util/nm-setting-wireless-security.c
6947 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6948 members to 802-11-wireless-security structure. This should be used
6949 to indicate that the values in private-key and phase2-private-key
6950 are already decrypted by the user agent, and that no
6951 private-key-passwd or phase2-private-key-passwd should be expected.
6952 It is not meant to be a stored configuration value, but meant to
6953 be set when the conneciton is sent to NM over dbus.
6955 2007-11-08 Dan Williams <dcbw@redhat.com>
6957 * libnm-util/nm-connection.h
6958 libnm-util/nm-connection.c
6959 - (nm_connection_need_secrets): add argument to return hints
6961 * src/nm-device-802-11-wireless.c
6962 - (link_timeout_cb, supplicant_connection_timeout_cb,
6963 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6964 nm_connection_need_secrets() change
6966 2007-11-07 Tambet Ingo <tambet@gmail.com>
6968 Rework NMSetting structures: Move each setting to it's own file.
6969 Convert to GObject. Remove home grown setting types and use GTypes.
6970 Use GObject property introspection for hash conversion, enumerating
6973 * libnm-util/nm-setting-connection.[ch]
6974 * libnm-util/nm-setting-ip4-config.[ch]
6975 * libnm-util/nm-setting-ppp.[ch]
6976 * libnm-util/nm-setting-vpn.[ch]
6977 * libnm-util/nm-setting-vpn-properties.[ch]
6978 * libnm-util/nm-setting-wired.[ch]
6979 * libnm-util/nm-setting-wireless.[ch]
6980 * libnm-util/nm-setting-wireless-security.[ch]
6982 New files, each containing a setting.
6984 * libnm-util/nm-setting-template.[ch]: A template for creating new
6985 settings. To use it, just replace 'template' with the new setting
6986 name, and you're half-way done.
6988 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6989 introspection instead of internal types and tables.
6991 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6993 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6994 GValue types defined by dbus-glib for composed types like collections,
6995 structures and maps.
6997 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6998 a setting from connection takes the setting type now. Also, since
6999 the settings are in multiple files, include relevant settings.
7001 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7004 * src/backends/NetworkManagerGentoo.c:
7005 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7006 providers in Gentoo.
7008 2007-10-31 Dan Williams <dcbw@redhat.com>
7010 * libnm-util/nm-connection.c
7011 - (gvalue_to_string): handle UINT32 arrays
7013 2007-10-31 Dan Williams <dcbw@redhat.com>
7015 * libnm-glib/nm-device.h
7016 libnm-glib/nm-device.c
7017 - (nm_device_get_description): remove
7018 - (nm_device_get_product, nm_device_get_vendor): add
7019 - (nm_device_update_description): new function (private); walk HAL
7020 devices to get product and vendor IDs for a specific device
7022 2007-10-31 Dan Williams <dcbw@redhat.com>
7024 * src/nm-device-802-11-wireless.c
7025 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7027 2007-10-29 Dan Williams <dcbw@redhat.com>
7029 * src/nm-hal-manager.c
7030 - (device_added, device_new_capability): ignore device additions while
7031 asleep. Fixes crash caused when NM goes to sleep, a network device
7032 kernel module is unloaded and reloaded and recognized by NM again.
7034 2007-10-26 Dan Williams <dcbw@redhat.com>
7036 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7038 * src/NetworkManagerAP.c
7039 src/NetworkManagerAP.h
7040 libnm-glib/nm-access-point.c
7041 libnm-glib/nm-access-point.h
7042 - Make 'rate' property a guint32 to better match with WEXT and
7043 wpa_supplicant and to allow representation of higher bitrates
7045 * src/nm-device-802-11-wireless.c
7046 introspection/nm-device-802-11-wireless.xml
7047 libnm-glib/nm-device-802-11-wireless.c
7048 libnm-glib/nm-device-802-11-wireless.h
7049 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7051 * src/nm-device-802-3-ethernet.c
7052 src/nm-device-802-3-ethernet.h
7053 introspection/nm-device-802-3-ethernet.xml
7054 libnm-glib/nm-device-802-3-ethernet.c
7055 libnm-glib/nm-device-802-3-ethernet.h
7056 - Make 'speed' property a guint32 to match other speed/rate types
7057 - Make nm_device_802_3_ethernet_get_speed() static
7060 - Update for the changes above
7062 2007-10-26 Dan Williams <dcbw@redhat.com>
7064 * src/named-manager/nm-named-manager.c
7065 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7066 not calling fclose() twice on some error conditions
7068 2007-10-26 Dan Williams <dcbw@redhat.com>
7070 * src/nm-activation-request.c
7071 - (dispose): clean up indentation; get the right DBusGProxy object to
7072 cancel the GetSecrets pending call on. Need to use the Secrets
7073 proxy, not the regular connection proxy. Otherwise the GetSecrets
7074 pending call doesn't get canceled, and pressing Cancel in the
7075 applet's password dialog could cause get_secrets_cb() to be called
7076 after the activation request has already been destroyed
7078 2007-10-24 Dan Williams <dcbw@redhat.com>
7080 * src/supplicant-manager/nm-supplicant-config.c
7081 - (nm_supplicant_config_add_blob): pass blob data and length for
7083 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7085 2007-10-24 Dan Williams <dcbw@redhat.com>
7087 * src/supplicant-manager/nm-supplicant-settings-verify.c
7088 - (opt_table): max length for certificates should be 65536
7090 2007-10-24 Dan Williams <dcbw@redhat.com>
7092 * src/supplicant-manager/nm-supplicant-interface.c
7093 - (blob_free): correctly free blob data after use
7094 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7096 2007-10-24 Dan Williams <dcbw@redhat.com>
7098 * libnm-util/nm-setting.c
7099 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7100 EAP method need secrets
7102 2007-10-24 Dan Williams <dcbw@redhat.com>
7104 * src/backends/NetworkManagerRedHat.c
7105 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7107 2007-10-23 Dan Williams <dcbw@redhat.com>
7109 * libnm-util/nm-setting.c
7110 libnm-util/nm-setting.c
7111 - (nm_setting_compare): implement
7112 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7113 compare_one_hash_gvalue): compare the contents of a setting
7115 * libnm-util/nm-connection.c
7116 - (nm_connection_compare): implement
7118 2007-10-23 Dan Williams <dcbw@redhat.com>
7120 * src/nm-activation-request.c
7121 - (get_secrets_cb): handle getting a setting back that is more than
7122 just secrets (ie, user changed auth or EAP method or something)
7124 2007-10-23 Dan Williams <dcbw@redhat.com>
7126 * libnm-util/nm-setting.c
7127 libnm-util/nm-setting.h
7128 - (nm_setting_verify): new function; verify one setting
7129 - (nm_settings_verify_all): rename from nm_settings_verify()
7130 - (setting_connection_verify, setting_wireless_verify): allow NULL
7133 * libnm-util/nm-connection.c
7134 - (nm_connection_replace_settings, nm_connection_verify,
7135 nm_connection_new_from_hash): handle nm_settings_verify() rename
7137 2007-10-23 Dan Williams <dcbw@redhat.com>
7139 * src/nm-device-802-11-wireless.c
7140 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7143 2007-10-23 Dan Williams <dcbw@redhat.com>
7145 * src/supplicant-manager/nm-supplicant-settings-verify.c
7146 - eap_allowed, phase2_allowed: harmonize with allowed values from
7149 2007-10-23 Dan Williams <dcbw@redhat.com>
7151 * src/nm-device-802-11-wireless.c
7152 - (real_act_stage2_config): after the first association failure,
7153 if the connection still needs secrets ask the user for them
7154 explicitly. After the fourth association failure due to bad
7155 secrets, fail the connection entirely. Handles the GetSecrets
7156 loop that NM gets into when the provided secrets don't match up
7157 with the connection details.
7159 2007-10-23 Dan Williams <dcbw@redhat.com>
7161 * src/supplicant-manager/nm-supplicant-config.c
7162 - (nm_supplicant_config_add_setting_wireless_security): only add
7163 WPA-specific options when WPA is in use
7165 2007-10-23 Dan Williams <dcbw@redhat.com>
7167 * src/supplicant-manager/nm-supplicant-config.c
7168 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7169 secret doesn't need to be unhexified
7171 2007-10-23 Dan Williams <dcbw@redhat.com>
7173 * libnm-util/nm-setting.c
7174 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7175 before trying to do something with it
7177 2007-10-23 Dan Williams <dcbw@redhat.com>
7179 * src/nm-device-802-11-wireless.c
7180 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7182 2007-10-23 Dan Williams <dcbw@redhat.com>
7184 * src/nm-device-802-11-wireless.c
7185 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7186 non-SSID-broadcasting APs
7188 2007-10-23 Dan Williams <dcbw@redhat.com>
7190 * src/NetworkManagerAP.c
7191 - (match_cipher, security_compatible): remove
7192 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7195 2007-10-23 Dan Williams <dcbw@redhat.com>
7197 * libnm-util/nm-utils.c
7198 libnm-util/nm-utils.h
7199 - (nm_utils_ap_security_compatible): common function for checking
7200 whether a specific AP is compatible with an NMConnection
7202 2007-10-23 Dan Williams <dcbw@redhat.com>
7204 * libnm-util/nm-setting.c
7205 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7206 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7207 need_secrets_password, setting_wireless_security_verify): fix
7208 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7209 secrets logic for each supported EAP method
7211 2007-10-23 Dan Williams <dcbw@redhat.com>
7213 * src/supplicant-manager/nm-supplicant-config.c
7214 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7215 config option name, should be "private_key2_passwd"
7217 2007-10-22 Tambet Ingo <tambet@gmail.com>
7219 Implement support for static IP addresses, additional/overridden DNS and
7220 DNS domain search lists.
7222 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7223 (ip4_addresses_to_gvalue): Implement.
7224 (convert_array_to_byte_array): Implement.
7225 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7226 NM_S_TYPE_IP4_ADDRESSES.
7227 (nm_setting_hash): Ditto.
7228 (default_setting_clear_secrets): Add a default case for the switch: IP address
7229 shouldn't be secret, ever.
7230 (setting_ip4_config_verify): Update, requires addresses in case of manual
7232 (setting_ip4_config_destroy): Free stuff.
7234 * src/nm-device.c (merge_ip4_config): Implement.
7235 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7237 2007-10-22 Dan Williams <dcbw@redhat.com>
7239 * libnm-util/nm-setting.c
7240 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7241 pairwise cipher options for Dynamic WEP
7243 2007-10-21 Dan Williams <dcbw@redhat.com>
7245 * src/NetworkManagerAP.c
7246 src/NetworkManagerAP.h
7247 - Rename 'articifical' -> 'fake' since that's what they are until
7249 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7250 from the attributes in an NMConnection object
7251 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7253 - (nm_ap_match_in_list): find a matching AP in a scan list
7255 * src/nm-device-802-11-wireless.c
7256 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7257 AP when searching the scan list; match on frequency and mode too
7258 - (nm_device_802_11_wireless_get_frequency): implement
7259 - (merge_scanned_ap): replace duplicate matching logic with
7260 nm_ap_match_in_list()
7261 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7262 the user is trying to connect to a hidden network that is not yet
7263 known from the scan list
7264 - (activation_success_handler): now that the card knows the AP's BSSID,
7265 there may already be a scanned AP in the scan list that is what
7266 we really wanted to connect to, but didn't know at the time. Use
7267 that instead of the 'fake' AP created at activation start and get
7268 rid of the 'fake' AP
7269 - (cull_scan_list): don't remove fake APs
7271 2007-10-21 Dan Williams <dcbw@redhat.com>
7273 * src/nm-activation-request.h
7274 src/nm-activation-request.c
7275 - (nm_act_request_set_specific_object): new function; allow setting the
7276 specific object if one isn't set yet
7278 2007-10-20 Dan Williams <dcbw@redhat.com>
7280 * src/supplicant-manager/nm-supplicant-config.h
7281 src/supplicant-manager/nm-supplicant-config.c
7282 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7283 table to store blobs
7284 - (nm_supplicant_config_add_blob): new function; add blob to internal
7286 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7287 - (nm_supplicant_config_add_setting_wireless_security): handle
7288 options that use certificates (ie, blobs)
7290 * src/nm-device-802-11-wireless.c
7291 - (build_supplicant_config): pass a UID (just use the connection path)
7292 to the supplicant config as now required
7294 * src/supplicant-manager/nm-supplicant-interface.c
7295 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7296 there are any blobs to send to wpa_supplicant, send those first
7297 before sending the network configuration
7299 2007-10-19 Dan Williams <dcbw@redhat.com>
7301 Split the GetSecrets() call off to a separate D-Bus interface so that it
7302 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7303 should be able to call GetSecrets().
7305 * include/NetworkManager.h
7306 - Define the connection secrets D-Bus interface
7308 * src/vpn-manager/nm-vpn-connection.c
7309 - (clear_need_auth): get the right proxy object for the connection
7311 - (get_connection_secrets): use the connection secrets proxy; send
7312 empty hints in get secrets request
7314 * src/nm-activation-request.c
7315 - (nm_act_request_request_connection_secrets): use the connection
7316 secrets proxy; send empty hints in get secrets request
7320 - (connection_get_settings_cb): set the connection secrets proxy on
7321 the connection object too
7322 - (internal_new_connection_cb): create the connection secrets proxy
7324 * introspection/nm-settings-connection.xml
7325 - Define Connection.Secrets interface and move GetSecrets there
7326 - Add a 'hints' argument to GetSecrets
7328 * libnm-glib/nm-settings.c
7329 libnm-glib/nm-settings.h
7330 - (impl_connection_settings_get_secrets): add 'hints' argument
7332 2007-10-19 Dan Williams <dcbw@redhat.com>
7335 - (constructor): add message about what path a device is exported as
7336 to help in debugging rh #339011
7338 2007-10-17 Dan Williams <dcbw@redhat.com>
7340 * libnm-util/nm-utils.h
7341 libnm-util/nm-utils.c
7342 - (nm_utils_security_valid): common function to help find the intersection
7343 of capabilities of devices and (optionally) access points
7345 2007-10-17 Dan Williams <dcbw@redhat.com>
7347 * src/nm-device-802-11-wireless.c
7348 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7349 don't get erroneously cleared
7351 2007-10-17 Dan Williams <dcbw@redhat.com>
7355 src/nm-hal-manager.c
7356 - (device_removed, finalize, nm_manager_remove_device,
7357 nm_manager_sleep): add a 'deactivate' argument to
7358 nm_manager_remove_device() to fully deactivate devices when necessary
7359 (ie, always except when waking up)
7361 2007-10-16 Dan Williams <dcbw@redhat.com>
7363 * libnm-util/nm-setting.c
7364 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7365 also isn't valid phase2 autheap method
7367 2007-10-16 Dan Williams <dcbw@redhat.com>
7369 * libnm-glib/nm-client.c
7370 - (update_wireless_status): consolidate updates of wireless status
7371 - (constructor): use update_wireless_status()
7372 - (manager_running): set wireless status off when NM goes away; requery
7373 the wireless status when NM comes back
7375 2007-10-16 Dan Williams <dcbw@redhat.com>
7377 * libnm-glib/nm-client.c
7378 - (nm_client_activate_device): actually use the fixed-up specific
7381 2007-10-16 Dan Williams <dcbw@redhat.com>
7383 * src/nm-hal-manager.c
7384 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7385 killswitch error messages once
7387 2007-10-16 Dan Williams <dcbw@redhat.com>
7390 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7391 if it's disabled in hardware; don't touch network devices while
7394 2007-10-16 Dan Williams <dcbw@redhat.com>
7396 * libnm-util/nm-client.c
7397 - (nm_client_activate_device): convert NULL specific_object to "/",
7398 which is used in place of NULL
7401 - (impl_manager_activate_device): convert "/" specific_object back into
7404 2007-10-16 Tambet Ingo <tambet@gmail.com>
7406 Implement a generic NMSetting creator from setting name.
7407 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7408 add a virtual function 'populate_fn'.
7410 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7411 (register_default_creators): Register setting creators instead of functions
7412 that create and then populate.
7413 (parse_one_setting): Use the common setting creator and then setting specific
7414 poplulation function.
7416 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7417 they all looked exactly the same.
7418 Add a 'populate_fn' virtual function to NMSetting.
7419 Use default virtual functions in case they are not overriden.
7420 (nm_setting_populate_from_hash): Implement.
7422 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7423 name, use a defined string.
7424 (real_act_stage4_get_ip4_config): Ditto.
7426 2007-10-16 Tambet Ingo <tambet@gmail.com>
7428 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7429 HAL is int, not uint.
7431 2007-10-15 Tambet Ingo <tambet@gmail.com>
7433 Implement killswitch polling through HAL.
7435 * src/nm-manager.c: Add wireless hardware status property. Add
7436 'properties-changed' signal for changes in wireless and wireless hardware
7439 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7440 and update NMManager's wireless hardware state when it has changed.
7441 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7444 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7445 values of wireless state and wireless hardware state. Listen for the
7446 'properties-changed' signals, update the cached values and emit notify.
7448 * include/NetworkManager.h: Fix a typo in a comment.
7450 2007-10-14 Dan Williams <dcbw@redhat.com>
7452 * libnm-util/nm-setting.c
7453 - (setting_wireless_security_need_secrets): handle LEAP secrets
7455 2007-10-13 Dan Williams <dcbw@redhat.com>
7457 * libnm-util/nm-setting.h
7458 libnm-util/nm-setting.c
7459 src/supplicant-manager/nm-supplicant-config.c
7460 - Make the 'proto' field of the 802-11-wireless-security field a
7463 2007-10-12 Tambet Ingo <tambet@gmail.com>
7465 Rework the "properties-changed" signal listening implementation.
7466 Add a generic implementation to NMObject class that listens for
7467 the signal and calls property setters of the target NMObject.
7469 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7471 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7472 code to the end of file so that all the static functions are available
7473 without extra declarations.
7474 Remove the "properties-changed" signal handling and use the framework from
7476 Implement property setters for properties that change with
7477 "properties-changed" signal.
7479 * libnm-glib/nm-access-point.c: Ditto.
7481 2007-10-12 Tambet Ingo <tambet@gmail.com>
7483 Rework the "properties-changed" signal implementation.
7484 In classes that need to use it, just emit "GObject::notify" and the new
7485 framework takes care of the rest to make the signal available on dbus.
7486 The framework queues the notifications and tries to send as many together
7487 in one signal as possible.
7489 * src/nm-properties-changed-signal.c:
7490 * src/nm-properties-changed-signal.h: Implement.
7492 * src/Makefile.am: Add new files to build.
7494 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7497 * src/nm-device-802-11-wireless.c: Ditto.
7499 2007-10-10 Dan Williams <dcbw@redhat.com>
7502 - (wait_for_connection_expired): ensure info is valid
7503 - (connection_added_default_handler): Should only remove pending
7504 connection info when the manager has the connection that it's
7505 waiting for. Fixes segfault in wait_for_connection_info().
7507 2007-10-10 Dan Williams <dcbw@redhat.com>
7509 * libnm-util/nm-setting.c
7510 libnm-util/nm-setting.h
7511 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7512 can use if they choose. Should be filled in by the settings service
7513 on-the-fly with the currently logged in user's username
7515 2007-10-10 Dan Williams <dcbw@redhat.com>
7517 * src/nm-device-802-11-wireless.c
7518 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7519 as such, because even if the manager fills in the SSID, NM still
7520 has to indicate to wpa_supplicant that the AP isn't broadcasting
7523 2007-10-10 Tambet Ingo <tambet@gmail.com>
7525 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7526 code that used NM's own version of dbus signal handling and custom dictionary
7527 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7528 and we get to maintain over 2000 lines less code.
7530 * libnm-util/dbus-dict-helpers.c:
7531 * libnm-util/dbus-dict-helpers.h: Remove.
7533 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7535 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7537 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7540 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7542 * configure.in: Remove test/libnm-util/Makefile creation.
7544 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7546 * test/libnm-util/: Remove the whole directory.
7548 2007-10-10 Tambet Ingo <tambet@gmail.com>
7550 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7551 device_state_changed_idle_id variable or it would contain some random value and the
7552 schedule_change_check calls would not do anything.
7554 2007-10-09 Dan Williams <dcbw@redhat.com>
7556 * src/nm-device-802-11-wireless.c
7557 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7558 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7559 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7560 merging of non-SSID-broadcasting APs
7562 2007-10-09 Tambet Ingo <tambet@gmail.com>
7564 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7565 "guint8 *" since it's usually used with GByteArray->data.
7566 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7568 2007-10-09 Tambet Ingo <tambet@gmail.com>
7570 * src/NetworkManagerUtils.c
7571 (nm_utils_is_empty_ssid):
7572 (nm_utils_escape_ssid):
7573 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7574 lot of places, so they belong to libnm-utils instead.
7576 Now with 100% less compiler warnings:
7578 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7579 (nm_dbus_unescape_object_path): Ditto.
7580 (nm_utils_ssid_to_utf8): Ditto.
7581 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7582 (nm_utils_escape_ssid): Ditto.
7583 (nm_utils_same_ssid): Ditto.
7585 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7586 (add_one_connection_element): Remove an unused variable.
7587 (impl_manager_get_active_connections): Ditto.
7589 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7592 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7593 from the previous commit.
7595 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7596 (real_act_stage1_prepare): Ditto.
7597 (activation_success_handler): Ditto.
7598 (get_property): Ditto.
7600 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7603 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7606 * src/supplicant-manager/nm-supplicant-config.c
7607 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7608 to expected "char *".
7609 (nm_supplicant_config_add_setting_wireless): Ditto.
7610 (nm_supplicant_config_remove_option): Remove, not used.
7612 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7614 (test_wireless_enabled): Ifdef out unused function.
7615 (device_deactivate): Ditto.
7616 (device_state_changed): Ditto.
7617 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7618 (nm_utils_escape_ssid): Ditto.
7620 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7621 (nm_utils_is_empty_ssid): Ditto.
7623 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7626 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7627 (setting_vpn_properties_update_secrets): Ditto.
7628 (int_to_gvalue): Ifdef out for now, not used.
7629 (byte_to_gvalue): Ditto.
7631 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7634 2007-10-08 Tambet Ingo <tambet@gmail.com>
7636 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7637 about dbus manager, not named manager.
7638 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7640 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7641 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7642 However, the same signal is emitted when we destroy it and there's
7643 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7645 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7646 releasing the DBusGConnection, since proxy needs a conneciton.
7647 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7649 2007-10-08 Dan Williams <dcbw@redhat.com>
7651 * src/NetworkManager.c
7652 - (main): error on unknown command-line options
7654 2007-10-08 Dan Williams <dcbw@redhat.com>
7656 Reimplement the invalid connection list. Don't try to re-activate a
7657 connection that just failed or was canceled.
7660 - (connection_secrets_failed_cb): fail device activation, don't just
7661 deactivate the device. Listeners have to know about the failure.
7663 * src/NetworkManagerPolicy.c
7664 - (nm_policy_auto_get_best_device): exclude invalid connections from
7665 the connection list given to a device's get_best_connection()
7667 - (device_state_changed): tag failed connections as invalid; clear the
7668 tag from successful connections
7670 2007-10-08 Dan Williams <dcbw@redhat.com>
7672 Fix problems with interrupted activation. Previously, choosing an AP
7673 from the menu, then choosing another one before the first connection was
7674 successful wouldn't deactivate the device before starting the new connection
7675 on that same device.
7677 * src/NetworkManagerPolicy.c
7678 - (deactivate_old_device, device_state_changed, state_changed,
7679 nm_policy_new): wrong place to deactivate old devices
7682 - (pending_connection_info_destroy, finalize,
7683 wait_for_connection_expired): decouple destruction of the pending
7684 connection info from the manager device
7685 - (connection_added_default_handler): deactivate any active or
7686 activating device before starting a new activation
7687 - (impl_manager_activate_device): deactivate any active or activating
7688 device before starting a new activation; be sure not to leak
7689 pending connection info if a new activation request arrives but
7690 there's already a pending one in-process
7692 2007-10-08 Dan Williams <dcbw@redhat.com>
7694 * src/NetworkManagerAP.h
7695 src/NetworkManagerAP.c
7696 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7697 should handle default SSIDs and whether or not to autoconnect
7700 2007-10-08 Dan Williams <dcbw@redhat.com>
7702 * src/NetworkManagerPolicy.c
7703 - (nm_policy_device_change_check): print out connection name where
7706 2007-10-08 Dan Williams <dcbw@redhat.com>
7708 * src/nm-device-802-11-wireless.c
7709 src/nm-device-802-11-wireless.h
7710 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7711 'hidden-ap-found' signal (for internal use only) that allows the
7712 NMManager to fill in the AP's SSID if a connection has that AP's
7713 BSSID in its seen-bssids list
7716 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7717 wireless device's hidden-ap-found signal and fill in the APs SSID
7720 2007-10-07 Dan Williams <dcbw@redhat.com>
7724 - Add a 'connections-added' signal to batch together updates of large
7725 numbers of connections, like when reading from a settings service
7726 the first time. Otherwise, the policy would just activate the first
7727 suitable connection it saw rather than waiting for the full list
7729 - (nm_manager_class_init): register new signal
7730 - (get_type_for_proxy, connection_get_settings_cb,
7731 get_connection_for_proxy): centralize places where a proxy's setting
7732 service is determined
7733 - (free_get_settings_info): if the call being freed is the last call
7734 in a pending call group, fire off the connections-added signal
7735 - (internal_new_connection_cb): add call to a pending call group if
7737 - (list_connections_cb): always create a call group here, because this
7738 call results in a batch of new connections
7739 - (initial_get_connections): start getting system connections first
7740 - (nm_manager_connections_destroy, emit_removed): actually emit the
7741 removed signal when destroying connections
7743 * src/NetworkManagerPolicy.c
7744 - (nm_policy_new, connections_added): handle connections-added signal
7747 2007-10-06 Dan Williams <dcbw@redhat.com>
7749 * src/nm-device-802-11-wireless.c
7750 - (constructor): fix leaked socket
7752 2007-10-06 Dan Williams <dcbw@redhat.com>
7754 * src/NetworkManagerPolicy.c
7755 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7756 connection in the list returned by nm_manager_get_connections() is
7757 reffed, but they weren't getting unreffed before returning
7759 2007-10-06 Dan Williams <dcbw@redhat.com>
7762 - (connections_to_slist): sort connections first on autoconnect, then
7765 2007-10-06 Dan Williams <dcbw@redhat.com>
7767 * libnm-util/nm-connection.c
7768 - (gvalue_to_string): handle UINT64
7770 2007-10-06 Dan Williams <dcbw@redhat.com>
7772 * src/NetworkManagerPolicy.c
7773 - (connection_updated, nm_policy_new): recheck state when a connection
7776 2007-10-06 Dan Williams <dcbw@redhat.com>
7780 - (nm_manager_get_connection_dbus_path): make static
7781 - (nm_manager_update_connections): remove; unused
7782 - Add a connection-updated signal
7783 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7784 handle connection object updates
7786 2007-10-06 Dan Williams <dcbw@redhat.com>
7788 * src/NetworkManagerPolicy.c
7789 - (connection_removed): deactivate removed connections
7791 2007-10-06 Dan Williams <dcbw@redhat.com>
7793 * libnm-util/nm-connection.c
7794 libnm-util/nm-connection.h
7795 - (nm_connection_replace_settings): new function
7797 2007-10-06 Dan Williams <dcbw@redhat.com>
7799 * libnm-glib/nm-device-802-11-wireless.c
7800 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7801 on error when getting the active access point over D-Bus from NM
7803 2007-10-05 Dan Williams <dcbw@redhat.com>
7805 * libnm-util/nm-setting.c
7806 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7807 to the NMSettingWireless table; it's now a string array not an array
7810 2007-10-05 Dan Williams <dcbw@redhat.com>
7812 * libnm-glib/nm-device-802-11-wireless.c
7813 - Cache properties and update cached properties on D-Bus signals from NM
7815 2007-10-05 Dan Williams <dcbw@redhat.com>
7817 * src/nm-device-802-11-wireless.c
7818 - (set_current_ap): consolidate current_ap handling code into one place
7819 to ensure that PropertiesChanged signals are emitted in all cases
7820 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7821 nm_device_802_11_wireless_dispose): use set_current_ap()
7823 2007-10-05 Dan Williams <dcbw@redhat.com>
7825 * libnm-glib/nm-access-point.c
7826 libnm-glib/nm-access-point.h
7827 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7828 because the value is cached internally now. Callers should not
7829 free the internal value.
7830 - Make signal name defines private
7833 libnm-glib/libnm-glib-test.c
7834 - Don't free value returned from nm_access_point_get_hw_address()
7836 2007-10-04 Dan Williams <dcbw@redhat.com>
7838 * introspection/nm-device-802-11-wireless.xml
7839 src/nm-device-802-11-wireless.h
7840 src/nm-device-802-11-wireless.c
7841 - Add a PropertiesChanged signal for wireless device
7842 - Store currently associated access point
7843 - (periodic_update): generalize; update rate here too and emit the
7844 correct PropertiesChanged signal when stuff changes
7845 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7846 real_activation_cancel_handler): clear current_ap when device is
7848 - (link_to_specific_ap, get_ap_blacklisted,
7849 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7851 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7853 - (real_set_hw_address): emit property changed signal if the card's
7855 - (real_act_stage1_prepare): set the initial current_ap to the AP
7856 the card is supposed to be connecting to
7857 - (activation_success_handler): send out property updates on successful
7859 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7860 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7861 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7862 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7863 is now boxed; add PropertiesChanged signal
7865 2007-10-04 Dan Williams <dcbw@redhat.com>
7867 * libnm-util/nm-connection.c
7868 libnm-util/nm-connection.h
7869 - (nm_connection_verify): new function
7871 2007-10-04 Dan Williams <dcbw@redhat.com>
7873 * libnm-util/nm-setting.c
7874 - (nm_settings_verify): use #defines when possible rather than strings
7875 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7876 - (setting_vpn_verify): tighter validity check on 'service_type'
7878 2007-10-04 Dan Williams <dcbw@redhat.com>
7880 * libnm-glib/nm-settings.c
7881 - (nm_connection_settings_class_init): provide correct type for argument
7882 to the Updated signal so that dbus-glib knows how to marshal it
7884 2007-10-03 Dan Williams <dcbw@redhat.com>
7886 * src/nm-device-802-3-ethernet.c
7887 - (real_get_best_connection): don't create automatic connections
7888 internally; clients should provide a setting that applies to
7889 the device with 'autoconnect: True'. Problem was that these
7890 internally auto-created connections don't have a proxy or service
7891 name becuase they weren't created by a settings daemon, and therefore
7892 clients have no idea what to do with them.
7894 2007-10-03 Dan Williams <dcbw@redhat.com>
7896 * src/nm-device-802-11-wireless.c
7897 src/nm-device-802-11-wireless.h
7898 introspection/nm-device-802-11-wireless.xml
7899 - GetActiveNetworks -> GetAccessPoints
7900 - ActiveNetwork -> ActiveAccessPoint
7901 - NetworkAdded -> AccessPointAdded
7902 - NetowrkRemoved -> AccessPointRemoved
7904 * libnm-glib/nm-device-802-11-wireless.c
7905 libnm-glib/nm-device-802-11-wireless.h
7906 - network-added signal -> access-point-added
7907 - network-removed signal -> access-point-removed
7908 - nm_device_802_11_wireless_get_active_network() ->
7909 nm_device_802_11_wireless_get_active_access_point()
7910 - nm_device_802_11_wireless_get_network_by_path() ->
7911 nm_device_802_11_wireless_get_access_point_by_path()
7912 - nm_device_802_11_wireless_get_networks() ->
7913 nm_device_802_11_wireless_get_access_points()
7915 * libnm-glib/libnm-glib-test.c
7917 src/NetworkManagerPolicy.c
7918 - Fixups for Network -> AccessPoint
7920 2007-10-03 Dan Williams <dcbw@redhat.com>
7922 Add a GetActiveConnections() method on the Manager object.
7926 introspection/nm-manager.xml
7927 - (connection_get_settings_cb): keep connection type around too
7928 - (impl_manager_get_active_connections, add_one_connection_element):
7929 implement; returns all active connections and what devices they
7932 * libnm-glib/nm-client.c
7933 libnm-glib/nm-client.h
7934 introspection/nm-manager-client.xml
7935 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7936 by the caller; free here to avoid memory leak
7937 - (nm_client_get_active_connections): implement; return the list of
7939 - (nm_client_free_active_connection_element): implement; free an element
7940 of the GSList returned by nm_client_get_active_connections()
7942 2007-10-03 Dan Williams <dcbw@redhat.com>
7944 * src/nm-device-802-11-wireless.c
7945 - (nm_device_802_11_wireless_update_bssid): remove
7946 - (get_active_ap): new function; find the AP in the scan list which
7947 matches the current BSSID and SSID of the wireless device
7948 - (nm_device_802_11_periodic_update): get current AP using
7949 get_active_ap() and print AP roam messages
7951 2007-10-01 Dan Williams <dcbw@redhat.com>
7953 * libnm-util/nm-setting.h
7954 - Add a 'timestamp' option to NMSettingConnection
7957 * libnm-util/nm-setting.c
7958 - (uint64_to_gvalue): new function
7959 - (nm_setting_populate_from_hash, nm_setting_hash,
7960 default_setting_clear_secrets): handle UINT64 type
7961 - con_table: add 'timestamp' member
7963 2007-10-01 Dan Williams <dcbw@redhat.com>
7966 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7967 value when the connection can be activated immediately
7969 2007-10-01 Dan Williams <dcbw@redhat.com>
7971 * libnm-glib/nm-device.c
7972 - (nm_device_class_init): actually tell glib about the carrier-changed
7975 2007-10-01 Dan Williams <dcbw@redhat.com>
7978 src/marshallers/Makefile.am
7979 src/marshallers/nm-marshal.list
7980 src/marshallers/nm-marshal-main.c
7981 - Consolidate glib marshallers into one place
7983 * src/dhcp-manager/Makefile.am
7984 src/dhcp-manager/nm-dhcp-manager.c
7985 src/supplicant-manager/Makefile.am
7986 src/supplicant-manager/nm-supplicant-manager.c
7987 src/supplicant-manager/nm-supplicant-interface.c
7988 src/ppp-manager/Makefile.am
7989 src/ppp-manager/nm-ppp-manager.c
7990 src/vpn-manager/Makefile.am
7991 src/vpn-manager/nm-vpn-connection.c
7993 - Use consolidated marshallers
7995 * src/dhcp-manager/nm-dhcp-marshal.list
7996 src/dhcp-manager/nm-dhcp-marshal-main.c
7997 src/supplicant-manager/nm-supplicant-marshal-main.c
7998 src/supplicant-manager/nm-supplicant-marshal.list
7999 src/nm-marshal-main.c
8001 src/ppp-manager/nm-ppp-marshal-main.c
8002 src/ppp-manager/nm-ppp-marshal.list
8003 src/vpn-manager/nm-vpn-marshal-main.c
8004 src/vpn-manager/nm-vpn-marshal.list
8007 2007-10-01 Dan Williams <dcbw@redhat.com>
8009 * include/NetworkManagerVPN.h
8010 - define VPN connection state change reason codes
8012 * src/vpn-manager/Makefile.am
8013 src/vpn-manager/nm-vpn-marshal.list
8014 src/vpn-manager/nm-vpn-marshal-main.c
8015 - Add marshallers for StateChanged signal
8017 * introspection/nm-vpn-connection.xml
8018 - New Banner property
8019 - StateChanged signal now includes a 'reason' argument
8021 * src/vpn-manager/nm-vpn-connection.c
8022 src/vpn-manager/nm-vpn-connection.h
8023 - Add a "Banner" property that contains the returned VPN server login
8024 banner (if any); valid only in the ACTIVATED state
8025 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8026 a 'reason' argument and emits that reason along with the
8027 state-changed signal
8028 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8029 - (nm_vpn_connection_ip4_config_get): save banner for later
8030 - (nm_vpn_connection_get_banner, get_property,
8031 nm_vpn_connection_class_init): implement Banner property
8033 * src/vpn-manager/nm-vpn-service.c
8034 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8035 connection list because elements may get added/removed from it
8036 while iterating over the list
8037 - (connection_state_changed): signal now includes the 'reason' argument
8039 * libnm-glib/nm-vpn-connection.c
8040 libnm-glib/nm-vpn-connection.h
8041 - (nm_vpn_connection_get_banner): new function
8042 - (state_changed_proxy): handle reason argument
8044 2007-09-28 Tambet Ingo <tambet@gmail.com>
8048 Implement device activation through NMManager.
8049 Implement "pending device activation" here - If the connection isn't found,
8050 we try to wait for up to 5 seconds for the connection to be provided.
8051 Add NMConnectionType argument to "connection-added" and "connection-removed"
8053 (nm_manager_get): Remove. Finally.
8055 * src/nm-activation-request.c:
8056 * src/nm-activation-request.h:
8057 Remove all the deferred activation code.
8059 * src/nm-device.c: Remove all the deferred activation code. Once the device
8060 activation is started, it's started. Update the activation virtual function
8063 * src/nm-device-interface.c:
8064 * src/nm-device-interface.h:
8065 Device activation now takes only NMActRequest argument.
8066 Don't expose device activation directly on dbus, it's supposed to go through
8069 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8071 Use the new device activation methods through NMManager.
8073 * introspection/nm-manager-client.xml:
8074 * introspection/nm-manager.xml:
8075 * libnm-glib/nm-client.c:
8076 * libnm-glib/nm-client.h:
8077 Add device activation method.
8079 * libnm-glib/nm-device.c:
8080 * libnm-glib/nm-device.h:
8081 * introspection/nm-device.xml:
8082 Remove device activation method. It's done through NMManager now.
8084 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8085 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8087 2007-09-28 Dan Williams <dcbw@redhat.com>
8089 * libnm-glib/nm-vpn-connection.c
8090 - (nm_vpn_connection_get_state): try to update state if the current
8093 2007-09-27 Dan Williams <dcbw@redhat.com>
8095 Patch from Bill Nottingham
8097 * src/supplicant-manager/nm-supplicant-config.c
8098 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8099 data to the supplicant
8101 2007-09-27 Dan Williams <dcbw@redhat.com>
8103 * src/NetworkManagerSystem.c
8104 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8105 and all address manipulation here should be happening on the
8106 _VPN_ device, not the active device
8108 2007-09-26 Dan Williams <dcbw@redhat.com>
8112 src/nm-activation-request.c
8113 src/nm-activation-request.h
8114 - Move the GetSecrets stuff out of the NMManager instance because it
8115 doesn't really need to be there and complicates things
8118 - (connection_secrets_failed_cb, device_activation_go): connect to the
8119 connection-secrets-failed signal and deactivate the device if
8120 the GetSecrets call fails
8122 * src/nm-device-802-11-wireless.c
8123 - (link_timeout_cb, supplicant_connection_timeout_cb,
8124 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8125 secrets and give correct hints about whether new secrets should be
8126 asked for by the client or not
8128 2007-09-26 Dan Williams <dcbw@redhat.com>
8130 * src/vpn-manager/nm-vpn-connection.c
8131 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8132 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8133 to the secrets-updated signal of the NMConnection since updating
8134 the secrets is done within the scope of the NMVPNConnection object
8136 - (get_connection_secrets): fix an uninialized variable usage error
8138 2007-09-26 Dan Williams <dcbw@redhat.com>
8140 * libnm-util/nm-setting.c
8141 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8142 actually get updated when the user enters them
8144 2007-09-26 Dan Williams <dcbw@redhat.com>
8146 * libnm-glib/nm-vpn-plugin.c
8147 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8149 2007-09-26 Dan Williams <dcbw@redhat.com>
8151 * include/NetworkManagerVPN.h
8152 - Add a NEED_AUTH state
8154 * src/vpn-manager/nm-vpn-connection.c
8155 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8156 the connection needs secrets, and if so, then ask the settings
8157 service to fill in the secrets. Then start the connection.
8159 2007-09-26 Dan Williams <dcbw@redhat.com>
8161 * src/vpn-manager/nm-vpn-manager.c
8162 - (new_vpn_error, impl_vpn_manager_connect): set errors
8164 2007-09-26 Dan Williams <dcbw@redhat.com>
8166 * introspection/nm-vpn-plugin.xml
8167 libnm-glib/nm-vpn-plugin.c
8168 libnm-glib/nm-vpn-plugin.h
8169 - (impl_vpn_plugin_need_secrets): implement a call that should return
8170 the name of the NMSetting in an NMConnection that may require
8171 secrets specific to that VPN plugin
8173 2007-09-26 Dan Williams <dcbw@redhat.com>
8177 - (nm_manager_get_connection_secrets): make static, unused outside
8179 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8181 2007-09-26 Tambet Ingo <tambet@gmail.com>
8183 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8185 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8186 unreference the connection.
8188 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8189 passing properties hash and routes string list, pass NMConnection (in hashed form).
8191 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8192 as GSList, no need to copy stuff around anymore.
8193 (nm_vpn_connection_activate): Update the plugin activation method.
8195 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8196 routes argument to GSList.
8198 2007-09-26 Tambet Ingo <tambet@gmail.com>
8200 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8201 state and try to get the secrets.
8203 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8204 connections from NMManager and let the device to choose the best from the list.
8205 Since the connection list is sorted by system ones first and user ones later,
8206 the devices still prefer system connections like they did before.
8207 (deactivate_old_device): Implement. When a device starts activation, we have a
8208 policy (for now at least) to deactivate any other device that might be either
8209 active or still activating.
8211 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8212 It's set on construction, there will be no other way to access it.
8214 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8215 device events and drive the device, not the other way around.
8217 * src/nm-device-802-3-ethernet.c: Ditto.
8219 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8220 sent along, pass it on to virtual functions.
8222 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8223 for now, but should really be public instead of nm_device_get_iface() since iface
8224 is a property of the DeviceInterface, not Device.
8225 (impl_device_activate): Don't touch NMManager!
8227 2007-09-26 Jürg Billeter <j@bitron.ch>
8229 * initscript/paldo/NetworkManager.in:
8230 * initscript/paldo/NetworkManagerDispatcher.in:
8231 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8232 (nm_system_flush_loopback_routes): update paldo backend
8234 2007-09-26 Tambet Ingo <tambet@gmail.com>
8236 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8237 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8238 which means none of the devices get brought down properly, which in turn leaves
8239 DHCP client running.
8241 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8242 (supplicant_connection_timeout_cb): Ditto.
8244 2007-09-25 Dan Williams <dcbw@redhat.com>
8247 - (device_activation_go): small hack to work around race when
8248 activating deferred connections; should solve this in a better way
8250 2007-09-25 Dan Williams <dcbw@redhat.com>
8252 * introspection/nm-device.xml
8253 libnm-glib/nm-device.c
8254 libnm-glib/nm-device.h
8255 - Add 'Carrier' property to exported NMDevice objects
8257 * src/nm-device-interface.h
8258 src/nm-device-interface.c
8260 - Add a 'carrier' property to internal NMDevice objects
8262 2007-09-25 Dan Williams <dcbw@redhat.com>
8264 * src/nm-device-802-11-wireless.c
8265 - (ap_auth_enforced): also return the encryption status of the AP so
8266 that callers can differentiate easily between unencrypted APs
8267 and encrypted ones, in addition to whether the AP has an
8269 - (link_timeout_cb, supplicant_connection_timeout_cb,
8270 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8271 previously would request secrets from unencrypted APs at times
8273 2007-09-25 Dan Williams <dcbw@redhat.com>
8276 - (nm_manager_update_state): new function; updates state and emits
8277 appropriate signals ensuring a state-change signal for the same state
8278 never gets emitted twice in a row.
8279 - (manager_device_state_changed): handle more device state to get a
8280 better picture of the overall NM state
8282 2007-09-25 Dan Williams <dcbw@redhat.com>
8284 * libnm-glib/nm-settings.c
8285 libnm-glib/nm-settings.h
8286 - (new_error -> nm_settings_new_error): make public so that subclasses
8287 can use the same error domain. Also pass a valid error code to
8288 g_error_new_literal() so that libdbus doesn't assert when converting
8289 the GError into a DBusError
8290 - (impl_settings_list_connections, impl_connection_settings_get_id,
8291 impl_connection_settings_get_settings,
8292 impl_connection_settings_get_secrets): use new error creator
8295 2007-09-25 Dan Williams <dcbw@redhat.com>
8297 * src/NetworkManager.c
8298 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8300 2007-09-25 Dan Williams <dcbw@redhat.com>
8302 * src/supplicant-manager/nm-supplicant-manager.c
8303 - (poke_supplicant_cb, nm_supplicant_manager_init,
8304 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8305 nm_supplicant_manager_startup): when the supplicant isn't running,
8306 try to start it periodically via system bus activation. Fixes
8307 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8308 for the supplicant to come back
8310 2007-09-25 Dan Williams <dcbw@redhat.com>
8312 Ensure that old activation requests are forgotten about; previously
8313 hitting Cancel in the password dialog would deactivate whatever device
8314 that password was requested for, even if that wasn't the currently
8315 activating connection.
8319 - (nm_manager_get_connection_secrets): track the pending call
8320 object so it can be canceled later if needed
8321 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8322 GetSecrets call for a particular connection
8324 * src/nm-activation-request.c
8325 - (dispose): cancel any outstanding GetSecrets calls on the
8328 2007-09-25 Dan Williams <dcbw@redhat.com>
8330 * src/NetworkManagerPolicy.c
8331 - (nm_policy_device_change_check): handle devices that have a
8332 deferred activation. These devices are not really active _yet_,
8333 but need to be treated as such here. Don't interrupt them
8336 * src/nm-device-interface.c
8337 - (impl_device_activate): handle devices that have a deferred activation
8338 like activating or active devices. When multiple active devices
8339 get committed, the device shouldn't be deactivated until the
8340 connection details are available to avoid DoS and such. Currently,
8341 any active, activating, or deferred activation device is deactivated
8342 here before starting the new activation request.
8344 2007-09-25 Dan Williams <dcbw@redhat.com>
8346 Properly re-query secrets from the settings daemon when stuff fails.
8348 * src/nm-device-802-11-wireless.c
8349 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8350 between Shared Key and Open System auth modes
8351 - (link_timeout_cb, supplicant_connection_timeout_cb,
8352 real_act_stage4_ip_config_timeout): clear existing secrets and
8353 request new ones when something fails due to a suspected wrong key
8354 - (real_act_stage2_config): fix for new request_new argument to
8355 nm_manager_get_connection_secrets()
8359 - (nm_manager_get_connection_secrets): return error status; pass
8360 new request_new argument on to the settings daemon
8362 * introspection/nm-settings-connection.xml
8363 - New 'request_new' argument to the GetSecrets call that hints to the
8364 settings daemon to ask the user for completely new secrets
8366 * libnm-glib/nm-settings.c
8367 libnm-glib/nm-settings.h
8368 - (impl_connection_settings_get_secrets): handle new 'request_new'
8371 2007-09-25 Dan Williams <dcbw@redhat.com>
8373 * libnm-util/nm-connection.c
8374 libnm-util/nm-connection.h
8375 - (nm_connection_clear_secrets): new function; clear secrets out of
8376 each NMSetting in an NMConnection
8378 * libnm-util/nm-setting.h
8379 libnm-util/nm-setting.c
8380 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8381 secrets out of an NMSetting
8382 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8383 nm_setting_wired_new, nm_setting_wireless_new,
8384 nm_setting_wireless_security_new, nm_setting_ppp_new,
8385 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8386 to default handler default_setting_clear_secrets()
8388 2007-09-25 Dan Williams <dcbw@redhat.com>
8390 * src/nm-activation-request.c
8391 src/nm-activation-request.h
8392 - (nm_act_request_is_deferred): new function
8394 2007-09-24 Dan Williams <dcbw@redhat.com>
8396 * src/nm-device-802-11-wireless.c
8397 - (activation_success_handler): update signal strength immediately
8400 2007-09-24 Dan Williams <dcbw@redhat.com>
8402 * libnm-util/nm-setting.c
8403 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8405 2007-09-24 Dan Williams <dcbw@redhat.com>
8407 * src/NetworkManagerPolicy.c
8408 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8409 device by deactivating it because it doesn't have a "best connection".
8410 Since autoconnect=False connections aren't automatically chosen,
8411 NM would interrupt activation of such a connection because it
8412 would never be "best" due to autoconnect=False.
8414 2007-09-24 Dan Williams <dcbw@redhat.com>
8417 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8418 actually has some time to enter a key before the GetSecrets call
8421 2007-09-24 Dan Williams <dcbw@redhat.com>
8423 * introspection/nm-manager.xml
8425 - (impl_manager_legacy_state): fix 'state' method call return value
8427 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8429 * test/Makefile.am: Install nm-tool
8431 2007-09-24 Dan Williams <dcbw@redhat.com>
8433 Patch from Ross Burton <ross@burtonini.com>
8436 callouts/nm-dhcp-client-action.c
8438 src/vpn-manager/nm-vpn-connection.c
8439 libnm-glib/libnm-glib-test.c
8442 2007-09-24 Dan Williams <dcbw@redhat.com>
8444 * libnm-util/nm-utils.h
8445 libnm-util/nm-utils.c
8446 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8449 2007-09-23 Dan Williams <dcbw@redhat.com>
8451 * vpn-daemons/vpnc/properties/nm-vpnc.c
8452 - Update for new VPN properties API bits; instead of passing around
8453 a lot of random things, everything goes into the NMConnection
8456 2007-09-23 Dan Williams <dcbw@redhat.com>
8458 * libnm-util/nm-setting.c
8459 - Correctly dispose of settings objects if creating them from a hash
8462 2007-09-23 Dan Williams <dcbw@redhat.com>
8464 * libnm-util/nm-setting.c
8465 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8466 the hash table in a standard manner. Clients of libnm-util should
8467 only call g_hash_table_remove_all(), never destroy the hash table
8470 2007-09-22 Dan Williams <dcbw@redhat.com>
8472 * src/nm-device-802-11-wireless.c
8473 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8474 real reason to do it so often, and reduces wakeups for clients.
8476 2007-09-21 Dan Williams <dcbw@redhat.com>
8478 * src/nm-device-802-11-wireless.c
8479 - (build_supplicant_config): wpa_supplicant requires the option
8480 key_mgmt=NONE for unencrypted networks
8481 - (real_act_stage2_config): clarify log message on activation
8483 2007-09-21 Dan Williams <dcbw@redhat.com>
8485 * test/nm-supplicant-test.c
8487 - Remove supplicant test binary; no longer applicable
8489 2007-09-21 Dan Williams <dcbw@redhat.com>
8491 * src/supplicant-manager/nm-supplicant-manager.c
8492 - (nm_supplicant_manager_init): poke the supplicant at startup to
8493 activate it on the system bus
8495 2007-09-20 Dan Williams <dcbw@redhat.com>
8497 * initscript/RedHat/NetworkManager.in
8498 - dhcdbd is no longer used, so don't try to start it from the initscripts
8500 2007-09-20 Dan Williams <dcbw@redhat.com>
8503 - (nm_device_is_activating): work around a race between auto-activation
8504 and the user activating the same device that is being auto-activated
8506 2007-09-20 Dan Williams <dcbw@redhat.com>
8508 * src/nm-device-interface.c
8509 - (impl_device_activate): until multiple active device support lands,
8510 ensure only one device can be active at a time
8512 2007-09-20 Dan Williams <dcbw@redhat.com>
8514 * src/supplicant-manager/nm-supplicant-config.c
8515 src/supplicant-manager/nm-supplicant-config.h
8516 - (nm_supplicant_config_add_option): hide secrets from system logs
8518 2007-09-20 Dan Williams <dcbw@redhat.com>
8520 * src/NetworkManagerPolicy.c
8521 - (nm_policy_device_change_check): re-enable the wireless device change
8522 checking code; insted of checking for SSIDs, check for the same
8525 2007-09-20 Dan Williams <dcbw@redhat.com>
8527 * src/nm-device-802-11-wireless.c
8528 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8529 composite link state when determining when to start the disconnection
8530 timer; that link state is already based on the supplicant interface's
8531 status which is exactly what's already being examined, plus the link
8532 state is a conglomeration of various things that we don't want here
8534 2007-09-20 Dan Williams <dcbw@redhat.com>
8536 * libnm-glib/nm-access-point.c
8537 - (handle_property_changed): strength is a UCHAR
8539 2007-09-20 Dan Williams <dcbw@redhat.com>
8541 * src/supplicant-manager/nm-supplicant-config.c
8542 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8543 string list keywords too since that's what wpa_supplicant wants
8545 2007-09-20 Dan Williams <dcbw@redhat.com>
8547 * libnm-util/nm-setting.c
8548 - (convert_strv_to_slist): dupe the values in the list because since
8549 the list is a boxed value, it'll get destroyed when it's container
8550 (like a hash table or whatever) gets destroyed
8552 2007-09-20 Tambet Ingo <tambet@gmail.com>
8554 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8557 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8559 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8560 just use (g_object_set_data_full).
8562 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8563 that NMSettingVPN->routes is a GSList, convert it to char **.
8564 (nm_vpn_connection_ip4_config_get): Free routes when done.
8565 (nm_vpn_connection_activate): Ditto.
8567 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8568 (real_act_stage2_config): Use defined setting names.
8570 2007-09-20 Dan Williams <dcbw@redhat.com>
8572 * src/nm-device-802-11-wireless.c
8575 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8576 so that the device can be deactivated if secrets are wrong
8578 2007-09-20 Dan Williams <dcbw@redhat.com>
8580 * introspection/nm-settings-connection.xml
8581 libnm-glib/nm-settings.c
8582 libnm-glib/nm-settings.h
8583 - Make GetSecrets asynchronous on the server side
8585 2007-09-20 Dan Williams <dcbw@redhat.com>
8589 - (nm_device_activate): actually check if a given connection
8590 exists before assuming it doesn't
8592 2007-09-20 Tambet Ingo <tambet@gmail.com>
8594 * libnm-util/nm-connection.c (register_default_creators): Use defined
8595 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8597 * libnm-util/nm-setting.c: Define property name strings, use them.
8598 Implement NMSettingVPN and NMSettingVPNProperties settings.
8599 Implement NM_S_TYPE_GVALUE_HASH.
8600 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8601 (setting_connection_verify): Rename 'devtype' property to 'type'.
8603 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8606 * src/vpn-manager/nm-vpn-service.c: Ditto.
8608 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8610 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8611 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8613 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8614 names. NMSettingConnection->devtype got renamed to 'type'.
8616 * src/nm-device-802-3-ethernet.c (find_best_connection):
8617 (real_get_best_connection): Ditto.
8619 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8621 * libnm-glib/nm-vpn-manager.[ch]: Update.
8623 2007-09-19 Dan Williams <dcbw@redhat.com>
8625 * src/NetworkManagerAP.c
8626 src/NetworkManagerAP.h
8627 introspection/nm-access-point.xml
8628 - Change strength-changed signal into a properties-changed signal
8629 for all properties, not just strength. Export that signal over dbus
8630 so listeners don't have to poll NM for changes.
8631 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8632 get exported over D-Bus, so break up the logic and let other bits
8633 decided when to export the AP
8634 - (nm_ap_new_from_ap): remove, unused
8636 * src/nm-device-802-11-wireless.c
8637 - (merge_scanned_ap): only export APs that are actually on the device
8638 list, not every AP created internally
8640 * libnm-glib/nm-access-point.c
8641 libnm-glib/nm-access-point.h
8642 - Cache properties internally and only hit DBus when needed. Get
8643 property updates from NM signals
8645 2007-09-16 Dan Williams <dcbw@redhat.com>
8647 * libnm-util/nm-connection.c
8648 libnm-util/nm-connection.h
8649 - (nm_connection_for_each_setting_value): new function; iterate over
8650 each setting's value and call a user-provided function with details
8653 * libnm-util/nm-setting.c
8654 libnm-util/nm-setting.h
8655 - (nm_setting_enumerate_values): new function; enumerate the values
8656 of a specific NMSetting subclass for a user-provided function with
8657 details about that value
8658 - Change wep_tx_keyidx to a uint32
8659 - Create settings value tables for each setting defining their type,
8660 key name, offset into the NMSetting subclass' structure, and whether
8661 they are required and/or a secret
8662 - (nm_setting_populate_from_hash): generic function to populate an
8663 NMSetting from a GHash table, make all settings use it
8664 - (nm_setting_hash): generic function to derive a GHashTable from
8665 an NMSetting object, make all settings use it
8667 2007-09-14 Dan Williams <dcbw@redhat.com>
8669 Remove unused stuff in libnm-util
8672 libnm-util/Makefile.am
8673 libnm-util/cipher-private.h
8674 libnm-util/cipher-wep-ascii.c
8675 libnm-util/cipher-wep-ascii.h
8676 libnm-util/cipher-wep-hex.c
8677 libnm-util/cipher-wep-hex.h
8678 libnm-util/cipher-wep-passphrase.c
8679 libnm-util/cipher-wep-passphrase.h
8680 libnm-util/cipher-wpa-psk-hex.c
8681 libnm-util/cipher-wpa-psk-hex.h
8682 libnm-util/cipher-wpa-psk-passphrase.c
8683 libnm-util/cipher-wpa-psk-passphrase.h
8686 libnm-util/dbus-helpers.c
8687 libnm-util/dbus-helpers.h
8688 libnm-util/gnome-keyring-md5.c
8689 libnm-util/gnome-keyring-md5.h
8692 src/nm-device-802-11-wireless.c
8693 test/libnm-util/Makefile.am
8694 test/libnm-util/test-ciphers.c
8695 test/libnm-util/test-dbus-helpers.c
8696 test/libnm-util/test-inputs.h
8699 2007-09-14 Dan Williams <dcbw@redhat.com>
8701 * libnm-util/dbus-method-dispatcher.c
8702 libnm-util/dbus-method-dispatcher.h
8705 2007-09-14 Dan Williams <dcbw@redhat.com>
8707 Implement deferred activation support in the device class.
8709 * src/nm-device-interface.c
8710 src/nm-device-interface.h
8711 - (nm_device_interface_activate): take more arguments to support
8712 deferred activation; callers must pass one of (connection) OR
8713 (service_name, connection_path)
8714 - (impl_device_activate): connection validation is punted to the device
8715 to be able to handle deferred activation. Yes, this means errors
8716 don't get returned from the Activate() dbus call, and yes, that
8717 should be fixed somehow later.
8721 - (clear_act_request): clear additional deferred activation stuff too
8722 - (deferred_activation_timeout_cb): new function; clean up when
8723 deferred activation times out.
8724 - (deferred_activation_start_cb): new function; when the connection
8725 finally becomes available, start device activation
8726 - (nm_device_activate): attach to the right signals of the activation
8727 request if we need to defer activation until the connection is valid
8729 * src/NetworkManagerPolicy.c
8730 - (nm_policy_device_change_check): update for additional arguments
8731 required for nm_device_interface_activate(). Pass NULL for these
8732 though because this function already knows exactly which
8735 2007-09-14 Dan Williams <dcbw@redhat.com>
8737 Implement deferred activation handling in the NMActRequest class. When a
8738 client wants to activate a device but must create the NMConnection details
8739 on the fly, there likely hasn't been enough time yet for NM to receive the
8740 new connection signal and grab all the connection details. So the
8741 activation is deferred (and bounded by a timer) for a while, and if the
8742 connection appears within the window, it is activated.
8744 * src/nm-activation-request.c
8745 src/nm-activation-request.h
8746 - (nm_act_request_class_init): two new signals to support deferred
8747 activation, to allow the listener to handle both timeout and success
8748 - (nm_act_request_new_deferred): new function, starts the deferred
8749 activation timeout handler and listens to the NMManager for
8750 new-connection signals to notice when the connection comes in
8752 2007-09-14 Dan Williams <dcbw@redhat.com>
8756 - (nm_manager_get_connection_service_name,
8757 nm_manager_get_connection_dbus_path): get details about a connection
8758 known internally by the NMManager
8759 - (nm_manager_class_init): fix connection add/remove signal marshalers
8760 because NMConnection is now a GObject subclass
8761 - Use constant for the gobject data tag used on NMConnection objects for
8762 storing the associated DBusGProxy
8764 2007-09-14 Dan Williams <dcbw@redhat.com>
8769 src/supplicant-manager/Makefile.am
8770 src/dhcp-manager/Makefile.am
8771 src/backends/Makefile.am
8772 src/named-manager/Makefile.am
8773 src/ppp-manager/Makefile.am
8774 src/vpn-manager/Makefile.am
8775 test/libnm-util/Makefile.am
8776 test/test-common/Makefile.am
8777 - Remove utils/; it was unused
8779 2007-09-13 Dan Williams <dcbw@redhat.com>
8781 * libnm-glib/nm-vpn-manager.h
8782 libnm-glib/nm-vpn-manager.c
8783 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8785 2007-09-13 Dan Williams <dcbw@redhat.com>
8787 * src/nm-device-802-3-ethernet.c
8788 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8789 netlink monitor carrier signals on dispose, not bring down. The
8790 carrier signals should be handled over the entire lifetime of the
8791 device anyway, not created/destroyed on up or down.
8793 2007-09-13 Dan Williams <dcbw@redhat.com>
8795 * libnm-glib/nm-device.c
8796 libnm-glib/nm-device.h
8797 - (nm_device_activate): take a connection object path rather than an
8798 NMConnection because NMConnection isn't exported over D-Bus and
8799 therefore it dbus-glib can't automatically get an object path from it
8801 2007-09-13 Dan Williams <dcbw@redhat.com>
8803 * libnm-util/nm-setting.c
8804 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8806 2007-09-13 Tambet Ingo <tambet@gmail.com>
8808 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8810 2007-09-12 Tambet Ingo <tambet@gmail.com>
8812 * src/vpn-manager/nm-vpn-connection.[ch]:
8813 * src/vpn-manager/nm-vpn-manager.[ch]:
8814 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8815 dbus-glib, GObjects, signals etc.
8817 * libnm-glib/nm-vpn-manager.[ch]:
8818 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8819 so much, rewrite these too.
8821 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8822 the new introspection files.
8824 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8826 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8827 the header with the same name from libnm-utils.
8829 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8831 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8833 * introspection/nm-vpn-plugin.xml: Implement.
8835 * introspection/nm-vpn-connection.xml: Implement.
8837 * introspection/nm-vpn-manager.xml: Implement.
8839 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8840 the named manager argument, it can just as easily get it as the caller.
8841 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8843 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8845 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8847 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8850 * libnm-util/nm-connection.c: Ditto.
8852 * src/NetworkManagerMain.h: Remove, it's finally empty.
8854 * configure.in: Remove utils/ from build.
8856 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8857 of hard-coded strings.
8859 * utils/: Move it over to libnm-util.
8861 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8863 * dispatcher-daemon/Makefile.am: Ditto.
8865 * src/Makefile.am: Ditto.
8867 2007-09-12 Dan Williams <dcbw@redhat.com>
8869 Wireless connections can be made with config data from the applet now.
8873 * src/supplicant-manager/nm-supplicant-config.h
8874 src/supplicant-manager/nm-supplicant-config.c
8875 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8876 - (nm_supplicant_config_add_setting_wireless,
8877 nm_supplicant_config_add_setting_wireless_security): new functions;
8878 add key/value pairs from the settings objects to the supplicant
8881 * src/nm-device-802-11-wireless.c
8882 - (cull_scan_list): fix check to not prune currently associated AP
8883 - (build_supplicant_config, real_act_stage2_config): call the functions
8884 of the NMSupplicantConfig that parse settings objects rather than
8885 doing it manually here
8887 2007-09-12 Dan Williams <dcbw@redhat.com>
8889 * src/supplicant-manager/nm-supplicant-interface.c
8890 src/supplicant-manager/nm-supplicant-marshal.list
8891 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8892 "connection-error" signal arguments should be STRING not CHAR
8894 2007-09-12 Dan Williams <dcbw@redhat.com>
8896 * src/NetworkManagerUtils.c
8897 src/NetworkManagerUtils.h
8898 - (nm_utils_hexstr2bin): new function
8900 2007-09-11 Dan Williams <dcbw@redhat.com>
8903 - (connection_get_settings_cb): emit connection-added signal
8904 - (connection_removed_cb): uncomment bits for system settings service,
8905 send connection-removed when appropriate
8906 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8907 the stack by trying to g_object_set_data() on something that's
8908 not a GObject; handle case where settings service returns
8909 empty settings hash table
8911 2007-09-11 Dan Williams <dcbw@redhat.com>
8913 * src/NetworkManagerPolicy.c
8914 - (connection_added, connection_removed): trigger device change checks
8915 on connection changes
8917 2007-09-11 Dan Williams <dcbw@redhat.com>
8919 * src/nm-activation-request.c
8920 - (connection_secrets_updated_cb): fix c&p error in signal emission
8922 2007-09-11 Dan Williams <dcbw@redhat.com>
8924 * src/nm-device-802-11-wireless.c
8925 - (real_connection_secrets_updated): fix erroneous check
8927 2007-09-11 Dan Williams <dcbw@redhat.com>
8929 * introspection/nm-device.xml
8930 libnm-glib/nm-device.c
8931 libnm-glib/nm-device.c
8932 - Fix Activate call argument borkage; Activate takes 3 arguments
8934 2007-09-11 Dan Williams <dcbw@redhat.com>
8936 * libnm-glib/nm-access-point.c
8937 libnm-glib/nm-access-point.c
8938 - (nm_access_point_get_frequency): now returns guint32 to match
8939 property change on 2007-09-10
8941 2007-09-11 Dan Williams <dcbw@redhat.com>
8943 * src/nm-device-802-11-wireless.c
8944 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8945 somewhere defines 'index' and I missed this one when I fixed the
8946 shadow declaration errors earlier
8948 2007-09-11 Dan Williams <dcbw@redhat.com>
8950 * libnm-util/nm-connection.c
8951 - (nm_connection_update_secrets, need_secrets_check): move
8952 802-11-wireless-security need_secrets checks to the setting object
8953 itself, where it belongs
8955 * libnm-util/nm-setting.c
8956 libnm-util/nm-setting.h
8957 - (nm_setting_need_secrets): new function
8958 - (setting_wireless_security_verify,
8959 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8960 - (setting_wireless_security_need_secrets): mostly copy code over
8961 from nm-connection.c
8963 2007-09-11 Dan Williams <dcbw@redhat.com>
8965 * libnm-util/nm-setting.c
8966 libnm-util/nm-setting.h
8967 - (nm_setting_update_secrets): new function; add a virtual function that
8968 subclasses can implement to update their secrets
8969 - (setting_wireless_security_update_secrets): implement that function
8970 for the 802-11-wireless-security subclass
8972 * libnm-util/nm-connection.c
8973 libnm-util/nm-connection.h
8974 - (nm_connection_update_secrets): update secrets for a Setting and
8975 emit a signal on success
8980 - (connection_get_settings_cb): enable system settings bits
8981 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8982 to request secrets from the settings dbus service and to
8983 push those secrets to the NMConnection itself
8985 * src/nm-activation-request.c
8986 src/nm-activation-request.h
8987 - Attach to the 'secrets-updated' signal of the NMConnection that's
8988 currently being activated, and proxy that signal to other listeners.
8989 Goes through the activation request because the activation request
8990 is the thing that manages the lifetime of the NMConnection that's
8993 * src/nm-device-802-11-wireless.c
8994 - (real_connection_secrets_updated): implement the connection secrets
8995 updated notification and restart activation when secrets are
8997 - (real_act_stage2_config): request secrets from the settings dbus
8998 service if secrets are needed
9002 - (clear_act_request, nm_device_activation_cancel,
9003 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9004 where the activation request is cleared
9005 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9006 updated secrets signal of activation request and add a function
9007 that subclasses can override to handle it easily
9009 2007-09-11 Tambet Ingo <tambet@gmail.com>
9011 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9012 removal of NetworkManagerAPList.
9014 2007-09-10 Dan Williams <dcbw@redhat.com>
9016 * src/NetworkManagerAP.c
9017 src/NetworkManagerAP.h
9018 introspection/nm-access-point.xml
9019 - Change 'freq' property to a guint32 instead of a double since we
9020 weren't using the floating point bits anyway
9022 2007-09-10 Dan Williams <dcbw@redhat.com>
9024 * NetworkManagerAP.c
9026 NetworkManagerPolicy.c
9027 NetworkManagerSystem.c
9028 NetworkManagerUtils.c
9029 NetworkManagerUtils.h
9030 nm-device-802-11-wireless.c
9031 nm-device-802-3-ethernet.c
9034 vpn-manager/nm-dbus-vpn.c
9035 - Warning fixes; casts and removal of unused variables
9037 2007-09-10 Dan Williams <dcbw@redhat.com>
9039 * include/NetworkManager.h
9040 - Kill NMNetworkType; AP types don't matter any more
9042 * src/NetworkManagerAPList.c
9043 src/NetworkManagerAPList.h
9045 - Kill; NMAccessPointList has outlived it's usefulness
9047 * src/NetworkManagerAP.c
9048 src/NetworkManagerAP.h
9049 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9050 functions; check if an NMConnection object is compatible with the
9052 - (freq_to_channel, channel_to_freq): utility functions for
9053 channel <-> frequency conversion
9057 - (nm_device_get_best_connection): pass the specific object around
9058 (which might be the object path of a specific AP to connect to).
9059 The get_best_connection() call should populate this on return
9060 if needed (wireless does).
9062 * src/nm-device-802-3-ethernet.c
9063 - (real_get_best_connection): handle specific_object argument
9065 * src/NetworkManager.c
9066 src/NetworkManagerMain.h
9067 - Remove unused includes
9069 * src/nm-device-802-11-wireless.c
9070 src/nm-device-802-11-wireless.h
9071 - Convert the ap_list into a GSList from an NMAccessPointList
9072 - No need for caching the 'activation_ap' since this is now determined
9073 from the specific_object of the activation request, which is
9074 populated from the get_best_connection() call or from a user request
9075 - (nm_device_802_11_wireless_update_bssid): fix warning
9076 - (get_wireless_capabilities): fix error message format arguments
9077 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9078 - (find_best_connection, real_get_best_connection): implement
9079 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9080 move here from NetworkManagerAPList
9081 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9082 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9083 already verified earlier
9084 - (real_act_stage2_config): use nm_connection_need_secrets()
9086 * src/NetworkManagerPolicy.c
9087 - (nm_policy_auto_get_best_device): handle specific objects
9088 - (create_connection): remove; automatic connection creation functionality
9089 is handled by the Connection objects
9090 - (nm_policy_device_change_check): handle specific_object
9092 * libnm-util/nm-connection.c
9093 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9095 2007-09-10 Dan Williams <dcbw@redhat.com>
9098 - (query_connections): fix uninitialized variable problem that caused
9100 - (nm_manager_add_device): take devices down on startup so that we can
9101 be assured that nm_device_is_up() won't short-circuit the init
9102 process. Hack until the is_up check gets split into two pieces
9103 that aren't behaviorally confusing.
9105 2007-09-09 Dan Williams <dcbw@redhat.com>
9107 * introspection/nm-device.xml
9108 - The 'Activate' method now takes 3 arguments, a service name for the
9109 settings service (user or system), the object path of the connection
9110 to activate, and the specific object to activate, if any
9112 * src/nm-device-interface.c
9113 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9115 - (impl_device_activate): adapt to new Activate arguments; validate
9116 the service name and get the Connection object from the NMManager
9117 before starting to activate the device with the specified connection
9119 * src/nm-device-802-3-ethernet.c
9120 - (real_get_best_connection): find the best connection, or create a
9121 default one if no existing connections can be used
9123 * src/NetworkManagerPolicy.c
9124 - (nm_policy_auto_get_best_device): Get the device's best connection
9125 and only pick the device if it has one
9126 - (nm_policy_device_change_check): disable wireless bits for now until
9127 wireless get_best_connection() can be implemented (replacing "best_ap");
9128 don't create a default connection here as the device subclass will do
9133 - (nm_manager_get): make NMManager a singleton and expose the getter
9135 - Rework internal NMManager connection handling to use the same
9136 routines for both the system and user settings services. Most calls
9137 take a new NMConnectionType argument specifying either system or user
9139 - (nm_manager_get_connection_by_object_path): new function; get a
9140 connection keyed on its object path
9142 * src/NetworkManager.c
9143 - (main): use nm_manager_get()
9145 2007-09-09 Dan Williams <dcbw@redhat.com>
9149 - (nm_device_get_best_connection): new function; get best connection
9150 for the device at that time
9152 2007-09-09 Dan Williams <dcbw@redhat.com>
9154 * src/nm-device-interface.h
9155 - Add NMDeviceInterfaceError with an UnknownConnection error
9157 2007-09-09 Dan Williams <dcbw@redhat.com>
9159 Stupid mistake on my part; object path and interface for settings service
9160 and connection objects can be the same, only the service name must be
9161 different for the system and user settings services.
9163 * include/NetworkManager.h
9165 introspection/nm-settings-connection.xml
9166 introspection/nm-settings.xml
9167 libnm-glib/nm-settings.c
9168 - (nm_connection_settings_init, query_user_connections,
9169 new_connection_cb): Unify NetworkManagerSettings and Connection
9170 interface name and object path
9172 2007-09-06 Dan Williams <dcbw@redhat.com>
9174 * libnm-glib/nm-object.c
9175 - (nm_object_get_string_property, nm_object_get_object_path_property,
9176 nm_object_get_int_property, nm_object_get_uint_property,
9177 nm_object_get_boolean_property, nm_object_get_byte_property,
9178 nm_object_get_double_property, nm_object_get_byte_array_property):
9179 clear GValues after copying their contents, fixes memory leaks
9180 after every property access because dbus-glib copies the values
9181 from the DBusMessage into the GValue already.
9183 2007-09-06 Dan Williams <dcbw@redhat.com>
9185 * introspection/nm-access-point.xml
9186 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9187 them to be. There's some magic property name parsing going on in
9188 dbus-glib that breaks up property names based on studly-caps and
9189 puts - between words.
9191 * libnm-glib/nm-access-point.c
9192 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9195 2007-09-06 Dan Williams <dcbw@redhat.com>
9198 - (nm_manager_user_connections_destroy): clear the user connections hash
9199 table, don't destroy it
9200 - (finalize): only destroy the hash table on NMManager finalization
9202 2007-09-02 Dan Williams <dcbw@redhat.com>
9204 * include/NetworkManager.h
9205 libnm-glib/nm-settings.c
9206 - defines for the user settings daemon D-Bus bits
9208 * src/NetworkManager.c
9209 - Remove stuff that referred to the old NetworkManagerInfo service
9211 * src/vpn-manager/nm-dbus-vpn.h
9212 - Move old NMI defines to the only place they are used still
9214 * libnm-util/nm-connection.c
9215 libnm-util/nm-connection.h
9216 src/nm-activation-request.c
9217 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9221 - Get connections and their settings from the user settings daemon
9222 at the appropriate times
9224 2007-09-02 Dan Williams <dcbw@redhat.com>
9226 * libnm-util/nm-setting.c
9227 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9228 - (setting_wireless_hash): set the right value on the item
9230 2007-09-02 Dan Williams <dcbw@redhat.com>
9234 - Remove, no longer useful
9236 2007-08-30 Dan Williams <dcbw@redhat.com>
9239 src/NetworkManagerDbus.c
9240 src/NetworkManagerDbus.h
9241 src/vpn-manager/nm-dbus-vpn.c
9242 - Remove, no longer necessary. Move last bits to the only place its
9243 used, in nm-dbus-vpn.c
9245 * src/NetworkManagerAPList.c
9247 src/NetworkManager.c
9248 src/nm-device-802-11-wireless.c
9249 src/vpn-manager/nm-vpn-manager.c
9250 src/vpn-manager/nm-vpn-service.c
9251 src/NetworkManagerPolicy.c
9253 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9254 that was message_is_error()
9256 2007-08-30 Dan Williams <dcbw@redhat.com>
9259 - Include config.h to get defines for endiannes (gnome.org #420216)
9261 2007-08-30 Dan Williams <dcbw@redhat.com>
9263 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9265 * src/ppp-manager/Makefile.am
9266 - use -fPIC (gnome.org #471825)
9268 2007-08-29 Dan Williams <dcbw@redhat.com>
9270 * include/NetworkManager.h
9271 - Keep NMConnection object path in sync
9273 * libnm-glib/nm-settings.c
9274 libnm-glib/nm-settings.h
9275 - Break D-Bus object registration out of the init function, because
9276 every object that's exported over D-Bus needs to use the _same_
9277 DBusConnection. Otherwise, each object would get a different object
9278 path tree and wouldn't be callable.
9280 2007-08-29 Dan Williams <dcbw@redhat.com>
9282 * libnm-util/nm-setting.h
9283 libnm-util/nm-setting.c
9284 libnm-util/nm-connection.c
9285 src/NetworkManagerPolicy.c
9286 - 'info' settings object should be 'connection' says the spec
9287 at NetworkManagerConfigurationSpecification
9289 2007-08-29 Dan Williams <dcbw@redhat.com>
9291 * libnm-glib/nm-settings.c
9292 libnm-glib/nm-settings.h
9293 - make the dbus path a property of the object, and autogenerate it.
9294 It can't be composed of the 'id' field becuase that's not available
9295 yet during the GObject creation in nm_connection_settings_init()
9297 2007-08-29 Dan Williams <dcbw@redhat.com>
9299 * introspection/nm-settings-connection.xml
9300 introspection/nm-settings.xml
9301 - Service name -> NetworkManagerUserSettings because two services
9302 can't share part of the same path. I'm not really sure how we'll use
9303 the same code with the system-settings daemon...
9305 2007-08-28 Dan Williams <dcbw@redhat.com>
9307 * src/nm-device-interface.c
9308 src/nm-device-interface.h
9309 - Kill one more bit of NMData
9311 2007-08-28 Dan Williams <dcbw@redhat.com>
9313 * src/NetworkManagerSystem.h
9316 src/nm-hal-manager.c
9317 src/NetworkManager.c
9318 src/nm-device-802-11-wireless.c
9319 src/nm-hal-manager.h
9320 src/nm-device-802-3-ethernet.c
9321 src/vpn-manager/nm-vpn-service.h
9322 src/vpn-manager/nm-vpn-manager.c
9323 src/vpn-manager/nm-vpn-manager.h
9324 src/vpn-manager/nm-vpn-service.c
9325 src/nm-device-802-11-wireless.h
9326 src/NetworkManagerMain.h
9327 src/nm-device-802-3-ethernet.h
9328 src/backends/NetworkManagerGentoo.c
9329 src/backends/NetworkManagerPaldo.c
9330 src/backends/NetworkManagerFrugalware.c
9331 src/backends/NetworkManagerRedHat.c
9332 src/backends/NetworkManagerSlackware.c
9333 src/backends/NetworkManagerGeneric.c
9334 src/backends/NetworkManagerArch.c
9335 src/backends/NetworkManagerSuSE.c
9336 src/backends/NetworkManagerGeneric.h
9337 src/backends/NetworkManagerDebian.c
9340 2007-08-28 Dan Williams <dcbw@redhat.com>
9342 * src/NetworkManagerMain.h
9343 src/nm-device-802-11-wireless.c
9344 src/NetworkManager.c
9345 - Remove invalid AP list from NMData; need to rework this somewhat, but
9346 for now we should set the 'invalid' property on individual APs, and when
9347 we need to invalidate a whole ESS, set the 'invalid' on every member of
9350 2007-08-28 Dan Williams <dcbw@redhat.com>
9352 * src/NetworkManagerAP.c
9353 src/NetworkManagerAP.h
9354 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9355 'autoconnect' property instead
9357 * src/NetworkManager.c
9358 src/NetworkManagerMain.h
9359 src/NetworkManagerPolicy.c
9360 src/NetworkManagerPolicy.h
9361 - Remove the 'allowed_ap_list', which should be replaced by
9362 NMConnection/NMSettings instead, since _those_ are the allowed
9363 things that NM can connect to
9365 * src/nm-device-802-11-wireless.c
9366 - Remove both allowed_ap_list usage and 'fallback' checking
9368 2007-08-28 Dan Williams <dcbw@redhat.com>
9371 src/named-manager/nm-named-manager.c
9372 src/named-manager/nm-named-manager.h
9373 src/NetworkManager.c
9374 src/vpn-manager/nm-vpn-manager.c
9375 src/NetworkManagerMain.h
9376 src/NetworkManagerSystem.c
9377 - Remove the named-manager object from NMData structure in preparation
9378 for NMData's timely death. Make the NMNamedManager the singleton that
9381 2007-08-28 Dan Williams <dcbw@redhat.com>
9383 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9384 each AP's capabilities, and by NMConnection/NMSettings objects for user
9385 defined connections.
9387 * include/NetworkManager.h
9388 - Redefine 802.11 security properties. There are now device capabilities
9389 and AP flags and AP security flags. It was way to unclear before.
9392 src/nm-ap-security-leap.h
9393 src/nm-ap-security-leap.c
9394 src/nm-ap-security-wpa-eap.c
9395 src/nm-ap-security-wpa-eap.h
9396 src/nm-ap-security-private.h
9397 src/nm-ap-security-wpa-psk.c
9398 src/nm-ap-security-wpa-psk.h
9399 src/nm-ap-security-wep.c
9400 src/nm-ap-security-wep.h
9401 src/nm-ap-security.c
9402 src/nm-ap-security.h
9403 - Removed, to be replaced with NMConnection/NMSettings objects
9407 - Removed, to be replaced by code that talks to the new info daemon
9408 interface and gets NMConnection/NMSettings objects
9410 * src/backends/NetworkManagerSuSE.c
9411 - Remove usage of NMAPSecurity; should be replaced by a system-level
9412 info-daemon that does the same thing but talks the new info-daemon
9415 * src/NetworkManagerAP.h
9416 src/NetworkManagerAP.c
9417 src/NetworkManagerAPList.c
9418 libnm-glib/libnm-glib-test.c
9419 - Remove usage of NMAPSecurity objects and adjust to new flags for
9422 * libnm-glib/nm-access-point.c
9423 libnm-glib/nm-access-point.h
9424 introspection/nm-access-point.xml
9426 - Adjust to new flags for AP security
9430 src/vpn-manager/nm-dbus-vpn.c
9431 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9432 stuff which is the only place it's used
9434 * src/nm-device-interface.c
9435 src/nm-device-interface.h
9436 introspection/nm-device.xml
9437 src/nm-activation-request.c
9438 src/nm-activation-request.h
9440 - Add a new 'specific_object' argument that hints to NM what actual
9441 AP or other device-specific thing the connection should apply to.
9442 NMConnection objects can apply to more than one actual device/AP.
9444 * libnm-util/nm-connection.c
9445 * libnm-util/nm-connection.h
9446 - Add 'have_secrets" call stubs
9448 * libnm-util/cipher.h
9449 - Move NM_AUTH_TYPE_* defines here for now
9451 * src/nm-device-802-11-wireless.c
9452 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9455 * src/NetworkManagerDbus.c
9456 * src/NetworkManagerPolicy.c
9457 - Remove usage of update_allowed_networks, should be pushing data in
9460 2007-08-27 Tambet Ingo <tambet@gmail.com>
9462 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9463 dbus-glib frees it when the call is done.
9465 2007-08-26 Dan Williams <dcbw@redhat.com>
9467 * introspection/nm-device.xml
9468 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9470 2007-08-26 Dan Williams <dcbw@redhat.com>
9472 * src/nm-device-802-3-ethernet.c
9473 - (constructor): move connection of interface-connected/disconnected
9474 signals here from real_bring_up(). Should be listening to netlink
9475 for carrier events no matter what the initial state of the device
9478 2007-08-26 Dan Williams <dcbw@redhat.com>
9480 * src/nm-netlink-monitor.c
9481 - (nm_netlink_monitor_class_init): fix marshalling types for
9482 interface-connected/interface-disconnected
9483 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9486 2007-08-26 Dan Williams <dcbw@redhat.com>
9488 Convert to using interface indexes as the primary method of identifying
9489 devices inside NetworkManager. Indexes are (?) stable, but devices can
9490 be renamed at any time. Device object paths now refer to the device
9491 index rather than the name, and you can map those two manually if you like
9492 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9493 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9494 to use interface indexes rather than names.
9496 2007-08-26 Dan Williams <dcbw@redhat.com>
9498 * src/nm-netlink-monitor.h
9499 - Remove one last bit of wireless-event signal
9501 2007-08-26 Dan Williams <dcbw@redhat.com>
9503 * src/nm-netlink-monitor.c
9504 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9505 don't need the 'wireless-event' signal anymore since that's all
9506 handled by wpa_supplicant
9508 2007-08-25 Dan Williams <dcbw@redhat.com>
9510 It's 2007. Remove support for drivers that don't support wireless scanning.
9513 include/NetworkManager.h
9514 src/NetworkManagerUtils.c
9515 src/NetworkManagerPolicy.c
9516 src/nm-device-802-11-wireless.c
9517 - Remove special handling for non-scanning devices and mark them
9518 as unsupported/unhandled
9520 2007-08-20 Dan Williams <dcbw@redhat.com>
9522 * src/nm-device-802-11-wireless.c
9523 src/nm-device-802-3-ethernet.c
9524 - (real_is_up): move device-specific tests before generic IFF_UP test,
9525 because when the card is pulled or the module removed, the device
9526 is already !IFF_UP and then device-specific cleanup (removing
9527 the supplicant interface, periodic checks, etc) never gets done
9529 2007-08-20 Dan Williams <dcbw@redhat.com>
9532 - (nm_manager_remove_device): bring device down before disconnecting
9533 signal handlers, so that the 'state' signal will get broadcast when
9534 the device enters the DOWN state
9535 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9536 of states that cause the NMManager to recheck its state
9538 2007-08-20 Dan Williams <dcbw@redhat.com>
9540 * src/supplicant-manager/nm-supplicant-interface.c
9541 - (interface_disconnect_done): don't try to dispose of the net proxy
9542 when it may already have been disposed of
9544 2007-08-20 Dan Williams <dcbw@redhat.com>
9546 * src/nm-device-802-11-wireless.c
9547 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9548 the SSID isn't available; this can happen when the card is pulled
9549 or the module unloaded, during the post-removal deactivation
9550 paths, when the ioctl returns ENODEV
9552 2007-08-20 Dan Williams <dcbw@redhat.com>
9554 * src/nm-device-802-11-wireless.c
9555 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9556 frequency, and mode match. Applets are now responsible for grouping
9559 2007-08-20 Dan Williams <dcbw@redhat.com>
9561 * src/NetworkManagerAP.c
9562 * src/NetworkManagerAP.h
9563 - (nm_ap_print_self): new function
9565 * src/NetworkManagerAPList.c
9566 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9569 2007-08-17 Dan Williams <dcbw@redhat.com>
9571 * src/nm-device-802-3-ethernet.c
9572 - (real_bring_down): don't try to dispose of stuff that might not
9575 2007-08-17 Dan Williams <dcbw@redhat.com>
9577 * src/NetworkManagerAP.c
9578 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9579 applet. This ensures that the case between the seen-bssids and
9580 the bssids reported by the driver match.
9582 2007-08-17 Dan Williams <dcbw@redhat.com>
9584 * src/nm-device-802-11-wireless.c
9585 - (device_cleanup): disconnect the interface in wpa_supplicant before
9586 we dispose of the interface proxy in NM
9588 2007-08-16 Dan Williams <dcbw@redhat.com>
9590 * libnm-glib/nm-client.c
9591 - (nm_client_init): create VPN connections hash table with key free
9593 - (proxy_vpn_connection_added): VPN connections hash table key should
9594 be a duplicated value, not the same memory address as the VPN
9595 connection name. This is because the VPN connection name could
9596 potentially be freed and set to something else during the lifetime
9597 of the NMVPNConnection object.
9599 2007-08-16 Tambet Ingo <tambet@gmail.com>
9601 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9602 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9603 with the file descriptors. Send a child setup function to change the pppd
9606 2007-08-15 Dan Williams <dcbw@redhat.com>
9608 * src/supplicant-manager/nm-supplicant-interface.c
9609 - (try_remove_iface): new function, ask wpa_supplicant to remove
9611 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9612 disposing of the NMSupplicantInterface. Otherwise weird stuff
9613 happens on hotplug if wpa_supplicant doesn't tear down and readd
9614 the interface internally
9616 2007-08-15 Dan Williams <dcbw@redhat.com>
9618 * src/nm-device-802-11-wireless.c
9619 - (real_bring_down): move most of this function into device_cleanup()
9620 so that it can be called from elsewhere
9621 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9622 and stuff on dispose. These would normally get cleaned up when
9623 the device is marked down and deactivated, but when the device is
9624 hot-unplugged, it's already down and real_down() never gets run
9626 2007-08-15 Dan Williams <dcbw@redhat.com>
9629 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9630 caused a reference leak on device for which NM requested a key
9632 2007-08-15 Dan Williams <dcbw@redhat.com>
9634 * libnm-glib/nm-client.c
9635 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9637 2007-08-15 Tambet Ingo <tambet@gmail.com>
9639 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9640 nothing is using it at the moment, but it'll be all useful and stuff later on.
9642 * libnm-util/nm-setting.h: Define NMSettingPPP.
9644 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9646 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9648 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9650 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9652 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9654 2007-08-14 Tambet Ingo <tambet@gmail.com>
9656 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9658 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9659 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9660 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9661 name and different arguments and it won't compile anymore. To fix this, we now have
9662 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9663 that is new API + compatibility API and used by the daemon. The other,
9664 nm-manager-client.xml is only the new API without compatibility bits and is used
9665 by libnm-glib to make it compile.
9667 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9669 * src/nm-manager.c (impl_manager_legacy_sleep)
9670 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9671 interface functions for 0.6 branch.
9673 2007-08-14 Dan Williams <dcbw@redhat.com>
9675 * src/NetworkManagerAP.c
9676 - (nm_ap_new_from_properties): fix mistaken check of return value
9677 from memcmp (should expect 0)
9679 2007-08-14 Dan Williams <dcbw@redhat.com>
9681 (force-commit to fix wrong comment and partial commit of r2685; this
9682 commit actually applies to r2685)
9684 * src/NetworkManagerUtils.c
9685 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9686 ignores trailing nulls in the SSID to work around mismatches in
9687 expectations between WEXT and what the info-daemon passes back. The
9688 info-daemon would pass back the correct length, but due to the
9689 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9690 the device would always have an SSID + 1 depending on what versions
9691 of wpa_supplicant, the kernel, and NM you have. This was most often
9692 visible by just quitting the applet and relaunching, which caused
9693 NM to reassociated to the same network over again when reloading
9696 * src/NetworkManagerPolicy.c
9697 src/NetworkManagerUtils.h
9698 src/nm-device-802-11-wireless.c
9699 - Update for new parameter to nm_utils_same_ssid()
9701 2007-08-14 Dan Williams <dcbw@redhat.com>
9703 * src/NetworkManagerAP.c
9704 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9705 I encountered a BSS that wasn't just hiding it's ESSID, it was
9706 setting the BSSID to all 0s. That confused the heck out of NM,
9707 plus it's useless and probably out-of-spec.
9709 2007-08-14 Dan Williams <dcbw@redhat.com>
9711 * callouts/Makefile.am
9712 src/dhcp-manager/nm-dhcp-manager.c
9713 src/dhcp-manager/nm-dhcp-manager.h
9714 src/dhcp-manager/Makefile.am
9715 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9717 2007-08-14 Dan Williams <dcbw@redhat.com>
9719 * src/dhcp-manager/nm-dhcp-manager.c
9720 - (dhclient_run): don't pass -x to dhclient until we figure out if
9721 it's really needed, get rid of unused xtra_args parameter
9723 2007-08-14 Dan Williams <dcbw@redhat.com>
9725 * include/NetworkManagerVPN.h
9726 src/vpn-manager/nm-dbus-vpn.c
9727 src/vpn-manager/nm-dbus-vpn.h
9728 src/vpn-manager/nm-vpn-act-request.c
9729 src/vpn-manager/nm-vpn-act-request.h
9730 src/vpn-manager/nm-vpn-service.c
9731 src/vpn-manager/nm-vpn-service.h
9732 libnm-glib/nm-vpn-connection.c
9733 libnm-glib/nm-vpn-connection.h
9734 libnm-glib/nm-client.h
9735 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9736 NMVPNServiceState to clarify what they apply to
9737 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9738 NMVPNActStage -> NMVPNConnectionState for the same reason
9740 * libnm-glib/nm-client.c
9741 - Constant + type renames from above
9742 - Properly handle NameOwnerChanged/manager_running signals
9743 for NM service; only emit when state really changes
9744 - Use hash tables correctly so that the key (which was previously owned
9745 by the D-Bus message) now has the same lifetime as the value, since
9746 the key is now taken from the the NMVPNConnection itself. This
9747 really fixes the double-VPN names in the applet
9749 2007-08-13 Dan Williams <dcbw@redhat.com>
9751 Patch from Michael Biebl <biebl@debian.org>
9755 - Update for vpn-properties move
9757 2007-08-13 Dan Williams <dcbw@redhat.com>
9759 * libnm-glib/nm-client.c
9760 - Convert internal VPN connection tracking from a list to a hash table
9761 to easily avoid duplicates
9762 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9763 must be freed by the caller, like nm_client_get_devices()
9764 - (nm_client_remove_vpn_connection): don't let the removal signal
9765 leak through for NMVPNConnection objects that aren't actually
9767 - (manager_running): throw away VPN connection list when NM goes away,
9768 like with the device list
9770 2007-08-13 Dan Williams <dcbw@redhat.com>
9772 * src/dhcp-manager/nm-dhcp-manager.c
9773 - Stop any dhclient instance that might be already running for a
9774 particular interface before starting an NM spawned dhclient. Fixes
9775 dhclient processes left over if NM crashes, stuff like that.
9777 2007-08-13 Dan Williams <dcbw@redhat.com>
9779 * src/NetworkManagerAP.c
9780 - (finalize): don't try to g_array_free (NULL, ...), which happened
9781 when the AP wasn't broadcasting it's SSID
9783 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9785 * include/NetworkManager.h: added DBus path for connection settings.
9787 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9788 nm_connection_settings_signal_updated,
9789 nm_connection_settings_signal_removed): new functions to wrap the
9791 (nm_connection_settings_init): register GObject with DBus.
9792 (nm_connection_settings_get_dbus_object_path): new function.
9794 * libnm-glib/Makefile.am: added libnmutil to link flags.
9796 2007-08-13 Tambet Ingo <tambet@gmail.com>
9798 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9800 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9801 libnm_glib directory got merged with libnm-glib/.
9803 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9805 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9806 Rename the library from libnm-glib to libnm_glib to maintain the library API
9807 compatibility with 0.6 branch.
9809 * Makefile.am: Remove gnome/ SUBDIR.
9811 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9813 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9815 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9817 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9819 Remove checks for wpa_supplicant binary, it's used over dbus.
9820 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9822 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9823 Link the binaries with libnm_glib.la.
9825 2007-08-12 Dan Williams <dcbw@redhat.com>
9827 * src/NetworkManagerPolicy.c
9828 - (nm_policy_device_change_check): fix policy to deactivate old device
9829 before activating new one, at least until the multiple active
9830 device support lands
9832 2007-08-12 Dan Williams <dcbw@redhat.com>
9834 * src/NetworkManagerPolicy.c
9835 - (nm_policy_new): hook up to connection-added / connection-removed
9836 signals instead of connections-changed
9838 2007-08-12 Dan Williams <dcbw@redhat.com>
9840 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9841 Robert Frank <rfrank@redhat.com>
9843 * src/dhcp-manager/nm-dhcp-manager.c
9844 src/dhcp-manager/nm-dhcp-manager.c
9846 - Spawn and communicate with dhclient directly, through means of a
9847 custom dhclient callout script. Process callout D-Bus signals
9848 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9849 sent via gobject signals rather than being driven by the dhcp manager
9852 2007-08-12 Dan Williams <dcbw@redhat.com>
9854 * callouts/nm-dhcp-client-action.c
9855 - (build_message): ignore non-DHCP-related environment variables
9857 2007-08-12 Dan Williams <dcbw@redhat.com>
9861 callouts/Makefile.am
9862 callouts/nm-dhcp-client-action.c
9863 callouts/nm-dhcp-client.conf
9864 - Add dhclient-executed callout that takes the place of dhclient-script
9865 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9868 2007-08-09 Tambet Ingo <tambet@gmail.com>
9870 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9872 * libnm-glib/nm-client.h:
9873 * libnm-glib/nm-object.h:
9874 * libnm-glib/nm-vpn-connection.h:
9875 * libnm-glib/nm-settings.h:
9876 * libnm-glib/nm-device.h:
9877 * libnm-glib/nm-ip4-config.h:
9878 * libnm-glib/nm-access-point.h:
9879 * libnm-glib/nm-device-802-3-ethernet.h:
9880 * libnm-util/nm-setting.h:
9881 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9883 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9885 * libnm-glib/nm-access-point.c: Strength has type char.
9887 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9888 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9890 * introspection/nm-access-point.xml: Strength property is char, not int.
9892 * src/NetworkManagerAP.c (set_property): Set strength from char.
9893 (get_property): Handle hidden APs (with empty SSID).
9894 Get strength value from char.
9895 (nm_ap_class_init): Strength property has char type.
9897 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9899 * introspection/Makefile.am:
9900 * introspection/nm-settings.xml:
9901 * introspection/nm-settings-connection.xml: added Settings interfaces.
9903 * libnm-glib/nm-settings.[ch]:
9904 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9905 containing the DBus implementation.
9907 2007-07-26 Dan Williams <dcbw@redhat.com>
9909 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9911 * src/NetworkManagerSystem.c
9912 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9913 same subnet (#437396)
9915 2007-07-26 Dan Williams <dcbw@redhat.com>
9917 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9919 * gnome/vpn-properties/nm-vpn-properties.c
9920 - Fix translatable strings (#445865)
9922 2007-07-26 Dan Williams <dcbw@redhat.com>
9924 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9927 - Remove useless junk (#412530)
9929 2007-07-10 Christopher Aillon <caillon@redhat.com>
9931 Patch from Robert Buchholz <rbu@gentoo.org>:
9935 * introspection/Makefile.am:
9936 Make make distcheck work again.
9938 2007-06-27 Dan Williams <dcbw@redhat.com>
9940 * Make SSIDs GByteArrays everywhere
9941 * Rename "essid" -> "ssid" everywhere that's appropriate
9942 * Refcount activation_ap member of the 802.11 wireless device class
9944 2007-06-27 Tambet Ingo <tambet@ximian.com>
9946 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9948 2007-06-22 Tambet Ingo <tambet@ximian.com>
9950 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9951 that we got a new AP when we just update existing AP properties.
9953 2007-06-21 Tambet Ingo <tambet@ximian.com>
9955 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9957 * nm-utils.[ch]: Remove.
9959 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9960 objects for easy property access and dbus connection handling.
9962 * libnm-glib/nm-client.c: Derive from NMObject.
9964 * libnm-glib/nm-device.c: Ditto.
9966 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9968 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9970 * libnm-glib/nm-ip4-config.c: Ditto.
9972 * libnm-glib/nm-access-point.c: Ditto.
9974 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9975 comparision. Currently used by the device activation code to determine if the new
9976 activation is the same as the old one.
9978 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9979 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9980 able to ask password for the AP.
9982 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9983 up if the device is already connected, tear down it's connection (if it isn't the
9984 same as new one) and start the activation.
9986 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9988 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9989 the issue where all APs are always listed as encrypted.
9991 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9992 their own registered paths.
9994 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9995 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9997 2007-06-13 Tambet Ingo <tambet@ximian.com>
9999 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10002 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10003 because the handling code will cause the next state change and signal listeners
10004 get the signals in wrong order.
10006 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10007 correctly in case of pending activation.
10009 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10010 Convert the essid byte array to string correctly, including the terminating NULL.
10012 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10013 mode with correct types.
10015 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10016 constructed info to dbus call instead of the activation request.
10018 2007-06-11 Christopher Aillon <caillon@redhat.com>
10020 Patch from Christian Persch <chpe@gnome.org>
10022 * libnm-glib/Makefile.am:
10023 * dispatcher-daemon/Makefile.am:
10024 Use the correct variables, the correct paths, and correct ordering. (446315)
10026 2007-06-11 Tambet Ingo <tambet@ximian.com>
10028 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10029 argument. The activation request is easy to retrieve.
10031 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10032 just to be a convenient location for devices to store random stuff.
10034 2007-06-11 Christopher Aillon <caillon@redhat.com>
10036 Patch from Alex Smith <alex@alex-smith.me.uk>
10038 * src/backends/NetworkManagerFrugalware.c:
10039 Update the FrugalWare backend to fix a few segfaults. (#392642)
10041 2007-06-08 Tambet Ingo <tambet@ximian.com>
10043 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10045 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10047 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10049 2007-06-06 Tambet Ingo <tambet@ximian.com>
10051 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10053 Implement NMSettingIP4Config.
10054 Finish NMSettingWired by adding all known members.
10055 (setting_wired_verify): Implement.
10056 Finish NMSettingWireless by adding all known members.
10057 (setting_wireless_verify): Implement.
10059 * libnm-util/nm-connection.c: Register "ipv4" setting.
10060 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10061 dump function, we can introspect the GHashTable which is used for sending connections
10064 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10065 Take GByteArray for essid, it's really not a string.
10067 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10068 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10069 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10070 means overriding the values we got from DHCP.
10071 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10072 (nm_device_deactivate_quickly): Ditto.
10074 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10077 2007-05-07 Tambet Ingo <tambet@ximian.com>
10079 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10082 * libnm-glib/nm-device-802-11-wireless.c:
10083 (nm_device_802_3_ethernet_activate): Remove.
10085 * libnm-glib/nm-device-802-3-ethernet.c
10086 (nm_device_802_3_ethernet_activate): Remove.
10088 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10090 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10093 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10094 activation has started.
10095 Implement the new activation using NMConnection.
10097 * src/nm-activation-request.c: Store a generic connection object instead
10098 of a wireless-specific AP.
10100 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10101 on device type, create a device specific connection object suitable for
10104 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10105 specific check to validate the connection and on success start the
10108 * src/nm-device-interface.h: Add a activate virtual function to the
10109 interface definition.
10111 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10112 (impl_device_activate): Implement.
10114 * introspection/nm-device.xml: Add a generic device activation interface
10115 that accepts an abstract NMConnection structure that has device-specific
10118 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10119 activation interface.
10121 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10122 activation interface.
10124 * libnm-util/nm-connection.c:
10125 * libnm-util/nm-connection.h:
10126 * libnm-util/nm-setting.c:
10127 * libnm-util/nm-setting.h: Add.
10129 * libnm-util/Makefile.am: Build the added files.
10131 * src/nm-dbus-manager.c
10132 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10133 DbusConnection argument from 'name-owner-changed' signal. The manager
10134 is already passed as a first argument to the signal and the connection
10135 is easy enough to get from it.
10137 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10138 Update the signature of the function.
10140 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10143 * src/NetworkManager.c: Ditto.
10145 * src/named-manager/nm-named-manager.c
10146 (nm_named_manager_name_owner_changed): Ditto.
10148 * src/supplicant-manager/nm-supplicant-manager.c
10149 (nm_supplicant_manager_name_owner_changed): Ditto.
10151 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10153 * src/dhcp-manager/nm-dhcp-manager.c
10154 (nm_dhcp_manager_name_owner_changed): Ditto.
10156 * src/nm-hal-manager.c: Add a list of device detectors and creators
10157 to make it easier to add new devices. Each device type has it's own
10158 entry in the table so adding new device types is only a matter of
10159 implementing a couple of functions, one for device detection and the
10160 other for device creation.
10162 2007-04-25 Dan Williams <dcbw@redhat.com>
10164 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10165 (gnome.org #432401)
10167 2007-03-30 Dan Williams <dcbw@redhat.com>
10169 * src/NetworkManagerSystem.c
10170 - (nm_system_device_set_ip4_route): clean up and fix argument
10171 to nm_dev_sock_open()
10173 2007-03-28 Tambet Ingo <tambet@ximian.com>
10175 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10176 data to correct types instead of always using string.
10178 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10179 _not_ have NM_802_11_CAP_PROTO_NONE.
10180 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10183 2007-03-27 Tambet Ingo <tambet@ximian.com>
10185 * libnm-glib/Makefile.am: Fix the build issue.
10187 2007-03-26 Tambet Ingo <tambet@ximian.com>
10189 * libnm-glib/nm-vpn-connection.h:
10190 * libnm-glib/nm-vpn-connection.c: Implement.
10192 * libnm-glib/nm-client.c: Add VPN support.
10194 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10197 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10200 2007-03-26 Dan Williams <dcbw@redhat.com>
10202 * src/NetworkManagerAPList.c
10203 * src/nm-device-802-11-wireless.c
10204 * src/NetworkManagerAP.c:
10205 - Store last seen as glong instead of GTimeVal.
10206 - Fix the upper bound of capabilities, it's a bitfield.
10208 2007-03-16 Tambet Ingo <tambet@ximian.com>
10210 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10212 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10213 "manager-running" signal that notifies the appearance/disappearance of NM.
10214 (nm_client_sleep): Implement.
10216 * libnm-glib/nm-device.c:
10217 * libnm-glib/nm-device-802-11-wireless.c:
10218 * libnm-glib/nm-device-802-3-ethernet.c:
10220 Don't inherit from DBusGProxy, add a proxy to private
10221 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10222 for anything but their own dbus interface. DBusGProxy objects support only one
10223 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10224 interface. The nice side effect of this change is that we do not create a new
10225 DBusGProxy object for each property access.
10227 2007-03-15 Tambet Ingo <tambet@ximian.com>
10229 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10230 with zeroes before passing them to functions - the functions never do that and
10231 reading the values back may produce wrong values.
10232 (real_bring_up): Store the signal handler id ...
10233 (real_bring_down): ... So that it can be removed here.
10234 Disconnect the supplicant interface here as well.
10235 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10236 from the access point instead of old $device/Networks/$essid.
10238 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10239 device state is connected (instead of just having link/carrier).
10241 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10242 already easily accessible through the device.
10244 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10245 store it within the object.
10246 (nm_ap_get_dbus_path): Export it to public as well.
10248 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10251 2007-03-12 Dan Williams <dcbw@redhat.com>
10253 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10254 for non-carrier-detect capable devices, and useless for carrier-detect
10255 devices since we get notifications from netlink about carrier status anyway.
10257 * src/nm-device-802-3-ethernet.c
10258 - remove 'link_source_id' member from private data
10259 - (probe_link): remove and collapse into real_update_link()
10260 - (nm_device_802_3_periodic_update): remove
10261 - (real_is_up): check for sup_iface rather than link_source_id
10262 - (real_bring_up): return gboolean for success/fail; require that
10263 sup_iface be valid for device bringup to succeed
10264 - (real_bring_down): zero out link signal ids
10267 - (nm_device_activate_stage2_device_config): fail activation if device
10269 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10271 - (nm_device_bring_up): return success/fail
10274 - bring_up now returns success/fail
10276 * src/nm-device-802-11-wireless.c
10277 - (real_bring_up): return success from bringup
10279 2007-03-07 Dan Williams <dcbw@redhat.com>
10281 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10282 * src/nm-ap-security-wpa-psk.c
10283 - (real_write_supplicant_config): work with PSKs that may contain
10284 zeros in the binary format rather than treating it as a string
10286 2007-03-02 Tambet Ingo <tambet@ximian.com>
10288 * libnm-glib/nm-device-802-11-wireless.c
10289 (nm_device_802_11_wireless_get_capabilities): Implement.
10291 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10293 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10295 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10296 reply only if it's not NULL. Not sure why this started happening right now.
10298 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10299 code paths for when devices get removed on shutdown or when a device is just
10301 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10302 gets freed so any signal from a device (disconnected for instance) would invoke
10303 NMState update which would crash.
10304 (nm_manager_remove_device): Bring the device down when it gets removed.
10306 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10307 the unused dev_type.
10309 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10310 reference to the added device, NMManager will own it (if it wants).
10312 * test/nm-tool.c: Rewrite using libnm-glib.
10314 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10315 We get signalled when it changes.
10317 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10320 * libnm-glib/nm-device.c: Cache the device state property.
10322 * libnm-glib/nm-access-point.c: Cache the strength property.
10324 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10325 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10326 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10327 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10328 the device is down, activating, or activated (in case of A/B/G cards).
10329 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10330 it's all done through supplicant now.
10332 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10333 counting issues with pending calls which caused leaks and crashes when
10334 interface was removed (now that the interface actually gets removed).
10336 * src/nm-call-store.c: Make a copy of data before running a foreach
10337 with user callback on it - The most common usage pattern is to cancel
10338 (and thus remove) all pending calls with foreach which would modify
10339 the hash table we're iterating over.
10341 * src/nm-manager.c: When a device is added, make sure it is "up". When
10342 it's removed or disabled due to disabling wireless or networking, bring
10345 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10347 * src/nm-device-802-11-wireless.c:
10348 * src/nm-device-802-3-ethernet.c:
10350 - Remove "init" virtual function, all gobjects have a place for that
10351 already (constructor).
10352 - Replace "start" virtual function with "bring_up", devices can be
10353 brought up and down more than just on startup now.
10354 - Add "is_up" virtual function.
10355 - Implement one way to bring a device down instead of previous 4 different
10356 ways, each of witch did something different.
10358 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10359 all it needs is the device interface.
10361 Get rid of NMData.dev_list (3 members to go).
10362 Get rif of NMData in a lot of places.
10364 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10366 2007-02-23 Dan Williams <dcbw@redhat.com>
10368 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10370 * src/NetworkManagerAP.c
10371 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10372 OR-ing rather than AND-ing
10374 2007-02-20 Tambet Ingo <tambet@ximian.com>
10376 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10377 "network-removed" signals.
10379 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10381 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10382 when receiving the signal from dbus.
10384 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10387 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10388 deactivation of the previously activated device working again.
10390 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10393 * src/nm-device.c (nm_device_is_activated): Remove.
10394 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10396 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10397 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10398 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10399 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10400 Remove NMNetworkStatus and NMActStage enums.
10402 2007-02-19 Tambet Ingo <tambet@ximian.com>
10404 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10405 Handle device state changes and disconnect VPN if it's device deactivates.
10407 * src/nm-dbus-nm.c:
10408 * src/nm-dbus-nm.h:
10409 * src/nm-dbus-device.c:
10410 * src/nm-dbus-device.c:
10411 * src/nm-dbus-net.c:
10412 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10414 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10416 * src/nm-device.c (nm_device_get_by_udi):
10417 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10418 implemented in the correct location (NMManager).
10419 Rip out all the test_device stuff.
10421 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10422 failure handlers, it's all done by NMDevice already.
10424 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10425 Remove the iochannel hack to route the unix signals to the main thread since
10426 we're not threaded anymore.
10428 * src/NetworkManagerAP.c: Implement HWAddress property.
10430 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10431 automatically with dbus-glib.
10433 * src/nm-netlink-monitor.c:
10434 * src/nm-netlink-monitor.h:
10435 - Move it low in the class hierarchy, don't reference any NM types.
10436 - Remove private data from the header.
10437 - Use type safe checks in public API methods.
10438 - Make it a singleton so we don't have to pass the single reference around.
10440 2007-02-16 Tambet Ingo <tambet@ximian.com>
10442 * introspection/nm-ip4-config.xml: Implement.
10444 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10446 * libnm-glib/nm-ip4-config.c:
10447 * libnm-glib/nm-ip4-config.c: Implement.
10449 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10450 securities. APs reference security.
10452 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10453 be exported over DBUS.
10455 * src/nm-device-802-3-ethernet.c: Ditto.
10457 * src/NetworkManagerAP.c:
10458 * src/NetworkManagerAP.h:
10459 - Convert to GObject, export over DBUS.
10461 * src/nm-ip4-config.h:
10462 * src/nm-ip4-config.h:
10463 - Convert to GObject, export over DBUS.
10465 2007-02-12 Dan Williams <dcbw@redhat.com>
10467 Patch from Helmut Schaa <hschaa@suse.de>
10469 * vpn-daemons/pptp/configure.in
10470 vpn-daemons/pptp/Makefile.am
10471 vpn-daemons/openvpn/configure.in
10472 vpn-daemons/openvpn/Makefile.am
10473 vpn-daemons/vpnc/configure.in
10474 vpn-daemons/vpnc/Makefile.am
10475 - Add --without-gnome switch which disables building gnome bits
10477 2007-02-12 Tambet Ingo <tambet@ximian.com>
10479 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10481 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10483 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10486 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10488 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10490 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10493 - Remove old low-level dbus interface implementations and replace them
10494 with dbus-glib one.
10497 - Require dbus-glib >= 0.72.
10498 - Plug in new sources to build.
10501 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10502 to make it more convenient to use from GObject based programs.
10505 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10507 2007-02-09 Tambet Ingo <tambet@ximian.com>
10509 * src/nm-device-802-11-wireless.c:
10510 - Add "network-added" and "network-removed" signals.
10511 - Use gobject boilerplate macros to define the GObject.
10512 - Implement wireless device activation.
10513 - Remove activation_failure_handler and activation_success_handler
10514 and instead listen on state-changed signals and run the same code
10518 - Implment NMDeviceInterface::deactivate.
10519 - Remove activation_failure_handler and activation_success_handler
10520 virtual methods. Each device which is interested in these events
10521 can just listen on it's state changed signals.
10523 * src/NetworkManagerPolicy.c:
10524 - Move a bit more NMData usage to NMManager.
10525 - Remove activation scheduling bits.
10526 - Add listeners for wireless device's "network-added" and
10527 "network-removed" signals.
10528 - Listen device changed signals and deactivate currently activated
10529 device when another device start activating (for now).
10530 - Remove (nm_policy_schedule_device_change_check): There's never a need
10531 for calling this, the policy code knows exactly when this should happen,
10532 by listening on events from NMManager and NMDevices.
10534 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10537 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10538 method on the specific device instead of going to through policy code
10539 and determining the device type by passed in AP's existance.
10541 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10542 abstract NMDevice deactivation.
10544 2007-02-08 Tambet Ingo <tambet@ximian.com>
10546 * src/NetworkManager.c:
10547 - Set up all the shiny new managers.
10549 * src/NetworkManagerPolicy.c:
10550 - Add the beginnings of new NMPolicy code. Instead of requireing all
10551 classes to call into policy code, make the policy code kind of like
10552 a supervisor that monitors what's going on and drives the whole NM.
10554 * src/nm-hal-manager.c:
10555 * src/nm-hal-manager.h:
10556 - Collect all libhal code scattered around NM to this one class.
10557 - Listen libhal and NMManager events and add/remove devices to
10560 * src/nm-manager.c:
10561 * src/nm-manager.h:
10562 - Implment a replacement for NMData. NMData is now officially
10565 2007-02-05 Tambet Ingo <tambet@ximian.com>
10567 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10568 * src/supplicant-manager/nm-supplicant-interface.h
10569 * src/supplicant-manager/nm-supplicant-interface.c
10570 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10571 argument to boolean from enum.
10573 Make NMDevice abstract class, remove almost all references to it's
10574 subclasses (the last place gets removed with new policy manager). Add
10575 NMDeviceInterface (which NMDevice implements) so that when we have
10576 NMDevice exported over DBUS, there's a common NMDevice interface which
10577 all instances have, plus there's a device specific interface for each
10579 Remove functions (nm_device_is_802_3_ethernet) and
10580 (nm_device_is_802_11_wireless). There are already standard GObject macros
10581 for type safe checks.
10582 Use the updated supplican manager API.
10584 * src/nm-device-interface.h:
10585 * src/nm-device-interface.c:
10586 * src/nm-call-store.h:
10587 * src/nm-call-store.c: Implement.
10589 * src/supplicant-manager/nm-supplicant-interface.c:
10590 * src/supplicant-manager/nm-supplicant-interface.h:
10591 * src/supplicant-manager/nm-supplicant-manager.c:
10592 * src/supplicant-manager/nm-supplicant-manager.h:
10593 - Remove all private data type references from public header files.
10594 - Remove all references to other NM classes, this class is just a
10595 proxy between wpa_supplicant and NM so it doesn't have to know
10597 - Convert to dbus-glib bindings.
10598 - Type safe checks for public methods' arguments.
10599 - Store pending DBUS call ids to NMCallStore.
10601 * src/supplicant-manager/nm-supplicant-config.c:
10602 - Store config values in a GHashTable instead of GSList.
10604 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10606 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10609 * src/nm-device.c: Use the new DHCP manager API.
10611 * src/nm-activation-request.c:
10612 * src/nm-activation-request.h:
10613 - Remove all dhcp related properties and methods.
10615 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10617 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10619 * src/dhcp-manager/nm-dhcp-manager.c:
10620 * src/dhcp-manager/nm-dhcp-manager.h:
10621 - Convert it to GObject since we need to signal state changes.
10622 - Remove all references to other NM classes, this class is one
10623 of the lowest classes in our hierarchy.
10624 - One less class to use NMActRequest.
10625 - Make it singleton, one less user of NMData.
10626 - Remove a couple of sleep() calls.
10627 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10628 One less class to use the NM's custom tailored signal handlig.
10630 * Makefile.am: Generate marshallers, add them to build.
10632 2007-02-02 Dan Williams <dcbw@redhat.com>
10638 - Remove last bits referencing gnome applet
10640 2007-02-02 Dan Williams <dcbw@redhat.com>
10642 * src/vpn-manager/nm-vpn-service.c
10643 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10644 and NBNS server addresses
10646 2007-02-02 Tambet Ingo <tambet@ximian.com>
10648 * src/nm-dbus-manager.c:
10649 * src/nm-dbus-manager.h:
10650 - Convert all internal DBUS code to use dbus-glib bindings.
10651 - Remove GObject properties, we don't need them here.
10652 - Don't explicitly set things to NULL after freeing, glib is
10653 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10654 - Make public API argument checks type safe.
10655 - Remove unnecessary (and wrong) cast to GObject for the first
10656 argument to g_signal_* calls - The first argument is a gpointer.
10657 - Export DBusGConnection to other cool classes that (are going to)
10660 2007-01-26 Dan Williams <dcbw@redhat.com>
10662 * libnm-util/dbus-dict-helpers.c
10663 libnm-util/dbus-dict-helpers.h
10664 - Coordinate style with wpa_supplicant version to minimize diff
10665 - Add uint32 array support
10666 - (nmu_dbus_dict_append_uint32_array): new function
10667 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10668 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10669 version; allow adding string array elements individually
10671 * test/libnm-util/test-dbus-dict-helpers.c
10672 - Test uint32 arrays
10674 2007-01-27 Jürg Billeter <j@bitron.ch>
10676 * src/backends/NetworkManagerPaldo.c
10677 - (nm_system_update_dns): clear nscd hosts cache
10679 2007-01-04 Dan Williams <dcbw@redhat.com>
10681 Threading removal related cleanups:
10683 - Use the glib default main context. Remove the device main context
10684 member from NMDevice, and the main_context member from NMData. Change
10685 all the idle and timeout scheduler functions to use plain
10686 g_idle_add() and g_timeout_add().
10688 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10689 takes an argument; fix that up too.
10691 - Remove all locking, which is useless since we no longer use threads. For
10692 example, nm_get_device_by_iface_locked() has been removed. The global
10693 device list lock, the AP List lock, and all static locks in
10694 NetworkManagerPolicy.c have been removed. The locking utility functions
10695 in NetworkManagerUtils.c have also been removed.
10697 - Other cleanups in spacing and code style
10699 2007-01-01 Dan Williams <dcbw@redhat.com>
10701 Found by Bill Moss:
10703 * src/supplicant-manager/nm-supplicant-interface.c
10704 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10705 the supplicant interface wasn't already disconnected. Always
10706 call removeNetwork and disconnect unless the supplicant interface
10707 is in the DISCONNECTED or INACTIVE state.
10709 2006-12-28 Dan Williams <dcbw@redhat.com>
10711 Use a single thread for everything. With the move to wpa_supplicant
10712 and communication over D-Bus, there's no reason for multiple threads.
10713 Almost all of the blocking code has been removed, with one exception in
10714 the DHCP manager and a few in the VPN manager. This commit removes the
10715 per-device worker thread and fixes activation cancellation in the absence
10716 of threads. Further removal of thread-related code would be removing
10717 any locking code (like the device list lock) and simplification of logic
10718 around areas of code or data structures that are currently locked.
10721 dhcp-manager/nm-dhcp-manager.c
10722 nm-device-802-11-wireless.c
10723 nm-device-802-3-ethernet.c
10726 - Remove usage of multiple threads
10728 2006-12-19 Dan Williams <dcbw@redhat.com>
10730 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10731 plus a few other patches from wpa_supplicant bugzilla.
10734 src/NetworkManagerPolicy.c
10735 src/NetworkManagerUtils.c
10736 src/NetworkManagerUtils.h
10737 src/nm-ap-security-leap.c
10738 src/nm-ap-security-wep.c
10739 src/nm-ap-security-wpa-eap.c
10740 src/nm-ap-security-wpa-psk.c
10741 src/nm-ap-security.c
10742 src/nm-ap-security.h
10743 src/nm-device-802-11-wireless.c
10744 src/nm-device-802-11-wireless.h
10745 src/supplicant-manager/nm-supplicant-config.c
10746 src/supplicant-manager/nm-supplicant-config.h
10747 src/supplicant-manager/nm-supplicant-interface.c
10748 src/supplicant-manager/nm-supplicant-interface.h
10749 src/supplicant-manager/nm-supplicant-marshal.list
10750 src/supplicant-manager/nm-supplicant-settings-verify.c
10751 src/supplicant-manager/nm-supplicant-settings-verify.h
10752 - Move all connection management and association handling to
10753 wpa_supplicant over dbus, rather than spawning a private copy
10755 2006-12-19 Dan Williams <dcbw@redhat.com>
10757 * src/NetworkManagerPolicy.c
10758 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10759 better locking of the device change check handler ID. Incorrect
10760 locking was causing lost device change requests
10762 2006-12-18 Dan Williams <dcbw@redhat.com>
10764 * libnm-util/dbus-dict-helpers.c
10765 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10766 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10767 dbus_message_iter_get_array_len() (Gnome.org #382898)
10769 2006-12-18 Dan Williams <dcbw@redhat.com>
10771 * gnome/libnm_glib/libnm_glib.c
10772 - Change dbus_connection_close() -> dbus_connection_unref()
10774 2006-12-11 Dan Williams <dcbw@redhat.com>
10776 * src/supplicant-manager/nm-supplicant-interface.c
10777 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10778 wpa_supplicant interface state
10779 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10780 state before transitioning to READY state
10782 2006-12-04 Dan Williams <dcbw@redhat.com>
10784 * src/nm-device-802-11-wireless.c
10785 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10786 odd length of ESSID returned from ieee80211 stack-based drivers
10788 2006-12-04 Dan Williams <dcbw@redhat.com>
10790 * src/nm-device-802-11-wireless.c
10791 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10792 IE handling blocks that cause mis-parsing of the IE
10794 2006-12-04 Dan Williams <dcbw@redhat.com>
10796 * src/nm-device-802-11-wireless.c
10797 - (init_supplicant_interface): new function; pull supplicant interface
10798 setup code out into standalone function since it must be called from
10799 two different places
10800 - (real_init): sup_mgr is now in private object data; get and track
10801 the supplicant manager object over the NMDevice subclass' lifetime
10802 and register a signal handler for its state signals; only try to
10803 initialize the supplicant interface if the supplicant manager is in
10804 the IDLE state (and therefore is ready for requests)
10805 - (request_wireless_scan): reschedule the scan request if (a) there is
10806 no supplicant interface yet (meaning wpa_supplicant isn't running
10807 or isn't ready yet), or (b) if the supplicant interface isn't ready
10809 - (supplicant_iface_connection_state_cb): new function; stub for
10810 handling supplicant interface connection state signals
10811 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10813 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10814 supplicant manager object that's being tracked starting with this
10817 2006-12-04 Dan Williams <dcbw@redhat.com>
10819 * src/supplicant-manager/nm-supplicant-interface.c
10820 - (nm_supplicant_interface_set_property): track signal handler ID
10821 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10823 2006-12-04 Dan Williams <dcbw@redhat.com>
10825 * src/supplicant-manager/nm-supplicant-interface.[ch]
10826 - (nm_supplicant_interface_get_state): new function
10828 2006-12-04 Dan Williams <dcbw@redhat.com>
10830 * src/supplicant-manager/nm-supplicant-interface.c
10831 - (bssid_properties_cb): don't treat DBus errors as valid
10832 scanned AP messages
10834 2006-12-04 Dan Williams <dcbw@redhat.com>
10836 * src/supplicant-manager/nm-supplicant-interface.[ch]
10837 - (nm_supplicant_interface_get_connection_state): new function
10838 - define new supplicant connection states
10839 - send a signal when the supplicant connection state changes
10841 2006-12-03 Dan Williams <dcbw@redhat.com>
10843 * src/supplicant-manager/Makefile.am
10844 src/supplicant-manager/nm-supplicant-connection.h
10845 src/supplicant-manager/nm-supplicant-connection.c
10846 src/supplicant-manager/nm-supplicant-config.h
10847 src/supplicant-manager/nm-supplicant-config.c
10848 src/supplicant-manager/nm-supplicant-types.h
10849 src/supplicant-manager/nm-supplicant-interface.h
10850 src/supplicant-manager/nm-supplicant-interface.c
10851 - Rename NMSupplicantConnection -> NMSupplicantConfig
10853 2006-12-03 Dan Williams <dcbw@redhat.com>
10855 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10859 - Move VPN-related translatables to .skip
10861 * vpn-daemons/pptp/po/POTFILES.in
10862 - Update with new translatables
10864 2006-12-02 Dan Williams <dcbw@redhat.com>
10866 Patch from Christian Persch <chpe@gnome.org>
10868 * gnome/applet/Makefile.am
10869 gnome/applet/applet-dbus-devices.c
10870 gnome/applet/applet-notifications.c
10871 gnome/applet/applet.c
10872 gnome/applet/applet.h
10873 gnome/applet/main.c
10874 - Be a GtkStatusIcon on GTK+ >= 2.10
10876 2006-12-02 Dan Williams <dcbw@redhat.com>
10878 * gnome/applet/applet.c
10879 - (nma_update_info): fix two unecessary allocations
10881 2006-12-02 Dan Williams <dcbw@redhat.com>
10883 Patch from Michael Biebl <biebl@teco.edu>
10885 man/NetworkManager.1.in
10886 man/NetworkManagerDispatcher.1.in
10887 man/NetworkManager.8.in
10888 man/NetworkManagerDispatcher.8.in
10889 - Add .SH NAME stanzas
10890 - Move NM & NM Dispatcher manpages to section 8 (admin)
10892 2006-12-02 Dan Williams <dcbw@redhat.com>
10894 Patch from Christian Persch <chpe@gnome.org>
10897 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10899 2006-11-29 Tambet Ingo <tambet@ximian.com>
10901 Patch by Timo Hoenig <thoenig@suse.de>:
10902 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10905 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10906 we can't use the one from the main source directory.
10908 2006-11-27 Dan Williams <dcbw@redhat.com>
10910 Patch from Christian Persch <chpe@gnome.org>
10912 * gnome/applet/applet-dbus-devices.c
10913 - (hal_info_product_cb): fix memleak; free duped string.
10916 2006-11-27 Dan Williams <dcbw@redhat.com>
10918 Patch from Christian Persch <chpe@gnome.org>
10920 * gnome/applet/menu-items.c
10921 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10922 as gtk_progress_set_percentage is deprecated. Should
10923 work as far back as GTK+ 2.4. Gnome.org #379780
10925 2006-11-26 Dan Williams <dcbw@redhat.com>
10927 Scan using wpa_supplicant over DBus.
10929 * src/nm-device-802-11-wireless.c
10930 - remove wireless extensions netlink event handler bits
10931 (wireless_event_helper, nm_device_802_11_wireless_event)
10932 - remove wireless extensions scan event handler bits
10933 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10934 hex2byte, hex2num, request_and_convert_scan_results,
10935 free_process_scan_cb_data, scan_results_timeout,
10936 schedule_scan_results_timeout, cancel_scan_results_timeout)
10937 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10938 and request scans from the supplicant interface rather than directly
10939 - Move functionality of convert_scan_results() to cull_scan_list() and
10940 supplicant_iface_scanned_ap_cb()
10941 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10942 at the scan interval when the current scan has finished
10943 - (supplicant_iface_state_cb): start scanning when the supplicant
10944 interface enters the READY state, and stop scanning when it
10945 enters the DOWN state
10946 - (cull_scan_list): weed out old access points from the scan list
10947 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10948 point into an NMAccessPoint and merge it into the device's scan list
10950 * src/supplicant-manager/nm-supplicant-interface.c
10951 src/supplicant-manager/nm-supplicant-interface.h
10952 - Add a new signal "scan-result" which is issued when the supplicant
10953 notifies NM that a scan has completed
10954 - Add a new signal "scanned-ap" that notifies listeners of a new access
10955 point found in the scan. Called once for each access point that
10956 the supplicant interface object receives from the supplicant as a
10957 result of the "scanResults" method call
10958 - (wpas_iface_query_scan_results): don't wait 4s before querying
10959 for the initial scan results
10960 - (scan_request_cb): new function; send listeners the result
10961 (success, error) of a wireless scan request
10962 - (nm_supplicant_interface_request_scan): new function; ask the
10963 supplicant to perform an immediate wireless scan
10965 2006-11-25 Dan Williams <dcbw@redhat.com>
10967 * src/supplicant-manager/Makefile.am
10968 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10969 add HAL cflags/includes and named-manager includes directory
10971 * src/supplicant-manager/nm-supplicant-interface.h
10972 - New state STARTING to handle transition from INIT to READY where
10973 the addInterface pending call is still outstanding
10975 * src/supplicant-manager/nm-supplicant-interface.c
10976 - track pending calls differently since we may have more than one
10977 going on at any given time
10978 - request scan results from wpa_supplicant; but don't do it more often
10979 than every 4 seconds. Drivers that do background scanning
10980 (like the 'ipw' drivers) send a continuous stream of scan completion
10981 notifications, so we don't want to hammer the supplicant or dbus
10982 with requests for all scan results every time we get a completion
10985 2006-11-25 Dan Williams <dcbw@redhat.com>
10987 * src/supplicant-manager/nm-supplicant-types.h
10988 - new file; move all supplicant manager object typedefs here for
10991 * src/supplicant-manager/nm-supplicant-interface.c
10992 src/supplicant-manager/nm-supplicant-interface.h
10993 - new file; an object that interfaces an NMDevice object to the
10994 supplicant and handles signals from the supplicant. This object
10995 does all necessary DBus communication with wpa_supplicant.
10997 * src/supplicant-manager/nm-supplicant-manager.c
10998 src/supplicant-manager/nm-supplicant-manager.h
10999 - Actually do something. Track the state of the wpa_supplicant service
11000 and deal with its comings & goings. Handle life events of
11001 supplicant interfaces too.
11002 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11004 * src/supplicant-manager/nm-supplicant-connection.h
11005 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11007 * src/supplicant-manager/Makefile.am
11008 - Add new files to build, and add libnm-util to includes
11010 * src/nm-marshal.list
11011 - New marshaler type: VOID:UINT,UINT
11013 * src/nm-device-802-3-ethernet.c
11014 - (real_init): grab a supplicant interface
11015 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11016 - (supplicant_iface_state_cb): new function, stub for handling
11017 supplicant interface state changes
11019 * src/nm-device-802-11-wireless.c
11020 - (real_init): grab a supplicant interface
11021 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11022 - (supplicant_iface_state_cb): new function, stub for handling
11023 supplicant interface state changes
11025 * src/NetworkManager.c
11026 - (main): create and keep the supplicant manager around for the lifetime
11030 - Link to the supplicant manager sub-library and use the supplicant
11033 2006-11-25 Dan Williams <dcbw@redhat.com>
11035 Rework DBus manager signal handling to be more flexible. Previously,
11036 only one signal handler could be registered for a particular interface.
11037 The DBus manager now reference counts DBus bus matches and allows multiple
11038 clients to register signal handlers for the same interface and sender.
11040 * src/NetworkManager.c
11041 - (main): track NMI signal handler ID and remove it when we quit
11043 * src/NetworkManagerMain.h
11044 - Keep track of NMI signal handler ID
11046 * src/nm-dbus-manager.c
11047 src/nm-dbus-manager.h
11048 - rework signal handling; each signal handler references one signal
11049 match, but a signal match may be referenced by one or more
11050 signal handlers. Matches are refcounted and are destroyed when the
11051 last signal handler that references the match is removed. This is
11052 necessary because two signal handlers may end up requiring the same
11053 dbus bus match, so the match must live until the last signal handler
11054 is destroyed (for example, with the wpa_supplicant network interface
11057 * src/dhcp-manager/nm-dhcp-manager.c
11058 - (nm_dhcp_manager_new): track DHCP signal handler id
11059 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11061 * src/vpn-manager/nm-vpn-service.c
11062 - (nm_vpn_service_add_watch): track VPN service signal handler id
11063 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11065 2006-11-25 Dan Williams <dcbw@redhat.com>
11067 Suggested by Helmut Schaa <hschaa@suse.de>
11069 * src/vpn-daemons/nm-vpn-service.c
11070 - (supplicant_child_setup): new function
11071 - (supplicant_exec): make child process use a new process group id
11073 * src/nm-device-802-11-wireless.c
11074 - (nm_vpn_service_child_setup): new function
11075 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11078 2006-11-19 Dan Williams <dcbw@redhat.com>
11080 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11081 * gnome/vpn-properties/nm-vpn-properties.c
11082 - clean up after renamed VPN connection
11084 2006-11-19 Dan Williams <dcbw@redhat.com>
11086 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11087 * gnome/applet/applet-dbus-vpn.c
11088 - (nma_dbus_vpn_properties_cb): sort VPN connections
11090 * gnome/vpn-properties/nm-vpn-properties.c
11091 - (init_app): sort VPN connections
11093 2006-11-09 Dan Williams <dcbw@redhat.com>
11095 * src/NetworkManagerAPList.c
11096 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11097 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11098 from the nm_ap_list_get_ap_by_address() call was incorrect and
11099 broke hidden SSID matching. Found by Bill Moss.
11101 2006-10-25 Dan Williams <dcbw@redhat.com>
11104 - (nm_dbus_nm_set_active_device): return an empty success message on
11105 success, rather than falling through to the error case.
11107 2006-10-25 Dan Williams <dcbw@redhat.com>
11109 * src/NetworkManagerUtils.c
11110 - (nm_utils_supplicant_request_with_check): suppress messages for the
11113 2006-10-24 Dan Williams <dcbw@redhat.com>
11115 Reduce the number of times the Gnome applet wakes up, especially when
11116 it's doing absolutely nothing and is hidden. Initial patch by
11119 * gnome/applet/applet-dbus.c
11120 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11121 kill the redraw timeout. When NM starts up, start the redraw
11122 timeout. Also, if we get kicked off the bus for some reason,
11123 start the reconnection timeout if one's not already running.
11124 - (nma_dbus_init): better handling of error conditions, don't leak
11125 a half-initialized dbus connection
11126 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11127 the applet's data, just call nm_dbus_init_helper()
11128 - (nma_start_dbus_connection_watch): new function, starts a periodic
11129 timeout that calls nma_dbus_connection_watcher()
11130 - (nma_dbus_init_helper): if we get a successful connection, kill the
11131 reconnection timeout, and don't start the reconnection timeout
11132 unconditionally anymore
11134 * gnome/applet/applet-dbus.h
11135 - Expose nma_start_dbus_connection_watch()
11137 * gnome/applet/applet.c
11138 - (nma_update_state): no longer static, called from applet-dbus.c for
11139 immediate UI updates on certain events
11140 - (nma_set_running): new function; take over setting applet->running,
11141 when not running (ie, NM is not active), don't activate the redraw
11142 timeout because we're not showing the applet anyway. When we are
11143 running (ie, NM is active), and only when we're running, start the
11145 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11146 kill any reconnection timeout
11147 - (nma_get_instance): move one-off dbus initialization code here since
11148 nm_dbus_init_helper() gets called more than once, possibly by the
11149 reconnection timeout function too. And, when we start up, if we
11150 can't get a connection to the bus, start the reconnection timeout.
11151 But don't start the redraw timeout yet, only do that when we get
11152 NM's state and find out if it's running or not.
11154 * gnome/applet/applet.h
11155 - Add the reconnection GSource ID
11156 - Add prototypes for nma_set_running() and the no-longer-static
11159 2006-10-24 Dan Williams <dcbw@redhat.com>
11161 * src/vpn-daemons/nm-dbus-vpnc.c
11162 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11163 pending call tracker
11164 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11165 pending call tracker; register one-vpn-connection update pending
11166 call in pending call tracker
11167 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11168 update pending call in pending call tracker
11169 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11170 update pending call in pending call tracker; don't block waiting
11173 2006-10-19 Robert Love <rml@novell.com>
11175 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11178 2006-10-14 Dan Williams <dcbw@redhat.com>
11180 * src/dhcp-manager/nm-dhcp-manager.c
11181 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11182 the dbus connection and the device object path rather than
11183 constructing it inside both functions. Saves a bit of memory
11184 and clarifies a failure path.
11185 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11186 and allocate device path here rather than each of the two
11189 2006-10-13 Dan Williams <dcbw@redhat.com>
11191 * src/NetworkManager.c
11192 - (nm_name_owner_changed_handler): handle NMI coming and going,
11193 this somehow droppout in the refactor
11195 2006-10-13 Dan Williams <dcbw@redhat.com>
11197 * Huge DBus refactor:
11198 - Create a "DBus Manager" object which manages the connection and
11199 sends signals on NameOwnerChanged and connection/disconnection events,
11200 handles reconnection to the bus if NM gets kicked off, and abstracts
11202 - Remove DBusConnection members from places where they are no
11203 longer needed due to the refactor, like the dbus-connection
11204 property of the named manager, and from NMData
11205 - Reformats a bunch of the code to gnome style
11206 (8-space tabs, braces on same line as statement, 80-col width).
11207 Consider it open season to reformat any bits to gnome style.
11208 style that aren't already.
11210 2006-10-13 Dan Williams <dcbw@redhat.com>
11212 * src/supplicant-manager/Makefile.am
11215 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11216 - Make it a minimal GObject
11218 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11219 - Verify settings destined for wpa_supplicant
11221 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11222 - Minimal GObject to track wpa_supplicant controlled device
11225 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11227 * gnome/applet/applet.c: (nma_update_info),
11228 (nma_act_stage_to_pixbuf), (nma_update_state):
11229 Mark missing strings for translation. Fixes bug #343306.
11231 2006-10-01 Dan Williams <dcbw@redhat.com>
11233 * src/vpn-manager/nm-vpn-manager.c
11234 - (nm_vpn_manager_load_services): split and clean up
11235 for readability and correctness. Restrict VPN service
11236 files to ending in ".name", as was meant from the
11237 beginning (but not coded in). Better error reporting.
11239 2006-10-01 Dan Williams <dcbw@redhat.com>
11242 - Clean up formatting of debug/info/warning log messages
11244 2006-09-27 Robert Love <rml@novell.com>
11246 Patch by Tambet Ingo <tambet@ximian.com>:
11247 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11250 2006-09-07 Dan Williams <dcbw@redhat.com>
11253 test/libnm-util/Makefile.am
11254 test/nm-supplicant-test.c
11255 - Add test program emulating the way NM drives wpa_supplicant
11256 to help debug supplicant issues
11258 2006-08-24 Dan Williams <dcbw@redhat.com>
11262 src/supplicant-manager/Makefile.am
11263 src/supplicant-manager/nm-supplicant-manager.c
11264 src/supplicant-manager/nm-supplicant-manager.h
11265 - Add skeleton bits of the wpa_supplicant manager
11267 2006-08-24 Dan Williams <dcbw@redhat.com>
11269 Patch from Ed Catmur:
11270 * src/NetworkManagerUtils.c
11271 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11272 if netmask is 0 (Gnome #352634)
11274 2006-08-17 Robert Love <rml@novell.com>
11276 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11277 package is now DBUS-enabled and listens for the NM signals.
11279 2006-08-14 Dan Williams <dcbw@redhat.com>
11281 * Patch from Christian Persch <chpe gnome org>
11284 vpn-daemons/openvpn/po/LINGUAS
11285 vpn-daemons/openvpn/configure.in
11286 vpn-daemons/pptp/po/LINGUAS
11287 vpn-daemons/pptp/configure.in
11288 vpn-daemons/vpnc/po/LINGUAS
11289 vpn-daemons/vpnc/configure.in
11290 - Convert to LINGUAS method so translators don't have to modify
11291 configure.in, just stuff in po/. Gnome #343132, requires intltool
11294 2006-08-14 Dan Williams <dcbw@redhat.com>
11296 Patch from Alex Smith <alex.extreme2@gmail.com>
11298 src/backends/Makefile.am
11299 src/backends/NetworkManagerFrugalware.c
11300 - Add support for Frugalware
11302 2006-08-13 Dan Williams <dcbw@redhat.com>
11304 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11305 * src/nm-device-802-11-wireless.c
11306 - (supplicant_exec): spawn wpa_supplicant without debug spew
11309 2006-08-13 Dan Williams <dcbw@redhat.com>
11311 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11312 * src/nm-ap-security.c
11313 src/nm-ap-security.h
11314 - Add authentication_required bits for subclasses to specify whether
11315 or not real authentication is required for connections, i.e. whether
11316 the AP rejects us when an encryption key is wrong or not.
11318 * src/nm-ap-security-wep.c
11319 src/nm-ap-security-wpa-eap.c
11320 src/nm-ap-security-wpa-psk.c
11321 src/nm-ap-security-leap.c
11322 - Implement authentication_required appropriately for each method
11324 * src/nm-device-802-11-wireless.c
11325 - Be smarter about when to request a key; for example, using a wrong key
11326 in WEP shared key mode previously just timed out and did not request
11329 2006-08-13 Dan Williams <dcbw@redhat.com>
11331 * gnome/libnm_glib/libnm_glib.c
11332 - dbus_connection_disconnect() -> dbus_connection_close() for
11335 2006-08-07 Dan Williams <dcbw@redhat.com>
11337 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11338 * src/NetworkManagerSystem.c
11339 - Respect specified MTU. Gnome #344967
11341 2006-08-07 Dan Williams <dcbw@redhat.com>
11343 * src/vpn-manager/nm-vpn-service.c
11344 - Simplify print_vpn_config() arguments
11346 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11347 * src/vpn-manager/Makefile.am
11348 src/vpn-manager/nm-vpn-service.c
11349 - Add new API for passing VPN config options as a dict. Gnome #344967
11351 2006-08-06 Dan Williams <dcbw@redhat.com>
11353 * gnome/applet/applet-dbus-devices.c
11354 gnome/applet/applet-dbus-vpn.c
11355 gnome/applet/applet-dbus.c
11356 gnome/applet/applet-dbus.h
11360 - Make pending call tracking code generic,
11361 so we can use it in NM as well as the applet
11363 2006-08-06 Dan Williams <dcbw@redhat.com>
11365 * src/nm-activation-request.c
11366 - Refcount pending call objects
11368 2006-08-06 Dan Williams <dcbw@redhat.com>
11370 Patch from Christan Chiesa <christanc@gmail.com>
11372 - Tell sha1.c to use bigendian mode on PPC
11374 2006-08-04 Robert Love <rml@novell.com>
11376 Glib Memory Slices!
11377 * configure.in: Require glib 2.10 or later.
11378 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11379 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11380 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11381 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11382 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11383 Memory Slices are the greatest thing since bread slices.
11384 * src/NetworkManagerAP.c: Also, fix memory leak.
11386 2006-08-01 Robert Love <rml@novell.com>
11388 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11390 2006-07-31 Robert Love <rml@novell.com>
11392 * src/backends/interface_parser.c: Declarations must begin the block.
11394 2006-07-24 Dan Williams <dcbw@redhat.com>
11396 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11397 * src/backends/Makefile.am
11398 src/backends/NetworkManagerArch.c
11399 src/backends/NetworkManagerDebian.c
11400 src/backends/NetworkManagerGeneric.c
11401 src/backends/NetworkManagerGeneric.h
11402 src/backends/NetworkManagerGentoo.c
11403 src/backends/NetworkManagerPaldo.c
11404 src/backends/NetworkManagerRedHat.c
11405 src/backends/NetworkManagerSlackware.c
11406 src/backends/NetworkManagerSuSE.c
11407 - Genericize common backend functions
11409 2006-07-18 Robert Love <rml@novell.com>
11411 * configure.in: Add "--with-notify" option to allow disabling of
11414 2006-07-13 Dan Williams <dcbw@redhat.com>
11416 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11417 * gnome/applet/applet.glade
11418 gnome/applet/Makefile.am
11419 gnome/applet/nm-gconf-wso.c
11420 gnome/applet/nm-gconf-wso-leap.c
11421 gnome/applet/nm-gconf-wso-leap.h
11422 gnome/applet/wireless-security-manager.c
11423 gnome/applet/wso-leap.c
11424 gnome/applet/wso-leap.h
11425 include/NetworkManager.h
11426 libnm-util/dbus-helpers.c
11427 libnm-util/dbus-helpers.h
11429 src/NetworkManagerAP.c
11430 src/nm-ap-security.c
11431 src/nm-ap-security-leap.c
11432 src/nm-ap-security-leap.h
11433 - Add LEAP authentication support
11435 2006-07-13 Dan Williams <dcbw@redhat.com>
11437 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11439 src/backends/NetworkManagerArch.c
11440 src/backends/NetworkManagerDebian.c
11441 src/backends/NetworkManagerGentoo.c
11442 src/backends/NetworkManagerPaldo.c
11443 src/backends/NetworkManagerRedHat.c
11444 src/backends/NetworkManagerSlackware.c
11445 src/backends/NetworkManagerSuSE.c
11446 - Convert hardcoding of 'ip' path to configure-time
11449 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11451 * configure.in: added ru to ALL_LINGUAS
11453 2006-07-10 Dan Williams <dcbw@redhat.com>
11455 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11457 - (real_act_stage3_ip_config_start): don't infinite loop when
11458 dhcdbd isn't running (Gnome #346845)
11460 2006-07-09 Dan Williams <dcbw@redhat.com>
11462 * gnome/applet/applet.c
11463 - (nma_destroy): don't pass NULL to notify_notification_close
11466 2006-07-09 Dan Williams <dcbw@redhat.com>
11468 * gnome/applet/applet.c
11469 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11471 2006-07-04 Tor Krill <tor@krill.nu>
11473 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11474 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11475 (nm_system_restart_mdns_responder), (ArchReadConfig),
11476 (nm_system_device_get_system_config):
11477 - Explicitly check for DHCP configuration
11478 - Check if daemons are running before starting them
11480 2006-06-25 Dan Williams <dcbw@redhat.com>
11482 * libnm-util/dbus-dict-helpers.[ch]
11483 test/libnm-util/test-dbus-dict-helpers.c
11484 - Add string array support
11486 2006-06-24 Dan Williams <dcbw@redhat.com>
11488 * src/dhcp-manager/nm-dhcp-manager.c
11489 - (nm_dhcp_manager_process_signal): clean up spacing
11491 2006-06-21 Dan Williams <dcbw@redhat.com>
11493 * src/nm-dbus-device.c
11494 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11497 2006-06-21 Raivis Dejus <orvils@gmail.com>
11499 * configure.in: Added 'lv' to ALL_LINGUAS
11501 2006-06-19 Dan Williams <dcbw@redhat.com>
11503 * src/NetworkManagerAP.c
11504 - Clarify usage of user_created
11506 * src/nm-ap-security-wep.c
11507 src/nm-ap-security-wpa-eap.c
11508 src/nm-ap-security-wpa-psk.c
11509 src/nm-ap-security.c
11510 src/nm-ap-security.h
11511 - s/user_created/adhoc, because we really do mean adhoc
11513 Patch from Bernard Blackham <bernard@blackham.com.au>
11514 * src/nm-device-802-11-wireless.c
11515 - (supplicant_send_network_config): instead of user_created,
11516 use adhoc, and do AP_SCAN 2 for adhoc networks
11518 2006-06-18 Robert Love <rml@novell.com>
11520 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11521 we have a value to set. Gconf generates a warning if `val' is NULL.
11522 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11523 unless we actually received a valid private key file passphrase or
11524 password. Otherwise, we don't know to later ask the applet to pull
11525 the key from the keyring.
11527 2006-06-17 Dan Williams <dcbw@redhat.com>
11529 * libnm-util/dbus-dict-helpers.[ch]
11530 test/libnm-util/test-dbus-dict-helpers.c
11531 - Fixes for zero-length byte arrays
11532 - Replace return values of 0 with FALSE for clarity
11533 - Test zero-length byte arrays
11535 2006-06-17 Dan Williams <dcbw@redhat.com>
11537 * libnm-util/dbus-dict-helpers.[ch]
11538 test/libnm-util/test-dbus-dict-helpers.c
11539 - Add helpers for byte arrays
11540 - Rework bits of the testcase
11542 2006-06-16 Dan Williams <dcbw@redhat.com>
11544 * libnm-util/Makefile.am
11545 * libnm-util/dbus-dict-helpers.[ch]
11546 - Add some helpers to take the pain out of using dict types in
11549 * test/libnm-util/Makefile.am
11550 * test/libnm-util/test-dbus-dict-helpers.c
11551 - Test cases for the dict helper functions
11553 2006-06-15 Robert Love <rml@novell.com>
11555 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11556 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11557 if there is no key to pass.
11558 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11559 receiving a non-NULL key.
11561 2006-06-14 Robert Love <rml@novell.com>
11563 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11567 2006-06-14 Dan Williams <dcbw@redhat.com>
11569 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11570 * src/nm-device-802-11-wireless.c
11571 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11572 or ones where the driver is unknown
11573 - (supplicant_exec): don't wait for supplicant startup here
11574 - (supplicant_interface_init): finer grained polling for supplicant
11577 2006-06-13 Robert Love <rml@novell.com>
11579 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11580 if it is currently set to TRUE. Otherwise, we will reset the value
11581 when we connect normally.
11582 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11583 the old BSSID is valid, too. The recently added ESSID check may not be
11584 sufficient (we can remove it?). What we really want to catch is the
11585 case of going from all-zeros to the BSSID of some other network, which
11586 happens on failure.
11588 2006-06-09 Dan Williams <dcbw@redhat.com>
11590 * src/NetworkManagerSystem.[ch]
11591 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11592 it was unused and pointless
11593 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11594 fix for set_up_down_with_iface change
11596 * src/vpn-manager/nm-vpn-connection.c
11597 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11599 * src/backends/NetworkManagerPaldo.c
11600 src/backends/NetworkManagerRedHat.c
11601 src/backends/NetworkManagerSuSE.c
11602 src/backends/NetworkManagerArch.c
11603 src/backends/NetworkManagerDebian.c
11604 src/backends/NetworkManagerGentoo.c
11605 - (nm_system_enable_loopback): use set_up_down_with_iface where
11607 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11610 2006-06-09 Dan Williams <dcbw@redhat.com>
11612 Patch from Peter Jones:
11613 * src/nm-device-802-11-wireless.c
11614 - (nm_device_802_11_wireless_update_bssid): make sure that the
11615 SSID hasn't changed from what we expect before automatically
11616 updating the saved BSSID from a new AP
11618 2006-06-08 Robert Love <rml@novell.com>
11620 Add 'fallback' support. NetworkManager will attempt to brute-force
11621 connect to networks marked as fallback if there are no better wireless
11622 connections available. This is useful as a method of last resort, to
11623 work around driver problems, and for use with hidden networks.
11624 * gnome/applet/applet-dbus-devices.c,
11625 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11626 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11627 pass it on via DBUS.
11628 * gnome/applet/applet.c: No fallback by default.
11629 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11630 Update other-network-dialog to add UI checkbox toggling fallback.
11631 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11632 propery from AP object. Add "fallback" property to AP object.
11633 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11634 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11635 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11636 separate function. Add get_best_fallback_ap() for returning an AP
11637 on which to attempt fallback.
11638 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11639 * test/nm-set-fallback: New file. Sets a given network as fallback.
11641 2006-06-07 Robert Love <rml@novell.com>
11643 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11644 checked that the return type was GCONF_VALUE_STRING, not the correct
11645 GCONF_VALUE_BOOL, and thus it never worked.
11646 * src/NetworkManagerAPList.c: Before concluding that two networks are
11647 identical based on their BSSID, make sure that the BSSID in question
11648 is actually valid. Specifically, an empty or all zero BSSID does not
11650 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11651 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11652 similar invariant clean up.
11654 2006-06-02 Robert Love <rml@novell.com>
11656 * gnome/applet/applet.c: Update copyright years. Add Novell.
11658 2006-05-28 Dan Williams <dcbw@redhat.com>
11660 * gnome/applet/applet.glade
11661 gnome/vpn-properties/nm-vpn-properties.glade
11662 - Set window icons on dialogs (Gnome.org #333420)
11664 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11666 * gnome/vpn-properties/nm-vpn-properties.glade:
11667 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11668 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11669 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11670 - Make the VPN properties pages prettier and more HIG
11671 compliant. Gnome Bug #336913.
11673 2006-05-28 Dan Williams <dcbw@redhat.com>
11675 Patch from Christian Persch <chpe@gnome.org>
11676 * gnome/vpn-properties/nm-vpn-properties.c
11677 * gnome/vpn-properties/nm-vpn-properties.glade
11678 - HIG-ification love (Gnome.org #336846)
11680 2006-05-28 Dan Williams <dcbw@redhat.com>
11682 Patch from Christian Persch <chpe@gnome.org>
11684 gnome/vpn-properties/nm-vpn-properties.c
11685 - (main): Fix option parsing. Gnome.org #336847
11687 2006-05-28 Dan Williams <dcbw@redhat.com>
11689 * gnome/vpn-properties/nm-vpn-properties.c
11690 - (find_vpn_ui_by_service_name): protect against NULL service names
11691 - (update_edit_del_sensitivity): protect against NULL service names
11694 2006-05-28 Dan Williams <dcbw@redhat.com>
11696 Patch from Chris Fuller <crf@grandecom.net>:
11697 * src/nm-device-802-11-wireless.c
11698 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11699 don't dispose of wireless-specific stuff unless it is actually
11700 initialized. Gnome.org #341263
11702 2006-05-28 Dan Williams <dcbw@redhat.com>
11704 * src/NetworkManagerPolicy.c
11705 - (nm_policy_device_change_check): don't switch devices if the "best"
11706 AP is essentially the same as the current activation request, but
11707 the current activation request isn't done activating yet. Fixes
11708 multiple requests for keyring password on startup for Gnome applet.
11711 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11713 * src/NetworkManager.c: use GOptions instead of getopt
11714 * configure.in: bump glib required version to >= 2.6 for GOption
11717 2006-05-25 Robert Love <rml@novell.com>
11719 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11720 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11721 instead of dumping ifdef's throughout the code.
11722 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11723 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11724 use nm_ioctl_info() in lieu.
11726 2006-05-25 Robert Love <rml@novell.com>
11728 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11729 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11730 not using gcrypt. Otherwise, we get a linker error.
11732 2006-05-25 Robert Love <rml@novell.com>
11734 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11735 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11736 configure flag to disable building of the GNOME-based applet.
11738 2006-05-25 Robert Love <rml@novell.com>
11740 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11741 parameter from link, because it shadows a global variable with some
11742 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11743 should never have exported to the entire system a common four letter
11744 word. But we here at NetworkManager are team players. Fixes
11747 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11749 * configure.in: Added mk.po, Macedonian translation.
11751 2006-05-24 Robert Love <rml@novell.com>
11753 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11754 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11755 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11757 2006-05-24 Robert Love <rml@novell.com>
11759 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11760 libnm-util/Makefile.am, src/Makefile.am,
11761 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11762 vpn-daemons/openvpn/properties/Makefile.am,
11763 vpn-daemons/pptp/auth-dialog/Makefile.am,
11764 vpn-daemons/pptp/properties/Makefile.am,
11765 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11766 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11767 user passed for --datadir, if anything, when setting the GNOME locale
11768 directory. It should be a function of the specified datadir and not
11771 2006-05-24 Robert Love <rml@novell.com>
11773 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11774 src/NetworkManager.c: Take care to call bindtextdomain with the
11775 location of msgid files.
11776 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11779 2006-05-22 Robert Love <rml@novell.com>
11781 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11782 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11783 99% of the time there is a real problem with wireless, and a
11784 seemingly successful connection via Zeroconf just confuses the user.
11785 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11787 2006-05-22 Robert Love <rml@novell.com>
11789 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11790 autofs on interface up if NIS is configured. On interface down, do
11793 2006-05-22 Robert Love <rml@novell.com>
11795 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11796 to avoid calling g_object_unref() on stale pointers on error in
11797 nma_icons_free(). This happens because we short-circuit loaded the
11798 icons on the first failure but then free all icons. Normally we have
11799 no issue because the icons were zero'ed out malloc, but we have stale
11800 pointer data after nma_icon_theme_changed().
11801 * gnome/applet/main.c: Return error code if nma_new() failed.
11803 2060-05-21 Dan Williams <dcbw@redhat.com>
11805 * initscript/NetworkManager.in
11806 - Ensure both dhcdbd and named are started before NM
11808 2006-05-21 Dan Williams <dcbw@redhat.com>
11811 - Bump version to 0.7 to signify we are in 0.7 development
11813 2006-05-21 Dan Williams <dcbw@redhat.com>
11815 Patch from Adam Schreiber <sadam@clemson.edu>
11816 * gnome/vpn-properties/nm-vpn-properties.c
11817 - (main): correct Gnome program name (gnome.org #342498)
11819 2006-05-21 Dan Williams <dcbw@redhat.com>
11821 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11823 * src/NetworkManagerDbus.[ch]
11824 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11825 clarify that function's argument should be an escaped dbus object
11826 path, and look for path segment end before returning a match
11827 * src/nm-dbus-nm.c:
11828 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11830 2006-05-17 Robert Love <rml@novell.com>
11832 Functionality to differentiate Ad-Hoc networks from infrastructure
11833 networks in the applet, by displaying a special icon:
11834 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11835 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11836 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11837 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11838 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11839 networks, encrypted or not.
11840 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11841 accessor functions to get and set the mode of a given network,
11842 wireless_network_get_mode() and wireless_network_set_mode().
11844 2006-05-17 Robert Love <rml@novell.com>
11846 Functionality to automatically add BSSIDs to the allowed-MAC list as
11847 one roams from access point to access point on a given network:
11848 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11849 helper function to compare two ether_addr structures and return TRUE
11850 if they contain the same MAC address.
11851 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11853 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11854 stored with the current AP. If the BSSID has indeed changed, we
11855 send it out to the applet, allowing the allowed-MAC list to grow
11856 automatically in response to roaming.
11858 2006-05-16 Robert Love <rml@novell.com>
11860 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11861 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11863 2006-05-13 Dan Williams <dcbw@redhat.com>
11865 * src/nm-device-802-3-ethernet.c
11866 - (real_get_generic_capabilities): Don't ignore devices that can't do
11867 carrier detect (Debian bug #366373)
11869 2006-05-11 Dan Williams <dcbw@redhat.com>
11871 Patch from Michael Biebl <biebl@teco.edu>
11872 * src/backends/NetworkManagerDebian.c
11873 - Debian backend fixups
11875 2006-05-10 Robert Love <rml@novell.com>
11877 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11879 2006-05-09 Robert Love <rml@novell.com>
11881 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11882 private certificate passphrase, if any, in the GNOME Keyring.
11883 * libnm-utils/dbus-helpers.c: Update.
11885 2006-05-05 Dan Williams <dcbw@redhat.com>
11887 * src/nm-device-802-11-wireless.c
11888 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11889 nm_device_802_11_wireless_disable_encryption() since that's all
11890 we use it for anymore; we don't ever set WEP keys ourselves.
11891 - (real_deactivate_quickly): reset SSID and encryption keys
11892 - (real_deactivate): move SSID and encryption key reset to
11893 real_deactivate_quickly(), which gets run before us anyway
11895 2006-05-05 Robert Love <rml@novell.com>
11897 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11898 root has a wacky default of its own (or, more common, a user has a
11899 bad umask and uses su/sudo to restart NetworkManager). Anything
11900 other than 0022 does not do what we want with, for example,
11901 resolv.conf. This problem is amplified by our judicious use of
11902 fopen(), which uses mode 0666 -- implying that the only way to get
11903 the permissions we want is with a umask of 0022.
11905 2006-05-05 Dan Williams <dcbw@redhat.com>
11907 * gnome/libnm_glib/libnm_glib.c
11908 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11909 to reconnect; instead wait a bit more with each reconnect attempt
11910 up to a max of one minute.
11912 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11914 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11915 the WirelessNetwork structure using the proper function instead of
11916 just casting it directly to (const char *) (gnome.org #336991)
11918 2006-05-03 Robert Love <rml@novell.com>
11920 * src/backends/NetworkManagerSuSE.c: Respect the variable
11921 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11922 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11923 to dynamically update /etc/resolv.conf.
11925 2006-05-02 Peter Jones <pjones@redhat.com>
11927 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11929 2006-05-02 Robert Love <rml@novell.com>
11931 Patch by Timo Hoenig;
11932 * tests/nm-online.c: Print pretty status indicator as timeout winds
11933 down. Also fix possible race between DBUS startup and failure
11936 2006-05-01 Robert Love <rml@novell.com>
11938 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11941 2006-04-27 Jeremy Katz <katzj@redhat.com>
11943 * src/nm-device.c (discover_device_type): Actually use the hal
11944 device type instead of ioctl poking
11946 2006-04-26 Robert Love <rml@novell.com>
11948 * tests/nm-online.c: New file. Simple utility that returns exit status
11949 noting whether the connection is offline or online. If offline on
11950 start, it waits 30 seconds (or a command-line given value) for an
11951 online signal. If it times out, it again returns offline. This is
11952 useful for scripts that want to wait for network connections.
11954 2006-04-25 Robert Love <rml@novell.com>
11956 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11957 key mode (the authentication algorithm), e.g. open or shared, when we
11958 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11959 only shared was broken. If the user specified a shared key, set it
11960 explicitly, otherwise let wpa_supplicant go with the default.
11962 2006-04-24 Dan Williams <dcbw@redhat.com>
11964 * src/nm-device-802-11-wireless.c
11965 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11967 2006-04-24 Dan Williams <dcbw@redhat.com>
11969 Commit the async scanning patch
11971 * src/nm-device-802-11-wireless.c
11972 - get rid of scan_mutex
11973 - (wireless_event_helper): act on wireless scan events
11974 - (real_start): schedule a pending scan
11975 - (link_to_specific_ap): fake the link to the AP during a scan
11976 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11977 strength during scans
11978 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11979 nm_device_set_bitrate): unused with new scanning code, disable
11980 - (nm_device_wireless_schedule_scan): removed
11981 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11982 - (request_and_convert_scan_results): new function; retrieve scan
11983 results from the driver and schedule the processing function
11984 - (scan_results_timeout): timeout triggered when card doesn't send
11985 a scan results wireless event during a certain interval
11986 - (schedule_scan_results_timeout): new function; schedule the scan
11988 - (cancel_scan_results_timeout): new function; cancel the scan
11990 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11991 to do the scanning. Otherwise, just request a scan but don't
11992 grab results here; instead schedule a timeout for scan results and
11993 let netlink notify us of scan completion events
11994 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11995 - (cancel_pending_scan): new function; cancel a pending wireless scan
11996 - (supplicant_status_cb): ignore disconnect events while scanning
11997 - (supplicant_exec): wait a bit longer for the supplicant to start up
11998 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12000 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12002 2006-04-24 Dan Williams <dcbw@redhat.com>
12004 * gnome/applet/applet-dbus.c
12005 - Disable the pending call debug stuff, seems under control now
12007 2006-04-20 Robert Love <rml@novell.com>
12009 Fix bug where hidden ESSID's would not show up in the applet, even
12010 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12011 because nm_policy_device_list_update_from_allowed_list() would merge
12012 the data, putting a name to the hidden networks, but never notify NMI
12013 of the changes. Simple fix is to invoke the function
12014 nm_dbus_signal_wireless_network_change() if we make a mapping.
12015 * src/NetworkManagerAPList.c: Call the function
12016 nm_dbus_signal_wireless_network_change() if we made a successful
12017 BSSID to ESSID mapping, notifying the applet of the "new" network.
12018 * src/NetworkManagerAPList.h: Update the prototypes for both
12019 nm_ap_list_copy_essids_by_address() and
12020 nm_ap_list_copy_one_essid_by_address().
12022 2006-04-20 Robert Love <rml@novell.com>
12024 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12025 not set. Just return zero.
12027 2006-04-20 Robert Love <rml@novell.com>
12029 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12030 only one copy of nm-vpn-properties is running at a time via the 'ol
12031 X selection trick. This prevents the user from opening two "VPN
12032 Connections" windows from within the applet, which leads to mass
12034 * clipboard.c: New file, implementing simple X selection logic.
12035 * clipboard.h: New file.
12036 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12038 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12040 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12042 initscript/Gentoo/Makefile.am
12043 initscript/Gentoo/NetworkManagerDispatcher.in
12045 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12048 2006-04-16 Dan Williams <dcbw@redhat.com>
12050 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12052 initscript/Slackware/Makefile.am
12053 initscript/Slackware/rc.networkmanager-dispatcher.in
12054 initscript/Slackware/rc.networkmanager.in
12055 - Update slackware initscripts
12057 2006-04-10 Robert Love <rml@novell.com>
12059 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12060 the "delete_event" signal on the druid's parent window and handle it
12061 our way, lest using the WM to close the druid results in a series of
12062 bloody and ultimately lethal errors.
12064 2006-04-10 Robert Love <rml@novell.com>
12066 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12067 'Back' too or else the 'Forward' option is initially disabled despite
12070 2006-04-06 Robert Love <rml@novell.com>
12072 Fix bad but simple bug where an active modem connection did not update
12073 NM's connection state, breaking any app that did online/offline:
12074 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12075 represented whether a dial up connection is active, or not.
12076 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12077 to modem activation and deactivation.
12078 * src/NetworkManagerDbus.c: When asked our state, do not return
12079 disconnected if the modem is active.
12081 2006-04-04 Robert Love <rml@novell.com>
12083 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12084 applet. It just confuses the crap out of people and does not make a
12085 lot of sense, as the daemon still runs.
12087 2006-04-02 Tor Krill <tor@krill.nu>
12089 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12090 in start of service.
12091 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12092 get Archlinux backend up to date.
12094 2006-03-29 Robert Love <rml@novell.com>
12096 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12097 to add support for per-route MSS and improve support for per-interface
12099 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12100 optionally take an MSS parameter and set it for the given route.
12101 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12102 NMIP4Config's stored MSS, if any.
12103 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12104 the interface's MTU and the route's MSS, respectively. Add functions
12105 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12106 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12108 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12109 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12110 nm_ip4_config_set_mss.
12111 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12113 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12114 Change the retval of nm_system_get_mtu to guint32.
12115 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12116 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12117 servers can specify MTU's, we should set it here if the MTU was not
12120 2006-03-27 Jürg Billeter <j@bitron.ch>
12123 * initscript/Makefile.am:
12124 * initscript/paldo/Makefile.am:
12125 * initscript/paldo/NetworkManager.in:
12126 * initscript/paldo/NetworkManagerDispatcher.in:
12127 * src/backends/Makefile.am:
12128 * src/backends/NetworkManagerPaldo.c:
12129 - Add paldo support
12131 2006-03-27 Dan Williams <dcbw@redhat.com>
12133 Patch from Christian Persch <chpe@gnome.org>
12134 * gnome/applet/applet.glade
12135 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12137 2006-03-27 Dan Williams <dcbw@redhat.com>
12139 Patch from Diffe <diffie@blazebox.homeip.net>
12140 * src/backends/NetworkManagerSlackware.c
12141 - Don't restart howl, since it's been replaced by Avahi
12142 in most distributions
12144 2006-03-27 Dan Williams <dcbw@redhat.com>
12146 Patch from Tor Krill <bugzilla@krill.nu>
12148 initscript/Makefile.am
12149 src/backends/Makefile.am
12150 src/backends/NetworkManagerArch.c
12151 initscript/Arch/Makefile.am
12152 initscript/Arch/networkmanager-dispatcher.in
12153 initscript/Arch/networkmanager.in
12154 - Add Arch Linux support, fixes gnome.org #335147
12156 2006-03-27 Dan Williams <dcbw@redhat.com>
12158 Patch from Diffe <diffie@blazebox.homeip.net>
12159 * initscript/Slackware/rc.networkmanager
12160 - update, fixed gnome.org #333368
12162 2006-03-27 Robert Love <rml@novell.com>
12164 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12165 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12167 2006-03-27 Robert Love <rml@novell.com>
12169 Patch by Jürg Billeter <j@bitron.ch>:
12170 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12172 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12173 as we prefer glibc over kernel headers, if possible.
12175 2006-03-27 Robert Love <rml@novell.com>
12177 Patch by Jon Escombe <list@dresco.co.uk>:
12178 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12179 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12180 fail, don't bail out. We don't expect all of the various WPA-EAP
12181 values to be present.
12182 * src/nm-ap-security.c: We need to match all capabilities for each
12183 encryption type, not any one of them.
12185 2006-03-27 Robert Love <rml@novell.com>
12187 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12188 restart, not reload, ypbind. Unfortunately there is no superior
12191 2006-03-24 Christopher Aillon <caillon@redhat.com>
12193 * gnome/applet/applet-notifications.c:
12194 When displaying a notification, make sure to get rid of the
12195 previous notification so as to not have competing bubbles,
12196 and stop leaking the old one.
12198 * gnome/applet/applet.c:
12199 * gnome/applet/applet.h:
12200 Add a new 'notification' member to the applet, and zero it out
12201 and free it appropriately.
12203 2006-03-23 Robert Love <rml@novell.com>
12205 Patch by j <j@bootlab.org>:
12206 * gnome/applet/applet.glade: Don't set the invisible_char property,
12207 which simply overrides the GTK default. By and by, this behavior
12208 ought to be fixed in Glade.
12210 2006-03-22 Robert Love <rml@novell.com>
12212 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12214 2006-03-22 Robert Love <rml@novell.com>
12216 Bug fix by Timo Hoenig <thoenig@suse.de>:
12217 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12218 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12219 and the applet going AWOL.
12221 2006-03-22 Robert Love <rml@novell.com>
12223 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12224 preprocessor define and use it instead of open-coded the DHCP
12225 timeout, which is currently 25 seconds, everywhere.
12227 2006-03-22 Robert Love <rml@novell.com>
12229 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12230 key exchange via WPA, ostensibly providing good security without
12231 requiring hardware that supports full WPA. Also, add UI elements to
12232 allow the user to select the pairwise & group cipher for WPA Enterprise
12234 * gnome/applet/applet.glade: Update glade file.
12235 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12236 key type, too, to and from gconf.
12237 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12238 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12239 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12240 the capabilities match.
12241 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12243 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12244 serialize from UI to DBUS.
12245 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12247 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12248 nmu_security_serialize_wpa_eap_with_cipher(), and
12249 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12250 serialize/deserialize the key type via DBUS as the new third DBUS
12252 * libnm-util/dbus-helpers.h: Update prototypes.
12253 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12254 too. If the key type is WEP104, do Dynamic WEP, which means
12255 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12256 pairwise and group ciphers (fixes a FIXME).
12258 2006-03-21 Robert Love <rml@novell.com>
12260 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12261 nm_system_get_mtu(), which returns a user-provided or system-mandated
12262 MTU value for a given device, if any, or zero if no such value
12263 exists. Add nm_system_set_mtu() to set the MTU for a given device
12264 if we have a provided value.
12265 * src/nm-device.c: Set the MTU of devices.
12266 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12267 * src/backends/NetworkManagerDebian.c,
12268 src/backends/NetworkManagerGentoo.c,
12269 src/backends/NetworkManagerRedHat.c,
12270 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12272 2006-03-21 Robert Love <rml@novell.com>
12274 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12275 configuration file.
12277 2006-03-17 Robert Love <rml@novell.com>
12279 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12280 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12281 it, in case it is not running in the first place. We just want its
12282 configuration reloaded. Also, do not "rcypbind stop" on device down.
12284 2006-03-15 Robert Love <rml@novell.com>
12286 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12287 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12288 label "WEP 40/128-bit" is inconsistent because the physical key size
12289 is 40 or 104-bits, to which a 24-bit initialisation vector is
12290 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12291 to read "40/104" or "64/128". I do not care much which, but most
12292 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12293 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12294 WEP passphrase support only handles 128-bit keys, and any future
12295 64-bit passphrase support will require a new option (no way to auto-
12296 detect the target key size), explicitly label our passphrase support
12297 "WEP 128-bit Passphrase".
12299 2006-03-15 Robert Love <rml@novell.com>
12301 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12302 the system init scripts (or some other mechanism) starting it (or a
12303 compatible DBUS service) before NetworkManager runs. This means that
12304 distributions might need to update their init scripts. This fixes
12305 possible races and is quite a bit cleaner.
12306 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12307 starting the NetworkManager daemon.
12310 2006-03-14 Robert Love <rml@novell.com>
12312 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12313 before adding anything.
12315 2006-03-13 Robert Love <rml@novell.com>
12317 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12318 widgets, too, if they exist, in case the user hit the back button.
12319 Fixes a bug where the details page contains the widgets of multiple
12320 VPN modules (Novell bug #157048).
12322 2006-03-13 Robert Love <rml@novell.com>
12324 Patch by Timo Hoenig <thoenig@suse.de>:
12325 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12326 daemon survive DBUS restarts, too.
12328 2006-03-10 Robert Love <rml@novell.com>
12330 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12332 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12333 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12334 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12335 in response to "toggled" signal on new toggle.
12337 2006-03-10 Robert Love <rml@novell.com>
12339 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12340 serialization if strings are NULL, lest DBUS get angry.
12342 2006-03-10 Robert Love <rml@novell.com>
12344 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12346 2006-03-09 Robert Love <rml@novell.com>
12348 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12351 2006-03-09 Dan Williams <dcbw@redhat.com>
12353 Track pending call requests in the applet, and report how many are
12354 outstanding, and how long each completed one takes.
12356 * gnome/applet/applet-dbus-devices.c
12357 gnome/applet/applet-dbus-vpn.c
12358 - Track pending calls
12360 * gnome/applet/applet-dbus.[ch]
12361 - Remove some unused enums
12362 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12363 new functions to track dbus pending calls and spit out some
12364 statistics about them
12366 2006-03-09 Robert Love <rml@novell.com>
12368 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12369 nm_ap_set_timestamp() take the second and micro-second parameters as
12370 direct arguments, which avoids both a dynamic memory allocation and a
12371 structure-to-structure copy! Add a new interface, the aptly named
12372 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12373 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12374 the return from nm_ap_get_timestamp(). New users should use the new
12375 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12376 the extreme benefit to performance.
12377 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12378 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12380 2006-03-08 Robert Love <rml@novell.com>
12382 * gnome/applet/applet.glade: Hide the password entry text with
12385 2006-03-08 Robert Love <rml@novell.com>
12387 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12388 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12389 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12390 a second argument, NMData.
12391 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12392 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12393 config files as trusted.
12395 2006-03-06 Robert Love <rml@novell.com>
12397 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12398 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12399 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12400 Rivera, detect if the applet was auto-started. If so, ask the user
12401 if he or she would like to stop automatically running the applet on
12402 login. If so, disable autostart.
12404 2006-03-06 Robert Love <rml@novell.com>
12406 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12407 directory in CFLAGS so developers can actually use NetworkManager.h.
12409 2006-03-06 Robert Love <rml@novell.com>
12411 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12412 open-coded integer constants. Add state_to_string() to map a given
12413 state to a textual description, and provide that when notifying of
12415 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12416 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12417 this header directly, but it is currently not installed on most
12420 2006-03-05 Dan Williams <dcbw@redhat.com>
12422 Process netlink messages in device subclasses rather than in
12423 NetworkManager.c. Also add support for recognizing Wireless Events.
12426 - Find GLIB_GENMARSHAL
12429 - Since we're marshalling custom types for wireless event signals,
12430 we get to create our own marshallers using GLIB_GENMARSHAL
12432 * src/NetworkManager.c
12433 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12434 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12435 cut down somewhat. We no longer process signals here.
12436 - (nm_data_new): create the netlink monitor here, and remove a
12437 useless call to nm_policy_schedule_device_change_check()
12438 - (nm_data_free): get rid of the netlink monitor here
12439 - (nm_device_link_activated, nm_device_link_deactivated): removed
12440 - (main): don't create the netlink monitor here, let nm_data_new
12441 do that. Call nm_policy_schedule_device_change_check() right
12442 before we jump to the mainloop to figure out which device
12445 * src/NetworkManagerSystem.[ch]
12446 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12447 convert back and forth from interface names to interface
12450 * src/nm-device-802-11-wireless.c
12451 - (real_init): connect to wireless-event signals from the netlink
12453 - (nm_device_802_11_wireless_event): new function, schedule handler
12454 for wireless event signals from the netlink monitor object. We
12455 want the handler to run in the device's context
12456 - (wireless_event_helper): handle wireless-event signals from netlink
12457 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12460 * src/nm-device-802-11-wireless.h
12461 - remove unused prototype for nm_device_802_11_wireless_new
12463 * src/nm-device-802-3-ethernet.c
12464 - (real_init): new function; set up signal handlers for link events
12465 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12466 handler for netlink link activated events on device's main loop
12467 - (link_activated_helper): when we get a link activated event, set
12468 the device's link to be active
12469 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12470 handler for netlink link deactivated events on device's main loop
12471 - (link_deactivated_helper): when we get a link deactivated event, set
12472 the device's link to be inactive
12473 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12476 * src/nm-device-802-3-ethernet.h
12477 - remove unused prototype for nm_device_802_3_ethernet_new
12479 * src/nm-device.[ch]
12480 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12481 but locks the device list
12482 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12484 * src/nm-netlink-monitor.[ch]
12485 - (nm_netlink_monitor_class_install_signals): New signal
12487 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12489 - (nm_netlink_monitor_event_handler): expand for wireless events too
12491 * src/nm-marshal-main.c
12492 - Include generated nm-marshal.c and nm-marshal.h
12494 * src/nm-marshal.list
12495 - List of custom marshal functions
12497 2006-03-05 Dan Williams <dcbw@redhat.com>
12499 * gnome/applet/applet-notifications.h
12500 - Protect prototype of nma_send_event_notification() because it
12501 includes libnotify-specific types
12502 - Include libnotify/libnotify.h too, since we technically need it
12504 * gnome/applet/applet.c
12505 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12506 - (nma_show_vpn_login_banner_dialog): add some error checking
12508 2006-03-04 Dan Williams <dcbw@redhat.com>
12510 Clean up activation cancellation. Should be a lot faster now. Observed
12511 an issue with wireless devices between stage 2 and 3 of activation, where
12512 activation would be cancelled, but the device thread wouldn't notice until
12513 the supplicant association timed out. Reorganize activation such that
12514 a cancellation handler gets immediately scheduled in the device's thread,
12515 and devices have a chance to perform any custom cleanup too.
12517 * src/nm-device.[ch]
12518 - (activation_cancel_handler): new device-type-specific function
12519 for cleaning up device-type-specific stuff on cancellation
12520 - (cancel_activation): removed
12521 - (nm_device_activation_cancel): subsume functionality of
12522 real_cancel_activation, but instead of doing anything, punt
12523 operation to a handler that's run in device-thread context
12524 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12526 - (activation_handle_cancel_helper): cancellation handler run in
12527 device-thread context, calls device-type-specific cancelation,
12528 then tears down the activation request
12529 - (real_activation_cancel_handler): generic cancellation handler,
12530 deals with cancelling any in-process DHCP request
12531 - (nm_device_activate_stage1_device_prepare,
12532 nm_device_activate_stage2_device_config,
12533 nm_device_activate_stage3_ip_config_start,
12534 nm_device_activate_stage4_ip_config_get,
12535 nm_device_activate_stage4_ip_config_timeout,
12536 nm_device_activate_stage5_ip_commit): don't call
12537 nm_device_schedule_activation_handle_cancel() any more, since
12538 cancellation will have been already scheduled for us by
12539 nm_device_activation_cancel(). Just exit the function and
12540 assume that the cancel handler will be called next.
12542 * src/nm-device-802-3-ethernet.c
12543 - (real_act_stage2_config): remove; didn't do anything anyway
12545 * src/nm-device-802-11-wireless.c
12546 - (supplicant_status_cb): ensure we don't do anything if the activation
12548 - (real_activation_cancel_handler): implement; cancel user key request
12549 on activation cancellation
12551 2006-03-04 Dan Williams <dcbw@redhat.com>
12553 * src/nm-device-802-11-wireless.c
12554 - (supplicant_send_network_config): assume that drivers that don't
12555 support WPA pretty much suck, and can't handle NM scanning
12556 along with wpa_supplicant.
12558 2006-03-03 Robert Love <rml@novell.com>
12560 * configure.in: Bump version to 0.6.0.
12563 2006-03-03 Robert Love <rml@novell.com>
12565 * configure.in: Require DBUS 0.60 or later.
12567 2006-03-03 Dan Williams <dcbw@redhat.com>
12569 Fix a crash if an "Other wireless network" was chosen, failed, then
12570 chosen again from the applet's menu. If the other network wasn't
12571 noticed in a scan, it wouldn't have any capabilities, but would still
12572 be listed because the user forced the network. To fix this, we set
12573 sensible capabilities on the forced network, which will get overwritten
12574 with the correct ones if the network shows up later in a scan.
12576 * src/nm-ap-security.h
12577 - Add a new "get_default_capabilities_func" member to the
12580 * src/nm-ap-security.c
12581 - (nm_ap_security_get_default_capabilities): new function
12583 * src/nm-ap-security.c
12584 src/nm-ap-security-wep.c
12585 src/nm-ap-security-wpa-psk.c
12586 src/nm-ap-security-wpa-eap.c
12587 - Implement get_default_capabilities_func() for all, which
12588 uses the information contained in a specific NMAPSecurity
12589 object to determine default AP capabilites necessary
12590 to support that object
12592 As a secondary measure, we now prune artificial access points that fail
12593 to be activated right away. The thing failed, and we have no scan data for
12594 it, so it's pretty much useless since security information is only saved
12595 in the applets when a connection is successful.
12597 * src/NetworkManagerAPList.c
12598 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12599 not artificial. If we see it, it's no longer a figment of the
12600 user's imagination :)
12602 * src/NetworkManagerPolicy.c
12603 - (nm_policy_activation_failed): send along the failed AP if we
12606 * src/nm-device-802-11-wireless.c
12607 - (real_activation_failure_handler): remove artificial APs from
12608 the device list, because activation failed
12610 2006-03-02 Robert Love <rml@novell.com>
12612 Add support for retrieving both the per-device speed and the
12613 per-network maximum supported rate. Then change the getProperties
12614 DBUS API for both networks and devices to report this informaiton.
12615 Finally, display the information via both nm-applet and nm-tool:
12616 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12618 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12619 Information' dialog.
12620 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12621 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12622 network_device_get_speed() and network_device_set_speed() for
12623 retrieving and setting, respectively, a network device's current
12625 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12626 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12627 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12628 not matter (yet) what the units are, because we only feed it its own
12629 output. Implement SIOCGIRATE and set the per-network maximum
12630 supported rate during scanning.
12631 * src/nm-device-802-11-wireless.h: Export the function
12632 nm_device_802_11_wireless_get_bitrate().
12633 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12634 function nm_device_802_3_ethernet_get_speed() for returning an
12635 802.3's current speed, in Mb/s.
12636 * test/nm-tool.c: Display the per-device current speed, if available,
12637 and the per-network maximum rate.
12639 2006-03-02 Dan Williams <dcbw@redhat.com>
12641 * src/nm-device-802-11-wireless.c
12642 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12643 card when it gets initialized. Since devices don't get added to
12644 the scan list until they are initialized, this function wasn't
12645 setting the intitial scan interval correctly, and was leaving
12646 it at 0. This caused cards to get many scan requests in a short
12647 amount of time when they were initialized
12649 2006-03-02 Robert Love <rml@novell.com>
12651 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12652 active device. But do not do what we used to do and override the
12653 state, which caused the dreaded icon race of '05.
12655 2006-03-02 Robert Love <rml@novell.com>
12657 Commit Dan's update of my previous commit:
12658 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12659 set_mode() function itself does the check. But do only set the
12660 frequency if in Ad-Hoc mode.
12662 2006-03-02 Robert Love <rml@novell.com>
12664 Patch by Brian Magnuson <magnuson@rcn.com>:
12665 * src/nm-device-802-11-wireless.c: During scanning, only set the
12666 wireless mode to infrastructure if it is not currently in
12667 infrastructure mode. For some driver, setting the mode is a costly
12668 operation, apparently.
12670 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12672 * Makefile.am: use the correct dir for autostart mechanism.
12674 2006-02-28 Dan Williams <dcbw@redhat.com>
12676 Patch from Brian Magnuson <magnuson@rcn.com>
12677 * gnome/applet/applet.c
12678 - (nma_show_vpn_failure_dialog): fix errors left over from
12679 libnotify support changes
12681 2006-02-28 Dan Williams <dcbw@redhat.com>
12683 * src/vpn-manager/nm-vpn-act-request.[ch]
12684 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12686 - (nm_vpn_act_request_is_failed): new function; return whether or
12687 not the vpn activation request has failed
12689 * src/vpn-manager/nm-vpn-manager.c
12690 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12691 daemon to kill the connection when the activation request fails.
12692 Fixes issue where NM would get confused if the VPN activation
12693 request timed out, and would not allow further VPN connections
12696 2006-02-28 Dan Williams <dcbw@redhat.com>
12698 * gnome/applet/applet.c
12699 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12700 overlapping connection requests, disable all VPN menu items
12701 but the active VPN connection
12703 2006-02-28 Dan Williams <dcbw@redhat.com>
12705 * src/vpn-manager/nm-vpn-connection.c
12706 - (nm_vpn_connection_set_parent_device): fix C&P error which
12707 called g_object_unref() on the connection's parent device
12708 when it should have been ref-ed instead. Fixes crash with
12709 repeated vpn connect requests
12711 2006-02-28 Christopher Aillon <caillon@redhat.com>
12713 * gnome/applet/applet.glade:
12714 Mark a few strings non-translatable, since they shouldn't be.
12716 2006-02-28 Dan Williams <dcbw@redhat.com>
12718 * src/vpn-manager/nm-vpn-service.c
12719 - (nm_vpn_service_start_connection): if the vpn service daemon is
12720 already running, don't blindly ask it to connect, but wait until
12721 it's in the STOPPED state first. Fixes an assertion when user
12722 starts a second vpn connection without stopping the first.
12723 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12724 dbus service exists before continuing with the connection
12725 process, and reduce latency while waiting for it to become
12727 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12728 waiting for the vpn service daemon to become available
12729 - General log message cleanups; show progress via "Stage x of 4"
12730 rather than not telling anyone how many stages there are
12732 2006-02-28 Robert Love <rml@novell.com>
12734 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12735 * src/backends/NetworkManagerSuSE.c: Implement the interface
12736 nm_system_should_modify_resolv_conf() for SUSE.
12737 * src/backends/NetworkManagerDebian.c,
12738 src/backends/NetworkManagerGentoo.c,
12739 src/backends/NetworkManagerRedHat.c,
12740 src/backends/NetworkManagerSlackware.c: Add stub.
12741 * src/named-manager/Makefile.am: Grab includes from src.
12742 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12743 automatic updating of resolv.conf. This is useful for testing,
12744 broken static configurations, and administrator lock-down.
12746 2006-02-28 Dan Williams <dcbw@redhat.com>
12748 * src/nm-device-802-11-wireless.c
12749 - Move all the wpa_supplicant-related management stuff into its
12750 own struct, just for oranization's sake
12751 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12752 to a GIOChannel/GSource
12753 - (supplicant_log_stdout): new function; grab output from the
12754 wpa_supplicant stdout pipe and write it to our logs.
12756 2006-02-27 Christopher Aillon <caillon@redhat.com>
12758 * src/nm-device-802-11-wireless.c:
12759 Err, fix thinko in my previous commit.
12761 2006-02-28 Robert Love <rml@novell.com>
12763 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12765 2006-02-28 Robert Love <rml@novell.com>
12767 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12768 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12769 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12770 deserializers are responsible for freeing the returned DBUS strings.
12772 2006-02-27 Christopher Aillon <caillon@redhat.com>
12774 * src/nm-device-802-11-wireless.c:
12775 The scan list is being pruned prematurely. We should prune after
12776 the device has gone MIA for three scans, not one. Split out the
12777 interval to realtime seconds function to better serve this.
12779 2006-02-27 Robert Love <rml@novell.com>
12781 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12782 Open the pid file O_TRUNC, so if it already exists we truncate it to
12783 zero length. Also, be more verbose about warnings generated during
12784 writing out the pid file. Finally, always write out the pid file if
12785 in daemon mode. Use "--pid-file" to override the default.
12787 2006-02-27 Robert Love <rml@novell.com>
12789 Patch by R. Vinay <rvinay@novell.com>:
12790 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12791 'last_attempt_success' when removing a VPN connection, too. (Fixes
12792 Novell bug #153628).
12794 2006-02-27 Robert Love <rml@novell.com>
12796 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12797 entry so user can hit <ENTER> after entering passphrase (Novell bug
12800 2006-02-27 Dan Williams <dcbw@redhat.com>
12803 - Mass search/replace of:
12805 NMWirelessApplet -> NMApplet
12806 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12807 (it ain't just for wireless anymore, ma!)
12808 - Fix duplicate function name printing when using nm_warning
12809 - wireless-applet.glade -> applet.glade
12811 2006-02-27 Dan Williams <dcbw@redhat.com>
12813 * dispatcher-daemon/NetworkManagerDispatcher.c
12814 - Accept --pid-file with a path to a pidfile, write it out on
12815 startup, and delete it on shutdown
12817 * src/NetworkManager.c
12818 - Accept --pid-file with a path to a pidfile, write it out on
12819 startup, and delete it on shutdown
12820 - Move nm_print_usage() lower
12822 * initscripts/RedHat/NetworkManager.in
12823 - Use new --pid-file option
12824 - Fix service stopping to wait a bit for NM to quit
12826 * initscripts/RedHat/NetworkManagerDispatcher.in
12827 - Use new --pid-file option
12829 2006-02-26 Dan Williams <dcbw@redhat.com>
12832 - make and install nm-crash-logger
12834 * src/nm-logging.[ch]
12835 - New files; consolidate logging and crash handling
12837 * src/nm-crash-logger.c
12839 - Standalong crashlogger for NM, grab a backtrace
12842 * src/NetworkManager.[ch]
12843 - Remove signal handling and put it into nm-logging.c
12845 2006-02-26 Dan Williams <dcbw@redhat.com>
12848 gnome/applet/Makefile.am
12849 - Conditionalize all the notify stuff
12851 Merge most of Chris Aillon's notification patch:
12853 * gnome/applet/applet-notifications.[ch]
12854 - New files; show a notification
12856 * gnome/applet/applet-dbus-devices.[ch]
12857 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12858 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12859 new functions, do the right thing when a device change occurs
12861 * gnome/applet/applet-dbus.c
12862 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12863 signals, so we can handle them specially
12865 * gnome/applet/applet.[ch]
12866 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12867 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12868 - (nmwa_notify_state): remove
12869 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12870 notification work is now done when the appropriate dbus signals
12872 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12873 defer execution of the notification/dialog stuff. That was an
12874 artifact of the previous multi-threaded nature of the applet
12875 and is now pointless.
12876 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12877 no longer needed. Function folded into applet-notifications.c
12879 * src/NetworkManagerPolicy.c
12880 - (nm_policy_activation_finish): send the AP along with the device
12881 status change signal, if the connection is wireless. Should
12882 fix the race where applet would show a connection to "unknown"
12884 2006-02-25 Robert Love <rml@novell.com>
12886 Add WPA Enterprise support:
12887 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12888 nm-gconf-wso-wpa-eap.h.
12889 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12890 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12891 serialization and deserialization.
12892 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12893 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12894 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12895 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12896 settings related to WPA Enterprise.
12897 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12898 instantiate WPA Enterprise wireless-security-option.
12899 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12900 Implement WPA Enterprise wireless-security-option object.
12901 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12903 * libnm-util/cipher-wpa-psk-hex.c,
12904 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12905 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12906 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12907 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12908 including the cipher to DBUS method, and
12909 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12911 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12912 nm-ap-security-wpa-eap.h
12913 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12914 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12915 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12916 files. Implement NMAPSecurityWPA_EAP object.
12917 * src/nm-ap-security-wpa-psk.c: Cleanup.
12918 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12919 an NMAPSecurityWPA_EAP object via the method
12920 nm_ap_security_wpa_eap_new_deserialize().
12921 * src/nm-dbus-nm.c: Cleanup.
12922 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12923 WPA Enterprise support.
12925 2006-02-24 Robert Love <rml@novell.com>
12927 Patch from Timo Hoenig <thoenig@suse.de>:
12928 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12930 2006-02-24 Robert Love <rml@novell.com>
12932 Patch from Dan Winship <danw@novell.com>:
12933 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12934 area to transparent.
12936 2006-02-21 Dan Williams <dcbw@redhat.com>
12938 * gnome/applet/applet.[ch]
12939 gnome/applet/applet-dbus.c
12940 - Implement notification support for VPN messages too
12942 2006-02-21 Dan Williams <dcbw@redhat.com>
12944 * gnome/applet/applet-dbus-info.c
12945 - Clean up warning messages to not double-print the function
12947 2006-02-21 Dan Williams <dcbw@redhat.com>
12949 * gnome/applet/applet-compat.c
12950 - (convert_one_entry): accept entries without a key_type and
12951 convert them to unencrypted networks
12953 2006-02-21 Dan Williams <dcbw@redhat.com>
12955 * gnome/libnm_glib/libnm_glib.c
12956 - Use __func__ everywhere we can
12958 - Use dbus pending calls rather than blocking
12959 - Reduce busywaits for our thread to start and stop
12960 (gnome.org #330562)
12961 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12962 stomp on others using the default shared dbus connection.
12963 Fixes #rh177546# and gnome.org #326572
12965 2006-02-21 Dan Williams <dcbw@redhat.com>
12967 Patch from Rodney Dawes <dobey@novell.com>
12969 gnome/applet/Makefile.am
12970 gnome/applet/applet.c
12971 - Add libnotify support if '--enable-notify=yes' is passed
12974 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12976 * configure.in (ALL_LINGUAS): ko added. (Korean)
12978 2006-02-15 Robert Love <rml@novell.com>
12980 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12981 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12982 and WPA_SUPPLICANT_CONTROL_SOCKET.
12984 2006-02-15 Robert Love <rml@novell.com>
12986 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12987 information about what connection stage we are at, provide the total
12988 number of stages, e.g. "Stage 2 of 5", so users know how far along
12989 they are if they experience problems.
12991 2006-02-15 Robert Love <rml@novell.com>
12993 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12994 define to $sysconfdir.
12995 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12996 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12997 type of VPN and then editing another results in a mangled dialog
12998 box containing the widgets from both VPNs (fixes Novell #150854).
12999 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13001 2006-02-14 Robert Love <rml@novell.com>
13003 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13004 syslog's file descriptor.
13006 2006-02-14 Robert Love <rml@novell.com>
13008 Fix bug around since the change to "deal with APs changing settings on
13009 us," checked in on the fifth of February in the year of the dog,
13010 wherein connecting to non-broadcast encrypted networks always fails
13011 because nm_ap_get_encrypted() always returns FALSE, even when the user
13012 provided a key, because the newly-created fake AP does not have any
13013 capabilities set, which is a sypmtom of security settings not matching
13014 capabilities (Novell bug #150784):
13015 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13016 nm_ap_add_capabilities_from_security(), which sets the given AP's
13017 capabilities off the given security settings. Also improve our
13018 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13019 NM_AUTH_CIPHER_AUTO.
13020 * src/nm-device-802-11-wireless.c: Call the function
13021 nm_ap_add_capabilities_from_security() to ensure that capabilities
13022 match newly updated security settings.
13024 2006-02-14 Robert Love <rml@novell.com>
13026 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13027 error as a string, not an integer, if possible; do not print the
13028 function name twice; always give the interface, if possible; misc.
13031 2006-02-12 Dan Williams <dcbw@redhat.com>
13033 Patch from Tom Parker <palfrey@tevp.net>
13034 * src/NetworkManagerSystem.h
13035 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13038 * src/backends/NetworkManagerDebian.c
13039 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13042 2006-02-12 Dan Williams <dcbw@redhat.com>
13044 * vpn-daemons/openvpn/intltool-extract.in
13045 vpn-daemons/openvpn/intltool-merge.in
13046 vpn-daemons/openvpn/intltool-update.in
13047 vpn-daemons/pptp/intltool-extract.in
13048 vpn-daemons/pptp/intltool-merge.in
13049 vpn-daemons/pptp/intltool-update.in
13050 - Remove from CVS, they should get created by intltoolize,
13053 2006-02-12 Dan Williams <dcbw@redhat.com>
13055 * vpn-daemons/pptp/src/pppd/patchlevel.h
13056 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13057 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13058 Makefile-defined VERSION
13060 2006-02-09 Dan Williams <dcbw@redhat.com>
13062 Patch from: Vinay A R <rvinay@novell.com>
13063 * src/vpn-manager/nm-vpn-act-request.[ch]
13064 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13065 IPSec VPNs require them for std gateway.
13066 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13067 and 'user_routes_count'
13068 - (nm_vpn_act_request_get_user_routes): new function; gets user
13069 defined routes from NMVPNActRequest object, returns the string
13072 * src/vpn-manager/nm-vpn-manager.[ch]
13073 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13074 for 'user_routes' and 'user_routes_count'
13076 * src/vpn-manager/nm-dbus-vpn.c
13077 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13078 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13080 * src/vpn-manager/nm-vpn-service.c
13081 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13084 Modifications by Dan:
13085 * src/vpn-manager/nm-vpn-service.c
13086 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13089 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13090 * vpn-daemons/pptp/src/nm-pptp-service.c
13091 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13092 - Grab user routes from dbus message
13093 - Free all string arrays we got from dbus
13095 2006-02-07 Robert Love <rml@novell.com>
13097 Patch by Stefan Seyfried <seife@suse.de>:
13098 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13100 2006-02-06 Robert Love <rml@novell.com>
13102 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13104 2006-02-06 Robert Love <rml@novell.com>
13106 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13107 test ">=" is never false. If no newline is found, we loop forever.
13108 We can just check for ">" because the following if() will see the
13109 zero-th argument if the while() gets that far.
13111 2006-02-05 Dan Williams <dcbw@redhat.com>
13113 Refine handling of non-broadcast networks.
13115 * src/NetworkManagerAPList.c
13116 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13117 property from scanned AP to the AP from the device list
13119 * src/nm-device-802-11-wireless.c
13120 - (supplicant_send_network_config): use ap_scan=1 for all networks
13121 except non-SSID-broadcasting and Ad-Hoc networks. Use
13122 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13123 networks since those don't have APs.
13124 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13125 AP as non-SSID-broadcasting
13126 - (process_scan_results): don't handle non-SSID-broadcasting here
13128 2006-02-05 Dan Williams <dcbw@redhat.com>
13130 * src/nm-device-802-11-wireless.c
13131 - (get_supplicant_timeout): new function; return
13132 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13133 14 channels. These are likely a/b/g cards, like Atheros, and
13134 slow as hell to scan.
13135 - (supplicant_timeout_cb, supplicant_monitor_start): use
13136 get_supplicant_timeout()
13138 2006-02-05 Dan Williams <dcbw@redhat.com>
13140 * src/dhcp-manager/nm-dhcp-manager.c
13141 - Loose a commit race with Robert; make sure size check
13142 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13144 2006-02-05 Robert Love <rml@novell.com>
13146 Patch by Christoph Brill <chrisbrill@gmx.net>:
13147 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13148 with DHCP_SERVICE_NAME.
13150 2006-02-05 Dan Williams <dcbw@redhat.com>
13152 Remove anything having to do with device_setup_func from the
13153 AP security objects, since it's no longer used.
13155 * src/nm-ap-security.h
13156 - Kill device_setup_func and nm_ap_security_device_setup()
13158 * src/nm-ap-security-wep.c
13159 src/nm-ap-security-wpa-psk.c
13160 - (real_device_setup): remove
13162 * src/nm-ap-security.c
13163 - (real_device_setup): remove
13164 - (nm_ap_security_device_setup): remove
13166 * src/nm-device-802-11-wireless.[ch]
13167 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13168 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13169 and done by wpa_supplicant now anyway
13171 2006-02-05 Dan Williams <dcbw@redhat.com>
13173 * src/nm-device-802-11-wireless.c
13174 - (ap_need_key, real_act_stage2_config): deal with APs changing
13175 settings on us. Previously NM would loop asking for the
13176 key but getting the same one back. Now, if the NMI-supplied
13177 cipher doesn't overlap with the scanned AP capabilities,
13178 we request a completely new key from the user.
13180 2006-02-05 Dan Williams <dcbw@redhat.com>
13182 * src/NetworkManagerUtils.c
13183 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13184 Handle newline killing better
13186 2006-02-05 Dan Williams <dcbw@redhat.com>
13188 * gnome/applet/nm-gconf-wso.c
13189 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13190 of unencrypted access point security info.
13192 2006-02-03 Robert Love <rml@novell.com>
13194 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13195 user's encryption key, so we print the err_msg_cmd not the command,
13196 if available. So long as SUPPLICANT_DEBUG is default, this makes
13199 2006-02-03 Christopher Aillon <caillon@redhat.com>
13201 * initscript/RedHat/NetworkManagerDispatcher.in:
13202 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13203 Patch from Dan Walsh <dwalsh@redhat.com>
13205 2006-02-03 Robert Love <rml@novell.com>
13207 * dispatcher-daemon/NetworkManagerDispatcher.c,
13208 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13209 but use the sysconfdir.
13211 2006-02-03 Robert Love <rml@novell.com>
13213 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13214 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13216 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13217 nm_ip4_config_get_hostname() and
13218 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13219 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13220 leak g_strdup() result.
13222 2006-02-03 Robert Love <rml@novell.com>
13224 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13225 broadcast == TRUE. Also, copy broadcast and artificial properties
13226 from source network to destination in nm_ap_copy().
13227 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13228 since we now default new networks to non-hidden.
13230 2006-02-03 Dan Williams <dcbw@redhat.com>
13232 * gnome/applet/main.c
13233 - (main): change the NEVER->ALWAYS so we start at the
13234 beginning of the session, if being session-managed
13236 2006-02-03 Dan Williams <dcbw@redhat.com>
13238 * gnome/applet/main.c
13239 - (main): in a variation on Robert's patch, change
13240 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13243 2006-02-02 Robert Love <rml@novell.com>
13245 * src/Makefile.am: If we aren't going to create the run directory at,
13246 uh, run-time, create it during install. Then users just doing
13247 'make install' are cool, too. While we are here, create the
13248 dispatcher.d directory, too.
13249 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13250 the exact run directory.
13251 * Makefile.am: Install nm-applet.desktop.
13253 2006-02-02 Robert Love <rml@novell.com>
13255 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13256 structure, which denotes whether or not the AP is hidden. This is a
13257 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13258 can show up in the scan list. Add nm_ap_get_broadcast() and
13259 nm_ap_set_broadcast() accessor interfaces.
13260 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13261 nm_ap_set_broadcast().
13262 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13263 "getProperties" method, which denotes whether or not the given
13265 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13266 an artificial network. Set broadcast to TRUE when scanning returns
13267 an ESSID and FALSE when not.
13268 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13269 from "getProperties" method on a network. Possible TODO is to
13270 somehow display this.
13271 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13273 2006-02-02 Dan Williams <dcbw@redhat.com>
13275 * src/nm-device-802-11-wireless.c
13276 - (supplicant_interface_init): don't try to create
13277 /var/run/NetworkManager, since that should be done by
13278 the distro package. Causes problems for stuff like SELinux
13280 2006-02-02 Robert Love <rml@novell.com>
13282 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13283 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13284 Check for and handle empty string for iface.
13286 2006-02-01 Robert Love <rml@novell.com>
13288 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13291 2006-01-31 Dan Williams <dcbw@redhat.com>
13293 * nm-applet.desktop
13294 - Add --sm-disable to Exec arguments, presuming that when
13295 using autostart, we don't want session management
13297 2006-01-31 Robert Love <rml@novell.com>
13299 * src/NetworkManagerAP.c: Add two new manufacturer default network
13300 names: linksys-a and linksys-g. These are found (at least) on the
13301 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13304 2006-01-31 Robert Love <rml@novell.com>
13306 * src/NetworkManagerAP.c: Optimize the function
13307 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13308 machine code. This is the first in a series of code tweaks aiming to
13309 generate better machine code and make NetworkManager all the better.
13310 Just kidding. Who has time to go through the assembly generated for
13311 every function? I certainly don't. I have a wife, a kid, a job,
13312 a mortgage, a mistress. But this function was so bad, I was called
13313 to arms. Like the book.
13315 2006-01-31 Robert Love <rml@novell.com>
13317 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13318 AP is not broadcasting, to scan with probe request frames. Required
13319 for non-broadcast networks.
13321 2006-01-31 Robert Love <rml@novell.com>
13323 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13324 preprocessor define (still 20s). Fix message text in nm_info()
13325 s/too too/took too/.
13327 2006-01-30 Dan Williams <dcbw@redhat.com>
13329 * src/nm-device-802-11-wireless.c
13330 - (supplicant_monitor_start): increase connect/auth timeout to
13331 20 seconds from 10 seconds
13333 2006-01-30 Dan Williams <dcbw@redhat.com>
13336 - Define LOCALSTATEDIR
13338 * src/nm-device-802-11-wireless.c
13339 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13340 socket where we want it to
13342 * src/wpa_ctrl.[ch]
13343 - (wpa_ctrl_open): accept location to put local control socket
13345 2006-01-30 Robert Love <rml@novell.com>
13347 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13348 get_ip4_string() for "domain_name".
13350 2006-01-30 Robert Love <rml@novell.com>
13352 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13353 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13354 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13355 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13356 support for "Automatic" pairwise and group cipher configuration by
13357 letting wpa_supplicant handle the details. Add UI elements, new
13358 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13359 charm. Note this does more than add a nice feature, it fixes a bug.
13360 Apparently, some people have AP's where the pairwise cipher does not
13361 match the group cipher. Insane, but true.
13363 2006-01-30 Dan Williams <dcbw@redhat.com>
13365 * gnome/applet/applet-dbus-devices.c
13366 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13367 functions, grab device driver name from NetworkManager
13368 - (nmwa_dbus_device_properties_cb): call functions to get driver
13370 * gnome/applet/applet.c
13371 - (nmwa_update_info): show driver name in Connection Information
13374 * gnome/applet/nm-device.[ch]
13375 - (network_device_get_driver, network_device_set_driver): add
13376 accessors for driver name
13378 * gnome/applet/wireless-applet.glade
13379 - Add line for driver name to Connection Information dialog
13381 * src/nm-dbus-device.c
13382 - (nm_dbus_device_get_driver): new function to return driver name
13383 - (nm_dbus_device_methods): hook up driver name function to dbus
13386 - (get_driver_name): new function
13387 - (detail_device): grab and show driver name
13389 2006-01-30 Robert Love <rml@novell.com>
13391 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13392 does not parse the markup if it is not part of the format.
13394 2006-01-30 Robert Love <rml@novell.com>
13396 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13397 FALSE, we have no security options for this dialog, so we throw up
13398 an error dialog instead of a broken passphrase dialog. Fixes
13400 * gnome/applet/wireless-security-manager.c,
13401 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13402 does not add any security options, not even NONE, print a warning
13403 and return FALSE. This let's functions constructing a dialog bail
13404 out if the device's capabilities and the network's requirements have
13407 2006-01-27 Robert Love <rml@novell.com>
13409 * configure.in: Require wpa_supplicant. Detect location of binary and
13410 use it. Override with "--with-wpa_supplicant=foo".
13411 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13412 path to wpa_supplicant but use the auto-detected or user-provided
13413 value from configure.
13415 2006-01-27 Robert Love <rml@novell.com>
13417 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13418 but the DHCP server did not return a hostname, try to look up our
13419 name via DNS and set the system hostname to that.
13421 2006-01-27 Dan Williams <dcbw@redhat.com>
13423 * src/backends/NetworkManagerRedHat.c
13424 - Add NM_CONTROLLED system network script support for RH/Fedora
13426 2006-01-27 Dan Williams <dcbw@redhat.com>
13428 * src/backends/NetworkManagerGentoo.c
13429 - (nm_system_device_get_disabled): add missing function.
13432 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13434 * configure.in: Added vi in ALL_LINGUAS line.
13436 2006-01-26 Robert Love <rml@novell.com>
13438 * src/Makefile.am, src/kernel-types.h: Now that two different source
13439 files are feeling the crack-addled leakage of kernel types such as
13440 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13441 types in user-space -- define a header and include it as needed.
13442 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13443 * src/nm-device-802-3-ethernet.h: Remove defines.
13444 * src/wpa.c: Remove defines and include kernel-types.h.
13446 2006-01-26 Robert Love <rml@novell.com>
13448 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13451 2006-01-26 Robert Love <rml@novell.com>
13453 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13454 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13455 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13456 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13457 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13458 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13459 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13460 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13461 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13462 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13463 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13464 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13465 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13466 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13467 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13468 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13469 Kill unused variables, labels, and static functions. Don't pass
13470 string literals as the format string for printf-like functions.
13472 2006-01-25 Dan Williams <dcbw@redhat.com>
13474 * gnome/applet/wireless-applet.glade
13475 - Remove WPA2 Checkbox
13477 * gnome/applet/wireless-security-manager.c
13478 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13479 This means the Wireless Security menu now has two WPA options,
13480 one for "WPA Personal" and one for "WPA2 Personal"
13482 * gnome/applet/wso-wpa-psk.[ch]
13483 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13484 'wpa2' argument to determine WPA version to use
13485 - (append_dbus_params_func): pass stored WPA version to cipher
13486 rather than using the (removed) checkbox
13488 2006-01-24 Robert Love <rml@novell.com>
13490 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13491 before we g_strdup(), not the ultimate string.
13493 2006-01-23 Dan Williams <dcbw@redhat.com>
13495 * src/NetworkManagerAP.[ch]
13496 - (nm_ap_new_from_ap): copy original essid too
13497 - (nm_ap_unref): free original essid
13498 - (nm_ap_get_orig_essid): new function
13499 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13500 but keep original essid around too
13502 * src/nm-device-802-11-wireless.c
13503 - (supplicant_send_network_config): send wpa_supplicant the
13504 _original_ essid, and not as a string, but in hex. Should
13505 allow us to connect to more APs that use wierd character
13506 encodings for their essids
13508 * utils/nm-utils.[ch]
13509 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13510 to UTF-8. If it's not already valid UTF-8, we check LANG and
13511 use the current locale as a hint for what encoding the essid
13512 might be in. Obviously not 100% accurate, but the idea here is
13513 that if a user's locale is ex. ja_JP, they are more likely than
13514 not to be in Japan, where access points will likely be in some
13517 2006-01-23 Dan Williams <dcbw@redhat.com>
13519 * libnm-util/cipher-private.h
13520 libnm-util/cipher.c
13521 libnm-util/cipher.h
13522 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13524 2006-01-23 Robert Love <rml@novell.com>
13526 Patch by Timo Hoenig <thoenig@suse.de>:
13527 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13528 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13529 by DHCP and pass it to the backends, allowing distribution-specific
13530 behavior with respect to the DHCP-supplied hostname (if nothing else,
13531 some distributions might not want to set the hostname).
13532 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13533 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13534 Also update our NIS behavior.
13535 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13536 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13537 Add stub functions.
13539 2006-01-23 Robert Love <rml@novell.com>
13541 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13542 gnome-session does autostart. TODO: We need to install this to
13543 $prefix/share/autostart/.
13545 2006-01-22 Dan Williams <dcbw@redhat.com>
13547 * src/NetworkManagerAP.[ch]
13549 src/nm-device-802-11-wireless.c
13550 - Make nm_ap_get_essid return "const char *"
13552 2006-01-22 Dan Williams <dcbw@redhat.com>
13554 * src/NetworkManagerAP.[ch]
13555 - (nm_ap_get_matched, nm_ap_set_matched): remove
13557 * src/NetworkManagerAPList.[ch]
13558 - (nm_ap_list_diff): removed
13559 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13560 deal with access points changing essids on us
13562 * src/nm-device-802-11-wireless.c
13563 - (add_new_ap_to_device_list): move AP dbus signal logic to
13564 src/NetworkManagerAPList.c
13565 - (real_can_interrupt_activation): new function; allow interruption
13566 of device activation if we are waiting for a network key
13568 * src/NetworkManagerPolicy.c
13569 - (nm_policy_device_change_check): allow interruption of currently
13570 activating devices if the device allows it. Previous behavior
13571 would refuse to activate a just-plugged wired device if a
13572 wireless device was waiting for a key.
13574 * src/nm-device.[ch]
13575 - (nm_device_can_interrupt_activation): new function; ask devices
13576 whether their activation can be interrupted
13578 2006-01-20 Robert Love <rml@novell.com>
13580 * Makefile.am, configure.in: Add new man subdirectory.
13581 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13582 man/Makefile.am: Add man pages for NetworkManager and its
13583 crime-solving bumbling buddy, NetworkManagerDispatcher.
13584 * man/.cvsignore: Add.
13585 * initscript/Debian/NetworkManager,
13586 initscript/Gentoo/NetworkManager.in,
13587 initscript/RedHat/NetworkManager.in,
13588 initscript/RedHat/NetworkManagerDispatcher.in,
13589 initscript/SUSE/networkmanager-dispatcher.in,
13590 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13592 2006-01-20 Robert Love <rml@novell.com>
13594 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13595 instead of queuing. This prevents the running of multiple NM
13596 daemons concurrently, which does not work whatsoever and results in
13597 neither daemon working correctly. Also, we don't handle queuing and
13598 name-owner-changes, anyhow.
13600 2006-01-20 Robert Love <rml@novell.com>
13602 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13603 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13606 2006-01-19 Robert Love <rml@novell.com>
13608 * configure.in: Require hal 0.5.0 or later.
13610 2006-01-18 Robert Love <rml@novell.com>
13612 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13613 Allow backends to flag a device (in whatever distro-dependent way
13614 they so desire) as disabled. NM will ignore any such device.
13615 * src/backends/NetworkManagerDebian.c,
13616 src/backends/NetworkManagerRedHat.c,
13617 src/backends/NetworkManagerSlackware.c: Add stub function
13618 nm_system_device_get_disabled() that always returns FALSE (enabled).
13619 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13620 SUSE-specific configuration structure. Fill it in from the
13621 NM_CONTROLLED variable in the system networking scripts. If this var
13622 exists and is "no", we ignore the device.
13624 2006-01-17 Robert Love <rml@novell.com>
13626 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13627 identical for NM. For a full discussion, see the thread at
13628 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13630 2006-01-17 Dan Williams <dcbw@redhat.com>
13633 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13634 function. Fixes crash when wired DHCP fails.
13636 2006-01-16 Robert Love <rml@novell.com>
13638 * src/Makefile.am: Don't install NMLoadModules
13639 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13640 from src/ to test/ as no one uses it anymore. Note that I would be
13641 fine with removing it altogether.
13643 2006-01-16 Robert Love <rml@novell.com>
13645 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13646 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13647 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13648 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13649 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13650 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13651 declarations, ever.
13652 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13653 NM_STATE_DISCONNECTED is zero).
13655 2006-01-16 Robert Love <rml@novell.com>
13657 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13658 uninitialized parameter and buffer overflow. Novell #143496.
13660 2006-01-16 Dan Williams <dcbw@redhat.com>
13662 Apply the PtP Address bits of a patch from Tim Niemueller
13664 * src/nm-ip4-config.[ch]
13665 - Add ip4_ptp_address member to object
13666 - (nm_ip4_config_copy): copy ptp address too
13667 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13669 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13670 rather than local tunnel ip address
13672 * src/vpn-manager/nm-vpn-service.c
13673 - (print_vpn_config): update for PtP address
13674 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13675 DBusMessageIters in preparation for getting routes from the VPN
13676 service daemons too
13678 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13679 - (send_config_info): update for PtP address, clean up code
13680 - (main): update for PtP address, clean up code, fix typo
13682 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13683 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13685 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13686 - (pptp_ip_up): update for PtP address
13688 * vpn-daemons/pptp/src/nm-pptp-service.c
13689 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13691 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13692 - (print_vpn_config): update for PtP address
13693 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13695 2006-01-16 Dan Williams <dcbw@redhat.com>
13697 * gnome/applet/applet.c
13698 - (nmwa_add_networks_helper): don't indicate an active network
13699 if NM is disconnected or asleep
13701 2006-01-16 Dan Williams <dcbw@redhat.com>
13703 * src/NetworkManagerPolicy.c
13704 - (nm_policy_device_change_check): switch devices if we lose the link
13705 on an ethernet device.
13707 2006-01-16 Dan Williams <dcbw@redhat.com>
13709 * gnome/applet/wso-wpa-psk-hex.[ch]
13710 - Renamed -> wso-wpa-psk.[ch]
13712 * gnome/applet/wso-wpa-psk.[ch]
13715 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13716 - Removed, rolled into wso-wpa-psk.[ch]
13718 * gnome/applet/Makefile.am
13719 - Updated for above changes
13721 * gnome/applet/wireless-applet.glade
13722 - Consolidate WPA-PSK options into one notebook
13723 widget, and make dialogs invisible by default
13724 to fix screen oddities
13726 * gnome/applet/wireless-security-manager.c
13727 - (wsm_set_capabilities): create the new wpa-psk widget rather
13728 than both the old hex & passphrase ones
13730 2006-01-16 Dan Williams <dcbw@redhat.com>
13732 * gnome/applet/other-network-dialog.c
13733 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13735 2006-01-16 Dan Williams <dcbw@redhat.com>
13737 * gnome/applet/applet.c
13738 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13739 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13740 prevention to realize window before trying to get server
13743 * gnome/applet/other-network-dialog.c
13744 - (nmwa_other_network_dialog_run): fix up focus-stealing
13745 prevention to realize window before trying to get server
13748 * gnome/applet/passphrase-dialog.c
13749 - (nmi_passphrase_dialog_new): fix up focus-stealing
13750 prevention to realize window before trying to get server
13753 2006-01-16 Robert Love <rml@novell.com>
13755 Patch from Timo Hoenig <thoenig@suse.de:
13756 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13757 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13758 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13759 libnm-util/dbus-helpers.h: add checks whether headers are used
13760 within a C++ build.
13762 2006-01-16 Dan Williams <dcbw@redhat.com>
13764 * gnome/applet/wireless-security-option.c
13765 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13767 2006-01-16 Dan Williams <dcbw@redhat.com>
13769 * libnm-util/cipher-wpa-psk-passphrase.c
13770 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13771 be 8 - 63 characters inclusive
13773 2006-01-16 Dan Williams <dcbw@redhat.com>
13776 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13778 2006-01-13 Robert Love <rml@novell.com>
13780 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13781 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13782 modules that do not use an interface.
13784 2006-01-13 Dan Williams <dcbw@redhat.com>
13788 - Allow subclasses to implement deactivate_quickly()
13789 - (nm_device_deactivate_quickly): call subclass
13790 deactivate_quickly() methods
13791 - (nm_device_set_active_link): small cleanups, and don't
13792 deactivate the device right away because we risk a deadlock
13793 when called from device thread, waiting for the device
13794 thread to cancel activation
13796 * src/nm-device-802-11-wireless.c
13797 - (real_deactivate_quickly): new function
13798 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13799 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13800 so that we kill the supplicant when we sleep too
13801 - (supplicant_interface_init): work around naive naming attempts of
13802 wpa_ctrl when naming sockets
13804 2006-01-13 Dan Williams <dcbw@redhat.com>
13806 * src/nm-device-802-11-wireless.c
13807 - (supplicant_cleanup): delete old device control sockets too
13808 - (supplicant_get_device_socket_path): new function to consolidate
13809 locations that need a path to a device's control socket
13811 2006-01-12 Robert Love <rml@novell.com>
13813 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13814 description so that the description is unique for each
13815 pair (device,provider). Fixes Novell #142773.
13817 2006-01-12 Dan Williams <dcbw@redhat.com>
13819 * src/nm-device-802-11-wireless.c
13820 - (supplicant_exec): ensure GError is correctly initialized
13821 Reported by Diego González (gnome.org #326708)
13823 2006-01-11 Robert Love <rml@novell.com>
13825 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13826 define if_mii(), open code the same results, and do so without any
13829 2006-01-11 Robert Love <rml@novell.com>
13831 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13832 that wso_foo_new() returned non-NULL. Instead, only append the new
13833 wso to wsm->options if the wso is non-NULL. The crux is that we
13834 assume that the relevant key types are implied by WEP and WPA as
13835 appropriate. To be sure, they should be, but we should not expect
13836 drivers to not be oozing piles of wolf fecal matter.
13838 2006-01-11 Robert Love <rml@novell.com>
13840 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13841 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13842 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13843 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13844 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13845 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13846 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13847 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13848 comparing values within DBL_EPSILON. Also fix shadowed variable
13851 2006-01-11 Dan Williams <dcbw@redhat.com>
13853 Add options for WPA2 and WPA1+CCMP (AES).
13855 * gnome/applet/wireless-applet.glade
13856 - Add UI bits for WPA+CCMP
13858 * gnome/applet/other-network-dialog.c
13859 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13860 and don't allow creation of WPA2 Ad-Hoc networks since
13861 wpa_supplicant doesn't support them
13863 * gnome/applet/wireless-security-manager.c
13864 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13865 on to the specific wireless security option being created
13867 * gnome/applet/wireless-security-option.[ch]
13868 - (wso_wpa_create_key_type_model): new utility function to create
13869 the model required for WPA Key Type combo box
13871 * gnome/applet/wso-private.h
13872 gnome/applet/wireless-security-option.h
13873 - Move private function prototypes into wso-private.h
13875 * gnome/applet/wso-wpa-psk-hex.[ch]
13876 gnome/applet/wso-wpa-psk-passphrase.[ch]
13877 - (append_dbus_params_func): get WPA version from checkbox and pass
13878 it to the dbus serialization helper
13879 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13880 key type combo changes
13881 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13884 * libnm-util/cipher-wpa-psk-hex.c
13885 libnm-util/cipher-wpa-psk-passphrase.c
13886 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13887 new function; allow the cipher to be changed after object creation
13889 * src/nm-ap-security-wpa-psk.c
13890 - (set_description): Do WPA2 descriptions too
13892 * src/nm-ap-security.c
13893 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13895 2006-01-11 Robert Love <rml@novell.com>
13897 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13898 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13899 from the ifreq structure in lieu of an open coded solution. Removes
13900 a life-threatening type-punning.
13901 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13902 types, ever, whatsoever, baby.
13904 2006-01-11 Robert Love <rml@novell.com>
13906 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13907 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13908 assignments to applet->nm_state into a new nmwa_set_state() function
13909 for both cleanliness and to help debugging.
13911 2006-01-10 Robert Love <rml@novell.com>
13913 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13914 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13915 seconds, exclusive. That is, we want to sleep x seconds such that
13918 2006-01-10 Robert Love <rml@novell.com>
13920 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13921 the attr fields according to the example in the email available at
13922 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13923 Conversely, we do have to free 'name', so we do so, fixing a leak.
13925 2006-01-10 Robert Love <rml@novell.com>
13927 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13928 sure that we close the socket!
13930 2006-01-10 Robert Love <rml@novell.com>
13932 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13933 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13934 src/nm-device.c: Fix a FIXME! Reimplement the function
13935 nm_device_update_hw_address() in device subclass variants,
13936 nm_device_802_3_ethernet_set_address() and
13937 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13938 This fixes the existing bug where MAC addresses are all zeros.
13940 2006-01-10 Robert Love <rml@novell.com>
13942 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13943 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13944 option to give users ability to globally disconnect and put NM to
13945 sleep. This is useful as a 'lockdown mode' for flying, security, and
13948 2006-01-09 Robert Love <rml@novell.com>
13950 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13951 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13952 User-space does not supply these types, so we have to define them
13953 ourselves. The relevant kernel maintainer refused to accept a patch
13954 switching these headers to the proper C99 types.
13956 2006-01-09 Dan Williams <dcbw@redhat.com>
13958 Apply Robert's 'tray icon redo' patch with fixes
13959 * gnome/applet/applet.c
13960 gnome/applet/applet.h
13961 - Instead of using a menu bar + menu item, simulate menu
13962 behavior using a popup menu. Highlight the area around
13963 the icon more like a menu too, by playing with the
13964 applet's size requisition
13966 2006-01-09 Timo Hoenig <thoenig@suse.de>
13967 * libnm-util/dbus-helpers.c
13968 libnm-util/dbus-helpers.h
13969 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13970 to 'exception_namespace' (:namespace is a keyword in
13973 2006-01-09 Dan Williams <dcbw@redhat.com>
13975 * src/NetworkManagerPolicy.c
13976 - (nm_policy_device_change_check): don't autoswitch away from
13977 Ad-Hoc networks, since there's really no concept of
13981 - (nm_dbus_nm_create_wireless_network): mark created networks
13984 * src/nm-device-802-11-wireless.c
13985 - (real_activation_success_handler): add user-created Ad-Hoc
13986 networks to the device's scan list
13988 2006-01-08 Dan Williams <dcbw@redhat.com>
13990 We now require a patch for wpa_supplicant to support Ad-Hoc
13992 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13994 * src/nm-device-802-11-wireless.c
13995 - (supplicant_send_network_config): turn off wpa_supplicant's
13996 scanning. Fixes Ad-Hoc networks.
13998 2006-01-08 Dan Williams <dcbw@redhat.com>
14000 * src/nm-ap-security.c
14001 src/nm-ap-security.h
14002 - Add a user_created argument to the write_supplicant_config
14005 * src/nm-ap-security-wep.c
14006 src/nm-ap-security-wpa-psk.c
14007 src/nm-device-802-11-wireless.c
14008 - Make Ad-Hoc mode somewhat work, at least write the
14009 correct options to wpa_supplicant
14011 2006-01-08 Dan Williams <dcbw@redhat.com>
14013 * src/nm-device-802-11-wireless.c
14014 - Remove unused code from the old device activation path
14016 2006-01-08 Dan Williams <dcbw@redhat.com>
14018 * libnm-util/dbus-helpers.c
14019 - (nmu_security_serialize_wpa_psk): pass a blank key through
14020 dbus when key == NULL
14022 2006-01-08 Dan Williams <dcbw@redhat.com>
14024 * gnome/applet/nm-gconf-wso-wpa-psk.c
14025 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14026 correct arguments to nmu_security_deserialize_wpa_psk()
14028 * src/nm-ap-security-wpa-psk.c
14029 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14030 arguments to nmu_security_deserialize_wpa_psk()
14032 2006-01-08 Dan Williams <dcbw@redhat.com>
14034 * gnome/applet/wso-wpa-psk-hex.c
14035 gnome/applet/wso-wpa-psk-passphrase.c
14036 - Hook up the append_dbus_params_func() function
14038 2006-01-08 Dan Williams <dcbw@redhat.com>
14040 * src/nm-device-802-11-wireless.c
14041 - (get_wireless_capabilities): correctly detect driver WPA
14044 2006-01-08 Dan Williams <dcbw@redhat.com>
14046 * gnome/applet/Makefile.am
14047 gnome/applet/wso-wpa-psk-hex.c
14048 gnome/applet/wso-wpa-psk-hex.h
14049 - New files, implement WPA-PSK Hex key input
14051 * gnome/applet/wireless-applet.glade
14052 - Change existing wpa-psk stuff to wpa-psk-hex
14053 - Add new widgets for wpa-psk-passphrase
14055 * gnome/applet/wireless-security-manager.c
14056 - (wsm_set_capabilities): enable WPA options
14058 * gnome/applet/wso-wpa-psk-passphrase.c
14059 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14060 for WPA-PSK passphrase
14062 2006-01-08 Dan Williams <dcbw@redhat.com>
14064 * include/NetworkManager.h
14065 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14066 applet/info-daemons
14068 * gnome/applet/passphrase-dialog.c
14069 - Use the constant. Fixes a bug where the arguments to
14070 dbus_message_new_error() were incorrect
14072 * src/nm-dbus-nmi.c
14075 2006-01-07 Dan Williams <dcbw@redhat.com>
14077 * src/nm-device-802-11-wireless.c
14078 - Add a link timeout so we allow the supplicant time to
14079 reassociate if it can, before we deactivate the card
14080 - Fix up link status and link updating so things work better
14082 2006-01-07 Dan Williams <dcbw@redhat.com>
14084 * src/nm-device-802-11-wireless.c
14085 - Switch over to using wpa_supplicant
14086 - Add a timeout of 10s for association of the supplicant
14087 - Start the monitor callback of the supplicant
14089 2006-01-07 Dan Williams <dcbw@redhat.com>
14091 * src/NetworkManagerUtils.c
14092 - (nm_utils_supplicant_request,
14093 nm_utils_supplicant_request_with_check):
14094 pass correct buffer length to wpa_ctrl_request()
14096 2006-01-07 Dan Williams <dcbw@redhat.com>
14098 * src/nm-device-private.h
14100 - (nm_device_activate_schedule_stage3_ip_config_start): make
14101 this function available to subclasses
14103 2006-01-06 Robert Love <rml@novell.com>
14105 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14106 user plugging in a network cable signals their preference for to
14107 switch, unless the user explicitly selected a wireless network and
14108 therefore signaled their preference for said wireless network over
14109 wired. In other words, do exactly what makes sense.
14111 2006-01-06 Robert Love <rml@novell.com>
14113 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14114 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14115 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14116 showing up in my greps.
14118 2006-01-06 Robert Love <rml@novell.com>
14120 * gnome/applet/applet-dbus-devices.c,
14121 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14122 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14123 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14124 New Network' both failed in the non-encrypted case because we were
14125 not appending the security options to the DBUS message. And
14126 'Connect to Other' was also failing in the encrypted case because
14127 we were not incrementing to the next DBUS parameter. All fixed.
14128 Thanks to dcdw for some debugging help.
14130 2006-01-06 Robert Love <rml@novell.com>
14132 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14133 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14134 hangup code and add per-device hangup. Tie last commit into the
14135 GNOME applet. TODO: Save, understand, and respond to the state of
14136 each dialup device.
14138 2006-01-06 Robert Love <rml@novell.com>
14140 Patch by Timo Hoenig <thoenig@suse.de>:
14141 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14142 hangup specific dialup devices.
14143 * src/backends/NetworkManagerDebian.c,
14144 src/backends/NetworkManagerGentoo.c,
14145 src/backends/NetworkManagerRedHat.c,
14146 src/backends/NetworkManagerSlackware.c: Add stub backend.
14147 * src/backends/NetworkManagerRedHat.c,
14148 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14149 hangup specific dialup devices.
14151 2006-01-04 Robert Love <rml@novell.com>
14153 * gnome/applet/applet-dbus-devices.c,
14154 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14155 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14158 2006-01-04 Dan Williams <dcbw@redhat.com>
14160 First dump of wpa_supplicant-related code. It's not hooked up to
14161 anything yet though. Thanks to Kay Sievers for
14162 wpa_supplicant_wrapper.c, which formed the basis for this work,
14163 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14167 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14169 * src/NetworkManagerUtils.[ch]
14170 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14171 Add convenience functions for talking to wpa_supplicant
14173 * src/nm-ap-security.[ch]
14174 src/nm-ap-security-wep.c
14175 src/nm-ap-security-wpa-psk.[ch]
14176 - Update and implement real_write_supplicant_config functions
14177 in all security types
14178 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14179 nm-ap-security-wpa-psk.c
14181 * src/nm-device-802-11-wireless.c
14182 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14183 wpa_supplicant_start, wpa_supplicant_interface_init,
14184 wpa_supplicant_send_network_config): add functions to talk to
14185 wpa_supplicant and write network config to it
14187 2006-01-04 Robert Love <rml@novell.com>
14189 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14190 values so that distribution-backends can differentiate between the
14191 various types (modem, ISDN, et cetera) of dialup device that they
14193 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14196 2006-01-03 Dan Williams <dcbw@redhat.com>
14198 * src/NetworkManagerPolicy.c
14200 src/nm-device-802-11-wireless.c
14201 - Move wireless-specific activation failure and success code
14202 into wireless device class
14204 2006-01-03 Robert Love <rml@novell.com>
14206 Patch by Preggna S:
14207 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14208 IPsec does not require that a VPN client be bound to an interface,
14209 due to the use of the in-kernel IPSec bits. So make the tunnel
14212 2006-01-03 Dan Williams <dcbw@redhat.com>
14214 * src/NetworkManagerAP.c
14215 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14216 the WPA IE specifies that WEP is supported
14218 * src/nm-device-802-11-wireless.c
14219 - (process_scan_results): don't mark an AP as supporting WEP
14220 if there's already other encryption capability info
14222 2006-01-03 Dan Williams <dcbw@redhat.com>
14224 * src/dhcp-manager/nm-dhcp-manager.c
14225 - Recognize activation cancellation when waiting for DHCP
14226 configuration from dhcdbd
14227 - Ignore non-dhcdbd messages
14230 - (real_act_stage3_ip_config_start): return to correct behavior
14231 of letting the dhcp-manager notify us of failure or
14232 success rather than incorrectly doing that ourselves
14233 - (nm_device_activate_stage4_ip_config_get): deal with
14234 activation cancellation a bit earlier
14236 2006-01-03 Dan Williams <dcbw@redhat.com>
14238 * src/nm-device-802-11-wireless.c
14240 - Add hooks to subclasses for stage3_ip_config_start and
14241 stage4_ip_config_timeout
14243 * src/nm-device-802-3-ethernet.c
14244 - (real_get_generic_capabilities): make devices NM-supported
14247 2006-01-03 Robert Love <rml@novell.com>
14249 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14250 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14251 latter cannot differentiate between error and the address -1; misc.
14254 2006-01-03 Dan Williams <dcbw@redhat.com>
14256 * src/NetworkManager.c
14257 - Move link-checking/probing into the device subclasses
14260 * src/nm-device.[ch]
14261 src/nm-device-802-11-wireless.c
14262 src/nm-device-802-3-ethernet.c
14263 - Do periodic link checking in device subclasses rather
14264 than being triggered from NetworkManager.c
14265 - discover_wireless_capabilities -> get_wireless_capabilities
14266 - discover_generic_capabilities -> get_generic_capabilities
14267 - Device subclass activation routines now return a value of type
14268 NMActStageReturn to indicate what step to perform next
14269 - Devices now override stage4_get_ip4_config if they choose
14271 2006-01-01 Dan Williams <dcbw@redhat.com>
14273 * src/nm-device-802-11-wireless.c
14274 - (real_init): don't chain up to parent init because we don't
14275 need to do that anymore
14278 - (discover_device_type): fix arguments to ioctl() to correctly
14279 pass interface name
14280 - (nm_device_new): consolidate generic device initialization into
14282 - (real_init): remove, consolidated to nm_device_new()
14283 - (nm_device_deactivate, real_deactivate): consolidate
14285 2006-01-01 Dan Williams <dcbw@redhat.com>
14287 * src/nm-activation-request.c
14288 - Change dhcp_state member of the NMActRequest structure
14289 from guint8 to guint32
14291 * src/dhcp-manager/nm-dhcp-manager.[ch]
14292 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14293 than guint8 to match the dbus argument. Turns out we were
14294 overwriting memory since we were passing in only a guint8
14296 2005-12-31 Dan Williams <dcbw@redhat.com>
14298 * refactor NMDevice into a GObject-based framework with separate
14299 objects for wired and wireless. The following files are no
14300 longer used but should stick around for a bit so we don't
14301 loose code through the cracks:
14302 NetworkManagerDevice.c
14303 NetworkManagerDevice.h
14304 NetworkManagerWireless.c
14305 NetworkManagerWireless.h
14307 The intent here is to allow each device type to manage its own
14308 connection & activation life-cycle, ie to allow wireless devices
14309 to interface with wpa_supplicant, etc. There's a fair bit of
14310 encapsulation breakage right now that should gradually get pulled
14311 back into each device, along with things like periodic property
14312 updates and link probing.
14314 2005-12-29 Dan Williams <dcbw@redhat.com>
14316 * include/NetworkManager.h
14317 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14318 between networks that don't have any encryption at all
14320 2005-12-29 Dan Williams <dcbw@redhat.com>
14322 * test/test-common.c
14325 - Move to a test-common subdirectory
14327 * test/libnm-util/test-ciphers.c
14328 - Move test data to test-inputs.h
14329 - Test WPA ciphers too
14331 * test/libnm-util/test-dbus-helpers.c
14332 - Test serialization/deserialization of ciphers
14334 2005-12-29 Dan Williams <dcbw@redhat.com>
14336 * gnome/applet/applet-dbus-devices.c
14337 - Replace 'enc' parameter with 'capabilities' for wireless networks
14338 in dbus calls to NM
14339 - Set capabilities on WirelessNetwork objects
14340 - Receive and save type-specific device capabilities too
14342 * gnome/applet/applet-dbus-info.c
14343 gnome/applet/applet-dbus.c
14344 - Passphrase dialog no longer a singleton; new instance gets created
14345 on each request. Updates to deal with that.
14347 * gnome/applet/applet.c
14348 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14349 than single 'encrypted' flag
14350 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14352 - Passphrase dialog updates per above
14354 * gnome/applet/menu-items.c
14355 - (network_menu_item_update): use AP capabilities to determine
14358 * gnome/applet/nm-device.[ch]
14359 - Add accessors for type-specific device capabilities
14361 * gnome/applet/other-network-dialog.c
14362 - Rework to respect device capabilities. i.e., if the device doesn't
14363 support WPA, remove that option from the security dropdown
14365 * gnome/applet/passphrase-dialog.c
14366 - Massive rework so that a new instance is created each time
14367 it's used, to support wireless network capabilities
14369 * gnome/applet/wireless-network.[ch]
14370 - Add accessors and members for wireless network capabilities
14372 * gnome/applet/wireless-security-manager.[ch]
14373 - (wsm_set_capabilities): called after creation to set which
14374 security options get shown to the user
14376 2005-12-29 Dan Williams <dcbw@redhat.com>
14378 * libnm-util/cipher-wpa-psk-passphrase.c
14379 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14382 2005-12-23 Dan Williams <dcbw@redhat.com>
14384 * gnome/applet/applet-dbus-info.c
14385 - (nmi_dbus_get_key_for_network): if there's no entry in
14386 GConf for a network, assume we want a new key
14387 - (nmi_save_network_info): serialize wireless security info
14388 into GConf so its saved
14391 - Fix warning as we may not be passed security info when
14392 connecting to a wireless network
14394 2005-12-23 Dan Williams <dcbw@redhat.com>
14396 * gnome/applet/applet-compat.c
14397 - Fix bugs in GConf entry conversion
14399 * gnome/applet/applet-dbus-info.c
14400 - (nmi_dbus_get_network_properties): handle case of the BSSID
14401 list being zero-length
14403 * libnm-util/cipher-*
14404 libnm-util/dbus-helpers.c
14405 - All ciphers must now return hashed keys as UTF-8 valid
14406 hexadecimal strings, ie "8f3dae4023". They are pushed
14407 through dbus as strings too.
14408 - Consolidate various functions that do bin->hex and hex->bin
14409 conversion into cipher.c
14411 * src/nm-ap-security-wep.c
14412 src/nm-ap-security-wpa-psk.c
14413 - Handle NULL keys since we may not know keys right away
14415 * src/nm-dbus-nmi.c
14416 - (nm_dbus_get_network_data_cb): actually advance to the start
14417 of the wireless security info before we try to deserialize it
14419 * libnm-util/test-ciphers.c
14420 - Update cipher tests for the change to UTF-8 hexadecimal strings
14422 2005-12-22 Dan Williams <dcbw@redhat.com>
14424 * gnome/applet/applet-compat.[ch]
14425 - Convert old-format GConf and keyring entries
14426 when the applet starts up.
14428 * gnome/applet/applet.c
14429 - (nmwa_get_instance): Call the conversion function
14430 on startup before dbus is initialized
14432 2005-12-22 Dan Williams <dcbw@redhat.com>
14434 * gnome/applet/applet-dbus-info.c
14435 - Remove nmi_dbus_create_error_message() in favor of
14436 nmu_create_dbus_error_message()
14437 - (nmi_dbus_get_network_properties): Error message cleanups
14438 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14439 gconf key rather than 'addresses', since they really are BSSIDs
14440 - (nmi_dbus_get_network_properties): Dispose of the security
14441 object when we're done with it
14443 2005-12-21 Dan Williams <dcbw@redhat.com>
14445 * Consolidate the info-daemon's "updateNetworkInfo" and
14446 "addNetworkAddress" calls into just "updateNetworkInfo"
14448 2005-12-21 Dan Williams <dcbw@redhat.com>
14450 * Make connection after key retrieval work again
14452 2005-12-21 Dan Williams <dcbw@redhat.com>
14454 * gnome/applet/nm-gconf-wso*
14455 - Make the serialize functions return gboolean
14458 * gnome/applet/nm-gconf-wso.c
14459 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14460 parent class handling so we don't segfault
14462 * src/NetworkManagerAP.[ch]
14463 - (nm_ap_get_capabilities): new function, return capabilities
14464 now that something can use them
14465 - (nm_ap_set_encrypted): assume that an access point supports
14466 both WEP104 and WEP40 if its set encrypted. FIXME: can
14467 we even tell whether it just supports WEP40?
14469 * src/NetworkManagerDevice.c
14470 - (ap_need_key): resurrect and update for the New World Order
14471 - (nm_device_wireless_get_activation_ap): if we're not given
14472 security info to use, create some based on access point
14475 * src/nm-ap-security-wep.c
14476 - (nm_ap_security_wep_new_from_ap): create a new object
14477 based on a certain access point's capabilities
14479 * src/nm-ap-security.c
14480 - (nm_ap_security_new_from_ap): delegate creation of a new
14481 object based on access point capabilities to a subclass
14482 - (nm_ap_security_copy_properties): don't segfault if we
14483 don't have a key yet
14486 - (nm_dbus_nm_set_active_device): provide more informative
14487 output when errors occur. Also construct security info
14488 for a given access point if we weren't given any
14490 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14492 * configure.in: Added Lithuanian to ALL_LINGUAS.
14494 2005-12-21 Dan Williams <dcbw@redhat.com>
14497 - Add some testcases for WEP ciphers
14499 2005-12-17 Dan Williams <dcbw@redhat.com>
14503 2005-12-17 Dan Williams <dcbw@redhat.com>
14505 * include/NetworkManager.h
14506 - Finally kill NMEncKeyType
14508 * gnome/applet/applet-dbus-info.c
14509 - (nmi_save_network_info): convert to NMGConfWSO
14511 * gnome/applet/nm-gconf-wso-*.c
14512 - Implement gconf serialization functions
14514 * src/NetworkManagerPolicy.c
14515 - (nm_policy_activation_finish): fix up meaning of
14516 automatic/user_requested
14518 2005-12-17 Dan Williams <dcbw@redhat.com>
14521 - More applet cleanups
14522 - Use the dbus-method-dispatcher
14524 * libnm-util/dbus-method-dispatcher.[ch]
14525 - Generalize the implementation from NM in
14526 NetworkManagerUtils.c
14528 2005-12-16 Dan Williams <dcbw@redhat.com>
14531 - Fix up the passphrase dialog to use all the
14532 WirelessSecurityOption stuff (untested)
14534 2005-12-16 Dan Williams <dcbw@redhat.com>
14536 * Move nm_gconf_get_*_helper() functions to separate files,
14537 gconf-helpers.c & gconf-helpers.h
14539 * New NMGConfWSO objects for managing the gconf side of things.
14540 Eventually these should be merged with the
14541 WirelessSecurityOption objects and a common base (that can
14542 serialize/deserialize from dbus & gconf) should be
14543 refactored out, but for now they are separate.
14545 2005-12-16 Robert Love <rml@novell.com>
14547 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14548 binaries unless they exist (nm_spawn_process() emits a warning if
14549 asked to spawn a non-existant process).
14551 2005-12-16 Dan Williams <dcbw@redhat.com>
14553 * gnome/applet/applet-dbus-info.c
14554 - Clean up lots of gconf-related code
14556 2005-12-16 Robert Love <rml@novell.com>
14558 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14560 2005-12-16 Dan Williams <dcbw@redhat.com>
14562 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14564 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14565 bits still to be done)
14567 2005-12-16 Dan Williams <dcbw@redhat.com>
14569 * Finally move info-daemon related stuff out of
14570 NetworkManagerDbus.c to nm-dbus-nmi.c
14572 2005-12-16 Dan Williams <dcbw@redhat.com>
14574 * Kill auth_method for access points, since that's now done
14575 by NMAPSecurity objects
14577 * Add a copy-constructor of sorts to NMAPSecurity
14578 (how do you do this properly in glib???)
14580 2005-12-15 Dan Williams <dcbw@redhat.com>
14582 * Exorcise encryption key hashing on APs
14583 * Use libnm-util's serialization/deserialization in both the
14585 * Random other stuff
14587 2005-12-15 Robert Love <rml@novell.com>
14589 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14590 is being added to the icon naming spec, so let's use that (Tango CVS
14591 has the icon). Because it is new, however, we fall back to the
14592 current "gnome-lockscreen" if the new icon is not around, thus
14593 behavior is the same.
14594 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14597 2005-12-15 Robert Love <rml@novell.com>
14599 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14600 well, help to give. Couple other misc. bits.
14602 2005-12-15 Dan Williams <dcbw@redhat.com>
14604 * libnm-util/dbus-helpers.[ch]
14605 - Make this the one-stop-shop for serializing/deserializing
14606 AP & connection security settings over dbus. Both NM
14607 and applets should use this to ensure consistent dbus
14608 API going forwared.
14610 2005-12-15 Robert Love <rml@novell.com>
14612 Patch by Timo Hoenig <thoenig@suse.de>:
14613 * src/NetworkManagerDbus.c
14614 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14615 if HAL jumps off the system bus. Otherwise libdbus
14616 (dbus_connection_dispatch) will try to run the filter
14617 function of our libhal context which is already freed.
14619 2005-12-15 Alexander Shopov <ash@contact.bg>
14621 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14623 2005-12-14 Dan Williams <dcbw@redhat.com>
14625 * include/NetworkManager.h
14626 src/NetworkManagerWireless.c
14627 - Rearrange 802.11 wireless-specific capabilities again
14630 - Forgot to add wpa.c/wpa.h to the makefiles
14632 * src/NetworkManagerAP.[ch]
14633 - Implement access point capabilities and parse the
14634 WPA/RSN IEs into the capability bitfield
14635 - Switch the "encrypted" attribute to utilize the bitfield
14636 and capabilities rather than being independent
14638 * src/NetworkManagerDevice.c
14639 - (nm_device_wireless_get_activation_ap): break it horribly
14640 until we can push NMAPSecurity objects into access point
14641 objects and through the activation chain
14642 - Stuff WPA & RSN IEs into AP capabilities
14645 - Take a shot at actually making setActiveDevice work
14648 - Make the API a bit saner
14650 2005-12-14 Dan Williams <dcbw@redhat.com>
14652 * include/NetworkManager.h
14653 - Add 802.11-specific capability for 802.1x key
14657 - Pull in WPA IE and RSN IE parsing code from
14658 wpa_supplicant so we can determine access point
14660 - Move WPA-related constants here from NetworkManagerAP.h
14661 and NetworkManagerDevice.c
14663 * src/NetworkManagerDevice.c
14664 src/NetworkManagerAP.[ch]
14665 - Use WPA-related constants from wpa.h
14667 2005-12-14 Dan Williams <dcbw@redhat.com>
14669 * include/NetworkManager.h
14670 - Update and split 802.11 wireless-specific capabilities from
14671 generic device capabilities
14673 * src/NetworkManagerDevice.c
14674 src/NetworkManagerDevicePrivate.h
14675 - (nm_device_wireless_discover_capabilities): Move 802.11
14676 wireless-specific capability checks to
14677 NetworkManagerWireless.c
14678 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14679 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14681 * src/NetworkManagerWireless.[ch]
14682 - (nm_802_11_wireless_discover_capabilities): Check extended
14683 802.11 wireless-specific capabilities of the driver
14685 2005-12-14 Robert Love <rml@novell.com>
14687 Patch from Stefan Scheler <sscheler@suse.de>:
14688 * src/NetworkManagerDevice.c: call backend code to activate and
14690 * src/NetworkManagerSystem.h: add new NIS interfaces.
14691 * src/backends/NetworkManagerDebian.c,
14692 src/backends/NetworkManagerGentoo.c,
14693 src/backends/NetworkManagerRedHat.c,
14694 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14696 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14698 2005-12-14 Dan Williams <dcbw@redhat.com>
14700 * src/nm-ap-security*.[ch]
14701 - Add AP security abstractions to NetworkManager
14703 * src/nm-dbus-device.c
14704 - Begin to parse new format dbus messages from the applet
14705 and construct an AP security object from the message
14707 * libnm-util/dbus-helpers.c
14708 - Use message iters so we can append the key as a fixed
14709 array of bytes, which actually works rather than
14710 using dbus_message_append_args() as we were before
14712 2005-12-14 Dan Williams <dcbw@redhat.com>
14714 * src/NetworkManagerDbus.c
14715 gnome/applet/applet-dbus.c
14716 - Fix up dbus service replacement options. The applet
14717 should allow replacement, NM itself should not.
14719 2005-12-13 Robert Love <rml@novell.com>
14721 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14722 Instead, fail silently if config is NULL by not asserting and not
14723 returning FALSE. Also, make sure we always fclose() the file.
14725 2005-12-13 Robert Love <rml@novell.com>
14727 Patch by Stefan Scheler <sscheler@suse.de>:
14728 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14729 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14730 via DHCP. Still need the backends to commit the NIS domain name and
14731 and servers to yp.conf as needed.
14733 2005-12-13 Robert Love <rml@novell.com>
14735 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14736 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14738 2005-12-13 Robert Love <rml@novell.com>
14740 * src/named-manager/nm-named-manager.c: Don't unref the config until
14741 after we call rewrite_resolv_conf(), because get_last_default_domain()
14742 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14743 `config != NULL' failed" assertion failures and "Could not commit DNS
14746 2005-12-12 Dan Williams <dcbw@redhat.com>
14748 * libnm-util/dbus-helpers.[ch]
14749 libnm-util/Makefile.am
14750 - new helper calls to consolidate locations where
14751 NM's setDevice method is called
14753 * gnome/applet/applet-dbus-devices.c
14754 gnome/applet/wireless-security-option.c
14756 - Implement dbus message param append function for
14757 all wireless security options
14759 2005-12-12 Robert Love <rml@novell.com>
14761 * libnm-util/cipher-wep-passphrase.c,
14762 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14763 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14764 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14765 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14766 When handling keys, we don't care what the sign is. The compiler
14767 guarantees us that we get our 8-bits, which is all we care about.
14768 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14770 2005-12-12 Dan Williams <dcbw@redhat.com>
14772 * gnome/applet/applet-dbus-devices.[ch]
14773 gnome/applet/applet.c
14774 gnome/applet/other-network-dialog.c
14775 gnome/applet/wireless-security-manager.[ch]
14776 gnome/applet/wireless-security-option.[ch]
14778 - Push the wireless security options further into the applet
14780 2005-12-12 Robert Love <rml@novell.com>
14782 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14783 return any name servers. That is perfectly valid. (Novell #134369).
14785 2005-12-11 Dan Williams <dcbw@redhat.com>
14787 * gnome/applet/wso-*
14788 gnome/applet/wireless-security-option.*
14789 gnome/applet/Makefile.am
14790 - split each security option out so we can eventually
14791 have each one build up their own dbus message
14792 arguments to send to NM
14794 2005-12-11 Dan Williams <dcbw@redhat.com>
14796 * Make validation of the key work correctly
14798 2005-12-11 Dan Williams <dcbw@redhat.com>
14800 * Hook more bits of the Other Network Dialog up to the
14801 wireless security manager stuff, and restructure
14802 bits of the dialog so there's less code.
14804 2005-12-10 Dan Williams <dcbw@redhat.com>
14806 * gnome/applet/Makefile.am
14807 - Add libnm-util to includes
14808 - Add libnm-util to link list
14809 - Add wireless-security-common.* to compile list
14811 * gnome/applet/other-network-dialog.c
14812 - Convert to using the WirelessSecurityManager code and
14815 * gnome/applet/passphrase-dialog.c
14816 - Comment out references to stuff in the glade file that
14817 cause runtime errors until it can be fixed up
14818 to use the WirelessSecurityManager code
14820 * gnome/applet/wireless-applet.glade
14821 - Rename some widgets
14822 - Add widgets for the WirelessSecurityManager code
14823 - Remove passphrase-related stuff since that's now
14824 handled by the WirelessSecurityManager code
14826 2005-12-10 Dan Williams <dcbw@redhat.com>
14828 * gnome/applet/applet-dbus-devices.c
14829 - Print out error message details for dbus pending call callbacks
14830 - Move nmwa_dbus_update_devices() up
14832 * gnome/applet/applet-dbus-vpn.c
14833 - Print out error message details for dbus pending call callbacks
14835 2005-12-10 Dan Williams <dcbw@redhat.com>
14839 - Remove cipher-manager.* because we don't need it
14840 - Forgot to add gnome-keyring-md5 files to compile list
14842 2005-12-09 Dan Williams <dcbw@redhat.com>
14847 - Add a utility library for clients of NetworkManager. It's
14848 only targetted at applets for the moment, and contains
14849 a generalized 802.11 cipher framework for different
14850 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14852 2005-12-09 Robert Love <rml@novell.com>
14854 * src/NetworkManagerDevice.c: handle error better in
14855 nm_device_set_mode().
14857 2005-12-08 Robert Love <rml@novell.com>
14859 * include/NetworkManager.h: add WPA capabilities constants
14860 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14861 or WPA2 and add the capabilities bits as appropriate.
14863 2005-12-08 Robert Love <rml@novell.com>
14865 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14866 NetworkManagerDispatcher.
14867 * configure.in, initscript/SUSE/.cvsignore,
14868 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14871 2005-12-08 Robert Love <rml@novell.com>
14873 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14875 2005-12-08 Robert Love <rml@novell.com>
14877 * src/NetworkManagerDevice.c: We want to fall back on and default to
14878 IW_MODE_AUTO, not -1, which is more in line with our previous
14879 behavior. Otherwise, we try to set the wireless mode to -1 in
14880 nm_device_set_mode().
14882 2005-12-07 Robert Love <rml@novell.com>
14884 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14885 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14886 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14887 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14888 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14889 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14892 2005-12-07 Robert Love <rml@novell.com>
14894 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14895 supplied IP is invalid, fall back to DHCP.
14897 2005-12-07 Dan Williams <dcbw@redhat.com>
14899 * Convert NETWORK_MODE_* constants to IW_MODE_*
14900 * Make all the get_mode/set_mode functions take and return 'int'
14901 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14903 2005-12-07 Robert Love <rml@novell.com>
14905 * src/NetworkManagerDevice.c: strncpy() buffer check.
14906 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14908 2005-12-06 Dan Williams <dcbw@redhat.com>
14910 * gnome/applet/applet-dbus.c
14911 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14913 * gnome/applet/applet-dbus-vpn.c
14914 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14915 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14916 to TRUE here if stage was ACTIVATED
14918 2005-12-06 Dan Williams <dcbw@redhat.com>
14920 * Change nm_device_is_* functions to better names:
14921 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14922 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14924 2005-12-06 Dan Williams <dcbw@redhat.com>
14926 * Change naming of NMDeviceType to something more sensible:
14927 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14928 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14929 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14931 2005-12-06 Dan Williams <dcbw@redhat.com>
14933 * Move NetworkManager.h -> include/NetworkManager.h
14934 * Split out VPN stuff into include/NetworkManagerVPN.h
14935 * Fix up makefiles to include new location
14936 * Fix up sources to include NetworkManagerVPN.h
14938 2005-12-06 Dan Williams <dcbw@redhat.com>
14940 Various changes in the applet to move VPN connection "state" -> "stage",
14941 which it actually is. I'd like to change the signal as well when we
14942 break compat in the near future.
14944 2005-12-06 Dan Williams <dcbw@redhat.com>
14946 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14947 * initscript/Slackware/rc.networkmanager
14950 * src/backends/NetworkManagerSlackware.c
14951 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14954 2005-12-05 Robert Love <rml@novell.com>
14956 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14957 to free, particularly here as it just barfs.
14959 2005-12-05 Dan Williams <dcbw@redhat.com>
14961 * gnome/applet/applet-dbus.c
14962 - Work with dbus 0.6 too
14964 2005-12-03 Dan Williams <dcbw@redhat.com>
14966 * src/NetworkManagerUtils.[ch]
14967 src/nm-ip4-config.c
14968 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14969 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14971 2005-12-01 Robert Love <rml@novell.com>
14973 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14974 need a NULL for the '...' parameter, too, to fill the so-called
14977 2005-12-01 Robert Love <rml@novell.com>
14979 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14980 interface is already gone, so don't call rtnl_link_change() to down
14981 it (which will segfault, anyhow).
14983 2005-11-22 Robert Love <rml@novell.com>
14985 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14986 gateway is not set, just print a little note. Configurations without
14987 gateways are valid.
14989 2005-11-22 Robert Love <rml@novell.com>
14993 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14995 * configure.in: Added Finnish translation to ALL_LINGUAS
14997 2005-11-14 Robert Love <rml@novell.com>
14999 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15000 Niemueller <tim@niemueller.de>.
15002 2005-11-08 Dan Williams <dcbw@redhat.com>
15004 Patch from Bill Moss <bmoss@clemson.edu>
15005 * src/NetworkManagerDevice.c
15006 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15007 of nm_policy_schedule_activation_finish() to prevent a
15008 race condition that causes the link to be dropped
15010 2005-11-08 Dan Williams <dcbw@redhat.com>
15012 Patch from Bill Moss <bmoss@clemson.edu>
15013 * src/NetworkManagerAPList.c
15014 src/NetworkManagerDevice.c
15015 src/NetworkManagerDbus.c
15016 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15017 we get more readable ether/mac addresses
15019 2005-11-02 Christopher Aillon <caillon@redhat.com>
15021 * gnome/applet/main.c: Don't set the restart command. This fixes
15022 the issue where the restart command was getting copies of all its
15023 arguments for each time the applet was restarted.
15025 2005-11-02 Robert Love <rml@novell.com>
15027 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15028 if the widget state differs from our saved state. This ensures we
15029 do not enter an endless loop of death and destruction. Also, this
15030 guarantees us that we enforce the widget state.
15032 2005-11-02 Robert Love <rml@novell.com>
15034 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15035 * gnome/applet/applet-dbus-devices.c: invoke the new function
15036 nmwa_enable_wireless_set_active() to ensure that the state of the
15037 'Enable Wireless' checkbox matches the daemon's state. This is a
15038 concern because the daemon remembers the state.
15040 2005-11-02 Robert Love <rml@novell.com>
15042 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15043 Enabled", as checkboxes should be actions/commands not positive
15044 statements, otherwise they are confusing in the unselected case. See
15045 examples in GNOME HIG, Chapter 6.
15047 2005-11-02 Robert Love <rml@novell.com>
15049 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15050 show a list of wireless networks or the wireless devices or the
15051 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15052 a bad bug: If wireless is disabled and the user picks a wireless
15053 network, NM will switch to the network, only to immediately switch
15054 back, as wireless is disabled. This also reassures people that NM
15055 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15057 2005-11-02 Christopher Aillon <caillon@redhat.com>
15059 * gnome/applet/applet.c:
15060 * gnome/applet/applet.h:
15061 Partial backout of Dan's timeout animation patch.
15062 Timeout IDs cannot legally be 0, so revert the code in place to handle
15063 a timeout ID of 0 to denote the timeout isn't running.
15065 2005-11-02 Christopher Aillon <caillon@redhat.com>
15067 * src/NetworkManagerPolicy.c:
15068 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15070 2005-10-28 Robert Love <rml@novell.com>
15072 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15073 "Import Saved Configuration..." to make it clear that importing is
15074 not the next step, but an option. As an aside, a nice TODO would be
15075 to move Importing out of the vpn-specific dialog and into the main
15076 property editor, as Importing goes with Adding, but that will require
15077 some rearchitecting of the VPN stuff I suspect.
15079 2005-10-27 Dan Williams <dcbw@redhat.com>
15081 Start using libnl. You need 1.0-pre3 or higher. Eventually
15082 we should replace most of the distro-specific backend code
15085 Get it here: http://people.suug.ch/~tgr/libnl/
15089 - Add checks for libnl pkgconfig file
15090 - Use LIBNL_LIBS & LIBNL_CFLAGS
15092 * src/NetworkManagerSystem.c
15093 src/nm-ip4-config.[ch]
15094 - Use libnl rather than ioctl() for most things
15095 - Remove unused functions
15097 2005-10-27 Robert Love <rml@novell.com>
15099 * src/backends/NetworkManagerSuSE.c: fix warning message text
15101 2005-10-27 Christopher Aillon <caillon@redhat.com>
15103 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15105 2005-10-27 Christopher Aillon <caillon@redhat.com>
15107 * gnome/applet/applet.c: The applet's about dialog can advertise our
15108 project page <http://www.gnome.org/projects/NetworkManager/>
15110 2005-10-26 Christopher Aillon <caillon@redhat.com>
15112 * gnome/applet.c: Also use translator credits if we don't have
15113 the new GtkAboutDialog (older versions of GTK+)
15115 2005-10-26 Robert Love <rml@novell.com>
15117 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15118 failure; correct usage text for "--no-daemon"
15120 2005-10-25 Dan Williams <dcbw@redhat.com>
15122 * src/NetworkManagerDevice.c
15123 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15125 - (free_process_scan_cb_data): unref the device when freeing results
15126 - (nm_device_wireless_process_scan_results): free scan results a bit later
15127 so we don't unref the device underneath ourselves
15129 2005-10-25 Dan Williams <dcbw@redhat.com>
15131 * Back out 2005-10-24 commit from Tor Krill. Patch
15132 causes nameservers never to be removed from named.
15134 2005-10-24 Dan Williams <dcbw@redhat.com>
15136 Clean up wireless scanning and wireless link probing.
15138 * src/NetworkManagerDevice.c
15139 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15140 just see if there's an activation request on the device, and check the
15141 current link against the activation request access point's ESSID.
15142 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15143 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15144 don't call process_scan_results() on zero-length data
15145 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15146 15 seconds (from 10)
15148 2005-10-24 Dan Williams <dcbw@redhat.com>
15150 Cleanup some applet stuff:
15152 - Animation timeouts. If NM died while the applet was animating,
15153 the applet would not hide itself. This is now fixed.
15155 - Remove some dead code
15157 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15158 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15160 - Track animation timeout using a gboolean rather than the timeout's
15161 ID, since timeout IDs can legally be 0.
15163 2005-10-24 Dan Williams <dcbw@redhat.com>
15165 * src/backends/interface_parser.c
15166 - Add void to function declarations that need it
15167 to match patch from Engin AYDOGAN
15169 * src/backends/interface_parser.h
15170 - Remove unused prototype for ifparser_interfaces()
15172 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15173 * src/backends/interface_parser.h:
15174 - Compile fixes for gcc 4.0.2 (add void)
15176 2005-10-24 Dan Williams <dcbw@redhat.com>
15178 Patch from Tor Krill <tor@krill.nu>
15179 * src/named-manager/nm-named-manager.c
15180 - Write more than just the first nameserver to /etc/resolv.conf
15181 - Write out valid /etc/resolv.conf on exit
15183 2005-10-21 Christopher Aillon <caillon@redhat.com>
15185 * gnome/applet/applet-dbus-vpn.c:
15186 Get rid of spurious newlines in debug console output
15188 2005-10-21 Christopher Aillon <caillon@redhat.com>
15190 * src/backends/NetworkManagerGentoo.c:
15191 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15193 2005-10-20 Robert Love <rml@novell.com>
15195 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15196 direct comparison of floating point values, which is never correct.
15197 Also some misc. cleanup.
15199 2005-10-19 Robert Love <rml@novell.com>
15201 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15203 2005-10-19 Robert Love <rml@novell.com>
15205 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15206 sensitivity of the buttons. Specificaly, do the right thing if
15207 there are no entries.
15209 2005-10-19 Christopher Aillon <caillon@redhat.com>
15211 * configure.in: Update check for adequate wireless-tools
15212 with an AC_TRY_COMPILE for the new symbols we use.
15214 2005-10-19 Dan Williams <dcbw@redhat.com>
15216 * src/NetworkManagerDevice.c
15217 - (process_scan_results): don't drop the last (or only)
15218 access point we see
15220 2005-10-19 Christopher Aillon <caillon@redhat.com>
15222 * src/backends/NetworkManagerSlackware.c:
15223 Patch from Nico <lordllucifer@gmail.com>
15224 - Update the Slackware backend.
15226 2005-10-18 Christopher Aillon <caillon@redhat.com>
15228 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15229 if we've got GLib 2.8.0
15231 2005-10-18 Robert Love <rml@novell.com>
15233 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15234 function nm_schedule_state_change_signal_broadcast() when we
15235 deactivate a device, too.
15237 2005-10-18 Robert Love <rml@novell.com>
15239 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15240 be used uninitialized.
15242 2005-10-18 Christopher Aillon <caillon@redhat.com>
15244 * test/libnm_glib_test.c: Test unregistering, too.
15246 2005-10-17 Christopher Aillon <caillon@redhat.com>
15248 * configure.in: Bump to 0.5.0
15250 2005-10-17 Dan Williams <dcbw@redhat.com>
15253 - Remove WPA-related constants so they aren't part of the
15256 2005-10-17 Christopher Aillon <caillon@redhat.com>
15258 * gnome/applet/applet.c:
15259 * gnome/applet/applet.h:
15260 Desensitize the 'Connection Information' menu item when there is
15261 no active connection.
15263 2005-10-17 Christopher Aillon <caillon@redhat.com>
15265 * gnome/libnm_glib/libnm_glib.c:
15266 Make libnm_glib_unregister_callback () actually unregister the callback
15268 2005-10-17 Robert Love <rml@novell.com>
15270 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15271 two seconds -- tries is updated every 1/10 of a second, not every
15274 2005-10-17 Christopher Aillon <caillon@redhat.com>
15276 * gnome/applet/applet-dbus-info.c:
15277 Let D-BUS know that we haven't handled a message when we haven't.
15279 2005-10-17 Robert Love <rml@novell.com>
15281 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15282 in order to remain 64-bit clean.
15284 2005-10-17 Christopher Aillon <caillon@redhat.com>
15286 * gnome/applet/applet-dbus-info.c:
15287 Find network encryption keys asynchronously
15289 2005-10-17 Robert Love <rml@novell.com>
15291 * src/backends/NetworkManagerDebian.c,
15292 src/backends/NetworkManagerRedHat,
15293 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15296 2005-10-17 Robert Love <rml@novell.com>
15298 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15301 2005-10-17 Christopher Aillon <caillon@redhat.com>
15303 * src/NetworkManagerDevice.c: (process_scan_results)
15304 Fix logic that checks to see whether we have an ESSID.
15306 2005-10-15 Dan Williams <dcbw@redhat.com>
15308 Move scanning code into NetworkManager rather than use iwlib's
15309 iw_scan() function, so that we can figure out AP capabilities.
15312 - Add AP capability bits
15314 * src/NetworkManagerAP.[ch]
15315 - Add capability field to NMAccessPoint structure
15316 - Add WPA & RSN Information Element fields and accessor
15317 functions to NMAccessPoint
15319 * src/NetworkManagerDevice.c
15320 - Remove usage of iw_scan
15321 - Add scanning code to NetworkManager rather than use
15322 iw_scan() from iwlib
15324 * src/NetworkManagerUtils.[ch]
15325 - (nm_dispose_scan_results): remove, unused
15327 2005-10-14 Christopher Aillon <caillon@redhat.com>
15329 * gnome/libnm_glib/libnm_glib.c:
15330 * gnome/libnm_glib/libnm_glib.h:
15331 Use guint instead of gint for callback IDs.
15333 2005-10-12 Christopher Aillon <caillon@redhat.com>
15335 * gnome/applet/applet.c:
15336 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15337 every 1000ms. It will unconditionally call nmwa_update_state which
15338 kills the existing animation timeout and registers a new one with a
15339 callback to draw a new frame every 100ms. There are 11 connecting
15340 icon frames, so the last 2 frames kept getting dropped. Only reset
15341 the animation timeout if we aren't animating.
15343 2005-10-11 Dan Williams <dcbw@redhat.com>
15345 * gnome/applet/applet-dbus-devices.c
15346 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15347 We want to grab the product & vendor from net.physical_dev
15348 rather than info.parent.
15350 2005-10-11 Dan Williams <dcbw@redhat.com>
15352 * src/NetworkManagerDevice.c
15353 - Use the driver's WE version for scanning rather than
15354 the WE version NM was compiled with. Fixes random
15355 crashes in iw_scan () in iwlib.
15357 2005-10-10 Dan Williams <dcbw@redhat.com>
15359 * Remove nm_system_load_device_modules() from backend files
15360 and from NetworkManager.c
15362 2005-10-10 Dan Williams <dcbw@redhat.com>
15364 * src/NetworkManagerPolicy.c
15365 - Fix some bugs introduced by the capabilities patch
15367 2005-10-10 Dan Williams <dcbw@redhat.com>
15369 * gnome/applet/applet-dbus-info.c
15370 - (nmi_dbus_get_network_key): hide the menu when putting up
15371 the keyring dialog. (not sure if the code is right...)
15373 2005-10-09 Dan Williams <dcbw@redhat.com>
15375 Patch from Bill Moss <bmoss@clemson.edu>
15376 * src/NetworkManagerDevice.c
15377 - (nm_device_set_user_key_for_network): don't try to set auth
15378 mode on the AP from the allowed list if it's NULL
15380 2005-10-09 Dan Williams <dcbw@redhat.com>
15382 * Replace the "driver support level" stuff with capabilities. The
15383 capability field is a bitfield that is more flexible than the
15384 old driver support level thing. It's mostly so we can easily
15385 figure out what supports WPA and what doesn't, but should be
15386 quite useful later.
15388 2005-10-09 Dan Williams <dcbw@redhat.com>
15395 - Added new "nm-tool" tool that gives quite a bit more
15398 2005-10-07 Robert Love <rml@novell.com>
15400 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15401 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15402 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15403 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15406 2005-10-07 Robert Love <rml@novell.com>
15408 * configure.in: Change our compile flags for the betterment of mankind.
15409 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15410 prototype is very bad on 64-bit platforms as types default to int but
15411 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15412 "-Wmissing-declarations" to warn if we define an exported function
15413 but fail to put it in a header.
15415 2005-10-07 Robert Love <rml@novell.com>
15417 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15418 by the name nm_update_device_wireless_timeouts() and once tried,
15419 without success, to steal my pet turtle.
15421 2005-10-07 Robert Love <rml@novell.com>
15423 * Cleanup prototypes: put some functions in header files and mark
15424 others as 'static' -- feel free to invert
15425 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15426 nm_vpn_manager_vpn_connection_list_copy()
15427 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15428 nm_vpn_service_get_dbus_connection()
15429 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15430 nm_vpn_manager_vpn_connection_list_copy()
15431 * src/vpn-manager/nm-vpn-service.c: make
15432 nm_vpn_service_act_request_failed() and
15433 nm_vpn_service_stage2_daemon_wait() static
15434 * src/vpn-manager/nm-vpn-service.h: add prototype for
15435 nm_vpn_service_get_dbus_connection()
15437 2005-10-06 Christopher Aillon <caillon@redhat.com>
15439 * gnome/applet/applet.c:
15440 * gnome/applet/applet.h:
15441 * gnome/applet/icons/Makefile.am:
15442 Convey information about the current connection stage in the
15443 icons themselves instead of creating a separate progress bar.
15445 2005-10-04 Robert Love <rml@novell.com>
15447 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15448 convert an ether_addr structure's MAC into a string, because the
15449 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15450 versus 07:3B:04, while the former will not.
15452 2005-10-04 Robert Love <rml@novell.com>
15454 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15455 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15456 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15457 default route in the 'Connection Information' dialog, send primary
15458 and secondary name servers in in "getProperties" DBUS method, add
15459 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15460 secondary domain name servers are crucial pieces of information
15461 that a user might need in debugging a network problem.
15463 2005-10-04 Robert Love <rml@novell.com>
15465 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15466 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15467 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15468 default route in the 'Connection Information' dialog, send default
15469 route in "getProperties" DBUS method, add network_device_set_route(),
15470 and network_device_get_route(). The Gateway is a crucial piece of
15471 connection-related information that a user might need in debugging a
15474 2005-10-03 Robert Love <rml@novell.com>
15476 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15479 2005-10-02 Dan Williams <dcbw@redhat.com>
15481 * Shorten time taken to sleep by fastpathing bits of device deactivation
15482 necessary for sleep.
15484 * Fix issue where deactivating a device might deactivate the active
15485 VPN connection, even if the VPN was not using the device.
15487 2005-10-02 Dan Williams <dcbw@redhat.com>
15489 * gnome/applet/applet.c
15490 - Adjust signal strength -> icon mapping values slightly
15491 (so that 51% signal doesn't show a 75% icon) by adding
15492 5% to the values. ex: > 5% now shows 25% icon, > 30%
15493 shows 50% icon, etc.
15495 2005-09-29 Robert Love <rml@novell.com>
15497 * src/NetworkManager.c: removed unused variable.
15499 2005-09-28 Dan Williams <dcbw@redhat.com>
15501 Support for named + DBus, using Red Hat DBus patches for named. You
15502 can find those patches here, with "dbus" in the patch's filename:
15504 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15506 Don't forget the named dbus service file either.
15508 Instead of writing a config file and spawing a named process, NM will
15509 use an already-running dbus-enabled named if it finds one. NM will
15510 update named's forwarder configuration on the fly using dbus.
15512 If there is no dbus-enabled named running, NM will automatically fall
15513 back to writing the most-recent DNS server information to /etc/resolv.conf
15514 and calling nm_system_update_dns() to kick the system's resolver.
15516 Accordingly, all named-related configure-time options have been removed.
15518 2005-09-26 Robert Love <rml@novell.com>
15520 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15522 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15523 bug in error path if "ASKPASSWORD" is "no".
15525 2005-09-26 Robert Love <rml@novell.com>
15527 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15528 comment in /etc/resolv.conf -- ';' is not.
15530 2005-09-19 Dan Williams <dcbw@redhat.com>
15532 * src/backends/NetworkManagerRedHat.c:
15533 * src/backends/NetworkManagerDebian.c:
15534 * src/backends/NetworkManagerSlackware.c:
15535 * src/backends/NetworkManagerGentoo.c:
15536 * src/backends/NetworkManagerSUSE.c:
15537 Fix invocations of "/sbin/ip address" to use short form instead
15539 2005-09-19 Christopher Aillon <caillon@redhat.com>
15541 * src/nm-dbus-device.c: Don't assert when getting
15542 addresses of a not yet connected interface.
15544 * gnome/applet/applet.c: Free icons if loading fails.
15545 Use translator-credits so translators can make themselves known.
15547 2005-09-15 Christopher Aillon <caillon@redhat.com>
15549 * src/NetworkManagerAP.c:
15550 * src/NetworkManagerAP.h:
15551 * src/NetworkManagerDevice.c:
15552 Set a blacklist for certain common manufacturer default ESSIDs:
15553 APs with these ESSIDs are extremely likely to be completely
15554 different networks: connecting to one should not make NM
15555 auto-connect to every other AP with the same default ESSID.
15557 2005-09-12 Christopher Aillon <caillon@redhat.com>
15559 * gnome/applet/wireless-applet.glade:
15560 The passphrase entry should also activate the default
15562 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15564 * gnome/applet/applet-dbus-devices.c:
15565 * gnome/applet/applet.c:
15566 * gnome/applet/nm-device.c:
15567 * gnome/applet/nm-device.h:
15568 * src/NetworkManagerUtils.c:
15569 * src/NetworkManagerUtils.h:
15570 * src/nm-dbus-device.c:
15571 I've got a fever, and the only cure for it is less ioctl.
15572 Make NM push IP data rather than make the applet open a socket
15575 2005-09-10 Christopher Aillon <caillon@redhat.com>
15577 * gnome/applet/applet.c:
15578 * gnome/applet/applet-dbus-devices.c:
15579 * gnome/applet/applet-dbus-info.c:
15580 * gnome/applet/passphrase-dialog.c:
15581 * gnome/libnm_glib/libnm_glib.c:
15582 * gnome/vpn-properties/nm-vpn-properties.c:
15584 * src/backends/NetworkManagerRedHat.c:
15585 * src/named-manager/nm-named-manager.c:
15586 * src/NetworkManagerAPList.c:
15587 * src/NetworkManager.c:
15588 * src/NetworkManagerDbus.c:
15589 * src/NetworkManagerDevice.c:
15590 * src/NetworkManagerPolicy.c:
15591 * src/NetworkManagerSystem.c:
15592 * src/nm-dbus-device.c:
15593 * src/nm-dbus-nm.c:
15594 * src/vpn-manager/nm-vpn-manager.c:
15595 * src/vpn-manager/nm-vpn-service.c:
15596 * test/libnm_glib_test.c:
15597 * test/nminfotest.c:
15598 * test/nmtestdevices.c:
15599 Fix a bunch of 'unused variable' compiler warnings
15601 * NetworkManager.h:
15602 * gnome/applet/applet-dbus-info.c:
15603 * gnome/applet/applet-dbus-info.h:
15604 * gnome/applet/applet.c:
15605 * gnome/applet/applet.h:
15606 * src/NetworkManager.c:
15607 * src/NetworkManagerDbus.c:
15608 * src/NetworkManagerDbus.h:
15609 * src/NetworkManagerDevice.c:
15610 * src/NetworkManagerDevice.h:
15611 * src/NetworkManagerMain.h:
15612 * src/NetworkManagerWireless.c:
15613 * src/NetworkManagerWireless.h:
15614 * src/nm-dbus-nm.c:
15615 Make NetworkManager be smart about how frequently to scan
15616 based on its current state. Remove the UI for choosing when
15617 to scan. Scanning still may disabled completely by the user
15618 via the "Wireless Enabled" menu item.
15620 2005-09-09 Christopher Aillon <caillon@redhat.com>
15622 * gnome/applet/applet.c:
15623 Also overlay the vpn connecting icons onto the wired icon,
15626 * gnome/vpn-properties/nm-vpn-properties.glade:
15627 Clean up a few strings to use better grammar and proper casing.
15629 2005-09-08 Christopher Aillon <caillon@redhat.com>
15631 * gnome/applet/vpn-connection.c:
15632 * gnome/applet/vpn-connection.h:
15633 Add nmwa_vpn_connection_is_activating ()
15635 * gnome/applet/applet.c:
15636 * gnome/applet/applet.h:
15637 * gnome/applet/icons/nm-vpn-connecting*.png:
15638 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15639 the user know something's happening between clicking the VPN item and it
15640 actually being connected.
15642 2005-09-07 Christopher Aillon <caillon@redhat.com>
15644 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15645 failure case as well.
15647 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15649 * gnome/panel/eggtrayicon.[ch]:
15650 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15652 2005-09-07 Dan Williams <dcbw@redhat.com>
15654 Patch from Bill Moss <bmoss@clemson.edu>
15655 * src/applet-dbus.c
15656 - (nmwa_dbus_filter): strip whitespace from beginning
15657 and end of VPN login banner
15659 2005-09-07 Dan Williams <dcbw@redhat.com>
15661 * The great VPN Manager rewrite of 2005
15663 2005-09-07 Christopher Aillon <caillon@redhat.com>
15665 * gnome/applet/menu-items.c:
15666 * gnome/applet/nm-device.c:
15667 * gnome/applet/wireless-network.c:
15668 * gnome/libnm_glib/libnm_glib.c:
15669 * src/NetworkManagerDbusUtils.c:
15670 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15671 g_malloc0 doesn't return NULL
15673 2005-09-06 Dan Williams <dcbw@redhat.com>
15675 Patch from Tomislav Vujec <tvujec@redhat.com>
15676 * src/NetworkManagerDevice.c
15677 - (nm_get_device_by_udi): don't return a device when we
15678 actually didn't find what we were looking for
15680 2005-09-06 Christopher Aillon <caillon@redhat.com>
15682 * gnome/applet/applet-dbus-devices.c:
15683 * gnome/applet/applet-dbus-devices.h:
15684 * gnome/applet/applet-dbus.c:
15685 * src/NetworkManagerDbus.c:
15686 * src/NetworkManagerDbus.h:
15687 * src/NetworkManagerDevice.c:
15688 * src/nm-dbus-device.c:
15689 Make NM push updates about active device strength when it changes,
15690 rather than having the applet poll every 2s.
15692 2005-09-05 Christopher Aillon <caillon@redhat.com>
15694 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15695 network_device_set_strength
15697 2005-09-04 Dan Williams <dcbw@redhat.com>
15699 Patch from Bill Nottingham <notting@redhat.com>
15700 * src/NetworkManagerDevice.c
15701 - (nm_device_activation_cancel): reset the quit_activation flag
15703 2005-09-04 Dan Williams <dcbw@redhat.com>
15705 * src/nm-activation-request.c
15706 - (nm_act_request_unref): actually free the structure,
15707 which we didn't seem to be doing before
15709 2005-09-04 Dan Williams <dcbw@redhat.com>
15711 Patch from John Palmieri <johnp@redhat.com>
15712 * gnome/applet/applet-dbus-devices.c
15713 - Fix up unreffing of DBusMessage objects
15715 2005-09-04 Dan Williams <dcbw@redhat.com>
15717 Patch from John Palmieri <johnp@redhat.com>
15718 * gnome/applet/nm-device.c
15719 - (nm_device_unref): clear network_device's memory _before_ freeing it
15721 2005-09-02 Christopher Aillon <caillon@redhat.com>
15723 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15725 2005-09-02 Bill Nottingham <notting@redhat.com>
15727 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15729 2005-09-01 Dan Williams <dcbw@redhat.com>
15731 * src/NetworkManager.c
15732 - (nm_remove_device_from_list): rename to nm_remove_device
15733 - (nm_hal_device_removed): call nm_remove_device()
15735 * src/NetworkManagerDevice.c
15736 - Change the NMWirelessScanCB member 'reschedule' which
15737 wasn't used to 'force' to indicate that we need to
15738 force a scan when adding a device
15741 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15742 from the device list
15743 - (nm_dbus_nm_wake): Re-add all devices to the device list
15745 2005-09-01 Robert Love <rml@novell.com>
15747 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15748 and the check "!iface" in the error case is probably never true.
15750 2005-09-01 Dan Williams <dcbw@redhat.com>
15752 Patch from Bill Nottingham <notting@redhat.com>
15753 * src/backends/NetworkManagerRedHat.c
15754 - Add initial dialup support to Red Hat/Fedora backend
15756 2005-09-01 Dan Williams <dcbw@redhat.com>
15758 * gnome/applet/applet-dbus-devices.c
15759 - Sort both wireless networks and devices again, which got
15760 broken when removing threading
15762 2005-09-01 Christopher Aillon <caillon@redhat.com>
15764 * gnome/applet/applet.c:
15765 Only show the "Stop/Start All Wireless Devices" menuitem
15766 if we actually have wireless devices.
15768 * gnome/applet/applet-dbus-info.c:
15769 * gnome/applet/applet.c:
15770 * gnome/applet/other-network-dialog.c:
15771 * gnome/applet/vpn-password-dialog.c:
15772 Drop the gtk_dialog_run () calls in favor of connecting to
15773 "response" signals, needed now that the applet is not threaded.
15775 2005-08-31 Dan Williams <dcbw@redhat.com>
15777 Patch from Bill Moss <bmoss@clemson.edu>
15778 * src/NetworkManagerDevice.c
15779 - (nm_device_wireless_scan): fix scan timeout values
15781 2005-08-30 Dan Williams <dcbw@redhat.com>
15783 * gnome/applet/wireless-applet.glade
15784 - HIG-ify the Other Wireless Networks dialog a bit more
15785 - Fix some potential segfaults in the info dialog
15787 2005-08-30 Dan Williams <dcbw@redhat.com>
15789 * gnome/applet/applet-dbus-devices.c
15790 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15792 2005-08-30 Dan Williams <dcbw@redhat.com>
15794 * gnome/applet/applet-dbus.[ch]
15795 - Remove all the nmwa_dbus_call_method_xxxx functions since
15796 they weren't being used anyway
15798 2005-08-30 Bastien Nocera <hadess@hadess.net>
15800 * test/nmtestdevices.c: (print_usage), (main):
15801 Check the number of arguments, and fix a typo
15803 2005-08-29 Dan Williams <dcbw@redhat.com>
15805 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15806 * gnome/applet/applet.c
15807 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15809 2005-08-29 Dan Williams <dcbw@redhat.com>
15812 - Don't use threads any more. Anything that blocks
15813 (like gtk_dialog_run()) will have to get fixed up which
15814 should happen quickly. We really only had threads to make
15815 the animation smooth, and when everything got converted over
15816 to DBus Pending Calls, the need for threads kind of went away
15818 2005-08-29 Christopher Aillon <caillon@redhat.com>
15820 * gnome/applet/applet.c: Draw VPN connections as radio items
15821 since we don't yet support multiple VPNs.
15822 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15823 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15825 2005-08-29 Dan Williams <dcbw@redhat.com>
15827 Patch from j@bootlab.org
15828 - Make --without-named work
15829 - Make --with-dhcdbd work correctly
15831 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15833 * configure.in: Added "ca" to ALL_LINGUAS.
15835 2005-08-26 Christopher Aillon <caillon@redhat.com>
15837 * Fix up VPN state handling between the applet and NetworkManager,
15838 so that the applet doesn't show a VPN as connected when one
15840 - The applet no longer has a pointer to the active VPN's
15841 name, but tracks each VPNs state individually
15842 - NM no longer has a "getActiveVPNConnection" method
15843 - NM no longer broadcasts the "VPNConnectionChange" signal
15844 - NM now broadcasts a "VPNConnectionStateChange" signal
15845 whenever the state of a VPN changes
15847 2005-08-26 Dan Williams <dcbw@redhat.com>
15849 * gnome/applet/applet-dbus-devices.c
15850 gnome/applet/applet-dbus-vpn.c
15851 - Remove calls to dbus_pending_call_ref() because we already
15852 "own" the pending call
15853 - Remove calls to dbus_pending_call_get_completed() because
15854 when we are in the callback, the pending call is completed
15857 2005-08-22 Dan Williams <dcbw@redhat.com>
15859 Patch by Bill Moss <bmoss@clemson.edu>
15860 * src/dhcp-manager/nm-dhcp-manager.c
15861 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15862 some time to send out a RELEASE if they like
15864 2005-08-22 Dan Williams <dcbw@redhat.com>
15866 Noticed by Bill Moss <bmoss@clemson.edu>
15867 * src/NetworkManagerDbus.c
15868 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15869 instead of just cancelling its activation
15871 * src/NetworkManagerDevice.c
15872 - (nm_device_deactivate): some small cleanups
15873 - (nm_device_set_user_key_for_network): deactivate the device
15874 instead of just cancelling its activation
15876 2005-08-22 Dan Williams <dcbw@redhat.com>
15878 Noticed by Bill Moss <bmoss@clemson.edu>
15879 * src/NetworkManagerDevice.c
15880 - (nm_device_wireless_scan): fix scan timeout, we were
15881 waiting way too long for scans to complete
15883 2005-08-22 Dan Williams <dcbw@redhat.com>
15885 Patch from j@bootlab.org:
15886 * src/backends/NetworkManagerDebian.c
15887 - Make the Debian backend work for static IP again
15889 2005-08-20 Christopher Aillon <caillon@redhat.com>
15891 * gnome/applet/other-network-dialog.c:
15892 The "Create New Network" and "Connect to Other Network"
15893 dialogs share alot of code, but shouldn't share a window
15894 title. Give them different ones.
15896 * gnome/applet/wireless-applet.glade:
15897 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15898 Some more minor UI tweaks.
15900 2005-08-19 Christopher Aillon <caillon@redhat.com>
15902 * gnome/applet/other-network-dialog.c:
15903 * gnome/applet/wireless-applet.glade:
15904 Also need mnemonic widgets, and underline enabled.
15906 2005-08-19 Dan Williams <dcbw@redhat.com>
15908 * vpn-daemons/vpnc/nm-vpnc-service.c
15909 - (vpnc_watch_cb): remove no-longer-relevant comment
15910 - (write_config_option): new function, helper to write
15911 config options to vpnc's stdin
15912 - (nm_vpnc_config_write): use the new helper, make the
15915 2005-08-19 Christopher Aillon <caillon@redhat.com>
15917 * gnome/applet/passphrase-dialog.c:
15918 * gnome/applet/wireless-applet.glade:
15919 Make the passphrase dialog response based, and treat
15920 responses other than OK (such as Esc, [X]) as a cancel.
15922 2005-08-18 Christopher Aillon <caillon@redhat.com>
15924 * initscript/Gentoo/NetworkManager:
15925 * initscript/RedHat/NetworkManager:
15926 * initscript/RedHat/NetworkManagerDispatcher:
15927 * initscript/SUSE/networkmanager:
15928 CVS remove these in place of .in replacements
15931 * initscript/Gentoo/NetworkManager.in:
15932 * initscript/RedHat/NetworkManager.in:
15933 * initscript/RedHat/NetworkManagerDispatcher.in:
15934 * initscript/SUSE/networkmanager.in:
15935 These scripts now are generated so they work still when
15936 NM is built using a bindir other than /usr/bin
15938 2005-08-18 Dan Williams <dcbw@redhat.com>
15940 * gnome/applet/main.c
15941 - Revert previous change for --no-session since
15942 --sm-disable does the same thing
15944 2005-08-18 Dan Williams <dcbw@redhat.com>
15946 * gnome/applet/applet-dbus-info.c
15947 - (nmi_dbus_create_error_message): new function
15948 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15949 functions. Also don't check for both device _and_ network before
15950 asking for a user's key, because we may not have gotten all our
15951 networks back from NM quite yet (due to the dbus pending calls
15952 coming in later). Fixes a hang in NM/nm-applet.
15954 * src/NetworkManagerDbus.c
15955 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15956 slightly more sane manner, even though we are still broken for
15957 certain other error conditions.
15958 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15959 to the info-daemon too
15961 * src/NetworkManagerDevice.c
15962 - Fix some debug messages to be info messages instead
15964 2005-08-18 Dan Williams <dcbw@redhat.com>
15966 * gnome/applet/main.c
15967 - Add new "--no-session" parameter that disables applet
15968 session management, ie for testing
15970 2005-08-18 Christopher Aillon <caillon@redhat.com>
15972 * gnome/applet/other-network-dialog.c:
15973 * gnome/applet/wireless-applet.glade: More mnemonics
15975 2005-08-17 Robert Love <rml@novell.com>
15977 * initscript/SUSE/networkmanager: update
15979 2005-08-17 Dan Williams <dcbw@redhat.com>
15981 * Tag NM_0_4_1_RELEASE
15983 2005-08-17 Christopher Aillon <caillon@redhat.com>
15985 * gnome/applet/applet.c: More translatable string cleanup
15988 2005-08-17 Dan Williams <dcbw@redhat.com>
15990 * gnome/applet/applet-dbus-info.c
15991 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15992 from the dbus message, which tells us to unconditionally
15993 ask the user for a new key. Otherwise, we pull the key from
15994 the keyring and return it. If we fail to get the key from the
15995 keyring, we ask the user for a new key.
15996 - (nmi_dbus_get_network_key): new function to grab the key for
15997 an essid from the keyring.
15998 - (nmi_dbus_get_network_properties): don't access the keyring here.
15999 Also, don't return any key in the dbus message.
16001 * src/NetworkManagerDbus.[ch]
16002 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16003 indicate that we unconditionally want a new key. This function
16004 is now also used to get keys from the info-daemon which are
16005 pre-stored, not just for asking the user for a new key. The
16006 "new_key" parameter indicates whether or not we wish to ask the
16007 user for a new key.
16008 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16009 info-daemon in the return message, so use NULL instead. The
16010 key will be filled in at connect time by calling
16011 nm_dbus_get_user_key_for_network()
16013 * src/NetworkManagerDevice.c
16014 - (nm_device_wireless_configure): update for "new_key" param to
16015 nm_dbus_get_user_key_for_network(). We initially set new_key
16016 to FALSE to see if we have a stored key in the info-daemon, but
16017 if the connection is unsuccessful at this stage we request a
16020 2005-08-17 Dan Williams <dcbw@redhat.com>
16022 * gnome/applet/icons/nm-no-connection.png
16023 gnome/applet/icons/nm-device-wired.png
16024 - Use Diana's new RJ45 connector icons
16026 2005-08-17 Dan Williams <dcbw@redhat.com>
16028 * src/NetworkManagerPolicy.c
16029 - (nm_policy_device_change_check): clarify switching rules if
16030 both new and old devices are valid; mainly, don't switch
16031 away from user-requested wireless connection back to a wired
16034 2005-08-17 Dan Williams <dcbw@redhat.com>
16036 * gnome/applet/Makefile.am
16037 - Relocate the applet to /usr/bin since it is no longer
16038 executed by anything, but directly by the user
16040 2005-08-17 Dan Williams <dcbw@redhat.com>
16042 Patch from Bill Moss <bmoss@clemson.edu>
16044 * gnome/applet/applet-dbus-info.[ch]
16045 - (nmi_save_network_info): save timestamp for network if it
16046 was a change requested by the user
16047 - (nmi_dbus_update_network_info): get user_requested from dbus
16048 message and pass to nmi_save_network_info()
16050 * gnome/applet/applet.c
16051 - (nmwa_update_network_timestamp): remove
16052 - (nmwa_menu_item_activate): don't set timestamp on networks
16053 here, only after a successful connect in nmi_save_network_info()
16055 * src/NetworkManagerDbus.[ch]
16056 - (nm_dbus_update_network_info): pass user_requested into the
16059 * src/NetworkManagerPolicy.c
16060 - (nm_policy_activation_finish): pass user_requested to
16061 nm_dbus_update_network_info()
16063 2005-08-16 Robert Love <rml@novell.com>
16065 * gnome/applet/applet.c: Better "Dial Up" menu item.
16067 2005-08-16 Robert Love <rml@novell.com>
16069 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16070 "Connection Information" menu item.
16072 2005-08-16 Dan Williams <dcbw@redhat.com>
16074 Patch from j@bootlab.org
16075 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16077 * configure.in: allow specifying the path to dhcdbd
16079 2005-08-16 Robert Love <rml@novell.com>
16081 Patch from j@bootlab.org
16082 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16083 src/backends/interface_parser.h: Debian dialup support.
16085 2005-08-16 Christopher Aillon <caillon@redhat.com>
16087 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16088 * gnome/applet/applet.c: Add some mnemonics for VPNC
16090 * vpn-daemons/.cvsignore: fix this up a little bit
16092 2005-08-16 Robert Love <rml@novell.com>
16094 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16097 2005-08-16 Christopher Aillon <caillon@redhat.com>
16099 * gnome/applet/applet.c: Split markup out of translatable strings
16100 and clean up logic a little bit. (fixes #309012)
16102 2005-08-15 Christopher Aillon <caillon@redhat.com>
16104 * gnome/vpn-properties/nm-vpn-properties.c:
16105 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16106 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16107 Makeshift fix to remove newlines from translatable strings.
16108 Note that we now return an allocated string, so callers of
16109 get_confirmation_details () must now call g_free () on the
16110 result. (fixes #309033).
16112 2005-08-12 Robert Love <rml@novell.com>
16114 * gnome/applet/applet-dbus.c: remove newlines from translatable
16115 strings--not needed here anyway. (fix b.g.o #309011)
16116 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16118 2005-08-11 Robert Love <rml@novell.com>
16120 * gnome/applet/applet.c: mark string as translatable.
16122 2005-08-11 Robert Love <rml@novell.com>
16124 * initscript/SUSE/networkmanager: update.
16126 2005-08-11 Dan Williams <dcbw@redhat.com>
16128 * src/nm-dhcp-manager.c
16129 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16130 an gateway returned from DHCP, try to use the address of the DHCP
16131 server as the gateway instead. Found by Ralf Ertzinger.
16133 2005-08-10 Robert Love <rml@novell.com>
16135 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16136 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16138 2005-08-10 Dan Williams <dcbw@redhat.com>
16140 Patch from Bill Moss <bmoss@clemson.edu>
16141 * Consolidate writes of access point information updates to the info daemon
16142 so that we only do it when the connection to the access point was
16143 successful. Also consolidates updates to GConf in the Gnome applet.
16145 * src/nm-netlink-monitor.c
16146 - Silence compile warning when calling g_object_new()
16148 2005-08-08 Dan Williams <dcbw@redhat.com>
16150 Patch from Steev <steev@steev.net>:
16151 * src/backends/NetworkManagerGentoo.c
16152 - Stub new dialup backend functions
16154 2005-08-08 Dan Williams <dcbw@redhat.com>
16156 Patch from Colin Slater:
16157 * src/backends/NetworkManagerGentoo.c
16158 - (nm_system_update_dns): Fix exit status check for restarting
16161 2005-08-05 Robert Love <rml@novell.com>
16163 * NetworkManager.h,
16164 gnome/applet/applet-dbus-devices.c,
16165 gnome/applet/applet-dbus-devices.h,
16166 gnome/applet/applet-dbus.c,
16167 gnome/applet/applet.c,
16168 gnome/applet/applet.h,
16169 src/NetworkManager.c,
16170 src/NetworkManagerMain.h,
16171 src/NetworkManagerSystem.h,
16172 src/backends/NetworkManagerRedHat.c,
16173 src/backends/NetworkManagerSuSE.c,
16174 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16176 2005-08-05 Robert Love <rml@novell.com>
16178 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16179 machine's hostname to make adhoc creation idiot-proof.
16181 2005-08-04 Robert Love <rml@novell.com>
16183 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16186 2005-08-04 Dan Williams <dcbw@redhat.com>
16188 * gnome/applet/applet-dbus-info.c
16189 gnome/applet/applet-dbus-info.h
16190 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16191 to store key, key type, and auth method rather than just auth method
16192 - (nmi_dbus_update_network_info): new function
16193 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16195 * gnome/applet/passphrase-dialog.c
16196 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16197 of saving the info ourselves
16199 * gnome/libnm_glib/libnm_glib.c
16200 - Remove the stupid version check for dbus
16202 * src/NetworkManagerAP.c
16203 src/NetworkManagerAP.h
16204 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16206 * src/NetworkManagerDbus.c
16207 src/NetworkManagerDbus.h
16208 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16209 more than just the auth method
16211 * src/NetworkManagerDevice.c
16212 - Update network info at the appropriate times
16214 2005-07-29 Ray Strode <rstrode@redhat.com>
16216 * src/NetworkManager.c (nm_info_handler): don't use input as format
16217 string (Spotted by Ian Jackson).
16219 2005-07-27 Dan Williams <dcbw@redhat.com>
16223 - Random cleanups of spacing
16225 * gnome/applet/applet.h
16226 gnome/applet/other-network-dialog.c
16227 gnome/applet/passphrase-dialog.c
16228 - Conslidate usage of NMWAEncryptionKeyTypes enum
16230 Patch from Bill Moss:
16231 - Make Other Wireless Networks work again with encryption keys
16233 2005-07-26 Dan Williams <dcbw@redhat.com>
16235 Patch from Steev <steev@steev.net>:
16236 * src/backends/NetworkManagerGentoo.c
16237 src/backends/Makefile.am
16238 - Fix up Gentoo backend
16240 2005-07-26 Robert Love <rml@novell.com>
16242 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16244 2005-07-25 Robert Love <rml@novell.com>
16246 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16247 in the same group as the wireless networks, since they are all
16248 mutually exclusive.
16250 2005-07-24 Ray Strode <rstrode@redhat.com>
16252 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16253 remove unneeded NULL arg from g_object_new(). Any
16254 warnings caused by not having the extra NULL are just a
16255 result of a bug in glib 2.7.0 - 2.7.2.
16257 2005-07-22 Robert Love <rml@novell.com>
16259 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16261 2005-07-22 Robert Love <rml@novell.com>
16263 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16264 parameters (gcc 4.0.2 warning fix).
16266 2005-07-18 Robert Love <rml@novell.com>
16268 Suggested by Aaron Bockover (abockover@novell.com)
16269 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16271 * gnome/applet/passphrase-dialog.c: ditto
16272 * gnome/applet/wireless-applet.glade: ditto
16274 2005-07-13 Dan Williams <dcbw@redhat.com>
16276 Patch from Ray Strode <halfline@gmail.com>
16277 * vpn-daemons/vpnc/nm-vpnc-service.c
16278 - Don't let vpnc daemonize, fixes some races with PID file reading
16280 2005-07-13 Dan Williams <dcbw@redhat.com>
16282 Patch from Ray Strode <halfline@gmail.com>
16283 * Random cleanups for strict CFLAGS
16285 2005-07-07 Dan Williams <dcbw@redhat.com>
16287 Patch from Derek Atkins <warlord@MIT.EDU>
16288 * src/nm-dbus-net.c:
16289 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16291 2005-07-07 Dan Williams <dcbw@redhat.com>
16293 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16294 * src/backends/NetworkManagerGentoo.c
16295 - Gentoo backend Static IP nameserver fixes
16296 - General Gentoo backend goodness
16298 2005-07-07 Dan Williams <dcbw@redhat.com>
16300 Patch from Bastien Nocera:
16301 * gnome/applet/applet.c
16302 - Fix up error reporting when icons or glade files are missing
16304 2005-07-07 Robert Love <rml@novell.com>
16306 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16307 are not any VPN connections above it.
16309 2005-07-07 Robert Love <rml@novell.com>
16311 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16313 2005-07-05 Robert Love <rml@novell.com>
16315 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16318 2005-07-05 Robert Love <rml@novell.com>
16320 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16321 on wired or unencrypted wireless.
16323 2005-07-01 Robert Love <rml@novell.com>
16325 * src/NetworkManagerSystem.c: Print the error via strerror().
16327 2005-06-30 Robert Love <rml@novell.com>
16329 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16330 then exit if the glade file is not found. currently the application
16333 2005-06-30 Robert Love <rml@novell.com>
16335 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16336 explicitly up all interfaces on wake from sleep.
16338 2005-06-30 Robert Love <rml@novell.com>
16340 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16341 with information about the currently active connection.
16342 * gnome/applet/applet.h: (ditto)
16343 * gnome/applet/wireless-applet.glade: (ditto), new file
16345 2005-06-30 Robert Love <rml@novell.com>
16347 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16348 * src/nm-dbus-nm.c: print when we sleep and wake up.
16349 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16350 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16351 in /sbin unless D-BUS is, folks).
16352 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16354 2005-06-27 Robert Love <rml@novell.com>
16356 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16359 2005-06-27 Robert Love <rml@novell.com>
16361 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16364 2005-06-26 Robert Love <rml@novell.com>
16366 * src/NetworkManagerDevice.c: be specific about which device in
16369 2005-06-23 Adam Weinberger <adamw@gnome.org>
16371 * src/nm-netlink-monitor.c: correct spelling error.
16373 2005-06-23 Robert Love <rml@novell.com>
16375 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16376 * gnome/applet/passphrase-dialog.c: more of that keyring!
16378 2005-06-23 Robert Love <rml@novell.com>
16380 * configure.in: remove extraneous GNOMEKEYRING directives.
16381 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16382 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16383 * gnome/applet/passphrase-dialog.c: whitespace.
16385 2005-06-23 Robert Love <rml@novell.com>
16387 * src/NetworkManagerDevice.c: division in assignment was flipped.
16389 2005-06-23 David Zeuthen <david@fubar.dk>
16391 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16392 signal to the child to indicate that we got what we wanted when we
16393 see two new-lines right after each other.
16394 (nmwa_vpn_request_password): Pass a structure with several members
16395 instead of just the passwords
16397 2005-06-23 Dan Williams <dcbw@redhat.com>
16399 * src/NetworkManager.c
16400 src/NetworkManagerMain.h
16401 - (nm_get_hal_ctx): new function, move Hal initialization code here
16402 - (nm_hal_init): new function, init libhal context then add devices
16403 - (nm_hal_deinit): new function, clean up libhal context
16404 - (nm_data_free): Move Hal cleanup here
16405 - (main): check whether Hal is running, and if so, get a list of
16406 network devices from it
16408 * src/NetworkManagerDbus.c
16409 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16410 and when it appears, get a list of network devices from it. If
16411 Hal goes away, clean up the libhal context
16413 2005-06-22 Robert Love <rml@novell.com>
16415 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16416 permissions of scripts before executing.
16418 2005-06-21 Robert Love <rml@novell.com>
16420 * initscript/SUSE/networkmanager: update.
16421 * src/backends/NetworkManagerSuSE.c: cleanup.
16423 2005-06-21 Robert Love <rml@novell.com>
16425 * gnome/applet/applet.c: use menu mnemonics.
16426 * gnome/applet/menu-items.c: (ditto)
16428 2005-06-21 Robert Love <rml@novell.com>
16430 * applet/applet-dbus-devices.c: mark non-static functions static.
16431 * applet/applet-dbus-vpn.c: (ditto)
16432 * applet/applet.c: (ditto)
16433 * applet/nm-device.h: (ditto)
16434 * applet/other-network-dialog.c: (ditto)
16435 * applet/passphrase-dialog.c: (ditto)
16436 * NetworkManager.c: (ditto)
16437 * NetworkManagerDbus.c: (ditto)
16438 * NetworkManagerDevice.c: (ditto)
16439 * NetworkManagerPolicy.c: (ditto)
16440 * NetworkManagerUtils.c: (ditto)
16441 * NetworkManagerWireless.c: (ditto)
16442 * NetworkManagerWireless.h: (ditto)
16443 * nm-netlink-monitor.c: (ditto)
16444 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16445 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16446 * autoip.c: include autoip.h.
16447 * autoip.h: new file. define get_autoip().
16448 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16449 * NetworkManagerDbus.h: remove duplicate definitions.
16451 2005-06-20 Robert Love <rml@novell.com>
16453 * Makefile.am: Add missing intltool-foo.in generated files to
16454 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16455 with the start of stuff to cleanup on 'distclea'.
16456 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16457 stuff right and 'distcheck' works.
16458 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16459 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16460 Makefile.am for each. And systray/Makefile needs to be redone.
16462 2005-06-19 Dan Williams <dcbw@redhat.com>
16464 * src/NetworkManagerDevice.c
16465 - (nm_device_wireless_process_scan_results): scan every 20s when
16466 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16468 2005-06-19 Dan Williams <dcbw@redhat.com>
16470 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16472 2005-06-18 Ray Strode <rstrode@redhat.com>
16474 * src/nm-netlink-monitor.c
16475 (nm_netlink_monitor_event_handler): check for the presence
16476 of either error condition not both.
16478 (nm_netlink_monitor_error_handler): emit error signal if
16481 (nm_netlink_monitor_event_handler),
16482 (nm_netlink_monitor_error_handler),
16483 (nm_netlink_monitor_disconnect_handler): if an
16484 assertion fails disconnect the event handler to prevent
16487 * src/nm-netlink-monitor.h: add new error condition
16488 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16490 2005-06-18 Ray Strode <rstrode@redhat.com>
16492 * src/nm-netlink-monitor.c
16493 (nm_netlink_monitor_event_handler): remove bogus < 0
16494 check on unsigned value and return early if the kernel
16495 didn't send any bytes.
16497 2005-06-17 Robert Love <rml@novell.com>
16499 * initscript/SUSE/networkmanager: Change the Provides and default
16502 2005-06-16 Dan Williams <dcbw@redhat.com>
16504 Patch from Robert Love:
16505 * gnome/applet/applet.c
16506 - Beautify some applet menu item names
16508 2005-06-17 David Zeuthen <davidz@redhat.com>
16510 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16511 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16512 Also add new methods can_export, import_file and export.
16514 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16517 * gnome/vpn-properties/nm-vpn-properties.c:
16518 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16519 nm-vpn-ui-interface.h.
16520 (update_edit_del_sensitivity): Also update "Export" sensitivity
16521 (add_vpn_connection): Also add new SVC_NAME column
16522 (import_settings): New function
16523 (retrieve_data_from_selected_connection): New function
16524 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16526 (export_cb): New function
16527 (init_app): Also setup the "export" widget
16528 (main): Support the --import-service and --import-file commandline
16531 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16534 2005-06-16 Dan Williams <dcbw@redhat.com>
16536 Patch from Robert Love:
16537 * gnome/applet/menu-items.c
16538 - (network_menu_item_new): pass -1 as wireless network
16539 menu items height size request rather than ascent / 2
16541 2005-06-16 Dan Williams <dcbw@redhat.com>
16543 * Clean up wording in Wireless Scan Methods menu items and constants
16545 2005-06-16 Robert Love <rml@novell.com>
16548 - remove gtkcell* files
16550 2005-06-15 Dan Williams <dcbw@redhat.com>
16552 Patch from Robert Love: make the applet stetic
16554 * gnome/applet/Makefile.am
16555 - Don't compile the gtkcellview and gtkcellrendererprogress files
16557 * gnome/applet/gtkcellview.h
16558 gnome/applet/gtkcellview.c
16559 gnome/applet/gtkcellrendererprogress.h
16560 gnome/applet/gtkcellrendererprogress.c
16563 * gnome/applet/menu-items.c
16564 - Progress bars are 5:1 size ratio
16565 - Use GTK progress bars rather than internal ones
16567 2005-06-15 Dan Williams <dcbw@redhat.com>
16569 Patch from Robert Love:
16570 * initscript/SUSE/networkmanager
16573 2005-06-15 Dan Williams <dcbw@redhat.com>
16575 * src/backends/NetworkManagerSuSE.c
16576 src/backends/NetworkManagerRedHat.c
16577 src/backends/NetworkManagerDebian.c
16578 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16580 2005-06-15 Dan Williams <dcbw@redhat.com>
16582 * src/backends/NetworkManagerDebian.c
16583 - Add nm_system_device_get_use_dhcp() to debian backend
16585 Patch from Kay Sievers:
16586 * src/backends/NetworkManagerSuSE.c
16587 - Update debian backend for static IP nameservers
16589 * src/NetworkManagerDevice.c
16590 - Actually set the device to use static IP or DHCP rather
16593 2005-06-15 Dan Williams <dcbw@redhat.com>
16595 Patch from Thom May:
16596 * src/backends/NetworkManagerDebian.c
16597 - Update debian backend for static IP nameservers
16599 2005-06-15 Dan Williams <dcbw@redhat.com>
16601 Patches from Robert Love:
16602 * gnome/applet/wireless-applet.glade
16603 - Tighten up wording
16605 * src/NetworkManagerDevice.c
16606 - Remove misplaced ';'
16609 initscript/Makefile.am
16610 initscript/SUSE/Makefile.am
16611 initscript/SUSE/networkmanager
16612 - Add SUSE initscript
16614 2005-06-12 David Zeuthen <davidz@redhat.com>
16616 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16618 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16620 * gnome/vpn-properties/nm-vpn-properties.c: New file
16622 * gnome/vpn-properties/Makefile.am: New file
16624 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16627 * src/vpn-manager/nm-vpn-manager.c
16628 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16629 instead of just a single one
16631 * src/vpn-manager/nm-dbus-vpn.c:
16632 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16634 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16636 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16637 Change the interface here to give a list of passwords. Also, don't
16638 require username, but do require service
16640 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16641 the binary for the auth-dialog and use that instead of putting up a
16642 dialog asking for a single password
16644 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16645 however do remember the service
16647 * gnome/applet/main.c (main): Setup i18n
16649 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16650 connection to '%s'" to the tooltip if we are connected using VPN
16651 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16652 key to determine whether we the auth-dialog needs to
16653 reprompt. Also cope with the fact that the auth-dialog now returns
16654 an array of passwords.
16655 (nmwa_menu_configure_vpn_item_activate): New handler for
16656 "Configure VPN..." menu item
16657 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16658 (is_vpn_available): New function to determine if we got any
16659 NM-compatible VPN software installed
16660 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16661 items only if we have NM-compatible VPN software installed
16662 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16663 logic for detecting when VPN connections are removed
16665 * gnome/applet/applet-dbus.h: Removed the prototypes for
16666 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16667 since these are defined elsewhere
16669 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16670 function used to keep track of whether the last attempt succeded
16671 (nmwa_dbus_filter): Update last_attempt according to whether the
16672 VPN connection could be established or not
16674 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16675 Change prototype to take an array of passwords, not just a single
16678 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16679 update service, not user
16680 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16681 dbus_active_vpn_name is not NULL before using it
16682 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16683 string array instead of assuming a single password
16685 * gnome/applet/applet-dbus-info.c:
16686 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16687 user name; don't read from gconf
16689 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16692 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16694 * configure.in: Add checks for gmodule-2.0.
16695 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16696 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16697 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16700 * vpn-daemons/Makefile.am: Removed
16702 * vpn-daemons/README: New file to describe extensions points for VPN
16705 2005-06-10 Dan Williams <dcbw@redhat.com>
16707 * src/backends/NetworkManagerRedHat.c
16708 - (get_current_profile_name): new function, grab current network profile name from
16709 /etc/sysconfig/network
16710 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16711 update an IP4 Config structure's settings from it
16712 - (nm_system_device_get_system_config): if we're using static IP on this device,
16713 get DNS info from current network profile
16715 2005-06-09 Dan Williams <dcbw@redhat.com>
16717 Patch from Robert Love:
16718 * src/NetworkManagerDevice.c
16719 src/NetworkManagerUtils.c
16720 - 64-bit build fixes
16722 2005-06-09 Dan Williams <dcbw@redhat.com>
16724 Patch from Kay Sievers and Robert Love:
16726 src/backends/Makefile.am
16727 src/backends/NetworkManagerSuSE.c
16730 2005-06-09 Dan Williams <dcbw@redhat.com>
16733 - Add NMWirelessScanMethod enum for scan methods
16735 * gnome/applet/applet-dbus-devices.c
16736 - (nmwa_dbus_update_scanning_enabled_cb): remove
16737 - (nmwa_dbus_update_scanning_enabled): remove
16738 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16739 since it got removed
16740 - (nmwa_dbus_enable_scanning): remove
16742 * gnome/applet/applet-dbus-info.c
16743 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16744 update the wireless scanning method from NMI
16745 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16746 method value to NetworkManager
16747 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16749 * gnome/applet/applet-dbus-info.h
16750 - Add prototype for nmi_dbus_signal_update_scan_method
16752 * gnome/applet/applet.c
16753 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16754 Wireless Scanning menu based on current wireless scan method
16755 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16756 signal for Wireless Scanning menu items, tell NetworkManager the new method
16757 and update our menu items to make sure the right one is checked
16758 - (nmwa_set_scanning_enabled_cb): remove
16759 - (nmwa_context_menu_update): remove references to pause_scanning_item
16760 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16762 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16764 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16765 so we get notified of preference values too
16766 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16768 * gnome/applet/applet.h
16769 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16770 - Add wireless scan method member to applet data
16771 - Remove pause_scanning_item, add Wireless Scanning submenu
16773 * src/NetworkManager.c
16774 - (nm_data_new): default to NM_SCAN_METHOD_ON
16775 - (main): grab scanning method from NMI if we can
16777 * src/NetworkManagerDbus.c
16778 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16779 nm_dbus_update_wireless_scan_method()
16780 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16782 - (nm_dbus_nmi_is_running): redundant function, removed
16783 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16784 when NMI comes back
16786 * src/NetworkManagerDevice.c
16787 - (nm_device_is_activated): return TRUE if the device is activated
16788 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16789 and we are activated
16792 - (nm_dbus_nm_set_scanning_enabled): removed
16793 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16794 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16796 2005-06-09 Dan Williams <dcbw@redhat.com>
16799 src/vpn-manager/nm-vpn-service.c
16800 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16802 2005-05-27 Dan Williams <dcbw@redhat.com>
16804 * vpn-daemons/vpnc/nm-vpnc-service.c
16805 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16806 Should fix the bug where the VPN connection terminates the first time.
16808 2005-05-20 Dan Williams <dcbw@redhat.com>
16811 - Differentiate VPN config signals between bad VPN config options
16814 * gnome/applet/applet-dbus-info.h
16815 - Add prototypes for wireless network and vpn connection update functions
16817 * gnome/applet/applet-dbus.c
16818 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16820 * gnome/applet/applet.c
16821 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16823 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16824 propogation to NetworkManager
16825 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16826 notify propogation to NetworkManager
16828 * src/NetworkManagerDbus.c
16829 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16830 are updating so a network can be removed from it if necessary
16832 * src/vpn-manager/nm-vpn-manager.c
16833 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16835 * vpn-daemons/vpnc/nm-vpnc-service.c
16836 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16837 - (nm_vpnc_dbus_signal_launch_failed): remove
16838 - (nm_vpnc_dbus_signal_connect_failed): remove
16839 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16840 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16841 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16842 for new generalized error signal function, remove config file stuff
16843 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16844 we can write configuration options to it
16845 - (nm_vpnc_config_file_generate): removed
16846 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16847 - (nm_vpnc_config_options_validate): validate the config options we receive
16848 from NetworkManager to block potential exploits
16849 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16851 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16854 2005-05-16 Dan Williams <dcbw@redhat.com>
16856 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16857 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16860 2005-05-16 Dan Williams <dcbw@redhat.com>
16862 Patch from Tomislav Vujec <tvujec@redhat.com>
16863 * gnome/applet/applet-dbus-info.c
16864 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16865 GConf and pass them to NetworkManager. New key is 'routes' under
16866 the VPN connection, and should be a string list
16868 * src/NetworkManagerSystem.c
16869 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16870 set them on the device when we set the rest of the VPN config. Ensure
16871 they are in the correct format since they are passed directly to the
16874 * src/backends/NetworkManagerRedHat.c
16875 src/backends/NetworkManagerDebian.c
16876 - (nm_system_device_add_route_via_device_with_iface): new function
16878 * src/vpn-manager/nm-dbus-vpn.c
16879 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16881 * src/vpn-manager/nm-vpn-manager.c
16882 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16883 them into the IP4 config functions
16885 2005-05-15 Dan Williams <dcbw@redhat.com>
16887 From Filip Miletic:
16891 - Serbian translation added
16893 2005-05-15 Dan Williams <dcbw@redhat.com>
16895 * dispatcher-daemon/NetworkManagerDispatcher.c
16896 - (main): sync arguments with NetworkManager and the applet, now use
16897 "--no-daemon" rather than "daemon=no"
16898 - (nmd_print_usage): Fix script path in usage message
16900 2005-05-15 Dan Williams <dcbw@redhat.com>
16902 * src/NetworkManagerDevice.[ch]
16903 src/NetworkManagerPolicy.c
16904 src/NetworkManager.c
16906 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16907 longer send the DeviceNoLongerActive signal unconditionally, but only
16908 when the device is actually active.
16910 * dispatcher-daemon/NetworkManagerDispatcher.c
16911 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16912 and simplify the logic
16913 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16914 we free it later on
16916 * initscript/RedHat/Makefile.am
16917 initscript/RedHat/NetworkManagerDispatcher
16918 - Add initscript for NetworkManagerDispatcher
16921 Patch from Bill Moss:
16922 * dispatcher-daemon/NetworkManagerDispatcher.c
16923 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16925 * src/NetworkManagerDbus.c
16926 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16927 and DeviceNowActive gets signaled, then the device has a new IP address
16928 anyway. There's no need for a separate signal.
16930 * src/NetworkManagerDevice.c
16931 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16933 * src/NetworkManagerPolicy.c
16934 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16935 activates successfully. This kind of went missing when I reworked the
16938 2005-05-15 Dan Williams <dcbw@redhat.com>
16941 - Check for dhcdbd and error if its not found
16943 * src/dhcp-manager/Makefile.am
16944 src/dhcp-manager/nm-dhcp-manager.c
16945 - Use path to dhcdbd that configure found
16947 2005-05-14 Dan Williams <dcbw@redhat.com>
16949 * gnome/applet/nm-device.c
16950 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16951 sort wireless networks alphabetically
16953 * gnome/applet/applet-dbus-devices.c
16954 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16955 before copying them over to the GUI
16957 2005-05-14 Dan Williams <dcbw@redhat.com>
16959 * src/NetworkManager.c
16960 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16961 fixes a deadlock on shutdown with a VPN connection active. This function locks
16962 the device list, as does nm_get_active_device() which is called from
16963 nm_vpn_manager_deactivate_vpn_connection().
16965 2005-05-14 Dan Williams <dcbw@redhat.com>
16968 - Add signals for VPN Launch and Connect failures
16970 * gnome/applet/applet-dbus.c
16971 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16973 * gnome/applet/applet.c
16974 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16975 function to handle all VPN failure messages
16976 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16977 function to hanlde all VPN failure messages
16978 - (show_warning_dialog): work around focus-stealing prevention
16980 * gnome/applet/other-network-dialog.c
16981 gnome/applet/passphrase-dialog.c
16982 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16983 problem where it never enabled for ASCII Key and Hex Key types
16985 * gnome/applet/wireless-applet.glade
16986 - Add window title to Other Wireless Network Dialog
16988 * src/vpn-manager/nm-dbus-vpn.c
16989 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16990 function to handle all VPN failure messages
16992 * src/vpn-manager/nm-vpn-manager.c
16993 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16995 * vpn-daemons/vpnc/nm-vpnc-service.c
16996 - (nm_vpnc_dbus_signal_launch_failed): new function
16997 - (nm_vpnc_dbus_signal_connect_failed): new function
16998 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16999 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17000 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17001 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17003 2005-05-11 Dan Williams <dcbw@redhat.com>
17005 * vpn-daemons/vpnc/nm-vpnc-service.c
17006 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17007 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17008 file exists before trying to write it out.
17010 2005-05-10 Dan Williams <dcbw@redhat.com>
17012 * gnome/applet/applet-dbus-device.c
17013 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17014 prevented just entering ESSID and leaving key and key type up to
17015 NetworkManager (which should have them already cached)
17017 2005-05-08 Dan Williams <dcbw@redhat.com>
17019 * src/NetworkManagerPolicy.c
17020 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17021 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17022 fix a situation where NM is told to terminate and the device stops activation,
17023 but the main thread isn't aware of that because it would never have run
17024 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17027 * src/NetworkManagerDevice.c
17028 - (nm_device_probe_wired_link_state): cosmetic fixes
17029 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17030 we've failed to activate or been canceled.
17031 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17033 2005-05-08 Dan Williams <dcbw@redhat.com>
17035 * src/NetworkManagerWireless.c
17036 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17037 value of WEXT quality structures, and add a debug message when we cannot
17038 determine any quality % at all
17040 2005-05-08 Dan Williams <dcbw@redhat.com>
17042 * src/dhcp-manager/nm-dhcp-manager.c
17043 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17046 2005-05-06 Dan Williams <dcbw@redhat.com>
17048 * gnome/applet/applet-dbus-device.c
17049 gnome/applet/applet-dbus-info.c
17050 gnome/applet/applet-dbus.c
17051 gnome/applet/applet.c
17052 gnome/applet/applet.h
17053 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17055 * gnome/applet/applet-dbus.c
17056 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17057 so we notice when wired device's carriers come back on. Should
17058 fix issue with wired devices being grayed out even if the cable
17059 is in, for devices that support carrier detection.
17061 * gnome/applet/applet.c
17062 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17063 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17065 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17066 Fix situation where applet wouldn't respond to menu selections
17068 * src/NetworkManager.c
17069 src/NetworkManagerDevice.c
17070 src/NetworkManagerDbus.c
17071 src/NetworkManagerDbus.h
17072 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17074 * src/NetworkManagerDbus.c
17075 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17076 Remove, no longer used or relevant
17077 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17078 - (nm_dbus_schedule_device_status_change_signal): add
17080 * src/NetworkManagerDevice.c
17081 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17082 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17083 ie don't deactivate them unless explicitly told to by the user. Also send
17084 CARRIER_OFF / CARRIER_ON signals when link changes
17085 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17086 Don't print error message when device is no longer around
17087 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17088 not just during activation
17090 * src/NetworkManagerPolicy.c
17091 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17092 auto-device-selection.
17093 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17095 * src/NetworkManagerSystem.c
17096 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17097 is no longer present (Bill Moss)
17099 * src/backends/shvar.c
17100 - (svOpenFile): Open read-only to make SELinux happy
17102 * src/backends/NetworkManagerRedHat.c
17103 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17104 the path to the ifcfg-* files
17106 2005-05-05 Dan Williams <dcbw@redhat.com>
17108 * Expose activation stages to NetworkManager clients, like the applet
17109 * Add Diana's progress icons to the applet, cued off NM activation stage
17110 * Use more descriptive tooltips, cued off NM activation stage
17112 2005-05-05 Ray Strode <rstrode@redhat.com>
17114 * src/nm-netlink-monitor.c:
17115 - Use clear_event_source instead of g_nullify_pointer() again.
17117 2005-05-05 Dan Williams <dcbw@redhat.com>
17119 * gnome/applet/main.c
17120 - Fix session management so the applet is actually managed now
17122 * gnome/applet/passphrase-dialog.c
17123 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17125 2005-05-05 Dan Williams <dcbw@redhat.com>
17127 Patch from Bill Moss:
17128 * gnome/libnm_glib/libnm_glib.c
17129 - Fix for dbus-0.33
17131 2005-05-05 Dan Williams <dcbw@redhat.com>
17133 Suggestion from Bill Moss:
17134 * src/NetworkManagerSystem.c
17135 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17138 * src/NetworkManager.c
17139 - (nm_data_free): move destruction of the various managers after
17140 release of device list, because deactivating and freeing a device
17141 requires at least the named manager
17142 - (nm_poll_and_update_wireless_link_state):
17143 (nm_device_link_activated):
17144 (nm_device_link_deactivated):
17145 don't grab the device list lock when actually updating device
17146 link status or strength, since nm_device_set_link_active()
17147 needs to call nm_get_active_device(), which also locks the device list.
17149 * src/NetworkManagerDevice.c
17150 - (nm_device_set_link_active): if a device's link switches from off->on,
17151 and it's wired, and the active device is wireless (or there is no
17152 active device), activate the new device whose link just came on
17153 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17154 my only calling the link to the current ap "failed" when more than 2
17155 consecutive link checks have failed
17157 2005-05-04 Dan Williams <dcbw@redhat.com>
17159 * src/NetworkManagerDevice.c
17160 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17161 but let link_to_specific_ap() do the locking where it needs
17163 Patch from Bill Moss:
17164 * src/NetworkManagerSystem.c
17165 - Set MTU of VPN devices to 1412
17167 2005-05-04 Dan Williams <dcbw@redhat.com>
17169 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17171 * Fix some holes in device activation and retaining the currently connected
17174 2005-05-03 Dan Williams <dcbw@redhat.com>
17176 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17177 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17178 means you need dhcdbd, which you can get here (get the latest one):
17180 http://people.redhat.com/jvdias/dhcdbd/
17182 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17183 interface as dhcdbd.
17185 * Rewrite device activation to facilitate the new DHCP infrastructure and
17186 future improvements. Its now "activation request" based, ie there is a single
17187 activation request composed of the device, access point, and other info which
17188 follows the entire activation process. There are 5 stages of the activation
17189 process which correspond to:
17191 1) Device preparation
17192 2) Device configuration (bring it up, set ESSID/Key/etc)
17193 3) IP Config Start (fire off DHCP if we're using it)
17194 4) IP Config Get (grab config from DHCP or static config files)
17195 5) IP Config Commit (set device's IP address, DNS, etc)
17197 Note that there is no longer a "scanning" step, since the access point must
17198 be known _before_ activation starts. If the access point drops out or does
17199 not exist for some reason, the entire activation process fails and must be
17200 restarted for a different access point or device.
17202 Patch from Bill Moss:
17203 * gnome/applet/applet.c
17204 - Fix type of vpn_failure dialog -> vpn_banner dialog
17206 2005-04-27 Dan Williams <dcbw@redhat.com>
17208 * gnome/applet/applet-dbus-vpn.c
17209 gnome/applet/applet.c
17210 gnome/applet/applet.h
17211 - Fix up active VPN handling so that we reliably know when a VPN
17212 connection has been deactivated
17214 * src/vpn-manager/nm-vpn-manager.c
17215 - Remove duplicate VPNConnectionChange signal
17217 2005-04-27 Dan Williams <dcbw@redhat.com>
17219 Patch from Peter Jones:
17220 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17222 Patch from Bill Moss:
17223 * src/NetworkManagerSystem.c
17224 - Fix checking of return value from ioctl()
17226 2005-04-27 Dan Williams <dcbw@redhat.com>
17228 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17229 * Warn and exit if icons cannot be found
17231 2005-04-27 Dan Williams <dcbw@redhat.com>
17233 Patch from Tom Parker:
17234 * Update debian backend
17236 2005-04-27 Dan Williams <dcbw@redhat.com>
17238 * Merge the applet and the info-daemon, and move the converged
17239 applet under gnome/applet
17240 * Move libnm_glib to gnome/libnm_glib
17241 * Convert most dbus calls between the applet, info-daemon, and NM
17243 * Fix a few things valgrind noticed
17244 * Make NM broadcast state more reliably
17246 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17248 * configure.in: Added ne in ALL_LINGUAS
17250 2005-04-15 Dan Williams <dcbw@redhat.com>
17252 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17253 code for dbus 0.2x versions
17255 2005-04-15 Dan Williams <dcbw@redhat.com>
17257 Patches from Tom Parker:
17259 - Join with worker thread rather than polling for its exit
17261 Patch from Bill Moss:
17262 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17264 2005-04-15 Dan Williams <dcbw@redhat.com>
17266 - Fixes to pass 'make distcheck'
17268 2005-04-15 Dan Williams <dcbw@redhat.com>
17270 Initial VPN Support
17272 - reworks device IP configuration, backend files have changed and will need
17273 to be updated for all distributions. I will try to do what I can for
17274 them, but I cannot test them.
17276 - Move named directory to src/named-manager
17277 - Make backends directory self-contained
17279 2005-04-06 Dan Williams <dcbw@redhat.com>
17281 Add debug code for socket/file descriptor leaks. We register every socket
17282 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17283 list of sockets that we forgot to close on shutdown. This also consolidates
17284 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17286 2005-04-06 Dan Williams <dcbw@redhat.com>
17289 - (dhcp_interface_free): fix a file descriptor leak that may have
17290 caused network drivers to not unload due to refcounts > 0
17292 2005-04-04 Dan Williams <dcbw@redhat.com>
17294 * panel-applet/NMWirelessAppletDbus.c
17295 - (nmwa_dbus_call_nm_method): remove some commented code
17297 * src/NetworkManagerAPList.[ch]
17298 - (nm_ap_list_remove_ap_by_essid): new function
17300 * src/NetworkManagerDevice.c
17301 - (nm_device_wireless_force_use): remove access points from the ignore list
17302 when the user forces them
17304 * src/nm-dbus-device.c
17305 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17307 2005-04-04 Dan Williams <dcbw@redhat.com>
17309 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17311 2005-04-04 Dan Williams <dcbw@redhat.com>
17313 * src/NetworkManagerDevice.c:
17314 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17315 of only erroring after the second consecutive scan times out. Also
17316 don't exit when the card requires more time than we can give it, just
17317 log the event and continue.
17319 2005-04-01 Steve Murphy <murf@e-tools.com>
17321 * configure.in: Added "rw" to ALL_LINGUAS.
17323 2005-04-01 Dan Williams <dcbw@redhat.com>
17325 Perform scans during device activation, if needed. Both activation
17326 and scans run in the same GMainContext. Therefore, if an access point
17327 is not found by the time the device starts activation, it will not
17328 be available until after activation. We now try to scan during
17329 activation (in nm_wa_test) every 15s so that all available access
17330 points are more likely to be found and available for the activation
17333 Also change nm_wireless_link_state_handle() to only update the "best"
17334 AP if we are not forcing a device and if we are not about to change
17335 state. This attempts to work around a race when forcing a device,
17336 where the forced AP would get cleared out too soon by the link state
17337 checking timeout in the main thread, and the activation attempt with
17338 that AP would fail.
17340 2005-04-01 Dan Williams <dcbw@redhat.com>
17343 - Update with new translatables
17345 2005-03-31 Dan Williams <dcbw@redhat.com>
17347 * panel-applet/NMWirelessAppletDbus.c
17348 - Fix device names now that hal has changed device parenting for
17351 2005-03-31 Dan Williams <dcbw@redhat.com>
17353 Tighten up handling of wireless devices that don't support wireless
17354 scanning (ie, Orinoco). Due to restructuring of code, these devices
17355 hadn't been doing pseudo-scanning for a while either and would just
17356 spin waiting for an access point. They are now manual devices where
17357 the user must choose the access point from the menu every time. All
17358 "allowed" access points are listed in the applet's menu regardless
17359 of whether or not they can be seen by the card, since it can't scan
17362 * src/NetworkManager.c
17363 - (nm_wireless_link_state_handle): new function, but only update
17364 the "best" ap for non-scanning devices when its not activating,
17365 and when no device is being forced on the card
17366 - (nm_link_state_monitor): split wireless link state handling out
17367 into separate function
17369 * src/NetworkManagerDevice.c
17370 - (nm_device_copy_allowed_to_dev_list): new function
17371 - (nm_device_new): populate non-scanning cards' AP lists with
17372 access points from the "allowed" list
17373 - (nm_device_new): don't start a scanning timeout for devices that
17375 - (nm_device_activation_schedule_finish): new parameter, should be
17376 the AP that failed to be connected to, pass it on to the
17377 activation finish function in NetworkManagerPolicy.c
17378 - (nm_device_activate_wireless): don't ever try to get a new AP
17379 for non-scanning devices, just fail. The user must choose
17380 a new access point manually.
17381 - (nm_device_activate): grab the AP that failed connection and
17383 - (nm_device_update_best_ap): Clear the best AP if we don't have
17384 a link to it, user must manually choose a new one
17385 - (nm_device_do_pseudo_scan): remove function
17386 - (nm_device_wireless_process_scan_results): remove bits for non-
17387 scanning cards since they never get here
17388 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17389 and fake the scan list for test devices a bit earlier
17391 * src/NetworkManagerPolicy.c
17392 - (nm_policy_activation_finish): use the failed_ap that we get
17393 passed rather than getting the best_ap from the card, which
17394 may have changed since we were scheduled
17395 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17396 update their scan list directly from the allowed list when
17397 we get updates to the allowed list from NetworkManagerInfo
17399 * src/NetworkManagerPolicy.h
17400 - New member for failed access point in NMActivationResult
17402 -------------------------------------
17404 Driver Notification patch: notifies the user when their driver
17405 sucks. Gives them the option to ignore further insertions
17406 of the card that has the sucky driver.
17409 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17410 enum and replace it with NO_CARRIER_DETECT and
17413 * panel-applet/NMWirelessApplet.[ch]
17414 - Merge essid.glade -> wireless-applet.glade
17415 - Implement the "Your driver sucks" notification dialog
17417 * panel-applet/NMWirelessAppletDbus.c
17418 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17419 - Grab hardware address for each device from NM too
17420 - Check whether the driver for each device sucks or not whenever
17421 a new device is noticed
17423 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17424 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17426 * src/NetworkManager.c
17427 - Fix a double-unref on device removal
17429 * src/NetworkManagerUtils.c
17430 - Set appropriate driver support level on a device that doesn't
17431 support scanning or carrier detection
17433 * src/nm-dbus-device.c
17434 - New "getHWAddress" dbus method on devices
17435 - getSupportsCarrierDetect -> getDriverSupportLevel
17437 2005-03-31 Dan Williams <dcbw@redhat.com>
17439 * src/NetworkManagerDevice.c
17440 - (nm_device_wireless_scan): Fix leak of scan results in some
17443 2005-03-29 Dan Williams <dcbw@redhat.com>
17445 * src/NetworkManager.c
17446 - (nm_poll_and_update_wireless_link_state): make code less indented
17448 Patch from Bill Moss:
17449 * src/NetworkManager.c
17450 - (nm_device_update_link_state): Update signal strength on wireless
17451 devices every time we update link state too.
17453 2005-03-29 Dan Williams <dcbw@redhat.com>
17455 * src/NetworkManagerDevice.c
17456 - (nm_device_set_essid): Work around Orinoco cards which need
17457 extra time after setting the ESSID
17459 2005-03-29 Dan Williams <dcbw@redhat.com>
17461 * src/NetworkManagerDevice.c
17462 - Merge one more bit of Peter Jones' completion patch
17464 2005-03-29 Dan Williams <dcbw@redhat.com>
17466 * src/NetworkManagerDevice.c
17467 - (nm_device_force_use): Fix possible segfault
17469 2005-03-29 Dan Williams <dcbw@redhat.com>
17471 * src/NetworkManagerDevice.c
17472 - Use iw_get_ext() where we should rather than iw_set_ext()
17474 2005-03-29 Dan Williams <dcbw@redhat.com>
17476 * src/NetworkManagerDevice.c
17477 - (nm_device_set_up_down): remove check for unsupported devices
17478 that caused NM to not bring devices up when they were
17479 added to the device list.
17481 2005-03-28 Dan Williams <dcbw@redhat.com>
17483 * src/NetworkManagerDevice.c
17484 - (mdio_read): Fix two bugs that caused all devices to fail
17485 the MII carrier detection support checks
17487 2005-03-26 Dan Williams <dcbw@redhat.com>
17489 * src/NetworkManagerDevice.c
17490 - (nm_device_wireless_scan): Remove duplicated scanning code
17492 2005-03-25 Dan Williams <dcbw@redhat.com>
17494 * panel-applet/NMWirelessApplet.c
17495 - (nmwa_about_cb): Add some more contributors
17496 - (nmwa_update_state): show the applet when there's no connection
17497 - Enable the "Stop/Resume all wireless devices" option in the
17499 - New "no connection" icon
17501 * src/NetworkManager.c
17502 - (nm_poll_and_update_wireless_link_state): don't do anything if
17503 wireless is disabled or we're asleep
17505 * src/NetworkManagerDHCP.c
17506 - Remove trailing "\n" on debug messages
17508 * src/NetworkManagerDbus.c
17509 - (nm_dbus_network_status_from_data): new state "asleep"
17511 * src/NetworkManagerDevice.c
17512 - Merge most of Peter Jones' "completion" patch that greatly reduces
17513 latency and wait times for most operations
17514 - (nm_device_wireless_scan): Don't scan when asleep
17516 * src/NetworkManagerPolicy.c
17517 - (nm_policy_get_best_device): return no device when asleep
17518 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17519 for all wireless devices on update, not just active device
17521 * src/NetworkManagerUtils.c
17522 - Merge Peter Jones' "completion" patch
17525 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17526 we're told to disable them
17527 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17530 - New variants of the warn/info/error/debug print functions that can take
17531 variables rather than static strings
17533 2005-03-24 Dan Williams <dcbw@redhat.com>
17535 * src/NetworkManagerUtils.c
17536 - (nm_get_device_driver_name): driver names are now on the parents of
17537 "Network Interface" objects, so look for them there
17539 2005-03-24 Dan Williams <dcbw@redhat.com>
17542 - Escape some forgotten object paths before we shove them through dbus
17544 2005-03-24 Dan Williams <dcbw@redhat.com>
17546 * dhcpcd/dhcpcd.[ch]
17547 src/NetworkManagerDHCP.c
17548 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17549 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17551 * src/NetworkManagerDbus.c
17554 * src/nm-dbus-dhcp.c
17555 - Make the API suck less. There is now only 1 type of each function,
17556 ie only "getInteger" and no longer also "getIntegerv". All types
17557 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17558 that will never have more than 1 element. This should simplify
17561 * test/nm-dhcp-opt-test.c
17562 - Make the tool not segfault
17563 - adapt to new DHCP Options API
17565 2005-03-22 Dan Williams <dcbw@redhat.com>
17567 * src/NetworkManager.c
17568 - (nm_wired_link_deactivated): actually ignore netlink events from
17571 2005-03-22 Dan Williams <dcbw@redhat.com>
17573 * src/NetworkManager.c
17574 - (nm_wired_link_activated): actually ignore netlink events from
17577 2005-03-17 Dan Williams <dcbw@redhat.com>
17579 Patch from Tom Parker:
17580 * src/nm-netlink-monitor.c
17582 * info-daemon/NetworkManagerInfoDbus.c
17583 - (nmi_dbus_update_network_auth_method): free GConf values
17585 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17586 * src/NetworkManagerDevice.c
17587 - (nm_device_set_wireless_config): wait for successful
17588 association longer for some cards (Atheros a/b/g)
17590 2005-03-15 Ray Strode <rstrode@redhat.com>
17592 * src/NetworkManager.c:
17593 (sigterm_pipe_handler):
17596 2005-03-15 Ray Strode <rstrode@redhat.com>
17598 * src/NetworkManagerDbus.c:
17599 Fix some sign weirdness that gcc4 doesn't like,
17600 and add a header file so PPC can hopefully find
17603 2005-03-14 Ray Strode <rstrode@redhat.com>
17605 Fourth (probably working) cut at porting to
17606 dbus 0.30 api and new hal. This cut adds
17607 some new logging macros to make debugging
17610 * dispatcher-daemon/NetworkManagerDispatcher.c:
17611 * info-daemon/NetworkmanagerInfo.c:
17612 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17613 * info-daemon/NetworkManagerInfoVPN.c:
17614 * src/NetworkManager.c:
17615 * src/NetworkManagerAP.c:
17616 * src/NetworkManagerAPList.c:
17617 * src/NetworkManagerDHCP.c:
17618 * src/NetworkManagerDbus.c:
17619 * src/NetworkManagerDevice.c:
17620 * src/NetworkManagerPolicy.c:
17621 * src/NetworkManagerSystem.c:
17622 * src/NetworkManagerUtils.c:
17623 * src/NetworkManagerWireless.c:
17625 * src/nm-dbus-nm.c:
17626 * src/backends/NetworkManagerDebian.c:
17627 * src/backends/NetworkManagerGentoo.c:
17628 * src/backends/NetworkManagerRedHat.c:
17629 * src/backends/NetworkManagerSlackware.c:
17630 use new logging macros.
17632 * dispatcher-daemon/NetworkManagerDispatcher.c:
17633 (nmd_dbus_filter): s/dbus_free/g_free/
17635 * info-daemon/Makefile.am: link in utils library.
17636 * info-daemon/NetworkmanagerInfo.c: use new logging
17638 (nmi_dbus_get_network): don't assume enumerations
17640 (nmi_dbus_nmi_message_handler): don't free what
17641 doesn't belong to us.
17643 * libnm_glib/libnm_glib.c:
17644 (libnm_glib_get_nm_status):
17645 (libnm_glib_init): don't free what doesn't
17647 (libnm_glib_dbus): strdup result, so it doesn't get
17648 lost when message is unref'd.
17650 * panel-applet/NMWirelessAppletDbus.c:
17651 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17653 * src/NetworkManager.c:
17654 (nm_monitor_wired_link_state): request initial status
17655 dump of all cards when we start up, instead of relying
17656 on /sys/.../carrier.
17657 (nm_info_handler), (nm_set_up_log_handlers):
17658 log handlers to specify what syslog priorites
17659 the logging macros default to.
17661 * src/NetworkManagerAPList.c:
17662 (nm_ap_list_populate_from_nmi):
17663 s/dbus_free_string_array/g_strfreev/
17665 * src/NetworkManagerDbus.c:
17666 (nm_dbus_get_network_object):
17667 validate d-bus message argument types.
17668 Advance message iterator after reading argument,
17669 prepend instead of append to GSList.
17671 * src/NetworkManagerDevice.c:
17672 (nm_device_probe_wired_link_status):
17673 remove redundant /sys in /sys path. remove wrong
17674 contents == NULL means has carrier assumption.
17676 * src/nm-netlink-monitor.c
17677 (nm_netlink_monitor_request_status): implement
17678 function to ask kernel to dump interface link
17679 status over netlink socket.
17681 * test/*.c: s/dbus_free/g_free/
17683 * utils/nm-utils.h:
17684 (nm_print_backtrace): new macro to print backtrace.
17685 (nm_get_timestamp): new macro to get sub-second precise
17687 (nm_info), (nm_debug), (nm_warning), (nm_error):
17688 new logging functions. nm_info just prints,
17689 nm_debug includes timestamp and function,
17690 nm_warning includes function, nm_error includes
17691 backtrace and sigtrap.
17693 2005-03-11 Ray Strode <rstrode@redhat.com>
17695 Third (unfinished, partially working) cut at porting to
17696 dbus 0.30 api and new hal.
17698 * info-daemon/NetworkManagerInfoDbus.c:
17699 don't free null arrays.
17701 * panel-applet/NMWirelessAppletDbus.c:
17702 * src/nm-dbus-device.c:
17703 * src/nm-dbus-net.c:
17704 * src/NetworkManagerDbus.c: more
17705 STRING -> OBJECT_PATH fun
17706 * src/NetworkManagerDevice.c:
17707 * src/NetworkManagerDevice.h:
17708 (rename nm_device_get_link_active): rename to
17709 nm_device_has_active_link
17710 (nm_device_wireless_link_active): rename to
17711 nm_device_probe_wireless_link_state
17712 (nm_device_wired_link_active): rename to
17713 nm_device_probe_wired_link_state. Rewrite to
17714 use carrier file since hal doesn't maintain
17715 link state anymore.
17716 (nm_device_update_link_active): rename to
17717 nm_device_update_link_state
17718 * src/NetworkManagerPolicy.c
17719 (nm_policy_activation_finish): check for NULL
17723 * src/NetworkManagerMain.h:
17724 * src/NetworkManager.c:
17725 * src/nm-netlink-monitor.c:
17726 * src/nm-netlink-monitor.h: New class to support
17727 monitoring wired ethernet link status, since HAL
17728 doesn't export that information anymore.
17730 2005-03-09 Ray Strode <rstrode@redhat.com>
17732 Second (unfinished, unworking) cut at porting to
17735 * dispatcher-daemon/NetworkManagerDispatcher.c:
17736 * info-daemon/NetworkManagerInfoDbus.c:
17737 * panel-applet/NMWirelessAppletDbus.c:
17738 * src/NetworkManagerDbusUtils.c:
17739 * src/NetworkManagerDbusUtils.h:
17740 * src/nm-dbus-device.c:
17741 * src/nm-dbus-nm.c:
17742 * test/nmtest.c: support dbus "object path" type
17746 * info-daemon/Makefile.am:
17747 * libnm_glib/Makefile.am:
17748 * panel-applet/Makefile.am:
17749 * dispatcher-daemon/Makefile.am
17751 * test/Makefile.am:
17752 * utils/Makefile.am:
17753 * utils/nm-utils.c:
17754 * utils/nm-utils.h: new utils static lib
17756 2005-03-07 Ray Strode <rstrode@redhat.com>
17758 * info-daemon/NetworkManagerInfoDbus.c:
17759 * libnm_glib/libnm_glib.c:
17760 * panel-applet/NMWirelessAppletDbus.c:
17761 * src/NetworkManager.c:
17762 * src/NetworkManagerDbus.c:
17763 * src/NetworkManagerDevice.c:
17764 * src/NetworkManagerUtils.c:
17765 * src/nm-dbus-device.c:
17766 * src/nm-dbus-dhcp.c:
17767 * src/nm-dbus-net.c:
17768 * src/nm-dbus-nm.c:
17769 * test/nminfotest.c:
17770 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17772 2005-03-04 Dan Williams <dcbw@redhat.com>
17777 2005-03-04 Dan Williams <dcbw@redhat.com>
17779 Patch from Peter Jones:
17780 - Make stuff work with gcc 4.0
17782 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17784 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17786 2005-02-27 Jim Huang <jserv@kaffe.org>
17788 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17790 2005-02-27 Dan Williams <dcbw@redhat.com>
17792 Patch from Bill Moss:
17793 * panel-applet/NMWirelessAppletDbus.c
17794 - Make sure strength for current access point is up-to-date when we
17795 update the gui data model
17797 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17799 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17801 2005-02-27 Dan Williams <dcbw@redhat.com>
17803 * src/backends/NetworkManagerRedHat.c
17804 - (nm_system_init): Kill any dhclient processes lying around as well
17805 as stopping 'nifd' if its already been started. NetworkManager
17806 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17808 2005-02-27 Dan Williams <dcbw@redhat.com>
17810 * panel-applet/NMWirelessApplet.c
17811 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17812 dbus data model, not the GUI data model twice.
17814 2005-02-27 Dan Williams <dcbw@redhat.com>
17816 * panel-applet/NMWirelessApplet.[ch]
17817 panel-applet/NMWirelessAppletDbus.[ch]
17818 - Move to incremental network updates. Instead of blowing away our list
17819 of devices every time we get a signal from NetworkManager, we now
17820 incrementally add/remove networks when NetworkManager notifies us that
17821 a new network has appeared or disappered. Strength updates now happen
17822 on-the-fly for each access point as well. There are now two copies of
17823 data from NetworkManager: one for the dbus side, and one for the gui side.
17824 When the dbus side data is modified, it is copied over to the gui side
17825 so we don't have to hold the data_mutex for long periods of time (and
17826 therefore block animation of the applet's icon).
17827 - Clean up some memleaks too
17829 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17830 - Minor code beautification
17832 * src/NetworkManagerAPList.c
17833 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17834 completely new and whether or not an existing one's strength was updated.
17835 Try to fix multiple access points and signal strength by using the highest
17836 signal strength in each scan for any given ESSID.
17838 * src/NetworkManagerDbus.[ch]
17839 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17840 wireless networks; now we have only WirelessNetworkUpdate which includes
17841 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17842 - Kill usage of DbusMessageIter
17844 * src/NetworkManagerDevice.c
17845 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17846 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17847 AP rather than all-at-once. Also don't ever remove the AP a card is
17848 currently associated with from the network list.
17849 - Update for new signals during scan, send out Appeared, Disappeared, or
17850 StrengthChanged when necessary.
17852 2005-02-25 Dan Williams <dcbw@redhat.com>
17855 - Line break the README
17857 2005-02-25 Dan Williams <dcbw@redhat.com>
17859 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17860 - Remove usage of gtk_window_set_default_size()
17862 * panel-applet/essid.glade
17863 - Stick default size here
17864 - Add in random crap that current glade wants to add in now
17866 2005-02-25 Dan Williams <dcbw@redhat.com>
17868 * src/backends/NetworkManagerRedHat.c
17869 - For non-caching-nameserver/non-named case, ensure that nscd is running
17870 and that we actually tell nscd to reload the hosts cache when it changes
17872 2005-02-25 Dan Williams <dcbw@redhat.com>
17874 * info-daemon/NetworkManagerInfoDbus.c
17875 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17877 * test/nminfotest.c
17878 - Whack usage of DbusMessageIter
17879 - Clean up DbusError and DbusMessage handling and freeing
17880 - Remove unused unregister handler
17883 - Whack usage of DbusMessageIter
17885 * test/nmtestdevices.c
17886 - Whack usage of DbusMessageIter
17888 2005-02-25 Dan Williams <dcbw@redhat.com>
17891 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17894 2005-02-25 Dan Williams <dcbw@redhat.com>
17896 * named/nm-named-manager.c
17897 - Ensure that pid and watch variables for child named process get cleared out
17898 when the child goes away.
17900 2005-02-22 Dan Williams <dcbw@redhat.com>
17902 * src/NetworkManagerPolicy.c
17903 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17904 and NULL out data->active_device so that we have to choose another one.
17905 This may make NetworkManager keep attempting to connect to a wired network
17906 if it fails, but if it keeps failing the wired network has more problems than
17907 just NetworkManager.
17909 * src/backends/NetworkManagerRedHat.c
17910 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17913 * named/nm-named-manager.c
17914 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17915 named so that the distro can flush whatever name service caching
17918 2005-02-21 Dan Williams <dcbw@redhat.com>
17920 * src/NetworkManagerDHCP.[ch]
17921 - (nm_device_dhcp_remove_timeouts): new function
17923 * src/NetworkManagerDevice.c
17924 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17925 remove the DHCP timeouts.
17927 2005-02-21 Dan Williams <dcbw@redhat.com>
17929 * panel-applet/NMWirelessApplet.[ch]
17930 panel-applet/menu-info.[ch]
17931 - Give the panel applet some major love: menu items are no longer
17932 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17933 This allows the applet to actually reflect theme changes correctly,
17934 since themeing of subclassed items in GTK _sucks_.
17936 2005-02-18 Dan Williams <dcbw@redhat.com>
17938 * libnm_glib/libnm_glib.[ch]
17939 test/libnm_glib_test.c
17940 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17941 and its data, and doesn't have to free the callback data anymore
17943 2005-02-18 Dan Williams <dcbw@redhat.com>
17945 * panel-applet/NMWirelessApplet.c
17946 - Revert 2005-02-18 William Jon McCann fix for standard
17947 copyright string until it passes 'make distcheck'.
17948 With standard copyright string, xgettext complains
17949 about "Non-ASCII string at ...".
17951 2005-02-18 Dan Williams <dcbw@redhat.com>
17953 * panel-applet/essid.glade
17954 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17955 - Correct spelling of "adaptor"->"adapter"
17957 2005-02-18 William Jon McCann <mccann@jhu.edu>
17959 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17960 (nmwa_about_cb): Use standard copyright string. Update comment
17961 text to reflect that it is a notification area applet. Remove
17962 leading newline in authors list.
17963 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17964 instead of on parent menu item activation. Fixes #167550.
17966 2005-02-18 William Jon McCann <mccann@jhu.edu>
17968 * panel-applet/essid.glade: Capitalize items as per HIG.
17971 2005-02-16 William Jon McCann <mccann@jhu.edu>
17973 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17974 files for GTK 2.4 or lower, since now public in GTK 2.6.
17976 * panel-applet/essid.glade: Don't specify window size.
17978 2005-02-17 Dan Williams <dcbw@redhat.com>
17980 Caught by Bill Moss:
17982 - Time remaining for DHCP transaction calculation was incorrectly
17983 inside a #ifdef DEBUG
17985 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17987 * configure.in: Added fr (French) to ALL_LINGUAS.
17989 2005-02-14 Dan Williams <dcbw@redhat.com>
17991 * src/NetworkManagerDHCP.c
17992 - (set_domain_searches): Fix free of invalid pointer
17994 2005-02-14 Dan Williams <dcbw@redhat.com>
17996 Patch from Peter Jones:
17998 - Ensure we return RET_DHCP_CEASED everywhere we should
17999 * dhcpcd/udpipgen.c
18000 - Use faster TOS for IP packets
18001 - Don't set ip_id since we're UDP
18003 Patch from Tomislav Vujec:
18004 * src/nm-dbus-dhcp.c
18005 test/nm-dhcp-opt-test.c
18006 - Clean up warnings to enable cvs tree compilation.
18008 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18012 - Add the Croatian locale.
18014 2005-02-14 Colin Walters <walters@verbum.org>
18016 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18017 list of domains to search.
18019 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18021 2005-02-13 Dan Williams <dcbw@redhat.com>
18024 - Debug output cleanups of DHCP option printing and parsing.
18026 2005-02-13 Dan Williams <dcbw@redhat.com>
18028 Patch from Dan Reed: DHCP options D-BUS API
18029 Exposes the DHCP options that a device receives to clients over D-BUS.
18035 - Correct names, option length, and types for DHCP options
18037 * dhcpcd/dhcpcd.[ch]
18038 - Clarify function names that access DHCP options & data
18040 * src/NetworkManagerDHCP.c
18041 - Use new DHCP data access functions
18043 * src/NetworkManagerDbus.c
18044 - Message handler for DHCP functions
18046 * src/nm-dbus-dhcp.[ch] (new)
18047 - DHCP dbus methods
18049 * test/nm-dhcp-opt-test.c
18050 - Test DHCP D-BUS API and return all present DHCP options
18052 2005-02-12 Dan Williams <dcbw@redhat.com>
18055 test/nmclienttest.c
18057 - Move nmclienttest.c -> nmtest.c
18059 2005-02-12 Dan Williams <dcbw@redhat.com>
18061 * dhcpcd/buildmsg.c
18062 - Pad DHCP packets until they are at least 300 bytes in size.
18064 2005-02-11 Dan Williams <dcbw@redhat.com>
18067 - (dhcp_init): only print out client ID and class ID if they are specified
18069 * src/NetworkManagerDbus.[ch]
18070 src/nm-dbus-nm.[ch]
18071 src/nm-dbus-device.[ch]
18072 src/nm-dbus-net.[ch]
18073 - Move NM, Device, and Net functions to separate files and use the
18074 dbus method list stuff in NetworkManagerDbusUtils.c to do
18077 * src/NetworkManagerDbusUtils.c
18078 - Add new validate_method called before each dispatch (if present)
18079 that can validate the method call
18081 * src/NetworkManagerWireless.c
18082 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18083 levels never to be evaluated
18085 Patch from j@bootlab.org
18086 * src/NetworkManagerDevice.c
18087 - Add typedef for "u64"
18089 * src/backends/NetworkManagerDebian.c
18090 - Copy in Dave Woodhouse's fixes for IPv6
18092 2005-02-11 Dan Williams <dcbw@redhat.com>
18094 Patch from Dave Woodhouse for IPv6:
18095 * src/NetworkManagerUtils.c
18096 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18097 and multicast addresses
18099 * src/NetworkManagerDevice.c
18100 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18101 after bringing up a card.
18103 2005-02-10 Dan Williams <dcbw@redhat.com>
18105 Patch from Dave Woodhouse:
18106 * src/NetworkManagerSystem.h
18107 src/backends/NetworkManagerDebian.c
18108 src/backends/NetworkManagerGentoo.c
18109 src/backends/NetworkManagerSlackware.c
18110 - New nm_system_device_add_ip6_link_address() function to add link-local
18111 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18113 * src/backends/NetworkManagerRedHat.c
18114 - (nm_system_device_add_ip6_link_address): implement
18115 - (nm_system_device_flush_addresses): revert to previous behavior of
18116 flushing all addresses
18118 2005-02-10 Dan Williams <dcbw@redhat.com>
18120 Patch from Tom Parker:
18121 * src/NetworkManagerDevice.c
18122 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18123 mii.h headers are broken, and instead use our own typedefs
18125 2005-02-10 Dan Williams <dcbw@redhat.com>
18127 * dhcpcd/buildmsg.c
18128 - (fill_host_and_class_id): only fill in client and class IDs if
18129 they are set by callers.
18132 - (class_id_setup): don't autogenerate a class ID, only use one
18133 we're given, if any.
18134 - (client_id_setup): don't autogenerate a client ID, only use one
18135 we're given, if any.
18138 - (dhcp_interface_init): ensure that client options are correctly
18141 * src/NetworkManagerDHCP.c
18142 - (nm_device_dhcp_request): pass hostname to dhcp library
18144 2005-02-10 Dan Williams <dcbw@redhat.com>
18147 - #rh147661# Don't send kernel version in DHCP requests
18149 * src/NetworkManagerSystem.h
18150 src/backends/NetworkManagerDebian.c
18151 src/backends/NetworkManagerGentoo.c
18152 src/backends/NetworkManagerRedHat.c
18153 src/backends/NetworkManagerSlackware.c
18154 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18155 functions, they are no longer used anyway
18157 * src/backends/NetworkManagerRedHat.c
18158 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18159 addresses in an attempt to keep IPv6 local-scope addresses around
18161 2005-02-10 Dan Williams <dcbw@redhat.com>
18163 * src/NetworkManager.c
18164 - (nm_create_device_and_add_to_list): change the add message slightly
18166 * src/NetworkManagerUtils.c
18167 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18168 Return driver name to calling function
18169 - (nm_get_driver_support_level): print out the driver a device is using
18170 during the support check
18172 Patch from Dave Woodhouse:
18173 * dhcpcd/udpipgen.c
18174 - (in_cksum): copy last byte of odd-sized packets into a
18175 'u_short' rather than a 'u_char', should fix wrong checksums
18176 on big-endian platforms
18178 2005-02-09 Dan Williams <dcbw@redhat.com>
18180 * Clean up usage of GSList objects and looping through their members
18181 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18183 * Fix problem where even if scanning was turned off, card would still
18184 cycle through frequencies.
18186 2005-02-08 Dan Williams <dcbw@redhat.com>
18188 * panel-applet/NMWirelessApplet.c
18191 2005-02-08 Dan Williams <dcbw@redhat.com>
18193 Patch from Bill Moss
18194 * panel-applet/NMWirelessApplet.c
18195 - Restore correct ESSID in tooltips
18197 2005-02-07 Dan Williams <dcbw@redhat.com>
18199 * panel-applet/NMWirelessApplet.[ch]
18200 - Add a context menu that contains:
18201 Pause/Resume Wireless Scanning
18202 Stop/Start All Wireless Devices
18204 - Grab active device strength off active device,
18207 * panel-applet/NMWirelessAppletDbus.[ch]
18208 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18209 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18210 - Update active device strength every 2 seconds, not every 1 second
18212 * panel-applet/menu-info.c
18213 - Only disable wired devices in the menu when they support carrier detection,
18214 and don't currently have a link. Non-carrier-detect devices will always
18218 src/NetworkManagerDbusUtils.[ch]
18219 - Add new new dbus utils sources
18221 * src/NetworkManager.c
18222 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18223 with the boolean parameter
18224 - Set scanning_enabled & wireless_enabled to TRUE
18226 * src/NetworkManagerDbus.c
18227 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18228 - Implement scanning & wireless enable/disable calls
18229 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18231 * src/NetworkManagerDevice.c
18232 - New link detection stuff again...
18233 o Create device's mainloop earlier (but don't run it earlier)
18234 o Hook up new carrier-detect support stuff
18235 o Add in the ethtool & mii support detection code
18236 - Don't scan if scanning is disabled
18238 * src/NetworkManagerPolicy.c
18239 - Never automatically choose a device that doesn't support carrier detection
18240 - Don't automatically choose a wireless device if wireless is disabled
18242 2005-02-07 Dan Williams <dcbw@redhat.com>
18244 * libnm_glib/libnm_glib.c
18245 - Small cleanup in element list iteration
18247 2005-02-07 Dan Williams <dcbw@redhat.com>
18249 * src/NetworkManagerWireless.c
18250 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18251 to be in line with the WEXT quality specification
18253 2005-02-02 Dan Williams <dcbw@redhat.com>
18255 Patch from Nathan Fredrickson <nathan@silverorange.com>
18256 * Fix up compile for deprecation of libgnomeui
18257 - Switch to <glib/gi18n.h> from <libintl.h>
18258 - Remove <libgnomeui/libgnomeui.h> includes
18259 - Use gtk_window_set_default_icon_from_file() rather than
18260 gnome_window_set_default_icon_from_file()
18262 * named/nm-named-manager.c
18263 - (generate_named_conf): Fix return-nothing in non-void
18266 2005-02-02 Dan Williams <dcbw@redhat.com>
18268 * Clean up unused variables and the like
18270 2005-02-02 Dan Williams <dcbw@redhat.com>
18272 * src/NetworkManagerAPList.c
18273 - (nm_ap_list_merge_scanned_ap): merge strength too
18275 * src/NetworkManagerUtils.c
18276 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18277 of locking issues by printing out prettier information than g_mutex_lock
18278 - Print out names of mutexes registered with nm_register_mutex_desc()
18279 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18280 us to seemingly block here for too long
18282 * src/NetworkManager.c
18283 src/NetworkManagerAPList.c
18284 src/NetworkManagerDevice.c
18285 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18286 so we get better debug information printed
18288 * src/NetworkManagerDbus.c
18289 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18290 since it sometimes has locking side effects
18291 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18293 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18294 we don't need a switch. This gets called often enough that we can't block
18295 until the scan mutex is acquired, because we'll block on device activation
18296 and a few other things, which hangs main thread for too long.
18298 * src/NetworkManagerPolicy.c
18299 - (nm_policy_auto_get_best_device): reduce the possiblity that
18300 nm_device_need_ap_switch() will be called
18302 2005-02-02 Dan Williams <dcbw@redhat.com>
18304 * panel-applet/NMWirelessApplet.c
18305 - Display name of wireless network we are connecting to or connected to
18306 in the tooltip of the applet
18308 2005-02-02 Dan Williams <dcbw@redhat.com>
18310 * src/NetworkManagerDHCP.c
18311 - Hopefully fix double-default-route problem by cleaning up the default
18312 route added by DHCP code right before the DHCP transaction begins
18314 2005-02-02 Dan Williams <dcbw@redhat.com>
18316 * named/nm-named-manager.c
18317 - Write out valid resolv.conf when we exit
18319 2005-02-01 Dan Williams <dcbw@redhat.com>
18321 Patch from Colin Walters:
18322 * named/nm-named-manager.c
18323 - Make multi-domain search options work
18325 2005-01-31 Dan Williams <dcbw@redhat.com>
18327 * info-daemon/NetworkManagerInfoDbus.c
18328 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18330 * src/NetworkManagerDevice.c
18331 - (nm_device_new): Don't store the entire range struct, use only what we need
18332 (which is currently avg_quality, max_quality, and frequencies). Also
18333 zero device structure when we've free'd it to maybe expose errors down
18335 - (nm_device_update_signal_strength): grab the scan mutex before getting
18336 quality data from the card since quality will be useless during a scan.
18337 Call updated wireless qual-to-percent function with values stored in
18338 nm_device_new() earlier.
18339 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18340 nm_device_get_bad_crypt_packets())
18341 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18343 - (get_initial_auth_method): always use the Auth method that's in the allowed
18344 list if available. Problem was this: when the WEP key is wrong, NM will
18345 try OS then SK modes, and then get stuck in SK mode after that. This
18347 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18350 * src/NetworkManagerWireless.c
18351 - (nm_wireless_qual_to_percent): try to make this function actually work and
18352 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18353 if that's all present, otherwise fall back to signal-to-noise ratios.
18355 2005-01-29 Dan Williams <dcbw@redhat.com>
18357 * initscript/RedHat/NetworkManager
18358 - Don't spit out sysctl stuff to console
18360 * libnm_glib/libnm_glib.c
18361 - (libnm_glib_init): call dbus_g_thread_init()
18363 * panel-applet/NMWirelessAppletDbus.c
18364 - (nmwa_dbus_worker): call dbus_g_thread_init()
18366 * src/NetworkManager.c
18367 - (main): call dbus_g_thread_init()
18369 * src/NetworkManagerAPList.c
18370 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18371 so we can actually see what's there in a normal syslog
18373 * src/NetworkManagerDevice.c
18374 - (nm_device_activate_wireless): print out the "waiting for access point"
18375 message only once, then say what access point we actually got after
18377 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18378 function, wait until the scan is done. Scans may change the ESSID of
18379 the card, making this function think we need to switch access points
18380 - (nm_device_wireless_process_scan_results): for artificial access points
18381 don't check against the card's ESSID, but the best_ap's ESSID. This
18382 prevents collisions with the scanning code, which may change the card's
18383 ESSID and cause the access point to get dropped from the device's AP
18384 list. Also increase the keep-around time to 2m from 60s since the max
18385 scan interval could be 60s in some cases.
18387 * src/NetworkManagerPolicy.c
18388 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18389 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18390 the new properties and ESSIDs to the device's AP list. Fixes some races
18391 between NM and NMI.
18393 2005-01-27 Dan Williams <dcbw@redhat.com>
18395 * info-daemon/NetworkManagerInfoDbus.c
18396 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18397 GConf, make a minimal entry for it (essid & timestamp)
18399 * src/NetworkManagerAPList.c
18400 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18401 NetworkManagerInfo isn't running
18403 * src/NetworkManagerDbus.[ch]
18404 - (nm_dbus_nmi_is_running): new function
18406 * src/NetworkManagerDevice.c
18407 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18408 address to garbage.
18410 * src/NetworkManagerPolicy.c
18411 - (nm_policy_activation_finish): On successful activation, make sure
18412 the "best" AP has a MAC address, and don't tell NMI to add the
18413 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18414 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18415 access point after refreshing our allowed list if it doesn't already
18416 have a "best" access point.
18418 2005-01-25 Dan Williams <dcbw@redhat.com>
18420 * panel-applet/NMWirelessAppletDbus.c
18421 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18422 so we check for NM_DBUS_SERVICE rather than not for it
18424 * libnm_glib/libnm_glib.c
18425 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18426 ServiceOwnerChanged signal
18428 2005-01-25 Dan Williams <dcbw@redhat.com>
18431 - Check DBUS version in configure, and set the C macros
18432 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18434 * info-daemon/NetworkManagerInfoDbus.c
18435 - Remove #if 0-d section of code that quit NMI if NM went away.
18437 * panel-applet/NMWirelessAppletDbus.c
18438 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18440 * src/NetworkManager.c
18441 src/NetworkManagerMain.h
18442 src/NetworkManagerDbus.c
18443 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18444 - Make updating of our Allowed Wireless Network lists from NMI
18445 an idle function in the main thread now, with a high priority.
18447 2005-01-24 Dan Williams <dcbw@redhat.com>
18449 * panel-applet/gtkcellview.[ch]
18450 panel-applet/menu-info.c
18451 - Fix GTK version checks to be <= rather than <
18454 - Include the libtool archive of libnm_glib rather than
18455 trying to pull in the .so
18457 2005-01-24 Dan Williams <dcbw@redhat.com>
18459 * src/NetworkManagerDevice.c
18460 src/NetworkManagerDevicePrivate.h
18461 - Block nm_device_new() until our device's worker thread has had a
18462 chance to start up. Fixes a race between main thread and worker
18463 thread starting that caused activation requests to get lost.
18465 2005-01-24 Dan Williams <dcbw@redhat.com>
18467 * initscript/RedHat/NetworkManager
18468 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18469 to add the NM startup script at priority 50, which was
18472 2005-01-24 Colin Walters <walters@redhat.com>
18474 * named/named.conf: Use any port for query source instead of
18475 restricting to port 53.
18477 2005-01-24 Dan Williams <dcbw@redhat.com>
18479 * initscript/RedHat/NetworkManager
18480 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18481 to add the NM startup script at priority 50, which was
18484 2005-01-24 Dan Williams <dcbw@redhat.com>
18486 Patch from Tom Parker <palfrey@tevp.net>
18487 * Fix up compile warnings & errors in the wireless applet
18489 2005-01-24 Dan Williams <dcbw@redhat.com>
18491 * panel-applet/NMWirelessApplet.c
18492 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18494 2005-01-24 Dan Williams <dcbw@redhat.com>
18496 * panel-applet/gtkcellview.[ch]
18497 - Only compile these files for GTK 2.4 or lower, since
18498 GtkCellView is now public in GTK 2.6. Fixes crasher
18499 when choosing "Other Wireless Networks" from the panel
18502 2005-01-21 Dan Williams <dcbw@redhat.com>
18504 * src/NetworkManager.c
18505 - Daemonize earlier so that glib doesn't get confused (?)
18507 2005-01-21 Dan Williams <dcbw@redhat.com>
18509 * panel-applet/NMWirelessApplet.[ch]
18510 panel-applet/NMWirelessAppletDbus.c
18511 panel-applet/menu-info.c
18512 src/NetworkManagerDevice.c
18513 - Disable wired devices in the menu when they have no link.
18515 2005-01-21 Dan Williams <dcbw@redhat.com>
18517 * Cache last-known-good wireless authentication method in
18518 NetworkManagerInfo, and use that method first during
18519 wireless device activation. Should speed up devices that
18520 need Shared Key authentication method since Open System is
18523 * Remove the hack to not do full activation on wired connections
18524 that are active when we launch, it causes too many problems
18525 with name resolution and was a hack in the first place.
18527 * Re-work wireless device activation again somewhat to have a
18528 clearer chain of events and to use last-known-good
18529 authentication method of the access point. Also provide
18530 better status throughout activation to ensure the applet
18531 can tell the user exactly what's going on.
18533 * Remove the "find wireless network" code and now simply attempt
18534 to activate with that access point. This reduces the delay
18535 between selecting "Other wireless Network" and actually
18536 connecting to that network.
18538 * Correctly stop the device's worker thread when its removed.
18540 2005-01-21 Dan Williams <dcbw@redhat.com>
18543 - Clean up some of the debug messages
18545 2005-01-21 Dan Williams <dcbw@redhat.com>
18547 * Add new icons, more frames of animation
18548 * Remove some hacks to get the panel applet to display correct
18549 status, an NM update will soon follow that will fix the
18552 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18554 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18555 the first include for working i18n. Also, don't include it in .h files
18556 * panel-applet/NMWirelessApplet.h: Same
18557 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18558 * panel-applet/menu-info.c: Same
18560 2005-01-18 Dan Williams <dcbw@redhat.com>
18563 - Remove some debug messages
18564 - Wrap others in #ifdef DEBUG/#endif
18566 * src/NetworkManager.c
18567 - Remove some debug messages
18568 - Clarify some debug messages
18569 - Remove code related to old single-thread wireless scanning
18571 * src/NetworkManagerAP.[ch]
18572 - New AP property "last_seen" to track how recently an AP was
18574 - Start using 'const' more in function arguments
18576 * src/NetworkManagerAPList.[ch]
18577 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18578 of an AP found in an AP list from a source AP, or if not found
18579 in the list add the source AP
18580 - (nm_ap_list_combine): remove, no longer needed
18582 * src/NetworkManagerDevice.c
18583 - Each device now has a "worker" thread from start to end of its life.
18584 Scanning for wireless devices now happens in that thread,
18585 not in a single "wireless scanning thread" for all devices as
18586 previously. Activation consists of adding an idle handler to the
18587 thread's main loop/context, which gets run at the next available
18589 - Wireless scanning is also simplified, there is now only one list of
18590 access points per wireless device, and APs older than 60s are
18591 removed from the list. Previously, we kept results for the last
18592 3 scans and merged whole lists, which was complicated.
18593 - Cleaned up activation debug messages.
18594 - Wireless activation and access-point search routines now use Open System
18595 authentication before trying Shared Key.
18596 - Removed some code in nm_device_update_best_ap() that could cause cards
18597 to loose their link to the access point.
18598 - Scanning now uses a backoff algorithm, where the inverval becomes
18599 progressively longer between scans when the list of scanned access
18600 points doesn't change. A change will revert to the shortest scan
18603 * src/NetworkManagerWireless.[ch]
18604 - Remove code related to old single-thread wireless scanning
18606 2005-01-18 Colin Walters <walters@redhat.com>
18608 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18609 of older nameservers.
18611 2005-01-18 Colin Walters <walters@redhat.com>
18613 * named/nm-named-manager.c (generate_named_conf): Many fixes
18614 to config file generation.
18615 (safer_kill): Remove, was too much trouble for little gain.
18616 (nm_named_manager_start): Run named as NM_NAMED_USER.
18618 * configure.in: Add option --with-named-user.
18620 2005-01-14 Colin Walters <walters@redhat.com>
18622 Patch from ed@catmur.co.uk (Ed Catmur)
18624 * named/nm-named-manager.c: Add "context" property.
18625 Use it to add child watch source in specific GMainContext.
18627 * src/NetworkManager.c (nm_data_new): Initialize
18628 named with correct main context. Start named only
18631 2005-01-14 Colin Walters <walters@redhat.com>
18633 * named/nm-named-manager.c (generate_named_conf): Write config
18634 and pid files into NM_NAMED_DATA_DIR; this allows things to
18635 work better with FC3 named SELinux policy. Also fix up silly
18638 * configure.in: Add --with-named-dir option.
18640 2005-01-14 Colin Walters <walters@redhat.com>
18642 * configure.in: Make named support require passing --with-named.
18644 * named/nm-named-manager.c: Support writing resolv.conf directly
18645 without running named.
18647 2005-01-13 Dan Williams <dcbw@redhat.com>
18649 * named/nm-named-manager.c
18650 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18652 * src/NetworkManagerDevice.c
18653 - Rework wireless link detection code to be more reliable
18655 2005-01-12 Dan Williams <dcbw@redhat.com>
18657 * initscripts/RedHat/NetworkManager
18658 - Change initial level to "-" rather than "345" so that
18659 we don't activate ourselves by default on install
18661 2005-01-12 Dan Williams <dcbw@redhat.com>
18664 - Client library for applications using glib
18668 - Split NM_CFLAGS and NM_LIBS into separate variables
18669 like DBUS_*, HAL_* and GLIB_*
18671 * src/NetworkManager.c
18672 src/NetworkManagerMain.h
18673 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18674 broadcast a status changed signal over DBUS from the main thread.
18675 Still unused anywhere for the moment.
18677 Patch from j@bootlab.org
18678 * panel_applet/NMWirelessAppletDbus.c
18679 src/NetworkManagerDbus.c
18680 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18681 for the "getMode" method call
18683 2005-01-10 Dan Williams <dcbw@redhat.com>
18685 * src/NetworkManagerDevice.c
18686 - Minor fixups & corrections to "auto" frequency mode, make it
18687 less chatty with syslog
18689 2005-01-10 Dan Williams <dcbw@redhat.com>
18691 * src/NetworkManagerDevice.c
18692 - Implement "auto" frequency/channel support, since cards like Atheros
18693 can't use other frequencies at all when you've told it to use a
18694 specific one, even for scanning.
18695 - Grab the scan mutex around places where we can't tolerate wireless
18696 settings changing underneath us, like nm_device_wireless_network_exists()
18697 and nm_device_activate_wireless()
18699 * src/NetworkManagerWireless.c
18700 - Back scan interval off to 20s instead of 14s
18702 2005-01-09 Dan Williams <dcbw@redhat.com>
18704 * src/NetworkManagerDevice.c
18705 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18706 already set. Stops some drivers like Atmel from continually
18707 reloading the firmware, which they do upon every configuration
18710 2005-01-09 Dan Williams <dcbw@redhat.com>
18713 - Use correct timeout value
18715 * info-daemon/NetworkManagerInfoDbus.c
18716 src/NetworkManagerDbus.c
18717 - Consolidate communication between NM and NMI by doing only 1 dbus
18718 method call to get Wireless Network info from NMI instead of 6
18720 * src/NetworkManager.c
18721 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18722 when we didn't have an AP to use, we'd wait for one forever without
18725 * src/NetworkManagerDevice.c
18726 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18727 activation, dhcp might not have started yet but we don't quit activation
18728 before starting it, so the quit signal gets lost
18730 2005-01-07 Dan Williams <dcbw@redhat.com>
18733 - Rework the DHCP client code to be much less chatty when
18734 it receives non-DHCP UDP packets during the DHCP run
18735 (reported by and preliminary patches from Bill Moss)
18737 * Move wireless scanning to a separate thread. This thread forwards the
18738 results to the main thread when done where they are integrated into
18739 the device's access point lists. This keeps the main thread (which
18740 does all the DBUS communication) from being blocked for long periods
18741 of time by wireless scanning.
18743 * Make state modification an idle routine in the main loop, and trigger
18744 state changes rather than polling for them.
18746 * src/backends/NetworkManagerGentoo.c
18747 - Fix up invalid C90 code (reported by Christoph Ruessler)
18749 * src/NetworkManagerDevice.c
18750 - Revert IPv6 patch for wired devices from 2004-12-22 for
18751 router advertisements, causing problems and infinite loop
18752 during "best" device determination due to link going up/down
18753 (reported by Bill Moss)
18755 Apply patch from Peter Jones
18756 * src/NetworkManagerDevice.c
18757 - Shortcut for link-checking for ipw2x00 cards
18758 - Split out association check into separate routine
18760 2004-01-05 Colin Walters <walters@redhat.com>
18762 * named/named.conf: Add PID_FILE.
18764 * named/nm-named-manager.c: Always generate a pid
18765 file, since older BIND versions don't support
18768 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18770 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18772 2004-12-22 Dan Williams <dcbw@redhat.com>
18774 * src/NetworkManagerDevice.c
18775 - Silently fail when setting bitrate doesn't work
18778 Patches from j@bootlab.org:
18779 * src/backends/NetworkManagerDebian
18780 - Update backend to match functionality in RedHat backend
18781 * src/NetworkManagerDevice.c
18782 - Take down then bring up wired devices after connection so
18783 they send out ipv6 router advertisements
18785 2004-12-21 Colin Walters <walters@verbum.org>
18787 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18788 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18790 2004-12-21 Colin Walters <walters@redhat.com>
18792 * configure.in: Correct named detection.
18794 2004-12-21 Colin Walters <walters@redhat.com>
18796 * src/NetworkManager.c (nm_data_new): Initialize named.
18797 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18798 the mainloop when these signals are received.
18799 (nm_data_free): Unref named.
18800 (sigterm_handler, sigterm_pipe_handler): New functions for
18803 * src/NetworkManagerMain.h (NMData): Add signal handling and
18806 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18809 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18810 set nameservers from DHCP response data.
18811 (set_domain_search): Set domain search from DHCP response.
18812 (nm_device_dhcp_configure): Invoke them.
18814 * src/NetworkManagerSystem.c
18815 (nm_system_device_update_resolv_conf): Delete. Deleting
18816 code is totally sweet.
18818 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18820 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18821 implements an object which controls a nameserver. Currently
18824 * configure.in: Check for named.
18826 * Makefile.am (SUBDIRS): Add named dir.
18828 * named/named.conf: New template config file.
18830 2004-12-20 Colin Walters <walters@redhat.com>
18832 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18835 2004-12-17 Dan Williams <dcbw@redhat.com>
18837 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18838 link-local addresses instead of doing DHCP.
18840 * In the panel applet, there's a new "Create new Wireless Network..." item
18842 * The panel applet also sticks around now even if NetworkManager dies, but
18843 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18844 a bug, I'll fix that later.
18846 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18847 lookups after a switch rather than actually doing them.
18849 * Clean up some of those warnings in nm_ap_list_* functions
18851 * Delay between scans changed to 15s instead of 10s
18853 2004-12-15 Dan Williams <dcbw@redhat.com>
18855 Patch from Tom Parker
18856 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18859 * Longer pause after setting ESSID on cards that support a larger number
18860 of channels to give the card time to find the right channel
18862 * Add system hook to restart mDNSResponder (or whatever the local implementation
18863 of Multicast DNS is) when we activate interfaces
18865 2004-12-15 Dan Williams <dcbw@redhat.com>
18867 * Rework the DHCP code again to revert to sending full ethernet frames
18868 rather then relying on the kernel to do the right thing with our
18871 2004-12-06 Dan Williams <dcbw@redhat.com>
18874 - Fix some minor errors in dhcp_handle_transaction() that caused
18875 unexpected early timeouts of DHCP transactions
18878 - DHCP retransmit time from 4s -> 5s
18880 2004-12-05 Dan Williams <dcbw@redhat.com>
18882 * Major rework of the DHCP code, taking some cues from pump. We don't
18883 write raw Ethernet packets anymore, which simplifies the code quite
18884 a bit. The new code should be more robust, not hang in recvfrom()
18885 as much, and generally work better. This also means that we need
18886 to force HAL/dbus to use a created GMainContext rather than the
18887 default context, since having the DHCP renew/rebind thread using
18888 its own GMainContext seemed to give dbus a fit. There is also more
18889 debugging information printed from the DHCP loop to help with future
18892 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18893 assume that the default gateway should be the DHCP server.
18895 Patch from Matthew Schick <matt oss-institute org>
18896 * src/backends/NetworkManagerGentoo.c
18897 - Fix compilation error due to missing "ip4_broadcast"
18899 2004-12-03 Dan Williams <dcbw@redhat.com>
18901 * initscript/Makefile.am
18902 * initscript/Debian/NetworkManager
18903 * initscript/Gentoo/NetworkManager
18904 * initscript/RedHat/NetworkManager
18905 * initscript/NMLaunchHelper.c
18906 - Remove NMLaunchHelper, if you need to wait until the network
18907 comes up, use the dead code from CVS.
18909 2004-12-01 Colin Walters <walters@redhat.com>
18911 * configure.in: Suck in gcc warnings code from Rhythmbox,
18912 but use fewer default flags, and in particular add -Wno-unused,
18913 since the codebase has a lot of unused variables.
18915 * test/nmtestdevices.c (create_device):
18916 * test/nminfotest.c (get_network_string_property)
18917 (get_networks_of_type):
18918 * test/nmclienttest.c (main):
18919 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18920 * initscript/NMLaunchHelper.c (get_nm_status):
18921 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18922 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18923 Fix declarations after statements.
18925 2004-12-01 Colin Walters <walters@redhat.com>
18927 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18928 (nmi_dbus_get_vpn_userpass): New method.
18929 (nmi_dbus_nmi_message_handler): Invoke it.
18931 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18933 * info-daemon/NetworkManagerInfoVPN.h,
18934 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18935 to requests for VPN passwords.
18937 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18939 2004-12-01 Colin Walters <walters@redhat.com>
18941 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18944 2004-12-01 Colin Walters <walters@redhat.com>
18946 * panel-applet/NMWirelessAppletDbus.c
18947 (nmwa_dbus_update_active_device_strength): Fix missing
18950 2004-12-01 Colin Walters <walters@redhat.com>
18952 * panel-applet/NMWirelessApplet.c: Add missing include.
18954 2004-12-01 Colin Walters <walters@redhat.com>
18956 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18957 Remove useless CLAMP (); the value is unsigned, and the case tests
18958 qual->qual < 100, so the value must always be between 0 and 100.
18960 2004-12-01 Colin Walters <walters@redhat.com>
18962 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18964 2004-11-22 Colin Walters <walters@verbum.org>
18966 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18967 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18968 which is essentially a noop since nscd caches hosts on disk too.
18970 2004-11-22 Colin Walters <walters@redhat.com>
18972 * src/Makefile.am (NetworkManager_SOURCES): Add
18973 NetworkManagerDevicePrivate.h.
18975 2004-11-22 Dan Williams <dcbw@redhat.com>
18977 * src/NetworkManagerDevicePrivate.h
18978 - Split out the NMDevice struct to a different file so that stuff like
18979 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18983 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18984 need to cancel the dhcp request during the send and recv
18987 - Move the DHCP option enum to dhcpcd.h
18989 * src/NetworkManagerDHCP.c
18990 - Split out the actual IP/netmask/etc setting code
18991 - New Renew/Rebind functions
18992 - New timer setup function for renew/rebind operations
18994 * src/NetworkManagerDevice.c
18995 - For device activation, if we are using DHCP then keep the activation thread
18996 alive until device deactivation. We need to renew/rebind the DHCP address
18997 after the T1 (renew) and T2 (rebind) times have expired.
18998 - Increase some timeouts after bringing wireless cards up/down
19000 2004-11-17 Dan Williams <dcbw@redhat.com>
19002 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19003 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19004 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19005 show known access points that don't broadcast their ESSID in the menus without
19006 any user intervention whatsoever.
19008 * info-daemon/NetworkManagerInfoDbus.c
19009 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19010 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19012 * src/NetworkManagerAP.[ch]
19013 - Add a "user_addresses" data member to the NMAccessPoint structure
19014 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19015 the user_addresses data member
19017 * src/NetworkManagerAPList.c
19018 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19019 the AP's reported address
19020 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19022 * src/NetworkManagerDHCP.c
19023 - Increase DHCP timeout from 25s -> 30s
19025 * src/NetworkManagerDbus.[ch]
19026 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19029 * src/NetworkManagerDevice.c
19030 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19031 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19032 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19033 So, we take the card down to clear it out.
19034 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19035 too, since that's where the user_addresses are
19037 * src/NetworkManagerPolicy.c
19038 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19039 that wireless networks' user_addresses list upon successful activation
19041 2004-11-16 Dan Williams <dcbw@redhat.com>
19043 * src/NetworkManagerDevice.[ch]
19044 - (nm_device_clear_activation_fail): new function
19046 * src/NetworkManagerPolicy.c
19047 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19048 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19050 2004-11-16 Dan Williams <dcbw@redhat.com>
19052 * src/NetworkManagerDevice.c
19053 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19054 leak the structure, better updating of now_scanning status
19055 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19057 2004-11-15 Dan Williams <dcbw@redhat.com>
19059 Major rework of link detection code. We now use DHCP
19060 as part of the link detection which proves to be much more robust,
19061 and also supports Open System authentication for wireless networks.
19063 We no longer use external DHCP client programs. Instead, we use
19064 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19065 which was written by:
19066 Yoichi Hariguchi <yoichi@fore.com>
19067 Sergei Viznyuk <sv@phystech.com>
19068 http://www.phystech.com/download/
19069 It resides in the "dhcpcd" directory and was refactored into a general
19070 purpose DHCP client library by me.
19072 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19073 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19075 2004-11-15 Dan Williams <dcbw@redhat.com>
19077 Patch from Tom Parker <palfrey@tevp.net>:
19079 * src/NetworkManagerDevice.c
19080 - Less output to console when no access
19081 points are found during a scan
19083 2004-11-15 Dan Williams <dcbw@redhat.com>
19085 Patch from Tom Parker <palfrey@tevp.net>:
19087 * src/backends/interface_parser.c
19089 - Check for inp == NULL
19092 2004-11-13 Colin Walters <walters@redhat.com>
19094 Patch from Tom Parker <palfrey@tevp.net>:
19096 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19098 * src/backends/NetworkManagerRedHat.c: Switch to
19099 including shvar.h instead of shvar.c.
19101 * src/backends/NetworkManagerDebian.c: Don't include
19102 interface_parser.c in source file.
19104 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19105 and interface_parser.[ch].
19106 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19107 Include shvar.c and shvar.h here.
19108 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19109 interface_parser.c and interface_parser.h here.
19111 2004-11-12 Colin Walters <walters@redhat.com>
19113 * configure.in: Strip out TARGET_DISTRO and
19114 SYSTEM_BACKEND_FILE variables. Switch to Automake
19117 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19118 (libnmbackend_la_SOURCES): Use Automake conditionals
19119 to add distro-specific files.
19121 * initscript/Makefile.am (SUBDIRS): Update to
19124 2004-11-12 Colin Walters <walters@redhat.com>
19126 Patches from j bootlab org
19128 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19129 Add interface_parser.[ch].
19131 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19132 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19134 2004-11-12 Colin Walters <walters@redhat.com>
19136 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19137 call to nmi_dbus_is_running too, not necessary anymore.
19138 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19141 2004-11-11 Colin Walters <walters@verbum.org>
19143 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19145 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19146 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19147 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19148 This avoids a race condition that made it pretty easily
19149 possible to get two NetworkManagerInfo daemons running.
19151 2004-11-11 Colin Walters <walters@verbum.org>
19153 * src/NetworkManager.c (main): Use daemon(3).
19155 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19157 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19159 2004-11-10 Dan Williams <dcbw@redhat.com>
19161 Patches from j bootlab org
19162 * src/NetworkManagerDevice.c
19163 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19164 whether the card has a link or not, some cards are slow
19165 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19167 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19168 - Disable the "Login" button on the passphrase dialog until the user
19169 enters a valid passphrase or key
19171 Patches from Tom Parker <palfrey tevp net>
19172 * src/backends/NetworkManagerDebian.c
19173 - Add static IP support to the debian backend
19175 * src/backends/interface_parser.[ch]
19176 - Parse debian interface config files
19178 2004-11-08 Dan Williams <dcbw@redhat.com>
19180 * src/NetworkManagerDevice.c
19181 - Some random fprintf->syslog conversions
19182 - (nm_device_wireless_network_exists): double-check for network
19183 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19185 * src/NetworkManagerWireless.[ch]
19186 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19187 so that the binary->ascii conversion works (if unsigned, the bitshift
19188 will fill with zeros, which is what's required). Also mask bitshift
19189 result with 0xF for futher assurance.
19191 2004-11-06 Dan Williams <dcbw@redhat.com>
19193 * src/NetworkManagerUtils.c
19194 - (nm_get_wireless_driver_support_level): default to
19195 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19196 flip this when changing from whitelist->blacklist of
19199 2004-11-05 Dan Williams <dcbw@redhat.com>
19201 Patch from Robert Paskowitz:
19202 * src/backends/NetworkManagerGentoo.c
19203 - Update static IP config code
19205 2004-11-05 Dan Williams <dcbw@redhat.com>
19207 * info-daemon/NetworkManagerInfoDbus.c
19208 src/NetworkManagerDbus.[ch]
19209 src/NetworkManagerDevice.c
19210 - Keep track of the # of attempts to get the WEP key
19211 from the user and pass that along to the info daemon
19213 2004-11-05 Dan Williams <dcbw@redhat.com>
19215 * src/NetworkManagerUtils.c
19216 - Blacklist wireless cards rather than whitelisting them.
19217 - Grab driver name from HAL rather than trying to find it
19220 2004-11-03 Dan Williams <dcbw@redhat.com>
19222 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19223 - Disable OK button until valid data is entered
19224 for encryption stuff too
19226 * panel-applet/NMWirelessApplet.c
19227 - Report card strength for current AP if the card
19228 doesn't report strength data for scanned access
19231 * src/NetworkManagerDevice.c
19232 - Smooth out cards reported quality, Atmel card was
19233 intermittently reporting no quality data but soon
19236 * src/NetworkManagerWireless.c
19237 - Better quality data percentage calculation. Atmel
19238 cards (mine at least) seem to report the quality
19239 in percentage format already, so honor that
19241 Patch from <j@bootlab.org>
19243 info-daemon/NetworkManagerInfoPassphraseDialog.c
19244 info-daemon/passphrase.glade
19245 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19246 panel-applet/essid.glade
19247 src/NetworkManagerAP.c
19248 src/NetworkManagerDevice.c
19249 src/NetworkManagerWireless.[ch]
19250 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19252 2004-11-03 Dan Williams <dcbw@redhat.com>
19254 * src/NetworkManagerDevice.[ch]
19255 - (nm_device_set_enc_key): Add parameter to set Authentication
19256 Mode (Open System, Shared Key, or None). We're still using
19257 Shared Key for now though.
19259 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19261 * panel-applet/menu-info.c: change from bold text to light
19262 colored, may cause problems with some themes, i've tested a lot
19263 and they seem fine.
19265 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19267 2004-11-01 Colin Walters <walters@verbum.org>
19269 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19270 (nm_wireless_128bit_key_from_passphrase): Add const.
19272 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19273 (nm_ap_set_enc_key_source): Add const.
19275 2004-11-01 Colin Walters <walters@verbum.org>
19277 * .cvsignore: Update.
19279 2004-10-29 Dan Williams <dcbw@redhat.com>
19281 * src/NetworkManagerDevice.c
19282 - (nm_device_wireless_network_exists): Actually use the encryption
19283 key we got from the applet when attempting to find a wireless network
19284 - Don't bring devices down so much since on some cards it triggers
19285 firmware hotplugs each time
19287 * src/NetworkManagerDbus.c
19288 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19291 2004-10-29 Dan Williams <dcbw@redhat.com>
19293 * src/NetworkManager.c
19294 - (nm_hal_device_property_modified): unlock a locked active
19295 wireless device when a wired connection gets a link.
19296 (Means you'll switch to wired whenever you plug in no
19299 2004-10-29 Dan Williams <dcbw@redhat.com>
19301 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19302 - New files, implement the "Other wireless network" dialog
19304 * panel-applet/NMWirelessApplet.c
19305 - Move "other wireless network" dialog to separate file
19307 * panel-applet/NMWirelessAppletDbus.[ch]
19308 - Take key and key_type paramaters for the set_device function
19310 * panel-applet/essid.glade
19311 - Add UI bits for encryption settings
19313 * src/NetworkManagerDbus.c
19314 - Retrieve key and key_type params for "setActiveDevice" method call
19316 - unref AP returned from nm_device_get_best_ap() when needed
19318 * src/NetworkManagerDevice.c
19319 - (nm_device_get_best_ap): ref the ap before returning it
19320 - unref AP returned from nm_device_get_best_ap() when needed
19321 - (nm_device_activate_wireless): add "ap" parameter so we don't
19322 need to call nm_device_get_best_ap() here, it was pretty much
19324 - (AP_NEED_KEY): break second link check condition out into separate
19325 function, and fix segfault when ap->enc_key_source was NULL
19326 - (nm_device_find_and_use_essid): take key and key_type parameters and
19327 pass them along to nm_device_wireless_network_exists(). If the
19328 network does exist, set the passed-in key+key_type on the AP
19330 * src/NetworkManagerPolicy.c
19331 - unref AP returned from nm_device_get_best_ap() when needed
19333 2004-10-28 Dan Williams <dcbw@redhat.com>
19335 * src/NetworkManagerUtils.c
19336 - (nm_spawn_process): Fix a potential dereference of NULL
19338 Patches from Peter Jones:
19340 * src/NetworkManagerDevice.c
19341 - (nm_device_test_wireless_extensions): Better check for
19344 * src/NetworkManagerUtils.c
19345 - (nm_spawn_process): Pass in valid stdout and stderr so
19346 executed programs don't randomly SIGPIPE and fail
19347 - (nm_get_wired_driver_support_level): quash hal warning
19348 when checking for USB ethernet device
19350 2004-10-27 Dan Williams <dcbw@redhat.com>
19352 * info-daemon/NetworkManagerInfo.c
19353 info-daemon/NetworkManagerInfoDbus.c
19354 info-daemon/NetworkManagerInfoPassphraseDialog.c
19355 panel-applet/NMWirelessApplet.c
19356 - Properly escape gconf keys
19358 * src/NetworkManager.c
19359 - remove unused variables
19361 * src/NetworkManagerAP.c
19362 - (nm_ap_new_from_ap): Don't redundantly set new APs
19363 refcount since it got set in nm_ap_new()
19365 * src/NetworkManagerAPList.c
19366 - (nm_ap_list_combine): Give up ownership of newly created
19367 access points to the ap list, fixes memleak
19369 * src/NetworkManagerDevice.c
19370 - Remove cached_ap_list4 member since its not really needed
19371 - (nm_device_wireless_network_exists): Try to get correct
19372 encryption status of a found AP if its already in our
19374 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19375 memory allocs/deallocs a bit clearer and shorter-lived
19377 2004-10-26 Ray Strode <rstrode@redhat.com>
19379 * panel-applet/NMWirelessApplet.c:
19380 (custom_essid_item_selected): kill some compiler
19383 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19385 * info-daemon/NetworkManagerInfoDbus.c
19386 - (nmi_dbus_is_running): New function for determining if nmi is already running
19387 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19389 2004-10-23 Dan Williams <dcbw@redhat.com>
19391 * info-daemon/NetworkManagerInfoDbus.c
19392 - Trap the "DeviceActivationFailed" signal
19394 * docs/NetworkManager DBUS API.txt
19395 - Add "DeviceActivationFailed" signal
19397 * panel-applet/NMWirelessAppletDbus.c
19398 - Quash the "NetworkManager service not available" message
19400 * src/NetworkManagerDbus.[ch]
19401 - Add the "DeviceActivationFailed" signal
19403 * src/NetworkManagerDevice.c
19404 - Add support for activation_failed flag
19405 - Fix deadlock where activation thread didn't clean itself up, making
19406 main thread still believe it was alive forever (didn't reset activation
19407 flags like activating, just_activated, etc when IP configuration
19410 * src/NetworkManagerPolicy.c
19411 - Implement logic for DeviceActivationFailed signal, and when activation fails
19412 for wireless networks, try to fall back to some other access point
19414 2004-10-23 Dan Williams <dcbw@redhat.com>
19416 * panel-applet/NMWirelessApplet.[ch]
19417 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19418 to the applet object, so we can get tooltips
19419 - Add tooltips (RH #136866)
19421 * src/NetworkManagerDevice.c
19422 - When trying to find a wireless network, try to connect with encryption
19423 turned on first, so that we can more accurately detect whether or not
19424 we need to use encryption for the actual association later on
19426 2004-10-21 Dan Williams <dcbw@redhat.com>
19428 * Add some support for telling NetworkManagerInfo to tell the user
19429 that they are using a device that's not fully supported
19431 * Fix some assertions in debug messages due to null access point args
19433 2004-10-21 Dan Williams <dcbw@redhat.com>
19435 * src/NetworkManagerDevice.c
19436 - Don't try to activate/bring up/down unsupported
19439 * src/NetworkManagerUtils.c
19440 - Fix case of PCI ID checks for driver support levels
19442 2004-10-21 Dan Williams <dcbw@redhat.com>
19445 - New file, now contains commonly used structures and bits
19446 for the dbus API of NetworkManager
19449 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19451 * src/NetworkManager.h
19452 - Rename -> src/NetworkManagerMain.c
19454 * Various fixups all around to use NetworkManager.h and new
19455 src/NetworkManagerMain.h, remove redundant bits that got
19456 moved into NetworkManager.h
19458 * src/NetworkManagerDevice.[ch]
19459 src/NetworkManagerUtils.[ch]
19460 src/NetworkManagerPolicy.c
19461 src/NetworkManagerDbus.c
19462 - Whitelist wireless drivers, and blacklist some wired
19463 drivers. Also blacklist cipsec and ethernet-over-usb
19464 devices at this time (RH #135722, RH #135648)
19465 - Don't leak unsupported devices out over dbus, or allow
19466 them to be set as the active device. Skip over them
19467 during automatic device picking
19469 * test/nmclienttest.c
19470 - Clean up the dbus code a lot
19472 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19474 * configure.in: post release bump.
19476 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19479 * NEWS: Released NetworkManager-0.3.1
19481 2004-10-18 Dan Williams <dcbw@redhat.com>
19483 Patches from Thom May:
19484 * test/nmtestdevices.c
19485 - Include <string.h>
19486 * src/backends/NetworkManagerDebian.c:
19487 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19488 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19489 Move to using g_strdup_printf rather than arbitrary buffers
19490 - (nm_system_device_setup_static_ip4_config) Implement function.
19491 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19493 2004-10-17 Dan Williams <dcbw@redhat.com>
19495 * info-daemon/NetworkManagerInfoDbus.c
19496 - Display name of network in the "network not found" dialog
19498 * panel-applet/NMWirelessAppletDbus.c
19499 - (nmwa_dbus_call_nm_method): new function replaces all other
19500 nmwa_dbus_get_[string|string_array|int|boolean] methods
19501 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19502 consolidated into nmwa_dbus_get_object_name()
19504 2004-10-15 Dan Williams <dcbw@redhat.com>
19506 * src/NetworkManagerDbus.c
19507 info-daemon/NetworkManagerInfoDbus.c
19508 - Display an error dialog when the user tries to use an
19509 "Other wireless network" that's not found.
19511 2004-10-15 Dan Williams <dcbw@redhat.com>
19513 * panel-applet/NMWirelessApplet.[ch]
19514 - Fix up corner cases in applet state, making it
19515 look more responsive. Change state to "connecting" when
19516 the user is forcing a device too.
19518 2004-10-15 Dan Williams <dcbw@redhat.com>
19520 * src/NetworkManagerAPList.c
19521 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19523 * src/NetworkManagerDbus.c
19524 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19526 * src/NetworkManagerDevice.c
19527 - Disown APs after the device's AP list takes ownership
19529 2004-10-15 Dan Williams <dcbw@redhat.com>
19531 * panel-applet/NMWirelessApplet.c
19532 - Update our applet state from the GUI thread
19534 * panel-applet/NMWirelessAppletDbus.c
19535 - Greatly simplify the locking to make the GUI thread
19536 smoother. Update a private copy of the device list
19537 and active device and only when done talking to
19538 NetworkManager turn it over to the GUI thread.
19540 2004-10-15 Dan Williams <dcbw@redhat.com>
19542 * src/NetworkManagerAP.[ch]
19543 - Add "artificial" get/set functions, set for APs that
19544 aren't discovered as part of a scan but instead
19545 discovered by force-setting the ESSID
19547 * src/NetworkManagerDevice.[ch]
19548 - (nm_device_wireless_network_exists): pass back whether
19549 or not the discovered AP was encrypted. Also, try
19550 falling back to encrypted mode on the card if unencrypted
19551 association doesn't work
19552 - (nm_device_find_and_use_essid): If the network requested
19553 did in fact exists, but it wasn't in our scan list, add
19554 an "artificial" entry for it. Some Cisco cards don't
19555 see non-ESSID-broadcasting APs in their scan but can still
19556 associate with them if you know the ESSID, this works around
19558 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19559 to scan if the card is currently associated with that AP
19561 2004-10-15 Dan Williams <dcbw@redhat.com>
19563 ---- We have a website ----
19564 http://people.redhat.com/dcbw/NetworkManager
19566 Patch from Robert Paskowitz:
19567 * src/NetworkManager.c
19568 - (main): Make sure we are run as root
19569 * src/NetworkManagerDevice.c
19570 - Fix type in ad-hoc setting function
19572 Patch from Thom May:
19573 * src/backends/NetworkManagerDebian.c
19574 - Make Debian backend compile again
19576 2004-10-14 Dan Williams <dcbw@redhat.com>
19578 * Tagged NetworkManager-0_3
19580 2004-10-14 Dan Williams <dcbw@redhat.com>
19582 Patch from Robert Paskowitz:
19584 src/NetworkManagerDevice.[ch]
19585 src/backends/NetworkManagerDebian.c
19586 src/backends/NetworkManagerGentoo.c
19587 src/backends/NetworkManagerRedHat.c
19588 src/backends/NetworkManagerSlackware.c
19589 - Add support for grabbing and using a broadcast address
19590 from system config files
19591 - Some Gentoo backend fixes for grabbing network config
19592 - Fix LOG_WARN->LOG_WARNING
19594 2004-10-14 Dan Williams <dcbw@redhat.com>
19596 * NEWS: a few small fixes in the credits
19598 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19600 * NEWS: prep for release.
19602 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19604 * panel-applet/NMWirelessAppletDbus.c
19605 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19607 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19609 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19610 applet->state == APPLET_STATE_NO_NM animation.
19612 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19613 set the text correctly.
19615 2004-10-14 Dan Williams <dcbw@redhat.com>
19617 * src/NetworkManager.c
19618 - Only accept and manager 802.3 and 802.11 devices
19620 * src/NetworkManagerDbus.[ch]
19621 - (nm_dbus_nm_set_active_device): move most of the actual activation
19622 logic into NetworkManagerDevice.c
19623 - (nm_dbus_network_status_from_data): new function
19624 - (nm_dbus_signal_network_status_change): new function, unused for now
19625 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19627 * src/NetworkManagerDevice.[ch]
19628 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19631 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19633 * info-daemon/NetworkManagerInfo.c
19634 - (main): Added session management
19636 2004-10-14 Dan Williams <dcbw@redhat.com>
19638 * panel-applet/NMWirelessAppletDbus.[ch]
19639 - Expose network_device_[un]ref()
19640 - Expose wireless_network_[un]ref()
19641 - (wireless_network_new_with_essid): new function, create and return
19642 a wireless network with a particular essid
19644 * panel-applet/NMWirelessApplet.c
19645 - Hook up the "other network" dialog to do something
19647 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19649 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19650 doesn't work yet, but it looks okay.
19652 * panel-applet/icons/*png: Resize to 22x22 and install in the
19655 2004-10-13 Dan Williams <dcbw@redhat.com>
19657 * panel-applet/NMWirelessApplet.c
19658 - Add function to print out applet_state in a readable
19661 * src/NetworkManager.c
19662 - (main): Don't segfault when nm_dbus_init() fails, we had
19663 a left-over call to hal_shutdown() into which we passed NULL
19665 * src/NetworkManagerAP.c
19666 - (nm_ap_set_essid): Allow NULL essids
19668 * src/NetworkManagerAPList.[ch]
19669 - More use of nm_ap_list_[un]lock ()
19670 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19671 network/essid, just return nothing. Also skip over NULL
19672 essid access points in the list when searching
19673 - (nm_ap_list_get_ap_by_address): new function
19674 - (nm_ap_list_update_network): set the access point's key source to
19675 NULL when the key returned from NetworkManagerInfo is NULL or
19677 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19678 copy timestamp over too
19679 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19680 find the correct ESSID for a blank-essid access point by searching
19681 through another list and matching access point MAC addresses
19682 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19684 * src/NetworkManagerDbus.c
19685 - (nm_dbus_nm_set_active_device): deal with random networks the user
19686 may specify. This is mainly for access points that don't
19687 broadcast their essid. So if the user tells us to associate with
19688 some random ESSID that's not in our access point list, we find
19689 out if the access point does in fact exist (by attempting association
19690 and then matching that access point's MAC address with the essid the
19691 user gave us) and then we switch to it.
19692 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19693 to the returned list of networks for the "getNetworks" method
19695 * src/NetworkManagerDevice.[ch]
19696 - Extra debugging info for link detection
19697 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19698 based on MAC address
19699 - (nm_device_get_path_for_ap): ignore blank-essid access points
19700 - (nm_device_wireless_network_exists): new function, find out whether
19701 a random ESSID exists by attempting to associate with it
19702 - (nm_device_do_normal_scan): allow blank-essid access points in our
19703 device list as long as they have an AP MAC address we can use.
19704 Also send WirelessNetwork[Dis]Appeared signals for non-active
19705 devices too. Lets the applet update more frequently.
19707 * src/backends/NetworkManagerGentoo.c
19708 - Patch from: Robert Paskowitz
19709 - Update backend code for Gentoo
19710 - Implement nm_system_device_update_config_info ()
19712 * test/nmclienttest.c
19713 - (set_network_device): new function, takes a command-line argument
19714 and tells NetworkManager to use that wireless network
19716 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19718 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19719 if the notification icon crashes 5 times within 5 seconds of each respawn
19721 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19723 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19726 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19728 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19730 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19731 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19732 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19733 Change the name of the icons.
19735 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19736 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19737 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19738 (nm_menu_wireless_expose_event): Really bad hack to get the style
19739 to draw in the right color.
19741 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19743 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19744 Notification if it crashes
19746 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19748 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19749 (nmwa_dbus_get_string): remove unused functions
19751 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19752 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19753 remove unused functions
19755 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19757 2004-10-12 Dan Williams <dcbw@redhat.com>
19759 * panel-applet/NMWirelessAppletDbus.c
19761 wireless_network_new
19762 wireless_network_copy
19764 network_device_copy
19766 * src/NetworkManagerDevice.[ch]
19768 nm_device_set_mode_managed
19769 nm_device_set_mode_adhoc
19770 - Use these functions where appropriate
19771 - When creating a new wireless device, force the card
19772 to managed/Infrastructure mode as soon as possible
19774 2004-10-12 Dan Williams <dcbw@redhat.com>
19776 * src/NetworkManagerDevice.c
19777 - Force wireless cards into Infrastructure mode before we use them
19779 2004-10-12 Dan Williams <dcbw@redhat.com>
19782 - Remove bit about static IP address support
19784 * src/NetworkManagerUtils.c
19785 - (nm_spawn_process): Add some error reporting
19787 * src/NetworkManagerDevice.c
19788 - (nm_device_activation_configure_ip): hook up to the static config
19789 routines in the backends
19791 * src/backends/NetworkManagerRedHat.c
19792 - (nm_system_device_update_config_info): use shvar.c routines to
19793 parse the config file iformation, not our own
19794 - (nm_system_device_setup_static_ip4_config): new function, based
19795 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19796 with a static IP address and gateway
19798 * src/backends/shvar.[ch]
19799 - Parser (filched from initscripts package) for ifcfg-* files
19801 * src/backends/NetworkManagerSystem.h
19802 src/backends/NetworkManagerGentoo.c
19803 src/backends/NetworkManagerDebian.c
19804 src/backends/NetworkManagerSlackware.c
19805 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19807 2004-10-11 Dan Williams <dcbw@redhat.com>
19810 - Remove bit about more robust AP diffing since I just implemented it
19812 2004-10-11 Dan Williams <dcbw@redhat.com>
19814 * src/NetworkManagerAP.c
19815 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19816 enough RAM to allocate new AP structures, but return NULL instead
19818 * src/NetworkManagerAPList.[ch]
19819 - (nm_ap_list_is_empty): new function
19820 - (nm_ap_list_combine): new function, combine two access point lists
19821 - (nm_ap_list_copy_keys): new function, copy keys from one list
19824 * src/NetworkManagerDevice.[ch]
19825 - Rename some functions to be clearer:
19826 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19827 nm_device_just_activated -> nm_device_is_just_activated
19828 nm_device_activating -> nm_device_is_activating
19829 nm_device_now_scanning -> nm_device_is_scanning
19830 - Cache the last 4 scans so that the access point list is more stable.
19831 We combine the lastest two scans and use that as the AP list,
19832 and diff that combined list against the combination of the earliest
19833 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19835 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19837 * info-daemon/NWManagerInfo.h
19838 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19840 * info-daemon/NWManagerInfoDbus.c
19841 - (shutdown_callback): new function
19842 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19843 if NetworkManager goes away. Kill the timeout
19844 if NetworkManager restarts before the 30 seconds
19846 - (nmi_dbus_service_init):
19847 - call gtk_main_quit if NetworkManager is not running
19848 - add filters to monitor dbus service creations and
19851 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19853 * panel-applet/NMWirelessApplet.c
19854 - (nmwa_update_state): Hide notification icon if we are only
19855 showing one wired card and no wireless interfaces
19856 (Red Hat Bug #134895)
19858 * panel-applet/NMWirelessAppletDbus.c
19859 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19861 * info-daemon/NWManagerInfo.c
19862 - (main): Terminated the notification_icon_cmd array with a NULL
19864 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19866 * configure.in (ALL_LINGUAS): Added de (German).
19868 2004-10-08 Dan Williams <dcbw@redaht.com>
19870 * src/NetworkManagerDevice.c
19871 - Be a bit more robust about link checking, ie make sure that
19872 the WEP key we were given actually has some data in it
19874 2004-10-08 Dan Williams <dcbw@redhat.com>
19876 * info-daemon/NetworkManagerInfo.c (main):
19877 - Initialize GError object to NULL
19879 2004-10-08 Dan Williams <dcbw@redhat.com>
19881 * panel-applet/NMWirelessAppletDbus.c
19882 - Die if NetworkManagerInfo dies, since it manages our lifetime
19884 2004-10-08 Dan Williams <dcbw@redhat.com>
19886 * info-daemon/NetworkManagerInfo.[ch]
19887 info-dameon/NetworkManagerInfoDbus.[ch]
19888 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19889 - Preserve original label text in the passphrase dialog so that
19890 it actually gets updated with the new network name the next
19891 time around. Previously, we were overwriting it so you'd get
19892 the wrong network name to enter a key for
19893 - Add a "Key Type" combo to the passphrase dialog, user selects
19894 encryption key type now, type is stored in GConf too
19895 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19897 * src/NetworkManagerAP.[ch]
19898 - Remove all the encyption method magic. It's now set by the user
19899 and NetworkManager retrieves the type of encryption key from
19902 * src/NetworkManagerAPList.[ch]
19903 src/NetworkManagerDbus.[ch]
19904 - Adjust to new way of setting encryption key and method
19905 - Pull encryption method down from NMI along with key
19907 * src/NetworkManagerDevice.[ch]
19908 - Removed encryption method fallback magic as the method is now
19909 determined by the user. This greatly simplifies the connection
19911 - More robust connection/link logic. Besides removing the encryption
19912 method fallback magic, check whether or not the card is receiving
19913 invalidly encrypted packets, which usually indicates that we have
19915 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19917 * test/nminfotest.c
19918 - Test out new "Key Type" stuff in the NMI passphrase dialog
19920 2004-10-07 Dan Williams <dcbw@redhat.com>
19922 * info-daemon/NetworkManagerInfo.conf
19923 - Allow root user to run NMI too
19925 2004-10-06 Dan Williams <dcbw@redhat.com>
19927 * src/NetworkManagerDevice.[ch]
19928 src/NetworkManagerDbus.c
19929 doc/NetworkManager DBUS API.txt
19930 - Add a new status tag "scanning", which is set when there
19931 is no active network connection, but NetworkManager is
19932 looking for an access point to associate with
19934 * panel-applet/main.c
19935 - Cast the applet appropriately for gtk_widget_show_all ()
19937 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19939 * panel-applet/eggtrayicon.[ch]:
19940 * panel-applet/main.c: Add missing file
19942 2004-10-04 Dan Williams <dcbw@redhat.com>
19944 * src/NetworkManagerDevice.[ch]
19945 - Add a slightly more robust method of determining if the WEP key
19946 is correct or not, by checking the WEP-discarded packet count
19949 * info-daemon/NetworkManagerInfo.c
19950 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19951 un-escape values we pull out rather than escaping them
19953 2004-10-03 Marcel Telka <marcel@telka.sk>
19955 * configure.in (ALL_LINGUAS): Added sk.
19957 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19959 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19960 and feel. We should be back to working, and have a good, clean
19963 2004-09-30 Dan Williams <dcbw@redhat.com>
19965 * info-daemon/NetworkManagerInfo.c
19966 info-daemon/NetworkManagerInfoDbus.c
19968 - Escape ESSIDs in gconf
19970 * src/NetworkManagerDevice.c
19971 - Fix pseudo-scanning to use netowrk list from info daemon
19973 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19975 * configure.in: Add a temporary --enable-notification-icon. This
19976 will prolly go away.
19978 * info-daemon/Makefile.am:
19979 * info-daemon/NetworkManagerInfo.c:
19980 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19982 * panel-applet/Makefile.am:
19983 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19984 * panel-applet/NMWirelessApplet.h:
19986 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19988 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19989 before 'select custom ESSID'.
19991 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19992 fully complete, but syncing in prep for merge.
19994 * panel-applet/icons/*png: New images
19996 2004-09-28 Dan Williams <dcbw@redhat.com>
19998 * src/NetworkManager.c
19999 src/NetworkManagerDevice.c
20000 src/NetworkManagerPolicy.c
20001 - Don't blow away an active wired connection on startup
20003 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20007 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20009 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20012 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20014 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20015 have a wireless card.
20017 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20019 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20020 Also, get the right device strings.
20022 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20024 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20025 the logic to make this right.
20027 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20028 devices so that wired networks are always first.
20030 2004-09-22 <clarkbw@cvs.gnome.org>
20032 * initscript/Debian/.cvsignore:
20033 * initscript/Slackware/.cvsignore:
20034 Added new cvsignores for Makefile, Makefile.in
20037 Added nmtestdevices
20039 * src/NetworkManagerDevice.c:
20040 * src/NetworkManager.c:
20041 Updated the wireless/wired HAL device strings from net.ethernet to
20042 net.80203 or net.80211 depending on wired or wireless respectively
20044 * examples/python/NetworkManager.py:
20045 s/Quality/Strength/
20047 * examples/python/systray/network_tray.py:
20048 Lots of little changes and fixes. been rotting for a while so I
20049 figured I'd finally sync them all with CVS
20051 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20053 * configure.in: Add graphics
20055 * panel-applet/Makefile.am: Add graphics
20057 * panel-applet/icons/*: Add graphics
20059 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20060 the icons fully lined up.
20062 * panel-applet/menu-info.c:
20063 * panel-applet/menu-info.h: Add another menu type.
20065 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20067 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20069 * panel-applet/menu-item.[ch]: Wireless menu item.
20071 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20073 * info-daemon/NetworkManagerInfo.conf
20074 - Created a more robust security policy for the DBus service
20075 - everything is denied by default
20076 - root can own and send to the service
20077 - users logged in at the console can send to the service
20079 2004-09-13 Dan Williams <dcbw@redhat.com>
20081 * src/NetworkManagerDevice.c
20082 - (nm_device_get_essid): use iw_get_basic_config() rather than
20083 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20086 2004-09-13 Dan Williams <dcbw@redhat.com>
20090 * docs/NetworkManager DBUS API.txt
20091 - Update for new signal strength changes
20093 * panel-applet/NMWirelessApplet.c
20094 - Make panel icon show strength of the current connection
20095 - Cleanups and memleak fixes
20097 * panel-applet/NMWirelessApplet.h
20098 - Add data members for signal strength on devices and networks
20100 * panel-applet/NMWirelessAppletDbus.c
20101 - Free more DBusErrors
20102 - Update for new signal strength changes
20103 - Make devices and networks more like real objects, use ref/unref methods
20104 - Actually unlock the mutex when updating the active device
20106 * src/NetworkManagerAP.c
20107 - Change AP functions and data members from "quality"->"strength"
20109 * src/NetworkManagerDbus.c
20110 - Kill "getMaxQuality" and "getQuality" methods
20111 - Add "getStrength" methods for Networks and Devices
20113 * src/NetworkManagerDevice.[ch]
20114 - Add accessors for device strength
20115 - Add functions to update strength for a device. Note that not all drivers
20116 actually support signal strength for scanned access points (Atmel drivers
20118 - Calculate signal strength for each AP during scan
20120 * src/NetworkManagerWireless.[ch]
20121 - Add function to return signal strength % from a device and a raw quality struct
20123 * test/nmclienttest.c
20124 - Update for new signal strength changes
20126 2004-09-11 Dan Williams <dcbw@redhat.com>
20128 * src/NetworkManager.c
20129 - Fix race condition between initscripts and NM on card insertion
20130 which could cause a card to keep an IP address and routes around
20131 even when it was not the active device
20133 * src/NetworkManagerDbus.c
20134 - Fix compile errors, free more DBusErrors
20136 2004-09-11 Dan Williams <dcbw@redhat.com>
20138 * docs/NetworkManager DBUS API.txt
20139 - Add an explanation of NM's API
20141 * src/NetworkManagerDbus.c
20142 - Free some more DBusErrors if needed
20144 2004-09-11 Dan Williams <dcbw@redhat.com>
20146 * panel-applet/NMWirelessApplet.c
20147 panel-applet/NMWirelessAppletDbus.c
20148 - Start using NetworkDevice/WirelessNetwork structures in more places
20149 - Update for unified device/network forcing in NetworkManager
20151 * src/NetworkManager.c
20152 - some code consolidation
20154 * src/NetworkManagerDbus.c
20155 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20156 or two arguments: the first is the NM ID of the device to switch to,
20157 and the second (optional) argument is the ESSID of a wireless network
20159 - Get rid of "setNetwork" method due to above change
20161 * src/NetworkManagerDevice.c
20162 - (nm_device_new): perform scan and update best AP on device creation
20163 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20164 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20165 spin waiting for cancellation to finish before returning
20167 * src/NetworkManagerPolicy.c
20168 - Changes here clarify the situations in which a device switch occurs, and
20169 make sure to keep using a forced device and network if the user gives
20171 - Remove old unused code
20173 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20175 * configure.in: Added Danish (da) to ALL_LINGUAS.
20177 2004-09-09 Dan Williams <dcbw@redhat.com>
20179 * panel-applet/NMWirelessAppletDbus.c
20180 - Pull fresh devices and networks from NM when wireless networks
20181 change. Provides faster feedback of a forced wireless network
20183 * src/NetworkManagerDbus.c
20184 - Return error when "getMaxQuality" is called on a wired device
20185 - Make best_ap freezing actually work again, and signal cancellation
20186 of activation if there's already a device activation when the user
20187 freezes the best_ap
20189 * src/NetworkManagerDevice.c
20190 - Don't clear out the best_ap for wireless devices when the link goes
20191 down, that's done elsewhere
20192 - Kill any dhcp daemons when cancelling device activation since they
20193 may be stuck waiting for a DHCP address, and since we're cancelling
20194 activation we don't care about that anymore
20196 * src/NetworkManagerPolicy.c
20197 - Make sure to unref the device we ref earlier (we refed it to make sure
20198 it stuck around during device activation and such)
20199 - If we were going to change the best device, but its activating currently
20200 (and therefore the change didn't occur due to the check earlier)
20201 we mark the state changed to we come back to it later when device
20202 activation has canceled and its no longer activating
20204 * src/backends/NetworkManagerRedHat.c
20205 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20207 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20209 * info-daemon/passphrase.glade:
20210 set passphrase input to activates_default : True
20212 * examples/python/systray/network_tray.py
20213 (network_tray.sort_networks):
20215 Added support for having wireless always scanning
20217 2004-09-09 Dan Williams <dcbw@redhat.com>
20219 NOTE: this commit changes the behavior of wireless devices in
20220 NetworkManager. They are now up all the time, scanning all
20221 the time. Only the active device has an IP address and routing
20222 information set up however. Also, NetworkManager will no longer
20223 opportunistically switch wireless networks when a better one
20224 comes in range, it will remain associated with one wireless network
20225 until that one drops out.
20227 * panel-applet/NMWirelessApplet.c
20228 panel-applet/NMWirelessAppletDbus.c
20229 - List all wireless cards and their respective networks
20231 * src/NMLoadModules
20232 - Use full path to /sbin/ip
20234 * src/NetworkManager.c
20235 - Keep wireless devices up all the time so they can scan
20237 * src/NetworkManagerDbus.c
20238 - On a WirelessNetworkUpdate signal from NMI, don't update
20241 * src/NetworkManagerDevice.c
20242 - (nm_device_set_link_active): clear out the best ap for
20243 wireless devices when the link is set to FALSE
20244 - Scan on all wireless cards, all the time
20245 - (nm_device_activation_worker): split out the wireless card
20246 link-waiting code to a separate function
20247 - Keep wireless cards up even if device activation fails
20248 - Don't update the "best" ap as much
20250 * src/NetworkManagerPolicy.c
20251 - Don't update the best ap when checking if its frozen,
20252 let link checking clear out a frozen best ap for us
20254 * src/NetworkManagerWireless.c
20255 - Scan on all wireless cards, all the time
20257 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20259 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20261 2004-09-09 Ankit Patel <ankit@redhat.com>
20263 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20265 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20267 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20269 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20271 * examples/python/NetworkManager.py:
20272 added CONNECTED, CONNECTING, and DISCONNECTED states
20273 added methods to return number of devices of a single type
20275 * examples/python/systray/network_tray.py:
20276 did some tweaks to get the menu looking near what it is supposed
20277 to look like. Also did a Airo card hack to make it show the
20280 2004-09-08 Dan Williams <dcbw@redhat.com>
20282 * panel-applet/no-networkmanager.png
20283 panel-applet/Makefile.am
20284 panel-applet/NMWirelessApplet.c
20285 - Add a "NetworkManager not running" icon and use it
20286 - Use new consolidated GConf keys rather than Preferred/Trusted
20290 * info-daemon/NetworkManagerInfo.c
20291 info-daemon/NetworkManagerInfoDbus.[ch]
20292 info-daemon/NetworkManagerInfoPassphraseDialog.c
20293 - There are now no longer two separate lists of wireless networks,
20294 but one list where each network is "trusted" or not trusted
20295 - Add a "getNetworkTrusted" dbus method
20296 - "WirelessNetworkUpdate" signal now sent rather than
20297 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20298 - Start freeing some dbus errors (not completed yet)
20300 * info-daemon/passphrase.glade
20301 - Remove the "don't show" hints for pager and taskbar
20302 - Add a title since its going to be in the taskbar
20304 * src/NetworkManager.[ch]
20305 src/NetworkManagerAPList.[ch]
20306 - There are now no longer two separate lists of wireless networks,
20307 but one list where each network is "trusted" or not trusted
20309 * src/NetworkManagerAP.[ch]
20310 - Add get/set "trusted" accessors and data bit
20312 * src/NetworkManagerDbus.[ch]
20313 - Add function to get "trusted" status of a network from NetworkManagerInfo
20314 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20316 * src/NetworkManagerDevice.[ch]
20317 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20318 - (nm_device_new): Get device config from backend when initializing devices
20319 - (nm_device_activation_worker): Split out device configuration on
20320 activation to deal with static/dynamic IP differences, and try encryption
20321 fallbacks on a device if the encryption method for the best AP is not good
20322 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20323 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20325 * src/NetworkManagerWireless.c
20326 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20328 * src/backends/NetworkManagerRedHat.c
20329 src/backends/NetworkManagerSystem.h
20330 - (nm_system_device_update_config_info): Add function to get device configuration
20331 from system data in ifcfg-* files
20333 * src/backends/NetworkManagerDebian.c
20334 src/backends/NetworkManagerGentoo.c
20335 src/backends/NetworkManagerSlackware.c
20336 - Add stub functions for getting device configuration
20338 2004-09-07 Dan Williams <dcbw@redhat.com>
20340 * src/backends/NetworkManagerRedhat.c
20341 src/backends/NetworkManagerSlackware.c
20342 - Use full path to /sbin/ip everywhere
20344 2004-09-07 Dan Williams <dcbw@redhat.com>
20346 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20349 initscript/Makefile.am
20350 initscript/Slackware/Makfile.am
20351 initscript/Slackware/rc.networkmanager
20353 src/backends/NetworkManagerSlackware.c
20354 - Add Slackware support
20356 2004-09-07 Dan Williams <dcbw@redhat.com>
20358 Patches below from:
20360 Mark Roach <mrroach@okmaybe.com>
20361 Thom May <thom@debian.org>
20364 initscript/Debian/NetworkManager
20365 initscript/Debian/Makefile.am
20366 - Initscript for Debian
20368 * src/backends/NetworkManagerDebian.c
20369 - Add missing system init function to allow compilation
20372 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20374 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20376 2004-09-03 Akagic Amila <bono@linux.org.ba>
20378 * configure.in: Added 'bs' to ALL_LINGUAS.
20380 2004-09-02 Colin Walters <walters@verbum.org>
20382 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20383 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20384 g_strdup_printf instead of arbitrarily sized buffers.
20386 2004-09-01 Colin Walters <walters@verbum.org>
20388 * NetworkManager.pc.in: New file.
20390 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20392 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20394 * configure.in: Punjabi(pa) is added to po/.
20396 2004-08-31 Dan Williams <dcbw@redhat.com>
20398 * Remove 'debug' extern global from all files since we now
20401 * src/NetworkManager.[ch]
20402 - Break out routine that get the net.interface property from HAL,
20403 removing that logic from nm_create_device_and_add_to_list()
20404 - (nm_create_device_and_add_to_list): make this a bit more general so
20405 it doesn't do the talking to HAL. Also add arguments to facilitate
20406 the create of test devices.
20407 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20408 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20409 which makes NetworkManager listen for dbus commands to create test
20410 devices, which have no backing hardware. Use when you're on a plane
20411 for example, and/or forgot your wireless card at home. Test devices
20412 _cannot_ be created unless NM is started with --enable-test-devices.
20414 * src/NetworkManagerDbus.[ch]
20415 - New "getLinkActive" method for devices
20416 - New "setLinkActive" method for devices (only works on test devices)
20417 - New "createTestDevice" method on NetworkManager object to create a test
20418 device of a specified type (ie wired, wireless). UDI is created from
20419 scratch, as is the interface name. Only works when NM is started with
20420 --enable-test-devices switch.
20421 - New "removeTestDevice" method on NetworkManager object which removes a
20422 test device. Only works when NM is started with --enable-test-devices
20424 * src/NetworkManagerDevice.[ch]
20425 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20426 whether a device is a test device or not, and what its link status is.
20427 - Deal with test devices in most functions. For those that work directly on hardware
20428 special-case test devices.
20429 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20431 - (nm_device_update_link_active): split out logic for wired and wireless device link
20432 checking to separate functions to facilitate test device link checking.
20433 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20434 don't make a distinction between System Authentication and Encryption
20435 (namely Cisco aironet), we use Open System auth when setting a WEP key
20436 on the card. We don't deal with Shared Key auth yet.
20437 - (nm_device_activation_worker): split the activation cancel check logic out into
20438 a separate routine nm_device_activation_cancel_if_needed()
20439 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20440 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20441 a list of fake access points that they can "see"
20442 - (nm_device_is_test_device): return whether or not a device is a test device
20444 * src/NetworkManagerPolicy.c
20445 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20446 previously if you "locked"/forced NM to use a wireless device but then
20447 selected a wireless network for NM to use, it would switch to a wired device.
20448 So, if the active device is wireless and it has a "forced" best AP, use it
20449 if the "forced" best AP is still valid
20450 - (nm_state_modification_monitor): deal with NULL best devices, for example
20451 there were no usable network devices, or the last one was removed
20453 * src/backends/NetworkManager*.c
20454 - Deal with test devices, mostly just return success for operations like getting
20457 * test/nmtestdevices.c
20458 - Test tool to create/remove/link-switch test devices
20460 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20462 * examples/python/NetworkManager.py:
20463 added convience functions has_wired_device and has_wireless_device
20465 * examples/python/systray/network_tray.py:
20466 cleaned up a bunch of cruft, added support for listing wireless
20467 networks just like the real applet. This is probably all I'm
20468 going to work on this applet from now on.
20469 TODO: add support for actually changing networks and devices
20471 * examples/python/NetworkManager.py (NetworkManager.get_device):
20472 changed "nm.networks" into a dict from a list so I can store all
20473 the cool information about networks in there
20475 * examples/python/systray/network_tray.py:
20476 Added nice message when you try to run without running make first
20478 * examples/python/NetworkManager.py:
20479 Bug fixes to the code so we get all the device information
20480 that we need in get_device()
20482 * examples/python/NMTester.py:
20483 Fixed _print_device_list to print_device_list
20485 2004-08-29 Seth Nickell <seth@gnome.org>
20489 Actually properly setup the Debian backend in configure.
20491 2004-08-29 Colin Walters <walters@verbum.org>
20493 * test/nminfotest.c: Include string.h and stdlib.h.
20494 (get_network_string_property, get_networks_of_type): Return NULL.
20496 * test/nmclienttest.c (get_device_name, get_active_device): Return
20499 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20500 use strlen, fgets always NULL-terminates the string.
20502 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20503 dbus_message_get_member): Remove /* in comment.
20505 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20507 * src/NetworkManager.c (quit): Unused, delete.
20508 (nm_data_free): Cast arg to GFunc.
20510 * panel-applet/NMWirelessAppletDbus.c: Need to include
20511 string.h, and dbus-glib-lowlevel.h (the latter is needed
20512 for dbus_connection_setup_with_g_main at present).
20513 (nmwa_dbus_update_wireless_network_list): Parenthesize
20514 assignment in conditional.
20515 (nmwa_dbus_worker): Return NULL.
20517 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20518 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20519 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20520 (nmwa_populate_menu): Return NULL on failure, instead of just
20523 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20525 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20528 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20531 2004-08-29 Colin Walters <walters@verbum.org>
20533 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20534 a GTimeVal instead of time_t. This is easier to work with,
20535 since time_t may be a long or double, we don't know.
20537 * src/NetworkManagerDbus.h: Update prototype.
20539 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20541 (nm_ap_get_timestamp): Update to return GTimeVal.
20542 (nm_ap_set_timestamp): Update to take GTimeVal.
20544 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20545 to handle GTimeVal.
20547 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20549 (nm_ap_list_print_members): Fix warnings in printf format.
20551 2004-08-29 Colin Walters <walters@verbum.org>
20553 * panel-applet/NMWirelessApplet.c: Include config.h.
20555 2004-08-29 Colin Walters <walters@verbum.org>
20557 * configure.in: Generate config.h.
20559 * configure.in: Dump dependency on OpenSSL; we can't
20560 use it since this package is GPL:
20561 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20562 Instead, check for libgcrypt, use it if available,
20563 otherwise use included MD5 code.
20565 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20566 Suck in from gnome-keyring, munge a bit.
20568 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20569 gnome-keyring-md5.h gnome-keyring-md5.c.
20570 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20572 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20573 libgcrypt or included gnome-keyring md5 bits.
20574 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20576 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20578 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20580 2004-08-27 Bryan Clark <bclark@redhat.com>
20582 * examples/python/systray/Makefile:
20584 Updated the clean section
20586 * examples/python/systray/trayiconmodule.c:
20587 * examples/python/systray/trayicon.override:
20588 * examples/python/systray/network_tray.py:
20589 * examples/python/systray/eggtrayicon.h:
20590 * examples/python/systray/eggtrayicon.c:
20591 * examples/python/systray/Makefile:
20592 * examples/python/README:
20593 * examples/python/NetworkManager.py:
20594 * examples/python/NMTester.py:
20596 Initial commit of these python example files
20598 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20600 * panel-applet/NMWirelessApplet.c
20601 - Make current device bold
20602 - Show more user-friendly device name if we got one from hal
20604 * panel-applet/NMWirelessAppletDbus.c
20605 - Grab "info.product" key from hal for network devices
20606 - Cache the current active device
20608 2004-08-27 Adam Weinberger <adamw@gnome.org>
20610 * configure.in: Added en_CA to ALL_LINGUAS.
20612 2004-08-27 Christian Rose <menthos@menthos.com>
20614 * configure.in: Added "sv" to ALL_LINGUAS.
20616 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20618 * Tag NetworkManager-0.2
20620 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20622 * initscripts/Makefile.am
20623 * configure.in: Make pass distcheck
20625 * po/ChangeLog: added
20627 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20629 * panel-applet/NMWirelessApplet.c
20630 - Remove debugging code
20631 - Enable device switching from menus
20633 * panel-applet/NMWirelessAppletDbus.[ch]
20634 - Method for asking NM to switch devices
20636 * src/NetworkManagerDevice.c
20637 - Set dev->activating earlier, avoids race between
20638 the dbus signal of "DeviceActivating" and setting
20639 dev->activating (which is what NM's "status" method call
20642 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20644 * panel-applet/NMWirelessApplet.[ch]
20645 - Rework menu code to add devices to menu, and to show
20646 signal strength for each access point. Code cleanups
20649 * panel-applet/NMWirelessAppletDbus.c
20650 - Grab network devices from NetworkManager too
20651 - Grab quality information from NM for wireless networks
20653 * src/NetworkManagerDbus.[ch]
20654 - Add dbus methods for getting the HAL UDI from a device and
20655 for getting its base quality, if its wireless
20656 - Consolidate some functions (wireless network notifications,
20657 device notifications)
20658 - Add method for requesting NM to use a particular device
20660 * src/NetworkManager.c
20661 - Change for function consolidations from NetworkManagerDbus.c
20662 - Implement active device locking and user-requested devices
20663 (ie, tell NM to use a particular device instead of the one
20666 * src/NetworkManagerDevice.c
20667 - Add method for getting the base quality of a device, if its
20669 - Grab device base quailty info from iwlib during scans
20671 * src/NetworkManagerPolicy.c
20672 - Use a user-requested device rather than the auto-chosen device
20675 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20677 * Makefile.am: add po as a supdir
20679 * autogen.sh: use gnome-autogen.sh
20681 * initscript/Gentoo/.cvsignore:
20682 * initscript/RedHat/.cvsignore: Shut up cvs
20684 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20686 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20687 (nmwa_fill): Use gettext.
20689 * configure.in: add gettext support
20691 * po/NetworkManager.pot:
20694 2004-08-26 Seth Nickell <seth@gnome.org>
20696 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20697 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20698 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20699 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20700 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20701 * panel-applet/NMWirelessApplet.h:
20703 Use a menu bar instead of a button for the main clickable
20706 2004-08-25 Dan Williams <dcbw@redhat.com>
20708 * src/NetworkManagerDevice.c
20709 - (nm_device_set_enc_key): always set device to "open" mode instead of
20710 turning encryption off, because the Cisco driver doesn't associate
20711 with WEP-enabled access points unless we are in "open"
20713 2004-08-25 Dan Williams <dcbw@redhat.com>
20715 * src/NetworkManagerWireless.c
20716 - Don't try to defererence blank passphrases
20718 2004-08-25 Dan Williams <dcbw@redhat.com>
20720 * panel-applet/NMWirelessApplet.c
20721 - Rebuild the menu whenever a user clicks
20723 2004-08-25 Dan Williams <dcbw@redhat.com>
20725 * panel-applet/NMWirelessApplet.c
20726 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20727 when NM isn't around or when its not connected
20729 * src/NetworkManagerDevice.c
20730 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20733 2004-08-25 Dan Williams <dcbw@redhat.com>
20735 * panel-applet/NMWirelessAppletDbus.c
20736 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20737 for getting encryption, and don't stop on "val" once we've gotten it
20738 from NetworkManager. Short form: encryption should now show up.
20740 2004-08-25 Dan Williams <dcbw@redhat.com>
20742 * panel-applet/NMWirelessApplet.c
20743 - Set ESSID on a gconf trusted network too when force-setting the wireless
20744 network to associate with
20746 2004-08-25 Dan Williams <dcbw@redhat.com>
20749 - Rework the panel applet to do all DBUS communication in a separate
20752 2004-08-25 Dan Williams <dcbw@redhat.com>
20754 * info-daemon/NetworkManagerInfo.[ch]
20755 - Remove "get_next_priority" function
20757 * info-daemon/NetworkManagerInfoDbus.[ch]
20758 - Convert "priority" functions to "timestamp"
20760 2004-08-25 Dan Williams <dcbw@redhat.com>
20762 * src/NetworkManagerAP.[ch]
20763 - Add a "enc_method_good" member and accessors to an Access Point
20764 to signal when we've found the correct encryption method
20765 for an access point
20766 - Add a "timestamp" member and accessors, remove "priority" member
20767 and accessors (use timestamps instead)
20768 - Rename "wep_key"->"enc_key"
20769 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20770 for a specified encryption method using the access points
20771 source encryption key/passphrase
20773 * src/NetworkManagerAPList.c
20774 - When updating a network with dbus, grab timestamp now instead of
20777 * src/NetworkManagerDBus.[ch]
20778 - Add signal for "DeviceActivating"
20779 - Switch priority->timestamp
20781 * src/NetworkManagerDevice.c
20782 - Change references of "wep_key" -> "enc_key" or "key"
20783 - Signal DeviceActivating when starting activation
20784 - When activating a wireless device, if the access point we are connecting
20785 to is encrypted, and we have a source key, try to generate a mangled
20786 key and use that (ie, generate real WEP key from a passphrase)
20787 - Rework device activation to fallback to other encryption methods if
20788 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20789 first, then if that doesn't work fall back to direct hex key).
20790 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20791 priority. We now prefer the latest access point used, rather than using
20793 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20794 points we've just discovered, and merge in correct info from the global
20797 2004-08-25 Seth Nickell <seth@gnome.org>
20799 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20803 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20804 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20805 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20806 (nm_system_delete_default_route),
20807 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20808 (nm_system_load_device_modules):
20810 2004-08-24 Dan Willemsen <dan@willemsen.us>
20812 * src/NetworkManager.c
20813 src/backends/NetworkManagerGentoo.c
20814 src/backends/NetworkManagerRedHat.c
20815 src/backends/NetworkManagerSystem.h
20816 - Implement preliminary Gentoo support, adding a
20817 nm_system_init function to the backend specification
20820 - Distribution auto-detection, lowercase any user-fed
20823 * initscript/.cvsignore
20824 initscript/Makefile.am
20825 initscript/RedHat/Makefile.am
20826 initscript/RedHat/NetworkManager
20827 initscript/Gentoo/Makefile.am
20828 initscript/Gentoo/NetworkManager
20829 - Refactored initscript code separately for each
20832 2004-08-23 Dan Williams <dcbw@redhat.com>
20836 src/NetworkManagerDevice.c
20837 src/NetworkManager.c
20838 src/NetworkManagerUtils.[ch]
20839 src/backends/NetworkManagerSystem.h
20840 src/backends/NetworkManagerRedHat.c
20841 src/backends/NetworkManagerGentoo.c
20842 - Refactor system-specific code into separate backends for
20845 2004-08-23 Dan Willemsen <dan@willemsen.us>
20847 * dispatcher-daemon/NetworkManagerDispatcher.c
20848 info-daemon/NetworkManagerInfo.[ch]
20849 info-daemon/NetworkManagerInfoDbus.c
20850 info-daemon/NetworkManagerInfoPassphraseDialog.c
20851 src/NetworkManager.c
20852 src/NetworkManagerAP.c
20853 src/NetworkManagerAPList.c
20854 src/NetworkManagerDbus.c
20855 src/NetworkManagerDevice.c
20856 src/NetworkManagerPolicy.c
20857 src/NetworkManagerUtils.[ch]
20858 src/NetworkManagerWireless.c
20859 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20861 * src/NetworkManager.c
20862 - Fixed usage wording for --no-daemon
20864 2004-08-23 Dan Williams <dcbw@redhat.com>
20866 * panel-applet/NMWirelessApplet.c
20867 - Update our state every second to get more responsive panel icon
20868 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20869 was causing our marching ants status blips to never move when
20870 looking for a wireless network
20872 * src/NetworkManagerDevice.c
20873 - (nm_device_activation_begin): return if activation has already begun
20874 - (nm_device_do_normal_scan): merge WEP key and priority from the
20875 trusted/preferred network into the device's access point when the
20876 scan list is processed
20878 2004-08-23 Dan Williams <dcbw@redhat.com>
20880 * initscript/NetworkManager
20881 - Use NMLaunchHelper rather than sleeping
20883 * initscript/NMLaunchHelper.c
20885 - Add helper program that exits only when NM activates a device,
20886 or 10 seconds have passed, whichever happens first. This
20887 stops the boot processes until we have a network connection,
20888 which NM can't do because it daemonizes and brings the connection
20889 up in the background. Allows stuff like NFS to not die.
20891 2004-08-20 Dan Williams <dcbw@redhat.com>
20893 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20894 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20895 for a network, set the essid as well since it may not exist yet
20896 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20897 since WEP keys/passphrases are long and prone to entry-error
20899 * panel-applet/Makefile.am
20900 panel-applet/wired.png
20901 - Add (pulled from system-config-network temporarily)
20903 * panel-applet/NMWirelessApplet.[ch]
20904 - Show wired picture when a wired connection is used
20905 - Rename wireless icon enums, adding WIRELESS
20907 * src/NetworkManagerDevice.c
20908 - (nm_device_activate_wireless): unset encryption before bringing
20909 down the card and setting the essid
20910 - (nm_device_activatin_worker): request a key from the user if the
20911 AP we are connecting to is encrypted but we don't have a key
20913 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20914 strcmp() that prevented a user-entered key from actually getting
20917 2004-08-16 Dan Williams <dcbw@redhat.com>
20919 * initscript/NetworkManager
20920 - Check for /sbin/ip
20921 - Do sysctl magic that network service does
20922 - sleep 4s after start to allow network time to come up [hack]
20926 - Load all network device kernel modules (hal doesn't know devices
20927 are ethernet until the module is loaded, and therefore we don't know)
20929 * src/NetworkManager.c
20930 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20931 network devices, and bring up the loopback device explicitly
20933 * src/NetworkManagerUtils.[ch]
20934 - (nm_enable_loopback): new function
20936 2004-08-13 Dan Williams <dcbw@redhat.com>
20939 panel-applet/Makefile.am
20940 - Fix up cleanfiles and server_DATA/server_in_files
20943 - Update with some comments on theory of operation
20949 2004-08-12 Dan Williams <dcbw@redhat.com>
20951 * info-daemon/passphrase.glade
20952 - Set window title to " "
20954 * panel-applet/Makefile.am
20955 panel-applet/keyring.png
20956 - Deliver to correct place
20958 * panel-applet/NMWirelessApplet.[ch]
20960 - Remove applet->have_active_device as its no longer used
20961 - (nmwa_load_theme): load keyring.png too
20962 - (error_dialog): remove
20963 - (show_warning_dialog): subsume functionality of error dialog too
20964 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20965 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20967 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20968 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20969 and when we get broadcasts of changed wireless access points only, not when the
20970 user clicks on the button to display the menu (too long of a wait)
20971 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20972 networks that are encrypted
20973 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20974 menu item with g_object_set_data()
20976 * panel-applet/NMWirelessAppletDbus.[ch]
20977 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20978 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20979 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20980 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20981 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20982 activation/deactivation signals and rebuild the menu when they happen
20984 * src/NetworkManager.c
20985 - (main): use new nm_spawn_process() rather than system()
20987 * src/NetworkManagerDbus.c
20988 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20989 instead. Since we can now force best_aps to stick around, the AP structure to which
20990 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20991 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20992 to freeze the best_ap.
20994 * src/NetworkManagerDevice.[ch]
20995 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20996 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20997 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21000 * src/NetworkManagerUtils.[ch]
21001 - (nm_spawn_process): add replacement for system() usage
21003 2004-08-11 Dan Williams <dcbw@redhat.com>
21005 * panel-applet/NMWirelessApplet.[ch]
21006 - Fix up copyright and credits to include Bastien and Eskil,
21007 who created the gnome-applets wireless applet, from whose
21008 skeleton this one was created
21009 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21010 pixmap to draw is computed during nmwa_update_state()
21011 - Applet now shows itself all the time due to panel packing issues
21012 which caused the applet to previously never come back after hiding.
21013 When a wired device is the active device, the applet shows "not connected"
21015 * panel-applet/NMWirelessAppletDbus.[ch]
21016 - Clean up error messages and show what function they are from
21017 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21018 - Add new device type getters, and a status getter
21020 * src/NetworkManagerDbus.c
21021 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21022 network is actually in the device's ap list
21023 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21025 * src/NetworkManagerDevice.c
21026 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21029 * test/nmclienttest.c
21030 - Report status of NetworkManager too
21032 2004-08-11 Dan Williams <dcbw@redhat.com>
21034 * info-daemon/NetworkManagerInfo.c:
21035 - (main): clean up Seth's code style
21037 * info-daemon/NetworkManagerInfoDbus.c:
21038 - Use the more aptly-named path/service/interface constants from NetworkManager
21039 - Don't return empty strings ("") as object paths ever, instead return errors
21041 * panel-applet/NMWirelessApplet.c:
21042 - Clean up Seth's code style
21044 * src/NetworkManager.[ch]
21045 - (nm_remove_device_from_list): remove anything having to do with pending_device
21046 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21048 * src/NetworkManagerAPList.[ch]
21049 - Move Iter struct right above the iter functions to preserve opacity
21050 - (nm_ap_list_remove_ap): implement
21051 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21052 remove AP if NetworkManagerInfo doesn't know anything about it
21053 - (nm_ap_list_diff): user NMAPList iterators
21054 - (nm_ap_list_print_members): implement debugging function
21056 * src/NetworkManagerDbus.[ch]
21057 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21058 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21059 and move the actual key setting stuff into NetworkManagerDevice.c
21060 - (nm_dbus_get_network_priority): return -1 now on errors
21061 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21062 get lost, and force the active device to update its "best" ap when AP lists change
21063 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21064 method call due to pending_device member removal
21066 * src/NetworkManagerDevice.[ch]
21067 - Move NMDevice structure to the top
21068 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21069 - Remove Pending Action stuff from everywhere
21070 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21071 activation for us. This thread blocks until all conditions for activation have
21072 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21073 then setup up the interface and runs dhclient. We have to do this because there
21074 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21075 run our main loop and respond to dbus method calls or HAL device removals/inserts
21076 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21077 can tell nm_device_activation_worker() that we've got a key
21078 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21079 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21080 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21081 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21083 * src/NetworkManagerPolicy.c
21084 - Remove anything to do with pending_device
21085 - Adjust device activation to deal with activation-in-worker-thread
21087 * src/NetworkManagerUtils.c
21088 - Clean up locking debugging a bit
21090 * src/NetworkManagerWireless.[ch]
21091 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21092 was badly named and is better as a device function
21094 * panel-applet/.cvsignore: add
21096 2004-08-09 Seth Nickell <seth@gnome.org>
21098 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21099 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21101 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21103 Don't load the menus until clicked on (also removes a call outside
21104 normal code paths at first load).
21106 Hide applet when NM is not present.
21108 Improve printf debugging stuff.
21110 2004-08-09 Dan Williams <dcbw@redhat.com>
21112 * dispatcher-daemon/NetworkManagerDispatcher.c:
21113 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21114 - Use constants for NetworkManager interface, service, and path
21116 2004-08-09 Dan Williams <dcbw@redhat.com>
21118 * src/NetworkManagerDbus.c:
21119 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21120 instead return an error message
21121 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21122 on a wired device. Also never return an empty object path, instead return an error message
21124 2004-08-06 Seth Nickell <seth@gnome.org>
21126 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21128 Check the error code when getting a connection.
21130 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21132 Check if the NM service exists when initializing (rather than
21133 assuming it does not).
21135 * src/NetworkManagerDbus.c: (nm_dbus_init):
21137 Don't acquire the well-known service name until we have
21138 registered object/path handlers and can actually receive
21141 2004-08-06 Dan Williams <dcbw@redhat.com>
21146 * src/NetworkManagerPolicy.c
21147 src/NetworkManager.c
21148 - Get access point lists from NetworkManagerInfo on-demand,
21149 and look for ServiceCreate/ServiceDeleted signals to see when
21150 we should query NMI for lists
21151 * src/NetworkManagerAPList.c
21152 - Make sure to init the list's mutex
21153 - Convert traversals of the list over to the list iter functions
21155 * src/NetworkManagerDbus.[ch]
21156 - Use more aptly-named path/service/interface constants
21157 - Treat both active and pending devices the same for "getActiveDevice"
21158 - Add a "status" method returning "connected", "connecting", or "disconnected"
21160 * src/NetworkManagerDevice.c
21161 - Honor "ignored" network list when picking best ap to use
21163 2004-08-06 Seth Nickell <seth@gnome.org>
21167 Autogenerated, remove from CVS.
21171 Don't hardcode automake version.
21174 * info-daemon/Makefile.am:
21175 * info-daemon/NetworkManagerInfo.c: (main):
21177 Use GnomeProgram et al. for doing session management.
21178 Use popt stuff for argument parsing rather than doing
21181 2004-08-05 Dan Williams <dcbw@redhat.com>
21183 * test/nminfotest.c
21184 - Update to new NMI dbus API, check different network types
21186 * info-daemon/NetworkManagerInfoDbus.c
21187 - Update to new NM dbus API, ie network type sent in query message
21189 2004-08-05 Dan Williams <dcbw@redhat.com>
21191 * An assload of changes
21193 2004-08-02 Dan Williams <dcbw@redhat.com>
21196 - new task: proper logging support
21198 * info-daemon/NetworkManagerInfo.c
21199 - Correct spelling of "canceled"
21200 - Correct casting of objects for g_signal_connect()
21202 * info-daemon/NetworkManagerInfoDbus.c
21203 - Add defines for NetworkManager namespace and object path, and use them
21204 - Add filter function to trap new signals from NetworkManager:
21205 WirelessNetworkAppeared, WirelessNetworkDisappeared
21207 * info-daemon/passphrase.glade
21208 - Change name of "ok" button to "Login to Network..."
21211 * src/NetworkManager.c
21212 - Code and debug message cleanups
21213 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21214 - (nm_add_initial_devices) Check returned string array of devices
21215 and don't try to add devices if array is NULL
21216 - (main) Initialize libhal a bit later, make code a bit clearer
21218 * src/NetworkManagerAP.[ch]
21219 - New accessor and data member "matched": used to speed up AP list
21221 - New accessor and data member "enc_method": will be used during key
21222 fallback to cache which passphrase->key conversion actually works
21223 so we don't have to do it every time
21225 * src/NetworkManagerAPList.[ch]
21226 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21227 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21228 between them, and send WirelessNetworkAppeared/Disappeared signals over
21229 dbus in response to those differences
21231 * src/NetworkManagerDbus.[ch]
21232 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21233 make an object path for that access point (NOTE that we don't yet check to
21234 make sure that access point is actually in the device's AP list yet)
21235 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21236 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21237 New: signal appearance/disappearance of wireless networks
21238 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21241 * src/NetworkManagerDevice.[ch]
21242 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21243 - (nm_device_ap_list_get) New: return the AP list (static function)
21244 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21245 new one resulting from the scan with the old one
21247 * src/NetworkManagerWireless.c
21248 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21250 * test/nminfotest.c
21251 - #define object paths and namespaces and use the #defines rather than static strings
21252 - Test out user-key functionality of NetworkManagerInfo too
21254 2004-07-29 Dan Williams <dcbw@redhat.com>
21256 * info-daemon/NetworkManagerInfoDbus.c
21257 src/NetworkManagerDbus.c
21258 - Update to current DBus (ie don't use decomposed paths when registering
21259 object paths/fallbacks)
21261 2004-07-27 Dan Williams <dcbw@redhat.com>
21263 * Remove various Makefile.in files
21266 - Add some more items
21269 - Add checks for OpenSSL/md5 headers and libs
21272 - Use OpenSSL CFLAGS
21274 * src/NetworkManagerAP.[ch]
21275 - Remove 'stamp' functions, replace with 'invalid' functions
21276 to support user cancelling WEP key entry
21278 * src/NetworkManagerDbus.c
21279 - Remove 'stamp' return functions
21280 - Treat returned user key as a passphrase and convert to a WEP key,
21281 but don't actually use the WEP key yet. We use the returned user
21282 key as a hexadecimal WEP key until we can figure out a UI for
21283 passphrase-vs-hex key
21285 * src/NetworkManagerWireless.[ch]
21286 - Add passphrase-to-128bit-key function
21288 2004-07-27 Dan Williams <dcbw@redhat.com>
21291 - Add a couple of items
21293 2004-07-27 Dan Williams <dcbw@redhat.com>
21295 * info-daemon/NetworkManagerInfo.c
21296 - Update allowed network's GConf key when user enters a WEP key explicitly
21298 * info-daemon/NetworkManagerDbus.c
21299 - Fix some comments
21300 - nmi_dbus_get_allowed_networks(): kill warning
21302 2004-07-27 Dan Williams <dcbw@redhat.com>
21304 * initscript/Makefile.in
21307 * initscript/Makefile.am
21308 - Add correct rules to install the init.d initscript
21310 * info-daemon/NetworkManagerInfoDbus.c
21311 - Remove debug fprintf
21313 * src/NetworkManagerDbus.[ch]
21314 - Remove debug fprintfs
21315 - Add macros for NetworkManagerInfo object path/namespace
21316 - Use said macros instead of constant strings
21318 2004-07-27 Dan Williams <dcbw@redhat.com>
21320 * initscript/.cvsignore
21323 * info-daemon/Makefile.am
21324 - Install .glade files and keyring.png
21325 - Fix stupid omission of a \ that caused half the flags not to be
21328 * info-daemon/NetworkManagerInfo.c
21329 - gtk_signal_connect->g_signal_connect
21330 - Alert NetworkManagerInfo to new glade file location
21332 2004-07-27 Dan Williams <dcbw@redhat.com>
21334 * test/nmclienttest.c
21336 - Add missing <dbus/dbus.h> headers
21337 - Add GPL message at top
21339 2004-07-27 Dan Williams <dcbw@redhat.com>
21341 * src/NetworkManagerAPList.[ch]
21343 - Add. Deal with allowed network list additions, deletions, and updates
21345 * dispatcher-daemon/NetworkManagerDispatcher.c
21346 - Add missing <dbus/dbus.h> header
21348 * info-daemon/NetworkManagerInfo.[ch]
21349 - Add missing <dbus/dbus.h> header
21350 - Implement the GConf notify callback to signal NetworkManager of an allowed
21352 - Better error checking
21354 * info-daemon/NetworkManagerInfoDbus.[ch]
21355 - Add missing <dbus/dbus.h> header
21356 - Convert to using dbus_message_append_args/dbus_message_get_args
21357 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21358 that an allowed network changed. We don't want to signal on individual
21359 keys _inside_ an allowed network really, just want NM to query the info
21360 daemon for updated info on all keys.
21361 - Better error checking
21363 * src/NetworkManager.[ch]
21364 - Add missing <dbus/dbus.h> header
21365 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21366 - Zero out NMData structure on free
21367 - No longer use a thread for allowed_ap_list updating, instead its now done
21368 through dbus queries against NetworkManagerInfo
21369 - Populate allowed_ap_list initially before adding existing network devices
21370 to the device list, so wireless devices can get their "best" AP
21372 * src/NetworkManagerDbus.[ch]
21373 - Convert to using dbus_message_append_args/dbus_message_get_args
21374 - Better error checking
21375 - Implement Allowed Network info functions to request allowed network
21376 info from NetworkManagerInfo
21377 - Implement the filter function to process signals from NetworkManagerInfo
21378 about changing allowed networks
21380 * src/NetworkManagerDevice.c
21381 - Fix file descriptor leak in nm_device_update_ip4_address()
21383 2004-07-27 Dan Williams <dcbw@redhat.com>
21388 dispatcher-daemon/.cvsignore
21389 info-daemon/.cvsignore
21390 - Add .cvsignore files to reduce noise when diffing
21392 2004-07-24 Dan Williams <dcbw@redhat.com>
21394 * src/NetworkManager.[ch]
21395 src/NetworkManagerDbus.[ch]
21396 src/NetworkManagerDevice.[ch]
21397 src/NetworkManagerPolicy.c
21398 src/NetworkManagerWireless.[ch]
21399 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21400 - Pass the NMData application data structure through all calls
21401 that need it so we can get rid of nm_get_global_data()
21402 - Change deallocation of the allowed_ap_list GSList in preparation
21403 for not completely clearing it every time we get an update,
21404 but instead getting incremental updates via GConf/dbus
21406 2004-07-22 Dan Williams <dcbw@redhat.com>
21409 - Add checks for GConf libs & headers & flags
21411 * info-daemon/Makefile.am
21412 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21414 * info-daemon/NetworkManagerInfo.[ch]
21415 - Don't use gquarks for data storage, just use normal data storage
21416 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21418 * info-daemon/NetworkManagerDbus.[ch]
21419 - Add method call for getting allowed networks
21420 - Add method calls for getting an allowed network's essid, priority, and key
21421 - Hook the method calls up to GConf
21422 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21423 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21425 * src/NetworkManagerDbus.[ch]
21426 - Switch for enumeration of networks to using essid instead
21430 - Add test program for NetworkManagerInfo
21432 2004-07-19 Dan Williams <dcbw@redhat.com>
21434 * src/NetworkManagerDbus.c
21435 - Switch from indexed device paths to names. Less code, more efficient.
21436 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21438 2004-07-19 Dan Williams <dcbw@redhat.com>
21440 * dispatcher-daemon/NetworkManagerDispatcher.c
21441 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21443 2004-07-19 Dan Williams <dcbw@redhat.com>
21446 - Add info-daemon directory
21449 - Check for glade libs and headers
21450 - Add info-daemon directory
21452 * src/NetworkManagerAP.c
21453 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21454 copied over to the new AP.
21456 * src/NetworkManagerDbus.c
21457 src/NetworkManagerDbus.h
21458 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21459 - Remove nm_dbus_signal_need_key_for_network()
21460 - Add disabled code for asynchronous user wep key callbacks
21461 - Add functions for getting, setting, and cancelling user key operations
21462 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21463 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21465 * src/NetworkManagerDevice.c
21466 src/NetworkManagerDevice.h
21467 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21468 logic is in device activation now
21469 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21470 key is wrong) trigger get-user-key pending action
21471 - Implement get-user-key pending action stuff, tie to dbus messages
21472 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21473 - Add nm_device_ap_list_get_ap_by_essid()
21474 - Instead of copying "best" access points, ref them instead so that the key we set
21477 * src/NetworkManagerPolicy.c
21478 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21479 - Don't cancel pending actions on a device if its the same device as last iteration
21480 - Only promote pending_device->active_device if activation was successfull
21483 - Rename nmclienttest->nmtest
21485 * info-daemon/Makefile.am
21486 info-daemon/NetworkManagerInfo.c
21487 info-daemon/NetworkManagerInfo.h
21488 info-daemon/NetworkManagerInfoDbus.c
21489 info-daemon/NetworkManagerInfoDbus.h
21490 info-daemon/passphrase.glade
21491 info-daemon/NetworkManagerInfo.conf
21492 info-daemon/keyring.png
21493 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21494 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21495 lists to NetworkManager by proxying user's GConf
21498 2004-07-15 Dan Williams <dcbw@redhat.com>
21503 * src/NetworkManager.c
21504 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21505 that doing the deactivation ourselves
21506 - Cancel an pending actions on a device if its being removed
21507 - Break up link state checking a bit, make non-active wireless cards
21508 deactivated to save power
21509 - Remove unused variables
21511 * src/NetworkManager.h
21512 - Add support for "pending" device
21514 * src/NetworkManagerAP.h
21515 src/NetworkManagerAP.c
21516 - Add support for determining whether and AP has encryption enabled or not
21517 - AP address is now "struct ether_addr" rather than a string
21519 * src/NetworkManagerDbus.h
21520 src/NetworkManagerDbus.c
21521 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21522 - Changes for AP address from struct ether_addr->string
21524 * src/NetworkManagerDevice.h
21525 src/NetworkManagerDevice.c
21526 - Remove unused variables, fix warnings
21527 - Add support for Pending Actions (things that block a device from being "active"
21528 until they are completed).
21529 - First pending action: Get a WEP key from the user
21530 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21531 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21532 - Update wireless link checking to try to determine if the AP we are associated
21533 with is correct, but the WEP key we are using is just wrong. If its wrong,
21534 trigger the GetUserKey pending action on the device
21535 - If dhclient can't get an IP address, it brings the device down. Bring it back
21536 up in that case, otherwise we can't scan or link-check on it
21537 - Add IP address change notifications at appropriate points (still needs some work)
21538 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21540 * src/NetworkManagerPolicy.h
21541 src/NetworkManagerPolicy.c
21542 - Split out "best" access point determiniation into separate function
21543 - Make device activation 2-stage: first the device is pending, then
21544 in the next iteration through it becomes "active" unless it has
21547 * src/NetworkManagerUtils.h
21548 src/NetworkManagerUtils.c
21549 - Clean up unused variables and warnings
21550 - Wrap our debug macros in {} to prevent possible confusion
21552 * src/NetworkManagerWireless.c
21553 - Forgot to return current best priority, which lead to last available AP always
21554 being chosen no matter what its priority was. Corrected.
21556 2004-07-15 Dan Williams <dcbw@redhat.com>
21558 * dispatcher-daemon/Makefile.am
21561 * dispatcher-daemon/NetworkManagerDispatcher.c
21562 - Remove unused variables due to warnings
21563 - Fix some comments
21564 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21566 2004-07-06 Dan Williams <dcbw@redhat.com>
21568 * src/NetworkManager.c
21569 - Add IPv4 address update for active device during link state check
21570 - Don't allow wireless cards to be powered up when they are not the
21573 * src/NetworkManagerDbus.c
21574 src/NetworkManagerDbus.h
21575 - Add DBUS IPv4 address change signal
21576 - Add DBUS IPv4 address get method for devices
21578 * src/NetworkManagerDevice.c
21579 - Make setting the WEP key actually work
21580 - Move IP address get/set/update stuff here, per-device
21581 - Power down/bring down wireless device when deactivated
21582 - For scanning wireless devices, if first scan returned ENODATA, try again
21584 * src/NetworkManagerPolicy.c
21585 - Only set the WEP key for an allowed access point if there is one.
21586 We were setting it to be blank if one wasn't specified.
21588 * src/NetworkManagerUtils.h
21589 src/NetworkManagerUtils.c
21590 - Move the IP address stuff to NetworkManagerDevice.c
21592 * dispatcher-daemon/NetworkManagerDispatcher.c
21593 - Add device IPv4 address change notification stuff
21595 2004-07-05 Dan Williams <dcbw@redhat.com>
21597 * dispatcher-daemon/NetworkManagerDispatcher.c
21598 - A bit more descriptive state message
21599 - Don't segfault when reading directory
21601 * src/NetworkManager.h
21602 - Remove NMData desired_ap member, its now
21603 per-device rather than global
21605 * src/NetworkManager.c
21606 - Remove references to desired_ap
21607 - Move the allowed AP list refresh stuff into a thread
21609 * src/NetworkManagerDevice.c
21610 src/NetworkManagerDevice.h
21611 - Each wireless device now has a "best ap"
21612 - Make device activate/deactivate functions per-device
21613 - Make wireless scanning per-device
21614 - Add IPv4 address discover functions, stub IPv6 ones
21615 - Move ethernet address validation functions to NetworkManagerUtils.c
21616 - Add wireless access point accessor function
21617 - Get/Set functions for "best ap"
21619 * src/NetworkManagerPolicy.c
21620 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21621 - Deal with per-device "best ap" rather than data->desired_apa
21622 - Implement allowed access point worker thread
21623 - Add nm_policy_essid_is_allowed() function
21625 * src/NetworkManagerUtils.c
21626 src/NetworkManagerUtils.h
21627 - Add nm_ethernet_address_is_valid() function
21628 - Add IPv4/IPv6 address get functions
21630 * src/NetworkManagerWireless.c
21631 src/NetworkManagerWireless.h
21632 - Move scanning stuff into NetworkManagerDevice.c, per-device
21634 2004-06-29 Dan Williams <dcbw@redhat.com>
21636 * dispatcher-daemon/NetworkManagerDispatcher.c
21637 - Implement script callout functionality
21639 2004-06-24 Dan Williams <dcbw@redhat.com>
21643 - Flush device routes and ip addresses when added to the device list
21645 * NetworkManagerDbus.c
21647 - Add missing returns in the two signal functions
21649 * NetworkManagerPolicy.c
21650 - Spacing and variable cleanups
21652 2004-06-24 Dan Williams <dcbw@redhat.com>
21657 dispatcher-daemon/Makefile.am
21658 dispatcher-daemon/Makefile.in
21659 dispatcher-daemon/NetworkManagerDispatcher.c
21660 - Add a daemon that receives signals from NetworkManager
21661 and will (eventually) call scripts in /etc/somewhere
21662 when devices go up or down.
21666 - Flush device routes and ip addresses when added to the device list
21668 * NetworkManagerDbus.c
21670 - Add missing returns in the two signal functions
21672 * NetworkManagerPolicy.c
21673 - Spacing and variable cleanups
21674 - Rename nm_policy_switch_interface->nm_policy_switch_device
21675 - nm_policy_switch_device():
21676 Use kill (pid) instead of system ("kill <pid>")
21677 - nm_state_modification_monitor():
21678 Add wireless essid to output of debug statements
21679 Correct typo in device compare to switch or not (should be !=)
21680 Don't sleep after sending "no longer active" signal, was useless
21682 2004-06-24 Dan Williams <dcbw@redhat.com>