1 2008-11-02 Dan Williams <dcbw@redhat.com>
5 2008-11-02 Dan Williams <dcbw@redhat.com>
7 * src/NetworkManagerAP.c
8 - (nm_ap_new_fake_from_connection): treat only lack of a wireless security
9 setting as unencrypted; fixes a bug where NM wouldn't ask for new
10 secrets when connecting to an encrypted network failed
12 2008-10-30 Dan Williams <dcbw@redhat.com>
14 * libnm-util/libnm-util.ver
15 libnm-util/nm-setting-ip6-config.c
16 libnm-util/nm-setting-ip6-config.h
17 libnm-util/Makefile.am
18 - Make properties private and add accessor functions
19 - Hide IPv6 stuff from public API, it's incomplete and completely unused
21 * libnm-util/nm-connection.c
24 - Ignore IPv6 stuff for now
26 2008-10-30 Dan Williams <dcbw@redhat.com>
28 * libnm-util/libnm-util.ver
29 libnm-util/nm-setting-8021x.c
30 libnm-util/nm-setting-8021x.h
31 - Make properties private and add accessor functions
33 * src/supplicant-manager/nm-supplicant-config.c
34 system-settings/plugins/ifcfg-suse/parser.c
35 - Use 802.1x setting accessors
37 2008-10-30 Dan Williams <dcbw@redhat.com>
39 * libnm-util/libnm-util.ver
40 libnm-util/nm-setting-wireless-security.c
41 libnm-util/nm-setting-wireless-security.h
42 - Make properties private and add accessor functions
44 * libnm-util/nm-setting-wireless.c
45 src/NetworkManagerAP.c
47 src/supplicant-manager/nm-supplicant-config.c
48 system-settings/plugins/ifcfg-fedora/reader.c
49 system-settings/plugins/ifcfg-suse/parser.c
50 - Use wireless security accessors
52 2008-10-30 Dan Williams <dcbw@redhat.com>
54 * src/nm-device-ethernet.c
57 src/ppp-manager/nm-ppp-manager.c
58 - Harmonize return checking of ioctl
60 * system-settings/plugins/ifcfg-fedora/reader.c
61 - (is_wireless_device): fall back to SIOCGIWNAME (rh #466340)
63 2008-10-30 Dan Williams <dcbw@redhat.com>
65 * src/ppp-manager/nm-ppp-manager.c
66 - (nm_ppp_manager_start): if /dev/ppp doesn't exist, load the
67 ppp_generic module to create it (bgo #533064)
69 2008-10-30 Dan Williams <dcbw@redhat.com>
71 Patch from Alexander Sack <asac@canonical.com>
73 Fix "ppp connections don't honour ip4 connection settings"
75 * src/nm-device-ethernet.c
76 - (real_act_stage4_get_ip4_config): merge ip4config settings
77 with results from ppp manager
79 * src/nm-serial-device.c
80 - (real_act_stage4_get_ip4_config): merge ip4config settings
81 with results from ppp manager
83 2008-10-29 Dan Williams <dcbw@redhat.com>
85 * libnm-util/libnm-util.ver
86 libnm-util/nm-setting-ip4-config.c
87 libnm-util/nm-setting-ip4-config.h
88 - Make properties private and add accessor functions
90 * callouts/nm-dispatcher-action.c
91 libnm-glib/libnm-glib-test.c
93 src/NetworkManagerPolicy.c
94 src/NetworkManagerSystem.c
95 src/NetworkManagerUtils.c
96 src/dhcp-manager/nm-dhcp-dhclient.c
97 src/dhcp-manager/nm-dhcp-manager.c
98 src/dnsmasq-manager/nm-dnsmasq-manager.c
101 src/nm-hso-gsm-device.c
104 src/ppp-manager/nm-ppp-manager.c
105 src/vpn-manager/nm-vpn-connection.c
106 system-settings/plugins/ifcfg-fedora/reader.c
107 system-settings/plugins/ifcfg-suse/parser.c
108 system-settings/plugins/ifcfg-suse/plugin.c
109 system-settings/plugins/ifupdown/parser.c
111 vpn-daemons/vpnc/properties/nm-vpnc.c
112 - Use IP4 accessor functions
114 2008-10-29 Tambet Ingo <tambet@gmail.com>
116 Half of it by Dan Williams <dcbw@redhat.com>
118 * libnm-util/libnm-util.ver
119 libnm-util/nm-setting-vpn.c
120 libnm-util/nm-setting-vpn.h
121 - Make properties private and add accessor functions.
123 * src/vpn-manager/nm-vpn-connection.c
124 src/vpn-manager/nm-vpn-manager.c
125 system-settings/plugins/keyfile/reader.c
126 vpn-daemons/openvpn/properties/auth-helpers.c
127 vpn-daemons/openvpn/properties/import-export.c
128 vpn-daemons/openvpn/properties/nm-openvpn.c
129 vpn-daemons/openvpn/src/nm-openvpn-service.c
130 vpn-daemons/pptp/auth-dialog/main.c
131 vpn-daemons/pptp/properties/advanced-dialog.c
132 vpn-daemons/pptp/properties/nm-pptp.c
133 vpn-daemons/pptp/src/nm-pptp-service.c
134 vpn-daemons/vpnc/properties/nm-vpnc.c
135 vpn-daemons/vpnc/src/nm-vpnc-service.c
136 - Use VPN setting accessors.
138 2008-10-28 Dan Williams <dcbw@redhat.com>
140 Patch from Tambet Ingo <tambet@gmail.com>
142 * libnm-util/libnm-util.ver
143 libnm-util/nm-setting-wireless.c
144 libnm-util/nm-setting-wireless.h
145 - Make properties private and add accessor functions
147 * src/NetworkManagerAP.c
150 src/supplicant-manager/nm-supplicant-config.c
151 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
152 system-settings/plugins/ifcfg-fedora/reader.c
153 system-settings/plugins/ifcfg-suse/parser.c
154 system-settings/plugins/ifupdown/parser.c
155 - Use wireless setting accessors
157 2008-10-27 Dan Williams <dcbw@redhat.com>
159 Patch from Tambet Ingo <tambet@gmail.com>
161 * libnm-util/libnm-util.ver
162 libnm-util/nm-setting-ppp.c
163 libnm-util/nm-setting-ppp.h
164 - Make properties private and add accessor functions
166 * src/ppp-manager/nm-ppp-manager.c
167 - Use ppp setting accessors
169 2008-10-27 Dan Williams <dcbw@redhat.com>
171 Patch from Tambet Ingo <tambet@gmail.com>
173 * libnm-util/nm-setting.h
174 libnm-util/nm-setting.c
175 - Make properties private and add accessor functions
177 * libnm-util/nm-connection.c
178 libnm-util/nm-setting-8021x.c
179 libnm-util/nm-setting-cdma.c
180 libnm-util/nm-setting-connection.c
181 libnm-util/nm-setting-gsm.c
182 libnm-util/nm-setting-ip4-config.c
183 libnm-util/nm-setting-ip6-config.c
184 libnm-util/nm-setting-ppp.c
185 libnm-util/nm-setting-pppoe.c
186 libnm-util/nm-setting-serial.c
187 libnm-util/nm-setting-template.c
188 libnm-util/nm-setting-vpn.c
189 libnm-util/nm-setting-wired.c
190 libnm-util/nm-setting-wireless-security.c
191 libnm-util/nm-setting-wireless.c
192 system-settings/plugins/keyfile/reader.c
193 system-settings/plugins/keyfile/writer.c
194 - Use setting accessors
196 2008-10-27 Dan Williams <dcbw@redhat.com>
198 * libnm-util/libnm-util.ver
199 libnm-util/nm-setting-connection.c
200 libnm-util/nm-setting-connection.h
201 - Add a 'read-only' property that indicates the connection cannot be
204 * system-settings/plugins/ifcfg-fedora/reader.c
205 system-settings/plugins/ifcfg-suse/parser.c
206 system-settings/plugins/ifupdown/parser.c
207 - These plugins are read-only at the moment
209 * system-settings/plugins/keyfile/reader.c
210 system-settings/plugins/keyfile/writer.c
211 - Read-only shouldn't get saved out to files or read in from them
213 2008-10-27 Tambet Ingo <tambet@gmail.com>
215 * src/nm-device-ethernet.c (nm_device_ethernet_get_speed): Implement
216 correct speed reporting for fast devices (kernel >= 2.6.27).
218 2008-10-26 Dan Williams <dcbw@redhat.com>
220 Attempt to compensate for modems that don't enable full AT parsing before
221 the PIN has been entered.
223 * src/nm-gsm-device.c
224 - (init_modem): accept different init strings
225 - (init_done): try different init strings on failure
226 - (check_pin_done): on PIN success, do full modem init
228 2008-10-26 Dan Williams <dcbw@redhat.com>
230 Patch from Tambet Ingo <tambet@gmail.com>
232 * libnm-util/libnm-util.ver
233 libnm-util/nm-setting-connection.c
234 libnm-util/nm-setting-connection.h
235 - Make properties private and add accessor functions
237 * src/NetworkManagerPolicy.c
239 src/nm-device-ethernet.c
240 src/nm-device-interface.c
244 src/ppp-manager/nm-ppp-manager.c
245 src/vpn-manager/nm-vpn-connection.c
246 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
247 system-settings/plugins/ifcfg-fedora/plugin.c
248 system-settings/plugins/ifcfg-fedora/reader.c
249 system-settings/plugins/ifcfg-suse/parser.c
250 system-settings/plugins/ifupdown/parser.c
251 system-settings/plugins/keyfile/nm-keyfile-connection.c
252 system-settings/plugins/keyfile/plugin.c
253 system-settings/plugins/keyfile/writer.c
254 system-settings/src/main.c
255 - Use those accessors
257 2008-10-26 Dan Williams <dcbw@redhat.com>
259 Patch from Tambet Ingo <tambet@gmail.com>
261 * libnm-util/libnm-util.ver
262 libnm-util/nm-setting-gsm.c
263 libnm-util/nm-setting-gsm.h
264 - Make properties private and add accessor functions
266 * src/nm-gsm-device.c
267 src/nm-hso-gsm-device.c
268 src/ppp-manager/nm-ppp-manager.c
269 - Use those accessors
271 2008-10-26 Dan Williams <dcbw@redhat.com>
273 Patch from Tambet Ingo <tambet@gmail.com>
275 * libnm-util/libnm-util.ver
276 libnm-util/nm-setting-cdma.c
277 libnm-util/nm-setting-cdma.h
278 - Make properties private and add accessor functions
280 * src/nm-cdma-device.c
281 src/ppp-manager/nm-ppp-manager.c
282 - Use those accessors
284 2008-10-26 Dan Williams <dcbw@redhat.com>
286 Patch from Tambet Ingo <tambet@gmail.com>
288 * libnm-util/libnm-util.ver
289 libnm-util/nm-setting-pppoe.c
290 libnm-util/nm-setting-pppoe.h
291 - Make properties private and add accessor functions
293 * src/nm-device-ethernet.c
294 src/ppp-manager/nm-ppp-manager.c
295 - Use those accessors
297 2008-10-26 Dan Williams <dcbw@redhat.com>
299 Patch from Tambet Ingo <tambet@gmail.com>
301 * libnm-util/libnm-util.ver
302 libnm-util/nm-setting-wired.c
303 libnm-util/nm-setting-wired.h
304 - Make properties private and add accessor functions
306 * src/nm-device-ethernet.c
307 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
308 system-settings/plugins/ifcfg-suse/parser.c
309 system-settings/src/main.c
310 - Use those accessors
312 2008-10-26 Dan Williams <dcbw@redhat.com>
314 Patch from Tambet Ingo <tambet@gmail.com>
316 * libnm-util/libnm-util.ver
317 libnm-util/nm-setting-serial.c
318 libnm-util/nm-setting-serial.h
319 src/nm-serial-device.c
320 - Make properties private and use accessors instead
322 2008-10-26 Dan Williams <dcbw@redhat.com>
324 * src/supplicant-manager/nm-supplicant-interface.c
325 src/supplicant-manager/nm-supplicant-interface.h
326 src/supplicant-manager/nm-supplicant-manager.c
327 src/supplicant-manager/nm-supplicant-manager.h
328 - Add state-to-string conversion functions
330 * src/nm-device-wifi.c
331 src/nm-device-ethernet.c
332 - Normalize state info logging and use strings instead of numbers
334 2008-10-26 Dan Williams <dcbw@redhat.com>
336 * src/NetworkManagerPolicy.c
337 - (update_routing_and_dns): ignore host routes when determining whether
338 a VPN connection should own the default route (bgo #552594)
340 2008-10-24 Dan Williams <dcbw@redhat.com>
342 * src/nm-gsm-device.c
343 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
345 2008-10-23 Dan Williams <dcbw@redhat.com>
347 * src/ppp-manager/nm-ppp-manager.c
348 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
349 add really important stuff to the command line to ensure that NM
350 overrides /etc/ppp/options (bgo #556781)
352 2008-10-22 Dan Williams <dcbw@redhat.com>
354 * src/NetworkManagerSystem.c
356 - Use the device's IP interface where appropriate (Per Hallsmark)
358 2008-10-22 Dan Williams <dcbw@redhat.com>
360 * src/nm-gsm-device.c
361 - (schedule_automatic_registration_again): use a short timeout here
362 instead of an idle handler to avoid using too much CPU polling for
363 something we should be waiting a bit for anyway
365 2008-10-22 Dan Williams <dcbw@redhat.com>
367 * include/NetworkManager.h
368 introspection/nm-device.xml
369 - Add device state change reason for carrier changes
371 * src/nm-device-ethernet.c
372 - (set_carrier): use the carrier change reason when changing device
373 state in response to carrier changes
375 2008-10-21 Dan Williams <dcbw@redhat.com>
377 * src/NetworkManagerPolicy.c
378 - (update_etc_hosts): don't leak errors, and ensure that
379 g_file_set_contents() gets a valid error placeholder (rh #461933)
381 2008-10-21 Dan Williams <dcbw@redhat.com>
384 - (free_get_settings_info): don't use the DBusGProxy which could be
385 disposed of by the time the function is called
386 - (internal_new_connection_cb): save connection scope
387 - (connection_get_settings_cb): don't replace a connection unless it's
388 actually different from the existing one; fixes an issue where
389 killing the settings service wouldn't deactivate an active connection
390 provided by that settings service, because it was using a connection
391 that had already been replaced in the system or user hash
393 2008-10-21 Dan Williams <dcbw@redhat.com>
395 * src/NetworkManager.c
396 - (main): keep the DHCP manager around since it's a singleton; fixes
397 a use-after-free exposed by r4196 since the DHCP manager singleton
398 variable isn't cleared when the DHCP manager object is finalized
400 2008-10-20 Dan Williams <dcbw@redhat.com>
402 * libnm-util/nm-setting-wireless-security.c
403 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
405 2008-10-20 Dan Williams <dcbw@redhat.com>
407 * src/supplicant-manager/nm-supplicant-config.c
408 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
410 2008-10-20 Dan Williams <dcbw@redhat.com>
412 * src/dhcp-manager/nm-dhcp-manager.c
413 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
414 manager object already refs it once
415 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
416 also get cleaned up by nm_dhcp_device_destroy() to prevent
419 2008-10-20 Dan Williams <dcbw@redhat.com>
422 - (initial_get_connections): use private dbus manager, don't keep
423 ref-ing the singleton. Fixes mismatched refcounts of the dbus
426 2008-10-18 Dan Williams <dcbw@redhat.com>
428 * libnm-glib/nm-settings.c
429 libnm-glib/nm-settings.h
430 - Rename the "get_secrets" virtual function "service_get_secrets" to
431 clarify when it's used; NMExportedConnetion is a base-class for both
432 the client and service side, which is sort of confusing, and
433 get_secrets only makes sense on the service side.
435 * libnm-glib/nm-dbus-connection.c
436 - (get_secrets): remove, unused, and clients need to do extra work to
437 get secrets anyway since the call can block on the remote side
439 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
440 system-settings/plugins/keyfile/nm-keyfile-connection.c
441 - Fix up for get_secrets -> service_get_secrets
443 2008-10-16 Dan Williams <dcbw@redhat.com>
445 * src/nm-device-wifi.c
446 - (constructor): correctly determine encryption capabilities
448 2008-10-15 Dan Williams <dcbw@redhat.com>
450 * src/nm-device-wifi.c
451 - (wireless_qual_to_percent): fix quality calculation in a fallback case
454 2008-10-15 Dan Williams <dcbw@redhat.com>
456 * src/NetworkManagerSystem.c
457 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
458 if the ip4_dest is in a smaller subnet contained within a subnet
459 the machine is currently on, the destination is in the same subnet
460 - (nm_system_device_set_ip4_route): move subnet checks to callers
461 - (add_vpn_gateway_route): check if the VPN gateway is in the same
462 subnet as the parent device, and if so, don't add the direct
463 host route via the parent device's gateway (bgo #481620)
464 - (nm_system_apply_ip4_config): check whether the route to be added
465 is contained within a subnet the device is already on
467 2008-10-11 Dan Williams <dcbw@redhat.com>
469 * include/NetworkManager.h
470 introspection/nm-device.xml
471 include/NetworkManagerVPN.h
472 - Add a few more state reasons for the device deactivated state
474 * src/nm-device-interface.c
475 src/nm-device-interface.h
476 - (nm_device_interface_deactivate): add a 'reason' argument
480 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
481 - (nm_device_state_changed): pass the state change reason to
482 nm_device_take_down()
483 - (nm_device_set_managed): take a 'reason' argument, and pass it along
484 to the state change function
488 - (remove_one_device, handle_unmanaged_devices, sync_devices,
489 impl_manager_sleep): pass a reason code to nm_device_set_managed()
490 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
491 something reasonable along to VPN deactivation
493 * src/vpn-manager/nm-vpn-manager.c
494 src/vpn-manager/nm-vpn-manager.h
495 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
496 pass that along to nm_vpn_connection_disconnect()
498 2008-10-11 Dan Williams <dcbw@redhat.com>
500 * src/nm-device-wifi.c
501 - (can_scan): remove old madwifi hack for not scanning while connected
503 2008-10-11 Dan Williams <dcbw@redhat.com>
505 Add support for VPN subnet gateways (bgo #549196)
507 * include/NetworkManager.h
508 - Add key for internal VPN subnet gateway
510 * src/vpn-manager/nm-vpn-connection.c
511 - (ip_address_to_string): return a const from a static buffer so we
512 don't leak a lot of strings
513 - (print_vpn_config): print internal VPN gateway as well
514 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
516 - (nm_vpn_connection_get_ip4_internal_gateway): new function
518 * src/NetworkManagerSystem.c
519 src/NetworkManagerSystem.h
520 - (nm_system_device_replace_default_ip4_route): split into two, one for
521 VPN connections and one for normal devices
522 - (replace_default_ip4_route): break out route stuff into its own function
523 - (nm_system_replace_default_ip4_route_vpn,
524 nm_system_replace_default_ip4_route): simplify by having two cases,
525 one for VPNs and one for normal devices
527 * src/NetworkManagerPolicy.c
528 - (update_routing_and_dns): simplify, use split default route replacement
531 2008-10-10 Dan Williams <dcbw@redhat.com>
533 Rework default route handling to consolidate decisions in the policy,
534 and to take active VPN connections into account when changing the default
537 * src/NetworkManager.c
538 - (main): pass the vpn_manager to the policy so it knows about active
539 VPN connections; clean up the named manager which wasn't done before
541 * src/NetworkManagerPolicy.c
542 src/NetworkManagerPolicy.h
543 - (nm_policy_new): get a clue about the vpn_manager
544 - (update_default_route): remove, fold into update_routing_and_dns()
545 - (update_routing_and_dns): handle active VPN connections too; an
546 active VPN connection becomes the default route if it does not have
547 server-specified or user-specified custom routes. Otherwise, the
548 best active device gets the default route
549 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
550 nm_policy_destroy): track VPN connection activation and deactivation
551 and update the default route when appropriate
553 * src/NetworkManagerSystem.c
554 src/NetworkManagerSystem.h
555 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
556 in the VPN connection itself
557 - (nm_system_vpn_device_set_from_ip4_config,
558 nm_system_device_set_from_ip4_config): merge together to make
559 nm_system_apply_ip4_config()
560 - (add_vpn_gateway_route): add a route to the VPN's external gateway
561 via the parent device
562 - (nm_system_apply_ip4_config): simplify
563 - (add_ip4_route_to_gateway): new function; add a direct route to the
565 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
566 route stuff out into add_ip4_route_to_gateway() for clarity
569 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
571 * src/vpn-manager/nm-vpn-connection.c
572 src/vpn-manager/nm-vpn-connection.h
573 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
574 nm_vpn_connection_get_parent_device): add
575 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
577 - (connection_state_changed): update the named manager now that
578 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
581 * src/vpn-manager/nm-vpn-manager.c
582 src/vpn-manager/nm-vpn-manager.h
583 - Add a 'connection-activated' signal
584 - (nm_vpn_manager_get_active_connections): new function; mainly for the
585 policy to find out about active VPN connections
587 2008-10-10 Tambet Ingo <tambet@gmail.com>
589 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
590 a daemon to prevent NM logging spew on console on startup and shutdown (due
591 to dependency loop between NM and syslog).
593 2008-10-10 Alexander Sack <asac@ubuntu.com>
595 Implement managed mode. We bind devices configured in /etc/network/interfaces
596 to their connections by updating wired/wireless setting with the
597 mac address of the device.
599 * system-settings/plugins/ifupdown/plugin.c
600 - (get_net_address_for_udi): implement function to retrieve MAC
601 address of udi from hal in GByteArray format
602 - (bind_device_to_connection): bind mac address of device to
603 wired/wireless system connection
604 - (hal_device_added_cb): call bind_device_to_connection for
605 system connections with a matching interface.name
606 - (hal_device_added_cb): ensure that all code paths
607 properly free the "iface" string.
609 2008-10-10 Alexander Sack <asac@ubuntu.com>
611 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
612 mode of the ifupdown system config plugin.
614 * system-settings/plugins/ifupdown/plugin.c
615 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
616 private unmanage_well_known state field accordingly
618 2008-10-10 Alexander Sack <asac@ubuntu.com>
620 Implement unmanaged mode that will prevent all devices in the
621 well_known_udis set from being touched by NetworkManager
623 * system-settings/plugins/ifupdown/plugin.c
624 - (typedef struct SCPluginIfupdownPrivate): add gboolean
625 unmanage_well_known field used to turn on/off unmanaged
627 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
628 signal when well_known_udis get added/removed
629 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
630 if we are in unmanaged mode
632 2008-10-10 Alexander Sack <asac@ubuntu.com>
634 Add support to track network devices that have a configuration
635 with a matching interface.name in /etc/network/interfaces
637 * system-settings/plugins/ifupdown/plugin.c
638 - (typedef struct SCPluginIfupdownPrivate): add hash table
639 to track |well_known_udis|
640 - (get_iface_for_udi): helper function to get interface.name
642 - (hal_device_added_cb, hal_device_removed_cb): callbacks
643 that add and remove devices to and from the well_known_udis
644 set depending on whether their |interface.name| matches
645 any interface definition in /etc/network/interfaces
646 - (SCPluginIfupdown_init): connect callbacks from above with
647 hal_mgr and setup well_known_udis hashtable
648 - (GObject__dispose): destroy well_known_udis hashtable
649 - (hal_device_added_cb2): implement wrapper callback with GFunc
650 signature. user_data is supposed to be a triple (hal_mgr,
652 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
653 startup and call hal_device_added_cb2
655 2008-10-10 Alexander Sack <asac@ubuntu.com>
657 Remove implementation for not used NMSystemConfigInterface callback functions
660 * system-settings/plugins/ifupdown/plugin.c
661 - (SCPluginIfupdown_unmanaged_devices_changed): removed
662 - (SCPluginIfupdown_connection_added): removed
664 2008-10-08 Dan Williams <dcbw@redhat.com>
666 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
668 * src/NetworkManagerUtils.c
669 - (nm_utils_call_dispatcher): add a 'hostname' action
671 * src/NetworkManagerPolicy.c
672 - (set_system_hostname): dispatch hostname changes
674 * callouts/nm-dispatcher-action.c
675 - (nm_dispatcher_action): handle 'hostname' actions
677 2008-10-08 Dan Williams <dcbw@redhat.com>
679 * src/NetworkManagerSystem.c
680 - (find_route): ref the route so it doesn't get destroyed when the cache
682 - (nm_system_device_set_priority): unref the route here after it's done
685 2008-10-08 Dan Williams <dcbw@redhat.com>
687 * src/nm-serial-device.c
688 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
690 2008-10-08 Tambet Ingo <tambet@gmail.com>
692 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
693 connection with new settings before saving it.
695 2008-10-06 Dan Williams <dcbw@redhat.com>
697 * src/nm-ip4-config.c
699 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
701 * src/nm-device-interface.c
702 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
703 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
704 by using '/' for the object path
707 - (src/nm-device.c): marshal missing/unexported ip4-config through
708 dbus as '/' since dbus-glib can't handle NULL objects nor can
709 dbus handle NULL object paths
711 2008-10-03 Alexander Sack <asac@ubuntu.com>
713 Implement system hostname support for debian/ubuntu
715 * system-settings/plugins/ifupdown/plugin.c
716 - (GObject__get_property): extend announced capabilities; add
717 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
718 - (GObject__set_property,write_system_hostname): implement
719 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
720 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
721 update_system_hostname, get_hostname):
722 implement hostname property that watches and
725 2008-10-03 Alexander Sack <asac@ubuntu.com>
727 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
728 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
729 system-settings/plugins/ifcfg-fedora/Makefile.am
730 system-settings/src/nm-inotify-helper.c
731 system-settings/src/nm-inotify-helper.h
733 - Move ifcfg-fedora inotify helpers to the system settings service so
734 they are available to all plugins
736 2008-10-03 Alexander Sack <asac@ubuntu.com>
738 Implement support for wep-tx-keyidx in ifupdown system
741 * system-settings/plugins/ifupdown/parser.c
742 - (update_wireless_security_setting_from_if_block): introduce
743 free_type_mapping func table; rename a few local
744 variables to improve readability; add wpa security mapping
745 for wep-tx-keyidx property
746 - (string_to_gpointerint): new function used for the auto_type_mapping
747 of new wep-tx-keyidx property
748 - (slist_free_all): free func used for mapped slist types
750 2008-10-03 Alexander Sack <asac@ubuntu.com>
752 * system-settings/src/main.c:
753 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
754 always used as the hash key; fixes a crash when removing wired
757 2008-10-02 Dan Williams <dcbw@redhat.com>
759 * src/nm-gsm-device.c
760 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
761 pass the required GSM secret along via user_data rather than keeping
762 it around in the private data where it sometimes didn't get cleared
763 - (real_get_ppp_name): implement using the GSM username
765 2008-10-02 Dan Williams <dcbw@redhat.com>
767 * src/ppp-manager/nm-ppp-manager.c
768 src/ppp-manager/nm-ppp-manager.h
769 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
770 the settings daemon for completely new ones
771 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
772 local PPP peer name; allow PPP debuging by launching NM with
773 the environment variable NM_PPP_DEBUG defined
774 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
775 create_pppd_cmd_line()
777 * src/nm-serial-device.c
778 src/nm-serial-device.h
779 - New 'get_ppp_name' function for subclasses to implement to return the
781 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
782 and pass that name to the PPP manager
784 * src/nm-device-ethernet.c
785 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
788 * src/nm-cdma-device.c
789 - (real_get_ppp_name): implement using the CDMA username
791 2008-10-02 Dan Williams <dcbw@redhat.com>
793 Patch from Alexander Sack <asac ubuntu com>
795 * system-settings/plugins/ifupdown/parser.c
796 - Implement more graceful ip4 config parsing for cases where
797 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
798 by using default values
800 2008-10-02 Dan Williams <dcbw@redhat.com>
802 * src/NetworkManagerPolicy.c
803 - (device_state_changed): when marking a connection invalid, clear its
804 secrets too so that fresh secrets get requested the next time
806 2008-10-01 Dan Williams <dcbw@redhat.com>
808 * system-settings/src/dbus-settings.c
809 - (nm_sysconfig_settings_init): cache system hostname on startup as
810 a fallback if no plugin provides a hostname
811 - (get_property): fall back to cached hostname if no plugin provides
814 2008-10-01 Dan Williams <dcbw@redhat.com>
816 Fix setting value comparison issue that caused some settings to look the
817 same when they were really different (rh #464417)
819 * libnm-util/nm-param-spec-specialized.c
820 - (type_is_fixed_size): return fundamental size of the fixed type too
821 - (nm_gvalues_compare_collection): use the fundamental fixed type size
822 in the comparison so that the _entire_ fixed type collection gets
823 compared rather than just the first 'len1' bytes
825 2008-09-30 Dan Williams <dcbw@redhat.com>
827 * src/NetworkManagerPolicy.c
828 - (lookup_thread_worker): don't store the idle handler ID becuase the
829 idle handler could have already run and freed the LookupThread
832 2008-09-30 Tambet Ingo <tambet@gmail.com>
834 * src/nm-device.c (nm_device_get_priority): Implement.
835 (nm_device_set_ip4_config): Send the device priority to system ip4
838 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
839 Add priority argument and if it's >= 0, set the priority of the network
840 route added automatically by netlink (or kernel?).
841 (nm_system_device_set_priority): Implement.
843 * src/NetworkManagerPolicy.c (get_best_device): Use
844 nm_device_get_priority() instead of home-grown version. Revert the
845 meaning, best priority is the lowest one.
847 2008-09-29 Dan Williams <dcbw@redhat.com>
849 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
850 when it returns EAGAIN (rh #362421)
852 * src/nm-device-wifi.c
853 - (wireless_get_range): try GIWRANGE a few times until the card responds
854 - (real_get_generic_capabilities, constructor): use wireless_get_range()
856 2008-09-28 Dan Williams <dcbw@redhat.com>
858 * src/nm-serial-device.c
859 src/nm-serial-device.h
860 - (nm_serial_device_close): stop PPP manager here so that PPP gets
861 cleaned at the right times when subclasses close the serial port too
862 - (nm_serial_device_send_command): use a default send delay; don't
863 spin forever on EAGAIN
864 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
865 remove, no longer used
866 - (find_response): return the matched response if any
867 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
869 - (wait_for_reply_done): pass the matched response to the callback
870 - (wait_for_reply_got_data): save the matched response; simplify timeout
872 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
873 const since they never get modified
874 - (cleanup_device): split out common cleanup stuff to a new function
875 - (real_deactivate_quickly, finalize): use cleanup_device()
877 * src/nm-gsm-device.c
878 - (modem_get_reply): remove, unused
879 - (set_apn): give the card a bit more time to respond
880 - (manual_registration_again, schedule_manual_registration_again,
881 manual_registration_response, manual_registration): handle manual
882 registration timeouts better by retrying registration a few times
883 because cards are a bit slow after CFUN=1
884 - (automatic_registration_get_network, get_network_response): use
885 modem_wait_for_reply() because it interacts better with the serial
886 buffer and does more intelligent matching; need to wait for 'OK'
887 rather than just matching terminators
888 - (schedule_automatic_registration_again,
889 automatic_registration_response, automatic_registration): retry
890 registration a few times on timeout or "searching" because cards
891 take a bit to find a network after being powered up with CFUN=1
892 - (power_up_response, power_up, init_full_done, enter_pin,
893 check_pin_done): power up the card with CFUN=1 before trying to
894 register with the network
895 - (init_modem_full, init_modem): use more standard 3G init strings
897 * src/nm-hso-gsm-device.c
898 - (modem_get_reply): remove, unused
899 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
900 modem_wait_for_reply() to match actual responses instead of single
901 termination characters; it doesn't leave stuff in the serial buffer
902 that might confuse later calls
903 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
904 to ensure that the call is really disconnected and not leave extra
905 stuff in the serial buffer
907 * src/nm-cdma-device.c
908 - (power_up_response, power_up, init_done): try Sierra-style modem
909 power up before attempting to connect
911 2008-09-27 Dan Williams <dcbw@redhat.com>
913 * libnm-util/nm-setting-gsm.c
914 - (verify): verify GSM network ID
916 2008-09-25 Dan Williams <dcbw@redhat.com>
918 * libnm-util/nm-setting-gsm.c
919 libnm-util/nm-setting-gsm.h
920 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
921 technology terms (bgo #551361)
923 2008-09-25 Dan Williams <dcbw@redhat.com>
925 Fix bgo #549401 (inspired by patch from Alexander Sack)
927 * src/nm-device-ethernet.c
928 - (finish_supplicant_task): clean up scheduled tasks and free memory
929 - (remove_supplicant_interface_error_handler): remove the supplicant
930 error idle callback too
931 - (supplicant_interface_release): rename from supplicant_interface_clean
932 to match nm-device-wifi.c; clean up supplicant interface-related
933 state tasks when the supplicant interface is disposed of
934 - (schedule_state_handler): add scheduled tasks to a list so they can
936 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
937 supplicant_iface_connection_state_cb_handler): use
938 finish_supplicant_task() to clean up each completed task
939 - (supplicant_iface_connection_error_cb_handler,
940 supplicant_connection_timeout_cb): clear source id when the task is
942 - (supplicant_iface_connection_error_cb): save scheduled task id for
944 - (nm_device_ethernet_dispose): clean up any pending supplicant state
947 * src/nm-device-wifi.c
948 - (finish_supplicant_task): clean up scheduled tasks and free memory
949 - (remove_supplicant_interface_error_handler): remove the supplicant
950 error idle callback too
951 - (supplicant_interface_release): clean up supplicant interface-related
952 state tasks when the supplicant interface is disposed of
953 - (schedule_state_handler): add scheduled tasks to a list so they can
955 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
956 supplicant_iface_connection_state_cb_handler): use
957 finish_supplicant_task() to clean up each completed task
958 - (supplicant_iface_connection_error_cb_handler): clear source id when
960 - (supplicant_iface_connection_error_cb): save scheduled task id for
962 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
964 2008-09-24 Tambet Ingo <tambet@gmail.com>
966 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
967 method and get/set hostname property.
969 2008-09-24 Tambet Ingo <tambet@gmail.com>
971 * src/supplicant-manager/nm-supplicant-interface.c
972 (nm_supplicant_interface_disconnect): Don't increment the reference
973 count when disconnecting. The problem is on shutdown, when the replies
974 to these commands do not arrive before NM exits, resulting on never
975 calling supplicant interface's dispose(), which removes the interface
978 2008-09-24 Tambet Ingo <tambet@gmail.com>
980 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
981 all the public function arguments.
983 2008-09-22 Tambet Ingo <tambet@gmail.com>
985 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
986 "Failure" signal from VPN plugins, store the failure reason, and
987 use it when the state is changed to failure.
989 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
992 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
993 reason to the end of the list to not break the API.
994 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
995 so it can be shared by plugins and daemon.
997 2008-09-18 Dan Williams <dcbw@redhat.com>
999 Patch from Alexander Sack <asac@ubuntu.com>
1002 system-settings/plugins/Makefile.am
1003 system-settings/plugins/ifupdown/Makefile.am
1004 system-settings/plugins/ifupdown/interface_parser.c
1005 system-settings/plugins/ifupdown/interface_parser.h
1006 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
1007 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
1008 system-settings/plugins/ifupdown/parser.c
1009 system-settings/plugins/ifupdown/parser.h
1010 system-settings/plugins/ifupdown/plugin.c
1011 system-settings/plugins/ifupdown/plugin.h
1012 - Implement a Debian/Ubuntu legacy network configuration plugin
1015 2008-09-18 Dan Williams <dcbw@redhat.com>
1017 Implement support for honoring configured and automatic hostnames, and for
1018 setting the configured hostname.
1020 * introspection/nm-ip4-config.xml
1023 src/dhcp-manager/nm-dhcp-manager.c
1024 - Remove useless hostname property; it's not really part of the IPv4
1027 * introspection/nm-settings-system.xml
1028 libnm-glib/nm-dbus-settings-system.c
1029 libnm-glib/nm-dbus-settings-system.h
1030 - Add SetHostname() call to system settings D-Bus interface
1031 - Add Hostname property to system settings D-Bus interface
1032 - (nm_dbus_settings_system_save_hostname,
1033 nm_dbus_settings_system_get_hostname): implement
1037 - (nm_device_get_dhcp4_config): implement
1041 - Fetch and track system settings service hostname changes, and proxy
1042 the changes via a GObject property of the manager
1044 * system-settings/src/nm-system-config-interface.c
1045 system-settings/src/nm-system-config-interface.h
1046 - Replace nm_system_config_interface_supports_add() with a capabilities
1049 * system-settings/src/nm-system-config-error.c
1050 system-settings/src/nm-system-config-error.h
1051 - Add additional errors
1053 * system-settings/src/dbus-settings.c
1054 system-settings/src/dbus-settings.h
1055 - (get_property, nm_sysconfig_settings_class_init): add hostname
1056 property; first plugin returning a hostname wins
1057 - (impl_settings_add_connection): use plugin capabilities instead of
1058 nm_system_config_interface_supports_add()
1059 - (impl_settings_save_hostname): implement hostname saving
1061 * src/NetworkManagerPolicy.c
1062 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
1063 lookup_thread_die): implement an asynchronous hostname lookup thread
1064 which given an IPv4 address tries to look up the hostname for that
1065 address with reverse DNS
1066 - (get_best_device): split out best device code from
1067 update_routing_and_dns()
1068 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
1069 to preserve the 127.0.0.1 reverse mapping that so many things require
1070 - (set_system_hostname): set a given hostname
1071 - (update_system_hostname): implement hostname policy; a configured
1072 hostname (from the system settings service) is used if available,
1073 otherwise an automatically determined hostname from DHCP, VPN, etc.
1074 If there was no automatically determined hostname, reverse DNS of
1075 the best device's IP address will be used, and as a last resort the
1076 hostname 'localhost.localdomain' is set.
1077 - (update_routing_and_dns): use get_best_device(); update the system
1078 hostname when the network config changes
1079 - (hostname_changed): update system hostname if the system settings
1080 service signals a hostname change
1081 - (nm_policy_new): list for system settings service hostname changes
1082 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
1085 * system-settings/plugins/keyfile/plugin.c
1086 system-settings/plugins/ifcfg-suse/plugin.c
1087 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
1088 capabilities properties
1090 * system-settings/plugins/ifcfg-fedora/shvar.c
1091 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
1092 writes out /etc/sysconfig/network now
1094 * system-settings/plugins/ifcfg-fedora/plugin.c
1095 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
1096 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
1097 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
1098 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
1099 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
1100 hostname get/set and capabilities get
1102 2008-09-18 Dan Williams <dcbw@redhat.com>
1104 * libnm-util/nm-setting-wireless.c
1105 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
1106 group ciphers if the wireless-security setting explicitly specified
1107 them, effectively making the default be "all ciphers" (idea from
1110 2008-09-15 Dan Williams <dcbw@redhat.com>
1112 Patch from Alexander Sack <asac@ubuntu.com>
1114 * src/named-manager/nm-named-manager.c
1115 - (dispatch_resolvconf): respect resolvconf exit code
1117 2008-09-12 Tambet Ingo <tambet@gmail.com>
1119 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
1120 again. Add some debugging.
1122 2008-09-11 Dan Williams <dcbw@redhat.com>
1124 * system-settings/plugins/keyfile/plugin.c
1125 - (update_connection_settings): update connection manually, since
1126 nm_exported_connection_update() does authentication
1127 - (dir_changed): update_connection_settings() doesn't need to return
1130 2008-09-09 Dan Williams <dcbw@redhat.com>
1132 * libnm-glib/nm-vpn-plugin-ui-interface.c
1133 libnm-glib/nm-vpn-plugin-ui-interface.h
1134 libnm-glib/libnm_glib_vpn.ver
1135 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
1136 should clean up resources related to the connection (like keyring
1138 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
1139 should save user-scope secrets (like to the keyring)
1141 2008-09-08 Dan Williams <dcbw@redhat.com>
1143 Patch from Alexander Sack <asac@ubuntu.com>
1145 * libnm-util/crypto_gnutls.c
1146 libnm-util/crypto_nss.c
1147 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
1149 * libnm-util/nm-utils.c
1150 libnm-util/nm-utils.h
1151 libnm-util/libnm-util.ver
1152 - (nm_utils_init): initialize libnm-util
1153 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
1155 * libnm-util/nm-setting-8021x.c
1156 - (nm_setting_802_1x_class_init): init libnm-util when needed
1158 2008-09-05 Dan Williams <dcbw@redhat.com>
1160 Patch from Roy Marples <roy@marples.name> and others
1163 src/named-manager/nm-named-manager.c
1164 - Add support for resolvconf; use --with-resolvconf at configure time
1167 2008-09-05 Dan Williams <dcbw@redhat.com>
1169 * libnm-util/crypto_nss.c
1170 libnm-util/crypto_gnutls.c
1172 - (crypto_init): return error when init fails
1174 2008-09-05 Dan Williams <dcbw@redhat.com>
1176 * libnm-glib/nm-device-wifi.c
1177 - (access_point_removed_proxy): clean up the active access point too
1178 just in case the active ap changed signal didn't come through yet
1179 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
1181 2008-09-05 Dan Williams <dcbw@redhat.com>
1183 * libnm-glib/nm-client.c
1184 - (constructor): get initial state after we know whether NM is running
1187 2008-09-05 Dan Williams <dcbw@redhat.com>
1189 * libnm-glib/nm-ip4-config.c
1190 libnm-glib/nm-dhcp4-config.c
1191 - (finalize): clean up the DBusGProxy
1193 2008-09-04 Dan Williams <dcbw@redhat.com>
1195 * src/nm-ip4-config.c
1197 - (nm_ip4_config_new): don't export over D-Bus here
1198 - (nm_ip4_config_export): new function; export the config over D-Bus
1199 - (nm_ip4_config_is_exported): new function
1202 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
1203 objects by balancing the IP4Config constructor; the device holds
1204 a reference to the IP4Config already
1205 - (nm_device_set_ip4_config): export the IP4Config when needed
1207 2008-09-04 Dan Williams <dcbw@redhat.com>
1209 * src/supplicant-manager/nm-supplicant-settings-verify.c
1210 - Allow WPA-NONE key management for Ad-Hoc WPA connections
1212 2008-09-04 Dan Williams <dcbw@redhat.com>
1214 * libnm-util/nm-setting-vpn.c
1215 libnm-util/nm-setting-vpn.h
1216 - Split VPN secrets from VPN data so that settings services can actually
1217 figure out that they are secrets and store them accordingly
1219 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1220 system-settings/plugins/keyfile/reader.c
1221 system-settings/plugins/keyfile/reader.h
1222 system-settings/plugins/keyfile/writer.c
1223 - Store VPN secrets separately from VPN data so that they can be fetched
1225 - Implement the get_secrets() call so that (a) secrets don't leak out
1226 to unprivileged callers, and (b) secrets can be sent to privileged
1229 * vpn-daemons/vpnc/src/nm-vpnc-service.c
1230 - Handle split VPN secrets
1232 2008-08-27 Dan Williams <dcbw@redhat.com>
1234 * system-settings/plugins/ifcfg-fedora/reader.c
1235 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
1237 2008-08-27 Dan Williams <dcbw@redhat.com>
1239 Ensure zombie children get cleaned up. To get notifications when children
1240 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
1241 that requires calling waitpid() yourself if you've removed the child watch
1242 handler before the process has actually died, which NM needs to do in a few
1243 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
1244 cleans up after the child when required. Should fix problems trying to
1245 activate mobile broadband connections after a previous failure.
1247 * src/dhcp-manager/nm-dhcp-dhclient.c
1248 src/dhcp-manager/nm-dhcp-dhcpcd.c
1249 - Use G_SPAWN_DO_NOT_REAP_CHILD
1251 * src/dhcp-manager/nm-dhcp-manager.c
1252 - (nm_dhcp_device_destroy): ensure child is cleaned up
1253 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
1254 block on child quitting, since the non-blocking functionality was
1257 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1258 - (dm_watch_cb): child is already reaped here
1259 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
1262 - (aipd_cleanup): block until child is dead
1264 * src/named-manager/nm-named-manager.c
1265 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
1266 event bothering to watch the child
1268 * src/ppp-manager/nm-ppp-manager.c
1269 - (ppp_watch_cb): child is already reaped here
1270 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
1272 * src/vpn-manager/nm-vpn-service.c
1273 - (vpn_service_watch_cb): child is already reaped here
1274 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
1275 status of the child is actually tracked
1276 - (ensure_killed, finalize): block until child is dead
1278 2008-08-26 Dan Williams <dcbw@redhat.com>
1280 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1281 - (update): Update filename of the connection if the connection id
1284 * system-settings/plugins/keyfile/plugin.c
1285 - (dir_changed): first pass at handling connection renames correctly
1287 * system-settings/plugins/keyfile/writer.c
1288 system-settings/plugins/keyfile/writer.h
1289 - (write_connection): replace '/' with '*' when writing out the filename
1290 from the connection id
1292 2008-08-26 Dan Williams <dcbw@redhat.com>
1294 Add connection UUIDs, since connection names can be changed, and since
1295 old-style connection IDs could change over the life of the connection. The
1296 UUID should be assigned at connection creation time, be stable for a given
1297 connection, and should be unique among all connections for a given settings
1301 libnm-util/Makefile.am
1304 * introspection/nm-exported-connection.xml
1305 - Remove "GetID" method
1307 * libnm-glib/nm-dbus-connection.c
1308 libnm-glib/nm-settings.c
1309 libnm-glib/nm-settings.h
1310 - Remove id-related stuff
1312 * libnm-util/nm-utils.c
1313 libnm-util/nm-utils.h
1314 libnm-util/libnm-util.ver
1315 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
1316 utility functions to generate UUIDs
1318 * libnm-util/nm-setting-connection.c
1319 libnm-util/nm-setting-connection.h
1320 - Add 'uuid' member to the connection setting
1321 - (verify): require valid 'uuid' for a valid connection
1323 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1324 system-settings/plugins/ifcfg-fedora/reader.c
1325 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1326 system-settings/plugins/ifcfg-suse/parser.c
1327 system-settings/plugins/keyfile/nm-keyfile-connection.c
1328 system-settings/src/main.c
1329 - Remove id-related stuff
1330 - Give connections UUIDs where needed
1332 2008-08-25 Dan Williams <dcbw@redhat.com>
1334 * libnm-util/crypto_gnutls.c
1335 libnm-util/crypto_nss.c
1336 - (crypto_init, crypto_deinit): refcount init/deinit
1337 - (crypto_md5_hash): allow NULL salt
1339 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1341 * libnm-glib/Makefile.am
1342 libnm-util/Makefile.am
1343 libnm-glib/libnm_glib.ver
1344 libnm-glib/libnm_glib_vpn.ver
1345 libnm-util/libnm-util.ver
1346 - Use linker version scripts to control the list of exported
1347 symbols. List each exported symbol explicitely.
1348 * libnm-util/Makefile.am
1349 - Fix compilation of the test-crypto binary. The crypto
1350 functions are no longer part of the libnm-util API. Add
1351 crypto_*.c to test_crypto_SOURCES and link against the correct
1354 2008-08-19 Dan Williams <dcbw@redhat.com>
1358 - Don't build test/test-common
1359 - Remove unused stuff
1361 * test/nm-set-fallback
1362 test/nmtestdevices.c
1363 test/test-common/.cvsignore
1364 test/test-common/Makefile.am
1365 test/test-common/test-common.c
1366 test/test-common/test-common.h
1369 2008-08-18 Dan Williams <dcbw@redhat.com>
1371 * libnm-util/nm-utils.c
1372 libnm-util/nm-utils.h
1373 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1374 export anything that needs to be converted with this function
1376 * src/dhcp-manager/nm-dhcp-manager.c
1377 - (garray_to_string): convert a byte array to a UTF-8 string with
1378 minimal validation; the DHCP client sends it in ASCII anyway
1379 - (get_option, copy_option): use garray_to_string()
1381 2008-08-18 Dan Williams <dcbw@redhat.com>
1383 * include/NetworkManager.h
1384 introspection/nm-device.xml
1385 - Add a "missing firmware" device state reason
1387 * src/NetworkManagerSystem.c
1388 src/NetworkManagerSystem.h
1389 - (nm_system_device_set_up_down): add a no_firmware argument
1390 - (nm_system_device_set_up_down_with_iface): if the result of setting
1391 IFF_UP is ENOENT, that almost always means missing firmware
1393 * src/backends/NetworkManagerGeneric.c
1394 src/nm-device-ethernet.c
1395 src/nm-device-private.h
1396 src/nm-device-wifi.c
1399 src/nm-hso-gsm-device.c
1400 src/vpn-manager/nm-vpn-connection.c
1401 - Pass no_firmware along; check it where appropriate
1403 2008-08-18 Dan Williams <dcbw@redhat.com>
1405 Patch from Robert Buchholz <rbu@gentoo.org>
1409 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1410 1003.1-1988, allowing for file names longer than 99 characters
1412 2008-08-17 Dan Williams <dcbw@redhat.com>
1414 * include/NetworkManager.h
1415 introspection/nm-device.xml
1417 - Finer-grained GSM registration failure error codes
1419 2008-08-17 Dan Williams <dcbw@redhat.com>
1421 * callouts/Makefile.am
1423 - Move dispatcher directory creation to callouts/Makefile.am
1425 * system-settings/plugins/keyfile/Makefile.am
1426 - Create keyfile connections directory in DESTDIR (bgo #546833)
1428 2008-08-15 Dan Williams <dcbw@redhat.com>
1430 Do connection sharing in a cleaner manner; all required iptables rules
1431 are now stored in the activation request and pertain only to the device
1432 which is being shared to other computers. (rh #458625)
1434 * src/nm-activation-request.c
1435 src/nm-activation-request.h
1436 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1437 the activation request which will get torn down automatically when
1438 the activation request dies
1439 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1440 is started, and tear them down when sharing is stopped
1443 - (start_sharing): start up sharing by doing the required iptables magic
1444 - (share_init): poke the right bits of the kernel and load the right
1446 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1447 connection if it's a 'shared' connection
1449 * src/NetworkManagerPolicy.c
1450 - Remove all sharing stuff; done in the device code itself
1452 2008-08-15 Dan Williams <dcbw@redhat.com>
1454 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1455 - (create_dm_cmd_line): send the right router address
1457 2008-08-15 Dan Williams <dcbw@redhat.com>
1459 * src/ppp-manager/nm-ppp-manager.c
1460 - (pppd_timed_out): ensure timeouts fail the connection
1462 2008-08-14 Dan Williams <dcbw@redhat.com>
1464 * src/nm-properties-changed-signal.c
1465 src/nm-properties-changed-signal.h
1466 - Add a property spec flag for "don't export this property" in
1467 property changed signals
1469 * src/nm-hso-gsm-device.c
1471 src/nm-cdma-device.c
1472 - Don't export monitor interface or netdev interface properties
1474 2008-08-14 Dan Williams <dcbw@redhat.com>
1476 * src/NetworkManagerPolicy.c
1477 - (update_routing_and_dns): 'hso' devices can be default even if they
1478 don't have a gateway
1480 2008-08-14 Dan Williams <dcbw@redhat.com>
1483 - (nm_device_deactivate_quickly): tear down activation request after
1484 calling device-specific deactivation
1486 * src/nm-hso-gsm-device.c
1487 - (real_deactivate_quickly): terminate connection when deactivating
1489 2008-08-14 Dan Williams <dcbw@redhat.com>
1491 * src/nm-activation-request.h
1492 - Add HSO secrets caller
1494 * src/nm-gsm-device.c
1496 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1497 something to the callback function
1498 - (set_apn, set_apn_done): call class dial function, not a static one
1499 - (nm_gsm_device_class_init): add a class 'dial' function
1501 * src/nm-hal-manager.c
1502 - (get_hso_netdev): find the hso-driven hardware's net device
1503 - (modem_device_creator): recognize hso-driven hardware and create the
1504 right type of device object for it
1507 src/nm-hso-gsm-device.c
1508 src/nm-hso-gsm-device.h
1509 - Implement support for devices driven by the 'hso' driver as a subclass
1512 2008-08-14 Dan Williams <dcbw@redhat.com>
1514 * src/NetworkManagerSystem.c
1515 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1516 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1517 success if the operation really was successful
1519 2008-08-14 Dan Williams <dcbw@redhat.com>
1521 * src/nm-netlink-monitor.c
1522 src/nm-netlink-monitor.h
1523 src/nm-device-ethernet.c
1524 - (nm_netlink_monitor_request_status): return an error on failure
1525 - (constructor): don't segfault on missing error
1527 2008-08-13 Dan Williams <dcbw@redhat.com>
1529 * callouts/nm-dispatcher-action.c
1530 - Add IP4 config info to script environment
1532 2008-08-12 Dan Williams <dcbw@redhat.com>
1535 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1536 that want to use DHCP hostnames should use dispatcher scripts
1539 * src/NetworkManagerSystem.h
1540 src/backends/NetworkManagerArch.c
1541 src/backends/NetworkManagerDebian.c
1542 src/backends/NetworkManagerFrugalware.c
1543 src/backends/NetworkManagerGeneric.c
1544 src/backends/NetworkManagerGeneric.h
1545 src/backends/NetworkManagerGentoo.c
1546 src/backends/NetworkManagerMandriva.c
1547 src/backends/NetworkManagerPaldo.c
1548 src/backends/NetworkManagerRedHat.c
1549 src/backends/NetworkManagerSlackware.c
1550 src/backends/NetworkManagerSuSE.c
1551 - Remove nm_system_set_hostname(), no longer used
1553 * src/backends/Makefile.am
1554 src/backends/shvar.c
1555 src/backends/shvar.h
1556 - Remove shvar.*; no longer used
1558 2008-08-12 Dan Williams <dcbw@redhat.com>
1560 Revert most of the 'hostname' patch. Too much stuff still breaks when
1561 hostname is updated at runtime. Distros or users who want hostname updates
1562 can use dispatcher scripts to update the hostname if they need it.
1564 2008-08-12 Dan Williams <dcbw@redhat.com>
1566 * introspection/nm-settings-system.xml
1567 system-settings/src/dbus-settings.c
1568 system-settings/src/dbus-settings.h
1569 - Add a 'Hostname' property (rw) which represents the configured
1570 hostname and domain of the system, if any
1572 * system-settings/src/nm-system-config-error.c
1573 system-settings/src/nm-system-config-error.h
1574 system-settings/src/nm-system-config-interface.c
1575 system-settings/src/nm-system-config-interface.h
1576 - Add a 'hostname' property to the plugin interface
1577 - Add a method to send updated hostname to plugins to save in their
1578 backing configuration store
1580 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1581 system-settings/plugins/keyfile/plugin.c
1582 system-settings/plugins/keyfile/writer.c
1583 system-settings/plugins/keyfile/writer.h
1584 system-settings/plugins/ifcfg-suse/plugin.c
1585 - Add minimal hostname support
1587 * system-settings/plugins/ifcfg-fedora/plugin.c
1588 - Add support for updating system hostname in /etc/sysconfig/network
1590 2008-08-12 Dan Williams <dcbw@redhat.com>
1592 * system-settings/plugins/ifcfg-fedora/shvar.c
1593 system-settings/plugins/ifcfg-fedora/shvar.c
1594 - Fix double-free caused by svSetValue() followed by svCloseFile()
1596 2008-08-12 Tambet Ingo <tambet@gmail.com>
1598 * Makefile.am: Fix distcheck.
1600 2008-08-12 Tambet Ingo <tambet@gmail.com>
1602 * libnm-glib/*.c. Document some more.
1604 2008-08-12 Tambet Ingo <tambet@gmail.com>
1606 Start documenting libnm-glib public API using gtk-doc.
1608 * libnm-glib/nm-serial-device.c:
1609 * libnm-glib/nm-object.c:
1610 * libnm-glib/nm-gsm-device.c:
1611 * libnm-glib/nm-device.c:
1612 * libnm-glib/nm-device-wifi.c:
1613 * libnm-glib/nm-device-ethernet.c:
1614 * libnm-glib/nm-client.c:
1615 * libnm-glib/nm-cdma-device.c: Document the public API.
1617 * docs/libnm-glib/libnm-glib.types: Implement.
1619 * docs/libnm-glib/Makefile.am: Implement.
1623 * Makefile.am: Add gtk-doc support.
1625 2008-08-12 Tambet Ingo <tambet@gmail.com>
1627 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1629 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1630 the composite result of all the IP4 configurations and call a distro
1631 specific update_resolv_conf().
1632 (update_resolv_conf): Implement one for directly writing to
1633 /etc/resolv.conf and one for opensuse to call netconfig.
1635 2008-08-11 Dan Williams <dcbw@redhat.com>
1637 * src/ppp-manager/nm-ppp-manager.c
1638 - (impl_ppp_manager_need_secrets): pass interface as required
1640 2008-08-11 Dan Williams <dcbw@redhat.com>
1642 Merge the vpn-properties setting with the vpn setting since it was pointless
1643 to keep both of them around. Convert the vpn 'data' hash table to a hash
1644 of string:string (instead of string:variant) so that system settings plugins
1645 can have an easier time dealing with the arbitrary key/value pairs.
1647 2008-08-11 Dan Williams <dcbw@redhat.com>
1649 * libnm-util/nm-utils.c
1650 - (nm_utils_register_value_transformations): add value transform for
1651 a hash table of string:string
1653 2008-08-10 Dan Williams <dcbw@redhat.com>
1655 * libnm-glib/nm-vpn-plugin.c
1656 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1657 an idle handler so the Connect reply gets delivered before the
1658 stop StateChanged signal
1660 2008-08-10 Dan Williams <dcbw@redhat.com>
1662 * src/nm-ip4-config.c
1663 - (get_property): use common ip4 address/route conversion functions
1664 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1665 copy the new route here, not take ownership
1667 2008-08-08 Tambet Ingo <tambet@gmail.com>
1669 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1670 Update the IP4 setting's method name.
1672 2008-08-07 Dan Williams <dcbw@redhat.com>
1674 * introspection/nm-ip4-config.xml
1675 libnm-glib/libnm-glib-test.c
1676 libnm-glib/nm-ip4-config.c
1677 libnm-glib/nm-ip4-config.h
1678 src/NetworkManagerSystem.h
1679 src/backends/NetworkManagerArch.c
1680 src/backends/NetworkManagerDebian.c
1681 src/backends/NetworkManagerFrugalware.c
1682 src/backends/NetworkManagerGeneric.c
1683 src/backends/NetworkManagerGeneric.h
1684 src/backends/NetworkManagerGentoo.c
1685 src/backends/NetworkManagerMandriva.c
1686 src/backends/NetworkManagerPaldo.c
1687 src/backends/NetworkManagerRedHat.c
1688 src/backends/NetworkManagerSlackware.c
1689 src/backends/NetworkManagerSuSE.c
1690 src/dhcp-manager/nm-dhcp-manager.c
1694 - Remove NIS logic; should be done from dispatcher scripts instead
1696 2008-08-07 Dan Williams <dcbw@redhat.com>
1698 * src/dhcp-manager/nm-dhcp-manager.c
1699 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1700 mis-handling of DHCP responses that returned more than one router
1701 (found by Grant Williamson)
1703 2008-08-07 Dan Williams <dcbw@redhat.com>
1705 * callouts/nm-dispatcher-action.c
1706 - (nm_dispatcher_action): grab device path and create the device; pass
1707 the device's DHCP4 config to script caller
1708 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1711 * libnm-glib/nm-dhcp4-config.c
1712 libnm-glib/nm-dhcp4-config.h
1713 - (nm_dhcp4_config_get_options): expose
1714 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1716 2008-08-07 Dan Williams <dcbw@redhat.com>
1718 * include/NetworkManager.h
1719 - Add the DHCP4Config D-Bus interface
1721 * libnm-glib/Makefile.am
1722 libnm-glib/nm-dhcp4-config.c
1723 libnm-glib/nm-dhcp4-config.h
1724 - Handle DHCP4 config objects exported by NM over D-Bus
1726 * libnm-glib/nm-device.c
1727 libnm-glib/nm-device.h
1728 - Add a 'dhcp4-config' property
1730 * libnm-glib/libnm-glib-test.c
1731 - Print out DHCP4 config for devices
1732 - Fix some crashes when no connections are active
1734 * src/nm-device-interface.c
1736 src/nm-dhcp4-config.c
1737 src/nm-dhcp4-config.h
1738 - Treat dhcp4-config object as an object path at the D-Bus interface so
1739 that when it doesn't exist we can proxy it as "/" which dbus-glib
1740 doesn't let us do when the property type is G_TYPE_OBJECT
1742 2008-08-07 Dan Williams <dcbw@redhat.com>
1744 * src/NetworkManager.c
1745 src/NetworkManagerSystem.h
1746 src/backends/NetworkManagerArch.c
1747 src/backends/NetworkManagerDebian.c
1748 src/backends/NetworkManagerFrugalware.c
1749 src/backends/NetworkManagerGeneric.c
1750 src/backends/NetworkManagerGeneric.h
1751 src/backends/NetworkManagerGentoo.c
1752 src/backends/NetworkManagerMandriva.c
1753 src/backends/NetworkManagerPaldo.c
1754 src/backends/NetworkManagerRedHat.c
1755 src/backends/NetworkManagerSlackware.c
1756 src/backends/NetworkManagerSuSE.c
1757 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1759 2008-08-06 Dan Williams <dcbw@redhat.com>
1761 * libnm-glib/nm-ip4-config.c
1762 libnm-glib/nm-ip4-config.h
1763 - Add 'routes' property
1765 * libnm-util/nm-setting-vpn.c
1766 libnm-util/nm-setting-vpn.h
1767 - Remove 'routes' property
1769 * libnm-util/nm-setting-ip4-config.c
1770 libnm-util/nm-setting-ip4-config.h
1771 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1772 - Add 'ignore-auto-routes' property
1773 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1774 accomodate route metrics
1775 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1777 * libnm-util/nm-utils.c
1778 libnm-util/nm-utils.h
1779 - Add helpers for marshalling IP4 routes
1781 * src/NetworkManagerUtils.c
1782 - (nm_utils_merge_ip4_config): handle property renames and new route
1785 * src/NetworkManagerSystem.c
1786 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1787 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1789 * src/dhcp-manager/nm-dhcp-manager.c
1790 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1792 * system-settings/plugins/ifcfg-fedora/reader.c
1793 system-settings/plugins/ifcfg-fedora/writer.c
1794 - Handle routes separately from addresses now that routes have a different
1797 * introspection/nm-ip4-config.xml
1800 - Rename internal routing functions
1801 - 'static-routes' renamed to 'routes'
1803 2008-08-04 Dan Williams <dcbw@redhat.com>
1805 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1807 * src/NetworkManager.c
1810 - More explicitly make the NMManager a singleton
1812 2008-08-04 Dan Williams <dcbw@redhat.com>
1814 * libnm-util/nm-connection.c
1815 libnm-util/nm-connection.h
1816 - (nm_connection_verify): return error on missing 'connection' setting
1817 (found by Sjoerd Simons)
1819 2008-08-04 Dan Williams <dcbw@redhat.com>
1821 Handle multiple concurrent PPP connections.
1823 * src/ppp-manager/nm-ppp-manager.c
1824 src/ppp-manager/nm-ppp-manager.h
1825 - (constructor): only PPP Manager request bus name once; each
1826 NMPPPManager object gets a unique object path
1827 - (nm_ppp_manager_class_init, get_property, set_property,
1828 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1830 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1831 remove timeout until PPP manager gets an IP4 config
1832 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1833 the plugin can call back to this specific PPP manager instance
1835 * src/nm-device-ethernet.c
1836 src/nm-serial-device.c
1837 - Pass parent device in nm_ppp_manager_new()
1839 * src/nm-gsm-device.c
1840 src/nm-cdma-device.c
1841 - (device_state_changed): don't close serial device on NEED_AUTH
1842 state changed, that's not a failure case like the rest are
1844 * src/ppp-manager/nm-pppd-plugin.c
1845 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1846 binds one interface to any pppd process, thus the correct index
1847 is always 0; send PHASE_DEAD on error to alert NM immediately of
1848 problems; try harder to get a peer address in spite of pppd
1849 - (plugin_init): use 'ipparam' as the object path back to our specific
1850 PPP manager instance
1852 2008-08-04 Dan Williams <dcbw@redhat.com>
1854 * src/ppp-manager/nm-ppp-manager.c
1855 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1856 since the GSM and CDMA settings now implement need_secrets, we can
1857 rely on them to do the right thing. Where secrets are not required,
1858 just pass empty strings back to the pppd plugin.
1859 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1860 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1861 on successful IP4 config receipt
1863 2008-08-04 Dan Williams <dcbw@redhat.com>
1865 * libnm-util/nm-setting-cdma.c
1866 libnm-util/nm-setting-gsm.c
1867 - (verify): validate username & password if they exist
1868 - (need_secrets): if username given, require a password too
1870 2008-08-04 Dan Williams <dcbw@redhat.com>
1872 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1873 - (create_dm_cmd_line): really don't listen on lo, despite what the
1874 manpage says about --listen-address without --interface
1877 2008-08-01 Dan Williams <dcbw@redhat.com>
1879 * libnm-glib/nm-device.c
1880 - (proxy_get_string): util function for querying a HAL property
1881 - (get_ancestor_device): split out from get_product_and_vendor()
1882 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1883 from PCI devices by querying subsys properties
1884 - (nm_device_update_description): simplify
1886 2008-08-01 Dan Williams <dcbw@redhat.com>
1888 * libnm-util/nm-setting-ip4-config.c
1889 libnm-util/nm-setting-ip4-config.h
1890 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1891 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1892 settings, and they don't necessarily use DHCP.
1894 * src/NetworkManagerPolicy.c
1896 system-settings/plugins/ifcfg-fedora/reader.c
1897 system-settings/plugins/ifcfg-suse/parser.c
1898 - Fixup for method changes
1900 2008-07-31 Dan Williams <dcbw@redhat.com>
1902 * src/nm-activation-request.c
1903 src/vpn-manager/nm-vpn-connection.c
1904 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1905 itself should be attached to the activation request or the VPN
1906 connection, not the NMConnection object, since the call is not
1907 expected to live as long as the NMConnection itself
1909 2008-07-31 Dan Williams <dcbw@redhat.com>
1911 * src/nm-device-wifi.c
1912 - (real_act_stage2_config): fix issue where association would continue
1913 even though secrets were needed; 'goto out' was in wrong scope and
1914 result of handle_auth_or_fail() should have been dumped directly to
1915 'ret' to ensure that the association was postponed until secrets
1918 2008-07-31 Dan Williams <dcbw@redhat.com>
1920 * system-settings/plugins/ifcfg-fedora/plugin.c
1921 system-settings/plugins/ifcfg-fedora/reader.c
1922 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1925 2008-07-29 Dan Williams <dcbw@redhat.com>
1927 * src/nm-gsm-device.c
1928 - (automatic_registration_response, automatic_registration): recognize
1929 denied registration and reorder responses
1931 2008-07-29 Dan Williams <dcbw@redhat.com>
1933 * src/nm-serial-device.c
1934 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1935 time(2) is used for current time, which returns seconds, we shouldn't
1936 be multiplying by 1000.
1938 2008-07-28 Dan Williams <dcbw@redhat.com>
1940 Patch from Fabrice Bellet <fabrice@bellet.info>
1942 * src/NetworkManagerSystem.c
1943 - (route_in_same_subnet): mask addresses and compare them so that the
1944 function actually does what it says it's going to do (rh #456685)
1946 2008-07-27 Dan Williams <dcbw@redhat.com>
1948 * libnm-util/nm-setting-ip6-config.c
1949 - (set_property): add missing break that caused routes to be overwritten
1952 * libnm-util/nm-setting-ip6-config.c
1953 - (verify): validate routes and return GError everywhere on invalid setting
1954 - (finalize): don't leak routes
1955 - (set_property): add missing break that caused routes to be overwritten
1958 2008-07-27 Dan Williams <dcbw@redhat.com>
1961 - Relicense to LGPLv2+
1963 2008-07-27 Dan Williams <dcbw@redhat.com>
1965 * system-settings/plugins/ifcfg-fedora/reader.c
1966 - (make_ip4_setting): fix parsing automatic configs
1968 2008-07-27 Dan Williams <dcbw@redhat.com>
1970 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1972 src/ppp-manager/nm-ppp-manager.c
1973 - Ensure child process gets reaped. The child watch function may be
1974 removed from the mainloop before the child gets killed, so we have
1975 to make sure the child is reaped when it's told to die intentionally
1977 2008-07-27 Dan Williams <dcbw@redhat.com>
1979 Patch from Roy Marples <roy@marples.name>
1981 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1982 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1984 2008-07-27 Dan Williams <dcbw@redhat.com>
1986 * src/nm-gsm-device.c
1987 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1988 Huawei devices turn echo back on after CPIN (rh #456770)
1990 2008-07-24 Tambet Ingo <tambet@gmail.com>
1992 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1993 format argument to g_set_error() call.
1995 * src/backends/interface_parser.[ch]: Remove.
1997 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1999 2008-07-21 Dan Williams <dcbw@redhat.com>
2001 * src/ppp-manager/nm-ppp-manager.c
2002 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
2003 to prevent pppd from picking up some random local address from an
2004 interface that doesn't have anything to do with the one we're
2005 interested in (rh #455348)
2007 2008-07-17 Dan Williams <dcbw@redhat.com>
2009 * libnm-util/nm-utils.c
2010 - (string_to_utf8): general function for conversion to UTF-8 assisted
2012 - (nm_utils_ssid_to_utf8): use string_to_utf8()
2013 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
2015 2008-07-17 Dan Williams <dcbw@redhat.com>
2017 * introspection/Makefile.am
2018 introspection/nm-device.xml
2019 introspection/nm-dhcp4-config.xml
2020 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
2022 * src/nm-device-interface.c
2023 src/nm-device-interface.h
2024 - Add the DHCP4Config property
2027 - Keep track of DHCP4 options via a new DHCP4Config property and notify
2028 D-Bus clients when it changes
2030 * src/nm-dhcp4-config.c
2031 src/nm-dhcp4-config.h
2032 - Simple object to store DHCP4 options, export them over D-Bus, and
2033 notify when they change
2035 * src/dhcp-manager/nm-dhcp-manager.c
2036 src/dhcp-manager/nm-dhcp-manager.h
2037 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
2038 filter server-returned DHCP options into an NMDHCP4Config object
2040 2008-07-16 Dan Williams <dcbw@redhat.com>
2042 * introspection/nm-device.xml
2043 - Add device state reasons
2045 2008-07-16 Dan Williams <dcbw@redhat.com>
2047 Patch from Roy Marples <roy@marples.name>
2050 - Add --with-dhcp-client option
2052 * src/dhcp-manager/Makefile.am
2053 - pass DHCP_CLIENT_PATH on compile line
2055 * src/dhcp-manager/nm-dhcp-manager.c
2056 src/dhcp-manager/nm-dhcp-manager.h
2057 - Genericize for both dhcpcd and dhclient
2059 * src/dhcp-manager/nm-dhcp-dhclient.c
2060 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
2062 * src/dhcp-manager/nm-dhcp-dhcpcd.c
2063 - Implement support for dhcpcd too
2065 2008-07-16 Tambet Ingo <tambet@gmail.com>
2067 * system-settings/src/nm-system-config-interface.c
2068 (nm_system_config_interface_supports_add): Implement.
2069 (nm_system_config_interface_add_connection): Return a boolean to notify
2072 * system-settings/src/nm-polkit-helpers.c:
2073 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
2076 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
2077 Return an error when none of the plugins support add or if addition
2078 failed for some reason.
2080 * system-settings/src/nm-system-config-error.h:
2081 * system-settings/src/nm-system-config-error.c: New files, mostly moved
2082 here from nm-polkit-helpers.[ch].
2084 * system-settings/src/Makefile.am: Build new files.
2086 * system-settings/plugins/keyfile/reader.c
2087 (read_array_of_array_of_uint): Make it more general so that it would
2088 work for routes as well.
2090 * system-settings/plugins/keyfile/writer.c
2091 (write_array_of_array_of_uint): Ditto.
2092 Fix the netmask/prefix writing.
2094 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
2095 boolean to notify errors.
2097 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
2098 Return more specific error.
2101 2008-07-11 Dan Williams <dcbw@redhat.com>
2103 Modify the NMDevice::state-changed signal to include the previous state
2104 and reason. Enables the applet to provide more information why device
2107 2008-07-09 Dan Williams <dcbw@redhat.com>
2109 * callouts/Makefile.am
2110 callouts/nm-avahi-autoipd-action.c
2111 callouts/nm-avahi-autoipd.conf
2112 - avahi-autoipd callout to send options back to NM
2119 src/nm-device-private.h
2121 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
2124 2008-07-07 Dan Williams <dcbw@redhat.com>
2126 * system-settings/plugins/ifcfg-fedora/reader.c
2127 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
2128 handle PREFIX too; clean up
2130 2008-07-07 Dan Williams <dcbw@redhat.com>
2132 Convert to using IPv4 prefixes instead of netmasks.
2134 2008-07-03 Dan Williams <dcbw@redhat.com>
2136 * libnm-util/nm-setting-ip4-config.c
2137 libnm-util/nm-setting-ip4-config.h
2138 - Add properties for DHCP Client Identifier and DHCP Hostname
2140 * src/dhcp-manager/nm-dhcp-manager.c
2141 src/dhcp-manager/nm-dhcp-manager.h
2142 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
2143 setting as an argument to pass on to the dhclient config file
2145 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
2147 - (dhclient_run): punt config file handling to create_dhclient_config()
2148 - (create_dhclient_config): create an interface-specific dhclient
2149 config file since there may need to be interface-specific options
2151 - (merge_dhclient_config): merge normal distro dhclient config file and
2152 add options from the connection
2153 - (nm_dhcp_device_new): generate the interface specific dhclient
2154 config file path once
2155 - (nm_dhcp_device_destroy): handle partially initialized objects; free
2156 dhclient config file path
2159 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
2160 DHCP manager when starting DHCP
2162 2008-07-02 Dan Williams <dcbw@redhat.com>
2164 * libnm-util/nm-setting-8021x.c
2165 - (verify): allow forcing the PEAP label to 0
2167 2008-07-02 Dan Williams <dcbw@redhat.com>
2169 * introspection/nm-active-connection.xml
2170 introspection/nm-vpn-connection.xml
2171 libnm-glib/nm-active-connection.c
2172 src/nm-activation-request.c
2173 src/nm-active-connection.h
2174 src/vpn-manager/nm-vpn-connection.c
2175 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
2176 and libnm-glib API since sharing didn't get implemented that way
2178 2008-07-02 Dan Williams <dcbw@redhat.com>
2180 * src/nm-device-wifi.c
2181 - (can_scan): don't scan when a shared connection is activated since
2182 that makes drivers mad (causing disconnects); also NM doesn't need
2183 to hedge against disconnects by keeping up-to-date network topology
2184 because the connection originates from the local machine, and thus
2185 there should be no disconnects
2187 2008-07-01 Dan Williams <dcbw@redhat.com>
2189 Fix mobile broadband username/password issues. NM was never requesting
2190 mobile broadband secrets, nor was it passing back the username and password
2193 * marshallers/nm-marshal.list
2194 - Add some new types for activation request objects
2196 * src/nm-activation-request.c
2197 src/nm-activation-request.h
2198 - (get_secrets_cb): pass the caller type in the signal
2199 - (nm_act_request_request_connection_secrets): take a caller type, so
2200 that GetSecrets() reply handlers know who asked for the secrets in
2201 the first place; use secret hints too so the settings service can
2202 figure out exactly what NM wants (ie, PIN or the PPP password)
2204 * src/ppp-manager/nm-ppp-manager.c
2205 src/ppp-manager/nm-ppp-manager.h
2206 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
2207 detect needed secrets when the secret could be blank, like GSM/CDMA
2208 passwords. So always ask for secrets, and send a hint as to what
2209 secret we really want.
2210 - (nm_ppp_manager_update_secrets): make function more generic by making
2211 the device specific class figure out the username and password, and
2212 accept an error argument to return back over D-Bus
2214 * src/nm-device-wifi.c
2215 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2216 nm_act_request_request_connection_secrets()
2217 - (real_connection_secrets_updated): update for 'caller' changes
2221 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
2222 for 'caller' changes
2224 * src/nm-device-ethernet.c
2225 - (real_connection_secrets_updated): update for 'caller' changes and
2226 move logic for getting PPPoE username and password here before
2227 calling nm_ppp_manager_update_secrets()
2228 - (link_timeout_cb, handle_auth_or_fail): update for changes to
2229 nm_act_request_request_connection_secrets()
2231 * src/nm-cdma-device.c
2232 - (real_connection_secrets_updated): pass username and password back
2233 to the PPP manager when required
2235 * src/nm-gsm-device.c
2236 - (enter_pin): send the required secret name to the settings service
2237 - (real_connection_secrets_updated): pass username and password back
2238 to the PPP manager when required
2240 2008-06-30 Dan Williams <dcbw@redhat.com>
2242 * src/nm-device-wifi.c
2243 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
2245 2008-06-30 Dan Williams <dcbw@redhat.com>
2247 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
2248 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
2249 priv->supplicant.iface. When either condition is false, the device should
2250 transition back to UNAVAILABLE because it cannot be used.
2252 * src/nm-device-wifi.c
2253 - (constructor): cleanup; connect to supplicant manager here since the
2254 supplicant manager is always around
2255 - (supplicant_interface_acquire): rename from init_supplicant_interface,
2256 ensure the supplicant manager is in the IDLE state
2257 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
2258 cancel any pending scans too
2259 - (real_bring_up): don't set up the supplicnat interface here, because
2260 we need the supplicant interface at times when the device may not
2262 - (real_take_down): just remove the periodic source
2263 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
2264 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
2265 do anything if there's no supplicant interface
2266 - (cleanup_association_attempt): cleanup
2267 - (supplicant_iface_state_cb_handler): request an immediate scan when
2268 the interface enters the READY state; transition to UNAVAILABLE
2269 state when the interface goes down because the device can't be used
2270 without a supplicant interface
2271 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
2272 up and transition to UNAVAILABLE; if the supplicant becomes ready,
2273 acquire the supplicant interface and transition to DISCONNECTED
2274 if the radio isn't killed
2275 - (nm_device_wifi_dispose): move most of device_cleanup() here
2276 - (state_changed_cb): release any existing supplicant interface; if the
2277 radio is enabled then try to acquire a new supplicant interface;
2278 if the radio is enabled and a supplicant interface has been acquired,
2279 we can transition to DISCONNECTED
2280 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
2281 don't enable the radio, because HAL probably lied to us about the
2282 killswitch being off. If bringing the hardware up worked, then
2283 try to grab a supplicant interface, and if that was successful,
2284 transition to DISCONNECTED
2286 2008-06-30 Dan Williams <dcbw@redhat.com>
2288 * src/supplicant-manager/nm-supplicant-interface.c
2289 - (request_scan_results, nm_supplicant_interface_dispose,
2290 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
2291 the id of the timeout, not a GSource
2293 2008-06-30 Tambet Ingo <tambet@gmail.com>
2295 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
2296 bunch of typoes introduced by "Patch from David Cantrell
2297 <dcantrell@redhat.com> and me".
2299 2008-06-30 Tambet Ingo <tambet@gmail.com>
2301 * src/nm-serial-device.c:
2302 * src/nm-gsm-device.c:
2303 * src/nm-cdma-device.c: Move the pending call handling to a common location
2304 in serial device. Handle setting device state to failed in one place as well.
2306 2008-06-29 Dan Williams <dcbw@redhat.com>
2308 * src/nm-hal-manager.c
2309 - Rework killswitch handling to query killswitch status immediately
2310 when the first killswitch is added, so that rfkill state is
2311 known as early as possible
2312 - Also treat failure of GetPower() as rfkill when the dbus method
2313 call times out (but not when the HAL callout returns an error)
2315 2008-06-26 Dan Williams <dcbw@redhat.com>
2317 Patch from David Cantrell <dcantrell@redhat.com> and me
2319 * include/nm-dbus-glib-types.h
2320 - Add IP6 address types
2322 * libnm-util/Makefile.am
2323 libnm-util/nm-setting-ip6-config.c
2324 libnm-util/nm-setting-ip6-config.h
2325 - Add IP6 settings object
2327 * libnm-util/nm-connection.c
2328 - (register_default_settings): register ip6 settings object
2330 * libnm-util/nm-utils.c
2331 libnm-util/nm-utils.h
2332 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2333 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2334 ip6 address conversion functions
2336 2008-06-26 Dan Williams <dcbw@redhat.com>
2338 Patch from David Cantrell <dcantrell@redhat.com>
2340 * Use inet_ntop() and inet_pton() everwhere and check for errors
2342 2008-06-26 Dan Williams <dcbw@redhat.com>
2344 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2346 2008-06-26 Dan Williams <dcbw@redhat.com>
2348 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2350 * src/nm-device-wifi.c
2351 - (link_timeout_cb): don't ignore disconnects due to scanning
2352 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2353 a longer timeout when scanning; avoids case where supplicant can't
2354 find the AP and just keeps scanning forever but isn't connected
2356 2008-06-26 Dan Williams <dcbw@redhat.com>
2358 Patch from Michael Biebl <biebl@debian.org>
2360 * Clean up build system stuff
2362 2008-06-23 Christian Persch <chpe@gnome.org>
2364 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2365 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2366 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2368 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2370 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2371 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2372 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2374 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2375 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2376 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2377 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2378 * vpn-daemons/pptp/properties/vpnui_opt.c:
2379 (vpnui_opt_connect_signals):
2380 * vpn-daemons/pptp/properties/vpnui_opt.h:
2381 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2382 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2383 deprecated gtk type macros. Bug #539325.
2385 2008-06-20 Dan Williams <dcbw@redhat.com>
2387 * libnm-glib/nm-vpn-plugin-ui-interface.c
2388 libnm-glib/nm-vpn-plugin-ui-interface.h
2389 - 'validity-changed' -> 'changed' to work better with the connection
2390 editor. Plugin UI widgets should emit 'changed' whenever their
2391 UI values change in a meaningful way.
2392 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2393 update_connection member now returns validity of the UI widget
2395 2008-06-20 Tambet Ingo <tambet@gmail.com>
2397 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2399 2008-06-17 Dan Williams <dcbw@redhat.com>
2401 * libnm-glib/nm-vpn-plugin-ui-interface.c
2402 libnm-glib/nm-vpn-plugin-ui-interface.h
2403 - Add "desc" property for longer descriptions of the VPN plugin
2405 2008-06-16 Dan Williams <dcbw@redhat.com>
2408 libnm-glib/libnm_glib_vpn.pc.in
2409 - add a .pc file for libnm_glib_vpn
2411 * libnm-glib/nm-vpn-plugin-ui-interface.c
2412 libnm-glib/nm-vpn-plugin-ui-interface.h
2413 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2414 rework it substantially
2416 2008-06-12 Dan Williams <dcbw@redhat.com>
2418 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2419 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2420 returns a descriptive GError when verification fails.
2422 2008-06-11 Dan Williams <dcbw@redhat.com>
2424 Patch from Tambet Ingo <tambet@gmail.com>
2426 * libnm-util/nm-setting-gsm.c
2427 - (verify): validate APN
2429 * src/nm-gsm-device.c
2430 - (manual_registration_done): start setting APN if needed
2431 - (set_apn, set_apn_done): set the APN
2432 - (do_dial): use the APN when dialing
2434 2008-06-11 Dan Williams <dcbw@redhat.com>
2436 * src/NetworkManagerSystem.c
2437 - (nm_system_device_set_ip4_route,
2438 nm_system_device_replace_default_ip4_route): check for the right
2439 return value from rtnl_route_add() to know when to add a gateway
2442 2008-06-11 Dan Williams <dcbw@redhat.com>
2444 * src/NetworkManagerPolicy.c
2445 - do_ipt_cmd -> do_cmd
2446 - (sharing_init): use do_cmd() instead of system()
2448 2008-06-10 Dan Williams <dcbw@redhat.com>
2450 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2451 and use "wifi" everwhere instead.
2453 2008-06-10 Dan Williams <dcbw@redhat.com>
2455 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2457 2008-06-10 Dan Williams <dcbw@redhat.com>
2459 Patch from Tambet Ingo <tambet@gmail.com>
2461 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2464 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2465 a signal to emit these changes over dbus.
2467 * src/Makefile.am: Genereate nm-serial-device-glue.
2469 * libnm-glib/nm-serial-device.[ch]: Implement.
2471 * libnm-glib/nm-cdma-device.[ch]
2472 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2474 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2476 * introspection/nm-device-serial.xml: Implement.
2478 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2480 * introspection/Makefile.am: Add nm-device-serial.xml.
2482 * include/NetworkManager.h: Add a DBus interface for serial device.
2484 2008-06-10 Dan Williams <dcbw@redhat.com>
2487 - Add TARGET_* define to config.h to distinguish distros
2489 * src/dhcp-manager/nm-dhcp-manager.c
2490 - (dhclient_run): use distro-specific path for dhclient config file
2492 2008-06-09 Dan Williams <dcbw@redhat.com>
2494 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2495 src/dnsmasq-manager/nm-dnsmasq-manager.h
2496 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2497 calculate the addresses passed to dnsmasq instead of hard-coding
2501 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2502 IP addresses for shared connections to guard against shared
2503 connection address collisions
2504 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2506 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2509 2008-06-09 Dan Williams <dcbw@redhat.com>
2511 * src/NetworkManagerPolicy.c
2512 - (update_routing_and_dns): set the default connection _after_ unsetting
2513 default on all non-default connections so that two connections can
2514 never be default at the same time
2515 - (device_state_changed): start and stop connection sharing when
2517 - (active_connection_default_changed): restart or stop sharing when
2518 the default connection changes to keep shared connections always
2519 NAT-ed through the default connection
2520 - (check_sharing): handle activation/deactivation of shared connections
2521 - (sharing_restart): atom-bomb approach to connection sharing until we
2522 can use libnl; reinit all sharing when the default connection or
2523 shared connections change
2524 - (sharing_init, sharing_stop): evil functions that init and deinit
2527 2008-06-09 Dan Williams <dcbw@redhat.com>
2529 * src/nm-activation-request.c
2530 src/nm-activation-request.h
2531 - (nm_act_request_set_shared, nm_act_request_get_shared,
2532 nm_act_request_get_device): new functions to facilitate connection
2535 2008-06-09 Dan Williams <dcbw@redhat.com>
2538 - (clear_act_request): unset the 'default' property of the activation
2539 request when clearing it to ensure the property changed signal gets
2540 delivered and handled
2542 2008-06-09 Dan Williams <dcbw@redhat.com>
2544 * libnm-glib/nm-device-802-11-wireless.c
2545 - (access_point_removed_proxy): actually unref the AP after removing
2546 it from the device's AP list. Fixes refcounting bug for APs that
2547 caused them to get mixed up in the applet's menu.
2549 2008-06-09 Tambet Ingo <tambet@gmail.com>
2551 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2552 (nm_dhcp_device_destroy): Destroy the device options hash table.
2554 2008-06-06 Dan Williams <dcbw@redhat.com>
2556 * system-settings/src/nm-polkit-helpers.c
2557 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2558 unref the context if the initialization fails; also avoid spew when
2561 2008-06-06 Dan Williams <dcbw@redhat.com>
2563 Patch from Tambet Ingo <tambet@gmail.com>
2565 * src/NetworkManagerSystem.c
2566 src/NetworkManagerSystem.h
2567 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2568 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2569 - (nm_system_device_set_ip4_route): clean up
2570 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2573 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2575 * src/vpn-manager/nm-vpn-connection.c
2576 - (ip_address_to_string): new function
2577 - (print_vpn_config): use ip_address_to_string
2578 - (merge_vpn_routes): add user-defined routes to the ip4 config
2579 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2581 * include/NetworkManagerVPN.h
2584 2008-06-05 Dan Williams <dcbw@redhat.com>
2586 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2589 - Show which device is the default device
2591 2008-06-05 Tambet Ingo <tambet@gmail.com>
2595 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2596 Free data returned from dbus method call.
2598 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2599 dbus_g_method_get_sender() returns a duplicated string, free it
2601 (check_polkit_privileges): Looks like policykit sometimes returns
2602 error and non-null return value, don't leak errors in that case.
2604 * system-settings/src/main.c (find_plugin): Don't leak existing
2606 (load_stuff): Don't leak device list and list items.
2607 (have_connection_for_device): Don't leak connection list.
2609 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2610 Free the data received from g_keyfile_get_*.
2612 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2613 the key when the security object is updated.
2615 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2616 Free data returned from dbus method call.
2617 (iface_state_cb): Ditto.
2618 (add_network_cb): Ditto.
2619 (nm_supplicant_interface_add_cb): Don't make another copy of already
2620 duplicated object path.
2621 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2624 * src/supplicant-manager/nm-supplicant-config.c
2625 (ADD_STRING_LIST_VAL): Fix a memory leak.
2627 * src/nm-manager.c (free_get_settings_info): Free the allocated
2629 (list_connections_cb): Free data returned from dbus method call.
2630 (system_settings_get_unmanaged_devices_cb): Ditto.
2632 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2634 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2635 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2636 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2639 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2640 arguments after the object is created.
2642 2008-06-04 Dan Williams <dcbw@redhat.com>
2644 * libnm-util/Makefile.am
2645 - Don't distribute nm-param-spec-specialized.h
2647 2008-06-02 Tambet Ingo <tambet@gmail.com>
2649 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2651 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2652 NMIP4Address, update the getters and setters.
2654 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2655 Use the updated NMIP4Config routes api.
2657 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2658 static routes as well.
2660 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2661 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2664 2008-05-30 Dan Williams <dcbw@redhat.com>
2666 * src/named-manager/nm-named-manager.c
2667 src/named-manager/nm-named-manager.h
2668 - Remove stale/obsolete bits for controlling bind over DBus
2670 2008-05-29 Dan Williams <dcbw@redhat.com>
2672 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2673 src/dnsmasq-manager/nm-dnsmasq-manager.h
2674 - (nm_dnsmasq_manager_new): move iface argument here
2675 - (constructor): remove, not needed
2676 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2677 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2680 - (real_act_stage4_get_ip4_config,
2681 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2684 2008-05-29 Dan Williams <dcbw@redhat.com>
2687 - (dnsmasq_state_changed_cb): new function; fail the connection if
2688 something happens to dnsmasq
2689 - (nm_device_new_ip4_shared_config): new function; create a new
2690 ip4-config for shared connections. Shared connections always use a
2691 fixed static IP address.
2692 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2693 autoip connections by actually using the returned ip4-config and
2695 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2697 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2700 2008-05-29 Dan Williams <dcbw@redhat.com>
2702 * src/nm-device-802-11-wireless.c
2703 - (real_get_best_auto_connection): auto-activate 'shared' method
2706 2008-05-29 Dan Williams <dcbw@redhat.com>
2708 * libnm-util/nm-setting-ip4-config.c
2709 libnm-util/nm-setting-ip4-config.h
2710 - Add a 'shared' method to indicate that this connection should be
2711 brought up with a DHCP and proxy DNS server to facilitate
2713 - (verify): 'shared' method doesn't allow DNS or searches either
2715 2008-05-29 Dan Williams <dcbw@redhat.com>
2719 src/dnsmasq-manager/Makefile.am
2720 src/dnsmasq-manager/nm-dnsmasq-manager.c
2721 src/dnsmasq-manager/nm-dnsmasq-manager.h
2722 - Add a dnsmasq daemon manager to facilitate connection sharing
2724 2008-05-29 Dan Williams <dcbw@redhat.com>
2726 * src/nm-device-private.h
2727 - Remove unused prototypes and clean up
2730 - Remove anything related to system_config_data, which is no longer used
2731 - (nm_device_new_ip4_autoip_config): make static
2733 2008-05-29 Tambet Ingo <tambet@gmail.com>
2735 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2736 (file_changed): Fix a bug where suse system settings plugin didn't
2737 update the connections automatically when the files changed.
2739 2008-05-28 Dan Williams <dcbw@redhat.com>
2741 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2743 2008-05-28 Dan Williams <dcbw@redhat.com>
2745 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2747 * src/NetworkManagerSystem.c
2748 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2749 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2750 was causing -EINVAL errors since the libnl code actually does flush
2751 the routes on VPN interfaces now
2753 * src/backends/NetworkManagerArch.c
2754 src/backends/NetworkManagerDebian.c
2755 src/backends/NetworkManagerFrugalware.c
2756 src/backends/NetworkManagerGeneric.c
2757 src/backends/NetworkManagerGentoo.c
2758 src/backends/NetworkManagerMandriva.c
2759 src/backends/NetworkManagerPaldo.c
2760 src/backends/NetworkManagerRedHat.c
2761 src/backends/NetworkManagerSlackware.c
2762 src/backends/NetworkManagerSuSE.c
2763 - (nm_system_device_flush_ip4_routes,
2764 nm_system_device_flush_ip4_routes_with_iface): remove
2766 2008-05-28 Dan Williams <dcbw@redhat.com>
2768 * libnm-util/nm-setting-wireless.c
2769 libnm-util/nm-setting-wireless.h
2770 - (set_property, get_property, nm_setting_wireless_class_init): add the
2771 'adhoc-create' property, which when TRUE indicates that NM should
2772 create this connection as an adhoc wifi network if it's not found
2773 as an adhoc network during scanning. Can be used to auto-create
2774 adhoc networks when used in combination with autoconnect.
2776 2008-05-28 Tambet Ingo <tambet@gmail.com>
2778 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2780 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2781 checked, it doesn't work on some devices.
2783 2008-05-28 Tambet Ingo <tambet@gmail.com>
2785 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2786 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2788 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2789 Use inet_aton() everywhere to improve error detection.
2790 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2793 2008-05-26 Tambet Ingo <tambet@gmail.com>
2795 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2798 2008-05-26 Tambet Ingo <tambet@gmail.com>
2800 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2801 reference counting issue.
2803 2008-05-23 Dan Williams <dcbw@redhat.com>
2805 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2807 * src/backends/NetworkManagerGeneric.c
2808 - (nm_generic_enable_loopback): use libnl
2810 2008-05-23 Dan Williams <dcbw@redhat.com>
2812 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2814 * src/NetworkManagerSystem.h
2815 src/backends/NetworkManagerArch.c
2816 src/backends/NetworkManagerDebian.c
2817 src/backends/NetworkManagerFrugalware.c
2818 src/backends/NetworkManagerGentoo.c
2819 src/backends/NetworkManagerMandriva.c
2820 src/backends/NetworkManagerPaldo.c
2821 src/backends/NetworkManagerRedHat.c
2822 src/backends/NetworkManagerSlackware.c
2823 src/backends/NetworkManagerSuSE.c
2824 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2825 nm_system_flush_arp_cache): remove, unused
2827 * src/backends/NetworkManagerGeneric.c
2828 src/backends/NetworkManagerGeneric.h
2829 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2830 nm_generic_flush_arp_cache): remove, unused
2832 2008-05-23 Dan Williams <dcbw@redhat.com>
2834 * system-settings/plugins/ifcfg-fedora/reader.c
2835 - (make_ip4_setting): honor PEERDNS setting
2837 2008-05-23 Dan Williams <dcbw@redhat.com>
2839 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2841 * src/NetworkManagerSystem.c
2842 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2845 * src/backends/NetworkManagerArch.c
2846 src/backends/NetworkManagerDebian.c
2847 src/backends/NetworkManagerFrugalware.c
2848 src/backends/NetworkManagerGentoo.c
2849 src/backends/NetworkManagerMandriva.c
2850 src/backends/NetworkManagerPaldo.c
2851 src/backends/NetworkManagerRedHat.c
2852 src/backends/NetworkManagerSlackware.c
2853 src/backends/NetworkManagerSuSE.c
2854 - (nm_system_device_flush_ip4_addresses,
2855 nm_system_device_flush_ip4_addresses_with_iface): remove
2857 * src/backends/NetworkManagerGeneric.c
2858 - (nm_generic_device_flush_ip4_addresses,
2859 nm_generic_device_flush_ip4_addresses_with_iface): remove
2861 2008-05-23 Dan Williams <dcbw@redhat.com>
2863 * src/supplicant-manager/nm-supplicant-settings-verify.c
2864 - Switch 'bssid' from bytes to keyword type
2865 - (validate_type_keyword): allow NULL keyword lists
2867 * src/supplicant-manager/nm-supplicant-config.c
2868 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2869 a byte array to string form, which is what the supplicant expects
2871 2008-05-23 Tambet Ingo <tambet@gmail.com>
2873 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2874 information received from DHCP.
2876 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2877 to make it possible to ignore the DNS information (both servers and
2878 searches) returned by DHCP server.
2880 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2881 name servers and searches if "ignore_dhcp_dns" is set.
2883 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2884 (nm_ip4_config_reset_searches): Implement.
2886 2008-05-22 Dan Williams <dcbw@redhat.com>
2888 Remove anything mDNS related. This is better done from a distro-specific
2889 dispatcher script. Plus, any distro using avahi doesn't need to restart
2890 avahi, since avahi can handle interface changes just fine using netlink.
2893 - Remove --with-mdns-provider
2895 * src/NetworkManagerPolicy.c
2896 - (global_state_changed): don't restart the mdns provider
2898 * src/NetworkManagerSystem.h
2899 src/backends/NetworkManagerArch.c
2900 src/backends/NetworkManagerDebian.c
2901 src/backends/NetworkManagerFrugalware.c
2902 src/backends/NetworkManagerGentoo.c
2903 src/backends/NetworkManagerMandriva.c
2904 src/backends/NetworkManagerPaldo.c
2905 src/backends/NetworkManagerRedHat.c
2906 src/backends/NetworkManagerSlackware.c
2907 src/backends/NetworkManagerSuSE.c
2908 - (nm_system_restart_mdns_responder): remove
2910 * src/backends/NetworkManagerGeneric.c
2911 src/backends/NetworkManagerGeneric.h
2912 - (nm_generic_restart_mdns_responder): remove
2914 2008-05-22 Dan Williams <dcbw@redhat.com>
2917 - clean up crypto options; just use --with-crypto=nss or
2918 --with-crypto=gnutls
2920 2008-05-22 Tambet Ingo <tambet@gmail.com>
2922 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2923 anymore, do it right away.
2925 2008-05-22 Tambet Ingo <tambet@gmail.com>
2927 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2928 serial device open when we're not connecting or connected.
2930 * src/nm-cdma-device.c (device_state_changed): Ditto.
2932 2008-05-22 Tambet Ingo <tambet@gmail.com>
2934 Don't remove all devices on waking up, sync with HAL.
2936 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2937 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2938 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2940 2008-05-21 Tambet Ingo <tambet@gmail.com>
2942 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2943 If the default gateway is unreachable, add a route to gateway and try
2946 2008-05-20 Dan Williams <dcbw@redhat.com>
2948 * system-settings/plugins/ifcfg-fedora/reader.c
2949 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2951 2008-05-19 Dan Williams <dcbw@redhat.com>
2953 * system-settings/plugins/ifcfg-fedora/reader.c
2954 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2955 if the ifcfg doesn't specify one (rh #446527)
2957 2008-05-19 Dan Williams <dcbw@redhat.com>
2959 Make the system settings service exit when the bus goes away. Since it's
2960 a bus-activated service, it's lifetime is limited to the bus that activated
2963 * system-settings/src/Makefile.am
2964 system-settings/src/nm-system-config-hal-manager-private.h
2965 - Remove nm-system-config-hal-manager-private.h
2967 * system-settings/src/nm-system-config-hal-manager.c
2968 - (nm_system_config_hal_manager_reinit_dbus,
2969 nm_system_config_hal_manager_deinit_dbus): remove
2971 * system-settings/src/main.c
2972 - (dbus_reconnect): remove
2973 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2974 - (destroy_cb): just quit when the bus goes away
2975 - (start_dbus_service, dbus_init): simplify
2976 - (main): destroy the wired devices hash table after destroying
2977 the HAL manager so we don't have to disconnect signals from the
2980 2008-05-15 Tambet Ingo <tambet@gmail.com>
2982 Move crypto functions from nm-applet to libnm-util.
2984 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2985 (nm_setting_802_1x_set_client_cert)
2986 (nm_setting_802_1x_set_phase2_ca_cert)
2987 (nm_setting_802_1x_set_phase2_client_cert)
2988 (nm_setting_802_1x_set_private_key)
2989 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2990 file (or private key and it's password), read the certificate data.
2992 * libnm-util/crypto_nss.c:
2993 * libnm-util/crypto_gnutls.c:
2994 * libnm-util/crypto.[ch]: Move here from nm-applet.
2996 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2998 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2999 Imlement WPA-EAP configuration reading from sysconfig.
3001 2008-05-16 Dan Williams <dcbw@redhat.com>
3003 * src/nm-device-802-11-wireless.c
3004 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
3007 2008-05-14 Dan Williams <dcbw@redhat.com>
3009 Fix Linus' bug in rh #134886
3011 * src/nm-device-802-3-ethernet.c
3012 - (constructor): request initial carrier state
3014 * src/nm-netlink-monitor.c
3015 - (nm_netlink_monitor_request_status): schedule emission of carrier
3016 signals after refilling the link cache. Because the refill is a
3017 synchronous operation, the normal message hander won't get called
3018 since libnl has already consumed the messages.
3019 - (deferred_emit_carrier_state): emit carrier states from an idle handler
3021 2008-05-14 Dan Williams <dcbw@redhat.com>
3023 * src/NetworkManagerSystem.c
3024 - (nm_system_device_is_up_with_iface): clean up
3026 2008-05-13 Dan Williams <dcbw@redhat.com>
3028 Fix refcounting issues over sleep/wake when a VPN connection was active that
3029 caused NM to try registering an object path for a device upon wake that was
3030 the same as an already registered object path.
3033 - (nm_device_take_down): properly handle cases where the device is
3034 no longer active but was just active, and therefore must be
3035 deactivated. When a device moves to unmanaged mode, this function
3036 previously would not deactivate the device, because the state was
3037 already unmanaged by the time this function was called.
3039 * src/vpn-manager/nm-vpn-connection.c
3040 - (device_state_changed): properly handle multiple devices states in
3041 which the device is now deactivated. Code previously didn't handle
3042 transitions to the UNAVAILABLE (like rfkill or carrier off) and
3045 2008-05-13 Dan Williams <dcbw@redhat.com>
3047 * src/nm-device-private.h
3049 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
3051 * src/nm-device-802-11-wireless.c
3052 - (nm_device_802_11_wireless_set_enabled): take devices up
3053 and down as appropriate for the rfkill state
3055 2008-05-13 Dan Williams <dcbw@redhat.com>
3057 * marshallers/nm-marshal.list
3058 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
3060 * system-settings/plugins/ifcfg-fedora/Makefile.am
3061 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
3062 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
3063 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
3064 events. Solely for use watching ifcfg files to pick up changes
3065 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
3067 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3068 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
3069 file contents change
3070 - (finalize): clean up inotify watches
3071 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
3072 and the connection ifcfg for changes on their hardlinks
3073 - (files_changed_cb): proxy the changed signal back out to listeners
3075 * system-settings/plugins/ifcfg-fedora/plugin.c
3077 - (connection_ifcfg_changed): re-read the connection when the ifcfg
3079 - (read_one_connection): connect to change signals on the new connection
3080 - (dir_changed, connection_changed_handler,
3081 handle_connection_remove_or_new): break out connection change
3082 handling and connection new/remove handling so it can be used from
3083 both the GFileMonitor callback and the NMIfcfgConnection changed
3086 * system-settings/plugins/ifcfg-fedora/reader.c
3087 system-settings/plugins/ifcfg-fedora/reader.h
3088 - (connection_from_file): return the keyfile path the connection would use
3090 2008-05-13 Tambet Ingo <tambet@gmail.com>
3092 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
3093 single PolKitContext which is shared by all. PolKitContext::unref leaks
3094 just about everything, including all open file descriptiors and results
3095 in 99% cpu usage when data arrives to any of the fds that don't belong
3096 to any context anymore.
3098 2008-05-12 Dan Williams <dcbw@redhat.com>
3100 * gfilemonitor/glocaldirectorymonitor.c
3101 gfilemonitor/glocaldirectorymonitor.h
3102 - (g_local_directory_monitor_constructor): actually subscribe to the
3104 - (_g_local_directory_monitor_new): ensure that inotify is started up
3106 * gfilemonitor/glocalfilemonitor.c
3107 gfilemonitor/glocalfilemonitor.h
3108 - (g_local_file_monitor_constructor): actually subscribe to the watch
3109 - (_g_local_file_monitor_new): ensure that inotify is started up
3111 2008-05-11 Dan Williams <dcbw@redhat.com>
3114 - record PolicyKit version
3116 * system-settings/src/nm-polkit-helpers.c
3117 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
3118 with PolicyKit <= 0.6
3120 2008-05-11 Dan Williams <dcbw@redhat.com>
3122 Update Fedora system-settings plugin to support latest API and use
3123 GFileMonitor rather than home-rolled inotify code.
3125 * system-settings/plugins/ifcfg-fedora/Makefile.am
3126 system-settings/plugins/ifcfg-fedora/common.h
3127 system-settings/plugins/ifcfg-fedora/plugin.c
3128 - Update to latest system settings plugin API; use GIO instead of
3129 custom inotify code; use NMIfcfgConnection objects instead of
3130 ConnectionData structures tacked onto NMConnection objects
3132 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
3133 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
3134 - Implement an NMExportedConnection subclass mapping ifcfg files to
3137 * system-settings/plugins/ifcfg-fedora/reader.c
3138 system-settings/plugins/ifcfg-fedora/reader.h
3139 - Move ifcfg parsing bits here from parser.c
3141 * system-settings/plugins/ifcfg-fedora/parser.c
3142 system-settings/plugins/ifcfg-fedora/parser.h
3143 - Remove; most code moved to reader.c
3145 2008-05-11 Dan Williams <dcbw@redhat.com>
3150 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
3151 implementation, so that the same change monitoring code can be used
3152 on systems without glib-2.14 (like Fedora 8)
3154 * system-settings/plugins/keyfile/Makefile.am
3155 system-settings/plugins/keyfile/plugin.c
3156 system-settings/plugins/ifcfg-suse/Makefile.am
3157 system-settings/plugins/ifcfg-suse/plugin.c
3158 - Use private gfilemonitor code if GIO is not present
3160 2008-05-09 Tambet Ingo <tambet@gmail.com>
3162 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
3163 NMExportedConnection's 'update' and 'delete' and return error with
3164 descriptive message.
3166 2008-05-08 Dan Williams <dcbw@redhat.com>
3168 Patch from Markus Becker <mab@comnets.uni-bremen.de>
3170 * src/nm-gsm-device.c
3171 src/nm-cdma-device.c
3172 - (real_get_best_auto_connection): implement; allow autoconnection
3173 to GSM & CDMA devices
3175 2008-05-08 Tambet Ingo <tambet@gmail.com>
3177 Use PolicyKit to authorize the system settings' AddConnection method
3178 and the system settings connections' Update and Delete methods.
3180 * libnm-glib/nm-settings.c (impl_exported_connection_update)
3181 (impl_exported_connection_delete, nm_exported_connection_update)
3182 (nm_exported_connection_delete): Return boolean and fill GError
3183 to notify the callers of the reasons why it might have failed.
3185 * libnm-glib/nm-dbus-settings-system.c
3186 (nm_dbus_settings_system_add_connection): Return the error from dbus
3187 call so that the callers can see why it failed.
3189 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
3192 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
3194 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
3195 abstract base class that checks PolicyKit permissions.
3197 * system-settings/src/dbus-settings.c:
3198 (impl_settings_add_connection): Check the policy before carring out
3201 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
3202 Inherit from NMSysconfigConnection, check the policies before
3203 allowing updating or removing.
3205 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
3206 Inherit from NMSysconfigConnection.
3208 * introspection/nm-exported-connection.xml: Annotate "Update" and
3209 "Delete" methods with async flag so that the implementations can get
3210 access to DBusGMethodInvocation.
3212 * system-settings/src/dbus-settings.c
3213 (settings_add_connection_check_privileges): Implement.
3214 (impl_settings_add_connection): Check the privileges before adding a new
3215 connection. Improve error reporting.
3217 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
3218 async so that the implementation can access DBusGMethodInvocation.
3220 * configure.in: Check for PolicyKit.
3222 * policy/org.freedesktop.network-manager-settings.system.policy:
3225 * policy/Makefile.am: Install the policy file.
3227 * configure.in: Add 'policy' subdir.
3229 2008-05-08 Tambet Ingo <tambet@gmail.com>
3231 Rewrite the suse system settings plugin.
3233 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
3235 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
3237 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
3239 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
3241 * system-settings/src/dbus-settings.c: Fix connection reference counting.
3243 * system-settings/src/main.c (load_plugins): Improve error reporting.
3245 * system-settings/src/sha1.[ch] Add.
3247 * system-settings/src/Makefile.am: Add sha1[ch] to build.
3249 2008-05-07 Dan Williams <dcbw@redhat.com>
3251 * system-settings/plugins/keyfile/reader.c
3252 - (read_one_setting_value): handle IP address items separately
3253 - (read_array_of_uint): read IPv4 DNS option as a string array
3254 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
3257 * system-settings/plugins/keyfile/writer.c
3258 - (write_setting_value): handle IP address items separately
3259 - (write_array_of_uint): handle IPv4 DNS option as a string array,
3260 not an array of uint, so that it's user-editable
3261 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
3262 arrays, so they are user-editable
3264 2008-05-07 Dan Williams <dcbw@redhat.com>
3266 * system-settings/plugins/keyfile/Makefile.am
3267 - Change location of the keyfile plugin settings to
3268 /etc/NetworkManager/system-connections
3270 2008-05-05 Tambet Ingo <tambet@gmail.com>
3272 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
3274 * system-settings/plugins/keyfile/plugin.c: Work with
3275 NMKeyfileConnections.
3277 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
3278 Plugins are supposed to return NMExportedConnections now and handle the
3279 updated(), removed(), and GetSecrets().
3280 Store the internal list of connections in hash table to make it easier
3283 2008-05-07 Tambet Ingo <tambet@gmail.com>
3285 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
3286 for multiple IP addresses.
3288 2008-05-07 Tambet Ingo <tambet@gmail.com>
3290 Patch from André Lemos.
3292 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
3295 2008-05-06 Dan Williams <dcbw@redhat.com>
3297 * src/dhcp-manager/nm-dhcp-manager.c
3298 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
3299 NMIP4Config to support multiple IP addresses
3301 * src/NetworkManagerUtils.c
3302 - (nm_utils_merge_ip4_config): update for multiple IP addresses
3304 * src/nm-ip4-config.c
3306 - Store a list of IPv4 address/netmask/gateway tuples
3307 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
3308 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
3309 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
3310 nm_ip4_config_set_address): remove
3311 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
3312 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
3313 new functions; handle multiple IPv4 addresses
3316 src/ppp-manager/nm-ppp-manager.c
3317 src/vpn-manager/nm-vpn-connection.c
3318 src/NetworkManagerPolicy.c
3320 libnm-glib/libnm-glib-test.c
3321 - update for changes to NMIP4Config for multiple IPv4 addresses
3323 * src/NetworkManagerSystem.c
3324 - (nm_system_device_set_ip4_route): don't add the route if any address
3325 is on the same subnet as the destination
3326 - (check_one_address): ignore the exact match, just match family and
3328 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3330 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3331 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3333 * introspection/nm-ip4-config.xml
3334 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3335 - Add 'addresses' property which is an array of (uuu) tuples of
3336 address/netmask/gateway
3338 * libnm-util/nm-setting-ip4-config.c
3339 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3341 * libnm-glib/nm-ip4-config.c
3342 libnm-glib/nm-ip4-config.h
3343 - Handle D-Bus interface changes to support multiple IP addresses
3345 2008-05-06 Dan Williams <dcbw@redhat.com>
3347 * libnm-util/nm-utils.c
3348 libnm-util/nm-utils.h
3349 - (nm_utils_ip4_addresses_from_gvalue,
3350 nm_utils_ip4_addresses_to_gvalue): new functions
3352 2008-05-06 Tambet Ingo <tambet@gmail.com>
3354 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3355 the returned connection paths.
3357 2008-05-05 Tambet Ingo <tambet@gmail.com>
3359 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3360 "PropertiesChanged" signal signature.
3362 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3363 defined in nm-dbus-glib-types.h.
3364 Don't register the connection on dbus, we're a proxy class to
3365 communicate with an already registered connection over dbus.
3367 2008-04-30 Tambet Ingo <tambet@gmail.com>
3369 Implement new subclasses of NMSettings and NMExportedConnection to make
3370 it easier for the applet to access and modify system settings.
3372 * libnm-glib/nm-dbus-connection.[ch]:
3373 * libnm-glib/nm-dbus-settings.[ch]:
3374 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3376 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3379 * include/NetworkManager.h: Define the system settings DBus interface.
3381 2008-04-30 Tambet Ingo <tambet@gmail.com>
3383 Implement additional C API for exported connections to make them identical
3384 with the DBus API. Change the (list_connections) virtual function to be
3385 more usable from C - instead of requiring implementers to return a GPtrArray
3386 of dbus paths, return a list of connections.
3388 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3389 (nm_settings_list_connections):
3390 (nm_exported_connection_new):
3391 (nm_exported_connection_update):
3392 (nm_exported_connection_delete): Implement.
3394 (impl_settings_list_connections):
3395 (impl_exported_connection_update):
3396 (impl_exported_connection_delete): Use the new public functions to make
3397 sure the C and dbus interfaces stay in sync.
3399 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3402 2008-05-02 Dan Williams <dcbw@redhat.com>
3404 * system-settings/plugins/ifcfg-fedora/plugin.c
3405 - (dispose): use right unref call on the DBusGConnection
3407 2008-05-02 Dan Williams <dcbw@redhat.com>
3409 * src/nm-serial-device.c
3410 - (find_terminator): don't compare the whole line, just the size of the
3411 terminator, since some modems put stuff after the terminator, like
3414 2008-05-01 Dan Williams <dcbw@redhat.com>
3416 Patch from Michael Biebl <biebl@debian.org>
3418 * callouts/Makefile.am
3419 callouts/org.freedesktop.nm_dispatcher.service.in
3420 system-settings/src/Makefile.am
3421 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3422 - use the right install location for dbus-activated stuff
3424 2008-04-30 Dan Williams <dcbw@redhat.com>
3426 * src/nm-gsm-device.c
3427 - (enter_pin): fix setting name passed to applets when asking for a GSM
3430 2008-04-30 Dan Williams <dcbw@redhat.com>
3433 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3435 2008-04-30 Dan Williams <dcbw@redhat.com>
3437 * src/nm-device-802-3-ethernet.c
3438 src/nm-device-802-11-wireless.c
3439 - (real_is_up): return true instead of chaining up to unimplemented
3442 2008-04-30 Dan Williams <dcbw@redhat.com>
3444 * src/NetworkManagerSystem.c
3445 src/NetworkManagerSystem.h
3446 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3447 functions to check device flags for IFF_UP
3449 * src/nm-serial-device.c
3450 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3453 * src/nm-device-802-3-ethernet.c
3454 src/nm-device-802-11-wireless.c
3455 - (real_hw_is_up): call nm_system_device_is_up()
3458 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3459 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3462 2008-04-29 Dan Williams <dcbw@redhat.com>
3464 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3466 * marshallers/nm-marshal.list
3469 * src/NetworkManager.c
3470 - (main): let the NMManager handle the NMHalManager
3472 * src/nm-hal-manager.c
3473 src/nm-hal-manager.h
3474 - convert to a GObject, and emit singals when stuff changes. Let the
3475 NMManager handle the signals, instead of the NMHalManager calling
3480 - (remove_one_device): consolidate device removals here
3481 - (dispose): use remove_one_device()
3482 - (nm_manager_get_device_by_udi): make static
3483 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3484 manager for devices at startup or wakeup time
3485 - (nm_manager_new): create and monitor the HAL manager
3486 - (hal_manager_udi_added_cb): new function; do what
3487 nm_manager_add_device() used to do when signalled by the hal manager
3488 - (hal_manager_udi_removed_cb): new function; do what
3489 nm_manager_remove_device() used to do when signalled by the hal
3491 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3493 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3494 in our device list that aren't known to HAL
3495 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3496 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3498 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3499 nm_manager_activation_pending, nm_manager_wireless_enabled,
3500 nm_manager_wireless_hardware_enabled,
3501 nm_manager_set_wireless_hardware_enabled): remove, unused
3503 2008-04-28 Dan Williams <dcbw@redhat.com>
3505 Fix the device up/down ambiguities. Up/down state used to be a
3506 conglomeration of hardware state (IFF_UP) and any device-specific things
3507 (supplicant, periodic timers, etc) that the device used to indicate
3508 readiness. Unfortunately, if the hardware was already IFF_UP for some
3509 reason, then the device specific stuff wouldn't get run, and the device
3514 - Create hw_is_up, hw_bring_up, and hw_take_down
3515 - Rename bring_down -> take_down
3516 - (real_hw_is_up): check interface flags for IFF_UP
3517 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3518 - (nm_device_is_up): make static; only used locally
3519 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3520 if the device is already up; if the device isn't up, bring it up
3521 - (nm_device_hw_take_down): just take down hardware
3522 - (nm_device_bring_up): bring up HW first, then device specific stuff
3523 - (nm_device_take_down): always deactivate device when called; always
3524 try to take hardware down too
3525 - (nm_device_state_changed): take device down when entering unmanaged
3526 state from a higher state
3528 * src/nm-device-802-11-wireless.c
3529 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3531 - (real_take_down, supplicant_iface_state_cb_handler,
3532 supplicant_iface_connection_state_cb_handler,
3533 supplicant_mgr_state_cb_handler): fix some messages
3535 * src/nm-device-802-3-ethernet.c
3536 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3539 2008-04-28 Dan Williams <dcbw@redhat.com>
3543 - (nm_manager_error_get_type): add new error
3544 - (nm_manager_remove_device): don't bother taking down the device here,
3545 the state change from unmanaging the device will do it
3546 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3547 uses it; when going to sleep, just unmanage the device instead of
3548 taking it down, because stuff will cleaned up correctly when the
3549 device gets unmanaged
3551 2008-04-28 Dan Williams <dcbw@redhat.com>
3553 * src/nm-hal-manager.c
3554 - (add_initial_devices): convert to a GSourceFunc prototype
3555 - (nm_manager_state_changed): when coming out of sleep, punt the
3556 device re-addition to an idle handler to let D-Bus events go out
3557 first, fixing a potential dbus-glib assert if the old device was
3558 not yet disposed (due to references held while emitting the D-Bus
3559 signals) but the new device was found, because the mainloop didn't
3560 run between signal emission and add_initial_devices()
3562 2008-04-27 Dan Williams <dcbw@redhat.com>
3564 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3566 * initscript/paldo/NetworkManager.in
3567 initscript/SUSE/networkmanager.in
3568 - Remove last bits of dhcdbd
3570 2008-04-27 Dan Williams <dcbw@redhat.com>
3572 * src/nm-device-802-11-wireless.c
3573 - (link_timeout_cb): don't ask for secrets when disconnected during
3574 association/authentication phase, drivers are still just too crappy
3576 2008-04-27 Dan Williams <dcbw@redhat.com>
3580 dispatcher-daemon/Makefile.am
3581 dispatcher-daemon/NetworkManagerDispatcher.c
3582 initscript/Arch/Makefile.am
3583 initscript/Arch/networkmanager-dispatcher.in
3584 initscript/Gentoo/Makefile.am
3585 initscript/Gentoo/NetworkManagerDispatcher.in
3586 initscript/Mandriva/Makefile.am
3587 initscript/Mandriva/networkmanagerdispatcher.in
3588 initscript/RedHat/Makefile.am
3589 initscript/RedHat/NetworkManagerDispatcher.in
3590 initscript/SUSE/Makefile.am
3591 initscript/SUSE/networkmanager-dispatcher.in
3592 initscript/Slackware/Makefile.am
3593 initscript/Slackware/rc.networkmanager-dispatcher.in
3594 initscript/paldo/Makefile.am
3595 initscript/paldo/NetworkManagerDispatcher.in
3597 man/NetworkManagerDispatcher.8.in
3598 - Remove the dispatcher daemon
3600 2008-04-27 Dan Williams <dcbw@redhat.com>
3602 * callouts/Makefile.am
3603 callouts/nm-dispatcher-action.c
3604 callouts/nm-dispatcher-action.h
3605 callouts/nm-dispatcher.conf
3606 callouts/nm-dispatcher.xml
3607 callouts/org.freedesktop.nm_dispatcher.service
3608 - Re-implement the dispatcher as a system-bus activated service that
3609 NM calls on-demand, rather than an always running daemon
3612 - Add callouts dir to includes to pick up dispatcher defines
3615 - (nm_device_state_changed): call dispatcher on device activated/
3618 * src/vpn-manager/nm-vpn-connection.c
3619 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3622 * src/NetworkManagerUtils.c
3623 src/NetworkManagerUtils.h
3624 - (nm_utils_call_dispatcher): helper to call dispatcher
3626 2008-04-27 Dan Williams <dcbw@redhat.com>
3628 * src/NetworkManagerUtils.c
3629 src/NetworkManagerUtils.h
3630 - remove unneeded includes
3631 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3632 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3633 nm_timeval_cmp, nm_timeval_add): remove, unused
3634 - clean up formatting
3635 - (nm_spawn_process): de-uglify
3637 * src/nm-device-802-11-wireless.c
3638 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3640 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3642 * initscript/Gentoo/NetworkManager.in:
3643 Fix for starting the daemon.
3645 2008-04-25 Dan Williams <dcbw@redhat.com>
3647 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3649 * src/NetworkManagerSystem.c
3650 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3652 2008-04-25 Dan Williams <dcbw@redhat.com>
3654 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3656 * src/NetworkManagerSystem.c
3657 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3658 implementation of nm_system_device_replace_default_route()
3660 * src/NetworkManagerPolicy.c
3661 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3663 * src/backends/NetworkManagerArch.c
3664 src/backends/NetworkManagerDebian.c
3665 src/backends/NetworkManagerFrugalware.c
3666 src/backends/NetworkManagerGeneric.c
3667 src/backends/NetworkManagerGeneric.h
3668 src/backends/NetworkManagerGentoo.c
3669 src/backends/NetworkManagerMandriva.c
3670 src/backends/NetworkManagerPaldo.c
3671 src/backends/NetworkManagerRedHat.c
3672 src/backends/NetworkManagerSlackware.c
3673 src/backends/NetworkManagerSuSE.c
3674 - (nm_system_device_replace_default_route): remove
3676 2008-04-25 Dan Williams <dcbw@redhat.com>
3678 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3680 * src/NetworkManagerSystem.c
3681 - (validate_ip4_route): remove; use nl_addr_parse() instead
3682 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3683 replace nm_system_device_add_route_via_device_with_iface() in the
3686 * src/backends/NetworkManagerArch.c
3687 src/backends/NetworkManagerDebian.c
3688 src/backends/NetworkManagerFrugalware.c
3689 src/backends/NetworkManagerGeneric.c
3690 src/backends/NetworkManagerGeneric.h
3691 src/backends/NetworkManagerGentoo.c
3692 src/backends/NetworkManagerMandriva.c
3693 src/backends/NetworkManagerPaldo.c
3694 src/backends/NetworkManagerRedHat.c
3695 src/backends/NetworkManagerSlackware.c
3696 src/backends/NetworkManagerSuSE.c
3697 - Remove nm_system_device_add_route_via_device_with_iface()
3699 2008-04-25 Dan Williams <dcbw@redhat.com>
3701 * system-settings/plugins/ifcfg-fedora/parser.c
3702 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3704 2008-04-24 Dan Williams <dcbw@redhat.com>
3706 * dispatcher-daemon/NetworkManagerDispatcher.c
3707 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3709 2008-04-24 Dan Williams <dcbw@redhat.com>
3711 * initscript/RedHat/NetworkManager.in
3712 initscript/RedHat/NetworkManagerDispatcher.in
3713 - Be active at runlevel 2
3714 - Adjust priorities earlier
3716 2008-04-22 Dan Williams <dcbw@redhat.com>
3718 * src/NetworkManagerPolicy.c
3719 - (update_routing_and_dns): when checking for a gateway, look at the
3720 composite IP4 config, not the connection's ip4-config setting, which
3721 doesn't include DHCP-returned information
3723 2008-04-22 Tambet Ingo <tambet@gmail.com>
3725 Implement GKeyFile system settings plugin.
3726 Implement writing system settings (currently supported only by GKeyFile plugin).
3728 * system-settings/src/main.c:
3729 * system-settings/src/dbus-settings.c: Move the communication with plugins
3730 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3731 plugins for adding/updating/removing connections.
3733 * system-settings/src/nm-system-config-interface.c
3734 (nm_system_config_interface_add_connection): Implement
3735 (nm_system_config_interface_update_connection): Implement.
3736 (nm_system_config_interface_remove_connection): Implement.
3738 * system-settings/plugins/keyfile/Makefile.am:
3739 * system-settings/plugins/keyfile/plugin.[ch]:
3740 * system-settings/plugins/keyfile/writer.[ch]:
3741 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3743 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3745 * configure.in: Generate GKeyFile Makefile.
3747 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3748 corruption, need to duplicate the returned string.
3749 (impl_exported_connection_update): Implement.
3750 (impl_exported_connection_delete): Implement.
3752 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3754 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3756 2008-04-22 Dan Williams <dcbw@redhat.com>
3758 Patch from Charles R. Anderson (cra@wpi.edu)
3760 * src/NetworkManagerPolicy.c
3761 - (update_routing_and_dns): don't select devices without a gateway
3762 as having the default route (rh #437338)
3764 2008-04-21 Dan Williams <dcbw@redhat.com>
3766 * src/nm-activation-request.c
3767 src/nm-activation-request.h
3768 - (dispose): ensure to disconnect from the device's state-changed signal
3769 when appropriate so the signal doesn't get handled by an already
3770 disposed NMActRequest
3771 - (device_state_changed): update is_default here too just to make sure
3772 default is only True when the child device is activated
3773 - (nm_act_request_set_default): new function
3775 * src/NetworkManagerPolicy.c
3776 - (update_routing_and_dns): set 'default' on the active connection which
3777 has the default route and DNS
3779 2008-04-21 Dan Williams <dcbw@redhat.com>
3781 * src/NetworkManagerPolicy.c
3782 - (device_state_changed): update routing and DNS when a device goes
3783 into unmanaged or unavailable states too (like rfkill or carrier loss)
3785 2008-04-21 Dan Williams <dcbw@redhat.com>
3787 * include/NetworkManager.h
3788 - Add NMActiveConnectionState enum
3790 * introspection/nm-active-connection.xml
3791 introspection/nm-vpn-connection.xml
3792 - Add 'State' property for overall active connection state
3793 - Add 'Default' property, when True means this active connection
3794 has the default route
3795 - Add PropertyChanged signals so changes actually go out over the bus
3797 * src/nm-active-connection.h
3798 - Add defines for State & Default properties
3800 * src/nm-activation-request.c
3801 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3802 signal to determine active connection state
3804 * src/vpn-manager/nm-vpn-connection.c
3805 src/vpn-manager/nm-vpn-connection.h
3806 src/vpn-manager/nm-vpn-manager.c
3807 src/vpn-manager/nm-vpn-service.c
3808 - Rename old 'state' to 'vpn-state'
3809 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3810 - Add 'state' and 'default' properties, hook up to the vpn connection's
3811 'vpn-state-changed' signal
3813 * libnm-glib/nm-active-connection.c
3814 libnm-glib/nm-active-connection.h
3815 - Add new 'state' and 'default' properties and accessors
3817 * libnm-glib/nm-vpn-connection.c
3818 libnm-glib/nm-vpn-connection.h
3819 - Rename old 'state' property to 'vpn-state'
3820 - Add new 'state' and 'default' properties and accessors
3822 2008-04-21 Dan Williams <dcbw@redhat.com>
3824 * src/nm-ip4-config.c
3825 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3826 not specified (rh #443474)
3828 2008-04-20 Dan Williams <dcbw@redhat.com>
3830 * src/NetworkManagerUtils.c
3831 src/NetworkManagerUtils.h
3832 - (nm_utils_merge_ip4_config): new function; merge settings from an
3833 NMSettingIP4Config to an NMIP4Config object
3836 - (merge_ip4_config): move to NetworkManagerUtils.c
3838 * src/vpn-manager/nm-vpn-connection.c
3839 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3842 2008-04-18 Dan Williams <dcbw@redhat.com>
3844 * libnm-util/nm-setting-ppp.c
3845 libnm-util/nm-setting-ppp.h
3846 - Add 'no-vj-comp' option for TCP header compression
3847 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3850 2008-04-18 Dan Williams <dcbw@redhat.com>
3852 * libnm-util/nm-setting-ppp.c
3853 libnm-util/nm-setting-ppp.h
3854 src/ppp-manager/nm-ppp-manager.c
3855 - Add 'refuse-pap' and 'refuse-mschapv2' options
3857 2008-04-18 Dan Williams <dcbw@redhat.com>
3859 * libnm-util/nm-setting-ppp.c
3860 libnm-util/nm-setting-ppp.h
3861 src/ppp-manager/nm-ppp-manager.c
3862 - Remove the 'usepeerdns' option and always request DNS servers from
3863 the PPP server; the connection chooses to use/override/ignore the
3864 DNS servers returned from the PPP server
3866 2008-04-18 Dan Williams <dcbw@redhat.com>
3868 * libnm-util/nm-setting-ppp.c
3869 libnm-util/nm-setting-ppp.h
3870 src/ppp-manager/nm-ppp-manager.c
3871 - Remove the 'require-mppc' option, because pppd doesn't support it and
3872 it seems to have been an erroneous addition to the PPTP plugin in
3873 the first place (from which the ppp-manager is derived)
3875 2008-04-17 Dan Williams <dcbw@redhat.com>
3877 * libnm-util/nm-setting-pppoe.c
3878 - (verify): require a PPP setting too
3880 * src/ppp-manager/nm-ppp-manager.c
3881 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3884 2008-04-17 Dan Williams <dcbw@redhat.com>
3887 - (nm_device_state_changed): do deactivation and and promotion to
3888 unavailable here, so that the device gets cleaned up before the
3889 manager runs and starts emitting signals; do the
3890 FAILED->DISCONNECTED transition from an idle handler rather than
3891 immediately to guard against recursion
3892 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3893 FAILED->DISCONNECTED handler if it's scheduled
3895 2008-04-17 Dan Williams <dcbw@redhat.com>
3897 * src/nm-device-802-11-wireless.c
3898 - (state_changed_cb): clear AP list when device transitions to
3899 unavailable or unmanaged
3900 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3901 since this is already done in device_cleanup()
3902 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3903 isn't available or managed
3904 - (device_cleanup): use remove_all_aps()
3905 - (remove_all_aps): consolidate code removing all APs
3907 2008-04-17 Dan Williams <dcbw@redhat.com>
3909 * src/nm-serial-device.c
3910 src/nm-serial-device.h
3911 - (wait_for_reply_got_data): break input into lines, and search each
3912 line for responses _and_ terminator strings; also make sure that
3913 the read loop doesn't continue after the timeout is supposed to fire
3914 - (nm_serial_device_wait_for_reply): take an array of terminators too
3916 * src/nm-gsm-device.c
3917 src/nm-cdma-device.c
3918 - Send terminators to nm_serial_device_wait_for_reply()
3920 2008-04-16 Dan Williams <dcbw@redhat.com>
3922 Patch from 陈鑫 <znscnchen@gmail.com>
3924 * src/ppp-manager/nm-pppd-plugin.c
3925 - (get_credentials): return correct value for success; handle case where
3926 pppd just does some checking but doesn't want a password
3927 - (plugin_init): make CHAP work too
3929 2008-04-16 Dan Williams <dcbw@redhat.com>
3931 Patch from 陈鑫 <znscnchen@gmail.com>
3933 * src/ppp-manager/nm-ppp-manager.c
3934 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3936 2008-04-16 Dan Williams <dcbw@redhat.com>
3938 Patch from 陈鑫 <znscnchen@gmail.com>
3940 * src/nm-device-802-3-ethernet.c
3941 - (real_deactivate_quickly): clear the IP interface name on
3942 deactivation, otherwise the wrong interface might get used later
3943 for routing and IP management
3945 2008-04-15 Dan Williams <dcbw@redhat.com>
3947 * libnm-glib/nm-device.c
3948 - (get_product_and_vendor): handle serial devices correctly
3949 - (nm_device_update_description): pass device to get_product_and_vendor()
3951 2008-04-15 Dan Williams <dcbw@redhat.com>
3953 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3955 * src/NetworkManagerSystem.h
3956 src/backends/NetworkManagerArch.c
3957 src/backends/NetworkManagerDebian.c
3958 src/backends/NetworkManagerFrugalware.c
3959 src/backends/NetworkManagerGeneric.c
3960 src/backends/NetworkManagerGeneric.h
3961 src/backends/NetworkManagerGentoo.c
3962 src/backends/NetworkManagerMandriva.c
3963 src/backends/NetworkManagerPaldo.c
3964 src/backends/NetworkManagerRedHat.c
3965 src/backends/NetworkManagerSlackware.c
3966 src/backends/NetworkManagerSuSE.c
3968 - (nm_generic_device_add_ip6_link_address,
3969 nm_system_device_add_ip6_link_address): remove
3971 2008-04-15 Dan Williams <dcbw@redhat.com>
3973 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3975 * src/backends/NetworkManagerArch.c
3976 src/backends/NetworkManagerDebian.c
3977 src/backends/NetworkManagerFrugalware.c
3978 src/backends/NetworkManagerGeneric.c
3979 src/backends/NetworkManagerGeneric.h
3980 src/backends/NetworkManagerGentoo.c
3981 src/backends/NetworkManagerMandriva.c
3982 src/backends/NetworkManagerPaldo.c
3983 src/backends/NetworkManagerRedHat.c
3984 src/backends/NetworkManagerSlackware.c
3985 src/backends/NetworkManagerSuSE.c
3986 src/NetworkManagerSystem.h
3987 - flush_routes -> flush_ip4_routes
3988 - flush_addresses -> flush_ip4_addresses
3990 * src/NetworkManagerSystem.c
3992 src/vpn-manager/nm-vpn-connection.c
3993 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3995 2008-04-15 Dan Williams <dcbw@redhat.com>
3997 Remove exposure of wireless-tools mode types in the API.
3999 * include/NetworkManager.h
4000 - Define NM80211Mode enum
4002 * introspection/generic-types.xml
4003 - Describe NM_802_11_MODE enum
4004 - Remove IW_MODE_* enum
4006 * introspection/nm-access-point.xml
4007 libnm-glib/nm-access-point.c
4008 libnm-glib/nm-access-point.h
4009 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4011 * introspection/nm-device-802-11-wireless.xml
4012 libnm-glib/nm-device-802-11-wireless.c
4013 libnm-glib/nm-device-802-11-wireless.h
4014 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
4016 * libnm-util/nm-setting-wireless.c
4017 src/NetworkManagerAP.c
4018 src/NetworkManagerAP.h
4019 src/nm-device-802-11-wireless.c
4020 src/nm-device-802-11-wireless.h
4022 - Use NM80211Mode not IW_MODE_*
4024 2008-04-15 Dan Williams <dcbw@redhat.com>
4026 Enhance nm-online based on a patch from Bill Nottingham.
4030 - Add help messages and option summary
4031 - Add long-format options
4032 - Add a '-x' option to exit if NM isn't running or isn't connecting
4034 2008-04-15 Tambet Ingo <tambet@gmail.com>
4036 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
4038 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
4040 2008-04-15 Dan Williams <dcbw@redhat.com>
4042 * nm-setting-ip4-config.c
4043 - (ip4_addresses_from_gvalue): handle NULL address array
4045 * nm-setting-8021x.c
4046 - (verify_tls, verify_ttls): warn on failed verification
4048 2008-04-10 Dan Williams <dcbw@redhat.com>
4050 * src/nm-gsm-device.c
4051 - (automatic_registration): accept "+CREG: 0,0"
4052 - (automatic_registration_response): fail on "+CREG: 0,0"
4054 2008-04-10 Tambet Ingo <tambet@gmail.com>
4056 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
4058 2008-04-10 Tambet Ingo <tambet@gmail.com>
4060 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
4061 Make it compile again by commenting out broken code that at first didn't work and
4062 now didn't compile either.
4064 2008-04-08 Dan Williams <dcbw@redhat.com>
4066 * libnm-glib/nm-object-cache.c
4067 libnm-glib/nm-settings.c
4068 src/dhcp-manager/nm-dhcp-manager.c
4069 system-settings/plugins/ifcfg-fedora/plugin.c
4070 system-settings/plugins/ifcfg-suse/plugin.c
4071 system-settings/src/nm-system-config-hal-manager.c
4072 libnm-util/nm-utils.c
4073 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
4074 not threadsafe anyway
4076 2008-04-08 Dan Williams <dcbw@redhat.com>
4078 * system-settings/src/main.c
4079 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
4080 callbacks take a device type too
4082 2008-04-08 Dan Williams <dcbw@redhat.com>
4084 The system settings service will now create a new default DHCP connection
4085 for wired devices that have no existing applicable connection.
4087 * system-settings/src/nm-system-config-hal-manager.c
4088 system-settings/src/nm-system-config-hal-manager.h
4089 - (nm_system_config_hal_manager_get_type_for_udi): new function
4091 * system-settings/src/dbus-settings.c
4092 system-settings/src/dbus-settings.h
4093 - (nm_sysconfig_settings_get_connections): new function
4094 - (nm_sysconfig_settings_is_device_managed): new function
4096 * system-settings/src/main.c
4097 - (load_stuff): check for wired devices that need a default connection
4098 - (get_details_for_udi): get interface and MAC address from HAL
4099 - (add_default_dhcp_connection): add a default connection for a wired
4101 - (device_added_cb, device_removed_cb): do the right thing with
4102 wired devices and their default connections on HAL device events
4104 2008-04-07 Dan Williams <dcbw@redhat.com>
4106 * libnm-glib/nm-device.c
4107 libnm-glib/nm-device.h
4108 - Proxy the 'managed' property
4110 2008-04-07 Dan Williams <dcbw@redhat.com>
4112 * src/nm-gsm-device.c
4113 src/nm-cdma-device.c
4114 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4115 handler to transition to DISCONNECTED
4117 2008-04-07 Dan Williams <dcbw@redhat.com>
4119 Patch from Bill Nottingham
4121 * dispatcher-daemon/NetworkManagerDispatcher.c
4122 - ignore backup/packaging crufy (rh #440143)
4124 2008-04-07 Dan Williams <dcbw@redhat.com>
4126 * include/NetworkManager.h
4127 - Remove the DOWN and CANCELLED device states
4128 - Add UNMANAGED and UNAVAILABLE device states
4129 - Document the device states
4131 * introspection/nm-device.xml
4132 src/nm-device-interface.c
4133 src/nm-device-interface.h
4134 - Add the 'managed' property
4137 - (detail_device): print out device state
4139 * src/NetworkManagerSystem.h
4140 src/backends/NetworkManagerArch.c
4141 src/backends/NetworkManagerDebian.c
4142 src/backends/NetworkManagerFrugalware.c
4143 src/backends/NetworkManagerGentoo.c
4144 src/backends/NetworkManagerMandriva.c
4145 src/backends/NetworkManagerPaldo.c
4146 src/backends/NetworkManagerRedHat.c
4147 src/backends/NetworkManagerSlackware.c
4148 src/backends/NetworkManagerSuSE.c
4149 - (nm_system_device_get_system_config, nm_system_device_get_disabled
4150 nm_system_device_free_system_config): remove; they were unused and
4151 their functionality should be re-implemented in each distro's
4152 system settings service plugin
4154 * src/nm-gsm-device.c
4156 src/nm-cdma-device.c
4157 src/nm-cdma-device.h
4158 - (*_new): take the 'managed' argument
4161 - (nm_device_set_address): remove, fold into nm_device_bring_up()
4162 - (nm_device_init): start in unmanaged state, not disconnected
4163 - (constructor): don't start device until the system settings service
4164 has had a chance to figure out if the device is managed or not
4165 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
4166 don't set device state here, let callers handle that as appropriate
4167 - (nm_device_dispose): don't touch the device if it's not managed
4168 - (set_property, get_property, nm_device_class_init): implement the
4170 - (nm_device_state_changed): bring the device up if its now managed,
4171 and deactivate it if it used to be active
4172 - (nm_device_get_managed, nm_device_set_managed): do the right thing
4173 with the managed state
4175 * src/nm-hal-manager.c
4176 - (wired_device_creator, wireless_device_creator, modem_device_creator):
4177 take initial managed state and pass it along to device constructors
4178 - (create_device_and_add_to_list): get managed state and pass to
4181 * src/nm-device-802-11-wireless.c
4182 - (real_can_activate): fold in most of
4183 nm_device_802_11_wireless_can_activate()
4184 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
4185 - (link_timeout_cb): instead of deactivating, change device state and
4186 let the device state handler to it
4187 - (real_update_hw_address): clean up
4188 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
4189 handler to transition to DISCONNECTED if the device isn't rfkilled
4191 * src/nm-device-802-3-ethernet.c
4192 - (set_carrier): move above callers and get rid of prototype
4193 - (device_state_changed): when entering UNAVAILABLE state, schedule an
4194 idle handler to transition to DISCONNECTED if the device has a
4196 - (real_update_hw_address): clean up
4197 - (link_timeout_cb, ppp_state_changed): change state instead of calling
4198 deactivation directly as deactivation doesn't change state anymore
4200 * src/NetworkManagerPolicy.c
4201 - (schedule_activate_check): yay, remove wireless_enabled hack since
4202 the NMManager and wireless devices work that out themselves now
4203 - (device_state_changed): change to a switch and update for new device
4205 - (device_carrier_changed): remove; device handles this now through
4207 - (device_added): don't care about carrier any more; the initial
4208 activation check will happen when the device transitions to
4212 - (dispose): clear unmanaged devices
4213 - (handle_unmanaged_devices): update unmanaged device list and toggle
4214 the managed property on each device when needed
4215 - (system_settings_properties_changed_cb): handle signals from the
4216 system settings service
4217 - (system_settings_get_unmanaged_devices_cb): handle callback from
4218 getting the unmanaged device list method call
4219 - (query_unmanaged_devices): ask the system settings service for its
4220 list of unmanaged devices
4221 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
4223 - (manager_set_wireless_enabled): push rfkill state down to wireless
4224 devices directly and let them handle the necessary state transitions
4225 - (manager_device_state_changed): update for new device states
4226 - (nm_manager_add_device): set initial rfkill state on wireless devices
4227 - (nm_manager_remove_device): don't touch the device if it's unmanaged
4228 - (nm_manager_activate_connection): return error if the device is
4230 - (nm_manager_sleep): handle new device states correctly; don't change
4231 the state of unavailable/unmanaged devices
4233 * libnm-glib/nm-device-802-11-wireless.c
4234 - (state_changed_cb): update for new device states
4236 2008-04-07 Dan Williams <dcbw@redhat.com>
4238 * marshallers/nm-marshal.list
4239 - Add VOID:STRING,UINT marshaller for system settings HAL manager
4241 2008-04-07 Dan Williams <dcbw@redhat.com>
4243 * system-settings/src/main.c
4244 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
4245 plugins to the dbus settings object
4246 - (load_stuff): start the dbus service after grabbing unmanaged devices
4247 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
4248 - (log_handler, logging_setup, logging_shutdown): log output to syslog
4249 - (main): switch default logging to syslog with a 'debug' option to
4250 output to console; start up the HAL manager
4252 2008-04-07 Dan Williams <dcbw@redhat.com>
4254 * introspection/nm-settings-system.xml
4255 introspection/Makefile.am
4256 - Define the unmanaged devices interface for the system settings service
4258 * system-settings/src/nm-system-config-hal-manager.c
4259 system-settings/src/nm-system-config-hal-manager.h
4260 system-settings/src/nm-system-config-hal-manager-private.h
4261 system-settings/src/Makefile.am
4262 - Add a lightweight HAL manager object for tracking network devices for
4263 the purpose of determining unmanaged devices and which devices need
4264 the default DHCP connections
4266 * system-settings/src/nm-system-config-interface.c
4267 system-settings/src/nm-system-config-interface.h
4268 - (nm_system_config_interface_init): add the HAL manager as an argument
4269 - (nm_system_config_interface_get_unmanaged_devices): implement
4270 - Define 'unmanaged-devices-changed' signal
4272 * system-settings/src/dbus-settings.c
4273 system-settings/src/dbus-settings.h
4274 - Implement the unmanaged devices interface; some cleanups
4276 * system-settings/plugins/ifcfg-suse/plugin.c
4277 - Fixup for plugin interface changes
4279 * system-settings/plugins/ifcfg-fedora/plugin.c
4280 - (get_ether_device_udi): new function; find the device that has
4281 a specified MAC address and return its UDI
4282 - (get_udi_for_connection): new function; try to find the specific
4283 device a connection is locked to, if any
4284 - (device_added_cb, device_removed_cb): update unmanaged device list in
4285 response to HAL events
4286 - (get_unmanaged_devices): new function; return unmanaged device list
4287 - (build_one_connection): set the connection's locked device, if any
4288 - (write_auto_wired_connection): remove
4289 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
4290 - (handle_connection_changed): alert listeners that the unmanaged device
4292 - (init): fixup for plugin interface changes, implement unmanaged devices
4294 * system-settings/plugins/ifcfg-fedora/parser.c
4295 system-settings/plugins/ifcfg-fedora/parser.h
4296 - (connection_data_free): clean up connection UDI
4298 2008-04-07 Dan Williams <dcbw@redhat.com>
4300 * system-settings/plugins/ifcfg-fedora/parser.c
4301 - (make_ip4_setting): fix parsing of DNS servers
4303 2008-04-05 Dan Williams <dcbw@redhat.com>
4307 marshallers/Makefile.am
4308 marshallers/nm-marshal-main.c
4309 marshallers/nm-marshal.list
4310 - Consolidate marshallers
4312 * libnm-glib/nm-marshal-main.c
4313 libnm-glib/nm-marshal.list
4314 src/marshallers/Makefile.am
4315 src/marshallers/nm-marshal-main.c
4316 src/marshallers/nm-marshal.list
4319 * libnm-glib/Makefile.am
4321 src/dhcp-manager/Makefile.am
4322 src/ppp-manager/Makefile.am
4323 src/supplicant-manager/Makefile.am
4324 src/vpn-manager/Makefile.am
4325 - Use consolidated marshallers
4327 2008-04-04 Dan Williams <dcbw@redhat.com>
4329 * src/nm-hal-manager.c
4330 src/nm-hal-manager.h
4331 - (hal_init): don't look for hardware here
4332 - (nm_hal_manager_start): new function; look for hardware here instead,
4333 which can be done at a later time than hal_init()
4335 * src/NetworkManager.c
4336 - (main): start HAL manager after entering the main loop
4338 2008-04-03 Dan Williams <dcbw@redhat.com>
4340 * libnm-glib/nm-settings.c
4341 libnm-glib/nm-settings.h
4342 - (nm_exported_connection_get_id): new function
4343 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4345 2008-04-02 Dan Williams <dcbw@redhat.com>
4347 * src/nm-device-interface.c
4348 src/nm-device-interface.h
4351 - Rename check_connection_conflicts() to check_connection_compatible()
4353 * src/nm-device-802-11-wireless.c
4354 - (real_check_connection_conflicts): remove
4355 - (real_check_connection_compatible): implement; match MAC address
4357 * src/nm-device-802-3-ethernet.c
4358 - (real_check_connection_conflicts): remove
4359 - (real_check_connection_compatible): implement; match MAC address
4360 - (real_get_best_auto_connection): correctly handle PPPoE cases
4363 - (check_connection_allowed): remove; unused until PolicyKit integration
4364 - (internal_activate_device): check whether the connection is compatible
4365 with the device before trying to activate it
4367 2008-04-02 Dan Williams <dcbw@redhat.com>
4369 * system-settings/plugins/ifcfg-fedora/parser.c
4370 - (read_mac_address): new function; read in MAC address and stuff it
4372 - (add_one_wep_key): remove debug spew
4373 - (make_wireless_security_setting): validate the default TX key; don't
4374 add the wireless-security setting if the connection doesn't need
4375 security; don't leak the keys shvarFile on error cases
4376 - (make_wireless_setting, make_wired_setting): populate device's MAC
4379 2008-04-02 Dan Williams <dcbw@redhat.com>
4381 * libnm-util/nm-setting-connection.c
4382 libnm-util/nm-setting-connection.h
4383 - (set_property, get_property, nm_setting_connection_class_init): remove
4384 the 'lockdown' property; it's functionality will be replaced by
4387 2008-04-01 Dan Williams <dcbw@redhat.com>
4389 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4392 initscript/Makefile.am
4393 initscript/Mandriva/Makefile.am
4394 initscript/Mandriva/networkmanager.in
4395 initscript/Mandriva/networkmanagerdispatcher.in
4396 src/backends/Makefile.am
4397 src/backends/NetworkManagerMandriva.c
4398 system-settings/plugins/Makefile.am
4399 - Add Mandriva support
4401 2008-03-31 Dan Williams <dcbw@redhat.com>
4403 * src/vpn-manager/nm-vpn-service.c
4404 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4405 errors can be passed back to the caller; also no longer scheduled
4406 as an idle handler, but called directly; and bump up VPN service
4407 spawn timeout, 2s is really short
4408 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4409 but call it directly so that errors are reported on return from
4410 ActivateConnection() and don't get lost. If scheduled as an idle
4411 handler, clients don't have the time to query NM for the new VPN
4412 connection's properties before the VPN connection is torn down again
4413 if the service couldn't be launched, and therefore launch errors
4416 2008-03-31 Dan Williams <dcbw@redhat.com>
4418 * src/vpn-manager/nm-vpn-connection.c
4419 - (device_state_changed): send correct state on device failure too
4420 - (plugin_state_changed): failed state means unexpected disconnection,
4421 thus if the service goes away while the VPN connection is activated
4422 that's a failure too
4424 2008-03-31 Dan Williams <dcbw@redhat.com>
4426 * src/vpn-manager/nm-vpn-manager.c
4427 src/vpn-manager/nm-vpn-manager.h
4428 - Make VPNManager errors more available; add a service-start-failed error
4430 2008-03-31 Dan Williams <dcbw@redhat.com>
4432 * libnm-glib/nm-client.c
4433 libnm-glib/nm-client.h
4434 - (activate_cb): pass the new active connection to callback; fix
4435 message when no callback is specified
4437 2008-03-30 Dan Williams <dcbw@redhat.com>
4439 * libnm-util/nm-setting-wireless-security.c
4440 - (need_secrets): only require key0 if the transmit key index is also
4442 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4444 2008-03-29 Dan Williams <dcbw@redhat.com>
4446 * libnm-util/nm-setting-8021x.c
4447 libnm-util/nm-setting-ip4-config.c
4448 libnm-util/nm-setting-vpn-properties.c
4449 libnm-util/nm-setting-vpn.c
4450 libnm-util/nm-setting-wireless-security.c
4451 libnm-util/nm-setting-wireless.c
4452 libnm-util/nm-utils.c
4453 src/dhcp-manager/nm-dhcp-manager.c
4454 src/nm-activation-request.c
4457 src/nm-properties-changed-signal.c
4458 src/ppp-manager/nm-pppd-plugin.c
4459 src/supplicant-manager/nm-supplicant-interface.c
4460 src/vpn-manager/nm-vpn-connection.c
4461 - consistently use nm-dbus-glib-types.h
4463 2008-03-29 Dan Williams <dcbw@redhat.com>
4465 * src/vpn-manager/nm-vpn-connection.c
4466 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4469 * src/nm-activation-request.c
4470 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4473 2008-03-29 Dan Williams <dcbw@redhat.com>
4475 * libnm-glib/nm-device-802-11-wireless.c
4476 - (access_point_added_proxy): create new APs if not found
4478 2008-03-29 Dan Williams <dcbw@redhat.com>
4480 * libnm-glib/nm-client.c
4481 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4484 2008-03-29 Dan Williams <dcbw@redhat.com>
4486 * system-settings/plugins/ifcfg-fedora/parser.c
4487 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4488 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4490 2008-03-29 Dan Williams <dcbw@redhat.com>
4492 * system-settings/plugins/ifcfg-fedora/parser.c
4493 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4495 2008-03-27 Dan Williams <dcbw@redhat.com>
4498 - (nm_object_queue_notify): don't notify multiple times for the same
4501 * nm-object-private.h
4502 - (handle_ptr_array_return): return NULL if the given array is NULL or
4503 if it has zero elements
4506 - (finalize): use g_ptr_array_foreach() when freeing domains
4507 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4509 * nm-active-connection.c
4510 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4512 * nm-device-802-11-wireless.c
4513 nm-device-802-11-wireless.h
4514 - (nm_device_802_11_wireless_get_access_points): return const; use
4515 handle_ptr_array_return()
4518 - (nm_object_array_demarshal): always create an array, even of length
4519 zero, to distinguish between "NM returned no items" and "haven't
4523 - (dispose): free active connections too
4524 - (proxy_name_owner_changed): free active connections too when NM goes
4526 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4527 - (nm_client_get_active_connections): use handle_ptr_array_return()
4529 2008-03-26 Dan Williams <dcbw@redhat.com>
4531 Rework VPN connection handling for a more consistent D-Bus API. The
4532 VPNManager object has been removed, and active VPN connections are now the
4533 same as any other active connection. The Manager object's ActivateConnection
4534 and DeactivateConnection methods are used to start and stop a VPN connection,
4535 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4536 When activating a VPN connection, pass the path of the active connection
4537 to which the VPN connection is tied in the 'specific_object' argument.
4539 Consequently, the libnm-glib API has been reworked to match this arrangement,
4540 with the VPNManager object removed, and the NMVPNConnection objects now
4541 being subclasses of NMActiveConnection.
4543 2008-03-25 Dan Williams <dcbw@redhat.com>
4545 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4547 * initscript/Arch/networkmanager.in
4548 initscript/Arch/networkmanager-dispatcher.in
4549 - Updates for Arch Linux (gnome.org #523701)
4551 2008-03-25 Dan Williams <dcbw@redhat.com>
4553 * libnm-glib/nm-ip4-config.c
4554 libnm-glib/nm-active-connection.c
4555 libnm-glib/nm-access-point.c
4556 - Use nm_object_queue_notify() instead of g_object_notify()
4558 * libnm-glib/nm-device.c
4559 - (demarshal_ip4_config): distinguish between successful but missing
4560 ip4-config request, and unsuccessful and missing ip4-config request
4561 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4563 - Use nm_object_queue_notify() instead of g_object_notify()
4565 * libnm-glib/nm-device-802-11-wireless.c
4566 - (demarshal_active_ap): distinguish between successfull but missing
4567 active-ap request, and unsuccessful and missing active-ap request
4568 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4570 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4571 for the NMClient to notify the device that wireless is disabled,
4572 and therefore to clear the AP list and active AP
4573 - Use nm_object_queue_notify() instead of g_object_notify()
4575 * libnm-glib/nm-client.c
4576 - (poke_wireless_devices_with_rf_status): new function
4577 - (update_wireless_status): notify wireless devices of the rfkill status
4578 so they can clean up if needed
4579 - Use nm_object_queue_notify() instead of g_object_notify()
4581 2008-03-25 Dan Williams <dcbw@redhat.com>
4583 * libnm-glib/nm-object.c
4584 libnm-glib/nm-object-private.h
4585 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4586 signals to an idle handler
4587 - (nm_object_get_property): add a timeout to the D-Bus method call
4589 2008-03-25 Dan Williams <dcbw@redhat.com>
4591 * introspection/nm-device-cdma.xml
4592 introspection/nm-device-gsm.xml
4593 introspection/Makefile.am
4594 introspection/all.xml
4595 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4597 * src/nm-gsm-device.h
4599 src/nm-cdma-device.h
4600 src/nm-cdma-device.c
4602 - Implement PropertiesChanged signals
4604 * libnm-glib/nm-cdma-device.c
4605 libnm-glib/nm-cdma-device.c
4606 - Attach to PropertiesChanged signals
4608 2008-03-24 Dan Williams <dcbw@redhat.com>
4610 * libnm-glib/nm-client.c
4611 - (client_device_added_proxy): add new devices to the internal device
4612 list so they appear to clients
4614 2008-03-24 Dan Williams <dcbw@redhat.com>
4616 Massive fixup of libnm-glib to:
4617 a) have all objects (with the exception of VPN) cache their properties and
4618 update them asynchronously on PropertiesChanged signals from NM
4619 b) return internal const data for most attributes/properties instead of
4620 allocated values that the caller must free
4621 c) cache wrapped objects such that a given D-Bus path will always map to the
4622 same GObject returned by libnm-glib
4623 d) remove a few signals and move them to GObject property notifications
4624 e) match recent NM D-Bus API changes for activation/deactivation
4625 f) remove some private functions from libnm-glib headers
4627 2008-03-20 Dan Williams <dcbw@redhat.com>
4630 - (nm_manager_update_state, manager_device_state_changed,
4631 nm_manager_activate_device, connection_added_default_handler,
4632 impl_manager_activate_connection, impl_manager_deactivate_connection):
4633 queue PropertyChanged singals when the active connections change
4635 2008-03-20 Dan Williams <dcbw@redhat.com>
4637 * introspection/nm-manager.xml
4638 introspection/nm-manager-client.xml
4639 - (ActivateConnection): return the object path of the active connection
4641 - (GetActiveConnections): remove
4642 - (DeactivateConnection): new function; deactivate a currently active
4644 - Add an ActiveConnections property which returns an array of
4645 active connection object paths
4647 * introspection/nm-device.xml
4648 - (Deactivate): remove
4650 * introspection/all.xml
4651 - Add ActiveConnection introspection
4653 * introspection/nm-active-connection.xml
4654 - Add the ActiveConnection object
4656 * include/NetworkManager.h
4657 - Add the Connection.Active D-Bus interface
4659 * src/nm-device-interface.c
4660 - (impl_device_deactivate): remove
4662 * src/nm-activation-request.c
4663 src/nm-activation-request.c
4665 - Implement the Connection.Active D-Bus interface
4668 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4669 - (nm_manager_activate_device): return the active connection path
4670 - (connection_added_default_handler, impl_manager_activate_connection):
4671 return the active connection to the caller
4672 - (add_one_connection_element, impl_manager_get_active_connections):
4674 - (impl_manager_deactivate_connection): new function; deactivate an
4677 * libnm-glib/nm-device.c
4678 libnm-glib/nm-device.h
4679 - Remove Deactivate() function
4681 2008-03-19 Dan Williams <dcbw@redhat.com>
4683 * introspection/nm-manager.xml
4684 introspection/nm-manager-client.xml
4685 - Rename the ActivateDevice method to ActivateConnection to better
4686 reflect it's usage; it's arguments get reordered a bit too
4687 - Convert GetActiveConnections method return from a struct to a dict
4689 * include/NetworkManager.h
4690 - Define the dict keys for return value of GetActiveConnections
4693 - impl_manager_activate_device -> impl_manager_activate_connection
4694 - (add_one_connection_element): return a populated hash table, not
4697 * libnm-glib/nm-client.c
4698 libnm-glib/nm-client.h
4699 - nm_client_activate_device -> nm_client_activate_connection
4700 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4701 - (nm_client_get_active_connections): return a GSList of GHashTables,
4702 instead of the custom structures. Each element of the returned list
4703 must be freed with nm_client_free_active_connections_element()
4705 2008-03-18 Dan Williams <dcbw@redhat.com>
4707 * system-settings/plugins/ifcfg-fedora/parser.c
4708 system-settings/plugins/ifcfg-fedora/parser.h
4709 system-settings/plugins/ifcfg-fedora/plugin.c
4710 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4711 profiles. DNS servers and searches must now be stored in the ifcfg
4714 2008-03-18 Tambet Ingo <tambet@gmail.com>
4716 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4717 print out username and password, it's supposed to be a secret.
4719 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4720 request and set the device state accordingly.
4722 2008-03-18 Tambet Ingo <tambet@gmail.com>
4724 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4726 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4728 2008-03-18 Dan Williams <dcbw@redhat.com>
4730 * src/vpn-manager/nm-vpn-connection.c
4731 - (get_secrets_cb): handle new GetSecrets return format
4733 2008-03-18 Dan Williams <dcbw@redhat.com>
4735 Adapt system settings service for split 802.1x.
4737 * system-settings/src/nm-system-config-interface.h
4738 - clarify return value of get_secrets()
4740 * system-settings/src/dbus-settings.c
4741 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4742 - (check_for_secrets): check if there actually secrets returned by a
4744 - (exported_connection_get_secrets): just return the plugin-returned
4745 hash of settings' secrets if it looks valid
4747 * system-settings/plugins/ifcfg-fedora/plugin.c
4748 - (get_secrets): add split secrets with correct format to reply hash
4750 * system-settings/plugins/ifcfg-fedora/parser.c
4751 system-settings/plugins/ifcfg-fedora/parser.h
4752 - (copy_one_cdata_secret, connection_data_copy_secrets,
4753 connection_data_free, connection_data_add): keep secrets for
4754 different settings in different hashes
4756 2008-03-17 Tambet Ingo <tambet@gmail.com>
4758 Clean up activating device deactivation.
4760 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4761 should be done whether the device activation gets cancelled or the device
4762 is just getting deactivated.
4763 (nm_device_activation_cancel): Remove.
4764 (nm_device_deactivate_quickly): Handle the case where device is activating.
4766 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4767 It does the exact same thing as real_deactivate_quickly().
4769 2008-03-17 Dan Williams <dcbw@redhat.com>
4771 Split the 802.1x bits out of the wireless-security setting so they are
4772 generalized enough for wired 802.1x to use too.
4774 * introspection/nm-exported-connection.xml
4775 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4776 of just a hash of the secrets for one setting
4778 * libnm-util/nm-setting-wireless-security.c
4779 libnm-util/nm-setting-wireless-security.h
4780 - Remove 802.1x-specific stuff
4781 - Added leap-username and leap-password properties for old-school LEAP
4785 - (connection_secrets_updated_cb): take a list of updated settings names,
4788 * src/supplicant-manager/nm-supplicant-config.c
4789 src/supplicant-manager/nm-supplicant-config.h
4790 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4791 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4792 to nm_supplicant_config_add_setting_8021x()
4793 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4794 the supplicant config
4796 * src/nm-device-802-11-wireless.c
4797 - (build_supplicant_config): pass in the 802.1x setting too, if any
4798 - (real_connection_secrets_updated): take a list of updated settings
4801 * src/nm-device-802-3-ethernet.c
4802 src/nm-cdma-device.c
4804 - (real_connection_secrets_updated_cb): take a list of updated settings
4807 * src/nm-activation-request.c
4808 src/nm-activation-request.h
4809 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4810 now passes a list of updated settings names, not just one
4811 - (update_one_setting): new function; handle one updated setting
4812 - (get_secrets_cb): handle multiple settings returned from the
4813 settings service; have to be careful of ordering here as there are
4814 some dependencies between settings (ex. wireless-security and 802.1x
4817 * src/marshallers/nm-marshal.list
4818 - new marshaller for connection-secrets-updated signal
4820 * libnm-util/nm-setting-8021x.c
4821 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4823 - (verify): a valid 'eap' property is now required
4825 * libnm-util/nm-connection.c
4826 - (register_default_settings): add priorities to settings; there are
4827 some dependencies between settings, and during the need_secrets
4828 calls this priority needs to be respected. For example, only the
4829 wireless-security setting knows whether or not the connection is
4830 going to use 802.1x or now, so it must be asked for secrets before
4831 any existing 802.1x setting is
4832 - (nm_connection_lookup_setting_type): expose
4834 * libnm-util/nm-setting-wireless.c
4835 - (verify): should verify even if all_settings is NULL; otherwise won't
4836 catch the case where there is missing security
4838 * libnm-util/nm-setting-wireless-security.c
4839 - Remove everything to do with 802.1x
4840 - Add old-school LEAP specific properties for username and password
4841 - (need_secrets): rework LEAP secrets checking
4842 - (verify): rework for LEAP and 802.1x verification
4844 2008-03-17 Dan Williams <dcbw@redhat.com>
4846 * src/NetworkManagerPolicy.c
4847 - (auto_activate_device): always remove the current activation check
4848 from the pending activation list, otherwise when the policy gets
4849 destroyed on NM exit it will attempt to free the already freed
4852 2008-03-14 Tambet Ingo <tambet@gmail.com>
4854 * src/backends/NetworkManagerSlackware.c
4855 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4857 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4859 2008-03-14 Dan Williams <dcbw@redhat.com>
4862 - (nm_device_interface_get_iface): g_object_get() will return an
4863 allocated value, so this function must not return const
4864 - (nm_device_interface_activate): free returned iface
4866 2008-03-14 Tambet Ingo <tambet@gmail.com>
4868 * libnm-util/Makefile.am: Add new files to build.
4870 * libnm-util/nm-connection.c: Register NMSetting8021x.
4872 * libnm-util/nm-setting-8021x.c
4873 * libnm-util/nm-setting-8021x.h: Implement.
4875 2008-03-14 Tambet Ingo <tambet@gmail.com>
4877 * libnm-util/Makefile.am: Add new files to build.
4879 * libnm-util/nm-connection.c: Register NMSetting8021x.
4881 * libnm-util/nm-setting-8021x.c
4882 * libnm-util/nm-setting-8021x.h: Implement.
4884 2008-03-14 Tambet Ingo <tambet@gmail.com>
4886 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4889 2008-03-14 Dan Williams <dcbw@redhat.com>
4891 * include/wireless-helper.h
4893 - One place for all the junk needed for #including wireless.h
4896 src/NetworkManagerAP.c
4899 libnm-util/nm-utils.c
4900 libnm-util/nm-setting-wireless.c
4901 libnm-glib/nm-device-802-11-wireless.c
4902 libnm-glib/nm-access-point.c
4903 libnm-glib/libnm-glib-test.c
4904 - include wireless-helper.h, not iwlib.h
4907 - Don't need libiw really, just need to check for wireless.h
4909 * src/kernel-types.h
4910 - Remove; used types moved into wpa.c
4912 * src/nm-device-802-11-wireless.c
4913 - (nm_device_802_11_wireless_update_signal_strength,
4914 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4915 nm_device_802_11_wireless_set_mode,
4916 nm_device_802_11_wireless_get_frequency,
4917 nm_device_802_11_wireless_get_ssid,
4918 nm_device_802_11_wireless_set_ssid,
4919 nm_device_802_11_wireless_get_bitrate,
4920 nm_device_802_11_wireless_get_bssid,
4921 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4922 instead of iwlib functions
4924 2008-03-14 Dan Williams <dcbw@redhat.com>
4926 * src/ppp-manager/nm-ppp-manager.c
4927 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4928 should only take the DBusGMethodInvocation argument, not user/pass
4929 too. With dbus-glib, async functions only take 2 C arguments since
4930 the real dbus method arguments get passed back with
4931 dbus_g_method_return()
4933 2008-03-13 Tambet Ingo <tambet@gmail.com>
4935 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4936 Adapt the changes of NMSettingIP4Config.
4938 2008-03-13 Dan Williams <dcbw@redhat.com>
4940 * src/NetworkManagerUtils.c
4941 src/NetworkManagerUtils.h
4942 - (nm_ether_ntop): replacement for iw_ether_ntop()
4944 * src/NetworkManagerAP.c
4945 src/nm-device-802-11-wireless.c
4946 src/nm-device-802-3-ethernet.c
4947 - s/iw_ether_ntop/nm_ether_ntop/g
4949 2008-03-13 Dan Williams <dcbw@redhat.com>
4951 * src/NetworkManagerPolicy.c
4952 - (update_routing_and_dns): never set the default route through an
4953 IPv4LL addressed device
4955 2008-03-13 Dan Williams <dcbw@redhat.com>
4957 * NetworkManagerUtils.c
4958 NetworkManagerUtils.h
4959 - Remove NMSock stuff
4960 - Remove the completion stuff
4965 NetworkManagerSystem.c
4967 nm-device-802-11-wireless.c
4968 nm-device-802-3-ethernet.c
4969 - Remove NMSock and completion stuff
4970 - Remove nm_ioctl_info()
4972 2008-03-12 Dan Williams <dcbw@redhat.com>
4975 - (merge_ip4_config): avoid duplicates
4977 2008-03-12 Dan Williams <dcbw@redhat.com>
4979 * libnm-util/nm-setting-ip4-config.c
4980 libnm-util/nm-setting-ip4-config.h
4981 - Remove 'manual' and 'autoip' properties
4982 - Add 'method' property
4983 - (verify): fix verification with 'method'
4984 - (finalize): free 'method'
4985 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4989 - (real_act_stage3_ip_config_start): check IP4Config method
4990 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4992 - (merge_ip4_config): IP settings are valid with DHCP too
4993 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4994 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4996 * src/nm-device-802-11-wireless.c
4997 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4998 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
5001 * system-settings/plugins/ifcfg-fedora/parser.c
5002 system-settings/plugins/ifcfg-suse/parser.c
5003 - (make_ip4_setting): fix up for 'method'
5005 2008-03-12 Dan Williams <dcbw@redhat.com>
5007 * system-settings/plugins/ifcfg-fedora/parser.c
5008 system-settings/plugins/ifcfg-fedora/parser.h
5009 - (get_ifcfg_name): ignore more file suffixes
5010 - (is_wireless_device): fix check for ifcfgs that have no TYPE
5012 2008-03-12 Dan Williams <dcbw@redhat.com>
5015 - Bring in the bits of gnome-common we actually use (all 15 lines)
5017 2008-03-12 Dan Williams <dcbw@redhat.com>
5019 * system-settings/plugins/ifcfg-fedora/plugin.c
5020 - (write_auto_wired_connection): new function; write out an auto
5021 wired connection file since the applet isn't doing it any more
5022 - (reload_all_connections): write out the auto wired connection file
5023 if there aren't any wired connections already
5024 - (init): don't leak a GError
5026 2008-03-12 Dan Williams <dcbw@redhat.com>
5028 * src/nm-device-interface.c
5029 - (nm_device_interface_activate): print the ID of the connection
5030 that's about to be activated
5032 2008-03-12 Dan Williams <dcbw@redhat.com>
5034 Harmonize the 802.11 bitrate API
5036 * introspection/nm-access-point.xml
5037 - 'Rate' -> 'MaxBitrate'; clarify units
5039 * introspection/nm-device-802-11-wireless.xml
5040 - Clarify units of 'Bitrate'
5042 * src/NetworkManagerAP.c
5043 src/NetworkManagerAP.h
5044 - (set_property, get_property, nm_ap_class_init): rename 'rate'
5045 property to 'max-bitrate'
5046 - (foreach_property_cb): convert rate to Kb/s
5048 * src/nm-device-802-11-wireless.c
5049 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
5051 * libnm-glib/nm-access-point.c
5052 libnm-glib/nm-access-point.h
5053 - 'rate' -> 'max-bitrate'
5056 libnm-glib/libnm-glib-test.c
5057 - Fix up for these changes
5059 2008-03-12 Dan Williams <dcbw@redhat.com>
5062 - (nm_device_set_ip4_config): don't send property notifications when
5063 the ip4 config is set to NULL; it causes a PropertyChanged signal
5064 which dbus-glib can't parse because the value is NULL, which isn't
5065 a legal object path. Setting the IP4 config to NULL is only
5066 valid when deactivating a device anyway, so the device state change
5067 will alert listeners that the ip4 config is invalid.
5069 2008-03-12 Dan Williams <dcbw@redhat.com>
5071 * src/nm-properties-changed-signal.c
5072 - (add_to_string): better handling of NULL objects
5074 2008-03-12 Dan Williams <dcbw@redhat.com>
5076 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
5077 convert the libnm-glib NMDevice8023Ethernet to cached properties
5079 * introspection/nm-device-802-3-ethernet.xml
5080 - New 'Carrier' property
5081 - New 'PropertiesChanged' signal
5083 * introspection/nm-device.xml
5084 - Remove 'Carrier' property
5085 - Remove 'CarrierChanged' signal
5087 * src/nm-device-interface.c
5088 src/nm-device-interface.h
5089 - (nm_device_interface_init): remove 'carrier' property and
5090 'carrier-changed' signal
5094 - (nm_device_get_carrier, nm_device_set_carrier): remove
5095 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
5096 the link here; wired device will handle that
5097 - (handle_dhcp_lease_change): don't bother updating link here
5098 - (get_property, nm_device_class_init): remove carrier property
5100 * src/nm-device-802-11-wireless.c
5101 - (real_update_link, nm_device_802_11_wireless_class_init): remove
5102 real_update_link(); wireless devices don't use carrier at all
5103 - (link_timeout_cb, supplicant_iface_state_cb_handler,
5104 supplicant_iface_connection_state_cb_handler,
5105 supplicant_mgr_state_cb_handler): remove anything to do with carrier
5107 * src/nm-device-802-3-ethernet.c
5108 src/nm-device-802-3-ethernet.h
5109 - (nm_device_802_3_ethernet_carrier_on,
5110 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
5111 instead of nm_device_set_carrier()
5112 - (device_state_changed): update link from sysfs on activation;
5113 replaces real_update_link()
5114 - (real_update_link): remove, replaced by device_state_changed()
5115 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
5116 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
5117 - (real_get_generic_capabilities, real_can_interrupt_activation): use
5118 new get_carrier function
5119 - (get_property): add 'carrier' property
5120 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
5121 hook into property-changed signal helper
5123 * src/NetworkManagerPolicy.c
5124 - (device_carrier_changed): will only ever be called with a wired device
5125 - (device_added): only hook up to carrier-changed for wired devices
5127 * libnm-glib/nm-device.c
5128 libnm-glib/nm-device.h
5129 - (constructor, nm_device_class_init): remove carrier-changed signal
5130 - (device_carrier_changed_proxy): remove; unused
5131 - (nm_device_get_carrier): remove; carrier a property of wired devices
5133 * libnm-glib/nm-device-802-3-ethernet.c
5134 libnm-glib/nm-device-802-3-ethernet.h
5135 - Convert to cached properties like AP and Wireless objects
5136 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
5137 instead of a 'char *', return value should not be freed
5138 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
5139 - (constructor): hook into properties-changed helper
5140 - (set_property, get_property): new functions
5141 - (nm_device_802_3_ethernet_class_init): export GObject properties
5144 - (detail_device): strdup the wired hardware address too since it's
5147 * libnm-glib/libnm-glib-test.c
5148 - (dump_wired): strdup the wired hardware address too since it's
5151 2008-03-12 Dan Williams <dcbw@redhat.com>
5153 * libnm-util/nm-setting-ip4-config.c
5154 libnm-util/nm-setting-ip4-config.h
5155 - (set_property, get_property, nm_setting_ip4_config_class_init): add
5156 the 'autoip' property from the spec
5158 2008-03-11 Dan Williams <dcbw@redhat.com>
5160 * src/backends/NetworkManagerGeneric.c
5161 src/backends/NetworkManagerGeneric.h
5162 - (nm_generic_device_get_use_dhcp): remove
5164 2008-03-11 Dan Williams <dcbw@redhat.com>
5167 - (nm_device_deactivate): don't need to munge DNS here; that gets done
5168 already in nm_device_set_ip4_config()
5169 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
5170 due to a DHCP rebind fails
5171 - (nm_device_set_ip4_config): send property notifications when the
5173 - (get_property): only report IP4Config property during valid states
5175 * src/NetworkManagerPolicy.c
5176 - (update_routing_and_dns): ignore devices that don't have an ip4
5177 config; add parameter 'force_update' to allow callers to specify
5178 that changes should be made even if the default device doesn't change
5179 - (device_ip4_config_changed): update DNS and routing when the device's
5180 IP4Config changes, like for DHCP updates
5181 - (device_added): listen for ip4-config property changes
5183 2008-03-11 Dan Williams <dcbw@redhat.com>
5185 Fix address handling as a result of DHCP rebind/renew/reboot.
5187 * src/NetworkManagerSystem.c
5188 - (check_one_address): delete an address if it doesn't match a given
5189 one for the same interface
5190 - (nm_system_device_set_from_ip4_config): don't flush the default route,
5191 be smarter about flushing addresses (only flush ones that don't
5192 match the one we're about to apply)
5194 * src/backends/NetworkManagerDebian.c
5195 src/backends/NetworkManagerSuSE.c
5196 src/backends/NetworkManagerArch.c
5197 src/backends/NetworkManagerSlackware.c
5198 src/backends/NetworkManagerRedHat.c
5199 src/backends/NetworkManagerPaldo.c
5200 src/backends/NetworkManagerFrugalware.c
5201 src/backends/NetworkManagerGentoo.c
5202 - (nm_system_delete_default_route): remove
5204 * src/backends/NetworkManagerGeneric.c
5205 src/backends/NetworkManagerGeneric.h
5206 - (nm_generic_enable_loopback): fix the loopback device label
5207 - (nm_generic_delete_default_route): remove; no longer used
5209 2008-03-11 Dan Williams <dcbw@redhat.com>
5211 * src/nm-device-interface.h
5212 - Delimit property name words with '-', otherwise g_object_notify()
5213 doesn't work the way we expect
5215 2008-03-11 Tambet Ingo <tambet@gmail.com>
5217 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
5219 2008-03-11 Dan Williams <dcbw@redhat.com>
5221 * src/NetworkManagerPolicy.c
5222 - (update_routing_and_dns): don't change anything if the default device
5223 hasn't changed; print something out when switching the default route
5226 2008-03-10 Tambet Ingo <tambet@gmail.com>
5230 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
5231 setting. Use "nic-$eth".
5233 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
5234 the device is activating here to fix a race condition.
5236 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
5238 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
5239 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
5240 (nm_ppp_manager_start): Take activation request instead of connection, we might
5241 need it for asking secrets.
5242 (nm_ppp_manager_update_secrets): Implement.
5244 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
5245 ppp manager start. It might be needed for asking secrets.
5247 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
5248 (ppp_state_changed): Handle pppd daemon disappearing.
5249 (pppoe_stage2_config): Send activation request to ppp manager start.
5251 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
5253 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
5254 username and password.
5256 2008-03-10 Dan Williams <dcbw@redhat.com>
5259 - (handle_dhcp_lease_change): apply an IP4 config to a device in
5260 response to a DHCP lease change
5261 - (dhcp_state_changed): handle DHCP lease changes while activated
5262 - (nm_device_set_ip4_config): remove a previously set named config
5263 when setting an ip4 config
5265 2008-03-10 Dan Williams <dcbw@redhat.com>
5267 * src/nm-serial-device.c
5268 - (nm_serial_device_send_command): report errno on error
5269 - (get_reply_got_data): limit the size of the overall buffer
5270 - (wait_for_reply_info_destroy): destroy result string
5271 - (wait_for_reply_got_data): append received data to an overall buffer
5272 until timeout, filled buffer, or error instead of keeping a per-call
5273 buffer. Some devices send data slowly enough that this function
5274 gets called multiple times for the same command stream.
5275 - (nm_serial_device_wait_for_reply): initialize overall buffer for
5276 wait_for_reply_got_data() here
5278 2008-03-10 Dan Williams <dcbw@redhat.com>
5280 * src/nm-cdma-device.c
5281 - (do_dial, init_modem): handle errors from
5282 nm_serial_device_send_command_string()
5284 * src/nm-gsm-device.c
5285 - (do_dial, manual_registration, automatic_registration_get_network,
5286 automatic_registration, enter_pin, check_pin, init_modem): handle
5287 errors from nm_serial_device_send_command_string()
5289 2008-03-10 Dan Williams <dcbw@redhat.com>
5291 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
5293 * src/named-manager/nm-named-manager.c
5294 - (compute_searches): prefer searches before domains
5295 - (compute_domain): new function
5296 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
5297 - (merge_one_ip4_config): if there are no searches in the source config,
5298 merge domains of the source config into the target config
5299 - (compute_nameservers): make formatting of resolv.conf a bit nicer
5301 2008-03-10 Dan Williams <dcbw@redhat.com>
5303 * src/nm-serial-device.c
5304 - (get_reply_got_data): clean up indentation, shrink serial buffer
5305 - (wait_for_reply_got_data): try to handle slower serial devices where
5306 the reply is broken up into multiple reads by concatenating replies
5307 together until either an error is received or the search string is
5310 2008-03-10 Dan Williams <dcbw@redhat.com>
5313 - (nm_device_bring_down): deactivate the device if it's activating too,
5314 not just if it's already activated. This makes sure that everything
5315 from an association attempt is cleaned up (like DHCP for example)
5317 2008-03-10 Dan Williams <dcbw@redhat.com>
5319 * src/nm-serial-device.c
5320 - (config_fd): report error from TCSETA
5321 - (nm_serial_device_open): fail when config_fd() fails
5323 2008-03-10 Dan Williams <dcbw@redhat.com>
5325 * src/nm-ip4-config.c
5326 - (nm_ip4_config_init): allocate searches list
5327 - (finalize): free searches list
5329 2008-03-09 Dan Williams <dcbw@redhat.com>
5331 Patch from Bas Zoetekouw <bas@debian.org>
5333 * src/dhcp-manager/nm-dhcp-manager.c
5334 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5336 2008-03-09 Dan Williams <dcbw@redhat.com>
5338 Patch from Bas Zoetekouw <bas@debian.org>
5340 * src/nm-ip4-config.c
5342 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5343 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5344 domains. 'searches' is the correct way to store multiple search
5345 domains, whereas 'domains' is really just supposed to store one
5346 domain. Some sites abuse the DHCP 'domain-name' option to push
5347 search domains to the client.
5348 - (nm_ip4_config_add_domain): group with related functions (my patch)
5350 2008-03-09 Dan Williams <dcbw@redhat.com>
5352 * src/dhcp-manager/nm-dhcp-manager.c
5353 - (dhclient_run): send interface-specific config files to dhclient
5355 2008-03-07 Dan Williams <dcbw@redhat.com>
5357 * system-settings/plugins/ifcfg-fedora/parser.c
5358 - (is_wireless_device): new function; test a device for wireless
5360 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5361 test the device for wireless extensions to determine the type
5363 2008-03-07 Dan Williams <dcbw@redhat.com>
5365 Change manager's StateChange signal to StateChanged for consistency.
5367 * introspection/nm-manager.xml
5368 - Add 'StateChanged' signal
5369 - Move 'StateChange' down to the deprecated section
5371 * src/nm-hal-manager.c
5372 - (nm_hal_manager_new): connect to 'state-changed' instead
5374 * src/NetworkManagerPolicy.c
5375 - (nm_policy_new): connect to 'state-changed' instead
5379 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5380 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5383 * libnm-glib/nm-client.c
5384 libnm-glib/nm-client.h
5385 - (constructor, nm_client_class_init, client_state_changed_proxy):
5386 track and proxy 'state-changed' instead of 'state-change'
5388 2008-03-07 Dan Williams <dcbw@redhat.com>
5390 First pass of multiple active device support. Expect bugs.
5392 * src/nm-ip4-config.c
5394 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5395 there are better ways to do this in the named manager
5399 - (nm_device_can_activate): return whether the device can activate a
5400 connection right now; taking into account things like carrier state
5402 - (nm_device_get_best_auto_connection): renamed from
5403 nm_device_get_best_connection
5404 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5405 device subclasses themselves, so that each device can override the
5406 MTU from it's NMSetting subclass if needed
5407 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5408 in NetworkManagerSystem.c, not here
5410 * src/named-manager/nm-named-manager.c
5411 src/named-manager/nm-named-manager.h
5412 - (nm_named_manager_name_owner_changed,
5413 nm_named_manager_dbus_connection_changed): fix for changes to
5414 rewrite_resolv_conf()
5415 - (compute_nameservers): don't need the NMNamedManager at all, remove
5417 - (merge_one_ip4_config): new function; merge ip4 configs together
5418 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5419 ip4 configs; the VPN config takes precedence, then the best
5420 device config, then the rest of the configs
5421 - (get_domain_for_config): take the NMNamedManager as an argument
5422 to check whether the config is the VPN config
5423 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5424 attribute from ip4 configs
5425 - (add_all_ip4_configs_to_named): add all the configs in priority order
5426 - (remove_ip4_config_from_named): fix for changes to
5427 get_domain_for_config()
5428 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5429 based on its type; callers must pass in the type now
5430 - (get_last_default_domain): remove, unused
5431 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5433 * src/nm-device-802-11-wireless.c
5434 - (real_can_activate): new function
5435 - (real_get_best_auto_connection): renamed from real_get_best_connection
5436 - (real_act_stage4_get_ip4_config): handle MTU override
5438 * src/nm-device-802-3-ethernet.c
5439 - (real_can_activate): new function
5440 - (real_get_best_auto_connection): renamed from real_get_best_connection
5441 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5443 * src/vpn-manager/nm-vpn-connection.c
5444 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5445 attribute on the ip4 config
5447 * src/NetworkManagerPolicy.c
5448 - (nm_policy_auto_get_best_device): remove
5449 - (nm_policy_device_change_check): remove
5450 - (update_default_route): new function; set the default route via
5451 the specified device
5452 - (get_device_priority): new function; return the priority number of
5453 a device type WRT which one should have the default route. Order is
5454 (highest to lowest) wired, wireless, GSM, CDMA.
5455 - (update_routing_and_dns): new function; determine which device should
5456 have the default route, then update the routing table and DNS
5457 - (maybe_auto_activate_device): new function; if a device is now
5458 available for activation, find out what connection it would like to
5460 - (schedule_activate_check): new function; if a device can be activated
5461 now, schedule the activation. Each device may have only one
5462 pending activation at a given time.
5463 - (device_state_changed): if activation was canceled, try again,
5464 possibly with another connection; if the device was activated,
5465 update routing and DNS; if the device was deactivated, try again
5466 with another connection
5467 - (device_carrier_changed): if there is no carrier, deactivate the
5468 device; otherwise schedule an activation check for the device
5469 - (wireless_networks_changed): schedule an activation check for the
5471 - (device_added): keep track of the signal handler IDs so they can
5472 be removed when the device goes away
5473 - (device_removed): remove any signal handlers that might be attached
5474 to the device; update routing and DNS
5475 - (schedule_activate_all): new function
5476 - (connections_added, connection_added, connection_updated): when
5477 connections change, schedule all devices for an activation check
5478 - (connection_removed): when a device is deactivated because its
5479 connection was removed, schedule another activation check for it
5480 - (nm_policy_destroy): destroy pending activations and disconnect
5481 all device signal handlers
5484 - (nm_manager_activate_device): if the device was already actived,
5486 - (deactivate_old_device): remove
5487 - (connection_added_default_handler, impl_manager_activate_device):
5488 don't deactivate other devices when activating this one
5490 * src/backends/NetworkManagerGentoo.c
5491 src/backends/NetworkManagerFrugalware.c
5492 src/backends/NetworkManagerPaldo.c
5493 src/backends/NetworkManagerRedHat.c
5494 src/backends/NetworkManagerSlackware.c
5495 src/backends/NetworkManagerArch.c
5496 src/backends/NetworkManagerSuSE.c
5497 src/backends/NetworkManagerDebian.c
5498 - (nm_system_get_mtu): remove; MTU should be provided through the
5499 distro's system settings service plugin instead
5500 - (nm_system_device_add_default_route_via_device): remove
5501 - (nm_system_device_add_default_route_via_device_with_iface): remove
5502 - (nm_system_device_replace_default_route): new function; call
5503 generic implementation
5505 * src/backends/NetworkManagerGeneric.c
5506 src/backends/NetworkManagerGeneric.h
5507 - (nm_generic_device_add_default_route_via_device,
5508 nm_generic_device_add_default_route_via_device_with_iface): remove
5509 - (nm_generic_device_replace_default_route): replace the default route
5510 with the given route via some gateway
5512 * src/NetworkManagerSystem.c
5513 src/NetworkManagerSystem.h
5514 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5515 to routing and DNS; but set the MTU here
5516 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5517 ip_iface of the active device; use the standard MTU setting function
5518 - (nm_system_set_mtu): remove
5519 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5521 2008-03-07 Tambet Ingo <tambet@gmail.com>
5523 Rework the interaction between ppp manager and pppd plugin. Register a well
5524 known DBUS service in manager and let the plugin call it's methods instead
5525 of listening plugin's signals.
5527 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5528 of emitting signals.
5530 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5532 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5534 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5535 nm_ppp_manager_start().
5537 * introspection/nm-ppp-manager.xml: New file.
5539 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5540 the case correctly where driver is trying to send -1 for the speed, which gets
5541 casted to u16 and thus is always > 0.
5543 2008-03-07 Dan Williams <dcbw@redhat.com>
5545 * src/nm-hal-manager.c
5546 - (nm_get_device_driver_name): use net.originating_device first, fall
5547 back to physical device. HAL has deprecated physical_device.
5549 * libnm-glib/nm-device.c
5550 - (get_product_and_vendor): use net.originating_device first, fall
5551 back to physical device. HAL has deprecated physical_device.
5552 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5554 2008-03-07 Dan Williams <dcbw@redhat.com>
5557 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5558 last commit; fix that
5559 - (get_link_cache): print error string
5561 2008-03-07 Dan Williams <dcbw@redhat.com>
5564 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5565 don't need this hack any more (Benoit Boissinot)
5567 2008-03-06 Dan Williams <dcbw@redhat.com>
5570 - Die gnome-common, die
5572 2008-03-04 Dan Williams <dcbw@redhat.com>
5574 Patch from Michael Biebl <biebl@debian.org>
5576 * NetworkManager.pc.in
5577 - doesn't actually depend on dbus-1
5579 * libnm-util/nm-utils.h
5580 - remove unused #include <dbus/dbus.h>
5582 * libnm-glib/libnm_glib.pc.in
5583 - depends on glib and dbus-glib
5585 2008-03-02 Dan Williams <dcbw@redhat.com>
5587 * src/NetworkManagerPolicy.c
5588 - s/device_state_changed_idle_id/update_state_id/
5590 2008-03-02 Dan Williams <dcbw@redhat.com>
5594 src/nm-device-802-11-wireless.c
5595 src/nm-device-802-3-ethernet.c
5596 src/NetworkManagerPolicy.c
5597 - s/link_active/carrier
5598 - nm_device_set_active_link() -> nm_device_set_carrier()
5599 - nm_device_has_active_link() -> nm_device_get_carrier()
5601 2008-03-02 Dan Williams <dcbw@redhat.com>
5603 * system-settings/plugins/ifcfg-fedora/parser.c
5604 - (make_wireless_setting): fail connection creation on missing SSID
5606 2008-02-29 Dan Williams <dcbw@redhat.com>
5608 * src/NetworkManagerPolicy.c
5609 - (nm_policy_device_change_check): ensure that a previously active
5610 device with a system connection has a link before denying a switch
5611 to a user connection
5613 2008-02-29 Dan Williams <dcbw@redhat.com>
5615 * src/nm-device-802-11-wireless.c
5616 - (link_timeout_cb): try again if scanning; deactivate the device when
5617 activated if the link dies
5618 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5621 2008-02-29 Dan Williams <dcbw@redhat.com>
5623 * src/nm-device-802-11-wireless.c
5624 src/nm-device-802-11-wireless.h
5625 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5626 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5627 - (device_cleanup): reset the scan interval lower when the device
5629 - (can_scan): base decision mostly off device state, not supplicant
5630 interface state since the supplicant interface state isn't a
5631 great indicator of whether the device is active or not
5632 - (request_wireless_scan): clean up; schedule the next scan here
5633 - (schedule_scan): only back the scan interval off if a new scan
5634 actually gets scheduled; and make scan intervals tighter when the
5635 device is disconnected
5636 - (supplicant_iface_state_cb_handler): fold in the bits of
5637 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5639 - (activation_success_handler): reset scan interval to something
5642 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5644 reviewed by: Steev <steev@steev.net>
5647 * src/backends/NetworkManagerGentoo.c:
5648 (nm_system_restart_mdns_responder):
5649 Howl is no longer a supported mDNS provider
5651 2008-02-28 Tambet Ingo <tambet@gmail.com>
5653 Get rid of a bunch of unused distro specific functions.
5655 2008-02-28 Tambet Ingo <tambet@gmail.com>
5657 Implement suse plugin for system settings daemon.
5659 * system-settings/plugins/ifcfg-suse/*: Implement.
5661 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5664 * configure.in: Check (without failing) for gio.
5665 Create ifcfg-suse plugin's Makefile.
5667 2008-02-20 Dan Williams <dcbw@redhat.com>
5669 * libnm-util/nm-connection.c
5670 libnm-util/nm-connection.h
5671 - (nm_connection_compare): accept compare flags and pass them to the
5672 setting compare function
5674 * libnm-util/nm-setting.c
5675 libnm-util/nm-setting.h
5676 - (nm_setting_compare): accept compare flags; ignore properties that are
5679 * libnm-util/nm-setting-connection.c
5680 libnm-util/nm-setting-wireless.c
5681 libnm-util/nm-setting-ppp.c
5682 libnm-util/nm-setting-wired.c
5683 - Mark some setting properties as ignorable when doing a fuzzy compare
5686 - (device_activation_precheck): use exact compare
5688 2008-02-20 Dan Williams <dcbw@redhat.com>
5690 * src/NetworkManagerPolicy.c
5691 - (nm_policy_device_change_check): get scope off the connection, not
5692 using the manager helper
5696 - (get_scope_for_proxy): rename from get_type_for_proxy()
5697 - (connection_get_settings_cb): set scope and path on connection, not
5698 using GObject data items
5699 - (get_connection_for_proxy): don't need to return path, since that
5700 can be gotten from the connection
5701 - (get_connection_for_proxy): get path off the connection, not from
5703 - (connection_removed_cb, connection_updated_cb): don't need to get
5704 path from get_connection_for_proxy(); get scope off the connection
5705 instead of using GObject data items
5706 - (connection_added_default_handler, add_one_connection_element): use
5707 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5708 - (nm_manager_get_connection_dbus_path): remove
5709 - (nm_manager_get_connection_scope): remove
5711 2008-02-20 Dan Williams <dcbw@redhat.com>
5713 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5716 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5717 applet were having to hack this in anyway. Remove the 'path' stuff from
5718 NMExportedConnection
5720 * Internally rename NMConnectionType -> NMConnectionScope
5722 * Provide default implementations of the 'get_id' and 'get_settings' methods
5723 of NMExportedConnection
5725 2008-02-15 Dan Williams <dcbw@redhat.com>
5727 * src/nm-device-802-11-wireless.c
5728 - (device_cleanup): release the AP list here too so that the AP list
5729 doesn't survive across suspend/resume and up/down. There is some
5730 room for optimization, for example blow the list away when the card
5731 brought back up, but only if the device has only been down for a
5734 2008-02-15 Dan Williams <dcbw@redhat.com>
5736 * src/nm-hal-manager.c
5737 - (modem_device_creator): recognize new HAL modem capabilities
5739 2008-02-12 Dan Williams <dcbw@redhat.com>
5741 * system-settings/plugins/ifcfg-fedora/plugin.c
5742 - (watch_path): handle IN_DELETE_SELF too
5743 - (handle_connection_changed): notify when removing a connection
5744 - (stuff_changed): don't warn on unknown inotify watches; handle the
5745 case of a file moving out of the profile directory
5747 2008-02-12 Dan Williams <dcbw@redhat.com>
5749 * system-settings/plugins/ifcfg-fedora/parser.c
5750 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5752 2008-02-12 Dan Williams <dcbw@redhat.com>
5754 * libnm-util/nm-utils.c
5755 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5756 just any empty array
5758 2008-02-12 Dan Williams <dcbw@redhat.com>
5760 * system-settings/src/nm-system-config-interface.c
5761 system-settings/src/nm-system-config-interface.h
5762 - (load_connections): get_connections() should now return an allocated
5763 GSList that the system settings service will free
5765 * system-settings/plugins/ifcfg-fedora/plugin.c
5766 system-settings/plugins/ifcfg-fedora/parser.h
5767 system-settings/plugins/ifcfg-fedora/parser.c
5768 - Fix up inotify issues; handle keys-* files, handle new files appearing
5769 in the profile directory, handle resolv.conf file changes
5771 2008-02-10 Dan Williams <dcbw@redhat.com>
5773 * src/nm-device-802-3-ethernet.c
5774 - (real_bring_up): save the supplicant interface state signal id
5775 - (real_bring_down): disconnect from the supplicant interface state
5778 2008-02-07 Dan Williams <dcbw@redhat.com>
5780 * initscript/RedHat/NetworkManager.in
5781 initscript/RedHat/NetworkManagerDispatcher.in
5782 - Add new-style LSB init headers
5784 2008-02-07 Dan Williams <dcbw@redhat.com>
5786 * system-settings/src/dbus-settings.c
5787 system-settings/src/dbus-settings.h
5788 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5790 - (connection_settings_get_secrets): consolidate error returns into
5791 one place; use the new get_secrets() plugin interface function to
5792 get secrets from the plugin itself rather than using GObject data
5795 * system-settings/src/main.c
5796 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5797 load_connections): keep a private list of the plugin-returned
5798 connections, don't use the plugin's GSList
5800 * system-settings/plugins/ifcfg-fedora/plugin.c
5801 - (watch_path): watch the path, not the filename (duh)
5802 - (reload_all_connections): use the direct hash/equal functions; the
5803 ones for int aren't appropriate here
5804 - (get_secrets, system_config_interface_init): implement the
5805 get_secrets() function
5806 - (build_one_connection, find_connection_by_path): ifcfg file path is
5807 now in the connection's ConnectionData instead of being a GObject
5809 - (handle_profile_item_changed): ifcfg file path is now in the
5810 connection's ConnectionData instead of being a GObject data property;
5811 be sure to copy secrets over from the new connection to the existing
5812 connection when updating the connection's settings
5813 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5816 * system-settings/plugins/ifcfg-fedora/parser.c
5817 system-settings/plugins/ifcfg-fedora/parser.h
5818 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5819 connection_data_copy_secrets, connection_data_free,
5820 connection_data_add): new functions; connection data manipulation
5821 - (make_wireless_security_setting): stuff secrets into the
5822 connection data, not as GObject data items; make sure to close
5824 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5825 connection data to the connection
5827 2008-02-07 Dan Williams <dcbw@redhat.com>
5829 * system-settings/src/nm-system-config-interface.c
5830 system-settings/src/nm-system-config-interface.h
5831 - Add a get_secrets() interface function to retrieve secrets for a
5832 specific setting of a specific connection. Document the interface
5835 2008-02-07 Dan Williams <dcbw@redhat.com>
5837 * src/nm-device-802-11-wireless.c
5838 - (handle_auth_or_fail): new function; consolidate device activation
5839 failure check after a certain number of failures getting secrets
5840 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5841 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5842 the connection if secrets were requested more than a few times
5843 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5844 tries here; otherwise they are cleared before the IP configure
5845 timeout, which happens with open system WEP when key is wrong
5846 - (activation_success_handler): clear wireless secrets tries here too
5848 2008-02-07 Dan Williams <dcbw@redhat.com>
5850 * src/NetworkManagerPolicy.c
5851 - (connection_updated): clear invalid tag when connection gets updated
5852 to allow that connection to be tried again
5853 - (nm_policy_new): save signal ids so they can be disconnected when
5854 the policy is destroyed
5855 - (nm_policy_destroy): stop any in-progress state change idle handler,
5856 and disconnect all signals from the manager object so that none
5857 of the policy functions gets called after the policy is destroyed
5859 2008-02-06 Dan Williams <dcbw@redhat.com>
5862 - (finalize): remove devices a bit earlier; clean up system settings
5864 - (nm_manager_name_owner_changed): clean up system settings poke when
5865 the service appears, and try to restart it if it fails
5866 - (poke_system_settings_daemon_cb): try to get the system settings
5867 service started through D-Bus service activation
5868 - (initial_get_connections): start the system settings daemon if it's
5871 2008-02-05 Dan Williams <dcbw@redhat.com>
5873 * src/supplicant-manager/nm-supplicant-config.c
5874 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5875 broadcast networks too
5877 2008-02-04 Dan Williams <dcbw@redhat.com>
5879 * system-settings/plugins/ifcfg-fedora/parser.c
5880 - (make_wireless_security_setting): fix spelling; unencrypted networks
5881 need key_mgmt set too
5882 - (parser_parse_file): validate ifcfg file name and don't try to parse
5883 .bak files; ensure that an error is set whenever NULL gets returned
5885 2008-02-04 Dan Williams <dcbw@redhat.com>
5887 * system-settings/src/Makefile.am
5888 - Install D-Bus service activation file for the system settings
5891 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5892 - D-Bus service activation file for system settings service
5894 2008-02-04 Dan Williams <dcbw@redhat.com>
5896 * system-settings/src/main.c
5897 - (parse_config_file): parse a config file
5898 - (main): accept --config option and read plugins from config file
5900 2008-02-04 Dan Williams <dcbw@redhat.com>
5902 * system-settings/plugins/ifcfg-fedora/plugin.c
5903 - Change reported name to 'ifcfg-fedora'
5904 - Use IFCFG_PLUGIN_NAME
5906 * system-settings/plugins/ifcfg-fedora/plugin.c
5907 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5909 2008-02-04 Dan Williams <dcbw@redhat.com>
5911 * system-settings/plugins/ifcfg-fedora/parser.c
5912 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5913 - (make_connection_setting): use get_ifcfg_name()
5914 - (make_wireless_security_setting): handle shadow key files
5915 - (get_one_wep_key): treat empty string as NULL
5917 2008-02-04 Dan Williams <dcbw@redhat.com>
5919 * src/supplicant-manager/nm-supplicant-manager.c
5920 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5921 glib automatically reschedule
5922 - (nm_supplicant_manager_init): immediately try to start the supplicant
5923 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5926 2008-02-01 Dan Williams <dcbw@redhat.com>
5928 * src/NetworkManagerPolicy.c
5929 - (device_state_changed): schedule a change check when a device gets
5930 deactivated so something happens if you disconnect GSM/CDMA
5932 2008-01-31 Dan Williams <dcbw@redhat.com>
5934 * src/nm-device-802-11-wireless.h
5935 src/nm-device-802-11-wireless.c
5936 - (ap_list_get_ap_by_ssid, is_associated,
5937 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5938 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5939 - (nm_device_802_11_wireless_get_activation_ap): collapse
5940 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5943 2008-01-30 Dan Williams <dcbw@redhat.com>
5945 * system-settings/plugins/ifcfg
5946 * system-settings/plugins/ifcfg-fedora
5947 - Move the ifcfg plugin to ifcfg-fedora
5949 2008-01-24 Dan Williams <dcbw@redhat.com>
5951 * libnm-glib/nm-device-802-11-wireless.c
5952 - (get_access_point): move the "/" check here; check for invalid path
5954 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5955 to get_access_point()
5956 - (access_point_added_proxy, access_point_removed_proxy): don't try
5957 to send signals for non-existent access points
5959 2008-01-24 Dan Williams <dcbw@redhat.com>
5961 * libnm-glib/nm-device-802-11-wireless.c
5962 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5964 2008-01-23 Dan Williams <dcbw@redhat.com>
5966 * libnm-glib/libnm_glib.c
5967 - (libnm_glib_init): make thread joinable
5968 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5970 2008-01-23 Dan Williams <dcbw@redhat.com>
5972 * test/libnm_glib_test.c
5973 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5974 - (main): set up signal handlers; call libnm_glib_shutdown
5976 2008-01-21 Dan Williams <dcbw@redhat.com>
5978 * include/NetworkManager.h
5979 - Add CDMA mobile broadband card device type
5981 * src/nm-hal-manager.c
5982 - (modem_device_creator): handle both CDMA and GSM modems; the device
5983 must now be tagged with 'cdma' or 'gsm' capability
5985 * src/nm-cdma-device.c
5986 src/nm-cdma-device.h
5988 - Add the CDMA mobile broadband card device class
5990 * libnm-util/nm-connection.c
5991 - (register_default_settings): add NMSettingCdma
5993 * libnm-util/nm-setting-cdma.c
5994 libnm-util/nm-setting-cdma.h
5995 libnm-util/Makefile.am
5996 - Add the CDMA mobile broadband card setting class
5998 * libnm-glib/nm-cdma-device.c
5999 libnm-glib/nm-cdma-device.h
6000 libnm-glib/Makefile.am
6001 - Add the CDMA mobile broadband card GLib proxy class
6003 * libnm-glib/nm-client.c
6004 - (get_device): handle CDMA devices too
6006 2008-01-21 Dan Williams <dcbw@redhat.com>
6008 * src/ppp-manager/nm-ppp-manager.c
6009 - (ip4_config_get): set peer address too
6011 * src/ppp-manager/nm-pppd-plugin.c
6012 - (nm_ip_up): try harder to get the peer's address
6014 * src/NetworkManagerSystem.c
6015 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
6016 address, use that too. Otherwise, some PPP connections won't work.
6018 2008-01-19 Dan Williams <dcbw@redhat.com>
6020 * src/NetworkManagerPolicy.c
6021 - (nm_policy_device_change_check): system connections override user
6022 connections; don't activate a user connection if there's a currently
6023 active system connection, and new, better system connections always
6024 interrupt user connections
6026 2008-01-19 Dan Williams <dcbw@redhat.com>
6029 - (nm_manager_get_connection_type): new function
6031 2008-01-19 Dan Williams <dcbw@redhat.com>
6033 * src/nm-device-802-11-wireless.c
6034 - (real_get_best_connection): collapse find_best_connection() into this
6037 2008-01-19 Dan Williams <dcbw@redhat.com>
6039 * src/nm-device-802-3-ethernet.c
6040 - (real_get_best_connection): collapse find_best_connection() into this
6043 2008-01-18 Dan Williams <dcbw@redhat.com>
6045 * src/nm-device-802-3-ethernet.c
6046 - (find_best_connection): check MAC address too
6047 - (real_get_best_connection): let autoconnect=True connections activate
6048 for devices that don't have carrier detection
6050 * src/nm-device-802-11-wireless.c
6051 - (find_best_connection): check MAC address too
6053 2008-01-18 Dan Williams <dcbw@redhat.com>
6055 * system-settings/plugins/ifcfg/parser.c
6056 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
6058 2008-01-17 Dan Williams <dcbw@redhat.com>
6060 * src/nm-device-802-3-ethernet.c
6061 - (nm_device_802_3_ethernet_carrier_on,
6062 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
6063 carrier events that might come in for devices that don't support
6066 2008-01-17 Dan Williams <dcbw@redhat.com>
6068 * src/nm-device-interface.c
6069 - (nm_device_interface_check_connection_conflicts): need to actually
6070 get the interface, not cast to the object
6073 - (nm_device_check_connection_conflicts): need to get the device class,
6074 not cast the device to the device class
6076 2008-01-17 Dan Williams <dcbw@redhat.com>
6078 * src/nm-device-802-11-wireless.c
6079 - (real_check_connection_conflicts): ignore connections that aren't
6080 wireless connections
6082 2008-01-17 Dan Williams <dcbw@redhat.com>
6084 * src/NetworkManagerPolicy.c
6085 - (nm_policy_device_change_check): clear change check idle here
6086 - (device_change_check_done): remove
6087 - (schedule_change_check): simplify
6089 2008-01-17 Dan Williams <dcbw@redhat.com>
6092 - (check_connection_allowed): take an NMDeviceInterface instead of
6093 an NMDevice object as an argument
6094 - (nm_manager_activate_device): pass an NMDeviceInterface to
6095 check_connection_allowed()
6097 2008-01-13 Dan Williams <dcbw@redhat.com>
6099 * libnm-glib/nm-device-802-11-wireless.c
6100 - (nm_device_802_11_wireless_get_access_points): fix memory leak
6102 2008-01-12 Dan Williams <dcbw@redhat.com>
6104 * src/nm-device-802-11-wireless.c
6105 - (activation_success_handler): if a match was found in the scan list
6106 and that match is a hidden AP, update that AP's SSID
6108 2008-01-11 Dan Williams <dcbw@redhat.com>
6110 * src/NetworkManagerAP.c
6111 - (nm_ap_new_fake_from_connection): mark fake APs as fake
6113 * src/nm-device-802-11-wireless.c
6114 - (get_active_ap): do two passes over the scan list if the caller
6115 requests that hidden APs get matched too; during the second pass
6116 when matching hidden APs, ignore the SSID since hidden APs in the
6117 scan list don't have an SSID yet
6118 - (periodic_update): move some checks to
6119 nm_device_802_11_periodic_update() because not all callers need them
6120 - (nm_device_802_11_periodic_update): move some checks here from
6122 - (merge_scanned_ap): if the current AP is fake, then don't do strict
6123 matching on incoming scan results, because the fake AP's flags
6124 might be slightly different (yet still compatible) with the incoming
6125 scan result's flags and they might actually be the same AP; update
6126 the rate on merged APs too
6127 - (activation_success_handler): update the frequency of the fake AP
6128 on successful connection; match hidden APs too since if the
6129 current AP is fake, there might already be a scan result in the
6130 scan list for the desired AP, just without it's SSID filled in yet
6132 2008-01-10 Dan Williams <dcbw@redhat.com>
6134 * src/NetworkManagerAP.c
6135 - (foreach_property_cb): catch more hidden SSID formats
6137 2008-01-10 Dan Williams <dcbw@redhat.com>
6139 Fix gnome.org #464215. Requires the kernel patch titled
6140 "Introduce WEXT scan capabilities" but will handle the patch not being
6141 present, you'll just continue to have problems with hidden SSIDs when
6142 using mac80211-based drivers.
6144 * src/supplicant-manager/nm-supplicant-config.h
6145 src/supplicant-manager/nm-supplicant-config.c
6146 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
6147 whether the driver supports SSID scans or not. If it does, and if
6148 the AP is hidden, use ap_scan=1 instead of ap_scan=2
6150 * src/nm-device-802-11-wireless.c
6151 - (constructor): check whether or not the driver supports SSID scans
6152 - (build_supplicant_config): pass driver SSID scan capability when
6153 building the wireless bits of the supplicant config
6155 2008-01-09 Dan Williams <dcbw@redhat.com>
6159 - (device_activation_precheck, check_connection_complete): remove this
6160 virtual function; incomplete connections should be invalid by
6161 definition, complete-ness should be checked in the setting's
6164 * src/nm-serial-device.c
6166 - (real_check_connection_complete): remove
6168 * libnm-util/nm-setting-serial.c
6169 - (verify): new function; ensure there is a PPP setting too
6171 * libnm-util/nm-setting-gsm.c
6172 - (verify): ensure there is a serial setting too
6174 2008-01-06 Dan Williams <dcbw@redhat.com>
6176 * src/dhcp-manager/nm-dhcp-manager.c
6177 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
6180 2008-01-04 Dan Williams <dcbw@redhat.com>
6182 * src/named-manager/nm-named-manager.c
6183 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
6184 nameservers if the secondary config doesn't have any
6187 2008-01-02 Tambet Ingo <tambet@gmail.com>
6189 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
6190 with G_PARAM_CONSTRUCT so that they get the default values.
6192 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
6193 the monitoring device and prints out the output for now. Or more precicely, doesn't
6194 do absolutely anything right now since the montoring device argument is never set.
6196 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
6197 requires it's own knob to turn it on.
6198 (config_fd): Add NMSettingSerial to the arguments list.
6199 (nm_serial_device_open): Ditto.
6200 (get_reply_got_data): Ignore the terminators at the beginning of the output.
6201 (nm_serial_device_get_io_channel): Implement.
6203 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
6204 a new reference every time (and forgetting to release it sometimes) is a pain and
6205 it's not like NMManager could work without dbus.
6206 (nm_manager_add_device): Register the added device on dbus here.
6208 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
6211 * src/nm-device.c (constructor): Don't export the device here, instead export
6212 it when it's added to the NMManager's device list.
6214 2007-12-31 Dan Williams <dcbw@redhat.com>
6216 * src/nm-device-interface.c
6217 src/nm-device-interface.h
6218 - (nm_device_interface_check_connection_conflicts): new function
6222 - (nm_device_check_connection_conflicts): new function
6223 - (device_activation_precheck): don't require subclasses to implement
6224 check_connection_complete()
6225 - check_connection() -> check_connection_complete()
6227 * src/nm-device-802-11-wireless.c
6228 - (real_check_connection): remove; unused
6229 - (real_check_connection_conflicts): implement, handle lockdown for
6232 * src/nm-device-802-3-ethernet.c
6233 - (real_check_connection): remove; unused
6236 - (check_connection_allowed): new function
6237 - (nm_manager_activate_device): ensure the connection being requested
6238 is allowed to be activated
6240 * src/nm-serial-device.c
6242 - real_check_connection() -> real_check_connection_complete()
6244 2007-12-27 Dan Williams <dcbw@redhat.com>
6246 * src/nm-device-interface.c
6247 src/nm-device-interface.h
6248 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
6249 normalize and expand errors
6250 - (nm_device_interface_init): register errors so they can be marshalled
6252 - (nm_device_interface_activate): ensure that failure of activation
6257 - (device_activation_precheck): implementations of check_connection()
6258 now take a GError and must fill it in if the check fails. Return
6259 more descriptive error if the requested connection is already
6261 - (nm_device_activate): actually try to return descriptive errors on
6264 * src/nm-device-802-11-wireless.c
6265 src/nm-device-802-3-ethernet.c
6266 src/nm-serial-device.c
6268 - (real_check_connection): return more descriptive errors on failure
6270 * src/NetworkManagerPolicy.c
6271 - (nm_policy_device_change_check): print activation errors in the logs
6274 - (nm_manager_error_quark, nm_manager_error_get_type,
6275 nm_manager_class_init): new errors
6276 - (nm_manager_activate_device): handle errors
6277 - (nm_manager_error_new): removed
6278 - (wait_for_connection_expired, connection_added_default_handler,
6279 impl_manager_activate_device): better error handling
6281 2007-12-27 Dan Williams <dcbw@redhat.com>
6283 Fixes gnome.org #466954
6285 * src/supplicant-manager/nm-supplicant-settings-verify.c
6286 - Allow 'frequency' network property
6288 * src/supplicant-manager/nm-supplicant-config.c
6289 src/supplicant-manager/nm-supplicant-config.h
6290 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
6291 for callers to specify the frequency an Ad-Hoc network should operate
6292 on. Some drivers require this to successfully create an Ad-Hoc
6295 * src/nm-device-802-11-wireless.c
6296 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
6297 guint32 value in MHz
6298 - (constructor, nm_device_802_11_wireless_get_frequency): use
6300 - (find_supported_frequency): new function; find a free supported
6301 frequency for a user-created Ad-Hoc network
6302 - (build_supplicant_config): if no frequency was specified for a user-
6303 created Ad-Hoc network, find a free one to use
6304 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
6305 a specific object as user-created
6307 2007-12-27 Dan Williams <dcbw@redhat.com>
6309 * libnm-util/nm-utils.c
6310 libnm-util/nm-utils.h
6311 - (nm_utils_security_valid): add 'adhoc' argument and handle security
6314 2007-12-24 Dan Williams <dcbw@redhat.com>
6316 * libnm-util/nm-setting-wireless.c
6317 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
6318 185, 187, 188, 192, and 196
6320 2007-12-24 Dan Williams <dcbw@redhat.com>
6322 * src/nm-device-802-11-wireless.c
6323 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6324 a channel # instead of a frequency
6326 2007-12-24 Dan Williams <dcbw@redhat.com>
6328 * src/NetworkManagerAP.c
6329 src/NetworkManagerAP.h
6330 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6331 - (freq_to_channel): handle split band tables
6332 - (channel_to_freq): handle split band tables, take a band argument
6334 2007-12-24 Dan Williams <dcbw@redhat.com>
6336 * libnm-util/nm-setting-connection.h
6337 libnm-util/nm-setting-connection.c
6338 - Add 'lockdown' member
6340 2007-12-22 Dan Williams <dcbw@redhat.com>
6342 * libnm-util/nm-setting-wireless.c
6343 - (nm_setting_wireless_class_init): add missing 'rate' property
6346 2007-12-18 Dan Williams <dcbw@redhat.com>
6348 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6350 * src/nm-netlink-monitor.c
6351 src/nm-netlink-monitor.h
6352 - Remove handrolled netlink, use libnl instead
6354 * src/nm-device-802-3-ethernet.c
6355 - (constructor, nm_device_802_3_ethernet_carrier_off,
6356 nm_device_802_3_ethernet_carrier_on): use new names
6358 2007-12-17 Dan Williams <dcbw@redhat.com>
6361 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6362 and fixes memory leaks)
6365 - (nm_netlink_get_default_handle): handle new versions of libnl that
6366 automatically handle the netlink PID
6368 2007-12-17 Dan Williams <dcbw@redhat.com>
6370 Patch from Michael Biebl <biebl@debian.org>
6373 src/ppp-manager/Makefile.am
6374 - fix up install dir of pppd plugin
6375 - clean up configure.in a bit
6377 2007-12-12 Dan Williams <dcbw@redhat.com>
6379 * system-settings/src/nm-system-settings.conf
6380 - Allow non-root clients (like the applet) to read settings
6382 2007-12-10 Tambet Ingo <tambet@gmail.com>
6384 * Replace all occurences of 'UMTS' with 'GSM'.
6386 2007-12-07 Dan Williams <dcbw@redhat.com>
6388 * src/nm-serial-device.c
6389 - (real_is_up): serial devices are always "up"
6391 2007-12-07 Dan Williams <dcbw@redhat.com>
6394 src/NetworkManagerSystem.c
6395 - (new_nl_handle): ensure that the same netlink pid is never chosen
6396 twice (gnome.org #491047)
6397 - Make more robust against allocation-related failures should they occur
6399 2007-12-07 Dan Williams <dcbw@redhat.com>
6401 Noticed by Christian Persch <chpe@gnome.org>
6403 Always chain up to parent object in dispose and finalize handlers.
6406 2007-12-07 Dan Williams <dcbw@redhat.com>
6408 * src/nm-device-802-11-wireless.c
6409 - Wrap #include of linux/mii.h to fix redefined structures due to
6410 incorrect kernel headers (gnome.org #350061)
6412 2007-12-06 Tambet Ingo <tambet@gmail.com>
6414 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6415 before doing anything else.
6416 (init_modem): Move modem initialization here.
6418 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6419 (nm_serial_device_flash): Implement.
6421 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6422 changes signal is "StateChanged" and not "Status".
6423 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6425 2007-12-06 Dan Williams <dcbw@redhat.com>
6427 * src/supplicant-manager/nm-supplicant-config.c
6428 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6429 to only send some options when they make sense; also send phase2
6430 option to the supplicant (possible fix for rh #399631)
6432 2007-12-06 Tambet Ingo <tambet@gmail.com>
6434 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6435 arguments: This whole file shouldn't really know anything about NMDevices, it
6436 should deal only with device interfaces. Devices might have different ifaces for
6437 different stuff and this place shouldn't know anything about it.
6439 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6440 (global_state_changed): Implement. In the current NM it's not really important,
6441 but will be required in the case of multiple active devices. (Or even better,
6442 if stuff like that gets moved out from NM).
6444 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6445 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6448 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6449 devices like serial devices (ttyS0 and ppp0 for example).
6450 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6452 (nm_device_set_ip_iface): Implement.
6453 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6454 after setting ip4_config from here ...
6455 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6456 than this function should call nm_system_device_set_from_ip4_config() because no
6457 other code has enough information on which arguments to use. So instead, other code
6458 could just set the new ip4 config using this function and everyone is happy.
6460 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6461 if we happen to get deactivated while something is pending.
6462 (automatic_registration): Handle the response that indicates pending network
6463 registration and wait until the pending registration is done.
6464 (real_deactivate_quickly): If there's a pending operation, cancel it.
6466 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6467 (real_deactivate_quickly): ... and remove it when it's down.
6468 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6470 (nm_serial_device_wait_for_reply): Ditto.
6472 2007-12-05 Tambet Ingo <tambet@gmail.com>
6474 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6475 (get_network_done): Remove newline, nm_info() does it already.
6476 (real_act_stage1_prepare): Turn the modem echo off.
6478 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6479 device, set the route to the device interface. This is a hack.
6481 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6482 return, no need for a new-line.
6483 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6484 Change the device iface here (ugh).
6485 (real_act_stage4_get_ip4_config): Implement.
6486 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6487 Restore the device iface.
6489 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6490 device is not wired or wireless (eg, automatically upped) device.
6492 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6494 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6496 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6497 before calling it's is_device_fn().
6499 2007-12-05 Dan Williams <dcbw@redhat.com>
6501 * libnm-util/nm-utils.c
6502 - (nm_utils_register_value_transformations,
6503 nm_utils_convert_gvalue_hash_to_string): better debug output of
6504 GHashTables of GValues too
6506 2007-12-04 Dan Williams <dcbw@redhat.com>
6508 * initscript/RedHat/NetworkManager.in
6509 - No longer start named; it's D-Bus interface is going away
6511 2007-12-04 Dan Williams <dcbw@redhat.com>
6513 Patch from Michael Biebl <biebl@debian.org>
6515 * system-settings/plugins/ifcfg/Makefile.am
6516 system-settings/src/main.c
6517 system-settings/src/Makefile.am
6518 - Put system settings plugins in NM plugins dir
6520 * src/ppp-manager/Makefile.am
6521 src/ppp-manager/nm-ppp-manager.c
6522 - Move pppd plugin to NM plugins dir
6524 2007-12-04 Dan Williams <dcbw@redhat.com>
6526 * libnm-util/nm-setting-vpn-properties.h
6527 - Clarify usage of the 'data' member of the setting
6529 * libnm-util/nm-setting-vpn-properties.c
6530 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6531 - (set_property): just remove all the settings; don't recreate the has
6532 - (update_one_secret): don't need to create the hash table here since
6533 it should always be present
6535 2007-12-03 Tambet Ingo <tambet@gmail.com>
6537 Implement PIN and PUK requesting.
6539 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6540 (enter_pin): Handle PIN and PUK requests.
6541 (real_act_stage1_prepare): Clear the secret type.
6542 (real_connection_secrets_updated): Implement this class method to get
6543 notified when new secrets arrive.
6544 (nm_umts_device_class_init): Add private data back to the umts device class
6545 to store the required secret type.
6547 2007-12-01 Dan Williams <dcbw@redhat.com>
6549 * system-settings/plugins/ifcfg/parser.c
6550 - (parser_parse_file): don't try to verify NULL connections
6552 2007-12-01 Dan Williams <dcbw@redhat.com>
6554 * system-settings/src/main.c
6555 - (load_connections, add_connection_to_settings): actually export
6556 plugin-provided connections over D-Bus so NM can get them
6558 2007-12-01 Dan Williams <dcbw@redhat.com>
6560 * system-settings/plugins/ifcfg/parser.c
6561 system-settings/plugins/ifcfg/parser.h
6562 system-settings/plugins/ifcfg/plugin.c
6563 - Hook up more inotify bits (untested)
6565 2007-11-29 Dan Williams <dcbw@redhat.com>
6567 * system-settings/src/nm-system-config-interface.h
6568 system-settings/src/nm-system-config-interface.c
6569 - (nm_system_config_interface_init,
6570 nm_system_config_interface_get_connections): add
6572 * system-settings/src/main.c
6573 - (load_plugins, load_connections, main): use a GSList for plugins
6574 to ensure priority ordering
6576 * system-settings/plugins/ifcfg/parser.c
6577 - (ifcfg_error_quark): move to plugin.c, and rename
6579 * system-settings/plugins/ifcfg/plugin.h
6580 system-settings/plugins/ifcfg/plugin.c
6581 - (ifcfg_plugin_error_quark): move here from parser.c
6582 - rework connection loading and initialization
6583 - Add preliminary inotify support for network profile config file
6585 2007-11-28 Tambet Ingo <tambet@gmail.com>
6587 Merge the beginnings of the new GSM card support.
6589 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6590 ppp watch source before killing pppd - If this happens from g_object_unref()
6591 then the ppp manager is already destroyed by the time the watch callback runs.
6593 * src/nm-hal-manager.c: Add a device_type_name string to the device
6594 creators, so that we can print a nice human readable string when a
6597 * src/nm-umts-device.c (automatic_registration_get_network): Query
6598 for the activated network, not much is done with the result thought.
6600 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6601 (ppp_ip4_config): Change the device state to activated here for now.
6602 (real_check_connection): Make sure the connection includes ppp setting.
6604 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6606 * libnm-glib/Makefile.am: Add the new files to build.
6608 * libnm-glib/nm-umts-device.c:
6609 * libnm-glib/nm-umts-device.h: Implement.
6611 2007-11-26 Tambet Ingo <tambet@gmail.com>
6613 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6614 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6616 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6617 the timeout source - this function is only called when the timeout source has
6619 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6620 to be big enough to contain the terminating zero element as well.
6621 The timeout argument is meant to be in seconds now.
6622 (real_deactivate_quickly): Implement.
6624 * src/NetworkManager.conf: Allow root to own
6625 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6627 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6628 (not unsigned ints).
6630 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6631 small issue with parity bounds - capital letters have lower ascii codes
6632 than lower case letters.
6634 * libnm-util/nm-connection.c (register_default_settings): Register serial
6637 2007-11-22 Tambet Ingo <tambet@gmail.com>
6639 Remove the "index" property from devices as not all device types have this.
6641 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6643 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6644 (wired_device_creator): Get the device interface from hal to create the device.
6645 (wireless_device_creator): Ditto.
6647 * src/nm-device.c (nm_device_init): Remove the index member.
6648 (constructor): Remove the checks for index property, make interface property
6649 a require constructor property.
6650 Use the HAL udi for DBus path for devices.
6651 (nm_device_get_index): Remove.
6652 (set_property): Remove index handling.
6653 (get_property): Ditto.
6654 (nm_device_get_dbus_path): Remove.
6656 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6659 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6660 Access the device index through it's interface.
6661 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6662 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6663 index argument. Add interface argument.
6665 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6666 the useless test_dev argument. Remove index argument. Add interface arugment.
6668 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6669 device index through interface.
6670 (nm_system_set_mtu): Ditto.
6672 * introspection/nm-device.xml: Remove the "Index" property.
6674 2007-11-21 Tambet Ingo <tambet@gmail.com>
6676 * src/nm-serial-device.c:
6677 * src/nm-serial-device.c:
6678 * src/nm-umts-device.c:
6679 * src/nm-umts-device.h: Implement.
6681 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6682 allocated by libhal.
6683 (modem_device_creator): Implement.
6684 (register_built_in_creators): Register the modem creator.
6686 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6687 Remove the unused test_dev argument.
6689 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6691 * src/Makefile.am: Add new files to build.
6692 Link in ppp-manager.
6694 * libnm-util/nm-setting-umts.c:
6695 * libnm-util/nm-setting-umts.h:
6696 * libnm-util/nm-setting-serial.c:
6697 * libnm-util/nm-setting-serial.h: Implement.
6699 * libnm-util/Makefile.am: Add new files to build.
6701 2007-11-28 Dan Williams <dcbw@redhat.com>
6703 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6705 Support DHCP-provided static routes.
6707 * src/nm-ip4-config.h
6709 - Add get/set functions for static routes
6711 * src/dhcp-manager/nm-dhcp-manager.c
6712 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6715 * src/NetworkManagerSystem.c
6716 - (nm_system_device_set_from_ip4_config): set any static routes on the
6717 interface when applying the IP4Config
6719 2007-11-28 Dan Williams <dcbw@redhat.com>
6721 * src/nm-device-802-11-wireless.c
6722 - (real_act_stage1_prepare): mark APs created for hidden networks
6725 2007-11-27 Dan Williams <dcbw@redhat.com>
6727 * system-settings/src/nm-system-config-interface.h
6728 - Note how to store secrets on NMSetting objects
6730 * system-settings/src/dbus-settings.c
6731 - (connection_settings_get_secrets): implement
6733 2007-11-27 Dan Williams <dcbw@redhat.com>
6735 * system-settings/plugins/ifcfg/Makefile.am
6736 system-settings/plugins/ifcfg/parser.c
6737 system-settings/plugins/ifcfg/parser.h
6738 system-settings/plugins/ifcfg/plugin.c
6739 - Parse wireless connections too
6741 * system-settings/src/dbus-settings.c
6742 system-settings/src/dbus-settings.h
6743 system-settings/src/main.c
6744 - Handle connection update/removal if the plugin supports it
6746 2007-11-27 Dan Williams <dcbw@redhat.com>
6748 * src/nm-dbus-manager.h
6749 src/nm-hal-manager.c
6750 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6754 src/NetworkManagerDbusUtils.c
6755 src/NetworkManagerDbusUtils.h
6756 - Remove these two source files; they are unused
6758 2007-11-27 Dan Williams <dcbw@redhat.com>
6760 * src/vpn-manager/nm-vpn-manager.c
6761 - (impl_vpn_manager_connect): fix system settings check (found by
6764 2007-11-26 Dan Williams <dcbw@redhat.com>
6766 * Fix warnings so everything compiles with --enable-more-warnings
6768 2007-11-25 Dan Williams <dcbw@redhat.com>
6771 - Rework structure and code to use GModule-loaded plugins and a plugin
6772 interface that plugins export to the system settings service
6774 2007-11-21 Dan Williams <dcbw@redhat.com>
6777 - Add Soren's system settings service. Needs work for distros other
6778 than Fedora; the backends from NM should mostly migrate to here
6779 and be converted to GObjects
6781 2007-11-21 Dan Williams <dcbw@redhat.com>
6783 * libnm-util/nm-setting-vpn-properties.c
6784 - (set_property): must deep-copy the given settings hash, otherwise
6785 double-free errors occur when the setting is disposed of
6787 2007-11-21 Dan Williams <dcbw@redhat.com>
6789 * src/vpn-manager/nm-vpn-act-request.h
6790 src/vpn-manager/nm-vpn-act-request.c
6793 2007-11-20 Dan Williams <dcbw@redhat.com>
6795 * libnm-util/nm-utils.c
6796 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6797 nm_utils_convert_ip4_addr_struct_array_to_string,
6798 nm_utils_register_value_transformations): print out the readable
6799 values of more types of properties of NMSettings subclasses
6801 2007-11-20 Dan Williams <dcbw@redhat.com>
6803 * libnm-util/nm-setting-ip4-config.c
6804 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6805 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6806 marshal GValueArrays inside collections, so switch to types that it
6807 can actually marshal/demarshal
6809 2007-11-16 Dan Williams <dcbw@redhat.com>
6811 * libnm-util/nm-setting-wireless-security.c
6812 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6813 minimal verification of EAP methods too
6814 - (verify): verify phase1 eap methods too
6816 2007-11-15 Dan Williams <dcbw@redhat.com>
6818 * libnm-glib/nm-device.h
6819 libnm-glib/nm-device.c
6820 - (nm_device_get_product, nm_device_get_vendor): should be returning
6823 2007-11-15 Dan Williams <dcbw@redhat.com>
6825 * libnm-glib/nm-device.c
6826 - (get_product_and_vendor): don't try to free things that should be
6829 2007-11-15 Dan Williams <dcbw@redhat.com>
6831 * src/NetworkManagerUtils.c
6832 - (nm_ethernet_address_is_valid): unbreak previous fix
6834 2007-11-15 Dan Williams <dcbw@redhat.com>
6836 * src/supplicant-manager/nm-supplicant-config.c
6837 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6840 2007-11-15 Dan Williams <dcbw@redhat.com>
6842 * src/NetworkManagerUtils.c
6843 - (nm_ethernet_address_is_valid): fix style, clarify
6844 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6846 * src/nm-device-802-11-wireless.c
6847 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6848 - (nm_device_802_11_wireless_get_ssid,
6849 nm_device_802_11_wireless_get_bssid,
6850 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6851 before calling the ioctl; fixes valgrind-reported jump depends on
6852 uninitialized value errors
6854 2007-11-15 Dan Williams <dcbw@redhat.com>
6856 * libnm-util/nm-setting.c
6857 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6858 unecessary to serialize 'name'
6860 * src/nm-activation-request.c
6861 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6864 2007-11-15 Dan Williams <dcbw@redhat.com>
6866 * libnm-util/nm-setting-connection.h
6867 libnm-util/nm-setting-connection.c
6868 - Rename the 'name' property to 'id', because it conflicted with the
6869 NMSetting superclass' 'name' property.
6871 * libnm-util/nm-setting.c
6872 - (nm_setting_to_hash): serialize the 'name' property
6873 - (one_property_cb): ignore 'name' on deserialization of a connection
6875 * src/nm-device-802-11-wireless.c
6876 src/vpn-manager/nm-vpn-connection.c
6877 src/NetworkManagerPolicy.c
6878 - Fix up for NMSettingConnection 'name'->'id' changes
6880 2007-11-13 Dan Williams <dcbw@redhat.com>
6882 * libnm-glib/nm-device-802-11-wireless.h
6883 libnm-glib/nm-device-802-11-wireless.c
6884 - (nm_device_802_11_wireless_get_hw_address): return should be const
6887 libnm-glib/libnm-glib-test.c
6888 - Fixes for above change
6890 2007-11-12 Dan Williams <dcbw@redhat.com>
6892 * src/supplicant-manager/nm-supplicant-settings-verify.c
6893 - Allow fragment_size option
6895 * src/supplicant-manager/nm-supplicant-settings-verify.c
6896 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6897 EAP fragment size than the default to help some TLS connections
6899 2007-11-12 Dan Williams <dcbw@redhat.com>
6901 Make certs actually work. The private key is now a secret, and should be
6902 decrypted when requested by NM. The private key and phase2 private key
6903 passwords are no longer interesting to NM because they should be used by
6904 the settings service to decrypt the private key itself before passing it
6905 to NM, and hence have been removed as fields.
6907 * libnm-util/nm-setting-wireless-security.h
6908 libnm-util/nm-setting-wireless-security.c
6909 - Remove private-key-passwd and phase2-private-key-passwd from
6911 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6912 need_secrets): use property #defines instead strings to keep things
6914 - (need_secrets_tls): if a client certificate is present but no
6915 private key, request the private key
6916 - (set_property, get_property, nm_setting_wireless_security_class_init):
6917 remove private key password stuff, mark private keys as secret
6919 * src/supplicant-manager/nm-supplicant-settings-verify.c
6920 - Remove private_key_passwd and private_key2_passwd from opt_table
6922 2007-11-09 Dan Williams <dcbw@redhat.com>
6924 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6925 Since the vpn-properties are managed and known by the VPN daemons themselves,
6926 libnm-util doesn't know what's secret and what's in the setting's 'data'
6929 * libnm-util/nm-setting.h
6930 libnm-util/nm-setting.c
6931 - Add the ability for subclasses to override update_one_secret
6933 * libnm-util/nm-setting-vpn-properties.c
6934 - Override update_one_secret and just copy the values into the
6937 2007-11-09 Dan Williams <dcbw@redhat.com>
6939 * libnm-glib/nm-settings.h
6940 libnm-glib/nm-settings.c
6941 - (nm_settings_new_error): remove
6942 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6943 clients should use g_set_error() with NM_SETTINGS_ERROR
6945 2007-11-09 Dan Williams <dcbw@redhat.com>
6947 * src/supplicant-manager/nm-supplicant-config.c
6948 - (nm_supplicant_config_add_setting_wireless_security): private key
6949 passwords are never sent to wpa_supplicant, because the supplicant
6950 should never be reading random files from the disk. Clients like
6951 the applet are required to decrypt the private keys and send NM
6952 the decrypted blobs.
6954 2007-11-08 Dan Williams <dcbw@redhat.com>
6956 * libnm-util/nm-setting-wireless-security.h
6957 libnm-util/nm-setting-wireless-security.c
6958 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6959 members to 802-11-wireless-security structure. This should be used
6960 to indicate that the values in private-key and phase2-private-key
6961 are already decrypted by the user agent, and that no
6962 private-key-passwd or phase2-private-key-passwd should be expected.
6963 It is not meant to be a stored configuration value, but meant to
6964 be set when the conneciton is sent to NM over dbus.
6966 2007-11-08 Dan Williams <dcbw@redhat.com>
6968 * libnm-util/nm-connection.h
6969 libnm-util/nm-connection.c
6970 - (nm_connection_need_secrets): add argument to return hints
6972 * src/nm-device-802-11-wireless.c
6973 - (link_timeout_cb, supplicant_connection_timeout_cb,
6974 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6975 nm_connection_need_secrets() change
6977 2007-11-07 Tambet Ingo <tambet@gmail.com>
6979 Rework NMSetting structures: Move each setting to it's own file.
6980 Convert to GObject. Remove home grown setting types and use GTypes.
6981 Use GObject property introspection for hash conversion, enumerating
6984 * libnm-util/nm-setting-connection.[ch]
6985 * libnm-util/nm-setting-ip4-config.[ch]
6986 * libnm-util/nm-setting-ppp.[ch]
6987 * libnm-util/nm-setting-vpn.[ch]
6988 * libnm-util/nm-setting-vpn-properties.[ch]
6989 * libnm-util/nm-setting-wired.[ch]
6990 * libnm-util/nm-setting-wireless.[ch]
6991 * libnm-util/nm-setting-wireless-security.[ch]
6993 New files, each containing a setting.
6995 * libnm-util/nm-setting-template.[ch]: A template for creating new
6996 settings. To use it, just replace 'template' with the new setting
6997 name, and you're half-way done.
6999 * libnm-util/nm-setting.c: Convert to GObject and use GObject
7000 introspection instead of internal types and tables.
7002 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
7004 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
7005 GValue types defined by dbus-glib for composed types like collections,
7006 structures and maps.
7008 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
7009 a setting from connection takes the setting type now. Also, since
7010 the settings are in multiple files, include relevant settings.
7012 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
7015 * src/backends/NetworkManagerGentoo.c:
7016 (nm_system_restart_mdns_responder): Implement restarts for other mdns
7017 providers in Gentoo.
7019 2007-10-31 Dan Williams <dcbw@redhat.com>
7021 * libnm-util/nm-connection.c
7022 - (gvalue_to_string): handle UINT32 arrays
7024 2007-10-31 Dan Williams <dcbw@redhat.com>
7026 * libnm-glib/nm-device.h
7027 libnm-glib/nm-device.c
7028 - (nm_device_get_description): remove
7029 - (nm_device_get_product, nm_device_get_vendor): add
7030 - (nm_device_update_description): new function (private); walk HAL
7031 devices to get product and vendor IDs for a specific device
7033 2007-10-31 Dan Williams <dcbw@redhat.com>
7035 * src/nm-device-802-11-wireless.c
7036 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
7038 2007-10-29 Dan Williams <dcbw@redhat.com>
7040 * src/nm-hal-manager.c
7041 - (device_added, device_new_capability): ignore device additions while
7042 asleep. Fixes crash caused when NM goes to sleep, a network device
7043 kernel module is unloaded and reloaded and recognized by NM again.
7045 2007-10-26 Dan Williams <dcbw@redhat.com>
7047 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
7049 * src/NetworkManagerAP.c
7050 src/NetworkManagerAP.h
7051 libnm-glib/nm-access-point.c
7052 libnm-glib/nm-access-point.h
7053 - Make 'rate' property a guint32 to better match with WEXT and
7054 wpa_supplicant and to allow representation of higher bitrates
7056 * src/nm-device-802-11-wireless.c
7057 introspection/nm-device-802-11-wireless.xml
7058 libnm-glib/nm-device-802-11-wireless.c
7059 libnm-glib/nm-device-802-11-wireless.h
7060 - Make 'bitrate' property a guint32 to match AP 'rate' property type
7062 * src/nm-device-802-3-ethernet.c
7063 src/nm-device-802-3-ethernet.h
7064 introspection/nm-device-802-3-ethernet.xml
7065 libnm-glib/nm-device-802-3-ethernet.c
7066 libnm-glib/nm-device-802-3-ethernet.h
7067 - Make 'speed' property a guint32 to match other speed/rate types
7068 - Make nm_device_802_3_ethernet_get_speed() static
7071 - Update for the changes above
7073 2007-10-26 Dan Williams <dcbw@redhat.com>
7075 * src/named-manager/nm-named-manager.c
7076 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
7077 not calling fclose() twice on some error conditions
7079 2007-10-26 Dan Williams <dcbw@redhat.com>
7081 * src/nm-activation-request.c
7082 - (dispose): clean up indentation; get the right DBusGProxy object to
7083 cancel the GetSecrets pending call on. Need to use the Secrets
7084 proxy, not the regular connection proxy. Otherwise the GetSecrets
7085 pending call doesn't get canceled, and pressing Cancel in the
7086 applet's password dialog could cause get_secrets_cb() to be called
7087 after the activation request has already been destroyed
7089 2007-10-24 Dan Williams <dcbw@redhat.com>
7091 * src/supplicant-manager/nm-supplicant-config.c
7092 - (nm_supplicant_config_add_blob): pass blob data and length for
7094 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
7096 2007-10-24 Dan Williams <dcbw@redhat.com>
7098 * src/supplicant-manager/nm-supplicant-settings-verify.c
7099 - (opt_table): max length for certificates should be 65536
7101 2007-10-24 Dan Williams <dcbw@redhat.com>
7103 * src/supplicant-manager/nm-supplicant-interface.c
7104 - (blob_free): correctly free blob data after use
7105 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
7107 2007-10-24 Dan Williams <dcbw@redhat.com>
7109 * libnm-util/nm-setting.c
7110 - (setting_wireless_security_need_secrets): Fix lookup table logic for
7111 EAP method need secrets
7113 2007-10-24 Dan Williams <dcbw@redhat.com>
7115 * src/backends/NetworkManagerRedHat.c
7116 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
7118 2007-10-23 Dan Williams <dcbw@redhat.com>
7120 * libnm-util/nm-setting.c
7121 libnm-util/nm-setting.c
7122 - (nm_setting_compare): implement
7123 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
7124 compare_one_hash_gvalue): compare the contents of a setting
7126 * libnm-util/nm-connection.c
7127 - (nm_connection_compare): implement
7129 2007-10-23 Dan Williams <dcbw@redhat.com>
7131 * src/nm-activation-request.c
7132 - (get_secrets_cb): handle getting a setting back that is more than
7133 just secrets (ie, user changed auth or EAP method or something)
7135 2007-10-23 Dan Williams <dcbw@redhat.com>
7137 * libnm-util/nm-setting.c
7138 libnm-util/nm-setting.h
7139 - (nm_setting_verify): new function; verify one setting
7140 - (nm_settings_verify_all): rename from nm_settings_verify()
7141 - (setting_connection_verify, setting_wireless_verify): allow NULL
7144 * libnm-util/nm-connection.c
7145 - (nm_connection_replace_settings, nm_connection_verify,
7146 nm_connection_new_from_hash): handle nm_settings_verify() rename
7148 2007-10-23 Dan Williams <dcbw@redhat.com>
7150 * src/nm-device-802-11-wireless.c
7151 - (real_act_stage2_config): use pre-increment on 'tries' to get the
7154 2007-10-23 Dan Williams <dcbw@redhat.com>
7156 * src/supplicant-manager/nm-supplicant-settings-verify.c
7157 - eap_allowed, phase2_allowed: harmonize with allowed values from
7160 2007-10-23 Dan Williams <dcbw@redhat.com>
7162 * src/nm-device-802-11-wireless.c
7163 - (real_act_stage2_config): after the first association failure,
7164 if the connection still needs secrets ask the user for them
7165 explicitly. After the fourth association failure due to bad
7166 secrets, fail the connection entirely. Handles the GetSecrets
7167 loop that NM gets into when the provided secrets don't match up
7168 with the connection details.
7170 2007-10-23 Dan Williams <dcbw@redhat.com>
7172 * src/supplicant-manager/nm-supplicant-config.c
7173 - (nm_supplicant_config_add_setting_wireless_security): only add
7174 WPA-specific options when WPA is in use
7176 2007-10-23 Dan Williams <dcbw@redhat.com>
7178 * src/supplicant-manager/nm-supplicant-config.c
7179 - (nm_supplicant_config_add_setting_wireless_security): 'password'
7180 secret doesn't need to be unhexified
7182 2007-10-23 Dan Williams <dcbw@redhat.com>
7184 * libnm-util/nm-setting.c
7185 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
7186 before trying to do something with it
7188 2007-10-23 Dan Williams <dcbw@redhat.com>
7190 * src/nm-device-802-11-wireless.c
7191 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
7193 2007-10-23 Dan Williams <dcbw@redhat.com>
7195 * src/nm-device-802-11-wireless.c
7196 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
7197 non-SSID-broadcasting APs
7199 2007-10-23 Dan Williams <dcbw@redhat.com>
7201 * src/NetworkManagerAP.c
7202 - (match_cipher, security_compatible): remove
7203 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
7206 2007-10-23 Dan Williams <dcbw@redhat.com>
7208 * libnm-util/nm-utils.c
7209 libnm-util/nm-utils.h
7210 - (nm_utils_ap_security_compatible): common function for checking
7211 whether a specific AP is compatible with an NMConnection
7213 2007-10-23 Dan Williams <dcbw@redhat.com>
7215 * libnm-util/nm-setting.c
7216 - (setting_wireless_security_need_secrets, need_secrets_phase2,
7217 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
7218 need_secrets_password, setting_wireless_security_verify): fix
7219 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
7220 secrets logic for each supported EAP method
7222 2007-10-23 Dan Williams <dcbw@redhat.com>
7224 * src/supplicant-manager/nm-supplicant-config.c
7225 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
7226 config option name, should be "private_key2_passwd"
7228 2007-10-22 Tambet Ingo <tambet@gmail.com>
7230 Implement support for static IP addresses, additional/overridden DNS and
7231 DNS domain search lists.
7233 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
7234 (ip4_addresses_to_gvalue): Implement.
7235 (convert_array_to_byte_array): Implement.
7236 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
7237 NM_S_TYPE_IP4_ADDRESSES.
7238 (nm_setting_hash): Ditto.
7239 (default_setting_clear_secrets): Add a default case for the switch: IP address
7240 shouldn't be secret, ever.
7241 (setting_ip4_config_verify): Update, requires addresses in case of manual
7243 (setting_ip4_config_destroy): Free stuff.
7245 * src/nm-device.c (merge_ip4_config): Implement.
7246 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
7248 2007-10-22 Dan Williams <dcbw@redhat.com>
7250 * libnm-util/nm-setting.c
7251 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
7252 pairwise cipher options for Dynamic WEP
7254 2007-10-21 Dan Williams <dcbw@redhat.com>
7256 * src/NetworkManagerAP.c
7257 src/NetworkManagerAP.h
7258 - Rename 'articifical' -> 'fake' since that's what they are until
7260 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
7261 from the attributes in an NMConnection object
7262 - (security_compatible): better handle Dynamic WEP and LEAP; handle
7264 - (nm_ap_match_in_list): find a matching AP in a scan list
7266 * src/nm-device-802-11-wireless.c
7267 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
7268 AP when searching the scan list; match on frequency and mode too
7269 - (nm_device_802_11_wireless_get_frequency): implement
7270 - (merge_scanned_ap): replace duplicate matching logic with
7271 nm_ap_match_in_list()
7272 - (real_act_stage1_prepare): handle a NULL specific object; ie where
7273 the user is trying to connect to a hidden network that is not yet
7274 known from the scan list
7275 - (activation_success_handler): now that the card knows the AP's BSSID,
7276 there may already be a scanned AP in the scan list that is what
7277 we really wanted to connect to, but didn't know at the time. Use
7278 that instead of the 'fake' AP created at activation start and get
7279 rid of the 'fake' AP
7280 - (cull_scan_list): don't remove fake APs
7282 2007-10-21 Dan Williams <dcbw@redhat.com>
7284 * src/nm-activation-request.h
7285 src/nm-activation-request.c
7286 - (nm_act_request_set_specific_object): new function; allow setting the
7287 specific object if one isn't set yet
7289 2007-10-20 Dan Williams <dcbw@redhat.com>
7291 * src/supplicant-manager/nm-supplicant-config.h
7292 src/supplicant-manager/nm-supplicant-config.c
7293 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
7294 table to store blobs
7295 - (nm_supplicant_config_add_blob): new function; add blob to internal
7297 - (nm_supplicant_config_get_blobs): new function; get stored blobs
7298 - (nm_supplicant_config_add_setting_wireless_security): handle
7299 options that use certificates (ie, blobs)
7301 * src/nm-device-802-11-wireless.c
7302 - (build_supplicant_config): pass a UID (just use the connection path)
7303 to the supplicant config as now required
7305 * src/supplicant-manager/nm-supplicant-interface.c
7306 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
7307 there are any blobs to send to wpa_supplicant, send those first
7308 before sending the network configuration
7310 2007-10-19 Dan Williams <dcbw@redhat.com>
7312 Split the GetSecrets() call off to a separate D-Bus interface so that it
7313 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
7314 should be able to call GetSecrets().
7316 * include/NetworkManager.h
7317 - Define the connection secrets D-Bus interface
7319 * src/vpn-manager/nm-vpn-connection.c
7320 - (clear_need_auth): get the right proxy object for the connection
7322 - (get_connection_secrets): use the connection secrets proxy; send
7323 empty hints in get secrets request
7325 * src/nm-activation-request.c
7326 - (nm_act_request_request_connection_secrets): use the connection
7327 secrets proxy; send empty hints in get secrets request
7331 - (connection_get_settings_cb): set the connection secrets proxy on
7332 the connection object too
7333 - (internal_new_connection_cb): create the connection secrets proxy
7335 * introspection/nm-settings-connection.xml
7336 - Define Connection.Secrets interface and move GetSecrets there
7337 - Add a 'hints' argument to GetSecrets
7339 * libnm-glib/nm-settings.c
7340 libnm-glib/nm-settings.h
7341 - (impl_connection_settings_get_secrets): add 'hints' argument
7343 2007-10-19 Dan Williams <dcbw@redhat.com>
7346 - (constructor): add message about what path a device is exported as
7347 to help in debugging rh #339011
7349 2007-10-17 Dan Williams <dcbw@redhat.com>
7351 * libnm-util/nm-utils.h
7352 libnm-util/nm-utils.c
7353 - (nm_utils_security_valid): common function to help find the intersection
7354 of capabilities of devices and (optionally) access points
7356 2007-10-17 Dan Williams <dcbw@redhat.com>
7358 * src/nm-device-802-11-wireless.c
7359 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7360 don't get erroneously cleared
7362 2007-10-17 Dan Williams <dcbw@redhat.com>
7366 src/nm-hal-manager.c
7367 - (device_removed, finalize, nm_manager_remove_device,
7368 nm_manager_sleep): add a 'deactivate' argument to
7369 nm_manager_remove_device() to fully deactivate devices when necessary
7370 (ie, always except when waking up)
7372 2007-10-16 Dan Williams <dcbw@redhat.com>
7374 * libnm-util/nm-setting.c
7375 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7376 also isn't valid phase2 autheap method
7378 2007-10-16 Dan Williams <dcbw@redhat.com>
7380 * libnm-glib/nm-client.c
7381 - (update_wireless_status): consolidate updates of wireless status
7382 - (constructor): use update_wireless_status()
7383 - (manager_running): set wireless status off when NM goes away; requery
7384 the wireless status when NM comes back
7386 2007-10-16 Dan Williams <dcbw@redhat.com>
7388 * libnm-glib/nm-client.c
7389 - (nm_client_activate_device): actually use the fixed-up specific
7392 2007-10-16 Dan Williams <dcbw@redhat.com>
7394 * src/nm-hal-manager.c
7395 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7396 killswitch error messages once
7398 2007-10-16 Dan Williams <dcbw@redhat.com>
7401 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7402 if it's disabled in hardware; don't touch network devices while
7405 2007-10-16 Dan Williams <dcbw@redhat.com>
7407 * libnm-util/nm-client.c
7408 - (nm_client_activate_device): convert NULL specific_object to "/",
7409 which is used in place of NULL
7412 - (impl_manager_activate_device): convert "/" specific_object back into
7415 2007-10-16 Tambet Ingo <tambet@gmail.com>
7417 Implement a generic NMSetting creator from setting name.
7418 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7419 add a virtual function 'populate_fn'.
7421 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7422 (register_default_creators): Register setting creators instead of functions
7423 that create and then populate.
7424 (parse_one_setting): Use the common setting creator and then setting specific
7425 poplulation function.
7427 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7428 they all looked exactly the same.
7429 Add a 'populate_fn' virtual function to NMSetting.
7430 Use default virtual functions in case they are not overriden.
7431 (nm_setting_populate_from_hash): Implement.
7433 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7434 name, use a defined string.
7435 (real_act_stage4_get_ip4_config): Ditto.
7437 2007-10-16 Tambet Ingo <tambet@gmail.com>
7439 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7440 HAL is int, not uint.
7442 2007-10-15 Tambet Ingo <tambet@gmail.com>
7444 Implement killswitch polling through HAL.
7446 * src/nm-manager.c: Add wireless hardware status property. Add
7447 'properties-changed' signal for changes in wireless and wireless hardware
7450 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7451 and update NMManager's wireless hardware state when it has changed.
7452 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7455 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7456 values of wireless state and wireless hardware state. Listen for the
7457 'properties-changed' signals, update the cached values and emit notify.
7459 * include/NetworkManager.h: Fix a typo in a comment.
7461 2007-10-14 Dan Williams <dcbw@redhat.com>
7463 * libnm-util/nm-setting.c
7464 - (setting_wireless_security_need_secrets): handle LEAP secrets
7466 2007-10-13 Dan Williams <dcbw@redhat.com>
7468 * libnm-util/nm-setting.h
7469 libnm-util/nm-setting.c
7470 src/supplicant-manager/nm-supplicant-config.c
7471 - Make the 'proto' field of the 802-11-wireless-security field a
7474 2007-10-12 Tambet Ingo <tambet@gmail.com>
7476 Rework the "properties-changed" signal listening implementation.
7477 Add a generic implementation to NMObject class that listens for
7478 the signal and calls property setters of the target NMObject.
7480 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7482 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7483 code to the end of file so that all the static functions are available
7484 without extra declarations.
7485 Remove the "properties-changed" signal handling and use the framework from
7487 Implement property setters for properties that change with
7488 "properties-changed" signal.
7490 * libnm-glib/nm-access-point.c: Ditto.
7492 2007-10-12 Tambet Ingo <tambet@gmail.com>
7494 Rework the "properties-changed" signal implementation.
7495 In classes that need to use it, just emit "GObject::notify" and the new
7496 framework takes care of the rest to make the signal available on dbus.
7497 The framework queues the notifications and tries to send as many together
7498 in one signal as possible.
7500 * src/nm-properties-changed-signal.c:
7501 * src/nm-properties-changed-signal.h: Implement.
7503 * src/Makefile.am: Add new files to build.
7505 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7508 * src/nm-device-802-11-wireless.c: Ditto.
7510 2007-10-10 Dan Williams <dcbw@redhat.com>
7513 - (wait_for_connection_expired): ensure info is valid
7514 - (connection_added_default_handler): Should only remove pending
7515 connection info when the manager has the connection that it's
7516 waiting for. Fixes segfault in wait_for_connection_info().
7518 2007-10-10 Dan Williams <dcbw@redhat.com>
7520 * libnm-util/nm-setting.c
7521 libnm-util/nm-setting.h
7522 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7523 can use if they choose. Should be filled in by the settings service
7524 on-the-fly with the currently logged in user's username
7526 2007-10-10 Dan Williams <dcbw@redhat.com>
7528 * src/nm-device-802-11-wireless.c
7529 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7530 as such, because even if the manager fills in the SSID, NM still
7531 has to indicate to wpa_supplicant that the AP isn't broadcasting
7534 2007-10-10 Tambet Ingo <tambet@gmail.com>
7536 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7537 code that used NM's own version of dbus signal handling and custom dictionary
7538 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7539 and we get to maintain over 2000 lines less code.
7541 * libnm-util/dbus-dict-helpers.c:
7542 * libnm-util/dbus-dict-helpers.h: Remove.
7544 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7546 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7548 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7551 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7553 * configure.in: Remove test/libnm-util/Makefile creation.
7555 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7557 * test/libnm-util/: Remove the whole directory.
7559 2007-10-10 Tambet Ingo <tambet@gmail.com>
7561 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7562 device_state_changed_idle_id variable or it would contain some random value and the
7563 schedule_change_check calls would not do anything.
7565 2007-10-09 Dan Williams <dcbw@redhat.com>
7567 * src/nm-device-802-11-wireless.c
7568 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7569 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7570 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7571 merging of non-SSID-broadcasting APs
7573 2007-10-09 Tambet Ingo <tambet@gmail.com>
7575 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7576 "guint8 *" since it's usually used with GByteArray->data.
7577 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7579 2007-10-09 Tambet Ingo <tambet@gmail.com>
7581 * src/NetworkManagerUtils.c
7582 (nm_utils_is_empty_ssid):
7583 (nm_utils_escape_ssid):
7584 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7585 lot of places, so they belong to libnm-utils instead.
7587 Now with 100% less compiler warnings:
7589 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7590 (nm_dbus_unescape_object_path): Ditto.
7591 (nm_utils_ssid_to_utf8): Ditto.
7592 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7593 (nm_utils_escape_ssid): Ditto.
7594 (nm_utils_same_ssid): Ditto.
7596 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7597 (add_one_connection_element): Remove an unused variable.
7598 (impl_manager_get_active_connections): Ditto.
7600 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7603 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7604 from the previous commit.
7606 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7607 (real_act_stage1_prepare): Ditto.
7608 (activation_success_handler): Ditto.
7609 (get_property): Ditto.
7611 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7614 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7617 * src/supplicant-manager/nm-supplicant-config.c
7618 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7619 to expected "char *".
7620 (nm_supplicant_config_add_setting_wireless): Ditto.
7621 (nm_supplicant_config_remove_option): Remove, not used.
7623 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7625 (test_wireless_enabled): Ifdef out unused function.
7626 (device_deactivate): Ditto.
7627 (device_state_changed): Ditto.
7628 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7629 (nm_utils_escape_ssid): Ditto.
7631 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7632 (nm_utils_is_empty_ssid): Ditto.
7634 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7637 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7638 (setting_vpn_properties_update_secrets): Ditto.
7639 (int_to_gvalue): Ifdef out for now, not used.
7640 (byte_to_gvalue): Ditto.
7642 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7645 2007-10-08 Tambet Ingo <tambet@gmail.com>
7647 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7648 about dbus manager, not named manager.
7649 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7651 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7652 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7653 However, the same signal is emitted when we destroy it and there's
7654 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7656 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7657 releasing the DBusGConnection, since proxy needs a conneciton.
7658 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7660 2007-10-08 Dan Williams <dcbw@redhat.com>
7662 * src/NetworkManager.c
7663 - (main): error on unknown command-line options
7665 2007-10-08 Dan Williams <dcbw@redhat.com>
7667 Reimplement the invalid connection list. Don't try to re-activate a
7668 connection that just failed or was canceled.
7671 - (connection_secrets_failed_cb): fail device activation, don't just
7672 deactivate the device. Listeners have to know about the failure.
7674 * src/NetworkManagerPolicy.c
7675 - (nm_policy_auto_get_best_device): exclude invalid connections from
7676 the connection list given to a device's get_best_connection()
7678 - (device_state_changed): tag failed connections as invalid; clear the
7679 tag from successful connections
7681 2007-10-08 Dan Williams <dcbw@redhat.com>
7683 Fix problems with interrupted activation. Previously, choosing an AP
7684 from the menu, then choosing another one before the first connection was
7685 successful wouldn't deactivate the device before starting the new connection
7686 on that same device.
7688 * src/NetworkManagerPolicy.c
7689 - (deactivate_old_device, device_state_changed, state_changed,
7690 nm_policy_new): wrong place to deactivate old devices
7693 - (pending_connection_info_destroy, finalize,
7694 wait_for_connection_expired): decouple destruction of the pending
7695 connection info from the manager device
7696 - (connection_added_default_handler): deactivate any active or
7697 activating device before starting a new activation
7698 - (impl_manager_activate_device): deactivate any active or activating
7699 device before starting a new activation; be sure not to leak
7700 pending connection info if a new activation request arrives but
7701 there's already a pending one in-process
7703 2007-10-08 Dan Williams <dcbw@redhat.com>
7705 * src/NetworkManagerAP.h
7706 src/NetworkManagerAP.c
7707 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7708 should handle default SSIDs and whether or not to autoconnect
7711 2007-10-08 Dan Williams <dcbw@redhat.com>
7713 * src/NetworkManagerPolicy.c
7714 - (nm_policy_device_change_check): print out connection name where
7717 2007-10-08 Dan Williams <dcbw@redhat.com>
7719 * src/nm-device-802-11-wireless.c
7720 src/nm-device-802-11-wireless.h
7721 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7722 'hidden-ap-found' signal (for internal use only) that allows the
7723 NMManager to fill in the AP's SSID if a connection has that AP's
7724 BSSID in its seen-bssids list
7727 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7728 wireless device's hidden-ap-found signal and fill in the APs SSID
7731 2007-10-07 Dan Williams <dcbw@redhat.com>
7735 - Add a 'connections-added' signal to batch together updates of large
7736 numbers of connections, like when reading from a settings service
7737 the first time. Otherwise, the policy would just activate the first
7738 suitable connection it saw rather than waiting for the full list
7740 - (nm_manager_class_init): register new signal
7741 - (get_type_for_proxy, connection_get_settings_cb,
7742 get_connection_for_proxy): centralize places where a proxy's setting
7743 service is determined
7744 - (free_get_settings_info): if the call being freed is the last call
7745 in a pending call group, fire off the connections-added signal
7746 - (internal_new_connection_cb): add call to a pending call group if
7748 - (list_connections_cb): always create a call group here, because this
7749 call results in a batch of new connections
7750 - (initial_get_connections): start getting system connections first
7751 - (nm_manager_connections_destroy, emit_removed): actually emit the
7752 removed signal when destroying connections
7754 * src/NetworkManagerPolicy.c
7755 - (nm_policy_new, connections_added): handle connections-added signal
7758 2007-10-06 Dan Williams <dcbw@redhat.com>
7760 * src/nm-device-802-11-wireless.c
7761 - (constructor): fix leaked socket
7763 2007-10-06 Dan Williams <dcbw@redhat.com>
7765 * src/NetworkManagerPolicy.c
7766 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7767 connection in the list returned by nm_manager_get_connections() is
7768 reffed, but they weren't getting unreffed before returning
7770 2007-10-06 Dan Williams <dcbw@redhat.com>
7773 - (connections_to_slist): sort connections first on autoconnect, then
7776 2007-10-06 Dan Williams <dcbw@redhat.com>
7778 * libnm-util/nm-connection.c
7779 - (gvalue_to_string): handle UINT64
7781 2007-10-06 Dan Williams <dcbw@redhat.com>
7783 * src/NetworkManagerPolicy.c
7784 - (connection_updated, nm_policy_new): recheck state when a connection
7787 2007-10-06 Dan Williams <dcbw@redhat.com>
7791 - (nm_manager_get_connection_dbus_path): make static
7792 - (nm_manager_update_connections): remove; unused
7793 - Add a connection-updated signal
7794 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7795 handle connection object updates
7797 2007-10-06 Dan Williams <dcbw@redhat.com>
7799 * src/NetworkManagerPolicy.c
7800 - (connection_removed): deactivate removed connections
7802 2007-10-06 Dan Williams <dcbw@redhat.com>
7804 * libnm-util/nm-connection.c
7805 libnm-util/nm-connection.h
7806 - (nm_connection_replace_settings): new function
7808 2007-10-06 Dan Williams <dcbw@redhat.com>
7810 * libnm-glib/nm-device-802-11-wireless.c
7811 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7812 on error when getting the active access point over D-Bus from NM
7814 2007-10-05 Dan Williams <dcbw@redhat.com>
7816 * libnm-util/nm-setting.c
7817 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7818 to the NMSettingWireless table; it's now a string array not an array
7821 2007-10-05 Dan Williams <dcbw@redhat.com>
7823 * libnm-glib/nm-device-802-11-wireless.c
7824 - Cache properties and update cached properties on D-Bus signals from NM
7826 2007-10-05 Dan Williams <dcbw@redhat.com>
7828 * src/nm-device-802-11-wireless.c
7829 - (set_current_ap): consolidate current_ap handling code into one place
7830 to ensure that PropertiesChanged signals are emitted in all cases
7831 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7832 nm_device_802_11_wireless_dispose): use set_current_ap()
7834 2007-10-05 Dan Williams <dcbw@redhat.com>
7836 * libnm-glib/nm-access-point.c
7837 libnm-glib/nm-access-point.h
7838 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7839 because the value is cached internally now. Callers should not
7840 free the internal value.
7841 - Make signal name defines private
7844 libnm-glib/libnm-glib-test.c
7845 - Don't free value returned from nm_access_point_get_hw_address()
7847 2007-10-04 Dan Williams <dcbw@redhat.com>
7849 * introspection/nm-device-802-11-wireless.xml
7850 src/nm-device-802-11-wireless.h
7851 src/nm-device-802-11-wireless.c
7852 - Add a PropertiesChanged signal for wireless device
7853 - Store currently associated access point
7854 - (periodic_update): generalize; update rate here too and emit the
7855 correct PropertiesChanged signal when stuff changes
7856 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7857 real_activation_cancel_handler): clear current_ap when device is
7859 - (link_to_specific_ap, get_ap_blacklisted,
7860 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7862 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7864 - (real_set_hw_address): emit property changed signal if the card's
7866 - (real_act_stage1_prepare): set the initial current_ap to the AP
7867 the card is supposed to be connecting to
7868 - (activation_success_handler): send out property updates on successful
7870 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7871 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7872 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7873 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7874 is now boxed; add PropertiesChanged signal
7876 2007-10-04 Dan Williams <dcbw@redhat.com>
7878 * libnm-util/nm-connection.c
7879 libnm-util/nm-connection.h
7880 - (nm_connection_verify): new function
7882 2007-10-04 Dan Williams <dcbw@redhat.com>
7884 * libnm-util/nm-setting.c
7885 - (nm_settings_verify): use #defines when possible rather than strings
7886 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7887 - (setting_vpn_verify): tighter validity check on 'service_type'
7889 2007-10-04 Dan Williams <dcbw@redhat.com>
7891 * libnm-glib/nm-settings.c
7892 - (nm_connection_settings_class_init): provide correct type for argument
7893 to the Updated signal so that dbus-glib knows how to marshal it
7895 2007-10-03 Dan Williams <dcbw@redhat.com>
7897 * src/nm-device-802-3-ethernet.c
7898 - (real_get_best_connection): don't create automatic connections
7899 internally; clients should provide a setting that applies to
7900 the device with 'autoconnect: True'. Problem was that these
7901 internally auto-created connections don't have a proxy or service
7902 name becuase they weren't created by a settings daemon, and therefore
7903 clients have no idea what to do with them.
7905 2007-10-03 Dan Williams <dcbw@redhat.com>
7907 * src/nm-device-802-11-wireless.c
7908 src/nm-device-802-11-wireless.h
7909 introspection/nm-device-802-11-wireless.xml
7910 - GetActiveNetworks -> GetAccessPoints
7911 - ActiveNetwork -> ActiveAccessPoint
7912 - NetworkAdded -> AccessPointAdded
7913 - NetowrkRemoved -> AccessPointRemoved
7915 * libnm-glib/nm-device-802-11-wireless.c
7916 libnm-glib/nm-device-802-11-wireless.h
7917 - network-added signal -> access-point-added
7918 - network-removed signal -> access-point-removed
7919 - nm_device_802_11_wireless_get_active_network() ->
7920 nm_device_802_11_wireless_get_active_access_point()
7921 - nm_device_802_11_wireless_get_network_by_path() ->
7922 nm_device_802_11_wireless_get_access_point_by_path()
7923 - nm_device_802_11_wireless_get_networks() ->
7924 nm_device_802_11_wireless_get_access_points()
7926 * libnm-glib/libnm-glib-test.c
7928 src/NetworkManagerPolicy.c
7929 - Fixups for Network -> AccessPoint
7931 2007-10-03 Dan Williams <dcbw@redhat.com>
7933 Add a GetActiveConnections() method on the Manager object.
7937 introspection/nm-manager.xml
7938 - (connection_get_settings_cb): keep connection type around too
7939 - (impl_manager_get_active_connections, add_one_connection_element):
7940 implement; returns all active connections and what devices they
7943 * libnm-glib/nm-client.c
7944 libnm-glib/nm-client.h
7945 introspection/nm-manager-client.xml
7946 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7947 by the caller; free here to avoid memory leak
7948 - (nm_client_get_active_connections): implement; return the list of
7950 - (nm_client_free_active_connection_element): implement; free an element
7951 of the GSList returned by nm_client_get_active_connections()
7953 2007-10-03 Dan Williams <dcbw@redhat.com>
7955 * src/nm-device-802-11-wireless.c
7956 - (nm_device_802_11_wireless_update_bssid): remove
7957 - (get_active_ap): new function; find the AP in the scan list which
7958 matches the current BSSID and SSID of the wireless device
7959 - (nm_device_802_11_periodic_update): get current AP using
7960 get_active_ap() and print AP roam messages
7962 2007-10-01 Dan Williams <dcbw@redhat.com>
7964 * libnm-util/nm-setting.h
7965 - Add a 'timestamp' option to NMSettingConnection
7968 * libnm-util/nm-setting.c
7969 - (uint64_to_gvalue): new function
7970 - (nm_setting_populate_from_hash, nm_setting_hash,
7971 default_setting_clear_secrets): handle UINT64 type
7972 - con_table: add 'timestamp' member
7974 2007-10-01 Dan Williams <dcbw@redhat.com>
7977 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7978 value when the connection can be activated immediately
7980 2007-10-01 Dan Williams <dcbw@redhat.com>
7982 * libnm-glib/nm-device.c
7983 - (nm_device_class_init): actually tell glib about the carrier-changed
7986 2007-10-01 Dan Williams <dcbw@redhat.com>
7989 src/marshallers/Makefile.am
7990 src/marshallers/nm-marshal.list
7991 src/marshallers/nm-marshal-main.c
7992 - Consolidate glib marshallers into one place
7994 * src/dhcp-manager/Makefile.am
7995 src/dhcp-manager/nm-dhcp-manager.c
7996 src/supplicant-manager/Makefile.am
7997 src/supplicant-manager/nm-supplicant-manager.c
7998 src/supplicant-manager/nm-supplicant-interface.c
7999 src/ppp-manager/Makefile.am
8000 src/ppp-manager/nm-ppp-manager.c
8001 src/vpn-manager/Makefile.am
8002 src/vpn-manager/nm-vpn-connection.c
8004 - Use consolidated marshallers
8006 * src/dhcp-manager/nm-dhcp-marshal.list
8007 src/dhcp-manager/nm-dhcp-marshal-main.c
8008 src/supplicant-manager/nm-supplicant-marshal-main.c
8009 src/supplicant-manager/nm-supplicant-marshal.list
8010 src/nm-marshal-main.c
8012 src/ppp-manager/nm-ppp-marshal-main.c
8013 src/ppp-manager/nm-ppp-marshal.list
8014 src/vpn-manager/nm-vpn-marshal-main.c
8015 src/vpn-manager/nm-vpn-marshal.list
8018 2007-10-01 Dan Williams <dcbw@redhat.com>
8020 * include/NetworkManagerVPN.h
8021 - define VPN connection state change reason codes
8023 * src/vpn-manager/Makefile.am
8024 src/vpn-manager/nm-vpn-marshal.list
8025 src/vpn-manager/nm-vpn-marshal-main.c
8026 - Add marshallers for StateChanged signal
8028 * introspection/nm-vpn-connection.xml
8029 - New Banner property
8030 - StateChanged signal now includes a 'reason' argument
8032 * src/vpn-manager/nm-vpn-connection.c
8033 src/vpn-manager/nm-vpn-connection.h
8034 - Add a "Banner" property that contains the returned VPN server login
8035 banner (if any); valid only in the ACTIVATED state
8036 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
8037 a 'reason' argument and emits that reason along with the
8038 state-changed signal
8039 - Fix up calls to nm_vpn_connection_set_state() to include a reason
8040 - (nm_vpn_connection_ip4_config_get): save banner for later
8041 - (nm_vpn_connection_get_banner, get_property,
8042 nm_vpn_connection_class_init): implement Banner property
8044 * src/vpn-manager/nm-vpn-service.c
8045 - (nm_vpn_service_connections_stop): take a reason argument; copy the
8046 connection list because elements may get added/removed from it
8047 while iterating over the list
8048 - (connection_state_changed): signal now includes the 'reason' argument
8050 * libnm-glib/nm-vpn-connection.c
8051 libnm-glib/nm-vpn-connection.h
8052 - (nm_vpn_connection_get_banner): new function
8053 - (state_changed_proxy): handle reason argument
8055 2007-09-28 Tambet Ingo <tambet@gmail.com>
8059 Implement device activation through NMManager.
8060 Implement "pending device activation" here - If the connection isn't found,
8061 we try to wait for up to 5 seconds for the connection to be provided.
8062 Add NMConnectionType argument to "connection-added" and "connection-removed"
8064 (nm_manager_get): Remove. Finally.
8066 * src/nm-activation-request.c:
8067 * src/nm-activation-request.h:
8068 Remove all the deferred activation code.
8070 * src/nm-device.c: Remove all the deferred activation code. Once the device
8071 activation is started, it's started. Update the activation virtual function
8074 * src/nm-device-interface.c:
8075 * src/nm-device-interface.h:
8076 Device activation now takes only NMActRequest argument.
8077 Don't expose device activation directly on dbus, it's supposed to go through
8080 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
8082 Use the new device activation methods through NMManager.
8084 * introspection/nm-manager-client.xml:
8085 * introspection/nm-manager.xml:
8086 * libnm-glib/nm-client.c:
8087 * libnm-glib/nm-client.h:
8088 Add device activation method.
8090 * libnm-glib/nm-device.c:
8091 * libnm-glib/nm-device.h:
8092 * introspection/nm-device.xml:
8093 Remove device activation method. It's done through NMManager now.
8095 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
8096 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
8098 2007-09-28 Dan Williams <dcbw@redhat.com>
8100 * libnm-glib/nm-vpn-connection.c
8101 - (nm_vpn_connection_get_state): try to update state if the current
8104 2007-09-27 Dan Williams <dcbw@redhat.com>
8106 Patch from Bill Nottingham
8108 * src/supplicant-manager/nm-supplicant-config.c
8109 - (ADD_STRING_VAL): use correct length for binary blobs when sending
8110 data to the supplicant
8112 2007-09-27 Dan Williams <dcbw@redhat.com>
8114 * src/NetworkManagerSystem.c
8115 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
8116 and all address manipulation here should be happening on the
8117 _VPN_ device, not the active device
8119 2007-09-26 Dan Williams <dcbw@redhat.com>
8123 src/nm-activation-request.c
8124 src/nm-activation-request.h
8125 - Move the GetSecrets stuff out of the NMManager instance because it
8126 doesn't really need to be there and complicates things
8129 - (connection_secrets_failed_cb, device_activation_go): connect to the
8130 connection-secrets-failed signal and deactivate the device if
8131 the GetSecrets call fails
8133 * src/nm-device-802-11-wireless.c
8134 - (link_timeout_cb, supplicant_connection_timeout_cb,
8135 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
8136 secrets and give correct hints about whether new secrets should be
8137 asked for by the client or not
8139 2007-09-26 Dan Williams <dcbw@redhat.com>
8141 * src/vpn-manager/nm-vpn-connection.c
8142 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
8143 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
8144 to the secrets-updated signal of the NMConnection since updating
8145 the secrets is done within the scope of the NMVPNConnection object
8147 - (get_connection_secrets): fix an uninialized variable usage error
8149 2007-09-26 Dan Williams <dcbw@redhat.com>
8151 * libnm-util/nm-setting.c
8152 - (setting_vpn_properties_update_secrets): implement so VPN secrets
8153 actually get updated when the user enters them
8155 2007-09-26 Dan Williams <dcbw@redhat.com>
8157 * libnm-glib/nm-vpn-plugin.c
8158 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
8160 2007-09-26 Dan Williams <dcbw@redhat.com>
8162 * include/NetworkManagerVPN.h
8163 - Add a NEED_AUTH state
8165 * src/vpn-manager/nm-vpn-connection.c
8166 - Implement the NEED_AUTH state. First ask the VPN service plugin if
8167 the connection needs secrets, and if so, then ask the settings
8168 service to fill in the secrets. Then start the connection.
8170 2007-09-26 Dan Williams <dcbw@redhat.com>
8172 * src/vpn-manager/nm-vpn-manager.c
8173 - (new_vpn_error, impl_vpn_manager_connect): set errors
8175 2007-09-26 Dan Williams <dcbw@redhat.com>
8177 * introspection/nm-vpn-plugin.xml
8178 libnm-glib/nm-vpn-plugin.c
8179 libnm-glib/nm-vpn-plugin.h
8180 - (impl_vpn_plugin_need_secrets): implement a call that should return
8181 the name of the NMSetting in an NMConnection that may require
8182 secrets specific to that VPN plugin
8184 2007-09-26 Dan Williams <dcbw@redhat.com>
8188 - (nm_manager_get_connection_secrets): make static, unused outside
8190 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
8192 2007-09-26 Tambet Ingo <tambet@gmail.com>
8194 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
8196 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
8197 unreference the connection.
8199 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
8200 passing properties hash and routes string list, pass NMConnection (in hashed form).
8202 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
8203 as GSList, no need to copy stuff around anymore.
8204 (nm_vpn_connection_activate): Update the plugin activation method.
8206 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
8207 routes argument to GSList.
8209 2007-09-26 Tambet Ingo <tambet@gmail.com>
8211 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
8212 state and try to get the secrets.
8214 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
8215 connections from NMManager and let the device to choose the best from the list.
8216 Since the connection list is sorted by system ones first and user ones later,
8217 the devices still prefer system connections like they did before.
8218 (deactivate_old_device): Implement. When a device starts activation, we have a
8219 policy (for now at least) to deactivate any other device that might be either
8220 active or still activating.
8222 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
8223 It's set on construction, there will be no other way to access it.
8225 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
8226 device events and drive the device, not the other way around.
8228 * src/nm-device-802-3-ethernet.c: Ditto.
8230 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
8231 sent along, pass it on to virtual functions.
8233 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
8234 for now, but should really be public instead of nm_device_get_iface() since iface
8235 is a property of the DeviceInterface, not Device.
8236 (impl_device_activate): Don't touch NMManager!
8238 2007-09-26 Jürg Billeter <j@bitron.ch>
8240 * initscript/paldo/NetworkManager.in:
8241 * initscript/paldo/NetworkManagerDispatcher.in:
8242 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
8243 (nm_system_flush_loopback_routes): update paldo backend
8245 2007-09-26 Tambet Ingo <tambet@gmail.com>
8247 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
8248 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
8249 which means none of the devices get brought down properly, which in turn leaves
8250 DHCP client running.
8252 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
8253 (supplicant_connection_timeout_cb): Ditto.
8255 2007-09-25 Dan Williams <dcbw@redhat.com>
8258 - (device_activation_go): small hack to work around race when
8259 activating deferred connections; should solve this in a better way
8261 2007-09-25 Dan Williams <dcbw@redhat.com>
8263 * introspection/nm-device.xml
8264 libnm-glib/nm-device.c
8265 libnm-glib/nm-device.h
8266 - Add 'Carrier' property to exported NMDevice objects
8268 * src/nm-device-interface.h
8269 src/nm-device-interface.c
8271 - Add a 'carrier' property to internal NMDevice objects
8273 2007-09-25 Dan Williams <dcbw@redhat.com>
8275 * src/nm-device-802-11-wireless.c
8276 - (ap_auth_enforced): also return the encryption status of the AP so
8277 that callers can differentiate easily between unencrypted APs
8278 and encrypted ones, in addition to whether the AP has an
8280 - (link_timeout_cb, supplicant_connection_timeout_cb,
8281 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
8282 previously would request secrets from unencrypted APs at times
8284 2007-09-25 Dan Williams <dcbw@redhat.com>
8287 - (nm_manager_update_state): new function; updates state and emits
8288 appropriate signals ensuring a state-change signal for the same state
8289 never gets emitted twice in a row.
8290 - (manager_device_state_changed): handle more device state to get a
8291 better picture of the overall NM state
8293 2007-09-25 Dan Williams <dcbw@redhat.com>
8295 * libnm-glib/nm-settings.c
8296 libnm-glib/nm-settings.h
8297 - (new_error -> nm_settings_new_error): make public so that subclasses
8298 can use the same error domain. Also pass a valid error code to
8299 g_error_new_literal() so that libdbus doesn't assert when converting
8300 the GError into a DBusError
8301 - (impl_settings_list_connections, impl_connection_settings_get_id,
8302 impl_connection_settings_get_settings,
8303 impl_connection_settings_get_secrets): use new error creator
8306 2007-09-25 Dan Williams <dcbw@redhat.com>
8308 * src/NetworkManager.c
8309 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
8311 2007-09-25 Dan Williams <dcbw@redhat.com>
8313 * src/supplicant-manager/nm-supplicant-manager.c
8314 - (poke_supplicant_cb, nm_supplicant_manager_init,
8315 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
8316 nm_supplicant_manager_startup): when the supplicant isn't running,
8317 try to start it periodically via system bus activation. Fixes
8318 a problem where if wpa_supplicant goes away, NM gets stuck waiting
8319 for the supplicant to come back
8321 2007-09-25 Dan Williams <dcbw@redhat.com>
8323 Ensure that old activation requests are forgotten about; previously
8324 hitting Cancel in the password dialog would deactivate whatever device
8325 that password was requested for, even if that wasn't the currently
8326 activating connection.
8330 - (nm_manager_get_connection_secrets): track the pending call
8331 object so it can be canceled later if needed
8332 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8333 GetSecrets call for a particular connection
8335 * src/nm-activation-request.c
8336 - (dispose): cancel any outstanding GetSecrets calls on the
8339 2007-09-25 Dan Williams <dcbw@redhat.com>
8341 * src/NetworkManagerPolicy.c
8342 - (nm_policy_device_change_check): handle devices that have a
8343 deferred activation. These devices are not really active _yet_,
8344 but need to be treated as such here. Don't interrupt them
8347 * src/nm-device-interface.c
8348 - (impl_device_activate): handle devices that have a deferred activation
8349 like activating or active devices. When multiple active devices
8350 get committed, the device shouldn't be deactivated until the
8351 connection details are available to avoid DoS and such. Currently,
8352 any active, activating, or deferred activation device is deactivated
8353 here before starting the new activation request.
8355 2007-09-25 Dan Williams <dcbw@redhat.com>
8357 Properly re-query secrets from the settings daemon when stuff fails.
8359 * src/nm-device-802-11-wireless.c
8360 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8361 between Shared Key and Open System auth modes
8362 - (link_timeout_cb, supplicant_connection_timeout_cb,
8363 real_act_stage4_ip_config_timeout): clear existing secrets and
8364 request new ones when something fails due to a suspected wrong key
8365 - (real_act_stage2_config): fix for new request_new argument to
8366 nm_manager_get_connection_secrets()
8370 - (nm_manager_get_connection_secrets): return error status; pass
8371 new request_new argument on to the settings daemon
8373 * introspection/nm-settings-connection.xml
8374 - New 'request_new' argument to the GetSecrets call that hints to the
8375 settings daemon to ask the user for completely new secrets
8377 * libnm-glib/nm-settings.c
8378 libnm-glib/nm-settings.h
8379 - (impl_connection_settings_get_secrets): handle new 'request_new'
8382 2007-09-25 Dan Williams <dcbw@redhat.com>
8384 * libnm-util/nm-connection.c
8385 libnm-util/nm-connection.h
8386 - (nm_connection_clear_secrets): new function; clear secrets out of
8387 each NMSetting in an NMConnection
8389 * libnm-util/nm-setting.h
8390 libnm-util/nm-setting.c
8391 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8392 secrets out of an NMSetting
8393 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8394 nm_setting_wired_new, nm_setting_wireless_new,
8395 nm_setting_wireless_security_new, nm_setting_ppp_new,
8396 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8397 to default handler default_setting_clear_secrets()
8399 2007-09-25 Dan Williams <dcbw@redhat.com>
8401 * src/nm-activation-request.c
8402 src/nm-activation-request.h
8403 - (nm_act_request_is_deferred): new function
8405 2007-09-24 Dan Williams <dcbw@redhat.com>
8407 * src/nm-device-802-11-wireless.c
8408 - (activation_success_handler): update signal strength immediately
8411 2007-09-24 Dan Williams <dcbw@redhat.com>
8413 * libnm-util/nm-setting.c
8414 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8416 2007-09-24 Dan Williams <dcbw@redhat.com>
8418 * src/NetworkManagerPolicy.c
8419 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8420 device by deactivating it because it doesn't have a "best connection".
8421 Since autoconnect=False connections aren't automatically chosen,
8422 NM would interrupt activation of such a connection because it
8423 would never be "best" due to autoconnect=False.
8425 2007-09-24 Dan Williams <dcbw@redhat.com>
8428 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8429 actually has some time to enter a key before the GetSecrets call
8432 2007-09-24 Dan Williams <dcbw@redhat.com>
8434 * introspection/nm-manager.xml
8436 - (impl_manager_legacy_state): fix 'state' method call return value
8438 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8440 * test/Makefile.am: Install nm-tool
8442 2007-09-24 Dan Williams <dcbw@redhat.com>
8444 Patch from Ross Burton <ross@burtonini.com>
8447 callouts/nm-dhcp-client-action.c
8449 src/vpn-manager/nm-vpn-connection.c
8450 libnm-glib/libnm-glib-test.c
8453 2007-09-24 Dan Williams <dcbw@redhat.com>
8455 * libnm-util/nm-utils.h
8456 libnm-util/nm-utils.c
8457 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8460 2007-09-23 Dan Williams <dcbw@redhat.com>
8462 * vpn-daemons/vpnc/properties/nm-vpnc.c
8463 - Update for new VPN properties API bits; instead of passing around
8464 a lot of random things, everything goes into the NMConnection
8467 2007-09-23 Dan Williams <dcbw@redhat.com>
8469 * libnm-util/nm-setting.c
8470 - Correctly dispose of settings objects if creating them from a hash
8473 2007-09-23 Dan Williams <dcbw@redhat.com>
8475 * libnm-util/nm-setting.c
8476 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8477 the hash table in a standard manner. Clients of libnm-util should
8478 only call g_hash_table_remove_all(), never destroy the hash table
8481 2007-09-22 Dan Williams <dcbw@redhat.com>
8483 * src/nm-device-802-11-wireless.c
8484 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8485 real reason to do it so often, and reduces wakeups for clients.
8487 2007-09-21 Dan Williams <dcbw@redhat.com>
8489 * src/nm-device-802-11-wireless.c
8490 - (build_supplicant_config): wpa_supplicant requires the option
8491 key_mgmt=NONE for unencrypted networks
8492 - (real_act_stage2_config): clarify log message on activation
8494 2007-09-21 Dan Williams <dcbw@redhat.com>
8496 * test/nm-supplicant-test.c
8498 - Remove supplicant test binary; no longer applicable
8500 2007-09-21 Dan Williams <dcbw@redhat.com>
8502 * src/supplicant-manager/nm-supplicant-manager.c
8503 - (nm_supplicant_manager_init): poke the supplicant at startup to
8504 activate it on the system bus
8506 2007-09-20 Dan Williams <dcbw@redhat.com>
8508 * initscript/RedHat/NetworkManager.in
8509 - dhcdbd is no longer used, so don't try to start it from the initscripts
8511 2007-09-20 Dan Williams <dcbw@redhat.com>
8514 - (nm_device_is_activating): work around a race between auto-activation
8515 and the user activating the same device that is being auto-activated
8517 2007-09-20 Dan Williams <dcbw@redhat.com>
8519 * src/nm-device-interface.c
8520 - (impl_device_activate): until multiple active device support lands,
8521 ensure only one device can be active at a time
8523 2007-09-20 Dan Williams <dcbw@redhat.com>
8525 * src/supplicant-manager/nm-supplicant-config.c
8526 src/supplicant-manager/nm-supplicant-config.h
8527 - (nm_supplicant_config_add_option): hide secrets from system logs
8529 2007-09-20 Dan Williams <dcbw@redhat.com>
8531 * src/NetworkManagerPolicy.c
8532 - (nm_policy_device_change_check): re-enable the wireless device change
8533 checking code; insted of checking for SSIDs, check for the same
8536 2007-09-20 Dan Williams <dcbw@redhat.com>
8538 * src/nm-device-802-11-wireless.c
8539 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8540 composite link state when determining when to start the disconnection
8541 timer; that link state is already based on the supplicant interface's
8542 status which is exactly what's already being examined, plus the link
8543 state is a conglomeration of various things that we don't want here
8545 2007-09-20 Dan Williams <dcbw@redhat.com>
8547 * libnm-glib/nm-access-point.c
8548 - (handle_property_changed): strength is a UCHAR
8550 2007-09-20 Dan Williams <dcbw@redhat.com>
8552 * src/supplicant-manager/nm-supplicant-config.c
8553 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8554 string list keywords too since that's what wpa_supplicant wants
8556 2007-09-20 Dan Williams <dcbw@redhat.com>
8558 * libnm-util/nm-setting.c
8559 - (convert_strv_to_slist): dupe the values in the list because since
8560 the list is a boxed value, it'll get destroyed when it's container
8561 (like a hash table or whatever) gets destroyed
8563 2007-09-20 Tambet Ingo <tambet@gmail.com>
8565 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8568 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8570 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8571 just use (g_object_set_data_full).
8573 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8574 that NMSettingVPN->routes is a GSList, convert it to char **.
8575 (nm_vpn_connection_ip4_config_get): Free routes when done.
8576 (nm_vpn_connection_activate): Ditto.
8578 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8579 (real_act_stage2_config): Use defined setting names.
8581 2007-09-20 Dan Williams <dcbw@redhat.com>
8583 * src/nm-device-802-11-wireless.c
8586 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8587 so that the device can be deactivated if secrets are wrong
8589 2007-09-20 Dan Williams <dcbw@redhat.com>
8591 * introspection/nm-settings-connection.xml
8592 libnm-glib/nm-settings.c
8593 libnm-glib/nm-settings.h
8594 - Make GetSecrets asynchronous on the server side
8596 2007-09-20 Dan Williams <dcbw@redhat.com>
8600 - (nm_device_activate): actually check if a given connection
8601 exists before assuming it doesn't
8603 2007-09-20 Tambet Ingo <tambet@gmail.com>
8605 * libnm-util/nm-connection.c (register_default_creators): Use defined
8606 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8608 * libnm-util/nm-setting.c: Define property name strings, use them.
8609 Implement NMSettingVPN and NMSettingVPNProperties settings.
8610 Implement NM_S_TYPE_GVALUE_HASH.
8611 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8612 (setting_connection_verify): Rename 'devtype' property to 'type'.
8614 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8617 * src/vpn-manager/nm-vpn-service.c: Ditto.
8619 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8621 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8622 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8624 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8625 names. NMSettingConnection->devtype got renamed to 'type'.
8627 * src/nm-device-802-3-ethernet.c (find_best_connection):
8628 (real_get_best_connection): Ditto.
8630 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8632 * libnm-glib/nm-vpn-manager.[ch]: Update.
8634 2007-09-19 Dan Williams <dcbw@redhat.com>
8636 * src/NetworkManagerAP.c
8637 src/NetworkManagerAP.h
8638 introspection/nm-access-point.xml
8639 - Change strength-changed signal into a properties-changed signal
8640 for all properties, not just strength. Export that signal over dbus
8641 so listeners don't have to poll NM for changes.
8642 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8643 get exported over D-Bus, so break up the logic and let other bits
8644 decided when to export the AP
8645 - (nm_ap_new_from_ap): remove, unused
8647 * src/nm-device-802-11-wireless.c
8648 - (merge_scanned_ap): only export APs that are actually on the device
8649 list, not every AP created internally
8651 * libnm-glib/nm-access-point.c
8652 libnm-glib/nm-access-point.h
8653 - Cache properties internally and only hit DBus when needed. Get
8654 property updates from NM signals
8656 2007-09-16 Dan Williams <dcbw@redhat.com>
8658 * libnm-util/nm-connection.c
8659 libnm-util/nm-connection.h
8660 - (nm_connection_for_each_setting_value): new function; iterate over
8661 each setting's value and call a user-provided function with details
8664 * libnm-util/nm-setting.c
8665 libnm-util/nm-setting.h
8666 - (nm_setting_enumerate_values): new function; enumerate the values
8667 of a specific NMSetting subclass for a user-provided function with
8668 details about that value
8669 - Change wep_tx_keyidx to a uint32
8670 - Create settings value tables for each setting defining their type,
8671 key name, offset into the NMSetting subclass' structure, and whether
8672 they are required and/or a secret
8673 - (nm_setting_populate_from_hash): generic function to populate an
8674 NMSetting from a GHash table, make all settings use it
8675 - (nm_setting_hash): generic function to derive a GHashTable from
8676 an NMSetting object, make all settings use it
8678 2007-09-14 Dan Williams <dcbw@redhat.com>
8680 Remove unused stuff in libnm-util
8683 libnm-util/Makefile.am
8684 libnm-util/cipher-private.h
8685 libnm-util/cipher-wep-ascii.c
8686 libnm-util/cipher-wep-ascii.h
8687 libnm-util/cipher-wep-hex.c
8688 libnm-util/cipher-wep-hex.h
8689 libnm-util/cipher-wep-passphrase.c
8690 libnm-util/cipher-wep-passphrase.h
8691 libnm-util/cipher-wpa-psk-hex.c
8692 libnm-util/cipher-wpa-psk-hex.h
8693 libnm-util/cipher-wpa-psk-passphrase.c
8694 libnm-util/cipher-wpa-psk-passphrase.h
8697 libnm-util/dbus-helpers.c
8698 libnm-util/dbus-helpers.h
8699 libnm-util/gnome-keyring-md5.c
8700 libnm-util/gnome-keyring-md5.h
8703 src/nm-device-802-11-wireless.c
8704 test/libnm-util/Makefile.am
8705 test/libnm-util/test-ciphers.c
8706 test/libnm-util/test-dbus-helpers.c
8707 test/libnm-util/test-inputs.h
8710 2007-09-14 Dan Williams <dcbw@redhat.com>
8712 * libnm-util/dbus-method-dispatcher.c
8713 libnm-util/dbus-method-dispatcher.h
8716 2007-09-14 Dan Williams <dcbw@redhat.com>
8718 Implement deferred activation support in the device class.
8720 * src/nm-device-interface.c
8721 src/nm-device-interface.h
8722 - (nm_device_interface_activate): take more arguments to support
8723 deferred activation; callers must pass one of (connection) OR
8724 (service_name, connection_path)
8725 - (impl_device_activate): connection validation is punted to the device
8726 to be able to handle deferred activation. Yes, this means errors
8727 don't get returned from the Activate() dbus call, and yes, that
8728 should be fixed somehow later.
8732 - (clear_act_request): clear additional deferred activation stuff too
8733 - (deferred_activation_timeout_cb): new function; clean up when
8734 deferred activation times out.
8735 - (deferred_activation_start_cb): new function; when the connection
8736 finally becomes available, start device activation
8737 - (nm_device_activate): attach to the right signals of the activation
8738 request if we need to defer activation until the connection is valid
8740 * src/NetworkManagerPolicy.c
8741 - (nm_policy_device_change_check): update for additional arguments
8742 required for nm_device_interface_activate(). Pass NULL for these
8743 though because this function already knows exactly which
8746 2007-09-14 Dan Williams <dcbw@redhat.com>
8748 Implement deferred activation handling in the NMActRequest class. When a
8749 client wants to activate a device but must create the NMConnection details
8750 on the fly, there likely hasn't been enough time yet for NM to receive the
8751 new connection signal and grab all the connection details. So the
8752 activation is deferred (and bounded by a timer) for a while, and if the
8753 connection appears within the window, it is activated.
8755 * src/nm-activation-request.c
8756 src/nm-activation-request.h
8757 - (nm_act_request_class_init): two new signals to support deferred
8758 activation, to allow the listener to handle both timeout and success
8759 - (nm_act_request_new_deferred): new function, starts the deferred
8760 activation timeout handler and listens to the NMManager for
8761 new-connection signals to notice when the connection comes in
8763 2007-09-14 Dan Williams <dcbw@redhat.com>
8767 - (nm_manager_get_connection_service_name,
8768 nm_manager_get_connection_dbus_path): get details about a connection
8769 known internally by the NMManager
8770 - (nm_manager_class_init): fix connection add/remove signal marshalers
8771 because NMConnection is now a GObject subclass
8772 - Use constant for the gobject data tag used on NMConnection objects for
8773 storing the associated DBusGProxy
8775 2007-09-14 Dan Williams <dcbw@redhat.com>
8780 src/supplicant-manager/Makefile.am
8781 src/dhcp-manager/Makefile.am
8782 src/backends/Makefile.am
8783 src/named-manager/Makefile.am
8784 src/ppp-manager/Makefile.am
8785 src/vpn-manager/Makefile.am
8786 test/libnm-util/Makefile.am
8787 test/test-common/Makefile.am
8788 - Remove utils/; it was unused
8790 2007-09-13 Dan Williams <dcbw@redhat.com>
8792 * libnm-glib/nm-vpn-manager.h
8793 libnm-glib/nm-vpn-manager.c
8794 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8796 2007-09-13 Dan Williams <dcbw@redhat.com>
8798 * src/nm-device-802-3-ethernet.c
8799 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8800 netlink monitor carrier signals on dispose, not bring down. The
8801 carrier signals should be handled over the entire lifetime of the
8802 device anyway, not created/destroyed on up or down.
8804 2007-09-13 Dan Williams <dcbw@redhat.com>
8806 * libnm-glib/nm-device.c
8807 libnm-glib/nm-device.h
8808 - (nm_device_activate): take a connection object path rather than an
8809 NMConnection because NMConnection isn't exported over D-Bus and
8810 therefore it dbus-glib can't automatically get an object path from it
8812 2007-09-13 Dan Williams <dcbw@redhat.com>
8814 * libnm-util/nm-setting.c
8815 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8817 2007-09-13 Tambet Ingo <tambet@gmail.com>
8819 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8821 2007-09-12 Tambet Ingo <tambet@gmail.com>
8823 * src/vpn-manager/nm-vpn-connection.[ch]:
8824 * src/vpn-manager/nm-vpn-manager.[ch]:
8825 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8826 dbus-glib, GObjects, signals etc.
8828 * libnm-glib/nm-vpn-manager.[ch]:
8829 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8830 so much, rewrite these too.
8832 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8833 the new introspection files.
8835 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8837 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8838 the header with the same name from libnm-utils.
8840 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8842 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8844 * introspection/nm-vpn-plugin.xml: Implement.
8846 * introspection/nm-vpn-connection.xml: Implement.
8848 * introspection/nm-vpn-manager.xml: Implement.
8850 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8851 the named manager argument, it can just as easily get it as the caller.
8852 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8854 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8856 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8858 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8861 * libnm-util/nm-connection.c: Ditto.
8863 * src/NetworkManagerMain.h: Remove, it's finally empty.
8865 * configure.in: Remove utils/ from build.
8867 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8868 of hard-coded strings.
8870 * utils/: Move it over to libnm-util.
8872 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8874 * dispatcher-daemon/Makefile.am: Ditto.
8876 * src/Makefile.am: Ditto.
8878 2007-09-12 Dan Williams <dcbw@redhat.com>
8880 Wireless connections can be made with config data from the applet now.
8884 * src/supplicant-manager/nm-supplicant-config.h
8885 src/supplicant-manager/nm-supplicant-config.c
8886 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8887 - (nm_supplicant_config_add_setting_wireless,
8888 nm_supplicant_config_add_setting_wireless_security): new functions;
8889 add key/value pairs from the settings objects to the supplicant
8892 * src/nm-device-802-11-wireless.c
8893 - (cull_scan_list): fix check to not prune currently associated AP
8894 - (build_supplicant_config, real_act_stage2_config): call the functions
8895 of the NMSupplicantConfig that parse settings objects rather than
8896 doing it manually here
8898 2007-09-12 Dan Williams <dcbw@redhat.com>
8900 * src/supplicant-manager/nm-supplicant-interface.c
8901 src/supplicant-manager/nm-supplicant-marshal.list
8902 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8903 "connection-error" signal arguments should be STRING not CHAR
8905 2007-09-12 Dan Williams <dcbw@redhat.com>
8907 * src/NetworkManagerUtils.c
8908 src/NetworkManagerUtils.h
8909 - (nm_utils_hexstr2bin): new function
8911 2007-09-11 Dan Williams <dcbw@redhat.com>
8914 - (connection_get_settings_cb): emit connection-added signal
8915 - (connection_removed_cb): uncomment bits for system settings service,
8916 send connection-removed when appropriate
8917 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8918 the stack by trying to g_object_set_data() on something that's
8919 not a GObject; handle case where settings service returns
8920 empty settings hash table
8922 2007-09-11 Dan Williams <dcbw@redhat.com>
8924 * src/NetworkManagerPolicy.c
8925 - (connection_added, connection_removed): trigger device change checks
8926 on connection changes
8928 2007-09-11 Dan Williams <dcbw@redhat.com>
8930 * src/nm-activation-request.c
8931 - (connection_secrets_updated_cb): fix c&p error in signal emission
8933 2007-09-11 Dan Williams <dcbw@redhat.com>
8935 * src/nm-device-802-11-wireless.c
8936 - (real_connection_secrets_updated): fix erroneous check
8938 2007-09-11 Dan Williams <dcbw@redhat.com>
8940 * introspection/nm-device.xml
8941 libnm-glib/nm-device.c
8942 libnm-glib/nm-device.c
8943 - Fix Activate call argument borkage; Activate takes 3 arguments
8945 2007-09-11 Dan Williams <dcbw@redhat.com>
8947 * libnm-glib/nm-access-point.c
8948 libnm-glib/nm-access-point.c
8949 - (nm_access_point_get_frequency): now returns guint32 to match
8950 property change on 2007-09-10
8952 2007-09-11 Dan Williams <dcbw@redhat.com>
8954 * src/nm-device-802-11-wireless.c
8955 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8956 somewhere defines 'index' and I missed this one when I fixed the
8957 shadow declaration errors earlier
8959 2007-09-11 Dan Williams <dcbw@redhat.com>
8961 * libnm-util/nm-connection.c
8962 - (nm_connection_update_secrets, need_secrets_check): move
8963 802-11-wireless-security need_secrets checks to the setting object
8964 itself, where it belongs
8966 * libnm-util/nm-setting.c
8967 libnm-util/nm-setting.h
8968 - (nm_setting_need_secrets): new function
8969 - (setting_wireless_security_verify,
8970 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8971 - (setting_wireless_security_need_secrets): mostly copy code over
8972 from nm-connection.c
8974 2007-09-11 Dan Williams <dcbw@redhat.com>
8976 * libnm-util/nm-setting.c
8977 libnm-util/nm-setting.h
8978 - (nm_setting_update_secrets): new function; add a virtual function that
8979 subclasses can implement to update their secrets
8980 - (setting_wireless_security_update_secrets): implement that function
8981 for the 802-11-wireless-security subclass
8983 * libnm-util/nm-connection.c
8984 libnm-util/nm-connection.h
8985 - (nm_connection_update_secrets): update secrets for a Setting and
8986 emit a signal on success
8991 - (connection_get_settings_cb): enable system settings bits
8992 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8993 to request secrets from the settings dbus service and to
8994 push those secrets to the NMConnection itself
8996 * src/nm-activation-request.c
8997 src/nm-activation-request.h
8998 - Attach to the 'secrets-updated' signal of the NMConnection that's
8999 currently being activated, and proxy that signal to other listeners.
9000 Goes through the activation request because the activation request
9001 is the thing that manages the lifetime of the NMConnection that's
9004 * src/nm-device-802-11-wireless.c
9005 - (real_connection_secrets_updated): implement the connection secrets
9006 updated notification and restart activation when secrets are
9008 - (real_act_stage2_config): request secrets from the settings dbus
9009 service if secrets are needed
9013 - (clear_act_request, nm_device_activation_cancel,
9014 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
9015 where the activation request is cleared
9016 - (nm_device_activate, connection_secrets_updated_cb): attach to the
9017 updated secrets signal of activation request and add a function
9018 that subclasses can override to handle it easily
9020 2007-09-11 Tambet Ingo <tambet@gmail.com>
9022 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
9023 removal of NetworkManagerAPList.
9025 2007-09-10 Dan Williams <dcbw@redhat.com>
9027 * src/NetworkManagerAP.c
9028 src/NetworkManagerAP.h
9029 introspection/nm-access-point.xml
9030 - Change 'freq' property to a guint32 instead of a double since we
9031 weren't using the floating point bits anyway
9033 2007-09-10 Dan Williams <dcbw@redhat.com>
9035 * NetworkManagerAP.c
9037 NetworkManagerPolicy.c
9038 NetworkManagerSystem.c
9039 NetworkManagerUtils.c
9040 NetworkManagerUtils.h
9041 nm-device-802-11-wireless.c
9042 nm-device-802-3-ethernet.c
9045 vpn-manager/nm-dbus-vpn.c
9046 - Warning fixes; casts and removal of unused variables
9048 2007-09-10 Dan Williams <dcbw@redhat.com>
9050 * include/NetworkManager.h
9051 - Kill NMNetworkType; AP types don't matter any more
9053 * src/NetworkManagerAPList.c
9054 src/NetworkManagerAPList.h
9056 - Kill; NMAccessPointList has outlived it's usefulness
9058 * src/NetworkManagerAP.c
9059 src/NetworkManagerAP.h
9060 - (match_cipher, security_compatible, nm_ap_check_compatible): new
9061 functions; check if an NMConnection object is compatible with the
9063 - (freq_to_channel, channel_to_freq): utility functions for
9064 channel <-> frequency conversion
9068 - (nm_device_get_best_connection): pass the specific object around
9069 (which might be the object path of a specific AP to connect to).
9070 The get_best_connection() call should populate this on return
9071 if needed (wireless does).
9073 * src/nm-device-802-3-ethernet.c
9074 - (real_get_best_connection): handle specific_object argument
9076 * src/NetworkManager.c
9077 src/NetworkManagerMain.h
9078 - Remove unused includes
9080 * src/nm-device-802-11-wireless.c
9081 src/nm-device-802-11-wireless.h
9082 - Convert the ap_list into a GSList from an NMAccessPointList
9083 - No need for caching the 'activation_ap' since this is now determined
9084 from the specific_object of the activation request, which is
9085 populated from the get_best_connection() call or from a user request
9086 - (nm_device_802_11_wireless_update_bssid): fix warning
9087 - (get_wireless_capabilities): fix error message format arguments
9088 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
9089 - (find_best_connection, real_get_best_connection): implement
9090 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
9091 move here from NetworkManagerAPList
9092 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
9093 - (real_act_stage1_prepare): just ensure an AP exists, connection is
9094 already verified earlier
9095 - (real_act_stage2_config): use nm_connection_need_secrets()
9097 * src/NetworkManagerPolicy.c
9098 - (nm_policy_auto_get_best_device): handle specific objects
9099 - (create_connection): remove; automatic connection creation functionality
9100 is handled by the Connection objects
9101 - (nm_policy_device_change_check): handle specific_object
9103 * libnm-util/nm-connection.c
9104 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
9106 2007-09-10 Dan Williams <dcbw@redhat.com>
9109 - (query_connections): fix uninitialized variable problem that caused
9111 - (nm_manager_add_device): take devices down on startup so that we can
9112 be assured that nm_device_is_up() won't short-circuit the init
9113 process. Hack until the is_up check gets split into two pieces
9114 that aren't behaviorally confusing.
9116 2007-09-09 Dan Williams <dcbw@redhat.com>
9118 * introspection/nm-device.xml
9119 - The 'Activate' method now takes 3 arguments, a service name for the
9120 settings service (user or system), the object path of the connection
9121 to activate, and the specific object to activate, if any
9123 * src/nm-device-interface.c
9124 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
9126 - (impl_device_activate): adapt to new Activate arguments; validate
9127 the service name and get the Connection object from the NMManager
9128 before starting to activate the device with the specified connection
9130 * src/nm-device-802-3-ethernet.c
9131 - (real_get_best_connection): find the best connection, or create a
9132 default one if no existing connections can be used
9134 * src/NetworkManagerPolicy.c
9135 - (nm_policy_auto_get_best_device): Get the device's best connection
9136 and only pick the device if it has one
9137 - (nm_policy_device_change_check): disable wireless bits for now until
9138 wireless get_best_connection() can be implemented (replacing "best_ap");
9139 don't create a default connection here as the device subclass will do
9144 - (nm_manager_get): make NMManager a singleton and expose the getter
9146 - Rework internal NMManager connection handling to use the same
9147 routines for both the system and user settings services. Most calls
9148 take a new NMConnectionType argument specifying either system or user
9150 - (nm_manager_get_connection_by_object_path): new function; get a
9151 connection keyed on its object path
9153 * src/NetworkManager.c
9154 - (main): use nm_manager_get()
9156 2007-09-09 Dan Williams <dcbw@redhat.com>
9160 - (nm_device_get_best_connection): new function; get best connection
9161 for the device at that time
9163 2007-09-09 Dan Williams <dcbw@redhat.com>
9165 * src/nm-device-interface.h
9166 - Add NMDeviceInterfaceError with an UnknownConnection error
9168 2007-09-09 Dan Williams <dcbw@redhat.com>
9170 Stupid mistake on my part; object path and interface for settings service
9171 and connection objects can be the same, only the service name must be
9172 different for the system and user settings services.
9174 * include/NetworkManager.h
9176 introspection/nm-settings-connection.xml
9177 introspection/nm-settings.xml
9178 libnm-glib/nm-settings.c
9179 - (nm_connection_settings_init, query_user_connections,
9180 new_connection_cb): Unify NetworkManagerSettings and Connection
9181 interface name and object path
9183 2007-09-06 Dan Williams <dcbw@redhat.com>
9185 * libnm-glib/nm-object.c
9186 - (nm_object_get_string_property, nm_object_get_object_path_property,
9187 nm_object_get_int_property, nm_object_get_uint_property,
9188 nm_object_get_boolean_property, nm_object_get_byte_property,
9189 nm_object_get_double_property, nm_object_get_byte_array_property):
9190 clear GValues after copying their contents, fixes memory leaks
9191 after every property access because dbus-glib copies the values
9192 from the DBusMessage into the GValue already.
9194 2007-09-06 Dan Williams <dcbw@redhat.com>
9196 * introspection/nm-access-point.xml
9197 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
9198 them to be. There's some magic property name parsing going on in
9199 dbus-glib that breaks up property names based on studly-caps and
9200 puts - between words.
9202 * libnm-glib/nm-access-point.c
9203 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
9206 2007-09-06 Dan Williams <dcbw@redhat.com>
9209 - (nm_manager_user_connections_destroy): clear the user connections hash
9210 table, don't destroy it
9211 - (finalize): only destroy the hash table on NMManager finalization
9213 2007-09-02 Dan Williams <dcbw@redhat.com>
9215 * include/NetworkManager.h
9216 libnm-glib/nm-settings.c
9217 - defines for the user settings daemon D-Bus bits
9219 * src/NetworkManager.c
9220 - Remove stuff that referred to the old NetworkManagerInfo service
9222 * src/vpn-manager/nm-dbus-vpn.h
9223 - Move old NMI defines to the only place they are used still
9225 * libnm-util/nm-connection.c
9226 libnm-util/nm-connection.h
9227 src/nm-activation-request.c
9228 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
9232 - Get connections and their settings from the user settings daemon
9233 at the appropriate times
9235 2007-09-02 Dan Williams <dcbw@redhat.com>
9237 * libnm-util/nm-setting.c
9238 - (nm_settings_verify): correct setting name is 'connection', not 'info'
9239 - (setting_wireless_hash): set the right value on the item
9241 2007-09-02 Dan Williams <dcbw@redhat.com>
9245 - Remove, no longer useful
9247 2007-08-30 Dan Williams <dcbw@redhat.com>
9250 src/NetworkManagerDbus.c
9251 src/NetworkManagerDbus.h
9252 src/vpn-manager/nm-dbus-vpn.c
9253 - Remove, no longer necessary. Move last bits to the only place its
9254 used, in nm-dbus-vpn.c
9256 * src/NetworkManagerAPList.c
9258 src/NetworkManager.c
9259 src/nm-device-802-11-wireless.c
9260 src/vpn-manager/nm-vpn-manager.c
9261 src/vpn-manager/nm-vpn-service.c
9262 src/NetworkManagerPolicy.c
9264 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
9265 that was message_is_error()
9267 2007-08-30 Dan Williams <dcbw@redhat.com>
9270 - Include config.h to get defines for endiannes (gnome.org #420216)
9272 2007-08-30 Dan Williams <dcbw@redhat.com>
9274 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
9276 * src/ppp-manager/Makefile.am
9277 - use -fPIC (gnome.org #471825)
9279 2007-08-29 Dan Williams <dcbw@redhat.com>
9281 * include/NetworkManager.h
9282 - Keep NMConnection object path in sync
9284 * libnm-glib/nm-settings.c
9285 libnm-glib/nm-settings.h
9286 - Break D-Bus object registration out of the init function, because
9287 every object that's exported over D-Bus needs to use the _same_
9288 DBusConnection. Otherwise, each object would get a different object
9289 path tree and wouldn't be callable.
9291 2007-08-29 Dan Williams <dcbw@redhat.com>
9293 * libnm-util/nm-setting.h
9294 libnm-util/nm-setting.c
9295 libnm-util/nm-connection.c
9296 src/NetworkManagerPolicy.c
9297 - 'info' settings object should be 'connection' says the spec
9298 at NetworkManagerConfigurationSpecification
9300 2007-08-29 Dan Williams <dcbw@redhat.com>
9302 * libnm-glib/nm-settings.c
9303 libnm-glib/nm-settings.h
9304 - make the dbus path a property of the object, and autogenerate it.
9305 It can't be composed of the 'id' field becuase that's not available
9306 yet during the GObject creation in nm_connection_settings_init()
9308 2007-08-29 Dan Williams <dcbw@redhat.com>
9310 * introspection/nm-settings-connection.xml
9311 introspection/nm-settings.xml
9312 - Service name -> NetworkManagerUserSettings because two services
9313 can't share part of the same path. I'm not really sure how we'll use
9314 the same code with the system-settings daemon...
9316 2007-08-28 Dan Williams <dcbw@redhat.com>
9318 * src/nm-device-interface.c
9319 src/nm-device-interface.h
9320 - Kill one more bit of NMData
9322 2007-08-28 Dan Williams <dcbw@redhat.com>
9324 * src/NetworkManagerSystem.h
9327 src/nm-hal-manager.c
9328 src/NetworkManager.c
9329 src/nm-device-802-11-wireless.c
9330 src/nm-hal-manager.h
9331 src/nm-device-802-3-ethernet.c
9332 src/vpn-manager/nm-vpn-service.h
9333 src/vpn-manager/nm-vpn-manager.c
9334 src/vpn-manager/nm-vpn-manager.h
9335 src/vpn-manager/nm-vpn-service.c
9336 src/nm-device-802-11-wireless.h
9337 src/NetworkManagerMain.h
9338 src/nm-device-802-3-ethernet.h
9339 src/backends/NetworkManagerGentoo.c
9340 src/backends/NetworkManagerPaldo.c
9341 src/backends/NetworkManagerFrugalware.c
9342 src/backends/NetworkManagerRedHat.c
9343 src/backends/NetworkManagerSlackware.c
9344 src/backends/NetworkManagerGeneric.c
9345 src/backends/NetworkManagerArch.c
9346 src/backends/NetworkManagerSuSE.c
9347 src/backends/NetworkManagerGeneric.h
9348 src/backends/NetworkManagerDebian.c
9351 2007-08-28 Dan Williams <dcbw@redhat.com>
9353 * src/NetworkManagerMain.h
9354 src/nm-device-802-11-wireless.c
9355 src/NetworkManager.c
9356 - Remove invalid AP list from NMData; need to rework this somewhat, but
9357 for now we should set the 'invalid' property on individual APs, and when
9358 we need to invalidate a whole ESS, set the 'invalid' on every member of
9361 2007-08-28 Dan Williams <dcbw@redhat.com>
9363 * src/NetworkManagerAP.c
9364 src/NetworkManagerAP.h
9365 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9366 'autoconnect' property instead
9368 * src/NetworkManager.c
9369 src/NetworkManagerMain.h
9370 src/NetworkManagerPolicy.c
9371 src/NetworkManagerPolicy.h
9372 - Remove the 'allowed_ap_list', which should be replaced by
9373 NMConnection/NMSettings instead, since _those_ are the allowed
9374 things that NM can connect to
9376 * src/nm-device-802-11-wireless.c
9377 - Remove both allowed_ap_list usage and 'fallback' checking
9379 2007-08-28 Dan Williams <dcbw@redhat.com>
9382 src/named-manager/nm-named-manager.c
9383 src/named-manager/nm-named-manager.h
9384 src/NetworkManager.c
9385 src/vpn-manager/nm-vpn-manager.c
9386 src/NetworkManagerMain.h
9387 src/NetworkManagerSystem.c
9388 - Remove the named-manager object from NMData structure in preparation
9389 for NMData's timely death. Make the NMNamedManager the singleton that
9392 2007-08-28 Dan Williams <dcbw@redhat.com>
9394 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9395 each AP's capabilities, and by NMConnection/NMSettings objects for user
9396 defined connections.
9398 * include/NetworkManager.h
9399 - Redefine 802.11 security properties. There are now device capabilities
9400 and AP flags and AP security flags. It was way to unclear before.
9403 src/nm-ap-security-leap.h
9404 src/nm-ap-security-leap.c
9405 src/nm-ap-security-wpa-eap.c
9406 src/nm-ap-security-wpa-eap.h
9407 src/nm-ap-security-private.h
9408 src/nm-ap-security-wpa-psk.c
9409 src/nm-ap-security-wpa-psk.h
9410 src/nm-ap-security-wep.c
9411 src/nm-ap-security-wep.h
9412 src/nm-ap-security.c
9413 src/nm-ap-security.h
9414 - Removed, to be replaced with NMConnection/NMSettings objects
9418 - Removed, to be replaced by code that talks to the new info daemon
9419 interface and gets NMConnection/NMSettings objects
9421 * src/backends/NetworkManagerSuSE.c
9422 - Remove usage of NMAPSecurity; should be replaced by a system-level
9423 info-daemon that does the same thing but talks the new info-daemon
9426 * src/NetworkManagerAP.h
9427 src/NetworkManagerAP.c
9428 src/NetworkManagerAPList.c
9429 libnm-glib/libnm-glib-test.c
9430 - Remove usage of NMAPSecurity objects and adjust to new flags for
9433 * libnm-glib/nm-access-point.c
9434 libnm-glib/nm-access-point.h
9435 introspection/nm-access-point.xml
9437 - Adjust to new flags for AP security
9441 src/vpn-manager/nm-dbus-vpn.c
9442 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9443 stuff which is the only place it's used
9445 * src/nm-device-interface.c
9446 src/nm-device-interface.h
9447 introspection/nm-device.xml
9448 src/nm-activation-request.c
9449 src/nm-activation-request.h
9451 - Add a new 'specific_object' argument that hints to NM what actual
9452 AP or other device-specific thing the connection should apply to.
9453 NMConnection objects can apply to more than one actual device/AP.
9455 * libnm-util/nm-connection.c
9456 * libnm-util/nm-connection.h
9457 - Add 'have_secrets" call stubs
9459 * libnm-util/cipher.h
9460 - Move NM_AUTH_TYPE_* defines here for now
9462 * src/nm-device-802-11-wireless.c
9463 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9466 * src/NetworkManagerDbus.c
9467 * src/NetworkManagerPolicy.c
9468 - Remove usage of update_allowed_networks, should be pushing data in
9471 2007-08-27 Tambet Ingo <tambet@gmail.com>
9473 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9474 dbus-glib frees it when the call is done.
9476 2007-08-26 Dan Williams <dcbw@redhat.com>
9478 * introspection/nm-device.xml
9479 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9481 2007-08-26 Dan Williams <dcbw@redhat.com>
9483 * src/nm-device-802-3-ethernet.c
9484 - (constructor): move connection of interface-connected/disconnected
9485 signals here from real_bring_up(). Should be listening to netlink
9486 for carrier events no matter what the initial state of the device
9489 2007-08-26 Dan Williams <dcbw@redhat.com>
9491 * src/nm-netlink-monitor.c
9492 - (nm_netlink_monitor_class_init): fix marshalling types for
9493 interface-connected/interface-disconnected
9494 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9497 2007-08-26 Dan Williams <dcbw@redhat.com>
9499 Convert to using interface indexes as the primary method of identifying
9500 devices inside NetworkManager. Indexes are (?) stable, but devices can
9501 be renamed at any time. Device object paths now refer to the device
9502 index rather than the name, and you can map those two manually if you like
9503 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9504 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9505 to use interface indexes rather than names.
9507 2007-08-26 Dan Williams <dcbw@redhat.com>
9509 * src/nm-netlink-monitor.h
9510 - Remove one last bit of wireless-event signal
9512 2007-08-26 Dan Williams <dcbw@redhat.com>
9514 * src/nm-netlink-monitor.c
9515 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9516 don't need the 'wireless-event' signal anymore since that's all
9517 handled by wpa_supplicant
9519 2007-08-25 Dan Williams <dcbw@redhat.com>
9521 It's 2007. Remove support for drivers that don't support wireless scanning.
9524 include/NetworkManager.h
9525 src/NetworkManagerUtils.c
9526 src/NetworkManagerPolicy.c
9527 src/nm-device-802-11-wireless.c
9528 - Remove special handling for non-scanning devices and mark them
9529 as unsupported/unhandled
9531 2007-08-20 Dan Williams <dcbw@redhat.com>
9533 * src/nm-device-802-11-wireless.c
9534 src/nm-device-802-3-ethernet.c
9535 - (real_is_up): move device-specific tests before generic IFF_UP test,
9536 because when the card is pulled or the module removed, the device
9537 is already !IFF_UP and then device-specific cleanup (removing
9538 the supplicant interface, periodic checks, etc) never gets done
9540 2007-08-20 Dan Williams <dcbw@redhat.com>
9543 - (nm_manager_remove_device): bring device down before disconnecting
9544 signal handlers, so that the 'state' signal will get broadcast when
9545 the device enters the DOWN state
9546 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9547 of states that cause the NMManager to recheck its state
9549 2007-08-20 Dan Williams <dcbw@redhat.com>
9551 * src/supplicant-manager/nm-supplicant-interface.c
9552 - (interface_disconnect_done): don't try to dispose of the net proxy
9553 when it may already have been disposed of
9555 2007-08-20 Dan Williams <dcbw@redhat.com>
9557 * src/nm-device-802-11-wireless.c
9558 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9559 the SSID isn't available; this can happen when the card is pulled
9560 or the module unloaded, during the post-removal deactivation
9561 paths, when the ioctl returns ENODEV
9563 2007-08-20 Dan Williams <dcbw@redhat.com>
9565 * src/nm-device-802-11-wireless.c
9566 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9567 frequency, and mode match. Applets are now responsible for grouping
9570 2007-08-20 Dan Williams <dcbw@redhat.com>
9572 * src/NetworkManagerAP.c
9573 * src/NetworkManagerAP.h
9574 - (nm_ap_print_self): new function
9576 * src/NetworkManagerAPList.c
9577 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9580 2007-08-17 Dan Williams <dcbw@redhat.com>
9582 * src/nm-device-802-3-ethernet.c
9583 - (real_bring_down): don't try to dispose of stuff that might not
9586 2007-08-17 Dan Williams <dcbw@redhat.com>
9588 * src/NetworkManagerAP.c
9589 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9590 applet. This ensures that the case between the seen-bssids and
9591 the bssids reported by the driver match.
9593 2007-08-17 Dan Williams <dcbw@redhat.com>
9595 * src/nm-device-802-11-wireless.c
9596 - (device_cleanup): disconnect the interface in wpa_supplicant before
9597 we dispose of the interface proxy in NM
9599 2007-08-16 Dan Williams <dcbw@redhat.com>
9601 * libnm-glib/nm-client.c
9602 - (nm_client_init): create VPN connections hash table with key free
9604 - (proxy_vpn_connection_added): VPN connections hash table key should
9605 be a duplicated value, not the same memory address as the VPN
9606 connection name. This is because the VPN connection name could
9607 potentially be freed and set to something else during the lifetime
9608 of the NMVPNConnection object.
9610 2007-08-16 Tambet Ingo <tambet@gmail.com>
9612 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9613 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9614 with the file descriptors. Send a child setup function to change the pppd
9617 2007-08-15 Dan Williams <dcbw@redhat.com>
9619 * src/supplicant-manager/nm-supplicant-interface.c
9620 - (try_remove_iface): new function, ask wpa_supplicant to remove
9622 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9623 disposing of the NMSupplicantInterface. Otherwise weird stuff
9624 happens on hotplug if wpa_supplicant doesn't tear down and readd
9625 the interface internally
9627 2007-08-15 Dan Williams <dcbw@redhat.com>
9629 * src/nm-device-802-11-wireless.c
9630 - (real_bring_down): move most of this function into device_cleanup()
9631 so that it can be called from elsewhere
9632 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9633 and stuff on dispose. These would normally get cleaned up when
9634 the device is marked down and deactivated, but when the device is
9635 hot-unplugged, it's already down and real_down() never gets run
9637 2007-08-15 Dan Williams <dcbw@redhat.com>
9640 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9641 caused a reference leak on device for which NM requested a key
9643 2007-08-15 Dan Williams <dcbw@redhat.com>
9645 * libnm-glib/nm-client.c
9646 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9648 2007-08-15 Tambet Ingo <tambet@gmail.com>
9650 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9651 nothing is using it at the moment, but it'll be all useful and stuff later on.
9653 * libnm-util/nm-setting.h: Define NMSettingPPP.
9655 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9657 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9659 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9661 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9663 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9665 2007-08-14 Tambet Ingo <tambet@gmail.com>
9667 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9669 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9670 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9671 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9672 name and different arguments and it won't compile anymore. To fix this, we now have
9673 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9674 that is new API + compatibility API and used by the daemon. The other,
9675 nm-manager-client.xml is only the new API without compatibility bits and is used
9676 by libnm-glib to make it compile.
9678 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9680 * src/nm-manager.c (impl_manager_legacy_sleep)
9681 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9682 interface functions for 0.6 branch.
9684 2007-08-14 Dan Williams <dcbw@redhat.com>
9686 * src/NetworkManagerAP.c
9687 - (nm_ap_new_from_properties): fix mistaken check of return value
9688 from memcmp (should expect 0)
9690 2007-08-14 Dan Williams <dcbw@redhat.com>
9692 (force-commit to fix wrong comment and partial commit of r2685; this
9693 commit actually applies to r2685)
9695 * src/NetworkManagerUtils.c
9696 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9697 ignores trailing nulls in the SSID to work around mismatches in
9698 expectations between WEXT and what the info-daemon passes back. The
9699 info-daemon would pass back the correct length, but due to the
9700 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9701 the device would always have an SSID + 1 depending on what versions
9702 of wpa_supplicant, the kernel, and NM you have. This was most often
9703 visible by just quitting the applet and relaunching, which caused
9704 NM to reassociated to the same network over again when reloading
9707 * src/NetworkManagerPolicy.c
9708 src/NetworkManagerUtils.h
9709 src/nm-device-802-11-wireless.c
9710 - Update for new parameter to nm_utils_same_ssid()
9712 2007-08-14 Dan Williams <dcbw@redhat.com>
9714 * src/NetworkManagerAP.c
9715 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9716 I encountered a BSS that wasn't just hiding it's ESSID, it was
9717 setting the BSSID to all 0s. That confused the heck out of NM,
9718 plus it's useless and probably out-of-spec.
9720 2007-08-14 Dan Williams <dcbw@redhat.com>
9722 * callouts/Makefile.am
9723 src/dhcp-manager/nm-dhcp-manager.c
9724 src/dhcp-manager/nm-dhcp-manager.h
9725 src/dhcp-manager/Makefile.am
9726 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9728 2007-08-14 Dan Williams <dcbw@redhat.com>
9730 * src/dhcp-manager/nm-dhcp-manager.c
9731 - (dhclient_run): don't pass -x to dhclient until we figure out if
9732 it's really needed, get rid of unused xtra_args parameter
9734 2007-08-14 Dan Williams <dcbw@redhat.com>
9736 * include/NetworkManagerVPN.h
9737 src/vpn-manager/nm-dbus-vpn.c
9738 src/vpn-manager/nm-dbus-vpn.h
9739 src/vpn-manager/nm-vpn-act-request.c
9740 src/vpn-manager/nm-vpn-act-request.h
9741 src/vpn-manager/nm-vpn-service.c
9742 src/vpn-manager/nm-vpn-service.h
9743 libnm-glib/nm-vpn-connection.c
9744 libnm-glib/nm-vpn-connection.h
9745 libnm-glib/nm-client.h
9746 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9747 NMVPNServiceState to clarify what they apply to
9748 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9749 NMVPNActStage -> NMVPNConnectionState for the same reason
9751 * libnm-glib/nm-client.c
9752 - Constant + type renames from above
9753 - Properly handle NameOwnerChanged/manager_running signals
9754 for NM service; only emit when state really changes
9755 - Use hash tables correctly so that the key (which was previously owned
9756 by the D-Bus message) now has the same lifetime as the value, since
9757 the key is now taken from the the NMVPNConnection itself. This
9758 really fixes the double-VPN names in the applet
9760 2007-08-13 Dan Williams <dcbw@redhat.com>
9762 Patch from Michael Biebl <biebl@debian.org>
9766 - Update for vpn-properties move
9768 2007-08-13 Dan Williams <dcbw@redhat.com>
9770 * libnm-glib/nm-client.c
9771 - Convert internal VPN connection tracking from a list to a hash table
9772 to easily avoid duplicates
9773 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9774 must be freed by the caller, like nm_client_get_devices()
9775 - (nm_client_remove_vpn_connection): don't let the removal signal
9776 leak through for NMVPNConnection objects that aren't actually
9778 - (manager_running): throw away VPN connection list when NM goes away,
9779 like with the device list
9781 2007-08-13 Dan Williams <dcbw@redhat.com>
9783 * src/dhcp-manager/nm-dhcp-manager.c
9784 - Stop any dhclient instance that might be already running for a
9785 particular interface before starting an NM spawned dhclient. Fixes
9786 dhclient processes left over if NM crashes, stuff like that.
9788 2007-08-13 Dan Williams <dcbw@redhat.com>
9790 * src/NetworkManagerAP.c
9791 - (finalize): don't try to g_array_free (NULL, ...), which happened
9792 when the AP wasn't broadcasting it's SSID
9794 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9796 * include/NetworkManager.h: added DBus path for connection settings.
9798 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9799 nm_connection_settings_signal_updated,
9800 nm_connection_settings_signal_removed): new functions to wrap the
9802 (nm_connection_settings_init): register GObject with DBus.
9803 (nm_connection_settings_get_dbus_object_path): new function.
9805 * libnm-glib/Makefile.am: added libnmutil to link flags.
9807 2007-08-13 Tambet Ingo <tambet@gmail.com>
9809 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9811 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9812 libnm_glib directory got merged with libnm-glib/.
9814 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9816 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9817 Rename the library from libnm-glib to libnm_glib to maintain the library API
9818 compatibility with 0.6 branch.
9820 * Makefile.am: Remove gnome/ SUBDIR.
9822 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9824 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9826 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9828 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9830 Remove checks for wpa_supplicant binary, it's used over dbus.
9831 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9833 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9834 Link the binaries with libnm_glib.la.
9836 2007-08-12 Dan Williams <dcbw@redhat.com>
9838 * src/NetworkManagerPolicy.c
9839 - (nm_policy_device_change_check): fix policy to deactivate old device
9840 before activating new one, at least until the multiple active
9841 device support lands
9843 2007-08-12 Dan Williams <dcbw@redhat.com>
9845 * src/NetworkManagerPolicy.c
9846 - (nm_policy_new): hook up to connection-added / connection-removed
9847 signals instead of connections-changed
9849 2007-08-12 Dan Williams <dcbw@redhat.com>
9851 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9852 Robert Frank <rfrank@redhat.com>
9854 * src/dhcp-manager/nm-dhcp-manager.c
9855 src/dhcp-manager/nm-dhcp-manager.c
9857 - Spawn and communicate with dhclient directly, through means of a
9858 custom dhclient callout script. Process callout D-Bus signals
9859 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9860 sent via gobject signals rather than being driven by the dhcp manager
9863 2007-08-12 Dan Williams <dcbw@redhat.com>
9865 * callouts/nm-dhcp-client-action.c
9866 - (build_message): ignore non-DHCP-related environment variables
9868 2007-08-12 Dan Williams <dcbw@redhat.com>
9872 callouts/Makefile.am
9873 callouts/nm-dhcp-client-action.c
9874 callouts/nm-dhcp-client.conf
9875 - Add dhclient-executed callout that takes the place of dhclient-script
9876 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9879 2007-08-09 Tambet Ingo <tambet@gmail.com>
9881 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9883 * libnm-glib/nm-client.h:
9884 * libnm-glib/nm-object.h:
9885 * libnm-glib/nm-vpn-connection.h:
9886 * libnm-glib/nm-settings.h:
9887 * libnm-glib/nm-device.h:
9888 * libnm-glib/nm-ip4-config.h:
9889 * libnm-glib/nm-access-point.h:
9890 * libnm-glib/nm-device-802-3-ethernet.h:
9891 * libnm-util/nm-setting.h:
9892 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9894 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9896 * libnm-glib/nm-access-point.c: Strength has type char.
9898 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9899 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9901 * introspection/nm-access-point.xml: Strength property is char, not int.
9903 * src/NetworkManagerAP.c (set_property): Set strength from char.
9904 (get_property): Handle hidden APs (with empty SSID).
9905 Get strength value from char.
9906 (nm_ap_class_init): Strength property has char type.
9908 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9910 * introspection/Makefile.am:
9911 * introspection/nm-settings.xml:
9912 * introspection/nm-settings-connection.xml: added Settings interfaces.
9914 * libnm-glib/nm-settings.[ch]:
9915 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9916 containing the DBus implementation.
9918 2007-07-26 Dan Williams <dcbw@redhat.com>
9920 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9922 * src/NetworkManagerSystem.c
9923 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9924 same subnet (#437396)
9926 2007-07-26 Dan Williams <dcbw@redhat.com>
9928 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9930 * gnome/vpn-properties/nm-vpn-properties.c
9931 - Fix translatable strings (#445865)
9933 2007-07-26 Dan Williams <dcbw@redhat.com>
9935 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9938 - Remove useless junk (#412530)
9940 2007-07-10 Christopher Aillon <caillon@redhat.com>
9942 Patch from Robert Buchholz <rbu@gentoo.org>:
9946 * introspection/Makefile.am:
9947 Make make distcheck work again.
9949 2007-06-27 Dan Williams <dcbw@redhat.com>
9951 * Make SSIDs GByteArrays everywhere
9952 * Rename "essid" -> "ssid" everywhere that's appropriate
9953 * Refcount activation_ap member of the 802.11 wireless device class
9955 2007-06-27 Tambet Ingo <tambet@ximian.com>
9957 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9959 2007-06-22 Tambet Ingo <tambet@ximian.com>
9961 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9962 that we got a new AP when we just update existing AP properties.
9964 2007-06-21 Tambet Ingo <tambet@ximian.com>
9966 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9968 * nm-utils.[ch]: Remove.
9970 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9971 objects for easy property access and dbus connection handling.
9973 * libnm-glib/nm-client.c: Derive from NMObject.
9975 * libnm-glib/nm-device.c: Ditto.
9977 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9979 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9981 * libnm-glib/nm-ip4-config.c: Ditto.
9983 * libnm-glib/nm-access-point.c: Ditto.
9985 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9986 comparision. Currently used by the device activation code to determine if the new
9987 activation is the same as the old one.
9989 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9990 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9991 able to ask password for the AP.
9993 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9994 up if the device is already connected, tear down it's connection (if it isn't the
9995 same as new one) and start the activation.
9997 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9999 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
10000 the issue where all APs are always listed as encrypted.
10002 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
10003 their own registered paths.
10005 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
10006 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
10008 2007-06-13 Tambet Ingo <tambet@ximian.com>
10010 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
10013 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
10014 because the handling code will cause the next state change and signal listeners
10015 get the signals in wrong order.
10017 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
10018 correctly in case of pending activation.
10020 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10021 Convert the essid byte array to string correctly, including the terminating NULL.
10023 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
10024 mode with correct types.
10026 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
10027 constructed info to dbus call instead of the activation request.
10029 2007-06-11 Christopher Aillon <caillon@redhat.com>
10031 Patch from Christian Persch <chpe@gnome.org>
10033 * libnm-glib/Makefile.am:
10034 * dispatcher-daemon/Makefile.am:
10035 Use the correct variables, the correct paths, and correct ordering. (446315)
10037 2007-06-11 Tambet Ingo <tambet@ximian.com>
10039 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
10040 argument. The activation request is easy to retrieve.
10042 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
10043 just to be a convenient location for devices to store random stuff.
10045 2007-06-11 Christopher Aillon <caillon@redhat.com>
10047 Patch from Alex Smith <alex@alex-smith.me.uk>
10049 * src/backends/NetworkManagerFrugalware.c:
10050 Update the FrugalWare backend to fix a few segfaults. (#392642)
10052 2007-06-08 Tambet Ingo <tambet@ximian.com>
10054 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
10056 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
10058 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
10060 2007-06-06 Tambet Ingo <tambet@ximian.com>
10062 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
10064 Implement NMSettingIP4Config.
10065 Finish NMSettingWired by adding all known members.
10066 (setting_wired_verify): Implement.
10067 Finish NMSettingWireless by adding all known members.
10068 (setting_wireless_verify): Implement.
10070 * libnm-util/nm-connection.c: Register "ipv4" setting.
10071 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
10072 dump function, we can introspect the GHashTable which is used for sending connections
10075 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
10076 Take GByteArray for essid, it's really not a string.
10078 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
10079 Start DHCP request if setting is not passed or if it states that DHCP should be used.
10080 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
10081 means overriding the values we got from DHCP.
10082 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
10083 (nm_device_deactivate_quickly): Ditto.
10085 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
10088 2007-05-07 Tambet Ingo <tambet@ximian.com>
10090 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
10093 * libnm-glib/nm-device-802-11-wireless.c:
10094 (nm_device_802_3_ethernet_activate): Remove.
10096 * libnm-glib/nm-device-802-3-ethernet.c
10097 (nm_device_802_3_ethernet_activate): Remove.
10099 * libnm-glib/nm-device.c (nm_device_activate): Implement.
10101 * src/nm-device-802-3-ethernet.c: Implement the new activation using
10104 * src/nm-device-802-11-wireless.c: Store an activation AP once the
10105 activation has started.
10106 Implement the new activation using NMConnection.
10108 * src/nm-activation-request.c: Store a generic connection object instead
10109 of a wireless-specific AP.
10111 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
10112 on device type, create a device specific connection object suitable for
10115 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
10116 specific check to validate the connection and on success start the
10119 * src/nm-device-interface.h: Add a activate virtual function to the
10120 interface definition.
10122 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
10123 (impl_device_activate): Implement.
10125 * introspection/nm-device.xml: Add a generic device activation interface
10126 that accepts an abstract NMConnection structure that has device-specific
10129 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
10130 activation interface.
10132 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
10133 activation interface.
10135 * libnm-util/nm-connection.c:
10136 * libnm-util/nm-connection.h:
10137 * libnm-util/nm-setting.c:
10138 * libnm-util/nm-setting.h: Add.
10140 * libnm-util/Makefile.am: Build the added files.
10142 * src/nm-dbus-manager.c
10143 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
10144 DbusConnection argument from 'name-owner-changed' signal. The manager
10145 is already passed as a first argument to the signal and the connection
10146 is easy enough to get from it.
10148 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
10149 Update the signature of the function.
10151 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
10154 * src/NetworkManager.c: Ditto.
10156 * src/named-manager/nm-named-manager.c
10157 (nm_named_manager_name_owner_changed): Ditto.
10159 * src/supplicant-manager/nm-supplicant-manager.c
10160 (nm_supplicant_manager_name_owner_changed): Ditto.
10162 * src/nm-hal-manager.c (name_owner_changed): Ditto.
10164 * src/dhcp-manager/nm-dhcp-manager.c
10165 (nm_dhcp_manager_name_owner_changed): Ditto.
10167 * src/nm-hal-manager.c: Add a list of device detectors and creators
10168 to make it easier to add new devices. Each device type has it's own
10169 entry in the table so adding new device types is only a matter of
10170 implementing a couple of functions, one for device detection and the
10171 other for device creation.
10173 2007-04-25 Dan Williams <dcbw@redhat.com>
10175 * initscript/RedHat/NetworkManager.in: remove trailing backslash
10176 (gnome.org #432401)
10178 2007-03-30 Dan Williams <dcbw@redhat.com>
10180 * src/NetworkManagerSystem.c
10181 - (nm_system_device_set_ip4_route): clean up and fix argument
10182 to nm_dev_sock_open()
10184 2007-03-28 Tambet Ingo <tambet@ximian.com>
10186 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
10187 data to correct types instead of always using string.
10189 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
10190 _not_ have NM_802_11_CAP_PROTO_NONE.
10191 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
10194 2007-03-27 Tambet Ingo <tambet@ximian.com>
10196 * libnm-glib/Makefile.am: Fix the build issue.
10198 2007-03-26 Tambet Ingo <tambet@ximian.com>
10200 * libnm-glib/nm-vpn-connection.h:
10201 * libnm-glib/nm-vpn-connection.c: Implement.
10203 * libnm-glib/nm-client.c: Add VPN support.
10205 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
10208 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
10211 2007-03-26 Dan Williams <dcbw@redhat.com>
10213 * src/NetworkManagerAPList.c
10214 * src/nm-device-802-11-wireless.c
10215 * src/NetworkManagerAP.c:
10216 - Store last seen as glong instead of GTimeVal.
10217 - Fix the upper bound of capabilities, it's a bitfield.
10219 2007-03-16 Tambet Ingo <tambet@ximian.com>
10221 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
10223 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
10224 "manager-running" signal that notifies the appearance/disappearance of NM.
10225 (nm_client_sleep): Implement.
10227 * libnm-glib/nm-device.c:
10228 * libnm-glib/nm-device-802-11-wireless.c:
10229 * libnm-glib/nm-device-802-3-ethernet.c:
10231 Don't inherit from DBusGProxy, add a proxy to private
10232 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
10233 for anything but their own dbus interface. DBusGProxy objects support only one
10234 interfaces and to work around this, NMDevice has spearate proxy for each dbus
10235 interface. The nice side effect of this change is that we do not create a new
10236 DBusGProxy object for each property access.
10238 2007-03-15 Tambet Ingo <tambet@ximian.com>
10240 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
10241 with zeroes before passing them to functions - the functions never do that and
10242 reading the values back may produce wrong values.
10243 (real_bring_up): Store the signal handler id ...
10244 (real_bring_down): ... So that it can be removed here.
10245 Disconnect the supplicant interface here as well.
10246 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
10247 from the access point instead of old $device/Networks/$essid.
10249 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
10250 device state is connected (instead of just having link/carrier).
10252 * src/nm-activation-request.c: Don't store NMData in activation request, it's
10253 already easily accessible through the device.
10255 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
10256 store it within the object.
10257 (nm_ap_get_dbus_path): Export it to public as well.
10259 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
10262 2007-03-12 Dan Williams <dcbw@redhat.com>
10264 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
10265 for non-carrier-detect capable devices, and useless for carrier-detect
10266 devices since we get notifications from netlink about carrier status anyway.
10268 * src/nm-device-802-3-ethernet.c
10269 - remove 'link_source_id' member from private data
10270 - (probe_link): remove and collapse into real_update_link()
10271 - (nm_device_802_3_periodic_update): remove
10272 - (real_is_up): check for sup_iface rather than link_source_id
10273 - (real_bring_up): return gboolean for success/fail; require that
10274 sup_iface be valid for device bringup to succeed
10275 - (real_bring_down): zero out link signal ids
10278 - (nm_device_activate_stage2_device_config): fail activation if device
10280 - (real_act_stage4_get_ip4_config): fail activation if device bringup
10282 - (nm_device_bring_up): return success/fail
10285 - bring_up now returns success/fail
10287 * src/nm-device-802-11-wireless.c
10288 - (real_bring_up): return success from bringup
10290 2007-03-07 Dan Williams <dcbw@redhat.com>
10292 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
10293 * src/nm-ap-security-wpa-psk.c
10294 - (real_write_supplicant_config): work with PSKs that may contain
10295 zeros in the binary format rather than treating it as a string
10297 2007-03-02 Tambet Ingo <tambet@ximian.com>
10299 * libnm-glib/nm-device-802-11-wireless.c
10300 (nm_device_802_11_wireless_get_capabilities): Implement.
10302 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
10304 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
10306 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
10307 reply only if it's not NULL. Not sure why this started happening right now.
10309 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
10310 code paths for when devices get removed on shutdown or when a device is just
10312 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
10313 gets freed so any signal from a device (disconnected for instance) would invoke
10314 NMState update which would crash.
10315 (nm_manager_remove_device): Bring the device down when it gets removed.
10317 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
10318 the unused dev_type.
10320 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10321 reference to the added device, NMManager will own it (if it wants).
10323 * test/nm-tool.c: Rewrite using libnm-glib.
10325 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10326 We get signalled when it changes.
10328 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10331 * libnm-glib/nm-device.c: Cache the device state property.
10333 * libnm-glib/nm-access-point.c: Cache the strength property.
10335 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10336 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10337 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10338 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10339 the device is down, activating, or activated (in case of A/B/G cards).
10340 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10341 it's all done through supplicant now.
10343 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10344 counting issues with pending calls which caused leaks and crashes when
10345 interface was removed (now that the interface actually gets removed).
10347 * src/nm-call-store.c: Make a copy of data before running a foreach
10348 with user callback on it - The most common usage pattern is to cancel
10349 (and thus remove) all pending calls with foreach which would modify
10350 the hash table we're iterating over.
10352 * src/nm-manager.c: When a device is added, make sure it is "up". When
10353 it's removed or disabled due to disabling wireless or networking, bring
10356 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10358 * src/nm-device-802-11-wireless.c:
10359 * src/nm-device-802-3-ethernet.c:
10361 - Remove "init" virtual function, all gobjects have a place for that
10362 already (constructor).
10363 - Replace "start" virtual function with "bring_up", devices can be
10364 brought up and down more than just on startup now.
10365 - Add "is_up" virtual function.
10366 - Implement one way to bring a device down instead of previous 4 different
10367 ways, each of witch did something different.
10369 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10370 all it needs is the device interface.
10372 Get rid of NMData.dev_list (3 members to go).
10373 Get rif of NMData in a lot of places.
10375 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10377 2007-02-23 Dan Williams <dcbw@redhat.com>
10379 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10381 * src/NetworkManagerAP.c
10382 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10383 OR-ing rather than AND-ing
10385 2007-02-20 Tambet Ingo <tambet@ximian.com>
10387 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10388 "network-removed" signals.
10390 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10392 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10393 when receiving the signal from dbus.
10395 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10398 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10399 deactivation of the previously activated device working again.
10401 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10404 * src/nm-device.c (nm_device_is_activated): Remove.
10405 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10407 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10408 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10409 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10410 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10411 Remove NMNetworkStatus and NMActStage enums.
10413 2007-02-19 Tambet Ingo <tambet@ximian.com>
10415 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10416 Handle device state changes and disconnect VPN if it's device deactivates.
10418 * src/nm-dbus-nm.c:
10419 * src/nm-dbus-nm.h:
10420 * src/nm-dbus-device.c:
10421 * src/nm-dbus-device.c:
10422 * src/nm-dbus-net.c:
10423 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10425 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10427 * src/nm-device.c (nm_device_get_by_udi):
10428 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10429 implemented in the correct location (NMManager).
10430 Rip out all the test_device stuff.
10432 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10433 failure handlers, it's all done by NMDevice already.
10435 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10436 Remove the iochannel hack to route the unix signals to the main thread since
10437 we're not threaded anymore.
10439 * src/NetworkManagerAP.c: Implement HWAddress property.
10441 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10442 automatically with dbus-glib.
10444 * src/nm-netlink-monitor.c:
10445 * src/nm-netlink-monitor.h:
10446 - Move it low in the class hierarchy, don't reference any NM types.
10447 - Remove private data from the header.
10448 - Use type safe checks in public API methods.
10449 - Make it a singleton so we don't have to pass the single reference around.
10451 2007-02-16 Tambet Ingo <tambet@ximian.com>
10453 * introspection/nm-ip4-config.xml: Implement.
10455 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10457 * libnm-glib/nm-ip4-config.c:
10458 * libnm-glib/nm-ip4-config.c: Implement.
10460 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10461 securities. APs reference security.
10463 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10464 be exported over DBUS.
10466 * src/nm-device-802-3-ethernet.c: Ditto.
10468 * src/NetworkManagerAP.c:
10469 * src/NetworkManagerAP.h:
10470 - Convert to GObject, export over DBUS.
10472 * src/nm-ip4-config.h:
10473 * src/nm-ip4-config.h:
10474 - Convert to GObject, export over DBUS.
10476 2007-02-12 Dan Williams <dcbw@redhat.com>
10478 Patch from Helmut Schaa <hschaa@suse.de>
10480 * vpn-daemons/pptp/configure.in
10481 vpn-daemons/pptp/Makefile.am
10482 vpn-daemons/openvpn/configure.in
10483 vpn-daemons/openvpn/Makefile.am
10484 vpn-daemons/vpnc/configure.in
10485 vpn-daemons/vpnc/Makefile.am
10486 - Add --without-gnome switch which disables building gnome bits
10488 2007-02-12 Tambet Ingo <tambet@ximian.com>
10490 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10492 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10494 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10497 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10499 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10501 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10504 - Remove old low-level dbus interface implementations and replace them
10505 with dbus-glib one.
10508 - Require dbus-glib >= 0.72.
10509 - Plug in new sources to build.
10512 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10513 to make it more convenient to use from GObject based programs.
10516 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10518 2007-02-09 Tambet Ingo <tambet@ximian.com>
10520 * src/nm-device-802-11-wireless.c:
10521 - Add "network-added" and "network-removed" signals.
10522 - Use gobject boilerplate macros to define the GObject.
10523 - Implement wireless device activation.
10524 - Remove activation_failure_handler and activation_success_handler
10525 and instead listen on state-changed signals and run the same code
10529 - Implment NMDeviceInterface::deactivate.
10530 - Remove activation_failure_handler and activation_success_handler
10531 virtual methods. Each device which is interested in these events
10532 can just listen on it's state changed signals.
10534 * src/NetworkManagerPolicy.c:
10535 - Move a bit more NMData usage to NMManager.
10536 - Remove activation scheduling bits.
10537 - Add listeners for wireless device's "network-added" and
10538 "network-removed" signals.
10539 - Listen device changed signals and deactivate currently activated
10540 device when another device start activating (for now).
10541 - Remove (nm_policy_schedule_device_change_check): There's never a need
10542 for calling this, the policy code knows exactly when this should happen,
10543 by listening on events from NMManager and NMDevices.
10545 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10548 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10549 method on the specific device instead of going to through policy code
10550 and determining the device type by passed in AP's existance.
10552 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10553 abstract NMDevice deactivation.
10555 2007-02-08 Tambet Ingo <tambet@ximian.com>
10557 * src/NetworkManager.c:
10558 - Set up all the shiny new managers.
10560 * src/NetworkManagerPolicy.c:
10561 - Add the beginnings of new NMPolicy code. Instead of requireing all
10562 classes to call into policy code, make the policy code kind of like
10563 a supervisor that monitors what's going on and drives the whole NM.
10565 * src/nm-hal-manager.c:
10566 * src/nm-hal-manager.h:
10567 - Collect all libhal code scattered around NM to this one class.
10568 - Listen libhal and NMManager events and add/remove devices to
10571 * src/nm-manager.c:
10572 * src/nm-manager.h:
10573 - Implment a replacement for NMData. NMData is now officially
10576 2007-02-05 Tambet Ingo <tambet@ximian.com>
10578 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10579 * src/supplicant-manager/nm-supplicant-interface.h
10580 * src/supplicant-manager/nm-supplicant-interface.c
10581 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10582 argument to boolean from enum.
10584 Make NMDevice abstract class, remove almost all references to it's
10585 subclasses (the last place gets removed with new policy manager). Add
10586 NMDeviceInterface (which NMDevice implements) so that when we have
10587 NMDevice exported over DBUS, there's a common NMDevice interface which
10588 all instances have, plus there's a device specific interface for each
10590 Remove functions (nm_device_is_802_3_ethernet) and
10591 (nm_device_is_802_11_wireless). There are already standard GObject macros
10592 for type safe checks.
10593 Use the updated supplican manager API.
10595 * src/nm-device-interface.h:
10596 * src/nm-device-interface.c:
10597 * src/nm-call-store.h:
10598 * src/nm-call-store.c: Implement.
10600 * src/supplicant-manager/nm-supplicant-interface.c:
10601 * src/supplicant-manager/nm-supplicant-interface.h:
10602 * src/supplicant-manager/nm-supplicant-manager.c:
10603 * src/supplicant-manager/nm-supplicant-manager.h:
10604 - Remove all private data type references from public header files.
10605 - Remove all references to other NM classes, this class is just a
10606 proxy between wpa_supplicant and NM so it doesn't have to know
10608 - Convert to dbus-glib bindings.
10609 - Type safe checks for public methods' arguments.
10610 - Store pending DBUS call ids to NMCallStore.
10612 * src/supplicant-manager/nm-supplicant-config.c:
10613 - Store config values in a GHashTable instead of GSList.
10615 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10617 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10620 * src/nm-device.c: Use the new DHCP manager API.
10622 * src/nm-activation-request.c:
10623 * src/nm-activation-request.h:
10624 - Remove all dhcp related properties and methods.
10626 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10628 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10630 * src/dhcp-manager/nm-dhcp-manager.c:
10631 * src/dhcp-manager/nm-dhcp-manager.h:
10632 - Convert it to GObject since we need to signal state changes.
10633 - Remove all references to other NM classes, this class is one
10634 of the lowest classes in our hierarchy.
10635 - One less class to use NMActRequest.
10636 - Make it singleton, one less user of NMData.
10637 - Remove a couple of sleep() calls.
10638 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10639 One less class to use the NM's custom tailored signal handlig.
10641 * Makefile.am: Generate marshallers, add them to build.
10643 2007-02-02 Dan Williams <dcbw@redhat.com>
10649 - Remove last bits referencing gnome applet
10651 2007-02-02 Dan Williams <dcbw@redhat.com>
10653 * src/vpn-manager/nm-vpn-service.c
10654 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10655 and NBNS server addresses
10657 2007-02-02 Tambet Ingo <tambet@ximian.com>
10659 * src/nm-dbus-manager.c:
10660 * src/nm-dbus-manager.h:
10661 - Convert all internal DBUS code to use dbus-glib bindings.
10662 - Remove GObject properties, we don't need them here.
10663 - Don't explicitly set things to NULL after freeing, glib is
10664 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10665 - Make public API argument checks type safe.
10666 - Remove unnecessary (and wrong) cast to GObject for the first
10667 argument to g_signal_* calls - The first argument is a gpointer.
10668 - Export DBusGConnection to other cool classes that (are going to)
10671 2007-01-26 Dan Williams <dcbw@redhat.com>
10673 * libnm-util/dbus-dict-helpers.c
10674 libnm-util/dbus-dict-helpers.h
10675 - Coordinate style with wpa_supplicant version to minimize diff
10676 - Add uint32 array support
10677 - (nmu_dbus_dict_append_uint32_array): new function
10678 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10679 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10680 version; allow adding string array elements individually
10682 * test/libnm-util/test-dbus-dict-helpers.c
10683 - Test uint32 arrays
10685 2007-01-27 Jürg Billeter <j@bitron.ch>
10687 * src/backends/NetworkManagerPaldo.c
10688 - (nm_system_update_dns): clear nscd hosts cache
10690 2007-01-04 Dan Williams <dcbw@redhat.com>
10692 Threading removal related cleanups:
10694 - Use the glib default main context. Remove the device main context
10695 member from NMDevice, and the main_context member from NMData. Change
10696 all the idle and timeout scheduler functions to use plain
10697 g_idle_add() and g_timeout_add().
10699 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10700 takes an argument; fix that up too.
10702 - Remove all locking, which is useless since we no longer use threads. For
10703 example, nm_get_device_by_iface_locked() has been removed. The global
10704 device list lock, the AP List lock, and all static locks in
10705 NetworkManagerPolicy.c have been removed. The locking utility functions
10706 in NetworkManagerUtils.c have also been removed.
10708 - Other cleanups in spacing and code style
10710 2007-01-01 Dan Williams <dcbw@redhat.com>
10712 Found by Bill Moss:
10714 * src/supplicant-manager/nm-supplicant-interface.c
10715 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10716 the supplicant interface wasn't already disconnected. Always
10717 call removeNetwork and disconnect unless the supplicant interface
10718 is in the DISCONNECTED or INACTIVE state.
10720 2006-12-28 Dan Williams <dcbw@redhat.com>
10722 Use a single thread for everything. With the move to wpa_supplicant
10723 and communication over D-Bus, there's no reason for multiple threads.
10724 Almost all of the blocking code has been removed, with one exception in
10725 the DHCP manager and a few in the VPN manager. This commit removes the
10726 per-device worker thread and fixes activation cancellation in the absence
10727 of threads. Further removal of thread-related code would be removing
10728 any locking code (like the device list lock) and simplification of logic
10729 around areas of code or data structures that are currently locked.
10732 dhcp-manager/nm-dhcp-manager.c
10733 nm-device-802-11-wireless.c
10734 nm-device-802-3-ethernet.c
10737 - Remove usage of multiple threads
10739 2006-12-19 Dan Williams <dcbw@redhat.com>
10741 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10742 plus a few other patches from wpa_supplicant bugzilla.
10745 src/NetworkManagerPolicy.c
10746 src/NetworkManagerUtils.c
10747 src/NetworkManagerUtils.h
10748 src/nm-ap-security-leap.c
10749 src/nm-ap-security-wep.c
10750 src/nm-ap-security-wpa-eap.c
10751 src/nm-ap-security-wpa-psk.c
10752 src/nm-ap-security.c
10753 src/nm-ap-security.h
10754 src/nm-device-802-11-wireless.c
10755 src/nm-device-802-11-wireless.h
10756 src/supplicant-manager/nm-supplicant-config.c
10757 src/supplicant-manager/nm-supplicant-config.h
10758 src/supplicant-manager/nm-supplicant-interface.c
10759 src/supplicant-manager/nm-supplicant-interface.h
10760 src/supplicant-manager/nm-supplicant-marshal.list
10761 src/supplicant-manager/nm-supplicant-settings-verify.c
10762 src/supplicant-manager/nm-supplicant-settings-verify.h
10763 - Move all connection management and association handling to
10764 wpa_supplicant over dbus, rather than spawning a private copy
10766 2006-12-19 Dan Williams <dcbw@redhat.com>
10768 * src/NetworkManagerPolicy.c
10769 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10770 better locking of the device change check handler ID. Incorrect
10771 locking was causing lost device change requests
10773 2006-12-18 Dan Williams <dcbw@redhat.com>
10775 * libnm-util/dbus-dict-helpers.c
10776 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10777 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10778 dbus_message_iter_get_array_len() (Gnome.org #382898)
10780 2006-12-18 Dan Williams <dcbw@redhat.com>
10782 * gnome/libnm_glib/libnm_glib.c
10783 - Change dbus_connection_close() -> dbus_connection_unref()
10785 2006-12-11 Dan Williams <dcbw@redhat.com>
10787 * src/supplicant-manager/nm-supplicant-interface.c
10788 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10789 wpa_supplicant interface state
10790 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10791 state before transitioning to READY state
10793 2006-12-04 Dan Williams <dcbw@redhat.com>
10795 * src/nm-device-802-11-wireless.c
10796 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10797 odd length of ESSID returned from ieee80211 stack-based drivers
10799 2006-12-04 Dan Williams <dcbw@redhat.com>
10801 * src/nm-device-802-11-wireless.c
10802 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10803 IE handling blocks that cause mis-parsing of the IE
10805 2006-12-04 Dan Williams <dcbw@redhat.com>
10807 * src/nm-device-802-11-wireless.c
10808 - (init_supplicant_interface): new function; pull supplicant interface
10809 setup code out into standalone function since it must be called from
10810 two different places
10811 - (real_init): sup_mgr is now in private object data; get and track
10812 the supplicant manager object over the NMDevice subclass' lifetime
10813 and register a signal handler for its state signals; only try to
10814 initialize the supplicant interface if the supplicant manager is in
10815 the IDLE state (and therefore is ready for requests)
10816 - (request_wireless_scan): reschedule the scan request if (a) there is
10817 no supplicant interface yet (meaning wpa_supplicant isn't running
10818 or isn't ready yet), or (b) if the supplicant interface isn't ready
10820 - (supplicant_iface_connection_state_cb): new function; stub for
10821 handling supplicant interface connection state signals
10822 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10824 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10825 supplicant manager object that's being tracked starting with this
10828 2006-12-04 Dan Williams <dcbw@redhat.com>
10830 * src/supplicant-manager/nm-supplicant-interface.c
10831 - (nm_supplicant_interface_set_property): track signal handler ID
10832 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10834 2006-12-04 Dan Williams <dcbw@redhat.com>
10836 * src/supplicant-manager/nm-supplicant-interface.[ch]
10837 - (nm_supplicant_interface_get_state): new function
10839 2006-12-04 Dan Williams <dcbw@redhat.com>
10841 * src/supplicant-manager/nm-supplicant-interface.c
10842 - (bssid_properties_cb): don't treat DBus errors as valid
10843 scanned AP messages
10845 2006-12-04 Dan Williams <dcbw@redhat.com>
10847 * src/supplicant-manager/nm-supplicant-interface.[ch]
10848 - (nm_supplicant_interface_get_connection_state): new function
10849 - define new supplicant connection states
10850 - send a signal when the supplicant connection state changes
10852 2006-12-03 Dan Williams <dcbw@redhat.com>
10854 * src/supplicant-manager/Makefile.am
10855 src/supplicant-manager/nm-supplicant-connection.h
10856 src/supplicant-manager/nm-supplicant-connection.c
10857 src/supplicant-manager/nm-supplicant-config.h
10858 src/supplicant-manager/nm-supplicant-config.c
10859 src/supplicant-manager/nm-supplicant-types.h
10860 src/supplicant-manager/nm-supplicant-interface.h
10861 src/supplicant-manager/nm-supplicant-interface.c
10862 - Rename NMSupplicantConnection -> NMSupplicantConfig
10864 2006-12-03 Dan Williams <dcbw@redhat.com>
10866 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10870 - Move VPN-related translatables to .skip
10872 * vpn-daemons/pptp/po/POTFILES.in
10873 - Update with new translatables
10875 2006-12-02 Dan Williams <dcbw@redhat.com>
10877 Patch from Christian Persch <chpe@gnome.org>
10879 * gnome/applet/Makefile.am
10880 gnome/applet/applet-dbus-devices.c
10881 gnome/applet/applet-notifications.c
10882 gnome/applet/applet.c
10883 gnome/applet/applet.h
10884 gnome/applet/main.c
10885 - Be a GtkStatusIcon on GTK+ >= 2.10
10887 2006-12-02 Dan Williams <dcbw@redhat.com>
10889 * gnome/applet/applet.c
10890 - (nma_update_info): fix two unecessary allocations
10892 2006-12-02 Dan Williams <dcbw@redhat.com>
10894 Patch from Michael Biebl <biebl@teco.edu>
10896 man/NetworkManager.1.in
10897 man/NetworkManagerDispatcher.1.in
10898 man/NetworkManager.8.in
10899 man/NetworkManagerDispatcher.8.in
10900 - Add .SH NAME stanzas
10901 - Move NM & NM Dispatcher manpages to section 8 (admin)
10903 2006-12-02 Dan Williams <dcbw@redhat.com>
10905 Patch from Christian Persch <chpe@gnome.org>
10908 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10910 2006-11-29 Tambet Ingo <tambet@ximian.com>
10912 Patch by Timo Hoenig <thoenig@suse.de>:
10913 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10916 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10917 we can't use the one from the main source directory.
10919 2006-11-27 Dan Williams <dcbw@redhat.com>
10921 Patch from Christian Persch <chpe@gnome.org>
10923 * gnome/applet/applet-dbus-devices.c
10924 - (hal_info_product_cb): fix memleak; free duped string.
10927 2006-11-27 Dan Williams <dcbw@redhat.com>
10929 Patch from Christian Persch <chpe@gnome.org>
10931 * gnome/applet/menu-items.c
10932 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10933 as gtk_progress_set_percentage is deprecated. Should
10934 work as far back as GTK+ 2.4. Gnome.org #379780
10936 2006-11-26 Dan Williams <dcbw@redhat.com>
10938 Scan using wpa_supplicant over DBus.
10940 * src/nm-device-802-11-wireless.c
10941 - remove wireless extensions netlink event handler bits
10942 (wireless_event_helper, nm_device_802_11_wireless_event)
10943 - remove wireless extensions scan event handler bits
10944 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10945 hex2byte, hex2num, request_and_convert_scan_results,
10946 free_process_scan_cb_data, scan_results_timeout,
10947 schedule_scan_results_timeout, cancel_scan_results_timeout)
10948 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10949 and request scans from the supplicant interface rather than directly
10950 - Move functionality of convert_scan_results() to cull_scan_list() and
10951 supplicant_iface_scanned_ap_cb()
10952 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10953 at the scan interval when the current scan has finished
10954 - (supplicant_iface_state_cb): start scanning when the supplicant
10955 interface enters the READY state, and stop scanning when it
10956 enters the DOWN state
10957 - (cull_scan_list): weed out old access points from the scan list
10958 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10959 point into an NMAccessPoint and merge it into the device's scan list
10961 * src/supplicant-manager/nm-supplicant-interface.c
10962 src/supplicant-manager/nm-supplicant-interface.h
10963 - Add a new signal "scan-result" which is issued when the supplicant
10964 notifies NM that a scan has completed
10965 - Add a new signal "scanned-ap" that notifies listeners of a new access
10966 point found in the scan. Called once for each access point that
10967 the supplicant interface object receives from the supplicant as a
10968 result of the "scanResults" method call
10969 - (wpas_iface_query_scan_results): don't wait 4s before querying
10970 for the initial scan results
10971 - (scan_request_cb): new function; send listeners the result
10972 (success, error) of a wireless scan request
10973 - (nm_supplicant_interface_request_scan): new function; ask the
10974 supplicant to perform an immediate wireless scan
10976 2006-11-25 Dan Williams <dcbw@redhat.com>
10978 * src/supplicant-manager/Makefile.am
10979 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10980 add HAL cflags/includes and named-manager includes directory
10982 * src/supplicant-manager/nm-supplicant-interface.h
10983 - New state STARTING to handle transition from INIT to READY where
10984 the addInterface pending call is still outstanding
10986 * src/supplicant-manager/nm-supplicant-interface.c
10987 - track pending calls differently since we may have more than one
10988 going on at any given time
10989 - request scan results from wpa_supplicant; but don't do it more often
10990 than every 4 seconds. Drivers that do background scanning
10991 (like the 'ipw' drivers) send a continuous stream of scan completion
10992 notifications, so we don't want to hammer the supplicant or dbus
10993 with requests for all scan results every time we get a completion
10996 2006-11-25 Dan Williams <dcbw@redhat.com>
10998 * src/supplicant-manager/nm-supplicant-types.h
10999 - new file; move all supplicant manager object typedefs here for
11002 * src/supplicant-manager/nm-supplicant-interface.c
11003 src/supplicant-manager/nm-supplicant-interface.h
11004 - new file; an object that interfaces an NMDevice object to the
11005 supplicant and handles signals from the supplicant. This object
11006 does all necessary DBus communication with wpa_supplicant.
11008 * src/supplicant-manager/nm-supplicant-manager.c
11009 src/supplicant-manager/nm-supplicant-manager.h
11010 - Actually do something. Track the state of the wpa_supplicant service
11011 and deal with its comings & goings. Handle life events of
11012 supplicant interfaces too.
11013 - Move NMSupplicantManager typedef to nm-supplicant-types.h
11015 * src/supplicant-manager/nm-supplicant-connection.h
11016 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
11018 * src/supplicant-manager/Makefile.am
11019 - Add new files to build, and add libnm-util to includes
11021 * src/nm-marshal.list
11022 - New marshaler type: VOID:UINT,UINT
11024 * src/nm-device-802-3-ethernet.c
11025 - (real_init): grab a supplicant interface
11026 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
11027 - (supplicant_iface_state_cb): new function, stub for handling
11028 supplicant interface state changes
11030 * src/nm-device-802-11-wireless.c
11031 - (real_init): grab a supplicant interface
11032 - (nm_device_802_11_wireless_dispose): release the supplicant interface
11033 - (supplicant_iface_state_cb): new function, stub for handling
11034 supplicant interface state changes
11036 * src/NetworkManager.c
11037 - (main): create and keep the supplicant manager around for the lifetime
11041 - Link to the supplicant manager sub-library and use the supplicant
11044 2006-11-25 Dan Williams <dcbw@redhat.com>
11046 Rework DBus manager signal handling to be more flexible. Previously,
11047 only one signal handler could be registered for a particular interface.
11048 The DBus manager now reference counts DBus bus matches and allows multiple
11049 clients to register signal handlers for the same interface and sender.
11051 * src/NetworkManager.c
11052 - (main): track NMI signal handler ID and remove it when we quit
11054 * src/NetworkManagerMain.h
11055 - Keep track of NMI signal handler ID
11057 * src/nm-dbus-manager.c
11058 src/nm-dbus-manager.h
11059 - rework signal handling; each signal handler references one signal
11060 match, but a signal match may be referenced by one or more
11061 signal handlers. Matches are refcounted and are destroyed when the
11062 last signal handler that references the match is removed. This is
11063 necessary because two signal handlers may end up requiring the same
11064 dbus bus match, so the match must live until the last signal handler
11065 is destroyed (for example, with the wpa_supplicant network interface
11068 * src/dhcp-manager/nm-dhcp-manager.c
11069 - (nm_dhcp_manager_new): track DHCP signal handler id
11070 - (nm_dhcp_manager_dispose): remove DHCP signal handler
11072 * src/vpn-manager/nm-vpn-service.c
11073 - (nm_vpn_service_add_watch): track VPN service signal handler id
11074 - (nm_vpn_service_remove_watch): remove VPN service signal handler
11076 2006-11-25 Dan Williams <dcbw@redhat.com>
11078 Suggested by Helmut Schaa <hschaa@suse.de>
11080 * src/vpn-daemons/nm-vpn-service.c
11081 - (supplicant_child_setup): new function
11082 - (supplicant_exec): make child process use a new process group id
11084 * src/nm-device-802-11-wireless.c
11085 - (nm_vpn_service_child_setup): new function
11086 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
11089 2006-11-19 Dan Williams <dcbw@redhat.com>
11091 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
11092 * gnome/vpn-properties/nm-vpn-properties.c
11093 - clean up after renamed VPN connection
11095 2006-11-19 Dan Williams <dcbw@redhat.com>
11097 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
11098 * gnome/applet/applet-dbus-vpn.c
11099 - (nma_dbus_vpn_properties_cb): sort VPN connections
11101 * gnome/vpn-properties/nm-vpn-properties.c
11102 - (init_app): sort VPN connections
11104 2006-11-09 Dan Williams <dcbw@redhat.com>
11106 * src/NetworkManagerAPList.c
11107 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
11108 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
11109 from the nm_ap_list_get_ap_by_address() call was incorrect and
11110 broke hidden SSID matching. Found by Bill Moss.
11112 2006-10-25 Dan Williams <dcbw@redhat.com>
11115 - (nm_dbus_nm_set_active_device): return an empty success message on
11116 success, rather than falling through to the error case.
11118 2006-10-25 Dan Williams <dcbw@redhat.com>
11120 * src/NetworkManagerUtils.c
11121 - (nm_utils_supplicant_request_with_check): suppress messages for the
11124 2006-10-24 Dan Williams <dcbw@redhat.com>
11126 Reduce the number of times the Gnome applet wakes up, especially when
11127 it's doing absolutely nothing and is hidden. Initial patch by
11130 * gnome/applet/applet-dbus.c
11131 - (nma_dbus_filter): when NM isn't around, or when it goes away,
11132 kill the redraw timeout. When NM starts up, start the redraw
11133 timeout. Also, if we get kicked off the bus for some reason,
11134 start the reconnection timeout if one's not already running.
11135 - (nma_dbus_init): better handling of error conditions, don't leak
11136 a half-initialized dbus connection
11137 - (nma_dbus_connection_watcher): consolidate places we reinitialize
11138 the applet's data, just call nm_dbus_init_helper()
11139 - (nma_start_dbus_connection_watch): new function, starts a periodic
11140 timeout that calls nma_dbus_connection_watcher()
11141 - (nma_dbus_init_helper): if we get a successful connection, kill the
11142 reconnection timeout, and don't start the reconnection timeout
11143 unconditionally anymore
11145 * gnome/applet/applet-dbus.h
11146 - Expose nma_start_dbus_connection_watch()
11148 * gnome/applet/applet.c
11149 - (nma_update_state): no longer static, called from applet-dbus.c for
11150 immediate UI updates on certain events
11151 - (nma_set_running): new function; take over setting applet->running,
11152 when not running (ie, NM is not active), don't activate the redraw
11153 timeout because we're not showing the applet anyway. When we are
11154 running (ie, NM is active), and only when we're running, start the
11156 - (nma_destroy): kill the redraw timeout by setting 'not running', and
11157 kill any reconnection timeout
11158 - (nma_get_instance): move one-off dbus initialization code here since
11159 nm_dbus_init_helper() gets called more than once, possibly by the
11160 reconnection timeout function too. And, when we start up, if we
11161 can't get a connection to the bus, start the reconnection timeout.
11162 But don't start the redraw timeout yet, only do that when we get
11163 NM's state and find out if it's running or not.
11165 * gnome/applet/applet.h
11166 - Add the reconnection GSource ID
11167 - Add prototypes for nma_set_running() and the no-longer-static
11170 2006-10-24 Dan Williams <dcbw@redhat.com>
11172 * src/vpn-daemons/nm-dbus-vpnc.c
11173 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
11174 pending call tracker
11175 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
11176 pending call tracker; register one-vpn-connection update pending
11177 call in pending call tracker
11178 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
11179 update pending call in pending call tracker
11180 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
11181 update pending call in pending call tracker; don't block waiting
11184 2006-10-19 Robert Love <rml@novell.com>
11186 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
11189 2006-10-14 Dan Williams <dcbw@redhat.com>
11191 * src/dhcp-manager/nm-dhcp-manager.c
11192 - (get_ip4_string, get_ip4_uint32s): have the caller pass
11193 the dbus connection and the device object path rather than
11194 constructing it inside both functions. Saves a bit of memory
11195 and clarifies a failure path.
11196 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
11197 and allocate device path here rather than each of the two
11200 2006-10-13 Dan Williams <dcbw@redhat.com>
11202 * src/NetworkManager.c
11203 - (nm_name_owner_changed_handler): handle NMI coming and going,
11204 this somehow droppout in the refactor
11206 2006-10-13 Dan Williams <dcbw@redhat.com>
11208 * Huge DBus refactor:
11209 - Create a "DBus Manager" object which manages the connection and
11210 sends signals on NameOwnerChanged and connection/disconnection events,
11211 handles reconnection to the bus if NM gets kicked off, and abstracts
11213 - Remove DBusConnection members from places where they are no
11214 longer needed due to the refactor, like the dbus-connection
11215 property of the named manager, and from NMData
11216 - Reformats a bunch of the code to gnome style
11217 (8-space tabs, braces on same line as statement, 80-col width).
11218 Consider it open season to reformat any bits to gnome style.
11219 style that aren't already.
11221 2006-10-13 Dan Williams <dcbw@redhat.com>
11223 * src/supplicant-manager/Makefile.am
11226 * src/supplicant-manager/nm-supplicant-manager.[ch]:
11227 - Make it a minimal GObject
11229 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
11230 - Verify settings destined for wpa_supplicant
11232 * src/supplicant-manager/nm-supplicant-connection.[ch]:
11233 - Minimal GObject to track wpa_supplicant controlled device
11236 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
11238 * gnome/applet/applet.c: (nma_update_info),
11239 (nma_act_stage_to_pixbuf), (nma_update_state):
11240 Mark missing strings for translation. Fixes bug #343306.
11242 2006-10-01 Dan Williams <dcbw@redhat.com>
11244 * src/vpn-manager/nm-vpn-manager.c
11245 - (nm_vpn_manager_load_services): split and clean up
11246 for readability and correctness. Restrict VPN service
11247 files to ending in ".name", as was meant from the
11248 beginning (but not coded in). Better error reporting.
11250 2006-10-01 Dan Williams <dcbw@redhat.com>
11253 - Clean up formatting of debug/info/warning log messages
11255 2006-09-27 Robert Love <rml@novell.com>
11257 Patch by Tambet Ingo <tambet@ximian.com>:
11258 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
11261 2006-09-07 Dan Williams <dcbw@redhat.com>
11264 test/libnm-util/Makefile.am
11265 test/nm-supplicant-test.c
11266 - Add test program emulating the way NM drives wpa_supplicant
11267 to help debug supplicant issues
11269 2006-08-24 Dan Williams <dcbw@redhat.com>
11273 src/supplicant-manager/Makefile.am
11274 src/supplicant-manager/nm-supplicant-manager.c
11275 src/supplicant-manager/nm-supplicant-manager.h
11276 - Add skeleton bits of the wpa_supplicant manager
11278 2006-08-24 Dan Williams <dcbw@redhat.com>
11280 Patch from Ed Catmur:
11281 * src/NetworkManagerUtils.c
11282 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
11283 if netmask is 0 (Gnome #352634)
11285 2006-08-17 Robert Love <rml@novell.com>
11287 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
11288 package is now DBUS-enabled and listens for the NM signals.
11290 2006-08-14 Dan Williams <dcbw@redhat.com>
11292 * Patch from Christian Persch <chpe gnome org>
11295 vpn-daemons/openvpn/po/LINGUAS
11296 vpn-daemons/openvpn/configure.in
11297 vpn-daemons/pptp/po/LINGUAS
11298 vpn-daemons/pptp/configure.in
11299 vpn-daemons/vpnc/po/LINGUAS
11300 vpn-daemons/vpnc/configure.in
11301 - Convert to LINGUAS method so translators don't have to modify
11302 configure.in, just stuff in po/. Gnome #343132, requires intltool
11305 2006-08-14 Dan Williams <dcbw@redhat.com>
11307 Patch from Alex Smith <alex.extreme2@gmail.com>
11309 src/backends/Makefile.am
11310 src/backends/NetworkManagerFrugalware.c
11311 - Add support for Frugalware
11313 2006-08-13 Dan Williams <dcbw@redhat.com>
11315 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11316 * src/nm-device-802-11-wireless.c
11317 - (supplicant_exec): spawn wpa_supplicant without debug spew
11320 2006-08-13 Dan Williams <dcbw@redhat.com>
11322 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11323 * src/nm-ap-security.c
11324 src/nm-ap-security.h
11325 - Add authentication_required bits for subclasses to specify whether
11326 or not real authentication is required for connections, i.e. whether
11327 the AP rejects us when an encryption key is wrong or not.
11329 * src/nm-ap-security-wep.c
11330 src/nm-ap-security-wpa-eap.c
11331 src/nm-ap-security-wpa-psk.c
11332 src/nm-ap-security-leap.c
11333 - Implement authentication_required appropriately for each method
11335 * src/nm-device-802-11-wireless.c
11336 - Be smarter about when to request a key; for example, using a wrong key
11337 in WEP shared key mode previously just timed out and did not request
11340 2006-08-13 Dan Williams <dcbw@redhat.com>
11342 * gnome/libnm_glib/libnm_glib.c
11343 - dbus_connection_disconnect() -> dbus_connection_close() for
11346 2006-08-07 Dan Williams <dcbw@redhat.com>
11348 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11349 * src/NetworkManagerSystem.c
11350 - Respect specified MTU. Gnome #344967
11352 2006-08-07 Dan Williams <dcbw@redhat.com>
11354 * src/vpn-manager/nm-vpn-service.c
11355 - Simplify print_vpn_config() arguments
11357 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11358 * src/vpn-manager/Makefile.am
11359 src/vpn-manager/nm-vpn-service.c
11360 - Add new API for passing VPN config options as a dict. Gnome #344967
11362 2006-08-06 Dan Williams <dcbw@redhat.com>
11364 * gnome/applet/applet-dbus-devices.c
11365 gnome/applet/applet-dbus-vpn.c
11366 gnome/applet/applet-dbus.c
11367 gnome/applet/applet-dbus.h
11371 - Make pending call tracking code generic,
11372 so we can use it in NM as well as the applet
11374 2006-08-06 Dan Williams <dcbw@redhat.com>
11376 * src/nm-activation-request.c
11377 - Refcount pending call objects
11379 2006-08-06 Dan Williams <dcbw@redhat.com>
11381 Patch from Christan Chiesa <christanc@gmail.com>
11383 - Tell sha1.c to use bigendian mode on PPC
11385 2006-08-04 Robert Love <rml@novell.com>
11387 Glib Memory Slices!
11388 * configure.in: Require glib 2.10 or later.
11389 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11390 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11391 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11392 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11393 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11394 Memory Slices are the greatest thing since bread slices.
11395 * src/NetworkManagerAP.c: Also, fix memory leak.
11397 2006-08-01 Robert Love <rml@novell.com>
11399 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11401 2006-07-31 Robert Love <rml@novell.com>
11403 * src/backends/interface_parser.c: Declarations must begin the block.
11405 2006-07-24 Dan Williams <dcbw@redhat.com>
11407 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11408 * src/backends/Makefile.am
11409 src/backends/NetworkManagerArch.c
11410 src/backends/NetworkManagerDebian.c
11411 src/backends/NetworkManagerGeneric.c
11412 src/backends/NetworkManagerGeneric.h
11413 src/backends/NetworkManagerGentoo.c
11414 src/backends/NetworkManagerPaldo.c
11415 src/backends/NetworkManagerRedHat.c
11416 src/backends/NetworkManagerSlackware.c
11417 src/backends/NetworkManagerSuSE.c
11418 - Genericize common backend functions
11420 2006-07-18 Robert Love <rml@novell.com>
11422 * configure.in: Add "--with-notify" option to allow disabling of
11425 2006-07-13 Dan Williams <dcbw@redhat.com>
11427 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11428 * gnome/applet/applet.glade
11429 gnome/applet/Makefile.am
11430 gnome/applet/nm-gconf-wso.c
11431 gnome/applet/nm-gconf-wso-leap.c
11432 gnome/applet/nm-gconf-wso-leap.h
11433 gnome/applet/wireless-security-manager.c
11434 gnome/applet/wso-leap.c
11435 gnome/applet/wso-leap.h
11436 include/NetworkManager.h
11437 libnm-util/dbus-helpers.c
11438 libnm-util/dbus-helpers.h
11440 src/NetworkManagerAP.c
11441 src/nm-ap-security.c
11442 src/nm-ap-security-leap.c
11443 src/nm-ap-security-leap.h
11444 - Add LEAP authentication support
11446 2006-07-13 Dan Williams <dcbw@redhat.com>
11448 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11450 src/backends/NetworkManagerArch.c
11451 src/backends/NetworkManagerDebian.c
11452 src/backends/NetworkManagerGentoo.c
11453 src/backends/NetworkManagerPaldo.c
11454 src/backends/NetworkManagerRedHat.c
11455 src/backends/NetworkManagerSlackware.c
11456 src/backends/NetworkManagerSuSE.c
11457 - Convert hardcoding of 'ip' path to configure-time
11460 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11462 * configure.in: added ru to ALL_LINGUAS
11464 2006-07-10 Dan Williams <dcbw@redhat.com>
11466 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11468 - (real_act_stage3_ip_config_start): don't infinite loop when
11469 dhcdbd isn't running (Gnome #346845)
11471 2006-07-09 Dan Williams <dcbw@redhat.com>
11473 * gnome/applet/applet.c
11474 - (nma_destroy): don't pass NULL to notify_notification_close
11477 2006-07-09 Dan Williams <dcbw@redhat.com>
11479 * gnome/applet/applet.c
11480 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11482 2006-07-04 Tor Krill <tor@krill.nu>
11484 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11485 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11486 (nm_system_restart_mdns_responder), (ArchReadConfig),
11487 (nm_system_device_get_system_config):
11488 - Explicitly check for DHCP configuration
11489 - Check if daemons are running before starting them
11491 2006-06-25 Dan Williams <dcbw@redhat.com>
11493 * libnm-util/dbus-dict-helpers.[ch]
11494 test/libnm-util/test-dbus-dict-helpers.c
11495 - Add string array support
11497 2006-06-24 Dan Williams <dcbw@redhat.com>
11499 * src/dhcp-manager/nm-dhcp-manager.c
11500 - (nm_dhcp_manager_process_signal): clean up spacing
11502 2006-06-21 Dan Williams <dcbw@redhat.com>
11504 * src/nm-dbus-device.c
11505 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11508 2006-06-21 Raivis Dejus <orvils@gmail.com>
11510 * configure.in: Added 'lv' to ALL_LINGUAS
11512 2006-06-19 Dan Williams <dcbw@redhat.com>
11514 * src/NetworkManagerAP.c
11515 - Clarify usage of user_created
11517 * src/nm-ap-security-wep.c
11518 src/nm-ap-security-wpa-eap.c
11519 src/nm-ap-security-wpa-psk.c
11520 src/nm-ap-security.c
11521 src/nm-ap-security.h
11522 - s/user_created/adhoc, because we really do mean adhoc
11524 Patch from Bernard Blackham <bernard@blackham.com.au>
11525 * src/nm-device-802-11-wireless.c
11526 - (supplicant_send_network_config): instead of user_created,
11527 use adhoc, and do AP_SCAN 2 for adhoc networks
11529 2006-06-18 Robert Love <rml@novell.com>
11531 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11532 we have a value to set. Gconf generates a warning if `val' is NULL.
11533 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11534 unless we actually received a valid private key file passphrase or
11535 password. Otherwise, we don't know to later ask the applet to pull
11536 the key from the keyring.
11538 2006-06-17 Dan Williams <dcbw@redhat.com>
11540 * libnm-util/dbus-dict-helpers.[ch]
11541 test/libnm-util/test-dbus-dict-helpers.c
11542 - Fixes for zero-length byte arrays
11543 - Replace return values of 0 with FALSE for clarity
11544 - Test zero-length byte arrays
11546 2006-06-17 Dan Williams <dcbw@redhat.com>
11548 * libnm-util/dbus-dict-helpers.[ch]
11549 test/libnm-util/test-dbus-dict-helpers.c
11550 - Add helpers for byte arrays
11551 - Rework bits of the testcase
11553 2006-06-16 Dan Williams <dcbw@redhat.com>
11555 * libnm-util/Makefile.am
11556 * libnm-util/dbus-dict-helpers.[ch]
11557 - Add some helpers to take the pain out of using dict types in
11560 * test/libnm-util/Makefile.am
11561 * test/libnm-util/test-dbus-dict-helpers.c
11562 - Test cases for the dict helper functions
11564 2006-06-15 Robert Love <rml@novell.com>
11566 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11567 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11568 if there is no key to pass.
11569 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11570 receiving a non-NULL key.
11572 2006-06-14 Robert Love <rml@novell.com>
11574 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11578 2006-06-14 Dan Williams <dcbw@redhat.com>
11580 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11581 * src/nm-device-802-11-wireless.c
11582 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11583 or ones where the driver is unknown
11584 - (supplicant_exec): don't wait for supplicant startup here
11585 - (supplicant_interface_init): finer grained polling for supplicant
11588 2006-06-13 Robert Love <rml@novell.com>
11590 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11591 if it is currently set to TRUE. Otherwise, we will reset the value
11592 when we connect normally.
11593 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11594 the old BSSID is valid, too. The recently added ESSID check may not be
11595 sufficient (we can remove it?). What we really want to catch is the
11596 case of going from all-zeros to the BSSID of some other network, which
11597 happens on failure.
11599 2006-06-09 Dan Williams <dcbw@redhat.com>
11601 * src/NetworkManagerSystem.[ch]
11602 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11603 it was unused and pointless
11604 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11605 fix for set_up_down_with_iface change
11607 * src/vpn-manager/nm-vpn-connection.c
11608 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11610 * src/backends/NetworkManagerPaldo.c
11611 src/backends/NetworkManagerRedHat.c
11612 src/backends/NetworkManagerSuSE.c
11613 src/backends/NetworkManagerArch.c
11614 src/backends/NetworkManagerDebian.c
11615 src/backends/NetworkManagerGentoo.c
11616 - (nm_system_enable_loopback): use set_up_down_with_iface where
11618 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11621 2006-06-09 Dan Williams <dcbw@redhat.com>
11623 Patch from Peter Jones:
11624 * src/nm-device-802-11-wireless.c
11625 - (nm_device_802_11_wireless_update_bssid): make sure that the
11626 SSID hasn't changed from what we expect before automatically
11627 updating the saved BSSID from a new AP
11629 2006-06-08 Robert Love <rml@novell.com>
11631 Add 'fallback' support. NetworkManager will attempt to brute-force
11632 connect to networks marked as fallback if there are no better wireless
11633 connections available. This is useful as a method of last resort, to
11634 work around driver problems, and for use with hidden networks.
11635 * gnome/applet/applet-dbus-devices.c,
11636 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11637 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11638 pass it on via DBUS.
11639 * gnome/applet/applet.c: No fallback by default.
11640 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11641 Update other-network-dialog to add UI checkbox toggling fallback.
11642 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11643 propery from AP object. Add "fallback" property to AP object.
11644 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11645 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11646 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11647 separate function. Add get_best_fallback_ap() for returning an AP
11648 on which to attempt fallback.
11649 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11650 * test/nm-set-fallback: New file. Sets a given network as fallback.
11652 2006-06-07 Robert Love <rml@novell.com>
11654 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11655 checked that the return type was GCONF_VALUE_STRING, not the correct
11656 GCONF_VALUE_BOOL, and thus it never worked.
11657 * src/NetworkManagerAPList.c: Before concluding that two networks are
11658 identical based on their BSSID, make sure that the BSSID in question
11659 is actually valid. Specifically, an empty or all zero BSSID does not
11661 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11662 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11663 similar invariant clean up.
11665 2006-06-02 Robert Love <rml@novell.com>
11667 * gnome/applet/applet.c: Update copyright years. Add Novell.
11669 2006-05-28 Dan Williams <dcbw@redhat.com>
11671 * gnome/applet/applet.glade
11672 gnome/vpn-properties/nm-vpn-properties.glade
11673 - Set window icons on dialogs (Gnome.org #333420)
11675 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11677 * gnome/vpn-properties/nm-vpn-properties.glade:
11678 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11679 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11680 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11681 - Make the VPN properties pages prettier and more HIG
11682 compliant. Gnome Bug #336913.
11684 2006-05-28 Dan Williams <dcbw@redhat.com>
11686 Patch from Christian Persch <chpe@gnome.org>
11687 * gnome/vpn-properties/nm-vpn-properties.c
11688 * gnome/vpn-properties/nm-vpn-properties.glade
11689 - HIG-ification love (Gnome.org #336846)
11691 2006-05-28 Dan Williams <dcbw@redhat.com>
11693 Patch from Christian Persch <chpe@gnome.org>
11695 gnome/vpn-properties/nm-vpn-properties.c
11696 - (main): Fix option parsing. Gnome.org #336847
11698 2006-05-28 Dan Williams <dcbw@redhat.com>
11700 * gnome/vpn-properties/nm-vpn-properties.c
11701 - (find_vpn_ui_by_service_name): protect against NULL service names
11702 - (update_edit_del_sensitivity): protect against NULL service names
11705 2006-05-28 Dan Williams <dcbw@redhat.com>
11707 Patch from Chris Fuller <crf@grandecom.net>:
11708 * src/nm-device-802-11-wireless.c
11709 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11710 don't dispose of wireless-specific stuff unless it is actually
11711 initialized. Gnome.org #341263
11713 2006-05-28 Dan Williams <dcbw@redhat.com>
11715 * src/NetworkManagerPolicy.c
11716 - (nm_policy_device_change_check): don't switch devices if the "best"
11717 AP is essentially the same as the current activation request, but
11718 the current activation request isn't done activating yet. Fixes
11719 multiple requests for keyring password on startup for Gnome applet.
11722 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11724 * src/NetworkManager.c: use GOptions instead of getopt
11725 * configure.in: bump glib required version to >= 2.6 for GOption
11728 2006-05-25 Robert Love <rml@novell.com>
11730 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11731 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11732 instead of dumping ifdef's throughout the code.
11733 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11734 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11735 use nm_ioctl_info() in lieu.
11737 2006-05-25 Robert Love <rml@novell.com>
11739 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11740 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11741 not using gcrypt. Otherwise, we get a linker error.
11743 2006-05-25 Robert Love <rml@novell.com>
11745 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11746 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11747 configure flag to disable building of the GNOME-based applet.
11749 2006-05-25 Robert Love <rml@novell.com>
11751 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11752 parameter from link, because it shadows a global variable with some
11753 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11754 should never have exported to the entire system a common four letter
11755 word. But we here at NetworkManager are team players. Fixes
11758 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11760 * configure.in: Added mk.po, Macedonian translation.
11762 2006-05-24 Robert Love <rml@novell.com>
11764 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11765 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11766 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11768 2006-05-24 Robert Love <rml@novell.com>
11770 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11771 libnm-util/Makefile.am, src/Makefile.am,
11772 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11773 vpn-daemons/openvpn/properties/Makefile.am,
11774 vpn-daemons/pptp/auth-dialog/Makefile.am,
11775 vpn-daemons/pptp/properties/Makefile.am,
11776 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11777 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11778 user passed for --datadir, if anything, when setting the GNOME locale
11779 directory. It should be a function of the specified datadir and not
11782 2006-05-24 Robert Love <rml@novell.com>
11784 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11785 src/NetworkManager.c: Take care to call bindtextdomain with the
11786 location of msgid files.
11787 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11790 2006-05-22 Robert Love <rml@novell.com>
11792 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11793 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11794 99% of the time there is a real problem with wireless, and a
11795 seemingly successful connection via Zeroconf just confuses the user.
11796 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11798 2006-05-22 Robert Love <rml@novell.com>
11800 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11801 autofs on interface up if NIS is configured. On interface down, do
11804 2006-05-22 Robert Love <rml@novell.com>
11806 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11807 to avoid calling g_object_unref() on stale pointers on error in
11808 nma_icons_free(). This happens because we short-circuit loaded the
11809 icons on the first failure but then free all icons. Normally we have
11810 no issue because the icons were zero'ed out malloc, but we have stale
11811 pointer data after nma_icon_theme_changed().
11812 * gnome/applet/main.c: Return error code if nma_new() failed.
11814 2060-05-21 Dan Williams <dcbw@redhat.com>
11816 * initscript/NetworkManager.in
11817 - Ensure both dhcdbd and named are started before NM
11819 2006-05-21 Dan Williams <dcbw@redhat.com>
11822 - Bump version to 0.7 to signify we are in 0.7 development
11824 2006-05-21 Dan Williams <dcbw@redhat.com>
11826 Patch from Adam Schreiber <sadam@clemson.edu>
11827 * gnome/vpn-properties/nm-vpn-properties.c
11828 - (main): correct Gnome program name (gnome.org #342498)
11830 2006-05-21 Dan Williams <dcbw@redhat.com>
11832 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11834 * src/NetworkManagerDbus.[ch]
11835 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11836 clarify that function's argument should be an escaped dbus object
11837 path, and look for path segment end before returning a match
11838 * src/nm-dbus-nm.c:
11839 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11841 2006-05-17 Robert Love <rml@novell.com>
11843 Functionality to differentiate Ad-Hoc networks from infrastructure
11844 networks in the applet, by displaying a special icon:
11845 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11846 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11847 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11848 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11849 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11850 networks, encrypted or not.
11851 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11852 accessor functions to get and set the mode of a given network,
11853 wireless_network_get_mode() and wireless_network_set_mode().
11855 2006-05-17 Robert Love <rml@novell.com>
11857 Functionality to automatically add BSSIDs to the allowed-MAC list as
11858 one roams from access point to access point on a given network:
11859 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11860 helper function to compare two ether_addr structures and return TRUE
11861 if they contain the same MAC address.
11862 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11864 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11865 stored with the current AP. If the BSSID has indeed changed, we
11866 send it out to the applet, allowing the allowed-MAC list to grow
11867 automatically in response to roaming.
11869 2006-05-16 Robert Love <rml@novell.com>
11871 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11872 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11874 2006-05-13 Dan Williams <dcbw@redhat.com>
11876 * src/nm-device-802-3-ethernet.c
11877 - (real_get_generic_capabilities): Don't ignore devices that can't do
11878 carrier detect (Debian bug #366373)
11880 2006-05-11 Dan Williams <dcbw@redhat.com>
11882 Patch from Michael Biebl <biebl@teco.edu>
11883 * src/backends/NetworkManagerDebian.c
11884 - Debian backend fixups
11886 2006-05-10 Robert Love <rml@novell.com>
11888 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11890 2006-05-09 Robert Love <rml@novell.com>
11892 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11893 private certificate passphrase, if any, in the GNOME Keyring.
11894 * libnm-utils/dbus-helpers.c: Update.
11896 2006-05-05 Dan Williams <dcbw@redhat.com>
11898 * src/nm-device-802-11-wireless.c
11899 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11900 nm_device_802_11_wireless_disable_encryption() since that's all
11901 we use it for anymore; we don't ever set WEP keys ourselves.
11902 - (real_deactivate_quickly): reset SSID and encryption keys
11903 - (real_deactivate): move SSID and encryption key reset to
11904 real_deactivate_quickly(), which gets run before us anyway
11906 2006-05-05 Robert Love <rml@novell.com>
11908 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11909 root has a wacky default of its own (or, more common, a user has a
11910 bad umask and uses su/sudo to restart NetworkManager). Anything
11911 other than 0022 does not do what we want with, for example,
11912 resolv.conf. This problem is amplified by our judicious use of
11913 fopen(), which uses mode 0666 -- implying that the only way to get
11914 the permissions we want is with a umask of 0022.
11916 2006-05-05 Dan Williams <dcbw@redhat.com>
11918 * gnome/libnm_glib/libnm_glib.c
11919 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11920 to reconnect; instead wait a bit more with each reconnect attempt
11921 up to a max of one minute.
11923 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11925 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11926 the WirelessNetwork structure using the proper function instead of
11927 just casting it directly to (const char *) (gnome.org #336991)
11929 2006-05-03 Robert Love <rml@novell.com>
11931 * src/backends/NetworkManagerSuSE.c: Respect the variable
11932 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11933 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11934 to dynamically update /etc/resolv.conf.
11936 2006-05-02 Peter Jones <pjones@redhat.com>
11938 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11940 2006-05-02 Robert Love <rml@novell.com>
11942 Patch by Timo Hoenig;
11943 * tests/nm-online.c: Print pretty status indicator as timeout winds
11944 down. Also fix possible race between DBUS startup and failure
11947 2006-05-01 Robert Love <rml@novell.com>
11949 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11952 2006-04-27 Jeremy Katz <katzj@redhat.com>
11954 * src/nm-device.c (discover_device_type): Actually use the hal
11955 device type instead of ioctl poking
11957 2006-04-26 Robert Love <rml@novell.com>
11959 * tests/nm-online.c: New file. Simple utility that returns exit status
11960 noting whether the connection is offline or online. If offline on
11961 start, it waits 30 seconds (or a command-line given value) for an
11962 online signal. If it times out, it again returns offline. This is
11963 useful for scripts that want to wait for network connections.
11965 2006-04-25 Robert Love <rml@novell.com>
11967 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11968 key mode (the authentication algorithm), e.g. open or shared, when we
11969 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11970 only shared was broken. If the user specified a shared key, set it
11971 explicitly, otherwise let wpa_supplicant go with the default.
11973 2006-04-24 Dan Williams <dcbw@redhat.com>
11975 * src/nm-device-802-11-wireless.c
11976 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11978 2006-04-24 Dan Williams <dcbw@redhat.com>
11980 Commit the async scanning patch
11982 * src/nm-device-802-11-wireless.c
11983 - get rid of scan_mutex
11984 - (wireless_event_helper): act on wireless scan events
11985 - (real_start): schedule a pending scan
11986 - (link_to_specific_ap): fake the link to the AP during a scan
11987 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11988 strength during scans
11989 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11990 nm_device_set_bitrate): unused with new scanning code, disable
11991 - (nm_device_wireless_schedule_scan): removed
11992 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11993 - (request_and_convert_scan_results): new function; retrieve scan
11994 results from the driver and schedule the processing function
11995 - (scan_results_timeout): timeout triggered when card doesn't send
11996 a scan results wireless event during a certain interval
11997 - (schedule_scan_results_timeout): new function; schedule the scan
11999 - (cancel_scan_results_timeout): new function; cancel the scan
12001 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
12002 to do the scanning. Otherwise, just request a scan but don't
12003 grab results here; instead schedule a timeout for scan results and
12004 let netlink notify us of scan completion events
12005 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
12006 - (cancel_pending_scan): new function; cancel a pending wireless scan
12007 - (supplicant_status_cb): ignore disconnect events while scanning
12008 - (supplicant_exec): wait a bit longer for the supplicant to start up
12009 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
12011 - (get_scan_results): removed; folded into request_and_convert_scan_results()
12013 2006-04-24 Dan Williams <dcbw@redhat.com>
12015 * gnome/applet/applet-dbus.c
12016 - Disable the pending call debug stuff, seems under control now
12018 2006-04-20 Robert Love <rml@novell.com>
12020 Fix bug where hidden ESSID's would not show up in the applet, even
12021 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
12022 because nm_policy_device_list_update_from_allowed_list() would merge
12023 the data, putting a name to the hidden networks, but never notify NMI
12024 of the changes. Simple fix is to invoke the function
12025 nm_dbus_signal_wireless_network_change() if we make a mapping.
12026 * src/NetworkManagerAPList.c: Call the function
12027 nm_dbus_signal_wireless_network_change() if we made a successful
12028 BSSID to ESSID mapping, notifying the applet of the "new" network.
12029 * src/NetworkManagerAPList.h: Update the prototypes for both
12030 nm_ap_list_copy_essids_by_address() and
12031 nm_ap_list_copy_one_essid_by_address().
12033 2006-04-20 Robert Love <rml@novell.com>
12035 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
12036 not set. Just return zero.
12038 2006-04-20 Robert Love <rml@novell.com>
12040 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
12041 only one copy of nm-vpn-properties is running at a time via the 'ol
12042 X selection trick. This prevents the user from opening two "VPN
12043 Connections" windows from within the applet, which leads to mass
12045 * clipboard.c: New file, implementing simple X selection logic.
12046 * clipboard.h: New file.
12047 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
12049 2006-04-18 Nicolas Trangez <eikke@eikke.com>
12051 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
12053 initscript/Gentoo/Makefile.am
12054 initscript/Gentoo/NetworkManagerDispatcher.in
12056 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
12059 2006-04-16 Dan Williams <dcbw@redhat.com>
12061 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
12063 initscript/Slackware/Makefile.am
12064 initscript/Slackware/rc.networkmanager-dispatcher.in
12065 initscript/Slackware/rc.networkmanager.in
12066 - Update slackware initscripts
12068 2006-04-10 Robert Love <rml@novell.com>
12070 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
12071 the "delete_event" signal on the druid's parent window and handle it
12072 our way, lest using the WM to close the druid results in a series of
12073 bloody and ultimately lethal errors.
12075 2006-04-10 Robert Love <rml@novell.com>
12077 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
12078 'Back' too or else the 'Forward' option is initially disabled despite
12081 2006-04-06 Robert Love <rml@novell.com>
12083 Fix bad but simple bug where an active modem connection did not update
12084 NM's connection state, breaking any app that did online/offline:
12085 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
12086 represented whether a dial up connection is active, or not.
12087 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
12088 to modem activation and deactivation.
12089 * src/NetworkManagerDbus.c: When asked our state, do not return
12090 disconnected if the modem is active.
12092 2006-04-04 Robert Love <rml@novell.com>
12094 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
12095 applet. It just confuses the crap out of people and does not make a
12096 lot of sense, as the daemon still runs.
12098 2006-04-02 Tor Krill <tor@krill.nu>
12100 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
12101 in start of service.
12102 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
12103 get Archlinux backend up to date.
12105 2006-03-29 Robert Love <rml@novell.com>
12107 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
12108 to add support for per-route MSS and improve support for per-interface
12110 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
12111 optionally take an MSS parameter and set it for the given route.
12112 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
12113 NMIP4Config's stored MSS, if any.
12114 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
12115 the interface's MTU and the route's MSS, respectively. Add functions
12116 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
12117 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
12119 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
12120 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
12121 nm_ip4_config_set_mss.
12122 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
12124 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
12125 Change the retval of nm_system_get_mtu to guint32.
12126 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
12127 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
12128 servers can specify MTU's, we should set it here if the MTU was not
12131 2006-03-27 Jürg Billeter <j@bitron.ch>
12134 * initscript/Makefile.am:
12135 * initscript/paldo/Makefile.am:
12136 * initscript/paldo/NetworkManager.in:
12137 * initscript/paldo/NetworkManagerDispatcher.in:
12138 * src/backends/Makefile.am:
12139 * src/backends/NetworkManagerPaldo.c:
12140 - Add paldo support
12142 2006-03-27 Dan Williams <dcbw@redhat.com>
12144 Patch from Christian Persch <chpe@gnome.org>
12145 * gnome/applet/applet.glade
12146 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
12148 2006-03-27 Dan Williams <dcbw@redhat.com>
12150 Patch from Diffe <diffie@blazebox.homeip.net>
12151 * src/backends/NetworkManagerSlackware.c
12152 - Don't restart howl, since it's been replaced by Avahi
12153 in most distributions
12155 2006-03-27 Dan Williams <dcbw@redhat.com>
12157 Patch from Tor Krill <bugzilla@krill.nu>
12159 initscript/Makefile.am
12160 src/backends/Makefile.am
12161 src/backends/NetworkManagerArch.c
12162 initscript/Arch/Makefile.am
12163 initscript/Arch/networkmanager-dispatcher.in
12164 initscript/Arch/networkmanager.in
12165 - Add Arch Linux support, fixes gnome.org #335147
12167 2006-03-27 Dan Williams <dcbw@redhat.com>
12169 Patch from Diffe <diffie@blazebox.homeip.net>
12170 * initscript/Slackware/rc.networkmanager
12171 - update, fixed gnome.org #333368
12173 2006-03-27 Robert Love <rml@novell.com>
12175 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
12176 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
12178 2006-03-27 Robert Love <rml@novell.com>
12180 Patch by Jürg Billeter <j@bitron.ch>:
12181 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
12183 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
12184 as we prefer glibc over kernel headers, if possible.
12186 2006-03-27 Robert Love <rml@novell.com>
12188 Patch by Jon Escombe <list@dresco.co.uk>:
12189 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
12190 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
12191 fail, don't bail out. We don't expect all of the various WPA-EAP
12192 values to be present.
12193 * src/nm-ap-security.c: We need to match all capabilities for each
12194 encryption type, not any one of them.
12196 2006-03-27 Robert Love <rml@novell.com>
12198 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
12199 restart, not reload, ypbind. Unfortunately there is no superior
12202 2006-03-24 Christopher Aillon <caillon@redhat.com>
12204 * gnome/applet/applet-notifications.c:
12205 When displaying a notification, make sure to get rid of the
12206 previous notification so as to not have competing bubbles,
12207 and stop leaking the old one.
12209 * gnome/applet/applet.c:
12210 * gnome/applet/applet.h:
12211 Add a new 'notification' member to the applet, and zero it out
12212 and free it appropriately.
12214 2006-03-23 Robert Love <rml@novell.com>
12216 Patch by j <j@bootlab.org>:
12217 * gnome/applet/applet.glade: Don't set the invisible_char property,
12218 which simply overrides the GTK default. By and by, this behavior
12219 ought to be fixed in Glade.
12221 2006-03-22 Robert Love <rml@novell.com>
12223 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
12225 2006-03-22 Robert Love <rml@novell.com>
12227 Bug fix by Timo Hoenig <thoenig@suse.de>:
12228 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
12229 disconnect. Otherwise, we have the daemon surviving DBUS restarts
12230 and the applet going AWOL.
12232 2006-03-22 Robert Love <rml@novell.com>
12234 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
12235 preprocessor define and use it instead of open-coded the DHCP
12236 timeout, which is currently 25 seconds, everywhere.
12238 2006-03-22 Robert Love <rml@novell.com>
12240 Implement "Dynamic WEP", which is basically WPA authentication and WEP
12241 key exchange via WPA, ostensibly providing good security without
12242 requiring hardware that supports full WPA. Also, add UI elements to
12243 allow the user to select the pairwise & group cipher for WPA Enterprise
12245 * gnome/applet/applet.glade: Update glade file.
12246 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
12247 key type, too, to and from gconf.
12248 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
12249 wso_wpa_create_key_type_model(), noting whether we are handling PSK
12250 or EAP configuration, and in the latter case add in "Dynamic WEP" if
12251 the capabilities match.
12252 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
12254 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
12255 serialize from UI to DBUS.
12256 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
12258 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
12259 nmu_security_serialize_wpa_eap_with_cipher(), and
12260 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
12261 serialize/deserialize the key type via DBUS as the new third DBUS
12263 * libnm-util/dbus-helpers.h: Update prototypes.
12264 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
12265 too. If the key type is WEP104, do Dynamic WEP, which means
12266 "IEEE8021X" for "key_mgmt". Also add support for user-specified
12267 pairwise and group ciphers (fixes a FIXME).
12269 2006-03-21 Robert Love <rml@novell.com>
12271 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
12272 nm_system_get_mtu(), which returns a user-provided or system-mandated
12273 MTU value for a given device, if any, or zero if no such value
12274 exists. Add nm_system_set_mtu() to set the MTU for a given device
12275 if we have a provided value.
12276 * src/nm-device.c: Set the MTU of devices.
12277 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
12278 * src/backends/NetworkManagerDebian.c,
12279 src/backends/NetworkManagerGentoo.c,
12280 src/backends/NetworkManagerRedHat.c,
12281 src/backends/NetworkManagerSlackware.c: Implement stub functions.
12283 2006-03-21 Robert Love <rml@novell.com>
12285 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
12286 configuration file.
12288 2006-03-17 Robert Love <rml@novell.com>
12290 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
12291 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
12292 it, in case it is not running in the first place. We just want its
12293 configuration reloaded. Also, do not "rcypbind stop" on device down.
12295 2006-03-15 Robert Love <rml@novell.com>
12297 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
12298 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
12299 label "WEP 40/128-bit" is inconsistent because the physical key size
12300 is 40 or 104-bits, to which a 24-bit initialisation vector is
12301 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
12302 to read "40/104" or "64/128". I do not care much which, but most
12303 users think of "silver" and "gold" encryption as 64 and 128-bits, so
12304 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
12305 WEP passphrase support only handles 128-bit keys, and any future
12306 64-bit passphrase support will require a new option (no way to auto-
12307 detect the target key size), explicitly label our passphrase support
12308 "WEP 128-bit Passphrase".
12310 2006-03-15 Robert Love <rml@novell.com>
12312 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
12313 the system init scripts (or some other mechanism) starting it (or a
12314 compatible DBUS service) before NetworkManager runs. This means that
12315 distributions might need to update their init scripts. This fixes
12316 possible races and is quite a bit cleaner.
12317 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
12318 starting the NetworkManager daemon.
12321 2006-03-14 Robert Love <rml@novell.com>
12323 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12324 before adding anything.
12326 2006-03-13 Robert Love <rml@novell.com>
12328 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12329 widgets, too, if they exist, in case the user hit the back button.
12330 Fixes a bug where the details page contains the widgets of multiple
12331 VPN modules (Novell bug #157048).
12333 2006-03-13 Robert Love <rml@novell.com>
12335 Patch by Timo Hoenig <thoenig@suse.de>:
12336 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12337 daemon survive DBUS restarts, too.
12339 2006-03-10 Robert Love <rml@novell.com>
12341 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12343 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12344 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12345 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12346 in response to "toggled" signal on new toggle.
12348 2006-03-10 Robert Love <rml@novell.com>
12350 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12351 serialization if strings are NULL, lest DBUS get angry.
12353 2006-03-10 Robert Love <rml@novell.com>
12355 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12357 2006-03-09 Robert Love <rml@novell.com>
12359 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12362 2006-03-09 Dan Williams <dcbw@redhat.com>
12364 Track pending call requests in the applet, and report how many are
12365 outstanding, and how long each completed one takes.
12367 * gnome/applet/applet-dbus-devices.c
12368 gnome/applet/applet-dbus-vpn.c
12369 - Track pending calls
12371 * gnome/applet/applet-dbus.[ch]
12372 - Remove some unused enums
12373 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12374 new functions to track dbus pending calls and spit out some
12375 statistics about them
12377 2006-03-09 Robert Love <rml@novell.com>
12379 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12380 nm_ap_set_timestamp() take the second and micro-second parameters as
12381 direct arguments, which avoids both a dynamic memory allocation and a
12382 structure-to-structure copy! Add a new interface, the aptly named
12383 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12384 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12385 the return from nm_ap_get_timestamp(). New users should use the new
12386 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12387 the extreme benefit to performance.
12388 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12389 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12391 2006-03-08 Robert Love <rml@novell.com>
12393 * gnome/applet/applet.glade: Hide the password entry text with
12396 2006-03-08 Robert Love <rml@novell.com>
12398 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12399 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12400 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12401 a second argument, NMData.
12402 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12403 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12404 config files as trusted.
12406 2006-03-06 Robert Love <rml@novell.com>
12408 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12409 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12410 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12411 Rivera, detect if the applet was auto-started. If so, ask the user
12412 if he or she would like to stop automatically running the applet on
12413 login. If so, disable autostart.
12415 2006-03-06 Robert Love <rml@novell.com>
12417 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12418 directory in CFLAGS so developers can actually use NetworkManager.h.
12420 2006-03-06 Robert Love <rml@novell.com>
12422 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12423 open-coded integer constants. Add state_to_string() to map a given
12424 state to a textual description, and provide that when notifying of
12426 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12427 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12428 this header directly, but it is currently not installed on most
12431 2006-03-05 Dan Williams <dcbw@redhat.com>
12433 Process netlink messages in device subclasses rather than in
12434 NetworkManager.c. Also add support for recognizing Wireless Events.
12437 - Find GLIB_GENMARSHAL
12440 - Since we're marshalling custom types for wireless event signals,
12441 we get to create our own marshallers using GLIB_GENMARSHAL
12443 * src/NetworkManager.c
12444 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12445 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12446 cut down somewhat. We no longer process signals here.
12447 - (nm_data_new): create the netlink monitor here, and remove a
12448 useless call to nm_policy_schedule_device_change_check()
12449 - (nm_data_free): get rid of the netlink monitor here
12450 - (nm_device_link_activated, nm_device_link_deactivated): removed
12451 - (main): don't create the netlink monitor here, let nm_data_new
12452 do that. Call nm_policy_schedule_device_change_check() right
12453 before we jump to the mainloop to figure out which device
12456 * src/NetworkManagerSystem.[ch]
12457 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12458 convert back and forth from interface names to interface
12461 * src/nm-device-802-11-wireless.c
12462 - (real_init): connect to wireless-event signals from the netlink
12464 - (nm_device_802_11_wireless_event): new function, schedule handler
12465 for wireless event signals from the netlink monitor object. We
12466 want the handler to run in the device's context
12467 - (wireless_event_helper): handle wireless-event signals from netlink
12468 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12471 * src/nm-device-802-11-wireless.h
12472 - remove unused prototype for nm_device_802_11_wireless_new
12474 * src/nm-device-802-3-ethernet.c
12475 - (real_init): new function; set up signal handlers for link events
12476 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12477 handler for netlink link activated events on device's main loop
12478 - (link_activated_helper): when we get a link activated event, set
12479 the device's link to be active
12480 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12481 handler for netlink link deactivated events on device's main loop
12482 - (link_deactivated_helper): when we get a link deactivated event, set
12483 the device's link to be inactive
12484 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12487 * src/nm-device-802-3-ethernet.h
12488 - remove unused prototype for nm_device_802_3_ethernet_new
12490 * src/nm-device.[ch]
12491 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12492 but locks the device list
12493 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12495 * src/nm-netlink-monitor.[ch]
12496 - (nm_netlink_monitor_class_install_signals): New signal
12498 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12500 - (nm_netlink_monitor_event_handler): expand for wireless events too
12502 * src/nm-marshal-main.c
12503 - Include generated nm-marshal.c and nm-marshal.h
12505 * src/nm-marshal.list
12506 - List of custom marshal functions
12508 2006-03-05 Dan Williams <dcbw@redhat.com>
12510 * gnome/applet/applet-notifications.h
12511 - Protect prototype of nma_send_event_notification() because it
12512 includes libnotify-specific types
12513 - Include libnotify/libnotify.h too, since we technically need it
12515 * gnome/applet/applet.c
12516 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12517 - (nma_show_vpn_login_banner_dialog): add some error checking
12519 2006-03-04 Dan Williams <dcbw@redhat.com>
12521 Clean up activation cancellation. Should be a lot faster now. Observed
12522 an issue with wireless devices between stage 2 and 3 of activation, where
12523 activation would be cancelled, but the device thread wouldn't notice until
12524 the supplicant association timed out. Reorganize activation such that
12525 a cancellation handler gets immediately scheduled in the device's thread,
12526 and devices have a chance to perform any custom cleanup too.
12528 * src/nm-device.[ch]
12529 - (activation_cancel_handler): new device-type-specific function
12530 for cleaning up device-type-specific stuff on cancellation
12531 - (cancel_activation): removed
12532 - (nm_device_activation_cancel): subsume functionality of
12533 real_cancel_activation, but instead of doing anything, punt
12534 operation to a handler that's run in device-thread context
12535 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12537 - (activation_handle_cancel_helper): cancellation handler run in
12538 device-thread context, calls device-type-specific cancelation,
12539 then tears down the activation request
12540 - (real_activation_cancel_handler): generic cancellation handler,
12541 deals with cancelling any in-process DHCP request
12542 - (nm_device_activate_stage1_device_prepare,
12543 nm_device_activate_stage2_device_config,
12544 nm_device_activate_stage3_ip_config_start,
12545 nm_device_activate_stage4_ip_config_get,
12546 nm_device_activate_stage4_ip_config_timeout,
12547 nm_device_activate_stage5_ip_commit): don't call
12548 nm_device_schedule_activation_handle_cancel() any more, since
12549 cancellation will have been already scheduled for us by
12550 nm_device_activation_cancel(). Just exit the function and
12551 assume that the cancel handler will be called next.
12553 * src/nm-device-802-3-ethernet.c
12554 - (real_act_stage2_config): remove; didn't do anything anyway
12556 * src/nm-device-802-11-wireless.c
12557 - (supplicant_status_cb): ensure we don't do anything if the activation
12559 - (real_activation_cancel_handler): implement; cancel user key request
12560 on activation cancellation
12562 2006-03-04 Dan Williams <dcbw@redhat.com>
12564 * src/nm-device-802-11-wireless.c
12565 - (supplicant_send_network_config): assume that drivers that don't
12566 support WPA pretty much suck, and can't handle NM scanning
12567 along with wpa_supplicant.
12569 2006-03-03 Robert Love <rml@novell.com>
12571 * configure.in: Bump version to 0.6.0.
12574 2006-03-03 Robert Love <rml@novell.com>
12576 * configure.in: Require DBUS 0.60 or later.
12578 2006-03-03 Dan Williams <dcbw@redhat.com>
12580 Fix a crash if an "Other wireless network" was chosen, failed, then
12581 chosen again from the applet's menu. If the other network wasn't
12582 noticed in a scan, it wouldn't have any capabilities, but would still
12583 be listed because the user forced the network. To fix this, we set
12584 sensible capabilities on the forced network, which will get overwritten
12585 with the correct ones if the network shows up later in a scan.
12587 * src/nm-ap-security.h
12588 - Add a new "get_default_capabilities_func" member to the
12591 * src/nm-ap-security.c
12592 - (nm_ap_security_get_default_capabilities): new function
12594 * src/nm-ap-security.c
12595 src/nm-ap-security-wep.c
12596 src/nm-ap-security-wpa-psk.c
12597 src/nm-ap-security-wpa-eap.c
12598 - Implement get_default_capabilities_func() for all, which
12599 uses the information contained in a specific NMAPSecurity
12600 object to determine default AP capabilites necessary
12601 to support that object
12603 As a secondary measure, we now prune artificial access points that fail
12604 to be activated right away. The thing failed, and we have no scan data for
12605 it, so it's pretty much useless since security information is only saved
12606 in the applets when a connection is successful.
12608 * src/NetworkManagerAPList.c
12609 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12610 not artificial. If we see it, it's no longer a figment of the
12611 user's imagination :)
12613 * src/NetworkManagerPolicy.c
12614 - (nm_policy_activation_failed): send along the failed AP if we
12617 * src/nm-device-802-11-wireless.c
12618 - (real_activation_failure_handler): remove artificial APs from
12619 the device list, because activation failed
12621 2006-03-02 Robert Love <rml@novell.com>
12623 Add support for retrieving both the per-device speed and the
12624 per-network maximum supported rate. Then change the getProperties
12625 DBUS API for both networks and devices to report this informaiton.
12626 Finally, display the information via both nm-applet and nm-tool:
12627 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12629 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12630 Information' dialog.
12631 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12632 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12633 network_device_get_speed() and network_device_set_speed() for
12634 retrieving and setting, respectively, a network device's current
12636 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12637 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12638 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12639 not matter (yet) what the units are, because we only feed it its own
12640 output. Implement SIOCGIRATE and set the per-network maximum
12641 supported rate during scanning.
12642 * src/nm-device-802-11-wireless.h: Export the function
12643 nm_device_802_11_wireless_get_bitrate().
12644 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12645 function nm_device_802_3_ethernet_get_speed() for returning an
12646 802.3's current speed, in Mb/s.
12647 * test/nm-tool.c: Display the per-device current speed, if available,
12648 and the per-network maximum rate.
12650 2006-03-02 Dan Williams <dcbw@redhat.com>
12652 * src/nm-device-802-11-wireless.c
12653 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12654 card when it gets initialized. Since devices don't get added to
12655 the scan list until they are initialized, this function wasn't
12656 setting the intitial scan interval correctly, and was leaving
12657 it at 0. This caused cards to get many scan requests in a short
12658 amount of time when they were initialized
12660 2006-03-02 Robert Love <rml@novell.com>
12662 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12663 active device. But do not do what we used to do and override the
12664 state, which caused the dreaded icon race of '05.
12666 2006-03-02 Robert Love <rml@novell.com>
12668 Commit Dan's update of my previous commit:
12669 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12670 set_mode() function itself does the check. But do only set the
12671 frequency if in Ad-Hoc mode.
12673 2006-03-02 Robert Love <rml@novell.com>
12675 Patch by Brian Magnuson <magnuson@rcn.com>:
12676 * src/nm-device-802-11-wireless.c: During scanning, only set the
12677 wireless mode to infrastructure if it is not currently in
12678 infrastructure mode. For some driver, setting the mode is a costly
12679 operation, apparently.
12681 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12683 * Makefile.am: use the correct dir for autostart mechanism.
12685 2006-02-28 Dan Williams <dcbw@redhat.com>
12687 Patch from Brian Magnuson <magnuson@rcn.com>
12688 * gnome/applet/applet.c
12689 - (nma_show_vpn_failure_dialog): fix errors left over from
12690 libnotify support changes
12692 2006-02-28 Dan Williams <dcbw@redhat.com>
12694 * src/vpn-manager/nm-vpn-act-request.[ch]
12695 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12697 - (nm_vpn_act_request_is_failed): new function; return whether or
12698 not the vpn activation request has failed
12700 * src/vpn-manager/nm-vpn-manager.c
12701 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12702 daemon to kill the connection when the activation request fails.
12703 Fixes issue where NM would get confused if the VPN activation
12704 request timed out, and would not allow further VPN connections
12707 2006-02-28 Dan Williams <dcbw@redhat.com>
12709 * gnome/applet/applet.c
12710 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12711 overlapping connection requests, disable all VPN menu items
12712 but the active VPN connection
12714 2006-02-28 Dan Williams <dcbw@redhat.com>
12716 * src/vpn-manager/nm-vpn-connection.c
12717 - (nm_vpn_connection_set_parent_device): fix C&P error which
12718 called g_object_unref() on the connection's parent device
12719 when it should have been ref-ed instead. Fixes crash with
12720 repeated vpn connect requests
12722 2006-02-28 Christopher Aillon <caillon@redhat.com>
12724 * gnome/applet/applet.glade:
12725 Mark a few strings non-translatable, since they shouldn't be.
12727 2006-02-28 Dan Williams <dcbw@redhat.com>
12729 * src/vpn-manager/nm-vpn-service.c
12730 - (nm_vpn_service_start_connection): if the vpn service daemon is
12731 already running, don't blindly ask it to connect, but wait until
12732 it's in the STOPPED state first. Fixes an assertion when user
12733 starts a second vpn connection without stopping the first.
12734 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12735 dbus service exists before continuing with the connection
12736 process, and reduce latency while waiting for it to become
12738 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12739 waiting for the vpn service daemon to become available
12740 - General log message cleanups; show progress via "Stage x of 4"
12741 rather than not telling anyone how many stages there are
12743 2006-02-28 Robert Love <rml@novell.com>
12745 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12746 * src/backends/NetworkManagerSuSE.c: Implement the interface
12747 nm_system_should_modify_resolv_conf() for SUSE.
12748 * src/backends/NetworkManagerDebian.c,
12749 src/backends/NetworkManagerGentoo.c,
12750 src/backends/NetworkManagerRedHat.c,
12751 src/backends/NetworkManagerSlackware.c: Add stub.
12752 * src/named-manager/Makefile.am: Grab includes from src.
12753 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12754 automatic updating of resolv.conf. This is useful for testing,
12755 broken static configurations, and administrator lock-down.
12757 2006-02-28 Dan Williams <dcbw@redhat.com>
12759 * src/nm-device-802-11-wireless.c
12760 - Move all the wpa_supplicant-related management stuff into its
12761 own struct, just for oranization's sake
12762 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12763 to a GIOChannel/GSource
12764 - (supplicant_log_stdout): new function; grab output from the
12765 wpa_supplicant stdout pipe and write it to our logs.
12767 2006-02-27 Christopher Aillon <caillon@redhat.com>
12769 * src/nm-device-802-11-wireless.c:
12770 Err, fix thinko in my previous commit.
12772 2006-02-28 Robert Love <rml@novell.com>
12774 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12776 2006-02-28 Robert Love <rml@novell.com>
12778 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12779 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12780 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12781 deserializers are responsible for freeing the returned DBUS strings.
12783 2006-02-27 Christopher Aillon <caillon@redhat.com>
12785 * src/nm-device-802-11-wireless.c:
12786 The scan list is being pruned prematurely. We should prune after
12787 the device has gone MIA for three scans, not one. Split out the
12788 interval to realtime seconds function to better serve this.
12790 2006-02-27 Robert Love <rml@novell.com>
12792 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12793 Open the pid file O_TRUNC, so if it already exists we truncate it to
12794 zero length. Also, be more verbose about warnings generated during
12795 writing out the pid file. Finally, always write out the pid file if
12796 in daemon mode. Use "--pid-file" to override the default.
12798 2006-02-27 Robert Love <rml@novell.com>
12800 Patch by R. Vinay <rvinay@novell.com>:
12801 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12802 'last_attempt_success' when removing a VPN connection, too. (Fixes
12803 Novell bug #153628).
12805 2006-02-27 Robert Love <rml@novell.com>
12807 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12808 entry so user can hit <ENTER> after entering passphrase (Novell bug
12811 2006-02-27 Dan Williams <dcbw@redhat.com>
12814 - Mass search/replace of:
12816 NMWirelessApplet -> NMApplet
12817 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12818 (it ain't just for wireless anymore, ma!)
12819 - Fix duplicate function name printing when using nm_warning
12820 - wireless-applet.glade -> applet.glade
12822 2006-02-27 Dan Williams <dcbw@redhat.com>
12824 * dispatcher-daemon/NetworkManagerDispatcher.c
12825 - Accept --pid-file with a path to a pidfile, write it out on
12826 startup, and delete it on shutdown
12828 * src/NetworkManager.c
12829 - Accept --pid-file with a path to a pidfile, write it out on
12830 startup, and delete it on shutdown
12831 - Move nm_print_usage() lower
12833 * initscripts/RedHat/NetworkManager.in
12834 - Use new --pid-file option
12835 - Fix service stopping to wait a bit for NM to quit
12837 * initscripts/RedHat/NetworkManagerDispatcher.in
12838 - Use new --pid-file option
12840 2006-02-26 Dan Williams <dcbw@redhat.com>
12843 - make and install nm-crash-logger
12845 * src/nm-logging.[ch]
12846 - New files; consolidate logging and crash handling
12848 * src/nm-crash-logger.c
12850 - Standalong crashlogger for NM, grab a backtrace
12853 * src/NetworkManager.[ch]
12854 - Remove signal handling and put it into nm-logging.c
12856 2006-02-26 Dan Williams <dcbw@redhat.com>
12859 gnome/applet/Makefile.am
12860 - Conditionalize all the notify stuff
12862 Merge most of Chris Aillon's notification patch:
12864 * gnome/applet/applet-notifications.[ch]
12865 - New files; show a notification
12867 * gnome/applet/applet-dbus-devices.[ch]
12868 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12869 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12870 new functions, do the right thing when a device change occurs
12872 * gnome/applet/applet-dbus.c
12873 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12874 signals, so we can handle them specially
12876 * gnome/applet/applet.[ch]
12877 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12878 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12879 - (nmwa_notify_state): remove
12880 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12881 notification work is now done when the appropriate dbus signals
12883 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12884 defer execution of the notification/dialog stuff. That was an
12885 artifact of the previous multi-threaded nature of the applet
12886 and is now pointless.
12887 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12888 no longer needed. Function folded into applet-notifications.c
12890 * src/NetworkManagerPolicy.c
12891 - (nm_policy_activation_finish): send the AP along with the device
12892 status change signal, if the connection is wireless. Should
12893 fix the race where applet would show a connection to "unknown"
12895 2006-02-25 Robert Love <rml@novell.com>
12897 Add WPA Enterprise support:
12898 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12899 nm-gconf-wso-wpa-eap.h.
12900 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12901 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12902 serialization and deserialization.
12903 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12904 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12905 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12906 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12907 settings related to WPA Enterprise.
12908 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12909 instantiate WPA Enterprise wireless-security-option.
12910 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12911 Implement WPA Enterprise wireless-security-option object.
12912 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12914 * libnm-util/cipher-wpa-psk-hex.c,
12915 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12916 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12917 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12918 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12919 including the cipher to DBUS method, and
12920 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12922 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12923 nm-ap-security-wpa-eap.h
12924 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12925 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12926 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12927 files. Implement NMAPSecurityWPA_EAP object.
12928 * src/nm-ap-security-wpa-psk.c: Cleanup.
12929 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12930 an NMAPSecurityWPA_EAP object via the method
12931 nm_ap_security_wpa_eap_new_deserialize().
12932 * src/nm-dbus-nm.c: Cleanup.
12933 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12934 WPA Enterprise support.
12936 2006-02-24 Robert Love <rml@novell.com>
12938 Patch from Timo Hoenig <thoenig@suse.de>:
12939 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12941 2006-02-24 Robert Love <rml@novell.com>
12943 Patch from Dan Winship <danw@novell.com>:
12944 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12945 area to transparent.
12947 2006-02-21 Dan Williams <dcbw@redhat.com>
12949 * gnome/applet/applet.[ch]
12950 gnome/applet/applet-dbus.c
12951 - Implement notification support for VPN messages too
12953 2006-02-21 Dan Williams <dcbw@redhat.com>
12955 * gnome/applet/applet-dbus-info.c
12956 - Clean up warning messages to not double-print the function
12958 2006-02-21 Dan Williams <dcbw@redhat.com>
12960 * gnome/applet/applet-compat.c
12961 - (convert_one_entry): accept entries without a key_type and
12962 convert them to unencrypted networks
12964 2006-02-21 Dan Williams <dcbw@redhat.com>
12966 * gnome/libnm_glib/libnm_glib.c
12967 - Use __func__ everywhere we can
12969 - Use dbus pending calls rather than blocking
12970 - Reduce busywaits for our thread to start and stop
12971 (gnome.org #330562)
12972 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12973 stomp on others using the default shared dbus connection.
12974 Fixes #rh177546# and gnome.org #326572
12976 2006-02-21 Dan Williams <dcbw@redhat.com>
12978 Patch from Rodney Dawes <dobey@novell.com>
12980 gnome/applet/Makefile.am
12981 gnome/applet/applet.c
12982 - Add libnotify support if '--enable-notify=yes' is passed
12985 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12987 * configure.in (ALL_LINGUAS): ko added. (Korean)
12989 2006-02-15 Robert Love <rml@novell.com>
12991 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12992 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12993 and WPA_SUPPLICANT_CONTROL_SOCKET.
12995 2006-02-15 Robert Love <rml@novell.com>
12997 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12998 information about what connection stage we are at, provide the total
12999 number of stages, e.g. "Stage 2 of 5", so users know how far along
13000 they are if they experience problems.
13002 2006-02-15 Robert Love <rml@novell.com>
13004 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
13005 define to $sysconfdir.
13006 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
13007 editing dialog, vpn_edit_widget, which fixes a bug where editing one
13008 type of VPN and then editing another results in a mangled dialog
13009 box containing the widgets from both VPNs (fixes Novell #150854).
13010 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
13012 2006-02-14 Robert Love <rml@novell.com>
13014 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
13015 syslog's file descriptor.
13017 2006-02-14 Robert Love <rml@novell.com>
13019 Fix bug around since the change to "deal with APs changing settings on
13020 us," checked in on the fifth of February in the year of the dog,
13021 wherein connecting to non-broadcast encrypted networks always fails
13022 because nm_ap_get_encrypted() always returns FALSE, even when the user
13023 provided a key, because the newly-created fake AP does not have any
13024 capabilities set, which is a sypmtom of security settings not matching
13025 capabilities (Novell bug #150784):
13026 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
13027 nm_ap_add_capabilities_from_security(), which sets the given AP's
13028 capabilities off the given security settings. Also improve our
13029 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
13030 NM_AUTH_CIPHER_AUTO.
13031 * src/nm-device-802-11-wireless.c: Call the function
13032 nm_ap_add_capabilities_from_security() to ensure that capabilities
13033 match newly updated security settings.
13035 2006-02-14 Robert Love <rml@novell.com>
13037 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
13038 error as a string, not an integer, if possible; do not print the
13039 function name twice; always give the interface, if possible; misc.
13042 2006-02-12 Dan Williams <dcbw@redhat.com>
13044 Patch from Tom Parker <palfrey@tevp.net>
13045 * src/NetworkManagerSystem.h
13046 - Remove prototype for nm_system_device_setup_static_ip4_config(),
13049 * src/backends/NetworkManagerDebian.c
13050 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
13053 2006-02-12 Dan Williams <dcbw@redhat.com>
13055 * vpn-daemons/openvpn/intltool-extract.in
13056 vpn-daemons/openvpn/intltool-merge.in
13057 vpn-daemons/openvpn/intltool-update.in
13058 vpn-daemons/pptp/intltool-extract.in
13059 vpn-daemons/pptp/intltool-merge.in
13060 vpn-daemons/pptp/intltool-update.in
13061 - Remove from CVS, they should get created by intltoolize,
13064 2006-02-12 Dan Williams <dcbw@redhat.com>
13066 * vpn-daemons/pptp/src/pppd/patchlevel.h
13067 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13068 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
13069 Makefile-defined VERSION
13071 2006-02-09 Dan Williams <dcbw@redhat.com>
13073 Patch from: Vinay A R <rvinay@novell.com>
13074 * src/vpn-manager/nm-vpn-act-request.[ch]
13075 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
13076 IPSec VPNs require them for std gateway.
13077 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
13078 and 'user_routes_count'
13079 - (nm_vpn_act_request_get_user_routes): new function; gets user
13080 defined routes from NMVPNActRequest object, returns the string
13083 * src/vpn-manager/nm-vpn-manager.[ch]
13084 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
13085 for 'user_routes' and 'user_routes_count'
13087 * src/vpn-manager/nm-dbus-vpn.c
13088 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
13089 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
13091 * src/vpn-manager/nm-vpn-service.c
13092 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
13095 Modifications by Dan:
13096 * src/vpn-manager/nm-vpn-service.c
13097 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
13100 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13101 * vpn-daemons/pptp/src/nm-pptp-service.c
13102 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13103 - Grab user routes from dbus message
13104 - Free all string arrays we got from dbus
13106 2006-02-07 Robert Love <rml@novell.com>
13108 Patch by Stefan Seyfried <seife@suse.de>:
13109 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
13111 2006-02-06 Robert Love <rml@novell.com>
13113 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
13115 2006-02-06 Robert Love <rml@novell.com>
13117 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
13118 test ">=" is never false. If no newline is found, we loop forever.
13119 We can just check for ">" because the following if() will see the
13120 zero-th argument if the while() gets that far.
13122 2006-02-05 Dan Williams <dcbw@redhat.com>
13124 Refine handling of non-broadcast networks.
13126 * src/NetworkManagerAPList.c
13127 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
13128 property from scanned AP to the AP from the device list
13130 * src/nm-device-802-11-wireless.c
13131 - (supplicant_send_network_config): use ap_scan=1 for all networks
13132 except non-SSID-broadcasting and Ad-Hoc networks. Use
13133 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
13134 networks since those don't have APs.
13135 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
13136 AP as non-SSID-broadcasting
13137 - (process_scan_results): don't handle non-SSID-broadcasting here
13139 2006-02-05 Dan Williams <dcbw@redhat.com>
13141 * src/nm-device-802-11-wireless.c
13142 - (get_supplicant_timeout): new function; return
13143 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
13144 14 channels. These are likely a/b/g cards, like Atheros, and
13145 slow as hell to scan.
13146 - (supplicant_timeout_cb, supplicant_monitor_start): use
13147 get_supplicant_timeout()
13149 2006-02-05 Dan Williams <dcbw@redhat.com>
13151 * src/dhcp-manager/nm-dhcp-manager.c
13152 - Loose a commit race with Robert; make sure size check
13153 uses size of DHCP_SERVICE_LEN, not hardcoded 15
13155 2006-02-05 Robert Love <rml@novell.com>
13157 Patch by Christoph Brill <chrisbrill@gmx.net>:
13158 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
13159 with DHCP_SERVICE_NAME.
13161 2006-02-05 Dan Williams <dcbw@redhat.com>
13163 Remove anything having to do with device_setup_func from the
13164 AP security objects, since it's no longer used.
13166 * src/nm-ap-security.h
13167 - Kill device_setup_func and nm_ap_security_device_setup()
13169 * src/nm-ap-security-wep.c
13170 src/nm-ap-security-wpa-psk.c
13171 - (real_device_setup): remove
13173 * src/nm-ap-security.c
13174 - (real_device_setup): remove
13175 - (nm_ap_security_device_setup): remove
13177 * src/nm-device-802-11-wireless.[ch]
13178 - (nm_device_802_11_wireless_set_wep_enc_key): make static
13179 - (set_wireless_config, wireless_configure_adhoc): remove; unused
13180 and done by wpa_supplicant now anyway
13182 2006-02-05 Dan Williams <dcbw@redhat.com>
13184 * src/nm-device-802-11-wireless.c
13185 - (ap_need_key, real_act_stage2_config): deal with APs changing
13186 settings on us. Previously NM would loop asking for the
13187 key but getting the same one back. Now, if the NMI-supplied
13188 cipher doesn't overlap with the scanned AP capabilities,
13189 we request a completely new key from the user.
13191 2006-02-05 Dan Williams <dcbw@redhat.com>
13193 * src/NetworkManagerUtils.c
13194 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
13195 Handle newline killing better
13197 2006-02-05 Dan Williams <dcbw@redhat.com>
13199 * gnome/applet/nm-gconf-wso.c
13200 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
13201 of unencrypted access point security info.
13203 2006-02-03 Robert Love <rml@novell.com>
13205 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
13206 user's encryption key, so we print the err_msg_cmd not the command,
13207 if available. So long as SUPPLICANT_DEBUG is default, this makes
13210 2006-02-03 Christopher Aillon <caillon@redhat.com>
13212 * initscript/RedHat/NetworkManagerDispatcher.in:
13213 * initscript/RedHat/NetworkManager.in: modify the pidfile location
13214 Patch from Dan Walsh <dwalsh@redhat.com>
13216 2006-02-03 Robert Love <rml@novell.com>
13218 * dispatcher-daemon/NetworkManagerDispatcher.c,
13219 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
13220 but use the sysconfdir.
13222 2006-02-03 Robert Love <rml@novell.com>
13224 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
13225 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
13227 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
13228 nm_ip4_config_get_hostname() and
13229 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
13230 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
13231 leak g_strdup() result.
13233 2006-02-03 Robert Love <rml@novell.com>
13235 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
13236 broadcast == TRUE. Also, copy broadcast and artificial properties
13237 from source network to destination in nm_ap_copy().
13238 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
13239 since we now default new networks to non-hidden.
13241 2006-02-03 Dan Williams <dcbw@redhat.com>
13243 * gnome/applet/main.c
13244 - (main): change the NEVER->ALWAYS so we start at the
13245 beginning of the session, if being session-managed
13247 2006-02-03 Dan Williams <dcbw@redhat.com>
13249 * gnome/applet/main.c
13250 - (main): in a variation on Robert's patch, change
13251 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
13254 2006-02-02 Robert Love <rml@novell.com>
13256 * src/Makefile.am: If we aren't going to create the run directory at,
13257 uh, run-time, create it during install. Then users just doing
13258 'make install' are cool, too. While we are here, create the
13259 dispatcher.d directory, too.
13260 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
13261 the exact run directory.
13262 * Makefile.am: Install nm-applet.desktop.
13264 2006-02-02 Robert Love <rml@novell.com>
13266 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
13267 structure, which denotes whether or not the AP is hidden. This is a
13268 superset of 'artificial' -- we need 'broadcast' because a hidden AP
13269 can show up in the scan list. Add nm_ap_get_broadcast() and
13270 nm_ap_set_broadcast() accessor interfaces.
13271 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
13272 nm_ap_set_broadcast().
13273 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
13274 "getProperties" method, which denotes whether or not the given
13276 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
13277 an artificial network. Set broadcast to TRUE when scanning returns
13278 an ESSID and FALSE when not.
13279 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
13280 from "getProperties" method on a network. Possible TODO is to
13281 somehow display this.
13282 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
13284 2006-02-02 Dan Williams <dcbw@redhat.com>
13286 * src/nm-device-802-11-wireless.c
13287 - (supplicant_interface_init): don't try to create
13288 /var/run/NetworkManager, since that should be done by
13289 the distro package. Causes problems for stuff like SELinux
13291 2006-02-02 Robert Love <rml@novell.com>
13293 Patch by Sureshkumar T <tsureshkumar@novell.com>:
13294 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
13295 Check for and handle empty string for iface.
13297 2006-02-01 Robert Love <rml@novell.com>
13299 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
13302 2006-01-31 Dan Williams <dcbw@redhat.com>
13304 * nm-applet.desktop
13305 - Add --sm-disable to Exec arguments, presuming that when
13306 using autostart, we don't want session management
13308 2006-01-31 Robert Love <rml@novell.com>
13310 * src/NetworkManagerAP.c: Add two new manufacturer default network
13311 names: linksys-a and linksys-g. These are found (at least) on the
13312 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
13315 2006-01-31 Robert Love <rml@novell.com>
13317 * src/NetworkManagerAP.c: Optimize the function
13318 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
13319 machine code. This is the first in a series of code tweaks aiming to
13320 generate better machine code and make NetworkManager all the better.
13321 Just kidding. Who has time to go through the assembly generated for
13322 every function? I certainly don't. I have a wife, a kid, a job,
13323 a mortgage, a mistress. But this function was so bad, I was called
13324 to arms. Like the book.
13326 2006-01-31 Robert Love <rml@novell.com>
13328 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13329 AP is not broadcasting, to scan with probe request frames. Required
13330 for non-broadcast networks.
13332 2006-01-31 Robert Love <rml@novell.com>
13334 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13335 preprocessor define (still 20s). Fix message text in nm_info()
13336 s/too too/took too/.
13338 2006-01-30 Dan Williams <dcbw@redhat.com>
13340 * src/nm-device-802-11-wireless.c
13341 - (supplicant_monitor_start): increase connect/auth timeout to
13342 20 seconds from 10 seconds
13344 2006-01-30 Dan Williams <dcbw@redhat.com>
13347 - Define LOCALSTATEDIR
13349 * src/nm-device-802-11-wireless.c
13350 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13351 socket where we want it to
13353 * src/wpa_ctrl.[ch]
13354 - (wpa_ctrl_open): accept location to put local control socket
13356 2006-01-30 Robert Love <rml@novell.com>
13358 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13359 get_ip4_string() for "domain_name".
13361 2006-01-30 Robert Love <rml@novell.com>
13363 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13364 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13365 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13366 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13367 support for "Automatic" pairwise and group cipher configuration by
13368 letting wpa_supplicant handle the details. Add UI elements, new
13369 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13370 charm. Note this does more than add a nice feature, it fixes a bug.
13371 Apparently, some people have AP's where the pairwise cipher does not
13372 match the group cipher. Insane, but true.
13374 2006-01-30 Dan Williams <dcbw@redhat.com>
13376 * gnome/applet/applet-dbus-devices.c
13377 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13378 functions, grab device driver name from NetworkManager
13379 - (nmwa_dbus_device_properties_cb): call functions to get driver
13381 * gnome/applet/applet.c
13382 - (nmwa_update_info): show driver name in Connection Information
13385 * gnome/applet/nm-device.[ch]
13386 - (network_device_get_driver, network_device_set_driver): add
13387 accessors for driver name
13389 * gnome/applet/wireless-applet.glade
13390 - Add line for driver name to Connection Information dialog
13392 * src/nm-dbus-device.c
13393 - (nm_dbus_device_get_driver): new function to return driver name
13394 - (nm_dbus_device_methods): hook up driver name function to dbus
13397 - (get_driver_name): new function
13398 - (detail_device): grab and show driver name
13400 2006-01-30 Robert Love <rml@novell.com>
13402 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13403 does not parse the markup if it is not part of the format.
13405 2006-01-30 Robert Love <rml@novell.com>
13407 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13408 FALSE, we have no security options for this dialog, so we throw up
13409 an error dialog instead of a broken passphrase dialog. Fixes
13411 * gnome/applet/wireless-security-manager.c,
13412 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13413 does not add any security options, not even NONE, print a warning
13414 and return FALSE. This let's functions constructing a dialog bail
13415 out if the device's capabilities and the network's requirements have
13418 2006-01-27 Robert Love <rml@novell.com>
13420 * configure.in: Require wpa_supplicant. Detect location of binary and
13421 use it. Override with "--with-wpa_supplicant=foo".
13422 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13423 path to wpa_supplicant but use the auto-detected or user-provided
13424 value from configure.
13426 2006-01-27 Robert Love <rml@novell.com>
13428 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13429 but the DHCP server did not return a hostname, try to look up our
13430 name via DNS and set the system hostname to that.
13432 2006-01-27 Dan Williams <dcbw@redhat.com>
13434 * src/backends/NetworkManagerRedHat.c
13435 - Add NM_CONTROLLED system network script support for RH/Fedora
13437 2006-01-27 Dan Williams <dcbw@redhat.com>
13439 * src/backends/NetworkManagerGentoo.c
13440 - (nm_system_device_get_disabled): add missing function.
13443 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13445 * configure.in: Added vi in ALL_LINGUAS line.
13447 2006-01-26 Robert Love <rml@novell.com>
13449 * src/Makefile.am, src/kernel-types.h: Now that two different source
13450 files are feeling the crack-addled leakage of kernel types such as
13451 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13452 types in user-space -- define a header and include it as needed.
13453 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13454 * src/nm-device-802-3-ethernet.h: Remove defines.
13455 * src/wpa.c: Remove defines and include kernel-types.h.
13457 2006-01-26 Robert Love <rml@novell.com>
13459 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13462 2006-01-26 Robert Love <rml@novell.com>
13464 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13465 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13466 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13467 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13468 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13469 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13470 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13471 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13472 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13473 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13474 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13475 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13476 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13477 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13478 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13479 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13480 Kill unused variables, labels, and static functions. Don't pass
13481 string literals as the format string for printf-like functions.
13483 2006-01-25 Dan Williams <dcbw@redhat.com>
13485 * gnome/applet/wireless-applet.glade
13486 - Remove WPA2 Checkbox
13488 * gnome/applet/wireless-security-manager.c
13489 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13490 This means the Wireless Security menu now has two WPA options,
13491 one for "WPA Personal" and one for "WPA2 Personal"
13493 * gnome/applet/wso-wpa-psk.[ch]
13494 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13495 'wpa2' argument to determine WPA version to use
13496 - (append_dbus_params_func): pass stored WPA version to cipher
13497 rather than using the (removed) checkbox
13499 2006-01-24 Robert Love <rml@novell.com>
13501 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13502 before we g_strdup(), not the ultimate string.
13504 2006-01-23 Dan Williams <dcbw@redhat.com>
13506 * src/NetworkManagerAP.[ch]
13507 - (nm_ap_new_from_ap): copy original essid too
13508 - (nm_ap_unref): free original essid
13509 - (nm_ap_get_orig_essid): new function
13510 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13511 but keep original essid around too
13513 * src/nm-device-802-11-wireless.c
13514 - (supplicant_send_network_config): send wpa_supplicant the
13515 _original_ essid, and not as a string, but in hex. Should
13516 allow us to connect to more APs that use wierd character
13517 encodings for their essids
13519 * utils/nm-utils.[ch]
13520 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13521 to UTF-8. If it's not already valid UTF-8, we check LANG and
13522 use the current locale as a hint for what encoding the essid
13523 might be in. Obviously not 100% accurate, but the idea here is
13524 that if a user's locale is ex. ja_JP, they are more likely than
13525 not to be in Japan, where access points will likely be in some
13528 2006-01-23 Dan Williams <dcbw@redhat.com>
13530 * libnm-util/cipher-private.h
13531 libnm-util/cipher.c
13532 libnm-util/cipher.h
13533 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13535 2006-01-23 Robert Love <rml@novell.com>
13537 Patch by Timo Hoenig <thoenig@suse.de>:
13538 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13539 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13540 by DHCP and pass it to the backends, allowing distribution-specific
13541 behavior with respect to the DHCP-supplied hostname (if nothing else,
13542 some distributions might not want to set the hostname).
13543 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13544 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13545 Also update our NIS behavior.
13546 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13547 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13548 Add stub functions.
13550 2006-01-23 Robert Love <rml@novell.com>
13552 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13553 gnome-session does autostart. TODO: We need to install this to
13554 $prefix/share/autostart/.
13556 2006-01-22 Dan Williams <dcbw@redhat.com>
13558 * src/NetworkManagerAP.[ch]
13560 src/nm-device-802-11-wireless.c
13561 - Make nm_ap_get_essid return "const char *"
13563 2006-01-22 Dan Williams <dcbw@redhat.com>
13565 * src/NetworkManagerAP.[ch]
13566 - (nm_ap_get_matched, nm_ap_set_matched): remove
13568 * src/NetworkManagerAPList.[ch]
13569 - (nm_ap_list_diff): removed
13570 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13571 deal with access points changing essids on us
13573 * src/nm-device-802-11-wireless.c
13574 - (add_new_ap_to_device_list): move AP dbus signal logic to
13575 src/NetworkManagerAPList.c
13576 - (real_can_interrupt_activation): new function; allow interruption
13577 of device activation if we are waiting for a network key
13579 * src/NetworkManagerPolicy.c
13580 - (nm_policy_device_change_check): allow interruption of currently
13581 activating devices if the device allows it. Previous behavior
13582 would refuse to activate a just-plugged wired device if a
13583 wireless device was waiting for a key.
13585 * src/nm-device.[ch]
13586 - (nm_device_can_interrupt_activation): new function; ask devices
13587 whether their activation can be interrupted
13589 2006-01-20 Robert Love <rml@novell.com>
13591 * Makefile.am, configure.in: Add new man subdirectory.
13592 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13593 man/Makefile.am: Add man pages for NetworkManager and its
13594 crime-solving bumbling buddy, NetworkManagerDispatcher.
13595 * man/.cvsignore: Add.
13596 * initscript/Debian/NetworkManager,
13597 initscript/Gentoo/NetworkManager.in,
13598 initscript/RedHat/NetworkManager.in,
13599 initscript/RedHat/NetworkManagerDispatcher.in,
13600 initscript/SUSE/networkmanager-dispatcher.in,
13601 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13603 2006-01-20 Robert Love <rml@novell.com>
13605 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13606 instead of queuing. This prevents the running of multiple NM
13607 daemons concurrently, which does not work whatsoever and results in
13608 neither daemon working correctly. Also, we don't handle queuing and
13609 name-owner-changes, anyhow.
13611 2006-01-20 Robert Love <rml@novell.com>
13613 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13614 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13617 2006-01-19 Robert Love <rml@novell.com>
13619 * configure.in: Require hal 0.5.0 or later.
13621 2006-01-18 Robert Love <rml@novell.com>
13623 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13624 Allow backends to flag a device (in whatever distro-dependent way
13625 they so desire) as disabled. NM will ignore any such device.
13626 * src/backends/NetworkManagerDebian.c,
13627 src/backends/NetworkManagerRedHat.c,
13628 src/backends/NetworkManagerSlackware.c: Add stub function
13629 nm_system_device_get_disabled() that always returns FALSE (enabled).
13630 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13631 SUSE-specific configuration structure. Fill it in from the
13632 NM_CONTROLLED variable in the system networking scripts. If this var
13633 exists and is "no", we ignore the device.
13635 2006-01-17 Robert Love <rml@novell.com>
13637 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13638 identical for NM. For a full discussion, see the thread at
13639 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13641 2006-01-17 Dan Williams <dcbw@redhat.com>
13644 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13645 function. Fixes crash when wired DHCP fails.
13647 2006-01-16 Robert Love <rml@novell.com>
13649 * src/Makefile.am: Don't install NMLoadModules
13650 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13651 from src/ to test/ as no one uses it anymore. Note that I would be
13652 fine with removing it altogether.
13654 2006-01-16 Robert Love <rml@novell.com>
13656 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13657 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13658 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13659 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13660 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13661 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13662 declarations, ever.
13663 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13664 NM_STATE_DISCONNECTED is zero).
13666 2006-01-16 Robert Love <rml@novell.com>
13668 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13669 uninitialized parameter and buffer overflow. Novell #143496.
13671 2006-01-16 Dan Williams <dcbw@redhat.com>
13673 Apply the PtP Address bits of a patch from Tim Niemueller
13675 * src/nm-ip4-config.[ch]
13676 - Add ip4_ptp_address member to object
13677 - (nm_ip4_config_copy): copy ptp address too
13678 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13680 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13681 rather than local tunnel ip address
13683 * src/vpn-manager/nm-vpn-service.c
13684 - (print_vpn_config): update for PtP address
13685 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13686 DBusMessageIters in preparation for getting routes from the VPN
13687 service daemons too
13689 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13690 - (send_config_info): update for PtP address, clean up code
13691 - (main): update for PtP address, clean up code, fix typo
13693 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13694 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13696 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13697 - (pptp_ip_up): update for PtP address
13699 * vpn-daemons/pptp/src/nm-pptp-service.c
13700 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13702 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13703 - (print_vpn_config): update for PtP address
13704 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13706 2006-01-16 Dan Williams <dcbw@redhat.com>
13708 * gnome/applet/applet.c
13709 - (nmwa_add_networks_helper): don't indicate an active network
13710 if NM is disconnected or asleep
13712 2006-01-16 Dan Williams <dcbw@redhat.com>
13714 * src/NetworkManagerPolicy.c
13715 - (nm_policy_device_change_check): switch devices if we lose the link
13716 on an ethernet device.
13718 2006-01-16 Dan Williams <dcbw@redhat.com>
13720 * gnome/applet/wso-wpa-psk-hex.[ch]
13721 - Renamed -> wso-wpa-psk.[ch]
13723 * gnome/applet/wso-wpa-psk.[ch]
13726 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13727 - Removed, rolled into wso-wpa-psk.[ch]
13729 * gnome/applet/Makefile.am
13730 - Updated for above changes
13732 * gnome/applet/wireless-applet.glade
13733 - Consolidate WPA-PSK options into one notebook
13734 widget, and make dialogs invisible by default
13735 to fix screen oddities
13737 * gnome/applet/wireless-security-manager.c
13738 - (wsm_set_capabilities): create the new wpa-psk widget rather
13739 than both the old hex & passphrase ones
13741 2006-01-16 Dan Williams <dcbw@redhat.com>
13743 * gnome/applet/other-network-dialog.c
13744 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13746 2006-01-16 Dan Williams <dcbw@redhat.com>
13748 * gnome/applet/applet.c
13749 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13750 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13751 prevention to realize window before trying to get server
13754 * gnome/applet/other-network-dialog.c
13755 - (nmwa_other_network_dialog_run): fix up focus-stealing
13756 prevention to realize window before trying to get server
13759 * gnome/applet/passphrase-dialog.c
13760 - (nmi_passphrase_dialog_new): fix up focus-stealing
13761 prevention to realize window before trying to get server
13764 2006-01-16 Robert Love <rml@novell.com>
13766 Patch from Timo Hoenig <thoenig@suse.de:
13767 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13768 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13769 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13770 libnm-util/dbus-helpers.h: add checks whether headers are used
13771 within a C++ build.
13773 2006-01-16 Dan Williams <dcbw@redhat.com>
13775 * gnome/applet/wireless-security-option.c
13776 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13778 2006-01-16 Dan Williams <dcbw@redhat.com>
13780 * libnm-util/cipher-wpa-psk-passphrase.c
13781 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13782 be 8 - 63 characters inclusive
13784 2006-01-16 Dan Williams <dcbw@redhat.com>
13787 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13789 2006-01-13 Robert Love <rml@novell.com>
13791 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13792 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13793 modules that do not use an interface.
13795 2006-01-13 Dan Williams <dcbw@redhat.com>
13799 - Allow subclasses to implement deactivate_quickly()
13800 - (nm_device_deactivate_quickly): call subclass
13801 deactivate_quickly() methods
13802 - (nm_device_set_active_link): small cleanups, and don't
13803 deactivate the device right away because we risk a deadlock
13804 when called from device thread, waiting for the device
13805 thread to cancel activation
13807 * src/nm-device-802-11-wireless.c
13808 - (real_deactivate_quickly): new function
13809 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13810 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13811 so that we kill the supplicant when we sleep too
13812 - (supplicant_interface_init): work around naive naming attempts of
13813 wpa_ctrl when naming sockets
13815 2006-01-13 Dan Williams <dcbw@redhat.com>
13817 * src/nm-device-802-11-wireless.c
13818 - (supplicant_cleanup): delete old device control sockets too
13819 - (supplicant_get_device_socket_path): new function to consolidate
13820 locations that need a path to a device's control socket
13822 2006-01-12 Robert Love <rml@novell.com>
13824 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13825 description so that the description is unique for each
13826 pair (device,provider). Fixes Novell #142773.
13828 2006-01-12 Dan Williams <dcbw@redhat.com>
13830 * src/nm-device-802-11-wireless.c
13831 - (supplicant_exec): ensure GError is correctly initialized
13832 Reported by Diego González (gnome.org #326708)
13834 2006-01-11 Robert Love <rml@novell.com>
13836 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13837 define if_mii(), open code the same results, and do so without any
13840 2006-01-11 Robert Love <rml@novell.com>
13842 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13843 that wso_foo_new() returned non-NULL. Instead, only append the new
13844 wso to wsm->options if the wso is non-NULL. The crux is that we
13845 assume that the relevant key types are implied by WEP and WPA as
13846 appropriate. To be sure, they should be, but we should not expect
13847 drivers to not be oozing piles of wolf fecal matter.
13849 2006-01-11 Robert Love <rml@novell.com>
13851 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13852 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13853 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13854 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13855 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13856 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13857 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13858 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13859 comparing values within DBL_EPSILON. Also fix shadowed variable
13862 2006-01-11 Dan Williams <dcbw@redhat.com>
13864 Add options for WPA2 and WPA1+CCMP (AES).
13866 * gnome/applet/wireless-applet.glade
13867 - Add UI bits for WPA+CCMP
13869 * gnome/applet/other-network-dialog.c
13870 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13871 and don't allow creation of WPA2 Ad-Hoc networks since
13872 wpa_supplicant doesn't support them
13874 * gnome/applet/wireless-security-manager.c
13875 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13876 on to the specific wireless security option being created
13878 * gnome/applet/wireless-security-option.[ch]
13879 - (wso_wpa_create_key_type_model): new utility function to create
13880 the model required for WPA Key Type combo box
13882 * gnome/applet/wso-private.h
13883 gnome/applet/wireless-security-option.h
13884 - Move private function prototypes into wso-private.h
13886 * gnome/applet/wso-wpa-psk-hex.[ch]
13887 gnome/applet/wso-wpa-psk-passphrase.[ch]
13888 - (append_dbus_params_func): get WPA version from checkbox and pass
13889 it to the dbus serialization helper
13890 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13891 key type combo changes
13892 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13895 * libnm-util/cipher-wpa-psk-hex.c
13896 libnm-util/cipher-wpa-psk-passphrase.c
13897 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13898 new function; allow the cipher to be changed after object creation
13900 * src/nm-ap-security-wpa-psk.c
13901 - (set_description): Do WPA2 descriptions too
13903 * src/nm-ap-security.c
13904 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13906 2006-01-11 Robert Love <rml@novell.com>
13908 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13909 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13910 from the ifreq structure in lieu of an open coded solution. Removes
13911 a life-threatening type-punning.
13912 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13913 types, ever, whatsoever, baby.
13915 2006-01-11 Robert Love <rml@novell.com>
13917 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13918 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13919 assignments to applet->nm_state into a new nmwa_set_state() function
13920 for both cleanliness and to help debugging.
13922 2006-01-10 Robert Love <rml@novell.com>
13924 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13925 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13926 seconds, exclusive. That is, we want to sleep x seconds such that
13929 2006-01-10 Robert Love <rml@novell.com>
13931 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13932 the attr fields according to the example in the email available at
13933 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13934 Conversely, we do have to free 'name', so we do so, fixing a leak.
13936 2006-01-10 Robert Love <rml@novell.com>
13938 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13939 sure that we close the socket!
13941 2006-01-10 Robert Love <rml@novell.com>
13943 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13944 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13945 src/nm-device.c: Fix a FIXME! Reimplement the function
13946 nm_device_update_hw_address() in device subclass variants,
13947 nm_device_802_3_ethernet_set_address() and
13948 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13949 This fixes the existing bug where MAC addresses are all zeros.
13951 2006-01-10 Robert Love <rml@novell.com>
13953 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13954 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13955 option to give users ability to globally disconnect and put NM to
13956 sleep. This is useful as a 'lockdown mode' for flying, security, and
13959 2006-01-09 Robert Love <rml@novell.com>
13961 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13962 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13963 User-space does not supply these types, so we have to define them
13964 ourselves. The relevant kernel maintainer refused to accept a patch
13965 switching these headers to the proper C99 types.
13967 2006-01-09 Dan Williams <dcbw@redhat.com>
13969 Apply Robert's 'tray icon redo' patch with fixes
13970 * gnome/applet/applet.c
13971 gnome/applet/applet.h
13972 - Instead of using a menu bar + menu item, simulate menu
13973 behavior using a popup menu. Highlight the area around
13974 the icon more like a menu too, by playing with the
13975 applet's size requisition
13977 2006-01-09 Timo Hoenig <thoenig@suse.de>
13978 * libnm-util/dbus-helpers.c
13979 libnm-util/dbus-helpers.h
13980 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13981 to 'exception_namespace' (:namespace is a keyword in
13984 2006-01-09 Dan Williams <dcbw@redhat.com>
13986 * src/NetworkManagerPolicy.c
13987 - (nm_policy_device_change_check): don't autoswitch away from
13988 Ad-Hoc networks, since there's really no concept of
13992 - (nm_dbus_nm_create_wireless_network): mark created networks
13995 * src/nm-device-802-11-wireless.c
13996 - (real_activation_success_handler): add user-created Ad-Hoc
13997 networks to the device's scan list
13999 2006-01-08 Dan Williams <dcbw@redhat.com>
14001 We now require a patch for wpa_supplicant to support Ad-Hoc
14003 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
14005 * src/nm-device-802-11-wireless.c
14006 - (supplicant_send_network_config): turn off wpa_supplicant's
14007 scanning. Fixes Ad-Hoc networks.
14009 2006-01-08 Dan Williams <dcbw@redhat.com>
14011 * src/nm-ap-security.c
14012 src/nm-ap-security.h
14013 - Add a user_created argument to the write_supplicant_config
14016 * src/nm-ap-security-wep.c
14017 src/nm-ap-security-wpa-psk.c
14018 src/nm-device-802-11-wireless.c
14019 - Make Ad-Hoc mode somewhat work, at least write the
14020 correct options to wpa_supplicant
14022 2006-01-08 Dan Williams <dcbw@redhat.com>
14024 * src/nm-device-802-11-wireless.c
14025 - Remove unused code from the old device activation path
14027 2006-01-08 Dan Williams <dcbw@redhat.com>
14029 * libnm-util/dbus-helpers.c
14030 - (nmu_security_serialize_wpa_psk): pass a blank key through
14031 dbus when key == NULL
14033 2006-01-08 Dan Williams <dcbw@redhat.com>
14035 * gnome/applet/nm-gconf-wso-wpa-psk.c
14036 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
14037 correct arguments to nmu_security_deserialize_wpa_psk()
14039 * src/nm-ap-security-wpa-psk.c
14040 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
14041 arguments to nmu_security_deserialize_wpa_psk()
14043 2006-01-08 Dan Williams <dcbw@redhat.com>
14045 * gnome/applet/wso-wpa-psk-hex.c
14046 gnome/applet/wso-wpa-psk-passphrase.c
14047 - Hook up the append_dbus_params_func() function
14049 2006-01-08 Dan Williams <dcbw@redhat.com>
14051 * src/nm-device-802-11-wireless.c
14052 - (get_wireless_capabilities): correctly detect driver WPA
14055 2006-01-08 Dan Williams <dcbw@redhat.com>
14057 * gnome/applet/Makefile.am
14058 gnome/applet/wso-wpa-psk-hex.c
14059 gnome/applet/wso-wpa-psk-hex.h
14060 - New files, implement WPA-PSK Hex key input
14062 * gnome/applet/wireless-applet.glade
14063 - Change existing wpa-psk stuff to wpa-psk-hex
14064 - Add new widgets for wpa-psk-passphrase
14066 * gnome/applet/wireless-security-manager.c
14067 - (wsm_set_capabilities): enable WPA options
14069 * gnome/applet/wso-wpa-psk-passphrase.c
14070 - (wso_wpa_psk_passphrase_new): use correct glade widgets
14071 for WPA-PSK passphrase
14073 2006-01-08 Dan Williams <dcbw@redhat.com>
14075 * include/NetworkManager.h
14076 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
14077 applet/info-daemons
14079 * gnome/applet/passphrase-dialog.c
14080 - Use the constant. Fixes a bug where the arguments to
14081 dbus_message_new_error() were incorrect
14083 * src/nm-dbus-nmi.c
14086 2006-01-07 Dan Williams <dcbw@redhat.com>
14088 * src/nm-device-802-11-wireless.c
14089 - Add a link timeout so we allow the supplicant time to
14090 reassociate if it can, before we deactivate the card
14091 - Fix up link status and link updating so things work better
14093 2006-01-07 Dan Williams <dcbw@redhat.com>
14095 * src/nm-device-802-11-wireless.c
14096 - Switch over to using wpa_supplicant
14097 - Add a timeout of 10s for association of the supplicant
14098 - Start the monitor callback of the supplicant
14100 2006-01-07 Dan Williams <dcbw@redhat.com>
14102 * src/NetworkManagerUtils.c
14103 - (nm_utils_supplicant_request,
14104 nm_utils_supplicant_request_with_check):
14105 pass correct buffer length to wpa_ctrl_request()
14107 2006-01-07 Dan Williams <dcbw@redhat.com>
14109 * src/nm-device-private.h
14111 - (nm_device_activate_schedule_stage3_ip_config_start): make
14112 this function available to subclasses
14114 2006-01-06 Robert Love <rml@novell.com>
14116 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
14117 user plugging in a network cable signals their preference for to
14118 switch, unless the user explicitly selected a wireless network and
14119 therefore signaled their preference for said wireless network over
14120 wired. In other words, do exactly what makes sense.
14122 2006-01-06 Robert Love <rml@novell.com>
14124 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14125 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
14126 src/NetworkManagerWireless.h: Remove, no longer used and they keep
14127 showing up in my greps.
14129 2006-01-06 Robert Love <rml@novell.com>
14131 * gnome/applet/applet-dbus-devices.c,
14132 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
14133 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
14134 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
14135 New Network' both failed in the non-encrypted case because we were
14136 not appending the security options to the DBUS message. And
14137 'Connect to Other' was also failing in the encrypted case because
14138 we were not incrementing to the next DBUS parameter. All fixed.
14139 Thanks to dcdw for some debugging help.
14141 2006-01-06 Robert Love <rml@novell.com>
14143 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14144 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
14145 hangup code and add per-device hangup. Tie last commit into the
14146 GNOME applet. TODO: Save, understand, and respond to the state of
14147 each dialup device.
14149 2006-01-06 Robert Love <rml@novell.com>
14151 Patch by Timo Hoenig <thoenig@suse.de>:
14152 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
14153 hangup specific dialup devices.
14154 * src/backends/NetworkManagerDebian.c,
14155 src/backends/NetworkManagerGentoo.c,
14156 src/backends/NetworkManagerRedHat.c,
14157 src/backends/NetworkManagerSlackware.c: Add stub backend.
14158 * src/backends/NetworkManagerRedHat.c,
14159 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
14160 hangup specific dialup devices.
14162 2006-01-04 Robert Love <rml@novell.com>
14164 * gnome/applet/applet-dbus-devices.c,
14165 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
14166 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
14169 2006-01-04 Dan Williams <dcbw@redhat.com>
14171 First dump of wpa_supplicant-related code. It's not hooked up to
14172 anything yet though. Thanks to Kay Sievers for
14173 wpa_supplicant_wrapper.c, which formed the basis for this work,
14174 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
14178 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
14180 * src/NetworkManagerUtils.[ch]
14181 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
14182 Add convenience functions for talking to wpa_supplicant
14184 * src/nm-ap-security.[ch]
14185 src/nm-ap-security-wep.c
14186 src/nm-ap-security-wpa-psk.[ch]
14187 - Update and implement real_write_supplicant_config functions
14188 in all security types
14189 - (nm_ap_security_wpa_psk_new_from_ap): implement in
14190 nm-ap-security-wpa-psk.c
14192 * src/nm-device-802-11-wireless.c
14193 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
14194 wpa_supplicant_start, wpa_supplicant_interface_init,
14195 wpa_supplicant_send_network_config): add functions to talk to
14196 wpa_supplicant and write network config to it
14198 2006-01-04 Robert Love <rml@novell.com>
14200 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
14201 values so that distribution-backends can differentiate between the
14202 various types (modem, ISDN, et cetera) of dialup device that they
14204 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
14207 2006-01-03 Dan Williams <dcbw@redhat.com>
14209 * src/NetworkManagerPolicy.c
14211 src/nm-device-802-11-wireless.c
14212 - Move wireless-specific activation failure and success code
14213 into wireless device class
14215 2006-01-03 Robert Love <rml@novell.com>
14217 Patch by Preggna S:
14218 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
14219 IPsec does not require that a VPN client be bound to an interface,
14220 due to the use of the in-kernel IPSec bits. So make the tunnel
14223 2006-01-03 Dan Williams <dcbw@redhat.com>
14225 * src/NetworkManagerAP.c
14226 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
14227 the WPA IE specifies that WEP is supported
14229 * src/nm-device-802-11-wireless.c
14230 - (process_scan_results): don't mark an AP as supporting WEP
14231 if there's already other encryption capability info
14233 2006-01-03 Dan Williams <dcbw@redhat.com>
14235 * src/dhcp-manager/nm-dhcp-manager.c
14236 - Recognize activation cancellation when waiting for DHCP
14237 configuration from dhcdbd
14238 - Ignore non-dhcdbd messages
14241 - (real_act_stage3_ip_config_start): return to correct behavior
14242 of letting the dhcp-manager notify us of failure or
14243 success rather than incorrectly doing that ourselves
14244 - (nm_device_activate_stage4_ip_config_get): deal with
14245 activation cancellation a bit earlier
14247 2006-01-03 Dan Williams <dcbw@redhat.com>
14249 * src/nm-device-802-11-wireless.c
14251 - Add hooks to subclasses for stage3_ip_config_start and
14252 stage4_ip_config_timeout
14254 * src/nm-device-802-3-ethernet.c
14255 - (real_get_generic_capabilities): make devices NM-supported
14258 2006-01-03 Robert Love <rml@novell.com>
14260 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
14261 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
14262 latter cannot differentiate between error and the address -1; misc.
14265 2006-01-03 Dan Williams <dcbw@redhat.com>
14267 * src/NetworkManager.c
14268 - Move link-checking/probing into the device subclasses
14271 * src/nm-device.[ch]
14272 src/nm-device-802-11-wireless.c
14273 src/nm-device-802-3-ethernet.c
14274 - Do periodic link checking in device subclasses rather
14275 than being triggered from NetworkManager.c
14276 - discover_wireless_capabilities -> get_wireless_capabilities
14277 - discover_generic_capabilities -> get_generic_capabilities
14278 - Device subclass activation routines now return a value of type
14279 NMActStageReturn to indicate what step to perform next
14280 - Devices now override stage4_get_ip4_config if they choose
14282 2006-01-01 Dan Williams <dcbw@redhat.com>
14284 * src/nm-device-802-11-wireless.c
14285 - (real_init): don't chain up to parent init because we don't
14286 need to do that anymore
14289 - (discover_device_type): fix arguments to ioctl() to correctly
14290 pass interface name
14291 - (nm_device_new): consolidate generic device initialization into
14293 - (real_init): remove, consolidated to nm_device_new()
14294 - (nm_device_deactivate, real_deactivate): consolidate
14296 2006-01-01 Dan Williams <dcbw@redhat.com>
14298 * src/nm-activation-request.c
14299 - Change dhcp_state member of the NMActRequest structure
14300 from guint8 to guint32
14302 * src/dhcp-manager/nm-dhcp-manager.[ch]
14303 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
14304 than guint8 to match the dbus argument. Turns out we were
14305 overwriting memory since we were passing in only a guint8
14307 2005-12-31 Dan Williams <dcbw@redhat.com>
14309 * refactor NMDevice into a GObject-based framework with separate
14310 objects for wired and wireless. The following files are no
14311 longer used but should stick around for a bit so we don't
14312 loose code through the cracks:
14313 NetworkManagerDevice.c
14314 NetworkManagerDevice.h
14315 NetworkManagerWireless.c
14316 NetworkManagerWireless.h
14318 The intent here is to allow each device type to manage its own
14319 connection & activation life-cycle, ie to allow wireless devices
14320 to interface with wpa_supplicant, etc. There's a fair bit of
14321 encapsulation breakage right now that should gradually get pulled
14322 back into each device, along with things like periodic property
14323 updates and link probing.
14325 2005-12-29 Dan Williams <dcbw@redhat.com>
14327 * include/NetworkManager.h
14328 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14329 between networks that don't have any encryption at all
14331 2005-12-29 Dan Williams <dcbw@redhat.com>
14333 * test/test-common.c
14336 - Move to a test-common subdirectory
14338 * test/libnm-util/test-ciphers.c
14339 - Move test data to test-inputs.h
14340 - Test WPA ciphers too
14342 * test/libnm-util/test-dbus-helpers.c
14343 - Test serialization/deserialization of ciphers
14345 2005-12-29 Dan Williams <dcbw@redhat.com>
14347 * gnome/applet/applet-dbus-devices.c
14348 - Replace 'enc' parameter with 'capabilities' for wireless networks
14349 in dbus calls to NM
14350 - Set capabilities on WirelessNetwork objects
14351 - Receive and save type-specific device capabilities too
14353 * gnome/applet/applet-dbus-info.c
14354 gnome/applet/applet-dbus.c
14355 - Passphrase dialog no longer a singleton; new instance gets created
14356 on each request. Updates to deal with that.
14358 * gnome/applet/applet.c
14359 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14360 than single 'encrypted' flag
14361 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14363 - Passphrase dialog updates per above
14365 * gnome/applet/menu-items.c
14366 - (network_menu_item_update): use AP capabilities to determine
14369 * gnome/applet/nm-device.[ch]
14370 - Add accessors for type-specific device capabilities
14372 * gnome/applet/other-network-dialog.c
14373 - Rework to respect device capabilities. i.e., if the device doesn't
14374 support WPA, remove that option from the security dropdown
14376 * gnome/applet/passphrase-dialog.c
14377 - Massive rework so that a new instance is created each time
14378 it's used, to support wireless network capabilities
14380 * gnome/applet/wireless-network.[ch]
14381 - Add accessors and members for wireless network capabilities
14383 * gnome/applet/wireless-security-manager.[ch]
14384 - (wsm_set_capabilities): called after creation to set which
14385 security options get shown to the user
14387 2005-12-29 Dan Williams <dcbw@redhat.com>
14389 * libnm-util/cipher-wpa-psk-passphrase.c
14390 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14393 2005-12-23 Dan Williams <dcbw@redhat.com>
14395 * gnome/applet/applet-dbus-info.c
14396 - (nmi_dbus_get_key_for_network): if there's no entry in
14397 GConf for a network, assume we want a new key
14398 - (nmi_save_network_info): serialize wireless security info
14399 into GConf so its saved
14402 - Fix warning as we may not be passed security info when
14403 connecting to a wireless network
14405 2005-12-23 Dan Williams <dcbw@redhat.com>
14407 * gnome/applet/applet-compat.c
14408 - Fix bugs in GConf entry conversion
14410 * gnome/applet/applet-dbus-info.c
14411 - (nmi_dbus_get_network_properties): handle case of the BSSID
14412 list being zero-length
14414 * libnm-util/cipher-*
14415 libnm-util/dbus-helpers.c
14416 - All ciphers must now return hashed keys as UTF-8 valid
14417 hexadecimal strings, ie "8f3dae4023". They are pushed
14418 through dbus as strings too.
14419 - Consolidate various functions that do bin->hex and hex->bin
14420 conversion into cipher.c
14422 * src/nm-ap-security-wep.c
14423 src/nm-ap-security-wpa-psk.c
14424 - Handle NULL keys since we may not know keys right away
14426 * src/nm-dbus-nmi.c
14427 - (nm_dbus_get_network_data_cb): actually advance to the start
14428 of the wireless security info before we try to deserialize it
14430 * libnm-util/test-ciphers.c
14431 - Update cipher tests for the change to UTF-8 hexadecimal strings
14433 2005-12-22 Dan Williams <dcbw@redhat.com>
14435 * gnome/applet/applet-compat.[ch]
14436 - Convert old-format GConf and keyring entries
14437 when the applet starts up.
14439 * gnome/applet/applet.c
14440 - (nmwa_get_instance): Call the conversion function
14441 on startup before dbus is initialized
14443 2005-12-22 Dan Williams <dcbw@redhat.com>
14445 * gnome/applet/applet-dbus-info.c
14446 - Remove nmi_dbus_create_error_message() in favor of
14447 nmu_create_dbus_error_message()
14448 - (nmi_dbus_get_network_properties): Error message cleanups
14449 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14450 gconf key rather than 'addresses', since they really are BSSIDs
14451 - (nmi_dbus_get_network_properties): Dispose of the security
14452 object when we're done with it
14454 2005-12-21 Dan Williams <dcbw@redhat.com>
14456 * Consolidate the info-daemon's "updateNetworkInfo" and
14457 "addNetworkAddress" calls into just "updateNetworkInfo"
14459 2005-12-21 Dan Williams <dcbw@redhat.com>
14461 * Make connection after key retrieval work again
14463 2005-12-21 Dan Williams <dcbw@redhat.com>
14465 * gnome/applet/nm-gconf-wso*
14466 - Make the serialize functions return gboolean
14469 * gnome/applet/nm-gconf-wso.c
14470 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14471 parent class handling so we don't segfault
14473 * src/NetworkManagerAP.[ch]
14474 - (nm_ap_get_capabilities): new function, return capabilities
14475 now that something can use them
14476 - (nm_ap_set_encrypted): assume that an access point supports
14477 both WEP104 and WEP40 if its set encrypted. FIXME: can
14478 we even tell whether it just supports WEP40?
14480 * src/NetworkManagerDevice.c
14481 - (ap_need_key): resurrect and update for the New World Order
14482 - (nm_device_wireless_get_activation_ap): if we're not given
14483 security info to use, create some based on access point
14486 * src/nm-ap-security-wep.c
14487 - (nm_ap_security_wep_new_from_ap): create a new object
14488 based on a certain access point's capabilities
14490 * src/nm-ap-security.c
14491 - (nm_ap_security_new_from_ap): delegate creation of a new
14492 object based on access point capabilities to a subclass
14493 - (nm_ap_security_copy_properties): don't segfault if we
14494 don't have a key yet
14497 - (nm_dbus_nm_set_active_device): provide more informative
14498 output when errors occur. Also construct security info
14499 for a given access point if we weren't given any
14501 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14503 * configure.in: Added Lithuanian to ALL_LINGUAS.
14505 2005-12-21 Dan Williams <dcbw@redhat.com>
14508 - Add some testcases for WEP ciphers
14510 2005-12-17 Dan Williams <dcbw@redhat.com>
14514 2005-12-17 Dan Williams <dcbw@redhat.com>
14516 * include/NetworkManager.h
14517 - Finally kill NMEncKeyType
14519 * gnome/applet/applet-dbus-info.c
14520 - (nmi_save_network_info): convert to NMGConfWSO
14522 * gnome/applet/nm-gconf-wso-*.c
14523 - Implement gconf serialization functions
14525 * src/NetworkManagerPolicy.c
14526 - (nm_policy_activation_finish): fix up meaning of
14527 automatic/user_requested
14529 2005-12-17 Dan Williams <dcbw@redhat.com>
14532 - More applet cleanups
14533 - Use the dbus-method-dispatcher
14535 * libnm-util/dbus-method-dispatcher.[ch]
14536 - Generalize the implementation from NM in
14537 NetworkManagerUtils.c
14539 2005-12-16 Dan Williams <dcbw@redhat.com>
14542 - Fix up the passphrase dialog to use all the
14543 WirelessSecurityOption stuff (untested)
14545 2005-12-16 Dan Williams <dcbw@redhat.com>
14547 * Move nm_gconf_get_*_helper() functions to separate files,
14548 gconf-helpers.c & gconf-helpers.h
14550 * New NMGConfWSO objects for managing the gconf side of things.
14551 Eventually these should be merged with the
14552 WirelessSecurityOption objects and a common base (that can
14553 serialize/deserialize from dbus & gconf) should be
14554 refactored out, but for now they are separate.
14556 2005-12-16 Robert Love <rml@novell.com>
14558 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14559 binaries unless they exist (nm_spawn_process() emits a warning if
14560 asked to spawn a non-existant process).
14562 2005-12-16 Dan Williams <dcbw@redhat.com>
14564 * gnome/applet/applet-dbus-info.c
14565 - Clean up lots of gconf-related code
14567 2005-12-16 Robert Love <rml@novell.com>
14569 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14571 2005-12-16 Dan Williams <dcbw@redhat.com>
14573 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14575 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14576 bits still to be done)
14578 2005-12-16 Dan Williams <dcbw@redhat.com>
14580 * Finally move info-daemon related stuff out of
14581 NetworkManagerDbus.c to nm-dbus-nmi.c
14583 2005-12-16 Dan Williams <dcbw@redhat.com>
14585 * Kill auth_method for access points, since that's now done
14586 by NMAPSecurity objects
14588 * Add a copy-constructor of sorts to NMAPSecurity
14589 (how do you do this properly in glib???)
14591 2005-12-15 Dan Williams <dcbw@redhat.com>
14593 * Exorcise encryption key hashing on APs
14594 * Use libnm-util's serialization/deserialization in both the
14596 * Random other stuff
14598 2005-12-15 Robert Love <rml@novell.com>
14600 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14601 is being added to the icon naming spec, so let's use that (Tango CVS
14602 has the icon). Because it is new, however, we fall back to the
14603 current "gnome-lockscreen" if the new icon is not around, thus
14604 behavior is the same.
14605 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14608 2005-12-15 Robert Love <rml@novell.com>
14610 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14611 well, help to give. Couple other misc. bits.
14613 2005-12-15 Dan Williams <dcbw@redhat.com>
14615 * libnm-util/dbus-helpers.[ch]
14616 - Make this the one-stop-shop for serializing/deserializing
14617 AP & connection security settings over dbus. Both NM
14618 and applets should use this to ensure consistent dbus
14619 API going forwared.
14621 2005-12-15 Robert Love <rml@novell.com>
14623 Patch by Timo Hoenig <thoenig@suse.de>:
14624 * src/NetworkManagerDbus.c
14625 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14626 if HAL jumps off the system bus. Otherwise libdbus
14627 (dbus_connection_dispatch) will try to run the filter
14628 function of our libhal context which is already freed.
14630 2005-12-15 Alexander Shopov <ash@contact.bg>
14632 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14634 2005-12-14 Dan Williams <dcbw@redhat.com>
14636 * include/NetworkManager.h
14637 src/NetworkManagerWireless.c
14638 - Rearrange 802.11 wireless-specific capabilities again
14641 - Forgot to add wpa.c/wpa.h to the makefiles
14643 * src/NetworkManagerAP.[ch]
14644 - Implement access point capabilities and parse the
14645 WPA/RSN IEs into the capability bitfield
14646 - Switch the "encrypted" attribute to utilize the bitfield
14647 and capabilities rather than being independent
14649 * src/NetworkManagerDevice.c
14650 - (nm_device_wireless_get_activation_ap): break it horribly
14651 until we can push NMAPSecurity objects into access point
14652 objects and through the activation chain
14653 - Stuff WPA & RSN IEs into AP capabilities
14656 - Take a shot at actually making setActiveDevice work
14659 - Make the API a bit saner
14661 2005-12-14 Dan Williams <dcbw@redhat.com>
14663 * include/NetworkManager.h
14664 - Add 802.11-specific capability for 802.1x key
14668 - Pull in WPA IE and RSN IE parsing code from
14669 wpa_supplicant so we can determine access point
14671 - Move WPA-related constants here from NetworkManagerAP.h
14672 and NetworkManagerDevice.c
14674 * src/NetworkManagerDevice.c
14675 src/NetworkManagerAP.[ch]
14676 - Use WPA-related constants from wpa.h
14678 2005-12-14 Dan Williams <dcbw@redhat.com>
14680 * include/NetworkManager.h
14681 - Update and split 802.11 wireless-specific capabilities from
14682 generic device capabilities
14684 * src/NetworkManagerDevice.c
14685 src/NetworkManagerDevicePrivate.h
14686 - (nm_device_wireless_discover_capabilities): Move 802.11
14687 wireless-specific capability checks to
14688 NetworkManagerWireless.c
14689 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14690 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14692 * src/NetworkManagerWireless.[ch]
14693 - (nm_802_11_wireless_discover_capabilities): Check extended
14694 802.11 wireless-specific capabilities of the driver
14696 2005-12-14 Robert Love <rml@novell.com>
14698 Patch from Stefan Scheler <sscheler@suse.de>:
14699 * src/NetworkManagerDevice.c: call backend code to activate and
14701 * src/NetworkManagerSystem.h: add new NIS interfaces.
14702 * src/backends/NetworkManagerDebian.c,
14703 src/backends/NetworkManagerGentoo.c,
14704 src/backends/NetworkManagerRedHat.c,
14705 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14707 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14709 2005-12-14 Dan Williams <dcbw@redhat.com>
14711 * src/nm-ap-security*.[ch]
14712 - Add AP security abstractions to NetworkManager
14714 * src/nm-dbus-device.c
14715 - Begin to parse new format dbus messages from the applet
14716 and construct an AP security object from the message
14718 * libnm-util/dbus-helpers.c
14719 - Use message iters so we can append the key as a fixed
14720 array of bytes, which actually works rather than
14721 using dbus_message_append_args() as we were before
14723 2005-12-14 Dan Williams <dcbw@redhat.com>
14725 * src/NetworkManagerDbus.c
14726 gnome/applet/applet-dbus.c
14727 - Fix up dbus service replacement options. The applet
14728 should allow replacement, NM itself should not.
14730 2005-12-13 Robert Love <rml@novell.com>
14732 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14733 Instead, fail silently if config is NULL by not asserting and not
14734 returning FALSE. Also, make sure we always fclose() the file.
14736 2005-12-13 Robert Love <rml@novell.com>
14738 Patch by Stefan Scheler <sscheler@suse.de>:
14739 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14740 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14741 via DHCP. Still need the backends to commit the NIS domain name and
14742 and servers to yp.conf as needed.
14744 2005-12-13 Robert Love <rml@novell.com>
14746 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14747 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14749 2005-12-13 Robert Love <rml@novell.com>
14751 * src/named-manager/nm-named-manager.c: Don't unref the config until
14752 after we call rewrite_resolv_conf(), because get_last_default_domain()
14753 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14754 `config != NULL' failed" assertion failures and "Could not commit DNS
14757 2005-12-12 Dan Williams <dcbw@redhat.com>
14759 * libnm-util/dbus-helpers.[ch]
14760 libnm-util/Makefile.am
14761 - new helper calls to consolidate locations where
14762 NM's setDevice method is called
14764 * gnome/applet/applet-dbus-devices.c
14765 gnome/applet/wireless-security-option.c
14767 - Implement dbus message param append function for
14768 all wireless security options
14770 2005-12-12 Robert Love <rml@novell.com>
14772 * libnm-util/cipher-wep-passphrase.c,
14773 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14774 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14775 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14776 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14777 When handling keys, we don't care what the sign is. The compiler
14778 guarantees us that we get our 8-bits, which is all we care about.
14779 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14781 2005-12-12 Dan Williams <dcbw@redhat.com>
14783 * gnome/applet/applet-dbus-devices.[ch]
14784 gnome/applet/applet.c
14785 gnome/applet/other-network-dialog.c
14786 gnome/applet/wireless-security-manager.[ch]
14787 gnome/applet/wireless-security-option.[ch]
14789 - Push the wireless security options further into the applet
14791 2005-12-12 Robert Love <rml@novell.com>
14793 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14794 return any name servers. That is perfectly valid. (Novell #134369).
14796 2005-12-11 Dan Williams <dcbw@redhat.com>
14798 * gnome/applet/wso-*
14799 gnome/applet/wireless-security-option.*
14800 gnome/applet/Makefile.am
14801 - split each security option out so we can eventually
14802 have each one build up their own dbus message
14803 arguments to send to NM
14805 2005-12-11 Dan Williams <dcbw@redhat.com>
14807 * Make validation of the key work correctly
14809 2005-12-11 Dan Williams <dcbw@redhat.com>
14811 * Hook more bits of the Other Network Dialog up to the
14812 wireless security manager stuff, and restructure
14813 bits of the dialog so there's less code.
14815 2005-12-10 Dan Williams <dcbw@redhat.com>
14817 * gnome/applet/Makefile.am
14818 - Add libnm-util to includes
14819 - Add libnm-util to link list
14820 - Add wireless-security-common.* to compile list
14822 * gnome/applet/other-network-dialog.c
14823 - Convert to using the WirelessSecurityManager code and
14826 * gnome/applet/passphrase-dialog.c
14827 - Comment out references to stuff in the glade file that
14828 cause runtime errors until it can be fixed up
14829 to use the WirelessSecurityManager code
14831 * gnome/applet/wireless-applet.glade
14832 - Rename some widgets
14833 - Add widgets for the WirelessSecurityManager code
14834 - Remove passphrase-related stuff since that's now
14835 handled by the WirelessSecurityManager code
14837 2005-12-10 Dan Williams <dcbw@redhat.com>
14839 * gnome/applet/applet-dbus-devices.c
14840 - Print out error message details for dbus pending call callbacks
14841 - Move nmwa_dbus_update_devices() up
14843 * gnome/applet/applet-dbus-vpn.c
14844 - Print out error message details for dbus pending call callbacks
14846 2005-12-10 Dan Williams <dcbw@redhat.com>
14850 - Remove cipher-manager.* because we don't need it
14851 - Forgot to add gnome-keyring-md5 files to compile list
14853 2005-12-09 Dan Williams <dcbw@redhat.com>
14858 - Add a utility library for clients of NetworkManager. It's
14859 only targetted at applets for the moment, and contains
14860 a generalized 802.11 cipher framework for different
14861 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14863 2005-12-09 Robert Love <rml@novell.com>
14865 * src/NetworkManagerDevice.c: handle error better in
14866 nm_device_set_mode().
14868 2005-12-08 Robert Love <rml@novell.com>
14870 * include/NetworkManager.h: add WPA capabilities constants
14871 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14872 or WPA2 and add the capabilities bits as appropriate.
14874 2005-12-08 Robert Love <rml@novell.com>
14876 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14877 NetworkManagerDispatcher.
14878 * configure.in, initscript/SUSE/.cvsignore,
14879 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14882 2005-12-08 Robert Love <rml@novell.com>
14884 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14886 2005-12-08 Robert Love <rml@novell.com>
14888 * src/NetworkManagerDevice.c: We want to fall back on and default to
14889 IW_MODE_AUTO, not -1, which is more in line with our previous
14890 behavior. Otherwise, we try to set the wireless mode to -1 in
14891 nm_device_set_mode().
14893 2005-12-07 Robert Love <rml@novell.com>
14895 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14896 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14897 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14898 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14899 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14900 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14903 2005-12-07 Robert Love <rml@novell.com>
14905 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14906 supplied IP is invalid, fall back to DHCP.
14908 2005-12-07 Dan Williams <dcbw@redhat.com>
14910 * Convert NETWORK_MODE_* constants to IW_MODE_*
14911 * Make all the get_mode/set_mode functions take and return 'int'
14912 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14914 2005-12-07 Robert Love <rml@novell.com>
14916 * src/NetworkManagerDevice.c: strncpy() buffer check.
14917 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14919 2005-12-06 Dan Williams <dcbw@redhat.com>
14921 * gnome/applet/applet-dbus.c
14922 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14924 * gnome/applet/applet-dbus-vpn.c
14925 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14926 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14927 to TRUE here if stage was ACTIVATED
14929 2005-12-06 Dan Williams <dcbw@redhat.com>
14931 * Change nm_device_is_* functions to better names:
14932 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14933 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14935 2005-12-06 Dan Williams <dcbw@redhat.com>
14937 * Change naming of NMDeviceType to something more sensible:
14938 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14939 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14940 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14942 2005-12-06 Dan Williams <dcbw@redhat.com>
14944 * Move NetworkManager.h -> include/NetworkManager.h
14945 * Split out VPN stuff into include/NetworkManagerVPN.h
14946 * Fix up makefiles to include new location
14947 * Fix up sources to include NetworkManagerVPN.h
14949 2005-12-06 Dan Williams <dcbw@redhat.com>
14951 Various changes in the applet to move VPN connection "state" -> "stage",
14952 which it actually is. I'd like to change the signal as well when we
14953 break compat in the near future.
14955 2005-12-06 Dan Williams <dcbw@redhat.com>
14957 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14958 * initscript/Slackware/rc.networkmanager
14961 * src/backends/NetworkManagerSlackware.c
14962 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14965 2005-12-05 Robert Love <rml@novell.com>
14967 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14968 to free, particularly here as it just barfs.
14970 2005-12-05 Dan Williams <dcbw@redhat.com>
14972 * gnome/applet/applet-dbus.c
14973 - Work with dbus 0.6 too
14975 2005-12-03 Dan Williams <dcbw@redhat.com>
14977 * src/NetworkManagerUtils.[ch]
14978 src/nm-ip4-config.c
14979 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14980 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14982 2005-12-01 Robert Love <rml@novell.com>
14984 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14985 need a NULL for the '...' parameter, too, to fill the so-called
14988 2005-12-01 Robert Love <rml@novell.com>
14990 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14991 interface is already gone, so don't call rtnl_link_change() to down
14992 it (which will segfault, anyhow).
14994 2005-11-22 Robert Love <rml@novell.com>
14996 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14997 gateway is not set, just print a little note. Configurations without
14998 gateways are valid.
15000 2005-11-22 Robert Love <rml@novell.com>
15004 2005-11-20 Ilkka Tuohela <hile@iki.fi>
15006 * configure.in: Added Finnish translation to ALL_LINGUAS
15008 2005-11-14 Robert Love <rml@novell.com>
15010 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
15011 Niemueller <tim@niemueller.de>.
15013 2005-11-08 Dan Williams <dcbw@redhat.com>
15015 Patch from Bill Moss <bmoss@clemson.edu>
15016 * src/NetworkManagerDevice.c
15017 - (nm_device_activate_stage5_ip_config_commit): fix ordering
15018 of nm_policy_schedule_activation_finish() to prevent a
15019 race condition that causes the link to be dropped
15021 2005-11-08 Dan Williams <dcbw@redhat.com>
15023 Patch from Bill Moss <bmoss@clemson.edu>
15024 * src/NetworkManagerAPList.c
15025 src/NetworkManagerDevice.c
15026 src/NetworkManagerDbus.c
15027 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
15028 we get more readable ether/mac addresses
15030 2005-11-02 Christopher Aillon <caillon@redhat.com>
15032 * gnome/applet/main.c: Don't set the restart command. This fixes
15033 the issue where the restart command was getting copies of all its
15034 arguments for each time the applet was restarted.
15036 2005-11-02 Robert Love <rml@novell.com>
15038 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
15039 if the widget state differs from our saved state. This ensures we
15040 do not enter an endless loop of death and destruction. Also, this
15041 guarantees us that we enforce the widget state.
15043 2005-11-02 Robert Love <rml@novell.com>
15045 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
15046 * gnome/applet/applet-dbus-devices.c: invoke the new function
15047 nmwa_enable_wireless_set_active() to ensure that the state of the
15048 'Enable Wireless' checkbox matches the daemon's state. This is a
15049 concern because the daemon remembers the state.
15051 2005-11-02 Robert Love <rml@novell.com>
15053 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
15054 Enabled", as checkboxes should be actions/commands not positive
15055 statements, otherwise they are confusing in the unselected case. See
15056 examples in GNOME HIG, Chapter 6.
15058 2005-11-02 Robert Love <rml@novell.com>
15060 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
15061 show a list of wireless networks or the wireless devices or the
15062 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
15063 a bad bug: If wireless is disabled and the user picks a wireless
15064 network, NM will switch to the network, only to immediately switch
15065 back, as wireless is disabled. This also reassures people that NM
15066 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
15068 2005-11-02 Christopher Aillon <caillon@redhat.com>
15070 * gnome/applet/applet.c:
15071 * gnome/applet/applet.h:
15072 Partial backout of Dan's timeout animation patch.
15073 Timeout IDs cannot legally be 0, so revert the code in place to handle
15074 a timeout ID of 0 to denote the timeout isn't running.
15076 2005-11-02 Christopher Aillon <caillon@redhat.com>
15078 * src/NetworkManagerPolicy.c:
15079 (nm_policy_device_change_check) Clarify wireless switch nm_info text
15081 2005-10-28 Robert Love <rml@novell.com>
15083 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
15084 "Import Saved Configuration..." to make it clear that importing is
15085 not the next step, but an option. As an aside, a nice TODO would be
15086 to move Importing out of the vpn-specific dialog and into the main
15087 property editor, as Importing goes with Adding, but that will require
15088 some rearchitecting of the VPN stuff I suspect.
15090 2005-10-27 Dan Williams <dcbw@redhat.com>
15092 Start using libnl. You need 1.0-pre3 or higher. Eventually
15093 we should replace most of the distro-specific backend code
15096 Get it here: http://people.suug.ch/~tgr/libnl/
15100 - Add checks for libnl pkgconfig file
15101 - Use LIBNL_LIBS & LIBNL_CFLAGS
15103 * src/NetworkManagerSystem.c
15104 src/nm-ip4-config.[ch]
15105 - Use libnl rather than ioctl() for most things
15106 - Remove unused functions
15108 2005-10-27 Robert Love <rml@novell.com>
15110 * src/backends/NetworkManagerSuSE.c: fix warning message text
15112 2005-10-27 Christopher Aillon <caillon@redhat.com>
15114 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
15116 2005-10-27 Christopher Aillon <caillon@redhat.com>
15118 * gnome/applet/applet.c: The applet's about dialog can advertise our
15119 project page <http://www.gnome.org/projects/NetworkManager/>
15121 2005-10-26 Christopher Aillon <caillon@redhat.com>
15123 * gnome/applet.c: Also use translator credits if we don't have
15124 the new GtkAboutDialog (older versions of GTK+)
15126 2005-10-26 Robert Love <rml@novell.com>
15128 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
15129 failure; correct usage text for "--no-daemon"
15131 2005-10-25 Dan Williams <dcbw@redhat.com>
15133 * src/NetworkManagerDevice.c
15134 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
15136 - (free_process_scan_cb_data): unref the device when freeing results
15137 - (nm_device_wireless_process_scan_results): free scan results a bit later
15138 so we don't unref the device underneath ourselves
15140 2005-10-25 Dan Williams <dcbw@redhat.com>
15142 * Back out 2005-10-24 commit from Tor Krill. Patch
15143 causes nameservers never to be removed from named.
15145 2005-10-24 Dan Williams <dcbw@redhat.com>
15147 Clean up wireless scanning and wireless link probing.
15149 * src/NetworkManagerDevice.c
15150 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
15151 just see if there's an activation request on the device, and check the
15152 current link against the activation request access point's ESSID.
15153 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
15154 - (nm_device_wireless_process_scan_results): actually free our scan data, and
15155 don't call process_scan_results() on zero-length data
15156 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
15157 15 seconds (from 10)
15159 2005-10-24 Dan Williams <dcbw@redhat.com>
15161 Cleanup some applet stuff:
15163 - Animation timeouts. If NM died while the applet was animating,
15164 the applet would not hide itself. This is now fixed.
15166 - Remove some dead code
15168 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
15169 to nmi_passphrase_dialog_cancel() since we no longer use threads.
15171 - Track animation timeout using a gboolean rather than the timeout's
15172 ID, since timeout IDs can legally be 0.
15174 2005-10-24 Dan Williams <dcbw@redhat.com>
15176 * src/backends/interface_parser.c
15177 - Add void to function declarations that need it
15178 to match patch from Engin AYDOGAN
15180 * src/backends/interface_parser.h
15181 - Remove unused prototype for ifparser_interfaces()
15183 Patch from Engin AYDOGAN <engin@bzzzt.biz>
15184 * src/backends/interface_parser.h:
15185 - Compile fixes for gcc 4.0.2 (add void)
15187 2005-10-24 Dan Williams <dcbw@redhat.com>
15189 Patch from Tor Krill <tor@krill.nu>
15190 * src/named-manager/nm-named-manager.c
15191 - Write more than just the first nameserver to /etc/resolv.conf
15192 - Write out valid /etc/resolv.conf on exit
15194 2005-10-21 Christopher Aillon <caillon@redhat.com>
15196 * gnome/applet/applet-dbus-vpn.c:
15197 Get rid of spurious newlines in debug console output
15199 2005-10-21 Christopher Aillon <caillon@redhat.com>
15201 * src/backends/NetworkManagerGentoo.c:
15202 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
15204 2005-10-20 Robert Love <rml@novell.com>
15206 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
15207 direct comparison of floating point values, which is never correct.
15208 Also some misc. cleanup.
15210 2005-10-19 Robert Love <rml@novell.com>
15212 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
15214 2005-10-19 Robert Love <rml@novell.com>
15216 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
15217 sensitivity of the buttons. Specificaly, do the right thing if
15218 there are no entries.
15220 2005-10-19 Christopher Aillon <caillon@redhat.com>
15222 * configure.in: Update check for adequate wireless-tools
15223 with an AC_TRY_COMPILE for the new symbols we use.
15225 2005-10-19 Dan Williams <dcbw@redhat.com>
15227 * src/NetworkManagerDevice.c
15228 - (process_scan_results): don't drop the last (or only)
15229 access point we see
15231 2005-10-19 Christopher Aillon <caillon@redhat.com>
15233 * src/backends/NetworkManagerSlackware.c:
15234 Patch from Nico <lordllucifer@gmail.com>
15235 - Update the Slackware backend.
15237 2005-10-18 Christopher Aillon <caillon@redhat.com>
15239 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
15240 if we've got GLib 2.8.0
15242 2005-10-18 Robert Love <rml@novell.com>
15244 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
15245 function nm_schedule_state_change_signal_broadcast() when we
15246 deactivate a device, too.
15248 2005-10-18 Robert Love <rml@novell.com>
15250 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
15251 be used uninitialized.
15253 2005-10-18 Christopher Aillon <caillon@redhat.com>
15255 * test/libnm_glib_test.c: Test unregistering, too.
15257 2005-10-17 Christopher Aillon <caillon@redhat.com>
15259 * configure.in: Bump to 0.5.0
15261 2005-10-17 Dan Williams <dcbw@redhat.com>
15264 - Remove WPA-related constants so they aren't part of the
15267 2005-10-17 Christopher Aillon <caillon@redhat.com>
15269 * gnome/applet/applet.c:
15270 * gnome/applet/applet.h:
15271 Desensitize the 'Connection Information' menu item when there is
15272 no active connection.
15274 2005-10-17 Christopher Aillon <caillon@redhat.com>
15276 * gnome/libnm_glib/libnm_glib.c:
15277 Make libnm_glib_unregister_callback () actually unregister the callback
15279 2005-10-17 Robert Love <rml@novell.com>
15281 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
15282 two seconds -- tries is updated every 1/10 of a second, not every
15285 2005-10-17 Christopher Aillon <caillon@redhat.com>
15287 * gnome/applet/applet-dbus-info.c:
15288 Let D-BUS know that we haven't handled a message when we haven't.
15290 2005-10-17 Robert Love <rml@novell.com>
15292 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
15293 in order to remain 64-bit clean.
15295 2005-10-17 Christopher Aillon <caillon@redhat.com>
15297 * gnome/applet/applet-dbus-info.c:
15298 Find network encryption keys asynchronously
15300 2005-10-17 Robert Love <rml@novell.com>
15302 * src/backends/NetworkManagerDebian.c,
15303 src/backends/NetworkManagerRedHat,
15304 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
15307 2005-10-17 Robert Love <rml@novell.com>
15309 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
15312 2005-10-17 Christopher Aillon <caillon@redhat.com>
15314 * src/NetworkManagerDevice.c: (process_scan_results)
15315 Fix logic that checks to see whether we have an ESSID.
15317 2005-10-15 Dan Williams <dcbw@redhat.com>
15319 Move scanning code into NetworkManager rather than use iwlib's
15320 iw_scan() function, so that we can figure out AP capabilities.
15323 - Add AP capability bits
15325 * src/NetworkManagerAP.[ch]
15326 - Add capability field to NMAccessPoint structure
15327 - Add WPA & RSN Information Element fields and accessor
15328 functions to NMAccessPoint
15330 * src/NetworkManagerDevice.c
15331 - Remove usage of iw_scan
15332 - Add scanning code to NetworkManager rather than use
15333 iw_scan() from iwlib
15335 * src/NetworkManagerUtils.[ch]
15336 - (nm_dispose_scan_results): remove, unused
15338 2005-10-14 Christopher Aillon <caillon@redhat.com>
15340 * gnome/libnm_glib/libnm_glib.c:
15341 * gnome/libnm_glib/libnm_glib.h:
15342 Use guint instead of gint for callback IDs.
15344 2005-10-12 Christopher Aillon <caillon@redhat.com>
15346 * gnome/applet/applet.c:
15347 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15348 every 1000ms. It will unconditionally call nmwa_update_state which
15349 kills the existing animation timeout and registers a new one with a
15350 callback to draw a new frame every 100ms. There are 11 connecting
15351 icon frames, so the last 2 frames kept getting dropped. Only reset
15352 the animation timeout if we aren't animating.
15354 2005-10-11 Dan Williams <dcbw@redhat.com>
15356 * gnome/applet/applet-dbus-devices.c
15357 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15358 We want to grab the product & vendor from net.physical_dev
15359 rather than info.parent.
15361 2005-10-11 Dan Williams <dcbw@redhat.com>
15363 * src/NetworkManagerDevice.c
15364 - Use the driver's WE version for scanning rather than
15365 the WE version NM was compiled with. Fixes random
15366 crashes in iw_scan () in iwlib.
15368 2005-10-10 Dan Williams <dcbw@redhat.com>
15370 * Remove nm_system_load_device_modules() from backend files
15371 and from NetworkManager.c
15373 2005-10-10 Dan Williams <dcbw@redhat.com>
15375 * src/NetworkManagerPolicy.c
15376 - Fix some bugs introduced by the capabilities patch
15378 2005-10-10 Dan Williams <dcbw@redhat.com>
15380 * gnome/applet/applet-dbus-info.c
15381 - (nmi_dbus_get_network_key): hide the menu when putting up
15382 the keyring dialog. (not sure if the code is right...)
15384 2005-10-09 Dan Williams <dcbw@redhat.com>
15386 Patch from Bill Moss <bmoss@clemson.edu>
15387 * src/NetworkManagerDevice.c
15388 - (nm_device_set_user_key_for_network): don't try to set auth
15389 mode on the AP from the allowed list if it's NULL
15391 2005-10-09 Dan Williams <dcbw@redhat.com>
15393 * Replace the "driver support level" stuff with capabilities. The
15394 capability field is a bitfield that is more flexible than the
15395 old driver support level thing. It's mostly so we can easily
15396 figure out what supports WPA and what doesn't, but should be
15397 quite useful later.
15399 2005-10-09 Dan Williams <dcbw@redhat.com>
15406 - Added new "nm-tool" tool that gives quite a bit more
15409 2005-10-07 Robert Love <rml@novell.com>
15411 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15412 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15413 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15414 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15417 2005-10-07 Robert Love <rml@novell.com>
15419 * configure.in: Change our compile flags for the betterment of mankind.
15420 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15421 prototype is very bad on 64-bit platforms as types default to int but
15422 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15423 "-Wmissing-declarations" to warn if we define an exported function
15424 but fail to put it in a header.
15426 2005-10-07 Robert Love <rml@novell.com>
15428 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15429 by the name nm_update_device_wireless_timeouts() and once tried,
15430 without success, to steal my pet turtle.
15432 2005-10-07 Robert Love <rml@novell.com>
15434 * Cleanup prototypes: put some functions in header files and mark
15435 others as 'static' -- feel free to invert
15436 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15437 nm_vpn_manager_vpn_connection_list_copy()
15438 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15439 nm_vpn_service_get_dbus_connection()
15440 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15441 nm_vpn_manager_vpn_connection_list_copy()
15442 * src/vpn-manager/nm-vpn-service.c: make
15443 nm_vpn_service_act_request_failed() and
15444 nm_vpn_service_stage2_daemon_wait() static
15445 * src/vpn-manager/nm-vpn-service.h: add prototype for
15446 nm_vpn_service_get_dbus_connection()
15448 2005-10-06 Christopher Aillon <caillon@redhat.com>
15450 * gnome/applet/applet.c:
15451 * gnome/applet/applet.h:
15452 * gnome/applet/icons/Makefile.am:
15453 Convey information about the current connection stage in the
15454 icons themselves instead of creating a separate progress bar.
15456 2005-10-04 Robert Love <rml@novell.com>
15458 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15459 convert an ether_addr structure's MAC into a string, because the
15460 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15461 versus 07:3B:04, while the former will not.
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 primary
15469 and secondary name servers in in "getProperties" DBUS method, add
15470 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15471 secondary domain name servers are crucial pieces of information
15472 that a user might need in debugging a network problem.
15474 2005-10-04 Robert Love <rml@novell.com>
15476 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15477 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15478 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15479 default route in the 'Connection Information' dialog, send default
15480 route in "getProperties" DBUS method, add network_device_set_route(),
15481 and network_device_get_route(). The Gateway is a crucial piece of
15482 connection-related information that a user might need in debugging a
15485 2005-10-03 Robert Love <rml@novell.com>
15487 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15490 2005-10-02 Dan Williams <dcbw@redhat.com>
15492 * Shorten time taken to sleep by fastpathing bits of device deactivation
15493 necessary for sleep.
15495 * Fix issue where deactivating a device might deactivate the active
15496 VPN connection, even if the VPN was not using the device.
15498 2005-10-02 Dan Williams <dcbw@redhat.com>
15500 * gnome/applet/applet.c
15501 - Adjust signal strength -> icon mapping values slightly
15502 (so that 51% signal doesn't show a 75% icon) by adding
15503 5% to the values. ex: > 5% now shows 25% icon, > 30%
15504 shows 50% icon, etc.
15506 2005-09-29 Robert Love <rml@novell.com>
15508 * src/NetworkManager.c: removed unused variable.
15510 2005-09-28 Dan Williams <dcbw@redhat.com>
15512 Support for named + DBus, using Red Hat DBus patches for named. You
15513 can find those patches here, with "dbus" in the patch's filename:
15515 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15517 Don't forget the named dbus service file either.
15519 Instead of writing a config file and spawing a named process, NM will
15520 use an already-running dbus-enabled named if it finds one. NM will
15521 update named's forwarder configuration on the fly using dbus.
15523 If there is no dbus-enabled named running, NM will automatically fall
15524 back to writing the most-recent DNS server information to /etc/resolv.conf
15525 and calling nm_system_update_dns() to kick the system's resolver.
15527 Accordingly, all named-related configure-time options have been removed.
15529 2005-09-26 Robert Love <rml@novell.com>
15531 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15533 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15534 bug in error path if "ASKPASSWORD" is "no".
15536 2005-09-26 Robert Love <rml@novell.com>
15538 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15539 comment in /etc/resolv.conf -- ';' is not.
15541 2005-09-19 Dan Williams <dcbw@redhat.com>
15543 * src/backends/NetworkManagerRedHat.c:
15544 * src/backends/NetworkManagerDebian.c:
15545 * src/backends/NetworkManagerSlackware.c:
15546 * src/backends/NetworkManagerGentoo.c:
15547 * src/backends/NetworkManagerSUSE.c:
15548 Fix invocations of "/sbin/ip address" to use short form instead
15550 2005-09-19 Christopher Aillon <caillon@redhat.com>
15552 * src/nm-dbus-device.c: Don't assert when getting
15553 addresses of a not yet connected interface.
15555 * gnome/applet/applet.c: Free icons if loading fails.
15556 Use translator-credits so translators can make themselves known.
15558 2005-09-15 Christopher Aillon <caillon@redhat.com>
15560 * src/NetworkManagerAP.c:
15561 * src/NetworkManagerAP.h:
15562 * src/NetworkManagerDevice.c:
15563 Set a blacklist for certain common manufacturer default ESSIDs:
15564 APs with these ESSIDs are extremely likely to be completely
15565 different networks: connecting to one should not make NM
15566 auto-connect to every other AP with the same default ESSID.
15568 2005-09-12 Christopher Aillon <caillon@redhat.com>
15570 * gnome/applet/wireless-applet.glade:
15571 The passphrase entry should also activate the default
15573 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15575 * gnome/applet/applet-dbus-devices.c:
15576 * gnome/applet/applet.c:
15577 * gnome/applet/nm-device.c:
15578 * gnome/applet/nm-device.h:
15579 * src/NetworkManagerUtils.c:
15580 * src/NetworkManagerUtils.h:
15581 * src/nm-dbus-device.c:
15582 I've got a fever, and the only cure for it is less ioctl.
15583 Make NM push IP data rather than make the applet open a socket
15586 2005-09-10 Christopher Aillon <caillon@redhat.com>
15588 * gnome/applet/applet.c:
15589 * gnome/applet/applet-dbus-devices.c:
15590 * gnome/applet/applet-dbus-info.c:
15591 * gnome/applet/passphrase-dialog.c:
15592 * gnome/libnm_glib/libnm_glib.c:
15593 * gnome/vpn-properties/nm-vpn-properties.c:
15595 * src/backends/NetworkManagerRedHat.c:
15596 * src/named-manager/nm-named-manager.c:
15597 * src/NetworkManagerAPList.c:
15598 * src/NetworkManager.c:
15599 * src/NetworkManagerDbus.c:
15600 * src/NetworkManagerDevice.c:
15601 * src/NetworkManagerPolicy.c:
15602 * src/NetworkManagerSystem.c:
15603 * src/nm-dbus-device.c:
15604 * src/nm-dbus-nm.c:
15605 * src/vpn-manager/nm-vpn-manager.c:
15606 * src/vpn-manager/nm-vpn-service.c:
15607 * test/libnm_glib_test.c:
15608 * test/nminfotest.c:
15609 * test/nmtestdevices.c:
15610 Fix a bunch of 'unused variable' compiler warnings
15612 * NetworkManager.h:
15613 * gnome/applet/applet-dbus-info.c:
15614 * gnome/applet/applet-dbus-info.h:
15615 * gnome/applet/applet.c:
15616 * gnome/applet/applet.h:
15617 * src/NetworkManager.c:
15618 * src/NetworkManagerDbus.c:
15619 * src/NetworkManagerDbus.h:
15620 * src/NetworkManagerDevice.c:
15621 * src/NetworkManagerDevice.h:
15622 * src/NetworkManagerMain.h:
15623 * src/NetworkManagerWireless.c:
15624 * src/NetworkManagerWireless.h:
15625 * src/nm-dbus-nm.c:
15626 Make NetworkManager be smart about how frequently to scan
15627 based on its current state. Remove the UI for choosing when
15628 to scan. Scanning still may disabled completely by the user
15629 via the "Wireless Enabled" menu item.
15631 2005-09-09 Christopher Aillon <caillon@redhat.com>
15633 * gnome/applet/applet.c:
15634 Also overlay the vpn connecting icons onto the wired icon,
15637 * gnome/vpn-properties/nm-vpn-properties.glade:
15638 Clean up a few strings to use better grammar and proper casing.
15640 2005-09-08 Christopher Aillon <caillon@redhat.com>
15642 * gnome/applet/vpn-connection.c:
15643 * gnome/applet/vpn-connection.h:
15644 Add nmwa_vpn_connection_is_activating ()
15646 * gnome/applet/applet.c:
15647 * gnome/applet/applet.h:
15648 * gnome/applet/icons/nm-vpn-connecting*.png:
15649 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15650 the user know something's happening between clicking the VPN item and it
15651 actually being connected.
15653 2005-09-07 Christopher Aillon <caillon@redhat.com>
15655 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15656 failure case as well.
15658 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15660 * gnome/panel/eggtrayicon.[ch]:
15661 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15663 2005-09-07 Dan Williams <dcbw@redhat.com>
15665 Patch from Bill Moss <bmoss@clemson.edu>
15666 * src/applet-dbus.c
15667 - (nmwa_dbus_filter): strip whitespace from beginning
15668 and end of VPN login banner
15670 2005-09-07 Dan Williams <dcbw@redhat.com>
15672 * The great VPN Manager rewrite of 2005
15674 2005-09-07 Christopher Aillon <caillon@redhat.com>
15676 * gnome/applet/menu-items.c:
15677 * gnome/applet/nm-device.c:
15678 * gnome/applet/wireless-network.c:
15679 * gnome/libnm_glib/libnm_glib.c:
15680 * src/NetworkManagerDbusUtils.c:
15681 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15682 g_malloc0 doesn't return NULL
15684 2005-09-06 Dan Williams <dcbw@redhat.com>
15686 Patch from Tomislav Vujec <tvujec@redhat.com>
15687 * src/NetworkManagerDevice.c
15688 - (nm_get_device_by_udi): don't return a device when we
15689 actually didn't find what we were looking for
15691 2005-09-06 Christopher Aillon <caillon@redhat.com>
15693 * gnome/applet/applet-dbus-devices.c:
15694 * gnome/applet/applet-dbus-devices.h:
15695 * gnome/applet/applet-dbus.c:
15696 * src/NetworkManagerDbus.c:
15697 * src/NetworkManagerDbus.h:
15698 * src/NetworkManagerDevice.c:
15699 * src/nm-dbus-device.c:
15700 Make NM push updates about active device strength when it changes,
15701 rather than having the applet poll every 2s.
15703 2005-09-05 Christopher Aillon <caillon@redhat.com>
15705 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15706 network_device_set_strength
15708 2005-09-04 Dan Williams <dcbw@redhat.com>
15710 Patch from Bill Nottingham <notting@redhat.com>
15711 * src/NetworkManagerDevice.c
15712 - (nm_device_activation_cancel): reset the quit_activation flag
15714 2005-09-04 Dan Williams <dcbw@redhat.com>
15716 * src/nm-activation-request.c
15717 - (nm_act_request_unref): actually free the structure,
15718 which we didn't seem to be doing before
15720 2005-09-04 Dan Williams <dcbw@redhat.com>
15722 Patch from John Palmieri <johnp@redhat.com>
15723 * gnome/applet/applet-dbus-devices.c
15724 - Fix up unreffing of DBusMessage objects
15726 2005-09-04 Dan Williams <dcbw@redhat.com>
15728 Patch from John Palmieri <johnp@redhat.com>
15729 * gnome/applet/nm-device.c
15730 - (nm_device_unref): clear network_device's memory _before_ freeing it
15732 2005-09-02 Christopher Aillon <caillon@redhat.com>
15734 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15736 2005-09-02 Bill Nottingham <notting@redhat.com>
15738 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15740 2005-09-01 Dan Williams <dcbw@redhat.com>
15742 * src/NetworkManager.c
15743 - (nm_remove_device_from_list): rename to nm_remove_device
15744 - (nm_hal_device_removed): call nm_remove_device()
15746 * src/NetworkManagerDevice.c
15747 - Change the NMWirelessScanCB member 'reschedule' which
15748 wasn't used to 'force' to indicate that we need to
15749 force a scan when adding a device
15752 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15753 from the device list
15754 - (nm_dbus_nm_wake): Re-add all devices to the device list
15756 2005-09-01 Robert Love <rml@novell.com>
15758 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15759 and the check "!iface" in the error case is probably never true.
15761 2005-09-01 Dan Williams <dcbw@redhat.com>
15763 Patch from Bill Nottingham <notting@redhat.com>
15764 * src/backends/NetworkManagerRedHat.c
15765 - Add initial dialup support to Red Hat/Fedora backend
15767 2005-09-01 Dan Williams <dcbw@redhat.com>
15769 * gnome/applet/applet-dbus-devices.c
15770 - Sort both wireless networks and devices again, which got
15771 broken when removing threading
15773 2005-09-01 Christopher Aillon <caillon@redhat.com>
15775 * gnome/applet/applet.c:
15776 Only show the "Stop/Start All Wireless Devices" menuitem
15777 if we actually have wireless devices.
15779 * gnome/applet/applet-dbus-info.c:
15780 * gnome/applet/applet.c:
15781 * gnome/applet/other-network-dialog.c:
15782 * gnome/applet/vpn-password-dialog.c:
15783 Drop the gtk_dialog_run () calls in favor of connecting to
15784 "response" signals, needed now that the applet is not threaded.
15786 2005-08-31 Dan Williams <dcbw@redhat.com>
15788 Patch from Bill Moss <bmoss@clemson.edu>
15789 * src/NetworkManagerDevice.c
15790 - (nm_device_wireless_scan): fix scan timeout values
15792 2005-08-30 Dan Williams <dcbw@redhat.com>
15794 * gnome/applet/wireless-applet.glade
15795 - HIG-ify the Other Wireless Networks dialog a bit more
15796 - Fix some potential segfaults in the info dialog
15798 2005-08-30 Dan Williams <dcbw@redhat.com>
15800 * gnome/applet/applet-dbus-devices.c
15801 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15803 2005-08-30 Dan Williams <dcbw@redhat.com>
15805 * gnome/applet/applet-dbus.[ch]
15806 - Remove all the nmwa_dbus_call_method_xxxx functions since
15807 they weren't being used anyway
15809 2005-08-30 Bastien Nocera <hadess@hadess.net>
15811 * test/nmtestdevices.c: (print_usage), (main):
15812 Check the number of arguments, and fix a typo
15814 2005-08-29 Dan Williams <dcbw@redhat.com>
15816 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15817 * gnome/applet/applet.c
15818 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15820 2005-08-29 Dan Williams <dcbw@redhat.com>
15823 - Don't use threads any more. Anything that blocks
15824 (like gtk_dialog_run()) will have to get fixed up which
15825 should happen quickly. We really only had threads to make
15826 the animation smooth, and when everything got converted over
15827 to DBus Pending Calls, the need for threads kind of went away
15829 2005-08-29 Christopher Aillon <caillon@redhat.com>
15831 * gnome/applet/applet.c: Draw VPN connections as radio items
15832 since we don't yet support multiple VPNs.
15833 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15834 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15836 2005-08-29 Dan Williams <dcbw@redhat.com>
15838 Patch from j@bootlab.org
15839 - Make --without-named work
15840 - Make --with-dhcdbd work correctly
15842 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15844 * configure.in: Added "ca" to ALL_LINGUAS.
15846 2005-08-26 Christopher Aillon <caillon@redhat.com>
15848 * Fix up VPN state handling between the applet and NetworkManager,
15849 so that the applet doesn't show a VPN as connected when one
15851 - The applet no longer has a pointer to the active VPN's
15852 name, but tracks each VPNs state individually
15853 - NM no longer has a "getActiveVPNConnection" method
15854 - NM no longer broadcasts the "VPNConnectionChange" signal
15855 - NM now broadcasts a "VPNConnectionStateChange" signal
15856 whenever the state of a VPN changes
15858 2005-08-26 Dan Williams <dcbw@redhat.com>
15860 * gnome/applet/applet-dbus-devices.c
15861 gnome/applet/applet-dbus-vpn.c
15862 - Remove calls to dbus_pending_call_ref() because we already
15863 "own" the pending call
15864 - Remove calls to dbus_pending_call_get_completed() because
15865 when we are in the callback, the pending call is completed
15868 2005-08-22 Dan Williams <dcbw@redhat.com>
15870 Patch by Bill Moss <bmoss@clemson.edu>
15871 * src/dhcp-manager/nm-dhcp-manager.c
15872 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15873 some time to send out a RELEASE if they like
15875 2005-08-22 Dan Williams <dcbw@redhat.com>
15877 Noticed by Bill Moss <bmoss@clemson.edu>
15878 * src/NetworkManagerDbus.c
15879 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15880 instead of just cancelling its activation
15882 * src/NetworkManagerDevice.c
15883 - (nm_device_deactivate): some small cleanups
15884 - (nm_device_set_user_key_for_network): deactivate the device
15885 instead of just cancelling its activation
15887 2005-08-22 Dan Williams <dcbw@redhat.com>
15889 Noticed by Bill Moss <bmoss@clemson.edu>
15890 * src/NetworkManagerDevice.c
15891 - (nm_device_wireless_scan): fix scan timeout, we were
15892 waiting way too long for scans to complete
15894 2005-08-22 Dan Williams <dcbw@redhat.com>
15896 Patch from j@bootlab.org:
15897 * src/backends/NetworkManagerDebian.c
15898 - Make the Debian backend work for static IP again
15900 2005-08-20 Christopher Aillon <caillon@redhat.com>
15902 * gnome/applet/other-network-dialog.c:
15903 The "Create New Network" and "Connect to Other Network"
15904 dialogs share alot of code, but shouldn't share a window
15905 title. Give them different ones.
15907 * gnome/applet/wireless-applet.glade:
15908 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15909 Some more minor UI tweaks.
15911 2005-08-19 Christopher Aillon <caillon@redhat.com>
15913 * gnome/applet/other-network-dialog.c:
15914 * gnome/applet/wireless-applet.glade:
15915 Also need mnemonic widgets, and underline enabled.
15917 2005-08-19 Dan Williams <dcbw@redhat.com>
15919 * vpn-daemons/vpnc/nm-vpnc-service.c
15920 - (vpnc_watch_cb): remove no-longer-relevant comment
15921 - (write_config_option): new function, helper to write
15922 config options to vpnc's stdin
15923 - (nm_vpnc_config_write): use the new helper, make the
15926 2005-08-19 Christopher Aillon <caillon@redhat.com>
15928 * gnome/applet/passphrase-dialog.c:
15929 * gnome/applet/wireless-applet.glade:
15930 Make the passphrase dialog response based, and treat
15931 responses other than OK (such as Esc, [X]) as a cancel.
15933 2005-08-18 Christopher Aillon <caillon@redhat.com>
15935 * initscript/Gentoo/NetworkManager:
15936 * initscript/RedHat/NetworkManager:
15937 * initscript/RedHat/NetworkManagerDispatcher:
15938 * initscript/SUSE/networkmanager:
15939 CVS remove these in place of .in replacements
15942 * initscript/Gentoo/NetworkManager.in:
15943 * initscript/RedHat/NetworkManager.in:
15944 * initscript/RedHat/NetworkManagerDispatcher.in:
15945 * initscript/SUSE/networkmanager.in:
15946 These scripts now are generated so they work still when
15947 NM is built using a bindir other than /usr/bin
15949 2005-08-18 Dan Williams <dcbw@redhat.com>
15951 * gnome/applet/main.c
15952 - Revert previous change for --no-session since
15953 --sm-disable does the same thing
15955 2005-08-18 Dan Williams <dcbw@redhat.com>
15957 * gnome/applet/applet-dbus-info.c
15958 - (nmi_dbus_create_error_message): new function
15959 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15960 functions. Also don't check for both device _and_ network before
15961 asking for a user's key, because we may not have gotten all our
15962 networks back from NM quite yet (due to the dbus pending calls
15963 coming in later). Fixes a hang in NM/nm-applet.
15965 * src/NetworkManagerDbus.c
15966 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15967 slightly more sane manner, even though we are still broken for
15968 certain other error conditions.
15969 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15970 to the info-daemon too
15972 * src/NetworkManagerDevice.c
15973 - Fix some debug messages to be info messages instead
15975 2005-08-18 Dan Williams <dcbw@redhat.com>
15977 * gnome/applet/main.c
15978 - Add new "--no-session" parameter that disables applet
15979 session management, ie for testing
15981 2005-08-18 Christopher Aillon <caillon@redhat.com>
15983 * gnome/applet/other-network-dialog.c:
15984 * gnome/applet/wireless-applet.glade: More mnemonics
15986 2005-08-17 Robert Love <rml@novell.com>
15988 * initscript/SUSE/networkmanager: update
15990 2005-08-17 Dan Williams <dcbw@redhat.com>
15992 * Tag NM_0_4_1_RELEASE
15994 2005-08-17 Christopher Aillon <caillon@redhat.com>
15996 * gnome/applet/applet.c: More translatable string cleanup
15999 2005-08-17 Dan Williams <dcbw@redhat.com>
16001 * gnome/applet/applet-dbus-info.c
16002 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
16003 from the dbus message, which tells us to unconditionally
16004 ask the user for a new key. Otherwise, we pull the key from
16005 the keyring and return it. If we fail to get the key from the
16006 keyring, we ask the user for a new key.
16007 - (nmi_dbus_get_network_key): new function to grab the key for
16008 an essid from the keyring.
16009 - (nmi_dbus_get_network_properties): don't access the keyring here.
16010 Also, don't return any key in the dbus message.
16012 * src/NetworkManagerDbus.[ch]
16013 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
16014 indicate that we unconditionally want a new key. This function
16015 is now also used to get keys from the info-daemon which are
16016 pre-stored, not just for asking the user for a new key. The
16017 "new_key" parameter indicates whether or not we wish to ask the
16018 user for a new key.
16019 - (nm_dbus_get_network_data_cb): we no longer get a key from the
16020 info-daemon in the return message, so use NULL instead. The
16021 key will be filled in at connect time by calling
16022 nm_dbus_get_user_key_for_network()
16024 * src/NetworkManagerDevice.c
16025 - (nm_device_wireless_configure): update for "new_key" param to
16026 nm_dbus_get_user_key_for_network(). We initially set new_key
16027 to FALSE to see if we have a stored key in the info-daemon, but
16028 if the connection is unsuccessful at this stage we request a
16031 2005-08-17 Dan Williams <dcbw@redhat.com>
16033 * gnome/applet/icons/nm-no-connection.png
16034 gnome/applet/icons/nm-device-wired.png
16035 - Use Diana's new RJ45 connector icons
16037 2005-08-17 Dan Williams <dcbw@redhat.com>
16039 * src/NetworkManagerPolicy.c
16040 - (nm_policy_device_change_check): clarify switching rules if
16041 both new and old devices are valid; mainly, don't switch
16042 away from user-requested wireless connection back to a wired
16045 2005-08-17 Dan Williams <dcbw@redhat.com>
16047 * gnome/applet/Makefile.am
16048 - Relocate the applet to /usr/bin since it is no longer
16049 executed by anything, but directly by the user
16051 2005-08-17 Dan Williams <dcbw@redhat.com>
16053 Patch from Bill Moss <bmoss@clemson.edu>
16055 * gnome/applet/applet-dbus-info.[ch]
16056 - (nmi_save_network_info): save timestamp for network if it
16057 was a change requested by the user
16058 - (nmi_dbus_update_network_info): get user_requested from dbus
16059 message and pass to nmi_save_network_info()
16061 * gnome/applet/applet.c
16062 - (nmwa_update_network_timestamp): remove
16063 - (nmwa_menu_item_activate): don't set timestamp on networks
16064 here, only after a successful connect in nmi_save_network_info()
16066 * src/NetworkManagerDbus.[ch]
16067 - (nm_dbus_update_network_info): pass user_requested into the
16070 * src/NetworkManagerPolicy.c
16071 - (nm_policy_activation_finish): pass user_requested to
16072 nm_dbus_update_network_info()
16074 2005-08-16 Robert Love <rml@novell.com>
16076 * gnome/applet/applet.c: Better "Dial Up" menu item.
16078 2005-08-16 Robert Love <rml@novell.com>
16080 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
16081 "Connection Information" menu item.
16083 2005-08-16 Dan Williams <dcbw@redhat.com>
16085 Patch from j@bootlab.org
16086 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
16088 * configure.in: allow specifying the path to dhcdbd
16090 2005-08-16 Robert Love <rml@novell.com>
16092 Patch from j@bootlab.org
16093 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
16094 src/backends/interface_parser.h: Debian dialup support.
16096 2005-08-16 Christopher Aillon <caillon@redhat.com>
16098 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
16099 * gnome/applet/applet.c: Add some mnemonics for VPNC
16101 * vpn-daemons/.cvsignore: fix this up a little bit
16103 2005-08-16 Robert Love <rml@novell.com>
16105 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
16108 2005-08-16 Christopher Aillon <caillon@redhat.com>
16110 * gnome/applet/applet.c: Split markup out of translatable strings
16111 and clean up logic a little bit. (fixes #309012)
16113 2005-08-15 Christopher Aillon <caillon@redhat.com>
16115 * gnome/vpn-properties/nm-vpn-properties.c:
16116 * gnome/vpn-properties/nm-vpn-ui-interface.h:
16117 * vpn-daemons/vpnc/properties/nm-vpnc.c:
16118 Makeshift fix to remove newlines from translatable strings.
16119 Note that we now return an allocated string, so callers of
16120 get_confirmation_details () must now call g_free () on the
16121 result. (fixes #309033).
16123 2005-08-12 Robert Love <rml@novell.com>
16125 * gnome/applet/applet-dbus.c: remove newlines from translatable
16126 strings--not needed here anyway. (fix b.g.o #309011)
16127 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
16129 2005-08-11 Robert Love <rml@novell.com>
16131 * gnome/applet/applet.c: mark string as translatable.
16133 2005-08-11 Robert Love <rml@novell.com>
16135 * initscript/SUSE/networkmanager: update.
16137 2005-08-11 Dan Williams <dcbw@redhat.com>
16139 * src/nm-dhcp-manager.c
16140 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
16141 an gateway returned from DHCP, try to use the address of the DHCP
16142 server as the gateway instead. Found by Ralf Ertzinger.
16144 2005-08-10 Robert Love <rml@novell.com>
16146 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
16147 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
16149 2005-08-10 Dan Williams <dcbw@redhat.com>
16151 Patch from Bill Moss <bmoss@clemson.edu>
16152 * Consolidate writes of access point information updates to the info daemon
16153 so that we only do it when the connection to the access point was
16154 successful. Also consolidates updates to GConf in the Gnome applet.
16156 * src/nm-netlink-monitor.c
16157 - Silence compile warning when calling g_object_new()
16159 2005-08-08 Dan Williams <dcbw@redhat.com>
16161 Patch from Steev <steev@steev.net>:
16162 * src/backends/NetworkManagerGentoo.c
16163 - Stub new dialup backend functions
16165 2005-08-08 Dan Williams <dcbw@redhat.com>
16167 Patch from Colin Slater:
16168 * src/backends/NetworkManagerGentoo.c
16169 - (nm_system_update_dns): Fix exit status check for restarting
16172 2005-08-05 Robert Love <rml@novell.com>
16174 * NetworkManager.h,
16175 gnome/applet/applet-dbus-devices.c,
16176 gnome/applet/applet-dbus-devices.h,
16177 gnome/applet/applet-dbus.c,
16178 gnome/applet/applet.c,
16179 gnome/applet/applet.h,
16180 src/NetworkManager.c,
16181 src/NetworkManagerMain.h,
16182 src/NetworkManagerSystem.h,
16183 src/backends/NetworkManagerRedHat.c,
16184 src/backends/NetworkManagerSuSE.c,
16185 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
16187 2005-08-05 Robert Love <rml@novell.com>
16189 * gnome/applet/other-network-dialog.c: default the adhoc network to the
16190 machine's hostname to make adhoc creation idiot-proof.
16192 2005-08-04 Robert Love <rml@novell.com>
16194 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
16197 2005-08-04 Dan Williams <dcbw@redhat.com>
16199 * gnome/applet/applet-dbus-info.c
16200 gnome/applet/applet-dbus-info.h
16201 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
16202 to store key, key type, and auth method rather than just auth method
16203 - (nmi_dbus_update_network_info): new function
16204 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
16206 * gnome/applet/passphrase-dialog.c
16207 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
16208 of saving the info ourselves
16210 * gnome/libnm_glib/libnm_glib.c
16211 - Remove the stupid version check for dbus
16213 * src/NetworkManagerAP.c
16214 src/NetworkManagerAP.h
16215 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
16217 * src/NetworkManagerDbus.c
16218 src/NetworkManagerDbus.h
16219 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
16220 more than just the auth method
16222 * src/NetworkManagerDevice.c
16223 - Update network info at the appropriate times
16225 2005-07-29 Ray Strode <rstrode@redhat.com>
16227 * src/NetworkManager.c (nm_info_handler): don't use input as format
16228 string (Spotted by Ian Jackson).
16230 2005-07-27 Dan Williams <dcbw@redhat.com>
16234 - Random cleanups of spacing
16236 * gnome/applet/applet.h
16237 gnome/applet/other-network-dialog.c
16238 gnome/applet/passphrase-dialog.c
16239 - Conslidate usage of NMWAEncryptionKeyTypes enum
16241 Patch from Bill Moss:
16242 - Make Other Wireless Networks work again with encryption keys
16244 2005-07-26 Dan Williams <dcbw@redhat.com>
16246 Patch from Steev <steev@steev.net>:
16247 * src/backends/NetworkManagerGentoo.c
16248 src/backends/Makefile.am
16249 - Fix up Gentoo backend
16251 2005-07-26 Robert Love <rml@novell.com>
16253 * src/backends/NetworkManagerSuSE.c: misc. cleanup
16255 2005-07-25 Robert Love <rml@novell.com>
16257 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
16258 in the same group as the wireless networks, since they are all
16259 mutually exclusive.
16261 2005-07-24 Ray Strode <rstrode@redhat.com>
16263 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
16264 remove unneeded NULL arg from g_object_new(). Any
16265 warnings caused by not having the extra NULL are just a
16266 result of a bug in glib 2.7.0 - 2.7.2.
16268 2005-07-22 Robert Love <rml@novell.com>
16270 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
16272 2005-07-22 Robert Love <rml@novell.com>
16274 * src/nm-netlink-monitor.c: g_object_new() needs at least three
16275 parameters (gcc 4.0.2 warning fix).
16277 2005-07-18 Robert Love <rml@novell.com>
16279 Suggested by Aaron Bockover (abockover@novell.com)
16280 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
16282 * gnome/applet/passphrase-dialog.c: ditto
16283 * gnome/applet/wireless-applet.glade: ditto
16285 2005-07-13 Dan Williams <dcbw@redhat.com>
16287 Patch from Ray Strode <halfline@gmail.com>
16288 * vpn-daemons/vpnc/nm-vpnc-service.c
16289 - Don't let vpnc daemonize, fixes some races with PID file reading
16291 2005-07-13 Dan Williams <dcbw@redhat.com>
16293 Patch from Ray Strode <halfline@gmail.com>
16294 * Random cleanups for strict CFLAGS
16296 2005-07-07 Dan Williams <dcbw@redhat.com>
16298 Patch from Derek Atkins <warlord@MIT.EDU>
16299 * src/nm-dbus-net.c:
16300 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
16302 2005-07-07 Dan Williams <dcbw@redhat.com>
16304 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
16305 * src/backends/NetworkManagerGentoo.c
16306 - Gentoo backend Static IP nameserver fixes
16307 - General Gentoo backend goodness
16309 2005-07-07 Dan Williams <dcbw@redhat.com>
16311 Patch from Bastien Nocera:
16312 * gnome/applet/applet.c
16313 - Fix up error reporting when icons or glade files are missing
16315 2005-07-07 Robert Love <rml@novell.com>
16317 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
16318 are not any VPN connections above it.
16320 2005-07-07 Robert Love <rml@novell.com>
16322 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16324 2005-07-05 Robert Love <rml@novell.com>
16326 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16329 2005-07-05 Robert Love <rml@novell.com>
16331 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16332 on wired or unencrypted wireless.
16334 2005-07-01 Robert Love <rml@novell.com>
16336 * src/NetworkManagerSystem.c: Print the error via strerror().
16338 2005-06-30 Robert Love <rml@novell.com>
16340 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16341 then exit if the glade file is not found. currently the application
16344 2005-06-30 Robert Love <rml@novell.com>
16346 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16347 explicitly up all interfaces on wake from sleep.
16349 2005-06-30 Robert Love <rml@novell.com>
16351 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16352 with information about the currently active connection.
16353 * gnome/applet/applet.h: (ditto)
16354 * gnome/applet/wireless-applet.glade: (ditto), new file
16356 2005-06-30 Robert Love <rml@novell.com>
16358 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16359 * src/nm-dbus-nm.c: print when we sleep and wake up.
16360 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16361 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16362 in /sbin unless D-BUS is, folks).
16363 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16365 2005-06-27 Robert Love <rml@novell.com>
16367 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16370 2005-06-27 Robert Love <rml@novell.com>
16372 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16375 2005-06-26 Robert Love <rml@novell.com>
16377 * src/NetworkManagerDevice.c: be specific about which device in
16380 2005-06-23 Adam Weinberger <adamw@gnome.org>
16382 * src/nm-netlink-monitor.c: correct spelling error.
16384 2005-06-23 Robert Love <rml@novell.com>
16386 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16387 * gnome/applet/passphrase-dialog.c: more of that keyring!
16389 2005-06-23 Robert Love <rml@novell.com>
16391 * configure.in: remove extraneous GNOMEKEYRING directives.
16392 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16393 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16394 * gnome/applet/passphrase-dialog.c: whitespace.
16396 2005-06-23 Robert Love <rml@novell.com>
16398 * src/NetworkManagerDevice.c: division in assignment was flipped.
16400 2005-06-23 David Zeuthen <david@fubar.dk>
16402 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16403 signal to the child to indicate that we got what we wanted when we
16404 see two new-lines right after each other.
16405 (nmwa_vpn_request_password): Pass a structure with several members
16406 instead of just the passwords
16408 2005-06-23 Dan Williams <dcbw@redhat.com>
16410 * src/NetworkManager.c
16411 src/NetworkManagerMain.h
16412 - (nm_get_hal_ctx): new function, move Hal initialization code here
16413 - (nm_hal_init): new function, init libhal context then add devices
16414 - (nm_hal_deinit): new function, clean up libhal context
16415 - (nm_data_free): Move Hal cleanup here
16416 - (main): check whether Hal is running, and if so, get a list of
16417 network devices from it
16419 * src/NetworkManagerDbus.c
16420 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16421 and when it appears, get a list of network devices from it. If
16422 Hal goes away, clean up the libhal context
16424 2005-06-22 Robert Love <rml@novell.com>
16426 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16427 permissions of scripts before executing.
16429 2005-06-21 Robert Love <rml@novell.com>
16431 * initscript/SUSE/networkmanager: update.
16432 * src/backends/NetworkManagerSuSE.c: cleanup.
16434 2005-06-21 Robert Love <rml@novell.com>
16436 * gnome/applet/applet.c: use menu mnemonics.
16437 * gnome/applet/menu-items.c: (ditto)
16439 2005-06-21 Robert Love <rml@novell.com>
16441 * applet/applet-dbus-devices.c: mark non-static functions static.
16442 * applet/applet-dbus-vpn.c: (ditto)
16443 * applet/applet.c: (ditto)
16444 * applet/nm-device.h: (ditto)
16445 * applet/other-network-dialog.c: (ditto)
16446 * applet/passphrase-dialog.c: (ditto)
16447 * NetworkManager.c: (ditto)
16448 * NetworkManagerDbus.c: (ditto)
16449 * NetworkManagerDevice.c: (ditto)
16450 * NetworkManagerPolicy.c: (ditto)
16451 * NetworkManagerUtils.c: (ditto)
16452 * NetworkManagerWireless.c: (ditto)
16453 * NetworkManagerWireless.h: (ditto)
16454 * nm-netlink-monitor.c: (ditto)
16455 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16456 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16457 * autoip.c: include autoip.h.
16458 * autoip.h: new file. define get_autoip().
16459 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16460 * NetworkManagerDbus.h: remove duplicate definitions.
16462 2005-06-20 Robert Love <rml@novell.com>
16464 * Makefile.am: Add missing intltool-foo.in generated files to
16465 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16466 with the start of stuff to cleanup on 'distclea'.
16467 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16468 stuff right and 'distcheck' works.
16469 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16470 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16471 Makefile.am for each. And systray/Makefile needs to be redone.
16473 2005-06-19 Dan Williams <dcbw@redhat.com>
16475 * src/NetworkManagerDevice.c
16476 - (nm_device_wireless_process_scan_results): scan every 20s when
16477 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16479 2005-06-19 Dan Williams <dcbw@redhat.com>
16481 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16483 2005-06-18 Ray Strode <rstrode@redhat.com>
16485 * src/nm-netlink-monitor.c
16486 (nm_netlink_monitor_event_handler): check for the presence
16487 of either error condition not both.
16489 (nm_netlink_monitor_error_handler): emit error signal if
16492 (nm_netlink_monitor_event_handler),
16493 (nm_netlink_monitor_error_handler),
16494 (nm_netlink_monitor_disconnect_handler): if an
16495 assertion fails disconnect the event handler to prevent
16498 * src/nm-netlink-monitor.h: add new error condition
16499 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16501 2005-06-18 Ray Strode <rstrode@redhat.com>
16503 * src/nm-netlink-monitor.c
16504 (nm_netlink_monitor_event_handler): remove bogus < 0
16505 check on unsigned value and return early if the kernel
16506 didn't send any bytes.
16508 2005-06-17 Robert Love <rml@novell.com>
16510 * initscript/SUSE/networkmanager: Change the Provides and default
16513 2005-06-16 Dan Williams <dcbw@redhat.com>
16515 Patch from Robert Love:
16516 * gnome/applet/applet.c
16517 - Beautify some applet menu item names
16519 2005-06-17 David Zeuthen <davidz@redhat.com>
16521 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16522 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16523 Also add new methods can_export, import_file and export.
16525 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16528 * gnome/vpn-properties/nm-vpn-properties.c:
16529 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16530 nm-vpn-ui-interface.h.
16531 (update_edit_del_sensitivity): Also update "Export" sensitivity
16532 (add_vpn_connection): Also add new SVC_NAME column
16533 (import_settings): New function
16534 (retrieve_data_from_selected_connection): New function
16535 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16537 (export_cb): New function
16538 (init_app): Also setup the "export" widget
16539 (main): Support the --import-service and --import-file commandline
16542 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16545 2005-06-16 Dan Williams <dcbw@redhat.com>
16547 Patch from Robert Love:
16548 * gnome/applet/menu-items.c
16549 - (network_menu_item_new): pass -1 as wireless network
16550 menu items height size request rather than ascent / 2
16552 2005-06-16 Dan Williams <dcbw@redhat.com>
16554 * Clean up wording in Wireless Scan Methods menu items and constants
16556 2005-06-16 Robert Love <rml@novell.com>
16559 - remove gtkcell* files
16561 2005-06-15 Dan Williams <dcbw@redhat.com>
16563 Patch from Robert Love: make the applet stetic
16565 * gnome/applet/Makefile.am
16566 - Don't compile the gtkcellview and gtkcellrendererprogress files
16568 * gnome/applet/gtkcellview.h
16569 gnome/applet/gtkcellview.c
16570 gnome/applet/gtkcellrendererprogress.h
16571 gnome/applet/gtkcellrendererprogress.c
16574 * gnome/applet/menu-items.c
16575 - Progress bars are 5:1 size ratio
16576 - Use GTK progress bars rather than internal ones
16578 2005-06-15 Dan Williams <dcbw@redhat.com>
16580 Patch from Robert Love:
16581 * initscript/SUSE/networkmanager
16584 2005-06-15 Dan Williams <dcbw@redhat.com>
16586 * src/backends/NetworkManagerSuSE.c
16587 src/backends/NetworkManagerRedHat.c
16588 src/backends/NetworkManagerDebian.c
16589 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16591 2005-06-15 Dan Williams <dcbw@redhat.com>
16593 * src/backends/NetworkManagerDebian.c
16594 - Add nm_system_device_get_use_dhcp() to debian backend
16596 Patch from Kay Sievers:
16597 * src/backends/NetworkManagerSuSE.c
16598 - Update debian backend for static IP nameservers
16600 * src/NetworkManagerDevice.c
16601 - Actually set the device to use static IP or DHCP rather
16604 2005-06-15 Dan Williams <dcbw@redhat.com>
16606 Patch from Thom May:
16607 * src/backends/NetworkManagerDebian.c
16608 - Update debian backend for static IP nameservers
16610 2005-06-15 Dan Williams <dcbw@redhat.com>
16612 Patches from Robert Love:
16613 * gnome/applet/wireless-applet.glade
16614 - Tighten up wording
16616 * src/NetworkManagerDevice.c
16617 - Remove misplaced ';'
16620 initscript/Makefile.am
16621 initscript/SUSE/Makefile.am
16622 initscript/SUSE/networkmanager
16623 - Add SUSE initscript
16625 2005-06-12 David Zeuthen <davidz@redhat.com>
16627 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16629 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16631 * gnome/vpn-properties/nm-vpn-properties.c: New file
16633 * gnome/vpn-properties/Makefile.am: New file
16635 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16638 * src/vpn-manager/nm-vpn-manager.c
16639 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16640 instead of just a single one
16642 * src/vpn-manager/nm-dbus-vpn.c:
16643 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16645 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16647 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16648 Change the interface here to give a list of passwords. Also, don't
16649 require username, but do require service
16651 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16652 the binary for the auth-dialog and use that instead of putting up a
16653 dialog asking for a single password
16655 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16656 however do remember the service
16658 * gnome/applet/main.c (main): Setup i18n
16660 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16661 connection to '%s'" to the tooltip if we are connected using VPN
16662 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16663 key to determine whether we the auth-dialog needs to
16664 reprompt. Also cope with the fact that the auth-dialog now returns
16665 an array of passwords.
16666 (nmwa_menu_configure_vpn_item_activate): New handler for
16667 "Configure VPN..." menu item
16668 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16669 (is_vpn_available): New function to determine if we got any
16670 NM-compatible VPN software installed
16671 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16672 items only if we have NM-compatible VPN software installed
16673 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16674 logic for detecting when VPN connections are removed
16676 * gnome/applet/applet-dbus.h: Removed the prototypes for
16677 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16678 since these are defined elsewhere
16680 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16681 function used to keep track of whether the last attempt succeded
16682 (nmwa_dbus_filter): Update last_attempt according to whether the
16683 VPN connection could be established or not
16685 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16686 Change prototype to take an array of passwords, not just a single
16689 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16690 update service, not user
16691 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16692 dbus_active_vpn_name is not NULL before using it
16693 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16694 string array instead of assuming a single password
16696 * gnome/applet/applet-dbus-info.c:
16697 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16698 user name; don't read from gconf
16700 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16703 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16705 * configure.in: Add checks for gmodule-2.0.
16706 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16707 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16708 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16711 * vpn-daemons/Makefile.am: Removed
16713 * vpn-daemons/README: New file to describe extensions points for VPN
16716 2005-06-10 Dan Williams <dcbw@redhat.com>
16718 * src/backends/NetworkManagerRedHat.c
16719 - (get_current_profile_name): new function, grab current network profile name from
16720 /etc/sysconfig/network
16721 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16722 update an IP4 Config structure's settings from it
16723 - (nm_system_device_get_system_config): if we're using static IP on this device,
16724 get DNS info from current network profile
16726 2005-06-09 Dan Williams <dcbw@redhat.com>
16728 Patch from Robert Love:
16729 * src/NetworkManagerDevice.c
16730 src/NetworkManagerUtils.c
16731 - 64-bit build fixes
16733 2005-06-09 Dan Williams <dcbw@redhat.com>
16735 Patch from Kay Sievers and Robert Love:
16737 src/backends/Makefile.am
16738 src/backends/NetworkManagerSuSE.c
16741 2005-06-09 Dan Williams <dcbw@redhat.com>
16744 - Add NMWirelessScanMethod enum for scan methods
16746 * gnome/applet/applet-dbus-devices.c
16747 - (nmwa_dbus_update_scanning_enabled_cb): remove
16748 - (nmwa_dbus_update_scanning_enabled): remove
16749 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16750 since it got removed
16751 - (nmwa_dbus_enable_scanning): remove
16753 * gnome/applet/applet-dbus-info.c
16754 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16755 update the wireless scanning method from NMI
16756 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16757 method value to NetworkManager
16758 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16760 * gnome/applet/applet-dbus-info.h
16761 - Add prototype for nmi_dbus_signal_update_scan_method
16763 * gnome/applet/applet.c
16764 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16765 Wireless Scanning menu based on current wireless scan method
16766 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16767 signal for Wireless Scanning menu items, tell NetworkManager the new method
16768 and update our menu items to make sure the right one is checked
16769 - (nmwa_set_scanning_enabled_cb): remove
16770 - (nmwa_context_menu_update): remove references to pause_scanning_item
16771 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16773 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16775 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16776 so we get notified of preference values too
16777 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16779 * gnome/applet/applet.h
16780 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16781 - Add wireless scan method member to applet data
16782 - Remove pause_scanning_item, add Wireless Scanning submenu
16784 * src/NetworkManager.c
16785 - (nm_data_new): default to NM_SCAN_METHOD_ON
16786 - (main): grab scanning method from NMI if we can
16788 * src/NetworkManagerDbus.c
16789 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16790 nm_dbus_update_wireless_scan_method()
16791 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16793 - (nm_dbus_nmi_is_running): redundant function, removed
16794 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16795 when NMI comes back
16797 * src/NetworkManagerDevice.c
16798 - (nm_device_is_activated): return TRUE if the device is activated
16799 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16800 and we are activated
16803 - (nm_dbus_nm_set_scanning_enabled): removed
16804 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16805 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16807 2005-06-09 Dan Williams <dcbw@redhat.com>
16810 src/vpn-manager/nm-vpn-service.c
16811 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16813 2005-05-27 Dan Williams <dcbw@redhat.com>
16815 * vpn-daemons/vpnc/nm-vpnc-service.c
16816 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16817 Should fix the bug where the VPN connection terminates the first time.
16819 2005-05-20 Dan Williams <dcbw@redhat.com>
16822 - Differentiate VPN config signals between bad VPN config options
16825 * gnome/applet/applet-dbus-info.h
16826 - Add prototypes for wireless network and vpn connection update functions
16828 * gnome/applet/applet-dbus.c
16829 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16831 * gnome/applet/applet.c
16832 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16834 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16835 propogation to NetworkManager
16836 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16837 notify propogation to NetworkManager
16839 * src/NetworkManagerDbus.c
16840 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16841 are updating so a network can be removed from it if necessary
16843 * src/vpn-manager/nm-vpn-manager.c
16844 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16846 * vpn-daemons/vpnc/nm-vpnc-service.c
16847 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16848 - (nm_vpnc_dbus_signal_launch_failed): remove
16849 - (nm_vpnc_dbus_signal_connect_failed): remove
16850 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16851 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16852 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16853 for new generalized error signal function, remove config file stuff
16854 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16855 we can write configuration options to it
16856 - (nm_vpnc_config_file_generate): removed
16857 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16858 - (nm_vpnc_config_options_validate): validate the config options we receive
16859 from NetworkManager to block potential exploits
16860 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16862 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16865 2005-05-16 Dan Williams <dcbw@redhat.com>
16867 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16868 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16871 2005-05-16 Dan Williams <dcbw@redhat.com>
16873 Patch from Tomislav Vujec <tvujec@redhat.com>
16874 * gnome/applet/applet-dbus-info.c
16875 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16876 GConf and pass them to NetworkManager. New key is 'routes' under
16877 the VPN connection, and should be a string list
16879 * src/NetworkManagerSystem.c
16880 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16881 set them on the device when we set the rest of the VPN config. Ensure
16882 they are in the correct format since they are passed directly to the
16885 * src/backends/NetworkManagerRedHat.c
16886 src/backends/NetworkManagerDebian.c
16887 - (nm_system_device_add_route_via_device_with_iface): new function
16889 * src/vpn-manager/nm-dbus-vpn.c
16890 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16892 * src/vpn-manager/nm-vpn-manager.c
16893 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16894 them into the IP4 config functions
16896 2005-05-15 Dan Williams <dcbw@redhat.com>
16898 From Filip Miletic:
16902 - Serbian translation added
16904 2005-05-15 Dan Williams <dcbw@redhat.com>
16906 * dispatcher-daemon/NetworkManagerDispatcher.c
16907 - (main): sync arguments with NetworkManager and the applet, now use
16908 "--no-daemon" rather than "daemon=no"
16909 - (nmd_print_usage): Fix script path in usage message
16911 2005-05-15 Dan Williams <dcbw@redhat.com>
16913 * src/NetworkManagerDevice.[ch]
16914 src/NetworkManagerPolicy.c
16915 src/NetworkManager.c
16917 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16918 longer send the DeviceNoLongerActive signal unconditionally, but only
16919 when the device is actually active.
16921 * dispatcher-daemon/NetworkManagerDispatcher.c
16922 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16923 and simplify the logic
16924 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16925 we free it later on
16927 * initscript/RedHat/Makefile.am
16928 initscript/RedHat/NetworkManagerDispatcher
16929 - Add initscript for NetworkManagerDispatcher
16932 Patch from Bill Moss:
16933 * dispatcher-daemon/NetworkManagerDispatcher.c
16934 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16936 * src/NetworkManagerDbus.c
16937 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16938 and DeviceNowActive gets signaled, then the device has a new IP address
16939 anyway. There's no need for a separate signal.
16941 * src/NetworkManagerDevice.c
16942 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16944 * src/NetworkManagerPolicy.c
16945 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16946 activates successfully. This kind of went missing when I reworked the
16949 2005-05-15 Dan Williams <dcbw@redhat.com>
16952 - Check for dhcdbd and error if its not found
16954 * src/dhcp-manager/Makefile.am
16955 src/dhcp-manager/nm-dhcp-manager.c
16956 - Use path to dhcdbd that configure found
16958 2005-05-14 Dan Williams <dcbw@redhat.com>
16960 * gnome/applet/nm-device.c
16961 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16962 sort wireless networks alphabetically
16964 * gnome/applet/applet-dbus-devices.c
16965 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16966 before copying them over to the GUI
16968 2005-05-14 Dan Williams <dcbw@redhat.com>
16970 * src/NetworkManager.c
16971 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16972 fixes a deadlock on shutdown with a VPN connection active. This function locks
16973 the device list, as does nm_get_active_device() which is called from
16974 nm_vpn_manager_deactivate_vpn_connection().
16976 2005-05-14 Dan Williams <dcbw@redhat.com>
16979 - Add signals for VPN Launch and Connect failures
16981 * gnome/applet/applet-dbus.c
16982 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16984 * gnome/applet/applet.c
16985 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16986 function to handle all VPN failure messages
16987 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16988 function to hanlde all VPN failure messages
16989 - (show_warning_dialog): work around focus-stealing prevention
16991 * gnome/applet/other-network-dialog.c
16992 gnome/applet/passphrase-dialog.c
16993 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16994 problem where it never enabled for ASCII Key and Hex Key types
16996 * gnome/applet/wireless-applet.glade
16997 - Add window title to Other Wireless Network Dialog
16999 * src/vpn-manager/nm-dbus-vpn.c
17000 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
17001 function to handle all VPN failure messages
17003 * src/vpn-manager/nm-vpn-manager.c
17004 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
17006 * vpn-daemons/vpnc/nm-vpnc-service.c
17007 - (nm_vpnc_dbus_signal_launch_failed): new function
17008 - (nm_vpnc_dbus_signal_connect_failed): new function
17009 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
17010 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
17011 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
17012 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
17014 2005-05-11 Dan Williams <dcbw@redhat.com>
17016 * vpn-daemons/vpnc/nm-vpnc-service.c
17017 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
17018 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
17019 file exists before trying to write it out.
17021 2005-05-10 Dan Williams <dcbw@redhat.com>
17023 * gnome/applet/applet-dbus-device.c
17024 - (nmwa_dbus_set_device): remove check for valid key and key type, which
17025 prevented just entering ESSID and leaving key and key type up to
17026 NetworkManager (which should have them already cached)
17028 2005-05-08 Dan Williams <dcbw@redhat.com>
17030 * src/NetworkManagerPolicy.c
17031 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
17032 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
17033 fix a situation where NM is told to terminate and the device stops activation,
17034 but the main thread isn't aware of that because it would never have run
17035 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
17038 * src/NetworkManagerDevice.c
17039 - (nm_device_probe_wired_link_state): cosmetic fixes
17040 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
17041 we've failed to activate or been canceled.
17042 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
17044 2005-05-08 Dan Williams <dcbw@redhat.com>
17046 * src/NetworkManagerWireless.c
17047 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
17048 value of WEXT quality structures, and add a debug message when we cannot
17049 determine any quality % at all
17051 2005-05-08 Dan Williams <dcbw@redhat.com>
17053 * src/dhcp-manager/nm-dhcp-manager.c
17054 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
17057 2005-05-06 Dan Williams <dcbw@redhat.com>
17059 * gnome/applet/applet-dbus-device.c
17060 gnome/applet/applet-dbus-info.c
17061 gnome/applet/applet-dbus.c
17062 gnome/applet/applet.c
17063 gnome/applet/applet.h
17064 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
17066 * gnome/applet/applet-dbus.c
17067 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
17068 so we notice when wired device's carriers come back on. Should
17069 fix issue with wired devices being grayed out even if the cable
17070 is in, for devices that support carrier detection.
17072 * gnome/applet/applet.c
17073 - (nmwa_driver_notify): bash focus-stealing prevention in the face
17074 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
17076 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
17077 Fix situation where applet wouldn't respond to menu selections
17079 * src/NetworkManager.c
17080 src/NetworkManagerDevice.c
17081 src/NetworkManagerDbus.c
17082 src/NetworkManagerDbus.h
17083 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
17085 * src/NetworkManagerDbus.c
17086 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
17087 Remove, no longer used or relevant
17088 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
17089 - (nm_dbus_schedule_device_status_change_signal): add
17091 * src/NetworkManagerDevice.c
17092 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
17093 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
17094 ie don't deactivate them unless explicitly told to by the user. Also send
17095 CARRIER_OFF / CARRIER_ON signals when link changes
17096 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
17097 Don't print error message when device is no longer around
17098 - (nm_device_deactivate): kill any current DHCP process attached to this device,
17099 not just during activation
17101 * src/NetworkManagerPolicy.c
17102 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
17103 auto-device-selection.
17104 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
17106 * src/NetworkManagerSystem.c
17107 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
17108 is no longer present (Bill Moss)
17110 * src/backends/shvar.c
17111 - (svOpenFile): Open read-only to make SELinux happy
17113 * src/backends/NetworkManagerRedHat.c
17114 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
17115 the path to the ifcfg-* files
17117 2005-05-05 Dan Williams <dcbw@redhat.com>
17119 * Expose activation stages to NetworkManager clients, like the applet
17120 * Add Diana's progress icons to the applet, cued off NM activation stage
17121 * Use more descriptive tooltips, cued off NM activation stage
17123 2005-05-05 Ray Strode <rstrode@redhat.com>
17125 * src/nm-netlink-monitor.c:
17126 - Use clear_event_source instead of g_nullify_pointer() again.
17128 2005-05-05 Dan Williams <dcbw@redhat.com>
17130 * gnome/applet/main.c
17131 - Fix session management so the applet is actually managed now
17133 * gnome/applet/passphrase-dialog.c
17134 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
17136 2005-05-05 Dan Williams <dcbw@redhat.com>
17138 Patch from Bill Moss:
17139 * gnome/libnm_glib/libnm_glib.c
17140 - Fix for dbus-0.33
17142 2005-05-05 Dan Williams <dcbw@redhat.com>
17144 Suggestion from Bill Moss:
17145 * src/NetworkManagerSystem.c
17146 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
17149 * src/NetworkManager.c
17150 - (nm_data_free): move destruction of the various managers after
17151 release of device list, because deactivating and freeing a device
17152 requires at least the named manager
17153 - (nm_poll_and_update_wireless_link_state):
17154 (nm_device_link_activated):
17155 (nm_device_link_deactivated):
17156 don't grab the device list lock when actually updating device
17157 link status or strength, since nm_device_set_link_active()
17158 needs to call nm_get_active_device(), which also locks the device list.
17160 * src/NetworkManagerDevice.c
17161 - (nm_device_set_link_active): if a device's link switches from off->on,
17162 and it's wired, and the active device is wireless (or there is no
17163 active device), activate the new device whose link just came on
17164 - (link_to_specific_ap): try to smooth over intermittency in wireless links
17165 my only calling the link to the current ap "failed" when more than 2
17166 consecutive link checks have failed
17168 2005-05-04 Dan Williams <dcbw@redhat.com>
17170 * src/NetworkManagerDevice.c
17171 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
17172 but let link_to_specific_ap() do the locking where it needs
17174 Patch from Bill Moss:
17175 * src/NetworkManagerSystem.c
17176 - Set MTU of VPN devices to 1412
17178 2005-05-04 Dan Williams <dcbw@redhat.com>
17180 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
17182 * Fix some holes in device activation and retaining the currently connected
17185 2005-05-03 Dan Williams <dcbw@redhat.com>
17187 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
17188 This means that NetworkManager shouldn't have DHCP issues anymore. It also
17189 means you need dhcdbd, which you can get here (get the latest one):
17191 http://people.redhat.com/jvdias/dhcdbd/
17193 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
17194 interface as dhcdbd.
17196 * Rewrite device activation to facilitate the new DHCP infrastructure and
17197 future improvements. Its now "activation request" based, ie there is a single
17198 activation request composed of the device, access point, and other info which
17199 follows the entire activation process. There are 5 stages of the activation
17200 process which correspond to:
17202 1) Device preparation
17203 2) Device configuration (bring it up, set ESSID/Key/etc)
17204 3) IP Config Start (fire off DHCP if we're using it)
17205 4) IP Config Get (grab config from DHCP or static config files)
17206 5) IP Config Commit (set device's IP address, DNS, etc)
17208 Note that there is no longer a "scanning" step, since the access point must
17209 be known _before_ activation starts. If the access point drops out or does
17210 not exist for some reason, the entire activation process fails and must be
17211 restarted for a different access point or device.
17213 Patch from Bill Moss:
17214 * gnome/applet/applet.c
17215 - Fix type of vpn_failure dialog -> vpn_banner dialog
17217 2005-04-27 Dan Williams <dcbw@redhat.com>
17219 * gnome/applet/applet-dbus-vpn.c
17220 gnome/applet/applet.c
17221 gnome/applet/applet.h
17222 - Fix up active VPN handling so that we reliably know when a VPN
17223 connection has been deactivated
17225 * src/vpn-manager/nm-vpn-manager.c
17226 - Remove duplicate VPNConnectionChange signal
17228 2005-04-27 Dan Williams <dcbw@redhat.com>
17230 Patch from Peter Jones:
17231 * Remove usage of varargs to fix crashes on PPC (RH #154336)
17233 Patch from Bill Moss:
17234 * src/NetworkManagerSystem.c
17235 - Fix checking of return value from ioctl()
17237 2005-04-27 Dan Williams <dcbw@redhat.com>
17239 * Fix choosing of wireless networks and "Other wireless network..." from the applet
17240 * Warn and exit if icons cannot be found
17242 2005-04-27 Dan Williams <dcbw@redhat.com>
17244 Patch from Tom Parker:
17245 * Update debian backend
17247 2005-04-27 Dan Williams <dcbw@redhat.com>
17249 * Merge the applet and the info-daemon, and move the converged
17250 applet under gnome/applet
17251 * Move libnm_glib to gnome/libnm_glib
17252 * Convert most dbus calls between the applet, info-daemon, and NM
17254 * Fix a few things valgrind noticed
17255 * Make NM broadcast state more reliably
17257 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
17259 * configure.in: Added ne in ALL_LINGUAS
17261 2005-04-15 Dan Williams <dcbw@redhat.com>
17263 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
17264 code for dbus 0.2x versions
17266 2005-04-15 Dan Williams <dcbw@redhat.com>
17268 Patches from Tom Parker:
17270 - Join with worker thread rather than polling for its exit
17272 Patch from Bill Moss:
17273 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
17275 2005-04-15 Dan Williams <dcbw@redhat.com>
17277 - Fixes to pass 'make distcheck'
17279 2005-04-15 Dan Williams <dcbw@redhat.com>
17281 Initial VPN Support
17283 - reworks device IP configuration, backend files have changed and will need
17284 to be updated for all distributions. I will try to do what I can for
17285 them, but I cannot test them.
17287 - Move named directory to src/named-manager
17288 - Make backends directory self-contained
17290 2005-04-06 Dan Williams <dcbw@redhat.com>
17292 Add debug code for socket/file descriptor leaks. We register every socket
17293 that we open (except for stuff in dhcpcd/) for tracking, and print out the
17294 list of sockets that we forgot to close on shutdown. This also consolidates
17295 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
17297 2005-04-06 Dan Williams <dcbw@redhat.com>
17300 - (dhcp_interface_free): fix a file descriptor leak that may have
17301 caused network drivers to not unload due to refcounts > 0
17303 2005-04-04 Dan Williams <dcbw@redhat.com>
17305 * panel-applet/NMWirelessAppletDbus.c
17306 - (nmwa_dbus_call_nm_method): remove some commented code
17308 * src/NetworkManagerAPList.[ch]
17309 - (nm_ap_list_remove_ap_by_essid): new function
17311 * src/NetworkManagerDevice.c
17312 - (nm_device_wireless_force_use): remove access points from the ignore list
17313 when the user forces them
17315 * src/nm-dbus-device.c
17316 - (nm_dbus_device_get_active_network): fix up escaping of object paths
17318 2005-04-04 Dan Williams <dcbw@redhat.com>
17320 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17322 2005-04-04 Dan Williams <dcbw@redhat.com>
17324 * src/NetworkManagerDevice.c:
17325 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17326 of only erroring after the second consecutive scan times out. Also
17327 don't exit when the card requires more time than we can give it, just
17328 log the event and continue.
17330 2005-04-01 Steve Murphy <murf@e-tools.com>
17332 * configure.in: Added "rw" to ALL_LINGUAS.
17334 2005-04-01 Dan Williams <dcbw@redhat.com>
17336 Perform scans during device activation, if needed. Both activation
17337 and scans run in the same GMainContext. Therefore, if an access point
17338 is not found by the time the device starts activation, it will not
17339 be available until after activation. We now try to scan during
17340 activation (in nm_wa_test) every 15s so that all available access
17341 points are more likely to be found and available for the activation
17344 Also change nm_wireless_link_state_handle() to only update the "best"
17345 AP if we are not forcing a device and if we are not about to change
17346 state. This attempts to work around a race when forcing a device,
17347 where the forced AP would get cleared out too soon by the link state
17348 checking timeout in the main thread, and the activation attempt with
17349 that AP would fail.
17351 2005-04-01 Dan Williams <dcbw@redhat.com>
17354 - Update with new translatables
17356 2005-03-31 Dan Williams <dcbw@redhat.com>
17358 * panel-applet/NMWirelessAppletDbus.c
17359 - Fix device names now that hal has changed device parenting for
17362 2005-03-31 Dan Williams <dcbw@redhat.com>
17364 Tighten up handling of wireless devices that don't support wireless
17365 scanning (ie, Orinoco). Due to restructuring of code, these devices
17366 hadn't been doing pseudo-scanning for a while either and would just
17367 spin waiting for an access point. They are now manual devices where
17368 the user must choose the access point from the menu every time. All
17369 "allowed" access points are listed in the applet's menu regardless
17370 of whether or not they can be seen by the card, since it can't scan
17373 * src/NetworkManager.c
17374 - (nm_wireless_link_state_handle): new function, but only update
17375 the "best" ap for non-scanning devices when its not activating,
17376 and when no device is being forced on the card
17377 - (nm_link_state_monitor): split wireless link state handling out
17378 into separate function
17380 * src/NetworkManagerDevice.c
17381 - (nm_device_copy_allowed_to_dev_list): new function
17382 - (nm_device_new): populate non-scanning cards' AP lists with
17383 access points from the "allowed" list
17384 - (nm_device_new): don't start a scanning timeout for devices that
17386 - (nm_device_activation_schedule_finish): new parameter, should be
17387 the AP that failed to be connected to, pass it on to the
17388 activation finish function in NetworkManagerPolicy.c
17389 - (nm_device_activate_wireless): don't ever try to get a new AP
17390 for non-scanning devices, just fail. The user must choose
17391 a new access point manually.
17392 - (nm_device_activate): grab the AP that failed connection and
17394 - (nm_device_update_best_ap): Clear the best AP if we don't have
17395 a link to it, user must manually choose a new one
17396 - (nm_device_do_pseudo_scan): remove function
17397 - (nm_device_wireless_process_scan_results): remove bits for non-
17398 scanning cards since they never get here
17399 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17400 and fake the scan list for test devices a bit earlier
17402 * src/NetworkManagerPolicy.c
17403 - (nm_policy_activation_finish): use the failed_ap that we get
17404 passed rather than getting the best_ap from the card, which
17405 may have changed since we were scheduled
17406 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17407 update their scan list directly from the allowed list when
17408 we get updates to the allowed list from NetworkManagerInfo
17410 * src/NetworkManagerPolicy.h
17411 - New member for failed access point in NMActivationResult
17413 -------------------------------------
17415 Driver Notification patch: notifies the user when their driver
17416 sucks. Gives them the option to ignore further insertions
17417 of the card that has the sucky driver.
17420 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17421 enum and replace it with NO_CARRIER_DETECT and
17424 * panel-applet/NMWirelessApplet.[ch]
17425 - Merge essid.glade -> wireless-applet.glade
17426 - Implement the "Your driver sucks" notification dialog
17428 * panel-applet/NMWirelessAppletDbus.c
17429 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17430 - Grab hardware address for each device from NM too
17431 - Check whether the driver for each device sucks or not whenever
17432 a new device is noticed
17434 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17435 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17437 * src/NetworkManager.c
17438 - Fix a double-unref on device removal
17440 * src/NetworkManagerUtils.c
17441 - Set appropriate driver support level on a device that doesn't
17442 support scanning or carrier detection
17444 * src/nm-dbus-device.c
17445 - New "getHWAddress" dbus method on devices
17446 - getSupportsCarrierDetect -> getDriverSupportLevel
17448 2005-03-31 Dan Williams <dcbw@redhat.com>
17450 * src/NetworkManagerDevice.c
17451 - (nm_device_wireless_scan): Fix leak of scan results in some
17454 2005-03-29 Dan Williams <dcbw@redhat.com>
17456 * src/NetworkManager.c
17457 - (nm_poll_and_update_wireless_link_state): make code less indented
17459 Patch from Bill Moss:
17460 * src/NetworkManager.c
17461 - (nm_device_update_link_state): Update signal strength on wireless
17462 devices every time we update link state too.
17464 2005-03-29 Dan Williams <dcbw@redhat.com>
17466 * src/NetworkManagerDevice.c
17467 - (nm_device_set_essid): Work around Orinoco cards which need
17468 extra time after setting the ESSID
17470 2005-03-29 Dan Williams <dcbw@redhat.com>
17472 * src/NetworkManagerDevice.c
17473 - Merge one more bit of Peter Jones' completion patch
17475 2005-03-29 Dan Williams <dcbw@redhat.com>
17477 * src/NetworkManagerDevice.c
17478 - (nm_device_force_use): Fix possible segfault
17480 2005-03-29 Dan Williams <dcbw@redhat.com>
17482 * src/NetworkManagerDevice.c
17483 - Use iw_get_ext() where we should rather than iw_set_ext()
17485 2005-03-29 Dan Williams <dcbw@redhat.com>
17487 * src/NetworkManagerDevice.c
17488 - (nm_device_set_up_down): remove check for unsupported devices
17489 that caused NM to not bring devices up when they were
17490 added to the device list.
17492 2005-03-28 Dan Williams <dcbw@redhat.com>
17494 * src/NetworkManagerDevice.c
17495 - (mdio_read): Fix two bugs that caused all devices to fail
17496 the MII carrier detection support checks
17498 2005-03-26 Dan Williams <dcbw@redhat.com>
17500 * src/NetworkManagerDevice.c
17501 - (nm_device_wireless_scan): Remove duplicated scanning code
17503 2005-03-25 Dan Williams <dcbw@redhat.com>
17505 * panel-applet/NMWirelessApplet.c
17506 - (nmwa_about_cb): Add some more contributors
17507 - (nmwa_update_state): show the applet when there's no connection
17508 - Enable the "Stop/Resume all wireless devices" option in the
17510 - New "no connection" icon
17512 * src/NetworkManager.c
17513 - (nm_poll_and_update_wireless_link_state): don't do anything if
17514 wireless is disabled or we're asleep
17516 * src/NetworkManagerDHCP.c
17517 - Remove trailing "\n" on debug messages
17519 * src/NetworkManagerDbus.c
17520 - (nm_dbus_network_status_from_data): new state "asleep"
17522 * src/NetworkManagerDevice.c
17523 - Merge most of Peter Jones' "completion" patch that greatly reduces
17524 latency and wait times for most operations
17525 - (nm_device_wireless_scan): Don't scan when asleep
17527 * src/NetworkManagerPolicy.c
17528 - (nm_policy_get_best_device): return no device when asleep
17529 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17530 for all wireless devices on update, not just active device
17532 * src/NetworkManagerUtils.c
17533 - Merge Peter Jones' "completion" patch
17536 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17537 we're told to disable them
17538 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17541 - New variants of the warn/info/error/debug print functions that can take
17542 variables rather than static strings
17544 2005-03-24 Dan Williams <dcbw@redhat.com>
17546 * src/NetworkManagerUtils.c
17547 - (nm_get_device_driver_name): driver names are now on the parents of
17548 "Network Interface" objects, so look for them there
17550 2005-03-24 Dan Williams <dcbw@redhat.com>
17553 - Escape some forgotten object paths before we shove them through dbus
17555 2005-03-24 Dan Williams <dcbw@redhat.com>
17557 * dhcpcd/dhcpcd.[ch]
17558 src/NetworkManagerDHCP.c
17559 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17560 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17562 * src/NetworkManagerDbus.c
17565 * src/nm-dbus-dhcp.c
17566 - Make the API suck less. There is now only 1 type of each function,
17567 ie only "getInteger" and no longer also "getIntegerv". All types
17568 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17569 that will never have more than 1 element. This should simplify
17572 * test/nm-dhcp-opt-test.c
17573 - Make the tool not segfault
17574 - adapt to new DHCP Options API
17576 2005-03-22 Dan Williams <dcbw@redhat.com>
17578 * src/NetworkManager.c
17579 - (nm_wired_link_deactivated): actually ignore netlink events from
17582 2005-03-22 Dan Williams <dcbw@redhat.com>
17584 * src/NetworkManager.c
17585 - (nm_wired_link_activated): actually ignore netlink events from
17588 2005-03-17 Dan Williams <dcbw@redhat.com>
17590 Patch from Tom Parker:
17591 * src/nm-netlink-monitor.c
17593 * info-daemon/NetworkManagerInfoDbus.c
17594 - (nmi_dbus_update_network_auth_method): free GConf values
17596 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17597 * src/NetworkManagerDevice.c
17598 - (nm_device_set_wireless_config): wait for successful
17599 association longer for some cards (Atheros a/b/g)
17601 2005-03-15 Ray Strode <rstrode@redhat.com>
17603 * src/NetworkManager.c:
17604 (sigterm_pipe_handler):
17607 2005-03-15 Ray Strode <rstrode@redhat.com>
17609 * src/NetworkManagerDbus.c:
17610 Fix some sign weirdness that gcc4 doesn't like,
17611 and add a header file so PPC can hopefully find
17614 2005-03-14 Ray Strode <rstrode@redhat.com>
17616 Fourth (probably working) cut at porting to
17617 dbus 0.30 api and new hal. This cut adds
17618 some new logging macros to make debugging
17621 * dispatcher-daemon/NetworkManagerDispatcher.c:
17622 * info-daemon/NetworkmanagerInfo.c:
17623 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17624 * info-daemon/NetworkManagerInfoVPN.c:
17625 * src/NetworkManager.c:
17626 * src/NetworkManagerAP.c:
17627 * src/NetworkManagerAPList.c:
17628 * src/NetworkManagerDHCP.c:
17629 * src/NetworkManagerDbus.c:
17630 * src/NetworkManagerDevice.c:
17631 * src/NetworkManagerPolicy.c:
17632 * src/NetworkManagerSystem.c:
17633 * src/NetworkManagerUtils.c:
17634 * src/NetworkManagerWireless.c:
17636 * src/nm-dbus-nm.c:
17637 * src/backends/NetworkManagerDebian.c:
17638 * src/backends/NetworkManagerGentoo.c:
17639 * src/backends/NetworkManagerRedHat.c:
17640 * src/backends/NetworkManagerSlackware.c:
17641 use new logging macros.
17643 * dispatcher-daemon/NetworkManagerDispatcher.c:
17644 (nmd_dbus_filter): s/dbus_free/g_free/
17646 * info-daemon/Makefile.am: link in utils library.
17647 * info-daemon/NetworkmanagerInfo.c: use new logging
17649 (nmi_dbus_get_network): don't assume enumerations
17651 (nmi_dbus_nmi_message_handler): don't free what
17652 doesn't belong to us.
17654 * libnm_glib/libnm_glib.c:
17655 (libnm_glib_get_nm_status):
17656 (libnm_glib_init): don't free what doesn't
17658 (libnm_glib_dbus): strdup result, so it doesn't get
17659 lost when message is unref'd.
17661 * panel-applet/NMWirelessAppletDbus.c:
17662 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17664 * src/NetworkManager.c:
17665 (nm_monitor_wired_link_state): request initial status
17666 dump of all cards when we start up, instead of relying
17667 on /sys/.../carrier.
17668 (nm_info_handler), (nm_set_up_log_handlers):
17669 log handlers to specify what syslog priorites
17670 the logging macros default to.
17672 * src/NetworkManagerAPList.c:
17673 (nm_ap_list_populate_from_nmi):
17674 s/dbus_free_string_array/g_strfreev/
17676 * src/NetworkManagerDbus.c:
17677 (nm_dbus_get_network_object):
17678 validate d-bus message argument types.
17679 Advance message iterator after reading argument,
17680 prepend instead of append to GSList.
17682 * src/NetworkManagerDevice.c:
17683 (nm_device_probe_wired_link_status):
17684 remove redundant /sys in /sys path. remove wrong
17685 contents == NULL means has carrier assumption.
17687 * src/nm-netlink-monitor.c
17688 (nm_netlink_monitor_request_status): implement
17689 function to ask kernel to dump interface link
17690 status over netlink socket.
17692 * test/*.c: s/dbus_free/g_free/
17694 * utils/nm-utils.h:
17695 (nm_print_backtrace): new macro to print backtrace.
17696 (nm_get_timestamp): new macro to get sub-second precise
17698 (nm_info), (nm_debug), (nm_warning), (nm_error):
17699 new logging functions. nm_info just prints,
17700 nm_debug includes timestamp and function,
17701 nm_warning includes function, nm_error includes
17702 backtrace and sigtrap.
17704 2005-03-11 Ray Strode <rstrode@redhat.com>
17706 Third (unfinished, partially working) cut at porting to
17707 dbus 0.30 api and new hal.
17709 * info-daemon/NetworkManagerInfoDbus.c:
17710 don't free null arrays.
17712 * panel-applet/NMWirelessAppletDbus.c:
17713 * src/nm-dbus-device.c:
17714 * src/nm-dbus-net.c:
17715 * src/NetworkManagerDbus.c: more
17716 STRING -> OBJECT_PATH fun
17717 * src/NetworkManagerDevice.c:
17718 * src/NetworkManagerDevice.h:
17719 (rename nm_device_get_link_active): rename to
17720 nm_device_has_active_link
17721 (nm_device_wireless_link_active): rename to
17722 nm_device_probe_wireless_link_state
17723 (nm_device_wired_link_active): rename to
17724 nm_device_probe_wired_link_state. Rewrite to
17725 use carrier file since hal doesn't maintain
17726 link state anymore.
17727 (nm_device_update_link_active): rename to
17728 nm_device_update_link_state
17729 * src/NetworkManagerPolicy.c
17730 (nm_policy_activation_finish): check for NULL
17734 * src/NetworkManagerMain.h:
17735 * src/NetworkManager.c:
17736 * src/nm-netlink-monitor.c:
17737 * src/nm-netlink-monitor.h: New class to support
17738 monitoring wired ethernet link status, since HAL
17739 doesn't export that information anymore.
17741 2005-03-09 Ray Strode <rstrode@redhat.com>
17743 Second (unfinished, unworking) cut at porting to
17746 * dispatcher-daemon/NetworkManagerDispatcher.c:
17747 * info-daemon/NetworkManagerInfoDbus.c:
17748 * panel-applet/NMWirelessAppletDbus.c:
17749 * src/NetworkManagerDbusUtils.c:
17750 * src/NetworkManagerDbusUtils.h:
17751 * src/nm-dbus-device.c:
17752 * src/nm-dbus-nm.c:
17753 * test/nmtest.c: support dbus "object path" type
17757 * info-daemon/Makefile.am:
17758 * libnm_glib/Makefile.am:
17759 * panel-applet/Makefile.am:
17760 * dispatcher-daemon/Makefile.am
17762 * test/Makefile.am:
17763 * utils/Makefile.am:
17764 * utils/nm-utils.c:
17765 * utils/nm-utils.h: new utils static lib
17767 2005-03-07 Ray Strode <rstrode@redhat.com>
17769 * info-daemon/NetworkManagerInfoDbus.c:
17770 * libnm_glib/libnm_glib.c:
17771 * panel-applet/NMWirelessAppletDbus.c:
17772 * src/NetworkManager.c:
17773 * src/NetworkManagerDbus.c:
17774 * src/NetworkManagerDevice.c:
17775 * src/NetworkManagerUtils.c:
17776 * src/nm-dbus-device.c:
17777 * src/nm-dbus-dhcp.c:
17778 * src/nm-dbus-net.c:
17779 * src/nm-dbus-nm.c:
17780 * test/nminfotest.c:
17781 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17783 2005-03-04 Dan Williams <dcbw@redhat.com>
17788 2005-03-04 Dan Williams <dcbw@redhat.com>
17790 Patch from Peter Jones:
17791 - Make stuff work with gcc 4.0
17793 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17795 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17797 2005-02-27 Jim Huang <jserv@kaffe.org>
17799 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17801 2005-02-27 Dan Williams <dcbw@redhat.com>
17803 Patch from Bill Moss:
17804 * panel-applet/NMWirelessAppletDbus.c
17805 - Make sure strength for current access point is up-to-date when we
17806 update the gui data model
17808 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17810 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17812 2005-02-27 Dan Williams <dcbw@redhat.com>
17814 * src/backends/NetworkManagerRedHat.c
17815 - (nm_system_init): Kill any dhclient processes lying around as well
17816 as stopping 'nifd' if its already been started. NetworkManager
17817 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17819 2005-02-27 Dan Williams <dcbw@redhat.com>
17821 * panel-applet/NMWirelessApplet.c
17822 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17823 dbus data model, not the GUI data model twice.
17825 2005-02-27 Dan Williams <dcbw@redhat.com>
17827 * panel-applet/NMWirelessApplet.[ch]
17828 panel-applet/NMWirelessAppletDbus.[ch]
17829 - Move to incremental network updates. Instead of blowing away our list
17830 of devices every time we get a signal from NetworkManager, we now
17831 incrementally add/remove networks when NetworkManager notifies us that
17832 a new network has appeared or disappered. Strength updates now happen
17833 on-the-fly for each access point as well. There are now two copies of
17834 data from NetworkManager: one for the dbus side, and one for the gui side.
17835 When the dbus side data is modified, it is copied over to the gui side
17836 so we don't have to hold the data_mutex for long periods of time (and
17837 therefore block animation of the applet's icon).
17838 - Clean up some memleaks too
17840 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17841 - Minor code beautification
17843 * src/NetworkManagerAPList.c
17844 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17845 completely new and whether or not an existing one's strength was updated.
17846 Try to fix multiple access points and signal strength by using the highest
17847 signal strength in each scan for any given ESSID.
17849 * src/NetworkManagerDbus.[ch]
17850 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17851 wireless networks; now we have only WirelessNetworkUpdate which includes
17852 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17853 - Kill usage of DbusMessageIter
17855 * src/NetworkManagerDevice.c
17856 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17857 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17858 AP rather than all-at-once. Also don't ever remove the AP a card is
17859 currently associated with from the network list.
17860 - Update for new signals during scan, send out Appeared, Disappeared, or
17861 StrengthChanged when necessary.
17863 2005-02-25 Dan Williams <dcbw@redhat.com>
17866 - Line break the README
17868 2005-02-25 Dan Williams <dcbw@redhat.com>
17870 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17871 - Remove usage of gtk_window_set_default_size()
17873 * panel-applet/essid.glade
17874 - Stick default size here
17875 - Add in random crap that current glade wants to add in now
17877 2005-02-25 Dan Williams <dcbw@redhat.com>
17879 * src/backends/NetworkManagerRedHat.c
17880 - For non-caching-nameserver/non-named case, ensure that nscd is running
17881 and that we actually tell nscd to reload the hosts cache when it changes
17883 2005-02-25 Dan Williams <dcbw@redhat.com>
17885 * info-daemon/NetworkManagerInfoDbus.c
17886 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17888 * test/nminfotest.c
17889 - Whack usage of DbusMessageIter
17890 - Clean up DbusError and DbusMessage handling and freeing
17891 - Remove unused unregister handler
17894 - Whack usage of DbusMessageIter
17896 * test/nmtestdevices.c
17897 - Whack usage of DbusMessageIter
17899 2005-02-25 Dan Williams <dcbw@redhat.com>
17902 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17905 2005-02-25 Dan Williams <dcbw@redhat.com>
17907 * named/nm-named-manager.c
17908 - Ensure that pid and watch variables for child named process get cleared out
17909 when the child goes away.
17911 2005-02-22 Dan Williams <dcbw@redhat.com>
17913 * src/NetworkManagerPolicy.c
17914 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17915 and NULL out data->active_device so that we have to choose another one.
17916 This may make NetworkManager keep attempting to connect to a wired network
17917 if it fails, but if it keeps failing the wired network has more problems than
17918 just NetworkManager.
17920 * src/backends/NetworkManagerRedHat.c
17921 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17924 * named/nm-named-manager.c
17925 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17926 named so that the distro can flush whatever name service caching
17929 2005-02-21 Dan Williams <dcbw@redhat.com>
17931 * src/NetworkManagerDHCP.[ch]
17932 - (nm_device_dhcp_remove_timeouts): new function
17934 * src/NetworkManagerDevice.c
17935 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17936 remove the DHCP timeouts.
17938 2005-02-21 Dan Williams <dcbw@redhat.com>
17940 * panel-applet/NMWirelessApplet.[ch]
17941 panel-applet/menu-info.[ch]
17942 - Give the panel applet some major love: menu items are no longer
17943 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17944 This allows the applet to actually reflect theme changes correctly,
17945 since themeing of subclassed items in GTK _sucks_.
17947 2005-02-18 Dan Williams <dcbw@redhat.com>
17949 * libnm_glib/libnm_glib.[ch]
17950 test/libnm_glib_test.c
17951 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17952 and its data, and doesn't have to free the callback data anymore
17954 2005-02-18 Dan Williams <dcbw@redhat.com>
17956 * panel-applet/NMWirelessApplet.c
17957 - Revert 2005-02-18 William Jon McCann fix for standard
17958 copyright string until it passes 'make distcheck'.
17959 With standard copyright string, xgettext complains
17960 about "Non-ASCII string at ...".
17962 2005-02-18 Dan Williams <dcbw@redhat.com>
17964 * panel-applet/essid.glade
17965 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17966 - Correct spelling of "adaptor"->"adapter"
17968 2005-02-18 William Jon McCann <mccann@jhu.edu>
17970 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17971 (nmwa_about_cb): Use standard copyright string. Update comment
17972 text to reflect that it is a notification area applet. Remove
17973 leading newline in authors list.
17974 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17975 instead of on parent menu item activation. Fixes #167550.
17977 2005-02-18 William Jon McCann <mccann@jhu.edu>
17979 * panel-applet/essid.glade: Capitalize items as per HIG.
17982 2005-02-16 William Jon McCann <mccann@jhu.edu>
17984 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17985 files for GTK 2.4 or lower, since now public in GTK 2.6.
17987 * panel-applet/essid.glade: Don't specify window size.
17989 2005-02-17 Dan Williams <dcbw@redhat.com>
17991 Caught by Bill Moss:
17993 - Time remaining for DHCP transaction calculation was incorrectly
17994 inside a #ifdef DEBUG
17996 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17998 * configure.in: Added fr (French) to ALL_LINGUAS.
18000 2005-02-14 Dan Williams <dcbw@redhat.com>
18002 * src/NetworkManagerDHCP.c
18003 - (set_domain_searches): Fix free of invalid pointer
18005 2005-02-14 Dan Williams <dcbw@redhat.com>
18007 Patch from Peter Jones:
18009 - Ensure we return RET_DHCP_CEASED everywhere we should
18010 * dhcpcd/udpipgen.c
18011 - Use faster TOS for IP packets
18012 - Don't set ip_id since we're UDP
18014 Patch from Tomislav Vujec:
18015 * src/nm-dbus-dhcp.c
18016 test/nm-dhcp-opt-test.c
18017 - Clean up warnings to enable cvs tree compilation.
18019 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
18023 - Add the Croatian locale.
18025 2005-02-14 Colin Walters <walters@verbum.org>
18027 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
18028 list of domains to search.
18030 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
18032 2005-02-13 Dan Williams <dcbw@redhat.com>
18035 - Debug output cleanups of DHCP option printing and parsing.
18037 2005-02-13 Dan Williams <dcbw@redhat.com>
18039 Patch from Dan Reed: DHCP options D-BUS API
18040 Exposes the DHCP options that a device receives to clients over D-BUS.
18046 - Correct names, option length, and types for DHCP options
18048 * dhcpcd/dhcpcd.[ch]
18049 - Clarify function names that access DHCP options & data
18051 * src/NetworkManagerDHCP.c
18052 - Use new DHCP data access functions
18054 * src/NetworkManagerDbus.c
18055 - Message handler for DHCP functions
18057 * src/nm-dbus-dhcp.[ch] (new)
18058 - DHCP dbus methods
18060 * test/nm-dhcp-opt-test.c
18061 - Test DHCP D-BUS API and return all present DHCP options
18063 2005-02-12 Dan Williams <dcbw@redhat.com>
18066 test/nmclienttest.c
18068 - Move nmclienttest.c -> nmtest.c
18070 2005-02-12 Dan Williams <dcbw@redhat.com>
18072 * dhcpcd/buildmsg.c
18073 - Pad DHCP packets until they are at least 300 bytes in size.
18075 2005-02-11 Dan Williams <dcbw@redhat.com>
18078 - (dhcp_init): only print out client ID and class ID if they are specified
18080 * src/NetworkManagerDbus.[ch]
18081 src/nm-dbus-nm.[ch]
18082 src/nm-dbus-device.[ch]
18083 src/nm-dbus-net.[ch]
18084 - Move NM, Device, and Net functions to separate files and use the
18085 dbus method list stuff in NetworkManagerDbusUtils.c to do
18088 * src/NetworkManagerDbusUtils.c
18089 - Add new validate_method called before each dispatch (if present)
18090 that can validate the method call
18092 * src/NetworkManagerWireless.c
18093 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
18094 levels never to be evaluated
18096 Patch from j@bootlab.org
18097 * src/NetworkManagerDevice.c
18098 - Add typedef for "u64"
18100 * src/backends/NetworkManagerDebian.c
18101 - Copy in Dave Woodhouse's fixes for IPv6
18103 2005-02-11 Dan Williams <dcbw@redhat.com>
18105 Patch from Dave Woodhouse for IPv6:
18106 * src/NetworkManagerUtils.c
18107 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
18108 and multicast addresses
18110 * src/NetworkManagerDevice.c
18111 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
18112 after bringing up a card.
18114 2005-02-10 Dan Williams <dcbw@redhat.com>
18116 Patch from Dave Woodhouse:
18117 * src/NetworkManagerSystem.h
18118 src/backends/NetworkManagerDebian.c
18119 src/backends/NetworkManagerGentoo.c
18120 src/backends/NetworkManagerSlackware.c
18121 - New nm_system_device_add_ip6_link_address() function to add link-local
18122 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
18124 * src/backends/NetworkManagerRedHat.c
18125 - (nm_system_device_add_ip6_link_address): implement
18126 - (nm_system_device_flush_addresses): revert to previous behavior of
18127 flushing all addresses
18129 2005-02-10 Dan Williams <dcbw@redhat.com>
18131 Patch from Tom Parker:
18132 * src/NetworkManagerDevice.c
18133 - Remove the "#include <pci/types.h>" since both the ethtool.h and
18134 mii.h headers are broken, and instead use our own typedefs
18136 2005-02-10 Dan Williams <dcbw@redhat.com>
18138 * dhcpcd/buildmsg.c
18139 - (fill_host_and_class_id): only fill in client and class IDs if
18140 they are set by callers.
18143 - (class_id_setup): don't autogenerate a class ID, only use one
18144 we're given, if any.
18145 - (client_id_setup): don't autogenerate a client ID, only use one
18146 we're given, if any.
18149 - (dhcp_interface_init): ensure that client options are correctly
18152 * src/NetworkManagerDHCP.c
18153 - (nm_device_dhcp_request): pass hostname to dhcp library
18155 2005-02-10 Dan Williams <dcbw@redhat.com>
18158 - #rh147661# Don't send kernel version in DHCP requests
18160 * src/NetworkManagerSystem.h
18161 src/backends/NetworkManagerDebian.c
18162 src/backends/NetworkManagerGentoo.c
18163 src/backends/NetworkManagerRedHat.c
18164 src/backends/NetworkManagerSlackware.c
18165 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
18166 functions, they are no longer used anyway
18168 * src/backends/NetworkManagerRedHat.c
18169 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
18170 addresses in an attempt to keep IPv6 local-scope addresses around
18172 2005-02-10 Dan Williams <dcbw@redhat.com>
18174 * src/NetworkManager.c
18175 - (nm_create_device_and_add_to_list): change the add message slightly
18177 * src/NetworkManagerUtils.c
18178 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
18179 Return driver name to calling function
18180 - (nm_get_driver_support_level): print out the driver a device is using
18181 during the support check
18183 Patch from Dave Woodhouse:
18184 * dhcpcd/udpipgen.c
18185 - (in_cksum): copy last byte of odd-sized packets into a
18186 'u_short' rather than a 'u_char', should fix wrong checksums
18187 on big-endian platforms
18189 2005-02-09 Dan Williams <dcbw@redhat.com>
18191 * Clean up usage of GSList objects and looping through their members
18192 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
18194 * Fix problem where even if scanning was turned off, card would still
18195 cycle through frequencies.
18197 2005-02-08 Dan Williams <dcbw@redhat.com>
18199 * panel-applet/NMWirelessApplet.c
18202 2005-02-08 Dan Williams <dcbw@redhat.com>
18204 Patch from Bill Moss
18205 * panel-applet/NMWirelessApplet.c
18206 - Restore correct ESSID in tooltips
18208 2005-02-07 Dan Williams <dcbw@redhat.com>
18210 * panel-applet/NMWirelessApplet.[ch]
18211 - Add a context menu that contains:
18212 Pause/Resume Wireless Scanning
18213 Stop/Start All Wireless Devices
18215 - Grab active device strength off active device,
18218 * panel-applet/NMWirelessAppletDbus.[ch]
18219 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
18220 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
18221 - Update active device strength every 2 seconds, not every 1 second
18223 * panel-applet/menu-info.c
18224 - Only disable wired devices in the menu when they support carrier detection,
18225 and don't currently have a link. Non-carrier-detect devices will always
18229 src/NetworkManagerDbusUtils.[ch]
18230 - Add new new dbus utils sources
18232 * src/NetworkManager.c
18233 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
18234 with the boolean parameter
18235 - Set scanning_enabled & wireless_enabled to TRUE
18237 * src/NetworkManagerDbus.c
18238 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
18239 - Implement scanning & wireless enable/disable calls
18240 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
18242 * src/NetworkManagerDevice.c
18243 - New link detection stuff again...
18244 o Create device's mainloop earlier (but don't run it earlier)
18245 o Hook up new carrier-detect support stuff
18246 o Add in the ethtool & mii support detection code
18247 - Don't scan if scanning is disabled
18249 * src/NetworkManagerPolicy.c
18250 - Never automatically choose a device that doesn't support carrier detection
18251 - Don't automatically choose a wireless device if wireless is disabled
18253 2005-02-07 Dan Williams <dcbw@redhat.com>
18255 * libnm_glib/libnm_glib.c
18256 - Small cleanup in element list iteration
18258 2005-02-07 Dan Williams <dcbw@redhat.com>
18260 * src/NetworkManagerWireless.c
18261 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
18262 to be in line with the WEXT quality specification
18264 2005-02-02 Dan Williams <dcbw@redhat.com>
18266 Patch from Nathan Fredrickson <nathan@silverorange.com>
18267 * Fix up compile for deprecation of libgnomeui
18268 - Switch to <glib/gi18n.h> from <libintl.h>
18269 - Remove <libgnomeui/libgnomeui.h> includes
18270 - Use gtk_window_set_default_icon_from_file() rather than
18271 gnome_window_set_default_icon_from_file()
18273 * named/nm-named-manager.c
18274 - (generate_named_conf): Fix return-nothing in non-void
18277 2005-02-02 Dan Williams <dcbw@redhat.com>
18279 * Clean up unused variables and the like
18281 2005-02-02 Dan Williams <dcbw@redhat.com>
18283 * src/NetworkManagerAPList.c
18284 - (nm_ap_list_merge_scanned_ap): merge strength too
18286 * src/NetworkManagerUtils.c
18287 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
18288 of locking issues by printing out prettier information than g_mutex_lock
18289 - Print out names of mutexes registered with nm_register_mutex_desc()
18290 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
18291 us to seemingly block here for too long
18293 * src/NetworkManager.c
18294 src/NetworkManagerAPList.c
18295 src/NetworkManagerDevice.c
18296 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
18297 so we get better debug information printed
18299 * src/NetworkManagerDbus.c
18300 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
18301 since it sometimes has locking side effects
18302 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
18304 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
18305 we don't need a switch. This gets called often enough that we can't block
18306 until the scan mutex is acquired, because we'll block on device activation
18307 and a few other things, which hangs main thread for too long.
18309 * src/NetworkManagerPolicy.c
18310 - (nm_policy_auto_get_best_device): reduce the possiblity that
18311 nm_device_need_ap_switch() will be called
18313 2005-02-02 Dan Williams <dcbw@redhat.com>
18315 * panel-applet/NMWirelessApplet.c
18316 - Display name of wireless network we are connecting to or connected to
18317 in the tooltip of the applet
18319 2005-02-02 Dan Williams <dcbw@redhat.com>
18321 * src/NetworkManagerDHCP.c
18322 - Hopefully fix double-default-route problem by cleaning up the default
18323 route added by DHCP code right before the DHCP transaction begins
18325 2005-02-02 Dan Williams <dcbw@redhat.com>
18327 * named/nm-named-manager.c
18328 - Write out valid resolv.conf when we exit
18330 2005-02-01 Dan Williams <dcbw@redhat.com>
18332 Patch from Colin Walters:
18333 * named/nm-named-manager.c
18334 - Make multi-domain search options work
18336 2005-01-31 Dan Williams <dcbw@redhat.com>
18338 * info-daemon/NetworkManagerInfoDbus.c
18339 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18341 * src/NetworkManagerDevice.c
18342 - (nm_device_new): Don't store the entire range struct, use only what we need
18343 (which is currently avg_quality, max_quality, and frequencies). Also
18344 zero device structure when we've free'd it to maybe expose errors down
18346 - (nm_device_update_signal_strength): grab the scan mutex before getting
18347 quality data from the card since quality will be useless during a scan.
18348 Call updated wireless qual-to-percent function with values stored in
18349 nm_device_new() earlier.
18350 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18351 nm_device_get_bad_crypt_packets())
18352 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18354 - (get_initial_auth_method): always use the Auth method that's in the allowed
18355 list if available. Problem was this: when the WEP key is wrong, NM will
18356 try OS then SK modes, and then get stuck in SK mode after that. This
18358 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18361 * src/NetworkManagerWireless.c
18362 - (nm_wireless_qual_to_percent): try to make this function actually work and
18363 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18364 if that's all present, otherwise fall back to signal-to-noise ratios.
18366 2005-01-29 Dan Williams <dcbw@redhat.com>
18368 * initscript/RedHat/NetworkManager
18369 - Don't spit out sysctl stuff to console
18371 * libnm_glib/libnm_glib.c
18372 - (libnm_glib_init): call dbus_g_thread_init()
18374 * panel-applet/NMWirelessAppletDbus.c
18375 - (nmwa_dbus_worker): call dbus_g_thread_init()
18377 * src/NetworkManager.c
18378 - (main): call dbus_g_thread_init()
18380 * src/NetworkManagerAPList.c
18381 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18382 so we can actually see what's there in a normal syslog
18384 * src/NetworkManagerDevice.c
18385 - (nm_device_activate_wireless): print out the "waiting for access point"
18386 message only once, then say what access point we actually got after
18388 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18389 function, wait until the scan is done. Scans may change the ESSID of
18390 the card, making this function think we need to switch access points
18391 - (nm_device_wireless_process_scan_results): for artificial access points
18392 don't check against the card's ESSID, but the best_ap's ESSID. This
18393 prevents collisions with the scanning code, which may change the card's
18394 ESSID and cause the access point to get dropped from the device's AP
18395 list. Also increase the keep-around time to 2m from 60s since the max
18396 scan interval could be 60s in some cases.
18398 * src/NetworkManagerPolicy.c
18399 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18400 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18401 the new properties and ESSIDs to the device's AP list. Fixes some races
18402 between NM and NMI.
18404 2005-01-27 Dan Williams <dcbw@redhat.com>
18406 * info-daemon/NetworkManagerInfoDbus.c
18407 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18408 GConf, make a minimal entry for it (essid & timestamp)
18410 * src/NetworkManagerAPList.c
18411 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18412 NetworkManagerInfo isn't running
18414 * src/NetworkManagerDbus.[ch]
18415 - (nm_dbus_nmi_is_running): new function
18417 * src/NetworkManagerDevice.c
18418 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18419 address to garbage.
18421 * src/NetworkManagerPolicy.c
18422 - (nm_policy_activation_finish): On successful activation, make sure
18423 the "best" AP has a MAC address, and don't tell NMI to add the
18424 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18425 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18426 access point after refreshing our allowed list if it doesn't already
18427 have a "best" access point.
18429 2005-01-25 Dan Williams <dcbw@redhat.com>
18431 * panel-applet/NMWirelessAppletDbus.c
18432 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18433 so we check for NM_DBUS_SERVICE rather than not for it
18435 * libnm_glib/libnm_glib.c
18436 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18437 ServiceOwnerChanged signal
18439 2005-01-25 Dan Williams <dcbw@redhat.com>
18442 - Check DBUS version in configure, and set the C macros
18443 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18445 * info-daemon/NetworkManagerInfoDbus.c
18446 - Remove #if 0-d section of code that quit NMI if NM went away.
18448 * panel-applet/NMWirelessAppletDbus.c
18449 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18451 * src/NetworkManager.c
18452 src/NetworkManagerMain.h
18453 src/NetworkManagerDbus.c
18454 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18455 - Make updating of our Allowed Wireless Network lists from NMI
18456 an idle function in the main thread now, with a high priority.
18458 2005-01-24 Dan Williams <dcbw@redhat.com>
18460 * panel-applet/gtkcellview.[ch]
18461 panel-applet/menu-info.c
18462 - Fix GTK version checks to be <= rather than <
18465 - Include the libtool archive of libnm_glib rather than
18466 trying to pull in the .so
18468 2005-01-24 Dan Williams <dcbw@redhat.com>
18470 * src/NetworkManagerDevice.c
18471 src/NetworkManagerDevicePrivate.h
18472 - Block nm_device_new() until our device's worker thread has had a
18473 chance to start up. Fixes a race between main thread and worker
18474 thread starting that caused activation requests to get lost.
18476 2005-01-24 Dan Williams <dcbw@redhat.com>
18478 * initscript/RedHat/NetworkManager
18479 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18480 to add the NM startup script at priority 50, which was
18483 2005-01-24 Colin Walters <walters@redhat.com>
18485 * named/named.conf: Use any port for query source instead of
18486 restricting to port 53.
18488 2005-01-24 Dan Williams <dcbw@redhat.com>
18490 * initscript/RedHat/NetworkManager
18491 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18492 to add the NM startup script at priority 50, which was
18495 2005-01-24 Dan Williams <dcbw@redhat.com>
18497 Patch from Tom Parker <palfrey@tevp.net>
18498 * Fix up compile warnings & errors in the wireless applet
18500 2005-01-24 Dan Williams <dcbw@redhat.com>
18502 * panel-applet/NMWirelessApplet.c
18503 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18505 2005-01-24 Dan Williams <dcbw@redhat.com>
18507 * panel-applet/gtkcellview.[ch]
18508 - Only compile these files for GTK 2.4 or lower, since
18509 GtkCellView is now public in GTK 2.6. Fixes crasher
18510 when choosing "Other Wireless Networks" from the panel
18513 2005-01-21 Dan Williams <dcbw@redhat.com>
18515 * src/NetworkManager.c
18516 - Daemonize earlier so that glib doesn't get confused (?)
18518 2005-01-21 Dan Williams <dcbw@redhat.com>
18520 * panel-applet/NMWirelessApplet.[ch]
18521 panel-applet/NMWirelessAppletDbus.c
18522 panel-applet/menu-info.c
18523 src/NetworkManagerDevice.c
18524 - Disable wired devices in the menu when they have no link.
18526 2005-01-21 Dan Williams <dcbw@redhat.com>
18528 * Cache last-known-good wireless authentication method in
18529 NetworkManagerInfo, and use that method first during
18530 wireless device activation. Should speed up devices that
18531 need Shared Key authentication method since Open System is
18534 * Remove the hack to not do full activation on wired connections
18535 that are active when we launch, it causes too many problems
18536 with name resolution and was a hack in the first place.
18538 * Re-work wireless device activation again somewhat to have a
18539 clearer chain of events and to use last-known-good
18540 authentication method of the access point. Also provide
18541 better status throughout activation to ensure the applet
18542 can tell the user exactly what's going on.
18544 * Remove the "find wireless network" code and now simply attempt
18545 to activate with that access point. This reduces the delay
18546 between selecting "Other wireless Network" and actually
18547 connecting to that network.
18549 * Correctly stop the device's worker thread when its removed.
18551 2005-01-21 Dan Williams <dcbw@redhat.com>
18554 - Clean up some of the debug messages
18556 2005-01-21 Dan Williams <dcbw@redhat.com>
18558 * Add new icons, more frames of animation
18559 * Remove some hacks to get the panel applet to display correct
18560 status, an NM update will soon follow that will fix the
18563 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18565 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18566 the first include for working i18n. Also, don't include it in .h files
18567 * panel-applet/NMWirelessApplet.h: Same
18568 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18569 * panel-applet/menu-info.c: Same
18571 2005-01-18 Dan Williams <dcbw@redhat.com>
18574 - Remove some debug messages
18575 - Wrap others in #ifdef DEBUG/#endif
18577 * src/NetworkManager.c
18578 - Remove some debug messages
18579 - Clarify some debug messages
18580 - Remove code related to old single-thread wireless scanning
18582 * src/NetworkManagerAP.[ch]
18583 - New AP property "last_seen" to track how recently an AP was
18585 - Start using 'const' more in function arguments
18587 * src/NetworkManagerAPList.[ch]
18588 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18589 of an AP found in an AP list from a source AP, or if not found
18590 in the list add the source AP
18591 - (nm_ap_list_combine): remove, no longer needed
18593 * src/NetworkManagerDevice.c
18594 - Each device now has a "worker" thread from start to end of its life.
18595 Scanning for wireless devices now happens in that thread,
18596 not in a single "wireless scanning thread" for all devices as
18597 previously. Activation consists of adding an idle handler to the
18598 thread's main loop/context, which gets run at the next available
18600 - Wireless scanning is also simplified, there is now only one list of
18601 access points per wireless device, and APs older than 60s are
18602 removed from the list. Previously, we kept results for the last
18603 3 scans and merged whole lists, which was complicated.
18604 - Cleaned up activation debug messages.
18605 - Wireless activation and access-point search routines now use Open System
18606 authentication before trying Shared Key.
18607 - Removed some code in nm_device_update_best_ap() that could cause cards
18608 to loose their link to the access point.
18609 - Scanning now uses a backoff algorithm, where the inverval becomes
18610 progressively longer between scans when the list of scanned access
18611 points doesn't change. A change will revert to the shortest scan
18614 * src/NetworkManagerWireless.[ch]
18615 - Remove code related to old single-thread wireless scanning
18617 2005-01-18 Colin Walters <walters@redhat.com>
18619 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18620 of older nameservers.
18622 2005-01-18 Colin Walters <walters@redhat.com>
18624 * named/nm-named-manager.c (generate_named_conf): Many fixes
18625 to config file generation.
18626 (safer_kill): Remove, was too much trouble for little gain.
18627 (nm_named_manager_start): Run named as NM_NAMED_USER.
18629 * configure.in: Add option --with-named-user.
18631 2005-01-14 Colin Walters <walters@redhat.com>
18633 Patch from ed@catmur.co.uk (Ed Catmur)
18635 * named/nm-named-manager.c: Add "context" property.
18636 Use it to add child watch source in specific GMainContext.
18638 * src/NetworkManager.c (nm_data_new): Initialize
18639 named with correct main context. Start named only
18642 2005-01-14 Colin Walters <walters@redhat.com>
18644 * named/nm-named-manager.c (generate_named_conf): Write config
18645 and pid files into NM_NAMED_DATA_DIR; this allows things to
18646 work better with FC3 named SELinux policy. Also fix up silly
18649 * configure.in: Add --with-named-dir option.
18651 2005-01-14 Colin Walters <walters@redhat.com>
18653 * configure.in: Make named support require passing --with-named.
18655 * named/nm-named-manager.c: Support writing resolv.conf directly
18656 without running named.
18658 2005-01-13 Dan Williams <dcbw@redhat.com>
18660 * named/nm-named-manager.c
18661 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18663 * src/NetworkManagerDevice.c
18664 - Rework wireless link detection code to be more reliable
18666 2005-01-12 Dan Williams <dcbw@redhat.com>
18668 * initscripts/RedHat/NetworkManager
18669 - Change initial level to "-" rather than "345" so that
18670 we don't activate ourselves by default on install
18672 2005-01-12 Dan Williams <dcbw@redhat.com>
18675 - Client library for applications using glib
18679 - Split NM_CFLAGS and NM_LIBS into separate variables
18680 like DBUS_*, HAL_* and GLIB_*
18682 * src/NetworkManager.c
18683 src/NetworkManagerMain.h
18684 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18685 broadcast a status changed signal over DBUS from the main thread.
18686 Still unused anywhere for the moment.
18688 Patch from j@bootlab.org
18689 * panel_applet/NMWirelessAppletDbus.c
18690 src/NetworkManagerDbus.c
18691 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18692 for the "getMode" method call
18694 2005-01-10 Dan Williams <dcbw@redhat.com>
18696 * src/NetworkManagerDevice.c
18697 - Minor fixups & corrections to "auto" frequency mode, make it
18698 less chatty with syslog
18700 2005-01-10 Dan Williams <dcbw@redhat.com>
18702 * src/NetworkManagerDevice.c
18703 - Implement "auto" frequency/channel support, since cards like Atheros
18704 can't use other frequencies at all when you've told it to use a
18705 specific one, even for scanning.
18706 - Grab the scan mutex around places where we can't tolerate wireless
18707 settings changing underneath us, like nm_device_wireless_network_exists()
18708 and nm_device_activate_wireless()
18710 * src/NetworkManagerWireless.c
18711 - Back scan interval off to 20s instead of 14s
18713 2005-01-09 Dan Williams <dcbw@redhat.com>
18715 * src/NetworkManagerDevice.c
18716 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18717 already set. Stops some drivers like Atmel from continually
18718 reloading the firmware, which they do upon every configuration
18721 2005-01-09 Dan Williams <dcbw@redhat.com>
18724 - Use correct timeout value
18726 * info-daemon/NetworkManagerInfoDbus.c
18727 src/NetworkManagerDbus.c
18728 - Consolidate communication between NM and NMI by doing only 1 dbus
18729 method call to get Wireless Network info from NMI instead of 6
18731 * src/NetworkManager.c
18732 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18733 when we didn't have an AP to use, we'd wait for one forever without
18736 * src/NetworkManagerDevice.c
18737 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18738 activation, dhcp might not have started yet but we don't quit activation
18739 before starting it, so the quit signal gets lost
18741 2005-01-07 Dan Williams <dcbw@redhat.com>
18744 - Rework the DHCP client code to be much less chatty when
18745 it receives non-DHCP UDP packets during the DHCP run
18746 (reported by and preliminary patches from Bill Moss)
18748 * Move wireless scanning to a separate thread. This thread forwards the
18749 results to the main thread when done where they are integrated into
18750 the device's access point lists. This keeps the main thread (which
18751 does all the DBUS communication) from being blocked for long periods
18752 of time by wireless scanning.
18754 * Make state modification an idle routine in the main loop, and trigger
18755 state changes rather than polling for them.
18757 * src/backends/NetworkManagerGentoo.c
18758 - Fix up invalid C90 code (reported by Christoph Ruessler)
18760 * src/NetworkManagerDevice.c
18761 - Revert IPv6 patch for wired devices from 2004-12-22 for
18762 router advertisements, causing problems and infinite loop
18763 during "best" device determination due to link going up/down
18764 (reported by Bill Moss)
18766 Apply patch from Peter Jones
18767 * src/NetworkManagerDevice.c
18768 - Shortcut for link-checking for ipw2x00 cards
18769 - Split out association check into separate routine
18771 2004-01-05 Colin Walters <walters@redhat.com>
18773 * named/named.conf: Add PID_FILE.
18775 * named/nm-named-manager.c: Always generate a pid
18776 file, since older BIND versions don't support
18779 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18781 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18783 2004-12-22 Dan Williams <dcbw@redhat.com>
18785 * src/NetworkManagerDevice.c
18786 - Silently fail when setting bitrate doesn't work
18789 Patches from j@bootlab.org:
18790 * src/backends/NetworkManagerDebian
18791 - Update backend to match functionality in RedHat backend
18792 * src/NetworkManagerDevice.c
18793 - Take down then bring up wired devices after connection so
18794 they send out ipv6 router advertisements
18796 2004-12-21 Colin Walters <walters@verbum.org>
18798 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18799 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18801 2004-12-21 Colin Walters <walters@redhat.com>
18803 * configure.in: Correct named detection.
18805 2004-12-21 Colin Walters <walters@redhat.com>
18807 * src/NetworkManager.c (nm_data_new): Initialize named.
18808 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18809 the mainloop when these signals are received.
18810 (nm_data_free): Unref named.
18811 (sigterm_handler, sigterm_pipe_handler): New functions for
18814 * src/NetworkManagerMain.h (NMData): Add signal handling and
18817 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18820 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18821 set nameservers from DHCP response data.
18822 (set_domain_search): Set domain search from DHCP response.
18823 (nm_device_dhcp_configure): Invoke them.
18825 * src/NetworkManagerSystem.c
18826 (nm_system_device_update_resolv_conf): Delete. Deleting
18827 code is totally sweet.
18829 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18831 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18832 implements an object which controls a nameserver. Currently
18835 * configure.in: Check for named.
18837 * Makefile.am (SUBDIRS): Add named dir.
18839 * named/named.conf: New template config file.
18841 2004-12-20 Colin Walters <walters@redhat.com>
18843 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18846 2004-12-17 Dan Williams <dcbw@redhat.com>
18848 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18849 link-local addresses instead of doing DHCP.
18851 * In the panel applet, there's a new "Create new Wireless Network..." item
18853 * The panel applet also sticks around now even if NetworkManager dies, but
18854 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18855 a bug, I'll fix that later.
18857 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18858 lookups after a switch rather than actually doing them.
18860 * Clean up some of those warnings in nm_ap_list_* functions
18862 * Delay between scans changed to 15s instead of 10s
18864 2004-12-15 Dan Williams <dcbw@redhat.com>
18866 Patch from Tom Parker
18867 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18870 * Longer pause after setting ESSID on cards that support a larger number
18871 of channels to give the card time to find the right channel
18873 * Add system hook to restart mDNSResponder (or whatever the local implementation
18874 of Multicast DNS is) when we activate interfaces
18876 2004-12-15 Dan Williams <dcbw@redhat.com>
18878 * Rework the DHCP code again to revert to sending full ethernet frames
18879 rather then relying on the kernel to do the right thing with our
18882 2004-12-06 Dan Williams <dcbw@redhat.com>
18885 - Fix some minor errors in dhcp_handle_transaction() that caused
18886 unexpected early timeouts of DHCP transactions
18889 - DHCP retransmit time from 4s -> 5s
18891 2004-12-05 Dan Williams <dcbw@redhat.com>
18893 * Major rework of the DHCP code, taking some cues from pump. We don't
18894 write raw Ethernet packets anymore, which simplifies the code quite
18895 a bit. The new code should be more robust, not hang in recvfrom()
18896 as much, and generally work better. This also means that we need
18897 to force HAL/dbus to use a created GMainContext rather than the
18898 default context, since having the DHCP renew/rebind thread using
18899 its own GMainContext seemed to give dbus a fit. There is also more
18900 debugging information printed from the DHCP loop to help with future
18903 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18904 assume that the default gateway should be the DHCP server.
18906 Patch from Matthew Schick <matt oss-institute org>
18907 * src/backends/NetworkManagerGentoo.c
18908 - Fix compilation error due to missing "ip4_broadcast"
18910 2004-12-03 Dan Williams <dcbw@redhat.com>
18912 * initscript/Makefile.am
18913 * initscript/Debian/NetworkManager
18914 * initscript/Gentoo/NetworkManager
18915 * initscript/RedHat/NetworkManager
18916 * initscript/NMLaunchHelper.c
18917 - Remove NMLaunchHelper, if you need to wait until the network
18918 comes up, use the dead code from CVS.
18920 2004-12-01 Colin Walters <walters@redhat.com>
18922 * configure.in: Suck in gcc warnings code from Rhythmbox,
18923 but use fewer default flags, and in particular add -Wno-unused,
18924 since the codebase has a lot of unused variables.
18926 * test/nmtestdevices.c (create_device):
18927 * test/nminfotest.c (get_network_string_property)
18928 (get_networks_of_type):
18929 * test/nmclienttest.c (main):
18930 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18931 * initscript/NMLaunchHelper.c (get_nm_status):
18932 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18933 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18934 Fix declarations after statements.
18936 2004-12-01 Colin Walters <walters@redhat.com>
18938 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18939 (nmi_dbus_get_vpn_userpass): New method.
18940 (nmi_dbus_nmi_message_handler): Invoke it.
18942 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18944 * info-daemon/NetworkManagerInfoVPN.h,
18945 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18946 to requests for VPN passwords.
18948 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18950 2004-12-01 Colin Walters <walters@redhat.com>
18952 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18955 2004-12-01 Colin Walters <walters@redhat.com>
18957 * panel-applet/NMWirelessAppletDbus.c
18958 (nmwa_dbus_update_active_device_strength): Fix missing
18961 2004-12-01 Colin Walters <walters@redhat.com>
18963 * panel-applet/NMWirelessApplet.c: Add missing include.
18965 2004-12-01 Colin Walters <walters@redhat.com>
18967 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18968 Remove useless CLAMP (); the value is unsigned, and the case tests
18969 qual->qual < 100, so the value must always be between 0 and 100.
18971 2004-12-01 Colin Walters <walters@redhat.com>
18973 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18975 2004-11-22 Colin Walters <walters@verbum.org>
18977 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18978 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18979 which is essentially a noop since nscd caches hosts on disk too.
18981 2004-11-22 Colin Walters <walters@redhat.com>
18983 * src/Makefile.am (NetworkManager_SOURCES): Add
18984 NetworkManagerDevicePrivate.h.
18986 2004-11-22 Dan Williams <dcbw@redhat.com>
18988 * src/NetworkManagerDevicePrivate.h
18989 - Split out the NMDevice struct to a different file so that stuff like
18990 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18994 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18995 need to cancel the dhcp request during the send and recv
18998 - Move the DHCP option enum to dhcpcd.h
19000 * src/NetworkManagerDHCP.c
19001 - Split out the actual IP/netmask/etc setting code
19002 - New Renew/Rebind functions
19003 - New timer setup function for renew/rebind operations
19005 * src/NetworkManagerDevice.c
19006 - For device activation, if we are using DHCP then keep the activation thread
19007 alive until device deactivation. We need to renew/rebind the DHCP address
19008 after the T1 (renew) and T2 (rebind) times have expired.
19009 - Increase some timeouts after bringing wireless cards up/down
19011 2004-11-17 Dan Williams <dcbw@redhat.com>
19013 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
19014 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
19015 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
19016 show known access points that don't broadcast their ESSID in the menus without
19017 any user intervention whatsoever.
19019 * info-daemon/NetworkManagerInfoDbus.c
19020 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
19021 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
19023 * src/NetworkManagerAP.[ch]
19024 - Add a "user_addresses" data member to the NMAccessPoint structure
19025 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
19026 the user_addresses data member
19028 * src/NetworkManagerAPList.c
19029 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
19030 the AP's reported address
19031 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
19033 * src/NetworkManagerDHCP.c
19034 - Increase DHCP timeout from 25s -> 30s
19036 * src/NetworkManagerDbus.[ch]
19037 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
19040 * src/NetworkManagerDevice.c
19041 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
19042 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
19043 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
19044 So, we take the card down to clear it out.
19045 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
19046 too, since that's where the user_addresses are
19048 * src/NetworkManagerPolicy.c
19049 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
19050 that wireless networks' user_addresses list upon successful activation
19052 2004-11-16 Dan Williams <dcbw@redhat.com>
19054 * src/NetworkManagerDevice.[ch]
19055 - (nm_device_clear_activation_fail): new function
19057 * src/NetworkManagerPolicy.c
19058 - (nm_state_modification_monitor): clear the activation_failed flag on devices
19059 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
19061 2004-11-16 Dan Williams <dcbw@redhat.com>
19063 * src/NetworkManagerDevice.c
19064 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
19065 leak the structure, better updating of now_scanning status
19066 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
19068 2004-11-15 Dan Williams <dcbw@redhat.com>
19070 Major rework of link detection code. We now use DHCP
19071 as part of the link detection which proves to be much more robust,
19072 and also supports Open System authentication for wireless networks.
19074 We no longer use external DHCP client programs. Instead, we use
19075 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
19076 which was written by:
19077 Yoichi Hariguchi <yoichi@fore.com>
19078 Sergei Viznyuk <sv@phystech.com>
19079 http://www.phystech.com/download/
19080 It resides in the "dhcpcd" directory and was refactored into a general
19081 purpose DHCP client library by me.
19083 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
19084 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
19086 2004-11-15 Dan Williams <dcbw@redhat.com>
19088 Patch from Tom Parker <palfrey@tevp.net>:
19090 * src/NetworkManagerDevice.c
19091 - Less output to console when no access
19092 points are found during a scan
19094 2004-11-15 Dan Williams <dcbw@redhat.com>
19096 Patch from Tom Parker <palfrey@tevp.net>:
19098 * src/backends/interface_parser.c
19100 - Check for inp == NULL
19103 2004-11-13 Colin Walters <walters@redhat.com>
19105 Patch from Tom Parker <palfrey@tevp.net>:
19107 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
19109 * src/backends/NetworkManagerRedHat.c: Switch to
19110 including shvar.h instead of shvar.c.
19112 * src/backends/NetworkManagerDebian.c: Don't include
19113 interface_parser.c in source file.
19115 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
19116 and interface_parser.[ch].
19117 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
19118 Include shvar.c and shvar.h here.
19119 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
19120 interface_parser.c and interface_parser.h here.
19122 2004-11-12 Colin Walters <walters@redhat.com>
19124 * configure.in: Strip out TARGET_DISTRO and
19125 SYSTEM_BACKEND_FILE variables. Switch to Automake
19128 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
19129 (libnmbackend_la_SOURCES): Use Automake conditionals
19130 to add distro-specific files.
19132 * initscript/Makefile.am (SUBDIRS): Update to
19135 2004-11-12 Colin Walters <walters@redhat.com>
19137 Patches from j bootlab org
19139 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
19140 Add interface_parser.[ch].
19142 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
19143 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
19145 2004-11-12 Colin Walters <walters@redhat.com>
19147 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
19148 call to nmi_dbus_is_running too, not necessary anymore.
19149 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
19152 2004-11-11 Colin Walters <walters@verbum.org>
19154 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
19156 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
19157 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
19158 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
19159 This avoids a race condition that made it pretty easily
19160 possible to get two NetworkManagerInfo daemons running.
19162 2004-11-11 Colin Walters <walters@verbum.org>
19164 * src/NetworkManager.c (main): Use daemon(3).
19166 * info-daemon/NetworkManagerInfo.c (main): Ditto.
19168 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
19170 2004-11-10 Dan Williams <dcbw@redhat.com>
19172 Patches from j bootlab org
19173 * src/NetworkManagerDevice.c
19174 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
19175 whether the card has a link or not, some cards are slow
19176 - (nm_device_activation_configure_ip): make ipv6 work a bit better
19178 * info-daemon/NetworkManagerInfoPassphraseDialog.c
19179 - Disable the "Login" button on the passphrase dialog until the user
19180 enters a valid passphrase or key
19182 Patches from Tom Parker <palfrey tevp net>
19183 * src/backends/NetworkManagerDebian.c
19184 - Add static IP support to the debian backend
19186 * src/backends/interface_parser.[ch]
19187 - Parse debian interface config files
19189 2004-11-08 Dan Williams <dcbw@redhat.com>
19191 * src/NetworkManagerDevice.c
19192 - Some random fprintf->syslog conversions
19193 - (nm_device_wireless_network_exists): double-check for network
19194 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
19196 * src/NetworkManagerWireless.[ch]
19197 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
19198 so that the binary->ascii conversion works (if unsigned, the bitshift
19199 will fill with zeros, which is what's required). Also mask bitshift
19200 result with 0xF for futher assurance.
19202 2004-11-06 Dan Williams <dcbw@redhat.com>
19204 * src/NetworkManagerUtils.c
19205 - (nm_get_wireless_driver_support_level): default to
19206 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
19207 flip this when changing from whitelist->blacklist of
19210 2004-11-05 Dan Williams <dcbw@redhat.com>
19212 Patch from Robert Paskowitz:
19213 * src/backends/NetworkManagerGentoo.c
19214 - Update static IP config code
19216 2004-11-05 Dan Williams <dcbw@redhat.com>
19218 * info-daemon/NetworkManagerInfoDbus.c
19219 src/NetworkManagerDbus.[ch]
19220 src/NetworkManagerDevice.c
19221 - Keep track of the # of attempts to get the WEP key
19222 from the user and pass that along to the info daemon
19224 2004-11-05 Dan Williams <dcbw@redhat.com>
19226 * src/NetworkManagerUtils.c
19227 - Blacklist wireless cards rather than whitelisting them.
19228 - Grab driver name from HAL rather than trying to find it
19231 2004-11-03 Dan Williams <dcbw@redhat.com>
19233 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
19234 - Disable OK button until valid data is entered
19235 for encryption stuff too
19237 * panel-applet/NMWirelessApplet.c
19238 - Report card strength for current AP if the card
19239 doesn't report strength data for scanned access
19242 * src/NetworkManagerDevice.c
19243 - Smooth out cards reported quality, Atmel card was
19244 intermittently reporting no quality data but soon
19247 * src/NetworkManagerWireless.c
19248 - Better quality data percentage calculation. Atmel
19249 cards (mine at least) seem to report the quality
19250 in percentage format already, so honor that
19252 Patch from <j@bootlab.org>
19254 info-daemon/NetworkManagerInfoPassphraseDialog.c
19255 info-daemon/passphrase.glade
19256 panel-applet/NMWirelessAppletOtherNetworkDialog.c
19257 panel-applet/essid.glade
19258 src/NetworkManagerAP.c
19259 src/NetworkManagerDevice.c
19260 src/NetworkManagerWireless.[ch]
19261 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
19263 2004-11-03 Dan Williams <dcbw@redhat.com>
19265 * src/NetworkManagerDevice.[ch]
19266 - (nm_device_set_enc_key): Add parameter to set Authentication
19267 Mode (Open System, Shared Key, or None). We're still using
19268 Shared Key for now though.
19270 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
19272 * panel-applet/menu-info.c: change from bold text to light
19273 colored, may cause problems with some themes, i've tested a lot
19274 and they seem fine.
19276 * panel-applet/NMWirelessApplet.c: fix strength tooltip
19278 2004-11-01 Colin Walters <walters@verbum.org>
19280 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
19281 (nm_wireless_128bit_key_from_passphrase): Add const.
19283 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
19284 (nm_ap_set_enc_key_source): Add const.
19286 2004-11-01 Colin Walters <walters@verbum.org>
19288 * .cvsignore: Update.
19290 2004-10-29 Dan Williams <dcbw@redhat.com>
19292 * src/NetworkManagerDevice.c
19293 - (nm_device_wireless_network_exists): Actually use the encryption
19294 key we got from the applet when attempting to find a wireless network
19295 - Don't bring devices down so much since on some cards it triggers
19296 firmware hotplugs each time
19298 * src/NetworkManagerDbus.c
19299 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
19302 2004-10-29 Dan Williams <dcbw@redhat.com>
19304 * src/NetworkManager.c
19305 - (nm_hal_device_property_modified): unlock a locked active
19306 wireless device when a wired connection gets a link.
19307 (Means you'll switch to wired whenever you plug in no
19310 2004-10-29 Dan Williams <dcbw@redhat.com>
19312 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
19313 - New files, implement the "Other wireless network" dialog
19315 * panel-applet/NMWirelessApplet.c
19316 - Move "other wireless network" dialog to separate file
19318 * panel-applet/NMWirelessAppletDbus.[ch]
19319 - Take key and key_type paramaters for the set_device function
19321 * panel-applet/essid.glade
19322 - Add UI bits for encryption settings
19324 * src/NetworkManagerDbus.c
19325 - Retrieve key and key_type params for "setActiveDevice" method call
19327 - unref AP returned from nm_device_get_best_ap() when needed
19329 * src/NetworkManagerDevice.c
19330 - (nm_device_get_best_ap): ref the ap before returning it
19331 - unref AP returned from nm_device_get_best_ap() when needed
19332 - (nm_device_activate_wireless): add "ap" parameter so we don't
19333 need to call nm_device_get_best_ap() here, it was pretty much
19335 - (AP_NEED_KEY): break second link check condition out into separate
19336 function, and fix segfault when ap->enc_key_source was NULL
19337 - (nm_device_find_and_use_essid): take key and key_type parameters and
19338 pass them along to nm_device_wireless_network_exists(). If the
19339 network does exist, set the passed-in key+key_type on the AP
19341 * src/NetworkManagerPolicy.c
19342 - unref AP returned from nm_device_get_best_ap() when needed
19344 2004-10-28 Dan Williams <dcbw@redhat.com>
19346 * src/NetworkManagerUtils.c
19347 - (nm_spawn_process): Fix a potential dereference of NULL
19349 Patches from Peter Jones:
19351 * src/NetworkManagerDevice.c
19352 - (nm_device_test_wireless_extensions): Better check for
19355 * src/NetworkManagerUtils.c
19356 - (nm_spawn_process): Pass in valid stdout and stderr so
19357 executed programs don't randomly SIGPIPE and fail
19358 - (nm_get_wired_driver_support_level): quash hal warning
19359 when checking for USB ethernet device
19361 2004-10-27 Dan Williams <dcbw@redhat.com>
19363 * info-daemon/NetworkManagerInfo.c
19364 info-daemon/NetworkManagerInfoDbus.c
19365 info-daemon/NetworkManagerInfoPassphraseDialog.c
19366 panel-applet/NMWirelessApplet.c
19367 - Properly escape gconf keys
19369 * src/NetworkManager.c
19370 - remove unused variables
19372 * src/NetworkManagerAP.c
19373 - (nm_ap_new_from_ap): Don't redundantly set new APs
19374 refcount since it got set in nm_ap_new()
19376 * src/NetworkManagerAPList.c
19377 - (nm_ap_list_combine): Give up ownership of newly created
19378 access points to the ap list, fixes memleak
19380 * src/NetworkManagerDevice.c
19381 - Remove cached_ap_list4 member since its not really needed
19382 - (nm_device_wireless_network_exists): Try to get correct
19383 encryption status of a found AP if its already in our
19385 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19386 memory allocs/deallocs a bit clearer and shorter-lived
19388 2004-10-26 Ray Strode <rstrode@redhat.com>
19390 * panel-applet/NMWirelessApplet.c:
19391 (custom_essid_item_selected): kill some compiler
19394 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19396 * info-daemon/NetworkManagerInfoDbus.c
19397 - (nmi_dbus_is_running): New function for determining if nmi is already running
19398 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19400 2004-10-23 Dan Williams <dcbw@redhat.com>
19402 * info-daemon/NetworkManagerInfoDbus.c
19403 - Trap the "DeviceActivationFailed" signal
19405 * docs/NetworkManager DBUS API.txt
19406 - Add "DeviceActivationFailed" signal
19408 * panel-applet/NMWirelessAppletDbus.c
19409 - Quash the "NetworkManager service not available" message
19411 * src/NetworkManagerDbus.[ch]
19412 - Add the "DeviceActivationFailed" signal
19414 * src/NetworkManagerDevice.c
19415 - Add support for activation_failed flag
19416 - Fix deadlock where activation thread didn't clean itself up, making
19417 main thread still believe it was alive forever (didn't reset activation
19418 flags like activating, just_activated, etc when IP configuration
19421 * src/NetworkManagerPolicy.c
19422 - Implement logic for DeviceActivationFailed signal, and when activation fails
19423 for wireless networks, try to fall back to some other access point
19425 2004-10-23 Dan Williams <dcbw@redhat.com>
19427 * panel-applet/NMWirelessApplet.[ch]
19428 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19429 to the applet object, so we can get tooltips
19430 - Add tooltips (RH #136866)
19432 * src/NetworkManagerDevice.c
19433 - When trying to find a wireless network, try to connect with encryption
19434 turned on first, so that we can more accurately detect whether or not
19435 we need to use encryption for the actual association later on
19437 2004-10-21 Dan Williams <dcbw@redhat.com>
19439 * Add some support for telling NetworkManagerInfo to tell the user
19440 that they are using a device that's not fully supported
19442 * Fix some assertions in debug messages due to null access point args
19444 2004-10-21 Dan Williams <dcbw@redhat.com>
19446 * src/NetworkManagerDevice.c
19447 - Don't try to activate/bring up/down unsupported
19450 * src/NetworkManagerUtils.c
19451 - Fix case of PCI ID checks for driver support levels
19453 2004-10-21 Dan Williams <dcbw@redhat.com>
19456 - New file, now contains commonly used structures and bits
19457 for the dbus API of NetworkManager
19460 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19462 * src/NetworkManager.h
19463 - Rename -> src/NetworkManagerMain.c
19465 * Various fixups all around to use NetworkManager.h and new
19466 src/NetworkManagerMain.h, remove redundant bits that got
19467 moved into NetworkManager.h
19469 * src/NetworkManagerDevice.[ch]
19470 src/NetworkManagerUtils.[ch]
19471 src/NetworkManagerPolicy.c
19472 src/NetworkManagerDbus.c
19473 - Whitelist wireless drivers, and blacklist some wired
19474 drivers. Also blacklist cipsec and ethernet-over-usb
19475 devices at this time (RH #135722, RH #135648)
19476 - Don't leak unsupported devices out over dbus, or allow
19477 them to be set as the active device. Skip over them
19478 during automatic device picking
19480 * test/nmclienttest.c
19481 - Clean up the dbus code a lot
19483 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19485 * configure.in: post release bump.
19487 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19490 * NEWS: Released NetworkManager-0.3.1
19492 2004-10-18 Dan Williams <dcbw@redhat.com>
19494 Patches from Thom May:
19495 * test/nmtestdevices.c
19496 - Include <string.h>
19497 * src/backends/NetworkManagerDebian.c:
19498 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19499 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19500 Move to using g_strdup_printf rather than arbitrary buffers
19501 - (nm_system_device_setup_static_ip4_config) Implement function.
19502 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19504 2004-10-17 Dan Williams <dcbw@redhat.com>
19506 * info-daemon/NetworkManagerInfoDbus.c
19507 - Display name of network in the "network not found" dialog
19509 * panel-applet/NMWirelessAppletDbus.c
19510 - (nmwa_dbus_call_nm_method): new function replaces all other
19511 nmwa_dbus_get_[string|string_array|int|boolean] methods
19512 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19513 consolidated into nmwa_dbus_get_object_name()
19515 2004-10-15 Dan Williams <dcbw@redhat.com>
19517 * src/NetworkManagerDbus.c
19518 info-daemon/NetworkManagerInfoDbus.c
19519 - Display an error dialog when the user tries to use an
19520 "Other wireless network" that's not found.
19522 2004-10-15 Dan Williams <dcbw@redhat.com>
19524 * panel-applet/NMWirelessApplet.[ch]
19525 - Fix up corner cases in applet state, making it
19526 look more responsive. Change state to "connecting" when
19527 the user is forcing a device too.
19529 2004-10-15 Dan Williams <dcbw@redhat.com>
19531 * src/NetworkManagerAPList.c
19532 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19534 * src/NetworkManagerDbus.c
19535 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19537 * src/NetworkManagerDevice.c
19538 - Disown APs after the device's AP list takes ownership
19540 2004-10-15 Dan Williams <dcbw@redhat.com>
19542 * panel-applet/NMWirelessApplet.c
19543 - Update our applet state from the GUI thread
19545 * panel-applet/NMWirelessAppletDbus.c
19546 - Greatly simplify the locking to make the GUI thread
19547 smoother. Update a private copy of the device list
19548 and active device and only when done talking to
19549 NetworkManager turn it over to the GUI thread.
19551 2004-10-15 Dan Williams <dcbw@redhat.com>
19553 * src/NetworkManagerAP.[ch]
19554 - Add "artificial" get/set functions, set for APs that
19555 aren't discovered as part of a scan but instead
19556 discovered by force-setting the ESSID
19558 * src/NetworkManagerDevice.[ch]
19559 - (nm_device_wireless_network_exists): pass back whether
19560 or not the discovered AP was encrypted. Also, try
19561 falling back to encrypted mode on the card if unencrypted
19562 association doesn't work
19563 - (nm_device_find_and_use_essid): If the network requested
19564 did in fact exists, but it wasn't in our scan list, add
19565 an "artificial" entry for it. Some Cisco cards don't
19566 see non-ESSID-broadcasting APs in their scan but can still
19567 associate with them if you know the ESSID, this works around
19569 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19570 to scan if the card is currently associated with that AP
19572 2004-10-15 Dan Williams <dcbw@redhat.com>
19574 ---- We have a website ----
19575 http://people.redhat.com/dcbw/NetworkManager
19577 Patch from Robert Paskowitz:
19578 * src/NetworkManager.c
19579 - (main): Make sure we are run as root
19580 * src/NetworkManagerDevice.c
19581 - Fix type in ad-hoc setting function
19583 Patch from Thom May:
19584 * src/backends/NetworkManagerDebian.c
19585 - Make Debian backend compile again
19587 2004-10-14 Dan Williams <dcbw@redhat.com>
19589 * Tagged NetworkManager-0_3
19591 2004-10-14 Dan Williams <dcbw@redhat.com>
19593 Patch from Robert Paskowitz:
19595 src/NetworkManagerDevice.[ch]
19596 src/backends/NetworkManagerDebian.c
19597 src/backends/NetworkManagerGentoo.c
19598 src/backends/NetworkManagerRedHat.c
19599 src/backends/NetworkManagerSlackware.c
19600 - Add support for grabbing and using a broadcast address
19601 from system config files
19602 - Some Gentoo backend fixes for grabbing network config
19603 - Fix LOG_WARN->LOG_WARNING
19605 2004-10-14 Dan Williams <dcbw@redhat.com>
19607 * NEWS: a few small fixes in the credits
19609 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19611 * NEWS: prep for release.
19613 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19615 * panel-applet/NMWirelessAppletDbus.c
19616 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19618 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19620 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19621 applet->state == APPLET_STATE_NO_NM animation.
19623 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19624 set the text correctly.
19626 2004-10-14 Dan Williams <dcbw@redhat.com>
19628 * src/NetworkManager.c
19629 - Only accept and manager 802.3 and 802.11 devices
19631 * src/NetworkManagerDbus.[ch]
19632 - (nm_dbus_nm_set_active_device): move most of the actual activation
19633 logic into NetworkManagerDevice.c
19634 - (nm_dbus_network_status_from_data): new function
19635 - (nm_dbus_signal_network_status_change): new function, unused for now
19636 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19638 * src/NetworkManagerDevice.[ch]
19639 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19642 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19644 * info-daemon/NetworkManagerInfo.c
19645 - (main): Added session management
19647 2004-10-14 Dan Williams <dcbw@redhat.com>
19649 * panel-applet/NMWirelessAppletDbus.[ch]
19650 - Expose network_device_[un]ref()
19651 - Expose wireless_network_[un]ref()
19652 - (wireless_network_new_with_essid): new function, create and return
19653 a wireless network with a particular essid
19655 * panel-applet/NMWirelessApplet.c
19656 - Hook up the "other network" dialog to do something
19658 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19660 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19661 doesn't work yet, but it looks okay.
19663 * panel-applet/icons/*png: Resize to 22x22 and install in the
19666 2004-10-13 Dan Williams <dcbw@redhat.com>
19668 * panel-applet/NMWirelessApplet.c
19669 - Add function to print out applet_state in a readable
19672 * src/NetworkManager.c
19673 - (main): Don't segfault when nm_dbus_init() fails, we had
19674 a left-over call to hal_shutdown() into which we passed NULL
19676 * src/NetworkManagerAP.c
19677 - (nm_ap_set_essid): Allow NULL essids
19679 * src/NetworkManagerAPList.[ch]
19680 - More use of nm_ap_list_[un]lock ()
19681 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19682 network/essid, just return nothing. Also skip over NULL
19683 essid access points in the list when searching
19684 - (nm_ap_list_get_ap_by_address): new function
19685 - (nm_ap_list_update_network): set the access point's key source to
19686 NULL when the key returned from NetworkManagerInfo is NULL or
19688 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19689 copy timestamp over too
19690 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19691 find the correct ESSID for a blank-essid access point by searching
19692 through another list and matching access point MAC addresses
19693 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19695 * src/NetworkManagerDbus.c
19696 - (nm_dbus_nm_set_active_device): deal with random networks the user
19697 may specify. This is mainly for access points that don't
19698 broadcast their essid. So if the user tells us to associate with
19699 some random ESSID that's not in our access point list, we find
19700 out if the access point does in fact exist (by attempting association
19701 and then matching that access point's MAC address with the essid the
19702 user gave us) and then we switch to it.
19703 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19704 to the returned list of networks for the "getNetworks" method
19706 * src/NetworkManagerDevice.[ch]
19707 - Extra debugging info for link detection
19708 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19709 based on MAC address
19710 - (nm_device_get_path_for_ap): ignore blank-essid access points
19711 - (nm_device_wireless_network_exists): new function, find out whether
19712 a random ESSID exists by attempting to associate with it
19713 - (nm_device_do_normal_scan): allow blank-essid access points in our
19714 device list as long as they have an AP MAC address we can use.
19715 Also send WirelessNetwork[Dis]Appeared signals for non-active
19716 devices too. Lets the applet update more frequently.
19718 * src/backends/NetworkManagerGentoo.c
19719 - Patch from: Robert Paskowitz
19720 - Update backend code for Gentoo
19721 - Implement nm_system_device_update_config_info ()
19723 * test/nmclienttest.c
19724 - (set_network_device): new function, takes a command-line argument
19725 and tells NetworkManager to use that wireless network
19727 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19729 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19730 if the notification icon crashes 5 times within 5 seconds of each respawn
19732 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19734 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19737 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19739 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19741 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19742 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19743 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19744 Change the name of the icons.
19746 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19747 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19748 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19749 (nm_menu_wireless_expose_event): Really bad hack to get the style
19750 to draw in the right color.
19752 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19754 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19755 Notification if it crashes
19757 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19759 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19760 (nmwa_dbus_get_string): remove unused functions
19762 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19763 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19764 remove unused functions
19766 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19768 2004-10-12 Dan Williams <dcbw@redhat.com>
19770 * panel-applet/NMWirelessAppletDbus.c
19772 wireless_network_new
19773 wireless_network_copy
19775 network_device_copy
19777 * src/NetworkManagerDevice.[ch]
19779 nm_device_set_mode_managed
19780 nm_device_set_mode_adhoc
19781 - Use these functions where appropriate
19782 - When creating a new wireless device, force the card
19783 to managed/Infrastructure mode as soon as possible
19785 2004-10-12 Dan Williams <dcbw@redhat.com>
19787 * src/NetworkManagerDevice.c
19788 - Force wireless cards into Infrastructure mode before we use them
19790 2004-10-12 Dan Williams <dcbw@redhat.com>
19793 - Remove bit about static IP address support
19795 * src/NetworkManagerUtils.c
19796 - (nm_spawn_process): Add some error reporting
19798 * src/NetworkManagerDevice.c
19799 - (nm_device_activation_configure_ip): hook up to the static config
19800 routines in the backends
19802 * src/backends/NetworkManagerRedHat.c
19803 - (nm_system_device_update_config_info): use shvar.c routines to
19804 parse the config file iformation, not our own
19805 - (nm_system_device_setup_static_ip4_config): new function, based
19806 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19807 with a static IP address and gateway
19809 * src/backends/shvar.[ch]
19810 - Parser (filched from initscripts package) for ifcfg-* files
19812 * src/backends/NetworkManagerSystem.h
19813 src/backends/NetworkManagerGentoo.c
19814 src/backends/NetworkManagerDebian.c
19815 src/backends/NetworkManagerSlackware.c
19816 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19818 2004-10-11 Dan Williams <dcbw@redhat.com>
19821 - Remove bit about more robust AP diffing since I just implemented it
19823 2004-10-11 Dan Williams <dcbw@redhat.com>
19825 * src/NetworkManagerAP.c
19826 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19827 enough RAM to allocate new AP structures, but return NULL instead
19829 * src/NetworkManagerAPList.[ch]
19830 - (nm_ap_list_is_empty): new function
19831 - (nm_ap_list_combine): new function, combine two access point lists
19832 - (nm_ap_list_copy_keys): new function, copy keys from one list
19835 * src/NetworkManagerDevice.[ch]
19836 - Rename some functions to be clearer:
19837 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19838 nm_device_just_activated -> nm_device_is_just_activated
19839 nm_device_activating -> nm_device_is_activating
19840 nm_device_now_scanning -> nm_device_is_scanning
19841 - Cache the last 4 scans so that the access point list is more stable.
19842 We combine the lastest two scans and use that as the AP list,
19843 and diff that combined list against the combination of the earliest
19844 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19846 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19848 * info-daemon/NWManagerInfo.h
19849 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19851 * info-daemon/NWManagerInfoDbus.c
19852 - (shutdown_callback): new function
19853 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19854 if NetworkManager goes away. Kill the timeout
19855 if NetworkManager restarts before the 30 seconds
19857 - (nmi_dbus_service_init):
19858 - call gtk_main_quit if NetworkManager is not running
19859 - add filters to monitor dbus service creations and
19862 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19864 * panel-applet/NMWirelessApplet.c
19865 - (nmwa_update_state): Hide notification icon if we are only
19866 showing one wired card and no wireless interfaces
19867 (Red Hat Bug #134895)
19869 * panel-applet/NMWirelessAppletDbus.c
19870 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19872 * info-daemon/NWManagerInfo.c
19873 - (main): Terminated the notification_icon_cmd array with a NULL
19875 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19877 * configure.in (ALL_LINGUAS): Added de (German).
19879 2004-10-08 Dan Williams <dcbw@redaht.com>
19881 * src/NetworkManagerDevice.c
19882 - Be a bit more robust about link checking, ie make sure that
19883 the WEP key we were given actually has some data in it
19885 2004-10-08 Dan Williams <dcbw@redhat.com>
19887 * info-daemon/NetworkManagerInfo.c (main):
19888 - Initialize GError object to NULL
19890 2004-10-08 Dan Williams <dcbw@redhat.com>
19892 * panel-applet/NMWirelessAppletDbus.c
19893 - Die if NetworkManagerInfo dies, since it manages our lifetime
19895 2004-10-08 Dan Williams <dcbw@redhat.com>
19897 * info-daemon/NetworkManagerInfo.[ch]
19898 info-dameon/NetworkManagerInfoDbus.[ch]
19899 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19900 - Preserve original label text in the passphrase dialog so that
19901 it actually gets updated with the new network name the next
19902 time around. Previously, we were overwriting it so you'd get
19903 the wrong network name to enter a key for
19904 - Add a "Key Type" combo to the passphrase dialog, user selects
19905 encryption key type now, type is stored in GConf too
19906 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19908 * src/NetworkManagerAP.[ch]
19909 - Remove all the encyption method magic. It's now set by the user
19910 and NetworkManager retrieves the type of encryption key from
19913 * src/NetworkManagerAPList.[ch]
19914 src/NetworkManagerDbus.[ch]
19915 - Adjust to new way of setting encryption key and method
19916 - Pull encryption method down from NMI along with key
19918 * src/NetworkManagerDevice.[ch]
19919 - Removed encryption method fallback magic as the method is now
19920 determined by the user. This greatly simplifies the connection
19922 - More robust connection/link logic. Besides removing the encryption
19923 method fallback magic, check whether or not the card is receiving
19924 invalidly encrypted packets, which usually indicates that we have
19926 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19928 * test/nminfotest.c
19929 - Test out new "Key Type" stuff in the NMI passphrase dialog
19931 2004-10-07 Dan Williams <dcbw@redhat.com>
19933 * info-daemon/NetworkManagerInfo.conf
19934 - Allow root user to run NMI too
19936 2004-10-06 Dan Williams <dcbw@redhat.com>
19938 * src/NetworkManagerDevice.[ch]
19939 src/NetworkManagerDbus.c
19940 doc/NetworkManager DBUS API.txt
19941 - Add a new status tag "scanning", which is set when there
19942 is no active network connection, but NetworkManager is
19943 looking for an access point to associate with
19945 * panel-applet/main.c
19946 - Cast the applet appropriately for gtk_widget_show_all ()
19948 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19950 * panel-applet/eggtrayicon.[ch]:
19951 * panel-applet/main.c: Add missing file
19953 2004-10-04 Dan Williams <dcbw@redhat.com>
19955 * src/NetworkManagerDevice.[ch]
19956 - Add a slightly more robust method of determining if the WEP key
19957 is correct or not, by checking the WEP-discarded packet count
19960 * info-daemon/NetworkManagerInfo.c
19961 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19962 un-escape values we pull out rather than escaping them
19964 2004-10-03 Marcel Telka <marcel@telka.sk>
19966 * configure.in (ALL_LINGUAS): Added sk.
19968 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19970 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19971 and feel. We should be back to working, and have a good, clean
19974 2004-09-30 Dan Williams <dcbw@redhat.com>
19976 * info-daemon/NetworkManagerInfo.c
19977 info-daemon/NetworkManagerInfoDbus.c
19979 - Escape ESSIDs in gconf
19981 * src/NetworkManagerDevice.c
19982 - Fix pseudo-scanning to use netowrk list from info daemon
19984 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19986 * configure.in: Add a temporary --enable-notification-icon. This
19987 will prolly go away.
19989 * info-daemon/Makefile.am:
19990 * info-daemon/NetworkManagerInfo.c:
19991 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19993 * panel-applet/Makefile.am:
19994 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19995 * panel-applet/NMWirelessApplet.h:
19997 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19999 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
20000 before 'select custom ESSID'.
20002 * panel-applet/menu-info.c: Start rewrite for better headers. Not
20003 fully complete, but syncing in prep for merge.
20005 * panel-applet/icons/*png: New images
20007 2004-09-28 Dan Williams <dcbw@redhat.com>
20009 * src/NetworkManager.c
20010 src/NetworkManagerDevice.c
20011 src/NetworkManagerPolicy.c
20012 - Don't blow away an active wired connection on startup
20014 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
20018 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
20020 * info-daemon/NetworkManagerInfoDbus.c: added service name to
20023 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
20025 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
20026 have a wireless card.
20028 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
20030 * panel-applet/NMWirelessApplet.c: move the custom essid item.
20031 Also, get the right device strings.
20033 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
20035 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
20036 the logic to make this right.
20038 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
20039 devices so that wired networks are always first.
20041 2004-09-22 <clarkbw@cvs.gnome.org>
20043 * initscript/Debian/.cvsignore:
20044 * initscript/Slackware/.cvsignore:
20045 Added new cvsignores for Makefile, Makefile.in
20048 Added nmtestdevices
20050 * src/NetworkManagerDevice.c:
20051 * src/NetworkManager.c:
20052 Updated the wireless/wired HAL device strings from net.ethernet to
20053 net.80203 or net.80211 depending on wired or wireless respectively
20055 * examples/python/NetworkManager.py:
20056 s/Quality/Strength/
20058 * examples/python/systray/network_tray.py:
20059 Lots of little changes and fixes. been rotting for a while so I
20060 figured I'd finally sync them all with CVS
20062 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
20064 * configure.in: Add graphics
20066 * panel-applet/Makefile.am: Add graphics
20068 * panel-applet/icons/*: Add graphics
20070 * panel-applet/NMWirelessApplet.c: Use new menu times to display
20071 the icons fully lined up.
20073 * panel-applet/menu-info.c:
20074 * panel-applet/menu-info.h: Add another menu type.
20076 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
20078 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
20080 * panel-applet/menu-item.[ch]: Wireless menu item.
20082 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
20084 * info-daemon/NetworkManagerInfo.conf
20085 - Created a more robust security policy for the DBus service
20086 - everything is denied by default
20087 - root can own and send to the service
20088 - users logged in at the console can send to the service
20090 2004-09-13 Dan Williams <dcbw@redhat.com>
20092 * src/NetworkManagerDevice.c
20093 - (nm_device_get_essid): use iw_get_basic_config() rather than
20094 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
20097 2004-09-13 Dan Williams <dcbw@redhat.com>
20101 * docs/NetworkManager DBUS API.txt
20102 - Update for new signal strength changes
20104 * panel-applet/NMWirelessApplet.c
20105 - Make panel icon show strength of the current connection
20106 - Cleanups and memleak fixes
20108 * panel-applet/NMWirelessApplet.h
20109 - Add data members for signal strength on devices and networks
20111 * panel-applet/NMWirelessAppletDbus.c
20112 - Free more DBusErrors
20113 - Update for new signal strength changes
20114 - Make devices and networks more like real objects, use ref/unref methods
20115 - Actually unlock the mutex when updating the active device
20117 * src/NetworkManagerAP.c
20118 - Change AP functions and data members from "quality"->"strength"
20120 * src/NetworkManagerDbus.c
20121 - Kill "getMaxQuality" and "getQuality" methods
20122 - Add "getStrength" methods for Networks and Devices
20124 * src/NetworkManagerDevice.[ch]
20125 - Add accessors for device strength
20126 - Add functions to update strength for a device. Note that not all drivers
20127 actually support signal strength for scanned access points (Atmel drivers
20129 - Calculate signal strength for each AP during scan
20131 * src/NetworkManagerWireless.[ch]
20132 - Add function to return signal strength % from a device and a raw quality struct
20134 * test/nmclienttest.c
20135 - Update for new signal strength changes
20137 2004-09-11 Dan Williams <dcbw@redhat.com>
20139 * src/NetworkManager.c
20140 - Fix race condition between initscripts and NM on card insertion
20141 which could cause a card to keep an IP address and routes around
20142 even when it was not the active device
20144 * src/NetworkManagerDbus.c
20145 - Fix compile errors, free more DBusErrors
20147 2004-09-11 Dan Williams <dcbw@redhat.com>
20149 * docs/NetworkManager DBUS API.txt
20150 - Add an explanation of NM's API
20152 * src/NetworkManagerDbus.c
20153 - Free some more DBusErrors if needed
20155 2004-09-11 Dan Williams <dcbw@redhat.com>
20157 * panel-applet/NMWirelessApplet.c
20158 panel-applet/NMWirelessAppletDbus.c
20159 - Start using NetworkDevice/WirelessNetwork structures in more places
20160 - Update for unified device/network forcing in NetworkManager
20162 * src/NetworkManager.c
20163 - some code consolidation
20165 * src/NetworkManagerDbus.c
20166 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
20167 or two arguments: the first is the NM ID of the device to switch to,
20168 and the second (optional) argument is the ESSID of a wireless network
20170 - Get rid of "setNetwork" method due to above change
20172 * src/NetworkManagerDevice.c
20173 - (nm_device_new): perform scan and update best AP on device creation
20174 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
20175 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
20176 spin waiting for cancellation to finish before returning
20178 * src/NetworkManagerPolicy.c
20179 - Changes here clarify the situations in which a device switch occurs, and
20180 make sure to keep using a forced device and network if the user gives
20182 - Remove old unused code
20184 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
20186 * configure.in: Added Danish (da) to ALL_LINGUAS.
20188 2004-09-09 Dan Williams <dcbw@redhat.com>
20190 * panel-applet/NMWirelessAppletDbus.c
20191 - Pull fresh devices and networks from NM when wireless networks
20192 change. Provides faster feedback of a forced wireless network
20194 * src/NetworkManagerDbus.c
20195 - Return error when "getMaxQuality" is called on a wired device
20196 - Make best_ap freezing actually work again, and signal cancellation
20197 of activation if there's already a device activation when the user
20198 freezes the best_ap
20200 * src/NetworkManagerDevice.c
20201 - Don't clear out the best_ap for wireless devices when the link goes
20202 down, that's done elsewhere
20203 - Kill any dhcp daemons when cancelling device activation since they
20204 may be stuck waiting for a DHCP address, and since we're cancelling
20205 activation we don't care about that anymore
20207 * src/NetworkManagerPolicy.c
20208 - Make sure to unref the device we ref earlier (we refed it to make sure
20209 it stuck around during device activation and such)
20210 - If we were going to change the best device, but its activating currently
20211 (and therefore the change didn't occur due to the check earlier)
20212 we mark the state changed to we come back to it later when device
20213 activation has canceled and its no longer activating
20215 * src/backends/NetworkManagerRedHat.c
20216 - SIGKILL dhcp daemons rather than SIGTERM-ing them
20218 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
20220 * info-daemon/passphrase.glade:
20221 set passphrase input to activates_default : True
20223 * examples/python/systray/network_tray.py
20224 (network_tray.sort_networks):
20226 Added support for having wireless always scanning
20228 2004-09-09 Dan Williams <dcbw@redhat.com>
20230 NOTE: this commit changes the behavior of wireless devices in
20231 NetworkManager. They are now up all the time, scanning all
20232 the time. Only the active device has an IP address and routing
20233 information set up however. Also, NetworkManager will no longer
20234 opportunistically switch wireless networks when a better one
20235 comes in range, it will remain associated with one wireless network
20236 until that one drops out.
20238 * panel-applet/NMWirelessApplet.c
20239 panel-applet/NMWirelessAppletDbus.c
20240 - List all wireless cards and their respective networks
20242 * src/NMLoadModules
20243 - Use full path to /sbin/ip
20245 * src/NetworkManager.c
20246 - Keep wireless devices up all the time so they can scan
20248 * src/NetworkManagerDbus.c
20249 - On a WirelessNetworkUpdate signal from NMI, don't update
20252 * src/NetworkManagerDevice.c
20253 - (nm_device_set_link_active): clear out the best ap for
20254 wireless devices when the link is set to FALSE
20255 - Scan on all wireless cards, all the time
20256 - (nm_device_activation_worker): split out the wireless card
20257 link-waiting code to a separate function
20258 - Keep wireless cards up even if device activation fails
20259 - Don't update the "best" ap as much
20261 * src/NetworkManagerPolicy.c
20262 - Don't update the best ap when checking if its frozen,
20263 let link checking clear out a frozen best ap for us
20265 * src/NetworkManagerWireless.c
20266 - Scan on all wireless cards, all the time
20268 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
20270 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
20272 2004-09-09 Ankit Patel <ankit@redhat.com>
20274 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
20276 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
20278 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
20280 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
20282 * examples/python/NetworkManager.py:
20283 added CONNECTED, CONNECTING, and DISCONNECTED states
20284 added methods to return number of devices of a single type
20286 * examples/python/systray/network_tray.py:
20287 did some tweaks to get the menu looking near what it is supposed
20288 to look like. Also did a Airo card hack to make it show the
20291 2004-09-08 Dan Williams <dcbw@redhat.com>
20293 * panel-applet/no-networkmanager.png
20294 panel-applet/Makefile.am
20295 panel-applet/NMWirelessApplet.c
20296 - Add a "NetworkManager not running" icon and use it
20297 - Use new consolidated GConf keys rather than Preferred/Trusted
20301 * info-daemon/NetworkManagerInfo.c
20302 info-daemon/NetworkManagerInfoDbus.[ch]
20303 info-daemon/NetworkManagerInfoPassphraseDialog.c
20304 - There are now no longer two separate lists of wireless networks,
20305 but one list where each network is "trusted" or not trusted
20306 - Add a "getNetworkTrusted" dbus method
20307 - "WirelessNetworkUpdate" signal now sent rather than
20308 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
20309 - Start freeing some dbus errors (not completed yet)
20311 * info-daemon/passphrase.glade
20312 - Remove the "don't show" hints for pager and taskbar
20313 - Add a title since its going to be in the taskbar
20315 * src/NetworkManager.[ch]
20316 src/NetworkManagerAPList.[ch]
20317 - There are now no longer two separate lists of wireless networks,
20318 but one list where each network is "trusted" or not trusted
20320 * src/NetworkManagerAP.[ch]
20321 - Add get/set "trusted" accessors and data bit
20323 * src/NetworkManagerDbus.[ch]
20324 - Add function to get "trusted" status of a network from NetworkManagerInfo
20325 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20327 * src/NetworkManagerDevice.[ch]
20328 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20329 - (nm_device_new): Get device config from backend when initializing devices
20330 - (nm_device_activation_worker): Split out device configuration on
20331 activation to deal with static/dynamic IP differences, and try encryption
20332 fallbacks on a device if the encryption method for the best AP is not good
20333 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20334 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20336 * src/NetworkManagerWireless.c
20337 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20339 * src/backends/NetworkManagerRedHat.c
20340 src/backends/NetworkManagerSystem.h
20341 - (nm_system_device_update_config_info): Add function to get device configuration
20342 from system data in ifcfg-* files
20344 * src/backends/NetworkManagerDebian.c
20345 src/backends/NetworkManagerGentoo.c
20346 src/backends/NetworkManagerSlackware.c
20347 - Add stub functions for getting device configuration
20349 2004-09-07 Dan Williams <dcbw@redhat.com>
20351 * src/backends/NetworkManagerRedhat.c
20352 src/backends/NetworkManagerSlackware.c
20353 - Use full path to /sbin/ip everywhere
20355 2004-09-07 Dan Williams <dcbw@redhat.com>
20357 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20360 initscript/Makefile.am
20361 initscript/Slackware/Makfile.am
20362 initscript/Slackware/rc.networkmanager
20364 src/backends/NetworkManagerSlackware.c
20365 - Add Slackware support
20367 2004-09-07 Dan Williams <dcbw@redhat.com>
20369 Patches below from:
20371 Mark Roach <mrroach@okmaybe.com>
20372 Thom May <thom@debian.org>
20375 initscript/Debian/NetworkManager
20376 initscript/Debian/Makefile.am
20377 - Initscript for Debian
20379 * src/backends/NetworkManagerDebian.c
20380 - Add missing system init function to allow compilation
20383 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20385 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20387 2004-09-03 Akagic Amila <bono@linux.org.ba>
20389 * configure.in: Added 'bs' to ALL_LINGUAS.
20391 2004-09-02 Colin Walters <walters@verbum.org>
20393 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20394 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20395 g_strdup_printf instead of arbitrarily sized buffers.
20397 2004-09-01 Colin Walters <walters@verbum.org>
20399 * NetworkManager.pc.in: New file.
20401 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20403 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20405 * configure.in: Punjabi(pa) is added to po/.
20407 2004-08-31 Dan Williams <dcbw@redhat.com>
20409 * Remove 'debug' extern global from all files since we now
20412 * src/NetworkManager.[ch]
20413 - Break out routine that get the net.interface property from HAL,
20414 removing that logic from nm_create_device_and_add_to_list()
20415 - (nm_create_device_and_add_to_list): make this a bit more general so
20416 it doesn't do the talking to HAL. Also add arguments to facilitate
20417 the create of test devices.
20418 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20419 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20420 which makes NetworkManager listen for dbus commands to create test
20421 devices, which have no backing hardware. Use when you're on a plane
20422 for example, and/or forgot your wireless card at home. Test devices
20423 _cannot_ be created unless NM is started with --enable-test-devices.
20425 * src/NetworkManagerDbus.[ch]
20426 - New "getLinkActive" method for devices
20427 - New "setLinkActive" method for devices (only works on test devices)
20428 - New "createTestDevice" method on NetworkManager object to create a test
20429 device of a specified type (ie wired, wireless). UDI is created from
20430 scratch, as is the interface name. Only works when NM is started with
20431 --enable-test-devices switch.
20432 - New "removeTestDevice" method on NetworkManager object which removes a
20433 test device. Only works when NM is started with --enable-test-devices
20435 * src/NetworkManagerDevice.[ch]
20436 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20437 whether a device is a test device or not, and what its link status is.
20438 - Deal with test devices in most functions. For those that work directly on hardware
20439 special-case test devices.
20440 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20442 - (nm_device_update_link_active): split out logic for wired and wireless device link
20443 checking to separate functions to facilitate test device link checking.
20444 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20445 don't make a distinction between System Authentication and Encryption
20446 (namely Cisco aironet), we use Open System auth when setting a WEP key
20447 on the card. We don't deal with Shared Key auth yet.
20448 - (nm_device_activation_worker): split the activation cancel check logic out into
20449 a separate routine nm_device_activation_cancel_if_needed()
20450 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20451 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20452 a list of fake access points that they can "see"
20453 - (nm_device_is_test_device): return whether or not a device is a test device
20455 * src/NetworkManagerPolicy.c
20456 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20457 previously if you "locked"/forced NM to use a wireless device but then
20458 selected a wireless network for NM to use, it would switch to a wired device.
20459 So, if the active device is wireless and it has a "forced" best AP, use it
20460 if the "forced" best AP is still valid
20461 - (nm_state_modification_monitor): deal with NULL best devices, for example
20462 there were no usable network devices, or the last one was removed
20464 * src/backends/NetworkManager*.c
20465 - Deal with test devices, mostly just return success for operations like getting
20468 * test/nmtestdevices.c
20469 - Test tool to create/remove/link-switch test devices
20471 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20473 * examples/python/NetworkManager.py:
20474 added convience functions has_wired_device and has_wireless_device
20476 * examples/python/systray/network_tray.py:
20477 cleaned up a bunch of cruft, added support for listing wireless
20478 networks just like the real applet. This is probably all I'm
20479 going to work on this applet from now on.
20480 TODO: add support for actually changing networks and devices
20482 * examples/python/NetworkManager.py (NetworkManager.get_device):
20483 changed "nm.networks" into a dict from a list so I can store all
20484 the cool information about networks in there
20486 * examples/python/systray/network_tray.py:
20487 Added nice message when you try to run without running make first
20489 * examples/python/NetworkManager.py:
20490 Bug fixes to the code so we get all the device information
20491 that we need in get_device()
20493 * examples/python/NMTester.py:
20494 Fixed _print_device_list to print_device_list
20496 2004-08-29 Seth Nickell <seth@gnome.org>
20500 Actually properly setup the Debian backend in configure.
20502 2004-08-29 Colin Walters <walters@verbum.org>
20504 * test/nminfotest.c: Include string.h and stdlib.h.
20505 (get_network_string_property, get_networks_of_type): Return NULL.
20507 * test/nmclienttest.c (get_device_name, get_active_device): Return
20510 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20511 use strlen, fgets always NULL-terminates the string.
20513 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20514 dbus_message_get_member): Remove /* in comment.
20516 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20518 * src/NetworkManager.c (quit): Unused, delete.
20519 (nm_data_free): Cast arg to GFunc.
20521 * panel-applet/NMWirelessAppletDbus.c: Need to include
20522 string.h, and dbus-glib-lowlevel.h (the latter is needed
20523 for dbus_connection_setup_with_g_main at present).
20524 (nmwa_dbus_update_wireless_network_list): Parenthesize
20525 assignment in conditional.
20526 (nmwa_dbus_worker): Return NULL.
20528 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20529 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20530 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20531 (nmwa_populate_menu): Return NULL on failure, instead of just
20534 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20536 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20539 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20542 2004-08-29 Colin Walters <walters@verbum.org>
20544 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20545 a GTimeVal instead of time_t. This is easier to work with,
20546 since time_t may be a long or double, we don't know.
20548 * src/NetworkManagerDbus.h: Update prototype.
20550 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20552 (nm_ap_get_timestamp): Update to return GTimeVal.
20553 (nm_ap_set_timestamp): Update to take GTimeVal.
20555 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20556 to handle GTimeVal.
20558 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20560 (nm_ap_list_print_members): Fix warnings in printf format.
20562 2004-08-29 Colin Walters <walters@verbum.org>
20564 * panel-applet/NMWirelessApplet.c: Include config.h.
20566 2004-08-29 Colin Walters <walters@verbum.org>
20568 * configure.in: Generate config.h.
20570 * configure.in: Dump dependency on OpenSSL; we can't
20571 use it since this package is GPL:
20572 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20573 Instead, check for libgcrypt, use it if available,
20574 otherwise use included MD5 code.
20576 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20577 Suck in from gnome-keyring, munge a bit.
20579 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20580 gnome-keyring-md5.h gnome-keyring-md5.c.
20581 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20583 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20584 libgcrypt or included gnome-keyring md5 bits.
20585 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20587 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20589 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20591 2004-08-27 Bryan Clark <bclark@redhat.com>
20593 * examples/python/systray/Makefile:
20595 Updated the clean section
20597 * examples/python/systray/trayiconmodule.c:
20598 * examples/python/systray/trayicon.override:
20599 * examples/python/systray/network_tray.py:
20600 * examples/python/systray/eggtrayicon.h:
20601 * examples/python/systray/eggtrayicon.c:
20602 * examples/python/systray/Makefile:
20603 * examples/python/README:
20604 * examples/python/NetworkManager.py:
20605 * examples/python/NMTester.py:
20607 Initial commit of these python example files
20609 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20611 * panel-applet/NMWirelessApplet.c
20612 - Make current device bold
20613 - Show more user-friendly device name if we got one from hal
20615 * panel-applet/NMWirelessAppletDbus.c
20616 - Grab "info.product" key from hal for network devices
20617 - Cache the current active device
20619 2004-08-27 Adam Weinberger <adamw@gnome.org>
20621 * configure.in: Added en_CA to ALL_LINGUAS.
20623 2004-08-27 Christian Rose <menthos@menthos.com>
20625 * configure.in: Added "sv" to ALL_LINGUAS.
20627 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20629 * Tag NetworkManager-0.2
20631 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20633 * initscripts/Makefile.am
20634 * configure.in: Make pass distcheck
20636 * po/ChangeLog: added
20638 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20640 * panel-applet/NMWirelessApplet.c
20641 - Remove debugging code
20642 - Enable device switching from menus
20644 * panel-applet/NMWirelessAppletDbus.[ch]
20645 - Method for asking NM to switch devices
20647 * src/NetworkManagerDevice.c
20648 - Set dev->activating earlier, avoids race between
20649 the dbus signal of "DeviceActivating" and setting
20650 dev->activating (which is what NM's "status" method call
20653 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20655 * panel-applet/NMWirelessApplet.[ch]
20656 - Rework menu code to add devices to menu, and to show
20657 signal strength for each access point. Code cleanups
20660 * panel-applet/NMWirelessAppletDbus.c
20661 - Grab network devices from NetworkManager too
20662 - Grab quality information from NM for wireless networks
20664 * src/NetworkManagerDbus.[ch]
20665 - Add dbus methods for getting the HAL UDI from a device and
20666 for getting its base quality, if its wireless
20667 - Consolidate some functions (wireless network notifications,
20668 device notifications)
20669 - Add method for requesting NM to use a particular device
20671 * src/NetworkManager.c
20672 - Change for function consolidations from NetworkManagerDbus.c
20673 - Implement active device locking and user-requested devices
20674 (ie, tell NM to use a particular device instead of the one
20677 * src/NetworkManagerDevice.c
20678 - Add method for getting the base quality of a device, if its
20680 - Grab device base quailty info from iwlib during scans
20682 * src/NetworkManagerPolicy.c
20683 - Use a user-requested device rather than the auto-chosen device
20686 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20688 * Makefile.am: add po as a supdir
20690 * autogen.sh: use gnome-autogen.sh
20692 * initscript/Gentoo/.cvsignore:
20693 * initscript/RedHat/.cvsignore: Shut up cvs
20695 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20697 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20698 (nmwa_fill): Use gettext.
20700 * configure.in: add gettext support
20702 * po/NetworkManager.pot:
20705 2004-08-26 Seth Nickell <seth@gnome.org>
20707 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20708 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20709 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20710 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20711 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20712 * panel-applet/NMWirelessApplet.h:
20714 Use a menu bar instead of a button for the main clickable
20717 2004-08-25 Dan Williams <dcbw@redhat.com>
20719 * src/NetworkManagerDevice.c
20720 - (nm_device_set_enc_key): always set device to "open" mode instead of
20721 turning encryption off, because the Cisco driver doesn't associate
20722 with WEP-enabled access points unless we are in "open"
20724 2004-08-25 Dan Williams <dcbw@redhat.com>
20726 * src/NetworkManagerWireless.c
20727 - Don't try to defererence blank passphrases
20729 2004-08-25 Dan Williams <dcbw@redhat.com>
20731 * panel-applet/NMWirelessApplet.c
20732 - Rebuild the menu whenever a user clicks
20734 2004-08-25 Dan Williams <dcbw@redhat.com>
20736 * panel-applet/NMWirelessApplet.c
20737 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20738 when NM isn't around or when its not connected
20740 * src/NetworkManagerDevice.c
20741 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20744 2004-08-25 Dan Williams <dcbw@redhat.com>
20746 * panel-applet/NMWirelessAppletDbus.c
20747 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20748 for getting encryption, and don't stop on "val" once we've gotten it
20749 from NetworkManager. Short form: encryption should now show up.
20751 2004-08-25 Dan Williams <dcbw@redhat.com>
20753 * panel-applet/NMWirelessApplet.c
20754 - Set ESSID on a gconf trusted network too when force-setting the wireless
20755 network to associate with
20757 2004-08-25 Dan Williams <dcbw@redhat.com>
20760 - Rework the panel applet to do all DBUS communication in a separate
20763 2004-08-25 Dan Williams <dcbw@redhat.com>
20765 * info-daemon/NetworkManagerInfo.[ch]
20766 - Remove "get_next_priority" function
20768 * info-daemon/NetworkManagerInfoDbus.[ch]
20769 - Convert "priority" functions to "timestamp"
20771 2004-08-25 Dan Williams <dcbw@redhat.com>
20773 * src/NetworkManagerAP.[ch]
20774 - Add a "enc_method_good" member and accessors to an Access Point
20775 to signal when we've found the correct encryption method
20776 for an access point
20777 - Add a "timestamp" member and accessors, remove "priority" member
20778 and accessors (use timestamps instead)
20779 - Rename "wep_key"->"enc_key"
20780 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20781 for a specified encryption method using the access points
20782 source encryption key/passphrase
20784 * src/NetworkManagerAPList.c
20785 - When updating a network with dbus, grab timestamp now instead of
20788 * src/NetworkManagerDBus.[ch]
20789 - Add signal for "DeviceActivating"
20790 - Switch priority->timestamp
20792 * src/NetworkManagerDevice.c
20793 - Change references of "wep_key" -> "enc_key" or "key"
20794 - Signal DeviceActivating when starting activation
20795 - When activating a wireless device, if the access point we are connecting
20796 to is encrypted, and we have a source key, try to generate a mangled
20797 key and use that (ie, generate real WEP key from a passphrase)
20798 - Rework device activation to fallback to other encryption methods if
20799 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20800 first, then if that doesn't work fall back to direct hex key).
20801 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20802 priority. We now prefer the latest access point used, rather than using
20804 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20805 points we've just discovered, and merge in correct info from the global
20808 2004-08-25 Seth Nickell <seth@gnome.org>
20810 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20814 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20815 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20816 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20817 (nm_system_delete_default_route),
20818 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20819 (nm_system_load_device_modules):
20821 2004-08-24 Dan Willemsen <dan@willemsen.us>
20823 * src/NetworkManager.c
20824 src/backends/NetworkManagerGentoo.c
20825 src/backends/NetworkManagerRedHat.c
20826 src/backends/NetworkManagerSystem.h
20827 - Implement preliminary Gentoo support, adding a
20828 nm_system_init function to the backend specification
20831 - Distribution auto-detection, lowercase any user-fed
20834 * initscript/.cvsignore
20835 initscript/Makefile.am
20836 initscript/RedHat/Makefile.am
20837 initscript/RedHat/NetworkManager
20838 initscript/Gentoo/Makefile.am
20839 initscript/Gentoo/NetworkManager
20840 - Refactored initscript code separately for each
20843 2004-08-23 Dan Williams <dcbw@redhat.com>
20847 src/NetworkManagerDevice.c
20848 src/NetworkManager.c
20849 src/NetworkManagerUtils.[ch]
20850 src/backends/NetworkManagerSystem.h
20851 src/backends/NetworkManagerRedHat.c
20852 src/backends/NetworkManagerGentoo.c
20853 - Refactor system-specific code into separate backends for
20856 2004-08-23 Dan Willemsen <dan@willemsen.us>
20858 * dispatcher-daemon/NetworkManagerDispatcher.c
20859 info-daemon/NetworkManagerInfo.[ch]
20860 info-daemon/NetworkManagerInfoDbus.c
20861 info-daemon/NetworkManagerInfoPassphraseDialog.c
20862 src/NetworkManager.c
20863 src/NetworkManagerAP.c
20864 src/NetworkManagerAPList.c
20865 src/NetworkManagerDbus.c
20866 src/NetworkManagerDevice.c
20867 src/NetworkManagerPolicy.c
20868 src/NetworkManagerUtils.[ch]
20869 src/NetworkManagerWireless.c
20870 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20872 * src/NetworkManager.c
20873 - Fixed usage wording for --no-daemon
20875 2004-08-23 Dan Williams <dcbw@redhat.com>
20877 * panel-applet/NMWirelessApplet.c
20878 - Update our state every second to get more responsive panel icon
20879 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20880 was causing our marching ants status blips to never move when
20881 looking for a wireless network
20883 * src/NetworkManagerDevice.c
20884 - (nm_device_activation_begin): return if activation has already begun
20885 - (nm_device_do_normal_scan): merge WEP key and priority from the
20886 trusted/preferred network into the device's access point when the
20887 scan list is processed
20889 2004-08-23 Dan Williams <dcbw@redhat.com>
20891 * initscript/NetworkManager
20892 - Use NMLaunchHelper rather than sleeping
20894 * initscript/NMLaunchHelper.c
20896 - Add helper program that exits only when NM activates a device,
20897 or 10 seconds have passed, whichever happens first. This
20898 stops the boot processes until we have a network connection,
20899 which NM can't do because it daemonizes and brings the connection
20900 up in the background. Allows stuff like NFS to not die.
20902 2004-08-20 Dan Williams <dcbw@redhat.com>
20904 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20905 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20906 for a network, set the essid as well since it may not exist yet
20907 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20908 since WEP keys/passphrases are long and prone to entry-error
20910 * panel-applet/Makefile.am
20911 panel-applet/wired.png
20912 - Add (pulled from system-config-network temporarily)
20914 * panel-applet/NMWirelessApplet.[ch]
20915 - Show wired picture when a wired connection is used
20916 - Rename wireless icon enums, adding WIRELESS
20918 * src/NetworkManagerDevice.c
20919 - (nm_device_activate_wireless): unset encryption before bringing
20920 down the card and setting the essid
20921 - (nm_device_activatin_worker): request a key from the user if the
20922 AP we are connecting to is encrypted but we don't have a key
20924 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20925 strcmp() that prevented a user-entered key from actually getting
20928 2004-08-16 Dan Williams <dcbw@redhat.com>
20930 * initscript/NetworkManager
20931 - Check for /sbin/ip
20932 - Do sysctl magic that network service does
20933 - sleep 4s after start to allow network time to come up [hack]
20937 - Load all network device kernel modules (hal doesn't know devices
20938 are ethernet until the module is loaded, and therefore we don't know)
20940 * src/NetworkManager.c
20941 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20942 network devices, and bring up the loopback device explicitly
20944 * src/NetworkManagerUtils.[ch]
20945 - (nm_enable_loopback): new function
20947 2004-08-13 Dan Williams <dcbw@redhat.com>
20950 panel-applet/Makefile.am
20951 - Fix up cleanfiles and server_DATA/server_in_files
20954 - Update with some comments on theory of operation
20960 2004-08-12 Dan Williams <dcbw@redhat.com>
20962 * info-daemon/passphrase.glade
20963 - Set window title to " "
20965 * panel-applet/Makefile.am
20966 panel-applet/keyring.png
20967 - Deliver to correct place
20969 * panel-applet/NMWirelessApplet.[ch]
20971 - Remove applet->have_active_device as its no longer used
20972 - (nmwa_load_theme): load keyring.png too
20973 - (error_dialog): remove
20974 - (show_warning_dialog): subsume functionality of error dialog too
20975 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20976 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20978 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20979 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20980 and when we get broadcasts of changed wireless access points only, not when the
20981 user clicks on the button to display the menu (too long of a wait)
20982 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20983 networks that are encrypted
20984 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20985 menu item with g_object_set_data()
20987 * panel-applet/NMWirelessAppletDbus.[ch]
20988 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20989 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20990 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20991 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20992 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20993 activation/deactivation signals and rebuild the menu when they happen
20995 * src/NetworkManager.c
20996 - (main): use new nm_spawn_process() rather than system()
20998 * src/NetworkManagerDbus.c
20999 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
21000 instead. Since we can now force best_aps to stick around, the AP structure to which
21001 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
21002 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
21003 to freeze the best_ap.
21005 * src/NetworkManagerDevice.[ch]
21006 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
21007 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
21008 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
21011 * src/NetworkManagerUtils.[ch]
21012 - (nm_spawn_process): add replacement for system() usage
21014 2004-08-11 Dan Williams <dcbw@redhat.com>
21016 * panel-applet/NMWirelessApplet.[ch]
21017 - Fix up copyright and credits to include Bastien and Eskil,
21018 who created the gnome-applets wireless applet, from whose
21019 skeleton this one was created
21020 - Rework nmwa_update_state()/nmwa_draw() so that state and which
21021 pixmap to draw is computed during nmwa_update_state()
21022 - Applet now shows itself all the time due to panel packing issues
21023 which caused the applet to previously never come back after hiding.
21024 When a wired device is the active device, the applet shows "not connected"
21026 * panel-applet/NMWirelessAppletDbus.[ch]
21027 - Clean up error messages and show what function they are from
21028 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
21029 - Add new device type getters, and a status getter
21031 * src/NetworkManagerDbus.c
21032 - (nm_dbus_devices_handle_request): Don't return an active network unless that
21033 network is actually in the device's ap list
21034 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
21036 * src/NetworkManagerDevice.c
21037 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
21040 * test/nmclienttest.c
21041 - Report status of NetworkManager too
21043 2004-08-11 Dan Williams <dcbw@redhat.com>
21045 * info-daemon/NetworkManagerInfo.c:
21046 - (main): clean up Seth's code style
21048 * info-daemon/NetworkManagerInfoDbus.c:
21049 - Use the more aptly-named path/service/interface constants from NetworkManager
21050 - Don't return empty strings ("") as object paths ever, instead return errors
21052 * panel-applet/NMWirelessApplet.c:
21053 - Clean up Seth's code style
21055 * src/NetworkManager.[ch]
21056 - (nm_remove_device_from_list): remove anything having to do with pending_device
21057 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
21059 * src/NetworkManagerAPList.[ch]
21060 - Move Iter struct right above the iter functions to preserve opacity
21061 - (nm_ap_list_remove_ap): implement
21062 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
21063 remove AP if NetworkManagerInfo doesn't know anything about it
21064 - (nm_ap_list_diff): user NMAPList iterators
21065 - (nm_ap_list_print_members): implement debugging function
21067 * src/NetworkManagerDbus.[ch]
21068 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
21069 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
21070 and move the actual key setting stuff into NetworkManagerDevice.c
21071 - (nm_dbus_get_network_priority): return -1 now on errors
21072 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
21073 get lost, and force the active device to update its "best" ap when AP lists change
21074 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
21075 method call due to pending_device member removal
21077 * src/NetworkManagerDevice.[ch]
21078 - Move NMDevice structure to the top
21079 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
21080 - Remove Pending Action stuff from everywhere
21081 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
21082 activation for us. This thread blocks until all conditions for activation have
21083 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
21084 then setup up the interface and runs dhclient. We have to do this because there
21085 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
21086 run our main loop and respond to dbus method calls or HAL device removals/inserts
21087 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
21088 can tell nm_device_activation_worker() that we've got a key
21089 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
21090 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
21091 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
21092 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
21094 * src/NetworkManagerPolicy.c
21095 - Remove anything to do with pending_device
21096 - Adjust device activation to deal with activation-in-worker-thread
21098 * src/NetworkManagerUtils.c
21099 - Clean up locking debugging a bit
21101 * src/NetworkManagerWireless.[ch]
21102 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
21103 was badly named and is better as a device function
21105 * panel-applet/.cvsignore: add
21107 2004-08-09 Seth Nickell <seth@gnome.org>
21109 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
21110 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
21112 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
21114 Don't load the menus until clicked on (also removes a call outside
21115 normal code paths at first load).
21117 Hide applet when NM is not present.
21119 Improve printf debugging stuff.
21121 2004-08-09 Dan Williams <dcbw@redhat.com>
21123 * dispatcher-daemon/NetworkManagerDispatcher.c:
21124 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
21125 - Use constants for NetworkManager interface, service, and path
21127 2004-08-09 Dan Williams <dcbw@redhat.com>
21129 * src/NetworkManagerDbus.c:
21130 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
21131 instead return an error message
21132 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
21133 on a wired device. Also never return an empty object path, instead return an error message
21135 2004-08-06 Seth Nickell <seth@gnome.org>
21137 * panel-applet/NMWirelessApplet.c: (nmwa_new):
21139 Check the error code when getting a connection.
21141 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
21143 Check if the NM service exists when initializing (rather than
21144 assuming it does not).
21146 * src/NetworkManagerDbus.c: (nm_dbus_init):
21148 Don't acquire the well-known service name until we have
21149 registered object/path handlers and can actually receive
21152 2004-08-06 Dan Williams <dcbw@redhat.com>
21157 * src/NetworkManagerPolicy.c
21158 src/NetworkManager.c
21159 - Get access point lists from NetworkManagerInfo on-demand,
21160 and look for ServiceCreate/ServiceDeleted signals to see when
21161 we should query NMI for lists
21162 * src/NetworkManagerAPList.c
21163 - Make sure to init the list's mutex
21164 - Convert traversals of the list over to the list iter functions
21166 * src/NetworkManagerDbus.[ch]
21167 - Use more aptly-named path/service/interface constants
21168 - Treat both active and pending devices the same for "getActiveDevice"
21169 - Add a "status" method returning "connected", "connecting", or "disconnected"
21171 * src/NetworkManagerDevice.c
21172 - Honor "ignored" network list when picking best ap to use
21174 2004-08-06 Seth Nickell <seth@gnome.org>
21178 Autogenerated, remove from CVS.
21182 Don't hardcode automake version.
21185 * info-daemon/Makefile.am:
21186 * info-daemon/NetworkManagerInfo.c: (main):
21188 Use GnomeProgram et al. for doing session management.
21189 Use popt stuff for argument parsing rather than doing
21192 2004-08-05 Dan Williams <dcbw@redhat.com>
21194 * test/nminfotest.c
21195 - Update to new NMI dbus API, check different network types
21197 * info-daemon/NetworkManagerInfoDbus.c
21198 - Update to new NM dbus API, ie network type sent in query message
21200 2004-08-05 Dan Williams <dcbw@redhat.com>
21202 * An assload of changes
21204 2004-08-02 Dan Williams <dcbw@redhat.com>
21207 - new task: proper logging support
21209 * info-daemon/NetworkManagerInfo.c
21210 - Correct spelling of "canceled"
21211 - Correct casting of objects for g_signal_connect()
21213 * info-daemon/NetworkManagerInfoDbus.c
21214 - Add defines for NetworkManager namespace and object path, and use them
21215 - Add filter function to trap new signals from NetworkManager:
21216 WirelessNetworkAppeared, WirelessNetworkDisappeared
21218 * info-daemon/passphrase.glade
21219 - Change name of "ok" button to "Login to Network..."
21222 * src/NetworkManager.c
21223 - Code and debug message cleanups
21224 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
21225 - (nm_add_initial_devices) Check returned string array of devices
21226 and don't try to add devices if array is NULL
21227 - (main) Initialize libhal a bit later, make code a bit clearer
21229 * src/NetworkManagerAP.[ch]
21230 - New accessor and data member "matched": used to speed up AP list
21232 - New accessor and data member "enc_method": will be used during key
21233 fallback to cache which passphrase->key conversion actually works
21234 so we don't have to do it every time
21236 * src/NetworkManagerAPList.[ch]
21237 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
21238 - (nm_ap_list_diff) New: given two lists of access points, find the differences
21239 between them, and send WirelessNetworkAppeared/Disappeared signals over
21240 dbus in response to those differences
21242 * src/NetworkManagerDbus.[ch]
21243 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
21244 make an object path for that access point (NOTE that we don't yet check to
21245 make sure that access point is actually in the device's AP list yet)
21246 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
21247 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
21248 New: signal appearance/disappearance of wireless networks
21249 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
21252 * src/NetworkManagerDevice.[ch]
21253 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
21254 - (nm_device_ap_list_get) New: return the AP list (static function)
21255 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
21256 new one resulting from the scan with the old one
21258 * src/NetworkManagerWireless.c
21259 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
21261 * test/nminfotest.c
21262 - #define object paths and namespaces and use the #defines rather than static strings
21263 - Test out user-key functionality of NetworkManagerInfo too
21265 2004-07-29 Dan Williams <dcbw@redhat.com>
21267 * info-daemon/NetworkManagerInfoDbus.c
21268 src/NetworkManagerDbus.c
21269 - Update to current DBus (ie don't use decomposed paths when registering
21270 object paths/fallbacks)
21272 2004-07-27 Dan Williams <dcbw@redhat.com>
21274 * Remove various Makefile.in files
21277 - Add some more items
21280 - Add checks for OpenSSL/md5 headers and libs
21283 - Use OpenSSL CFLAGS
21285 * src/NetworkManagerAP.[ch]
21286 - Remove 'stamp' functions, replace with 'invalid' functions
21287 to support user cancelling WEP key entry
21289 * src/NetworkManagerDbus.c
21290 - Remove 'stamp' return functions
21291 - Treat returned user key as a passphrase and convert to a WEP key,
21292 but don't actually use the WEP key yet. We use the returned user
21293 key as a hexadecimal WEP key until we can figure out a UI for
21294 passphrase-vs-hex key
21296 * src/NetworkManagerWireless.[ch]
21297 - Add passphrase-to-128bit-key function
21299 2004-07-27 Dan Williams <dcbw@redhat.com>
21302 - Add a couple of items
21304 2004-07-27 Dan Williams <dcbw@redhat.com>
21306 * info-daemon/NetworkManagerInfo.c
21307 - Update allowed network's GConf key when user enters a WEP key explicitly
21309 * info-daemon/NetworkManagerDbus.c
21310 - Fix some comments
21311 - nmi_dbus_get_allowed_networks(): kill warning
21313 2004-07-27 Dan Williams <dcbw@redhat.com>
21315 * initscript/Makefile.in
21318 * initscript/Makefile.am
21319 - Add correct rules to install the init.d initscript
21321 * info-daemon/NetworkManagerInfoDbus.c
21322 - Remove debug fprintf
21324 * src/NetworkManagerDbus.[ch]
21325 - Remove debug fprintfs
21326 - Add macros for NetworkManagerInfo object path/namespace
21327 - Use said macros instead of constant strings
21329 2004-07-27 Dan Williams <dcbw@redhat.com>
21331 * initscript/.cvsignore
21334 * info-daemon/Makefile.am
21335 - Install .glade files and keyring.png
21336 - Fix stupid omission of a \ that caused half the flags not to be
21339 * info-daemon/NetworkManagerInfo.c
21340 - gtk_signal_connect->g_signal_connect
21341 - Alert NetworkManagerInfo to new glade file location
21343 2004-07-27 Dan Williams <dcbw@redhat.com>
21345 * test/nmclienttest.c
21347 - Add missing <dbus/dbus.h> headers
21348 - Add GPL message at top
21350 2004-07-27 Dan Williams <dcbw@redhat.com>
21352 * src/NetworkManagerAPList.[ch]
21354 - Add. Deal with allowed network list additions, deletions, and updates
21356 * dispatcher-daemon/NetworkManagerDispatcher.c
21357 - Add missing <dbus/dbus.h> header
21359 * info-daemon/NetworkManagerInfo.[ch]
21360 - Add missing <dbus/dbus.h> header
21361 - Implement the GConf notify callback to signal NetworkManager of an allowed
21363 - Better error checking
21365 * info-daemon/NetworkManagerInfoDbus.[ch]
21366 - Add missing <dbus/dbus.h> header
21367 - Convert to using dbus_message_append_args/dbus_message_get_args
21368 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21369 that an allowed network changed. We don't want to signal on individual
21370 keys _inside_ an allowed network really, just want NM to query the info
21371 daemon for updated info on all keys.
21372 - Better error checking
21374 * src/NetworkManager.[ch]
21375 - Add missing <dbus/dbus.h> header
21376 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21377 - Zero out NMData structure on free
21378 - No longer use a thread for allowed_ap_list updating, instead its now done
21379 through dbus queries against NetworkManagerInfo
21380 - Populate allowed_ap_list initially before adding existing network devices
21381 to the device list, so wireless devices can get their "best" AP
21383 * src/NetworkManagerDbus.[ch]
21384 - Convert to using dbus_message_append_args/dbus_message_get_args
21385 - Better error checking
21386 - Implement Allowed Network info functions to request allowed network
21387 info from NetworkManagerInfo
21388 - Implement the filter function to process signals from NetworkManagerInfo
21389 about changing allowed networks
21391 * src/NetworkManagerDevice.c
21392 - Fix file descriptor leak in nm_device_update_ip4_address()
21394 2004-07-27 Dan Williams <dcbw@redhat.com>
21399 dispatcher-daemon/.cvsignore
21400 info-daemon/.cvsignore
21401 - Add .cvsignore files to reduce noise when diffing
21403 2004-07-24 Dan Williams <dcbw@redhat.com>
21405 * src/NetworkManager.[ch]
21406 src/NetworkManagerDbus.[ch]
21407 src/NetworkManagerDevice.[ch]
21408 src/NetworkManagerPolicy.c
21409 src/NetworkManagerWireless.[ch]
21410 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21411 - Pass the NMData application data structure through all calls
21412 that need it so we can get rid of nm_get_global_data()
21413 - Change deallocation of the allowed_ap_list GSList in preparation
21414 for not completely clearing it every time we get an update,
21415 but instead getting incremental updates via GConf/dbus
21417 2004-07-22 Dan Williams <dcbw@redhat.com>
21420 - Add checks for GConf libs & headers & flags
21422 * info-daemon/Makefile.am
21423 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21425 * info-daemon/NetworkManagerInfo.[ch]
21426 - Don't use gquarks for data storage, just use normal data storage
21427 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21429 * info-daemon/NetworkManagerDbus.[ch]
21430 - Add method call for getting allowed networks
21431 - Add method calls for getting an allowed network's essid, priority, and key
21432 - Hook the method calls up to GConf
21433 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21434 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21436 * src/NetworkManagerDbus.[ch]
21437 - Switch for enumeration of networks to using essid instead
21441 - Add test program for NetworkManagerInfo
21443 2004-07-19 Dan Williams <dcbw@redhat.com>
21445 * src/NetworkManagerDbus.c
21446 - Switch from indexed device paths to names. Less code, more efficient.
21447 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21449 2004-07-19 Dan Williams <dcbw@redhat.com>
21451 * dispatcher-daemon/NetworkManagerDispatcher.c
21452 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21454 2004-07-19 Dan Williams <dcbw@redhat.com>
21457 - Add info-daemon directory
21460 - Check for glade libs and headers
21461 - Add info-daemon directory
21463 * src/NetworkManagerAP.c
21464 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21465 copied over to the new AP.
21467 * src/NetworkManagerDbus.c
21468 src/NetworkManagerDbus.h
21469 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21470 - Remove nm_dbus_signal_need_key_for_network()
21471 - Add disabled code for asynchronous user wep key callbacks
21472 - Add functions for getting, setting, and cancelling user key operations
21473 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21474 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21476 * src/NetworkManagerDevice.c
21477 src/NetworkManagerDevice.h
21478 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21479 logic is in device activation now
21480 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21481 key is wrong) trigger get-user-key pending action
21482 - Implement get-user-key pending action stuff, tie to dbus messages
21483 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21484 - Add nm_device_ap_list_get_ap_by_essid()
21485 - Instead of copying "best" access points, ref them instead so that the key we set
21488 * src/NetworkManagerPolicy.c
21489 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21490 - Don't cancel pending actions on a device if its the same device as last iteration
21491 - Only promote pending_device->active_device if activation was successfull
21494 - Rename nmclienttest->nmtest
21496 * info-daemon/Makefile.am
21497 info-daemon/NetworkManagerInfo.c
21498 info-daemon/NetworkManagerInfo.h
21499 info-daemon/NetworkManagerInfoDbus.c
21500 info-daemon/NetworkManagerInfoDbus.h
21501 info-daemon/passphrase.glade
21502 info-daemon/NetworkManagerInfo.conf
21503 info-daemon/keyring.png
21504 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21505 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21506 lists to NetworkManager by proxying user's GConf
21509 2004-07-15 Dan Williams <dcbw@redhat.com>
21514 * src/NetworkManager.c
21515 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21516 that doing the deactivation ourselves
21517 - Cancel an pending actions on a device if its being removed
21518 - Break up link state checking a bit, make non-active wireless cards
21519 deactivated to save power
21520 - Remove unused variables
21522 * src/NetworkManager.h
21523 - Add support for "pending" device
21525 * src/NetworkManagerAP.h
21526 src/NetworkManagerAP.c
21527 - Add support for determining whether and AP has encryption enabled or not
21528 - AP address is now "struct ether_addr" rather than a string
21530 * src/NetworkManagerDbus.h
21531 src/NetworkManagerDbus.c
21532 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21533 - Changes for AP address from struct ether_addr->string
21535 * src/NetworkManagerDevice.h
21536 src/NetworkManagerDevice.c
21537 - Remove unused variables, fix warnings
21538 - Add support for Pending Actions (things that block a device from being "active"
21539 until they are completed).
21540 - First pending action: Get a WEP key from the user
21541 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21542 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21543 - Update wireless link checking to try to determine if the AP we are associated
21544 with is correct, but the WEP key we are using is just wrong. If its wrong,
21545 trigger the GetUserKey pending action on the device
21546 - If dhclient can't get an IP address, it brings the device down. Bring it back
21547 up in that case, otherwise we can't scan or link-check on it
21548 - Add IP address change notifications at appropriate points (still needs some work)
21549 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21551 * src/NetworkManagerPolicy.h
21552 src/NetworkManagerPolicy.c
21553 - Split out "best" access point determiniation into separate function
21554 - Make device activation 2-stage: first the device is pending, then
21555 in the next iteration through it becomes "active" unless it has
21558 * src/NetworkManagerUtils.h
21559 src/NetworkManagerUtils.c
21560 - Clean up unused variables and warnings
21561 - Wrap our debug macros in {} to prevent possible confusion
21563 * src/NetworkManagerWireless.c
21564 - Forgot to return current best priority, which lead to last available AP always
21565 being chosen no matter what its priority was. Corrected.
21567 2004-07-15 Dan Williams <dcbw@redhat.com>
21569 * dispatcher-daemon/Makefile.am
21572 * dispatcher-daemon/NetworkManagerDispatcher.c
21573 - Remove unused variables due to warnings
21574 - Fix some comments
21575 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21577 2004-07-06 Dan Williams <dcbw@redhat.com>
21579 * src/NetworkManager.c
21580 - Add IPv4 address update for active device during link state check
21581 - Don't allow wireless cards to be powered up when they are not the
21584 * src/NetworkManagerDbus.c
21585 src/NetworkManagerDbus.h
21586 - Add DBUS IPv4 address change signal
21587 - Add DBUS IPv4 address get method for devices
21589 * src/NetworkManagerDevice.c
21590 - Make setting the WEP key actually work
21591 - Move IP address get/set/update stuff here, per-device
21592 - Power down/bring down wireless device when deactivated
21593 - For scanning wireless devices, if first scan returned ENODATA, try again
21595 * src/NetworkManagerPolicy.c
21596 - Only set the WEP key for an allowed access point if there is one.
21597 We were setting it to be blank if one wasn't specified.
21599 * src/NetworkManagerUtils.h
21600 src/NetworkManagerUtils.c
21601 - Move the IP address stuff to NetworkManagerDevice.c
21603 * dispatcher-daemon/NetworkManagerDispatcher.c
21604 - Add device IPv4 address change notification stuff
21606 2004-07-05 Dan Williams <dcbw@redhat.com>
21608 * dispatcher-daemon/NetworkManagerDispatcher.c
21609 - A bit more descriptive state message
21610 - Don't segfault when reading directory
21612 * src/NetworkManager.h
21613 - Remove NMData desired_ap member, its now
21614 per-device rather than global
21616 * src/NetworkManager.c
21617 - Remove references to desired_ap
21618 - Move the allowed AP list refresh stuff into a thread
21620 * src/NetworkManagerDevice.c
21621 src/NetworkManagerDevice.h
21622 - Each wireless device now has a "best ap"
21623 - Make device activate/deactivate functions per-device
21624 - Make wireless scanning per-device
21625 - Add IPv4 address discover functions, stub IPv6 ones
21626 - Move ethernet address validation functions to NetworkManagerUtils.c
21627 - Add wireless access point accessor function
21628 - Get/Set functions for "best ap"
21630 * src/NetworkManagerPolicy.c
21631 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21632 - Deal with per-device "best ap" rather than data->desired_apa
21633 - Implement allowed access point worker thread
21634 - Add nm_policy_essid_is_allowed() function
21636 * src/NetworkManagerUtils.c
21637 src/NetworkManagerUtils.h
21638 - Add nm_ethernet_address_is_valid() function
21639 - Add IPv4/IPv6 address get functions
21641 * src/NetworkManagerWireless.c
21642 src/NetworkManagerWireless.h
21643 - Move scanning stuff into NetworkManagerDevice.c, per-device
21645 2004-06-29 Dan Williams <dcbw@redhat.com>
21647 * dispatcher-daemon/NetworkManagerDispatcher.c
21648 - Implement script callout functionality
21650 2004-06-24 Dan Williams <dcbw@redhat.com>
21654 - Flush device routes and ip addresses when added to the device list
21656 * NetworkManagerDbus.c
21658 - Add missing returns in the two signal functions
21660 * NetworkManagerPolicy.c
21661 - Spacing and variable cleanups
21663 2004-06-24 Dan Williams <dcbw@redhat.com>
21668 dispatcher-daemon/Makefile.am
21669 dispatcher-daemon/Makefile.in
21670 dispatcher-daemon/NetworkManagerDispatcher.c
21671 - Add a daemon that receives signals from NetworkManager
21672 and will (eventually) call scripts in /etc/somewhere
21673 when devices go up or down.
21677 - Flush device routes and ip addresses when added to the device list
21679 * NetworkManagerDbus.c
21681 - Add missing returns in the two signal functions
21683 * NetworkManagerPolicy.c
21684 - Spacing and variable cleanups
21685 - Rename nm_policy_switch_interface->nm_policy_switch_device
21686 - nm_policy_switch_device():
21687 Use kill (pid) instead of system ("kill <pid>")
21688 - nm_state_modification_monitor():
21689 Add wireless essid to output of debug statements
21690 Correct typo in device compare to switch or not (should be !=)
21691 Don't sleep after sending "no longer active" signal, was useless
21693 2004-06-24 Dan Williams <dcbw@redhat.com>